← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1297325] Re: swap and ephemeral devices defined in the flavor are not created as a block device mapping

 

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

** Changed in: nova
    Milestone: None => liberty-1

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

Title:
  swap and ephemeral devices defined in the flavor are not created as a
  block device mapping

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When booting an instance specifying the swap and/or ephemeral devices,
  those will be created as a block device mapping in the database
  together with the image and volumes if present.

  If, instead, we rely on libvirt to define the swap and ephemeral
  devices later from the specified instance type, those devices won't be
  added to the block device mapping list.

  To be consistent and to prevent any errors when trying to guess the
  device name from the existing block device mappings, we should create
  a mappings for those devices if present in the instance type. We
  should create them from the API layer, before validating the block
  device mappings and only if no swap or ephemeral device are defined by
  the user.

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


References