Bug 2190336 - [FaaS-Migration] Migration script failed to initiate provider migration with providers in 2 different OCM account
Summary: [FaaS-Migration] Migration script failed to initiate provider migration with ...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: odf-managed-service
Version: 4.13
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Rewant
QA Contact: suchita
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-04-28 01:44 UTC by suchita
Modified: 2023-08-09 17:00 UTC (History)
4 users (show)

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


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github rchikatw odf-managed-service-migration pull 36 0 None Merged add changes to support multiple ocm account 2023-04-28 12:28:31 UTC

Description suchita 2023-04-28 01:44:45 UTC
Description of problem:
Migration script failed to initiate provider migration with providers in 2 different OCM account

$ ./migrate.sh -provider 23bqevl84nil02oqbqvah97e6qo8m49c 23br4p4r8mijt56l2nq0bhqhu03dj59u -d -dev
Cluster '23bqevl84nil02oqbqvah97e6qo8m49c' not found

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


How reproducible:


Steps to Reproduce:
1. Deploy the ROSA cluster in Dev OCM account, install Faas agent provider
2. Deploy appliance mode cluster with provider and onboard 1-2 consumer
3. migrate the provider:

Actual results:
Faile to initiate migration 

Expected results:
Migration should complete successfully

Additional info:

Comment 2 Ritesh Chikatwar 2023-04-28 12:27:42 UTC
Hello,

The PR with the fix is merged https://github.com/rchikatw/odf-managed-service-migration/pull/36. Now The script will ask for 2 more inputs after script executed
1. OCM token for old/backup cluster.
2. OCM token for new/migrated cluster.

Please take the latest change and rerun the migration.

Comment 3 suchita 2023-05-05 06:51:31 UTC
Inter-OCM account Migration is completed successfully. 

more outputs captured Here in doc:https://docs.google.com/document/d/13FeKH1zImP8pMqDDlpapNDkpk3iVmBg2FcRIHLPN7Xc/edit?usp=sharing

Hence Marking this BZ as verified. 

verified with ROSA4.12 and ODF4.12.3-12 Fass Provider migration setup.


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