Bug 819285
| Summary: | RHEVM - Backend: Can't remove unattached disk or template disk | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Daniel Paikov <dpaikov> | ||||
| Component: | ovirt-engine | Assignee: | mkublin <mkublin> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | unspecified | CC: | amureini, bazulay, dyasny, hateya, iheim, lnatapov, mkublin, Rhev-m-bugs, yeylon, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.1.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | SI6 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 20:07:49 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Same issue when trying to remove a disk that is part of a template. I solve that problem, I can not find a commit for it. Should be solved at a new build si6 *** Bug 821744 has been marked as a duplicate of this bug. *** template disk cannot and should not be removed (gets CanDoAction) I was able to remove an unattached disk |
Created attachment 582417 [details] engine.log When trying to remove a disk that isn't assigned to any VM, the following failure appears: "Error: Cannot remove Virtual Machine Disk. Provided wrong storage domain, which is not related to disk." 2012-05-06 12:23:34,617 INFO [org.ovirt.engine.core.bll.RemoveDiskCommand] (ajp--0.0.0.0-8009-9) Lock Acquired to object EngineLock [exclusiveLocks= key: DISK value: c7de39a6-cff9-4d84-818d-46eb781b0787 , sharedLocks= ] 2012-05-06 12:23:34,620 WARN [org.ovirt.engine.core.bll.RemoveDiskCommand] (ajp--0.0.0.0-8009-9) CanDoAction of action RemoveDisk failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_STOARGE_DOMAIN_IS_WRONG The disk isn't removed but the object remains locked. When trying to remove the same disk again, the following failure appears: "Error: Cannot remove Virtual Machine Disk. Same action in progress." 2012-05-06 12:24:34,684 INFO [org.ovirt.engine.core.bll.RemoveDiskCommand] (ajp--0.0.0.0-8009-10) Failed to Acquire Lock to object EngineLock [exclusiveLocks= key: DISK value: c7de39a6-cff9-4d84-818d-46eb781b0787 , sharedLocks= ] 2012-05-06 12:24:34,685 WARN [org.ovirt.engine.core.bll.RemoveDiskCommand] (ajp--0.0.0.0-8009-10) CanDoAction of action RemoveDisk failed. Reasons:VAR__ACTION__REMOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_OBJECT_LOCKED