Skip to content
Snippets Groups Projects
  1. Dec 19, 2018
  2. 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
  3. 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
  4. Nov 26, 2018
  5. Nov 20, 2018
  6. 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
  7. Nov 21, 2018
  8. 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
  9. 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
  10. Nov 05, 2018
  11. Nov 03, 2018
  12. Oct 22, 2018
  13. 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
  14. 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
  15. Sep 21, 2018
  16. Sep 17, 2018
  17. Sep 14, 2018
  18. 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
  19. 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
  20. 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
  21. Jul 25, 2018
  22. Jul 23, 2018
  23. Jul 12, 2018
  24. 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
  25. 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
  26. 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
  27. May 25, 2018
    • Will Szumski's avatar
      Add support for enabling ipxe boot with ironic · 0a1ccc26
      Will Szumski authored
      When enable_ironic_ipxe is set in /etc/kolla/globals.yml,
      the following happens:
      
      - a new docker container, ironic_ipxe, is created. This contains
        an apache webserver used to serve up the boot images
      - ironic is configured to use ipxe
      
      Change-Id: I08fca1864a00afb768494406c49e968920c83ae7
      Implements: blueprint ironic-ipxe
      0a1ccc26
  28. May 09, 2018
  29. Apr 30, 2018
  30. Apr 19, 2018
    • Mathias Ewald's avatar
      Add role to deploy prometheus · 4d1f3735
      Mathias Ewald authored
      This patch adds the ansible role to deploy the prometheus service which
      can be used to collect performance metrics accross the environment
      
      Partially-Implements: blueprint prometheus
      Change-Id: I908b9c9dad63ab5c9b80be1e3a80a4fc8191cb9e
      4d1f3735
  31. Apr 16, 2018
  32. Apr 06, 2018
    • wangwei's avatar
      Fix ipc_mode comparison in the latest docker · 193ce726
      wangwei authored
      In old docker, if you do not specify ipc_mode, the default value is empty,
      but in the latest docker, such as 17.09.0, if not specified, the default
      is "IpcMode": "shareable", which will cause all containers to be deleted
      and re-create when to redeploy or upgrade. This commit solves the
      problem.
      
      Change-Id: Ia8269b9c8066880e4aee23d6fdea8d9c04c41e44
      Closes-Bug: #1747586
      193ce726
  33. Apr 03, 2018
    • Vladislav Belogrudov's avatar
      Introduce variable to allow different DVR modes · 1c1d6e20
      Vladislav Belogrudov authored
      This feature replaces splitting of compute hosts into inner
      and external with a new variable 'neutron_compute_dvr_mode'
      that controls whether computes will have full-blown DVR or
      internal only (tenant) networking.
      
      Change-Id: I6720ccfcfcec89f9996d4cb5ae60f31eb3113667
      Implements: blueprint dvr-mode-property
      1c1d6e20
  34. Apr 02, 2018
  35. Mar 26, 2018
    • Eduardo Gonzalez's avatar
      Verify YAML syntax in gates · ea1a1dee
      Eduardo Gonzalez authored
      This patchset implements yamllint test to all *.yml
      files.
      
      Also fixes syntax errors to make jobs to pass.
      
      Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
      ea1a1dee
  36. Mar 16, 2018
    • Doug Szumski's avatar
      Support parsing ini files with no sections · d32c7082
      Doug Szumski authored
      Services such as Zookeeper and Kafka use ini files which do not
      explicitly specify sections. This change supports merging ini
      files with no sections, so that the configuration for these
      services follows the example configuration provided for them
      as closely as possible.
      
      Closes-Bug: #1756101
      Partially-Implements: blueprint monasca-roles
      Change-Id: I1061729875e5545c7af7d80779f9c2124b6c7134
      d32c7082
  37. Mar 08, 2018
    • Paul Bourke's avatar
      Use zuul firewall rules in gate · 404d4d0a
      Paul Bourke authored
      Till now we've been flusing iptables in the gates to allow cross node
      communication in the multi node ceph jobs. This raised security
      concerns, in particular it exposed memcached to the external net.
      
      This patch uses the infra provided role 'multi-node-firewall' in order
      to correctly configure iptables. Thanks to Jeremy Stanley and Jeffrey
      for help with this.
      
      Closes-Bug: #1749326
      Change-Id: Iafaf1cf1d9b0227b0f869969d0bd52fbde3791a0
      404d4d0a
Loading