Skip to content
Snippets Groups Projects
  1. Jul 27, 2020
  2. Jul 15, 2020
  3. Jul 10, 2020
  4. 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
  5. Jun 20, 2020
  6. Jun 19, 2020
  7. Jun 17, 2020
  8. Jun 16, 2020
  9. Jun 15, 2020
    • James Kirsch's avatar
      Generate Root CA for Self-Signed Certificates · a982d3ac
      James Kirsch authored
      Update the certificate generation task to create a root CA for the
      self-signed certificates. The internal and external facing certificates
      are then generated using the root CA.
      
      Updated openstack_cacert to use system CA trust store in CI tests
      certificate by default.
      
      Change-Id: I6c2adff7d0128146cf086103ff6060b0dcefa37b
      Partially-Implements: blueprint add-ssl-internal-network
      a982d3ac
  10. Jun 14, 2020
    • Radosław Piliszek's avatar
      CI: Add Ubuntu KVM job · 88e7f800
      Radosław Piliszek authored
      This also uses the recommended machinery to set qemu instead
      of relying on config file override so that we test what we
      really want to test.
      
      Change-Id: I560e4f9d0a69c347e6aaf3b970331157c1a56f18
      88e7f800
  11. Jun 12, 2020
  12. May 30, 2020
  13. May 23, 2020
    • Doug Szumski's avatar
      Switch to Monasca API for logs · b39a0f80
      Doug Szumski authored
      The Monasca Log API has been removed and in this change we switch
      to using the unified API. If dedicated log APIs are required then
      this can be supported through configuration. Out of the box the
      Monasca API is used for both logs and metrics which is envisaged to
      work for most use cases.
      
      In order to use the unified API for logs, we need to disable the
      legacy Kafka client. We also rename the Monasca API config file
      to remove a warning about using the old style name.
      
      Depends-On: https://review.opendev.org/#/c/728638
      Change-Id: I9b6bf5b6690f4b4b3445e7d15a40e45dd42d2e84
      b39a0f80
  14. May 12, 2020
  15. May 11, 2020
    • Will Szumski's avatar
      Add extend_lists option to merge_yaml · 69a6acf7
      Will Szumski authored
      This allows you to extend lists in yaml config. This is useful, for
      example, in prometheus.yml, where it would be nice to be able to
      extend the scrape_configs to include exporters that aren't packaged
      with kolla-ansible. This would provide a mechanism to do so.
      
      Change-Id: I7a10e363f42e8ffaae3c0d2c2a758853e2cab7e1
      Related: blueprint custom-prometheus-targets
      69a6acf7
    • Will Szumski's avatar
      Stop mocking ansible modules globally · 4fcbdd77
      Will Szumski authored
      This causes non-local side effects that are hard to track down. E.g:
      
      --- import errors ---
      Failed to import test module: tests.test_merge_yaml
      Traceback (most recent call last):
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 436, in _find_test_path
          module = self._get_module_from_name(name)
        File "/home/will/.pyenv/versions/3.7.7/lib/python3.7/unittest/loader.py", line 377, in _get_module_from_name
          __import__(name)
        File "/home/will/code/kolla-ansible/tests/test_merge_yaml.py", line 19, in <module>
          from ansible.errors import AnsibleModuleError
      ModuleNotFoundError: No module named 'ansible.errors'; 'ansible' is not a package
      
      This `'ansible' is not a package` message occurs because ansible is a Mock.
      
      Depends-On: https://review.opendev.org/#/c/726768/
      Change-Id: Iddbdd3d855daadbf12536cc990559e6b8e123051
      4fcbdd77
  16. May 01, 2020
    • Radosław Piliszek's avatar
      OVN IPv6 · 7d73246f
      Radosław Piliszek authored
      Fixes:
      - SB/NB DB address format (single host) for SB/NB DB daemon
      - SB/NB DB address format (all hosts) for Neutron / northd /
        ovn-ovs bootstrap
      - OVN tests
      
      Change-Id: I539773c48f89b731d068280c228ce11782bf5788
      Closes-Bug: #1875222
      7d73246f
  17. Apr 30, 2020
  18. Apr 28, 2020
    • Marcin Juszkiewicz's avatar
      CI: Fix Debian aarch64 jobs · 30b8eed1
      Marcin Juszkiewicz authored
      Debian defaults to Python2 which is not complete in aarch64 images.
      This patch changes CI to always use Python3.
      
      We need to install several Python modules to have working ussuri jobs.
      
      "Failed to import the required Python library (setuptools) on primary's Python /usr/bin/python3."
      
      And then several Python2 ones for train->ussuri upgrade jobs:
      
      "Unable to find any of pip2 to use. pip needs to be installed."
      
      Change-Id: Ia0d3ff15d97d1cabbb0b8e7f32e8712ca3f94732
      30b8eed1
  19. Apr 26, 2020
    • Radosław Piliszek's avatar
      CI: Discern between Ironic client and grep failure · 1243337a
      Radosław Piliszek authored
      Pipe hid an issue that Ironic client was not available in CI,
      making it look as if fake-hardware driver was not usable.
      
      This commit applies separation of concerns to easily discern
      between the two failures and provide better debugging experience.
      
      Change-Id: Iac3d84b7d707b84a8426c8d787b29a368ff7ae85
      Related-Bug: #1872481
      1243337a
    • Radosław Piliszek's avatar
      Cleanup py27 support · 234272eb
      Radosław Piliszek authored
      Removes and/or replaces all mentions of py27.
      
      Cleans up obsolete requirements and their lower-constraints.
      
      Separates test-requirements.
      
      Makes lower-constraints pass outside of CI (MarkupSafe).
      
      Adds FIXMEs about some hacky Mocks that may misbehave.
      
      Change-Id: Ifc090bf3c1db17d8542ee591c91e8225a597bfe2
      234272eb
  20. 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
  21. Apr 21, 2020
  22. 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
  23. Apr 16, 2020
  24. Apr 10, 2020
  25. Apr 09, 2020
    • James Kirsch's avatar
      Add support for encrypting backend Keystone HAProxy traffic · b475643c
      James Kirsch authored
      This patch introduces an optional backend encryption for Keystone
      service. When used in conjunction with enabling TLS for service API
      endpoints, network communcation will be encrypted end to end, from
      client through HAProxy to the Keystone service.
      
      Change-Id: I6351147ddaff8b2ae629179a9bc3bae2ebac9519
      Partially-Implements: blueprint add-ssl-internal-network
      b475643c
    • Michal Nasiadka's avatar
      OVN Support · 8a0740df
      Michal Nasiadka authored
      Implement OVN Ansible role.
      
      Implements: blueprint ovn-controller-neutron-ansible
      
      Depends-On: https://review.opendev.org/713422
      Change-Id: Icd425dea85d58db49c838839d8f0b864b4a89a78
      8a0740df
  26. 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
  27. 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
  28. 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
  29. Apr 02, 2020
    • Radosław Piliszek's avatar
      Use unittest.mock instead of PyPI mock · 5648ad6e
      Radosław Piliszek authored
      Now that py2 is gone, oslotest dropped dependency on mock and will
      soon affect Ussuri CI [1], let's use unittest.mock built in py3.
      
      This also fixes py38 jobs and proactively prevents py36 and py37
      failing due to [1]. This is because we never included mock in
      test-requirements (but in lower-constraints where it does not
      really belong at all) and instead relied on oslotest to bring
      it in.
      
      [1] https://review.opendev.org/716322
      
      Change-Id: I30e82e2d87418272a71c7ee089a8acdaf8872158
      5648ad6e
  30. Mar 30, 2020
  31. Mar 19, 2020
  32. Mar 17, 2020
Loading