landscape-sysinfo - full squashfs filesystems considered events

Bug #303284 reported by Jonathan Marsden
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Landscape Client
Fix Released
Low
Andreas Hasenack
Landscape Server
Fix Released
Low
Andreas Hasenack
landscape-client (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: landscape-common

Ubuntu Release: Ubuntu 8.10 Intrepid

Package Version: landscape-common 1.0.23-0ubuntu0.8.10.1

How to Duplicate:

# mount a squashfs filesystem somewhere
# Example: place Ubuntu 8.10 i386 desktop CD in drive, then do

mkdir -p /tmp/mountpoint
mount -t squashfs /media/cdrom0/casper/filesystem.squashfs /tmp/mountpoint -o loop,ro
landscape-sysinfo

Expected Behaviour:

This should not warn about the squashfs filesystem being 100% full,
because squashfs fileystems are by definition always 100% full!

Actual Behaviour:

landscape-sysinfo outputs a warning concerning the squashfs filesystem:

 System load: 0.12 Memory usage: 79% Processes: 124
  Usage of /: 37.5% of 74.20GB Swap usage: 0% Users logged in: 1

  => /tmp/mountpoint is using 100.0% of 675MB

Further Information:

This issue does not arise when mounting iso9660 filesystems, which are a similar "special case" or a read only filesystem.

Revision history for this message
Jonathan Marsden (jmarsden) wrote :

There is code in disk.py to handle this but squashfs is not included in the list of filesystem type to be treated specially. It should be.

Patch attached.

description: updated
Changed in landscape-client:
status: New → Confirmed
status: New → Confirmed
Changed in landscape:
importance: Undecided → Low
milestone: none → mountainview-pre-2
status: New → Confirmed
Revision history for this message
Jamu Kakar (jkakar) wrote :

Thanks! +1 on the patch.

Changed in landscape-client:
assignee: nobody → radix
importance: Undecided → Low
Changed in landscape-client:
assignee: radix → ahasenack
status: Confirmed → In Progress
Changed in landscape:
status: Confirmed → In Progress
assignee: nobody → ahasenack
Changed in landscape:
milestone: mountainview-pre-2 → mountainview-pre-3
Revision history for this message
Gustavo Niemeyer (niemeyer) wrote :

+1! Thanks!

Revision history for this message
Andreas Hasenack (ahasenack) wrote :

qa + 1

Changed in landscape-client:
status: In Progress → Fix Committed
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

It was committed to landscape-client, but we will mark it so here too.

Changed in landscape:
status: In Progress → Fix Committed
Changed in landscape:
milestone: mountainview-pre-3 → mountainview-pre-4
Changed in landscape:
milestone: mountainview-pre-4 → mountainview-pre-5
Changed in landscape:
milestone: mountainview-pre-5 → mountainview-pre-6
Changed in landscape:
milestone: mountainview-pre-6 → mountainview-pre-7
Changed in landscape:
milestone: mountainview-pre-7 → mountainview-pre-8
Changed in landscape:
status: Fix Committed → Fix Released
Changed in landscape:
milestone: mountainview-pre-8 → mountainview
status: Fix Released → Fix Committed
Changed in landscape:
status: Fix Committed → Fix Released
Changed in landscape-client:
status: Fix Committed → Fix Released
Changed in landscape-client (Ubuntu):
status: Confirmed → Fix Released
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.