Wednesday, 2021-03-24

*** mlavalle has quit IRC00:03
*** tosky has quit IRC00:09
*** zhanglong has joined #openstack-nova00:41
*** macz_ has joined #openstack-nova00:42
*** macz_ has quit IRC00:47
*** rouk has quit IRC01:23
*** rcernin has quit IRC01:34
*** rcernin has joined #openstack-nova01:45
*** rcernin has quit IRC01:46
*** rcernin has joined #openstack-nova01:46
*** LinPeiWen2 has joined #openstack-nova02:19
*** sapd1 has joined #openstack-nova02:36
*** tamas_erdei has joined #openstack-nova02:37
*** terdei has quit IRC02:39
*** tamas_erdei has quit IRC02:42
*** pawan-gupta has joined #openstack-nova02:45
*** rcernin has quit IRC02:45
*** zhanglong has quit IRC02:48
*** sapd1 has quit IRC02:56
*** rcernin has joined #openstack-nova02:57
*** rcernin has quit IRC02:57
*** rcernin has joined #openstack-nova02:58
*** hemanth_n has joined #openstack-nova03:15
*** zhanglong has joined #openstack-nova03:20
*** whoami-rajat has joined #openstack-nova03:31
*** rcernin has quit IRC03:31
*** rcernin has joined #openstack-nova03:38
openstackgerritRico Lin proposed openstack/nova master: [Arm64] Makesure read bytes from jason files  https://review.opendev.org/c/openstack/nova/+/78263403:40
*** zhanglong has quit IRC03:46
*** rcernin has quit IRC03:52
*** rcernin has joined #openstack-nova03:52
*** rcernin has quit IRC03:53
*** rcernin has joined #openstack-nova03:54
*** links has joined #openstack-nova04:20
*** jamesdenton has quit IRC04:30
*** jamesden_ has joined #openstack-nova04:31
*** macz_ has joined #openstack-nova04:41
*** vishalmanchanda has joined #openstack-nova04:42
*** macz_ has quit IRC04:46
*** ratailor has joined #openstack-nova04:49
*** jamesden_ has quit IRC04:55
*** jamesdenton has joined #openstack-nova04:55
*** macz_ has joined #openstack-nova05:02
*** macz_ has quit IRC05:06
*** Techy2493 has joined #openstack-nova05:27
*** jamesdenton has quit IRC05:32
*** zhanglong has joined #openstack-nova05:36
openstackgerritJosephine Seifert proposed openstack/nova stable/train: Add config parameter 'live_migration_scheme' to live migration with tls guide  https://review.opendev.org/c/openstack/nova/+/78243005:38
*** Luzi has joined #openstack-nova05:40
*** jamesdenton has joined #openstack-nova05:40
*** Techy2493 has quit IRC05:44
*** jamesdenton has quit IRC05:52
*** psachin has joined #openstack-nova05:53
*** jamesdenton has joined #openstack-nova05:53
*** jraju__ has joined #openstack-nova06:00
*** links has quit IRC06:00
*** psachin has quit IRC06:01
*** gokhani has joined #openstack-nova06:03
*** fnordahl has joined #openstack-nova06:10
*** ralonsoh has joined #openstack-nova06:38
*** martinkennelly has quit IRC06:49
*** dklyle has quit IRC06:49
*** psachin has joined #openstack-nova06:51
*** martinkennelly has joined #openstack-nova06:51
openstackgerritRico Lin proposed openstack/nova master: [Arm64] Makesure read bytes from jason files  https://review.opendev.org/c/openstack/nova/+/78263407:00
*** lpetrut has joined #openstack-nova07:06
openstackgerritRico Lin proposed openstack/nova master: [Arm64][libvirt] Fix read bytes from jason files  https://review.opendev.org/c/openstack/nova/+/78263407:13
ricolinstephenfin, I created a bug for the arm64 bionic issue here https://bugs.launchpad.net/nova/+bug/192107307:14
openstackLaunchpad bug 1921073 in OpenStack Compute (nova) "[arm64][libvirt] firmware metadata files not found for arm64 on ubuntu 18.04" [Undecided,New]07:14
ricolinAlso launchpad and patch for focal arm64 libvirt issue I mentioned in https://review.opendev.org/c/openstack/nova/+/78121007:15
ricolinhttps://review.opendev.org/c/openstack/nova/+/78263407:15
*** cgoncalves has quit IRC07:18
ricolinstephenfin, gibi bauzas kashyap takashin lyarwood ^^^07:19
*** cgoncalves has joined #openstack-nova07:20
*** cgoncalves has quit IRC07:20
*** cgoncalves has joined #openstack-nova07:21
*** csatari has quit IRC07:25
*** csatari has joined #openstack-nova07:28
*** zhanglong has quit IRC07:32
*** mkrai has joined #openstack-nova07:33
*** martinkennelly has quit IRC07:40
*** mkrai has quit IRC07:55
*** mkrai_ has joined #openstack-nova07:55
*** luksky has joined #openstack-nova07:55
*** khomesh24 has joined #openstack-nova08:00
*** rcernin has quit IRC08:09
*** andrewbonney has joined #openstack-nova08:12
*** mkrai_ has quit IRC08:14
*** rpittau|afk is now known as rpittau08:19
*** mkrai has joined #openstack-nova08:19
*** ricolin has quit IRC08:27
*** ricolin has joined #openstack-nova08:32
*** dtantsur|afk is now known as dtantsur08:32
*** hrw has joined #openstack-nova08:32
hrwmorning08:32
hrwdoes anyone uses nova on Debian 'buster'?08:33
hrwI am trying to get it working again in Kolla. so far updated libvirt and libvirt-python to 7.0.0, installed 2020.05 qemu-efi-aarch64 firmware. This gave me nova passing further.08:34
*** gokhani has quit IRC08:36
ricolinhrw, do you facing the same issue as I'm on Ubuntu 'bionic'?  https://bugs.launchpad.net/nova/+bug/192107308:38
openstackLaunchpad bug 1921073 in OpenStack Compute (nova) "[arm64][libvirt] firmware metadata files not found for arm64 on ubuntu 18.04" [Undecided,New]08:38
*** gokhani has joined #openstack-nova08:40
hrwricolin: do yourself a favor. move to 20.0408:40
hrwricolin: I solved that problem with qemu-efi-aarch64 from buster-backports08:40
*** tosky has joined #openstack-nova08:41
ricolinhrw, already moved and it works with 20.04 (https://review.opendev.org/c/openstack/devstack/+/708317)08:45
hrwhttps://paste.debian.net/1190776/ is where I am now08:47
ricolinhrw, for that case, I think this fix works https://review.opendev.org/c/openstack/nova/+/78263408:49
*** rcernin has joined #openstack-nova08:52
*** khomesh24 has quit IRC08:54
hrwhm. need to install with nova in developer mode then08:55
*** lucasagomes has joined #openstack-nova08:55
*** derekh has joined #openstack-nova08:56
*** rcernin has quit IRC08:57
kashyapsean-k-mooney: My internet connection last evening was super flaky here (they were, and still are, reworking roads here).08:57
hrwricolin: thanks.08:58
hrwredeploying now08:58
kashyapricolin: Is this the one that was breaking the AArch64 CI?08:58
ricolinhrw, I'm now looking at issue with delete volume backups in https://zuul.opendev.org/t/openstack/build/22b514f0bb2041d9b744cc0b37df8bf908:59
ricolinkashyap, yes08:59
hrwricolin: step by step. I first want to get something running.09:00
*** khomesh24 has joined #openstack-nova09:00
hrwalready have 3 patches in kolla queue to get to current state ;D09:01
*** vishalmanchanda has quit IRC09:01
kashyapricolin: The "rb" --> read and binary, yeah?09:01
hrwmgoddard: yes09:02
hrwkashyap: yes09:02
ricolinhrw, will check your kolla patches, maybe I'm facing same issues you ware faced!09:02
ricolinkashyap, yes as hrw said:)09:02
*** abhishekk is now known as abhishekk|away09:03
mgoddardhrw: me?09:03
ricolinread and make all output from file in binary mode09:03
hrwmgoddard: sorry09:03
kashyaphrw: ricolin: Nice debugging.  It's the Python-3 only thing, I guess?09:03
*** macz_ has joined #openstack-nova09:04
hrwkashyap: I would say that it is old open() behaviour but maybe I am too long in py309:04
hrwanyway it is probably usual bytes != chars thing09:05
*** ociuhandu has joined #openstack-nova09:06
*** brinzhang has quit IRC09:07
*** rcernin has joined #openstack-nova09:08
*** macz_ has quit IRC09:09
*** ociuhandu has quit IRC09:10
*** ociuhandu has joined #openstack-nova09:17
*** dtantsur has quit IRC09:22
*** ociuhandu has quit IRC09:22
*** dtantsur has joined #openstack-nova09:26
bauzasstephenfin: dansmith: lyarwood: I'm a bit afraid of loosing the RPC API bump merge to be in Xena, could you please look at this one ?09:26
*** mkrai has quit IRC09:26
bauzascontext :  https://review.opendev.org/c/openstack/nova/+/76145209:27
*** ociuhandu has joined #openstack-nova09:27
*** dtantsur has quit IRC09:28
*** mkrai has joined #openstack-nova09:28
*** dtantsur has joined #openstack-nova09:30
*** brinzhang has joined #openstack-nova09:30
*** zhanglong has joined #openstack-nova09:30
*** rcernin has quit IRC09:32
*** dtantsur has quit IRC09:36
*** ociuhandu has quit IRC09:36
hrwricolin: https://review.opendev.org/c/openstack/nova/+/782634 got me closer ;D09:37
hrwnow it is at: 2021-03-24 10:36:23.905 7 ERROR nova.compute.manager [instance: ef71de37-1a2b-4f60-9fb4-d5942ffe7fc4] libvirt.libvirtError: unable to open '/sys/fs/cgroup/machine/qemu-1-instance-00000002.libvirt-qemu/': No such file or directory09:37
*** dtantsur has joined #openstack-nova09:38
hrwricolin: +109:39
*** sapd1 has joined #openstack-nova09:40
*** vishalmanchanda has joined #openstack-nova09:42
*** ociuhandu has joined #openstack-nova09:42
*** ociuhandu has quit IRC09:48
*** zhanglong has quit IRC09:53
*** rcernin has joined #openstack-nova09:57
*** ociuhandu has joined #openstack-nova10:01
*** rcernin has quit IRC10:02
*** ociuhandu has quit IRC10:02
*** ociuhandu has joined #openstack-nova10:03
*** brinzhang_ has joined #openstack-nova10:03
*** brinzhang has quit IRC10:06
*** rcernin has joined #openstack-nova10:12
*** rcernin has quit IRC10:22
*** jangutter_ has joined #openstack-nova10:24
*** jangutter has quit IRC10:27
*** mkrai has quit IRC10:45
*** ociuhandu has quit IRC10:46
gibifyi, there is an intermittent unit test failure in the gate since https://review.opendev.org/c/openstack/nova/+/733627 merged. https://bugs.launchpad.net/nova/+bug/192109810:47
openstackLaunchpad bug 1921098 in OpenStack Compute (nova) "test_init_application_called_twice unit test fails intermittently" [High,Triaged] - Assigned to Balazs Gibizer (balazs-gibizer)10:47
*** ociuhandu has joined #openstack-nova10:47
gibiI'm will push a patch soon10:47
*** ociuhandu has quit IRC10:54
*** rcernin has joined #openstack-nova11:01
*** ociuhandu has joined #openstack-nova11:01
*** rcernin has quit IRC11:01
*** mgariepy has quit IRC11:03
*** rcernin has joined #openstack-nova11:04
*** ociuhandu has quit IRC11:07
*** brinzhang0 has joined #openstack-nova11:08
openstackgerritBalazs Gibizer proposed openstack/nova master: Reset global wsgi app state in unit test  https://review.opendev.org/c/openstack/nova/+/78269111:08
gibistephenfin, lyarwood, bauzas: could you hit it please ^^ ?11:10
*** brinzhang_ has quit IRC11:12
gibilyarwood, stephenfin if you know how to make it nicer then a follow up is appreciated https://review.opendev.org/c/openstack/nova/+/779446/1/doc/source/admin/hw-machine-type.rst#2611:16
stephenfingibi: done11:17
*** ociuhandu has joined #openstack-nova11:18
lyarwoodaaaaaand done11:18
lyarwoodstephenfin: I'll sort that machine type doc issue out now11:18
* lyarwood was sure he built and checked this locally11:19
stephenfinlyarwood: It's not you - it's the theme11:20
stephenfinThere's a <div> with multiple <p> elements inside. The <p> elements are getting styled instead of the <div>11:20
stephenfingibi:11:21
gibilyarwood, stephenfin : if it cannot be fixed then fine :)11:23
gibibtw, I have a micro nit also in https://review.opendev.org/c/openstack/nova/+/779479/3/nova/api/openstack/compute/rest_api_version_history.rst#113811:23
gibiand thanks for the review on the unit test fix11:24
gibi:)11:24
* gibi now goes through stephen's doc patches11:24
lyarwoodgibi: kk I can respin that11:25
lyarwoodah nvm it's in the gate11:27
gibiyeah, it is totally OK not to fix it11:27
gibiI just wanted to note that the anchor generation works differently if the label starts with a number11:27
gibiso we should prefer labels starting with a nonnumber for stable achors11:27
gibibut this one will work for the case you added it11:28
gibias the anchor and the ref is in the same doc11:28
gibiand sphinx magic helps11:28
lyarwoodit's in a different doc?11:28
gibiit is generated by the same single sphinx run so the anchor is resolved properly11:31
gibibut externally (ie, from the python-novaclient docs) you would need to refer to the numeric id of the ancor 'id80' but that is not stable11:31
gibisphinx generates proper labelled achnors if the label starts with a nonnumber11:32
lyarwoodkk11:32
*** ociuhandu has quit IRC11:33
openstackgerritLee Yarwood proposed openstack/nova master: doc: Use a non-numerical anchor when referencing microversions  https://review.opendev.org/c/openstack/nova/+/78269611:33
*** sapd1 has quit IRC11:37
*** macz_ has joined #openstack-nova11:41
*** macz_ has quit IRC11:45
*** mgariepy has joined #openstack-nova11:57
*** rcernin has quit IRC11:58
*** macz_ has joined #openstack-nova12:01
*** ociuhandu has joined #openstack-nova12:03
*** ociuhandu has quit IRC12:04
*** ociuhandu has joined #openstack-nova12:05
*** ociuhandu has quit IRC12:05
*** macz_ has quit IRC12:06
*** rcernin has joined #openstack-nova12:06
openstackgerritRico Lin proposed openstack/nova master: [Arm64][libvirt] Fix read bytes from json files  https://review.opendev.org/c/openstack/nova/+/78263412:10
*** ociuhandu has joined #openstack-nova12:11
hrwcan someone point me to doc about how nova/libvirt create cgroupv2 dirs?12:13
*** rcernin has quit IRC12:22
*** ociuhandu has quit IRC12:23
openstackgerritLee Yarwood proposed openstack/nova master: doc: Use a non-numerical anchor when referencing microversions  https://review.opendev.org/c/openstack/nova/+/78269612:26
*** hemanth_n has quit IRC12:31
*** owalsh has quit IRC12:32
*** ociuhandu has joined #openstack-nova12:32
*** ratailor has quit IRC12:33
lyarwoodhttps://review.opendev.org/q/topic:bug/1917619 & https://review.opendev.org/q/topic:bug/1919487 could use reviews if anyone has bandwidth this week btw12:35
* lyarwood needs to drop for a few hours for childcare12:35
lyarwoodgibi / stephenfin ; https://review.opendev.org/c/openstack/nova/+/768466 also this that gets us closer to finally closing out our migration to native zuulv3 jobs12:36
lyarwoodit has taken ages to land all the required stuff in devstack and the ceph plugin12:36
* lyarwood really drops this time12:36
stephenfinlyarwood: ack12:37
stephenfinbauzas: Looking at the RPC change now. Can we rename parameters in this change?12:37
*** ociuhandu has quit IRC12:39
*** ociuhandu has joined #openstack-nova12:40
*** sean-k-mooney has joined #openstack-nova12:43
*** psachin has quit IRC12:50
openstackgerritStephen Finucane proposed openstack/nova master: docs: Clarify value for 'hw:cpu_realtime' extra spec  https://review.opendev.org/c/openstack/nova/+/78270812:51
*** ociuhandu has quit IRC12:55
*** martinkennelly has joined #openstack-nova12:58
*** LinPeiWen2 has quit IRC12:59
*** ociuhandu has joined #openstack-nova13:01
*** ociuhandu has quit IRC13:02
*** ociuhandu has joined #openstack-nova13:02
*** macz_ has joined #openstack-nova13:03
*** macz_ has quit IRC13:08
*** brinzhang0 has quit IRC13:09
*** jamesdenton has quit IRC13:13
*** jamesdenton has joined #openstack-nova13:13
*** ociuhandu has quit IRC13:16
openstackgerritMerged openstack/nova master: docs: Add version{added,changed} notes to the hw_machine_type guide  https://review.opendev.org/c/openstack/nova/+/77944613:23
openstackgerritMerged openstack/nova master: docs: Add note about rescuing bfv instances with the 2.87 microversion  https://review.opendev.org/c/openstack/nova/+/77947913:24
*** ociuhandu has joined #openstack-nova13:25
openstackgerritMerged openstack/nova master: Reset global wsgi app state in unit test  https://review.opendev.org/c/openstack/nova/+/78269113:26
openstackgerritMerged openstack/nova master: docs: Add a resource limits guide  https://review.opendev.org/c/openstack/nova/+/78143313:27
*** belmoreira has joined #openstack-nova13:27
*** ociuhandu has quit IRC13:30
*** dansmith has quit IRC13:31
*** tesseract has joined #openstack-nova13:33
*** pawan-gupta has quit IRC13:33
*** ociuhandu has joined #openstack-nova13:35
*** dansmith has joined #openstack-nova13:38
*** ociuhandu has quit IRC13:41
*** ociuhandu has joined #openstack-nova13:53
*** sapd1 has joined #openstack-nova14:00
*** ociuhandu has quit IRC14:04
*** ociuhandu has joined #openstack-nova14:04
bauzasstephenfin: whoops, just saw your question14:18
bauzasstephenfin: please, don't ask to change the instance_type for my change14:19
bauzasI know about this fact, but changing the parameter for this change is not related to the needed behaviour ?14:19
bauzasright?14:19
*** owalsh has joined #openstack-nova14:29
bauzasstephenfin: actually, I do understand your concern14:30
bauzasproblem is, changing this param name would also need to modify the rpcapi module14:31
bauzasand then the tests...14:31
bauzassomething saying : if ver==6.0: <use flavor for the param name>; <use instance_type>14:32
dansmithI understand the desire for consistency,14:32
dansmithbut it's pretty late to be changing that, and it's been that way since forever14:32
dansmithso I'm pretty meh about it, as you might expect :)14:32
*** ociuhandu has quit IRC14:33
bauzasyeah :(14:33
bauzasI honestly haven't thought about changing this before14:34
bauzasand the fact I was redefining what would be the compute RPC14:34
bauzasI just looked at what was changed14:34
bauzasand now, looks like it's difficult for me to do it as we would need to change a lot of stuff here14:35
dansmiththe client can look at the version to determine which param to send, and the v5 proxy can just convert the old to the new14:35
dansmithI don't really know how much test damage there will be, since those usually dispatch positionally14:35
dansmithbut I just think it's pretty late to jam that in here14:35
*** lpetrut has quit IRC14:39
bauzasdansmith: surely, I'm not saying this is impossible14:40
bauzasdansmith: just the fact that the ship mostly sailed14:41
bauzasand yes, this would mean the client would have to pass different arguments based on the version it discovers14:41
bauzassomething we usually do14:41
bauzasbut something we need to amend tests as well14:41
dansmithyeah14:41
bauzasdansmith: we could tho deprecate instance_type in a 6.1 and pass a new arg named flavor, right?14:42
bauzasso, later with 7.0, we would just get rid of the deprecated instance_type14:42
sean-k-mooneygiven this is internal an we all know that instance_type is the flavor14:43
sean-k-mooneyim not sure there is much gain form that14:43
dansmithbauzas: that's a bad idea, IMHO14:43
sean-k-mooneybut we could i guess14:43
dansmithsean-k-mooney: I agree, this is not a huge deal14:43
*** Luzi has quit IRC14:43
bauzasdansmith: well, that's what we do when we want to rename o.vo fields, nope ?14:43
dansmithsean-k-mooney: we could even docstring it to explain, or just set flavor=instance_type as the first line of the method :)14:43
bauzasdeprecating the old field and adding a new one14:43
sean-k-mooneydansmith: yep14:43
bauzasdansmith: that's the easy part14:44
sean-k-mooneybauzas: am not quite14:44
sean-k-mooneywe do add a new filed14:44
dansmithbauzas: yeah, but you just have to handle both until the next major version.. we usually do that for a _format_ change not just a name change14:44
sean-k-mooneybut we transrom form one to the other14:44
sean-k-mooneywe dont really deprecate14:44
bauzasdansmith: well, you're right, sounds a bit nitty to do this for just a param change14:44
sean-k-mooneywe add support for converting in make compatible so we normally wont set both for example14:45
bauzasbut yeah, in Xena we could s/instance_type/flavor in the inner of the method and just leave the wire unchanged14:45
bauzasstephenfin: does this sound acceptable to you ?14:46
*** mkrai has joined #openstack-nova14:51
*** ociuhandu has joined #openstack-nova14:51
toskymelwitt: hi, do you remember if this workaround can be removed, or at least restricted to queens and rocky (or just queens)? https://opendev.org/openstack/devstack-plugin-ceph/src/branch/master/devstack/plugin.sh#L3314:56
*** ociuhandu has quit IRC14:58
*** dklyle has joined #openstack-nova14:58
*** dklyle has quit IRC14:59
melwitttosky: hm, originally that was only for queens but I see this commit added the master branch https://opendev.org/openstack/devstack-plugin-ceph/commit/39de6df04130cf2f221fb5ba2a9b5ff597de332a so I think you need to ask frickler whether we still need master branch15:04
*** ociuhandu has joined #openstack-nova15:04
*** hack-char has quit IRC15:08
*** ociuhandu has quit IRC15:08
melwittgibi: thanks for finding and fixing the wsgi app unit test bug!15:08
*** macz_ has joined #openstack-nova15:09
*** gokhani has quit IRC15:09
*** macz_ has quit IRC15:09
*** macz_ has joined #openstack-nova15:10
*** hack-char has joined #openstack-nova15:10
*** dklyle has joined #openstack-nova15:10
*** __ministry1 has joined #openstack-nova15:21
*** ociuhandu has joined #openstack-nova15:22
stephenfinbauzas: dansmith: Yeah, that's fine if it's way too much work. With that said, I'm surprised that it _is_ a lot of work. I expected it would just be a shim, and iirc there are only a handful of places where we explicitly set the 'instance_type' kwarg directly in tests15:23
stephenfinI also have a patch ready to replace instance_type everywhere else, if that was a blocker, though making it a dependency might be too much churn15:23
dansmithstephenfin: I'm not sure it is a lot of work, as noted above, but I think bauzas was saying that he tried and a bunch of tests fail15:23
stephenfinIt's really not a big deal, I agree, but I think it's so trivial and we won't have a chance to fix it until 7.0, which it's reasonable to suggest won't ever happen :)15:24
stephenfinAh, that would be fair15:24
* stephenfin looks at the patch to replace references elsewhere and sees what happens15:25
dansmithstephenfin: it's just not a big enough deal to justify the uncertainty at this point to me15:25
gibimelwitt: I saw it failing today and remembered that there was a recent change in the wsgi_app15:26
dansmithit's just internal developer-only cleanliness and just isn't that important, I think is the assertion the three of us are making above15:26
melwittgibi: u rock :)15:26
gibi:)15:26
dansmithbut it's bauzas' baby, so whatever he wants to do, IMHO15:26
*** ociuhandu has quit IRC15:26
bauzasstephenfin: well, again, I'm not saying it's impossible to do15:29
*** stand has joined #openstack-nova15:29
bauzasstephenfin: but in order to change the param name, we need to also modify the RPC client to provide the right name between the versions15:30
bauzasand if so, we need to write tests15:30
bauzas(and change some tests which would pass the original name directly)15:30
stephenfinIf it helps, I count 7 existing tests we'd need to change15:30
bauzasstephenfin: my only concern is the time15:31
dansmithbauzas: yeah, also the new tests, for sure15:31
bauzasRC1 is tomorrow15:31
bauzasand we can't merge later if we want this for Wallaby15:31
stephenfinack, okay that is super close15:33
toskymelwitt: thanks, will do; I suspect master is not affected (we switched to focal since then, and probably ceph version), but let's see15:33
melwittack, sounds cool15:33
bauzasstephenfin: but again, your concern is valid15:36
bauzaswhat we can do for Xena is at least to change the var name within the methods15:36
bauzasand just keep this ugly param name as it is15:37
bauzasuntil we cut a new RPC version15:37
bauzasbut writing a good fat comment above the method explaining that 7.0 should change this param would also help to not miss the target again15:37
*** mlavalle has joined #openstack-nova15:39
gibilyarwood: I have a question/suggestion in https://review.opendev.org/c/openstack/nova/+/781138/4/nova/compute/api.py#549515:46
*** markmcclain has joined #openstack-nova15:53
openstackgerritGhanshyam proposed openstack/nova master: DNM: testing tempest  https://review.opendev.org/c/openstack/nova/+/78279815:54
*** tbachman has quit IRC15:57
openstackgerritStephen Finucane proposed openstack/nova master: DNM: Rename 'instance_type' parameter  https://review.opendev.org/c/openstack/nova/+/78280415:58
stephenfinbauzas: ^ I can change my vote if you _really_ don't want to do this, but fwict that's all we need ^15:59
*** tbachman has joined #openstack-nova15:59
stephenfinI couldn't find an example of a good test to make sure the calls are translated. I could do a simple mock of the v6 method and use 'assert_called_with', but we don't use named kwargs in the v5 proxy so there isn't really anything to check16:00
bauzasstephenfin: first thing, you'd need to rebase your change on top of my RPC bump so we would also need to modify the 5.0 proxy to pass the right arg name16:00
stephenfindid I not do that?16:00
* stephenfin looks16:00
stephenfinyeah, it's on top of your change already16:01
bauzasoh16:01
bauzassorry, missed this16:01
bauzasbut,16:01
bauzaswe need to pass the right arg within the 5.0 proxy16:01
stephenfinsee above - you're doing that already16:01
dansmiththe client needs to pass a different arg for 5.x16:02
bauzaslike https://review.opendev.org/c/openstack/nova/+/782804/1/nova/compute/manager.py#1070616:02
dansmithand we need a test for both modes16:02
stephenfinaha, gotcha. Sec16:02
bauzasstephenfin: we call the 6.0 method within the 5.0 proxy one16:02
lyarwoodgibi: yup good point, it's always provided by c-vol but yeah it isn't required in the api so .get() is safer16:02
bauzasso, instance_type should be transformed into flavor16:02
bauzaswithin the proxty16:03
*** ociuhandu has joined #openstack-nova16:03
gibilyarwood: if it is always provided then we should document it in our API ref16:03
bauzasstephenfin: and then we would need to test the API versioning16:03
dansmithbauzas: and the client needs the same, based on the version pin16:03
bauzasyup16:03
bauzashttps://review.opendev.org/c/openstack/nova/+/782804/1/nova/compute/rpcapi.py#96316:03
bauzaswe should say s/t like "if not can_send(6.0): instance_type = flavor16:04
dansmithno, you can't do that,16:04
bauzasand then pass instance_type instead of flavor16:04
dansmithbecause it'll break if we introduce a 6.116:04
dansmithit needs to check the first digit I think16:04
bauzasoh yea16:04
bauzassorry16:04
bauzasindeed16:04
bauzaswe would only pin the change to 6.016:05
bauzasbut yeah16:05
dansmithfor now, but then we have to fix that immediately before the next RPC minor or we'll start sending the 5.x version for 6.1, so I think we need to be more careful16:05
* bauzas looks at how to check this16:05
lyarwoodgibi: I can do that in a fup but I think that would be a microversion bump right?16:05
openstackgerritStephen Finucane proposed openstack/nova master: WIP: Convert client also  https://review.opendev.org/c/openstack/nova/+/78281016:06
stephenfindansmith: like that? (need tests obv) ^16:06
gibilyarwood: if it is already provided and we are not rejecting it then it is a bug in the API ref16:06
bauzasdansmith: right, and 7.0 bump could also just support 6.y where y>116:06
gibiI guess we are not really enforcing schema on that api16:06
gibilyarwood: it is totally OK to fix the API ref separately16:06
gibilater16:06
lyarwoodkk16:06
openstackgerritLee Yarwood proposed openstack/nova master: compute: Reject requests to commit intermediary snapshot of an inactive instance  https://review.opendev.org/c/openstack/nova/+/78113816:07
bauzasstephenfin: no, for the reason dansmith mentioned16:07
bauzaswe can't only accept 6.016:07
dansmithbauzas: well, I might be wrong about that in this case, I was kinda thinking of it differently16:07
dansmithI guess this works because can_send_version(6.0) will be true even once we move to 6.116:08
stephenfinwell then weren't we doing that already?16:08
stephenfincurrently we're passing version=5.116:08
bauzasdansmith: not if we bumped 7.0 and we only support 6.5 and later (per say)16:08
dansmithbauzas: yeah, but this will all be removed before we'd bump to 7,16:09
dansmithI was worried about the version calculus for 6.x where x>0 not 716:09
stephenfinso we'd have to change that if we added a 6.x that affected that method16:09
bauzasstephenfin: no, we pass either 6.0, 5.1 or 5.0 depending on the server16:10
dansmith*depending on the pin16:10
bauzasright16:10
stephenfincctxt = client.prepare(server=host, version=version)16:10
bauzasthat's the client version16:10
stephenfinoh, I '_ver' is doing the magic16:10
bauzasnot the service version we discover based on the pin16:11
stephenfin*the '_ver' method16:11
bauzasthe _ver method is temporary16:11
bauzasjust to avoid reproducing dumb checks16:12
bauzasthat's the pattern we used in the past bumps and I shamelessly reproduced it16:12
dansmithpatterns are good :)16:13
bauzasprovided people understand them.16:13
dansmithstephenfin: you also want to change the client signature to use flavor too, I'm sure16:14
stephenfinI don't think so. Not yet16:14
stephenfinKeep it small16:14
dansmithwhy?16:14
stephenfinThat's v. easy fix in a follow-up16:14
stephenfinI mean I can but it's more test damage16:15
bauzasright16:15
dansmithwell, that's the point here16:15
bauzassome methods pass kwargs16:15
bauzasthen, you're dommed16:15
bauzasdoomed*16:15
dansmitheither we're going for consistency or we aren't right?16:15
stephenfin*eventual consistency16:18
stephenfinI can change the other things whenever. I can only change this right now16:18
*** tbachman_ has joined #openstack-nova16:18
stephenfinand I have the follow-up ready. I just don't think it's wise to merge it right now since it's huge16:18
*** tesseract has quit IRC16:18
*** tbachman has quit IRC16:19
*** tbachman_ is now known as tbachman16:19
dansmithwell, my opinion is that this is all just naming and not useful for paying down any real debt (like deprecated parameters) so I'd vote to just punt on it anyway16:21
*** mgariepy has quit IRC16:21
*** gyee has joined #openstack-nova16:23
bauzasthe other problem I see is with the gate16:24
bauzasgetting at least a grenade-multinode result16:24
dansmithfor sure we need to see and scrutinize a grenade-multinode result at least16:24
bauzasthe good thing is that both prep_resize and resize_instance() are tested IIRC16:25
*** ociuhandu has quit IRC16:26
bauzasI have to stop now as I need to taxi my daughter to some doctor's appointment16:31
bauzasbut I can be back later on in the evening16:31
*** hamalq has joined #openstack-nova16:32
* bauzas rushes off16:35
openstackgerritStephen Finucane proposed openstack/nova master: DNM: Rename 'instance_type' parameter  https://review.opendev.org/c/openstack/nova/+/78280416:36
*** __ministry1 has quit IRC16:38
*** dtantsur is now known as dtantsur|brb16:43
openstackgerritStephen Finucane proposed openstack/nova master: rpc: Rename 'instance_type' client argument  https://review.opendev.org/c/openstack/nova/+/78282516:48
*** masterpe has quit IRC16:48
stephenfindansmith: A'ight, there's the client change ^ Pretty simple after all. I think I'd still keep it separate but we could squash it in if we wanted to16:48
stephenfinAlso, for the previous patch, there doesn't appear to have been a test for backleveling of 'prep_resize' so we might want to adding that as a follow-up even if we don't do this (it seems to be working fine, thankfully, based on the test)16:49
stephenfinI realize it doesn't ultimately matter, but when it's this easy I really do think we should be including this. It'd mean we're just left with some DB/o.vo references to instance types. I could live with those16:50
*** masterpe has joined #openstack-nova16:51
*** mkrai has quit IRC16:51
*** ociuhandu has joined #openstack-nova16:52
*** ociuhandu_ has joined #openstack-nova16:57
*** hack-char has quit IRC17:00
*** khomesh24 has quit IRC17:00
*** ociuhandu has quit IRC17:00
*** ociuhandu_ has quit IRC17:01
*** hack-char has joined #openstack-nova17:01
*** mgariepy has joined #openstack-nova17:06
*** ociuhandu has joined #openstack-nova17:07
*** hack-char has quit IRC17:07
*** lucasagomes has quit IRC17:08
*** hack-char has joined #openstack-nova17:09
*** ociuhandu has quit IRC17:11
*** khomesh24 has joined #openstack-nova17:22
*** rpittau is now known as rpittau|afk17:24
*** jraju__ has quit IRC17:29
stephenfinoh, lovely http://paste.openstack.org/show/803882/17:57
stephenfincreating a resource provider on placement with a duplicate name results in a HTTP 5xx17:58
melwittamazed that hasn't been hit until now17:59
stephenfinYou and me both. That's super dumb17:59
melwitthehehe18:00
stephenfinI won't be able to work on it today, but if anyone else has time the simple reproducer is to use microversion 1.20 and create a resource provider specifying only the name18:00
stephenfinnope, don't even need the microversion18:01
stephenfin$ openstack resource provider create foo; openstack resource provider create foo18:01
stephenfindelightful18:01
melwitt:)18:01
melwittthat'd be easy to add to the gabbits I think18:02
*** jamesdenton has quit IRC18:04
*** jamesdenton has joined #openstack-nova18:05
stephenfinfor sure18:05
stephenfinI'll take a look tomorrow, no doubt18:05
melwittkewl18:05
*** andrewbonney has quit IRC18:12
*** rcernin has joined #openstack-nova18:19
*** khomesh24 has quit IRC18:21
*** rcernin has quit IRC18:23
*** dtantsur|brb is now known as dtantsur18:33
*** Techy2493 has joined #openstack-nova18:45
sean-k-mooneywe defintly have hit duplicte RPs before18:55
sean-k-mooneybut i tough that gave you a 4XX error18:55
sean-k-mooneyyou get this if you rename a compute node and change its hostname or you delete the compute service and its created with a different uuid18:56
sean-k-mooneysorry only the later case has the name conflcit18:56
sean-k-mooneywhere you keep the same compute node hostname but delete the compute service and let it get recteated18:56
sean-k-mooneythe compute service uuid change but the RP name will be the same18:57
sean-k-mooneystephenfin: melwitt  we have test for that in placment already i think https://github.com/openstack/placement/blob/master/placement/tests/functional/gabbits/resource-provider-duplication.yaml18:58
sean-k-mooneyhttps://github.com/openstack/placement/blob/master/placement/tests/functional/gabbits/resource-provider-duplication.yaml#L30-L3718:59
sean-k-mooneysame name different uuid18:59
sean-k-mooneystephenfin: it shoudl return a 409 ^18:59
sean-k-mooneystephenfin: those test are 4 years old too18:59
sean-k-mooneyso something else is going on19:00
sean-k-mooneyhttps://bugs.launchpad.net/nova/+bug/169334919:00
openstackLaunchpad bug 1693349 in OpenStack Compute (nova) "trying to create a resource provider with an already in use uuid causes misleading error" [Low,Fix released] - Assigned to Chris Dent (cdent)19:00
*** Techy2493 has quit IRC19:01
sean-k-mooneystephenfin: fixed by https://review.opendev.org/c/openstack/nova/+/468928/19:02
sean-k-mooneystephenfin: where did you get that failure form ?19:02
sean-k-mooneyit was fixxed in nova in queens before placment was split out19:03
*** ralonsoh has quit IRC19:07
*** dtantsur is now known as dtantsur|afk19:08
*** terdei has joined #openstack-nova19:46
*** belmoreira has quit IRC20:14
*** tbachman has quit IRC20:18
*** tbachman has joined #openstack-nova20:31
openstackgerritErik Olof Gunnar Andersson proposed openstack/nova stable/rocky: Use subqueryload() instead of joinedload() for (system_)metadata  https://review.opendev.org/c/openstack/nova/+/76181320:41
*** ociuhandu has joined #openstack-nova20:43
*** ociuhandu has quit IRC20:48
*** jamesdenton has quit IRC20:52
*** jamesden_ has joined #openstack-nova20:52
*** hamalq has quit IRC20:59
*** hamalq has joined #openstack-nova21:00
*** rcernin has joined #openstack-nova21:01
*** rcernin has quit IRC21:01
*** rcernin has joined #openstack-nova21:02
*** tbachman has quit IRC21:06
*** jangutter has joined #openstack-nova21:22
*** jamesden_ has quit IRC21:25
*** jamesdenton has joined #openstack-nova21:25
*** jangutter_ has quit IRC21:25
melwittlyarwood: can't remember if I've linked you this gate bug I opened semi recently so if I didn't, fyi https://bugs.launchpad.net/openstack-gate/+bug/191992021:26
openstackLaunchpad bug 1919920 in OpenStack-Gate "volume related tests sometimes fail with "Could not open '/dev/sdb': Permission denied" on stable/(ussuri|train|stein)" [Undecided,New]21:26
melwittseeing it on stable21:27
*** Techy2493 has joined #openstack-nova22:06
*** rcernin has quit IRC22:11
*** rcernin has joined #openstack-nova22:26
*** whoami-rajat has quit IRC22:30
*** rcernin has quit IRC22:31
*** rcernin has joined #openstack-nova22:32
*** ganso has quit IRC22:41
*** vishalmanchanda has quit IRC22:41
*** ganso has joined #openstack-nova22:44
*** Techy2493 has quit IRC23:00
*** slaweq has quit IRC23:02
*** macz_ has quit IRC23:15
*** stand has quit IRC23:20
*** jamesdenton has quit IRC23:32
*** jamesdenton has joined #openstack-nova23:34
*** gyee has quit IRC23:35
*** tbachman has joined #openstack-nova23:37
*** Underknowledge has quit IRC23:40
*** efried has quit IRC23:48
*** Underknowledge has joined #openstack-nova23:51
*** Underknowledge has quit IRC23:54
*** Underknowledge has joined #openstack-nova23:54
*** Underknowledge has quit IRC23:59
*** Underknowledge has joined #openstack-nova23:59

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!