Ansible 1.9.4 What version of boto are you using? I've noticed issues when using older versions and I'm wondering if the first bug was resolved by updating to a later version (2.38) version of boto.
Assuming you are running of OS X? $ python -c "import boto; print boto.__version__" Good job on the debugging so far. On 25 November 2015 at 13:38, Rob Wilkerson <[email protected]> wrote: > Well, crap. Looks like this could be related to #981 ( > https://github.com/ansible/ansible-modules-core/issues/981) or #1701 ( > https://github.com/ansible/ansible-modules-core/issues/1701). Or both. > > On Tuesday, November 24, 2015 at 2:03:51 PM UTC-5, Rob Wilkerson wrote: >> >> I thought this would be the easiest part of creating a dynamic inventory, >> but I'm having a hell of a time connecting: >> >> boto.exception.NoAuthHandlerFound: No handler was ready to authenticate. >> 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials >> >> In my <project>/ansible/development/ directory, I have ec2.py and ec2.ini >> files: >> >> # <project>/ansible/development/ec2.ini >> -- snip -- >> boto_profile = Client >> >> # ~/.aws/credentials >> [DifferentClient] >> aws_access_key_id = <DIFFERENT_CLIENT_ACCESS_KEY> >> aws_secret_access_key = <DIFFERENT_CLIENT_SECRET_KEY> >> region = us-east-1 >> output = json >> >> [Client] >> aws_access_key_id = <PROJECT_ACCESS_KEY> >> aws_secret_access_key = <PROJECT_ACCESS_KEY> >> >> The keys are for my IAM user with admin privileges and work just fine >> when specified directly in the ec2 module. >> >> Any idea what I've got misconfigured here? I'm running Ansible 1.9.4. >> >> Thanks. >> > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/8839ecab-598a-4a3f-b7cb-7a1a01b9cfcd%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/8839ecab-598a-4a3f-b7cb-7a1a01b9cfcd%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Steve -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CA%2Bemtqsuxq33akvoDD2quTkyw0fAB1y0FDFAWMv8Xd2vytOMJw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
