--top-io-adv and --top-cpu-adv aren't options in c8, so let's make
their usage dynamic.
This imports https://review.opendev.org/801659 from the upstream
p-o-i repo.
Co-Authored-By: Alex Schultz <aschultz@next-development.com>
Change-Id: I0a77a4711a8eb03deda15574ba309ae2df5ccbeb
CentOS is publishing some preview composes of CentOS Stream 9. In RDO,
we are working to get ready for it ASAP.
This patch is proposing some changes needed for current status of
CentOS9 so that i can use this patch for it:
- Set rsync to be executed without xinetd (xinetd is not in CS9)
- Added the creation of initiatorname.iscsi using openstacklib::iscsid
It's also creating packstack-centos9 and packstack-multinode-centos9
base jobs so that we can start running packstack jobs in third-party
zuul servers.
Change-Id: I64edd1876ccc32f98ab2330024d9ab513f42a158
neutron_* parameters were deprecated earlier and are
now removed with [1], let's use recommended params
now.
Also upgrade pip as latest cryptography needs rust[1] to build,
to use published wheel binaries for cryptography atleast 19.1.1 pip
is needed, so let's update pip to latest.
Also pin puppet-systemd to working commit as master puppet-systemd
is not compatible with puppet-rabbitmq, until it's fixed let's
pin like it's done in rdoinfo[3].
[1] https://review.opendev.org/c/openstack/puppet-nova/+/772175
[2] https://github.com/pyca/cryptography/issues/5771
[3] https://review.rdoproject.org/r/#/c/32088
Change-Id: I45a6585b24ed8ae694b21fb0b9617d843e95cdd9
After [1] nova::pci is included nova::api and packstack fails with
duplicate declaration.
This patch is moving nova:pci class invocation to before nova::api
in order to handle the duplicate declaration.
Also, this patch is installing python3-wheel to unblock CI jobs which
are failing with error:
"ERROR: 'pip wheel' requires the 'wheel' package. To fix this, run: pip install wheel"
[1] https://review.opendev.org/#/c/760327/
Change-Id: I264a0104aaf9ad8b927126cb523a4e8df9c5e6b7
We are still using old 0.3.5 version, let's move to the most recent one.
This patch also removes usage of UEC cirros image for tempesa. This was
introduced long time ago [1] because of hitting issue reported in [2].
This should be fixed in newer cirros versions so let's make it simple
and do not use extra image only for tempest.
[1] https://review.opendev.org/#/c/322139/
[2] https://bugs.launchpad.net/cirros/+bug/1312199
Change-Id: I1bc286f6264538f4be920e5bf2b5d113c0b57280
This patch is doing some changes related to CentOS8 transition.
- Pre-install python-pyyaml, otherwise is installed with pip at a later
stage and jobs fail when trying to install from package from CBS
build.
- Collect dnf related logs
- Use puppet-passed-ci RDO Trunk repo
- Make CentOS 8 jobs voting (we'll remove CentOS7 soon)
- Add CentOS 8 jobs to gate pipeline.
Change-Id: I68a5eb6a547286469e73e57bd6ace02e0aec4532
mariadb has been updated in centos7-master to version mariadb-10.3.20
which should work fine with latest puppet-mysql so we shouldn't need to
pin it anymore.
Change-Id: I308fcf161f5344a7b927f17b3ff385f1c5b0ecd1
It's created in heat::keystone::auth and after [1] it's complaining of
duplicate declaration.
Also pinning gettext as version 3.3.0 is not compatible with the ruby
version in CentOS7.
[1] https://review.opendev.org/#/c/692664
Change-Id: I8d226aa2218eafc07119f88eca5be24c3514b717
As part of adoption of CentOS 8 in RDO, this patch is adding support to
test with it:
- Adapt run_tests.sh for CentOS8.
- Add the option to have different versions of puppet modules (needed
for puppet-mysql until we can update mariadb in CentOS7.
- Add centos8 playbooks and jobs definition.
Change-Id: Ie53a8cb5517651487436e24bf60f51bc531f16d6
Currently, it's not using the constraints file so we may use different
versions that other services.
Change-Id: I3f8eb965b6f08ddf6c0bc89a53e051e43047aecb
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I0b4e3ec44d4e577f6a8af4c8a94ea9ca78c3c20d
The puppet-firewall code uses /usr/libexec/iptables/iptables.init,
which is provided by the iptables-services package. This package is
commonly included, but let's be safe.
Change-Id: Ifb917f370b63184378ea6b399ca3a5a3f85eabc0
- pip install needs /usr as a prefix, otherwise packstack is installed
under /usr/local/bin, which is not a valid path for sudo.
- iptables package is required.
- SSL certificates need to be decoded when writing, to avoid string
issues.
Change-Id: Ia49ebda480ace91c6727c887c4cd8394cfefcfff
On RHEL 8, we have no pip but we have pip3, so we need to adapt the
pip detection and setup to this.
This also requires taking into account a new possible location for
packstack.rst, under /usr/local/share.
Change-Id: I3b93449fb4b7faabb15a8b186d2be1c174b754b6
Some packages we always install in run_tests.sh are either not present
in RHEL 8, or need to be named differently.
Change-Id: I14b98e8a4d237bed77581ae4364351913234c9ba
We are having issues in some CI jobs running on Fedora images. They
are caused by a combination of factors that create the wrong umask.
Change-Id: I2114f688a8fd78311cb045a9b7560ed3360970ad
This removes port 35357 for Keystone as will be
done in [1] and changes all references to that port.
I can't see that packstack will need to keep the support
for both ports as done in TripleO recently [2].
[1] https://review.openstack.org/#/c/619257/
[2] https://review.openstack.org/#/c/627793/
Change-Id: I4b6dcd396e1e5e666e7429929240bca7aadbc3bb
This patch is creating a new job running on fedora-28 images which
runs scenario-py3.sh to validate python3 builds on fedora.
Job is non-voting.
Additionally this patch is fixing puppetfile to get newer versions,
aligned with what we have in p-o-i.
Change-Id: I404fc6d38dd5177a3aaef51b0450ad2850595e32
r10k version 3.0.0 and later require a newer version of the cri gem,
which only work with ruby >= 2.3. This does not work on CentOS 7,
where we have an earlier version.
Change-Id: I99958dd82bb95b8f3d7a6a2b0c86fd2c1f21c802
Currently, test scenarios 001-003 will only look for x86 cirros
images. This patch adds support by grabbing the system arch and
creating a string to match the downloaded cirros image in
run_tests.sh.
Currently, ppc64le and x86 will use different cirros versions,
as x86 experiences kernel panics with 0.4.0, which power needs.
Change-Id: Ibc9c2f4d9d8d34e416b3b57cfde0a51d0917e689
Currently run_tests.sh hardcodes what images are downloaded and used
for testing. This patch grabs the system's arch and uses it to build
the urls and filenames for the cirros images. Additionally, ppc64le
images are not provided until 4.0 so switching cirros version based
on arch is also added here.
Change-Id: I73b65c566153c027988b5781870e44c47c6e8b1f
We now have puppet_forge 2.2.9, r10k 2.6.2 and semantic_puppet 1.0.1, which do not create any incompatibility.
This reverts commit edbf361c7c.
Change-Id: I54ccdd24ce3717feaf4600c4cb4df38bae8b9b06
* https://review.openstack.org/#/c/504345/ moves the tempest run
cli to stestr. In order to avoid breakage switch to stestr from testr.
* Check for .testresposity and .stestr folder and then use
respective test runner. It will avoid the breakage in CI.
Change-Id: I1fdbe2f441a73f80d8d6e7a8263d300939a4fba3
Packstack has traditionally allowed multinode deployments with
1 controller, one or more network nodes and several compute nodes,
but this has never been properly tested in our CI.
This job enables an option to use a 2-node architecture, with one
controller and one compute node. It adds a job running scenario002,
but enables scenario001 and scenario003, so they can be used on
demand if needed.
Change-Id: Ide96a232c902370f3ec25ed54f2b272cc1757dad
- Do not generate the SSH private key if it already exists
- Set skipsdist = True in tox.ini
- Add Zuul v3 layout
Change-Id: I4b0254bf175d51c0a468b01f8ac034db43859572
The latest puppet_forge version (2.2.7) requires semantic_puppet ~> 1.0,
which is not compatible with r10k.
Change-Id: Ie1ecfcc8ba579ae52007dd924851ed47a2ccb5dc
When running tests using run_tests.sh, we want to have the option
to select if we want to run SELinux in enforcing (default) or
permissive mode.
Change-Id: I76776ff975a251c62f70c826913cd329b57c20c3
There is a permanent redirection from http to https in buildlogs, cbs
and trunk repos that might create issues when the redirection fails for
some reasons.
Let's use https directly.
Change-Id: I84f29d6761a80d95c15ca2db97fce02185dbd8de
In RDO, from ocata release tempest rpm is using upstream tempest
as a source. It would be good to use the same rpm for installing
and configure tempest.
Depends-On: Ia9e48d951e0f37e985e628b7a49401d75c9e4729
Change-Id: Ie6b20063944d3e6307bd332c624572e0cb3f1158
In specific cases, there may be conflicts between packages
provided by Centos and RDO repos. In that case RDO repos
should be used.
To avoid any of these issues, this patch updates packages
right after enabling the repos.
Note this will be required when gate jobs move to CentOS 7.3
because of conflicts between mariadb-libs in CentOS and
mariadb-common in RDO repos.
Change-Id: Icaeed8602378780f2c9bc8b22621c09b65bf95a8
We were still using the Newton repos to test, because we had no
CI-passed repo for Ocata. This changed long time ago.
Also, certain late changes to Puppet modules have broken Puppet 4
compatibility for Packstack, such as
e86ac7fb4b
We need to fix Puppet 4 support for Packstack at the same time
we enable centos-master.
Change-Id: Iaf28404b9ac1b3e0ab16962b28c5b6be758a551f
This is a generic variable that'll allow to pass extra commands to
Packstack integration testing scenarios so that we do not have to
parameterize everything and extend testing easily if required.
For example, this will allow testing frameworks to send the extra
argument "--enable-rdo-testing=y" in order to test Packstack against
the testing repositories.
Change-Id: I5b510aabe6749e329b19ef178e6b8870ee66c1a7
When running with run_tests.sh, the .tox venv is created under
/var/lib/tempest/.tox/tempest (as opposed to .tox/all).
Change-Id: Ic7e1a639d3e5283b0550347101be277028917a24
Cirros downloads have been a big problem of unreliability in testing
Packstack in different environments.
This aims to use pre-cached Cirros image files (in OpenStack or RDO
gate) or it will download the images with wget (with retries) prior
to running the tests.
This will prove faster if there are pre-cached images available
and more reliable in case the images need to be downloaded.
The change is backwards compatible and affects testing from
run_tests.sh only. The glance_image provider from puppet-glance
accepts files or URLs, detecting if it's a path by leading slashes
in from the location.
The *_URL parameters are arguably no longer accurate but this can
be fixed in a future patch if we see the need to.
Change-Id: Ibd19fb69e080957165594953687efe5f096f93b2
Let's add SSL coverage to our tests. By enabling it in scenario001,
we can cover rabbitmq and horizon.
Change-Id: I785b7daf6ea8d6b9016e4438271c11844ea48ba0