Skip to content
Snippets Groups Projects
  1. Feb 05, 2021
    • Pierre Riteau's avatar
      Test building seed deployment images in the seed job · c84a9757
      Pierre Riteau authored
      This requires stackhpc.os-images v1.10.0 or newer, for compatibility
      with CentOS 8 when SELinux is enabled: we disable SELinux, but without
      rebooting it stays enabled.
      
      This Ansible role was updated to v1.10.2 in master and stable/victoria
      by I5efdbd52556721914fe69d7c6ba454b2c721b643, for another reason.
      Remember to bump the requirement when backporting to earlier releases.
      
      It also needs changes in the way we interact with Bifrost to avoid using
      the env-vars file which has been removed. This is implemented by change
      I25078e69acdf41a4ef9957f99fe5047de54b778d.
      
      Finally, it requires building seed deployment images only after
      deploying Bifrost, because the task copying images onto the seed expects
      /etc/kolla/bifrost to exist.
      
      We also copy log files to identify issues when the job fails.
      
      Change-Id: I4719b4d397c01b35c78cb84c6d686dd27742d1c0
      c84a9757
  2. Jan 27, 2021
    • Pierre Riteau's avatar
      Adapt to changes from the Bifrost Victoria release · f3c0526c
      Pierre Riteau authored
      The critical part of this commit is adapting code that was still
      sourcing env-vars. This file was removed from Bifrost in the Victoria
      release, breaking the `kayobe seed deployment image build` command.
      
      The other changes are not yet breaking Kayobe:
      
      1) Release notes claim that OpenStackClient is no longer installed when
         keystone is not enabled, but it appears to still be available. Use
         the ironic native baremetal command instead except in playbooks
         related to baremetal compute nodes (i.e. overcloud ironic).
      
      2) The use of OS_CLOUD=bifrost-inspector is deprecated and should be
         replaced by OS_CLOUD=bifrost.
      
      Change-Id: I25078e69acdf41a4ef9957f99fe5047de54b778d
      Story: 2008558
      Task: 41696
      f3c0526c
  3. Jan 21, 2021
  4. Jan 20, 2021
    • Pierre Riteau's avatar
      Fix unit tests on macOS · e0120b43
      Pierre Riteau authored
      This unit test was failing because /tmp is a symlink to /private/tmp on
      macOS. _detect_install_prefix() returns a different path because it
      calls os.path.realpath().
      
      Change-Id: I2482c86efebd66a5d22a761df82763cecd764386
      e0120b43
  5. Jan 18, 2021
  6. Jan 14, 2021
  7. Jan 08, 2021
    • Mark Goddard's avatar
      Fix --limit with commas · 017b092d
      Mark Goddard authored
      Kayobe allows specifying a --limit argument, which is passed through to
      Ansible. In some cases we wish to add an intersection with a group. This
      allows us to reuse playbooks for the seed, overcloud etc.
      
      For example, the lvm.yml playbook specifies a host list of
      seed-hypervisor:seed:overcloud. When executed as part of a kayobe
      overcloud host configure command, Kayobe passes a limit of overcloud. If
      the user specifies a --limit argument, this gets intersected with the
      overcloud limit: host1:&overcloud.
      
      The problem happens if the user specifies multiple parts to the host
      pattern in their limit using a comma, e.g. host1,host2. This results in
      host1,host2:&overcloud. Ansible ignores the colon, and treats this as
      host1 or host2:&overcloud.
      
      The solution is to use a comma to join the patterns if the user has used
      a comma: host1,host2,&overcloud
      
      Change-Id: Ibe42fa372c6fa0c539d2c2b0e238601286dc213d
      Story: 2008255
      Task: 41111
      017b092d
  8. Jan 05, 2021
  9. Dec 22, 2020
  10. Dec 21, 2020
    • Zuul's avatar
      Merge "Fix overcloud provisioning" · 05867bfa
      Zuul authored
      05867bfa
    • Mark Goddard's avatar
      Fix overcloud provisioning · 1ad073f0
      Mark Goddard authored
      Affects master & Victoria only.
      
      Since Victoria, Bifrost added a play to gather facts for localhost at
      the beginning of deploy-dynamic.yaml. Kayobe executes the playbook with
      a limit, which does not include localhost. This causes fact gathering to
      be skipped for localhost:
      
          PLAY [Gather facts on localhost] ***********************************
            skipping: no hosts matched
      
      This change fixes the issue by adding localhost to the limit.
      
      Change-Id: I1264832398744c48a6f706efe91f084890a37772
      Story: 2008388
      Task: 41311
      1ad073f0
    • Pierre Riteau's avatar
      Fix implementation of kayobe seed hypervisor host package update · eac1702b
      Pierre Riteau authored
      Change-Id: Ib869ae5146948abcb11eb20691ccc2311db24bb1
      Story: 2008458
      Task: 41485
      eac1702b
  11. Dec 20, 2020
  12. Dec 19, 2020
  13. Dec 18, 2020
  14. Dec 17, 2020
  15. Dec 16, 2020
    • Mark Goddard's avatar
      Fixes for CentOS 8.3 · 4398856e
      Mark Goddard authored
      * Bump stackhpc.libvirt-host to v1.7.1. On seed-hypervisors installed
        using CentOS 8.2 or earlier, interaction with libvirt may fail due to
        libgcrypt being incompatible. See
        https://github.com/stackhpc/ansible-role-libvirt-host/issues/42
      
      * Bump MichaelRigart.interfaces to v1.9.2. The CentOS 8.3 cloud image
        includes an ifcfg-ens3-1 file. See
        https://github.com/michaelrigart/ansible-role-interfaces/pull/93
      
      * Previously a second libvirt daemon was installed by Tenks on the host,
        however changes in libvirt 6.0.0 to separate libvirtd into multiple
        daemons do not allow for customisation of the PID files used by the
        new daemons. This leads to a conflict between the container and host
        daemons. Update the Tenks config to use the containerised Nova libvirt
        daemon. This depends on a change to the stackhpc.libvirt-host role:
        https://github.com/stackhpc/ansible-role-libvirt-host/pull/44
      
      * Not CentOS 8.3 related, but tox jobs are now failing on python
        dependencies. Remove upper limits from docker and paramiko.
      
      * Not CentOS 8.3 related, but Bifrost has enabled authentication by
        default. We are not ready to support this, so override it.
      
      Story: 2008429
      Task: 41378
      
      Change-Id: Ie8fd965165e8d347d27528a2c16d0647e412ccdc
      4398856e
    • Michał Nasiadka's avatar
      Add ensure-python task · 1c458c24
      Michał Nasiadka authored
      Ubuntu hosts come often without python preinstalled, this task ensures
      python gets installed with raw: module on hosts missing it.
      
      Change-Id: I8c5561b2997b5bcb3957e7d52f2b298d8a72a80d
      1c458c24
  16. Dec 14, 2020
    • Michał Nasiadka's avatar
      Stop using platform-python · 4a0eebf7
      Michał Nasiadka authored
      Since python2 is not supported long time - there's
      no need to use /usr/libexec/platform-python.
      Also for supporting Debian/Ubuntu - we need to
      change that to /usr/bin/python3.
      
      Change-Id: I0d477325e0edd13d1aba211c13dc2e8b7a9b4c98
      4a0eebf7
  17. Dec 13, 2020
  18. Nov 28, 2020
  19. Nov 27, 2020
  20. Nov 26, 2020
  21. Nov 24, 2020
Loading