Bug 2100828 - [MTC UI] Error popup in UI on deleting migstorage resource
Summary: [MTC UI] Error popup in UI on deleting migstorage resource
Keywords:
Status: ASSIGNED
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.7.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
: 1.7.z
Assignee: Mike Turley
QA Contact: ssingla
Richard Hoch
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-24 11:43 UTC by Prasad Joshi
Modified: 2022-08-25 13:04 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prasad Joshi 2022-06-24 11:43:24 UTC
Description of problem: Created a backupStorage cred secret in openshift-migration, when I removed migstorage object from UI. Got a 404 error in popup. Also the underlying secret is not getting removed.

Version-Release number of selected component (if applicable):
Source GCP 4.6   MTC 1.7.2 + OADP 1.0.3
Target GCP  4.10   MTC 1.7.2 + OADP 1.0.3


How reproducible: 
Always


Steps to Reproduce:
1. Create a backupStorage cred secret in openshift-migration namespace.
2. Create migstorage resource from backend
3. Remove migstorage object from UI 

Actual results:  Getting 404 status code popup in UI, also the secrets are not getting removed.


Expected results: popup message shouldn’t display 404 error in UI, secret should get removed from the namespace.


Additional info:

$ oc get migstorage -n openshift-migration camreplication -o yaml

apiVersion: migration.openshift.io/v1alpha1
kind: MigStorage
metadata:
  name: camreplication
  namespace: openshift-migration
spec:
  backupStorageConfig:
    credsSecretRef:
      name: automatic-xbxmz
      namespace: openshift-migration
    gcpBucket: camreplication
  backupStorageProvider: gcp
  volumeSnapshotConfig:
    credsSecretRef:
      name: automatic-xbxmz
      namespace: openshift-migration
  volumeSnapshotProvider: gcp


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