| Summary: | Unique Name validation required for images | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] CloudForms Cloud Engine | Reporter: | Shveta <ssachdev> | ||||||
| Component: | aeolus-conductor | Assignee: | wes hayutin <whayutin> | ||||||
| Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 1.0.0 | CC: | akarol, deltacloud-maint, jprovazn, ssachdev | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-01-16 13:54:12 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 744194 | ||||||||
| Attachments: |
|
||||||||
|
Description
Shveta
2011-12-30 05:55:03 UTC
Created attachment 550030 [details]
same_name
It's not simple to add unique name validation:
- image is saved only in warehouse, adding uniquness check means fetching&parsing of all images in warehouse ('name' is saved only in xml body, not as metadata
- image object can be created both by imagefactory or aeolus-image-rubygem lib (used by cli and UI), none of them checks uniqueness ATM
adding to ce-sprint-next adding to ce-sprint-next adding to ce-sprint removing ce-sprint-next tracker Whilst it is possible to have identically named images, they're stll uniquely identifiable by the UUID, which is the handle by which they are referenced in deployable definitions etc. Given the complexity of the underlying changes required to change current behaviour, as described in Jan's comment above, the current behaviour won't change in the scope of 1.0 ack.. You could check for unique template names for just the WEBUI.. but a user could still create a dupe via the cli.. pushing the check for uniqueness to warehouse.. which is a whole other ball of wax Lets revisit this next release... closing this.. things will change too much I suspect to bother leaving it open |