kayobe/etc/kayobe
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
..
inventory Synchronise config with kayobe-config 2019-02-08 14:04:43 +00:00
kolla Synchronise config with kayobe-config 2019-02-08 14:04:43 +00:00
bifrost.yml Fix IPA image download 2018-10-02 13:30:11 +01:00
bmc.yml Add a BMC configuration file to consolidate IPMI credentials and BMC type 2017-04-05 11:05:48 +01:00
cadvisor.yml Added missing files per PR review. 2018-01-23 13:05:58 +00:00
compute.yml add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
controllers.yml add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
dell-switch-bmp.yml Add README files for dell-switch and dell-switch-bmp roles 2017-03-28 16:11:39 +01:00
dns.yml Allow resolv.conf configuration to be prevented 2018-05-09 19:12:00 +01:00
docker-registry.yml Add configuration to deploy a Docker registry on a controller 2017-06-27 18:49:10 +01:00
docker.yml Support docker live-restore option 2018-04-18 18:46:34 +02:00
globals.yml Reconcile all 'Ansible control host' references 2018-07-11 17:19:18 +01:00
grafana.yml Organise and update grafana-conf role variables 2018-01-23 12:24:53 +00:00
idrac.yml Add missing Ansible bug 8743 workarounds to config samples 2017-08-07 12:08:08 +00:00
inspector.yml Fix IPA image download 2018-10-02 13:30:11 +01:00
ipa.yml Fix IPA image download 2018-10-02 13:30:11 +01:00
ironic.yml Add configuration for ironic enable and default rescue interfaces 2018-01-31 12:27:16 +00:00
kolla.yml Fix multiple CI failures 2020-04-07 10:18:55 +02:00
monitoring.yml Synchronise config with kayobe-config 2019-02-08 14:04:43 +00:00
networks.yml Support configuring tunnel network 2018-07-20 13:57:03 +01:00
neutron.yml Use kolla-ansible's defaults for neutron ML2 mechanism drivers 2017-10-26 10:32:42 +01:00
node-exporter.yml Restrict prometheus node exporter to overcloud hosts running docker 2017-10-27 15:35:09 +00:00
nova.yml The default group doesn't need to be configurable 2017-11-13 16:16:01 +00:00
ntp.yml Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00
opensm.yml Add configuration of OpenSM Infiniband subnet manager in a Docker container 2017-06-12 10:15:46 +01:00
overcloud.yml Synchronise config with kayobe-config 2019-02-08 14:04:43 +00:00
pip.yml Fix multiple CI failures 2020-04-07 10:18:55 +02:00
seed-hypervisor.yml Add kayobe user bootstrap support for the seed-hypervisor 2018-01-13 09:10:29 +00:00
seed-vm.yml Add missing variables for seed VM data volume config to seed-vm.yml 2017-11-21 17:51:07 +00:00
seed.yml Support configuration of user accounts 2017-09-11 10:29:13 +00:00
ssh.yml Reconcile all 'Ansible control host' references 2018-07-11 17:19:18 +01:00
storage.yml add tag for ceph + storage node 2018-02-06 18:00:57 +01:00
swift.yml Initial mega commit of Kayobe 2017-02-14 15:14:29 +00:00
users.yml Add a workaround for ansible bug 8743 for users.yml 2017-09-14 19:24:13 +01:00
yum-cron.yml Add workaround for ansible bug 8743 to yum configs 2017-11-03 14:32:29 +00:00
yum.yml Make installation of epel-release optional 2018-08-02 15:30:33 +00:00