Skip to content
Snippets Groups Projects
  1. Mar 30, 2023
    • Mark Goddard's avatar
      Stop using kolla-ansible bootstrap-servers · c9f8d80b
      Mark Goddard authored
      The 'kayobe * host configure' commands no longer use the 'kolla-ansible
      bootstrap-servers' command, and associated 'baremetal' role in Kolla
      Ansible. The functionality provided by the 'baremetal' role has been
      extracted into the openstack.kolla Ansible collection, and split
      into separate roles. This allows Kayobe to use it directly, and only the
      necessary parts.
      
      This change improves failure handling in these Kayobe commands, and aims
      to reduce confusion over which '--limit' and '--tags' arguments to
      provide.  This ensures that if a host fails during a host configuration
      command, other hosts are able to continue to completion. Previously, if
      any host failed during the Kayobe playbooks, the 'kolla-ansible
      bootstrap-servers' command would not run. This is useful at scale, where
      host failures occur more frequently.
      
      This change has implications for configuration of Kayobe, since some
      variables that were previously in Kolla Ansible are now in Kayobe.
      
      Several parts of the baremetal role have been split out and used here:
      
      * apparmor-libvirt: disable AppArmor rules for libvirt on Ubuntu.
      * docker: Docker installation & configuration. The docker role in
        openstack.kolla combines functionality from kolla-ansible and kayobe.
      * etc-hosts: it proved difficult to generalise this, so we have some
        almost duplicated the code from kolla-ansible here. Requires delegated
        fact gathering for the case when --limit is used.
      * firewall: support to disable UFW, for feature parity.
      * kolla-packages: miscellaneous package installs & removals.
      
      The addition of the stack user to the docker group has been moved to the
      user bootstrapping playbook, and the docker SDK installation has been
      moved to the virtualenv setup playbook.
      
      Depends-On: https://review.opendev.org/c/openstack/ansible-collection-kolla/+/829587
      
      Story: 2009854
      Task: 44505
      
      Change-Id: I61a61ca59652b13687c2247d5881012b51f666a7
      c9f8d80b
  2. 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
  3. Mar 25, 2021
  4. May 29, 2020
  5. May 28, 2020
  6. Apr 16, 2020
    • Mark Goddard's avatar
      CI: Add overcloud host configure job · 92a437f6
      Mark Goddard authored
      Tests various non-default configuration:
      
      * Custom users
      * Network interfaces, VLANs, bridges, bonds
      * Software RAID
      * LVM & docker devicemapper
      * timezone
      * Package mirrors
      * yum-cron / DNF automatic
      
      This improved test coverage allows us to be more confident about these
      features working on CentOS 8.
      
      Change-Id: I36148e4356deb7d5ec00d8d3ebeb2d3932ff4f94
      Story: 2006574
      Task: 38938
      92a437f6
Loading