nova/nova
Matthew Booth 642c986f06 Don't check flavor disk size when booting from volume
When creating a volume from an image, cinder copies the image metadata
into volume properties. When booting from the volume, we read this
metadata from the volume and use it as image metadata once again.

While fixing the check against min_ram,
change I861a78b5c7efa71e4bf7206d388b8d0d8048c78e introduced a
regression which prevents a user from booting a volume which is larger
than the flavor's disk. As we are not creating this disk, this check
does not make sense. Similarly, it checks the image metadata's
min_disk against the flavor disk size, which is not being used.

This change leaves the image metadata check unaltered when creating a
flavor disk. When booting from a volume, we check min_disk from image
metadata against the actual size of the volume. We don't check the
volume size at all. The check against min_ram is retained unaltered.

Closes-Bug: #1457517
Closes-Bug: #1459491
Closes-Bug: #1466305
Change-Id: I264493172da20b664df571e32876030246c2a87c
2015-08-12 15:45:19 +01:00
..
api Merge "New nova API call to mark nova-compute down" 2015-08-06 05:31:25 +00:00
CA
cells cells: document upgrade limitations/assumptions 2015-07-29 08:30:15 -07:00
cert Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
cloudpipe Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
cmd Switch to oslo.reports 2015-07-23 00:36:01 +03:00
compute Don't check flavor disk size when booting from volume 2015-08-12 15:45:19 +01:00
conductor Merge "Retry live migration on pre-check failure" 2015-08-05 00:52:35 +00:00
console Get py34 subunit.run test discovery to work 2015-07-28 10:40:56 +00:00
consoleauth Update rpc version aliases for kilo 2015-04-21 13:57:56 +08:00
db Remove db layer hard-code permission checks for keypair 2015-08-05 13:55:15 +08:00
hacking Remove unnecessary oslo namespace import checks 2015-07-23 11:01:19 +00:00
image Merge "Images: fix invalid exception message" 2015-07-30 10:16:13 +00:00
ipv6
keymgr
locale Imported Translations from Transifex 2015-08-05 06:21:32 +00:00
mks Add MKS console support 2015-07-25 15:01:44 +03:00
network Merge "Adding support for InfiniBand SR-IOV vif type" 2015-08-05 17:24:04 +00:00
objects Merge "objects: add hw_vif_multiqueue_enabled image property" 2015-08-05 19:47:46 +00:00
objectstore Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
openstack Switch to the oslo_utils.fileutils 2015-07-24 14:10:44 +03:00
pci Merge "cleanup NovaObjectDictCompat subclassing from pci_device" 2015-08-03 16:17:14 +00:00
rdp
scheduler Enable python34 tests for nova/tests/unit/scheduler/test*.py 2015-07-28 10:40:36 +00:00
servicegroup Service group drivers forced_down flag utilization 2015-07-31 15:43:36 +02:00
spice
tests Don't check flavor disk size when booting from volume 2015-08-12 15:45:19 +01:00
virt Merge "allow live migration in case of a booted from volume instance" 2015-08-06 05:55:52 +00:00
vnc Register the vnc config options under group 'vnc' 2015-06-22 13:39:00 -04:00
volume Try luksFormat up to 3 times in case the device is in use 2015-07-01 13:08:47 -07:00
wsgi Helper scripts for running under Apache2 2015-05-08 09:59:58 -04:00
__init__.py
availability_zones.py Enable python34 tests for nova/tests/unit/objects/test*.py 2015-07-01 20:29:42 +00:00
baserpc.py
block_device.py snapshot: Add device_name to the snapshot bdms 2015-07-02 13:45:36 +01:00
config.py Remove references to suds 2015-06-15 16:32:23 +03:00
context.py
crypto.py Replace openssl calls with cryptography lib 2015-07-27 14:41:44 -07:00
debugger.py
exception.py Merge "libvirt: enhance libvirt to set admin password" 2015-08-05 16:00:08 +00:00
filters.py Remove use of builtin name 2015-05-28 16:23:49 -05:00
hooks.py
i18n.py
loadables.py
manager.py Switch to oslo.service library 2015-07-11 02:54:42 +00:00
netconf.py
notifications.py Handle InstanceNotFound when sending instance update notification 2015-06-11 12:26:00 -07:00
opts.py Use oslo-config-generator instead of generate_sample.sh 2015-06-18 22:00:18 +00:00
paths.py
policy.py
quota.py Fix Python 3 issues in nova.db.sqlalchemy 2015-06-30 07:06:54 -07:00
rpc.py
safe_utils.py Set autodoc_index_modules=True so tox -e docs builds module docs again 2015-07-30 17:11:47 -07:00
service.py Switch to oslo.service library 2015-07-11 02:54:42 +00:00
test.py Merge "return more details on assertJsonEqual fail" 2015-07-31 09:54:33 +00:00
utils.py Set autodoc_index_modules=True so tox -e docs builds module docs again 2015-07-30 17:11:47 -07:00
version.py Fix version unit test on Python 3 2015-05-25 13:33:59 +02:00
weights.py Skip only one host weight calculation 2015-05-05 11:40:09 +08:00
wsgi.py Handle SSL termination proxies for version list 2015-08-03 08:50:45 +02:00