1628 Commits

Author SHA1 Message Date
gugug
7fdacf4759 Remove the neutron-fwaas since it retired
Depends-On: I561504160e5548c54d1af31821c3366ab34cf0ec
Change-Id: I3c921f5a558ae57ecc22fc6fc1959fb621c57709
2020-06-30 01:39:03 +00:00
Pierre Riteau
931fa4830d Fix condition of placement image build
This should fix placement image build if nova is disabled but zun is
enabled.

Change-Id: I238aeefefa88dd584ce61ac9eb52d50552336ed0
2020-06-24 10:45:41 +02:00
Pierre Riteau
791c219f4d Remove remaining mentions of neutron-lbaas
Change-Id: I0aae6eaa8a2351c15a29b45427e6971e60b9e1a8
2020-06-19 12:57:03 +02:00
Zuul
da95fc897d Merge "Fix kayobe baremetal compute commands" 2020-06-18 12:49:01 +00:00
Zuul
043f843759 Merge "Copy custom certificates" 2020-06-17 19:09:47 +00:00
Zuul
0baff6204e Merge "Remove DIB kernel cleanup workaround" 2020-06-17 19:09:45 +00:00
Zuul
bf1931f8ea Merge "Update openrc files after overcloud service upgrade" 2020-06-17 19:09:44 +00:00
Zuul
99b3e6f48a Merge "Update image regexes" 2020-06-17 19:09:34 +00:00
Zuul
8288ddfb5b Merge "Update feature flag defaults" 2020-06-17 19:09:31 +00:00
Zuul
e0491a1d0a Merge "CI: Update IPA images during upgrade" 2020-06-17 19:08:41 +00:00
Zuul
79f9a1cc25 Merge "IPA: Switch to IPA builder and CentOS 8" 2020-06-17 19:03:01 +00:00
Zuul
78daecdc48 Merge "Fix ironic inspector store endpoint configuration" 2020-06-17 19:02:56 +00:00
Zuul
6611771c9d Merge "Fix kolla-ansible config when a network is named 'external'" 2020-06-17 17:09:07 +00:00
Zuul
09cd69d358 Merge "Add missing colon" 2020-06-17 11:17:28 +00:00
Will Szumski
2fb62c830d Add missing colon
Change-Id: I28d88f2f28f5ff8fbd0f2df98bac3740d05f224b
Story: 2007818
Task: 40096
2020-06-17 10:23:28 +01:00
Mark Goddard
c16597aa2d Add seed VM provisioning CI job
Adds the kayobe-seed-vm-centos8 CI job to configure the Zuul VM as a
seed hypervisor, and use nested virt to provision a seed VM.  This
ensures that the seed hypervisor code paths are tested.

The job uses a Cirros image for the seed VM rather than the usual CentOS
cloud image. This is to reduce bandwidth required to download the image.
It does mean that the resulting seed VM cannot be used as a seed, but
nested virt would make this slow and unreliable anyway. Cirros does not
load cdrom drivers by default, so we add the configdrive as a disk
rather than a cdrom device.

Depends-On: https://review.opendev.org/617161

Change-Id: I2268a1ddf9a2870c713f32a40689e1686365aabd
Story: 2001655
Task: 6683
2020-06-16 17:19:47 +01:00
Will Szumski
50317285cb Update image regexes
Some images were not being built automatically due to a missing regex.
The most notable being chrony.

Change-Id: Ia0aa15300f58fc4e912dea7ed304a1cdaf51382a
Story: 2007796
Task: 40050
2020-06-16 17:02:00 +01:00
Will Szumski
bde426c9b1 Update feature flag defaults
We need these defined to figure out which images to build.

Only flags that are required by build regex map have been added, and
dependencies of those.

TrivialFix

Change-Id: I2f8ecad57f97e5cd3e15156959c017ad29335e31
2020-06-16 17:02:00 +01:00
Zuul
f7d85a5f2f Merge "Remove python 2 cleanup" 2020-06-16 12:50:08 +00:00
Zuul
8c312d0a35 Merge "CI: set previous_release to ussuri" 2020-06-16 12:50:07 +00:00
Zuul
408d984297 Merge "Revert "Use OpenStack Ussuri release"" 2020-06-15 16:39:35 +00:00
Zuul
7269b84b16 Merge "Fix seed VM interface ordering" 2020-06-15 11:46:54 +00:00
Mark Goddard
47c675c96d Fix kolla-ansible config when a network is named 'external'
Since I2172a74f4719605f6ec81fadec46ce49f8310a96, kolla-ansible.yml fails
if there is a network named external:

    recursive loop detected in template string: {{ item in
    (network_interfaces | net_select_bridges | map('net_interface')) }}

