should nova allow creating images/instances with same names?

Bug #1424067 reported by Neetu Jain
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-novaclient
Opinion
Wishlist
Neetu Jain

Bug Description

root@control-mel01-1:~# nova --os-region-name mel01 image-list
+--------------------------------------+----------------------+--------+--------------------------------------+
| ID | Name | Status | Server |
+--------------------------------------+----------------------+--------+--------------------------------------+
| 07b4bc72-f1a5-4e1c-b9aa-| n-snapshot | ACTIVE | 2595dc48-43f8--ba92-55a22f48880b |
| 7596ea48-d0d1-4dca-92ed-| n-snapshot | ACTIVE | -43f8--ba92-55a22f48880b |

|

Neetu Jain (nutshi)
description: updated
Changed in ubuntu-docs (Ubuntu):
assignee: nobody → Neetu Jain (nutshi)
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Neetu: This has nothing to do with the desktop documentation, so I'm changing the affected target. Please change it to the proper package.

affects: ubuntu-docs (Ubuntu) → ubuntu
Neetu Jain (nutshi)
description: updated
Revision history for this message
Neetu Jain (nutshi) wrote :

seems like it landed in the wrong place .. this should go to nova .. can you guide me how to place this bug in the right place ? i updated effected projects..

description: updated
description: updated
affects: ubuntu → nova (Ubuntu)
Neetu Jain (nutshi)
affects: nova (Ubuntu) → python-novaclient
Neetu Jain (nutshi)
description: updated
Revision history for this message
Neetu Jain (nutshi) wrote :

seems like its as per design ( since i nova instances can also be created with duplicate name)
I am curoius to know what was the reason for this decision though

Revision history for this message
Neetu Jain (nutshi) wrote :

this should probably be handled at the client side for better usability as well as server side for functionality

Changed in python-novaclient:
status: New → Opinion
summary: - Nova should not allow creating images with same names
+ should nova allowe creating images/instances with same names?
Revision history for this message
melanie witt (melwitt) wrote :

Hi Neetu, indeed the nova api and client allow creating resources with duplicate names, because each resource has a unique id (uuid) which is its primary key. So when you have two images with the same name as in your example, you must delete them by passing their uuids to identify them uniquely.

summary: - should nova allowe creating images/instances with same names?
+ should nova allow creating images/instances with same names?
Changed in python-novaclient:
importance: Undecided → Wishlist
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.