Bug 1323613 - Released and scrubbed PersistentVolume never Available
Summary: Released and scrubbed PersistentVolume never Available
Keywords:
Status: CLOSED DUPLICATE of bug 1310587
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Node
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Andy Goldstein
QA Contact: DeShuai Ma
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-04 09:00 UTC by Tomas Schlosser
Modified: 2016-04-04 17:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-04 17:10:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Tomas Schlosser 2016-04-04 09:00:31 UTC
Description of problem:
Deleting a PersistentVolumeClaim and then creating a new one with the same name before the PV is in Available state again results in 'Released' PV.

This causes infinite loop where OSE scrubs the PV, but it is never marked 'Available' and another round of scrubbing.

Version-Release number of selected component (if applicable):
atomic-openshift-3.2.0.4-1.git.0.4717e23.el7.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Create an application with PVC
2. Delete the PVC
3. Create a new PVC with the same name

Actual results:
OpenShift scrubs the original PV, but does not mark it 'Available'

Expected results:
OpenShift scrubs the original PV and marks it 'Available'

Additional info:
It's sometimes tricky to create the PVC in the right moment, so generate some data on the volume first (so scrubbing takes a while).

Comment 1 Avesh Agarwal 2016-04-04 17:04:11 UTC
I am looking into reproducing this, as nobody seems to be working on this and Andy is on PTO today.

Comment 2 Avesh Agarwal 2016-04-04 17:09:38 UTC
As per Andy this bz is dupe of https://bugzilla.redhat.com/show_bug.cgi?id=1310587, and should be addressed by https://github.com/openshift/origin/pull/8100 .

Comment 3 Avesh Agarwal 2016-04-04 17:10:32 UTC

*** This bug has been marked as a duplicate of bug 1310587 ***


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