Skip to content
Snippets Groups Projects
  1. Feb 22, 2022
  2. Nov 09, 2021
  3. Oct 22, 2021
    • Pierre Riteau's avatar
      CI: Disable heat in upgrade jobs to save disk space · 06a51cea
      Pierre Riteau authored
      We see frequent failures of upgrade jobs on stable branches due to lack
      of disk space. Disable heat in an attempt to free up extra space, since
      we do not need it for our testing.
      
      Change-Id: I20c99ca9dd6e78b041e4662c9b1b54eac904e3c9
      06a51cea
  4. Oct 01, 2021
    • Mark Goddard's avatar
      Ubuntu: add upgrade jobs in CI · 3b901641
      Mark Goddard authored
      Now that the previous release is Wallaby, we can add overcloud and seed
      upgrades on Ubuntu.
      
      Change-Id: I69868dca6e1f3e4a1bf123c9e7f1f3412162b264
      3b901641
  5. Sep 29, 2021
    • Pierre Riteau's avatar
      CI: Disable libvirt debug logs · f09faa43
      Pierre Riteau authored
      Libvirt debug logs can grow very large, particularly on Ubuntu (we have
      seen up to 1.1GB). Disable libvirt debug logging using variable
      nova_libvirt_logging_debug which was added to Kolla Ansible during the
      Wallaby cycle (see change I90bfd1b300ad3202ea4d139fda6d6beb44c5820f) and
      backported to Victoria and Ussuri.
      
      Change-Id: Ic047e80aa382148b009b1c03581b417d17ec2598
      f09faa43
  6. Jul 22, 2021
  7. May 11, 2021
    • Pierre Riteau's avatar
      CI: Remove unused Docker images after overcloud upgrade · 93a8baca
      Pierre Riteau authored
      Overcloud upgrade jobs often fail when running on nodes with a 38G root
      disk. The overcloud upgrade itself generally works, but post-upgrade
      testing fails, for example when RabbitMQ gets in alarm state due to lack
      of free disk space, which prevents Nova from functioning correctly and
      makes it return "Unknown Error (HTTP 504)".
      
      Change-Id: I536a526340f6d7dea7a69372904b777292774eba
      93a8baca
  8. Apr 28, 2021
  9. Apr 21, 2021
  10. Mar 25, 2021
  11. Mar 01, 2021
    • 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
  12. 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
  13. Feb 25, 2021
  14. 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
  15. Oct 01, 2020
  16. Sep 30, 2020
  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. Mar 23, 2020
  19. 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
  20. 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
  21. 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
  22. 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
  23. 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
  24. May 07, 2019
    • Mark Goddard's avatar
      DRY out Zuul job configuration · ca3b5a77
      Mark Goddard authored
      Adds a new abstract parent job for the following kayobe deploy jobs:
      
      kayobe-overcloud-centos
      kayobe-overcloud-upgrade-centos
      kayobe-seed-centos
      kayobe-seed-upgrade-centos
      
      This parent includes commonly used variables, and pre-run and post-run
      playbooks for preparing and executing diagnostics, plus other
      initialisation.
      
      Change-Id: I9ab89fbc49bb32d86af56d50ec3914740e65d0f8
      ca3b5a77
  25. Apr 24, 2019
    • Mark Goddard's avatar
      Update git.openstack.org to opendev.org · 5b9f85d7
      Mark Goddard authored
      The project infrastructure is now hosted at opendev.org.
      
      Kayobe projects have been moved from the openstack/ namespace to x/.
      
      Change-Id: I16b523285eb34c1cd0eaf920aa4512d0ae1b4f05
      5b9f85d7
  26. Apr 19, 2019
  27. Apr 09, 2019
    • Mark Goddard's avatar
      Use master version of dependencies · eda8246b
      Mark Goddard authored
      Use master branch of:
      
      * Kolla
      * Kolla ansible
      * Bifrost
      * IPA
      * OpenStack services
      * Requirements
      
      Also, use the infra docker registry mirror at port 8082 which does not
      have any path component in its URL, and so works with Docker CE.
      
      Depends-On: https://review.openstack.org/#/c/651254/
      Change-Id: Icdb62aa0083d9272a08421138719cf5f6b52ec5a
      Story: 2001864
      Task: 14316
      eda8246b
  28. Mar 29, 2019
    • Mark Goddard's avatar
      Prevent use of KVM for Tenks VMs in CI · 08bb1441
      Mark Goddard authored
      Currently nested virtualisation under KVM does not seem to be working in
      CI. This breaks the 'bare metal' deployment testing using Tenks, which
      lead us to disable it in 749ef824.
      
      This commit forces Tenks to use QEMU for its VMs, allowing us to revert
      commit 749ef824..
      
      Change-Id: Id382c218f3b37979341f0d96718a6011a1d9da37
      Story: 2005316
      Task: 30223
      08bb1441
  29. Mar 28, 2019
    • Mark Goddard's avatar
      Skip bare metal testing in CI · 749ef824
      Mark Goddard authored
      When first added, the bare metal deployment tests using Tenks were
      fairly reliable (although not 100%). Recently though, jobs seem to be
      failing at this step quite frequently, making it difficult to merge
      patches. Looking at the historical zuul jobs, the failure rate per job
      seems to be about 1/3:
      http://zuul.openstack.org/builds?job_name=kayobe-overcloud-centos. With
      two overcloud jobs and check and gate required to pass, the merge
      success rate is around 20%.
      
      Let's skip this testing for now, until we can make it more reliable.
      
      Change-Id: Id0a05f8c5d227f8cd9424c7a5b138eddee93f827
      Story: 2005316
      Task: 30224
      749ef824
  30. Feb 05, 2019
    • Mark Goddard's avatar
      Don't cd to /tmp in environment-setup.sh · d7ae9f2d
      Mark Goddard authored
      This script is used by developers to activate the kayobe virtual
      environment and source the configuration's kayobe-env file. A cd to /tmp
      is an unexpected outcome of running the script.
      
      To test the location-independent installation, remove the chdir from the
      zuul job tasks that execute kayobe commands.
      
      Change-Id: I59194952901fa648382489f48dc7aafb03d3a682
      Story: 2004252
      Task: 29347
      d7ae9f2d
  31. Nov 27, 2018
    • Mark Goddard's avatar
      Fix variable shadowing · e9157c09
      Mark Goddard authored
      previous_release variable is used for two different purposes in Zuul config.
      Rename one to reflect its flagginess.
      
      Change-Id: Ib7833b29ab2959db7c7ff85b90fb8a4f5082d864
      e9157c09
  32. Nov 21, 2018
    • Mark Goddard's avatar
      Save previous kayobe & kolla configuration · 486cda26
      Mark Goddard authored
      In the upgrade CI job, the kayobe configuration is first generated for
      the previous release. If the job fails while deploying the previous
      release, we don't have access to the configuration that was used.
      
      This change adds previous_kayobe_config and previous_kolla_config to the
      saved logs.
      
      Change-Id: I603fc856cf79bdc52f5bf158c6706c1c0ffe2d95
      486cda26
    • Mark Goddard's avatar
      Use infra Docker registry mirror during CI · 016d23aa
      Mark Goddard authored
      The mirror caches images from Dockerhub, and should reduce load on the
      cloud and improve download times.
      
      Change-Id: I2b52fa6371118e28c1d601e8b90065897f24f41d
      016d23aa
  33. Nov 20, 2018
  34. Nov 19, 2018
    • Mark Goddard's avatar
      Update dependencies to Rocky · 935d3cef
      Mark Goddard authored
      Use stable/rocky branch of:
      
      * Kolla
      * Kolla ansible
      * Bifrost
      * IPA
      * OpenStack services
      * Requirements
      
      Also updates Kolla Ansible inventory template.
      
      The seed deploy job has been made non-voting and non-gating, because we
      are waiting for bifrost change https://review.openstack.org/#/c/618740
      to merge, be released, and for the kolla bifrost image to use the new
      package.
      
      Change-Id: Id5e7fdbd196f96e1e75ffc68bc93aab18fa38aa7
      Story: 2001864
      Task: 27798
      Depends-On: I58e4f951d4a3dd89e0784fd82d8a62dbba374f79
      935d3cef
  35. Nov 05, 2018
    • Mark Goddard's avatar
      Test upgrades in CI · 6266312f
      Mark Goddard authored
      There is currently no coverage of upgrades in CI, which leaves us open
      to regression in this infrequently tested but crucial area. This change
      adds the required scripts and Zuul configuration.
      
      A control plane is first deployed using the Kayobe stable/pike branch
      and associated default configuration. The control plane is tested by
      deploying then deleting a server instance. An upgrade to Queens is
      performed, using the Kayobe master branch, or code in review if
      applicable. The upgraded control plane is tested by deploying then
      deleting a second server instance.
      
      A workaround was required to restart the nova_compute service after the
      upgrade, since the SIGHUP sent to it by Kolla Ansible during upgrade
      appeared to be putting it into a degraded state.
      
      A future improvement to this test could be to leave a server instance
      running during the upgrade.
      
      Change-Id: I0e595524e39d1131fe3ec6aaf2aeec3ff3d6a536
      Story: 2003472
      Task: 24732
      6266312f
Loading