| *** gouthamr has quit IRC | 00:04 | |
| *** john-davidge has joined #openstack-sdks | 00:15 | |
| *** john-davidge has quit IRC | 00:19 | |
| *** sdague has quit IRC | 00:21 | |
| *** amotoki has quit IRC | 00:34 | |
| stevemar | edleafe and other API working group folks -- question for y'all, whats the correct behaviour when requesting a list of resources with a query that is not supported? should it error out or just ignore the unsupported query? I looked at http://specs.openstack.org/openstack/api-wg/guidelines/pagination_filter_sort.html but couldn't find an answer at first glance | 00:38 |
|---|---|---|
| *** hongbin has quit IRC | 00:40 | |
| *** hoangcx has joined #openstack-sdks | 00:47 | |
| *** jamielennox is now known as jamielennox|away | 01:02 | |
| *** huanxuan has joined #openstack-sdks | 01:08 | |
| *** elmiko is now known as _elmiko | 01:19 | |
| *** jamielennox|away is now known as jamielennox | 01:21 | |
| *** kevo has quit IRC | 01:26 | |
| openstackgerrit | Huanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in "volume type set/unset/create" https://review.openstack.org/414197 | 01:50 |
| *** abhiraut has quit IRC | 02:20 | |
| *** annp has joined #openstack-sdks | 02:34 | |
| *** john-davidge has joined #openstack-sdks | 02:58 | |
| *** john-davidge has quit IRC | 03:02 | |
| *** tonyb has quit IRC | 03:05 | |
| *** timss has quit IRC | 03:05 | |
| *** jgriffith has quit IRC | 03:05 | |
| *** charz has quit IRC | 03:05 | |
| *** tonyb has joined #openstack-sdks | 03:05 | |
| *** timss has joined #openstack-sdks | 03:05 | |
| *** jgriffith has joined #openstack-sdks | 03:06 | |
| *** charz has joined #openstack-sdks | 03:06 | |
| *** gouthamr has joined #openstack-sdks | 03:19 | |
| *** amotoki has joined #openstack-sdks | 03:30 | |
| openstackgerrit | Merged openstack/python-openstackclient: Update the description format https://review.openstack.org/416485 | 03:32 |
| *** gouthamr has quit IRC | 04:43 | |
| *** nandal has joined #openstack-sdks | 05:21 | |
| *** jamielennox is now known as jamielennox|away | 05:23 | |
| *** john-davidge has joined #openstack-sdks | 05:25 | |
| *** jamielennox|away is now known as jamielennox | 05:30 | |
| *** john-davidge has quit IRC | 05:30 | |
| *** salv-orlando has joined #openstack-sdks | 05:41 | |
| *** dfflanders has quit IRC | 05:41 | |
| *** nandal has quit IRC | 05:51 | |
| *** nandal has joined #openstack-sdks | 05:52 | |
| *** gouthamr has joined #openstack-sdks | 06:14 | |
| *** abhiraut has joined #openstack-sdks | 06:22 | |
| *** abhiraut has quit IRC | 06:28 | |
| openstackgerrit | jiahui.qiang proposed openstack/python-openstackclient: Fix filter error in os volume list https://review.openstack.org/416852 | 06:30 |
| *** abhiraut has joined #openstack-sdks | 06:32 | |
| openstackgerrit | zhiyong.dai proposed openstack/python-openstackclient: Add unscoped-saml.rst https://review.openstack.org/416861 | 06:49 |
| *** hoangcx_ has joined #openstack-sdks | 06:54 | |
| *** hoangcx has quit IRC | 06:56 | |
| *** salv-orl_ has joined #openstack-sdks | 07:13 | |
| *** abhiraut has quit IRC | 07:13 | |
| *** salv-orl_ has quit IRC | 07:13 | |
| *** salv-orlando has quit IRC | 07:16 | |
| *** zhiyong has quit IRC | 07:26 | |
| *** e0ne has joined #openstack-sdks | 07:37 | |
| *** zhiyong has joined #openstack-sdks | 07:39 | |
| *** openstackgerrit has quit IRC | 07:50 | |
| *** john-davidge has joined #openstack-sdks | 07:52 | |
| *** hoangcx has joined #openstack-sdks | 07:53 | |
| *** gouthamr has quit IRC | 07:53 | |
| *** gouthamr has joined #openstack-sdks | 07:54 | |
| *** hoangcx_ has quit IRC | 07:56 | |
| *** john-davidge has quit IRC | 07:57 | |
| *** gouthamr has quit IRC | 08:06 | |
| *** fzdarsky|afk has joined #openstack-sdks | 08:08 | |
| *** fzdarsky|afk is now known as fzdarsky | 08:09 | |
| *** kevo has joined #openstack-sdks | 08:33 | |
| *** zhiyong has quit IRC | 08:45 | |
| *** zhiyong has joined #openstack-sdks | 08:58 | |
| *** kevo has quit IRC | 09:08 | |
| *** lucas-afk is now known as lucasagomes | 09:24 | |
| *** amotoki has quit IRC | 09:55 | |
| *** hoangcx has quit IRC | 09:57 | |
| *** cdent has joined #openstack-sdks | 10:00 | |
| *** sheel has joined #openstack-sdks | 10:03 | |
| *** hieulq has quit IRC | 10:13 | |
| *** openstackstatus has quit IRC | 10:13 | |
| *** openstack has joined #openstack-sdks | 10:17 | |
| *** cdent has quit IRC | 10:49 | |
| *** salv-orlando has joined #openstack-sdks | 10:52 | |
| *** salv-orlando has quit IRC | 10:57 | |
| *** salv-orlando has joined #openstack-sdks | 10:57 | |
| *** salv-orlando has quit IRC | 11:02 | |
| *** salv-orlando has joined #openstack-sdks | 11:04 | |
| *** amotoki has joined #openstack-sdks | 11:16 | |
| *** salv-orlando has quit IRC | 11:19 | |
| *** salv-orlando has joined #openstack-sdks | 11:19 | |
| *** salv-orlando has quit IRC | 11:24 | |
| *** cdent has joined #openstack-sdks | 11:29 | |
| *** zhiyong has quit IRC | 11:37 | |
| *** openstackgerrit has joined #openstack-sdks | 11:39 | |
| openstackgerrit | Jens Rosenboom proposed openstack/python-openstackclient: Fix creating a private flavor with ID auto https://review.openstack.org/416940 | 11:39 |
| *** timss has quit IRC | 11:44 | |
| *** timss has joined #openstack-sdks | 11:44 | |
| *** ankur-gupta-f has quit IRC | 11:55 | |
| *** _elmiko has quit IRC | 11:55 | |
| *** Shrews has quit IRC | 11:55 | |
| *** timrc has quit IRC | 11:55 | |
| *** Anticimex has quit IRC | 11:55 | |
| *** _elmiko has joined #openstack-sdks | 11:55 | |
| *** timrc has joined #openstack-sdks | 11:55 | |
| *** Shrews has joined #openstack-sdks | 11:56 | |
| *** ankur-gupta-f has joined #openstack-sdks | 11:56 | |
| *** annp has quit IRC | 12:05 | |
| *** lucasagomes is now known as lucas-hungry | 12:05 | |
| *** rtheis has joined #openstack-sdks | 12:14 | |
| *** nandal has quit IRC | 12:30 | |
| openstackgerrit | Huanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in volume type commands https://review.openstack.org/414197 | 12:50 |
| *** sdague has joined #openstack-sdks | 12:51 | |
| *** sdague_ has quit IRC | 12:54 | |
| *** sdague_ has joined #openstack-sdks | 12:56 | |
| *** sdague_ has quit IRC | 12:56 | |
| openstackgerrit | Huanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in volume type commands https://review.openstack.org/414197 | 12:57 |
| *** cdent has quit IRC | 12:58 | |
| stevemar | huanxuan: dtroyer: meeting soon or in the evening? i never remember | 12:59 |
| dtroyer | afternoon today | 12:59 |
| dtroyer | 1:00 US Central, 2:00 US Eastern | 13:00 |
| dtroyer | stevemar: I may be in and out today, getting Google Fiber installed (in the snow!) | 13:00 |
| stevemar | dtroyer: you get snow down there? | 13:01 |
| dtroyer | some years up to 10-12" | 13:01 |
| dtroyer | last night just 2" | 13:01 |
| stevemar | go figure | 13:01 |
| dtroyer | driveway is already clear | 13:01 |
| stevemar | clear it with a broom? :P | 13:02 |
| *** zhiyong has joined #openstack-sdks | 13:02 | |
| dtroyer | leaf blower! | 13:02 |
| dtroyer | (I wish) | 13:02 |
| dtroyer | all of the schools around us are closed, except my wife's district. | 13:02 |
| stevemar | d'oh! | 13:02 |
| dtroyer | you guys would laugh at how quickly most of these districts shut down | 13:03 |
| stevemar | TIL KC and Missouri are further north than NC | 13:03 |
| stevemar | i never remember where half the states are, too many | 13:03 |
| dtroyer | we also don't have a large body of heat-stabilizing water within 1000 miles :) | 13:03 |
| stevemar | aye | 13:04 |
| stevemar | water does do funny things like that | 13:04 |
| dtroyer | Canada sends us cold stuff, Mexico sends us hot stuff, Pacific sends is wet stuff | 13:04 |
| dtroyer | Atlantic just takes and takes and takes :) | 13:04 |
| stevemar | hehe | 13:05 |
| stevemar | thats one way of looking at it | 13:05 |
| dtroyer | I'm sure Topol would argue with that when the hurricanes come though | 13:05 |
| dtroyer | that's when the Atlantic gives it all back | 13:05 |
| dtroyer | With that we conclude today's Weather Theory 101 | 13:06 |
| *** cdent has joined #openstack-sdks | 13:06 | |
| stevemar | :) | 13:19 |
| *** Anticimex has joined #openstack-sdks | 13:25 | |
| *** lucas-hungry is now known as lucasagomes | 13:27 | |
| *** d0ugal has quit IRC | 13:34 | |
| *** d0ugal has joined #openstack-sdks | 13:35 | |
| *** cdent has quit IRC | 13:41 | |
| openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Functional tests - port https://review.openstack.org/416980 | 13:50 |
| Dinesh_Bhor | briancurtin: Hi, Thanks for adding sort_key support for compute servers. I am curious to understand how I can pass multiple sort_keys like "GET /v2.1/servers/detail?sort_dir=desc&sort_dir=desc&sort_key=display_name&sort_key=vm_state" | 13:52 |
| Dinesh_Bhor | briancurtin: I am using a small program similar to the mentioned here: https://pypi.python.org/pypi/openstacksdk | 13:53 |
| Dinesh_Bhor | briancurtin: I am calling servers like "conn.compute.servers()" | 13:55 |
| *** salv-orlando has joined #openstack-sdks | 13:56 | |
| *** fguillot has joined #openstack-sdks | 13:59 | |
| *** _elmiko is now known as elmiko | 14:01 | |
| edleafe | stevemar: just saw your question. We generally recommend a 400 with a message that explains the problem | 14:09 |
| *** cdent has joined #openstack-sdks | 14:23 | |
| *** stevelle has joined #openstack-sdks | 14:29 | |
| sigmavirus | cdent: is there an API-WG meeting today? | 14:29 |
| sigmavirus | etoews: ^ | 14:30 |
| cdent | sigmavirus: yeah, in about 1.5 hours | 14:30 |
| sigmavirus | cdent: excellent. Thank you! | 14:30 |
| briancurtin | Dinesh_Bhor: is that supported by the server? | 14:38 |
| Dinesh_Bhor | briancurtin: yes | 14:40 |
| briancurtin | i can’t imagine they accept more than one sort_dir though, right? | 14:41 |
| *** lamt has joined #openstack-sdks | 14:42 | |
| briancurtin | eh, either way, you can’t do that right now. it’s a dictionary, or rather there’s a small facade in front of a dictionary, but in the end query parameters are a dictionary | 14:43 |
| Dinesh_Bhor | briancurtin: not sure, for my program if I pass conn.compute.servers(sort_key=['name', 'created_at']) like this then from openstacksdk it passes multiple sort keys successfully | 14:43 |
| Dinesh_Bhor | briancurtin: "GET /v2.1/servers/detail?sort_key=name&sort_key=created_at" | 14:44 |
| briancurtin | weird that it works like that, but if it does, then stick with it | 14:44 |
| briancurtin | ahh, maybe that’s a feature of the requests library though | 14:45 |
| Dinesh_Bhor | briancurtin: yes, Actually I am adding sort_keys support for 'masakariclient' which internally uses openstacksdk. While adding that I have now accepted list in the 'sort_key' from user and passed that to the masakari server directly and it works | 14:47 |
| *** salv-orlando has quit IRC | 14:50 | |
| briancurtin | Dinesh_Bhor: it turns out that it is indeed a behavior of the requests library: http://stackoverflow.com/questions/22974772/querystring-array-parameters-in-python-using-requests#comment60268207_23347265 | 14:51 |
| *** hongbin has joined #openstack-sdks | 14:51 | |
| Dinesh_Bhor | briancurtin: Aah, ok thanks, so should we stick to this only? | 14:53 |
| briancurtin | Dinesh_Bhor: yeah, if you do sort_key=[list, of, things] it will be fine | 14:54 |
| Dinesh_Bhor | briancurtin: ok, thanks | 14:55 |
| Dinesh_Bhor | briancurtin: bdw I have one more doubt if you have time then | 14:57 |
| briancurtin | Dinesh_Bhor: sure, what’s up | 14:58 |
| Dinesh_Bhor | briancurtin: If I pass any invalid sort_key to the servers then the nova-api returns the proper 400 but at the openstacksdk side I can just see "HttpException: Bad Request" | 14:58 |
| Dinesh_Bhor | briancurtin: But at nova-api it has returned exception with message: Returning 400 to user: Sort key supplied was not valid. | 14:58 |
| Dinesh_Bhor | briancurtin: conn.compute.servers(sort_key=['nadame', 'created_at']) | 14:59 |
| openstackgerrit | Jens Rosenboom proposed openstack/python-openstackclient: Fix creating a private flavor with ID auto https://review.openstack.org/416940 | 14:59 |
| Dinesh_Bhor | briancurtin: It looks like here https://github.com/openstack/python-openstacksdk/blob/master/openstack/session.py#L74 we are not getting anything in the message as well as in details | 15:01 |
| briancurtin | yeah, a lot of projects do a lot of different/bad/wrong things with what they return. it’s probably best if you report a bug to https://bugs.launchpad.net/python-openstacksdk and myself or someone can take a look at it | 15:02 |
| *** cleong has joined #openstack-sdks | 15:03 | |
| Dinesh_Bhor | briancurtin: ok, Can I take up this task? | 15:03 |
| briancurtin | Dinesh_Bhor: sure, if you’d like to | 15:03 |
| Dinesh_Bhor | briancurtin: ok, thanks I will push my patch soon | 15:04 |
| *** chlong has joined #openstack-sdks | 15:05 | |
| briancurtin | Dinesh_Bhor: take a look at https://review.openstack.org/#/c/386440/ which did something about this same issue seen in Neutron, but it was reverted due to causing other issues. Qiming may know more about the other issues, i can’t remember what they were | 15:09 |
| Dinesh_Bhor | briancurtin: ok, thanks I will take a look at it | 15:13 |
| Qiming | Dinesh_Bhor, one thing worth a try is to wrap line 77 in that patch into a try...except statement | 15:15 |
| *** lamt has quit IRC | 15:15 | |
| Qiming | not all exceptions are returning things that can be converted to a JSON | 15:15 |
| Qiming | that patch was reverted because it is over simplifying the situation | 15:16 |
| *** lamt has joined #openstack-sdks | 15:16 | |
| Dinesh_Bhor | Qiming: can we do something like this: https://github.com/openstack/python-glanceclient/blob/master/glanceclient/exc.py#L156 | 15:17 |
| Qiming | looks nicer | 15:17 |
| Qiming | just I'm not sure if there will always be a content-type header when an exception is raised | 15:19 |
| stevemar | edleafe: thanks! | 15:22 |
| *** salv-orlando has joined #openstack-sdks | 15:34 | |
| *** d0ugal has quit IRC | 15:38 | |
| *** d0ugal has joined #openstack-sdks | 15:41 | |
| *** reedip_outofmemo has joined #openstack-sdks | 15:49 | |
| *** salv-orl_ has joined #openstack-sdks | 15:53 | |
| *** salv-orlando has quit IRC | 15:56 | |
| *** gouthamr has joined #openstack-sdks | 16:46 | |
| *** e0ne has quit IRC | 16:52 | |
| *** amotoki has quit IRC | 16:55 | |
| openstackgerrit | Merged openstack/api-wg: Trivial fix: correct names of capitalization styles https://review.openstack.org/411391 | 17:03 |
| *** lucasagomes is now known as lucas-afk | 17:12 | |
| cdent | elmiko or etoews or edleafe can you proofread https://etherpad.openstack.org/p/api-wg-newsletter please | 17:15 |
| * edleafe looks | 17:16 | |
| edleafe | cdent: made on quick change to add the review link. Thinking of lazy people who might not be up to 2 clicks | 17:18 |
| cdent | edleafe: I did that on purpose. I didn't want people to read the review without looking at the etherpad :) | 17:18 |
| cdent | context is everything, after all | 17:19 |
| cdent | but yeah, your change is fine | 17:19 |
| edleafe | and here I thought that looking at the review might spark interest in the issue, causing them to go back and read the whole etherpad discussion :) | 17:20 |
| cdent | I think my bias is showing: I want the reading of the etherpad to predispose the person reading the review... | 17:20 |
| cdent | I'll ship what we've got showing now unless you've got addtional changes | 17:20 |
| cdent | thar she blows | 17:21 |
| cdent | damn, found an old typo after sending it | 17:25 |
| *** annegentle has joined #openstack-sdks | 17:27 | |
| *** Kevin_Zheng has quit IRC | 17:47 | |
| *** kevo has joined #openstack-sdks | 17:47 | |
| *** rtheis has quit IRC | 17:48 | |
| elmiko | cdent: sorry, missed the ping | 18:02 |
| cdent | elmiko: no worries, edleafe and I figured it out. | 18:02 |
| elmiko | awesome =) | 18:02 |
| *** cdent has quit IRC | 18:12 | |
| openstackgerrit | Dean Troyer proposed openstack/python-openstackclient: Functional tests - flavor https://review.openstack.org/417132 | 18:34 |
| *** abhiraut has joined #openstack-sdks | 18:35 | |
| stevemar | dtroyer: so i guess you're around? :) | 18:45 |
| *** reedip_outofmemo has quit IRC | 18:54 | |
| dtroyer | hi ho! | 19:03 |
| *** fzdarsky is now known as fzdarsky|afk | 19:03 | |
| *** cdent has joined #openstack-sdks | 19:22 | |
| *** gouthamr has quit IRC | 19:39 | |
| *** gouthamr has joined #openstack-sdks | 19:40 | |
| *** salv-orl_ has quit IRC | 19:41 | |
| *** cleong has quit IRC | 19:53 | |
| *** e0ne has joined #openstack-sdks | 19:56 | |
| *** markvoelker has quit IRC | 19:59 | |
| *** markvoelker has joined #openstack-sdks | 19:59 | |
| sshank | dtroyer, I have a question regarding adding '--option' (example: https://review.openstack.org/#/c/387611/28/doc/source/command-objects/network-agent.rst@39). Initially we are asked to change to have a --option. Please confirm which way to follow. | 20:02 |
| *** cleong has joined #openstack-sdks | 20:02 | |
| *** chlong has quit IRC | 20:03 | |
| sshank | dtroyer, ^^ | 20:04 |
| *** huanxuan has quit IRC | 20:04 | |
| sshank | dtroyer, In patch: https://review.openstack.org/#/c/385729/8/doc/source/command-objects/network-agent.rst@85 --router is suggested. But later in patch: https://review.openstack.org/#/c/387611/ it is suggested to not have --option. | 20:07 |
| dtroyer | I don't see a —option anywhere? | 20:16 |
| openstackgerrit | Ian Cordasco proposed openstack/api-wg: Define pagination guidelines https://review.openstack.org/390973 | 20:18 |
| dtroyer | you may be getting confused between resources, this review has two different things it is addressing | 20:18 |
| dtroyer | I'm heading out for a while, will be back later today to look at this again | 20:18 |
| sshank | dtroyer, Okay. | 20:18 |
| sshank | dtroyer, Thanks. | 20:18 |
| openstackgerrit | OpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/417175 | 20:30 |
| *** adriant has joined #openstack-sdks | 20:33 | |
| *** e0ne has quit IRC | 20:36 | |
| *** salv-orlando has joined #openstack-sdks | 21:14 | |
| *** cdent has quit IRC | 21:43 | |
| *** salv-orl_ has joined #openstack-sdks | 21:53 | |
| *** cleong has quit IRC | 21:54 | |
| *** salv-orlando has quit IRC | 21:56 | |
| *** salv-orl_ has quit IRC | 22:33 | |
| *** salv-orlando has joined #openstack-sdks | 22:36 | |
| *** fguillot has quit IRC | 22:40 | |
| *** prg3 has quit IRC | 22:52 | |
| *** prg3 has joined #openstack-sdks | 23:03 | |
| *** prg3 has quit IRC | 23:11 | |
| *** prg3 has joined #openstack-sdks | 23:17 | |
| *** gouthamr has quit IRC | 23:21 | |
| *** gouthamr has joined #openstack-sdks | 23:22 | |
| openstackgerrit | Merged openstack/python-openstackclient: Updated from global requirements https://review.openstack.org/417175 | 23:24 |
| openstackgerrit | Eric Brown proposed openstack/keystoneauth: Remove references to Python 3.4 https://review.openstack.org/417236 | 23:28 |
| *** annegentle has quit IRC | 23:32 | |
| *** salv-orlando has quit IRC | 23:45 | |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!