Skip to content

Commit

Permalink
Merge pull request #150 from stackhpc/upstream/wallaby-2022-07-25
Browse files Browse the repository at this point in the history
Synchronise wallaby with upstream
  • Loading branch information
markgoddard authored Jul 25, 2022
2 parents edd4eba + 1cc710d commit e2fb1ce
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/neutron/neutron-base/extend_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ else
fi

# set legacy iptables to allow kernels not supporting iptables-nft
if $UPDATE_ALTERNATIVES --query iptables; then
# CentOS has update-alternatives 1.13, so use --display (not --query)
if $UPDATE_ALTERNATIVES --display iptables; then
# NOTE(yoctozepto): Kolla-Ansible does not always set KOLLA_LEGACY_IPTABLES;
# the workaround below ensures it gets set to `false` in such cases to fix
# this code under `set -o nounset`.
Expand Down
5 changes: 5 additions & 0 deletions releasenotes/notes/bug-1936947-8beac926823cdf8f.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
fixes:
- |
Fixes wrong update-alternatives usage on CentOS.
`LP#1936947 <https://launchpad.net/bugs/1936947>`__

0 comments on commit e2fb1ce

Please sign in to comment.