Adding existing group gives weird error message

Bug #702636 reported by Tushar Patil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Ricardo Carrillo Cruz

Bug Description

I already added mygroup group using euca-add-group

If I try to add it again:-
euca-add-group -d "sample group description" mygroup it give error message as
"Unknown: Unknown: group mygroup already exists"

Expected Result:- The error message should be something like
"Group mygroup already exists"

I believe this unknown:unknown is a common problem wherever it is throwing exception pf type exception.ApiError.

I see the same problem when I try to add same rule to the group using euca-authorize.
.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Low
status: New → Confirmed
Changed in nova:
assignee: nobody → Ricardo Carrillo Cruz (rcc)
Changed in nova:
status: Confirmed → In Progress
Revision history for this message
Thierry Carrez (ttx) wrote :

Setting back to confirmed: if you are working on this currently, please link branch and set back to "In progress". If not, please unassign yourself to let others potentially take it.

Changed in nova:
status: In Progress → Confirmed
Revision history for this message
Ricardo Carrillo Cruz (rcarrillocruz) wrote :

Hi Thierry

You can set it as fixed, it no longer shows Unknown exception:

. /home/dormammu/src/nova/lp702636//novarc
root@dormammu-VirtualBox:/home/dormammu/src/nova# . /home/dormammu/src/nova/lp702636//novarc
root@dormammu-VirtualBox:/home/dormammu/src/nova# euca-add-group -d "sample group description" mygroup
GROUP mygroup sample group description
root@dormammu-VirtualBox:/home/dormammu/src/nova# euca-add-group -d "sample group description" mygroup
ApiError: ApiError: group mygroup already exists
root@dormammu-VirtualBox:/home/dormammu/src/nova#

Thierry Carrez (ttx)
Changed in nova:
status: Confirmed → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → 2011.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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