Skip to content
Snippets Groups Projects
  1. Sep 11, 2019
  2. Aug 14, 2019
  3. Jul 16, 2019
    • Radosław Piliszek's avatar
      CI: clean up requirements installation · 8a543098
      Radosław Piliszek authored
      
      We install kolla-ansible requirements in Zuul's Ansible playbooks.
      This patch cleans up the installation in scripts so that they are
      only concerned with auxiliary requirements:
      - ansible (since we do not track it in requirements)
      - ara (for log summaries)
      - openstack clients (for first init and tests after deployment)
      
      Additionally this patch installs openstack clients in a separate
      virtualenv.
      Note that all kolla-ansible requirements, ansible and ara are still
      installed system-wide.
      
      Change-Id: Iac04082ad39a9d823c515ba11c5db9af50ed225f
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      8a543098
  4. Jul 10, 2019
    • Mark Goddard's avatar
      init-runonce: make public1 network optional · 3026fd91
      Mark Goddard authored
      Skip creation by setting ENABLE_EXT_NET to 0.
      
      Since adding errexit we are failing in kayobe CI, since we have a
      conflicting flat network on physnet1.
      
      Change-Id: I88429f30eb81a286f4b8104d5e7a176eefaad667
      3026fd91
  5. Jul 09, 2019
    • Mark Goddard's avatar
      Test minimum supported and latest versions of Ansible · b9da05be
      Mark Goddard authored
      We have a minimum supported version of Ansible, currently 2.5. We should
      test this in addition to the latest version. This change tests latest on
      Ubuntu, and minimum on other distros.
      
      Change-Id: I45a7173139f057177a71e919ad3e718a99d9f87b
      b9da05be
  6. Jul 02, 2019
    • Radosław Piliszek's avatar
      CI: Keep stderr in ansible logs · b9aa8b38
      Radosław Piliszek authored
      
      Otherwise ara had only the stderr part and logs only the
      stdout part which made ordered analysis harder.
      
      Additionally add -vvv for the bootstrap-servers run.
      
      Change-Id: Ia42ac9b90a17245e9df277c40bda24308ebcd11d
      Signed-off-by: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      b9aa8b38
    • Mark Goddard's avatar
      Add upgrade-bifrost command · 9cac1137
      Mark Goddard authored
      This performs the same as a deploy-bifrost, but first stops the
      bifrost services and container if they are running.
      
      This can help where a docker stop may lead to an ungraceful shutdown,
      possibly due to running multiple services in one container.
      
      Change-Id: I131ab3c0e850a1d7f5c814ab65385e3a03dfcc74
      Implements: blueprint bifrost-upgrade
      Closes-Bug: #1834332
      9cac1137
  7. Jul 01, 2019
  8. Jun 28, 2019
    • Mark Goddard's avatar
      Exit on failure in init-runonce · bc08b44f
      Mark Goddard authored
      Previously we sourced this script in tests/deploy.sh, but this was
      recently changed. Following that change we lost the errexit setting,
      meaning we ignore errors in init-runonce.
      
      Adding errexit in the script itself means that all callers get error
      handling.
      
      Also log init-runonce output.
      
      TrivialFix
      
      Change-Id: I9b35bd5f0f76eec26ddd968d093a3a5fd55a7ce2
      bc08b44f
  9. Jun 21, 2019
  10. Jun 11, 2019
    • Mark Goddard's avatar
      Add CI job for ironic · 845040ad
      Mark Goddard authored
      Adds four new CI jobs for testing centos/ubuntu binary/source deploys
      with ironic enabled. These are run only when there are changes to the
      ironic role.
      
      Performs some simple testing by creating a node using the fake-hardware
      hardware type and creating a server.
      
      Change-Id: Ie669e57ce2af53257b4ca05f45193cb73f48827a
      Depends-On: https://review.opendev.org/664011
      845040ad
  11. Jun 06, 2019
    • Mark Goddard's avatar
      Check for 'become' in tasks that use Docker in pep8 · e474c6ca
      Mark Goddard authored
      We should use become: true for all tasks that use Docker.
      
      Change-Id: I5ce06cc6f2c7403a1c36aadf9e55068c780f05ac
      e474c6ca
    • Mark Goddard's avatar
      Use become for all docker tasks · b123bf66
      Mark Goddard authored
      Many tasks that use Docker have become specified already, but
      not all. This change ensures all tasks that use the following
      modules have become:
      
      * kolla_docker
      * kolla_ceph_keyring
      * kolla_toolbox
      * kolla_container_facts
      
      It also adds become for 'command' tasks that use docker CLI.
      
      Change-Id: I4a5ebcedaccb9261dbc958ec67e8077d7980e496
      b123bf66
  12. Jun 04, 2019
  13. Jun 03, 2019
    • Mark Goddard's avatar
      Test Ceph upgrade in CI · 78ee0287
      Mark Goddard authored
      Add CI jobs for testing an upgrade of a multinode system with Ceph
      enabled. As for the existing upgrade job, we upgrade from the previous
      release to the current release.
      
      Change-Id: I931772ca4c63757769467a57c80dc0726a11167a
      Depends-On: https://review.opendev.org/658163
      78ee0287
  14. May 24, 2019
  15. Apr 26, 2019
  16. Mar 27, 2019
    • Mark Goddard's avatar
      Test upgrades in CI · c23c9b2c
      Mark Goddard authored
      This patch adds two new jobs:
      
      * kolla-ansible-centos-source-upgrade
      * kolla-ansible-ubuntu-source-upgrade
      
      These jobs first deploy a control plane using the previous release of
      Kolla Ansible, then upgrade to the current release.
      
      Because we can't change the branch of the git repository on the Zuul
      executor, we change the branch of the kolla-ansible repository on the
      primary node to the branch of the previous release, in this case
      stable/rocky. A new remote-template role has been added that supports
      generating templates using a remote template source, to generate config
      files using the previous kolla-ansible branch.
      
      If the change being tested depends on a kolla change for the current
      branch, then we build images. Rather than using the current
      kolla-ansible version to tag the images, we now tag them with
      change_<gerrit change ID>. This is because the version of kolla-ansible
      will change from the previous release to the current one as we upgrade
      the system.
      
      Finally, it should be noted that the 'previous_release' variable in the
      Zuul config needs to be updated with each release, since this sets the
      release of kolla-ansible that is installed initially.
      
      Depends-On: https://review.openstack.org/645089/
      Depends-On: https://review.openstack.org/644250/
      Depends-On: https://review.openstack.org/645816/
      Depends-On: https://review.openstack.org/645840/
      Change-Id: If301e0affcd55360fefe3b105f023ae5c47b0853
      c23c9b2c
  17. Mar 15, 2019
  18. Mar 01, 2019
    • Mark Goddard's avatar
      Add cinder-lvm CI job · c41c9a0c
      Mark Goddard authored
      Tests Cinder with an LVM/iSCSI backend, including attaching a volume to
      an instance.
      
      Change-Id: I6963b5e81d7ac88dd1bdfb94b62d9d63028b9786
      c41c9a0c
  19. Feb 25, 2019
  20. Jan 24, 2019
    • binhong.hua's avatar
      Link kolla_log volume dir to /var/log/kolla · 93e5e8e6
      binhong.hua authored
      The path /var/lib/docker/volumes/kolla_logs/_data/ is too long
      shorter log path will help to debug from log.
      The volume path is compatible with docker-engine and docker-ce.
      
      Change-Id: I9195d5f24d938f5060fe748aac3ae58c79ec5abf
      93e5e8e6
  21. Jan 09, 2019
    • Mark Goddard's avatar
      Use kolla-ansible version to tag images · 65aa706a
      Mark Goddard authored
      If building images, kolla currently uses its own version for their tag
      by default.  This might not match the version of kolla-ansible, which is
      what is used by default in kolla-ansible. This leads to the image not
      being found.
      
      This change uses kolla-ansible's version to tag locally built images.
      
      Change-Id: I49c7afb9167d1e3f8a4470b6ebbb6ad6798d4996
      65aa706a
  22. Jan 02, 2019
  23. Dec 21, 2018
  24. Dec 19, 2018
  25. Dec 12, 2018
  26. Nov 26, 2018
    • Eduardo Gonzalez's avatar
      Support stop specific containers · 1a682fab
      Eduardo Gonzalez authored
      With this change, an operator may be able to stop a
      service container without stopping all services in a host.
      This change is the starting point to start
      fast-forward upgrades support.
      In next changes new flags will be introducced to disable
      stop dataplane services during upgrades.
      
      Change-Id: Ifde7a39d7d8596ef0d7405ecf1ac1d49a459d9ef
      Implements: blueprint support-stop-containers
      1a682fab
  27. Nov 22, 2018
    • Nick Jones's avatar
      Add new option to perform an on-demand backup of MariaDB · f704a780
      Nick Jones authored
      blueprint database-backup-recovery
      
      Introduce a new option, mariadb_backup, which takes a backup of all
      databases hosted in MariaDB.
      
      Backups are performed using XtraBackup, the output of which is saved to
      a dedicated Docker volume on the target host (which defaults to the
      first node in the MariaDB cluster).
      
      It supports either full (the default) or incremental backups.
      
      Change-Id: Ied224c0d19b8734aa72092aaddd530155999dbc3
      f704a780
  28. Nov 20, 2018
  29. Nov 08, 2018
    • Eduardo Gonzalez's avatar
      Refactor tests/templates/globals.yml · 26af377a
      Eduardo Gonzalez authored
      Improve where openstack services are deployed
      to a variable, so we will avoid many conditions
      when more CI jobs are added with different configs.
      Heat is enabled by default in globals.yml, lets deploy it
      at least.
      
      Change-Id: If0f009cf434c3ed5874b3171d8c75911ef8e4be1
      26af377a
  30. Nov 07, 2018
  31. Nov 06, 2018
    • Mark Goddard's avatar
      Refactor CI testing scripts · f92de48c
      Mark Goddard authored
      This change is intended to ease the addition of new test scenarios, by
      splitting the existing setup_gate.sh script up into several smaller
      scripts. We may wish to further break these scripts up in future,
      depending on the requirements of new test jobs.
      
      Change-Id: Ifa442ac79a54f749c56d20f5f7383c3852d95268
      f92de48c
  32. Oct 22, 2018
    • Hongbin LU's avatar
      Add Zun scenario job for ubuntu · f57c1aec
      Hongbin LU authored
      Introduce a job 'kolla-ansible-ubuntu-source-zun' to test kolla
      with Zun enabled. To reduce CI resource, this job will be triggered
      only if there are changes on the Zun's ansible roles.
      
      Change-Id: I0ba207e1d3761da2d6992c5834d4f59e7e1d6628
      f57c1aec
  33. Oct 21, 2018
  34. Oct 02, 2018
    • Mark Goddard's avatar
      Don't use 'become' in CI tests · 8399fc78
      Mark Goddard authored
      Kolla Ansible now claims [1] to support executing as a user other than
      root.  We should ensure that this is tested in CI.
      
      This change removes the 'become' from hosts in the inventory, and sets
      the remote user to 'kolla', as configured via the bootstrap-servers
      command. The bootstrap-servers command and other ansible commands
      executed before it still need to execute as the zuul user and not as
      kolla, since kolla does not exist yet.
      
      The autogenerated SSH private key in passwords.yml is now added to the
      zuul user's SSH config, such that it can SSH as the kolla user, which
      has authorised this key.
      
      [1]
      https://blueprints.launchpad.net/kolla-ansible/+spec/ansible-specific-task-become
      
      Change-Id: I8f3587e2908bc5b8889cd6fbc01981a6186d33e6
      8399fc78
  35. Sep 23, 2018
    • confi-surya's avatar
      Revert commit of fixing ceph gates · dfd372b6
      confi-surya authored
      This patch is to test and revert the change
      
      Change-Id: If930306a357e40ad02c4d7f71779701a9a52b94a
      revert: Ie8feb03e9a07a6486a8b375d3304c9e6f1f8b890
      dfd372b6
  36. Sep 21, 2018
  37. Sep 04, 2018
    • Mark Goddard's avatar
      Add check.yml for prometheus and vitrage · 354894e2
      Mark Goddard authored
      Without this, kolla-ansible check fails with the following error:
      
      Unable to retrieve file contents
      Could not find or access '/path/to/kolla-ansible/ansible/check.yml'"}
      
      Also adds the check command to the CI tests, to ensure that it does not
      break again.
      
      Change-Id: I9fc2f9999f55cb742ac3ac38579dcf26524a9fc7
      Closes-Bug: #1790653
      354894e2
Loading