Skip to content
Snippets Groups Projects
  1. Jul 29, 2022
  2. Mar 18, 2022
  3. Nov 30, 2021
  4. Apr 29, 2021
    • Mark Goddard's avatar
      Ubuntu: simplify OS distro selection · d6aa4ea1
      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
      d6aa4ea1
  5. Apr 06, 2021
  6. Mar 23, 2021
  7. Jul 21, 2020
    • Mark Goddard's avatar
      Update seed VM image to CentOS 8.2 · f618a2c4
      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
      f618a2c4
  8. Jun 12, 2020
    • Mark Goddard's avatar
      Fix seed VM interface ordering · 7bcc5579
      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
      7bcc5579
  9. Apr 09, 2020
    • Mark Goddard's avatar
      CentOS 8: seed VM & bifrost · 51b84b60
      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
      51b84b60
  10. Aug 07, 2017
  11. Mar 16, 2017
  12. Feb 16, 2017
  13. Feb 14, 2017
Loading