Skip to content
Snippets Groups Projects
  1. Jun 05, 2021
  2. Jun 02, 2021
    • Mark Goddard's avatar
      chrony: allow to remove the container · 84ac7b30
      Mark Goddard authored
      The chrony container is deprecated in Wallaby, and disabled by default.
      This change allows to remove the container if chrony is disabled.
      
      Change-Id: I1c4436072c2d47a95625e64b731edb473384b395
      84ac7b30
  3. May 24, 2021
  4. Apr 08, 2021
    • Michal Arbet's avatar
      Support editable installation in all cases · 22a6765f
      Michal Arbet 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
      
      Above is currently working only in virtualenv, but there is no reason to
      not allow in all cases. This is usefull for example when user is
      building his own docker container with editable kolla-ansible installed
      from git without virtualenv.
      
      Change-Id: I185f7c09c3f026fd6926a26001393f066ff1860d
      22a6765f
  5. Mar 08, 2021
  6. Mar 03, 2021
    • Doug Szumski's avatar
      Remove Monasca Log Transformer · 0743a9bf
      Doug Szumski authored
      Historically Monasca Log Transformer has been for log
      standardisation and processing. For example, logs from different
      sources may use slightly different error levels such as WARN, 5,
      or WARNING. Monasca Log Transformer is a place where these could
      be 'squashed' into a single error level to simplify log searches
      based on labels such as these.
      
      However, in Kolla Ansible, we do this processing in Fluentd so
      that the simpler Fluentd -> Elastic -> Kibana pipeline also
      benefits. This helps to avoid spreading out log parsing
      configuration over many services, with the Fluentd Monasca output
      plugin being yet another potential place for processing (which
      should be avoided). It therefore makes sense to remove this
      service entirely, and squash any existing configuration which
      can't be moved to Fluentd into the Log Perister service. I.e.
      by removing this pipeline, we don't loose any functionality,
      we encourage log processing to take place in Fluentd, or at least
      outside of Monasca, and we make significant gains in efficiency
      by removing a topic from Kafka which contains a copy of all logs
      in transit.
      
      Finally, users forwarding logs from outside the control plane,
      eg. from tenant instances, should be encouraged to process the
      logs at the point of sending using whichever framework they are
      forwarding them with. This makes sense, because all Logstash
      configuration in Monasca is only accessible by control plane
      admins. A user can't typically do any processing inside Monasca,
      with or without this change.
      
      Change-Id: I65c76d0d1cd488725e4233b7e75a11d03866095c
      0743a9bf
  7. Feb 12, 2021
    • Mark Goddard's avatar
      Fix installation with pip install --user · 519ca1c0
      Mark Goddard authored
      If kolla-ansible is installed via pip install --user, currently the
      kolla-ansible script is unable to locate the installed playbooks.
      This leads to a failure when running commands.
      
      This change fixes the issue by checking for the user's .local directory
      as a possible installation path.
      
      This fixes some of the scenario tests which were failing after switching
      to a user installation in Ifaf1948ed5d42eebaa62d7bad375bbfc12b134d5.
      Most tests did not fail since the kolla-ansible script in the source
      checkout was used.
      
      Closes-Bug: #1915527
      
      Change-Id: I5b47a146627d06bb3fe4a747c5f20290c726b0f9
      519ca1c0
  8. Nov 20, 2020
  9. Nov 18, 2020
    • zengchen228's avatar
      Fix kolla-ansible to work with pyenv-virtualenv · aaab1d1b
      zengchen228 authored
      
      One of the pyenv-virtualenv-set-up aliases depends on a symlink.
      It seems pyenv runs the bash script from such a path and it fails
      because of a failing comparison (VIRTUAL_ENV not detected).
      
      The VIRTUAL_ENV is ensured to be fully resolved as well for safety.
      
      This requires readlink from GNU coreutils but all supported platforms
      have it by default.
      
      Extra comments included, as well as simplification of directory
      detection - readlink handles this (not that `bin` itself was
      ever a symlink...).
      
      Closes-Bug: #1903887
      Co-Authored-By: default avatarRadosław Piliszek <radoslaw.piliszek@gmail.com>
      Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4
      aaab1d1b
  10. Nov 13, 2020
  11. Oct 08, 2020
  12. Sep 29, 2020
  13. Sep 23, 2020
  14. Sep 12, 2020
    • Radosław Piliszek's avatar
      [CI] Ensure network is set for Zun · 7a3072e9
      Radosław Piliszek authored
      If we don't set it, then Zun chooses one randomly (the first one
      from Neutron).
      This may break if it is a network that is not available on
      target hosts, e.g. external via L3 agent router.
      
      Since capsules do not support nets yet [1], this patch ensures
      desired network creation order in init-runonce instead.
      
      [1] https://bugs.launchpad.net/zun/+bug/1895263
      
      Change-Id: Iaa113dcfb826164a2772d2c91d34ec0236be0817
      7a3072e9
  15. Sep 08, 2020
    • Radosław Piliszek's avatar
      [CI] Remove setup_gate.sh symlink · b21c07ac
      Radosław Piliszek authored
      This is confusing as it is not meant to be used by users.
      Also, various tools show duplicated matches due to both locations
      containing the exact same content.
      
      Change-Id: I2debe121f64954e57788270d3258775f29f1cbb0
      b21c07ac
  16. Aug 20, 2020
  17. Aug 19, 2020
    • wu.chunyang's avatar
      remove obsolete configurations · 3c312a4d
      wu.chunyang authored
      remove cluster_interface from project.
      update storage_interface docs.and remove
      storage_interface_address variable
      
      Change-Id: I3f811db988234f94b5ed0cc9d24233f70784f58d
      3c312a4d
  18. Jul 10, 2020
  19. 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
  20. 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
  21. 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
  22. 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
  23. Jun 12, 2020
  24. May 29, 2020
  25. May 17, 2020
  26. 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
  27. 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
  28. 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
  29. Apr 09, 2020
  30. 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
  31. 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
  32. 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
  33. 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
  34. Mar 21, 2020
  35. 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
  36. Mar 19, 2020
  37. 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
  38. Mar 03, 2020
  39. 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
Loading