yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12146
[Bug 1297325] [NEW] swap and ephemeral devices defined in the flavor are not created as a block device mapping
Public bug reported:
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.
** Affects: nova
Importance: Medium
Assignee: Xavier Queralt (xqueralt)
Status: New
--
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):
New
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
Follow ups
References