Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1323613

Summary: Released and scrubbed PersistentVolume never Available
Product: OpenShift Container Platform Reporter: Tomas Schlosser <tschloss>
Component: NodeAssignee: Andy Goldstein <agoldste>
Status: CLOSED DUPLICATE QA Contact: DeShuai Ma <dma>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: aos-bugs, avagarwa, jokerman, maschmid, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-04 17:10:32 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 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 ***