Skip to content
Snippets Groups Projects
  1. Oct 18, 2022
    • Marcin Juszkiewicz's avatar
      Update RHEL family information · 33d37575
      Marcin Juszkiewicz authored
      Some time ago we dropped RHEL as one of possible options. During 'Zed'
      cycle we added Rocky Linux 9 as alternative to CentOS Stream 9.
      
      This change updates some mentions of both.
      
      Change-Id: I9ed93efcb7d1ff97b1c7d8342db8252aba2a9887
      33d37575
  2. Sep 27, 2022
  3. Aug 30, 2022
  4. Aug 22, 2022
    • wangxiyuan's avatar
      Upgrade openEuler Distro · bafdab17
      wangxiyuan authored
      openEuler 20.03 LTS SP2 is out of date. This patch:
      1. Upgrade openEuler to 22.03 TLS for host OS.
      2. Switch guest OS from centOS 8 to ubuntu
      
      Change-Id: If2ff036e965def141f67240945802611e1f4dc4e
      bafdab17
  5. Aug 08, 2022
    • Monty Taylor's avatar
      Add clouds.yaml file and use it · 73a1812c
      Monty Taylor authored
      clouds.yaml[0] is a richer way to express configuration for OpenStack
      clouds. It's also fully supported by Ansible's OpenStack modules as
      well as python-openstackclient and openstacksdk. It's the future - who
      doesn't like the future?
      
      Write a file using both the public (default) and the internal endpoints
      for the admin user. Also, change all of the examples to reference it
      and to get python-openstackclient to use it too.
      
      [0] https://docs.openstack.org/openstacksdk/latest/user/guides/connect_from_config.html
      
      Implements: blueprint use-clouds-yaml
      Change-Id: I557d2e4975c7b3d3c713a556b9ba47af9567ce6e
      73a1812c
  6. Jul 27, 2022
    • k-s-dean's avatar
      adds firewalld configuration based on enabled services · 8553e52a
      k-s-dean authored
      This change introduces automated configuration of firewalld and adds
      a new filter for extracting services from the project_services dict.
      the filter selects any enabled services and their haproxy element
      and returns them so they can be iterated over.
      This commit also enables automated configuration of firewalld from enabled
      openstack services and adds them to the defined zone and reloads the
      system firewall.
      
      Change-Id: Iea3680142711873984efff2b701347b6a56dd355
      8553e52a
  7. Jun 20, 2022
  8. May 26, 2022
  9. May 13, 2022
  10. Apr 21, 2022
    • Vladislav Belogrudov's avatar
      Add doc fix for all-in-one in venv · 5bcf5391
      Vladislav Belogrudov authored
      When running in virtual environment a bootstrapping task will
      install 'docker' python module in the environment. After that
      prechecks and deploy phase will not find the module because
      their 'ansible interpreter' is host wide. With this fix it is
      advised to set an interpreter to the one in virtual environment
      
      Closes-Bug: #1969812
      Change-Id: I1bb6a3af3fa6346fff0a262e0c53d12c544f46db
      5bcf5391
  11. Apr 20, 2022
    • Vladislav Belogrudov's avatar
      Fix ansible version in install command · 7a6aeff4
      Vladislav Belogrudov authored
      There are no 5.* versions of ansible for CentOS 8 Stream yet.
      One should use pip install 'ansible>=4,<6' according to the
      current documentation.
      
      Closes-Bug: #1969617
      Change-Id: Ie4f502f955dac5ae9ee8ddb4779c2fa2e26840d9
      7a6aeff4
  12. Apr 11, 2022
  13. Mar 28, 2022
  14. Mar 10, 2022
  15. Mar 03, 2022
  16. Feb 21, 2022
  17. Jan 07, 2022
  18. Dec 31, 2021
  19. Dec 21, 2021
  20. Dec 20, 2021
    • Radosław Piliszek's avatar
      [docs] Mark init-runonce properly · 1c93c8ea
      Radosław Piliszek authored
      This is a docs amendment to let users know that calling
      init-runonce is not a required deployment step and it may not work
      for them if they modified the defaults.
      
      Change-Id: Ia3922b53d91a1a820447fec6a8074b941edc2ee9
      1c93c8ea
  21. Nov 11, 2021
  22. Nov 10, 2021
  23. Nov 09, 2021
  24. Nov 04, 2021
  25. Oct 27, 2021
  26. Sep 30, 2021
  27. Sep 28, 2021
    • Niklas Hagman's avatar
      Transition Keystone admin user to system scope · 2e933dce
      Niklas Hagman authored
      A system-scoped token implies the user has authorization to act on the
      deployment system. These tokens are useful for interacting with
      resources that affect the deployment as a whole, or exposes resources
      that may otherwise violate project or domain isolation.
      
      Since Queens, the keystone-manage bootstrap command assigns the admin
      role to the admin user with system scope, as well as in the admin
      project. This patch transitions the Keystone admin user from
      authenticating using project scoped tokens to system scoped tokens.
      This is a necessary step towards being able to enable the updated oslo
      policies in services that allow finer grained access to system-level
      resources and APIs.
      
      An etherpad with discussion about the transition to the new oslo
      service policies is:
      
      https://etherpad.opendev.org/p/enabling-system-scope-in-kolla-ansible
      
      
      
      Change-Id: Ib631e2211682862296cce9ea179f2661c90fa585
      Signed-off-by: default avatarNiklas Hagman <ubuntu@post.blinkiz.com>
      2e933dce
  28. Sep 23, 2021
  29. Sep 16, 2021
  30. Aug 25, 2021
    • Mark Goddard's avatar
      Add kolla-ansible gather-facts command · d9a37589
      Mark Goddard authored
      In some situations it may be helpful to populate the fact cache on
      demand. The 'kolla-ansible gather-facts' command may be used to do this.
      
      One specific case where this may be helpful is when running kolla-ansible
      with a --limit argument, since in that case hosts that match the limit
      will gather facts for hosts that fall outside the limit. In the extreme
      case of a limit that matches only one host, it will serially gather
      facts for all other hosts. To avoid this issue, run 'kolla-ansible
      gather-facts' without a limit to populate the fact cache in parallel
      before running the required command with a limit.
      
      Change-Id: I79db9bca23aa1bd45bafa7e7500a90de5a684593
      d9a37589
  31. Aug 22, 2021
  32. 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
  33. 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
  34. Jun 30, 2021
  35. 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
  36. May 12, 2021
  37. Mar 18, 2021
  38. Mar 08, 2021
Loading