Skip to content
Snippets Groups Projects
  1. 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
  2. Oct 07, 2022
  3. Oct 04, 2022
  4. Sep 29, 2022
  5. Jul 29, 2022
  6. Jul 27, 2022
    • k-s-dean's avatar
      Add support for firewalld on Ubuntu · 6990a041
      k-s-dean authored
      Enables the installation and configuration of firewalld on Ubuntu
      systems.
      
      Change-Id: I4a97a2aeed277be672e15e5c7727b810e11d3c42
      Story: 2010160
      Task: 45818
      6990a041
  7. Jun 24, 2022
  8. 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
  9. Jun 10, 2022
  10. 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
  11. Apr 12, 2022
  12. Mar 31, 2022
    • Mark Goddard's avatar
      CI: separate image builds into a non-voting job · a7ee3ac5
      Mark Goddard authored
      Disk and container image builds tend to be fairly unreliable.
      With 3 voting seed jobs all building images, this can introduce
      instability into the CI jobs.
      
      This change adds a non-voting kayobe-seed-images-centos8s job, which
      does the following:
      
      * Builds IPA images
      * Builds an overcloud host image
      * Builds a base container image
      
      Similar Rocky and Ubuntu jobs are added to the experimental pipeline,
      and may be run by commenting 'check experimental' in gerrit.
      
      The existing kayobe-seed-* jobs no longer build images.
      
      Change-Id: Idecda342f3ab86733e8d59061458d44af834dbb0
      a7ee3ac5
  13. Mar 29, 2022
    • Mark Goddard's avatar
      Use jinja2.pass_context instead of contextfilter · c9c0019d
      Mark Goddard authored
      The contextfilter decorator was deprecated in jinja2 3.0.0, and has been
      dropped in 3.1.0. This results in the following warning, and failed
      attempts to use filters:
      
          [WARNING]: Skipping plugin (networks.py) as it seems to be invalid:
          module 'jinja2' has no attribute 'contextfilter'
      
      This change switches to use the pass_context decorator. The minimum
      version of Jinja2 is raised to 3 to ensure pass_context is present.
      
      This change also includes some changes to address issues with image
      builds in CI, caused by CentOS Scream.
      
      1. disable IPA image builds in seed deploy jobs
      
      IPA image builds will be split out into a separate job. For now, disable
      them.
      
      2. disable overcloud host image builds in seed deploy jobs
      
      Overcloud host image builds will be split out into a separate job. For
      now, disable them.
      
      Depends-On: https://review.opendev.org/c/openstack/kayobe/+/835279
      Change-Id: If657bf5b0117812d3c53942464cc41cf86cc8ad5
      c9c0019d
  14. Mar 24, 2022
  15. Mar 23, 2022
    • Mark Goddard's avatar
      Ubuntu: add support for Apt configuration · 5c661b88
      Mark Goddard authored
      This change adds support for configuration of Apt package manager in
      /etc/apt/apt.conf.d/. This allows adding arbitrary global configuration
      options for Apt. Options can be added in different files, allowing for
      different filename-based priorities.
      
      CI tests and documentation are provided.
      
      Story: 2009655
      Task: 43987
      
      Change-Id: I9d7d18851359e97cd01b4c2287bf79110796b25a
      5c661b88
    • Mark Goddard's avatar
      Ubuntu: add support for Apt repository configuration · c603be25
      Mark Goddard authored
      This change adds support for configuring Apt repositories on Ubuntu
      hosts during host configuration.
      
      Repositories are configured in a single file
      (/etc/apt/sources.list.d/kayobe.sources), using the modern deb822
      format [1]. This format is more flexible and readable than the original
      single-line format, particularly if multiple options are used.
      
      Using a single file allows us to more easily keep the set of
      repositories in sync, since Ansible doesn't make it easy to clean things
      up.
      
      Support is added for marking repositories as signed by a particular GPG
      key. This approach is now preferred over the deprecated [2] apt-key
      tool, which resulted in a set of globally trusted keys.
      
      It is also possible to disable the repositories in
      /etc/apt/sources.list via apt_disable_sources_list. This allows for
      replacing the standard repositories with a local mirror.
      
      CI tests and documentation are provided.
      
      [1] https://manpages.ubuntu.com/manpages/focal/en/man5/sources.list.5.html
      [2] https://manpages.ubuntu.com/manpages/groovy/man8/apt-key.8.html
      
      Story: 2009655
      Task: 43818
      
      Change-Id: I3f821937b0930a0ac9341178de7ae5123d82b957
      c603be25
  16. Mar 18, 2022
  17. Mar 15, 2022
    • Mark Goddard's avatar
      CI: Don't download Cirros or IPA in seed jobs · d77a30db
      Mark Goddard authored
      We build IPA images and a deployment image in the seed jobs, so we don't
      need to download Cirros or IPA images. Also, these downloads depend on
      external resources which may make jobs less reliable.
      
      For seed upgrade jobs, disable IPA and deployment image downloads.
      
      Change-Id: Ib59c8bc2d8938eca18c943bb2e66ed185152a739
      d77a30db
    • Mark Goddard's avatar
      CI: Disable container image builds on Ubuntu · acf6d0d5
      Mark Goddard authored
      The kayobe-seed-ubuntu-focal job is currently fairly unreliable, often
      failing to build the base container image.
      
      We are not using the mirrors provided by OpenDev infra, which may be
      making these builds less reliable.
      
      This change disables container image builds in CI on Ubuntu. It should
      be reverted if they are made more reliable.
      
      Change-Id: I648fa6423ad9ff43120c7808f080b0359ad8621c
      acf6d0d5
  18. Mar 11, 2022
    • Pierre Riteau's avatar
      CI: fix TLS job by freeing up memory · b0c1d4c5
      Pierre Riteau authored
      When TLS is enabled, extra RAM usage is causing the OOM killer to
      terminate Tenks VMs, which are using large RSS amounts (around 1.5 GB).
      
      Disable Heat and Horizon to free up enough memory to make the job pass.
      
      Change-Id: If483a6a6fb6d5b2c9b6b7dbd22939b0b46599538
      b0c1d4c5
  19. Mar 07, 2022
  20. Mar 03, 2022
  21. Mar 02, 2022
    • Mark Goddard's avatar
      CI: stop using zuul as kayobe_ansible_user in TLS jobs · a0665cd9
      Mark Goddard authored
      Previously we were using the zuul user in the TLS jobs. This was due to
      a permissions issue when accessing the CA certificate in kayobe-config
      in the zuul user's home directory.
      
      This change reverts to the default of using the stack user for the TLS
      jobs. In order to make this work, the generated CA cert chain is added
      to the trust store.
      
      Change-Id: I875f8976df75dee68ba00842fe624c29cc1b123c
      a0665cd9
  22. Feb 23, 2022
    • Pierre Riteau's avatar
      CI: test fact caching · 959bef67
      Pierre Riteau authored
      Also synchronise Ansible settings between Kayobe and Kolla Ansible.
      
      Change-Id: Idaea4a984391a8cd05a5b0eee254ac6bad531a3e
      959bef67
  23. Feb 22, 2022
  24. Feb 21, 2022
  25. Feb 14, 2022
  26. Feb 10, 2022
  27. Feb 08, 2022
  28. Dec 23, 2021
    • Mark Goddard's avatar
      Disable EPEL by default · e0dec916
      Mark Goddard authored
      EPEL is no longer required for a default installation. Let's disable it.
      
      Also clean up the install_epel variable from Kolla Ansible globals.yml
      template, since it never existed.
      
      Story: 2009757
      Task: 44227
      
      Change-Id: I96eb4685f997e85ad2ee5318640d58d0287a016d
      e0dec916
  29. Dec 07, 2021
  30. Nov 26, 2021
    • Pierre Riteau's avatar
      Build overcloud host image directly with DIB · c35f112a
      Pierre Riteau authored
      As a first step towards supporting multiple overcloud disk images, this
      change introduces a new command to build a disk image directly with DIB:
      `kayobe overcloud host image build`.
      
      It also disables building a root disk image during Bifrost bootstrap if
      overcloud_dib_build_host_images is set to true.
      
      Change-Id: I93d242889e225b4e60254f6b9cc5eeb457294ac8
      Story: 2002098
      Task: 41693
      c35f112a
  31. Nov 09, 2021
  32. Oct 26, 2021
  33. 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
  34. Oct 12, 2021
  35. Oct 07, 2021
    • Mark Goddard's avatar
      CI: always return host configure test results · c2ae611e
      Mark Goddard authored
      Currently, the overcloud host configure test results are only returned
      on success, when they are least useful. This is because the zuul_return
      task is not reached when the test task fails. This change reorders the
      tasks to fix the issue.
      
      Change-Id: Ie572eda567782cc377767bd8d925145e2ad4bd61
      c2ae611e
Loading