** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => kilo-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1410172
Title:
500 on deleteing a not existing ec2 security group
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Looks like there are 2 reason for seeing 500 errors on not existing
ec2 security group delete attempt:
* Unexpected TypeError raised: expected string or buffer
* Unexpected UnboundLocalError raised: local variable 'group' referenced
before assignment
Since it is server error the euca2ools automatically and silently
retries the request multiple (unlimited?) times.
1. source the ec2 credentials:
$source /opt/stack/new/devstack/accrc/demo/demo
2.a:
$ euca-delete-group --debug 42
...
2015-01-13 09:57:02,907 euca2ools [DEBUG]:Received 500 response. Retrying in
1.9 seconds
2.b:
$ euca-delete-group --debug fortytwo
Relevant lines from the n-api log (It does not contains a full trace,
however on this kind of errors it should):
action: DeleteSecurityGroup __call__
/opt/stack/new/nova/nova/api/ec2/__init__.py:379
arg: GroupName val: fortytwo __call__
/opt/stack/new/nova/nova/api/ec2/__init__.py:382
Neutron security group fortytwo not found get
/opt/stack/new/nova/nova/network/security_group/neutron_driver.py:138
Unexpected UnboundLocalError raised: local variable 'group' referenced before
assignment
EC2 error response: UnboundLocalError: Unknown error occurred.
ec2_error_response /opt/stack/new/nova/nova/api/ec2/faults.py:29
Note: The issue seen in a neutron setup.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1410172/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp