Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. Feb 21, 2019
  5. 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
  6. Jan 23, 2019
  7. 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
  8. 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
  9. 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
  10. Dec 21, 2018
  11. Dec 19, 2018
  12. 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
  13. 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
  14. 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
  15. Nov 26, 2018
  16. Nov 21, 2018
  17. Nov 20, 2018
  18. 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
  19. 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
  20. 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
  21. Nov 05, 2018
  22. Nov 03, 2018
  23. Oct 22, 2018
  24. 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
  25. 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
  26. Sep 21, 2018
  27. Sep 17, 2018
  28. Sep 14, 2018
  29. 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
  30. 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
  31. 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
  32. Jul 25, 2018
  33. Jul 23, 2018
  34. Jul 12, 2018
  35. Jun 19, 2018
    • Tone Zhang's avatar
      Allow Kolla Ceph to deploy bluestore OSDs in Kolla-ansible · 3591d0fa
      Tone Zhang authored
      
      Support Kolla Ceph to deploy blustore OSDs with Kolla-ansible.
      
      Please refer to [1] for bluestore OSD configuration
      
      The patch includes:
      1. Set Ceph OSD store type group_vars/all.yml. The default value
      is "bluestore" in Rocky.
      
      2. Make Kolla Ceph to deploy bluestore OSDs with Kolla-ansible
      
      3. Update gate test configuration for Ceph bluestore OSD test
      
      [1]: specs/kolla-ceph-bluestore.rst
      
      Partially-Implements: blueprint kolla-ceph-bluestore
      Depends-On: I00eaa600a5e9ad4c1ebca2eeb523bca3d7a25128
      Change-Id: I14f20a00654dff32c36d078ebb9005d91a3e60b2
      Signed-off-by: default avatarTone Zhang <tone.zhang@arm.com>
      3591d0fa
  36. Jun 18, 2018
    • Mark Goddard's avatar
      Add a job for testing deployment of bifrost · 45a4f9c0
      Mark Goddard authored
      Deploys a bifrost container using kolla-ansible bifrost-deploy.
      
      IPA and disk images are downloaded rather than built to improve
      reliability.
      
      Currently only minimal testing of the deployment is performed, creating
      and deleting an ironic node. Ideally we would perform a bare metal node
      deployment.
      
      The job is based on CentOS, as Ubuntu bifrost deployment is currently
      failing with a python-MySQLdb error.
      
      Change-Id: Ic45094594c21116b5b0d6a606f568fc7954175e3
      45a4f9c0
  37. May 29, 2018
    • Mark Giles's avatar
      Add cAdvisor for Prometheus monitoring · 41254b6c
      Mark Giles authored
      cAdvisor (Container Advisor) provides metrics on resource usage and
      performance characteristics of running containers.  This change
      deploys a cadvisor container and configures prometheus to scrape
      data from it.
      
      Change-Id: I55dd4fee954f9be68efda397746861ddaaa0a565
      Partially-Implements: blueprint prometheus
      41254b6c
Loading