Tuesday, 2017-02-28

*** meteorfox has quit IRC00:00
*** dasanind has quit IRC00:00
*** scottda has quit IRC00:00
*** sindhu has quit IRC00:00
*** meteorfox has joined #openstack-sdks00:00
*** waj334 has quit IRC00:01
*** dstanek has quit IRC00:01
*** amit213 has quit IRC00:01
*** fnordahl has quit IRC00:02
*** zacksh has quit IRC00:02
*** mhayden has quit IRC00:02
*** Hazelesque has quit IRC00:02
*** sindhu has joined #openstack-sdks00:04
*** Hazelesque has joined #openstack-sdks00:04
*** waj334 has joined #openstack-sdks00:05
*** scottda has joined #openstack-sdks00:05
*** hongbin has quit IRC00:05
*** amit213 has joined #openstack-sdks00:06
*** RuiChen has quit IRC00:07
*** RuiChen has joined #openstack-sdks00:08
*** zacksh has joined #openstack-sdks00:09
*** dstanek has joined #openstack-sdks00:09
*** fnordahl has joined #openstack-sdks00:11
*** mhayden has joined #openstack-sdks00:11
*** dasanind has joined #openstack-sdks00:11
*** RuiChen has quit IRC00:15
*** jamielennox|away is now known as jamielennox00:16
*** RuiChen has joined #openstack-sdks00:17
*** sdague has quit IRC00:20
*** gildub has joined #openstack-sdks00:27
*** yuanying has quit IRC00:28
*** dstanek has quit IRC00:34
*** dstanek has joined #openstack-sdks00:34
*** hoangcx has joined #openstack-sdks00:36
*** annp has joined #openstack-sdks00:59
*** yuanying has joined #openstack-sdks01:24
*** namnh has joined #openstack-sdks01:39
*** huanxuan has joined #openstack-sdks01:39
openstackgerritMerged openstack/python-openstacksdk master: Add missing attribute to Subnet resource  https://review.openstack.org/43844101:48
*** eliqiao has quit IRC02:07
*** eliqiao has joined #openstack-sdks02:19
*** gildub_ has joined #openstack-sdks02:20
*** gildub has quit IRC02:22
*** fzdarsky_ has joined #openstack-sdks02:33
*** fzdarsky|afk has quit IRC02:34
*** yanyanhu has joined #openstack-sdks02:46
*** reedip_1 has joined #openstack-sdks02:52
*** reedip_1 has quit IRC02:57
*** gildub_ has quit IRC03:02
*** gildub has joined #openstack-sdks03:30
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Add an allow_version_hack flag to session and identity plugins.  https://review.openstack.org/43878803:47
*** gouthamr has quit IRC03:54
*** Dinesh_Bhor has joined #openstack-sdks03:59
openstackgerritjiahui.qiang proposed openstack/python-openstackclient master: Functional test for subnet  https://review.openstack.org/43591404:07
*** shu-mutou-AWAY is now known as shu-mutou04:29
*** adriant has quit IRC05:30
*** john-davidge has joined #openstack-sdks05:38
*** john-davidge has quit IRC05:43
*** shu-mutou has quit IRC05:48
*** salv-orlando has joined #openstack-sdks06:03
*** salv-orl_ has joined #openstack-sdks06:18
*** salv-orl_ has quit IRC06:20
*** salv-orl_ has joined #openstack-sdks06:20
*** salv-orlando has quit IRC06:21
openstackgerritRui Chen proposed openstack/python-openstackclient master: Add "--private-key" option for "keypair create"  https://review.openstack.org/43835206:32
*** fzdarsky_ is now known as fzdarsky06:35
*** e0ne has joined #openstack-sdks07:12
*** Kevin_Zheng_ has joined #openstack-sdks07:14
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: Add 'host' and 'force' parameter in cold migration  https://review.openstack.org/42756507:15
openstackgerritTakashi NATSUME proposed openstack/python-openstackclient master: Add 'host' and 'force' parameter in cold migration  https://review.openstack.org/42756507:15
*** Kevin_Zheng_ is now known as Kevin_Zheng07:17
*** yuanying_ has joined #openstack-sdks07:25
*** yuanying has quit IRC07:27
*** e0ne has quit IRC07:34
*** gmann has quit IRC07:35
*** gmann has joined #openstack-sdks07:37
*** dtroyer has quit IRC07:40
*** dtroyer has joined #openstack-sdks07:40
*** fzdarsky has quit IRC07:43
*** fzdarsky has joined #openstack-sdks07:44
*** shu-mutou has joined #openstack-sdks07:56
*** yanyanhu has quit IRC08:00
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Add an allow_version_hack flag to session and identity plugins.  https://review.openstack.org/43878808:22
*** swatson_ has quit IRC08:23
*** yuanying_ has quit IRC08:53
*** jpich has joined #openstack-sdks08:58
*** aarefiev_afk is now known as aarefiev09:02
*** gildub has quit IRC09:10
*** Serlex has joined #openstack-sdks09:28
*** e0ne has joined #openstack-sdks09:35
*** lucas-afk is now known as lucasagomes09:50
*** e0ne has quit IRC09:53
*** e0ne has joined #openstack-sdks09:54
*** hoangcx has quit IRC10:10
*** shu-mutou is now known as shu-mutou-AWAY10:12
*** Serlex has quit IRC10:35
*** dfflanders has quit IRC10:37
*** yuanying has joined #openstack-sdks10:40
*** namnh has quit IRC10:43
*** Serlex has joined #openstack-sdks10:45
*** salv-orl_ has quit IRC10:57
*** salv-orlando has joined #openstack-sdks11:05
*** sdague has joined #openstack-sdks11:06
*** john-davidge has joined #openstack-sdks11:31
*** jkilpatr has quit IRC11:41
*** salv-orlando has quit IRC12:01
*** annp has quit IRC12:02
*** johnthetubaguy has quit IRC12:04
*** jkilpatr has joined #openstack-sdks12:13
*** johnthetubaguy has joined #openstack-sdks12:14
*** amotoki has joined #openstack-sdks12:35
*** Dinesh_Bhor has quit IRC12:39
*** salv-orlando has joined #openstack-sdks12:42
*** thingee has quit IRC12:54
*** thingee has joined #openstack-sdks13:01
-openstackstatus- NOTICE: restarting gerrit to address performance problems13:08
*** ChanServ changes topic to "restarting gerrit to address performance problems"13:08
*** lucasagomes is now known as lucas-hungry13:21
*** huanxuan has quit IRC13:24
-openstackstatus- NOTICE: ok gerrit is back to normal13:37
*** ChanServ changes topic to "ok gerrit is back to normal"13:37
*** salv-orlando has quit IRC13:42
*** ChanServ changes topic to "#openstack-sdks"13:44
-openstackstatus- NOTICE: gerrit is back to normal and I don't know how to use the openstackstaus bot13:44
*** hoangcx has joined #openstack-sdks13:46
*** gouthamr has joined #openstack-sdks13:50
*** openstackgerrit has quit IRC14:03
*** reedip has joined #openstack-sdks14:14
*** lucas-hungry is now known as lucasagomes14:15
*** openstackgerrit has joined #openstack-sdks14:28
openstackgerritMerged openstack/python-openstacksdk master: Deprecate "wait_for" methods on ProxyBase  https://review.openstack.org/43438114:28
openstackgerritMerged openstack/python-openstacksdk master: Implement metric docs  https://review.openstack.org/43511014:28
*** chlong has joined #openstack-sdks14:30
openstackgerritJens Rosenboom proposed openstack/python-openstackclient master: Fix handling the use_default_subnet_pool attribute  https://review.openstack.org/43851414:31
briancurtinstevemar: i’m about to do an SDK release, wasn't there some kind of test you kick off before i do that?14:31
*** Matias has quit IRC14:42
*** annegentle has joined #openstack-sdks14:43
*** Matias has joined #openstack-sdks14:44
*** annegentle has quit IRC14:47
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize block store docs  https://review.openstack.org/43899314:59
*** hongbin has joined #openstack-sdks15:02
*** chlong has quit IRC15:11
*** hoangcx has quit IRC15:13
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize telemetry docs  https://review.openstack.org/43902015:32
reedipsindhu : hey15:36
sindhureedip: hey15:36
reedipsindhu : any clue what is happening with the floating ip set CLI ?15:36
reedipsindhu : I think we are stuck somewhere, isnt it?15:36
sindhureedip: working on it now15:36
sindhureedip: will upload a patch soon15:37
reedipsindhu : one question . Do we need the sdk_session in Line 579 of openstack/network/v2/floating_ip.py ?15:37
sindhureedip: yes15:38
reedipsindhu : y?15:38
*** jgriffith has quit IRC15:39
*** jgriffith has joined #openstack-sdks15:39
sindhureedip: coz, find_floating_ip function needs session to be passed15:39
reedipsindhu : thats what I am wondering. Why do we need a separate session when we are not using the same behavior for , say , a port or a network15:39
reedipsindhu : is there something different implemented on the SDK  for this ?15:40
reedipI searched the whole OSC but couldnt find the sdk_session anywhere else except the patch in progress ( please correct me if I am wrong ) sindhu15:40
sindhureedip: find_floating_ip function is not defined in sdk, it's a local function in the file, at L8515:41
reedipsindhu : sorry , the jet lag and other stuff are messing up my brain :P15:43
*** chlong has joined #openstack-sdks15:43
reedipsindhu : lemme check it again, because I dont think we need to use the sdk_Session per se ...15:43
*** ediardo has quit IRC15:44
sindhureedip: haha, no problem :) sure, the find_ip defined in the sdk does the search based on only name or id of floating_ip15:44
reedipsindhu : ok ...15:45
reedipfloatin_ip doesnt have a name , so I guess we are searching based on IP or ID15:45
*** ediardo has joined #openstack-sdks15:46
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize workflow docs  https://review.openstack.org/43902815:46
sindhureedip: https://github.com/openstack/python-openstacksdk/blob/master/openstack/network/v2/_proxy.py#L513, but the find_floating_ip defined in the openstackclient/network/v2/floating_ip is capable of doing the search based on IP as well. If I understand correctly15:46
reedipsindhu : the _proxy file does the job smoothly on the SDK side15:47
sindhureedip: let me know if u think there is something wrong15:54
reedipsindhu : I will, in some time though15:54
sindhureedip: sure15:54
reedipif there is something wrong . but I doubt there is something15:55
*** salv-orlando has joined #openstack-sdks16:01
*** Kuwagata has joined #openstack-sdks16:04
openstackgerritSindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302516:15
dtroyerbriancurtin: got a question on how SDK handles resource attribute updates.  Specifically I am looking at port security_groups, and find that adding one fails in this case:  a) port has at least one existing security group; b) add a new security group ID at the end of the list of existing groups.  No PUT is executed.  If I add the new ID to the beginning of the list the PUT is sent.16:21
dtroyerI've started looking for where this update detection happens in SDK and have not traced it down yet...16:22
reedipdtroyer : really ????16:23
reedipdtroyer : so you are appending the data ?16:23
dtroyeryes, appending new ID to the list fo exsting IDs16:23
reedipdtroyer : ohk, lemme try the same ...16:25
*** Matias has quit IRC16:25
*** Matias has joined #openstack-sdks16:27
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Simplify logic around option lists in port set  https://review.openstack.org/43904816:28
dtroyerreedip: ^^^^ is what I am doing.16:28
briancurtindtroyer: looking16:28
reedipdtroyer: yeah saw that and reviewing the same16:29
dtroyerwe've gotten a bit complicated in option handling and its hard to follow16:29
briancurtindtroyer: ah, i’ll have to look up my special methods again, but i bet it’s that we’re not catching the += in setting the dirty. we currently set it based on __setitem__16:30
dtroyerah, ok.   .append() then maybe?16:30
*** salv-orlando has quit IRC16:32
briancurtinwhat you’re doing should work (fixing and releasing that in a coordinated way is another matter)—what should work no matter what would be to get the value, do the append (or even a += to a local value), and then do the fixed_ips=my_new_thing instead of doing it in-place16:32
reedipdtroyer : Line #740 in https://review.openstack.org/#/c/439048/1/openstackclient/network/v2/port.py16:33
dtroyerok, that may be cleaner anyway too.  I'm re-doing this because I couldn't follow the logic without a lot of caffiene… :)16:33
briancurtini think that’s what we’re missing. the value itself is being appended to fine, but it’s not flagging the dirty setting because the in-place operation (i think, looking up something right now)16:33
dtroyerI think that is what I see too briancurtin, I finally found _ComponentManager :)16:34
*** e0ne has quit IRC16:36
reedipdtroyer : One thing I cannot understand is why  the attrs object is not able to update the info on the neutron server side16:39
dtroyerreedip: SDK Resource tracks attributes that have been changed (dirty) and only sends back the ones actually changed for update().  Setting the dirty flag is not happening in some cases16:40
reedipdtroyer : I remember having this discussion with stevemar , I guess16:42
reedipbut cant see why the dirty flag isnt set ( being the original writer of this patch, I would need the feedback for future reference :) )16:43
*** salv-orlando has joined #openstack-sdks16:44
dtroyerreedip: briancurtin thought it might be because using += modifies the attribute in place and doens't pass through __setitem__(), which is where the dirty flag is set.16:46
dtroyerWithout tracing it I think I agree16:46
reedipdtroyer : so , we shouldnt use += in Set attributes ( sounds like a doc update :P )16:47
dtroyerI'm trying to make the handling of these arguments clearer, it took me a while to understand what was happening before16:47
reedip??16:47
dtroyermaybe not in this case, no16:47
reedipdtroyer : so this is a case by case basis ?16:47
dtroyerat least when operating on an attribute obtained from an SDK object16:47
dtroyerI think that is the distinction; if we used a copy of an object attribute it might have worked16:48
reedipdtroyer : ok ...16:53
dtroyerhmmmm, of the 3 options pairs I am looking at, security groups was the only one to not iterate over the existing list16:54
reedipthe only difference which I found was that we are using the client.find_xxx function for SG16:57
reedipdtroyer: for fixed-ip and allowed-address-pair , we didnt execute the find function16:57
reedipcan that be of some impact , dtroyer ?16:58
dtroyerI don' tthink that is involved, that is looping over the 'new' values16:58
dtroyeractually, I think using [].extend() rather than += will be enough of a change16:59
reedipdtroyer : ok, because += was used with fixed-ips as well, and if it was updated successfully, then maybe something else is wrong16:59
dtroyerfixed_ips never directly re-used the list from the resource object, it iterated over it17:00
reedipdtroyer : ok17:00
dtroyerthat forced __setitem__() to be called17:00
reedipyeah , makes sense17:00
dtroyerso I think we'll do both, it seems clearer to me17:01
reedipdtroyer : ok :)17:03
reedipsindhu :still causes an issue . Did you run tox -v -e functional openstackclient.tests.functional.network.v2.test_floating_ip.FloatingIpTests.test_floating_ip_set_and_unset_port17:03
reedipsindhu : can you tell me the output of  ^^ ?17:04
sindhureedip: y, what's wrong?17:17
reedipsindhu : I am still getting a failure, thats why asking you if it is passing in your system17:18
reedipsindhu : can u just run and check if it giving a positive result in your setup ?17:19
sindhureedip: something is wrong with my local it fails in the setup itself. Let me get a new env n check again. Thanks for looking :)17:21
sindhureedip: what error are u getting?17:22
reedipsindhu : NP , I am just trying to close the NeutronClient CLI migration for now :)17:22
sindhureedip: I m not sure if cleanup is working the way it should17:22
reedipsindhu : It isnt , I brought the router delete line to Line #23417:23
*** Serlex has quit IRC17:26
*** wklm_ has joined #openstack-sdks17:27
*** wklm_ has quit IRC17:27
*** wklm_ has joined #openstack-sdks17:27
*** wklm_ has quit IRC17:27
*** wklm_ has joined #openstack-sdks17:28
*** wklm_ has quit IRC17:28
sindhureedip: and it is working now?17:28
reedipNo, a different error is occurring, thats what I a trying to resolve17:29
*** wklm has joined #openstack-sdks17:29
sindhureedip: what's that ?17:29
reedipunicode is not callable, str is not callable :)17:29
reedipI have been trying to fix this since this evening :)17:30
reedipmy brain is not working with me !17:30
sindhuyup, that's the same failure even in gate17:30
wklmhey guys, i'm having troubles installing python sdk on centos. I'm getting the following error: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-gyuzq2sj/cliff/ How can I deal with that?17:30
sindhureedip: Ohhhh I think I got it !!!!!17:31
briancurtinwklm: how are you installing it?17:31
reedipsindhu : whats that ?17:31
sindhureedip: so in all the cleanup, I have missed self.openstack17:32
sindhureedip: will fix it now17:32
reedipsindhu : thats not necessary , is it?17:32
wklmbriancurtin: simply: pip install python-openstackclient17:32
wklmbeing root17:32
openstackgerritSindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302517:33
sindhureedip: it is, I have updated17:33
reedipsindhu : testing the same17:33
reedipI have made some other changes as well17:34
sindhureedip: can u check now with the latest patch17:34
reedipsindhu : sure, gimme a minute. My changes are just running right now17:34
sindhureedip: sure17:34
briancurtinwklm: someone else will have to take a look, i thought you were installing the sdk17:34
wklmbriancurtin: is there a more proper channel for it, or am i right here? :)17:35
briancurtinfine here17:35
briancurtini just don’t know about that17:35
reedipsindhu : my patch failed :P Now trying yours17:39
wklmhere more specific error stack trace:17:39
wklm Traceback (most recent call last):       File "/tmp/pip-build-mgg6jby7/cliff/.eggs/pbr-1.10.0-py3.4.egg/pbr/core.py", line 111, in pbr         attrs = util.cfg_to_args(path, dist.script_args)       File "/tmp/pip-build-mgg6jby7/cliff/.eggs/pbr-1.10.0-py3.4.egg/pbr/util.py", line 248, in cfg_to_args         kwargs = setup_cfg_to_setup_kwargs(config, script_args)       File "/tmp/pip-build-mgg6jby7/cliff/.eggs/pbr-1.10.0-py3.4.17:39
sindhureedip: ok, thanks :)17:39
reedipsindhu : okay , your patch also didnt work on my system17:45
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize network docs  https://review.openstack.org/43907417:45
sindhureedip: Ah really?? what does it say now?17:45
reedipJust a min17:46
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize workflow docs  https://review.openstack.org/43902817:46
reediphttp://paste.openstack.org/show/600823/17:46
reedipsindhu : ^^17:46
reedipI fixed that in my patch but failed somewhere else17:46
*** annegentle has joined #openstack-sdks17:48
reedipsindhu : this one is really tricky patch for a long time :)17:49
sindhureedip: lol, yeah !!17:49
ankur-gupta-f4Yea what is going on haha17:49
reedipankur-gupta-f4 : a patch !!!!17:50
sindhureedip: I am going to wait to see what jenkins says17:50
reedipsindhu : sure :)17:51
reediptill then I will make my patch :D17:51
sindhuankur-gupta-f4: I had missed a parameter in cleanup17:54
ankur-gupta-f1stevemar: are you going to do the network osc mapping? else I can18:00
dasanindankur-gupta-f1: I started the network osc mapping here https://docs.google.com/spreadsheets/d/18ZtWC75BNCwFqLfFpCGGJ9uPVBvUXX0xuXP1yYG0NDA/edit?ts=58ab0c43#gid=52767183018:02
reediphey dasanind :)18:02
reedipBTW u missed tap-as-a-service CLIs in this  :)18:03
dasanindhi reedip :18:03
dasanindreedip: oops18:03
reedipno issues :)18:03
dasanindreedip: can you nplease add it18:03
reedipI cannot until I have write access :P :D18:04
reedipsindhu : My patch succeeded :D18:04
dasanindreedip: I can add you what is your email id?18:04
reedipI requested for the update18:05
*** lucasagomes is now known as lucas-afk18:05
reedipdidnt u get the request ?18:05
*** jpich has quit IRC18:06
*** chlong has quit IRC18:06
ankur-gupta-f4Yea i filled it18:07
ankur-gupta-f4No tap tho18:07
sindhureedip: what did I miss18:09
reedipreordering the CLIs18:10
reedipbut also the sdk_session issue which I was talking about earlier18:10
reedipthe Funtional test fails because you are unsetting FLoating IP after Router's interface removal18:10
reedipbut they fail even before that , because there  is no sdk_session in ClientManager18:11
*** fzdarsky is now known as fzdarsky|afk18:13
reedipsindhu: you can check the issue by running the tox command I pasted earlier18:14
sindhureedip: but I thought sdk_connection error was coz my devstack was not re based18:17
reedipi dont think so ...18:17
dasanindreedip: I didn't get the request18:17
*** salv-orl_ has joined #openstack-sdks18:17
reedipwhat made u consider that the devstack rebase could cause that error sindhu?18:17
*** salv-orlando has quit IRC18:20
dhellmannwklm : if you could put the entire output in a pastebin, that might help. formatting and some of the message (I think) was lost when you pasted it in channel18:20
dhellmannwklm : it would also help to know which version of pip and setuptools you have installed18:21
sindhureedip: coz I had the same error before and when I asked dean, he said that was the latest change which was merged and I should get those changes when rebaked18:26
reedipOh ok18:27
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize object_store docs  https://review.openstack.org/43909318:30
openstackgerritReedip proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC  https://review.openstack.org/38302518:31
reedipsindhu18:34
reedipupdated ^^18:34
sindhureedip: cool thanks 😊18:36
stevemarankur-gupta-f1: i was going to wait until the google doc was finalized18:43
*** salv-orl_ has quit IRC18:45
ankur-gupta-f1stevemar: nearly finalized. Just need to add the ones that are plugins from Neutronclient (bgp, tap). Lbaas commands wont be for awhile and the rest are in progress.18:45
ankur-gupta-f1Though I am not seeing the BGP stuff, just BGP VPN18:46
ankur-gupta-f1stevemar: it looks like someone deleted some items.18:50
thingeemordred: why are some clouds optional is specifying here? https://review.openstack.org/#/c/430967/18:57
openstackgerritBrian Curtin proposed openstack/python-openstacksdk master: Reorganize cluster docs  https://review.openstack.org/43911018:59
stevemarankur-gupta-f1: you can check the history19:04
ankur-gupta-f1stevemar: its okay. Ignorance is bliss, readding now19:04
stevemar:)19:04
reedipstevemar, ankur-gupta-f1 : the doc needs to be updated, aint it ? Seems like its missing some things maybe from network side19:05
reedipNote : I dont think we would be migrating LBaaS v1 to OSC19:06
reedipconfirming the same from lbaas team19:06
ankur-gupta-f1yea19:07
ankur-gupta-f1waiting for Lbaasv219:07
ankur-gupta-f1reedip: ^^19:07
reedipSo we can remove the LBaaS v1 from the sheet19:07
reedipas per johnsom: neutron-lbaas v1 API will not be supported by OSC, you will have to use the legacy neutron client ]19:08
ankur-gupta-f1thats what I was saying. It won't be done probably this cycle either19:08
johnsomYeah, no nlbaas v1 API support in OSC19:09
reedipso we can remove that from the sheet, to get a better report19:09
reedipI mean we do not need to track what we do not want to move , aint it ?19:09
ankur-gupta-f1agreed. Plus it takes up so much space haha19:10
reedipupdated the sheet , please check19:11
reedipI am not removing them though, changed their status for now : stevemar, please confirm  :)19:11
*** salv-orlando has joined #openstack-sdks19:12
ankur-gupta-f1reedip: also the 'lbaas-*' commands19:12
reedipankur-gupta-f1 : that we need to track19:13
reedipthat would be the basis of our movement from NC to OSC19:13
ankur-gupta-f1fine :|19:13
reedipwhat ?? dissapointed ?? :D19:14
ankur-gupta-f1never :P19:16
reedipUpdated the sheet, now we are 42% complete !19:17
mordredthingee: it's a new flag and I just didn't get through checking all of them - not having a setting should be safe, since that's the current "I dunno, you go figure it out" situation. adding positive attestations should allow us to optimize calling code to not have to figure out19:17
mordredthingee: I hope19:17
openstackgerritMonty Taylor proposed openstack/os-client-config master: Pass ironic microversion through from api_version  https://review.openstack.org/43911819:18
openstackgerritMonty Taylor proposed openstack/os-client-config master: Add support for bailing on invalid service versions  https://review.openstack.org/43911919:18
openstackgerritMonty Taylor proposed openstack/os-client-config master: Add helper factory functions for use in OpenStack services  https://review.openstack.org/43912019:18
*** rabel_b1 has joined #openstack-sdks19:21
rabel_b1hi there, is this the right place for questions regarding the development of python-openstackclient?19:21
ankur-gupta-f1rabel_b1: indeed. fire away19:22
reediprabel_b1 : fire19:22
reediphehehe19:22
rabel_b1I submitted a patch a few days ago and it got merged. https://review.openstack.org/#/c/437335/ Now I wanted to ask if I have to change something in the docs, too19:23
ankur-gupta-f1rabel_b1: no need. You just changed the logic of an existing command19:24
reedipNot for this19:24
reedipankur-gupta-f1 : you are beating me on the keyboard !19:24
rabel_b1:D19:24
*** chlong has joined #openstack-sdks19:25
rabel_b1what about doc/source/command-object/image.rst ?19:25
rabel_b1shouldn't it be adjusted to what openstack help image create gives?19:25
openstackgerritMonty Taylor proposed openstack/os-client-config master: Add helper factory functions for use in OpenStack services  https://review.openstack.org/43912019:26
jkilpatrhey I'm getting keystone errors when running some openstack sdk calls, but I'm authed as admin so I'm trying to figure out if it's a perms issue or if the api call (bare_metal.node_update(id, **kwargs)) is the culprit.19:27
jkilpatroh I guess I should say that a 400 is being returned by keystone, which is odd because I'm just using the oepnstack sdk to make the request and all other calls work19:28
jkilpatrcode here https://github.com/jkilpatr/ostag19:29
briancurtinthere is no node_update method in the bare_metal part of openstacksdk19:29
jkilpatrhttps://developer.openstack.org/sdks/python/openstacksdk/users/proxies/bare_metal.html19:29
jkilpatrsorry update_node19:29
briancurtini guess you’ll need some sort of logs or example code. i don’t know how/why a 400 would be returned by whatever it is that you’re doing19:30
rabel_b1reedip, ankur-gupta-f1: what about doc/source/command-object/image.rst ?19:30
rabel_b1shouldn't it be adjusted to what openstack help image create gives?19:31
*** prg3 has quit IRC19:31
briancurtinjkilpatr: enable the logs and then run what you’re doing: https://developer.openstack.org/sdks/python/openstacksdk/users/utils.html#openstack.utils.enable_logging19:31
reediprabel_b1 : Just  min19:31
jkilpatrbriancurtin, ok19:31
stevemarankur-gupta-f1: should i convert the spread sheet to a csv and upload it now?19:32
ankur-gupta-f1stevemar: yea and add me so i can double check. but it looks updated thus far19:32
reedipNo need to update the rst but a release note may be required to specify that now -file and --volume cannot be specified each other19:32
briancurtinjkilpatr: or does the exception message say what exactly about the request returning a 400 is bad? I’m guessing we’re probably sending something we shouldnt19:32
briancurtin(that might have to come out of the logs though)19:33
reedipis the gate OK ? Its taking longer than avg to process patches19:38
rabel_b1reedip : the behaviour actually did not change. it was not possible before my patch either. but now it is handled by the exclusive_group. the only real difference is, that now --file and --volume are shown as exclusive in the "openstack help image create" output. that's why I thought about changing the rst as well, so it fits again.19:39
reediprabel_b1 : https://github.com/openstack/python-openstackclient/blob/master/doc/source/command-objects/image.rst  , yes change it19:43
jkilpatrbriancurtin, https://paste.fedoraproject.org/paste/NYk1V7ShVeenT3qbEsl9oV5M1UNdIGYhyRLivL9gydE=19:44
jkilpatrthat's the error.19:44
rabel_b1reedip : thank you19:44
jkilpatrbriancurtin, it's caused by these lines19:44
jkilpatrhttps://paste.fedoraproject.org/paste/kzWamEQ4InhEP5MHqRa~gF5M1UNdIGYhyRLivL9gydE=19:45
reediprabel_b1 : glad to help19:46
briancurtinjkilpatr: something about your capabilities string makes it not a valid list. i don’t work on ironic and the documentation isn’t very helpful on that (“capabilities” doesnt even appear in the REST API docs). id maybe check with that team to figure out what kind of request should actually be sent19:51
dhellmanndtroyer, stevemar : I just added you to this review to install OSC under python3 by default in python3 jobs: https://review.openstack.org/#/c/439112/19:52
jkilpatrbriancurtin, happens with the same error if I try to lets say modify the node name, https://paste.fedoraproject.org/paste/mihOWmmHMQzcWfSr47zOaF5M1UNdIGYhyRLivL9gydE=19:55
jkilpatrso that's just bare_metal.node_update(uuid, name="test")19:55
jkilpatrnothing fancy, no list shenenegans simpliest possible call19:56
rabel_b1reedip : is there a way to automatically generate those files? because it looks like the file (image.rst) does not distinguish between v1 v2 for "image set" and "image create" while they actually do differ.19:56
reedipNope, manual is the way to go :P19:56
briancurtinjkilpatr: i guess submit a bug to https://bugs.launchpad.net/python-openstacksdk and maybe someone will know what any of that means19:57
dtroyerrabel_b1: v1 and v2 should be as identical as possible, with the differences noted in the doc19:57
dtroyerdhellmann: cool, trying it now19:58
rabel_b1reedip, dtroyer : wouldn't it be a good idea to write a little script that parses output of "openstack help ..." to generate those files? in the long term it's less duplicate work and less error-prone.20:00
reediprabel_b1 : I dont know if such a script exists , but if it doesnt, please be our guest . That would be greatly appreciated :)20:01
dtroyerrabel_b1: be my guest… but inlcude all of the text that explains the options (we really should have a LOT more of that) too20:01
rabel_b1ls20:01
rabel_b1sry, wrong window20:01
dtroyerFWIW, there are also syntax things that can not be expressed in apgparse that is in the docs...20:02
reedipdtroyer ; agreed20:02
reediprabel_b1 : if there is a lot of difference between v1 and v2 of image, please log a bug for that for verification20:03
rabel_b1reedip : there are already TODOs in v2/image.py . maybe there is already a bug open for this?20:04
rabel_b1reedip, dtroyer : i would like to write such a script or at least help writing it.20:05
reediprabel_b1 : you can definetly start working on this, if you have bandwidth20:06
reediprabel_b1 : the todo in image.py may not correspond to the text mismatch in image,rst20:07
dtroyerrabel_b1: that is a pretty low priority for us overall, and will have a fair number of exceptions20:07
openstackgerritReedip proposed openstack/python-openstackclient master: Introduce quota unset command  https://review.openstack.org/37631120:12
reedipankur-gupta-f1 : done ^^^20:12
reedipstevemar : is this https://review.openstack.org/#/c/367673/9 going to move forward?20:16
rabel_b1reedip, dtroyer : well, i probably shouldn't start working on such a script right now. but i will think about it. for now i will just adjust image.rst . thank you two20:18
rabel_b1one last question: how to indicate a difference between v2 and v1 in image.rst?20:19
dtroyerthere are examp[les in nearly every non-network resource file… similar to: **XXX API v1 only** notes20:20
rabel_b1ah, thanks20:22
stevemarreedip: i have no idea :)20:29
stevemarreedip: i think dtroyer wants https://review.openstack.org/#/c/367673/ but he hasn't reviewed it at all :P20:30
briancurtinstevemar: can i release a new SDK version?20:30
* dtroyer shoos stevemar back across the hall to the TC meeting20:31
*** salv-orlando has quit IRC20:32
reedipstevemar ( come back ) , ankur-gupta-f1, sindhu : review requested in https://review.openstack.org/38302520:32
reedipoh, TC meeting, stevemar, nevermind !20:33
reedip:)20:33
ankur-gupta-f1reedip: the only thing holding that patch back is the gate. Its has looked good for awhile. just a matter of getting functional passing20:33
reedippassed !20:33
reedipThat was what I was checking :D20:34
reediphttp://logs.openstack.org/25/383025/52/check/gate-osc-dsvm-functional-ubuntu-xenial/9cf94b6/console.html20:34
dtroyerbriancurtin: looks like the master OSC + master SDK job is green…20:35
openstackgerritDavid Rabel proposed openstack/python-openstackclient master: Update doc/source/command-objects/image.rst  https://review.openstack.org/43914220:36
stevemarbriancurtin: i think you're OK to release a new version20:37
sindhureedip: yay! finally20:46
reediphehehe :)20:46
reedipYeah ! its ALIVE !20:46
*** john-davidge has quit IRC20:52
openstackgerritSteve Martinelli proposed openstack/python-openstackclient master: add neutron CLI to decoder  https://review.openstack.org/43914820:52
*** e0ne has joined #openstack-sdks20:52
stevemarreedip: ^20:53
stevemarankur-gupta-f1: ^20:53
ankur-gupta-f1stevemar: yup looking over now20:53
reedipstevemar : Line#231, and232, we do not need the --tag option in the second column, do we?20:56
stevemarreedip: i thought we did?20:57
reedipthe second column is the OSC equivalent20:57
ankur-gupta-f1it should be there20:58
reedipok goit it20:59
ankur-gupta-f1reedip: note glance CLI for image-tag-delete20:59
ankur-gupta-f1going to implemented similarly. once i figure out the best way to do it :)20:59
reediplol20:59
reedipU will sooner !20:59
*** sdague has quit IRC21:03
openstackgerritAnkur proposed openstack/python-openstackclient master: add neutron CLI to decoder  https://review.openstack.org/43914821:04
ankur-gupta-f1stevemar: looks good just added reedips tapflow commands21:04
briancurtinQiming: fyi i just released https://pypi.python.org/pypi/openstacksdk/0.9.1421:20
*** dfflanders has joined #openstack-sdks21:24
*** chlong has quit IRC21:27
*** chlong has joined #openstack-sdks21:39
*** salv-orlando has joined #openstack-sdks21:39
*** e0ne has quit IRC21:41
openstackgerritJustin A Wilson proposed openstack/python-openstackclient master: Add support for Cinder API 3.3/3.5 into OSC  https://review.openstack.org/42158521:42
*** gouthamr has quit IRC21:44
reedipstevemar  : any suggestions on https://review.openstack.org/383025 if u r not busy ?21:45
openstackgerritJustin A Wilson proposed openstack/python-openstackclient master: Add support for Cinder API 3.3/3.5 into OSC  https://review.openstack.org/42158521:47
*** jkilpatr has quit IRC21:52
*** annegentle has quit IRC21:54
*** chlong has quit IRC21:58
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Simplify logic around option lists in port set  https://review.openstack.org/43904822:14
*** adriant has joined #openstack-sdks22:21
dtroyerthingee: FWIW huanxuan and I both left responses to your comments in https://review.openstack.org/#/c/434094/ about OSC plurals and the —no-XXXX options, in case the history is useful.22:25
*** gouthamr has joined #openstack-sdks22:30
*** jkilpatr has joined #openstack-sdks22:33
*** annegentle has joined #openstack-sdks22:34
*** amotoki has quit IRC22:37
*** Kuwagata has quit IRC22:39
*** amotoki has joined #openstack-sdks22:42
*** amotoki has quit IRC22:46
*** gildub has joined #openstack-sdks22:48
*** salv-orlando has quit IRC22:50
*** salv-orlando has joined #openstack-sdks22:50
thingeemordred: can you update https://review.openstack.org/#/c/434372/ before a dependency merges?23:03
*** john-davidge has joined #openstack-sdks23:04
thingeedtroyer: ack I'll remember this in the future23:04
ankur-gupta-f4+123:04
thingeedtroyer: still don't agree with it, but I'll let it go.23:05
mordredthingee: the file that you reference is actually in a different repo23:05
thingeemordred: doh23:06
thingeemordred: sorry23:06
thingeemordred: +123:06
*** john-davidge has quit IRC23:08
*** reedip has quit IRC23:14
*** Kuwagata has joined #openstack-sdks23:38
jamielennoxdtroyer: quick request, would like to be able to do openstack server delete my-prefix-*23:41
*** amotoki has joined #openstack-sdks23:53
*** annegentle has quit IRC23:55

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