summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2019-08-07 13:49:48 +0200
committerLingxian Kong <anlin.kong@gmail.com>2019-08-14 21:20:34 +1200
commit7b3483723a5fdfa56a8cc419ad77c8660ac87ad1 (patch)
tree431dbaf3d3683be7cfebb038c153083eeee9042b /roles
parentdae5bc1bc7922ee35dffe5e283fc8529299b3081 (diff)
downloadtrove-7b3483723a5fdfa56a8cc419ad77c8660ac87ad1.tar.gz
Fix Trove CI jobs
Changes to get jobs working 1) After [1] devstack no longer changes the ownership of the whole /opt/stack tree to the stack user unconditionally. Switch to the stack user when running integration test. 2) Add bindep.txt file[2]. The default fallback file is not installed anymore and therefore a bindep.txt file is needed to add install additional packages. 3) Use trovestack script rather than devstack to build image so many global variables could be used for consistency. By default, devstack won't build image. 4) Remove the tools/test-setup.sh as it is not used any more. 5) Instance upgrade test keeps failing in CI for some reason, although it's always passed on my local environment. In order not to block other patches, skip the instance upgrade tests temporarily. [1] https://review.opendev.org/203698 [2] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006888.html Change-Id: I35e17afb9e827b1fead9d28dbf32f11ce4034a9b
Diffstat (limited to 'roles')
-rw-r--r--roles/trove-devstack/tasks/main.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/trove-devstack/tasks/main.yml b/roles/trove-devstack/tasks/main.yml
index 01132837..3a1dc575 100644
--- a/roles/trove-devstack/tasks/main.yml
+++ b/roles/trove-devstack/tasks/main.yml
@@ -1,4 +1,6 @@
- name: Run trovestack
+ become: true
+ become_user: stack
shell: |
export BRIDGE_IP=10.1.0.1
export DEST={{devstack_base_dir}}