AWS account doesn't log in with AssetPortalServer


#1

Hi there.
I am testing Deadline with the AWS portal integration. The AWS Account logs in fine in the Deadline Monitor, even I can create some infraestructure.
But I can’t install the AssetPortalServer, the same account id doesn’t work and the installer says it’s incorrect.
The Asset Portal Server version is the 10.0.23.4 for linux.


#2

Hey Javier,

Can you please provide the exact error? It could be that your account has not fully been initialized yet, which this link can help with.

https://aws.amazon.com/premiumsupport/knowledge-center/error-access-service/

I’ve also seen issues with white space being added when copy/pasting keys, common when copying a cell from excel. Make sure you are selecting the text within the cell when copying the keys.

Regards,

Charles


#3

I run the instaler under Linux, in text mode:

Select the components you want to install; clear the components you do not want
to install. Click Next when you are ready to continue.

AWSPortalLink [Y/n] :n

AWSPortalAssetServer [Y/n] :

Is the selection above correct? [Y/n]:


The directory where AWSPortalAssetServer will be installed.

Installation Directory [/opt/Thinkbox/AWSPortalAssetServer]:


AWS Credentials

Please enter your master AWS credentials.

The installer will use these to create S3 buckets for caching assets and the
necessary users and roles for Asset Server to use them (if AWS Portal Server is
being installed), and store the credentials for use when launching AWS
instances.

AWS Access Key ID [AKXXXXXXXXXXXXXXXXXX]:

AWS Secret Access Key [********] :

Warning: Unable to authenticate the AWS credentials provided. Please re-enter
them and try again. Check the installer log for more information.
Press [Enter] to continue


That access ID works when I access the AWS Portal


#4

Hey Javier,

Can you please retrieve the bitrock installer logs from /tmp they might reveal some extra info.

Regards,

Charles


#5

Sure:

root@c3po:/tmp# more bitrock_installer_13043.log
Log started 02/08/2019 at 11:31:28
Preferred installation mode : text
Trying to init installer in mode text
Mode text successfully initialized
Setting variable DEADLINE_VERSION from /opt/Thinkbox/Deadline10/bin/deadlinecommand -GetVersion
Script exit code: 0

Script output:
v10.0.23.4 Release (e0d42871d)

Script stderr:

Executing /opt/Thinkbox/Deadline10/bin/deadlinecommand -ExecuteScriptNoGui “/tmp/validate.py” --aws-credentials
Script exit code: 1

Script output:
Error: SystemExit : 1
File “/tmp/validate.py”, line 74, in main
sys.exit(retval)

Script stderr:
child process exited abnormally

Unable to authenticate the AWS credentials provided. Please re-enter them and try again. Check the installer log for more information.
[11:31:59] Error: SystemExit : 1
File “/tmp/validate.py”, line 74, in main
sys.exit(retval)

child process exited abnormally
Executing /opt/Thinkbox/Deadline10/bin/deadlinecommand -ExecuteScriptNoGui “/tmp/validate.py” --aws-credentials
Script exit code: 1

Script output:
Error: SystemExit : 1
File “/tmp/validate.py”, line 74, in main
sys.exit(retval)

Script stderr:
child process exited abnormally

Unable to authenticate the AWS credentials provided. Please re-enter them and try again. Check the installer log for more information.
[11:45:53] Error: SystemExit : 1
File “/tmp/validate.py”, line 74, in main
sys.exit(retval)

child process exited abnormally


#6

What Linux distro and version are you using? Have you confirmed there is no white space in your entries. Copy to a text editor first before pasting into the installer. Looking at validate.py we are just doing a simple validation on those access/secret keys.


#7

I am using Debian 9. I put the keys from the csv generated by IAM and put them in the command line. No luck.
Any suggestions?