cinder/cinder/tests
Vipin Balachandran 82716b4ac8 Truncate fail_reason to column length
During create_backup failure handling, backup_update fails with
DataError ("Data too long for column") if the fail_reason is
greater than 255 characters. As a result, backup status is stuck
in 'creating' state. This patch avoids the problem by truncating
fail_reason to 255 characters before update.

Closes-Bug: #1376199
Change-Id: If0d616b81d3869f7ea110caab8cf4140cf5c5c9e
2014-10-09 20:07:08 +05:30
..
api Fix parameter miss in test_snapshot_metadata test case 2014-09-25 18:46:18 +09:00
backup Use abstract class for the backup driver interface 2014-08-15 08:30:05 +02:00
brick Fix race condition in ISCSIConnector _disconnect_volume_multipath_iscsi 2014-09-30 12:45:48 -07:00
compute Enable flake8 F841 checking 2014-04-01 11:38:35 +04:00
db Replace tearDown with addCleanup - Part 4 2014-04-15 17:46:08 +04:00
glance Remove vim header 2013-12-30 18:53:02 -06:00
image Mock glance client object in version unit tests 2014-09-08 00:35:44 +05:30
integrated Deprecate the V1 API 2014-09-04 20:24:37 -07:00
keymgr Adds barbican keymgr wrapper 2014-08-18 09:38:57 -04:00
monkey_patch_example Remove vim header 2013-12-30 18:53:02 -06:00
scheduler Downgrade 'infinite' and 'unknown' capacity in weigher 2014-09-23 12:49:58 +08:00
var Support for SSL in wsgi.Server 2013-01-14 15:55:16 -05:00
volume Deprecate / obsolete NetApp volume extra specs 2014-10-01 10:49:55 -04:00
windows Remove executable bits on various files 2014-09-16 11:01:51 -04:00
xenapi Add XenAPINFSDriver 2012-11-21 15:03:35 +00:00
zonemanager Add Cisco FC Zoning plugin to the FC ZoneManager 2014-08-29 20:15:04 -04:00
__init__.py Remove vim header 2013-12-30 18:53:02 -06:00
cast_as_call.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
conf_fixture.py Sync the latest common db code from oslo 2014-06-20 10:46:12 +03:00
declare_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
fake_driver.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
fake_hp_3par_client.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
fake_hp_client_exceptions.py HP 3PAR configurable ssh-host-key-policy 2014-09-10 11:22:56 -07:00
fake_hp_lefthand_client.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
fake_notifier.py Integrate OSprofiler and Cinder 2014-08-21 02:19:36 +04:00
fake_utils.py debug level logs should not be translated 2014-06-18 09:03:02 -06:00
policy.json Allow scheduler pool information to be retrieved 2014-09-20 11:04:12 -07:00
runtime_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_api.py Use six.StringIO instead of StringIO.StringIO 2014-02-25 17:07:29 +08:00
test_api_urlmap.py Add tests for cinder/api/urlmap.py 2013-07-11 11:30:00 +04:00
test_backup.py Add reset-state function for backups 2014-09-12 15:32:17 +08:00
test_backup_ceph.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_backup_driver_base.py Use abstract class for the backup driver interface 2014-08-15 08:30:05 +02:00
test_backup_swift.py Allow backup-to-swift to take swift URL from service catalogue 2014-08-21 08:01:26 +00:00
test_backup_tsm.py Replace tearDown with addCleanup - Part 4 2014-04-15 17:46:08 +04:00
test_block_device.py Fix host option isn't set when using multiple backend 2014-07-02 10:28:29 +00:00
test_conf.py Remove vim header 2013-12-30 18:53:02 -06:00
test_context.py Allow backup-to-swift to take swift URL from service catalogue 2014-08-21 08:01:26 +00:00
test_coraid.py coraid: fix snapshot deletion 2014-09-12 17:04:33 +00:00
test_create_volume_flow.py Consistency Groups 2014-08-27 01:47:31 -04:00
test_db_api.py Truncate fail_reason to column length 2014-10-09 20:07:08 +05:30
test_drivers_compatibility.py Merge "Replace tearDown with addCleanup - Part 4" 2014-04-25 08:20:19 +00:00
test_emc_vmax.py Getting iscsi_ip_address from cinder.conf 2014-09-14 23:46:00 -04:00
test_emc_vnxdirect.py EMC VNX Direct Driver Consistency Group support 2014-09-11 13:11:42 -04:00
test_emc_xtremio.py XtremIO cinder iSCSI & FC volume drivers for Juno 2014-08-27 15:53:37 +03:00
test_eqlx.py Fixes EqualLogic volume live migration. 2014-07-10 09:28:22 -05:00
test_exception.py CinderException args to strings when exceptions 2014-04-29 12:36:57 +01:00
test_fujitsu.py Add Fujitsu ETERNUS DX support 2014-09-01 07:57:04 +00:00
test_fusionio_ioControl.py Driver for Fusion-io ioControl Hybrid array 2014-08-30 14:12:29 -06:00
test_glusterfs.py Refuse invalid qcow2 backing files 2014-10-02 12:57:33 -04:00
test_gpfs.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hacking.py Add hacking check for use of LOG.audit 2014-08-09 10:22:03 -05:00
test_hds.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hds_iscsi.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hds_nfs.py Fix duplicate teardown to allow tox upgrade 2014-08-22 11:54:28 -06:00
test_hitachi_hbsd_horcm_fc.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hitachi_hbsd_snm2_fc.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hitachi_hbsd_snm2_iscsi.py Introduce Hitachi storage volume driver 2014-08-29 12:00:01 +09:00
test_hp3par.py Increase the 3PAR hostname length 2014-09-19 09:24:35 -07:00
test_hp_msa.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_hplefthand.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_huawei_hvs.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_huawei_t_dorado.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_ibm_xiv_ds8k.py Add retype method to xiv/ds8k driver interface. 2014-08-27 05:52:51 +03:00
test_ibmnas.py IBMNAS: Remove call to set r/w permissions to all 2014-09-15 16:05:01 -05:00
test_image_utils.py Make sure device support Direct before setting 2014-10-08 16:17:14 -06:00
test_iscsi.py Merge "Configure write cache option of tgtd iscsi driver" 2014-07-22 02:04:23 +00:00
test_migrations.conf Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
test_migrations.py DB migration 25->24 failed when dropping column 2014-09-20 18:37:52 -04:00
test_misc.py Use oslo.i18n 2014-08-08 17:26:41 -05:00
test_netapp.py Merge "Fix confusing exception message in NetApp iscsi driver" 2014-09-24 03:23:29 +00:00
test_netapp_eseries_iscsi.py Merge "NetApp fix eseries unit test mock clean" 2014-10-03 01:38:27 +00:00
test_netapp_nfs.py Deprecate / obsolete NetApp volume extra specs 2014-10-01 10:49:55 -04:00
test_netapp_ssc.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_nexenta.py Use oslo-incubator module units 2014-06-22 00:09:40 +08:00
test_nfs.py Log an error on nfs mount failure 2014-09-10 20:48:44 -05:00
test_nimble.py Enable import group hacking rule 2014-08-14 13:10:58 +08:00
test_prophetstor_dpl.py Failed to re-detach volume when volume detached. 2014-09-25 17:06:52 +08:00
test_pure.py Fix exception handling in PureISCSIDriver 2014-08-14 15:43:58 -07:00
test_qos_specs.py Switch to use oslo.db 2014-07-21 16:10:41 +03:00
test_quota.py Support Volume Backup Quota 2014-09-02 18:09:04 +08:00
test_rbd.py Pool-aware Scheduler Support 2014-08-31 16:27:02 -07:00
test_remotefs.py Add SMB Volume Driver 2014-09-08 16:28:19 -04:00
test_replication.py Add support in Cinder for volume replication - driver approach 2014-08-23 15:53:55 +00:00
test_scality.py Use oslo-incubator module units 2014-06-22 00:09:40 +08:00
test_service.py Fix unnecessary WSGI worker warning at API startup 2014-09-23 16:20:09 -05:00
test_sheepdog.py Use oslo-incubator module units 2014-06-22 00:09:40 +08:00
test_smbfs.py Refuse invalid qcow2 backing files 2014-10-02 12:57:33 -04:00
test_solidfire.py Catch vol not found in SolidFire transfer 2014-08-17 12:50:24 -06:00
test_storwize_svc.py IBM Storwize driver: Retype the volume with correct empty QoS 2014-09-29 21:59:23 +08:00
test_test.py Port to oslo.messaging 2014-03-10 17:03:03 +01:00
test_test_utils.py Remove vim header 2013-12-30 18:53:02 -06:00
test_utils.py Merge "Make ssh-host-key-policy configurable" 2014-09-04 18:48:24 +00:00
test_vmware_api.py vmware: Fix problems with VIM API retry logic 2014-04-16 15:00:52 +05:30
test_vmware_datastore.py VMware: Improve datastore selection logic 2014-09-17 11:27:56 +05:30
test_vmware_io_util.py VMware: Handle exceptions raised by image update 2014-08-18 19:41:49 +05:30
test_vmware_vmdk.py VMware: Relocate volume to compliant datastore 2014-09-25 16:47:42 +05:30
test_vmware_volumeops.py VMware:Unquote folder name for folder exists check 2014-09-29 18:03:19 +05:30
test_volume.py Make sure device support Direct before setting 2014-10-08 16:17:14 -06:00
test_volume_configuration.py Replace tearDown with addCleanup - Part 4 2014-04-15 17:46:08 +04:00
test_volume_glance_metadata.py Enable flake8 F841 checking 2014-04-01 11:38:35 +04:00
test_volume_rpcapi.py Fix possible race condition for accept transfer 2014-09-08 08:54:52 -07:00
test_volume_transfer.py Fix possible race condition for accept transfer 2014-09-08 08:54:52 -07:00
test_volume_types.py Add test case for volume_types.py 2014-09-12 16:19:53 +09:00
test_volume_types_extra_specs.py Replace tearDown with addCleanup - Part 2 2014-04-23 06:22:02 -05:00
test_volume_utils.py Make sure device support Direct before setting 2014-10-08 16:17:14 -06:00
test_wsgi.py Merge "Ignore HTTP_PROXY during test requests" 2014-08-16 04:48:35 +00:00
test_zadara.py Replace tearDown with addCleanup - Part 4 2014-04-15 17:46:08 +04:00
test_zfssa.py ZFSSA iSCSI driver cannot add multple initiators to a group 2014-09-30 11:42:03 -04:00
utils.py Consistency Groups 2014-08-27 01:47:31 -04:00