Skip to content
Snippets Groups Projects
  1. Jan 29, 2021
  2. Jan 27, 2021
    • Pierre Riteau's avatar
      Fix deployment image build in Victoria · 6563a02f
      Pierre Riteau authored
      In the Victoria release, deployment images fail to build with the
      following error:
      
      /opt/kayobe/venvs/ipa-build-dib/lib/python3.6/site-packages/diskimage_builder/lib/common-functions: line 343: element-info: command not found
      
      This is caused by the virtualenv bin directory not being included in
      PATH while executing code from common-functions, which results in the
      element-info script not being found.
      
      This doesn't happen in Ussuri because older versions of DIB were
      activating the virtualenv automatically [1].
      
      This doesn't happen in master because its upper constraints allow a
      newer DIB which doesn't use element-info anymore.
      
      The fix is to activate the DIB virtualenv, which is done since
      stackhpc.os-images v1.10.1 [2]. Bump in master first then backport to
      stable/victoria.
      
      [1] https://review.opendev.org/c/openstack/diskimage-builder/+/734414
      [2] https://github.com/stackhpc/ansible-role-os-images/releases/tag/v1.10.1
      
      Change-Id: I5efdbd52556721914fe69d7c6ba454b2c721b643
      Story: 2008550
      Task: 41673
      6563a02f
  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