Skip to content
Snippets Groups Projects
  1. 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
  2. Mar 22, 2022
    • Mark Goddard's avatar
      CI: pin pytest-metadata<2 for molecule · f3bca3e0
      Mark Goddard authored
      The release of pytest-metadata 2.0.0 appears to have broken the molecule tests.
      
        AttributeError: 'Config' object has no attribute '_metadata'
      
      Change-Id: I60cf89ce2f8c236b7febb92d437abf7e21bb7acd
      f3bca3e0
  3. Mar 20, 2022
  4. Mar 18, 2022
    • Mark Goddard's avatar
      ironic: switch to kernel_append_params · 994af643
      Mark Goddard authored
      Since I4fb42d376636dc363cd86950ed37de4a3d28df73, kolla-ansible sets
      kernel_append_params in ironic.conf, instead of the deprecated
      pxe_append_params. Make the same change in the Kayobe ironic.conf
      template, to avoid getting shadowed by the kolla-ansible default.
      
      This also fixes the overcloud TLS job, which started failing because it
      lost the ipa-insecure kernel option, making the Ironic API callback
      invalid.
      
      Change-Id: Id7e4bd7f199ad9dcb21d5db082e7a187cb310df9
      994af643
    • Michal Nasiadka's avatar
      Add support for Rocky Linux 8 · 8e55ea08
      Michal Nasiadka authored
      Change-Id: If7d6e58b19f98ccb7cc4c209e458cb6f4f4765ad
      8e55ea08
    • Maksim Malchuk's avatar
      Skip IP address allocation and configuration if needed · 1de4f2a4
      Maksim Malchuk authored
      
      Sometimes some hosts should be configured with an interface without any
      IP address set (e.g. bridged interface) and to achieve that this change
      adds the new attribute 'no_ip' for the network configuration. Also the
      change contain a test for this.
      
      Change-Id: I2c9dfeca7f0d37a96f9cbd9df51d94098cf07258
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      1de4f2a4
  5. Mar 17, 2022
  6. Mar 16, 2022
  7. Mar 15, 2022
    • Zuul's avatar
      b4635684
    • Mark Goddard's avatar
      CI: Pin ansible-lint to <6 · 07eb0675
      Mark Goddard authored
      The molecule job is failing with the following since the release of
      ansible-lint 6.0.0:
      
          ModuleNotFoundError: No module named 'ansiblelint.prerun'
      
      Pin ansible-lint to <6.
      
      Also ignore changes to molecule-requirements.txt for jobs that don't use
      it.
      
      Change-Id: I00ea1b4cd57a22a1a0939ddc463ef336da2f0902
      07eb0675
    • 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
  8. 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
    • Pierre Riteau's avatar
      CI: Disable TLS job until fixed · 5fb6362e
      Pierre Riteau authored
      The overcloud job with TLS is failing frequently with the Tenks VM
      triggering the OOM killer. Disable until we find a reliable fix.
      
      Change-Id: If42d1f0580d8305a36dd4fd4431680559eb5d68f
      5fb6362e
  9. Mar 10, 2022
    • Will Szumski's avatar
      Only create patch links on overcloud hosts · bb9da9fb
      Will Szumski authored
      
      These are only neccesary on network and compute nodes.
      
      Co-authored-by: default avatarMark Goddard <mark@stackhpc.com>
      
      Change-Id: Id5af3969da63150e892201f7518f50a3da73e852
      Story: 2009911
      Task: 44740
      bb9da9fb
    • Mark Goddard's avatar
      Bump MichaelRigart.interfaces to v1.13.1 · a786ef20
      Mark Goddard authored
      The update of MichaelRigart.interfaces to v1.13.0
      introduced a regression due to
      https://github.com/michaelrigart/ansible-role-interfaces/pull/118.
      
      Configuration for active interfaces could be removed and not recreated,
      if not present in the kayobe network interface configuration. This
      affects the Kayobe development environment, in which the configuration
      does not touch the host's real network interfaces. That would lead to
      DHCP leases not being renewed, and consequent loss of access to the
      host.
      
      This change fixes the issue by bumping to v1.13.1, which reverts the
      change.
      
      Change-Id: I03da729e1d05783af2e290237485f6035d2ddcdc
      a786ef20
  10. Mar 07, 2022
  11. Mar 03, 2022
  12. Mar 02, 2022
    • Zuul's avatar
      Merge "Bump up Ansible supported versions" · b2b013c1
      Zuul authored
      b2b013c1
    • 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
  13. Feb 28, 2022
  14. Feb 25, 2022
Loading