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

This commit is contained in:
Zuul 2021-12-15 21:55:43 +00:00 committed by Gerrit Code Review
commit b4d13b71f8
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)" port_id="$(openstack port show octavia-health-manager-{{ node_hostname }}-listen-port -f value -c id 2> /dev/null)"
if [[ -z "${port_id}" ]]; then if [[ -z "${port_id}" ]]; then
neutron port-create {{ lb_mgmt_net_name }} --binding:host_id={{ node_hostname }} \ neutron port-create {{ lb_mgmt_net_name }} --binding:host_id={{ node_hostname }} \
--no-security-groups \ --security-group {{ lb_health_mgr_sec_grp_name }} \
--port-security-enabled=False \
--device-owner Octavia:health-mgr \ --device-owner Octavia:health-mgr \
--name octavia-health-manager-{{ node_hostname }}-listen-port \ --name octavia-health-manager-{{ node_hostname }}-listen-port \
-f value \ -f value \