diff options
author | Andreas Jaeger <aj@suse.com> | 2019-08-07 13:49:48 +0200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-10-05 13:14:59 +1300 |
commit | 67566d07b5308ab7ad1cc91729162b65d8da8638 (patch) | |
tree | 2146e5c2124b8c70f799bdee1b56d6d8d1bfdb67 /roles/trove-devstack/tasks/main.yml | |
parent | 26d1e5ad59eda795e5d1485730bd8a71d620e55c (diff) | |
download | trove-67566d07b5308ab7ad1cc91729162b65d8da8638.tar.gz |
Fix Trove CI jobsstable/stein
This is a combination of 2 commits, both are necessary to fix every CI
issue:
1. 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.
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.
6) Don't use master branch python-troveclient for stable branch Trove.
[1] https://review.opendev.org/203698
[2] http://lists.openstack.org/pipermail/openstack-discuss/2019-June/006888.html
Conflicts:
devstack/plugin.sh
integration/scripts/functions_qemu
integration/scripts/trovestack
Note(elod.illes): bullet 3. skipped from backport as it is not a necessary
patch I think.
2. Use opendev.org instead of git.openstack.org
After moving to opendev.org, the following command fails when building
the Trove guest image:
curl -o /opt/stack/devstack/upper-constraints.txt \
'https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=master'
https://opendev.org/openstack/requirements/raw/branch/master/upper-constraints.txt
should be used instead.
Other places using git.openstack.org are also changed.
Change-Id: I35e17afb9e827b1fead9d28dbf32f11ce4034a9b
(cherry picked from commit eafd303e0a781eaaf10acdc4d208e49fbf0f4c2c)
(cherry picked from commit 7b3483723a5fdfa56a8cc419ad77c8660ac87ad1)
Diffstat (limited to 'roles/trove-devstack/tasks/main.yml')
-rw-r--r-- | roles/trove-devstack/tasks/main.yml | 2 |
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}} |