124 Commits

Author SHA1 Message Date
Zuul
580f929dfa Merge "ubuntu: move to 20.04 Focal" 2020-08-11 15:26:39 +00:00
Marcin Juszkiewicz
352f91ac10 ubuntu: move to 20.04 Focal
There is a time once every 2 years when ubuntu team releases new LTS
release. And then UCA joins with binary packages for current OpenStack
development cycle.

It is this time for Ubuntu 20.04 'focal'.

Includes CI fix to pass:

[CI] Temporarily block new Ansible

The proper fix [1] needs fixing older branches before newer.
This one allows to fix CI first, in the usual order.

To revert after [1] gets merged in all relevant branches.

[1] https://review.opendev.org/745648

Old-Change-Id: Ifbd37d8addd4322773118e2e9d46494741a8ae66
Related-Bug: #1891145

Depends-on: https://review.opendev.org/#/c/738994/
Change-Id: Ib8b70ee40ec2d19509cc84c0f530612f81907721
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>
2020-08-11 13:55:01 +02:00
Zuul
f8de418aff Merge "CI: Add centos linuxbridge job" 2020-08-03 09:59:12 +00:00
Michal Nasiadka
1f50f1be79 CI: Add centos linuxbridge job
Change-Id: I8aa02ac2caf320934be5ca439b9b9a24ac6aa573
2020-07-30 10:57:44 +02:00
Marcin Juszkiewicz
18e84f4d04 CI: drop not used Xenial nodeset definitions
Change-Id: I96c477063338c48b033694dd85482a8723fd498b
2020-07-29 17:41:55 +02:00
Zuul
6033959b53 Merge "CI: Update ceph-ansible to v5 - deploy Ceph Octopus" 2020-07-22 12:32:43 +00:00
Zuul
8fc8dec3f7 Merge "CI: Add CentOS KVM job" 2020-07-22 11:54:28 +00:00
Zuul
f039de861d Merge "CI: Add Ubuntu KVM job" 2020-07-22 11:54:26 +00:00
Radosław Piliszek
f2a5d374ca CI: Add CentOS KVM job
Follow-up on [1] which added Ubuntu.

[1] https://review.opendev.org/735454

Change-Id: If0baef37db392324c285798fa55d5e85892edb9f
2020-07-17 17:51:08 +00:00
Michal Nasiadka
47f8b8917f CI: Update ceph-ansible to v5 - deploy Ceph Octopus
Change-Id: I2e736920f5b2cb4a78c2e6c216665394faf83001
2020-07-15 13:59:20 +00:00
Mark Goddard
f44876c406 CI: add prometheus-efk scenario
Tests prometheus, grafana, and centralised logging.

The tests could be improved in future by querying logs in elasticsearch,
and metrics in prometheus.

Change-Id: Iabad035d583d291169f23be3d71931cb260e87ae
2020-07-10 07:55:14 +00:00
Michal Nasiadka
cecdb6a175 openvswitch: Use ansible_hostname for system-id
Currently openvswitch sets system-id based on inventory_hostname, but when
Ansible inventory contains ip addresses - then it will only take first ip
octet - resulting in multiple OVN chassis being named i.e. "10".
Then Neutron and OVN have problems functioning, because a chassis named "10"
will be created and deleted multiple times per second - this ends up in
ovsdb and neutron-server processes using up to 100% CPU.

Adding openvswitch role to ovn CI job triggers.

Change-Id: Id22eb3e74867230da02543abd93234a5fb12b31d
Closes-Bug: #1884734
2020-06-25 14:20:08 +02:00
Radosław Piliszek
88e7f8006e CI: Add Ubuntu KVM job
This also uses the recommended machinery to set qemu instead
of relying on config file override so that we test what we
really want to test.

Change-Id: I560e4f9d0a69c347e6aaf3b970331157c1a56f18
2020-06-14 12:03:32 +02:00
Mark Goddard
ac9c74bda9 Set previous release to Ussuri
Now that the stable/ussuri branch has been cut, we can set the previous
release to Ussuri. This is done in kolla-ansible for rolling upgrades,
and in CI configuration for upgrade tests.

Change-Id: I36f252c77339a6b810413810efd6bb32e0b69e29
2020-05-29 17:28:57 +01:00
824e3ea46d Add Python3 victoria unit tests
This is an automatically generated patch to ensure unit testing
is in place for all the of the tested runtimes for victoria.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: If89122615a5ba9ff1d053bf70e738f5e7c5dfa2c
2020-05-22 18:31:03 +00:00
Michal Nasiadka
d8f31e0a5e CI: Add ansible-lint to tox
* Reworked tox pep8 into linters job, that runs:
  - pep8
  - bandit
  - bashate
  - doc8
  - yamllint
  - ansible-lint (validate-all-files.py + ansible-lint)

