#2532 new defect

storage server running 1.10.2 shows 2^64 bytes available to clients

Reported by: daira Owned by:
Priority: normal Milestone: undecided
Component: code-frontend-web Version: 1.10.1
Keywords: storage status welcome Cc:
Launchpad Bug:

Description (last modified by daira)

18446744073.71GB, to be precise, in the "Available space" column.

Change History (6)

comment:1 Changed at 2015-10-13T16:39:14Z by warner

BTW, the storage server in question, and the introducer through which Daira's client was seeing it, were both running 1.10.2 . I don't know what version daira's client was running, but it was something that supported magic-folders because that's the demo we were doing at the time.

My 1.10.2 storage server, on it's Welcome page, reported my storage server as having 9.35GB of space available, which matches what a local df says.

Version 0, edited at 2015-10-13T16:39:14Z by warner (next)

comment:2 Changed at 2015-10-13T21:29:54Z by daira

My client was running "1.10.2.post24 [2438.magic-folder-stable.3: 0b5039d2538ad8b139578427523188f765a0f135]".

Note that 18446744073.71 decimal-GB is 264 bytes.

comment:3 Changed at 2015-10-13T21:31:03Z by daira

  • Description modified (diff)
  • Summary changed from storage server running ~1.9.1 shows very large amount of space available to clients to storage server running ~1.9.1 shows 2^64 bytes available to clients

comment:4 Changed at 2015-10-13T21:52:19Z by warner

  • Summary changed from storage server running ~1.9.1 shows 2^64 bytes available to clients to storage server running 1.10.2 shows 2^64 bytes available to clients

Hm. I only see one place in the code where 2**64 makes an appearance, which is in the storage server, when fileutil_get_available_space() returns None. I've seen this return None on some virtual servers (maybe with network-based disks?), when the os.statvfs call fails: #2290 was for this happening on the Travis-CI build machines.

If that function returns None, then the server will indeed report that moon-sized available space.

The server in question was my own, and when I ran get_available_space() just now, it return about 10GB as expected. I did restart the server once or twice while we were setting up the demo (changing the webapi port's interface= so I could see it remotely). Maybe the statvfs failed the first time it came up, but succeeded the second time?

comment:5 Changed at 2015-12-07T21:02:04Z by dawuud

is this still an issue or can we close this ticket?

comment:6 Changed at 2015-12-14T20:24:19Z by daira

There has been no change that would have affected this ticket, so it should stay open.

Note: See TracTickets for help on using tickets.