- Sep 03, 2021
-
-
Pierre Riteau authored
Tox jobs are timing out in CI due to pip dependency resolution backtracking taking too long. When run locally, pip fails to resolve dependencies due to upper-constraints now allowing pluggy 1.0.0 [1], while molecule still depends on pluggy >= 0.7.1, < 1.0. See similar tripleo bug for more details [2]. Split molecule dependencies in a separate requirements file and remove upper constraints from its tox environment for now. As a bonus, it should speed up execution of the jobs due to installing fewer dependencies. Stop using upper-constraints when installing docker python library [3]. This part of the commit can be reverted when docker 5.0.2 is in upper constraints. Update Kolla inventory template following renaming of haproxy role to loadbalancer [4]. With the existing template, haproxy/keepalived containers are not created and service deployment fails while trying to connect to MySQL using the VIP. [1] https://review.opendev.org/c/openstack/requirements/+/806680 [2] https://bugs.launchpad.net/tripleo/+bug/1942508 [3] https://review.opendev.org/c/openstack/kayobe/+/807128 [4] https://review.opendev.org/c/openstack/kolla-ansible/+/770618 Change-Id: I4cad83c92c32d1db2a5d3c03a78a1c533a8b9633 Co-Authored-By:
Mark Goddard <mark@stackhpc.com>
-
- Jun 07, 2021
-
-
Mark Goddard authored
This reverts commit 3f76d7d1. The version of IPA images has been pinned to wallaby to ensure they are compatible with the Wallaby Ironic in current Kolla master images. Without this, bare metal tests fail with 'Not found: Extension with id iscsi not found.' Ironic removed the iscsi driver in Xena. Change-Id: Ia4c70965d9f3f099046591bac7f702ee982fef71
-
- Apr 28, 2021
-
-
Mark Goddard authored
On CentOS, when using the MichaelRigart.interfaces role, defining a VLAN interface implies the existence of its parent interface. This is handled via the CentOS network interface scripts. With systemd-networkd, the parent interface is not implicit, and must be configured. The parent interface network configuration file needs to contain this: [Network] VLAN = eth0.42 This change adds support for these implied parent interfaces. It also removes the Broadcast = true option, which was added in an attempt to fix an issue but is not supported in the [Network] section, and generates a warning: Unknown key name 'Broadcast' in section 'Network', ignoring. Story: 2004960 Task: 42368 Task: 42367 Change-Id: I5d105006fad6e7e80473b9d9fa693de644c35a6d
-
- Apr 26, 2021
-
-
Michał Nasiadka authored
Switch all dependencies to use the OpenStack Wallaby release. This commit should be reverted on the master branch once the Kayobe stable/wallaby branch has been cut and RC1 released. Change-Id: I977943e81a79e4a40cca04d80d786ca49afd3d39
-
- Nov 27, 2020
-
-
wu.shiming authored
UPPER_CONSTRAINTS_FILE is old name and deprecated -https://zuul-ci.org/docs/zuul-jobs/python-roles.html#rolevar-tox.tox_constraints_file This allows to use lower-constraints file as more readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>. Change-Id: Ibd73999e54586b88d26adb688305af3c60595fbd
-
- Nov 24, 2020
-
-
Mark Goddard authored
This reverts commit 074024d6. Depends-On: https://review.opendev.org/763959 Change-Id: Ia5715c6914ac454081a95b6e1788e80f53c72e30
-
- Nov 23, 2020
-
-
Riccardo Pittau authored
Tox doesn't use bash, so to be able to expand the list of files using the * character, we need to run ansible-lint under bash. Change-Id: I413d17288d81882998ee58a156ba7abe53a592a0
-
- Nov 05, 2020
-
-
Michal Nasiadka authored
Switch all dependencies to use the OpenStack Victoria release. This commit should be reverted on the master branch once the Kayobe stable/victoria branch has been cut and RC1 released. Change-Id: I7f1113577fd48aa0715b644cc66bfca197771ca6
-
- Sep 24, 2020
-
-
Pierre Riteau authored
Change-Id: Ie68ba316327437b4503f4a0aa48a58e89d403790
-
- Sep 23, 2020
-
-
Pierre Riteau authored
When molecule runs, it installs ansible>2.8, which is version 2.10.0 since today. This now also installs the ansible-base package, currently at version 2.10.1. Then it installs the version of ansible required by kayobe, i.e. ansible>=2.8.0,<2.10.0 (currently 2.9.13). We end up with a tox molecule venv containing: ansible==2.9.13 ansible-base==2.10.1 This causes the following issue: ERROR! Unexpected Exception, this is probably a bug: cannot import name 'AnsibleCollectionLoader' from 'ansible.utils.collection_loader' (/home/zuul/src/opendev.org/openstack/kayobe/.tox/molecule/lib/python3.8/site-packages/ansible/utils/collection_loader/__init__.py) This commit adds requirements.txt to the molecule tox deps, which ensures the correct version of ansible gets installed first. Change-Id: I7ef890a2ae6fd67f53e1b8bca244a1c0d44fea53
-
- Sep 18, 2020
-
-
wu.chunyang authored
requirements.txt is unnecessary when running `tox -e releasenotes` since release notes requirements are in doc/requirements.txt. This PS removes the requirements.txt from tox.ini and reuses [docs] deps. Sync from kolla-ansible and kolla. Change-Id: I9df2f98772c143a9662fd5c123cc9f6d5410c5e5
-
- Aug 28, 2020
-
-
Mark Goddard authored
This allows us to add configuration scenarios. Change-Id: Id636f78c61237fb27fa65fa3d4b3fc1a4cf0ba6a Story: 2004360 Task: 40777
-
- Jun 12, 2020
-
-
Will Szumski authored
This reverts commit ffce6fa6. Change-Id: I00f1b7c7d0182a80e0fb212099f67e92187ca603
-
- May 29, 2020
-
-
Mark Goddard authored
Switch all dependencies to use the OpenStack Ussuri release. This commit should be reverted on the master branch once the Kayobe stable/ussuri branch has been cut and RC1 released. Change-Id: Id126ea109e6dfcba09b524129876985547ad368f
-
- Apr 20, 2020
-
-
Radosław Piliszek authored
Removes and/or replaces all mentions of py27. Cleans up obsolete requirements and their lower-constraints. Update cliff minimum to 3.1.0 in requirements.txt, which has a fix for story 2005891. Change-Id: I52cffa2f1aee944f79c4618ea20b779755792f2a
-
Mark Goddard authored
Kayobe generates passwords.yml for Kolla Ansible, and can encrypt it using the vault password. Previously this was failing on Python 3 due to passing a string to file.write() which expects bytes. This change fixes the issue by encoding the password string passed to file.write(). This allows us to run the ansible role tests under Python 3. Change-Id: I33813f79984a46f1967ef3aee455dcfbe7eb93da Story: 2006574 Task: 39481
-
- Feb 29, 2020
-
-
Ghanshyam Mann authored
Cleanup requirement and set ignore_basepython_conflict = True in tox to avoid python version conflict warning which going to be error in future. Change-Id: Ia4ce42a20417d69efd50ef563aabd8cffbb7b346
-
- Feb 14, 2020
-
-
Pierre Riteau authored
This reverts commit a93b85ba. The local Python executable for Kolla Ansible is changed to Python 3 because Kolla Ansible master no longer supports Python 2. Change-Id: I768ce8db9cec1c70d94f271997bbcc64d370403e
-
- Feb 11, 2020
-
-
Ghanshyam Mann authored
OpenStack is dropping the py2.7 support in ussuri cycle. kayobe is ready with python 3 and ok to drop the python 2.7 support. Complete discussion & schedule can be found in - http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html - https://etherpad.openstack.org/p/drop-python2-support Ussuri Communtiy-wide goal: https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html Change-Id: Idbbdd96ff23846d29833c5997d1e32e65b5169f2
-
- Dec 12, 2019
-
-
Will Szumski authored
Switch all dependencies to use the OpenStack Train release. This commit should be reverted on the master branch once the Kayobe stable/train branch has been cut and RC1 released. Change-Id: I6006e14df27a180f1438f9eb01b9ebefdddaff72
-
- Nov 11, 2019
-
-
gujin authored
1. Sphinx 1.8 introduced [1] the '--keep-going' argument which, as its name suggests, keeps the build running when it encounters non-fatal errors. This is exceptionally useful in avoiding a continuous edit-build loop when undertaking large doc reworks where multiple errors may be introduced. 2. Cleanup the folders before run commands [1] https://github.com/sphinx-doc/sphinx/commit/e3483e9b045 Change-Id: Ib3133820a3d3ca3027ea2f9bc9b6907929cff8ed
-
- Oct 21, 2019
-
-
Pierre Riteau authored
Documentation build environments use doc/requirements.txt where sphinx is already present. Use doc/requirements.txt in the pep8 environment because sphinx is required by sphinx8. Change-Id: I3a2c9ae392745e001c5bdd01212c996e54c44f0c
-
- Oct 16, 2019
-
-
Mark Goddard authored
The is one of community goals that each project should produce a single PDF file. The pdf should be in the output of openstack-tox-docs job. TeX packages are required to build PDF locally, following is recommended: * inkscape * texlive-latex-base * texlive-latex-extra * texlive-fonts-recommended More about the goal: https://governance.openstack.org/tc/goals/train/pdf-doc-generation.html https://etherpad.openstack.org/p/train-pdf-support-goal https://etherpad.openstack.org/p/pdf-goal-train-common-problems Change-Id: Ib8a238f5ad4329527147be72331b87f57877f68e
-
- Sep 24, 2019
-
-
pengyuesheng authored
For more detail, see http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html Change-Id: I90662a9816c4f4af5a4a481d0e815bf6a398f8d3
-
- Sep 17, 2019
-
-
Mark Goddard authored
Change-Id: Icd99fa0a262d7f42346cfcfc5013cf7c91c34459
-
- Aug 22, 2019
-
-
Mark Goddard authored
This reverts commit b46b2b72. Switch dependencies and upper constraints back to master branch for development after cutting stable/stein branch. Change-Id: Ie7f588aab59e57efe240a58a3bd0a6f09fbcefb7
-
- Jul 04, 2019
-
-
Mark Goddard authored
Galaxy install often fails in CI, scuppering an otherwise good run. Change-Id: I3d02afe33cdf32b1d285bd4bdc4a8074883113ca
-
- May 29, 2019
-
-
Mark Goddard authored
Switch all dependencies to use the OpenStack Stein release. This commit should be reverted on the master branch once the Kayobe stable/stein branch has been cut and RC1 released. Change-Id: I50a39994c8ffa0c7d65e026ae765973541423476
-
- Apr 24, 2019
-
-
Mark Goddard authored
The project infrastructure is now hosted at opendev.org. Kayobe projects have been moved from the openstack/ namespace to x/. Change-Id: I16b523285eb34c1cd0eaf920aa4512d0ae1b4f05
-
- Apr 15, 2019
-
-
Mark Goddard authored
Adds two new variables, 'openstack_release' and 'openstack_branch', in ${KAYOBE_CONFIG_PATH}/openstack.yml for setting the current OpenStack release and branch in a single place. Also uses the master branch for the molecule tox job. Change-Id: I851a1e6eddc6738005c1813599445b38c0ae0d57
-
- Apr 09, 2019
-
-
Mark Goddard authored
Use master branch of: * Kolla * Kolla ansible * Bifrost * IPA * OpenStack services * Requirements Also, use the infra docker registry mirror at port 8082 which does not have any path component in its URL, and so works with Docker CE. Depends-On: https://review.openstack.org/#/c/651254/ Change-Id: Icdb62aa0083d9272a08421138719cf5f6b52ec5a Story: 2001864 Task: 14316
-
- Mar 15, 2019
-
-
Mark Goddard authored
Also change to use the py3 tox environment rather than specifying a version explicitly. Change-Id: I05d5d6f5718b39dc95b40efe44e9ebb3fb5b1311 Story: 2004959 Task: 30035
-
- Feb 14, 2019
-
-
Mark Goddard authored
We run yamllint with the same configuration in kayobe-config, so we should catch issues here before they are synchronised. Change-Id: Ia2de07abc7c58040f99766adb950c477800ea56d
-
- Nov 19, 2018
-
-
Mark Goddard authored
Use stable/rocky branch of: * Kolla * Kolla ansible * Bifrost * IPA * OpenStack services * Requirements Also updates Kolla Ansible inventory template. The seed deploy job has been made non-voting and non-gating, because we are waiting for bifrost change https://review.openstack.org/#/c/618740 to merge, be released, and for the kolla bifrost image to use the new package. Change-Id: Id5e7fdbd196f96e1e75ffc68bc93aab18fa38aa7 Story: 2001864 Task: 27798 Depends-On: I58e4f951d4a3dd89e0784fd82d8a62dbba374f79
-
- Nov 12, 2018
-
-
Mark Goddard authored
This allows us to remove the sudo from the tox molecule environment, since the install-docker role correctly adds the zuul user to the docker group. Change-Id: Ib7abd22c0caf793a8a59d38a4f63df7e60a7b69e
-
- Jun 18, 2018
-
-
huang.zhiping authored
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I9aaae4949e2cf6c8a33fb6fbf8be15e1d09cce44
-
- May 21, 2018
-
-
Mark Goddard authored
Change-Id: Ia00bd15d037ce3f1db66a953f9c327074e509627 Story: 2001663 Task: 12599
-
- May 04, 2018
-
-
Mark Goddard authored
The current approach of adding release notes to a single file means that we end up with merge conflicts every time a change is merged. This is wasteful of time and resources. Change-Id: I19f956e4e3991e39252eaa3a1b97a3b2812858d2 Story: 2001637 Task: 6649
-
- May 02, 2018
-
-
Mark Goddard authored
Use queens release of: * Kolla * Kolla ansible * Bifrost * IPA * OpenStack services Changes to kolla inventory files were made by comparing the multinode inventory in kolla-ansible with the overcloud-services and overcloud-components templates. Kolla ansible added the concept of inner-compute and external-compute, and these groups have been added to the top-level inventory. We also synchronise globals.yml and kolla enablement flags. Change-Id: I87b052f777567226e41294b955f736040e55e102 Story: 2001863 Task: 14315
-
- Apr 10, 2018
-
-
Mark Goddard authored
Adds the following zuul job: kayobe-tox-molecule It runs ansible role tests using the molecule framework. Note that we are currently running tox as root to work around issues with applying docker group membership in the Zuul CI environment. The ubuntu-1604 platform has been removed because the job takes a long time to run even on one platform. Change-Id: I8be24be828c0e124d822d7b39a02169c92b81eb3 Story: #2001637 Task: #6646
-