← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1156932] Re: User can't modify security-group-rule via nova-api if there are duplicated security group name

 

If using nova's security group implemention you can not create security
groups that overlap in name though quantum allows this. Periously nova
would let you delete security groups if they overlapped in name as the
admin user but this was dangerious as you didn't know which group you
were deleting. That said the issue you are seeing is actually a python-
novaclient issue -- it does not explose a way to delete via id. You can
retreieve the security group ids by running:

nova --debug secgroup-list ;

Then you can make a curl call in order to delete the security group id
that you want if it overlapps with another security group (for example:
curl -i http://10.34.95.210:8774/v2/38025118215c4802adb4381f54d91535/os-
security-groups/8516db07-9902-4e14-9cef-800fa9df4799 -X DELETE
..<snip>)

Or you could use the python-quantumclient which supports deleting
security groups that overlap in name.

** Changed in: quantum
       Status: New => Incomplete

** Changed in: quantum
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1156932

Title:
  User can't modify security-group-rule via nova-api if there are
  duplicated security group name

Status in OpenStack Compute (Nova):
  New
Status in OpenStack Quantum (virtual network service):
  Invalid

Bug description:
  User can't modify security-group-rule via nova-api if there are
  duplicated security group name.

  When quantum security group is enabled in nova,
  nova admin user can't modify security group rule via nova-api.

  nova secgroup-list shows two default security group.
  Both of that has same name "default", so CLI says please specify security group id.

  But it looks no way to know security group id from nova-api.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1156932/+subscriptions