More than one SecurityGroup exists with the name 'lb-health-mgr-sec-grp'

Bug #1929704 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Triaged
Medium
Unassigned

Bug Description

FAILED! => {\"changed\": false, \"cmd\": \"set│·····················
 -o pipefail\\nSECGROUP=\\\"$(openstack security group rule list lb-health-mgr-sec-grp \\\\\\n --protocol udp \\\\\\n --ingress -f value 2>&1 | grep \\\"0.0.0.0/0 5555:5555\\\")\\\"\\nif [[│·····················
 -z \\\"${SECGROUP}\\\" ]]; then\\n openstack security group rule create --protocol udp --dst-port 5555 lb-health-mgr-sec-grp\\nfi\", \"delta\": \"0:00:03.558707\", \"end\": \"2021-05-26 12:27:58.883992\", \"msg\":│·····················
 \"non-zero return code\", \"rc\": 1, \"start\": \"2021-05-26 12:27:55.325285\", \"stderr\": \"More than one SecurityGroup exists with the name 'lb-health-mgr-sec-grp'.\", \"stderr_lines\": [\"More than one Security│·····················
Group exists with the name 'lb-health-mgr-sec-grp'.\"], \"stdout\": \"\", \"stdout_lines\": []}",

Best guess is that the 'openstack security group show' failed around[1] for some other reason than "ResourceNotFound", causing the another resource group to be created. And then the following task creating rules fail because of the ducplicate resource groups.

https://opendev.org/openstack/tripleo-ansible/src/commit/4ce6fda21b08bfcb8cfa319e7522fb9eb19c0178/tripleo_ansible/roles/octavia_overcloud_config/tasks/network.yml#L81-L82

Changed in tripleo:
milestone: xena-1 → xena-2
Changed in tripleo:
milestone: xena-2 → xena-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.