Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1326879 - PV Recycler does not provide adequate error information during failure
PV Recycler does not provide adequate error information during failure
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Storage (Show other bugs)
3.1.0
Unspecified Linux
unspecified Severity medium
: ---
: ---
Assigned To: Erin Boyd
Liang Xia
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-13 11:54 EDT by Boris Kurktchiev
Modified: 2017-03-08 13 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-01-18 07:39:53 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0066 normal SHIPPED_LIVE Red Hat OpenShift Container Platform 3.4 RPM Release Advisory 2017-01-18 12:23:26 EST

  None (edit)
Description Boris Kurktchiev 2016-04-13 11:54:56 EDT
Description of problem:
I have a PV which failed to be recycled. The error from OSE is: Message:	Recycling error: Pod failed, pod.Status.Message unknown.

This does not really give me any sort of indication as to what happened. The recycle pod was not alive long enough for me to actually look at its logs (it was created/failed and deleted in the span of about 2 seconds).

Version-Release number of selected component (if applicable):
oc v3.1.1.6-33-g81eabcc
kubernetes v1.1.0-origin-1107-g4c8e6f4

How reproducible:
Create a hostPath volume and add it as a PV, bind it to a project then release it.

Steps to Reproduce:
1. Add HostPath PV
2. Use Metrics project and tell Cassandra to bind to it
3. Re-deploy the metrics infrastructure with REDEPLOY=true
4. See that the PV is in Failed mode

Actual results:
Failed to clean PV

Expected results:
Clean up of PV or better error message. Maybe error that points me to docker ps -a | grep $podname ?

Additional info:
Comment 1 Bradley Childs 2016-04-14 14:55:13 EDT
Is this same issue or a dupe of this: https://bugzilla.redhat.com/show_bug.cgi?id=1326881
Comment 2 Boris Kurktchiev 2016-04-14 15:09:24 EDT
They are two distinct issues. One (this one) is a problem with the error reporting of OSE as to what/why something failed. The other issue is an issue with the pv recycler. So maybe they are caused by the same problem but to me they are totally separate things.
Comment 3 Erin Boyd 2016-08-09 16:02:28 EDT
Jan's changes to 1.3 with the binding code improved this error. Please revalidate. The operation executor might also improve this. Waiting on this to be merged.
Comment 4 Erin Boyd 2016-10-26 15:33:38 EDT
Re-test please.
Comment 5 Erin Boyd 2016-10-26 15:37:03 EDT
Please retest
Comment 6 Liang Xia 2016-10-28 01:29:10 EDT
Tested on below version,
# openshift version
openshift v3.4.0.16+cc70b72
kubernetes v1.4.0+776c994
etcd 3.1.0-rc.0

"oc describe pv pv_name" show a descriptive Message and Events.

So this bug is fixed.

Once bug is QN_QA, we can move it to verified.
Comment 7 Troy Dawson 2016-10-28 16:03:06 EDT
This has been merged into ose and is in OSE v3.4.0.17 or newer.
Comment 10 errata-xmlrpc 2017-01-18 07:39:53 EST
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://access.redhat.com/errata/RHBA-2017:0066

Note You need to log in before you can comment on or make changes to this bug.