Hello,

today this problem happened:

Jan 27 08:31:35 zen s3ql: Requesting new access token
Jan 27 08:31:50 zen s3ql: Dumping metadata...
Jan 27 08:31:50 zen s3ql: ..objects..
Jan 27 08:31:50 zen s3ql: ..blocks..
Jan 27 08:31:50 zen s3ql: ..inodes..
Jan 27 08:31:53 zen s3ql: ..inode_blocks..
Jan 27 08:31:55 zen s3ql: ..symlink_targets..
Jan 27 08:31:55 zen s3ql: ..names..
Jan 27 08:31:55 zen s3ql: ..contents..
Jan 27 08:31:57 zen s3ql: ..ext_attributes..
Jan 27 08:32:19 zen s3ql: Uncaught top-level exception:
Jan 27 08:32:19 zen s3ql: Traceback (most recent call last):
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 1445, in 
create_socket
Jan 27 08:32:19 zen s3ql:     return socket.create_connection(address)
Jan 27 08:32:19 zen s3ql:   File "/usr/lib/python3.4/socket.py", line 494, 
in create_connection
Jan 27 08:32:19 zen s3ql:     for res in getaddrinfo(host, port, 0, 
SOCK_STREAM):
Jan 27 08:32:19 zen s3ql:   File "/usr/lib/python3.4/socket.py", line 533, 
in getaddrinfo
Jan 27 08:32:19 zen s3ql:     for res in _socket.getaddrinfo(host, port, 
family, type, proto, flags):
Jan 27 08:32:19 zen s3ql: socket.gaierror: [Errno -2] Name or service not 
known
Jan 27 08:32:19 zen s3ql:
Jan 27 08:32:19 zen s3ql: During handling of the above exception, another 
exception occurred:
Jan 27 08:32:19 zen s3ql:
Jan 27 08:32:19 zen s3ql: Traceback (most recent call last):
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/mount.py",
 
line 64, in run_with_except_hook
Jan 27 08:32:19 zen s3ql:     run_old(*args, **kw)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/mount.py",
 
line 643, in run
Jan 27 08:32:19 zen s3ql:     seq_no = get_seq_no(backend)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/common.py",
 
line 45, in get_seq_no
Jan 27 08:32:19 zen s3ql:     seq_nos = list(backend.list('s3ql_seq_no_'))
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/common.py",
 
line 107, in wrapped
Jan 27 08:32:19 zen s3ql:     return method(*a, **kw)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/common.py",
 
line 214, in __next__
Jan 27 08:32:19 zen s3ql:     el = next(self.iterator)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 226, in list
Jan 27 08:32:19 zen s3ql:     'max-keys': 1000 })
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/gs.py",
 
line 187, in _do_request
Jan 27 08:32:19 zen s3ql:     query_string=query_string, body=body)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 437, in _do_request
Jan 27 08:32:19 zen s3ql:     query_string=query_string, body=body)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/s3ql-2.15-py3.4-linux-x86_64.egg/s3ql/backends/s3c.py",
 
line 668, in _send_request
Jan 27 08:32:19 zen s3ql:     self.conn.send_request(method, path, 
body=body, headers=headers)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 508, in 
send_request
Jan 27 08:32:19 zen s3ql:     self.timeout)
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 1396, in 
eval_coroutine
Jan 27 08:32:19 zen s3ql:     if not next(crt).poll(timeout=timeout):
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 535, in 
co_send_request
Jan 27 08:32:19 zen s3ql:     self.connect()
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 439, in 
connect
Jan 27 08:32:19 zen s3ql:     self._sock = create_socket((self.hostname, 
self.port))
Jan 27 08:32:19 zen s3ql:   File 
"/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line 1449, in 
create_socket
Jan 27 08:32:19 zen s3ql:     raise HostnameNotResolvable(address[0])
Jan 27 08:32:19 zen s3ql: dugong.HostnameNotResolvable: Host 
ideiao.commondatastorage.googleapis.com does not have any ip addresses
Jan 27 08:33:43 zen s3ql: Unmounting file system...


it seems that at 08:32:19 the internet connection went down, or the dns 
server went down (google dns servers, by the way), and s3ql crashed.

This happened during a backup using rsnapshot.


Although the log says "Unmounting file system..." the fs persisted mounted


and when trying to unmount: 

sudo umount.s3ql  --debug /mnt/gstore
2016-01-27 13:15:21.026 1997 MainThread root.excepthook: File system 
appears to have crashed.

even with laziness:

sudo umount.s3ql --lazy --debug /mnt/gstore
2016-01-27 13:16:48.335 1829 MainThread root.excepthook: File system 
appears to have crashed.



Assuming that there was an issue with the internet connection, is there a 
way to configure a timeout, to avoid this situation?


Best.





-- 
You received this message because you are subscribed to the Google Groups 
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to