| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2017-04-19 | |||
| 13:50:56 | openstackgerrit | Huanxuan Ao proposed openstack/python-openstackclient master: Fix network list functional test https://review.openstack.org/458080 | |
| 14:29:27 | openstackgerrit | Merged openstack/osc-lib master: Add MultiKeyValueCommaAction to osc-lib https://review.openstack.org/425515 | |
| 14:29:57 | openstackgerrit | Merged openstack/osc-lib master: Add formattable column base classes https://review.openstack.org/444760 | |
| 14:30:02 | openstackgerrit | Merged openstack/osc-lib master: Avoid to authenticate twice https://review.openstack.org/452711 | |
| 14:39:02 | openstackgerrit | Merged openstack/osc-lib master: Add more API support https://review.openstack.org/457703 | |
| 15:06:09 | rukh | ping openstack-sdks: trying to use the new openstack sdk andmade some good progres.. however there is some information I am having a hard time getting out .. eg a previous piece of code was getting this piece of info from the connection object member | |
| 15:06:49 | rukh | How would I get the HorizonPublic endpoint out of any members ? | |
| 15:09:26 | rukh | ping: Looking up self.conn.identity.endpoints() doesn't have the that endpoint as part of the structure | |
| 15:27:57 | rukh | ping: stack = self.connection.orchestration.get_stack('e2b0ce7a-760e-42fd-918a-192a8da3f4fb') | |
| 15:28:20 | rukh | is this a valid usage of the trying to get the stack object ? the id passed is the id of a stack from heat stack-list | |
| 15:40:01 | dtroyer_zz | sfinucan: I just saw your release request for cliff, want to include a couple more things in that first? I just approved two more reviews | |
| 15:42:13 | rukh | ping: any idea on my Q ? Sorry for bothering | |
| 15:44:09 | sfinucan | dtroyer_zz: Yup, I don't see why not | |
| 15:45:14 | dtroyer_zz | not sure if you're aware of this, but if those create a merge commit you need to use that… | |
| 15:47:27 | sfinucan | I was not, but I am now | |
| 15:47:41 | sfinucan | I think I just used the commit ref of HEAD last time | |
| 15:48:35 | dtroyer_zz | which works fine, but since these are not merged yet we don't have the sha of the merge commit… if I had done them one at a time I don't think that would happen | |
| 16:03:23 | rukh | ignore; I figured it out : thanks | |
| 16:08:18 | sfinucan | dtroyer_zz: Ah, I thought they'd merged. I've just put that patch in WIP state until they do so | |
| 16:12:58 | openstackgerrit | Merged openstack/python-openstackclient master: Fix network list functional test https://review.openstack.org/458080 | |
| 16:40:57 | openstackgerrit | Merged openstack/cliff master: Add support for epilogs https://review.openstack.org/454132 | |
| 16:48:18 | openstackgerrit | Merged openstack/cliff master: Updated from global requirements https://review.openstack.org/455906 | |
| 16:56:53 | dtroyer_zz | sfinucan: there you go, b5593752e5502d9d4561bc91213f2285345f1cf2 is the sha you want to release on | |
| 17:25:22 | rukh | ping openstack-sdks: is something seriously wrong with get_stack_environment() call ? | |
| 17:25:26 | rukh | stack = self.conn.orchestration.find_stack(self.configs.plan) | |
| 17:25:32 | rukh | environment = self.conn.orchestration.get_stack_environment(stack) | |
| 17:25:36 | rukh | returns nothing | |
| 17:26:41 | briancurtin | there’s a return statement there so it should be returning something | |
| 17:29:09 | rukh | briancurtin, 1 day old in python as well.. having a hard time trying to see what the members are of the of the object | |
| 17:29:29 | rukh | I tried doing a dir(environment) right after the second line but it outputs nothing | |
| 17:30:36 | briancurtin | dir can’t possibly return nothing | |
| 17:32:51 | rukh | briancurtin, I got it .. I jus learnt how to use the exceptions | |
| 17:32:58 | rukh | RK: exception 'Proxy' object has no attribute 'get_stack_environment' | |
| 17:33:11 | rukh | will be back in 30 | |
| 17:33:35 | rukh | briancurtin, I think the all for the environment is incorrect and I tried to follow documentation | |
| 17:34:39 | briancurtin | i don’t know if i’ll still be around then, but make sure you have the 0.9.15 release. that’s the one i did yesterday or the day before and it includes that get_stack_environment method | |
| 18:31:43 | openstackgerrit | Reedip proposed openstack/python-openstackclient master: Add default-quota to subnet-pools https://review.openstack.org/437367 | |
| 18:39:01 | rukh | briancurtin, sorry I had to eat something and get away for a bit: is something wrong with this: environment = self.conn.orchestration.get_stack_environment(stack) | |
| 18:40:20 | rukh | it appears to follow documentation | |
| 19:06:20 | rukh | https://developer.openstack.org/sdks/python/openstacksdk/users/proxies/orchestration.html | |
| 19:06:32 | rukh | stumped on what is going on with the get_stack_environment | |
| 19:23:26 | rukh | anyone ? | |
| 21:08:58 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add bindep.txt file https://review.openstack.org/458242 | |
| 21:08:59 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add latest methods to discovery object https://review.openstack.org/458243 | |
| 21:09:00 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add support for requesting the most recent version https://review.openstack.org/458244 | |
| 21:09:46 | openstackgerrit | Michael Johnson proposed openstack/python-openstacksdk master: Revert "HAProxy uses milliseconds ..." https://review.openstack.org/357031 | |
| #openstack-sdks - 2017-04-20 | |||
| 00:00:21 | openstackgerrit | Reedip proposed openstack/python-openstackclient master: Add extra dhcp option to 'port create/set/unset' https://review.openstack.org/356263 | |
| 00:00:36 | reedip_ | RuiChen, dtroyer_zz ^^ this would require a release of OSC_LIB | |
| 00:09:13 | dtroyer_zz | reedip: one is in the pipeline: https://review.openstack.org/458229 | |
| 00:34:22 | openstackgerrit | Merged openstack/keystoneauth master: Add bindep.txt file https://review.openstack.org/458242 | |
| 01:20:52 | openstackgerrit | Jamie Lennox proposed openstack/keystoneauth master: Port the missing version data discovery tests from ksc https://review.openstack.org/458286 | |
| 01:20:53 | openstackgerrit | Jamie Lennox proposed openstack/keystoneauth master: Allow passing a LATEST sentinel to discover version https://review.openstack.org/458287 | |
| 04:12:21 | hoangcx | reedip: ping | |
| 04:12:39 | reedip | pong hoangcx | |
| 04:13:27 | hoangcx | reedip: I have a question regarding to your merged patch: https://review.openstack.org/#/c/425515/ | |
| 04:13:44 | hoangcx | reedip: Is this released in latest osc_lib? | |
| 04:14:03 | hoangcx | reedip: pip install -U osc_lib | |
| 04:14:31 | hoangcx | reedip: But I don't see this function :-( | |
| 04:15:42 | reedip | Nope. it has to go in https://review.openstack.org/458229 | |
| 04:15:53 | reedip | Its still pending :) | |
| 04:18:26 | hoangcx | reedip: Got it. I will wait. Thanks for your work on the function :-) | |
| 04:18:57 | reedip | hoangcx : it was a team effort with a lot of contribution from dtroyer .... :) | |
| 09:21:39 | openstackgerrit | Anton Studenov proposed openstack/keystoneauth master: Fix version parser for IdentityPlugin https://review.openstack.org/458411 | |
| 10:01:34 | rabel | morning | |
| 10:48:23 | openstack | Launchpad bug 1676298 in python-openstackclient "Need to remove usage of novaclient.v2.security_group_rules" [High,Confirmed] - Assigned to Dean Troyer (dtroyer) | |
| 10:48:23 | Andrew_jedi | hello folks, openstack client 3.9 is throwing exception while trying to add a "security group rule". This is the bug report https://bugs.launchpad.net/python-openstackclient/+bug/1676298. And this is the fix https://github.com/openstack/python-openstackclient/commit/4289ddd47a9c92eb3033eccf39966915caae05db#diff-b811fca43423b66e081e0d0843104450. Could you please let me know when the next... | |
| 10:48:39 | Andrew_jedi | ...version of openstackclient will be uploaded to pip? | |
| 11:05:09 | openstackgerrit | Stephen Finucane proposed openstack/python-openstackclient master: Start using 'cliff.sphinxext' https://review.openstack.org/452861 | |
| 11:05:10 | openstackgerrit | Stephen Finucane proposed openstack/python-openstackclient master: Convert 'server' commands to use autoprogram https://review.openstack.org/458452 | |
| 11:44:13 | openstackgerrit | Rui Chen proposed openstack/python-openstackclient master: Make block-device-mapping more stable and clear https://review.openstack.org/438141 | |
| 12:14:31 | dtroyer_zz | Andrew_jedi: this is due to the release of python-novaclient 8.0 which removed all nova-net support. The next release of OSC will contain replacements for that functionality, it is still in the pipeline with one remaining thing to address. If yo can use the master branch it shold work for you now | |
| 12:14:59 | dtroyer_zz | or you can downgrade python-novaclient to 7.1.0 | |
| 12:15:23 | Andrew_jedi | dtroyer_zz: splendid, thanks for letting me know ! | |
| 12:22:18 | rabel | dtroyer_zz: I'm not sure if I can attend the meeting today. Could you have another look at https://review.openstack.org/#/c/444924/ (ready for merging I think) and https://review.openstack.org/#/c/449707/ (your opinion as mentioned by Julien Danjou's comment)? | |
| 12:49:49 | rabel | dtroyer_zz: meeting in 11 minutes? | |
| 13:03:03 | rabel | :( | |
| 13:19:47 | briancurtin | rukh: can you share some code that shows what you’re doing? i can’t really tell you whats wrong if i don’t know what you’re doing | |
| 13:20:17 | rukh | briancurtin, thanks so much for pinging me to help.. I figured it out though .. thanks so much | |
| 13:44:50 | rukh | briancurtin, if u have a sec .. looking for what I am doing wrong in this seemingly simple 2 line code | |
| 13:44:51 | rukh | https://pastebin.com/c6FKtamz | |
| 13:56:36 | briancurtin | rukh: that resource_name argument on the end is extra. if you take that off it should work | |
| 14:21:23 | rukh | print(resources) | |
| 14:21:23 | rukh | resources= self.conn.orchestration.resources(stack) | |
| 14:21:23 | rukh | briancurtin, I didn't understand why .. but I took it off and tried this: stack = self.conn.orchestration.find_stack(self.configs.plan) | |
| 14:21:38 | rukh | <generator object list at 0x2a37d70> | |
| 14:22:03 | briancurtin | rukh: yeah, the list related calls return generators. you need to consume the generator to see its contents | |
| 14:22:08 | rukh | I guess I don't understand how to consume a generator (again I started on python + sdk 2 days ago so my questions might be super dumb) | |
| 14:22:19 | briancurtin | something like “for resource in resources: print(resource)" | |
| 14:23:44 | rukh | briancurtin, that gave me some output .. is a generator = list ? | |
| 14:24:03 | briancurtin | they look like lists in some forms, but a generator is very different | |
| 14:24:34 | briancurtin | rukh: this might help: https://jeffknupp.com/blog/2013/04/07/improve-your-python-yield-and-generators-explained/ | |
| 14:24:38 | rukh | I am thinking it is python specific.. if you don't mind can I pm u ? Its just a gen question about python and ur path ? | |
| 14:24:58 | briancurtin | sure | |
| 14:29:24 | rabel | dtroyer_zz: Could you have a look at https://review.openstack.org/#/c/444924/ ? I think it's ready for merging. | |
| 14:34:24 | rukh | briancurtin++ | |
| 15:56:07 | stevemar | dtroyer_zz: https://review.openstack.org/#/c/454613/4 didn't make the 2.6.0 cut btw | |
| 15:56:21 | stevemar | dtroyer_zz: regarding https://review.openstack.org/#/c/438141/12 | |
| 15:59:59 | dtroyer_zz | well then… | |
| 16:18:29 | openstackgerrit | OpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements https://review.openstack.org/455926 | |
| 16:18:46 | openstackgerrit | Dean Troyer proposed openstack/python-openstackclient master: DNM: Enable debug in functional tests https://review.openstack.org/458579 | |