Skip to content
Snippets Groups Projects
  1. Sep 09, 2022
  2. Sep 08, 2022
    • Zuul's avatar
      Merge "Move group_vars to an inventory directory" · 4a3f8869
      Zuul authored
      4a3f8869
    • Michal Nasiadka's avatar
      nclu-switch: Fix order in template · cfb5c004
      Michal Nasiadka authored
      Currently description is applied first to the interface, but if it's a
      virtual one - it won't exist before running the configuration commands.
      
      Story: 2010279
      Task: 46232
      
      Change-Id: I40212b40a4d391272f4063f42e8a7043b3d58fd7
      cfb5c004
    • Mark Goddard's avatar
      Move group_vars to an inventory directory · af3b719b
      Mark Goddard authored
      The group variables originally in ansible/group_vars/ were playbook
      group variables, due to being adjacent to the playbooks. Typically they
      provided default values for global variables in the all group, as well
      as some more specific groups. This has worked fairly well, but results
      in (at least) a couple of problems.
      
      1. The default variable precedence rules mean that these playbook group
         variables have a higher precedence than inventory group variables
         (for a given group). This can make it challenging to override
         playbook group variables in the inventory in Kayobe configuration.
      
      2. Any playbook run by Kayobe must be in the same directory as the
         playbook group variables in order to use them. Given that they
         include variables required for connectivity such as ansible_host and
         ansible_user, this is quite critical. For Kayobe custom playbooks, we
         work around this by symlinking to the group_vars directory from the
         directory containing the custom playbook. This is not an elegant
         workaround, and has assumptions about the relative paths of the
         Kayobe configuration and virtual environment in which Kayobe is
         installed.
      
      Story: 2010280
      Task: 46233
      
      Change-Id: Ifea5c7e73f6f410f96a7398bfd349d1f631d9fc0
      af3b719b
  3. Aug 29, 2022
  4. Aug 26, 2022
  5. Aug 25, 2022
    • Mark Goddard's avatar
      Support authentication in Bifrost · 32a82ea0
      Mark Goddard authored
      * Switch from python-ironic-inspector-client to openstacksdk in
        ironic-inspector-rules. This allows us to use clouds.yaml to provide
        credentials.
      * Enable authentication in Bifrost. Passwords are auto-generated by
        Bifrost, and stored files in /root/.config/bifrost/. This change
        depends on a Kolla Ansible patch that ensures that these credentials
        are persisted between recreations of the bifrost container.
      * Copy clouds.yaml and (if present) a CA certificate from the Bifrost
        container to the seed host, under the Kayobe Ansible user (stack).
        This allows us to use the credentials to register introspection rules.
      * This patch is needed by a Kolla Ansible patch that enables TLS in
        Bifrost, since we need the CA certificate on the host to register
        introspection rules when TLS is enabled.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla-ansible/+/851837
      Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/851838
      
      Story: 2010206
      Task: 45930
      
      Change-Id: I757f1bb72afb01a4f1689bed292f5b71b9048fa0
      32a82ea0
  6. Aug 23, 2022
  7. Aug 22, 2022
  8. Aug 17, 2022
  9. Aug 11, 2022
  10. Aug 08, 2022
  11. Aug 05, 2022
  12. Jul 29, 2022
  13. 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
  14. Jul 26, 2022
    • Mark Goddard's avatar
      Support --kolla-playbook argument · 79a86100
      Mark Goddard authored
      Adds support for specifying a custom playbook when running Kolla Ansible
      commands via a '--kolla-playbook' argument.
      
      Change-Id: Ie4bba0f1bdc82657572e0f06a71db1140c0bd3a4
      79a86100
  15. Jul 21, 2022
  16. Jul 20, 2022
  17. Jul 19, 2022
  18. Jul 18, 2022
    • Mark Goddard's avatar
      Improve comments in networking config files · 051f0c23
      Mark Goddard authored
      In networks.yml and inventory group_vars that become part of
      kayobe-config, there are a lot of commented out variables for networks
      that may or may not exist in a deployment. These are not always that
      helpful, and may be actively harmful if the network names in a
      deployment are different.
      
      This change removes these variables, and replaces them with a short
      explanation of what to add to the section.
      
      Change-Id: I88abe2c515b60e1f1c4c7c073818ff3e47436e64
      051f0c23
  19. Jul 08, 2022
    • Mark Goddard's avatar
      unit tests: Use assertListEqual and maxDiff = None · 4ba89030
      Mark Goddard authored
      Currently the output is truncated when mock call lists don't match. This
      makes it difficult to diagnose the issue. Use assertListEqual and
      maxDiff = None to avoid truncating the output.
      
      Change-Id: I93bc6907e926722156739297ac58c327e9743d9d
      4ba89030
  20. Jul 05, 2022
    • Pierre Riteau's avatar
      Use yoga upper constraints in dev scripts · d190e9e3
      Pierre Riteau authored
      This is required to be able to install tenks. Otherwise, we try to
      install Jinja2 3.1.2 which requires Python 3.7 or newer.
      
      Change-Id: Ie497b191b6de8bc818dc4a2a12f7129a02d0fd00
      d190e9e3
  21. Jun 24, 2022
  22. 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
    • Pierre Riteau's avatar
      Remove timezone playbook · 66f763ea
      Pierre Riteau authored
      It is time.
      
      Change-Id: I25fd8d4e4bcef4b015a1634ace927e37aa2e80a9
      66f763ea
  23. Jun 16, 2022
  24. Jun 15, 2022
  25. Jun 10, 2022
    • Michal Nasiadka's avatar
      Use openstack-ci-mirrors in overcloud and ipa image builds · 002c08e0
      Michal Nasiadka authored
      Change-Id: Ibf4b928222713bedb7e856307f5ad91e60953795
      002c08e0
    • 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
Loading