Skip to content

Commit

Permalink
Merge pull request #148 from stackhpc/upstream/victoria-2022-07-25
Browse files Browse the repository at this point in the history
Synchronise victoria with upstream
  • Loading branch information
markgoddard authored Jul 25, 2022
2 parents 0d9acf6 + 62d7ef9 commit e989545
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 e989545

Please sign in to comment.