Skip to content
Snippets Groups Projects
  1. Apr 21, 2021
  2. 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 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
  3. Feb 11, 2021
  4. 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
  5. 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
  6. 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
  7. 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
  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. 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
  10. 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
  11. Apr 19, 2019
  12. 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
  13. 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
  14. Nov 21, 2018
  15. Nov 20, 2018
  16. 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
  17. 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
  18. Sep 19, 2018
  19. Aug 07, 2018
  20. Aug 02, 2018
  21. May 16, 2018
  22. 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
Loading