Bug 1352875
Summary: | Check for return code when glusterd is started in upgrade scenario | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Anuradha <atalur> |
Component: | packaging | Assignee: | Kaleb KEITHLEY <kkeithle> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, mchangir |
Target Milestone: | --- | Keywords: | EasyFix, StudentProject, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-12 12:45:24 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: |
Description
Anuradha
2016-07-05 11:09:55 UTC
In the %post server section scriptlet, glusterd runs in an upgrade mode testing for a running glusterd instance before proceeding. In the event that the glusterd upgrade fails, it exits with a non-zero exit code. In such a case, an explicit WARNING should now be emitted to the console from the scriptlet indicating an upgrade failure. Also, a normal path glusterd restart is to be avoided if glusterd was found to be running before the upgrade was attempted and the scriptlet should return a non-zero exit code to mark an upgrade failure. Considering this is not worked on in last 3 years, inclined towards closing DEFERRED. This bug is moved to https://github.com/gluster/glusterfs/issues/939, and will be tracked there from now on. Visit GitHub issues URL for further details |