Advertisement
Guest User

Untitled

a guest
Feb 11th, 2016
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. [root@ip-172-31-20-185 /]# salt 'ip-172-31-17-49' s3.get s3://foo.bucket.com
  2. ip-172-31-17-49:
  3. The minion function caused an exception: Traceback (most recent call last):
  4. File "/usr/lib/python2.6/site-packages/salt/minion.py", line 1071, in _thread_return
  5. return_data = func(*args, **kwargs)
  6. File "/usr/lib/python2.6/site-packages/salt/modules/s3.py", line 169, in get
  7. role_arn=role_arn)
  8. File "/usr/lib/python2.6/site-packages/salt/utils/s3.py", line 112, in query
  9. requesturl=requesturl,
  10. File "/usr/lib/python2.6/site-packages/salt/utils/aws.py", line 219, in sig4
  11. access_key_id, secret_access_key, token = assumed_creds(prov_dict, role_arn, location=location)
  12. File "/usr/lib/python2.6/site-packages/salt/utils/aws.py", line 156, in assumed_creds
  13. now = (datetime.utcnow() - datetime(1970, 1, 1)).total_seconds()
  14. AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'
  15. [root@ip-172-31-20-185 /]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement