Error Message No handler was ready to authenticate 1 handlers were checked HmacAuthV4Handler Check your credentials

0 votes

Hi Team,

I am trying to run the EC2 dynamic script in Ansible. But it is showing me the below error.

file "/usr/local/lib/python3.6/site-packages/boto/connection.py", line 569, in __init__ host, config, self.provider, self._required_auth_capability()) file "/usr/local/lib/python3.6/site-packages/boto/auth.py", line 1021, in get_auth_handler 'check your credentials' % (len(names), str(names))) boto.exception.noauthhandlerfound: no handler was ready to authenticate. 1 handlers were checked. ['hmacauthv4handler'] check your credentials 
Error Message: "No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials"
Oct 12, 2020 in Ansible by akhtar
• 38,260 points
2,912 views

1 answer to this question.

0 votes

Hi@akhtar,

A dynamic inventory script will cache results to avoid repeated API calls. To explicitly clear the cache, you can run the aws_inventory.py (or hosts) script with the --refresh parameter. It will clear the cache.

$ ./ec2.py --refresh --list
answered Oct 12, 2020 by MD
• 95,460 points

Related Questions In Ansible

0 votes
1 answer

Error saying "No handler was ready to authenticate. 1 handlers were checked"

You are mixing underscore and hyphen. cat /etc/ansible/ec2-vars/te ...READ MORE

answered Mar 13, 2019 in Ansible by Kim
2,024 views
0 votes
1 answer
+1 vote
3 answers
0 votes
1 answer
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,062 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP