← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1969461] [NEW] Enable systemd-detect-virt to detect OpenStack instance

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1969461

Title:
  Enable systemd-detect-virt to detect OpenStack instance

Status in OpenStack Compute (nova):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1969461/+subscriptions



Follow ups