cinder/cinder/tests/unit
Tomoki Sekiyama beef71d0f8 Fix exception on uploading a volume to image with glance v2 API
This fixes an exception on uploading a volume to image when
the glance v2 api is enabled. Also, this adds the unit tests
for updating metadata and data both with glance API v1 and v2.

Change-Id: Id70eff82837c0af1f033a2bb749ef367cd9e32fb
Closes-bug: #1478737
2015-07-28 14:18:10 -04:00
..
api Merge "Raise BadRequest for invalid replication status" 2015-07-24 00:49:13 +00:00
backup Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
brick Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
compute Add ability to override OpenStack privileged user auth url 2015-07-09 18:10:13 -04:00
db Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
glance Fix exception on uploading a volume to image with glance v2 API 2015-07-28 14:18:10 -04:00
image Fix exception on uploading a volume to image with glance v2 API 2015-07-28 14:18:10 -04:00
integrated Replace urllib and urllib2 with six.moves.urllib 2015-06-10 18:52:26 +02:00
keymgr Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
monkey_patch_example Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
objects Non-disruptive backup 2015-07-22 16:59:19 -04:00
scheduler Remove simple scheduler which is deprecated since Juno 2015-07-24 08:43:42 +08:00
targets Fix tests failing in gate 2015-07-10 16:15:32 +02:00
var Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
volume Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
windows Windows SMBFS: Fix image resize errors during volume creation 2015-05-11 16:08:35 +03:00
xenapi Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
zonemanager Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
__init__.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
cast_as_call.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
conf_fixture.py Revert "Disable backup progress notifications for unit tests" 2015-06-19 14:27:40 -04:00
declare_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_backup.py Fix backups.rpcapi to pass objects over RPC 2015-06-23 15:42:00 +02:00
fake_driver.py Non-disruptive backup 2015-07-22 16:59:19 -04:00
fake_hp_3par_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_client_exceptions.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_hp_lefthand_client.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fake_notifier.py Tests: Make fake_notifier per-instance 2015-06-19 11:27:40 +02:00
fake_snapshot.py Avoid race condition at snapshot deletion stage 2015-07-02 15:50:01 +03:00
fake_utils.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
fake_vmem_client.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
fake_volume.py Non-disruptive backup 2015-07-22 16:59:19 -04:00
policy.json Merge "Add support for force-delete backups" 2015-07-14 18:21:07 +00:00
runtime_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_api.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
test_api_urlmap.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_backup.py Non-disruptive backup 2015-07-22 16:59:19 -04:00
test_backup_ceph.py Fix restore point if backup base is diff-format in ceph 2015-07-14 11:57:59 +08:00
test_backup_driver_base.py Fix Python 3 issues in backup 2015-06-24 17:11:05 +02:00
test_backup_swift.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
test_backup_tsm.py Remove oslo logging from backup unit tests 2015-06-27 21:23:34 +00:00
test_block_device.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_blockbridge.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_cloudbyte.py Add chap support to CloudByte cinder driver 2015-05-29 11:17:51 +05:30
test_cmd.py Fix Python 3 issues in cmd 2015-07-02 13:42:20 +02:00
test_conf.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_context.py Add Cinder internal tenant support 2015-07-23 14:46:53 +00:00
test_create_volume_flow.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_db_api.py Merge "Filter cgsnapshots data on the DB side" 2015-07-23 19:49:14 +00:00
test_dellfc.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_dellsc.py Dell SC: Add support for driver retype 2015-07-23 12:47:53 -05:00
test_dellscapi.py Merge "Dell SC: Fix legacy bug, init_conn bug and REST API bug." 2015-07-25 04:40:31 +00:00
test_dothill.py Port dothill to Python 3 2015-07-01 10:50:58 +02:00
test_drbdmanagedrv.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_emc_vmax.py Merge "Support SMI-S provider v8.0.3 in VMAX driver" 2015-07-17 04:40:46 +00:00
test_emc_vnxdirect.py Merge "Add white list support for target ports in VNX driver" 2015-07-19 15:38:06 +00:00
test_emc_xtremio.py XtremIO volume driver consistency group support 2015-07-23 14:54:04 +00:00
test_eqlx.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_evaluator.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_exception.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_glusterfs.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_gpfs.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_hacking.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_hitachi_hbsd_horcm_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_fc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hbsd_snm2_iscsi.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_hitachi_hnas_backend.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_hitachi_hnas_iscsi.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_hitachi_hnas_nfs.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_hp3par.py Fix 3PAR driver handling of existing VLUNs 2015-07-16 17:33:19 -07:00
test_hp_xp_fc.py Volume driver for HP XP storage 2015-06-16 20:30:07 +09:00
test_hplefthand.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_huawei_drivers.py Add CHAP support for Huawei driver 2015-07-21 16:07:07 +08:00
test_huawei_drivers_compatibility.py Refactor Huawei Volume driver 2015-07-18 16:49:05 +08:00
test_ibm_flashsystem.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_ibm_flashsystem_iscsi.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_ibm_xiv_ds8k.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_ibmnas.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_image_utils.py Disallow backing files when uploading volumes to image 2015-06-15 11:33:27 -04:00
test_infortrend_cli.py Merge "Fix getting wwpn information in infortrend driver for DS4000" 2015-07-24 00:49:01 +00:00
test_infortrend_common.py Merge "Fix getting wwpn information in infortrend driver for DS4000" 2015-07-24 00:49:01 +00:00
test_migrations.py Non-disruptive backup 2015-07-22 16:59:19 -04:00
test_misc.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_netapp.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_netapp_eseries_iscsi.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_netapp_nfs.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_netapp_ssc.py Merge "Replace dict.iteritems() with dict.items()" 2015-06-15 22:10:18 +00:00
test_nfs.py RemoteFS: Reporting configured reserved_percentage in _update_volume_stats 2015-07-01 22:43:31 +05:30
test_nimble.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_prophetstor_dpl.py Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
test_pure.py Implement retype for Pure drivers 2015-07-23 16:02:43 -07:00
test_qos_specs.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_quota.py Merge "Nested Quota: Set default values to subproject" 2015-07-08 22:16:21 +00:00
test_rbd.py Remove unused arguments from c-vol's create_volume 2015-07-24 11:17:32 +02:00
test_remotefs.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_replication.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_san.py Port remote_fs driver to use new driver model 2015-06-08 13:02:03 +02:00
test_scality.py scality: add export and name keys to os-initialize_connection info 2015-07-16 14:13:29 -07:00
test_service.py Graceful shutdown WSGI/RPC server 2015-07-17 18:55:22 +00:00
test_sheepdog.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_smbfs.py smbfs: fix invalid check for smbfs_used_ratio correctness 2015-06-30 19:06:08 +03:00
test_solidfire.py Modify template account creation in SolidFire drvr 2015-06-23 16:36:41 -07:00
test_srb.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_storpool.py Implement the update_migrated_volume for the drivers 2015-07-02 22:14:55 +08:00
test_storwize_svc.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_test.py Fix tests failing in gate 2015-07-10 16:15:32 +02:00
test_test_utils.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_tintri.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_utils.py Add tracing facility for drivers 2015-07-07 15:05:18 -04:00
test_v6000_common.py VMEM v6000: Fix export verify routines 2015-07-09 12:07:31 -07:00
test_v6000_fcp.py VMEM v6000: Fix export verify routines 2015-07-09 12:07:31 -07:00
test_v6000_iscsi.py VMEM v6000: Fix export verify routines 2015-07-09 12:07:31 -07:00
test_v7000_common.py Adds the Violin Memory V7000 series FC driver. 2015-06-19 13:38:32 -07:00
test_v7000_fcp.py Mock socket.gethostbyaddr in test_v7000_fcp 2015-07-01 08:41:03 +02:00
test_vmware_datastore.py VMware: Create volume backing in specific clusters 2015-06-29 16:46:54 +05:30
test_vmware_vmdk.py VMware: Create volume backing in specific clusters 2015-06-29 16:46:54 +05:30
test_vmware_volumeops.py VMware:Replace vCenter calls with oslo.vmware calls 2015-07-23 18:37:09 +05:30
test_volume.py Merge "Add volume_attachment to volume usage notifications" 2015-07-27 11:00:06 +00:00
test_volume_configuration.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_glance_metadata.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_volume_rpcapi.py Remove unused arguments from c-vol's create_volume 2015-07-24 11:17:32 +02:00
test_volume_throttling.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
test_volume_transfer.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_types.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
test_volume_types_extra_specs.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_volume_utils.py Merge "Add volume_attachment to volume usage notifications" 2015-07-27 11:00:06 +00:00
test_vzstorage.py Add Virtuozzo Storage Volume Driver 2015-06-18 20:14:34 +03:00
test_wsgi.py Replace dict.iteritems() with dict.items() 2015-06-12 15:18:57 +02:00
test_xio.py Revert "Remove X-IO volume driver" 2015-07-20 14:41:12 +00:00
test_zfssa.py Remove useless logging from unit tests 2015-07-13 17:39:44 +00:00
utils.py Non-disruptive backup 2015-07-22 16:59:19 -04:00