← Back to team overview

documentation-packages team mailing list archive

[Bug 1424067] [NEW] Nova should not allow creating images with same names

 

Public bug reported:

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

I accidentally created 2 images with same name at different times. I
noticed that the old one was not replaced and now there are 2 images
with same name.


I am unabel to delete them as well (even though i do not get errors i see that the delete command failed silently )

root@control-mel01-1:~# # nova  --os-region-name mel01 image-delete
07b4bc72-f1a5-4e1c-b9aa-ffc27088f0fb

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

** Affects: ubuntu-docs (Ubuntu)
     Importance: Undecided
     Assignee: Neetu Jain (nutshi)
         Status: New

** Description changed:

- root@control-mel01-1:~# nova  --os-region-name mel01 image-list                    
+ root@control-mel01-1:~# nova  --os-region-name mel01 image-list
  +--------------------------------------+----------------------+--------+--------------------------------------+
  | ID                                   | Name                 | Status | Server                               |
  +--------------------------------------+----------------------+--------+--------------------------------------+
  | 07b4bc72-f1a5-4e1c-b9aa-ffc27088f0fb | njainvm1-snapshot    | ACTIVE | 2595dc48-43f8-40eb-ba92-55a22f48880b |
  | 7596ea48-d0d1-4dca-92ed-94a086b8871e | njainvm1-snapshot    | ACTIVE | 2595dc48-43f8-40eb-ba92-55a22f48880b |
  
+ I accidentally created 2 images with same name at different times. I
+ noticed that the old one was not replaced and now there are 2 images
+ with same name.
  
- I accidentally created 2 images with same name at different times. I noticed that the old one was not replaced and now there are 2 images with same name. 
  
- Should  this be allowed? they have differemt UUIDs which is the reason i
- was able to delete them (using ids)
+ I am unabel to delete them as well (even though i do not get errors i see that the delete command failed silently )
+ 
+ root@control-mel01-1:~# # nova  --os-region-name mel01 image-delete
+ 07b4bc72-f1a5-4e1c-b9aa-ffc27088f0fb
+ 
+ root@control-mel01-1:~# nova  --os-region-name mel01 image-list
+ +--------------------------------------+----------------------+--------+--------------------------------------+
+ | ID                                   | Name                 | Status | Server                               |
+ +--------------------------------------+----------------------+--------+--------------------------------------+
+ | 07b4bc72-f1a5-4e1c-b9aa-ffc27088f0fb | njainvm1-snapshot    | ACTIVE | 2595dc48-43f8-40eb-ba92-55a22f48880b |
+ | 7596ea48-d0d1-4dca-92ed-94a086b8871e | njainvm1-snapshot    | ACTIVE | 2595dc48-43f8-40eb-ba92-55a22f48880b |

** Changed in: ubuntu-docs (Ubuntu)
     Assignee: (unassigned) => Neetu Jain (nutshi)

-- 
You received this bug notification because you are a member of
Documentation Packages, which is subscribed to ubuntu-docs in Ubuntu.
https://bugs.launchpad.net/bugs/1424067

Title:
  Nova should not allow creating images with same names

Status in ubuntu-docs package in Ubuntu:
  New

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

  I accidentally created 2 images with same name at different times. I
  noticed that the old one was not replaced and now there are 2 images
  with same name.

  
  I am unabel to delete them as well (even though i do not get errors i see that the delete command failed silently )

  root@control-mel01-1:~# # nova  --os-region-name mel01 image-delete
  07b4bc72-f1a5-4e1c-b9aa-ffc27088f0fb

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/1424067/+subscriptions


Follow ups

References