I have an HDInsight cluster in Azure Government and want to add an additional storage account that resides in Azure Government.
I’m attempting to do this via the portal’s Script Actions > + Submit New > Add an Azure Storage account and providing my Azure Government storage account’s name and key.
This fails with the error (from the cluster’s output file in /var/lib/ambari-agent/data/output-XXXX.txt
):
Key encryption is enabled STORAGE ACCOUNT IS: testgovwebiaasdiag
Validate storage account creds: Invalid Credentials provided for
storage account ('Start downloading script locally: ',
u'https://hdiconfigactions.blob.core.windows.net/linuxaddstorageaccountv01/add-storage-account-v01.sh')
Fromdos line ending conversion successful ('Unexpected error:',
"('Execution of custom script failed with exit code', 139)")
Looking at the documentation for “Add additional storage accounts to HDInsight”, there is no indication that this script supports Azure Government. What is the recommended path forward? Should I download the script and modify it? If so, what modifications are needed to support Azure Government?