Skip to content
Snippets Groups Projects
  1. Mar 01, 2021
  2. Feb 26, 2021
    • Mark Goddard's avatar
      CI: Fix overcloud and seed VM jobs on vexxhost clouds · f9d9afcf
      Mark Goddard authored
      This partially reverts commit 47bbb96b
      which triggered a retry on vexxhost clouds.
      
      The issue was introduced in Ie8fd965165e8d347d27528a2c16d0647e412ccdc,
      which applied some fixes for CentOS 8.3, and inadvertently removed
      the Tenks variable that forces the use of qemu for 'bare metal' VMs.
      This lead to autodetection of KVM, which does not work well when nested
      in all CI cloud providers.
      
      This change fixes the issue by forcing the use of qemu for the overcloud
      once more. It also adds a similar option for the seed VM job.
      
      Change-Id: I6bc8da2b8da903e09b97df8cd95c68a562c11db9
      f9d9afcf
    • Pierre Riteau's avatar
      Revert ironic custom configuration · 5af7cac1
      Pierre Riteau authored
      This is now merged into kayobe-config-dev [1].
      
      [1] https://review.opendev.org/c/openstack/kayobe-config-dev/+/777076
      
      Change-Id: I87b63966b55f04f80fd0255fbf2732d527732187
      5af7cac1
  3. Feb 25, 2021
  4. Feb 22, 2021
  5. Feb 19, 2021
  6. Feb 17, 2021
  7. Feb 15, 2021
  8. Feb 11, 2021
  9. Feb 10, 2021
  10. Feb 09, 2021
    • Piotr Parczewski's avatar
      Remove CentOS 7 image resolv.conf workaround · 914d61d8
      Piotr Parczewski authored
      This workaround is no longer needed for current CentOS 8 images as
      resolv.conf file comes now empty.
      
      Moreover, the workaround has been preventing seed host configure from
      running successfully on Ubuntu hosts.
      
      Change-Id: I30e34e3c58db3f3a93a07f3d6d53671286e4260e
      914d61d8
  11. 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
  12. 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
  13. Feb 01, 2021
  14. Jan 29, 2021
  15. 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
      Remove trailing whitespace · 0d028b90
      Pierre Riteau authored
      Change-Id: I6b81c473ba9d844d0b6e5d0064dd71fe9313d647
      0d028b90
    • 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
  16. Jan 21, 2021
  17. 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
  18. Jan 18, 2021
  19. Jan 15, 2021
  20. Jan 14, 2021
  21. 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
  22. Jan 07, 2021
    • Mark Goddard's avatar
      Ubuntu: support non-persistent veth configuration · f9b02c8b
      Mark Goddard authored
      Adds support for veth patch pair configuration on Ubuntu. Currently this
      is not persistent across reboots. This will need to be addressed once
      the network configuration model is chosen for Ubuntu.
      
      Change-Id: I006d46954456cf30ce4e743fcbe9b2862d43dd01
      Story: 2004960
      Task: 41545
      f9b02c8b
  23. Jan 05, 2021
Loading