Thursday, 2022-10-27

opendevreviewmelanie witt proposed openstack/nova master: Add mock to avoid loading guestfs in unit test  https://review.opendev.org/c/openstack/nova/+/86276902:26
*** dasm|rover is now known as dasm|off03:50
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova master: compute: enhance compute evacuate instance to support target state  https://review.opendev.org/c/openstack/nova/+/85838308:12
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova master: api: extend evacuate instance to support target state  https://review.opendev.org/c/openstack/nova/+/85838408:12
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova-specs master: spec: allowing target state for evacuate  https://review.opendev.org/c/openstack/nova-specs/+/85783808:19
opendevreviewBalazs Gibizer proposed openstack/nova master: Reproduce PCI pool filtering bug  https://review.opendev.org/c/openstack/nova/+/85564908:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Strictly follow placement allocation during PCI claim  https://review.opendev.org/c/openstack/nova/+/85565008:56
opendevreviewBalazs Gibizer proposed openstack/nova master: Show candidate combinatorial explosion by dev number  https://review.opendev.org/c/openstack/nova/+/85588508:56
gibibauzas: a procedural question. We have the RFE bug filed for the port route metric support https://bugs.launchpad.net/nova/+bug/1994137 it is a whislist so that part is OK. Should I simply set it to Triaged or we want to discuss it in the next meeting before I set Triaged?09:01
bauzasgibi: no, we agreed on it so Triage it directly ;)09:02
gibiOK.09:02
* bauzas will create other rfe bugs we agreed at the PTG09:02
auniyal_Hi bauzas, gibi, sean-k-mooney 09:04
auniyal_can you please review theses - these are backports09:05
auniyal_09:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86185609:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86185709:05
auniyal_09:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86187109:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86187209:05
auniyal_09:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86260409:05
auniyal_https://review.opendev.org/c/openstack/nova/+/86260309:05
auniyal_09:05
auniyal_mostly clean cherry-pick09:05
amorinhello nova team, when using ovs backend, nova plugs interface in ovs using vif_plug_ovs python module09:35
amorinI was expecting to find the vif_plug_ovs option available in the config reference: 09:36
amorinhttps://docs.openstack.org/nova/latest/configuration/config.html09:36
amorinbut it's not09:36
amorinhttps://github.com/openstack/os-vif/blob/master/vif_plug_ovs/ovs.py#L5409:36
amorinis that normal?09:37
sean-k-mooneyits a know issue09:45
sean-k-mooneyso technically os-vif is not part of nova09:45
sean-k-mooneyto have it incldued in novas docs09:45
bauzasI was about to say it :)09:45
sean-k-mooneywe need to list it in the generation command09:45
bauzasthis is not a middleware we import 09:45
sean-k-mooneysomeone was goign to fix it a while ago09:45
sean-k-mooneyfeel free to if you want09:45
sean-k-mooneybauzas: actully it is09:45
sean-k-mooneybut not in the docs09:46
bauzassean-k-mooney: this is a lazy import ?09:46
sean-k-mooney vif_plug_ovs is import when we init os-vif09:46
bauzascorrect, so a lazy import09:46
sean-k-mooneyits the in tree ovs plugin09:46
bauzashence me wondering how we could generate the config without importing it directly09:47
sean-k-mooneyya but when we generate the config refence we need to list the namespaces to generate09:47
sean-k-mooneyand we dont09:47
bauzaswithout not*09:47
gibiauniyal_: left +2s on the first and left some feedback in https://review.opendev.org/c/openstack/nova/+/86260309:48
sean-k-mooneyamorin: anyway back to yoru question its just a case of we never got aroudn to it09:49
sean-k-mooneyso patches are welcome i was just loking for where to chagne it but i dont rememebr off the top of my head09:50
sean-k-mooneyi think you need to add it here https://github.com/openstack/nova/blob/master/etc/nova/nova-config-generator.conf#L1809:50
bauzashttps://github.com/openstack/nova/blob/master/etc/nova/nova-config-generator.conf09:50
sean-k-mooneyya09:50
amorinack, perfect09:50
bauzasdamn, again, beated09:50
amorinI will try to propose a change then09:50
bauzasamorin: test it locally09:51
bauzasamorin: you have a tox target09:51
sean-k-mooneycan you add all the in tree plugsin so also linux bridge09:51
bauzastox -egenconfig09:51
amorinok09:51
sean-k-mooneythe noop pluging does not have config so you can ignore it09:51
amorinso it's os-vif + linux-bridge09:53
amorinis the list somewhere?09:53
sean-k-mooneyhttps://github.com/openstack/os-vif09:53
sean-k-mooneythere are 3 plugins the vif_plug diretories09:54
sean-k-mooneyand the ovs and linux bridge ones have config options09:54
sean-k-mooneyamorin: this is how the cofnig is regestered https://github.com/openstack/os-vif/blob/master/os_vif/plugin.py#L71-L8909:55
sean-k-mooneythe linux bridge name is https://github.com/openstack/os-vif/blob/b0298b5350f21f858f2bf72c5d18e3019a696514/vif_plug_linux_bridge/constants.py#L1309:57
sean-k-mooneyos os_vif_linux_bridge09:57
sean-k-mooneythat i think will be the namespace you need to list but i have not tried that to see if that is correct or if the namespace shoudl just be os_vif or something like that09:58
darkhorsesean-k-mooney: thank you for responding to the issue that I have reported to launchpad. https://bugs.launchpad.net/nova/+bug/199373610:09
darkhorseI think I did not make clear description there. I have updated the description and put a link to a patchset that I have published.10:10
darkhorseWill you take a look at it when you find a moment?10:11
amorinack, thanks sean-k-mooney 10:12
amorinand bauzas 10:12
auniyal_thanks gibi 10:51
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova-specs master: spec: allowing target state for evacuate  https://review.opendev.org/c/openstack/nova-specs/+/85783811:28
opendevreviewSahid Orentino Ferdjaoui proposed openstack/nova-specs master: spec: allowing target state for evacuate  https://review.opendev.org/c/openstack/nova-specs/+/85783811:44
songwenping_sean-k-mooney: hi, in our Rocky version env, placement integrate with nova, placement-api service comes across this error https://bugs.launchpad.net/nova/+bug/1314554/, and return 500 when call its api. do you have any idea?11:51
sean-k-mooneyi dont think we support nosetests in rocky by the way but that not really the issue11:53
sean-k-mooneywell it might be related11:55
sean-k-mooneysongwenping_: do you get the same issue if you use stestr or tox to run the tests11:56
songwenping_our tests cannot run, we have give up the test in our product env.12:02
sean-k-mooneywe will be end of lifing the rocky branch shortly with no other release planned12:03
sean-k-mooneyif this is broken its likely not a recent breakage12:03
sean-k-mooneythe last commit to stable rocky was the 22nd of april this year12:04
sean-k-mooneyso your product tests have been broken since then or longer12:04
songwenping_yes we have broken for long time12:06
sean-k-mooneyim running the test locally now to confirm but this could be due to a downstream change you have in your product12:06
sean-k-mooneysongwenping_: so the test pass correctly with tox using stestr12:14
sean-k-mooneynosetest was never supported in the rocky release so this might be just down to using the incorrect test runner12:14
sean-k-mooneyso this sound like its either a downstream bug or a bug in how you are runnign the tests12:14
sean-k-mooneysahid: comments left on https://review.opendev.org/c/openstack/nova-specs/+/85783812:21
songwenping_sean-k-mooney: i'm finding the lastest changid for our code.12:23
darkhorseHi team Can I get someone's attention on https://bugs.launchpad.net/nova/+bug/1993736?12:32
sean-k-mooneydarkhorse: ah you got the test passign12:39
darkhorseyes12:39
darkhorsesean-k-mooney: yes12:39
sean-k-mooneyso just lookign at it quickly 12:41
sean-k-mooneyit woudl be nice to add a functional test12:41
sean-k-mooneyand assert teh instance action log now has the deelted action12:41
sean-k-mooneyyou just fixed the existing test but did not add any to test the change you made12:41
sean-k-mooneyas in there is no test to actully ensure the instnace action log now has the deleted actions12:42
darkhorsesean-k-mooney: will you give me some more details/examples? i think there are already functional tests for deleting shelve offloaded instances.12:47
darkhorseexcuse me this is my first time committing to upstream12:48
sean-k-mooneydarkhorse: yes there shoudl be an existing one that you can just add a rest call to get the list of instance action events and check that the deleted on is in the list13:06
sean-k-mooneyill see if i can fidn one quickly13:06
darkhorsesean-k-mooney: thank you!13:07
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/tests/functional/test_servers.py#L2578-L259813:08
sean-k-mooneythats a simple shelve unshleve test with delete at teh end13:08
sean-k-mooneyso you can copy that skip the unshelve step and then add a call to the event list api13:09
sean-k-mooneyand assert delete is there13:09
sean-k-mooneylet me see if there is an existing server event list test you could copy form13:09
*** dasm|off is now known as dasm|rover13:10
sean-k-mooneydarkhorse: yes ok so there are example here https://github.com/openstack/nova/blob/master/nova/tests/functional/test_instance_actions.py13:12
sean-k-mooneyso you coudl add a new test case by modifying https://github.com/openstack/nova/blob/master/nova/tests/functional/test_instance_actions.py#L9613:13
darkhorsesean-k-mooney: thank you! I will take a look and add functional test for shelved instance deletion.13:14
sean-k-mooneyso you really just need this https://github.com/openstack/nova/blob/master/nova/tests/functional/test_instance_actions.py#L229-L23413:14
sahidsean-k-mooney: ack thank you13:14
sean-k-mooneydarkhorse: i would put this test in the other file test_servers13:15
sean-k-mooneyand just copy the shelve_unshelve test as i said and add in this check13:15
sean-k-mooneythen it would be good13:15
darkhorsesean-k-mooney: ok thank you13:16
opendevreviewElod Illes proposed openstack/nova stable/wallaby: Retry image download if it's corrupted  https://review.opendev.org/c/openstack/nova/+/81918013:21
opendevreviewElod Illes proposed openstack/nova stable/victoria: Retry image download if it's corrupted  https://review.opendev.org/c/openstack/nova/+/81918113:23
*** knikolla[m] is now known as knikolla14:38
melwittsean-k-mooney[m]: this is what I came up with for that unit test loading guestfs issue, also put some repro steps in the referenced lp bug if you want to see https://review.opendev.org/c/openstack/nova/+/86276915:59
sean-k-mooney[m]cool ill take a look in a while16:00
sean-k-mooney[m]ok ya that looks interesting16:03
sean-k-mooney[m]i set rp+1 on it so ill come back to it in a bit. deliveray arriving shortly16:04
sean-k-mooney[m]so need to step away for a few minutes16:04
melwittk. no rush of course, just wanted to show you it16:06
sean-k-mooney[m]so its a slightly difffernt approch then our other poison fixtures but its also a slight different usecase16:07
melwittif you have suggestions lmk. that's just the best I could think of at the time :P16:08
sean-k-mooney[m]the only thing i was thinking about really is this only works if we use the oslo import utils funciton16:09
sean-k-mooney[m]and not a import statement16:09
melwittyes. I tried to make __import__ work but failed. if you know how, lmk16:10
melwittI didn't find a way to monkey patch it. I also haven't really monkey patched built ins before that I can remember16:11
sean-k-mooney[m]i feel like i have look it up before but i dont rememebr how to do it currelty16:11
sean-k-mooney[m]we can always make it more robost later so we can likely start with this16:12
sean-k-mooney[m]https://stackoverflow.com/a/6332090216:14
sean-k-mooney[m]we could try doing that ^16:16
melwittthanks! that looks promising16:16
sean-k-mooney[m]not sure if that will have the opisite probalem and only work for import but i think it should work for both16:16
melwittI'll try it16:16
gibiwe could poison VFSGuestFS.__init__ 16:25
gibibut that is more specific to the current code than the import poison16:26
gibiso I'm fine with both16:26
opendevreviewAmit Uniyal proposed openstack/nova master: DOC update remote console access  https://review.opendev.org/c/openstack/nova/+/86068718:01
opendevreviewJohn Garbutt proposed openstack/nova-specs master: WIP: Ironic shards to replace peer_list  https://review.opendev.org/c/openstack/nova-specs/+/86283318:07
opendevreviewJohn Garbutt proposed openstack/nova-specs master: WIP: Ironic shards to replace peer_list  https://review.opendev.org/c/openstack/nova-specs/+/86283318:08
opendevreviewJohn Garbutt proposed openstack/nova-specs master: WIP: Ironic shards to replace peer_list  https://review.opendev.org/c/openstack/nova-specs/+/86283318:10
opendevreviewmelanie witt proposed openstack/nova master: Add mock to avoid loading guestfs in unit test  https://review.opendev.org/c/openstack/nova/+/86276919:00
*** dasm|rover is now known as dasm|off19:21

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