Skip to content

Commit

Permalink
Merge pull request #552 from stackhpc/upstream/2023.1-2024-04-01
Browse files Browse the repository at this point in the history
Synchronise 2023.1 with upstream
  • Loading branch information
markgoddard authored Apr 2, 2024
2 parents 9fa9d57 + 10857e9 commit bb5b248
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ansible/roles/loadbalancer/tasks/config-host.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
---

- name: Check IPv6 support
command: /usr/sbin/sysctl -n net.ipv6.conf.all.disable_ipv6
register: ipv6_disabled
changed_when: false

- name: Setting sysctl values
vars:
should_set: "{{ item.value != 'KOLLA_UNSET' }}"
Expand All @@ -17,6 +23,7 @@
when:
- set_sysctl | bool
- item.value != 'KOLLA_SKIP'
- not ('ipv6' in item.name and ipv6_disabled.stdout | bool)

- name: Load and persist keepalived module
import_role:
Expand Down
6 changes: 6 additions & 0 deletions ansible/roles/neutron/tasks/config-host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
list |
length > 0
- name: Check IPv6 support
command: /usr/sbin/sysctl -n net.ipv6.conf.all.disable_ipv6
register: ipv6_disabled
changed_when: false

- name: Setting sysctl values
become: true
vars:
Expand All @@ -34,3 +39,4 @@
- set_sysctl | bool
- item.value != 'KOLLA_SKIP'
- (neutron_l3_agent.enabled | bool and neutron_l3_agent.host_in_groups | bool)
- not ('ipv6' in item.name and ipv6_disabled.stdout | bool)
2 changes: 2 additions & 0 deletions ansible/roles/ovs-dpdk/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
---
project_name: "ovs"

kolla_role_name: "ovsdpdk"
8 changes: 8 additions & 0 deletions releasenotes/notes/bug-1906306-640d5085576656f9.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
fixes:
- |
Add conditionals for IPv6 sysctl settings
that have IPV6 disabled in kernel.
Changing sysctl settings related to IPv6 on those
systems lead to errors.
`LP#1906306 <https://launchpad.net/bugs/1906306>`__
5 changes: 5 additions & 0 deletions releasenotes/notes/bug-2041864-f19f9a6afd0955e8.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes ``ovs-dpdk`` images pull.
`LP#[2041864] <https://launchpad.net/bugs/2041864>`__

0 comments on commit bb5b248

Please sign in to comment.