Skip to content
Snippets Groups Projects
  1. May 31, 2024
  2. Oct 09, 2023
    • Pierre Riteau's avatar
      Revert "CI: Disable bare metal testing on RL9/c9s" · 990370a3
      Pierre Riteau authored
      This requires disabling libvirt_vm_trust_guest_rx_filters, which when
      enabled triggers the following errors when booting baremetal instances
      with Tenks on Libvirt 9 (and most likely since 8.9.0):
      
          Cannot set interface flags on 'macvtap1': Value too large for defined data type
      
      This is apparently triggered by a Libvirt commit refreshing rx-filters
      more often [1].
      
      As explained in I71a2051d8acd63379bd70bc1287a059d4a7f6387, this setting
      was added to allow traffic destined for other MAC addresses to reach VMs
      when using a macvtap interface.
      
      This will prevent multicast from working, but we don't need it for
      baremetal tests in CI.
      
      This setting will be enabled again once the issue is resolved in either
      Libvirt or Tenks.
      
      This reverts commit 21c68bbf.
      
      Also increase timeout of upgrade jobs which is too short now due to the
      added delay added by bare metal testing.
      
      [1] https://gitlab.com/libvirt/libvirt/-/commit/060d4c83ef436cf56abfad51a4d64c39448e199d
      
      Change-Id: I2cfd2667abb1ae8988b7a7fd9761b75c20a0eaa4
      990370a3
  3. Aug 30, 2023
  4. Aug 29, 2023
  5. Aug 01, 2023
  6. May 22, 2023
    • Pierre Riteau's avatar
      CI: Disable bare metal testing on RL9/c9s · 21c68bbf
      Pierre Riteau authored
      Rocky Linux 9.2 shipped with Libvirt 9.0.0 which breaks our bare metal
      testing. Temporarily run bare metal testing only on Ubuntu.
      
      This allows us to make rocky9 jobs voting again.
      
      Change-Id: I8866cbc07fc28897648f3dc6f2a163323184e8a9
      21c68bbf
    • Pierre Riteau's avatar
      CI: Enable bare metal testing for Ubuntu upgrades · 916ffba6
      Pierre Riteau authored
      More than one year ago, change I96827fc32c1594ca9a0535e259929c49d3f0e704
      enabled bare metal testing on Ubuntu, but only for non-upgrade jobs. It
      should be safe to test during upgrade jobs too.
      
      Change-Id: I9c698916999b30bf3fd8f7dfe5add7d332a84b6c
      916ffba6
  7. May 17, 2023
  8. Jan 13, 2023
  9. Dec 14, 2022
    • Pierre Riteau's avatar
      Use master upper constraints · 5b84ef37
      Pierre Riteau authored
      Yoga upper constraints were used to keep compatibility with Python 3.6.
      This is not needed with all supported OS using Python 3.9 or newer.
      
      This reverts commits d2e0d64e and
      d190e9e3.
      
      Change-Id: I35a07bcc2b7c9cbb49fa60e6802cc6288a34fbd8
      5b84ef37
  10. Dec 12, 2022
    • Bartosz Bezak's avatar
      Move to Rocky Linux 9 · 2f447f65
      Bartosz Bezak authored
      CentOS Stream 8 support has been dropped. Migration path will be present
      in Yoga release - as a followup change.
      
      MichaelRigart.interfaces does not support custom routes for
      NetworkManager yet. It has been disabled in CI for Rocky Linux 9
      temporarily.
      
      Non-voting CentOS Stream 9 CI overcloud job is using RL9 container
      images (as kolla CI is not building CS9 images anymore).
      
      Change-Id: Idf5ee822b03ba40179803c981500a6bad37594bf
      2f447f65
  11. Jun 17, 2022
    • Michal Nasiadka's avatar
      selinux: default to permissive · caa7cc54
      Michal Nasiadka authored
      The disable-selinux role has been renamed to selinux and now supports
      setting desired state.
      
      Previously Kayobe was defaulting to disabling and rebooted the host - to
      avoid audit logs filling up. This change allows operators to define
      desired SELinux state and defaults to permissive - to adhere to those
      site policies that require SELinux to be at least in permissive state.
      
      Change-Id: I42933b0b7d55c69c9f6992e331fafb2e6c42d4d1
      caa7cc54
  12. May 25, 2022
    • Pierre Riteau's avatar
      Use yoga upper constraints to avoid Python version conflict · d2e0d64e
      Pierre Riteau authored
      Requirements upper constraints bumped python-novaclient to version
      18.0.0 [1], which requires Python 3.8 [2]. This results in failures when
      installing python-openstackclient on CentOS and Rocky with Python 3.6.
      
          ERROR: Cannot install python-openstackclient==5.8.0 because these package versions have conflicting dependencies.
      
          The conflict is caused by:
              python-openstackclient 5.8.0 depends on python-novaclient>=17.0.0
              The user requested (constraint) python-novaclient===18.0.0
      
      Work around this issue by using yoga upper constraints until we upgrade
      to CentOS Stream 9 and Rocky Linux 9.
      
      This also fixes another issue seen on Ubuntu where image uploads to
      Glance through Ansible fail with a 400 Bad Request error. This is caused
      by the bump of openstacksdk to version 0.99.0 and will be fixed by a new
      release of ansible-collections-openstack.
      
      [1] https://review.opendev.org/c/openstack/requirements/+/842808
      [2] https://review.opendev.org/c/openstack/python-novaclient/+/838944
      
      Change-Id: I40c6b898963c2218d41d37bd73d40ce8dcf22b87
      d2e0d64e
  13. Mar 24, 2022
  14. Mar 03, 2022
  15. Feb 22, 2022
  16. Nov 09, 2021
  17. Oct 22, 2021
    • Pierre Riteau's avatar
      CI: Disable heat in upgrade jobs to save disk space · 06a51cea
      Pierre Riteau authored
      We see frequent failures of upgrade jobs on stable branches due to lack
      of disk space. Disable heat in an attempt to free up extra space, since
      we do not need it for our testing.
      
      Change-Id: I20c99ca9dd6e78b041e4662c9b1b54eac904e3c9
      06a51cea
  18. Oct 01, 2021
    • Mark Goddard's avatar
      Ubuntu: add upgrade jobs in CI · 3b901641
      Mark Goddard authored
      Now that the previous release is Wallaby, we can add overcloud and seed
      upgrades on Ubuntu.
      
      Change-Id: I69868dca6e1f3e4a1bf123c9e7f1f3412162b264
      3b901641
  19. Sep 29, 2021
    • Pierre Riteau's avatar
      CI: Disable libvirt debug logs · f09faa43
      Pierre Riteau authored
      Libvirt debug logs can grow very large, particularly on Ubuntu (we have
      seen up to 1.1GB). Disable libvirt debug logging using variable
      nova_libvirt_logging_debug which was added to Kolla Ansible during the
      Wallaby cycle (see change I90bfd1b300ad3202ea4d139fda6d6beb44c5820f) and
      backported to Victoria and Ussuri.
      
      Change-Id: Ic047e80aa382148b009b1c03581b417d17ec2598
      f09faa43
  20. Jul 22, 2021
  21. May 11, 2021
    • Pierre Riteau's avatar
      CI: Remove unused Docker images after overcloud upgrade · 93a8baca
      Pierre Riteau authored
      Overcloud upgrade jobs often fail when running on nodes with a 38G root
      disk. The overcloud upgrade itself generally works, but post-upgrade
      testing fails, for example when RabbitMQ gets in alarm state due to lack
      of free disk space, which prevents Nova from functioning correctly and
      makes it return "Unknown Error (HTTP 504)".
      
      Change-Id: I536a526340f6d7dea7a69372904b777292774eba
      93a8baca
  22. Apr 28, 2021
  23. Apr 21, 2021
  24. Mar 25, 2021
  25. Mar 01, 2021
    • Mark Goddard's avatar
      CI: add Ubuntu overcloud deploy job · 9f41cefc
      Mark Goddard authored
      * 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
      9f41cefc
  26. Feb 26, 2021
    • Mark Goddard's avatar
      CI: Fix overcloud and seed VM jobs on vexxhost clouds · f9d9afcf
      Mark Goddard authored
      This partially reverts commit 47bbb96b
      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
      f9d9afcf
  27. Feb 25, 2021
  28. Dec 16, 2020
    • Mark Goddard's avatar
      Fixes for CentOS 8.3 · 4398856e
      Mark Goddard authored
      * Bump stackhpc.libvirt-host to v1.7.1. On seed-hypervisors installed
        using CentOS 8.2 or earlier, interaction with libvirt may fail due to
        libgcrypt being incompatible. See
        https://github.com/stackhpc/ansible-role-libvirt-host/issues/42
      
      * Bump MichaelRigart.interfaces to v1.9.2. The CentOS 8.3 cloud image
        includes an ifcfg-ens3-1 file. See
        https://github.com/michaelrigart/ansible-role-interfaces/pull/93
      
      * Previously a second libvirt daemon was installed by Tenks on the host,
        however changes in libvirt 6.0.0 to separate libvirtd into multiple
        daemons do not allow for customisation of the PID files used by the
        new daemons. This leads to a conflict between the container and host
        daemons. Update the Tenks config to use the containerised Nova libvirt
        daemon. This depends on a change to the stackhpc.libvirt-host role:
        https://github.com/stackhpc/ansible-role-libvirt-host/pull/44
      
      * Not CentOS 8.3 related, but tox jobs are now failing on python
        dependencies. Remove upper limits from docker and paramiko.
      
      * Not CentOS 8.3 related, but Bifrost has enabled authentication by
        default. We are not ready to support this, so override it.
      
      Story: 2008429
      Task: 41378
      
      Change-Id: Ie8fd965165e8d347d27528a2c16d0647e412ccdc
      4398856e
  29. Oct 01, 2020
  30. Sep 30, 2020
  31. Jun 12, 2020
    • Mark Goddard's avatar
      IPA: Switch to IPA builder and CentOS 8 · 20fb05bf
      Mark Goddard authored
      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
      20fb05bf
  32. Mar 23, 2020
  33. Feb 13, 2020
    • Mark Goddard's avatar
      CI: Redirect stderr to ansible logs · ac88bc2d
      Mark Goddard authored
      Currently Kayobe stderr is logged to the Zuul playbook output. This
      change redirects stderr to the ansible log files.
      
      Change-Id: Ia2f25a2e41859159275d418b57ab59bb97f58d6a
      ac88bc2d
  34. Aug 22, 2019
    • Mark Goddard's avatar
      Execute kayobe in verbose mode in CI · 691ddeb6
      Mark Goddard authored
      Also refactors the CI job playbooks to create the previous git repo
      clones for upgrade jobs in the kayobe-base job.
      
      Change-Id: I10c2b872887a47fab1a373fc0525dcd6fc78f7e2
      691ddeb6
  35. Aug 15, 2019
    • Mark Goddard's avatar
      Update packages in virtualenvs · ddfd6b62
      Mark Goddard authored
      Kayobe uses a number of virtual environments on the remote hosts for
      python dependencies such as shade, python-openstackclient, docker, etc.
      By default these are stored in /opt/kayobe/venvs/. Typically we do not
      provide version restrictions when installing these packages, so over the
      course of time they may become stale and incompatible.
      
      This change installs the latest version of packages allowed by OpenStack
      upper constraints.
      
      It also adds a new variable, 'pip_upper_constraints_file', to set the
      upper constraints file. The existing variable
      'kolla_upper_constraints_file' now defaults to the value of
      'pip_upper_constraints_file'.
      
      Change-Id: I8d2956f95bbc44b5a9e88e7569372048a62f12f5
      Story: 2005923
      Task: 34193
      ddfd6b62
  36. Jun 17, 2019
    • Mark Goddard's avatar
      Restrict cliff to <2.15.0 · a3a71b91
      Mark Goddard authored
      Using Kayobe with cliff 2.15.0 fails with the following error:
      
      kayobe playbook run playbook.yml
      invalid conflict_resolution value: 'ignore'
      
      This change restricts cliff to <2.15.0.
      
      Also, fix git cloning previous release repos in CI to allow this patch
      to merge.
      
      Zuul provides repositories with all branches containing all prospective
      changes, not just the current branch. We can use this in the upgrade
      jobs to include changes to the previous release branch when a patch
      depends on them.
      
      Change-Id: I7966cf33f6133090d83232504b8c1da4c7817e0c
      Depends-On: https://review.opendev.org/665703/
      Story: 2005891
      Task: 33748
      a3a71b91
  37. Jun 06, 2019
    • Isaac Prior's avatar
      Add alternative tenks deploy and teardown entrypoints. · 0d598bf0
      Isaac Prior authored
      Allows users to explicitly specify which type of tenks
      deployment they wish to create / destroy.
      Preserves existing behaviour with defaults.
      Modifies Zuul tests to use new tenks-deploy entrypoints.
      
      Change-Id: I9aafed8481fd7564c0fc0abe5f6b21eceb824d75
      0d598bf0
  38. May 07, 2019
    • Mark Goddard's avatar
      DRY out Zuul job configuration · ca3b5a77
      Mark Goddard authored
      Adds a new abstract parent job for the following kayobe deploy jobs:
      
      kayobe-overcloud-centos
      kayobe-overcloud-upgrade-centos
      kayobe-seed-centos
      kayobe-seed-upgrade-centos
      
      This parent includes commonly used variables, and pre-run and post-run
      playbooks for preparing and executing diagnostics, plus other
      initialisation.
      
      Change-Id: I9ab89fbc49bb32d86af56d50ec3914740e65d0f8
      ca3b5a77
Loading