Bug 2240052 - [UI] CA bundle file field is not clearedproperly
Summary: [UI] CA bundle file field is not clearedproperly
Keywords:
Status: NEW
Alias: None
Product: Migration Toolkit for Containers
Classification: Red Hat
Component: UI
Version: 1.8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: John Matthews
QA Contact: ssingla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-09-21 14:20 UTC by mohamed
Modified: 2023-09-21 15:00 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 mohamed 2023-09-21 14:20:32 UTC
Description of problem:

After enabling 'Require SSL verification' and adding content to the CA bundle file for an MCG NooBaa bucket in migstorage, the connection fails as expected. However, when reverting these changes by removing the CA bundle content and unchecking 'Require SSL verification,' the connection still fails. The issue is only resolved by deleting and re-adding the repository.


Version-Release number of selected component (if applicable):
MTC 1.8.0

How reproducible:
Always

Steps to Reproduce:

1. Edit the migstorage bucket
2. check require SSL verification
3. add CA cert
4. click update repository
5. Remove CA cert & uncheck require SSL verification
6. click update repository


Actual results:
The changes are not reverted causing the bucket shows connection failed

Expected results:
the changes should be proerly cleared and the connection should be successfull

Additional info:
On migstorage in API insecure: true is properly set again, but s3CustomCABundle is still set:
    backupStorageConfig:
      awsBucketName: migstorage
      awsRegion: ""
      awsS3Url: https://s3-ocs-storage.apps.cam-man-tgt.qe.devcluster.openshift.com
      credsSecretRef:
        name: automatic-xxxrm
        namespace: openshift-config
      insecure: true
      s3CustomCABundle: Vm1wR1UxUXlSbkpQVm1SU1lrZG9WMVpyVWtaTmJIQnVVRlF4ZW1RPWY=


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