| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2018-10-29 | |||
| 16:32:47 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Replace TaskManager with a keystoneauth concurrency https://review.openstack.org/604926 | |
| 18:38:35 | openstackgerrit | Daniel Speichert proposed openstack/openstacksdk master: Added image properties to Image class https://review.openstack.org/544544 | |
| 18:50:06 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Use sdk for list_servers https://review.openstack.org/530770 | |
| 19:47:57 | openstackgerrit | Merged openstack/openstacksdk master: Call pre/post run task calls from TaskManager.submit_task() https://review.openstack.org/613503 | |
| 19:49:45 | openstackgerrit | Merged openstack/openstacksdk master: Add doc depends to tox releasenotes environment https://review.openstack.org/613504 | |
| 20:42:26 | smcginnis | mordred, dtroyer: Any plans for a python-openstackclient release? I'd like to get https://review.openstack.org/609473 out there. | |
| 20:42:44 | smcginnis | Maybe a last 3.x release before merging those backwards incompatible patches I have out there? | |
| 20:44:23 | dtroyer | smcginnis: we can do a release… as far as switching to 4.x that's not happening quickly unless someone picks up the heavy lifting of all of the ksa & sdk-related auth stuff. there is an osc4 feature branch… | |
| 20:45:56 | smcginnis | dtroyer: OK, that's fine if those sit out there awhile. Not really time critical on that. | |
| 20:47:16 | smcginnis | dtroyer: Are there any high level docs on what's needed with the auth stuff? Not sure I would have time for something like that, but I might be willing to poke at it a bit if there's not too steep of a curve to get going. | |
| 21:21:02 | mordred | smcginnis, dtroyer: I've been planning on jumping in on the ksa/sdk stuff in the feature branch soonish | |
| 21:21:52 | smcginnis | mordred: Great. I can't commit to anything, but let me know if there's any way I can help with that. | |
| 21:22:08 | mordred | will do | |
| 21:44:09 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Fix latest flake8 issues https://review.openstack.org/614038 | |
| #openstack-sdks - 2018-10-30 | |||
| 01:57:25 | openstackgerrit | Vishakha Agarwal proposed openstack/python-openstackclient master: Modify the help message for 'registered limit set' https://review.openstack.org/609985 | |
| 04:58:32 | openstackgerrit | Ian Wienand proposed openstack/openstacksdk master: Make delete_unattached_floating_ips return a count https://review.openstack.org/614075 | |
| 05:06:49 | openstackgerrit | Ian Wienand proposed openstack/openstacksdk master: Make delete_unattached_floating_ips return a count https://review.openstack.org/614075 | |
| 05:52:48 | adriant | mordred: I'm either hitting a really weird bug, or something stupid, but I can't use the SDK to list servers against our cloud anymore :/ | |
| 05:53:59 | adriant | we are running nova still in Kilo though, so it's always possible that something there is a problem, but it's not that it errors, I just get back an empty list | |
| 05:54:48 | adriant | oh | |
| 05:54:49 | adriant | what | |
| 05:54:55 | adriant | it's calling the wrong region?! | |
| 05:55:48 | adriant | ok, nvm, found my issue | |
| 05:58:53 | adriant | yeah, nvm this code just doesn't make sese | |
| 05:58:57 | adriant | sense* | |
| 08:40:24 | adriant | mordred: well after being and idiot, there is now a new version of my silly interpreter tool, and i've updated the docs to mostly ignore that the per service client libraries exist. | |
| 08:52:01 | openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: implement block-storage backup resource https://review.openstack.org/591445 | |
| 10:40:56 | openstackgerrit | wangqiang-bj proposed openstack/keystoneauth master: fix wrong spelling of "unnecessary" https://review.openstack.org/614178 | |
| 11:12:05 | openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: implement block-storage backup resource https://review.openstack.org/591445 | |
| 13:26:50 | mordred | adriant: yay! | |
| 13:42:23 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Filter ports in list_ports when batching is in effect https://review.openstack.org/614213 | |
| 13:48:22 | Shrews | mordred: did we remove the old shade func tests in sdk? | |
| 13:48:42 | mordred | Shrews: no - they should still be there in openstack/tests/functional/cloud | |
| 13:48:49 | Shrews | oh yep | |
| 13:49:15 | mordred | Shrews: maybe before we retire we'll have all of that completely integrated | |
| 13:50:30 | Shrews | mordred: can we explore trying to have a func test for that before we merge? i mean, we're really just assuming it works | |
| 13:51:18 | Shrews | i might need to setup a devstack again to try to create a port in the down state | |
| 13:51:30 | Shrews | or maybe we could ask someone with actual knowledge of neutron | |
| 13:53:28 | Shrews | hrm, our unit tests don't even test passing filter | |
| 13:56:57 | openstackgerrit | Monty Taylor proposed openstack/cliff master: Don't try to run issubclass on non-classes https://review.openstack.org/614218 | |
| 14:00:21 | mordred | Shrews: oh - totally. let's definitely add some tests | |
| 14:03:06 | openstackgerrit | David Shrewsbury proposed openstack/openstacksdk master: Filter ports in list_ports when batching is in effect https://review.openstack.org/614213 | |
| 14:03:11 | Shrews | mordred: ^^ unit test | |
| 14:03:37 | Shrews | mordred: double check me, but passes locally for me | |
| 14:05:02 | openstackgerrit | Monty Taylor proposed openstack/cliff master: Don't try to run issubclass on non-classes https://review.openstack.org/614218 | |
| 14:05:45 | Shrews | mordred: hrm, no. that passes on master when it shouldn't | |
| 14:05:46 | Shrews | :( | |
| 14:06:16 | Shrews | so i've done something wrong | |
| 14:11:24 | mordred | Shrews: that test tests that the query returns an unfilted list | |
| 14:12:04 | mordred | mock_neutron_port_list_rep is a list of ports that has non-down ports in it right? | |
| 14:12:11 | Shrews | mordred: it isn't asserting that the uri contains the filter params? | |
| 14:12:30 | Shrews | i thought assert_calls did that | |
| 14:13:42 | Shrews | i wasn't worried so much about the return data as much as i wanted to confirm the uri had any filters we passed | |
| 14:13:46 | mordred | Shrews: oh - i was looking at line 253 | |
| 14:14:09 | mordred | Shrews: I think you need to configure caching | |
| 14:14:27 | mordred | Shrews: because we only skip passing the query string if caching is enabled | |
| 14:14:53 | mordred | (although maybe leave that test to test that non-caching also works) | |
| 14:15:21 | Shrews | ah. do we have an example of that? | |
| 14:15:27 | mordred | looking for one now | |
| 14:16:28 | mordred | Shrews: openstack/tests/unit/cloud/test_caching.py is set up to do servers caching - we could add prts to openstack/tests/unit/fixtures/clouds/clouds_cache.yaml | |
| 14:16:49 | mordred | Shrews: and add a copy of the test you just added but without the query string | |
| 14:21:07 | Shrews | don't you need the query string?? | |
| 14:21:55 | mordred | well - in the caching version we'd expect it to not pass filters on the query string | |
| 14:22:34 | Shrews | oh! b/c we filter ourselves | |
| 14:23:38 | Shrews | mordred: you seem to have a handle on it, feel free to push that PS while I caffeinate more appropriately | |
| 14:24:52 | mordred | Shrews: ok. I'll do that one | |
| 14:25:40 | mordred | Shrews: OH | |
| 14:25:44 | mordred | Shrews: also - re: functional ... | |
| 14:25:58 | mordred | Shrews: when you create a port but it isn't attached to anything - its state is totally DOWN | |
| 14:26:10 | mordred | Shrews: see mock_neutron_port_create_rep in openstack/tests/unit/cloud/test_port.py | |
| 14:29:14 | Shrews | oh cool | |
| 14:35:33 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Filter ports in list_ports when batching is in effect https://review.openstack.org/614213 | |
| 14:35:37 | mordred | Shrews: how's that look? | |
| 14:40:02 | Shrews | mordred: yes, that fails for me on master | |
| 14:40:05 | Shrews | ++ | |
| 14:40:26 | mordred | Shrews: \o/ | |
| 14:40:47 | mordred | slaweq: feel in the mood to review a quick neutron related sdk patch? ^^ | |
| 14:42:56 | mordred | Shrews: I believe this same bug exists for servers and floating ips - followup patch coming | |
| 14:43:03 | Shrews | oh goodie | |
| 14:45:01 | slaweq | mordred: +W (I hope CI will be happy with it too) :) | |
| 14:45:08 | mordred | slaweq: thanks! | |
| 14:48:02 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Apply list filter fix to servers and floating ips too https://review.openstack.org/614236 | |
| 14:48:15 | mordred | Shrews: ^^ there it is applied to servers and floating ips too | |
| 15:02:05 | Shrews | ossum | |
| 15:02:56 | mordred | Shrews: I put a pause on the 0.19.0 release (which contained the other fix we needed for nodepool) so we can get this in there | |
| 15:04:15 | Shrews | ++ | |
| 15:22:41 | mordred | dtroyer: if you get a sec, could you take a peep at https://review.openstack.org/#/c/614218/ ? | |
| 15:38:58 | openstackgerrit | Sean McGinnis proposed openstack/openstacksdk master: Remove setup.py check from pep8 job https://review.openstack.org/614274 | |
| 15:43:02 | mordred | Shrews: if you have a sec, https://review.openstack.org/#/c/613976 and https://review.openstack.org/#/c/613978 are in response to a feedback we got yesterday from wouterdb | |
| 15:43:51 | mordred | Shrews: who had a usecase where he was creating and destroying a ton of Connection objects, and the lack of a close to shutdown underlying threadpool objects was causing a preponderance of threads | |
| 15:45:59 | Shrews | mordred: i totes want a be_awesome() method | |
| 15:52:52 | mordred | Shrews: we should make one | |
| 15:54:51 | mordred | gtema: looking at your story from earlier about caching and wait_for methods ... we really need to do some work in the caching layer | |
| 15:55:05 | gtema | mordred: agree | |
| 15:55:20 | gtema | just spend some time trying to figure out why it suddenly does not work properly | |
| 15:55:43 | gtema | mordred: can I help there? | |
| 15:58:49 | mordred | gtema: almost certainly! I think once we get this task manager updates finished it'll be a good time to work on it | |
| 15:59:07 | gtema | ok | |
| 16:00:21 | gtema | mordred: what about backup support in block-storage (https://review.openstack.org/#/c/591445/) | |
| 16:00:45 | openstackgerrit | Sean McGinnis proposed openstack/os-client-config master: Remove setup.py check from pep8 job https://review.openstack.org/614280 | |