Merge "Enable security group on the Octavia management port" into stable/train

This commit is contained in:
Zuul 2021-12-15 00:47:19 +00:00 committed by Gerrit Code Review
commit 1fdb7665ab
1 changed files with 1 additions and 2 deletions

View File

@ -5,8 +5,7 @@
port_id="$(openstack port show octavia-health-manager-{{ node_hostname }}-listen-port -f value -c id 2> /dev/null)"
if [[ -z "${port_id}" ]]; then
neutron port-create {{ lb_mgmt_net_name }} --binding:host_id={{ node_hostname }} \
--no-security-groups \
--port-security-enabled=False \
--security-group {{ lb_health_mgr_sec_grp_name }} \
--device-owner Octavia:health-mgr \
--name octavia-health-manager-{{ node_hostname }}-listen-port \
-f value \