Skip to content
Snippets Groups Projects
  1. Sep 16, 2021
  2. Jul 29, 2021
    • Will Szumski's avatar
      Support multiple inventories · 6c72fa81
      Will Szumski authored
      Multiple inventories can now be passed to `kolla-ansible`.  This can be
      useful to construct a common inventory that is shared between multiple
      environments.
      
      Change-Id: I2ac5d7851b310bea2ba362b353f18c592a0a6a2e
      6c72fa81
  3. Jul 02, 2021
    • Rafael Weingärtner's avatar
      Make setup module arguments configurable · 15f2fdcd
      Rafael Weingärtner authored
      
      Ansible facts can have a large impact on the performance of the Ansible
      control host. This patch introduces some control over which facts are
      gathered (kolla_ansible_setup_gather_subset) and which facts are stored
      (kolla_ansible_setup_filter). By default we do not change the default
      values of these arguments to the setup module. The flexibility of these
      arguments is limited, but they do provide enough for a large performance
      improvement in a typical moderate to large OpenStack cloud.
      
      In particular, the large complex dict fact for each interface has a
      large effect, and on an OpenStack controller or hypervisor there may be
      many virtual interfaces. We can use the kolla_ansible_setup_filter
      variable to help:
      
          kolla_ansible_setup_filter: 'ansible_[!qt]*'
      
      This causes Ansible to collect but not store facts matching that
      pattern, which includes the virtual interface facts. Currently we are
      not referencing other facts matching the pattern within Kolla Ansible.
      Note that including the 'ansible_' prefix causes meta facts module_setup
      and gather_subset to be filtered, but this seems to be the only way to
      get a good match on the interface facts. To work around this, we use
      ansible_facts rather than module_setup to detect whether facts exist in
      the cache.
      
      The exact improvement will vary, but has been reported to be as large as
      18x on systems with many virtual interfaces.
      
      For reference, here are some other tunings tried:
      
      * Increased the number of forks (great speedup depending of the size of
        the deployment)
      * Use `strategy = mitogen_linear` (cut processing time in half)
      * Ansible caching (little speed up)
      * SSH tunning (little speed up)
      
      Co-Authored-By: default avatarMark Goddard <mark@stackhpc.com>
      Closes-Bug: #1921538
      Change-Id: Iae8ca4aae945892f1dc65e1b10381d2e26e88805
      15f2fdcd
  4. Jun 30, 2021
  5. Jun 23, 2021
    • Mark Goddard's avatar
      Use ansible_facts to reference facts · ade5bfa3
      Mark Goddard authored
      By default, Ansible injects a variable for every fact, prefixed with
      ansible_. This can result in a large number of variables for each host,
      which at scale can incur a performance penalty. Ansible provides a
      configuration option [0] that can be set to False to prevent this
      injection of facts. In this case, facts should be referenced via
      ansible_facts.<fact>.
      
      This change updates all references to Ansible facts within Kolla Ansible
      from using individual fact variables to using the items in the
      ansible_facts dictionary. This allows users to disable fact variable
      injection in their Ansible configuration, which may provide some
      performance improvement.
      
      This change disables fact variable injection in the ansible
      configuration used in CI, to catch any attempts to use the injected
      variables.
      
      [0] https://docs.ansible.com/ansible/latest/reference_appendices/config.html#inject-facts-as-vars
      
      Change-Id: I7e9d5c9b8b9164d4aee3abb4e37c8f28d98ff5d1
      Partially-Implements: blueprint performance-improvements
      ade5bfa3
  6. May 12, 2021
  7. Mar 18, 2021
  8. Mar 08, 2021
  9. Feb 08, 2021
  10. Jan 27, 2021
    • Piotr Parczewski's avatar
      [docs] Unify project's naming convention · 5db72659
      Piotr Parczewski authored
      There are inconsitencies across the documentation and the source code files
      when it comes to project's name (Kolla Ansible vs. Kolla-Ansible). This
      commit aims at unifying it so that the naming becomes consistent everywhere.
      
      Change-Id: I903b2e08f5458b1a1abc4af3abefe20b66c23a54
      5db72659
  11. Dec 11, 2020
    • Adrian Andreias's avatar
      [docs] Add python3-venv package to quickstart.rst · 43a1e386
      Adrian Andreias authored
      Python virtual environment creation fails on a fresh system if
      python3-venv is not installed (Debian/Ubuntu).
      
      Installation instructions used to be in the Quick Start guide, but
      were removed in kolla-ansible/+/735894
      
      Change-Id: I867322ee43d509fe46b6afba9216586515fee0d5
      43a1e386
  12. Nov 20, 2020
    • likui's avatar
      Update docs for Ubuntu 20.04 · a62cce67
      likui authored
      * Use 'apt install' command instead of legacy 'apt-get'
      
      Change-Id: Idae8d325bce354fa3b4c5be412965122af8f1413
      a62cce67
  13. Oct 29, 2020
    • Mark Goddard's avatar
      docs: Improve multinode Docker registry setup · 34cce4c5
      Mark Goddard authored
      The multinode guide hints at how to setup the registry as a registry
      mirror, however it does not provide all information necessary. This
      change fixes that, and separates the local registry and registry mirror
      cases.
      
      Change-Id: I0790830e1c21520df2534d2f3b1ea96010064355
      Closes-Bug: #1901768
      34cce4c5
  14. Oct 23, 2020
  15. Oct 21, 2020
  16. Oct 14, 2020
  17. Sep 29, 2020
  18. Sep 25, 2020
  19. Sep 23, 2020
  20. Aug 11, 2020
  21. Jun 30, 2020
  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. May 29, 2020
  24. May 24, 2020
  25. Apr 24, 2020
  26. 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
  27. Feb 11, 2020
  28. Feb 08, 2020
  29. Jan 27, 2020
  30. Jan 24, 2020
  31. Jan 09, 2020
  32. Dec 20, 2019
  33. Oct 17, 2019
  34. Sep 26, 2019
    • Kris Lindgren's avatar
      Add a job that *only* deploys updated containers · 2fe0d98e
      Kris Lindgren authored
      Sometimes as cloud admins, we want to only update code that is running
      in a cloud.  But we dont need to do anything else.  Make an action in
      kolla-ansible that allows us to do that.
      
      Change-Id: I904f595c69f7276e71692696471e32fd1f88e6e8
      Implements: blueprint deploy-containers-action
      2fe0d98e
  35. Sep 18, 2019
  36. Sep 16, 2019
    • Mark Goddard's avatar
      Add custom filters for checking services · af2e7fd7
      Mark Goddard authored
      These filters can be used to capture a lot of the logic that we
      currently have in 'when' statements, about which services are enabled
      for a particular host.
      
      In order to use these filters, it is necessary to install the
      kolla_ansible python module, and not just the dependencies listed in
      requirements.txt. The CI test and quickstart install from source
      documentation has been updated accordingly.
      
      Ansible is not currently in OpenStack global requirements, so for unit
      tests we avoid a direct dependency on Ansible and provide fakes where
      necessary.
      
      Change-Id: Ib91cac3c28e2b5a834c9746b1d2236a309529556
      af2e7fd7
  37. Sep 11, 2019
  38. Aug 05, 2019
  39. Jul 18, 2019
    • Raimund Hook's avatar
      Updated multi-region docs to include keepalived · 99463849
      Raimund Hook authored
      The keepalived_virtual_router_id should be changed from the default in
      the case of a multi-region deployment where the VIP of the different
      regions resides on the same subnet.
      
      This is not immediately clear - this change should make it more obvious.
      
      Change-Id: Ia4899ba407937d9f27832c9d123701729e89987a
      99463849
Loading