Skip to content
Snippets Groups Projects
  1. May 20, 2020
  2. May 12, 2020
  3. 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
  4. Mar 23, 2020
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. Apr 19, 2019
  14. 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
  15. 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
  16. 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
  17. 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
  18. Dec 21, 2018
    • Mark Goddard's avatar
      Test upgrading seed services in CI · 7593a8b9
      Mark Goddard authored
      Adds the kayobe-seed-upgrade-centos job, which performs an upgrade of
      the seed services from the previous release to the current release.
      
      Change-Id: Ia3eb39cf81cb3618fd94c4456bd576b52098c946
      Story: 2004308
      Task: 27873
      7593a8b9
  19. 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
  20. 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
  21. Nov 20, 2018
  22. 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
  23. Nov 12, 2018
    • Mark Goddard's avatar
      Use zuul's install-docker role · 74cdf09d
      Mark Goddard authored
      This allows us to remove the sudo from the tox molecule environment, since
      the install-docker role correctly adds the zuul user to the docker group.
      
      Change-Id: Ib7abd22c0caf793a8a59d38a4f63df7e60a7b69e
      74cdf09d
  24. 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
  25. Sep 24, 2018
    • Mark Goddard's avatar
      Use openstack-hosted development config · f7badb2b
      Mark Goddard authored
      The Kayobe development configuration has moved to
      openstack/kayobe-config-dev. It was previously hosted at
      stackhpc/dev-kayobe-config on Github.
      
      This change updates the Zuul configuration and development documentation
      to use the new location. It also uses a location for the kayobe source
      code that works when kayobe is not the repository against which the code
      review is targetted. This allows us to run kayobe jobs for
      kayobe-config-dev changes.
      
      Configuration for the seed VM and seed hypervisor development
      environments is not yet supported by kayobe-config-dev, so the
      documentation references a branch in my personal fork on Github.
      
      Change-Id: I621324093b8dff0ac52a648539cd91bc12da4862
      f7badb2b
  26. Sep 19, 2018
  27. Aug 07, 2018
  28. Aug 02, 2018
  29. May 16, 2018
  30. May 10, 2018
    • Mark Goddard's avatar
      Test nova server (VM) boot in overcloud job · 0ec7edff
      Mark Goddard authored
      We use the demo script from kolla ansible, init-runonce, to create
      resources in the control plane to make it ready for booting a VM. We
      then create a nova server, and wait for it to become active. We do not
      currently test that the VM boots successfully by accessing it via SSH.
      
      Change-Id: I61be554366565decd9f4ff7805a3969aa37da4b9
      0ec7edff
  31. Apr 10, 2018
    • Mark Goddard's avatar
      Add CI job for molecule tests · d385b323
      Mark Goddard authored
      Adds the following zuul job:
      
      kayobe-tox-molecule
      
      It runs ansible role tests using the molecule framework.
      
      Note that we are currently running tox as root to work around issues
      with applying docker group membership in the Zuul CI environment.
      
      The ubuntu-1604 platform has been removed because the job takes a long
      time to run even on one platform.
      
      Change-Id: I8be24be828c0e124d822d7b39a02169c92b81eb3
      Story: #2001637
      Task: #6646
      d385b323
  32. Apr 09, 2018
    • Mark Goddard's avatar
      Add a job for seed deployment · cd6c366c
      Mark Goddard authored
      Adds a new CI job, kayobe-seed-centos, that deploys a single VM as a
      seed host. The VM provided by Zuul is configured as the seed, rather
      than a seed hypervisor that provisions a seed VM using nested virt.
      
      This approach should be more reliable, faster, and easier to get
      working, at the expense of not testing the seed hypervisor code paths.
      
      Currently the seed services are deployed, but not tested. A future
      change could test discovery and provisioning of an overcloud host using
      the seed.
      
      Change-Id: Iefe16215af6f1a9fb8ec78094cd6bd76a82a040a
      Story: 2001655
      Task: 6683
      cd6c366c
  33. Mar 15, 2018
    • Mark Goddard's avatar
      Add overcloud deployment job · 4cdf71f5
      Mark Goddard authored
      Adds a Zuul job to perform deployment of an OpenStack control plane
      consisting of a single node. Currently no tests are run against the
      resulting control plane.
      
      Change-Id: I2728421cb5dbd1dc370a3aa7d37d913c90ba38a5
      Story: #2001655
      Task: #6682
      4cdf71f5
Loading