syncdaemon ERROR with nfs mounted home

Bug #405810 reported by iMac
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Wishlist
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

Revision history for this message
iMac (imac-netstatz) wrote :
Revision history for this message
iMac (imac-netstatz) wrote :
Revision history for this message
iMac (imac-netstatz) wrote : apport-collect data

Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
Uname: Linux 2.6.28-13-generic i686
UserGroups:

dobey (dobey)
Changed in ubuntuone-client:
assignee: nobody → Guillermo Gonzalez (verterok)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Hi,

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.

Regards,

Revision history for this message
Guillermo Gonzalez (verterok) wrote :

Lucio,
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.