nova/nova/compute
Mathieu Gagné 6f479a494e Don't create block device mappings in the API cell
Otherwise 2 block_device_mapping entries will be created
in the API cell:
- the first one (created by the API cell) will have close to
  no information about the volume (device_name and volume_id are NULL)
- the second one (bubbled up from the compute cell) will contain
  all the volume information

The first entry confuses Nova when creating an image since
it won't be able to find the associated volume (NULL) in Cinder.

The compute cell should create it first and propagate it up
to the API cell.

Change-Id: I38edb953e73de6bc70a2e5950c68f457f83303e1
Closes-bug: #1417239
(cherry picked from commit 58633c4f08)
2015-03-20 23:04:11 +00:00
..
monitors Use oslo.i18n 2014-07-18 14:28:09 -04:00
resources docs - Fix errors,warnings from document generation 2014-08-11 12:53:27 +00:00
__init__.py Enable flake8 H404 checking 2014-02-27 11:15:55 +04:00
api.py Fix image metadata returned for volumes 2015-01-25 19:05:27 +05:30
arch.py Add amd64 to arch.canonicalize() 2014-09-08 08:08:00 -07:00
cells_api.py Don't create block device mappings in the API cell 2015-03-20 23:04:11 +00:00
claims.py Instances with NUMA will be packed onto hosts 2014-11-27 18:20:36 +01:00
fakevirtinstance.xml update copyrights 2010-07-15 01:28:51 -04:00
flavors.py Stash numa-related flavor extra_spec items in system_metadata 2014-09-12 21:07:57 -07:00
hvtype.py Translate 'powervm' hypervisor_type to 'phyp' for scheduling 2014-10-23 04:55:20 +00:00
instance_actions.py Record right action name while migrate 2014-05-26 14:57:15 +08:00
manager.py Fix kwargs['instance'] KeyError in @reverts_task_state decorator 2015-03-11 21:48:16 +00:00
power_state.py Remove underscore for the STATE_MAP variable 2014-02-17 03:01:45 -08:00
resource_tracker.py Merge "Instances with NUMA will be packed onto hosts" into stable/juno 2014-12-04 14:02:47 +00:00
rpcapi.py Fix pci_request_id break the upgrade from icehouse to juno 2014-10-09 14:42:41 +01:00
stats.py Add extensible resources to resource tracker (2) 2014-07-31 13:20:51 +00:00
task_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00
utils.py Truncate encoded instance message to 255 or fewer 2015-01-20 16:49:42 +00:00
vm_mode.py virt: use compute.vm_mode constants and validate vm mode type 2014-09-16 15:32:40 +01:00
vm_states.py Recover from REBOOT-* state on compute manager start-up 2014-03-12 10:00:54 +00:00