The 'openstack server show <server> -f value -c addresses' command
previously had output like this:
<network name>=<IP>
Now it shows a Python output like this:
{'<network name>': ['IP']}
This broke the parsing of the command output when determining which IP
address to use to access a bare metal instance via SSH.
This change fixes the issue by querying the server's port in Neutron,
and using the fixed IP address.
Change-Id: I55b5f185fb7136d3c6fa565aa46598f21c94eb43
Updates the contributor documentation for the overcloud development
environment to include steps for running on Ubuntu.
Change-Id: I1dbb5978342261e8c8e36fbe270f238750808ad6
Story: 2004960
Task: 41550
Update Apt cache prior to all package installation tasks.
Adds apt_cache_valid_time, which defaults to 3600 seconds. This allows
the time for which the Apt cache is valid to be configured.
Change-Id: I0ecf4f4ce9b7333d3e41c69c3f908bee83391781
Story: 2004960
Task: 41766
* Use bash to execute kolla-build
* Remove backslashes from kolla-build command. YAML folded literal
block avoids the need for this by replacing newlines with spaces
* Distribution-specific package list when installing kolla
Change-Id: Icad129aaafb17023f3c9d007fb63466b23b1395a
Story: 2004960
Task: 41764
Issues:
* bond configuration not working on Ubuntu - disabled in CI test
Story: 2004960
Task: 41560
Change-Id: Ib124dc6f313a2a13fa509b10702c6141f102f2f9
* Use source images
* Need to specify bash for &> syntax
Issues worked around:
* Manually configuring bridge via ip commands makes ifup fail to bring
up the link. Adds a kayobe-network-bootstrap Zuul CI role that adds
persistent configuration for the all-in-one network.
* bridge not active after interfaces role bounce. Added a pause, similar
to https://github.com/michaelrigart/ansible-role-interfaces/pull/31
* fails installing docker python module for kolla user. WARNING: The
repository located at mirror-int.ord.rax.opendev.org is not a trusted
or secure host and is being ignored ERROR: No matching distribution
found for docker===4.4.0 Adding trusted host for PyPI mirror.
* Tenks fails to create block devices - missing qemu-img (in qemu-utils)
* Tenks qemu emulator is different on Ubuntu
Remaining issues:
* Bare metal testing is unreliable on Ubuntu - some jobs see IPMI
failures such as the following:
ipmitool chassis bootdev pxe
Error setting Chassis Boot Parameter 5\nError setting Chassis Boot
Parameter 0\n
Bare metal testing is disabled on Ubuntu for now.
Depends-On: https://review.opendev.org/766984
Depends-On: https://review.opendev.org/766958
Story: 2004960
Task: 29393
Change-Id: I1985efae7c18f55c3ff7c27c17d6242523904f3e
This partially reverts commit 47bbb96b29ab30764d6220cdd43e63a1d2072533
which triggered a retry on vexxhost clouds.
The issue was introduced in Ie8fd965165e8d347d27528a2c16d0647e412ccdc,
which applied some fixes for CentOS 8.3, and inadvertently removed
the Tenks variable that forces the use of qemu for 'bare metal' VMs.
This lead to autodetection of KVM, which does not work well when nested
in all CI cloud providers.
This change fixes the issue by forcing the use of qemu for the overcloud
once more. It also adds a similar option for the seed VM job.
Change-Id: I6bc8da2b8da903e09b97df8cd95c68a562c11db9
It's now possible to change Docker's default 64M SHM size
for custom containers running on the seed.
Change-Id: Ic6c2ec38e8a22b8acc90e17a552e471aa8313f7d
Jobs that test baremetal deployment are currently failing when run on
Vexxhost infrastructure. The seed VM job also has trouble on Vexxhost,
although does sometimes pass. It's not clear why yet, and we are still
investigating. Until we have a solution, fail in the pre phase when we
land on vexxhost clouds, in order to trigger the zuul retry mechanism.
Also use the normal number (5) of attempts for upgrade jobs, since these
no longer deploy the previous release in the pre phase.
Finally, incorporate a fix from
https://review.opendev.org/c/openstack/kayobe-config-dev/+/777076 to
allow this to merge. This part can be reverted once the
kayobe-config-dev patch merges.
[1] http://lists.openstack.org/pipermail/openstack-discuss/2021-February/020685.html
Change-Id: Ie5ca04428855cbaf505adc57de76ea0b2d404080
The updated role fixes an issue with activation of the DIB virtualenv
and ensures the kpartx package is installed.
Change-Id: Idaedcc58e00d06caf4e5e360011d1c5c5c7dbe44
Story: 2004960
Task: 41710
This variable allows to customise the upper constraints file used to
install packages inside the ipa-build-dib virtual environment. This can
be used when we need a newer version of diskimage-builder than the one
available in upper constraints for the current release.
Change-Id: Idbe57e7edc3fae25153f5e24ad6b7847b1c4660c
During the 'kayobe overcloud provision' command, wait for the
nodes to become manageable and available.
Adds two variables, 'wait_manageable_timeout' and
'wait_available_timeout', to control the wait timeout.
Change-Id: I7435bd06d58501e361312bacfa4e55394aba5b57