Friday, 2019-10-04

*** jangutter_ has joined #openstack-sdks01:10
*** jangutter has quit IRC01:12
*** efried has quit IRC01:26
*** efried has joined #openstack-sdks01:26
*** ricolin has joined #openstack-sdks02:27
*** gouthamr has quit IRC04:15
*** gouthamr has joined #openstack-sdks04:16
*** Luzi has joined #openstack-sdks04:58
*** goldyfruit_ has joined #openstack-sdks05:26
*** slaweq has joined #openstack-sdks06:37
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599906:51
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599906:52
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504206:53
mordredefried, cmurphy, kmalloc, Shrews: https://review.opendev.org/#/q/topic:fix-auth-discovery <-- assuming all three are green, I believe that is now the stack with the right depends-on to fix the issue and that the tests jobs properly validate the issue. the sdk patches should show that the needed sdk fixes work without the ksa fix, then the sdk test jobs on the ksa patch show that they continue to work06:56
mordredwith the fix added06:56
mordredwhich should make it safe to land the openstacksdk patches, cut a release, then land the ksa patch and cut a release.06:56
mordredof course, I *think* what we need here (correct me if I'm wrong efried) is that we need to land the patches, then backport to stable/train, then cut a stable release on train - first for sdk then for ksa06:57
*** ttsiouts has joined #openstack-sdks07:03
*** tosky has joined #openstack-sdks07:18
*** e0ne has joined #openstack-sdks07:22
*** e0ne has quit IRC07:22
*** ttsiouts has quit IRC07:26
*** ttsiouts has joined #openstack-sdks07:26
*** jpich has joined #openstack-sdks07:29
*** ttsiouts has quit IRC07:31
*** jpena|off is now known as jpena07:38
*** ttsiouts has joined #openstack-sdks07:56
*** cdent has joined #openstack-sdks08:05
openstackgerritMonty Taylor proposed openstack/openstacksdk master: WIP Start supporting type info  https://review.opendev.org/68639708:09
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Use generated list of services instead of metaclass  https://review.opendev.org/68654208:09
*** ttsiouts has quit IRC08:10
*** ttsiouts has joined #openstack-sdks08:11
*** ttsiouts_ has joined #openstack-sdks08:14
*** ttsiouts has quit IRC08:15
*** zbr is now known as zbr|ruck08:23
*** e0ne has joined #openstack-sdks08:59
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Use generated list of services instead of metaclass  https://review.opendev.org/68654209:05
*** mugsie has quit IRC10:03
*** mugsie has joined #openstack-sdks10:05
*** ttsiouts_ has quit IRC10:12
*** ttsiouts has joined #openstack-sdks10:13
*** gtema has joined #openstack-sdks10:15
*** ttsiouts has quit IRC10:17
*** cdent has quit IRC10:18
*** factor has joined #openstack-sdks10:26
*** gtema has quit IRC10:45
*** gtema has joined #openstack-sdks10:53
mordredgtema: https://review.opendev.org/#/c/686542/ if you get a sec10:57
*** gtema has quit IRC10:58
*** jpena is now known as jpena|lunch11:00
*** jangutter_ is now known as jangutter11:07
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Start supporting type info  https://review.opendev.org/68639711:09
*** ttsiouts has joined #openstack-sdks11:12
*** zbr|ruck is now known as zbr|lunch11:15
mordredShrews, cmurphy, efried, kmalloc: woot! all green!11:27
*** gtema has joined #openstack-sdks11:50
bverschueren_if anyone has a moment to look at https://review.opendev.org/#/c/682909/ ? thx11:58
*** jpena|lunch is now known as jpena12:00
*** enriquetaso has joined #openstack-sdks12:01
*** goldyfruit_ has quit IRC12:22
mordredgtema, efried: incidentally - the ksa patch also fixes a thing that sdk was doing but we weren't noticing - which is making a failed call to discovery before *every* nova call -- because it failed, it didn't cache a discovery document12:23
gtemareally? cool12:23
mordredI only noticed it was happing debugging a different issue12:23
mordredyeah12:23
gtemaok. I do not see this in my cloud, so perhaps some additional Nova change is there, but cool that it fixes things generally12:24
gtemanom, you are totally right - I simply haven't noticed that12:28
openstackgerritMonty Taylor proposed openstack/os-client-config master: Stop testing python2.7  https://review.opendev.org/68658912:39
*** cdent has joined #openstack-sdks12:42
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Stop testing python2  https://review.opendev.org/68659012:43
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Stop testing python2  https://review.opendev.org/68659212:48
*** camelCaser has quit IRC12:53
*** camelCaser has joined #openstack-sdks12:55
*** Luzi has quit IRC12:55
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599912:56
mordredgtema: ^^ 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)12:57
*** camelCaser has quit IRC12:59
openstackgerritOpenStack Release Bot proposed openstack/python-openstackclient master: Update master for stable/train  https://review.opendev.org/68660713:06
gtemamordred: +2-ed13:12
mordredgtema: thanks!13:15
*** mriedem has joined #openstack-sdks13:18
*** zbr|lunch is now known as zbr|ruck13:25
efriedmordred: I concur with your assessment. Were you thinking we would get those stable/train releases into train's requirements before the release?13:30
openstackgerritMerged openstack/python-openstackclient master: Update master for stable/train  https://review.opendev.org/68660713:30
*** goldyfruit_ has joined #openstack-sdks13:40
mordredefried: 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
mordred?13:41
efriedmordred: 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:42
*** camelCaser has joined #openstack-sdks13:43
*** ttsiouts has quit IRC13:44
mordredhrm. maybe it's worth going and talking to our release friends13:44
*** ttsiouts has joined #openstack-sdks13:45
*** ttsiouts has quit IRC13:46
*** ttsiouts has joined #openstack-sdks13:46
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504213:51
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504213:54
*** gmann_afk is now known as gmann13:58
*** goldyfruit___ has joined #openstack-sdks14:16
*** goldyfruit_ has quit IRC14:19
*** ricolin_ has joined #openstack-sdks14:25
mordreddtroyer: is this https://762ea4c4c4fb203eceec-1a0f674a3837e35101e72ddbc77fd8ba.ssl.cf2.rackcdn.com/686589/1/check/osc-functional-devstack-tips/de578de/testr_results.html.gz14:26
mordredsomething we should be worried about and/or know about already?14:26
*** ricolin has quit IRC14:26
*** goldyfruit_ has joined #openstack-sdks14:36
*** cdent has quit IRC14:37
dtroyermordred: 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:37
*** goldyfruit___ has quit IRC14:39
mordreddtroyer: no - I should probably just recheck then14:43
*** ricolin_ has quit IRC14:49
efriedmordred: reviewing that test change, I wonder if has_service ought to return the endpoint(_data) so we don't wind up duplicating calls...15:02
mordredefried: 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 cases15:03
openstackgerritMerged openstack/os-client-config master: Update the constraints url  https://review.opendev.org/68558115:04
efriedyah, I get that15:04
mordredoh - but ... maybe make has_service also take a mv arg?15:04
efriedI'm looking for usages of has_service to see if any of the are directly followed by something that does discovery15:04
efriedI would think that in most cases the discovery is cached already one way or another.15:04
mordrednod15:04
mordredyeah15:04
mordredonce it's done - it should be cached15:04
efriedyeah, nothing jumps out. Probably n/a then. Ignore me.15:05
efriedmordred: I think the dep chain might be busted. Care to join me in -requirements ?15:15
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504215:30
*** ttsiouts has quit IRC15:37
*** ttsiouts has joined #openstack-sdks15:38
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504215:40
efriedwfm, thanks mordred15:40
*** ttsiouts has quit IRC15:42
efrieddangit, where tf is the cloud data sdk tests with?15:42
efriedk, found the discovery documents. Looking for the flavors it loads up...15:43
mordredefried: right there!15:44
efriedmordred: Sorry, help please, still not seeing where flavor data comes from15:45
efriedi.e. self.flavor here https://review.opendev.org/#/c/685999/7/openstack/tests/functional/cloud/test_inventory.py15:45
efriedmebbe openstack.tests.fakes.make_fake_flavor ?15:47
mordredno - that's a functional test15:47
mordredit's the flavor that we get find from devstack15:48
mordredefried: from openstack.tests.functional.cloud.util import pick_flavor15:48
efried...from devstack?15:48
efriedAre these "functional" tests running in a devstack??15:49
mordredefried: yes. that's how the sdk functional tests work.15:49
mordredhttps://opendev.org/openstack/openstacksdk/src/branch/master/openstack/tests/functional/cloud/util.py#L23-L4315:49
mordredefried: the idea is that we point sdk at the devstack and then we use that devstack as a remote cloud15:50
efriedwhoah.15:50
efriedI mean, cool, but... whoah.15:50
mordred:)15:50
mordredit's a fun set of tests15:50
efriedso what I don't get is why the deltas in that file are necessary/appropriate.15:50
mordredbecause 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 resource15:51
mordredwhich means we get the new form of flavor now15:51
mordredthis change SHOULD have gone into the change last april that bumped our microversion15:51
efriedokay, the test is way more magic than I was seeing15:51
efriedthanks.15:52
mordredbut we didn;t notice a that point that the behavior changed because the mv discovery was silently broke15:52
mordredit's actually super un-magic- it's just actually creating a server on an openstack and checking that it works. easy peasy right?15:52
efriedmordred: next point of confusion...15:54
efriedthe references to 'host' in this test code...15:54
efriedare those actualy *instances*??15:54
efriedbased on OpenStackInventory.list_hosts, it... kinda looks like they might be15:54
efriedbecause that's doing compute.list_servers15:54
mordredyes indeed15:55
mordredthose are instances15:55
efriedwhat do we call hosts??15:56
mordredthe word is host here because this is a file in support of ansible dynamic inventory15:56
efriedtribal. knowledge.15:56
mordredbut 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 nova15:57
efriedwow15:57
efriedneat15:57
efriedmordred: so given all that, I dropped a question in https://review.opendev.org/#/c/685999/ for a moar bettr test. LMK if you agree.15:57
*** gtema has quit IRC15:58
*** adriant has quit IRC15:59
*** cmurphy is now known as cmorpheus16:01
cmorpheusi guess i need to do things?16:01
efriedcmorpheus: I think you're just on the hook for this un: https://review.opendev.org/#/c/685042/16:02
cmorpheusmmk16:03
efriedaside from zuul, both gtema and I have tested it locally.16:03
*** cdent has joined #openstack-sdks16:05
*** tosky has quit IRC16:05
cmorpheusso that one depends-on https://review.opendev.org/685999 is there a tldr why that's okay? that makes it seem very much backwards incompatible16:08
*** jpich has quit IRC16:10
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599916:12
mordredcmorpheus: the tl;dr is that the fix to ksa exposes a bug in sdk16:12
mordredso we need to land the bugfix in sdk and release it first16:12
*** mriedem is now known as mriedem_lunch16:14
mordredefried: 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 undefinable16:14
mordredlet me do one more quick respin16:14
efriedmordred: oh, you mean because the id will exist iff the original flavor hasn't been deleted?16:15
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599916:20
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Re-add functional tests on flavor content  https://review.opendev.org/68676516:20
mordredefried: no - I mean until ksa releases we're still on the old mv16:20
efriedugh16:20
efriedbut... that's okay because of the dep?16:21
mordredefried: 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 payload16:21
efriedoh16:21
efriedthe dep is backwards16:21
mordredlike - it's impossible in the real world16:21
efriedcan we tell whath mv we used?16:21
efried(not that I think we necessarily should, just wondering)16:21
mordredmaybe? actually - I don't think there is a good way to do that right now16:22
mordredbut - we could potentially cook something up16:22
efriedmordred: 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:24
mordredcmorpheus: responded - my answer is sort of an existential one ...16:26
mordredefried: yeah. perhaps that followup makes the weird sequence a little clearer - or not :)16:27
efriedmordred: +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:27
mordredefried: yeah - I'll respin it once ksa releases - and will fix the l-c thing then too16:28
efried++16:28
mordredagree on the voice16:28
efriedThanks for working through this mess mordred16:29
cmorpheusmordred: lol16:30
mordredefried: likewise. this would have bit someone more unexpectedly at some point - at least now it comes with a release note16:32
*** goldyfruit_ has quit IRC16:32
*** e0ne has quit IRC16:32
cmorpheusmordred: are you wanting to release both of these today? today as in friday? friday the week before final RCs?16:33
mordredcmorpheus: no - I think we figured out earlier today that we do not need to rush a fix out the door16:33
cmorpheusokay awesome16:33
mordredthey've got a workaround for it in cyborg16:33
mordredso I'm thinking point release post release :)16:33
efriedwhereupon the version numbers in the renos will need to be changed in the backports16:34
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Fetch discovery documents with auth when needed  https://review.opendev.org/68504216:36
*** cdent has quit IRC16:39
*** goldyfruit_ has joined #openstack-sdks16:39
*** zbr|ruck has quit IRC16:39
openstackgerritMerged openstack/openstacksdk master: Use has_service in functional test's require_service  https://review.opendev.org/68599516:42
*** goldyfruit_ has quit IRC16:46
*** zbr has joined #openstack-sdks16:51
*** jangutter has quit IRC16:56
*** jpena is now known as jpena|off17:08
*** mriedem_lunch is now known as mriedem17:51
*** efried has quit IRC17:56
*** efried has joined #openstack-sdks17:58
*** gtema has joined #openstack-sdks17:58
*** gtema has quit IRC18:02
*** zbr has quit IRC19:46
*** e0ne has joined #openstack-sdks19:50
*** bverschueren_ is now known as bverschueren19:54
*** e0ne has quit IRC20:09
*** slaweq has quit IRC20:59
*** enriquetaso has quit IRC21:01
*** tosky has joined #openstack-sdks21:31
*** goldyfruit_ has joined #openstack-sdks21:38
openstackgerritMerged openstack/openstacksdk master: Fix server for later microversion  https://review.opendev.org/68599921:44
*** mriedem has quit IRC21:47
*** goldyfruit_ has quit IRC22:04
*** goldyfruit_ has joined #openstack-sdks22:07
*** slaweq has joined #openstack-sdks22:11
*** slaweq has quit IRC22:16
*** slaweq has joined #openstack-sdks23:11
*** slaweq has quit IRC23:16
*** tosky has quit IRC23:39

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!