I am hitting this error and not able to proceed.
root@ip-172-31-14-55:/usr/local/bin# taskcat -c projectx/ci/CONFIG_YML -A AKIAJBC4OWHO4R3TYPSQ -S Tavlui7b0m2XpyoE+NHRdivqXDA/vhqhT+FkaS/o
[dockerize]
| |_ __ _ | | _____ __ | |
| _/ / __| |/ / __/ _
| __|
| || (| _ \ < (| (| | |
__,|/|____,|__|
version 2017.706.143043
[taskcat] :AWS AccountNumber: [299743145002]
[taskcat] :Authenticated via: [role]
[TASKCAT ] :Reading Config form: projectx/ci/CONFIG_YML
[taskcat] :Reading Config form: projectx/ci/CONFIG_YML
[taskcat] |Queing test => taskcat-test1
[taskcat] |CONTENTS OF S3 BUCKET
[INFO ] :Staging Bucket => taskcat-projectx-2b212a28
taskcat-projectx-2b212a28/projectx/ci/CONFIG_YML
taskcat-projectx-2b212a28/projectx/ci/ibm-spectrum-scale-on-aws-quickstart.json
taskcat-projectx-2b212a28/projectx/ci/templates/ibm-spectrum-scale-on-aws-quickstart-master.template
[taskcat] :Validate Template in test[taskcat-test1]
[INFO ] :No cleanup value set
[INFO ] : - (Defaulting to cleanup)
Traceback (most recent call last):
File "/usr/local/bin/taskcat", line 53, in
main()
File "/usr/local/bin/taskcat", line 43, in main
tcat_instance.validate_template(taskcat_cfg, test_list)
File "/usr/lib/python3.5/site-packages/taskcat/stacker.py", line 582, in validate_template
self.define_tests(taskcat_cfg, test)
File "/usr/lib/python3.5/site-packages/taskcat/stacker.py", line 1187, in define_tests
self.get_s3_url(self.get_template_file()))
File "/usr/lib/python3.5/site-packages/taskcat/stacker.py", line 420, in get_s3_url
Bucket=self.get_s3bucket())
File "/usr/lib/python3.5/site-packages/botocore/client.py", line 310, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/usr/lib/python3.5/site-packages/botocore/client.py", line 586, in _make_api_call
operation_model, request_dict)
File "/usr/lib/python3.5/site-packages/botocore/endpoint.py", line 141, in make_request
return self._send_request(request_dict, operation_model)
File "/usr/lib/python3.5/site-packages/botocore/endpoint.py", line 166, in _send_request
request = self.create_request(request_dict, operation_model)
File "/usr/lib/python3.5/site-packages/botocore/endpoint.py", line 150, in create_request
operation_name=operation_model.name)
File "/usr/lib/python3.5/site-packages/botocore/hooks.py", line 227, in emit
return self._emit(event_name, kwargs)
File "/usr/lib/python3.5/site-packages/botocore/hooks.py", line 210, in _emit
response = handler(**kwargs)
File "/usr/lib/python3.5/site-packages/botocore/signers.py", line 90, in handler
return self.sign(operation_name, request)
File "/usr/lib/python3.5/site-packages/botocore/signers.py", line 154, in sign
auth.add_auth(request)
File "/usr/lib/python3.5/site-packages/botocore/auth.py", line 408, in add_auth
super(S3SigV4Auth, self).add_auth(request)
File "/usr/lib/python3.5/site-packages/botocore/auth.py", line 340, in add_auth
raise NoCredentialsError
botocore.exceptions.NoCredentialsError: Unable to locate credentials
root@ip-172-31-14-55:/usr/local/bin#
I configured aws as well but still I am getting the above error.
root@ip-172-31-14-55:/usr/local/bin# aws configure list
Name Value Type Location
---- ----- ---- --------
profile None None
access_key ****************YPSQ shared-credentials-file
secret_key ****************aS/o shared-credentials-file
region us-west-2 config-file ~/.aws/config
root@ip-172-31-14-55:/usr/local/bin#