Bug 1218556
| Summary: | [TEXT][engine-backend] 'General Exception' while trying to add a local storage domain with a wrong owner id | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Elad <ebenahar> | ||||
| Component: | ovirt-engine-core | Assignee: | Fred Rolland <frolland> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Aharon Canan <acanan> | ||||
| Severity: | low | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 3.6 | CC: | amureini, bugs, ecohen, gklein, lsurette, rbalakri, tnisan, yeylon | ||||
| Target Milestone: | m1 | ||||||
| Target Release: | 3.6.0 | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-07-07 13:35:36 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: |
|
||||||
(In reply to Elad from comment #0) > Expected results: > Engine should know how to handle with this issue Just to clarify - we can't chmod/chown a directory. The only thing to do here is to have engine report a more coherent error. (In reply to Allon Mureinik from comment #1) > (In reply to Elad from comment #0) > > Expected results: > > Engine should know how to handle with this issue > Just to clarify - we can't chmod/chown a directory. > The only thing to do here is to have engine report a more coherent error. Of course. I meant that engine should know how to handle with such failure from vdsm like it does when creating a non local domain with a wrong owner path. *** This bug has been marked as a duplicate of bug 1112171 *** |
Created attachment 1022119 [details] logs from host and engine Description of problem: Tried to create a new local storage domain while the path I gave wasn't set with the right vdsm:kvm owner. I got the following error message: Operation Canceled Error while executing action Add Storage Connection: General Exception Version-Release number of selected component (if applicable): ovirt-3.6.0-1 vdsm-4.17.0-632.git19a83a2.el7.x86_64 ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764.el6.noarch How reproducible: Always Steps to Reproduce: 1. Create a local DC 2. Create a local storage domain, give a path which its owner id is not vdsm:kvm 3. Actual results: Engine blocks the operation on CDA, but with a 'General Exception' message instead of an informative one: 2015-05-05 12:07:42,719 ERROR [org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand] (ajp--127.0.0.1-8702-1) [4e7db0b1] Command 'org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand' failed: VdcBLLException: GeneralException (Failed with error GeneralException and code 100) Expected results: Engine should know how to handle with this issue Additional info: logs from host and engine