Skip to content
Snippets Groups Projects
  1. Sep 03, 2024
    • Roman Krček's avatar
      Refactor dev mode · b3275272
      Roman Krček authored
      Build upon changes in kolla which change strategy of installing projects
      in containers when in dev mode. This fixes problems where when package
      file manifest changes, the changes were not reflected in to
      devmode-enabled container.
      
      It changes the strategy of installing projects in dev mode in containers.
      Instead of bind mounting the project's git repository to the venv
      of the container, the repository is bind mounted to
      /dev-mode/<project_name> from which the it is installed using pip
      on every startup of the container using kolla_install_projects script.
      
      Also updates docs to reflect the changes.
      
      Depends-On: https://review.opendev.org/c/openstack/kolla/+/925712
      
      
      Closes-Bug: #1814515
      Singed-off-by: default avatarRoman Krček <roman.krcek@tietoevry.com>
      Change-Id: If191cd0e3fcf362ee058549a1b6c244d109b6d9a
      b3275272
  2. Aug 27, 2024
  3. Aug 21, 2024
    • leiyashuai's avatar
      Remove "distutils" library · b3a66ef3
      leiyashuai authored
      Library "distutils" is deprecated in Python 3.10:
      https://peps.python.org/pep-0632/
      
      The versions previously referenced using StrictVersion should be old
      enough that they will not be used in a Dalmatian deployment:
      
      - Ansible 2.11
      - Docker API 1.42, included since Docker engine 23.0.0
      
      Change-Id: Ie315004715a1cb5a91dd54bc64b0a8fd0af650ec
      b3a66ef3
  4. Aug 20, 2024
  5. Aug 16, 2024
    • Michal Nasiadka's avatar
      Bump Ansible versions to 2.16 and 2.17 · 1d3b4f7b
      Michal Nasiadka authored
      Change-Id: Ic87fb3e4c014d3090869d5631e02982829df6312
      1d3b4f7b
    • Michal Arbet's avatar
      Fix nova-libvirt's secrets - device or resource is busy · 82a642ed
      Michal Arbet authored
      This patch removes the nova_libvirt_secret container volume because
      it is a complete antipattern, and during testing, I found that
      it causes problems. When it was necessary to copy libvirt secrets
      from /etc/kolla/nova-libvirt/secrets, the container logs reported that
      the resource is busy - precisely because it was a mounted container
      volume. This, of course, is unnecessary because the secrets are copied
      to the kolla host in /etc/kolla/nova-libvirt/secrets.
      
      Closes-Bug: #2073678
      Change-Id: I715a6a95f9d32d62a8199727ddbaddd0dd7baa2d
      82a642ed
  6. Aug 13, 2024
  7. Aug 12, 2024
    • Matt Crees's avatar
      Add command to upgrade to a target version of RMQ · 249c1e89
      Matt Crees authored
      Required before a SLURP upgrade
      
      Change-Id: I09a45d26a6075554b204e007f64122f23de5f53c
      249c1e89
    • Ivan Halomi's avatar
      Refactor of kolla_container_facts · 4ce47e22
      Ivan Halomi authored
      
      Refactor that prepares kolla_container_facts
      module for introducing more actions that will be moved
      from kolla_container module and kolla_container_volume_facts.
      
      This change is based on a discussion about adding a new action
      to kolla_container module that retrieves all names of the running
      containers. It was agreed that kolla-ansible should follow Ansible's
      direction of splitting modules between action modules and facts
      modules. Because of this, kolla_container_facts needs to be able
      to handle different requests for data about containers or volumes.
      
      Change-Id: Ieaec8f64922e4e5a2199db2d6983518b124cb4aa
      Signed-off-by: default avatarIvan Halomi <ivan.halomi@tietoevry.com>
      4ce47e22
  8. Aug 09, 2024
  9. Aug 08, 2024
    • Franciszek Przewozny's avatar
      Add /v3 suffix to OPENSTACK_KEYSTONE_URL · c0db4ac4
      Franciszek Przewozny authored
      Change I60162b54bc06e158534d29311d4474b34750c64d
      removed the '/v3' suffix from horizon_keystone_url variable,
      but the version is needed for some operations.
      This patch fixes the "Change password" Horizon function
      until Horizon bug #2073639 is resolved.
      
      Closes-Bug: #2073159
      Change-Id: I6ff46b47e9109d0757f2e5ce8019ba591b9892e1
      c0db4ac4
    • Stig Telfer's avatar
      Fix post-config of OVS for manila-share servers · 10b72b98
      Stig Telfer authored
      A host that is in the manila-share group, but not in controllers
      network, etc., will fail service deployment if it is not using the
      generic manila driver (eg, if it is using the CephFS native driver).
      This is because deployment of openvswitch-vswitchd is predicated on
      the drivers enabled for manila-share.  However, this predicate is not
      universally applied.  Where inventory group membership is used the
      dependency on openvswitch-vswitchd presence will fail.
      
      Closes-Bug: #1993285
      
      Change-Id: I821e513d24f2a1c59240d65ad68c3b5f2080e439
      10b72b98
    • Michal Nasiadka's avatar
      Bump codespell pin to <3 · 2a2cb92b
      Michal Nasiadka authored
      Adapt files to match new requirements, add assertIn to whitelist
      
      Change-Id: I516bbbb3a0f194e8fa08d04c0290b586963b8b55
      2a2cb92b
  10. Jul 25, 2024
  11. Jul 22, 2024
  12. Jul 19, 2024
    • Michal Arbet's avatar
      Add support for docker_image_name_prefix · ae86e3a0
      Michal Arbet authored
      The Kolla project supports building images with
      user-defined prefixes. However, Kolla-ansible is unable
      to use those images for installation.
      
      This patch fixes that issue.
      
      Closes-Bug: #2073541
      Change-Id: Ia8140b289aa76fcd584e0e72686e3786215c5a99
      ae86e3a0
  13. Jul 18, 2024
    • Mark Goddard's avatar
      Work around OVN DB leader election race condition · bbc7ddf8
      Mark Goddard authored
      After OVN DB leader restarts there is a period before a new leader has
      been elected where the old leader is returned in the cluster status.
      This can result in a failure to apply the connection settings if a
      different leader is elected.
      
      Wait for a few seconds for the leader election to complete.
      
      Change-Id: I20f08c986fa6b4b3ec668dad649e69f23119796b
      Closes-Bug: #2059124
      bbc7ddf8
  14. Jul 17, 2024
    • Michal Arbet's avatar
      Fix mariadb recovery · 84e95d25
      Michal Arbet authored
      This patch modifies tasks that are delegated to
      localhost to use local connection.
      Firstly, this is correct since SSH connection is not used,
      and secondly, it fixes the issue when kolla-ansible is
      packaged in a docker container. If the local connection
      is not used, the tasks will fail because temporary data are
      stored outside the container, whereas we need it to be
      stored inside the container so we can read them and set_facts.
      
      Closes-Bug: #2073370
      Change-Id: I9547d5da78da30bfeea8e97056cfa9308c977098
      84e95d25
  15. Jul 16, 2024
  16. Jul 09, 2024
  17. Jul 08, 2024
    • Ivan Halomi's avatar
      Fix podman healtcheck when not enabled · 59bebd41
      Ivan Halomi authored
      
      There was a bug where setting the test command
      for the health check to 'NONE' would throw an error
      in podman_worker. This was problematic since K-A
      uses 'NONE' as an indicator that the health check is not enabled.
      
      Closes-Bug: #2071912
      Change-Id: I3140bb79eace58b23f579be3da569c502c52c38c
      Signed-off-by: default avatarIvan Halomi <ivan.halomi@tietoevry.com>
      59bebd41
  18. Jul 03, 2024
  19. Jul 02, 2024
  20. Jun 28, 2024
    • Matus Jenca's avatar
      Patch service-cert-copy role to be used w/o HAProxy · cf903b9a
      Matus Jenca authored
      Currently, service-cert-copy role used to copy certs and CA
      into containers has 'when' statements  that check if HAProxy is
      defined and enabled for the service. However, some services like
      RabbitMQ, ProxySQL or Redis don't use HAProxy
      
      This patch removes the when condition, as it is not necessary.
      
      PartiallyImplements: mariadb-ssl
      Change-Id: I8864e05212e0ed76ea3a0108b00ed9dd04b1a697
      cf903b9a
    • Roman Krček's avatar
      Performance: use filters for service dicts · fb3a8f5f
      Roman Krček authored
      Most roles are not leveraging the jinja filters available.
      According to [1] filtering the list of services makes the execution
      faster than skipping the tasks.
      
      This patchset also includes some cosmetic changes to genconfig.
      Individual services are now also using a jinja filter. This has
      no impact on performance, just makes the tasks look cleaner.
      
      Naming of some vars in genconfig was changed to "service" to make
      the tasks more uniform as some were previously using
      the service name and some were using "service".
      
      Three metrics from the deployment were taken and those were
      - overall deployment time [s]
      - time spent on the specific role [s]
      - CPU usage (measured with perf) [-]
      Overall genconfig time went down on avg. from 209s to 195s
      Time spent on the loadbalancer role went down on avg. from 27s to 23s
      Time spent on the neutron role went down on avg from 102s to 95s
      Time spent on the nova-cell role went down on avg. from 54s to 52s
      Also the average CPUs utilized reported by perf went down
      from 3.31 to 3.15.
      For details of how this was measured see the comments in gerrit.
      
      [1] - https://github.com/stackhpc/ansible-scaling/blob/master/doc/skip.md
      
      
      
      Change-Id: Ib0f00aadb6c7022de6e8b455ac4b9b8cd6be5b1b
      Signed-off-by: default avatarRoman Krček <roman.krcek@tietoevry.com>
      fb3a8f5f
  21. Jun 27, 2024
  22. Jun 26, 2024
  23. Jun 24, 2024
  24. Jun 20, 2024
    • Michal Arbet's avatar
      Fix venus when proxysql used · 39fa523b
      Michal Arbet authored
      This patch fixes defaults for venus
      so it can be used with proxysql turned on
      
      Closes-Bug: #2066937
      Change-Id: I0d2eb3ea6c50801a94139312399c8f8df092b4d3
      39fa523b
  25. Jun 19, 2024
    • Andrew Babbitt's avatar
      Skyline: Fix incorrect keystone port · cb90041a
      Andrew Babbitt authored
      Change the skyline nginx config to point to the internal port.
      
      Closes-Bug: #2069855
      Change-Id: Ia29d89b2594a604c687469850a67f7fe29d0eb5d
      cb90041a
    • Mark Goddard's avatar
      Add support for customising Neutron physical network names · 64dcfb72
      Mark Goddard authored
      Previously Kolla Ansible hard-coded Neutron physical networks starting
      at physnet1 up to physnetN, matching the number of interfaces in
      neutron_external_interface and bridges in neutron_bridge_name.
      
      Sometimes we may want to customise the physical network names used. This
      may be to allow for not all hosts having access to all physical
      networks, or to use more descriptive names.
      
      For example, in an environment with a separate physical network for
      Ironic provisioning, controllers might have access to two physical
      networks, while compute nodes have access to one.
      
      This change adds a neutron_physical_networks variable, making it
      possible to customise the Neutron physical network names used for the
      OVS, OVN, Linux bridge and OVS DPDK plugins. The default behaviour is
      unchanged.
      
      Change-Id: Ib5b8ea727014964919c6b3bd2352bac4a4ac1787
      64dcfb72
  26. Jun 13, 2024
    • Martin Hiner's avatar
      Move Nova roles after OVS · 30f1ffc3
      Martin Hiner authored
      
      Moves the execution of Nova roles after Open vSwitch roles.
      Current order of execution causes VMs to not be able to start after the redeployment of Openstack during container engine migration.
      
      Change-Id: I8ad0dcdfaf419dfbc04d19203424adecd400db05
      Signed-off-by: default avatarMartin Hiner <martin.hiner@tietoevry.com>
      30f1ffc3
Loading