Bug 1351535
Summary: | Need error logging on volume create failures | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anoop <annair> |
Component: | heketi | Assignee: | Mohamed Ashiq <mliyazud> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | rhgs-3.1 | CC: | annair, hchiramm, madam, mliyazud, pprakash, rcyriac, rreddy |
Target Milestone: | --- | Keywords: | Reopened, ZStream |
Target Release: | CNS 3.4 | ||
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: | 2017-01-18 21:55:44 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: | 1385246 |
Description
Anoop
2016-06-30 09:19:03 UTC
The errors are definitely logged, I am not sure why they are not showing up. The error "Error: " is definitely bad, and is probably due to the same issue as BZ1350636 *** This bug has been marked as a duplicate of bug 1350636 *** This is the original bug, mark 1350636 as duplicate of this bug. *** Bug 1350636 has been marked as a duplicate of this bug. *** Is this still an issue? Could you please reproduce? according to the upstream issues this has meanwhile been fixed: https://github.com/heketi/heketi/issues/394 https://github.com/heketi/heketi/issues/412 I've tested this against the latest heketi build (heketi-3.1.0-3.el7rhgs.x86_64) and noticed that heketi server still doesn't log proper error message on any volume create failures. See below: ###### {"log":"[negroni] Started POST /volumes\n","stream":"stdout","time":"2016-11-24T11:04:11.642199782Z"} {"log":"[negroni] Completed 400 Bad Request in 215.879µs\n","stream":"stdout","time":"2016-11-24T11:04:11.642272341Z"} ####### Hence, moving it back to Assigned. PS: heketi-cli seems to correctly print the proper error message to stdout now. But the same should be logged in the server logs as well. Patch Upstream under review: https://github.com/heketi/heketi/pull/610 (In reply to Mohamed Ashiq from comment #14) > Patch Upstream under review: > > https://github.com/heketi/heketi/pull/610 merged upstream. Verified as fixed in the latest heketi build Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2017-0148.html |