← 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

 

** Also affects: nova/kilo
   Importance: Undecided
       Status: New

** Changed in: nova/kilo
       Status: New => Fix Committed

** Changed in: nova/kilo
    Milestone: None => 2015.1.4

-- 
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
Status in OpenStack Compute (nova) kilo series:
  Fix Committed

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