Thursday, 2017-01-05

*** gouthamr has quit IRC00:04
*** john-davidge has joined #openstack-sdks00:15
*** john-davidge has quit IRC00:19
*** sdague has quit IRC00:21
*** amotoki has quit IRC00:34
stevemaredleafe 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 glance00:38
*** hongbin has quit IRC00:40
*** hoangcx has joined #openstack-sdks00:47
*** jamielennox is now known as jamielennox|away01:02
*** huanxuan has joined #openstack-sdks01:08
*** elmiko is now known as _elmiko01:19
*** jamielennox|away is now known as jamielennox01:21
*** kevo has quit IRC01:26
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in "volume type set/unset/create"  https://review.openstack.org/41419701:50
*** abhiraut has quit IRC02:20
*** annp has joined #openstack-sdks02:34
*** john-davidge has joined #openstack-sdks02:58
*** john-davidge has quit IRC03:02
*** tonyb has quit IRC03:05
*** timss has quit IRC03:05
*** jgriffith has quit IRC03:05
*** charz has quit IRC03:05
*** tonyb has joined #openstack-sdks03:05
*** timss has joined #openstack-sdks03:05
*** jgriffith has joined #openstack-sdks03:06
*** charz has joined #openstack-sdks03:06
*** gouthamr has joined #openstack-sdks03:19
*** amotoki has joined #openstack-sdks03:30
openstackgerritMerged openstack/python-openstackclient: Update the description format  https://review.openstack.org/41648503:32
*** gouthamr has quit IRC04:43
*** nandal has joined #openstack-sdks05:21
*** jamielennox is now known as jamielennox|away05:23
*** john-davidge has joined #openstack-sdks05:25
*** jamielennox|away is now known as jamielennox05:30
*** john-davidge has quit IRC05:30
*** salv-orlando has joined #openstack-sdks05:41
*** dfflanders has quit IRC05:41
*** nandal has quit IRC05:51
*** nandal has joined #openstack-sdks05:52
*** gouthamr has joined #openstack-sdks06:14
*** abhiraut has joined #openstack-sdks06:22
*** abhiraut has quit IRC06:28
openstackgerritjiahui.qiang proposed openstack/python-openstackclient: Fix filter error in os volume list  https://review.openstack.org/41685206:30
*** abhiraut has joined #openstack-sdks06:32
openstackgerritzhiyong.dai proposed openstack/python-openstackclient: Add unscoped-saml.rst  https://review.openstack.org/41686106:49
*** hoangcx_ has joined #openstack-sdks06:54
*** hoangcx has quit IRC06:56
*** salv-orl_ has joined #openstack-sdks07:13
*** abhiraut has quit IRC07:13
*** salv-orl_ has quit IRC07:13
*** salv-orlando has quit IRC07:16
*** zhiyong has quit IRC07:26
*** e0ne has joined #openstack-sdks07:37
*** zhiyong has joined #openstack-sdks07:39
*** openstackgerrit has quit IRC07:50
*** john-davidge has joined #openstack-sdks07:52
*** hoangcx has joined #openstack-sdks07:53
*** gouthamr has quit IRC07:53
*** gouthamr has joined #openstack-sdks07:54
*** hoangcx_ has quit IRC07:56
*** john-davidge has quit IRC07:57
*** gouthamr has quit IRC08:06
*** fzdarsky|afk has joined #openstack-sdks08:08
*** fzdarsky|afk is now known as fzdarsky08:09
*** kevo has joined #openstack-sdks08:33
*** zhiyong has quit IRC08:45
*** zhiyong has joined #openstack-sdks08:58
*** kevo has quit IRC09:08
*** lucas-afk is now known as lucasagomes09:24
*** amotoki has quit IRC09:55
*** hoangcx has quit IRC09:57
*** cdent has joined #openstack-sdks10:00
*** sheel has joined #openstack-sdks10:03
*** hieulq has quit IRC10:13
*** openstackstatus has quit IRC10:13
*** openstack has joined #openstack-sdks10:17
*** cdent has quit IRC10:49
*** salv-orlando has joined #openstack-sdks10:52
*** salv-orlando has quit IRC10:57
*** salv-orlando has joined #openstack-sdks10:57
*** salv-orlando has quit IRC11:02
*** salv-orlando has joined #openstack-sdks11:04
*** amotoki has joined #openstack-sdks11:16
*** salv-orlando has quit IRC11:19
*** salv-orlando has joined #openstack-sdks11:19
*** salv-orlando has quit IRC11:24
*** cdent has joined #openstack-sdks11:29
*** zhiyong has quit IRC11:37
*** openstackgerrit has joined #openstack-sdks11:39
openstackgerritJens Rosenboom proposed openstack/python-openstackclient: Fix creating a private flavor with ID auto  https://review.openstack.org/41694011:39
*** timss has quit IRC11:44
*** timss has joined #openstack-sdks11:44
*** ankur-gupta-f has quit IRC11:55
*** _elmiko has quit IRC11:55
*** Shrews has quit IRC11:55
*** timrc has quit IRC11:55
*** Anticimex has quit IRC11:55
*** _elmiko has joined #openstack-sdks11:55
*** timrc has joined #openstack-sdks11:55
*** Shrews has joined #openstack-sdks11:56
*** ankur-gupta-f has joined #openstack-sdks11:56
*** annp has quit IRC12:05
*** lucasagomes is now known as lucas-hungry12:05
*** rtheis has joined #openstack-sdks12:14
*** nandal has quit IRC12:30
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in volume type commands  https://review.openstack.org/41419712:50
*** sdague has joined #openstack-sdks12:51
*** sdague_ has quit IRC12:54
*** sdague_ has joined #openstack-sdks12:56
*** sdague_ has quit IRC12:56
openstackgerritHuanxuan Ao proposed openstack/python-openstackclient: Add "encryption-*" options in volume type commands  https://review.openstack.org/41419712:57
*** cdent has quit IRC12:58
stevemarhuanxuan: dtroyer: meeting soon or in the evening? i never remember12:59
dtroyerafternoon today12:59
dtroyer1:00 US Central, 2:00 US Eastern13:00
dtroyerstevemar: I may be in and out today, getting Google Fiber installed (in the snow!)13:00
stevemardtroyer: you get snow down there?13:01
dtroyersome years up to 10-12"13:01
dtroyerlast night just 2"13:01
stevemargo figure13:01
dtroyerdriveway is already clear13:01
stevemarclear it with a broom? :P13:02
*** zhiyong has joined #openstack-sdks13:02
dtroyerleaf blower!13:02
dtroyer(I wish)13:02
dtroyerall of the schools around us are closed, except my wife's district.13:02
stevemard'oh!13:02
dtroyeryou guys would laugh at how quickly most of these districts shut down13:03
stevemarTIL KC and Missouri are further north than NC13:03
stevemari never remember where half the states are, too many13:03
dtroyerwe also don't have a large body of heat-stabilizing water within 1000 miles :)13:03
stevemaraye13:04
stevemarwater does do funny things like that13:04
dtroyerCanada sends us cold stuff, Mexico sends us hot stuff, Pacific sends is wet stuff13:04
dtroyerAtlantic just takes and takes and takes :)13:04
stevemarhehe13:05
stevemarthats one way of looking at it13:05
dtroyerI'm sure Topol would argue with that when the hurricanes come though13:05
dtroyerthat's when the Atlantic gives it all back13:05
dtroyerWith that we conclude today's Weather Theory 10113:06
*** cdent has joined #openstack-sdks13:06
stevemar:)13:19
*** Anticimex has joined #openstack-sdks13:25
*** lucas-hungry is now known as lucasagomes13:27
*** d0ugal has quit IRC13:34
*** d0ugal has joined #openstack-sdks13:35
*** cdent has quit IRC13:41
openstackgerritDean Troyer proposed openstack/python-openstackclient: Functional tests - port  https://review.openstack.org/41698013:50
Dinesh_Bhorbriancurtin: 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_Bhorbriancurtin: I am using a small program similar to the mentioned here: https://pypi.python.org/pypi/openstacksdk13:53
Dinesh_Bhorbriancurtin: I am calling servers like "conn.compute.servers()"13:55
*** salv-orlando has joined #openstack-sdks13:56
*** fguillot has joined #openstack-sdks13:59
*** _elmiko is now known as elmiko14:01
edleafestevemar: just saw your question. We generally recommend a 400 with a message that explains the problem14:09
*** cdent has joined #openstack-sdks14:23
*** stevelle has joined #openstack-sdks14:29
sigmaviruscdent: is there an API-WG meeting today?14:29
sigmavirusetoews: ^14:30
cdentsigmavirus: yeah, in about 1.5 hours14:30
sigmaviruscdent: excellent. Thank you!14:30
briancurtinDinesh_Bhor: is that supported by the server?14:38
Dinesh_Bhorbriancurtin: yes14:40
briancurtini can’t imagine they accept more than one sort_dir though, right?14:41
*** lamt has joined #openstack-sdks14:42
briancurtineh, 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 dictionary14:43
Dinesh_Bhorbriancurtin: 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 successfully14:43
Dinesh_Bhorbriancurtin: "GET /v2.1/servers/detail?sort_key=name&sort_key=created_at"14:44
briancurtinweird that it works like that, but if it does, then stick with it14:44
briancurtinahh, maybe that’s a feature of the requests library though14:45
Dinesh_Bhorbriancurtin: 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 works14:47
*** salv-orlando has quit IRC14:50
briancurtinDinesh_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_2334726514:51
*** hongbin has joined #openstack-sdks14:51
Dinesh_Bhorbriancurtin: Aah, ok thanks, so should we stick to this only?14:53
briancurtinDinesh_Bhor: yeah, if you do sort_key=[list, of, things] it will be fine14:54
Dinesh_Bhorbriancurtin: ok, thanks14:55
Dinesh_Bhorbriancurtin: bdw I have one more doubt if you have time then14:57
briancurtinDinesh_Bhor: sure, what’s up14:58
Dinesh_Bhorbriancurtin: 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_Bhorbriancurtin: But at nova-api it has returned exception with message: Returning 400 to user: Sort key supplied was not valid.14:58
Dinesh_Bhorbriancurtin: conn.compute.servers(sort_key=['nadame', 'created_at'])14:59
openstackgerritJens Rosenboom proposed openstack/python-openstackclient: Fix creating a private flavor with ID auto  https://review.openstack.org/41694014:59
Dinesh_Bhorbriancurtin: 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 details15:01
briancurtinyeah, 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 it15:02
*** cleong has joined #openstack-sdks15:03
Dinesh_Bhorbriancurtin: ok, Can I take up this task?15:03
briancurtinDinesh_Bhor: sure, if you’d like to15:03
Dinesh_Bhorbriancurtin: ok, thanks I will push my patch soon15:04
*** chlong has joined #openstack-sdks15:05
briancurtinDinesh_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 were15:09
Dinesh_Bhorbriancurtin: ok, thanks I will take a look at it15:13
QimingDinesh_Bhor, one thing worth a try is to wrap line 77 in that patch into a try...except statement15:15
*** lamt has quit IRC15:15
Qimingnot all exceptions are returning things that can be converted to a JSON15:15
Qimingthat patch was reverted because it is over simplifying the situation15:16
*** lamt has joined #openstack-sdks15:16
Dinesh_BhorQiming: can we do something like this: https://github.com/openstack/python-glanceclient/blob/master/glanceclient/exc.py#L15615:17
Qiminglooks nicer15:17
Qimingjust I'm not sure if there will always be a content-type header when an exception is raised15:19
stevemaredleafe: thanks!15:22
*** salv-orlando has joined #openstack-sdks15:34
*** d0ugal has quit IRC15:38
*** d0ugal has joined #openstack-sdks15:41
*** reedip_outofmemo has joined #openstack-sdks15:49
*** salv-orl_ has joined #openstack-sdks15:53
*** salv-orlando has quit IRC15:56
*** gouthamr has joined #openstack-sdks16:46
*** e0ne has quit IRC16:52
*** amotoki has quit IRC16:55
openstackgerritMerged openstack/api-wg: Trivial fix: correct names of capitalization styles  https://review.openstack.org/41139117:03
*** lucasagomes is now known as lucas-afk17:12
cdentelmiko or etoews or edleafe can you proofread https://etherpad.openstack.org/p/api-wg-newsletter please17:15
* edleafe looks17:16
edleafecdent: made on quick change to add the review link. Thinking of lazy people who might not be up to 2 clicks17:18
cdentedleafe: I did that on purpose. I didn't want people to read the review without looking at the etherpad :)17:18
cdentcontext is everything, after all17:19
cdentbut yeah, your change is fine17:19
edleafeand 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
cdentI think my bias is showing: I want the reading of the etherpad to predispose the person reading the review...17:20
cdentI'll ship what we've got showing now unless you've got addtional changes17:20
cdentthar she blows17:21
cdentdamn, found an old typo after sending it17:25
*** annegentle has joined #openstack-sdks17:27
*** Kevin_Zheng has quit IRC17:47
*** kevo has joined #openstack-sdks17:47
*** rtheis has quit IRC17:48
elmikocdent: sorry, missed the ping18:02
cdentelmiko: no worries, edleafe and I figured it out.18:02
elmikoawesome =)18:02
*** cdent has quit IRC18:12
openstackgerritDean Troyer proposed openstack/python-openstackclient: Functional tests - flavor  https://review.openstack.org/41713218:34
*** abhiraut has joined #openstack-sdks18:35
stevemardtroyer: so i guess you're around? :)18:45
*** reedip_outofmemo has quit IRC18:54
dtroyerhi ho!19:03
*** fzdarsky is now known as fzdarsky|afk19:03
*** cdent has joined #openstack-sdks19:22
*** gouthamr has quit IRC19:39
*** gouthamr has joined #openstack-sdks19:40
*** salv-orl_ has quit IRC19:41
*** cleong has quit IRC19:53
*** e0ne has joined #openstack-sdks19:56
*** markvoelker has quit IRC19:59
*** markvoelker has joined #openstack-sdks19:59
sshankdtroyer, 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-sdks20:02
*** chlong has quit IRC20:03
sshankdtroyer, ^^20:04
*** huanxuan has quit IRC20:04
sshankdtroyer, 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
dtroyerI don't see a —option anywhere?20:16
openstackgerritIan Cordasco proposed openstack/api-wg: Define pagination guidelines  https://review.openstack.org/39097320:18
dtroyeryou may be getting confused between resources, this review has two different things it is addressing20:18
dtroyerI'm heading out for a while, will be back later today to look at this again20:18
sshankdtroyer, Okay.20:18
sshankdtroyer, Thanks.20:18
openstackgerritOpenStack Proposal Bot proposed openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/41717520:30
*** adriant has joined #openstack-sdks20:33
*** e0ne has quit IRC20:36
*** salv-orlando has joined #openstack-sdks21:14
*** cdent has quit IRC21:43
*** salv-orl_ has joined #openstack-sdks21:53
*** cleong has quit IRC21:54
*** salv-orlando has quit IRC21:56
*** salv-orl_ has quit IRC22:33
*** salv-orlando has joined #openstack-sdks22:36
*** fguillot has quit IRC22:40
*** prg3 has quit IRC22:52
*** prg3 has joined #openstack-sdks23:03
*** prg3 has quit IRC23:11
*** prg3 has joined #openstack-sdks23:17
*** gouthamr has quit IRC23:21
*** gouthamr has joined #openstack-sdks23:22
openstackgerritMerged openstack/python-openstackclient: Updated from global requirements  https://review.openstack.org/41717523:24
openstackgerritEric Brown proposed openstack/keystoneauth: Remove references to Python 3.4  https://review.openstack.org/41723623:28
*** annegentle has quit IRC23:32
*** salv-orlando has quit IRC23:45

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!