Bug 1232261
| Summary: | RFE: Blivet provides only partial device details on any major disk failure | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Timothy Asir <tjeyasin> |
| Component: | python-blivet | Assignee: | David Lehman <dlehman> |
| Status: | CLOSED WONTFIX | QA Contact: | RHS-C QE <rhsc-qe-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | dlehman, sabose, smohan, tjeyasin, vtrefny |
| Target Milestone: | --- | Keywords: | FutureFeature, ZStream |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-02-25 08:35:35 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1232275 | ||
|
Description
Timothy Asir
2015-06-16 11:38:56 UTC
This feels a lot like an RFE, so I'm changing the title to reflect this. There are a few kinds of errors that fall under the UnusableConfigurationError heading. The problem is that recovery might require different strategies for different errors and that any recovery strategies will be complicated. For example, one error is that of two vg's with the same name. Probably the only recovery strategy is to ignore them both and proceed. But, in that case, it seems like all their lvs should be ignored as well. And so forth. Encoding information about what error caused the device to be hidden is also a bit tricky. It would be reasonable if all devices that were hidden for a single reason shared a cause object of some sort. The same complicated caveats go for the other errors. An option is to extend the UnusableConfigurationError to identify the offending device, include it in ignored devices, and attempt a reset again, until quiescence or 0 devices found. But that is potentially very expensive. Scope is large, reassigning... Is there a plan to take this up? We need a way of knowing if the list is partial due to errors determining the device list. It seems like you could set a flag if/when you catch UnusableConfigurationError since that is a reliable indicator of errors determining the device list. Is that sufficient, or do you need more information than whether or not an error occurred when finding devices? I think we can atleast show the user there's an error returning the full device list, and yes, catching UnusableConfigurationError and setting a flag can work for us. I'm closing this RFE based on this. |