Skip to content
Snippets Groups Projects
  1. Mar 18, 2022
  2. 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
  3. 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
  4. Feb 17, 2022
  5. Feb 14, 2022
    • Mark Goddard's avatar
      Sync enable flag defaults with kolla ansible · 52d4458b
      Mark Goddard authored
      * Cinder ZFSSA backend was dropped in Xena
      * iscsid is no longer required for Ironic since the Ironic iscsi deploy
        interface was removed in Xena
      
      Change-Id: Ia9ade04b1aa9ad102e637d2ddf638b28b2d11305
      52d4458b
  6. Feb 02, 2022
    • Mark Goddard's avatar
      ntp: Fix service mask when service doesn't exist · 7173a9f7
      Mark Goddard authored
      The ntp role attempts to mask NTP services that may conflict with
      chrony. Currently we are seeing the following failure:
      
          TASK ntp : Mask alternative NTP clients to prevent conflicts
          Could not find the requested service systemd-timesyncd.service: host
      
      The service_facts module shows that the service is not found:
      
          "systemd-timesyncd.service": {
              "name": "systemd-timesyncd.service",
              "source": "systemd",
              "state": "stopped",
              "status": "not-found"
          },
      
      According to the Internet, this can happen if there are After/Before
      dependencies in one service on another that does not exist.
      
      This change fixes the handling of these not-found services to avoid the
      error.
      
      Story: 2009821
      Task: 44401
      
      Depends-On: https://review.opendev.org/c/openstack/kayobe/+/827404
      
      Change-Id: I4b8a42704f2b0a145ee9dec433d91df67628cd9d
      7173a9f7
  7. Feb 01, 2022
  8. Jan 28, 2022
    • Mark Goddard's avatar
      Bump up Ansible supported versions · fb5649bd
      Mark Goddard authored
      This change bumps up the maximum supported Ansible version to 5.x
      (ansible-core 2.12.x) and minimum to 4.x. This synchronises Kayobe with
      Kolla Ansible (see change Ia373f9cc3bb69eba0288bbb3e497e8cadb7cc4d3).
      
      ansible 5 / ansible-core 2.12 raises the minimum version of Python to
      3.8, so CentOS Stream 8 environments will typically get ansible 4 /
      ansible-core 2.11.
      
      Change-Id: If4477e7fa4c022ead6cda4a34a72b342f115936f
      fb5649bd
  9. Jan 27, 2022
    • Jakub Darmach's avatar
      Support for untemplated dirs in kolla config · 35e0d76a
      Jakub Darmach authored
      Variable untemplated_dirs has been added to allow for
      defining directories under kayobe/kolla/config which should be copied
      instead of templated by kolla-openstack role.
      
      This is needed to support custom themes for horizon -
      change If9982c8e18be31772cb031ef72b7eebd4d768be5
      
      Change-Id: I350f58c8a82f0f31608b34054e804c5c198d6806
      35e0d76a
  10. Jan 18, 2022
    • Mark Goddard's avatar
      Drop kolla-host.yml playbook · b273af0e
      Mark Goddard authored
      This playbook is no longer necessary following the removal of the iSCSI
      deploy driver from Ironic.
      
      Change-Id: I9e99c04173acb7adb0d0e367b6db388b86baf5f2
      b273af0e
  11. Jan 07, 2022
  12. Jan 05, 2022
  13. 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
  14. Dec 22, 2021
  15. Dec 20, 2021
  16. Dec 19, 2021
  17. Dec 13, 2021
  18. Dec 10, 2021
  19. Dec 01, 2021
    • Pierre Riteau's avatar
      Add overcloud_dib_upper_constraints_file variable · ad3f6f10
      Pierre Riteau authored
      This variable allows to customise the upper constraints file used to
      install packages inside the overcloud-host-image-dib virtual
      environment. This can be used when we need a newer version of
      diskimage-builder than the one available in upper constraints for the
      current release.
      
      Change-Id: I2f6c2f92903815973865ef0f5d6b867d5b995bd5
      Story: 2002098
      Task: 44101
      ad3f6f10
  20. Nov 30, 2021
  21. 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
  22. Nov 23, 2021
  23. Nov 19, 2021
    • Pierre Riteau's avatar
      Document that extra kernel parameters are important for inspection · 7ed91dd0
      Pierre Riteau authored
      When customising kolla_bifrost_inspector_extra_kernel_options, for
      example to define which console to use, operators should note that
      Kayobe defines extra kernel parameters that are important for
      inspection, such as ipa-collect-lldp=1.
      
      Change-Id: Id789dede2d1886ef5ec66ebc86968d6cf62fa2de
      7ed91dd0
  24. Nov 15, 2021
    • Mark Goddard's avatar
      Infra VMs: fix some playbook host patterns · 5e9affb6
      Mark Goddard authored
      The infra-vms group was not added to some playbook host patterns where
      it should have been. This change fixes that.
      
      TrivialFix
      
      Change-Id: I5df2918035df7577627fd2bd68417beddbcbf848
      5e9affb6
  25. Nov 09, 2021
  26. Oct 28, 2021
    • Mark Goddard's avatar
      infra VMs: use wait_for rather than wait_for_connection · b87d89aa
      Mark Goddard authored
      wait_for_connection requires a python interpreter to be available, which
      may not be the case in some images (CentOS Stream cloud images, cirros
      etc.). Instead, use wait_for to wait for the SSH port to open, then rely
      on the bootstrapping process to install an interpreter. This is the same
      method used for the seed VM.
      
      This change also syncs the SSH wait timeout for infra VMs which the one
      used for seed VM provisioning (360 seconds).
      
      Change-Id: I758aff1d3ef714f1c8ef82d29dd2217734a9aae6
      b87d89aa
  27. Oct 27, 2021
    • Mark Goddard's avatar
      Drop become in stackhpc.libvirt-vm for seed vm provision · 50e04bb0
      Mark Goddard authored
      Prior to this change, the seed VM was provisioned using the
      stackhpc.livirt-vm role with become=true. This resulted in the cached
      image being owned by root. The infra VM provisioning uses
      stackhpc.libvirt-vm without become=true. If an infra VM uses the same
      image as the seed, this can lead to permission denied errors when
      downloading a new image of the same name.
      
      This change adds a workaround to fix up the ownership of the cached
      image during infra VM provisioning to avoid this issue.
      
      This change also drops become=true from stackhpc.libvirt-vm during seed
      VM provisioning, and adds the same workaround there.
      
      Story: 2009277
      Task: 43534
      
      Change-Id: Iade0d74cdb398365a567dbdc4b23de2416f3726d
      50e04bb0
  28. Oct 19, 2021
  29. Oct 15, 2021
Loading