Skip to content
Snippets Groups Projects
  1. Apr 10, 2019
    • Mark Goddard's avatar
      Remove RabbitMQ support from Bifrost · 33564a00
      Mark Goddard authored
      During the Train cycle, Bifrost switched to using JSON-RPC by default
      for Ironic's internal communication [1], avoiding the need to install
      RabbitMQ. This simplifies things, so we may as well remove our custom
      configuration of RabbitMQ.
      
      [1] https://review.openstack.org/645093
      
      Change-Id: I3107349530aa753d68fd59baaf13eb7dd5485ae6
      33564a00
  2. Apr 03, 2019
    • Mark Goddard's avatar
      Check configuration file permissions in CI · 8c4ab41f
      Mark Goddard authored
      Typically, non-executable files should have 660 or 600 and executable
      files and directories should have 770. All should be owned by the
      'config_owner_user' and 'config_owner_group' variables.
      
      This change adds a script to check the owner and permissions of config
      files under /etc/kolla, and runs it at the end of CI jobs.
      
      Change-Id: Icdbabf36e284b9030017a0dc07b9dc81a37758ab
      Related-Bug: #1821579
      8c4ab41f
  3. 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
  4. Mar 21, 2019
    • Mark Goddard's avatar
      Wait for cinder volume to become available in CI · e956cd87
      Mark Goddard authored
      Fixes a race condition where sometimes a volume would still be in the
      'creating' state when trying to attach it to a server.
      
      Invalid volume: Volume <id> status must be available or downloading to
      reserve, but the current status is creating.
      
      Change-Id: I0687ddfd78c384650cb361ff07aa64c5c3806a93
      e956cd87
  5. Mar 14, 2019
  6. Mar 11, 2019
    • Erol Guzoglu's avatar
      Support the prometheus elasticsearch exporter · 14ab9a7c
      Erol Guzoglu authored
      This patch implements the support for the elasticsearch-exporter in
      kolla-ansible
      
      The configuration and prechecks are reused from the other exporters
      
      Depends-On: Id138f12e10102a6dd2cd8d84f2cc47aa29af3972
      Change-Id: Iae0eac0179089f159804490bf71f1cf2c38dde54
      14ab9a7c
  7. Mar 10, 2019
    • Victor Coutellier's avatar
      Fix kolla-docker possible undefined variable · 3bb4c199
      Victor Coutellier authored
      It is possible to reference undefined variable in kolla-docker module if
      DockerWorker object initialization fail, so the current behaviour will
      crash the playbook with the unwanted error message :
      
      UnboundLocalError: local variable 'dw' referenced before assignment
      
      Change-Id: Ic8d26b11f93255220888b5406f8ab4a6f81736c2
      Closes-Bug: #1819361
      3bb4c199
  8. Mar 08, 2019
    • Bai Yongjun's avatar
      Add cyborg to kolla-ansible · ed2fd243
      Bai Yongjun authored
      Because kolla-ansible not have cyborg so should add it.
      
      Implements: blueprint add-cyborg-to-kolla-ansible
      
      Depend-On: I497e67e3a754fccfd2ef5a82f13ccfaf890a6fcd
      
      Change-Id: I6f7ae86f855c5c64697607356d0ff3161f91b239
      ed2fd243
  9. 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
  10. Feb 21, 2019
  11. Jan 24, 2019
    • binhong.hua's avatar
      add ulimit support for kolla_docker · 3d3f5f16
      binhong.hua authored
      By default, docker containers inherit ulimit from limits of docker
      deamon. On CentOS 7, docker daemon default NOFILE is 1048576.
      It can found in /usr/lib/systemd/system/docker.service.
      The big limit will cause many problem. we should control it in
      production environment.
      
      Change-Id: Iab962446a94ef092977728259d9818b86cfa7f68
      3d3f5f16
  12. Jan 23, 2019
  13. Jan 21, 2019
    • Jorge Niedbalski's avatar
      [prometheus] Support the prometheus openstack exporter · 6c64b7c7
      Jorge Niedbalski authored
      This patch implements the initial support for the
      openstack-exporter[0] in the kolla-ansible
      prometheus monitoring system.
      
      The configuration and prechecks are reused from the other
      exporters and a new template is provided for generating
      a os-client-config file required by the exporter.
      
      The default scrape interval is 60 seconds, but it can
      be extended via a configuration option.
      
      [0] https://github.com/Linaro/openstack-exporter
      
      Change-Id: I4a34c4bb56e74b5cd544972cbd6540d9acb6e4a1
      6c64b7c7
  14. Jan 18, 2019
    • Mark Goddard's avatar
      Wait for volume attachment in CI before detach · 9c906a17
      Mark Goddard authored
      In some cases the volume attachment is not finished by the time we
      attempt to detach it, causing the following error:
      
      Volume status must be 'in-use' and attach_status must be 'attached' to detach.
      
      This change waits for the volume to be attached before detaching.
      
      Change-Id: Id23d114cf8a2b40f8f0784cbfb84e9fa0829adc0
      9c906a17
  15. Jan 01, 2019
    • tone.zhang's avatar
      Add Kolla Ceph filestore CI jobs · 6786bc5b
      tone.zhang authored
      
      Since Rocky bluestore is the default store type used by Kolla Ceph.
      Filestore is still used by the customers. The patch allows deploy
      both Ceph bluestore OSD and Ceph filestore OSD in Kolla-ansible CI
      jobs.
      
      Change-Id: Iaa7c1b2ff35eb649c3a6d9f7266463d8961cdc9e
      Signed-off-by: default avatartone.zhang <tone.zhang@arm.com>
      6786bc5b
  16. Dec 21, 2018
  17. Dec 19, 2018
  18. Dec 17, 2018
    • Mark Goddard's avatar
      Support Docker CE in bootstrap-servers · 48aea563
      Mark Goddard authored
      Kolla Ansible's bootstrap-servers command provides support for
      installing the Docker engine. This is currently done using the packages
      at https://apt.dockerproject.org and https://yum.dockerproject.org.
      These packages are outdated, with the most recent packages from May 2017
      - docker-engine-17.05.
      
      The source for up to date docker packages is
      https://download.docker.com, which was introduced with the move to
      Docker Community Edition (CE) and Docker Enterprise Edition (EE).
      
      This change adds support to bootstrap-servers for Docker CE for CentOS
      and Ubuntu.
      
      It also adds a new variable, 'enable_docker_repo', which controls
      whether a package repository for Docker will be enabled.
      
      It also adds a new variable, 'docker_legacy_packages', which controls
      whether the legacy packages at dockerproject.org will be used or the
      newer packages at docker.com. The default value for this variable is
      'false', meaning to use Docker CE.
      
      Upgrading from docker-engine to docker-ce has been tested on CentOS 7.5
      and Ubuntu 16.04, by running 'kolla-ansible bootstrap-servers' with
      'docker_legacy_packages' set to 'false'. The upgrades were successful,
      but result in all containers being stopped. For this reason, the
      bootstrap-servers command checks running containers prior to upgrading
      packages, and ensures they are running after the package upgrade is
      complete.
      
      As mentioned in the release note, care should be taken when upgrading
      Docker with clustered services, which could lose quorum. To avoid this,
      use --serial or --limit to apply the change in batches.
      
      Change-Id: I6dfd375c868870f8646ef1a8f02c70812e8f6271
      Implements: blueprint docker-ce
      48aea563
  19. Dec 14, 2018
    • Mark Goddard's avatar
      Create cells before starting nova services · 365bb517
      Mark Goddard authored
      Nova services may reasonably expect cell databases to exist when they
      start. The current cell setup tasks in kolla run after the nova
      containers have started, meaning that cells may or may not exist in the
      database when they start, depending on timing. In particular, we are
      seeing issues in kolla CI currently with jobs timing out waiting for
      nova compute services to start. The following error is seen in the nova
      logs of these jobs, which may or may not be relevant:
      
      No cells are configured, unable to continue
      
      This change creates the cell0 and cell1 databases prior to starting nova
      services.
      
      In order to do this, we must create new containers in which to run the
      nova-manage commands, because the nova-api container may not yet exist.
      This required adding support to the kolla_docker module for specifying a
      command for the container to run that overrides the image's command.
      
      We also add the standard output and error to the module's result when a
      non-detached container is run. A secondary benefit of this is that the
      output of bootstrap containers is now displayed in the Ansible output if
      the bootstrapping command fails, which will help with debugging.
      
      Change-Id: I2c1e991064f9f588f398ccbabda94f69dc285e61
      Closes-Bug: #1808575
      365bb517
  20. Dec 05, 2018
    • Eduardo Gonzalez's avatar
      Allow set tty for containers · 846c15d8
      Eduardo Gonzalez authored
      This change adds support to comfigure tty,
      it was enabled by default but a recent patch
      removed it. Some services such as Karaf in opendaylight
      requires a TTY during startup.
      
      Closes-Bug: #1806662
      Change-Id: Ia4335523b727d0e45505cbb1efb40ccf04c27db7
      846c15d8
  21. Nov 26, 2018
  22. Nov 21, 2018
  23. Nov 20, 2018
  24. Nov 29, 2018
    • Mark Goddard's avatar
      Use openstack command in CI · 07d53518
      Mark Goddard authored
      Switch the CI test script to use the openstack command rather than nova
      etc.
      
      Change-Id: Id1c6d35e1e50987d230adb7942da6a7ae5c0f050
      07d53518
  25. 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
  26. Nov 06, 2018
    • Eduardo Gonzalez's avatar
      Deploy mistral-event-engine service · db4e2583
      Eduardo Gonzalez authored
      This PS adds deployment of mistral-event-engine service
      within mistral role.
      
      Change-Id: If187e1a49a321d1e85fb3cfff2ea037e567b30dc
      db4e2583
    • 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
  27. Nov 05, 2018
  28. Nov 03, 2018
  29. Oct 22, 2018
  30. 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
  31. Sep 24, 2018
    • Mark Goddard's avatar
      Fix POST_FAILURE in CI when ARA DB doesn't exist · 652b78fc
      Mark Goddard authored
      If the main CI job fails before generating an ARA report, the SQLite
      database file will not exist. This cases the job to fail with
      POST_FAILURE, rather than FAILURE, and the following is seen in the
      logs:
      
      rsync: change_dir "/home/zuul/.ara" failed: No such file or directory
      rsync error: some files/attrs were not transferred (see previous errors)
      (code 23) at main.c(1655) [Receiver=3.1.1]
      rsync: [Receiver] write error: Broken pipe (32)
      
      This change fixes this by checking for an SQLite database file, and only
      intiating the rsync transfer if it exists.
      
      Change-Id: I370e5bc9f137abe552918a3215a025fa61e3a0ca
      652b78fc
  32. Sep 21, 2018
  33. Sep 17, 2018
  34. Sep 14, 2018
  35. Sep 04, 2018
    • Mark Goddard's avatar
      Remove compute hosts from etcd group · ee7a29cf
      Mark Goddard authored
      Since I701d495675178c3ed8ec1f00b31d09f198b38a6f merged, etcd only runs
      on the control hosts, not the compute hosts. We therefore no longer
      require the etcd group to include the compute hosts.
      
      Since the group mapping is now static, we can remove the use of
      host_in_groups from the etcd service, in favour of the simpler method of
      specifying the group.
      
      Change-Id: Id8f888d7321a30a85ff95e742f7e6c8e2b9c696f
      Related-Bug: #1790415
      ee7a29cf
  36. Aug 31, 2018
    • wangwei's avatar
      Fix bluestore disk naming format in kolla-ansible · 4e5e28ff
      wangwei authored
      The current bluestore disk label naming is inconsistent with the
      filestore. The filestore naming format is that the disk prefixes
      belonging to the same osd are the same and the suffixes are
      different.
      
      This patch keeps the bluestore's disk naming as well.
      
      Change-Id: I71dda29fc4a6765300ce7bb173d2c448c24f6eca
      4e5e28ff
  37. Aug 21, 2018
    • Paul Bourke's avatar
      Temporarily remove the rabbitmq clusterer plugin · 0d03fc27
      Paul Bourke authored
      In order to migrate to the latest release of rabbitmq (3.7), we need to
      first remove this deprecated plugin which is no longer supported (the
      problems it solved are now addressed in rabbitmq itself).
      
      This avoids a circular dependency in CI where the new images depend on
      the new clustering and the new clustering depends on the new images.
      
      Change-Id: I921459f3e40b9e0d4af9497384e49aabf0abe79b
      0d03fc27
Loading