Rename the task variable 'external_interface' to avoid this conflict.

Affects master only.

Change-Id: Ia81e70e45c3e8a68720535b4f4d117f9951ed360
Story: 2007814
Task: 40087
2020-06-15 11:07:05 +01:00
Mark Goddard
7bcc5579e2 Fix seed VM interface ordering
Currently the ordering of network interfaces in the seed VM is
non-deterministic. This happens because we apply the 'unique' filter to
the network_interfaces list, which does not guarantee a deterministic
ordering. This list is then transformed and passed to the
stackhpc.libvirt-vm role.

There are two consequences of this:

* it is not possible to determine which interface names should be used
  prior to creating a seed VM
* if a seed VM is recreated, the interface ordering may change

This change fixes the issue by sorting the network_interfaces list
alphabetically before it is transformed and passed to the
stackhpc.libvirt-vm.

A new 'seed_vm_interfaces' variable is also added, which allows for
customisation of the VM's interfaces - potentially allowing for more
complex setups such as trunked VLANs.

Story: 2007259
Task: 38621

There is a second issue, which is that if the seed VM has a
network interface not configured with a gateway, cloud-init will fail to
configure the network interfaces on the host. This has been observed on
CentOS 8, but is probably more tied to the version of cloud-init, and
may affect CentOS 7. The following error is seen in the cloud-init logs:

    KeyError: 'gateway'

This change has been addressed in the jriguera.configdrive role, and
this change updates the version used in requirements.yml.

Story: 2007769
Task: 39993

Change-Id: Ib6ab41a3ba320a1fe15d0d23561fad2fab7861e6
2020-06-12 17:32:48 +01:00
Mark Goddard
3d9c586134 CI: Update IPA images during upgrade
This ensures we are using the appropriate IPA images in the upgraded
environment.

Change-Id: I4a72d9ae49ad41716522c3074c16d8ca23c3ff94
2020-06-12 16:25:11 +00:00
Mark Goddard
20fb05bfb4 IPA: Switch to IPA builder and CentOS 8
Switches to use the IPA builder project for building IPA images.

Switches the IPA images used by default to CentOS 8 based image.

Changes the file extension of the IPA kernel image from vmlinuz to
kernel.

Story: 2007070
Task: 37953

Change-Id: I82fc455f41f48dacb453e135870dd776895d7c99
Story: 2006574
Task: 39485
2020-06-12 17:24:31 +01:00
Zuul
0734e55ec0 Merge "Update feature flags" 2020-06-12 15:09:27 +00:00
Will Szumski
4caf460b5f Remove python 2 cleanup
This is no longer necessary since the previous release, ussuri, supports
python 3 only.

Change-Id: I300dfdbc0f51d89c585bcefce4e4be40c2b85bda
2020-06-12 13:53:49 +01:00
Will Szumski
0cc3703797 CI: set previous_release to ussuri
This controls which release we are upgrading from.

Change-Id: I16c86ce90d2b5a689e69681f12d0dbcb5c4cd6be
2020-06-12 13:51:28 +01:00
Will Szumski
9c36feb4ed Revert "Use OpenStack Ussuri release"
This reverts commit ffce6fa6411667f1474c33d845ccc4ac72765689.

Change-Id: I00f1b7c7d0182a80e0fb212099f67e92187ca603
2020-06-12 13:41:06 +01:00
Will Szumski
1e963a60ad Update feature flags
The flags in etc/kayobe/kolla.yml were out of sync with
ansible/roles/kolla-ansible/vars/main.yml.

This commit sorts them all alphabetically and adds a script to simplify
generating the list.

TrivialFix

Change-Id: I0e3be19eed371853d80c401d6a46770a7d6dcbc5
2020-06-12 09:43:00 +02:00
Andreas Jaeger
87c91cc615 Switch to newer openstackdocstheme and reno versions
Switch to openstackdocstheme 2.2.1 and reno 3.1.0 versions. Using
these versions will allow especially:
* Linking from HTML to PDF document
* Allow parallel building of documents
* Fix some rendering problems

Update Sphinx version as well.

Set openstackdocs_pdf_link to link to PDF file. Note that
the link to the published document only works on docs.openstack.org
where the PDF file is placed in the top-level html directory. The
site-preview places the PDF in a pdf directory.

Disable openstackdocs_auto_name to use 'project' variable as name.

openstackdocstheme renames some variables, so follow the renames
before the next release removes them. A couple of variables are also
not needed anymore, remove them.

See also
http://lists.openstack.org/pipermail/openstack-discuss/2020-May/014971.html

Change-Id: Ic10edb7103455b477cece3940f150f4345611562
2020-06-11 17:22:05 +00:00
Mark Goddard
08c5d00a61 Fix kayobe baremetal compute commands
Since adding support for Python 3, the following commands fail:

