StorageGRID Discussions

Configure Storagegrid via JSON

Connecting to https://XXX.XXX.XXX.XXX ("primary-admin-api-address" from config.json)
Connection verified (received 200)
2020/10/01 12:37:02: Performing PUT on grid-details... Received 422
Error: Received unexpected return code from the API: 422
Validation failed. Please check the values you entered for errors.
License is invalid.

 

I downloaded the License from the Portal. The File is a txt File. I copied the Signature String, but this won't work..

 Expecting "grid-details": {"license": } to be a string.

"grid-details": {
"name": "StorageGRID Deployment",
"license": "<Base64 encoded license text here>"

2 REPLIES 2
Highlighted

Re: Configure Storagegrid via JSON

> The File is a txt File. I copied the Signature String, but this won't work..

 

> "license": "<Base64 encoded license text here>"

 

Like the error says, the value must be a base64-encoded license string. Take your license string (I don't know if that is "Signature String", I've only ever used the free license included in SG archive package) and use your Google Fu to find how to convert it to Base64 (best to do that offline rather than use any online Web service).

View solution in original post

Highlighted

Re: Configure Storagegrid via JSON

more complicated that we thought..

Linux as an embedded Base64 encoder. Just base64 license.txt and you got it 😁

Cloud Volumes ONTAP
Review Banner
All Community Forums
Public