Bug 919251

Summary: [abrt] python-boto-2.6.0-2.fc18: auth.py:633:get_auth_handler:NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials
Product: [Fedora] Fedora Reporter: Andreas Friedel <friedeas>
Component: python-botoAssignee: Robert Scheck <redhat-bugzilla>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: gholms, redhat-bugzilla, walters
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:cf0bc609be91bddee37d71cecb246fedfb873151
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-08 11:17:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ none

Description Andreas Friedel 2013-03-07 22:32:54 UTC
Description of problem:
I tried to start glassfish-3.1.2 with the command  asadmin start-domain

Version-Release number of selected component:
python-boto-2.6.0-2.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/asadmin start-domain domain1
executable:     /usr/bin/asadmin
kernel:         3.8.1-201.fc18.x86_64
uid:            1000

Truncated backtrace:
auth.py:633:get_auth_handler:NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials

Traceback (most recent call last):
  File "/usr/bin/asadmin", line 260, in <module>
    autoscale = boto.connect_autoscale()
  File "/usr/lib/python2.7/site-packages/boto/__init__.py", line 183, in connect_autoscale
    **kwargs)
  File "/usr/lib/python2.7/site-packages/boto/ec2/autoscale/__init__.py", line 120, in __init__
    validate_certs=validate_certs)
  File "/usr/lib/python2.7/site-packages/boto/connection.py", line 936, in __init__
    validate_certs=validate_certs)
  File "/usr/lib/python2.7/site-packages/boto/connection.py", line 548, in __init__
    host, config, self.provider, self._required_auth_capability())
  File "/usr/lib/python2.7/site-packages/boto/auth.py", line 633, in get_auth_handler
    'Check your credentials' % (len(names), str(names)))
NoAuthHandlerFound: No handler was ready to authenticate. 1 handlers were checked. ['HmacAuthV4Handler'] Check your credentials

Local variables in innermost frame:
total_handlers: 1
checked_handlers: [<class 'boto.auth.HmacAuthV4Handler'>]
provider: <boto.provider.Provider object at 0x1791b50>
host: 'autoscaling.us-east-1.amazonaws.com'
handler: <class 'boto.auth.HmacAuthV4Handler'>
names: ['HmacAuthV4Handler']
ready_handlers: []
requested_capability: ['hmac-v4']
auth_handlers: [<class 'boto.auth.HmacAuthV4Handler'>]
config: <boto.pyami.config.Config instance at 0x13b81b8>

Comment 1 Andreas Friedel 2013-03-07 22:32:57 UTC
Created attachment 706815 [details]
File: backtrace

Comment 2 Andreas Friedel 2013-03-07 22:33:00 UTC
Created attachment 706816 [details]
File: core_backtrace

Comment 3 Andreas Friedel 2013-03-07 22:33:02 UTC
Created attachment 706817 [details]
File: environ

Comment 4 Andreas Friedel 2013-03-08 11:17:45 UTC
Sorry for this bug report. The problem seems to be that /usr/bin/asadmin is used and not the local version ../liferay-portal-6.1.20-ee-ga2/glassfish-3.1.2/bin/asadmin. Calling ./asadmin in this folder leads to the desired result and not to the reported error.