]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
qa/workunits: fix appdir setup issue in devstack
authorJason Dillaman <dillaman@redhat.com>
Mon, 1 May 2017 21:07:48 +0000 (17:07 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 2 May 2017 13:56:57 +0000 (09:56 -0400)
See https://bugs.launchpad.net/devstack/+bug/1667545

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/run_devstack_tempest.sh

index b3fdc456bcee40a357fb615fdd477c92b401ffeb..e0c10882e9edeeebaadbd4c5583637e762521e5f 100755 (executable)
@@ -84,8 +84,12 @@ cat<<EOF > ${STACK_HOME_PATH}/start.sh
 #!/bin/bash -ex
 cd ${STACK_OPT_PATH}
 git clone https://git.openstack.org/openstack-dev/devstack -b ${STACK_BRANCH}
-cd devstack
 
+# TODO workaround for https://github.com/pypa/setuptools/issues/951
+git clone https://git.openstack.org/openstack/requirements.git -b ${STACK_BRANCH}
+sed -i 's/appdirs===1.4.0/appdirs===1.4.3/' requirements/upper-constraints.txt
+
+cd devstack
 cp ${STACK_HOME_PATH}/local.conf .
 
 export PYTHONUNBUFFERED=true
@@ -94,7 +98,6 @@ export PROJECTS="openstack/devstack-plugin-ceph"
 ./stack.sh
 EOF
 
-
 # execute devstack
 chmod 0755 ${STACK_HOME_PATH}/start.sh
 sudo -H -u ${STACK_USER} ${STACK_HOME_PATH}/start.sh