Bug 1051124
| Summary: | Can't delete domain | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Juan Pablo Lorier <jplorier> | ||||
| Component: | ovirt-engine-webadmin | Assignee: | Maor <mlipchuk> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Carlos Mestre González <cmestreg> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.3 | CC: | acanan, amureini, bugs, ecohen, iheim, jplorier, kgoldbla, mgoldboi, mlipchuk, rbalakri, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3.5.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | ovirt-engine-3.5.0_beta1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-10-17 12:30:28 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: |
|
||||||
|
Description
Juan Pablo Lorier
2014-01-09 17:54:48 UTC
setting target release to current version for consideration and review. please do not push non-RFE bugs to an undefined target release to make sure bugs are reviewed for relevancy, fix, closure, etc. Juan Pablo - can you please attach the relevant engine/vdsm logs? Maor, didn't you handle something similar a while ago? I'm sorry for the delay, but was attending other issues. I'm attaching todays part of the engine log (vdsm has no info at all for this operation) Created attachment 851156 [details]
the log of the day
Here (at the latest records) I try first to remove a vm from the gluster cluster and cna't as the gluster storage domain is down. Then I try to remove the gluster storage domain and can't as it complaint it has vms in it.
(In reply to Juan Pablo Lorier from comment #5) > Created attachment 851156 [details] > the log of the day > > Here (at the latest records) I try first to remove a vm from the gluster > cluster and cna't as the gluster storage domain is down. Then I try to > remove the gluster storage domain and can't as it complaint it has vms in it. Did you try to 'destroy' the domain? destroy is meant to allow you to get rid of a storage domain from the engine when you have no access to the data (i.e. VMs would not be deleted from the storage and it's up to you as the user to clean up afterwards). But it is generally recommended to properly cleanup (hence it is a separate action available through context sensitive menu). I did at a last resource. Even the, things didn't work as well as spected as there were a lot of things that were left behind by the destroy. Pretty much, everything related to the gluster volume was not removed from the database (name of the cluster, bricks, and the volume itself) so I had to manually remove them from the database in order to reconstruct the DC. What I want with this but is that the dependencies of the components in a DC are reviewed to contemplate a path to "cleanly" remove the VMs from a storage in down state so the storage can be removed, and in the case of a glusterfs domain, been able to detach the volume somehow. I prefer this way to destroying the hole DC and then have to rebuild it from the top. Regards, The behaviour of detach has been changed in version 3.5. You should be able to detach a storage domain/Remove a Data Center with VMs/Templates and disks in it. Those entities should be removed from the DB. Take in notice that the cluster and the Host will still exist in the setup and should be attached to another DC Ok, thanks. I'll try that as soon as we upgrade to 3.5. Regards I was able to detach the Storage Domain. I had to turn off the VM's before moving the Domain to maintainance mode. Moving to Verify oVirt 3.5 has been released and should include the fix for this issue. |