landscape-client divide by zero error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Christopher Armstrong | ||
Landscape Server |
Fix Released
|
High
|
Christopher Armstrong | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: landscape-client
I noticed that update-motd was throwing some errors after I upgraded to Intrepid Alpha 5. From the looks of things, it doesn't like one of the mounted filesystems.
================
2008-09-12 19:41:35,863 ERROR Disk plugin raised an exception.
Traceback (most recent call last):
File "/usr/lib/
result = plugin.run()
File "/usr/lib/
usage(
File "/usr/lib/
return "%0.1f%% of %s" % ((used / total) * 100, format_
ZeroDivisionError: float division
================
Disk Utilization:
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 12G 5.7G 5.7G 51% /
tmpfs 1005M 0 1005M 0% /lib/init/rw
varrun 1005M 364K 1005M 1% /var/run
varlock 1005M 0 1005M 0% /var/lock
udev 1005M 72K 1005M 1% /dev
tmpfs 1005M 372K 1005M 1% /dev/shm
lrm 1005M 2.4M 1003M 1% /lib/modules/
/dev/sda1 216G 76G 134G 37% /export/home
mythtv:/myth 732G 471G 262G 65% /myth
/dev/sdb1 7.8G 35M 7.8G 1% /media/8GB-Photos
================
Mounted Filesystems:
/dev/sda3 on / type ext3 (rw,relatime,
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,
/proc on /proc type proc (rw,noexec,
sysfs on /sys type sysfs (rw,noexec,
varrun on /var/run type tmpfs (rw,nosuid,
varlock on /var/lock type tmpfs (rw,noexec,
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,
fusectl on /sys/fs/
lrm on /lib/modules/
/dev/sda1 on /export/home type ext3 (rw,relatime)
securityfs on /sys/kernel/
rpc_pipefs on /var/lib/
mythtv:/myth on /myth type nfs (rw,rsize=
automount(pid6170) on /home type autofs (rw,fd=
nfsd on /proc/fs/nfsd type nfsd (rw)
binfmt_misc on /proc/sys/
/export/home/mattcm on /home/mattcm type none (rw,bind)
/dev/sdb1 on /media/8GB-Photos type vfat (rw,nosuid,
Changed in landscape-client: | |
importance: | Undecided → High |
Changed in landscape: | |
importance: | Undecided → High |
milestone: | none → thames-pre-8 |
Changed in landscape-client: | |
status: | New → Confirmed |
Changed in landscape: | |
assignee: | nobody → radix |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
assignee: | nobody → radix |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
Please review linked branch