From cf769af7b04ef4a84ecc0d48725e5c8a5aa6a231 Mon Sep 17 00:00:00 2001 From: Jon Bernard Date: Thu, 6 Apr 2017 15:38:01 -0400 Subject: [PATCH] Skip arbitrary container tests for Ceph The Ceph backup driver does not support an arbitrary container name without there being a corresponding pool already configured on the cluster. Unlike swift, Ceph cannot create a pool to match a container name on the fly, and this test is not supported when configured with a ceph-backed cinder backup service. This patch fixes commit f62703b5a4ec420399373480531c5d0428454350 which causes the ceph job to fail. Change-Id: Ic8d60d58982bb44bfb233aeccc60c35e8eb0aaf3 --- tempest/api/volume/test_volumes_backup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tempest/api/volume/test_volumes_backup.py b/tempest/api/volume/test_volumes_backup.py index 925beeec67..5ad209c67d 100644 --- a/tempest/api/volume/test_volumes_backup.py +++ b/tempest/api/volume/test_volumes_backup.py @@ -50,6 +50,8 @@ class VolumesBackupsTest(base.BaseVolumeTest): 'available') return restored_volume + @testtools.skipIf(CONF.volume.storage_protocol == 'ceph', + 'ceph does not support arbitrary container names') @decorators.idempotent_id('a66eb488-8ee1-47d4-8e9f-575a095728c6') def test_volume_backup_create_get_detailed_list_restore_delete(self): # Create a volume with metadata