*** meteorfox has quit IRC | 00:00 | |
*** dasanind has quit IRC | 00:00 | |
*** scottda has quit IRC | 00:00 | |
*** sindhu has quit IRC | 00:00 | |
*** meteorfox has joined #openstack-sdks | 00:00 | |
*** waj334 has quit IRC | 00:01 | |
*** dstanek has quit IRC | 00:01 | |
*** amit213 has quit IRC | 00:01 | |
*** fnordahl has quit IRC | 00:02 | |
*** zacksh has quit IRC | 00:02 | |
*** mhayden has quit IRC | 00:02 | |
*** Hazelesque has quit IRC | 00:02 | |
*** sindhu has joined #openstack-sdks | 00:04 | |
*** Hazelesque has joined #openstack-sdks | 00:04 | |
*** waj334 has joined #openstack-sdks | 00:05 | |
*** scottda has joined #openstack-sdks | 00:05 | |
*** hongbin has quit IRC | 00:05 | |
*** amit213 has joined #openstack-sdks | 00:06 | |
*** RuiChen has quit IRC | 00:07 | |
*** RuiChen has joined #openstack-sdks | 00:08 | |
*** zacksh has joined #openstack-sdks | 00:09 | |
*** dstanek has joined #openstack-sdks | 00:09 | |
*** fnordahl has joined #openstack-sdks | 00:11 | |
*** mhayden has joined #openstack-sdks | 00:11 | |
*** dasanind has joined #openstack-sdks | 00:11 | |
*** RuiChen has quit IRC | 00:15 | |
*** jamielennox|away is now known as jamielennox | 00:16 | |
*** RuiChen has joined #openstack-sdks | 00:17 | |
*** sdague has quit IRC | 00:20 | |
*** gildub has joined #openstack-sdks | 00:27 | |
*** yuanying has quit IRC | 00:28 | |
*** dstanek has quit IRC | 00:34 | |
*** dstanek has joined #openstack-sdks | 00:34 | |
*** hoangcx has joined #openstack-sdks | 00:36 | |
*** annp has joined #openstack-sdks | 00:59 | |
*** yuanying has joined #openstack-sdks | 01:24 | |
*** namnh has joined #openstack-sdks | 01:39 | |
*** huanxuan has joined #openstack-sdks | 01:39 | |
openstackgerrit | Merged openstack/python-openstacksdk master: Add missing attribute to Subnet resource https://review.openstack.org/438441 | 01:48 |
---|---|---|
*** eliqiao has quit IRC | 02:07 | |
*** eliqiao has joined #openstack-sdks | 02:19 | |
*** gildub_ has joined #openstack-sdks | 02:20 | |
*** gildub has quit IRC | 02:22 | |
*** fzdarsky_ has joined #openstack-sdks | 02:33 | |
*** fzdarsky|afk has quit IRC | 02:34 | |
*** yanyanhu has joined #openstack-sdks | 02:46 | |
*** reedip_1 has joined #openstack-sdks | 02:52 | |
*** reedip_1 has quit IRC | 02:57 | |
*** gildub_ has quit IRC | 03:02 | |
*** gildub has joined #openstack-sdks | 03:30 | |
openstackgerrit | Jamie Lennox proposed openstack/keystoneauth master: Add an allow_version_hack flag to session and identity plugins. https://review.openstack.org/438788 | 03:47 |
*** gouthamr has quit IRC | 03:54 | |
*** Dinesh_Bhor has joined #openstack-sdks | 03:59 | |
openstackgerrit | jiahui.qiang proposed openstack/python-openstackclient master: Functional test for subnet https://review.openstack.org/435914 | 04:07 |
*** shu-mutou-AWAY is now known as shu-mutou | 04:29 | |
*** adriant has quit IRC | 05:30 | |
*** john-davidge has joined #openstack-sdks | 05:38 | |
*** john-davidge has quit IRC | 05:43 | |
*** shu-mutou has quit IRC | 05:48 | |
*** salv-orlando has joined #openstack-sdks | 06:03 | |
*** salv-orl_ has joined #openstack-sdks | 06:18 | |
*** salv-orl_ has quit IRC | 06:20 | |
*** salv-orl_ has joined #openstack-sdks | 06:20 | |
*** salv-orlando has quit IRC | 06:21 | |
openstackgerrit | Rui Chen proposed openstack/python-openstackclient master: Add "--private-key" option for "keypair create" https://review.openstack.org/438352 | 06:32 |
*** fzdarsky_ is now known as fzdarsky | 06:35 | |
*** e0ne has joined #openstack-sdks | 07:12 | |
*** Kevin_Zheng_ has joined #openstack-sdks | 07:14 | |
openstackgerrit | Takashi NATSUME proposed openstack/python-openstackclient master: Add 'host' and 'force' parameter in cold migration https://review.openstack.org/427565 | 07:15 |
openstackgerrit | Takashi NATSUME proposed openstack/python-openstackclient master: Add 'host' and 'force' parameter in cold migration https://review.openstack.org/427565 | 07:15 |
*** Kevin_Zheng_ is now known as Kevin_Zheng | 07:17 | |
*** yuanying_ has joined #openstack-sdks | 07:25 | |
*** yuanying has quit IRC | 07:27 | |
*** e0ne has quit IRC | 07:34 | |
*** gmann has quit IRC | 07:35 | |
*** gmann has joined #openstack-sdks | 07:37 | |
*** dtroyer has quit IRC | 07:40 | |
*** dtroyer has joined #openstack-sdks | 07:40 | |
*** fzdarsky has quit IRC | 07:43 | |
*** fzdarsky has joined #openstack-sdks | 07:44 | |
*** shu-mutou has joined #openstack-sdks | 07:56 | |
*** yanyanhu has quit IRC | 08:00 | |
openstackgerrit | Jamie Lennox proposed openstack/keystoneauth master: Add an allow_version_hack flag to session and identity plugins. https://review.openstack.org/438788 | 08:22 |
*** swatson_ has quit IRC | 08:23 | |
*** yuanying_ has quit IRC | 08:53 | |
*** jpich has joined #openstack-sdks | 08:58 | |
*** aarefiev_afk is now known as aarefiev | 09:02 | |
*** gildub has quit IRC | 09:10 | |
*** Serlex has joined #openstack-sdks | 09:28 | |
*** e0ne has joined #openstack-sdks | 09:35 | |
*** lucas-afk is now known as lucasagomes | 09:50 | |
*** e0ne has quit IRC | 09:53 | |
*** e0ne has joined #openstack-sdks | 09:54 | |
*** hoangcx has quit IRC | 10:10 | |
*** shu-mutou is now known as shu-mutou-AWAY | 10:12 | |
*** Serlex has quit IRC | 10:35 | |
*** dfflanders has quit IRC | 10:37 | |
*** yuanying has joined #openstack-sdks | 10:40 | |
*** namnh has quit IRC | 10:43 | |
*** Serlex has joined #openstack-sdks | 10:45 | |
*** salv-orl_ has quit IRC | 10:57 | |
*** salv-orlando has joined #openstack-sdks | 11:05 | |
*** sdague has joined #openstack-sdks | 11:06 | |
*** john-davidge has joined #openstack-sdks | 11:31 | |
*** jkilpatr has quit IRC | 11:41 | |
*** salv-orlando has quit IRC | 12:01 | |
*** annp has quit IRC | 12:02 | |
*** johnthetubaguy has quit IRC | 12:04 | |
*** jkilpatr has joined #openstack-sdks | 12:13 | |
*** johnthetubaguy has joined #openstack-sdks | 12:14 | |
*** amotoki has joined #openstack-sdks | 12:35 | |
*** Dinesh_Bhor has quit IRC | 12:39 | |
*** salv-orlando has joined #openstack-sdks | 12:42 | |
*** thingee has quit IRC | 12:54 | |
*** thingee has joined #openstack-sdks | 13:01 | |
-openstackstatus- NOTICE: restarting gerrit to address performance problems | 13:08 | |
*** ChanServ changes topic to "restarting gerrit to address performance problems" | 13:08 | |
*** lucasagomes is now known as lucas-hungry | 13:21 | |
*** huanxuan has quit IRC | 13:24 | |
-openstackstatus- NOTICE: ok gerrit is back to normal | 13:37 | |
*** ChanServ changes topic to "ok gerrit is back to normal" | 13:37 | |
*** salv-orlando has quit IRC | 13: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 bot | 13:44 | |
*** hoangcx has joined #openstack-sdks | 13:46 | |
*** gouthamr has joined #openstack-sdks | 13:50 | |
*** openstackgerrit has quit IRC | 14:03 | |
*** reedip has joined #openstack-sdks | 14:14 | |
*** lucas-hungry is now known as lucasagomes | 14:15 | |
*** openstackgerrit has joined #openstack-sdks | 14:28 | |
openstackgerrit | Merged openstack/python-openstacksdk master: Deprecate "wait_for" methods on ProxyBase https://review.openstack.org/434381 | 14:28 |
openstackgerrit | Merged openstack/python-openstacksdk master: Implement metric docs https://review.openstack.org/435110 | 14:28 |
*** chlong has joined #openstack-sdks | 14:30 | |
openstackgerrit | Jens Rosenboom proposed openstack/python-openstackclient master: Fix handling the use_default_subnet_pool attribute https://review.openstack.org/438514 | 14:31 |
briancurtin | stevemar: 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 IRC | 14:42 | |
*** annegentle has joined #openstack-sdks | 14:43 | |
*** Matias has joined #openstack-sdks | 14:44 | |
*** annegentle has quit IRC | 14:47 | |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize block store docs https://review.openstack.org/438993 | 14:59 |
*** hongbin has joined #openstack-sdks | 15:02 | |
*** chlong has quit IRC | 15:11 | |
*** hoangcx has quit IRC | 15:13 | |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize telemetry docs https://review.openstack.org/439020 | 15:32 |
reedip | sindhu : hey | 15:36 |
sindhu | reedip: hey | 15:36 |
reedip | sindhu : any clue what is happening with the floating ip set CLI ? | 15:36 |
reedip | sindhu : I think we are stuck somewhere, isnt it? | 15:36 |
sindhu | reedip: working on it now | 15:36 |
sindhu | reedip: will upload a patch soon | 15:37 |
reedip | sindhu : one question . Do we need the sdk_session in Line 579 of openstack/network/v2/floating_ip.py ? | 15:37 |
sindhu | reedip: yes | 15:38 |
reedip | sindhu : y? | 15:38 |
*** jgriffith has quit IRC | 15:39 | |
*** jgriffith has joined #openstack-sdks | 15:39 | |
sindhu | reedip: coz, find_floating_ip function needs session to be passed | 15:39 |
reedip | sindhu : 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 network | 15:39 |
reedip | sindhu : is there something different implemented on the SDK for this ? | 15:40 |
reedip | I searched the whole OSC but couldnt find the sdk_session anywhere else except the patch in progress ( please correct me if I am wrong ) sindhu | 15:40 |
sindhu | reedip: find_floating_ip function is not defined in sdk, it's a local function in the file, at L85 | 15:41 |
reedip | sindhu : sorry , the jet lag and other stuff are messing up my brain :P | 15:43 |
*** chlong has joined #openstack-sdks | 15:43 | |
reedip | sindhu : lemme check it again, because I dont think we need to use the sdk_Session per se ... | 15:43 |
*** ediardo has quit IRC | 15:44 | |
sindhu | reedip: haha, no problem :) sure, the find_ip defined in the sdk does the search based on only name or id of floating_ip | 15:44 |
reedip | sindhu : ok ... | 15:45 |
reedip | floatin_ip doesnt have a name , so I guess we are searching based on IP or ID | 15:45 |
*** ediardo has joined #openstack-sdks | 15:46 | |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize workflow docs https://review.openstack.org/439028 | 15:46 |
sindhu | reedip: 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 correctly | 15:46 |
reedip | sindhu : the _proxy file does the job smoothly on the SDK side | 15:47 |
sindhu | reedip: let me know if u think there is something wrong | 15:54 |
reedip | sindhu : I will, in some time though | 15:54 |
sindhu | reedip: sure | 15:54 |
reedip | if there is something wrong . but I doubt there is something | 15:55 |
*** salv-orlando has joined #openstack-sdks | 16:01 | |
*** Kuwagata has joined #openstack-sdks | 16:04 | |
openstackgerrit | Sindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC https://review.openstack.org/383025 | 16:15 |
dtroyer | briancurtin: 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 |
dtroyer | I've started looking for where this update detection happens in SDK and have not traced it down yet... | 16:22 |
reedip | dtroyer : really ???? | 16:23 |
reedip | dtroyer : so you are appending the data ? | 16:23 |
dtroyer | yes, appending new ID to the list fo exsting IDs | 16:23 |
reedip | dtroyer : ohk, lemme try the same ... | 16:25 |
*** Matias has quit IRC | 16:25 | |
*** Matias has joined #openstack-sdks | 16:27 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient master: Simplify logic around option lists in port set https://review.openstack.org/439048 | 16:28 |
dtroyer | reedip: ^^^^ is what I am doing. | 16:28 |
briancurtin | dtroyer: looking | 16:28 |
reedip | dtroyer: yeah saw that and reviewing the same | 16:29 |
dtroyer | we've gotten a bit complicated in option handling and its hard to follow | 16:29 |
briancurtin | dtroyer: 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 |
dtroyer | ah, ok. .append() then maybe? | 16:30 |
*** salv-orlando has quit IRC | 16:32 | |
briancurtin | what 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-place | 16:32 |
reedip | dtroyer : Line #740 in https://review.openstack.org/#/c/439048/1/openstackclient/network/v2/port.py | 16:33 |
dtroyer | ok, 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 |
briancurtin | i 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 |
dtroyer | I think that is what I see too briancurtin, I finally found _ComponentManager :) | 16:34 |
*** e0ne has quit IRC | 16:36 | |
reedip | dtroyer : One thing I cannot understand is why the attrs object is not able to update the info on the neutron server side | 16:39 |
dtroyer | reedip: 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 cases | 16:40 |
reedip | dtroyer : I remember having this discussion with stevemar , I guess | 16:42 |
reedip | but 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-sdks | 16:44 | |
dtroyer | reedip: 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 |
dtroyer | Without tracing it I think I agree | 16:46 |
reedip | dtroyer : so , we shouldnt use += in Set attributes ( sounds like a doc update :P ) | 16:47 |
dtroyer | I'm trying to make the handling of these arguments clearer, it took me a while to understand what was happening before | 16:47 |
reedip | ?? | 16:47 |
dtroyer | maybe not in this case, no | 16:47 |
reedip | dtroyer : so this is a case by case basis ? | 16:47 |
dtroyer | at least when operating on an attribute obtained from an SDK object | 16:47 |
dtroyer | I think that is the distinction; if we used a copy of an object attribute it might have worked | 16:48 |
reedip | dtroyer : ok ... | 16:53 |
dtroyer | hmmmm, of the 3 options pairs I am looking at, security groups was the only one to not iterate over the existing list | 16:54 |
reedip | the only difference which I found was that we are using the client.find_xxx function for SG | 16:57 |
reedip | dtroyer: for fixed-ip and allowed-address-pair , we didnt execute the find function | 16:57 |
reedip | can that be of some impact , dtroyer ? | 16:58 |
dtroyer | I don' tthink that is involved, that is looping over the 'new' values | 16:58 |
dtroyer | actually, I think using [].extend() rather than += will be enough of a change | 16:59 |
reedip | dtroyer : ok, because += was used with fixed-ips as well, and if it was updated successfully, then maybe something else is wrong | 16:59 |
dtroyer | fixed_ips never directly re-used the list from the resource object, it iterated over it | 17:00 |
reedip | dtroyer : ok | 17:00 |
dtroyer | that forced __setitem__() to be called | 17:00 |
reedip | yeah , makes sense | 17:00 |
dtroyer | so I think we'll do both, it seems clearer to me | 17:01 |
reedip | dtroyer : ok :) | 17:03 |
reedip | sindhu :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_port | 17:03 |
reedip | sindhu : can you tell me the output of ^^ ? | 17:04 |
sindhu | reedip: y, what's wrong? | 17:17 |
reedip | sindhu : I am still getting a failure, thats why asking you if it is passing in your system | 17:18 |
reedip | sindhu : can u just run and check if it giving a positive result in your setup ? | 17:19 |
sindhu | reedip: 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 |
sindhu | reedip: what error are u getting? | 17:22 |
reedip | sindhu : NP , I am just trying to close the NeutronClient CLI migration for now :) | 17:22 |
sindhu | reedip: I m not sure if cleanup is working the way it should | 17:22 |
reedip | sindhu : It isnt , I brought the router delete line to Line #234 | 17:23 |
*** Serlex has quit IRC | 17:26 | |
*** wklm_ has joined #openstack-sdks | 17:27 | |
*** wklm_ has quit IRC | 17:27 | |
*** wklm_ has joined #openstack-sdks | 17:27 | |
*** wklm_ has quit IRC | 17:27 | |
*** wklm_ has joined #openstack-sdks | 17:28 | |
*** wklm_ has quit IRC | 17:28 | |
sindhu | reedip: and it is working now? | 17:28 |
reedip | No, a different error is occurring, thats what I a trying to resolve | 17:29 |
*** wklm has joined #openstack-sdks | 17:29 | |
sindhu | reedip: what's that ? | 17:29 |
reedip | unicode is not callable, str is not callable :) | 17:29 |
reedip | I have been trying to fix this since this evening :) | 17:30 |
reedip | my brain is not working with me ! | 17:30 |
sindhu | yup, that's the same failure even in gate | 17:30 |
wklm | hey 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 |
sindhu | reedip: Ohhhh I think I got it !!!!! | 17:31 |
briancurtin | wklm: how are you installing it? | 17:31 |
reedip | sindhu : whats that ? | 17:31 |
sindhu | reedip: so in all the cleanup, I have missed self.openstack | 17:32 |
sindhu | reedip: will fix it now | 17:32 |
reedip | sindhu : thats not necessary , is it? | 17:32 |
wklm | briancurtin: simply: pip install python-openstackclient | 17:32 |
wklm | being root | 17:32 |
openstackgerrit | Sindhu Devale proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC https://review.openstack.org/383025 | 17:33 |
sindhu | reedip: it is, I have updated | 17:33 |
reedip | sindhu : testing the same | 17:33 |
reedip | I have made some other changes as well | 17:34 |
sindhu | reedip: can u check now with the latest patch | 17:34 |
reedip | sindhu : sure, gimme a minute. My changes are just running right now | 17:34 |
sindhu | reedip: sure | 17:34 |
briancurtin | wklm: someone else will have to take a look, i thought you were installing the sdk | 17:34 |
wklm | briancurtin: is there a more proper channel for it, or am i right here? :) | 17:35 |
briancurtin | fine here | 17:35 |
briancurtin | i just don’t know about that | 17:35 |
reedip | sindhu : my patch failed :P Now trying yours | 17:39 |
wklm | here 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 |
sindhu | reedip: ok, thanks :) | 17:39 |
reedip | sindhu : okay , your patch also didnt work on my system | 17:45 |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize network docs https://review.openstack.org/439074 | 17:45 |
sindhu | reedip: Ah really?? what does it say now? | 17:45 |
reedip | Just a min | 17:46 |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize workflow docs https://review.openstack.org/439028 | 17:46 |
reedip | http://paste.openstack.org/show/600823/ | 17:46 |
reedip | sindhu : ^^ | 17:46 |
reedip | I fixed that in my patch but failed somewhere else | 17:46 |
*** annegentle has joined #openstack-sdks | 17:48 | |
reedip | sindhu : this one is really tricky patch for a long time :) | 17:49 |
sindhu | reedip: lol, yeah !! | 17:49 |
ankur-gupta-f4 | Yea what is going on haha | 17:49 |
reedip | ankur-gupta-f4 : a patch !!!! | 17:50 |
sindhu | reedip: I am going to wait to see what jenkins says | 17:50 |
reedip | sindhu : sure :) | 17:51 |
reedip | till then I will make my patch :D | 17:51 |
sindhu | ankur-gupta-f4: I had missed a parameter in cleanup | 17:54 |
ankur-gupta-f1 | stevemar: are you going to do the network osc mapping? else I can | 18:00 |
dasanind | ankur-gupta-f1: I started the network osc mapping here https://docs.google.com/spreadsheets/d/18ZtWC75BNCwFqLfFpCGGJ9uPVBvUXX0xuXP1yYG0NDA/edit?ts=58ab0c43#gid=527671830 | 18:02 |
reedip | hey dasanind :) | 18:02 |
reedip | BTW u missed tap-as-a-service CLIs in this :) | 18:03 |
dasanind | hi reedip : | 18:03 |
dasanind | reedip: oops | 18:03 |
reedip | no issues :) | 18:03 |
dasanind | reedip: can you nplease add it | 18:03 |
reedip | I cannot until I have write access :P :D | 18:04 |
reedip | sindhu : My patch succeeded :D | 18:04 |
dasanind | reedip: I can add you what is your email id? | 18:04 |
reedip | I requested for the update | 18:05 |
*** lucasagomes is now known as lucas-afk | 18:05 | |
reedip | didnt u get the request ? | 18:05 |
*** jpich has quit IRC | 18:06 | |
*** chlong has quit IRC | 18:06 | |
ankur-gupta-f4 | Yea i filled it | 18:07 |
ankur-gupta-f4 | No tap tho | 18:07 |
sindhu | reedip: what did I miss | 18:09 |
reedip | reordering the CLIs | 18:10 |
reedip | but also the sdk_session issue which I was talking about earlier | 18:10 |
reedip | the Funtional test fails because you are unsetting FLoating IP after Router's interface removal | 18:10 |
reedip | but they fail even before that , because there is no sdk_session in ClientManager | 18:11 |
*** fzdarsky is now known as fzdarsky|afk | 18:13 | |
reedip | sindhu: you can check the issue by running the tox command I pasted earlier | 18:14 |
sindhu | reedip: but I thought sdk_connection error was coz my devstack was not re based | 18:17 |
reedip | i dont think so ... | 18:17 |
dasanind | reedip: I didn't get the request | 18:17 |
*** salv-orl_ has joined #openstack-sdks | 18:17 | |
reedip | what made u consider that the devstack rebase could cause that error sindhu? | 18:17 |
*** salv-orlando has quit IRC | 18:20 | |
dhellmann | wklm : 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 channel | 18:20 |
dhellmann | wklm : it would also help to know which version of pip and setuptools you have installed | 18:21 |
sindhu | reedip: 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 rebaked | 18:26 |
reedip | Oh ok | 18:27 |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize object_store docs https://review.openstack.org/439093 | 18:30 |
openstackgerrit | Reedip proposed openstack/python-openstackclient master: "floating ip set/unset port" for OSC https://review.openstack.org/383025 | 18:31 |
reedip | sindhu | 18:34 |
reedip | updated ^^ | 18:34 |
sindhu | reedip: cool thanks 😊 | 18:36 |
stevemar | ankur-gupta-f1: i was going to wait until the google doc was finalized | 18:43 |
*** salv-orl_ has quit IRC | 18:45 | |
ankur-gupta-f1 | stevemar: 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-f1 | Though I am not seeing the BGP stuff, just BGP VPN | 18:46 |
ankur-gupta-f1 | stevemar: it looks like someone deleted some items. | 18:50 |
thingee | mordred: why are some clouds optional is specifying here? https://review.openstack.org/#/c/430967/ | 18:57 |
openstackgerrit | Brian Curtin proposed openstack/python-openstacksdk master: Reorganize cluster docs https://review.openstack.org/439110 | 18:59 |
stevemar | ankur-gupta-f1: you can check the history | 19:04 |
ankur-gupta-f1 | stevemar: its okay. Ignorance is bliss, readding now | 19:04 |
stevemar | :) | 19:04 |
reedip | stevemar, ankur-gupta-f1 : the doc needs to be updated, aint it ? Seems like its missing some things maybe from network side | 19:05 |
reedip | Note : I dont think we would be migrating LBaaS v1 to OSC | 19:06 |
reedip | confirming the same from lbaas team | 19:06 |
ankur-gupta-f1 | yea | 19:07 |
ankur-gupta-f1 | waiting for Lbaasv2 | 19:07 |
ankur-gupta-f1 | reedip: ^^ | 19:07 |
reedip | So we can remove the LBaaS v1 from the sheet | 19:07 |
reedip | as 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-f1 | thats what I was saying. It won't be done probably this cycle either | 19:08 |
johnsom | Yeah, no nlbaas v1 API support in OSC | 19:09 |
reedip | so we can remove that from the sheet, to get a better report | 19:09 |
reedip | I mean we do not need to track what we do not want to move , aint it ? | 19:09 |
ankur-gupta-f1 | agreed. Plus it takes up so much space haha | 19:10 |
reedip | updated the sheet , please check | 19:11 |
reedip | I am not removing them though, changed their status for now : stevemar, please confirm :) | 19:11 |
*** salv-orlando has joined #openstack-sdks | 19:12 | |
ankur-gupta-f1 | reedip: also the 'lbaas-*' commands | 19:12 |
reedip | ankur-gupta-f1 : that we need to track | 19:13 |
reedip | that would be the basis of our movement from NC to OSC | 19:13 |
ankur-gupta-f1 | fine :| | 19:13 |
reedip | what ?? dissapointed ?? :D | 19:14 |
ankur-gupta-f1 | never :P | 19:16 |
reedip | Updated the sheet, now we are 42% complete ! | 19:17 |
mordred | thingee: 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 out | 19:17 |
mordred | thingee: I hope | 19:17 |
openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Pass ironic microversion through from api_version https://review.openstack.org/439118 | 19:18 |
openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Add support for bailing on invalid service versions https://review.openstack.org/439119 | 19:18 |
openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Add helper factory functions for use in OpenStack services https://review.openstack.org/439120 | 19:18 |
*** rabel_b1 has joined #openstack-sdks | 19:21 | |
rabel_b1 | hi there, is this the right place for questions regarding the development of python-openstackclient? | 19:21 |
ankur-gupta-f1 | rabel_b1: indeed. fire away | 19:22 |
reedip | rabel_b1 : fire | 19:22 |
reedip | hehehe | 19:22 |
rabel_b1 | I 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, too | 19:23 |
ankur-gupta-f1 | rabel_b1: no need. You just changed the logic of an existing command | 19:24 |
reedip | Not for this | 19:24 |
reedip | ankur-gupta-f1 : you are beating me on the keyboard ! | 19:24 |
rabel_b1 | :D | 19:24 |
*** chlong has joined #openstack-sdks | 19:25 | |
rabel_b1 | what about doc/source/command-object/image.rst ? | 19:25 |
rabel_b1 | shouldn't it be adjusted to what openstack help image create gives? | 19:25 |
openstackgerrit | Monty Taylor proposed openstack/os-client-config master: Add helper factory functions for use in OpenStack services https://review.openstack.org/439120 | 19:26 |
jkilpatr | hey 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 |
jkilpatr | oh 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 work | 19:28 |
jkilpatr | code here https://github.com/jkilpatr/ostag | 19:29 |
briancurtin | there is no node_update method in the bare_metal part of openstacksdk | 19:29 |
jkilpatr | https://developer.openstack.org/sdks/python/openstacksdk/users/proxies/bare_metal.html | 19:29 |
jkilpatr | sorry update_node | 19:29 |
briancurtin | i 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 doing | 19:30 |
rabel_b1 | reedip, ankur-gupta-f1: what about doc/source/command-object/image.rst ? | 19:30 |
rabel_b1 | shouldn't it be adjusted to what openstack help image create gives? | 19:31 |
*** prg3 has quit IRC | 19:31 | |
briancurtin | jkilpatr: enable the logs and then run what you’re doing: https://developer.openstack.org/sdks/python/openstacksdk/users/utils.html#openstack.utils.enable_logging | 19:31 |
reedip | rabel_b1 : Just min | 19:31 |
jkilpatr | briancurtin, ok | 19:31 |
stevemar | ankur-gupta-f1: should i convert the spread sheet to a csv and upload it now? | 19:32 |
ankur-gupta-f1 | stevemar: yea and add me so i can double check. but it looks updated thus far | 19:32 |
reedip | No need to update the rst but a release note may be required to specify that now -file and --volume cannot be specified each other | 19:32 |
briancurtin | jkilpatr: 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 shouldnt | 19:32 |
briancurtin | (that might have to come out of the logs though) | 19:33 |
reedip | is the gate OK ? Its taking longer than avg to process patches | 19:38 |
rabel_b1 | reedip : 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 |
reedip | rabel_b1 : https://github.com/openstack/python-openstackclient/blob/master/doc/source/command-objects/image.rst , yes change it | 19:43 |
jkilpatr | briancurtin, https://paste.fedoraproject.org/paste/NYk1V7ShVeenT3qbEsl9oV5M1UNdIGYhyRLivL9gydE= | 19:44 |
jkilpatr | that's the error. | 19:44 |
rabel_b1 | reedip : thank you | 19:44 |
jkilpatr | briancurtin, it's caused by these lines | 19:44 |
jkilpatr | https://paste.fedoraproject.org/paste/kzWamEQ4InhEP5MHqRa~gF5M1UNdIGYhyRLivL9gydE= | 19:45 |
reedip | rabel_b1 : glad to help | 19:46 |
briancurtin | jkilpatr: 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 sent | 19:51 |
dhellmann | dtroyer, 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 |
jkilpatr | briancurtin, happens with the same error if I try to lets say modify the node name, https://paste.fedoraproject.org/paste/mihOWmmHMQzcWfSr47zOaF5M1UNdIGYhyRLivL9gydE= | 19:55 |
jkilpatr | so that's just bare_metal.node_update(uuid, name="test") | 19:55 |
jkilpatr | nothing fancy, no list shenenegans simpliest possible call | 19:56 |
rabel_b1 | reedip : 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 |
reedip | Nope, manual is the way to go :P | 19:56 |
briancurtin | jkilpatr: i guess submit a bug to https://bugs.launchpad.net/python-openstacksdk and maybe someone will know what any of that means | 19:57 |
dtroyer | rabel_b1: v1 and v2 should be as identical as possible, with the differences noted in the doc | 19:57 |
dtroyer | dhellmann: cool, trying it now | 19:58 |
rabel_b1 | reedip, 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 |
reedip | rabel_b1 : I dont know if such a script exists , but if it doesnt, please be our guest . That would be greatly appreciated :) | 20:01 |
dtroyer | rabel_b1: be my guest… but inlcude all of the text that explains the options (we really should have a LOT more of that) too | 20:01 |
rabel_b1 | ls | 20:01 |
rabel_b1 | sry, wrong window | 20:01 |
dtroyer | FWIW, there are also syntax things that can not be expressed in apgparse that is in the docs... | 20:02 |
reedip | dtroyer ; agreed | 20:02 |
reedip | rabel_b1 : if there is a lot of difference between v1 and v2 of image, please log a bug for that for verification | 20:03 |
rabel_b1 | reedip : there are already TODOs in v2/image.py . maybe there is already a bug open for this? | 20:04 |
rabel_b1 | reedip, dtroyer : i would like to write such a script or at least help writing it. | 20:05 |
reedip | rabel_b1 : you can definetly start working on this, if you have bandwidth | 20:06 |
reedip | rabel_b1 : the todo in image.py may not correspond to the text mismatch in image,rst | 20:07 |
dtroyer | rabel_b1: that is a pretty low priority for us overall, and will have a fair number of exceptions | 20:07 |
openstackgerrit | Reedip proposed openstack/python-openstackclient master: Introduce quota unset command https://review.openstack.org/376311 | 20:12 |
reedip | ankur-gupta-f1 : done ^^^ | 20:12 |
reedip | stevemar : is this https://review.openstack.org/#/c/367673/9 going to move forward? | 20:16 |
rabel_b1 | reedip, 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 two | 20:18 |
rabel_b1 | one last question: how to indicate a difference between v2 and v1 in image.rst? | 20:19 |
dtroyer | there are examp[les in nearly every non-network resource file… similar to: **XXX API v1 only** notes | 20:20 |
rabel_b1 | ah, thanks | 20:22 |
stevemar | reedip: i have no idea :) | 20:29 |
stevemar | reedip: i think dtroyer wants https://review.openstack.org/#/c/367673/ but he hasn't reviewed it at all :P | 20:30 |
briancurtin | stevemar: can i release a new SDK version? | 20:30 |
* dtroyer shoos stevemar back across the hall to the TC meeting | 20:31 | |
*** salv-orlando has quit IRC | 20:32 | |
reedip | stevemar ( come back ) , ankur-gupta-f1, sindhu : review requested in https://review.openstack.org/383025 | 20:32 |
reedip | oh, TC meeting, stevemar, nevermind ! | 20:33 |
reedip | :) | 20:33 |
ankur-gupta-f1 | reedip: the only thing holding that patch back is the gate. Its has looked good for awhile. just a matter of getting functional passing | 20:33 |
reedip | passed ! | 20:33 |
reedip | That was what I was checking :D | 20:34 |
reedip | http://logs.openstack.org/25/383025/52/check/gate-osc-dsvm-functional-ubuntu-xenial/9cf94b6/console.html | 20:34 |
dtroyer | briancurtin: looks like the master OSC + master SDK job is green… | 20:35 |
openstackgerrit | David Rabel proposed openstack/python-openstackclient master: Update doc/source/command-objects/image.rst https://review.openstack.org/439142 | 20:36 |
stevemar | briancurtin: i think you're OK to release a new version | 20:37 |
sindhu | reedip: yay! finally | 20:46 |
reedip | hehehe :) | 20:46 |
reedip | Yeah ! its ALIVE ! | 20:46 |
*** john-davidge has quit IRC | 20:52 | |
openstackgerrit | Steve Martinelli proposed openstack/python-openstackclient master: add neutron CLI to decoder https://review.openstack.org/439148 | 20:52 |
*** e0ne has joined #openstack-sdks | 20:52 | |
stevemar | reedip: ^ | 20:53 |
stevemar | ankur-gupta-f1: ^ | 20:53 |
ankur-gupta-f1 | stevemar: yup looking over now | 20:53 |
reedip | stevemar : Line#231, and232, we do not need the --tag option in the second column, do we? | 20:56 |
stevemar | reedip: i thought we did? | 20:57 |
reedip | the second column is the OSC equivalent | 20:57 |
ankur-gupta-f1 | it should be there | 20:58 |
reedip | ok goit it | 20:59 |
ankur-gupta-f1 | reedip: note glance CLI for image-tag-delete | 20:59 |
ankur-gupta-f1 | going to implemented similarly. once i figure out the best way to do it :) | 20:59 |
reedip | lol | 20:59 |
reedip | U will sooner ! | 20:59 |
*** sdague has quit IRC | 21:03 | |
openstackgerrit | Ankur proposed openstack/python-openstackclient master: add neutron CLI to decoder https://review.openstack.org/439148 | 21:04 |
ankur-gupta-f1 | stevemar: looks good just added reedips tapflow commands | 21:04 |
briancurtin | Qiming: fyi i just released https://pypi.python.org/pypi/openstacksdk/0.9.14 | 21:20 |
*** dfflanders has joined #openstack-sdks | 21:24 | |
*** chlong has quit IRC | 21:27 | |
*** chlong has joined #openstack-sdks | 21:39 | |
*** salv-orlando has joined #openstack-sdks | 21:39 | |
*** e0ne has quit IRC | 21:41 | |
openstackgerrit | Justin A Wilson proposed openstack/python-openstackclient master: Add support for Cinder API 3.3/3.5 into OSC https://review.openstack.org/421585 | 21:42 |
*** gouthamr has quit IRC | 21:44 | |
reedip | stevemar : any suggestions on https://review.openstack.org/383025 if u r not busy ? | 21:45 |
openstackgerrit | Justin A Wilson proposed openstack/python-openstackclient master: Add support for Cinder API 3.3/3.5 into OSC https://review.openstack.org/421585 | 21:47 |
*** jkilpatr has quit IRC | 21:52 | |
*** annegentle has quit IRC | 21:54 | |
*** chlong has quit IRC | 21:58 | |
openstackgerrit | Dean Troyer proposed openstack/python-openstackclient master: Simplify logic around option lists in port set https://review.openstack.org/439048 | 22:14 |
*** adriant has joined #openstack-sdks | 22:21 | |
dtroyer | thingee: 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-sdks | 22:30 | |
*** jkilpatr has joined #openstack-sdks | 22:33 | |
*** annegentle has joined #openstack-sdks | 22:34 | |
*** amotoki has quit IRC | 22:37 | |
*** Kuwagata has quit IRC | 22:39 | |
*** amotoki has joined #openstack-sdks | 22:42 | |
*** amotoki has quit IRC | 22:46 | |
*** gildub has joined #openstack-sdks | 22:48 | |
*** salv-orlando has quit IRC | 22:50 | |
*** salv-orlando has joined #openstack-sdks | 22:50 | |
thingee | mordred: can you update https://review.openstack.org/#/c/434372/ before a dependency merges? | 23:03 |
*** john-davidge has joined #openstack-sdks | 23:04 | |
thingee | dtroyer: ack I'll remember this in the future | 23:04 |
ankur-gupta-f4 | +1 | 23:04 |
thingee | dtroyer: still don't agree with it, but I'll let it go. | 23:05 |
mordred | thingee: the file that you reference is actually in a different repo | 23:05 |
thingee | mordred: doh | 23:06 |
thingee | mordred: sorry | 23:06 |
thingee | mordred: +1 | 23:06 |
*** john-davidge has quit IRC | 23:08 | |
*** reedip has quit IRC | 23:14 | |
*** Kuwagata has joined #openstack-sdks | 23:38 | |
jamielennox | dtroyer: quick request, would like to be able to do openstack server delete my-prefix-* | 23:41 |
*** amotoki has joined #openstack-sdks | 23:53 | |
*** annegentle has quit IRC | 23:55 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!