Wednesday, 2025-03-05

gmannsean-k-mooney: stephenfin on 2.99 microversion todo thing, I am generally ok with that as bug fixes in 2.99 as there is no behavior change for old microversions. +201:30
opendevreviewVasyl Saienko proposed openstack/nova master: Fix serial console for ironic  https://review.opendev.org/c/openstack/nova/+/94257505:07
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing finish_time  https://review.opendev.org/c/openstack/nova/+/92893306:55
*** ralonsoh_ is now known as ralonsoh09:03
Callum027sean-k-mooney: I've written a story on the Ceilometer side to track the changes required there to take advantage of the new patches for adding additional libvirt metadata. If you have any feedback (particularly regarding whether it'll satisfy your use case, and also my reasoning for excluding server metadata), I'd appreciate it.09:11
Callum027https://storyboard.openstack.org/#!/story/201137109:11
sean-k-mooney[m]Callum027:  i looked into the metadata after we talked to confirm if it was a security issue09:18
sean-k-mooney[m]by default ceilometer is only collecting server metadata if it starts with a “metering:” prefix09:19
Callum027Yes, that's true09:19
sean-k-mooney[m]you can configure it to collect other keys and i think you have to opt into the collection via a config option to enable it at all09:20
sean-k-mooney[m]so i think it more a docs issue09:20
sean-k-mooney[m]i dont think we document that on the nova side09:20
Callum027Just double checked, by default it looks for the "metering." prefix, and it'll include anything that starts with that (the "reserved_metadata_keys" is *in addition* to the prefix)09:22
Callum027And it'll query Nova for the metadata no matter how it's configured09:23
Callum027In my flavor patch for Ceilometer I've included a config option to disable that09:23
sean-k-mooney[m]ack09:24
Callum027As far as security goes, I don't think it's a major concern if there isn't anything particularly sensitive that might go under the "metering." prefix09:24
sean-k-mooney[m]so i dont know the behaivor of this but there is no such thing as a reserved metadata prefix in nova09:25
sean-k-mooney[m]metadata in nova is exclisivly for the end user to pass info to there guest09:25
sean-k-mooney[m]other openstack services are not allowed to store metadata about the instance in it09:25
sean-k-mooney[m]so we still need to document or reconsole that in some form09:26
Callum027Ceilometer itself doesn't put anything in there, it just reads anything with that prefix09:26
Callum027Interestingly Ceilometer appears to expect that the server group is defined in as "metering.server_group" and it publishes that to Gnocchi if it finds it09:26
Callum027I have no idea if Nova actually sets that when a server group is config09:27
Callum027ured09:27
sean-k-mooney[m]it does not09:32
sean-k-mooney[m]looking at the ortinal commits that added this09:33
sean-k-mooney[m]i dont think ceilometer ever talks to nova about this09:33
sean-k-mooney[m]it appear the intent  was to provide a way for end user to anotate there instance09:33
sean-k-mooney[m]such that metrics collected by celiometer would have those annotioation applied as lables09:34
sean-k-mooney[m]i.e to provide a way for the end user to query metrics about there workload using custom lables defiend in server metadata09:34
sean-k-mooney[m]Callum027:  from a nova point of view this feature does not exist09:35
sean-k-mooney[m]apprently it was added for https://bugs.launchpad.net/ceilometer/+bug/128407309:39
sean-k-mooney[m]well actully no that not the one that intoduced the funciton it moved it09:41
sean-k-mooney[m]i think it was added in https://github.com/openstack/ceilometer/commit/00531f9de040f43c643dd843ada986cfbcf91e87#diff-41a7f81f39132a6a74adb274e6702ad8dce65ca89af0edb49cd77eeeb087575809:45
adam3kijakhi, I'm looking for any information regarding the following issue: "openstack server add volume server1 volume1", "openstack server delete server1" executed one by one results in nova-compute not executing _disconnect_volume() function due too empty block_device_mapping (https://github.com/openstack/nova/blob/master/nova/virt/libvirt/driver.py#L1755) which is updated after a short delay (race condition). Can you help me out?10:04
Callum027sean-k-mooney[m]: Interesting that it tries to get the server group for instances from there then, surely there are better ways for it to get that information (though it appears that server groups aren't put into libvirt XML either)10:31
sean-k-mooney[m]they are not and should not be10:32
Callum027Yeah, that's what I thought10:32
sean-k-mooney[m]the xml metadata is mainly for debugging10:32
sean-k-mooney[m]its not a general store for external integrations.10:32
sean-k-mooney[m]if something can change without reqiuring the xml to be modifed like server metadata it should not be in the xml10:33
Callum027Yep, fair enough10:33
sean-k-mooney[m]i guess server group techinkally could be there10:34
sean-k-mooney[m]befause they cant change after the vms is created10:34
sean-k-mooney[m]but it feels a little excessive to store it10:34
sean-k-mooney[m]we could see what other thing but that kind of exceedign the orginal usecase10:35
Callum027Yeah, I'm not proposing we include it here, it was more of an observation because I happened to be looking at what the metadata was actually being used for10:35
Callum027The use case for adding more metadata than I'm proposing is tenuous. At the same time, what I'm proposing is pretty much what anyone would need in terms of determining how an instance is configured (or at least, for us anyway)10:38
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing finish_time  https://review.opendev.org/c/openstack/nova/+/92893310:43
*** ykarel_ is now known as ykarel10:44
opendevreviewGaudenz Steinlin proposed openstack/nova master: Make SSH compression for remote copy configurable  https://review.opendev.org/c/openstack/nova/+/94337711:27
masahitogibi: hi, could you review this bug fix again? https://review.opendev.org/c/openstack/nova/+/93965812:22
tkajinammasahito, looks like you have to resolve the merge conflict12:37
tkajinam(just in case you are not aware12:37
opendevreviewMasahito Muroi proposed openstack/nova master: Use dict object for request_specs_dict in the _list_view  https://review.opendev.org/c/openstack/nova/+/93965812:47
tkajinam:-)12:48
masahitotkajinam: thanks for the info. The gerrit board view was quite changed, so I didn't notice the conflict :)  v2.100 changed same place but I can't find the "conflict" label so I was wondering why it is.12:51
tkajinammasahito, I believe you could see it in the top-left (where "Active" is now shown") but the view might be a bit different according to browsers you are using12:52
tkajinamsee https://review.opendev.org/c/openstack/requirements/+/941939 for example12:53
tkajinamand yeah the view has been changed12:53
opendevreviewMerged openstack/nova-specs master: Amend the specification about the data in LiveMigrate object  https://review.opendev.org/c/openstack/nova-specs/+/94141713:42
opendevreviewGhanshyam proposed openstack/nova master: Testing doc job on Ubuntu Noble  https://review.opendev.org/c/openstack/nova/+/93557718:30
opendevreviewDan Smith proposed openstack/nova-specs master: Add one-time-use-devices spec  https://review.opendev.org/c/openstack/nova-specs/+/94348619:41
opendevreviewDan Smith proposed openstack/nova-specs master: Add one-time-use-devices spec  https://review.opendev.org/c/openstack/nova-specs/+/94348620:00
opendevreviewAlan Bishop proposed openstack/nova master: Show swap_progress in attachment details  https://review.opendev.org/c/openstack/nova/+/94147620:28
Callum027sean-k-mooney: Regarding your suggestion to add the image name in https://review.opendev.org/c/openstack/nova/+/942766 , I don't think image_name is actually stored in system_metadata currently. At least, in our tested on our Nova deployments it doesn't actually appear to be there.22:16
sean-k-mooneyya i think your right, dont try and do heroics to store it22:18
sean-k-mooneyCallum027: if its not aviable easily not then the uuid is fine.22:19
Callum027Yeah, we don't need it for our use case either so I'm happy with UUID only as well22:20
sean-k-mooneythe name doesnet actuly matter in most case that was more a syetry thing in that we do have the falvor name22:31
Callum027Come to think of it, the image name can change at any time so it's not necessarily a good idea for Nova's system metadata or the libvirt metadata to store that anyway23:02
sean-k-mooneyit shoudl not change after its created although glance might allow it too23:03
sean-k-mooney... not only do they allow it it is in the example https://docs.openstack.org/api-ref/image/v2/#id1623:04
sean-k-mooneyew but ok uuid it is23:05
opendevreviewmelanie witt proposed openstack/nova master: Let oslo.limit handle retrieval of the endpoint ID  https://review.opendev.org/c/openstack/nova/+/94350723:43

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