cinder/cinder
Dmitry Borodaenko e066158b52 Do not clone non-raw images in rbd backend
RBD backend only supports booting from images in raw format. A volume
that was cloned from an image in any other format is not bootable. The
RBD driver will consider non-raw images to be uncloneable to trigger
automatic conversion to raw format.

Includes conversion of the corresponding unit test to use mock (instead
of mox) and expanded comments and error messages based on change #58893
by Edward Hope-Morley.

Change-Id: I5725d2f7576bc1b3e9b874ba944ad17d33a6e2cb
Closes-Bug: #1246219
Closes-Bug: #1247998
2013-12-15 18:24:28 -08:00
..
api Catch TypeError when new_size is None on extend 2013-12-09 16:00:20 -07:00
backup Merge "Use pipe between ceph backup diff export/import" 2013-10-30 16:24:14 +00:00
brick Remove LANG=C from rootwrap invocations 2013-12-12 00:49:27 +01:00
common Provide gettext _ in missing locations 2013-10-16 13:53:22 -06:00
compute Merge "Changed header from LLC to Foundation based on trademark policies" 2013-10-02 22:33:50 +00:00
db Add disabled_reason field to services table 2013-12-10 08:47:05 +08:00
image Remove LANG=C from rootwrap invocations 2013-12-12 00:49:27 +01:00
keymgr Lazy log the fixed_key warnings 2013-12-10 14:51:32 -05:00
locale Imported Translations from Transifex 2013-12-01 06:16:40 +00:00
openstack Merge "Sync matchmaker_ring.py from oslo-incubator" 2013-12-10 04:23:57 +00:00
scheduler Switch create volume commands to Taskflow 0.1.1 2013-12-12 10:36:45 +02:00
testing Use nose and openstack nose plugin. 2013-03-07 14:14:08 -05:00
tests Do not clone non-raw images in rbd backend 2013-12-15 18:24:28 -08:00
transfer Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
volume Do not clone non-raw images in rbd backend 2013-12-15 18:24:28 -08:00
__init__.py Remove gettext.install() from cinder/__init__.py 2013-05-13 18:45:25 +08:00
context.py RequestContext initialization failed in cinder. 2013-11-07 10:33:09 +08:00
exception.py Subclass vendor specific exceptions. 2013-11-21 18:39:04 +00:00
manager.py Replace FLAGS with cfg.CONF in other modules, unless tests 2013-06-13 13:11:36 +04:00
policy.py Provide gettext _ in missing locations 2013-10-16 13:53:22 -06:00
quota.py Fix all occurences of H404 Hacking warning 2013-10-13 10:36:27 +03:00
service.py Make sure report_interval is less than service_down_time 2013-11-25 00:15:36 +08:00
test.py Add cinder.db.migration.db_initial_version() 2013-10-28 10:11:24 -04:00
units.py Nexenta iSCSI driver: extend volume stats of _update_volume_stats 2013-11-12 09:57:26 -08:00
utils.py Fix typo/misspelled words 2013-12-03 22:49:12 +08:00
version.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00
wsgi.py Changed header from LLC to Foundation based on trademark policies 2013-09-10 17:26:42 +02:00