Bug 1854908 - Stage pods stuck as a PVC they are trying to attach is in 'Terminating'
Summary: Stage pods stuck as a PVC they are trying to attach is in 'Terminating'
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Migration Tooling
Version: 4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.5.0
Assignee: Jeff Ortel
QA Contact: Xin jiang
URL:
Whiteboard:
Depends On:
Blocks: 1854914
TreeView+ depends on / blocked
 
Reported: 2020-07-08 12:36 UTC by John Matthews
Modified: 2020-09-30 18:42 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1854914 (view as bug list)
Environment:
Last Closed: 2020-09-30 18:42:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4148 0 None None None 2020-09-30 18:42:56 UTC

Description John Matthews 2020-07-08 12:36:25 UTC
Description of problem:

Sometimes a migration may fail as the stage pods are created and stay in Pending as they are unable to mount a PVC due to it being stuck in a Terminating state.

To recreate:
1) Create a Pod that mounts a PVC
2) Create a MigPlan that references the Pod and PVC
3) Delete the PVC while it is mounted to the Pod, PVC will be in terminating
4) Run a migration with the MigPlan

Comment 1 John Matthews 2020-07-08 12:37:08 UTC
Fixed via https://github.com/konveyor/mig-controller/pull/583

Comment 4 Sergio 2020-09-17 10:23:34 UTC
Verified in MTC 1.3
SOURCE CLUSTER: Azure 4.2
TARGET CLUSTER: Azure 4.5
Replication repository: Azure

Verified executing testcase "OCP-32834 - Migrate application that a PVC they are trying to attach is in 'Terminating'"

Migration will now fail with:

    errors:
    - 'PVC: ocp32834/mysql, deleted.'
    itenerary: Failed


Moved to VERIFIED status.

Comment 8 errata-xmlrpc 2020-09-30 18:42:32 UTC
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 (Migration Toolkit for Containers (MTC) Tool image release advisory 1.3.0), 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-2020:4148


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