summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Evrard <jean-philippe@evrard.me>2018-06-04 17:56:00 +0200
committerJean-Philippe Evrard <jean-philippe@evrard.me>2018-06-04 17:57:56 +0200
commit08a38515de66cb09cb1c6c7c56bb90aeaa86c5c5 (patch)
treeb268d658734cf2e976f30e6e0199bb2a05005ad5
parent28456a1234ad2e3d158237644c9c262a57cc2ee1 (diff)
downloadcinder-tempest-plugin-08a38515de66cb09cb1c6c7c56bb90aeaa86c5c5.zip
cinder-tempest-plugin-08a38515de66cb09cb1c6c7c56bb90aeaa86c5c5.tar.gz
cinder-tempest-plugin-08a38515de66cb09cb1c6c7c56bb90aeaa86c5c5.tar.bz2
Skip create from image if no glance deployed0.1.0
The test should not run if no glance is available, else it would sadly fail, by throwing an exception like [1]. [1]: http://logs.openstack.org/24/571724/1/check/openstack-ansible-functional-ubuntu-xenial/2b1d2ce/job-output.txt.gz#_2018-06-04_14_40_48_660731 Change-Id: I8f8a912b7b1cc4f491420e64d40f7e3f8bdde0da
-rw-r--r--cinder_tempest_plugin/api/volume/test_create_from_image.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cinder_tempest_plugin/api/volume/test_create_from_image.py b/cinder_tempest_plugin/api/volume/test_create_from_image.py
index 12e6c8e..02fbd24 100644
--- a/cinder_tempest_plugin/api/volume/test_create_from_image.py
+++ b/cinder_tempest_plugin/api/volume/test_create_from_image.py
@@ -26,6 +26,8 @@ class VolumeFromImageTest(base.BaseVolumeTest):
@classmethod
def skip_checks(cls):
super(VolumeFromImageTest, cls).skip_checks()
+ if not CONF.service_available.glance:
+ raise cls.skipException("Glance service is disabled")
@classmethod
def create_volume_no_wait(cls, **kwargs):

This mirror site include all the OpenStack related repositories under: openstack, openstack-dev and openstack-infra.

NOTE: All repositories are updated every one hour.

Usage

For Git Clone
 git clone http://git.trystack.cn/openstack/nova.git 
For DevStack

Add GIT_BASE, NOVNC_REPO and SPICE_REPO variables to local.conf file.

[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git