Earlier  
Posted Nick Remark
#openstack-sdks - 2019-10-04
12:23:22 gtema really? cool
12:23:26 mordred I only noticed it was happing debugging a different issue
12:23:27 mordred yeah
12:24:04 gtema ok. I do not see this in my cloud, so perhaps some additional Nova change is there, but cool that it fixes things generally
12:28:38 gtema nom, you are totally right - I simply haven't noticed that
12:39:21 openstackgerrit Monty Taylor proposed openstack/os-client-config master: Stop testing python2.7 https://review.opendev.org/686589
12:43:56 openstackgerrit Monty Taylor proposed openstack/python-openstackclient master: Stop testing python2 https://review.opendev.org/686590
12:48:24 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Stop testing python2 https://review.opendev.org/686592
12:56:27 openstackgerrit Monty Taylor proposed openstack/openstacksdk master: Fix server for later microversion https://review.opendev.org/685999
12:57:02 mordred gtema: ^^ I added a release note (was going to backport to stable/train, but noticed there was no release note explaining why the patch was important)
13:06:20 openstackgerrit OpenStack Release Bot proposed openstack/python-openstackclient master: Update master for stable/train https://review.opendev.org/686607
13:12:55 gtema mordred: +2-ed
13:15:55 mordred gtema: thanks!
13:30:05 efried mordred: I concur with your assessment. Were you thinking we would get those stable/train releases into train's requirements before the release?
13:30:32 openstackgerrit Merged openstack/python-openstackclient master: Update master for stable/train https://review.opendev.org/686607
13:41:39 mordred efried: I don't know if it's possible to - but I figured cutting a small point release on top of train shortly after the release could also work, yeah/
13:41:41 mordred ?
13:42:51 efried mordred: the difference being that we cannot update e.g. nova's lower-constraints after the release, so we can't rely on the new behavior in train in that case.
13:44:30 mordred hrm. maybe it's worth going and talking to our release friends
13:51:33 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed https://review.opendev.org/685042
13:54:45 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed https://review.opendev.org/685042
14:26:24 mordred dtroyer: is this https://762ea4c4c4fb203eceec-1a0f674a3837e35101e72ddbc77fd8ba.ssl.cf2.rackcdn.com/686589/1/check/osc-functional-devstack-tips/de578de/testr_results.html.gz
14:26:33 mordred something we should be worried about and/or know about already?
14:37:49 dtroyer mordred: I do not recall seeing that before. volume tests are historically timing sensitive but we've eliminated most of them (I think). Thats a compute test but volumes are involved. Have you seen more than one of these?
14:43:29 mordred dtroyer: no - I should probably just recheck then
15:02:44 efried mordred: reviewing that test change, I wonder if has_service ought to return the endpoint(_data) so we don't wind up duplicating calls...
15:03:49 mordred efried: well - the reason to change to has_service is that we don't actually need to do the full endpoint_data call (which results in a discovery api call) in a lot of cases
15:04:03 openstackgerrit Merged openstack/os-client-config master: Update the constraints url https://review.opendev.org/685581
15:04:04 efried yah, I get that
15:04:11 mordred oh - but ... maybe make has_service also take a mv arg?
15:04:33 efried I'm looking for usages of has_service to see if any of the are directly followed by something that does discovery
15:04:42 efried I would think that in most cases the discovery is cached already one way or another.
15:04:43 mordred nod
15:04:48 mordred yeah
15:04:54 mordred once it's done - it should be cached
15:05:25 efried yeah, nothing jumps out. Probably n/a then. Ignore me.
15:15:34 efried mordred: I think the dep chain might be busted. Care to join me in -requirements ?
15:30:12 openstackgerrit Monty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed https://review.opendev.org/685042
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

Earlier   Later