← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1241806] Re: Reboot operation fails if force_disk_config is switched to True after spawning

 

@yuanyue @Matthew Booth This issue has been fixed. See my patch:
https://review.opendev.org/#/c/659703/

** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  Reboot operation fails if force_disk_config is switched to True after
  spawning

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  A hard reboot operation fails if force_disk_config is switch to True
  after spawning the instance without a config drive.

  This was found using the libvirt driver, I'm not sure if it affects
  other drivers.

  Steps to recreate would be:
  1. Spawn an instance without a config drive
  2. Change force_config_drive to True in your nova.conf
  3. Restart nova-compute
  4. Attempt to reboot the instance

  An error similar to the following message will be displayed in the
  nova compute logs:

  2013-10-18 15:26:42.268 ERROR nova.compute.manager [req-
  ae365347-f863-4bf3-9fc1-f2e13a8aeb6a 8d656ddf92e24f88a91a51a2c4dd5252
  951ae3eceeff40db97fa6aca540a6738] [instance:
  2e685095-9b7b-4711-aba6-2a7794fdafd5] Cannot reboot instance: [Errno
  2] No such file or directory:
  '/var/lib/nova/instances/2e685095-9b7b-4711-aba6-2a7794fdafd5/disk.config'

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