This changes the a-r-r with the proper version, and fixes
the repo path for role upgrades:
The role will, during test-upgrade-pre, have its current branch
checked out, and will deploy the current branch infrastructure,
including the generation of the constraints.
Then, the installation of previous branch of the role will use
the constraints for its previous version, but will have no
constraints for it, and fail.
We need to generate the constraints for the previous version too.
This should do it.
On top of it, we need to enfore git and iptables to the list of
packages, because of the issues happening in the developer mode:
Error [Errno 2] No such file or directory while executing command
git clone -q https://git.openstack.org/openstack/neutron
/tmp/pip-build-iS3zW0/neutron
Cannot find command 'git'\n"
This patch also implements an initial set of jobs intended to
match the current job execution method. It does not intend to
improve how the jobs are executed - only to replicate what is
currently in openstack-infra/openstack-zuul-jobs and provide
the platform to iterate on.
To avoid the chicken and egg issue, this patchset temporarily disables
the upgrade testing.
Co-Authored-By: Manuel Buil <mbuil@suse.com>
Change-Id: I48a554e4ef92bc3c156e43881013cc85df0dc8d4
- Handle apt-get update in run_tests.sh
- Install python2 for Ubuntu 16.04 and CentOS 7 before executing test
script.
Change-Id: I439934a463858f46647d8b00467076fbf8f12416
The run_tests.sh script fails when it is run multiple times on CentOS.
The `bindep` run returns an empty list of packages and then `yum`
exits with an error since no packages were provided to install.
This patch checks the length of the `bindep` output and skips the `yum`
installation when the package list is empty.
The patch also cleans up some of the old cruft left over from previous
scripts and avoids repetition.
Change-Id: I93ea2d53158eb736b8c6f89a0a70fb5507660126
Signed-off-by: Major Hayden <major@mhtx.net>
This PR incorporates the openstack-ansible-tests bits into
openstack-ansible-os_neutron as well as adjusting the settings to use
ansible 2.1.1.
Change-Id: I7174b920f20488a5e1d514a8f32754bb95bb60de
Co-Authored-By: Travis Truman <travis_truman@cable.comcast.com>
Some Linux distributions, such as CentOS 7 and Xenial, have trouble
validating SSL certificates when using get_url with servers
that use Server Name Indication (SNI).
This patch adds those packages to the list of required packages and
uses bindep to install them in developer test environments the same
way that the gate tests install them.
Change-Id: I714290136850e62256128ee16a54bf88541fbff9
This tox environment will be run with check experimental for now.
Ultimately it should become part of the gate testing for the role.
Change-Id: I410f029816590dde819a6c97bde5f159f7a791d1
Implements: blueprint support-openvswitch
Paramiko version 2.0 has been released. It now uses the Python library
cryptography. Installing this requires additional system packages. This
commit adds in the appropriate packages required by cryptography based
on its documentation [1].
An alternative approach would have been to constrain the version of
Paramiko however the project describes the 1.x versions as relying on
insecure dependencies [2].
[1] https://cryptography.io/en/latest/installation/
[2] http://www.paramiko.org/installing.html
Change-Id: Ibdce4f3eb3beee0fddf7c381d822925939274506
neutron-ha-tool.py.j2 has been updated to resolve flake8 violations.
This includes removing the venv activation code, by implementing the
following change: https://review.openstack.org/#/c/275279/
Pep8 'E501: line too long' has been added to the ignore list since the
Jinja2 templated shebang line now exceeds 79 characters.
Change-Id: Ib309ee50d75a5386fbc5fb8cd40d8f6733bd7887