Skip to content
Snippets Groups Projects
  1. Jul 10, 2020
  2. Jul 07, 2020
    • Mark Goddard's avatar
      Performance: Run common role in a separate play · 56ae2db7
      Mark Goddard authored
      The common role was previously added as a dependency to all other roles.
      It would set a fact after running on a host to avoid running twice. This
      had the nice effect that deploying any service would automatically pull
      in the common services for that host. When using tags, any services with
      matching tags would also run the common role. This could be both
      surprising and sometimes useful.
      
      When using Ansible at large scale, there is a penalty associated with
      executing a task against a large number of hosts, even if it is skipped.
      The common role introduces some overhead, just in determining that it
      has already run.
      
      This change extracts the common role into a separate play, and removes
      the dependency on it from all other roles. New groups have been added
      for cron, fluentd, and kolla-toolbox, similar to other services. This
      changes the behaviour in the following ways:
      
      * The common role is now run for all hosts at the beginning, rather than
        prior to their first enabled service
      * Hosts must be in the necessary group for each of the common services
        in order to have that service deployed. This is mostly to avoid
        deploying on localhost or the deployment host
      * If tags are specified for another service e.g. nova, the common role
        will *not* automatically run for matching hosts. The common tag must
        be specified explicitly
      
      The last of these is probably the largest behaviour change. While it
      would be possible to determine which hosts should automatically run the
      common role, it would be quite complex, and would introduce some
      overhead that would probably negate the benefit of splitting out the
      common role.
      
      Partially-Implements: blueprint performance-improvements
      
      Change-Id: I6a4676bf6efeebc61383ec7a406db07c7a868b2a
      56ae2db7
  3. Jul 02, 2020
    • Mark Goddard's avatar
      Support editable virtualenv installation for development · 5fb37ae5
      Mark Goddard authored
      An editable installation allows changes to be made to the source code
      directly, and have those changes applied immediately without having to
      reinstall.
      
          pip install -e /path/to/kolla-ansible
      
      Change-Id: I023d96d25edd9d2fafd4415743e298af72a861a1
      5fb37ae5
  4. Jun 29, 2020
    • Mark Goddard's avatar
      Fix unexpected message without globals.d · 4d8d6782
      Mark Goddard authored
      Recently a feature was merged to support pulling in multiple
      configuration files from a globals.d directory. However, if this
      directory does not exist, we get the following error when executing
      kolla-ansible:
      
          find: '/etc/kolla/globals.d': No such file or directory
      
      This change addresses this by redirecting find command stderr to
      /dev/null.
      
      TrivialFix
      
      Change-Id: Ie5aa511a5ebf3355817a7c3bb65b09ac5dcf2b67
      4d8d6782
  5. Jun 18, 2020
    • Konstantinos Mouzakitis's avatar
      Adding support for multiple globals files · f6d8c0d4
      Konstantinos Mouzakitis authored
      Added a spec file for this blueprint.
      Changed the kolla-ansible script to accept more than one
      globals.yml file. That will still be the main one but operators
      will be able to create more, under the /etc/kolla/globals.d
      directory.
      Also added some paragraphs in the quickstart documentation
      about this.
      Finally, Adding a release note
      
      Change-Id: I34eb91d0e2ed80694594b8fc6801cf8ad77da754
      Implements: blueprint multiple-globals-files
      f6d8c0d4
  6. Jun 12, 2020
  7. May 29, 2020
  8. May 17, 2020
  9. Apr 27, 2020
    • Radosław Piliszek's avatar
      Check that used Ansible can see Kolla Ansible · 32fc2599
      Radosław Piliszek authored
      Fix-feature following up on the original check [1] to make it
      test the correct interpreter.
      
      Additionally, this change removes last, unneeded call to
      random python - getting script directory is perfectly
      doable in bash.
      
      All checks are done from Python, not Ansible, due to its
      performance. Python version feels snappy (0.2 s to check),
      compared to sluggish Ansible (2.0 s to check).
      What is more, relying on Ansible would require hacky solutions
      to e.g. prevent custom config from interfering with it.
      We might be willing to steer Ansible from Python in the future
      anyhow.
      
      [1] Icf0399d21b3fde8d530d73e6e7ee4a57665da276
      
      Change-Id: Ib8f2e6b6672e7c06aa94bc226c4d72640d25d8c2
      Closes-Bug: #1856346
      32fc2599
  10. Apr 24, 2020
    • Radosław Piliszek's avatar
      CI: Make bashate happy · 3036c7cf
      Radosław Piliszek authored
      Bashate warned on init-swift.sh because of E043 -- arithmetic
      compound has inconsistent return semantics: (( next_port++ ))
      New Zuul reported that on every change as a warning.
      This is fixed here.
      
      This change makes Bashate always produce errors so that we do not
      introduce such warnings again.
      
      Change-Id: I40166b377ec2580e17901375b636183bca492d3a
      3036c7cf
  11. Apr 20, 2020
    • Mark Goddard's avatar
      Remove support for Python 2 on the host · 284f4928
      Mark Goddard authored
      Drops support for creating Python 2 virtualenvs in bootstrap-servers,
      and looking for a python2 interpreter in the kolla-ansible script.
      
      Also forces the use of Python 3 as the remote interpreter in CI on
      Debian and Ubuntu hosts, since they typically symlink the unversioned
      interpreter to python2.7.
      
      Change-Id: Id0e977de381e7faafed738674a140ba36184727e
      Partially-Implements: blueprint drop-py2-support
      284f4928
  12. Apr 09, 2020
  13. Apr 08, 2020
    • Mark Goddard's avatar
      Remove support for CentOS 7 · f4e20a1f
      Mark Goddard authored
      CentOS 8 support is now fairly complete - time to drop CentOS 7.
      
      Partially-Implements: blueprint centos-rhel-8
      
      Change-Id: I940b1d3eceb98e16fa366c243672f588b1412d70
      f4e20a1f
  14. Apr 04, 2020
    • Andreas Jaeger's avatar
      Update hacking for Python3 · 45448976
      Andreas Jaeger authored
      The repo is Python 3 now, so update hacking to version 3.0 which
      supports Python 3.
      
      Fix problems found by updated hacking version.
      
      Remove hacking and friends from lower-constraints, they are not needed
      during installation.
      
      Change-Id: I7ef5ac8a89e94f5da97780198619b6facc86ecfe
      45448976
  15. Apr 03, 2020
    • Radosław Piliszek's avatar
      CI: Avoid tox (and clean up gate setup) · ed1b74a3
      Radosław Piliszek authored
      We don't need tox nor tell our users to use it when doing kolla
      builds.
      Tox is going away from base infra images.
      It's already gone from aarch64 (arm64) ones.
      
      Change-Id: I2eb5203ad93c011b8806f4b6fb56db081c14a2cb
      ed1b74a3
  16. Mar 30, 2020
    • Doug Szumski's avatar
      Support setting Kafka storage volume · b7588834
      Doug Szumski authored
      Not everyone wants Kafka data stored on a Docker volume. This
      change allows a user to flexibly control where the data is stored.
      
      Change-Id: I2ba8c7a85c7bf2564f954a43c6e6dbb3257fe902
      b7588834
  17. Mar 21, 2020
  18. Mar 20, 2020
    • Radosław Piliszek's avatar
      Do not enforce vxlan in init-runonce · e03f06c0
      Radosław Piliszek authored
      The affected command was meant to create a tenant network, so let
      us really test it this way.
      
      Not marking CI, because someone may be using this script.
      
      Change-Id: I5abe46948992121a11a36f941d4f8fac1caa92b1
      e03f06c0
  19. Mar 19, 2020
  20. Mar 16, 2020
    • Mark Goddard's avatar
      CentOS 8: Use master image tag by default · bab770a8
      Mark Goddard authored
      While supporting both CentOS 7 and 8, we used the tag 'master-centos8'
      for CentOS 8 images. We are now ready to drop CentOS 7 support, and
      Kolla is switching to publish CentOS 8 images using the master tag on
      the master branch, so we should use this.
      
      Depends-On: https://review.opendev.org/713265
      
      Partially-Implements: blueprint centos-rhel-8
      
      Change-Id: I07d2c285e3214a6dc827a8e8eacf263048ee099b
      bab770a8
  21. Mar 03, 2020
  22. Mar 01, 2020
    • Radosław Piliszek's avatar
      CI: Debug init-runonce · 29e4ef13
      Radosław Piliszek authored
      Also adds gawk for timestamping.
      
      This helps to correlate init events with failures elsewhere.
      
      Change-Id: I22fdb683ecf9870b2d66fedd6b40b7004317130a
      29e4ef13
  23. Feb 25, 2020
    • Mark Goddard's avatar
      CI: Use upper constraints when installing clients · d8733b29
      Mark Goddard authored
      Clients are starting to release versions that don't support Python 2.
      The ironic scenario is currently failing on stable branches for this
      reason.
      
      Use upper constraints to avoid installing these new versions on stable
      branches.
      
      Change-Id: I4f91b53cbf2297d70da4b54d6c402c1427aacdd9
      d8733b29
  24. Feb 23, 2020
  25. Feb 19, 2020
    • Will Szumski's avatar
      Introduce influxdb_datadir_volume · 4cf7ff9f
      Will Szumski authored
      This allows you to tune the performance of InfluxDB by locating the
      volume on a drive that is separate to the default docker storage.
      
      Change-Id: Iea555a2702b225b30f5d7035b8a703d4f3376ee7
      4cf7ff9f
  26. Feb 13, 2020
    • Dincer Celik's avatar
      Follow up on Ansible version checking · 7b0022b9
      Dincer Celik authored
      The bash part of version checking fails when ANSIBLE_DEBUG is set
      while running kolla-ansible, so need to skip it.
      
      Change-Id: I4adc986365c4b0c11eb69e128eb7d037a24a2baf
      7b0022b9
  27. Feb 12, 2020
    • Mark Goddard's avatar
      Docs: Document EXTRA_OPTS · 9b484c25
      Mark Goddard authored
      Also better organise the 'tips and tricks' section.
      
      Change-Id: If20a89ae93b64b5a1b5895bb9dc73c4e70adaba7
      Related-Bug: #1862649
      9b484c25
  28. Feb 11, 2020
  29. Feb 06, 2020
    • Radosław Piliszek's avatar
      CentOS 8: Add deploy jobs in CI · 287adab0
      Radosław Piliszek authored
      Adds new CI job definitions for CentOS 8:
      
      - kolla-ansible-centos8-source
      - kolla-ansible-centos8-binary
      - kolla-ansible-centos8-source-ceph-ansible
      - kolla-ansible-centos8-source-cinder-lvm
      - kolla-ansible-centos8-source-mariadb
      - kolla-ansible-centos8-source-bifrost
      - kolla-ansible-centos8-source-zun
      - kolla-ansible-centos8-source-swift
      - kolla-ansible-centos8-source-scenario-nfv
      - kolla-ansible-centos8-source-ironic
      - kolla-ansible-centos8-binary-ironic
      - kolla-ansible-centos8-source-masakari
      - kolla-ansible-centos8-source-cells
      
      The following jobs are added to the check pipeline:
      
      - kolla-ansible-centos8-source
      - kolla-ansible-centos8-binary
      - kolla-ansible-centos8-source-cinder-lvm
      - kolla-ansible-centos8-source-mariadb
      - kolla-ansible-centos8-source-zun
      - kolla-ansible-centos8-source-swift
      - kolla-ansible-centos8-source-scenario-nfv
      - kolla-ansible-centos8-source-ironic
      - kolla-ansible-centos8-binary-ironic
      - kolla-ansible-centos8-source-cells
      
      The following jobs are not yet passing so are not added to the check
      pipeline:
      
      - kolla-ansible-centos8-source-ceph-ansible
      - kolla-ansible-centos8-source-bifrost
      - kolla-ansible-centos8-source-masakari
      
      The kolla-ansible-centos8-source job is added to the gate.
      
      Upgrade jobs will be added when CentOS 8 support exists in Train.
      
      Depends-On: https://review.opendev.org/704337
      Depends-On: https://review.opendev.org/704848
      Depends-On: https://review.opendev.org/704965
      
      
      
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      
      Change-Id: Ibd806feee71721b122b77d7eff33228ca1cc2853
      Partially-Implements: blueprint centos-rhel-8
      287adab0
  30. Feb 05, 2020
  31. Jan 30, 2020
  32. Jan 28, 2020
    • Mark Goddard's avatar
      CI: Reduce unnecessary gate image builds · 8b86c819
      Mark Goddard authored
      Due to regex matching of images, we are currently building quite a few
      unnecessary images in CI. Images that can unexpectedly match:
      
      * barbican-keystone-listener
      * ironic-neutron-agent
      * prometheus-haproxy-exporter
      * prometheus-memcached-exporter
      
      This change improves the situation by anchoring matches to the start of
      the name. A full solution would be to specify every image required for
      each job. This would be quite verbose and require maintenance.
      
      Change-Id: I7387ccd0cb394c54c79bfba8b1c09fce7ee2973e
      8b86c819
  33. Jan 27, 2020
  34. Jan 24, 2020
  35. Jan 09, 2020
  36. Jan 08, 2020
    • Mark Goddard's avatar
      Configure Cinder to use lioadm on CentOS/RHEL 8 · 350bb171
      Mark Goddard authored
      In CentOS/RHEL 8 there is no scsi-target-utils package, nor is it
      available in EPEL. It is removed from kolla in [1]. In RHEL 7 and beyond
      the LIO kernel subsystem can be used instead of the tgtd daemon.
      
      This change removes support for the SCSI target daemon on CentOS/RHEL 8.
      The 'tgtd' image is no longer available for CentOS/RHEL 8.
      
      [1] https://review.openstack.org/#/c/613815/5
      
      Change-Id: I718fc16cde2dd177b2a1c2f79b932426034897fe
      Related: blueprint centos-rhel-8
      350bb171
  37. Dec 11, 2019
    • Mark Goddard's avatar
      CI: Use python3 for openstack clients · 5405cfec
      Mark Goddard authored
      This switches our test jobs to use python 3 for the installation of
      OpenStack clients used to test the control plane.
      
      Change-Id: I6bf0a315cef174c42a69db3a7d57f602b27ac92c
      Related: blueprint python 3
      5405cfec
  38. Dec 10, 2019
  39. Dec 09, 2019
Loading