-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I used the /datastoreresources endpoint to find the fcdId of the volume I want to migrate.
{
"datacenter": "MyDatacenter",
"datastore": "SourceDatastore",
"totalVolumes": 132,
"containerVolumes": [
{
"fcdId": "287e1630-26f6-419e-a375-b2bdba724710",
"fcdName": "pvc-9d6aa201-2bae-4b96-91f7-9a48d574b98d",
"attachmentDetails": {
"attached": true,
"vm": "staging-master-pool-7ccf8d9669-97m66"
},
"host": "10.165.32.191"
},
When sending the following request I get the error below:
curl --location --request POST 'http://10.166.153.15:30008/1.0.0/migratevolumes?datacenter=MyDatacenter&targetDatastore=TargetDatastore&fcdIdsToMigrate=287e1630-26f6-419e-a375-b2bdba724710' \
--header 'Accept: application/json' \
--header 'Authorization: Basic XYZ' \
--data-raw ''
{
"message": "failed to migrate volumes.",
"error": "the server could not find the requested resource"
}
Reproduction steps
- Post to
/migratevolumes?with fcdId from/datastoreresources
Expected behavior
Should return job-id
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working