Bug 1784899
Summary: | MigPlan data lost after failed migration | |||
---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sergio <sregidor> | |
Component: | Migration Tooling | Assignee: | Jeff Ortel <jortel> | |
Status: | CLOSED WONTFIX | QA Contact: | Sergio <sregidor> | |
Severity: | medium | Docs Contact: | Avital Pinnick <apinnick> | |
Priority: | medium | |||
Version: | 4.2.0 | CC: | apinnick, chezhang, jmatthew, jortel, rpattath, xjiang | |
Target Milestone: | --- | |||
Target Release: | 4.4.z | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1831616 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-27 16:03:30 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: | ||||
Bug Depends On: | 1831616 | |||
Bug Blocks: |
Description
Sergio
2019-12-18 15:53:17 UTC
This is the migmigration that failed, so that we can track the phase where it failed (StageBackupFailed). apiVersion: migration.openshift.io/v1alpha1 kind: MigMigration metadata: annotations: touch: a2b7832b-c2c0-4fe6-a09e-0292c6cfae0c creationTimestamp: "2019-12-18T13:44:26Z" generation: 14 name: trying-without-using-ui namespace: openshift-migration ownerReferences: - apiVersion: migration.openshift.io/v1alpha1 kind: MigPlan name: tobefailed-noui uid: 0ccb7eae-219c-11ea-8ff9-42010a000004 resourceVersion: "582790" selfLink: /apis/migration.openshift.io/v1alpha1/namespaces/openshift-migration/migmigrations/trying-without-using-ui uid: 81a80b72-219c-11ea-9c4c-42010a000006 spec: migPlanRef: name: tobefailed-noui namespace: openshift-migration quiescePods: true stage: false status: conditions: - category: Advisory durable: true lastTransitionTime: "2019-12-18T13:45:24Z" message: 'The migration has failed. See: Errors.' reason: StageBackupFailed status: "True" type: Failed errors: - 'Backup: openshift-migration/trying-without-using-ui-wwb9h partially failed.' phase: Completed startTimestamp: "2019-12-18T13:44:26Z" The failed migration has: quiescePods: true. When the migration fails and the plan is un-suspended which resumes PV discovery. Since the pod has been scaled-down, the PV is no longer found during PV discovery and is removed from the list. This is working as designed. To remedy this, the user will need to scale the pod back up. Once the application pod is up and running, the PV list will be repopulated by the controller discovery. Unfortunately, the user's choices will be gone. For now, let's document this a a known issue. The behavior noted will remain for CAM 1.2.x, i.e if a migration fails and is restarted the previous selections for PV migration are lost. We do not intend to fix this in the 1.2 z-stream. We have a known issue documented here: https://github.com/openshift/openshift-docs/pull/19021/files We will keep a clone of this BZ open against future release to consider modifying the behavior. Future tracked in https://bugzilla.redhat.com/show_bug.cgi?id=1831616 |