Public bug reported:

I've been unable to connect to our remote s3ql shares.  The error "transport 
endpoint is not connected" comes up when trying to ls or cd to the shares.  The 
issues seems to occur when the mount.s3ql command is called with the 
--metadata-upload-interval flag set to 0.  The shares mount properly and are 
accessible when a number other than 0 is used with --metadata-upload-interval 
(or if the flag is dropped entirely).  The mount.s3ql command is apparently 
failing silently, but I was able to get it to show some python errors when I 
also used the --upstart flag.  The errors are shown below:
____________________________________________________________________________
root@server /mnt #  mount.s3ql --upstart --metadata-upload-interval 0 "$BUCKET" 
"$MOUNTPOINT"
Using 10 upload threads.
Using cached metadata.
Mounting filesystem...

[1]+  Stopped                 mount.s3ql --upstart --metadata-upload-interval 0 
"$BUCKET" "$MOUNTPOINT"
root@server /mnt # %
mount.s3ql --upstart --metadata-upload-interval 0 "$BUCKET" "$MOUNTPOINT"
Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
    run_old(*args, **kw)
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
    timed_wait(self.event, self.interval, 2)
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
    endtime = time.time() + timeout
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
Encountered exception, trying to clean up...
Unmounting file system...
Uncaught top-level exception:
Traceback (most recent call last):
  File "/usr/bin/mount.s3ql", line 9, in <module>
    load_entry_point('s3ql==1.14', 'console_scripts', 'mount.s3ql')()
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
    run_old(*args, **kw)
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
    timed_wait(self.event, self.interval, 2)
  File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
    endtime = time.time() + timeout
TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
____________________________________________________________________________

I'd like to be able to use the mount.s3ql command with the "--metadata-
upload-interval 0" flag, if possible.

Our server is running Lucid 10.04.4 and the s3ql package is version
1.14-1~lucid1.  Unfortunately, upgrading from Lucid isn't possible at
this time.

Thank you in advance.

** Affects: s3ql (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  I've been unable to connect to our remote s3ql shares.  The error "transport 
endpoint is not connected" comes up when trying to ls or cd to the shares.  The 
issues seems to occur when the mount.s3ql command is called with the 
--metadata-upload-interval flag set to 0.  The shares mount properly and are 
accessible when a number other than 0 is used with --metadata-upload-interval 
(or if the flag is dropped entirely).  The mount.s3ql command is apparently 
failing silently, but I was able to get it to show some python errors when I 
also used the --upstart flag.  The errors are shown below:
- 
____________________________________________________________________________________________________________
+ ____________________________________________________________________________
  root@server /mnt #  mount.s3ql --upstart --metadata-upload-interval 0 
"$BUCKET" "$MOUNTPOINT"
  Using 10 upload threads.
  Using cached metadata.
  Mounting filesystem...
  
  [1]+  Stopped                 mount.s3ql --upstart --metadata-upload-interval 
0 "$BUCKET" "$MOUNTPOINT"
  root@server /mnt # %
  mount.s3ql --upstart --metadata-upload-interval 0 "$BUCKET" "$MOUNTPOINT"
  Uncaught top-level exception:
  Traceback (most recent call last):
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
-     run_old(*args, **kw)
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
-     timed_wait(self.event, self.interval, 2)
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
-     endtime = time.time() + timeout
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
+     run_old(*args, **kw)
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
+     timed_wait(self.event, self.interval, 2)
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
+     endtime = time.time() + timeout
  TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
  Encountered exception, trying to clean up...
  Unmounting file system...
  Uncaught top-level exception:
  Traceback (most recent call last):
-   File "/usr/bin/mount.s3ql", line 9, in <module>
-     load_entry_point('s3ql==1.14', 'console_scripts', 'mount.s3ql')()
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
-     run_old(*args, **kw)
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
-     timed_wait(self.event, self.interval, 2)
-   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
-     endtime = time.time() + timeout
+   File "/usr/bin/mount.s3ql", line 9, in <module>
+     load_entry_point('s3ql==1.14', 'console_scripts', 'mount.s3ql')()
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 52, in 
run_with_except_hook
+     run_old(*args, **kw)
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 519, in run
+     timed_wait(self.event, self.interval, 2)
+   File "/usr/lib/pymodules/python2.6/s3ql/mount.py", line 669, in timed_wait
+     endtime = time.time() + timeout
  TypeError: unsupported operand type(s) for +: 'float' and 'NoneType'
- 
___________________________________________________________________________________________________________
+ ____________________________________________________________________________
  
  I'd like to be able to use the mount.s3ql command with the "--metadata-
  upload-interval 0" flag, if possible.
  
  Our server is running Lucid 10.04.4 and the s3ql package is version
  1.14-1~lucid1.  Unfortunately, upgrading from Lucid isn't possible at
  this time.
  
  Thank you in advance.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177094

Title:
  transport endpoint not connected when using s3ql with metadata-upload-
  interval 0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/s3ql/+bug/1177094/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to