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.

Network and Storage Protocols

snapdiff REST API failure creating snapdiff session

PeteTanenhaus
1,615 Views

I am getting the following error from the version 3 REST API for creating a snapdiff session:

 

"error":{"code":"6691630", "message":"Server temporarily unavailable. Try again later."

 

This is the REST API issue via curl :

#######################################################
# Create Snapdiff session                                                                                  #
#                                                                                                                                    #
# Input                                                                                                                        #
#   Volume UUID                                                                                                      # 
#   Cluster Credentials                                                                                           #

#   License token string                                                                                         #
#   JSON File with snapdiff parameters                                                         #
#                                                                                                                                     #
# Output: On success, snapdiff session information                               #
#                                                                                                                                     #
# Format of the snapdiff parameter JSON file                                           #
#   name and uuid of base and diff snapshots                                            #
#   cifs for windows, nfs for linux                                                                      #
#                                                                                                                                     #
#                                                                                                                                     #
# {
#   "application" : {
#   "name" : "appname",
#   "type" : "backup"
#   },
#   "base_snapshot" : {
#   "name" : "TestBaseSnap1",
#   "uuid" : "96e29a84-3edd-11ef-8478-d039ea3a0359"
#   },
# "diff_snapshot" : {
# "name" : "TestDiffSnap1",
# "uuid" : "d07478f5-3edd-11ef-8478-d039ea3a0359"
# },
# "file_access_protocol" : "cifs",
# "report_file_attributes" : "true",
# "max_diffs" : 256
# }
###########################################################

curl -kiu snapdiff_svm:password -X POST https://cluster_host_name.com/api/storage/volumes/volume_uuid/snapdiff/sessions?return_records=true -d @c:\netapp\snapdiff.json -H "X-Netapp-Authorization: Bearer license_token_string"

 

I have enabled the snapdiff RPC server and the problem persists

 

Any advice or suggestions would be greatly appreciated.

 

Thanks ...

0 REPLIES 0
Public