- Jul 29, 2022
-
-
Michal Nasiadka authored
Co-Authored-By:
Bartosz Bezak <bartosz@stackhpc.com> Change-Id: I06a3e9922cf95979f3bca120cd82633046270fa3
-
- Mar 18, 2022
-
-
Michal Nasiadka authored
Change-Id: If7d6e58b19f98ccb7cc4c209e458cb6f4f4765ad
-
- Nov 30, 2021
-
-
Piotr Parczewski authored
Change-Id: I4857e170ad75d2824701df583d1312b3398b93f4
-
- Apr 29, 2021
-
-
Mark Goddard authored
Adds a new 'os_distribution' variable which can be used to select the OS distribution, with sensible defaults for other variables. The default value is 'centos'. This patch changes the default value for the '*_bootstrap_user' variables from using the $USER environment variable to using fixed defaults equal to the os_distribution variable. This aligns with the standard user configured in most cloud images, and images created via DIB. Note that we are continuing to use a CentOS based IPA image, since we have been unable to get IPA to build for Ubuntu. Depends-On: https://review.opendev.org/c/openstack/kayobe-config-dev/+/788234 Change-Id: I9e10239f58fe209867116fa2e10f1ce74220b966 Story: 2004960 Task: 42323
-
- Apr 06, 2021
-
-
Mark Goddard authored
Change-Id: I8d3d51ea25459f1831ac75a062cd8e7c54204de4 Story: 2008795 Task: 42216
-
- Mar 23, 2021
-
-
Pierre Riteau authored
Change-Id: I2ed9da2580a83f167d4b10b747e0f8225c235afe
-
- Jul 21, 2020
-
-
Mark Goddard authored
If using a CentOS 8.2 bifrost_deploy image on a CentOS 8.1 seed host, we may see an error such as the following: TASK [Ensure the overcloud host image has bogus name server entries removed] fatal: [seed]: FAILED! Running virt-customize with more debug in the Bifrost container, we see this output: qemu-kvm: error: failed to set MSR 0x48e to 0xfff9fffe04006172 qemu-kvm: /builddir/build/BUILD/qemu-4.2.0/target/i386/kvm.c:2695: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed. This appears to be an incompatibility between qemu/libvirt in CentOS 8.1 and 8.2. This change fixes the issue for new deployments by updating the seed VM image to CentOS 8.2. Existing deployments will need to update packages on the seed host to match the bifrost_deploy container. Change-Id: Icf64b15e58c84f31a11cdefcdb79558b58737da1 Story: 2007942 Task: 40407
-
- Jun 12, 2020
-
-
Mark Goddard authored
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
-
- Apr 09, 2020
-
-
Mark Goddard authored
* Change default seed VM image to CentOS 8 * Change default bifrost deploy image to CentOS 8 * Workaround DIB bug https://bugs.launchpad.net/diskimage-builder/+bug/1866847 by setting DIB_DISABLE_KERNEL_CLEANUP to 1 * Install iptables on seed for SNAT - missing on CentOS 8 * Fix provider network MTU lookup for empty string * Bump stackhpc.libvirt-host to 1.7.0 for CentOS 8 support * Bump stackhpc.libvirt-vm to 1.13.0 for CentOS 8 support * Bump jriguera.configdrive for Python 3 support Change-Id: Ie0edf6a924a914395c6502e2d5cf1139bce14a48 Story: 2006574 Task: 39000
-
- Aug 07, 2017
-
-
Mark Goddard authored
The list of libvirt networks is now generated from the seed's network interfaces. This can be overridden if necessary.
-
Mark Goddard authored
-
- Mar 16, 2017
-
-
Mark Goddard authored
This saves us some messing around with the dynamic libvirt IP address and writing out the IP address to the Ansible inventory.
-
- Feb 16, 2017
-
-
Mark Goddard authored
This requires us to use a bootstrap user account to add the Kayobe user and group with an authorised SSH key. All subsequent SSH access uses this new user.
-
Mark Goddard authored
We need to make some downstream changes to Kolla currently, so let's install from source rather than patching.
-
- Feb 14, 2017
-
-
Mark Goddard authored
-