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

Bug 1763832

Summary: [RFE] Migration of unattached PVCs
Product: OpenShift Container Platform Reporter: Roshni <rpattath>
Component: Migration ToolingAssignee: John Matthews <jmatthew>
Status: CLOSED DUPLICATE QA Contact: Roshni <rpattath>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.2.0CC: dymurray
Target Milestone: ---   
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-05-04 18:31:12 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 Roshni 2019-10-21 17:26:24 UTC
Description of problem:
[RFE] Migration of unattached PVCs

Version-Release number of selected component (if applicable):
# oc describe pods/migration-operator-5c556ff676-df5h4 | grep Image
                    containerImage: image-registry.openshift-image-registry.svc:5000/rhcam/openshift-migration-rhel7-operator:v1.0
    Image:         image-registry.openshift-image-registry.svc:5000/rhcam/openshift-migration-rhel7-operator:v1.0
    Image ID:      image-registry.openshift-image-registry.svc:5000/rhcam/openshift-migration-rhel7-operator@sha256:c1d2deaa950ffe7070578aa3c945eea275efda905d9f34b0524344194fc2c776
    Image:          image-registry.openshift-image-registry.svc:5000/rhcam/openshift-migration-rhel7-operator:v1.0
    Image ID:       image-registry.openshift-image-registry.svc:5000/rhcam/openshift-migration-rhel7-operator@sha256:c1d2deaa950ffe7070578aa3c945eea275efda905d9f34b0524344194fc2c776


How reproducible:
always

Steps to Reproduce:
1. Create an app using helm with the chart https://github.com/sclorg/nodejs-ex/tree/master/helm/nodejs or any app the creates pvc but it is unattached.
2. Try migration of the project that has the above app.
3.

Actual results:
PVCs are not listed for migration on mig ui.

Expected results:
Jason's thoughts:

"if you create a pod that has the pvc attached you will see it. i'd guess with some time we could make it possible to migrate unattached pvc's.
the whole stage pod workflow for quiescing apps could probably be adapted to handle unattached pvc's."

Additional info:

Comment 1 John Matthews 2019-10-21 17:34:49 UTC
Tracked in upstream github issues for controller:
https://github.com/fusor/mig-controller/issues/204

Comment 3 John Matthews 2020-04-07 18:58:44 UTC
Tracked in JIRA:
https://issues.redhat.com/browse/MIG-179

Comment 4 John Matthews 2020-04-08 21:52:05 UTC
See also:  https://bugzilla.redhat.com/show_bug.cgi?id=1822380