| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2022-07-01 | |||
| 11:16:37 | sean-k-mooney | manuvakery1: https://cloudinit.readthedocs.io/en/latest/topics/cli.html#clean | |
| 11:17:22 | manuvakery1 | but when I tried to rebuild with another snapshot ( created from another server) i see the user-data is getting downloaded | |
| 11:17:58 | sean-k-mooney | the donwloading of the user data is not somethign that nova is invovled with other then servicing it via the metadata api | |
| 11:18:10 | sean-k-mooney | have you checked that the content in the metadata api is correct | |
| 11:18:56 | sean-k-mooney | curl http://169.254.169.254/openstack/latest/user_data | |
| 11:19:23 | sean-k-mooney | if that has the correct content form within the vm then this is not a nova bug | |
| 11:19:52 | manuvakery1 | ok.. I will check that | |
| 11:20:02 | frickler | it may be an per-instance thing, depending on whether the snapshot contains the same instance-id as the rebuilt server | |
| 11:20:31 | sean-k-mooney | ya that too | |
| 11:20:46 | sean-k-mooney | usign the snapshot on a differnt vm might work | |
| 11:20:52 | sean-k-mooney | but not the one it was taken form | |
| 11:21:41 | sean-k-mooney | the instance id is in http://169.254.169.254/2009-04-04/meta-data/instance-id | |
| 11:21:54 | sean-k-mooney | so its somethign the vm can discover and make desiions on | |
| 11:22:34 | manuvakery1 | the content in the metadata api is correct | |
| 11:23:14 | sean-k-mooney | then this is likely because of th instance-id as frickler said or other files created during first boot | |
| 11:27:15 | manuvakery1 | ok.. i will update and close the bug | |
| 11:27:39 | sean-k-mooney | i have it open i can do that now | |
| 11:28:37 | manuvakery1 | ok | |
| 11:28:37 | sean-k-mooney | manuvakery1: there might be a way to configure cloud init to alwasy download the user-data | |
| 11:29:58 | manuvakery1 | i am going to look into that right away .. let me know if any doc/links are with you | |
| 11:31:06 | manuvakery1 | do you think config-drive is going to make any difference? | |
| 11:31:41 | sean-k-mooney | https://cloudinit.readthedocs.io/en/latest/topics/boot.html?highlight=run%20on%20each%20boot#first-boot-determination | |
| 11:32:48 | 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:35:02 | sean-k-mooney | manuvakery1: https://cloudinit.readthedocs.io/en/latest/topics/cli.html#single | |
| 11:35:24 | sean-k-mooney | you might be able to use that to make the user_data moudule run on each boot | |
| 11:36:27 | manuvakery1 | sean-k-mooney: i'll try that . thanks for your response | |
| 11:37:40 | manuvakery1 | Also 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 this | |
| 11:50:51 | sean-k-mooney | we filter what image porperteis are copied to the new image | |
| 11:51:00 | sean-k-mooney | im not sure if we have already fixed that or not | |
| 11:51:22 | sean-k-mooney | train is getting quite old so there has been a lot of progress over the intervening 5 releases | |
| 11:53:01 | sean-k-mooney | manuvakery1: you could update it via the glance api after the fact as a workaround | |
| 11:58:11 | sean-k-mooney | manuvakery1: ya looking at the dirver code we dont have any code to update it so it would be a new feature | |
| 12:01:21 | sean-k-mooney | manuvakery1: 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 today | |
| 12:03:34 | manuvakery1 | ok | |
| 12:48:44 | Uggla | sean-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:49:35 | sean-k-mooney | did you tag the volume | |
| 12:49:39 | bauzas | good question, I dunno | |
| 12:49:54 | sean-k-mooney | we dont generate metadta for the volumes unless you tag them | |
| 12:50:26 | sean-k-mooney | Uggla: https://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/virt-device-role-tagging.html | |
| 12:52:56 | Uggla | sean-k-mooney, ok I'm gonna try. Should we use this tagging mecanisme also with the shares ? | |
| 12:54:36 | Uggla | sean-k-mooney, btw congratulation for your promotion. | |
| 12:55:26 | sean-k-mooney | we shoudl do it automitaclly for the shares i think since we need to provide the share mount thing to the guest | |
| 12:55:38 | sean-k-mooney | the thing that used to mount the filesystem in teh guest | |
| 12:56:38 | sean-k-mooney | Uggla: also thank you i was not aware that was offically announced yet | |
| 13:05:18 | sean-k-mooney | oh today is july 1st so offcially the start of q3 that makes sense | |
| 13:38:54 | Uggla | sean-k-mooney, just to let you know that you were right. Volume is in the instance metadata as soon as tagged. | |
| 13:39:04 | Uggla | sean-k-mooney, thx ! | |
| 13:49:24 | sean-k-mooney | cool | |
| 13:49:38 | sean-k-mooney | we proably could generate some of that metadata by defualt without a tag | |
| 13:49:58 | sean-k-mooney | but we just dont today | |
| 13:50:31 | sean-k-mooney | apprely when you use q35 the pci adresses are also more advisiory rather then somethign you shoudl rely on | |
| 14:02:06 | Uggla | sean-k-mooney, beforing asking I spent time looking at the code, but missed it because it is done in a dictionary comprehension. | |
| 14:02:41 | Uggla | *conditional dictionary comprehension | |
| 14:03:14 | sean-k-mooney | ack you shouldnt worry about asking things like that | |
| 14:03:44 | sean-k-mooney | the channel is for devleopement including expliaing how/why we did things a certen way | |
| 14:04:23 | sean-k-mooney | Uggla: i assume its condtional base in the presence of a tag | |
| 14:04:35 | sean-k-mooney | i have not looked at that in a long time | |
| 14:05:13 | Uggla | sean-k-mooney, I don't worry asking. But I dislike asking things without trying to search on my side first. | |
| 14:05:50 | sean-k-mooney | fair | |
| 14:06:06 | Uggla | sean-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:27 | sean-k-mooney | ah th if bdm.tag | |
| 14:06:31 | sean-k-mooney | ya | |
| 15:24:21 | opendevreview | Merged openstack/nova master: Adds validation for hw machine type in host caps https://review.opendev.org/c/openstack/nova/+/847126 | |
| 18:34:04 | opendevreview | sean mooney proposed openstack/nova master: update default overcommit https://review.opendev.org/c/openstack/nova/+/830829 | |
| 18:51:51 | opendevreview | sean mooney proposed openstack/nova master: enable blocked VDPA move operations https://review.opendev.org/c/openstack/nova/+/832330 | |
| 18:51:52 | opendevreview | sean mooney proposed openstack/nova master: [WIP] add sorce dev parsing for vdpa interfaces https://review.opendev.org/c/openstack/nova/+/841016 | |
| 18:51:52 | opendevreview | sean mooney proposed openstack/nova master: [WIP] fix suspend for non hostdev sriov ports https://review.opendev.org/c/openstack/nova/+/841017 | |
| 18:51:53 | opendevreview | sean mooney proposed openstack/nova master: [WIP] Add VDPA support for suspend and livemigrate https://review.opendev.org/c/openstack/nova/+/841012 | |
| 18:55:59 | opendevreview | sean mooney proposed openstack/nova master: enable blocked VDPA move operations https://review.opendev.org/c/openstack/nova/+/832330 | |
| 18:55:59 | opendevreview | sean mooney proposed openstack/nova master: [WIP] add sorce dev parsing for vdpa interfaces https://review.opendev.org/c/openstack/nova/+/841016 | |
| 18:56:00 | opendevreview | sean mooney proposed openstack/nova master: [WIP] fix suspend for non hostdev sriov ports https://review.opendev.org/c/openstack/nova/+/841017 | |
| 18:56:00 | opendevreview | sean mooney proposed openstack/nova master: [WIP] Add VDPA support for suspend and livemigrate https://review.opendev.org/c/openstack/nova/+/841012 | |
| #openstack-nova - 2022-07-04 | |||
| 07:31:19 | gibi | o/ | |
| 08:00:02 | bauzas | \o | |
| 09:29:05 | opendevreview | ribaudr proposed openstack/nova-specs master: libvirt: Allow Manila shares to be directly attached to instances https://review.opendev.org/c/openstack/nova-specs/+/833669 | |
| 10:21:52 | ralonsoh | folks, how do I find a new compute node I added with devstack? | |
| 10:22:10 | ralonsoh | "hypervisors list" only returns 1 compute but I have 2 | |
| 10:22:25 | ralonsoh | it was something related to nova cell... but I don't find the command | |
| 10:23:39 | gibi | ralonsoh: nova-manage cell_v2 discover_hosts | |
| 10:23:48 | ralonsoh | gibi, nova-manage cell_v2 discover_hosts | |
| 10:23:49 | gibi | that will add the new compute to cell1 | |
| 10:23:50 | ralonsoh | right! | |
| 10:23:54 | ralonsoh | https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwi3ytaBgt_4AhUHixoKHXrYCe4QFnoECAsQAQ&url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F72521133%2Fopenstack-additional-compute-node-set-up-questions&usg=AOvVaw2YfAyPGDVFWFjzYaU9eQzO | |
| 10:33:18 | sean-k-mooney | ralonsoh: you could also do the hack we do in ci | |
| 10:33:33 | sean-k-mooney | ralonsoh: we have a periodic task you can turn on that will do that automatically | |
| 10:33:48 | sean-k-mooney | its a hack only in that it does not scale well in production | |
| 10:34:01 | ralonsoh | sean-k-mooney, yeah but this is just for testing (live migraiton) | |
| 10:35:00 | sean-k-mooney | i used to kick off both the contoler and compute at the same time but use a sleep on the compute to get it to complete after nova had started on the contoller | |
| 10:35:26 | sean-k-mooney | no i use ansible playbooks to do a multi node install instead | |
| 10:35:41 | sean-k-mooney | *now | |
| 12:52:55 | opendevreview | Rajesh Tailor proposed openstack/placement master: Fix typo in mapping schema https://review.opendev.org/c/openstack/placement/+/848634 | |
| 13:03:35 | opendevreview | Rajesh Tailor proposed openstack/placement master: Fix typos https://review.opendev.org/c/openstack/placement/+/848636 | |
| 13:25:34 | opendevreview | Vladislav Belogrudov proposed openstack/nova master: Nova instance snapshot should wait for volumes https://review.opendev.org/c/openstack/nova/+/848638 | |
| 13:31:26 | opendevreview | sean mooney proposed openstack/nova master: enable blocked VDPA move operations https://review.opendev.org/c/openstack/nova/+/832330 | |
| 15:42:57 | gibi | bauzas: I re-used https://bugs.launchpad.net/nova/+bug/1960346 to tack the qemu detach fix as a gate-failure bug for nova | |
| 16:16:31 | bauzas | gibi: cool thanks | |
| 16:32:29 | sean-k-mooney | bauzas: gibi by the way this would be nice to merge sooner rather then later https://review.opendev.org/c/openstack/nova/+/830829 | |
| 16:32:49 | sean-k-mooney | its the overcommit default change we defered form m3 last cycle | |
| 16:35:37 | sean-k-mooney | i would like to merge that before m2 if we can | |
| 16:55:58 | gibi | sean-k-mooney: provided feedback now | |