* Skip E701 - missing galaxy_info in meta and E602 see [1].
* Skip E301 and E503 - followup later in a separate change
* Added ansible-role-jobs to zuul.d/project.yaml which will run
  openstack-tox-linters job in check queue
* Fixed remaining style issue
* Made tox and docs reference the new env for linters
* Dropped pype environment (not supported)

[1]: https://github.com/ansible/ansible-lint/issues/457

Change-Id: I494b4b151804aac8173120e6c6e42bc2fdb00234
2020-05-17 17:02:38 +02:00
Marcin Juszkiewicz
30b8eed1cd CI: Fix Debian aarch64 jobs
Debian defaults to Python2 which is not complete in aarch64 images.
This patch changes CI to always use Python3.

We need to install several Python modules to have working ussuri jobs.

"Failed to import the required Python library (setuptools) on primary's Python /usr/bin/python3."

And then several Python2 ones for train->ussuri upgrade jobs:

"Unable to find any of pip2 to use. pip needs to be installed."

Change-Id: Ia0d3ff15d97d1cabbb0b8e7f32e8712ca3f94732
2020-04-28 19:15:06 +02:00
Zuul
d5b7b71834 Merge "CI: add Debian source upgrade job on AArch64" 2020-04-26 19:15:11 +00:00
Zuul
9251315b36 Merge "CI: Test ironic on nova-cell change" 2020-04-24 10:26:28 +00:00
Marcin Juszkiewicz
d8672795fa CI: add Debian source upgrade job on AArch64
Change-Id: I6242a3a1c24f0fa07f949897365a826f577caaac
2020-04-20 09:30:27 +00:00
Michal Nasiadka
4f8af713e1 CI: Set post timeout to half hour
Observed that a couple of jobs daily fail on post-timeout, when uploading
logs to Swift.

Change-Id: I4445ebafd3eaae2f83b31dd1fc7f3f07d9c5612f
2020-04-16 16:44:28 +02:00
Radosław Piliszek
f432e69a8b CI: Test ironic on nova-cell change
This fixes CI regression after nova split into main and cell roles.
To follow original testing patterns, let's test ironic also when
nova-cell role changes.

Change-Id: Iaada93fc7b7bf3ed86f9d9198890f199a726b4d8
2020-04-13 17:02:38 +02:00
Michal Nasiadka
8a0740df97 OVN Support
Implement OVN Ansible role.

Implements: blueprint ovn-controller-neutron-ansible

Depends-On: https://review.opendev.org/713422
Change-Id: Icd425dea85d58db49c838839d8f0b864b4a89a78
2020-04-09 07:40:12 +02:00
Zuul
9643dd54e2 Merge "CI: CentOS 8: Enable Masakari job and periodics" 2020-03-19 18:55:38 +00:00
Marcin Juszkiewicz
ed4607ec56 CI: add Debian/source upgrade job
Change-Id: If3f95e0bfc779879ca7d2cf45188fb76b4b772da
2020-03-19 10:03:01 +01:00
Michal Nasiadka
71a8eb7485 CI: Bump up ceph-ansible to 4.0.16
Depends-On: https://review.opendev.org/713396

Change-Id: Idb1b6c85fb1fd85129957d4b79bf87d5b28081c0
2020-03-17 10:22:38 +00:00
Mark Goddard
368ad387d0 CI: CentOS 8: Enable Masakari job and periodics
Depends-On: https://review.opendev.org/702706

Change-Id: I5344abe93f682418a0f61c894d64b360bc129592
Partially-Implements: blueprint centos-rhel-8
2020-03-13 10:17:49 +00:00
Zuul
011ef713f4 Merge "CI: CentOS 8: Enable Ceph Ansible upgrade check job" 2020-03-10 18:52:49 +00:00
Zuul
879707f06d Merge "CI: Add CentOS 8 upgrade to gate" 2020-03-10 11:51:13 +00:00
Mark Goddard
5b9b882ca7 CI: CentOS 8: Enable Ceph Ansible upgrade check job
Change-Id: Id83870942d8488ad0b16e0917c190b8ff3a4dcef
Partially-Implements: blueprint centos-rhel-8
2020-03-10 10:50:06 +00:00
Radosław Piliszek
a4f162ebed CI: Add CentOS 8 upgrade to gate
Change-Id: If5afd6f7dbf45ccee95e99ddf080b276466a2eda
2020-03-09 21:52:17 +01:00
Radosław Piliszek
464e7f8061 CI: Enable CentOS 8 bifrost job
Depends-on: https://review.opendev.org/711293
Change-Id: Ida5332cf2a8ac24a25eccc487e8a11c1e975ddcc
2020-03-09 21:42:19 +01:00
Marcin Juszkiewicz
f487fc5e5c zuul: drop all CentOS 7 jobs
Change-Id: If63e1d00f0e56b65b636d38a6533c63d2ee1e0e2
2020-03-06 11:13:54 +00:00
Mark Goddard
29f223c02a CentOS 8: CI: Add upgrade job
Test upgrade from CentOS 8 train to CentOS 8 master.

