Skip to content
Snippets Groups Projects
  1. Apr 28, 2021
  2. Apr 21, 2021
  3. Apr 14, 2021
  4. Mar 25, 2021
  5. Mar 10, 2021
  6. Mar 01, 2021
    • Piotr Parczewski's avatar
      CI: Add Ubuntu seed job · 53446579
      Piotr Parczewski authored
      
      This commit adds Zuul job for deploying seed services against
      Ubuntu 20.04 LTS (Focal Fossa).
      
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      
      Story: 2004960
      Task: 41807
      Depends-On: https://review.opendev.org/c/openstack/kayobe/+/772929
      Change-Id: I839cd1b9d63c9bbf3e0c75def76b8bff68637c75
      53446579
    • Mark Goddard's avatar
      CI: add Ubuntu seed VM job · 7a99b88e
      Mark Goddard authored
      * Need to specify bash for &> syntax
      
      Story: 2004960
      Task: 41806
      
      Change-Id: Ic33d3e31096f7b0cec2e4e9284f5c1078a4ff04c
      7a99b88e
    • Mark Goddard's avatar
      CI: Ubuntu host configure job · 9c29d7d7
      Mark Goddard authored
      Issues:
      
      * bond configuration not working on Ubuntu - disabled in CI test
      
      Story: 2004960
      Task: 41560
      
      Change-Id: Ib124dc6f313a2a13fa509b10702c6141f102f2f9
      9c29d7d7
    • Mark Goddard's avatar
      CI: add Ubuntu overcloud deploy job · 9f41cefc
      Mark Goddard authored
      * Use source images
      * Need to specify bash for &> syntax
      
      Issues worked around:
      
      * Manually configuring bridge via ip commands makes ifup fail to bring
        up the link. Adds a kayobe-network-bootstrap Zuul CI role that adds
        persistent configuration for the all-in-one network.
      
      * bridge not active after interfaces role bounce. Added a pause, similar
        to https://github.com/michaelrigart/ansible-role-interfaces/pull/31
      
      * fails installing docker python module for kolla user. WARNING: The
        repository located at mirror-int.ord.rax.opendev.org is not a trusted
        or secure host and is being ignored ERROR: No matching distribution
        found for docker===4.4.0 Adding trusted host for PyPI mirror.
      
      * Tenks fails to create block devices - missing qemu-img (in qemu-utils)
      
      * Tenks qemu emulator is different on Ubuntu
      
      Remaining issues:
      
      * Bare metal testing is unreliable on Ubuntu - some jobs see IPMI
        failures such as the following:
      
          ipmitool chassis bootdev pxe
      
          Error setting Chassis Boot Parameter 5\nError setting Chassis Boot
          Parameter 0\n
      
        Bare metal testing is disabled on Ubuntu for now.
      
      Depends-On: https://review.opendev.org/766984
      Depends-On: https://review.opendev.org/766958
      
      Story: 2004960
      Task: 29393
      
      Change-Id: I1985efae7c18f55c3ff7c27c17d6242523904f3e
      9f41cefc
  7. 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
  8. Feb 25, 2021
  9. Feb 11, 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. 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
  13. Nov 24, 2020
    • Mark Goddard's avatar
      CI: add dummy1 port for seed upgrade and VM jobs · 0766df16
      Mark Goddard authored
      For some reason this configuration was omitted or incomplete in these
      jobs. Without this configuration, Kayobe development configuration adds
      eth1 to the breth1 bridge if it exists, or leaves the bridge without a
      port otherwise. This can lead to network connectivity issues, if the IP
      address of eth1 becomes inaccessible when it is added to breth1.
      
      This change fixes the issue by ensuring that the dummy1 interface
      exists, and configuring the aio network to add it to breth1 as a port,
      instead of eth1.
      
      Change-Id: I47115e5d8d1fb448cb9e46dc43b56c64987e428b
      0766df16
  14. Oct 01, 2020
    • Mark Goddard's avatar
      Disable ironic in the overcloud by default · f9de6a02
      Mark Goddard authored
      Ironic is now disabled by default in the overcloud. This brings Kayobe's
      default set of services into line with Kolla Ansible. For environments
      using Ironic in the overcloud, set kolla_enable_ironic to true in
      kolla.yml.
      
      Story: 2008207
      Task: 40991
      
      Change-Id: I33eb4fa534847e199a599350b525d4762a2beaac
      f9de6a02
    • Stig Telfer's avatar
      When EPEL install flag is not set · e5a28188
      Stig Telfer authored
      The flag dnf_install_epel was being used to predicate installation
      of the EPEL RPM repo package, but not preventing the installation
      of configuration for access to EPEL.  This small patch completes
      the job.
      
      Updates the overcloud host configure CI job to install EPEL mirrors,
      since it was previously relying on this buggy behaviour.
      
      Change-Id: Ib417837d0772338b16ea9f7f2540549f277d5de8
      e5a28188
    • Mark Goddard's avatar
      CI: Add a CentOS 8 overcloud job with TLS enabled · 08122275
      Mark Goddard authored
      Change-Id: I5fc49fb734d0fe94f5f75c66eb4c1a935774ef30
      08122275
    • Mark Goddard's avatar
      Revert "CI: workaround overcloud upgrade issue with ironic" · b3a61a11
      Mark Goddard authored
      This reverts commit bb9a595e.
      
      Change-Id: Icd7b0f3b02bf3f22468daa8893c043ac9f3be4d6
      b3a61a11
  15. Sep 30, 2020
  16. Jun 16, 2020
    • Mark Goddard's avatar
      Add seed VM provisioning CI job · c16597aa
      Mark Goddard authored
      Adds the kayobe-seed-vm-centos8 CI job to configure the Zuul VM as a
      seed hypervisor, and use nested virt to provision a seed VM.  This
      ensures that the seed hypervisor code paths are tested.
      
      The job uses a Cirros image for the seed VM rather than the usual CentOS
      cloud image. This is to reduce bandwidth required to download the image.
      It does mean that the resulting seed VM cannot be used as a seed, but
      nested virt would make this slow and unreliable anyway. Cirros does not
      load cdrom drivers by default, so we add the configdrive as a disk
      rather than a cdrom device.
      
      Depends-On: https://review.opendev.org/617161
      
      Change-Id: I2268a1ddf9a2870c713f32a40689e1686365aabd
      Story: 2001655
      Task: 6683
      c16597aa
  17. Jun 12, 2020
    • Mark Goddard's avatar
      IPA: Switch to IPA builder and CentOS 8 · 20fb05bf
      Mark Goddard authored
      Switches to use the IPA builder project for building IPA images.
      
      Switches the IPA images used by default to CentOS 8 based image.
      
      Changes the file extension of the IPA kernel image from vmlinuz to
      kernel.
      
      Story: 2007070
      Task: 37953
      
      Change-Id: I82fc455f41f48dacb453e135870dd776895d7c99
      Story: 2006574
      Task: 39485
      20fb05bf
  18. May 29, 2020
  19. May 28, 2020
    • Mark Goddard's avatar
      CI: Encrypt passwords.yml in overcloud host configure job · 3b03bfe3
      Mark Goddard authored
      This gives us some test coverage with Ansible Vault.
      
      Change-Id: Ic9db7f84e9f0dcbe69c31b6fff6bda3dfb401a33
      Story: 2004959
      Task: 39813
      3b03bfe3
    • Mark Goddard's avatar
      Remove support for CentOS 7 and Python 2 · b9d76f6e
      Mark Goddard authored
      * Always use Python 3
      * Drop code paths for CentOS 7
      * Drop support for Yum
      * Remove support for host NTP daemon, always use chrony
      * Switch references from 'yum_install_epel' to 'dnf_install_epel'
      * Remove overcloud host image workaround for tagged VLAN admin network
      * Remove the kayobe.utils.yum_install function, which is unused
      
      Change-Id: I368f6edafed9779658798fc342116b4c1b3ffd48
      Story: 2006574
      Task: 39481
      b9d76f6e
  20. May 20, 2020
  21. May 12, 2020
  22. Apr 16, 2020
    • Mark Goddard's avatar
      CI: Add overcloud host configure job · 92a437f6
      Mark Goddard authored
      Tests various non-default configuration:
      
      * Custom users
      * Network interfaces, VLANs, bridges, bonds
      * Software RAID
      * LVM & docker devicemapper
      * timezone
      * Package mirrors
      * yum-cron / DNF automatic
      
      This improved test coverage allows us to be more confident about these
      features working on CentOS 8.
      
      Change-Id: I36148e4356deb7d5ec00d8d3ebeb2d3932ff4f94
      Story: 2006574
      Task: 38938
      92a437f6
  23. Mar 23, 2020
  24. Mar 11, 2020
    • Mark Goddard's avatar
      CentOS 8: Add seed and overcloud CI jobs, drop CentOS 7 jobs · b0359e37
      Mark Goddard authored
      CentOS 8 removes interfaces from their bridge during ifdown, and removes
      the bridge if there are no interfaces left. When Kayobe bounces veth
      links plugged into the bridge, it causes the bridge which has the IP we
      are using for SSH to be removed. Use a dummy interface in CI to avoid
      this problem.
      
      Kolla-ansible has dropped all CentOS 7 jobs on master now, and prechecks
      only allow CentOS 7 hosts. Drop all CentOS 7 jobs. We will have to run
      without upgrade jobs in place until Train supports CentOS 8.
      
      Depends-On: https://review.opendev.org/695881
      
      Change-Id: I7c1a885b36445e33d4db1b1c8533db28a644b4a1
      Story: 2006574
      Task: 38870
      b0359e37
  25. Feb 13, 2020
    • Mark Goddard's avatar
      CI: Redirect stderr to ansible logs · ac88bc2d
      Mark Goddard authored
      Currently Kayobe stderr is logged to the Zuul playbook output. This
      change redirects stderr to the ansible log files.
      
      Change-Id: Ia2f25a2e41859159275d418b57ab59bb97f58d6a
      ac88bc2d
  26. Aug 22, 2019
    • Mark Goddard's avatar
      Execute kayobe in verbose mode in CI · 691ddeb6
      Mark Goddard authored
      Also refactors the CI job playbooks to create the previous git repo
      clones for upgrade jobs in the kayobe-base job.
      
      Change-Id: I10c2b872887a47fab1a373fc0525dcd6fc78f7e2
      691ddeb6
  27. Aug 15, 2019
    • Mark Goddard's avatar
      Update packages in virtualenvs · ddfd6b62
      Mark Goddard authored
      Kayobe uses a number of virtual environments on the remote hosts for
      python dependencies such as shade, python-openstackclient, docker, etc.
      By default these are stored in /opt/kayobe/venvs/. Typically we do not
      provide version restrictions when installing these packages, so over the
      course of time they may become stale and incompatible.
      
      This change installs the latest version of packages allowed by OpenStack
      upper constraints.
      
      It also adds a new variable, 'pip_upper_constraints_file', to set the
      upper constraints file. The existing variable
      'kolla_upper_constraints_file' now defaults to the value of
      'pip_upper_constraints_file'.
      
      Change-Id: I8d2956f95bbc44b5a9e88e7569372048a62f12f5
      Story: 2005923
      Task: 34193
      ddfd6b62
  28. Jun 17, 2019
    • Mark Goddard's avatar
      Restrict cliff to <2.15.0 · a3a71b91
      Mark Goddard authored
      Using Kayobe with cliff 2.15.0 fails with the following error:
      
      kayobe playbook run playbook.yml
      invalid conflict_resolution value: 'ignore'
      
      This change restricts cliff to <2.15.0.
      
      Also, fix git cloning previous release repos in CI to allow this patch
      to merge.
      
      Zuul provides repositories with all branches containing all prospective
      changes, not just the current branch. We can use this in the upgrade
      jobs to include changes to the previous release branch when a patch
      depends on them.
      
      Change-Id: I7966cf33f6133090d83232504b8c1da4c7817e0c
      Depends-On: https://review.opendev.org/665703/
      Story: 2005891
      Task: 33748
      a3a71b91
  29. Jun 06, 2019
    • Isaac Prior's avatar
      Add alternative tenks deploy and teardown entrypoints. · 0d598bf0
      Isaac Prior authored
      Allows users to explicitly specify which type of tenks
      deployment they wish to create / destroy.
      Preserves existing behaviour with defaults.
      Modifies Zuul tests to use new tenks-deploy entrypoints.
      
      Change-Id: I9aafed8481fd7564c0fc0abe5f6b21eceb824d75
      0d598bf0
Loading