Octavia SecurityGroupNotFound

Bug #1841013 reported by han
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Invalid
Undecided
Unassigned

Bug Description

When I use OCtavia

`
 openstack loadbalancer create --vip-subnet-id 6ad6de47-2054-48ac-a805-8d285b86f2bc --name han-loadbalancer
`

find ERROR in nova-compute.log

 ERROR nova.compute.manager [req-834060a7-c6fa-4d4f-89fb-3f7f1d77ab5e 245cc49578314f8788805c21c6d79343 ea5132b92945491289c1ed0674e9024b - default default] Instance failed network setup after 1 attempt(s): SecurityGroupNotFound: Security group d96830e9-eb3b-4d21-ad90-132031661038 not found.
2019-08-22 10:39:27.695 26348 ERROR nova.compute.manager SecurityGroupNotFound: Security group d96830e9-eb3b-4d21-ad90-132031661038 not found.
2019-08-22 10:39:55.009 26348 ERROR nova.compute.manager [req-834060a7-c6fa-4d4f-89fb-3f7f1d77ab5e 245cc49578314f8788805c21c6d79343 ea5132b92945491289c1ed0674e9024b - default default] [instance: 163cd3e8-ffa9-42a6-a92d-ee57fc4eef92] Instance failed to spawn: SecurityGroupNotFound: Security group d96830e9-eb3b-4d21-ad90-132031661038 not found.

But, I can see ,
[root@controller ~]# neutron security-group-show d96830e9-eb3b-4d21-ad90-132031661038
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+----------------------+--------------------------------------------------------------------+
| Field | Value |
+----------------------+--------------------------------------------------------------------+
| created_at | 2019-08-22T02:05:52Z |
| description | amphora-sec-grp |
| id | d96830e9-eb3b-4d21-ad90-132031661038 |
| name | amphora-sec-grp |
| project_id | 36e6b8281f0740369d40bf5d3bdc7393 |
| revision_number | 3 |
| security_group_rules | { |
| | "remote_group_id": null, |
| | "direction": "egress", |
| | "protocol": "udp", |
| | "description": "", |
| | "tags": [], |
| | "ethertype": "IPv4", |
| | "remote_ip_prefix": "0.0.0.0/0", |
| | "port_range_max": 5555, |
| | "updated_at": "2019-08-22T02:07:16Z", |
| | "security_group_id": "d96830e9-eb3b-4d21-ad90-132031661038", |
| | "port_range_min": 5555, |
| | "revision_number": 0, |
| | "tenant_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "created_at": "2019-08-22T02:07:16Z", |
| | "project_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "id": "129ee6be-067a-487c-895b-c52297c92aaa" |
| | } |
| | { |
| | "remote_group_id": null, |
| | "direction": "egress", |
| | "protocol": null, |
| | "description": null, |
| | "tags": [], |
| | "ethertype": "IPv6", |
| | "remote_ip_prefix": null, |
| | "port_range_max": null, |
| | "updated_at": "2019-08-22T02:05:52Z", |
| | "security_group_id": "d96830e9-eb3b-4d21-ad90-132031661038", |
| | "port_range_min": null, |
| | "revision_number": 0, |
| | "tenant_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "created_at": "2019-08-22T02:05:52Z", |
| | "project_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "id": "6b9c22a2-68a5-40c3-aaec-ec1b13fbd835" |
| | } |
| | { |
| | "remote_group_id": null, |
| | "direction": "egress", |
| | "protocol": null, |
| | "description": null, |
| | "tags": [], |
| | "ethertype": "IPv4", |
| | "remote_ip_prefix": null, |
| | "port_range_max": null, |
| | "updated_at": "2019-08-22T02:05:52Z", |
| | "security_group_id": "d96830e9-eb3b-4d21-ad90-132031661038", |
| | "port_range_min": null, |
| | "revision_number": 0, |
| | "tenant_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "created_at": "2019-08-22T02:05:52Z", |
| | "project_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "id": "e46bb416-b17d-44a5-aee4-ec6584bef9af" |
| | } |
| | { |
| | "remote_group_id": null, |
| | "direction": "ingress", |
| | "protocol": "tcp", |
| | "description": "", |
| | "tags": [], |
| | "ethertype": "IPv4", |
| | "remote_ip_prefix": "0.0.0.0/0", |
| | "port_range_max": 9443, |
| | "updated_at": "2019-08-22T02:06:25Z", |
| | "security_group_id": "d96830e9-eb3b-4d21-ad90-132031661038", |
| | "port_range_min": 9443, |
| | "revision_number": 0, |
| | "tenant_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "created_at": "2019-08-22T02:06:25Z", |
| | "project_id": "36e6b8281f0740369d40bf5d3bdc7393", |
| | "id": "e49c8c00-f283-41c6-9c67-628ef12c6d21" |
| | } |
| tags | |
| tenant_id | 36e6b8281f0740369d40bf5d3bdc7393 |
| updated_at | 2019-08-22T02:07:16Z |
+----------------------+------------------------------------------------

I use nova directly:

 nova --debug boot --image 69e85e0e-4e2c-49cb-80ca-fa42a5f91d3a --nic net-name=han-vpc2 --flavor beb81a73-9aa7-4c1f-8c72-524e23a6f6f1 --security-groups d96830e9-eb3b-4d21-ad90-132031661038 octavia

VM , Creating a successful

Revision history for this message
Andreas Jaeger (jaegerandi) wrote :

For support requests, go to ask.openstack.org.

Changed in openstack-manuals:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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