Friday, 2022-07-01

opendevreviewmelanie witt proposed openstack/nova master: libvirt: Report ephemeral encryption traits based on imagebackend  https://review.opendev.org/c/openstack/nova/+/82675300:33
kashyapHas anyone ever tested live migration with vTPM?06:55
opendevreviewBalazs Gibizer proposed openstack/nova master: Revert "zuul: Temporarly put Centos9 Stream job non-voting"  https://review.opendev.org/c/openstack/nova/+/84835207:47
gibibauzas: ^^ I think we can turn it back on07:47
bauzasgibi: I have some concerns with the Centos 9S job I wanted to discuss on the last meeting08:15
gibiwe can keep the revert open til next week08:15
bauzasthanks08:15
gibiI just noticed neutron reverted the skip so I thought I propose the revert to not to forget it08:15
bauzasgibi: I'll add it into the agenda08:15
gibiack08:15
manuvakery1Hi .. user-data is not getting applied for any instance which is rebuild using a snapshot taken from the same instance10:57
manuvakery1reported a bug in https://bugs.launchpad.net/nova/+bug/198051110:58
sean-k-mooneythat looks like a vlaid bug your runing openstack train11:04
sean-k-mooneyalthough i wonder11:05
sean-k-mooneymanuvakery1: before you snapshot the instnace did you remove the file that cloud init creates to indicate that it not a first boot11:05
sean-k-mooneyif you did not do that then it may not have downloaded an updated copy form teh metadata api11:06
sean-k-mooneymanuvakery1: are you using config drive ro jsut the metadata api?11:06
manuvakery1I am using metadata api11:12
manuvakery1sean-k-mooney: i have not removed any file which cloud-init created11:13
sean-k-mooneyok then this is likely not a nova bug11:14
sean-k-mooneyi dont think cloud init will redonwload the user data file after first boot11:15
sean-k-mooneymanuvakery1: https://cloudinit.readthedocs.io/en/latest/topics/cli.html#clean11:16
manuvakery1but when I tried to rebuild with another snapshot ( created from another server) i see the user-data is getting downloaded11:17
sean-k-mooneythe donwloading of the user data is not somethign that nova is invovled with other then servicing it via the metadata api11:17
sean-k-mooneyhave you checked that the content in the metadata api is correct11:18
sean-k-mooneycurl http://169.254.169.254/openstack/latest/user_data11:18
sean-k-mooneyif that has the correct content form within the vm then this is not a nova bug11:19
manuvakery1ok.. I will check that11:19
fricklerit may be an per-instance thing, depending on whether the snapshot contains the same instance-id as the rebuilt server11:20
sean-k-mooneyya that too11:20
sean-k-mooneyusign the snapshot on a differnt vm might work11:20
sean-k-mooneybut not the one it was taken form11:20
sean-k-mooneythe instance id is in http://169.254.169.254/2009-04-04/meta-data/instance-id11:21
sean-k-mooneyso its somethign the vm can discover and make desiions on11:21
manuvakery1the content in the metadata api is correct11:22
sean-k-mooneythen this is likely because of th instance-id as frickler  said or other files created during first boot11:23
manuvakery1ok.. i will update and close the bug 11:27
sean-k-mooneyi have it open i can do that now11:27
manuvakery1ok11:28
sean-k-mooneymanuvakery1: there might be a way to configure cloud init to alwasy download the user-data11:28
manuvakery1i am going to look into that right away .. let me know if any doc/links are with you11:29
manuvakery1do you think config-drive is going to make any difference?11:31
sean-k-mooneyhttps://cloudinit.readthedocs.io/en/latest/topics/boot.html?highlight=run%20on%20each%20boot#first-boot-determination11:31
sean-k-mooney"""By default, cloud-init attempts to determine which case it is running in by checking the instance ID in the cache against the instance ID it determines at runtime. If they do not match, then this is an instance’s first boot; otherwise, it’s a subsequent boot. """11:32
sean-k-mooneymanuvakery1: https://cloudinit.readthedocs.io/en/latest/topics/cli.html#single11:35
sean-k-mooneyyou might be able to use that to make the user_data moudule run on each boot11:35
manuvakery1sean-k-mooney:  i'll try that . thanks for your response11:36
manuvakery1Also i had posted another query few days back .. if i take an instance snapshot after resizing to a higher flavor the min_disk  property it set to the older flavor disk size .. any hint on this11:37
sean-k-mooneywe filter what image porperteis are copied to the new image11:50
sean-k-mooneyim not sure if we have already fixed that or not11:51
sean-k-mooneytrain is getting quite old so there has been a lot of progress over the intervening 5 releases11:51
sean-k-mooneymanuvakery1: you could update it via the glance api after the fact as a workaround11:53
sean-k-mooneymanuvakery1: ya looking at the dirver code we dont have any code to update it so it would be a new feature11:58
sean-k-mooneymanuvakery1: this is the relevent section fo code https://github.com/openstack/nova/blob/b597cb49a8984fbdfd8b9b4d9a692272015d83ed/nova/virt/libvirt/driver.py#L2927-L2993= but updating min_disk is not expected to happen today12:01
manuvakery1ok12:03
Ugglasean-k-mooney, gibi, bauzas , I looked at instance metadata and especially devices. I attached a volume to my vm and expected to see it in the instance metadata (try to reboot the vm also). However devices field remains empty. Do I miss something ?12:48
sean-k-mooneydid you tag the volume12:49
bauzasgood question, I dunno12:49
sean-k-mooneywe dont generate metadta for the volumes unless you tag them12:49
sean-k-mooneyUggla: https://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/virt-device-role-tagging.html12:50
Ugglasean-k-mooney, ok I'm gonna try. Should we use this tagging mecanisme also with the shares ?12:52
Ugglasean-k-mooney, btw congratulation for your promotion.12:54
sean-k-mooneywe shoudl do it automitaclly for the shares i think since we need to provide the share mount thing to the guest12:55
sean-k-mooneythe thing that used to mount the filesystem in teh guest12:55
sean-k-mooneyUggla: also thank you i was not aware that was offically announced yet12:56
sean-k-mooneyoh today is july 1st so offcially the start of q3 that makes sense13:05
Ugglasean-k-mooney, just to let you know that you were right. Volume is in the instance metadata as soon as tagged.13:38
Ugglasean-k-mooney, thx !13:39
sean-k-mooneycool13:49
sean-k-mooneywe proably could generate some of that metadata by defualt without a tag13:49
sean-k-mooneybut we just dont today13:49
sean-k-mooneyapprely when you use q35 the pci adresses are also more advisiory rather then somethign you shoudl rely on13:50
Ugglasean-k-mooney, beforing asking I spent time looking at the code, but missed it because it is done in a dictionary comprehension.14:02
Uggla*conditional dictionary comprehension14:02
* Uggla need a sharpen eye with these kind of construction.14:03
sean-k-mooneyack you shouldnt worry about asking things like that14:03
sean-k-mooneythe channel is for devleopement including expliaing how/why we did things a certen way14:03
sean-k-mooneyUggla: i assume its condtional base in the presence of a tag14:04
sean-k-mooneyi have not looked at that in a long time14:04
Ugglasean-k-mooney, I don't worry asking. But I dislike asking things without trying to search on my side first.14:05
sean-k-mooneyfair14:05
Ugglasean-k-mooney, fyi tagged_bdms = {_get_device_name(bdm): bdm for bdm in bdms if bdm.tag} in the driver _build_device_metadata method.14:06
sean-k-mooneyah th if bdm.tag14:06
sean-k-mooneyya14:06
* Uggla feels easier standard if bdm.tag: construction even if more verbose.14:11
*** dasm|off is now known as dasm14:26
opendevreviewMerged openstack/nova master: Adds validation for hw machine type in host caps  https://review.opendev.org/c/openstack/nova/+/84712615:24
opendevreviewsean mooney proposed openstack/nova master: update default overcommit  https://review.opendev.org/c/openstack/nova/+/83082918:34
opendevreviewsean mooney proposed openstack/nova master: enable blocked VDPA move operations  https://review.opendev.org/c/openstack/nova/+/83233018:51
opendevreviewsean mooney proposed openstack/nova master: [WIP] add sorce dev parsing for vdpa interfaces  https://review.opendev.org/c/openstack/nova/+/84101618:51
opendevreviewsean mooney proposed openstack/nova master: [WIP] fix suspend for non hostdev sriov ports  https://review.opendev.org/c/openstack/nova/+/84101718:51
opendevreviewsean mooney proposed openstack/nova master: [WIP] Add VDPA support for suspend and livemigrate  https://review.opendev.org/c/openstack/nova/+/84101218:51
opendevreviewsean mooney proposed openstack/nova master: enable blocked VDPA move operations  https://review.opendev.org/c/openstack/nova/+/83233018:55
opendevreviewsean mooney proposed openstack/nova master: [WIP] add sorce dev parsing for vdpa interfaces  https://review.opendev.org/c/openstack/nova/+/84101618:55
opendevreviewsean mooney proposed openstack/nova master: [WIP] fix suspend for non hostdev sriov ports  https://review.opendev.org/c/openstack/nova/+/84101718:56
opendevreviewsean mooney proposed openstack/nova master: [WIP] Add VDPA support for suspend and livemigrate  https://review.opendev.org/c/openstack/nova/+/84101218:56
*** tbachman_ is now known as tbachman18:59
*** dasm is now known as dasm|off21:07
*** dasm|off is now known as dasm21:09
*** dasm is now known as Guest396521:10
*** Guest3965 is now known as dasm21:12
*** dasm is now known as dasm|off21:13
*** dasm|off is now known as dasm21:13
*** dasm is now known as dasm|off21:13

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