Skip to content
Snippets Groups Projects
  1. Jan 16, 2023
    • Will Szumski's avatar
      Fix issue with genconfig and octavia_auto_configure · 2bf4d4db
      Will Szumski authored
      Makes sure the facts required to generate octavia.conf are available
      when using genconfig.
      
      This change also ensures that the necessary tasks run when using Ansible
      check mode.
      
      Closes-Bug: #1987299
      Change-Id: Ib8fbee2d3abdcfd2eae0f9b3e9b69eeb0e3086e0
      2bf4d4db
  2. Jan 13, 2023
    • Matt Crees's avatar
      Add a flag to handle RabbitMQ high availability · 09df6fc1
      Matt Crees authored
      A combination of durable queues and classic queue mirroring can be used
      to provide high availability of RabbitMQ. However, these options should
      only be used together, otherwise the system will become unstable. Using
      the flag ``om_enable_rabbitmq_high_availability`` will either enable
      both options at once, or neither of them.
      
      There are some queues that should not be mirrored:
      * ``reply`` queues (these have a single consumer and TTL policy)
      * ``fanout`` queues (these have a TTL policy)
      * ``amq`` queues (these are auto-delete queues, with a single consumer)
      An exclusionary pattern is used in the classic mirroring policy. This
      pattern is ``^(?!(amq\\.)|(.*_fanout_)|(reply_)).*``
      
      Change-Id: I51c8023b260eb40b2eaa91bd276b46890c215c25
      09df6fc1
  3. Jan 12, 2023
    • Mark Goddard's avatar
      Fix prechecks in check mode · 46aeb984
      Mark Goddard authored
      When running in check mode, some prechecks previously failed because
      they use the command module which is silently not run in check mode.
      Other prechecks were not running correctly in check mode due to e.g.
      looking for a string in empty command output or not querying which
      containers are running.
      
      This change fixes these issues.
      
      Closes-Bug: #2002657
      Change-Id: I5219cb42c48d5444943a2d48106dc338aa08fa7c
      46aeb984
  4. Jan 05, 2023
  5. Dec 21, 2022
    • Matt Crees's avatar
      Integrate oslo-config-validator · 6c2aace8
      Matt Crees authored
      Regularly, we experience issues in Kolla Ansible deployments because we
      use wrong options in OpenStack configuration files. This is because
      OpenStack services ignore unknown options. We also need to keep on top
      of deprecated options that may be removed in the future. Integrating
      oslo-config-validator into Kolla Ansible will greatly help.
      
      Adds a shared role to run oslo-config-validator on each service. Takes
      into account that services have multiple containers, and these may also
      use multiple config files. Service roles are extended to use this shared
      role. Executed with the new command ``kolla-ansible validate-config``.
      
      Change-Id: Ic10b410fc115646d96d2ce39d9618e7c46cb3fbc
      6c2aace8
  6. Nov 04, 2022
  7. Nov 02, 2022
  8. Oct 28, 2022
  9. Sep 28, 2022
  10. Sep 21, 2022
  11. Aug 09, 2022
  12. Jul 12, 2022
    • Michal Arbet's avatar
      Add api_workers for each service to defaults · 3e8db91a
      Michal Arbet authored
      Render {{ openstack_service_workers }} for workers
      of each openstack service is not enough. There are
      several services which has to have more workers because
      there are more requests sent to them.
      
      This patch is just adding default value for workers for
      each service and sets {{ openstack_service_workers }} as
      default, so value can be overrided in hostvars per server.
      Nothing changed for normal user.
      
      Change-Id: Ifa5863f8ec865bbf8e39c9b2add42c92abe40616
      3e8db91a
  13. Jun 20, 2022
  14. Jun 09, 2022
    • Will Szumski's avatar
      Add keystone_authtoken.service_type · 49006e56
      Will Szumski authored
      Fixes an issue where access rules failed to validate:
      
          Cannot validate request with restricted access rules. Set
          service_type in [keystone_authtoken] to allow access rule validation
      
      I've used the values from the endpoint. This was mostly a straight
      forward copy and paste, except:
      
      - versioned endpoints e.g cinderv3 where I stripped the version
      - monasca has multiple endpoints associated with a single service. For
        this, I concatenated logging and monitoring to be logging-monitoring.
      
      Closes-Bug: #1965111
      Change-Id: Ic4b3ab60abad8c3dd96cd4923a67f2a8f9d195d7
      49006e56
  15. May 28, 2022
    • Radosław Piliszek's avatar
      Do not use keystone_admin_url et al · 7ca9349b
      Radosław Piliszek authored
      Following up on [1].
      The 3 variables are only introducing noise after we removed
      the reliance on Keystone's admin port.
      
      [1] I5099b08953789b280c915a6b7a22bdd4e3404076
      
      Change-Id: I3f9dab93042799eda9174257e604fd1844684c1c
      7ca9349b
  16. May 23, 2022
  17. Apr 20, 2022
  18. Apr 05, 2022
  19. Feb 08, 2022
  20. Jan 12, 2022
  21. Dec 31, 2021
    • Pierre Riteau's avatar
      Move project_name and kolla_role_name to role vars · 56fc74f2
      Pierre Riteau authored
      Role vars have a higher precedence than role defaults. This allows to
      import default vars from another role via vars_files without overriding
      project_name (see related bug for details).
      
      Change-Id: I3d919736e53d6f3e1a70d1267cf42c8d2c0ad221
      Related-Bug: #1951785
      56fc74f2
  22. Dec 29, 2021
    • Ching Kuo's avatar
      Add ovn_sb_connection to octavia.conf · 1077a9a4
      Ching Kuo authored
      This commit added ovn_sb_connection to octavia.conf otherwise it will
      try to connect to ovn-sb-db using the default address which is
      127.0.0.1 while the ovn-sb-db listen on the IP address of the
      api_interface.
      
      Closes-Bug: #1950111
      
      Change-Id: I9cb9a0365d00ffd70562b4b3e83493ec09bd52c2
      1077a9a4
  23. Dec 21, 2021
    • Dr. Jens Harbott's avatar
      Stop creating non-keystone admin endpoints · 479a7870
      Dr. Jens Harbott authored
      
      The admin interface for endpoints never had any real use, the
      functionality was the same as for the public or internal endpoints,
      except for Keystone. Even for Keystone with API v3 it would no longer
      really be needed, but it is still being required by some libraries that
      cannot be changed in order to stay backwards compatible.
      
      Signed-off-by: default avatarDr. Jens Harbott <harbott@osism.tech>
      Change-Id: Icf3bf08deab2c445361f0a0124d87ad8b0e4e9d9
      479a7870
  24. Nov 08, 2021
  25. Aug 10, 2021
    • Radosław Piliszek's avatar
      Refactor and optimise image pulling · 9ff2ecb0
      Radosław Piliszek authored
      We get a nice optimisation by using a filtered loop instead
      of task skipping per service with 'when'.
      
      Partially-Implements: blueprint performance-improvements
      Change-Id: I8f68100870ab90cb2d6b68a66a4c97df9ea4ff52
      9ff2ecb0
  26. 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
  27. Jun 22, 2021
  28. May 10, 2021
    • Michal Arbet's avatar
      Do not write octavia_amp_ssh_key if auto_config disabled · 41fe771b
      Michal Arbet authored
      This task is writing private key from passwords to
      /etc/kolla/octavia-worker/{{ octavia_amp_ssh_key_name }} even
      if user disabled octavia auto configure.
      
      This patch is adding conditional for this task and skipping
      it if octavia_auto_configure: "no".
      
      Closes-Bug: #1927727
      
      Change-Id: Ib993b387d681921d804f654bea780a1481b2b0d0
      41fe771b
  29. May 07, 2021
  30. Apr 12, 2021
  31. Mar 31, 2021
    • Mark Goddard's avatar
      octavia: Ensure service auth project exists · fbd80bcd
      Mark Goddard authored
      Kolla Ansible supports configuration of the project used by Octavia to
      communicate with other services, via octavia_service_auth_project. Until
      Ussuri, this was set to admin. In Ussuri it changed to service. It may
      also be set to a different value.
      
      Kolla Ansible currently gives the octavia user the admin role in the
      project, but it does not ensure that the project exists. For admin and
      service projects, this is not a problem. If the project has been
      customised however, it will not necessarily exist, which will cause
      Octavia deployment to fail.
      
      This change fixes the issue by ensuring that the service auth project
      exists, in addition to the service project.
      
      Closes-Bug: #1922100
      Change-Id: I968efbf3ad1de676548b4e3aeefc20bf80ca94a0
      fbd80bcd
  32. Mar 30, 2021
  33. Mar 25, 2021
  34. Mar 24, 2021
  35. Mar 09, 2021
    • wuchunyang's avatar
      Use User and Group variables instead of sudo · 13b6d692
      wuchunyang authored
      use User and Group in octavia-interface service.
      this way looks more graceful
      
      this change also fix the octavia-interface does not restart
      when the octavia-interface.service changed.
      
      Change-Id: I9d253d7519b1774985d165a080047fdbecd321b4
      13b6d692
  36. Mar 03, 2021
  37. Feb 26, 2021
  38. Feb 03, 2021
Loading