nova/nova/compute
Xavier Queralt dd1c3c7561 Add the swap and ephemeral BDMs if needed
After preparing the block device mapping for creating new instance(s),
check if any ephemeral and/or a swap disks have been already defined. If
that is not the case and the instance type requires them, create the
needed ephemeral and/or swap BDMs.

Closes-Bug: #1297325
Related-Bug: #1457527
Change-Id: I44b30625cf1023d20ebec5e38f46b7b8dab325f6
(cherry picked from commit 7f8128f87f)
2016-01-19 04:11:53 +00:00
..
monitors Don't add exception instance in LOG.exception 2015-03-09 09:57:25 +00:00
resources Use oslo.log 2015-02-22 07:56:40 -05:00
__init__.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
api.py Add the swap and ephemeral BDMs if needed 2016-01-19 04:11:53 +00:00
arch.py Add amd64 to arch.canonicalize() 2014-09-08 08:08:00 -07:00
build_results.py Compute Add build_instance hook in compute manager 2014-12-04 10:12:00 -05:00
cells_api.py Merge "Fix how service objects are looked up for Cells" 2015-04-09 14:24:46 +00:00
claims.py objects: introduce numa topology limits objects 2015-03-12 16:39:49 -04:00
cpumodel.py Add VirtCPUModel nova objects 2015-02-09 10:26:10 +11:00
flavors.py Merge "Avoid KeyError Exception in extract_flavor()" 2015-03-23 06:59:11 +00:00
hv_type.py Add 'docker' to the list of known hypervisor types 2015-06-18 18:47:51 +00:00
instance_actions.py Add missing instance action record for start of live migration 2014-09-24 10:14:42 +08:00
manager.py Fix quota update in init_instance on nova-compute restart 2015-09-30 06:44:31 +00:00
power_state.py Remove underscore for the STATE_MAP variable 2014-02-17 03:01:45 -08:00
resource_tracker.py Fix race between resource audit and cpu pinning 2015-06-12 12:14:45 +01:00
rpcapi.py Correct the help text for the compute option. 2015-05-15 21:59:05 +00:00
stats.py Switch to using oslo_* instead of oslo.* 2015-02-06 06:03:10 -05:00
task_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00
utils.py Delete shelved_* keys in n-cpu unshelve call 2015-05-18 05:59:12 +00:00
vm_mode.py Convert nova.compute.* to use instance dot notation 2015-02-25 17:21:36 -05:00
vm_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00