vmware-samples / cloud-native-storage-self-service-manager

Cloud Native Storage (CNS) Manager is a diagnostic and self-service tool that helps detect and auto-remediate some of the known issues in storage control plane.
Apache License 2.0
15 stars 4 forks source link

ClusterId \"demo\" not registered in CNS manager inventory #21

Closed hc2p closed 1 year ago

hc2p commented 1 year ago

Describe the bug

I get the following error, when trying to migrate a volume:

{
    "message": "failed to migrate volumes.",
    "error": "ClusterId \"demo\" not registered in CNS manager inventory"
}

Reproduction steps

  1. curl --location --request POST 'http://10.166.153.15:30008/1.0.0/migratevolumes?datacenter=MyDatacenter&targetDatastore=TargetDatastore&fcdIdsToMigrate=25747125-6f2a-459a-8ab5-3cec2d6bb1f8' \ --header 'Accept: application/json' \ --header 'Authorization: Basic XYZ \ --data-raw ''

Expected behavior

Should return a volumemigrationjob ID

Additional context

No response

hc2p commented 1 year ago

My bad, i did not register the cluster 👍