← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424605] [NEW] Security group should deleted which names lead by "-".

 

Public bug reported:

While deleting a Security Group with a name which starts with '-'
followed by an alphabet then the Error message is not user friendly.
Security group

Steps to reproduce:

 nova secgroup-list

+--------------------------------------+-----------------+-------------+
| Id                                   | Name            | Description |
+--------------------------------------+-----------------+-------------+
| 6f491527-0405-479d-80da-c9b81547bf39 | -hello | hello       |
|| 93b1f5b2-094b-4599-afc6-0ffc5518c0e9 | default         | default     |
||
+--------------------------------------+-----------------+-------------+

nova secgroup-delete -hello

Expected Result:
should delete the security group.
Actual Result:
usage: nova secgroup-delete <secgroup>
error: too few arguments
Try 'nova help secgroup-delete' for more information.

** Affects: python-novaclient
     Importance: Undecided
     Assignee: Amandeep (rattenpal-amandeep)
         Status: New

** Project changed: nova => python-novaclient

** Summary changed:

- Error message not user friendly while deleting a security group
+ Security group should deleted which names lead by "-".

** Changed in: python-novaclient
     Assignee: (unassigned) => Amandeep (rattenpal-amandeep)

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

Title:
  Security group should deleted which names lead by "-".

Status in Python client library for Nova:
  New

Bug description:
  While deleting a Security Group with a name which starts with '-'
  followed by an alphabet then the Error message is not user friendly.
  Security group

  Steps to reproduce:

   nova secgroup-list

  +--------------------------------------+-----------------+-------------+
  | Id                                   | Name            | Description |
  +--------------------------------------+-----------------+-------------+
  | 6f491527-0405-479d-80da-c9b81547bf39 | -hello | hello       |
  || 93b1f5b2-094b-4599-afc6-0ffc5518c0e9 | default         | default     |
  ||
  +--------------------------------------+-----------------+-------------+

  nova secgroup-delete -hello

  Expected Result:
  should delete the security group.
  Actual Result:
  usage: nova secgroup-delete <secgroup>
  error: too few arguments
  Try 'nova help secgroup-delete' for more information.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-novaclient/+bug/1424605/+subscriptions


Follow ups

References