Wednesday, 2021-12-08

opendevreviewMerged openstack/nova master: Extend the reproducer for 1953359 and 1952915  https://review.opendev.org/c/openstack/nova/+/82085905:06
opendevreviewmitya-eremeev-2 proposed openstack/nova master: Delete bogus attachments.  https://review.opendev.org/c/openstack/nova/+/82093506:42
*** bhagyashris_ is now known as bhagyashris06:57
*** bhagyashris_ is now known as bhagyashris07:19
opendevreviewPierre Libeau proposed openstack/nova master: Nova resize don't extend disk in one specific case  https://review.opendev.org/c/openstack/nova/+/82053109:56
gibisean-k-mooney, slaweq: I looked at the gate bug https://bugs.launchpad.net/nova/+bug/1953478 and it seems to me that neutron sends the vif-plugged event at bind time instead of plug time in this case causing the timeout10:45
gibiso far I thought that with ml2/ovs neutron always sends that event at plug time10:45
slaweqgibi yes, afaik when You boot vm it will be sent when neutron will finish provisioning that port10:47
gibislaweq: it is an unshelve after shelve_offload10:47
slaweqbut during e.g. live migration it may be differently10:47
slaweqI don't know about shelve and unshelve10:47
gibithat is almost like a new boot10:47
gibibut from a previous snapshot10:48
gibithere is a new scheduling, a new port biding a new vif plug and spawn10:48
slaweqso it should be sent when plug is completed10:48
slaweqin such case10:49
gibiyes, that is how I would expect it (and how nova expects it)10:49
slaweqplease move that bug to neutron then, I will check in our logs what happened there10:49
opendevreviewmitya-eremeev-2 proposed openstack/nova master: Delete bogus attachments.  https://review.opendev.org/c/openstack/nova/+/82093510:49
slaweqand thx for checking that10:49
gibislaweq: ok, I summarized this in the bug so you have the logs with timestamps from nova10:49
slaweq++10:49
gibiI haven't looked at the other case in the same bug the tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_resize_server_revert10:51
gibibut I can do that too 10:51
sean-k-mooneyslaweq: unshelve should be the same as first boot12:12
lyarwooddoes anyone know when/where during a spawn that we would expect the metadata service to have details on a given instance ready to serve up?12:13
* lyarwood hasn't really touched this path before 12:13
lyarwoodI'm looking at a CI failure downstream where cloud-init gets Connection refused everytime it tries to pull from the api but I can't see errors in the actual service logs12:14
gibilyarwood: I have limited knowledge too, but the request is goes from the guest, goes to the neutron-metadata service via the guest's network and the neutron forwards the request to nova-metadata12:19
lyarwoodthanks I think I was missing the neutron part12:23
sean-k-mooneyill get the code one sec12:24
sean-k-mooneylyarwood: it will always be ready before we call libvirt12:24
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L16812:25
sean-k-mooneythat is where we generate the network metadata12:25
sean-k-mooneywhich is called form the init of InstanceMetadata https://github.com/openstack/nova/blob/052cf963583ab7c6bbe4fcbf7bfe69f8f6733bdb/nova/api/metadata/base.py#L17612:26
lyarwoodACK thanks12:27
lyarwoodlooks like an issue before that as the neutron-metadata-agent on the compute isn't even seeing the requests12:28
lyarwoodI guess with plugging but AFAICT from the compute logs that worked12:28
sean-k-mooneythe neutorn-metadata-agent is typeiclay not on the compute but on the contler 12:29
sean-k-mooneyit runs in either the router or dhcp agent network namespaces12:30
sean-k-mooneydepening on your config 12:30
sean-k-mooneyovn works slightly differntly and i think it does it on each compute12:30
sean-k-mooneybut the agent there is jsut calling the nova metadta api12:30
sean-k-mooneythe api i belive generates the instnace mentadta directly itself and caches it12:31
sean-k-mooneyfor libvirt we generate it here by the way as part of creating the config drive https://github.com/openstack/nova/blob/e537d90d6fc0977742f7126c3f8cfef6bf8b2a15/nova/virt/libvirt/driver.py#L478212:32
sean-k-mooneylyarwood: are we using memcache downstream12:36
sean-k-mooneywe had to enable it upstream to make the ci stable12:36
sean-k-mooneywithout it differrnt request could go to differnt api workers12:36
sean-k-mooneycloud-init will only retry the first request12:36
sean-k-mooneyand after that it assuem the data is avaiable and does not retry them12:37
sean-k-mooneyif you hit a different worker and the node is under powered that can lead to timeouts12:37
sean-k-mooneyor failure to retive the data as genertatd the metadata is actully quite expensive12:37
lyarwoodsorry had to drop quickly for lunch12:56
* lyarwood reads back12:56
lyarwoodthis is part of a queens to train upgrade job downstream and it looks like the neutron metadata services are running on the computes12:57
lyarwoodI think this is failing post upgrade to train but it's super confusing12:58
lyarwoodjenkins--12:58
lyarwoodah no it's pre upgrade on queens13:00
gryfasfdsdf13:09
kashyapgryf: Thanks; hope you don't change your password :D13:11
gryfkashyap, not really, just the ssh connection hiccup ;)13:13
kashyapHeh, was just trolling ya13:14
gryfI figured :)13:16
pslestangccccccdlucfhelkhccngbvunedtddhhlecgrlcdverhc13:22
pslestangouup's sorry13:22
pslestanghello by the way!13:22
kashyapThat's a YubiKey :)13:22
pslestang;-)13:22
gryfthat's looks definitely like a sort of pass ;P13:23
kashyappslestang: There's a setting to actually make YubiKey to _not_ send the key press automatically13:23
kashyapLemme post my notes.  I have a Nano13:23
pslestangkashyap: I do not have a press button, my yubikey is near the enter key and when I touch the edge of the enter key ccccccdlucfhekeerjhdnrejghllkrdvdnjnjnijknbt13:25
pslestangyou see waht I mean13:25
gryfpslestang, just change usb port :)13:25
pslestangalready done13:26
gryf:D13:26
kashyappslestang: What I'm saying is that once you touch it, it automatically sends return keypress.  That way you can still touch it while you're active on this channel, and it won't post it here13:27
kashyapSee what I mean?13:27
kashyappslestang: This one - https://kashyapc.fedorapeople.org/YubiKey-Nano-Config-for-Return-Key.html13:27
pslestangkashyap: thx for sharing this, it will definitely be part of my setup13:30
kashyapWhen I said "That way ..." above, I meant to say _once_ you use the above config. :)13:31
pslestangkashyap: just applied, works great, thx!13:33
kashyapCool.13:34
kashyappslestang: (I had broken formatting in the above page; fixed it now.  I see that you were able to see through it)13:40
pslestangkashyap: yep I automatically 's/ /</br>/' whith my eyes in the corresponding lines :)13:43
gsantosHello, folks. I'm the owner of https://review.opendev.org/c/openstack/nova/+/815373 , which was just merged, and I was wondering if a backport of this fix to the previous branches would be feasible. I'm looking at Ussuri, specifically.14:29
lyarwoodgsantos: I would think so but it's conditional on the version of libvirt used right?14:31
gsantosYes, that is a concern. It needs at least libvirt v4.3.0, and the minimum libvirt version for Ussuri seems to be 4.0.014:37
lyarwoodgsantos: kk that's easy enough to handle in the backport however14:40
gsantosGreat! So, in order to do that, do I cherry pick (and resolve conflicts for) this commit to the xena, wallaby, victoria and ussuri branches?14:46
lyarwoodgsantos:  Correct, https://docs.openstack.org/project-team-guide/stable-branches.html#processes14:52
lyarwoodgsantos: and add in the libvirt version check once our MIN_LIBVIRT_VERSION dips below 3.2.014:52
lyarwoodsorry 4.3.014:52
opendevreviewAlexey Stupnikov proposed openstack/nova master: Test aborting queued live migration  https://review.opendev.org/c/openstack/nova/+/77625014:57
opendevreviewmitya-eremeev-2 proposed openstack/nova master: Delete bogus attachments.  https://review.opendev.org/c/openstack/nova/+/82093515:06
*** artom__ is now known as artom15:08
opendevreviewmitya-eremeev-2 proposed openstack/nova master: Delete bogus attachments.  https://review.opendev.org/c/openstack/nova/+/82093515:12
EugenMayerwhen getting `--os-compute-api-version 2.26 or greater is required to support the --not-tag option` while using xena, is that expected?15:15
*** efried1 is now known as efried15:19
EugenMayerinterestingly, that is only the case for the openstack cli, using nova list --not-tags works without issues15:20
opendevreviewMerged openstack/nova-specs master: Allow project admin to list hypervisors  https://review.opendev.org/c/openstack/nova-specs/+/79301115:21
gsantoslyarwood: I will try to make these cherry-picks today. Thank you!15:33
sean-k-mooneylyarwood: if you have time can you look at https://review.opendev.org/c/openstack/nova/+/820531 i think the patch looks ok but it would be good to have your input. its pretty small15:39
lyarwoodsean-k-mooney: yeah that doesn't look correct15:59
lyarwoodI'll write up some notes after some downstream calls15:59
sean-k-mooneyack16:00
opendevreviewMerged openstack/nova master: Reattach mdevs to guest on resume  https://review.opendev.org/c/openstack/nova/+/81537316:08
EugenMayerTrying to us `--not-tags` with the openstack cli - tells me that my API version '--os-compute-api-version 2.26 or greater is required to support the --not-tag option' - is this expected with xena? seems like https://docs.openstack.org/releasenotes/nova/en_GB/xena.html tells me, that xena has v2.90.  - any hints?16:54
melwittEugenMayer: it is expected, you have to pass --os-compute-api-version 2.26 with the command else by default OSC uses the oldest available microversion 2.1. it does not default to latest microversion16:56
EugenMayerah ! thank you sir!17:03
eanderssonAnyone know if the bug with orphaned neutron ports when deleting a VM on a offline compute fixed in newer versions of OpenStack? Also not super sure if it is a Neutron or Nova bug :p19:54
*** tobias-urdin3 is now known as tobias-urdin20:10
*** EugenMayer3 is now known as EugenMayer20:10
opendevreviewGustavo Santos proposed openstack/nova stable/xena: Reattach mdevs to guest on resume  https://review.opendev.org/c/openstack/nova/+/82112620:55
*** artom_ is now known as artom23:01

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