| Summary: | RFE: Implement batch processing that stops on first error | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jaroslav Kortus <jkortus> |
| Component: | pcs | Assignee: | Chris Feist <cfeist> |
| Status: | CLOSED NOTABUG | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.0 | CC: | abeekhof, cluster-maint, tojeline |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | 7.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-13 05:25:15 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1205796 | ||
|
Description
Jaroslav Kortus
2012-02-09 22:22:52 UTC
Chris, something to keep in mind when you're implementing pcs. Moving to the pcs component In pcs the -f flag works differently than in crm. It does not specify a file containing a batch of commands, it points to a file containing a CIB pcs should operate on. If an operation fails, pcs returns a non-zero exit status indicating a failure occurred. This can be used to detect failures in a script calling pcs. I spoke with Jaroslav and he agrees this is not an issue in pcs. Closing due to comment #7. Users can work on an offline cib, if they run into errors than they can decide to not load back into the system. |