Enable systemd-detect-virt to detect OpenStack instance

Bug #1969461 reported by wangyuhang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned

Bug Description

We are using dracut on an OpenStack Nova to build images. dracut will call `systemd-detect-virt` to determine whether it is working on a virtual machine. Currently, systemd-detect-virt can't figure out OpenStack correctlly.

I have made a PR on upstream systemd (https://github.com/systemd/systemd/pull/23117), but some detail information are needed. I don't know the difference between OpenStack Nova and OpenStack Compute.

Is it suffisient to determine it's a virtual machine if we can grep `OpenStack` from /sys/class/dmi/id/product_name

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

OpenStack Nova is the name of the product while OpenStack Compute is the name of the project (group of people) maintaining OpenStack Nova and related packages. I think it is OK to grep for 'OpenStack' in the dmi as that string is set by OpenStack Nova via the libvirt.

I'm setting this bug as invalid as this is not a bug. If you have further questions please post to the mailing list[0] or joins to the #openstack-nova channel on the OFTC IRC server[1].

[0]https://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-discuss
[1] https://docs.openstack.org/contributors/common/irc.html

Changed in nova:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.