Skip to content
Snippets Groups Projects
  1. 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
  2. Jun 24, 2022
  3. 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
  4. Jun 10, 2022
    • Pierre Riteau's avatar
      Force use of yoga upper constraints in ipa-builder · 4ce746c1
      Pierre Riteau authored
      IPA itself is still compatible with Python 3.6, but ipa-builder uses
      master upper-constraints which have dropped support for 3.6 and are
      pulling importlib-metadata===4.11.4, which requires 3.7.
      
          ERROR: Cannot install ironic-python-agent==8.6.1.dev13 because these package versions have conflicting dependencies.
      
          The conflict is caused by:
              ironic-python-agent 8.6.1.dev13 depends on importlib_metadata>=1.7.0
              The user requested (constraint) importlib-metadata===4.11.4
      
      Change-Id: I0cc48d0d5ed17400badb081e9117c9351677bb38
      4ce746c1
  5. Jun 09, 2022
  6. Jun 06, 2022
  7. May 25, 2022
  8. Apr 29, 2022
    • Mark Goddard's avatar
      ironic: Set MTU on provisioning and cleaning Neutron networks · cd24b6d9
      Mark Goddard authored
      Previously we were not applying an MTU defined in Kayobe networks.yml to
      the provisioning and cleaning networks in Neutron. This could lead to
      issues when nodes communicate with the Ironic and Inspector APIs.
      
      Change-Id: Id9418e4e88c52056412daa22462aa611bfcc59ae
      cd24b6d9
  9. Apr 20, 2022
    • Maksim Malchuk's avatar
      Cleanup old and deprecated Swift configuration · 10b8c1ea
      Maksim Malchuk authored
      
      This is old and deprecated configuration settings for Swift not needed
      anymore because kolla-ansible correctly configure glance-api.conf and
      glance-swift.conf since Idddbf2ce741e0486d60e1de88c77a7f0332a5a2b when
      kolla_enable_swift variable set to true. This change can be backported
      through all releases till the Train.
      
      Change-Id: I5273edc8265f115519f499e85fe12f8d22306c4b
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      10b8c1ea
  10. Apr 19, 2022
    • Pierre Riteau's avatar
      Fix no_proxy configuration · 71eb21a3
      Pierre Riteau authored
      The no_proxy list should only contain domains, hostnames, IP addresses
      and networks, but docker_registry is often in the form ip_address:port.
      
      Use urlsplit to extract the hostname from the docker_registry variable
      after prepending http:// to turn it into a valid URL.
      
      Also add missing infra-vms to hosts in proxy.yml.
      
      Change-Id: I6424fc405894514a63fb2b641637bbb9d5c070c0
      71eb21a3
  11. Apr 14, 2022
  12. Apr 12, 2022
  13. Apr 11, 2022
  14. Apr 07, 2022
    • Maksim Malchuk's avatar
      Restore forgotten linuxbridge-agent container · a8860c4e
      Maksim Malchuk authored
      
      There is no mechanism to check which agent would be used and build
      all the possible agents, but forgot the linuxbridge one.
      
      Change-Id: I955a2c12b5143a63422cab50c74191bc22c63932
      Signed-off-by: default avatarMaksim Malchuk <maksim.malchuk@gmail.com>
      a8860c4e
    • Mark Goddard's avatar
      [release] Use OpenStack Yoga release · 88dd02dc
      Mark Goddard authored
      Switch all dependencies to use the OpenStack Yoga release.
      
      This commit should be reverted on the master branch once the
      Kayobe stable/yoga branch has been cut and RC1 released.
      
      Change-Id: Ib7495c1bf79de8b1ea67e4a8652345c22e9d1a3e
      88dd02dc
    • Pierre Riteau's avatar
      Fix Ansible inventory generation when reusing group names · 0c190a22
      Pierre Riteau authored
      When a kolla-ansible group is composed of a kayobe group with the same
      name and of at least one other kayobe group, kayobe would generate an
      invalid Ansible inventory such as:
      
      [compute:children]
      controllers
      compute
      
      Because the top-level group should already be defined, we only need to
      add as children the kayobe groups using different names.
      
      Change-Id: I88bdf1e3d0c08271ac8938ae2f9ac3f9fee1efa5
      Story: 2009927
      Task: 44798
      0c190a22
  15. Apr 01, 2022
  16. Mar 31, 2022
  17. Mar 30, 2022
    • Will Szumski's avatar
      Adds kolla_ansible_venv_ansible · 1375517d
      Will Szumski authored
      This adds a variable that allows you to modify the version of ansible
      installed in the kolla-ansible virtualenv. This is useful if you want
      to use a customised version of ansible.
      
      Change-Id: I319dd51ed3221826f820fbc0ae3639b89e9c82ea
      1375517d
  18. Mar 24, 2022
  19. 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
  20. Mar 22, 2022
    • Mark Goddard's avatar
      Ubuntu: support host package update · 48a6dcc8
      Mark Goddard authored
      Currently, the 'kayobe * host package update' commands do not work on
      Ubuntu, since the main task is skipped.
      
      This change adds support for running the commands against Ubuntu hosts,
      passing parameters to the package module based on the OS distribution.
      
      Change-Id: I879df0ea3f357c2bb45a5e7331a3f2569eac63e9
      Story: 2009685
      Task: 43988
      48a6dcc8
  21. 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
    • Mark Goddard's avatar
      Fix custom config idempotence · 8de9d536
      Mark Goddard authored
      When some custom config files are used, generation of local
      configuration for Kolla Ansible is not idempotent. This happens because
      an executable permission is applied recursively in a directory, then
      reverted on regular files.
      
      Change-Id: I8cc9531570b76a8282a95c4036324e9d1025d7cb
      8de9d536
    • 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
  22. Mar 17, 2022
  23. Mar 10, 2022
  24. Mar 03, 2022
  25. Feb 25, 2022
  26. Feb 23, 2022
    • Mark Goddard's avatar
      ntp: Remove removal of chrony container · 06123b79
      Mark Goddard authored
      The chrony container removal was performed in the Xena cycle, so we no
      longer require this task in the 'overcloud host configure' command.
      
      Change-Id: I86fcc75e844eb922f62c90c45a105519845cc1a7
      06123b79
  27. Feb 22, 2022
    • Mark Goddard's avatar
      Install Ansible collections for kolla-ansible · 3efc551e
      Mark Goddard authored
      This change uses the new Galaxy requirements file in Kolla Ansible to
      install the openstack.kolla collection.
      
      Cross-project dependencies on ansible-collection-kolla are supported.
      
      Story: 2009854
      Task: 44504
      
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/819430
      Change-Id: Iac185dd2bbbca128c6cf71b2734e94b3e1c6133b
      3efc551e
    • Mark Goddard's avatar
      Refactor host configure commands to use a single playbook · cb48f7e5
      Mark Goddard authored
      Ansible failure handling is different when executing multiple top-level
      playbooks (CLI arguments) vs. multiple plays within a top-level
      playbook. If any hosts have failed or are unreachable at the end of a
      top-level playbook, then ansible-playbook exits non-zero.
      
      In contrast, execution will continue at the end of a mid-playbook play
      if there are hosts that have not failed or become unreachable. This is
      documented in [1].
      
      Currently, Kayobe executes multiple top-level playbooks, most notably in
      the host configure commands where there is a long list of them. This has
      implications when working at scale, where failures are more common. If a
      host fails at any point, then execution of the command will stop at the
      end of the current playbook. This means that the command must be run
      again for all hosts. Additionally, if any hosts are unreachable, then
      the command is unable to progress at all without removing them from the
      inventory.
      
      This change refactors the host configure and host upgrade commands to
      use a single top-level playbook.
      
      [1] https://github.com/markgoddard/ansible-experiments/tree/master/14-error-handling
      
      Story: 2009854
      Task: 44482
      
      Change-Id: Ia63d66097b10b6ddda30ad693636143f8b1a85e0
      cb48f7e5
  28. Feb 17, 2022
Loading