Volume info with None as the free space causes syncdaemon to emit QuotaExceeded

Bug #671023 reported by Roman Yepishev
54
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-1-4
Fix Released
Undecided
Unassigned
Trunk
Fix Released
Medium
Ubuntu One Client Engineering team
ubuntuone-client (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
dobey
Natty
Fix Released
Medium
Unassigned

Bug Description

Most of the users experiencing bug LP:650671 have stale metadata info with None as the free space. This causes syncdaemon to emit QuotaExceeded for each and every file added to the storage. This happens since None < 0 == True.

I believe syncdaemon should not react that bad upon its own outdated metadata.

----

TEST CASE:
1. Open Applications > Accessories > Terminal and run:
u1sdtool -q
cd /tmp
wget https://bugs.launchpad.net/ubuntu/+source/ubuntuone-client/+bug/671023/+attachment/1871093/+files/671023_test.py
python 671023_test.py
u1sdtool -c
echo "test" > ~/Ubuntu\ One/671023.txt

Result: Syncdaemon emits QuotaExceeded (ubuntuone.SyncDaemon.EQ - DEBUG - push_event: SYS_QUOTA_EXCEEDED in ~/.cache/ubuntuone/log/syncdaemon.log)

Expected result: Syncdaemon doesn't emit QuotaExceeded

----

Related branches

tags: added: support u1-maverick-sru
tags: added: foundations+
Changed in ubuntuone-client (Ubuntu Natty):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.5.1-0ubuntu1

---------------
ubuntuone-client (1.5.1-0ubuntu1) natty; urgency=low

  * New upstream release.
    - Add syncdaemon autoconnect option (LP: #688694)
    - SSO help text does not appear translated in UI (LP: #686647)
    - QuotaExceeded warning appears when free space is 'None' (LP: #671023)
    - Syncdaemon needs to store events in zeitgeist (LP: #674252)
    - Deleting volume on one computer doesn't elsewhere (LP: #674092)
 -- Rodney Dawes <email address hidden> Tue, 14 Dec 2010 14:57:03 -0500

Changed in ubuntuone-client (Ubuntu Natty):
status: Triaged → Fix Released
Changed in ubuntuone-client (Ubuntu Maverick):
status: New → Triaged
importance: Undecided → Medium
dobey (dobey)
Changed in ubuntuone-client (Ubuntu Maverick):
assignee: nobody → Rodney Dawes (dobey)
milestone: none → maverick-updates
status: Triaged → In Progress
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted ubuntuone-client into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ubuntuone-client (Ubuntu Maverick):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Script to help run test case

description: updated
description: updated
description: updated
description: updated
description: updated
Revision history for this message
Joshua Hoover (joshuahoover) wrote :

Verified fixed on maverick with proposed update: ubuntuone-client 1.4.6-0ubuntu1

Martin Pitt (pitti)
tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 1.4.6-0ubuntu2

---------------
ubuntuone-client (1.4.6-0ubuntu2) maverick-proposed; urgency=low

  * 01-get-published-race.path:
    - Fix a race condition with requesting published files (LP: #661292)

ubuntuone-client (1.4.6-0ubuntu1) maverick-proposed; urgency=low

  * New upstream release.
    - SD deletes files when local error on partial creation (LP: #657195)
    - Partials fail to be created with "filename too long" (LP: #662660)
    - New shares to me are not downloaded (LP: #664019)
    - Deleting UDF on one computer does not delete elsewhere (LP: #674092)
    - Preferences does not display info properly (LP: #657850)
    - "Out of Space" dialog is broken (LP: #650671)
    - Nautilus allows publishing files in others' shares (LP: #712674)
    - SSO help text does not appear translated (LP: #686647)
    - Nautilus is not aware of published files (LP: #661292)
    - Ubuntu One crashes in scan() (LP: #692496)
    - Volume info with None for free space causes QuotaExceeded (LP: #671023)
    - Settings daemon extension should not request credentials (LP: #702171)
 -- Rodney Dawes <email address hidden> Fri, 04 Mar 2011 12:10:05 -0500

Changed in ubuntuone-client (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
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.