Comment 7 for bug 985812

Revision history for this message
Brad Crittenden (bac) wrote :

Kapil I tried your branch but got the following failure after 183 iterations:

/home/bac> ./status_fail.py
......................................................................................................................................................................................
Exception caught on iteration 183
Command '['/tmp/retry-client-for-cli/bin/juju', '-v', 'status']' returned non-zero exit status 1
2012-04-24 15:22:51,804 DEBUG Initializing juju status runtime
2012-04-24 15:22:51,817 WARNING ssl-hostname-verification is disabled for this environment
2012-04-24 15:22:51,817 WARNING EC2 API calls encrypted but not authenticated
2012-04-24 15:22:51,817 WARNING S3 API calls encrypted but not authenticated
2012-04-24 15:22:51,817 WARNING Ubuntu Cloud Image lookups encrypted but not authenticated
2012-04-24 15:22:51,818 INFO Connecting to environment...
2012-04-24 15:22:51,996 ERROR Cannot connect to environment: An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/juju/providers/common/connect.py", line 42, in run
    client = yield self._internal_connect(share)
SSLVerificationError: An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
Traceback (most recent call last):
Failure: juju.errors.SSLVerificationError: An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
2012-04-24 15:22:51,997 ERROR Traceback (most recent call last):
Failure: juju.errors.SSLVerificationError: An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]

An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]
2012-04-24 15:22:51,997 ERROR An SSL endpoint failed verification: [('SSL routines', 'SSL3_READ_BYTES', 'ssl handshake failure')]

Traceback (most recent call last):
  File "./status_fail.py", line 18, in <module>
    juju_status()
  File "/usr/lib/python2.7/dist-packages/shelltoolbox/__init__.py", line 133, in callable_command
    return run(*all_args)
CalledProcessError: Command '['/tmp/retry-client-for-cli/bin/juju', '-v', 'status']' returned non-zero exit status 1