Feature #1749
[Self-service] Add a check to avoid duplicate vm name
Status: | Closed | Start date: | 01/31/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | Sunstone | |||
Target version: | - | |||
Resolution: | wontfix | Pull request: |
Description
When a user create a vm with a name that already exist, it could cause some problems (ie. with DNS records or some mismatch when deleting)
History
#1 Updated by Nicolas AGIUS over 8 years ago
- File compute.js-issue1749.patch added
This patch check if the name of the new vm does'nt already exist in the list of the user's vm.
It does'nt check the name against other users' vm.
This patch has only been tested with Opennebula 1.8.1
Thank Mathieu Alorent for this code.
#2 Updated by Nicolas AGIUS over 8 years ago
- File OCCIServer.rb-issue1749.patch added
Same patch but directly in the OCCI daemon to also protect access by the API.
#3 Updated by Carlos MartÃn about 8 years ago
- Status changed from New to Closed
- Resolution set to wontfix
Closing this one, since self-service is now discontinued.
If there is really a need to make VM names unique, it should be implemented at the oned level. Maybe as an option in oned.conf.