kayobe/dev
Pierre Riteau 2c7deb4be7 Fix multiple CI failures
1. Use stable/queens as version of kolla-ansible in ansible tests

Instead of always checking out the master branch, use the kolla-ansible
branch with which this Kayobe version is meant to be used.

This is based on change I074d4b9d444649ecf956d3cd92748862e8c89a5c,
though we cannot use {{ openstack_branch }} which was introduced with
Stein. We hardcode stable/queens instead, as we did in stable/rocky with
change I344b1e90d34e0c8e2fb30331038b296ac89449b1.

2. Install python-openstackclient using upper constraints

Detect current branch from .gitreview and use upper constraints to
install python-openstackclient, to guarantee compatibility with the
Python version in use. This is cherry picked from commit
ef33e6ecb7.

3. Update packages in virtualenvs

Kayobe uses a number of virtual environments on the remote hosts for
python dependencies such as shade, python-openstackclient, docker, etc.
By default these are stored in /opt/kayobe/venvs/. Typically we do not
provide version restrictions when installing these packages, so over the
course of time they may become stale and incompatible.

This change installs the latest version of packages allowed by OpenStack
upper constraints.

It also adds a new variable, 'pip_upper_constraints_file', to set the
upper constraints file. The existing variable
'kolla_upper_constraints_file' now defaults to the value of
'pip_upper_constraints_file'.

This is cherry picked from commit
ddfd6b6202.

4. Remove upgrade jobs from Zuul configuration

Upgrade jobs are failing because stable/pike has the same issues fixed
in kolla-ansible for stable/queens:

- https://review.opendev.org/#/c/717276/
- https://review.opendev.org/#/c/717302/

Fixing kayobe for stable/pike would involve fixing kolla-ansible for
stable/pike, which is not maintained anymore. Drop upgrade jobs instead.

Change-Id: Ie44508fe3d3b08190afa5a43748e43548a63ff82
2020-04-07 10:18:55 +02:00
..
config.sh Fix multiple CI failures 2020-04-07 10:18:55 +02:00
dev-hosts Add container-image-builders group 2017-11-28 15:32:49 +00:00
dev-vagrant-network-allocation.yml Refactor Vagrantfile to support VMware 2017-11-29 11:30:25 +00:00
dev-vagrant.yml Support configuring tunnel network 2018-07-20 13:57:03 +01:00
environment-setup.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
functions Fix multiple CI failures 2020-04-07 10:18:55 +02:00
install.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
overcloud-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
overcloud-test.sh Test nova server (VM) boot in overcloud job 2018-05-10 18:39:07 +01:00
overcloud-upgrade.sh Test upgrades in CI 2018-11-06 15:09:34 +00:00
seed-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
seed-hypervisor-deploy.sh Address dev environment review comments 2018-02-06 14:08:45 +00:00
seed-upgrade.sh Test upgrading seed services in CI 2019-01-04 13:41:37 +00:00