Skip to content
Snippets Groups Projects
  1. Feb 22, 2022
  2. 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
  3. Aug 04, 2021
  4. Apr 21, 2021
  5. 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
  6. 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
  7. 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. Apr 19, 2019
  15. 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
  16. 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
  17. 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
Loading