* kayobe baremetal compute inspect
* kayobe baremetal compute manage
* kayobe baremetal compute provide

There are two issues:

1. There is a missing /bin from the ansible_python_interpreter path used.

2. The stackhpc.os-ironic-nodes role fails with an undefined variable:

    name 'openstack_cloud_from_module' is not defined

This is fixed in the stackhpc.os-ironic-nodes role version 1.3.1.

Story: 2007797
Task: 40051

Change-Id: Ie2a0a6bf75dc88458796a9691891e76f578d87ad
2020-06-11 17:59:31 +01:00
Mark Goddard
f0d1b630fc Fix ironic inspector store endpoint configuration
When performing inspection on baremetal compute nodes, inspector
currently has the following failure when storing inspection data to the
introspection store:

    No 'keystoneauth1.plugin' driver found, looking for 'token_endpoint'

This happens because the token_endpoint auth type is no longer
available. The new way to do this is to set auth_type = none and provide
an endpoint override.

Story: 2007795
Task: 40049

Change-Id: Ideada0f299f34d16d1286633b6e21404b736918b
2020-06-11 16:48:06 +00:00
Zuul
b4606341ec Merge "Add framework to deploy user-defined containers on seed" 2020-06-11 10:52:19 +00:00
Zuul
f56432b89c Merge "Disable broken linting of literalinclude sphinx directive" 2020-06-11 09:37:17 +00:00
zhaoleilc
e75b4a7854 Correct a typo in the document
This patch changes 'Note that is is'
to 'Note that it is' in doc/source/
configuration/kolla.rst

Change-Id: Ide2e9a7582b78b25eac3462dc3477faf0ee66d38
2020-06-11 15:30:38 +08:00
Michal Nasiadka
aefd6e5a56 Add framework to deploy user-defined containers on seed
Task: 39811

Change-Id: I6f065073feee42b2a0921a4aea98f7004fe5f7bf
2020-06-10 19:34:04 +01:00
Will Szumski
c96803d8d1 Disable broken linting of literalinclude sphinx directive
Previously we were seeing:

AttributeError: 'Values' object has no attribute 'env'

TrivialFix
Change-Id: I2b376303a9fef8fb3c1ada0c168bbb494216aa94
2020-06-10 19:33:26 +01:00
4b960d94b8 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: Ie2c272d1f185083537274adb534001b2d8664154
2020-06-10 12:48:58 +00:00
34499fa56a Update master for stable/ussuri
Add file to the reno documentation build to show release notes for
stable/ussuri.

Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.

Change-Id: Iee73855fa78f80150b89e32cc9f3f79b98e5f95e
Sem-Ver: feature
2020-06-10 12:48:55 +00:00
Mark Goddard
76fa5ac3a7 Remove DIB kernel cleanup workaround
The issue being addressed was resolved by
https://review.opendev.org/#/c/713988/ and released in diskimage-builder
3.0.0.

Change-Id: Ie25e88bb96f186399ae69837e93185127628ce86
2020-06-08 12:34:38 +01:00
Zuul
fe4dea965d Merge "Fix documented name of time configuration file" 2020-06-08 08:41:08 +00:00
Pierre Riteau
bdbed2697c Fix documented name of time configuration file
Change-Id: I6bb3c211c186ee1acfc842d5828741334a95b125
Story: 2007766
Task: 39988
2020-06-08 08:51:39 +02:00
Zuul
c2f049c6f0 Merge "[Community goal] Update the contributor guide" 2020-06-06 12:32:25 +00:00
Zuul
e379bfbd90 Merge "CentOS 8: separate kolla build tag from deploy tag" 2020-06-05 21:13:52 +00:00
Zuul
f6967fc6bb Merge "Don't disable SELinux if it is not installed" 2020-06-05 17:58:30 +00:00
Zuul
df3fd89fc5 Merge "Enable 'data' LVM group only for Docker devicemapper" 2020-06-05 15:22:37 +00:00
Mark Goddard
d124ab2090 [Community goal] Update the contributor guide
Adapted from Kolla Ansible guide
(https://review.opendev.org/#/c/729642).

Co-Authored-By: Michal Nasiadka <mnasiadka@gmail.com>
Co-Authored-By: Radosław Piliszek <radoslaw.piliszek@gmail.com>

Change-Id: I3a5a1d0a6fb65b95166fe564e15b655d72002639
Story: #2007236
Task: #39821
2020-06-05 15:58:35 +02:00
Zuul
e8cd20958e Merge "Use Ansible connection reset support in docker role" 2020-06-05 13:49:37 +00:00