Change-Id: Ibff2c7f8844dec4758945cbc7aa8df80d70a3dfd
Partially-Implements: blueprint centos-rhel-8
2020-03-03 10:29:31 +00:00
Zuul
6da1b9d563 Merge "CI: CentOS 8: Enable TLS on core scenario" 2020-02-28 20:06:51 +00:00
Mark Goddard
a0d524c186 CI: CentOS 8: Enable TLS on core scenario
Change-Id: Ida7b387dabe815ca284bf206ac48e63248bfffba
Partially-Implements: blueprint centos-rhel-8
2020-02-28 09:50:09 +00:00
Zuul
0317de44cc Merge "CI: Add addressing on external network" 2020-02-27 21:26:52 +00:00
Radosław Piliszek
195813dd60 CI: Add addressing on external network
This is to allow CI testing of network connectivity.

Note only "primary" node gets an address on it.
Hence, "primary" becomes our fake external router.

Depends-on: https://review.opendev.org/709361

Change-Id: I05592888796107d6de95b940c42b2bff73ac0669
2020-02-26 13:27:00 +01:00
Mark Goddard
d8733b290e CI: Use upper constraints when installing clients
Clients are starting to release versions that don't support Python 2.
The ironic scenario is currently failing on stable branches for this
reason.

Use upper constraints to avoid installing these new versions on stable
branches.

Change-Id: I4f91b53cbf2297d70da4b54d6c402c1427aacdd9
2020-02-25 11:21:06 +00:00
Radosław Piliszek
4ac7f6f3a0 CI: Replace dummy interface (fake for neutron external) with VXLAN
This allows for some real testing, especially in a multinode
environment.

Change-Id: Ic96819fefe460e14c8460e52a78d9b0d034edc80
2020-02-21 08:56:26 +00:00
Michal Nasiadka
f7bc4d78d9 CI: Add linuxbridge jobs
global_physnet_mtu needs to be set in neutron.conf, because linuxbridge-agent
discovers underlying vxlan0 interface mtu and returns an error when creating
vxlan port

CentOS8 job will not be added, because CentOS 8 iptables-ebtables package
is missing broute (--among-src) tables support required for linuxbridge agent,
see [1].

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1720637

Change-Id: I6b12f7ba95401d3342359c57ceeee8bec8aefe49
2020-02-20 17:08:04 +01:00
Zuul
6266d569e8 Merge "CI: Add CentOS 8 ceph-ansible job" 2020-02-14 11:49:34 +00:00
Michal Nasiadka
1a68c53fe0 CI: Add CentOS 8 ceph-ansible job
Change-Id: If354fbdeb2fd8d026faa0210b84da0a688c3ae0a
2020-02-14 09:29:05 +01:00
Zuul
3190a2fdaa Merge "CI: Remove ceph-base and remove file check from ceph-ansible-base" 2020-02-13 20:12:26 +00:00
Zuul
4b26c4dd2c Merge "CI: Fix deploy guide jobs" 2020-02-13 16:43:18 +00:00
Zuul
931a2b8366 Merge "CI: Ignore zuul.d" 2020-02-13 16:40:46 +00:00
Michal Nasiadka
24e8d65711 CI: Remove ceph-base and remove file check from ceph-ansible-base
Change-Id: I2c20bfda66996b58760f24bf4c41122874d27b41
2020-02-13 15:42:27 +01:00
Zuul
cd3c51197e Merge "Remove kolla-ceph" 2020-02-13 10:09:24 +00:00
Zuul
ece2606aeb Merge "CI: Add TLS tests" 2020-02-12 01:20:19 +00:00
Michal Nasiadka
4e6fe7a6da Remove kolla-ceph
Kolla-Ansible Ceph deployment mechanism has been deprecated in Train [1].

This change removes the Ansible code and associated CI jobs.

[1]: https://review.opendev.org/669214

Change-Id: Ie2167f02ad2f525d3b0f553e2c047516acf55bc2
2020-02-11 11:42:06 +01:00