| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2019-10-04 | |||
| 15:40:21 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed https://review.opendev.org/685042 | |
| 15:40:45 | efried | wfm, thanks mordred | |
| 15:42:32 | efried | dangit, where tf is the cloud data sdk tests with? | |
| 15:43:57 | efried | k, found the discovery documents. Looking for the flavors it loads up... | |
| 15:44:10 | mordred | efried: right there! | |
| 15:45:41 | efried | mordred: Sorry, help please, still not seeing where flavor data comes from | |
| 15:45:54 | efried | i.e. self.flavor here https://review.opendev.org/#/c/685999/7/openstack/tests/functional/cloud/test_inventory.py | |
| 15:47:38 | efried | mebbe openstack.tests.fakes.make_fake_flavor ? | |
| 15:47:52 | mordred | no - that's a functional test | |
| 15:48:03 | mordred | it's the flavor that we get find from devstack | |
| 15:48:22 | mordred | efried: from openstack.tests.functional.cloud.util import pick_flavor | |
| 15:48:42 | efried | ...from devstack? | |
| 15:49:09 | efried | Are these "functional" tests running in a devstack?? | |
| 15:49:43 | mordred | efried: yes. that's how the sdk functional tests work. | |
| 15:49:45 | mordred | https://opendev.org/openstack/openstacksdk/src/branch/master/openstack/tests/functional/cloud/util.py#L23-L43 | |
| 15:50:01 | mordred | efried: the idea is that we point sdk at the devstack and then we use that devstack as a remote cloud | |
| 15:50:09 | efried | whoah. | |
| 15:50:14 | efried | I mean, cool, but... whoah. | |
| 15:50:22 | mordred | :) | |
| 15:50:28 | mordred | it's a fun set of tests | |
| 15:50:35 | efried | so what I don't get is why the deltas in that file are necessary/appropriate. | |
| 15:51:19 | mordred | because what the ksa patch fixed was microversion detection - so we now correctly detect the available microversion, which means we're now fetching Server at the mv declared in the server resource | |
| 15:51:26 | mordred | which means we get the new form of flavor now | |
| 15:51:39 | mordred | this change SHOULD have gone into the change last april that bumped our microversion | |
| 15:51:59 | efried | okay, the test is way more magic than I was seeing | |
| 15:52:01 | efried | thanks. | |
| 15:52:02 | mordred | but we didn;t notice a that point that the behavior changed because the mv discovery was silently broke | |
| 15:52:46 | mordred | it's actually super un-magic- it's just actually creating a server on an openstack and checking that it works. easy peasy right? | |
| 15:54:05 | efried | mordred: next point of confusion... | |
| 15:54:12 | efried | the references to 'host' in this test code... | |
| 15:54:18 | efried | are those actualy *instances*?? | |
| 15:54:36 | efried | based on OpenStackInventory.list_hosts, it... kinda looks like they might be | |
| 15:54:49 | efried | because that's doing compute.list_servers | |
| 15:55:43 | mordred | yes indeed | |
| 15:55:46 | mordred | those are instances | |
| 15:56:06 | efried | what do we call hosts?? | |
| 15:56:13 | mordred | the word is host here because this is a file in support of ansible dynamic inventory | |
| 15:56:41 | efried | tribal. knowledge. | |
| 15:57:08 | mordred | but in this file a "host" is a record describing how to connect to a remote compute - and in this case those remote computers are vms managed by openstack with nova | |
| 15:57:32 | efried | wow | |
| 15:57:33 | efried | neat | |
| 15:57:34 | efried | mordred: so given all that, I dropped a question in https://review.opendev.org/#/c/685999/ for a moar bettr test. LMK if you agree. | |
| 16:01:58 | cmorpheus | i guess i need to do things? | |
| 16:02:49 | efried | cmorpheus: I think you're just on the hook for this un: https://review.opendev.org/#/c/685042/ | |
| 16:03:10 | cmorpheus | mmk | |
| 16:03:22 | efried | aside from zuul, both gtema and I have tested it locally. | |
| 16:08:28 | cmorpheus | so that one depends-on https://review.opendev.org/685999 is there a tldr why that's okay? that makes it seem very much backwards incompatible | |
| 16:12:08 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Fix server for later microversion https://review.opendev.org/685999 | |
| 16:12:33 | mordred | cmorpheus: the tl;dr is that the fix to ksa exposes a bug in sdk | |
| 16:12:43 | mordred | so we need to land the bugfix in sdk and release it first | |
| 16:14:27 | mordred | efried: o - you know what - I agreed with your comment - but then really I'm wrong in my latest iteration on that - because removing the id references is important - the main new thing is that their existence is now undefinable | |
| 16:14:32 | mordred | let me do one more quick respin | |
| 16:15:15 | efried | mordred: oh, you mean because the id will exist iff the original flavor hasn't been deleted? | |
| 16:20:15 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Fix server for later microversion https://review.opendev.org/685999 | |
| 16:20:16 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Re-add functional tests on flavor content https://review.opendev.org/686765 | |
| 16:20:39 | mordred | efried: no - I mean until ksa releases we're still on the old mv | |
| 16:20:54 | efried | ugh | |
| 16:21:11 | efried | but... that's okay because of the dep? | |
| 16:21:13 | mordred | efried: so we can neither assert id is in or not in the flavor record - because of the underlying mv shift - it's impossible to have a consistent payload | |
| 16:21:14 | efried | oh | |
| 16:21:19 | efried | the dep is backwards | |
| 16:21:20 | mordred | like - it's impossible in the real world | |
| 16:21:44 | efried | can we tell whath mv we used? | |
| 16:21:54 | efried | (not that I think we necessarily should, just wondering) | |
| 16:22:20 | mordred | maybe? actually - I don't think there is a good way to do that right now | |
| 16:22:27 | mordred | but - we could potentially cook something up | |
| 16:24:29 | efried | mordred: so now we actually *do* want a l-c bump from sdk to ksa when the latter is released, so we can ... oic you did that in the fup patch ++ | |
| 16:26:48 | mordred | cmorpheus: responded - my answer is sort of an existential one ... | |
| 16:27:08 | mordred | efried: yeah. perhaps that followup makes the weird sequence a little clearer - or not :) | |
| 16:27:49 | efried | mordred: +2s on the stuff we can do now. -1 to get matching l-c on that fup. Also wouldn't be a bad idea to make the commit message voice less future-y, since in git history it's going to be past-y. | |
| 16:28:24 | mordred | efried: yeah - I'll respin it once ksa releases - and will fix the l-c thing then too | |
| 16:28:30 | efried | ++ | |
| 16:28:31 | mordred | agree on the voice | |
| 16:29:04 | efried | Thanks for working through this mess mordred | |
| 16:30:31 | cmorpheus | mordred: lol | |
| 16:32:34 | mordred | efried: likewise. this would have bit someone more unexpectedly at some point - at least now it comes with a release note | |
| 16:33:09 | cmorpheus | mordred: are you wanting to release both of these today? today as in friday? friday the week before final RCs? | |
| 16:33:28 | mordred | cmorpheus: no - I think we figured out earlier today that we do not need to rush a fix out the door | |
| 16:33:40 | cmorpheus | okay awesome | |
| 16:33:41 | mordred | they've got a workaround for it in cyborg | |
| 16:33:53 | mordred | so I'm thinking point release post release :) | |
| 16:34:30 | efried | whereupon the version numbers in the renos will need to be changed in the backports | |
| 16:36:35 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed https://review.opendev.org/685042 | |
| 16:42:32 | openstackgerrit | Merged openstack/openstacksdk master: Use has_service in functional test's require_service https://review.opendev.org/685995 | |
| 21:44:38 | openstackgerrit | Merged openstack/openstacksdk master: Fix server for later microversion https://review.opendev.org/685999 | |
| #openstack-sdks - 2019-10-05 | |||
| 08:10:44 | openstackgerrit | Xuan Yandong proposed openstack/shade master: Add source and contributing link in readme https://review.opendev.org/686871 | |
| 09:38:49 | openstackgerrit | Merged openstack/keystoneauth master: Cleanup session on delete https://review.opendev.org/674139 | |
| 09:51:47 | openstackgerrit | Merged openstack/keystoneauth master: Make tests pass in 2020 https://review.opendev.org/681103 | |
| 18:32:08 | openstackgerrit | Merged openstack/openstacksdk master: Use generated list of services instead of metaclass https://review.opendev.org/686542 | |
| 18:52:06 | openstackgerrit | Merged openstack/openstacksdk master: Start supporting type info https://review.opendev.org/686397 | |
| #openstack-sdks - 2019-10-07 | |||
| 09:23:18 | frickler | why does glance revert to using their own client in their install guide? https://review.opendev.org/#/c/685247/ to me that is a big regression, because it doesn't work with cloud config. isn't there some global consensus that OSC is to be preferred? | |
| 09:23:58 | frickler | maybe I should discuss this in glance channel, but feedback from osc ppl might be good, too | |
| 09:24:45 | tosky | frickler: because (iirc, from what I heard from them) osc does not work, there are limitations that has not been addressed | |
| 09:24:59 | tosky | I don't know the details | |
| 15:43:36 | mordred | tosky, frickler: gtema has been working on getting osc updated to use sdk for glance - hopefully that will fix whatever outstanding issues people have | |
| 15:44:10 | tosky | mordred: my suggestion is to actively seek each other and discuss during the PTG :) | |
| 15:44:33 | tosky | also cinder is quite blocked right now | |
| #openstack-sdks - 2019-10-08 | |||
| 09:42:00 | openstackgerrit | David Shaughnessy proposed openstack/python-openstackclient master: [POC] Neutron Classifier CLI Mock up of Neutron Classifier CLI https://review.opendev.org/687256 | |
| 13:48:45 | openstackgerrit | Bence Romsics proposed openstack/openstacksdk master: Add router add/remove route operations https://review.opendev.org/674324 | |
| 13:49:09 | openstackgerrit | Bence Romsics proposed openstack/openstacksdk master: Handle HTTP errors in add/remove router interface calls https://review.opendev.org/687304 | |