syncdaemon ERROR with nfs mounted home

Bug #405810 reported by iMac on 2009-07-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Lucio Torre

Bug Description

Using ubuntu-one on a client with NFS-mounted home directory, I receive an ERROR after touching a file locally in My Files. The file does not appear on the server, and an ERROR is captured in the syncdaemon logs as follows (and attached)

moose@office-desktop:~/Ubuntu One/My Files$ cat ~/.cache/ubuntuone/log/syncdaemon.log | grep ERROR
2009-07-28 09:11:53,948 - ubuntuone.SyncDaemon.sync - ERROR - -:-:- - [-:-] ''/ahome/moose/Ubuntu One/My Files/nine.txt'' | DESPAIR on event=FS_FILE_CLOSE_WRITE params={} args=() kwargs={}
2009-07-28 09:11:53,949 - ubuntuone.SyncDaemon.sync - ERROR - -:-:- - [-:-] ''/ahome/moose/Ubuntu One/My Files/nine.txt'' | in state {u'is_directory': u'NA', u'changed': u'NA', u'has_metadata': u'F'} with event FS_FILE_CLOSE_WRITE:{}, out state is:{u'is_directory': u'NA', u'changed': u'NA', u'has_metadata': u'F'} and should be {u'has_metadata': u'*', u'changed': u'*', u'is_directory': u'*'}
2009-07-28 09:11:53,950 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: FS_FILE_CLOSE_WRITE in <ubuntuone.syncdaemon.sync.Sync object at 0xa8ee70c>

A quit and restart of the ubuntu-one client resolved this error. Attached are the logs just after resolution, and a screen shot showing the missing "nine.txt" from the web UI and ERROR immediately following file creation.

client version 0.91.0+r100-0ubuntu1~ppa1~jaunty with storageprotocol 0.91.0+r54-0ubuntu1~ppa1~jaunty

iMac (imac-netstatz) wrote :

Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
 PATH=(custom, no user)
Uname: Linux 2.6.28-13-generic i686

dobey (dobey) on 2009-07-30
Changed in ubuntuone-client:
assignee: nobody → Guillermo Gonzalez (verterok)
importance: Undecided → Medium
status: New → Triaged
Guillermo Gonzalez (verterok) wrote :


At this moment using a Ubuntu One syncdaemon in a NFS mounted home isn't supported.
About this issue, looks like a lost inotify event, this might be caused by NFS as changes in other nodes aren't notified via inotify.
The Ubuntu One syncdaemon relies on inotify, but also is very picky about the metadata state, so if the file: nine.txt was deleted in other node and syncdaemon didn't get the inotify DELETE event the next time a event regarding nine.txt arrives it will despair and log that error.


Guillermo Gonzalez (verterok) wrote :

Please reassign and prioritize as needed

Changed in ubuntuone-client:
assignee: Guillermo Gonzalez (verterok) → Lucio Torre (lucio.torre)
Changed in ubuntuone-client:
importance: Medium → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers