← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1378132] [NEW] Hard-reboots ignore root_device_name

 

Public bug reported:

Hard-rebooting an instance causes the root_device_name to get
ignored/reset, which can cause wailing and gnashing of teeth if the
guest operating system is expecting it to not do that.

Steps to reproduce:

1. Stand up a devstack
2. Load the openrc with admin credentials
3. glance image-update --property root_device_name=sda SOME_CIRROS_IMAGE
4. Spawn a cirros instance using the above image. The root filesystem should present as being mounted on /dev/sda1, and the libvirt.xml should show the disk with a target of "scsi"
5. Hard-reboot the instance

Expected Behaviour

The instance comes back up with the same hardware configuration as it
had when initially spawned, i.e., with its root filesystem attached to a
SCSI bus

Actual Behaviour

The instance comes back with its root filesystem attached to an IDE bus.

** Affects: nova
     Importance: Undecided
     Assignee: Nicolas Simonds (nicolas.simonds)
         Status: In Progress

-- 
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/1378132

Title:
  Hard-reboots ignore root_device_name

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Hard-rebooting an instance causes the root_device_name to get
  ignored/reset, which can cause wailing and gnashing of teeth if the
  guest operating system is expecting it to not do that.

  Steps to reproduce:

  1. Stand up a devstack
  2. Load the openrc with admin credentials
  3. glance image-update --property root_device_name=sda SOME_CIRROS_IMAGE
  4. Spawn a cirros instance using the above image. The root filesystem should present as being mounted on /dev/sda1, and the libvirt.xml should show the disk with a target of "scsi"
  5. Hard-reboot the instance

  Expected Behaviour

  The instance comes back up with the same hardware configuration as it
  had when initially spawned, i.e., with its root filesystem attached to
  a SCSI bus

  Actual Behaviour

  The instance comes back with its root filesystem attached to an IDE
  bus.

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


Follow ups

References