Esri / arcgis-cookbook

Chef cookbooks for ArcGIS
Apache License 2.0
297 stars 116 forks source link

Unable to proceed past Portal createSite when using S3 for content store #271

Closed anandak closed 3 years ago

anandak commented 3 years ago

Hi, I have been trying to setup 10.8.1 single machine base deployment with a shared content store and configuration store in S3. I will be adding another instance to this for HA. However, I have been unable to go past the Portal installation. While installing Portal, at the step where it runs create site, it errors out with the message "Invalid JSON format. Please check if the JSON string in the cloud-regions.json file is correctly formatted."

This is the json file I am using with chef-solo v14.14.29 arcgis-enterprise-windows.txt

and here is the chef stacktrace chef-stacktrace.txt

I also tried running the createSite operation manually by using portaladmin REST api endpoint. This works, and the image below shows the values I use for the content store. But when I run using chef-solo, I just keep getting the same 'invalid json' error. image

anandak commented 3 years ago

I was able to figure this out myself. Turns out that the config_store_connection_string for Server must be a string, whereas the content_store_connection_string for Portal must be a json object. I actually had them both formatted as a string and that's the reason why it was failing at createSite during portal installation.

The image below shows a working configuration with valid values image