Skip to content
Snippets Groups Projects
  1. Feb 11, 2021
  2. Feb 10, 2021
  3. Feb 03, 2021
    • Zuul's avatar
      c01099c0
    • Zuul's avatar
      Merge "Fix copying Swift ring files" · 8941ebe0
      Zuul authored
      8941ebe0
    • Mark Goddard's avatar
      Add documentation for routed control plane networks · 7f7c4e2a
      Mark Goddard authored
      Kayobe currently supports definition of various different networks -
      public, internal, tunnel, etc. These typically map to a VLAN or flat
      network, with an IP subnet. When a cloud exceeds the size of a single
      VLAN/subnet, this approach no longer works.
      
      One way to resolve this is to have multiple subnets that map to a single
      logical network, and provide routing between them. This is a similar
      concept to neutron's routed networks, but for the control plane.
      
      This change provides documentation for the currently tested parts of
      this feature.
      
      Change-Id: Ic06c6d4fff0fa568eb9ed3a9c30ce21c7699d965
      Story: 2008180
      Task: 40938
      7f7c4e2a
  4. Feb 01, 2021
  5. Jan 29, 2021
  6. 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
    • 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
  7. Jan 21, 2021
  8. 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
  9. Jan 18, 2021
  10. Jan 14, 2021
  11. 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
  12. Jan 05, 2021
  13. Dec 22, 2020
  14. 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
  15. Dec 20, 2020
  16. Dec 19, 2020
  17. Dec 18, 2020
  18. Dec 17, 2020
  19. 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
  20. Dec 15, 2020
    • Mark Goddard's avatar
      Fix copying Swift ring files · c847ef91
      Mark Goddard authored
      Ring files are binary formatted and should not be templated. Attempting
      to template them causes an error such as the following:
      
          Template source files must be utf-8 encoded
      
      This change fixes the issue by implementing support for configuration
      files that are listed as 'untemplated'.
      
      Change-Id: I9c6b0d9d5e13e8b82ebb8e8a3a0f432efb865e28
      Story: 2007297
      Task: 38774
      c847ef91
Loading