Bug 1293666
Summary: | getStorageDomainsList successfully reports an empty list if a gluster volume with a storage domain is in Read-Only mode | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] vdsm | Reporter: | Simone Tiraboschi <stirabos> | ||||
Component: | Core | Assignee: | Nir Soffer <nsoffer> | ||||
Status: | CLOSED CANTFIX | QA Contact: | Aharon Canan <acanan> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.17.13 | CC: | amureini, bugs, nsoffer, sabose, sbonazzo, willarddennis, ylavi | ||||
Target Milestone: | ovirt-3.6.3 | Flags: | amureini:
ovirt-3.6.z?
rule-engine: planning_ack? rule-engine: devel_ack? rule-engine: testing_ack? |
||||
Target Release: | 4.17.13 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-22 20:58:59 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
Simone Tiraboschi
2015-12-22 15:50:22 UTC
Created attachment 1108669 [details]
hosted-engine-setup and VDSM logs
(In reply to Simone Tiraboschi from comment #0) > Now the user tries to deploy the third hosted engine host but > hosted-engine-setup reports that there is no previous storage domain on the > gluster volume and so it assumes that it's the first host. Hosted engine setup should not make such assumptions and should not decide if this is a first time install or adding another host. There can be other issues causing vdsm not to see the hosted engine storage domain. The user should select if he wants to add a host or create a the first host. The installer should fail if storage is not in the expected state for the user choice. I agree that the expected result is nicer, but due to the way vdsm is designed, we cannot fix this without redesigning the storage domain cache mechanism. The failure is hidden by the cache mechanism, so getStorageDomainList does not see the gluster domain in read only mode, and cannot return it. Since this case is a double failure (less useful response after storage failure), I don't think we should do anything about this. Closing for now. So basically you suggest to workaround a vdsm bug by moving the decision to the user? (In reply to Sandro Bonazzola from comment #3) > So basically you suggest to workaround a vdsm bug by moving the decision to > the user? No, I'm suggesting that the setup tool should not try to take decisions for the user. The setup tool can show the state of the system and suggest the best action, like adding a new host if find an existing storage domain. But this is not in the scope of this bug. In this bug, vdsm cannot find the domain after a storage server failure. We don't have a way to report such failures due to the way these failures are handled in the storage domain cache. |