NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

EF & E-Series, SANtricity, and Related Plug-ins

Error in executing API call for create a snapshot volume

floydf
3,025 Views

Hey guys,

I am creating a script for dealing with failover of volumes on one host to another host, both in a SANtricity environment. While executing the API call for create a snapshot volume, it is identified that the essential parameters are snapshotImageId and name of snapshot volume. A snippet of my inputsis as follows:

 

{  "snapshotImageId": 34xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx6,
  "fullThreshold": 85,
  "name": abcd,
  "viewMode": readWrite,
  "repositoryPercentage": 20
}

 

I am receiving the following error on execution of post/storage-systems/{system-id}/snapshot-volumes:

 

Problem accessing /devmgr/v2/storage-systems/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/snapshot-volumes.

Reason: <pre> Bad Request</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/> </body> </html>

 

and response code is 400.

 

Does anyone know of any parameters I'm missing from the API call body?

0 REPLIES 0
Public