Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket.gaierror: [Errno -2] Name or service not known message #3

Open
cemzafer opened this issue Sep 26, 2017 · 0 comments
Open

socket.gaierror: [Errno -2] Name or service not known message #3

cemzafer opened this issue Sep 26, 2017 · 0 comments

Comments

@cemzafer
Copy link

Hi,
I tried the script like this;
rotate-backups-s3 -U -P --daily=7 --weekly=4 --monthly=11 --yearly=1 --dry-run s3://bucket_name/a/aa/
This command returns the following error like this. Could you please clarify the problem?
Thanks.

Traceback (most recent call last):
File "/usr/bin/rotate-backups-s3", line 9, in
load_entry_point('rotate-backups-s3==0.3', 'console_scripts', 'rotate-backups-s3')()
File "/usr/lib/python2.7/site-packages/rotate_backups_s3/cli.py", line 189, in main
).rotate_backups(bucket)
File "/usr/lib/python2.7/site-packages/rotate_backups_s3/init.py", line 127, in rotate_backups
bucket = self.conn.get_bucket(bucketname)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 509, in get_bucket
return self.head_bucket(bucket_name, headers=headers)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 528, in head_bucket
response = self.make_request('HEAD', bucket_name, headers=headers)
File "/usr/lib/python2.7/site-packages/boto/s3/connection.py", line 671, in make_request
retry_handler=retry_handler
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1071, in make_request
retry_handler=retry_handler)
File "/usr/lib/python2.7/site-packages/boto/connection.py", line 1030, in _mexe
raise ex
socket.gaierror: [Errno -2] Name or service not known

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant