← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1195877] Re: resume guests on libvirt host reboot fails for instances with an ephemeral disk

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => havana-2

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

Title:
  resume guests on libvirt host reboot fails for instances with an
  ephemeral disk

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  If an instance is created from a flavor with an ephemeral disk, and
  resume_guests_state_on_host_boot=True  the resulting _hard_reboot will
  fail and put the instance into an error state.

  This is because the code in _hard_reboot that checks the image files,
  _create_images_and_backing()  strips the size and filesystem data from
  the name of the ephemeral disk backing file, resulting in a check for
  a "epehmeral" rather than (for example) "ephemeral_10_default".

  In a normal reboot this results in an unnecessary  image download from
  Glance.

  In the case of reboot following a host boot the download fails because
  the context at this point does not have credentials to be able to
  access Glance.

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