← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1188105] Re: Unable to delete "default" security group

 

I take a try in the master code:

$ nova secgroup-delete default
ERROR: Unable to delete system group 'default' (HTTP 400) (Request-ID: req-1062a62c-c79d-4495-9c7d-28086c9838ac)

There is really a limitation to `default` security group:
file: nova/compute/api.py
...
RO_SECURITY_GROUPS = ['default']
....
def destroy(self, context, security_group):
    if security_group['name'] in RO_SECURITY_GROUPS:
        msg = _("Unable to delete system group '%s'") % \
            security_group['name']
        self.raise_invalid_group(msg)

** Changed in: nova
       Status: Confirmed => Invalid

** Changed in: python-novaclient
       Status: New => Invalid

-- 
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/1188105

Title:
  Unable to delete "default" security group

Status in OpenStack Compute (Nova):
  Invalid
Status in Python client library for Nova:
  Invalid

Bug description:
  Dear everyone,

  I've failed to delete "default" security group. But I can delete the
  other. :(

  To reproduce:

  1. nova secgroup-list
  +---------+-------------+
  | Name    | Description |
  +---------+-------------+
  | default | default     |
  +---------+-------------+

  2. nova secgroup-delete default
  3. nova secgroup-list
  +---------+-------------+
  | Name    | Description |
  +---------+-------------+
  | default | default     |
  +---------+-------------+

  Is it a bug or limitation? Thank you all.

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