| Summary: | Backend [TEXT]: when trying to import a vm with the same name and different id the error message is that the vm with the same id already exists | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Dafna Ron <dron> | ||||
| Component: | ovirt-engine-core | Assignee: | lpeer <lpeer> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | unspecified | CC: | acathrow, iheim, lpeer, michal.skrivanek, Rhev-m-bugs, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | virt | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-12 10:42:52 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug. |
Created attachment 529693 [details] log Description of problem: error message presented to user when trying to export a vm with the same name is that there is already a vm with the same id - this is wrong. we check both name and vm id so each error should have its own text. Version-Release number of selected component (if applicable): ic145.1 How reproducible: 100% Steps to Reproduce: 1. create a VM 2. export the VM 3. remove the VM and create a new vm by the same name 4. try to export the vm Actual results: we get a CanDoAction from backend that vm id already exists. 011-10-23 18:20:25,240 WARN [org.ovirt.engine.core.bll.ImportVmCommand] (pool-11-thread-962) CanDoAction of action ImportVm failed. Reasons:VM_CANNOT_IMPORT_VM_EXISTS,$VmName NFS-02,VAR__ACTION__IMPORT,VAR__TYPE__VM Expected results: since the ID does not exists (it's a completely different VM with a different id) but the name does exists we should change the text of this alert. Additional info:rhevm log