Bug 50247 - Traceback in 30_disk_usage
Traceback in 30_disk_usage
Status: RESOLVED DUPLICATE of bug 49354
Product: UCS
Classification: Unclassified
Component: UMC - System diagnostic
UCS 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UMC maintainers
UMC maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-09-23 13:06 CEST by Nico Stöckigt
Modified: 2020-04-15 10:42 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?: Yes
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2019092321000429
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Stöckigt univentionstaff 2019-09-23 13:06:42 CEST
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/__init__.py", line 275, in execute
    result = execute(umc_module, **kwargs)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 136, in run
    if problem_on_varlog and high_log_levels():
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 108, in high_log_levels
    return any(check(configRegistry) for check in checks)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 108, in 
    return any(check(configRegistry) for check in checks)
  File "/usr/lib/pymodules/python2.7/univention/management/console/modules/diagnostic/plugins/30_disk_usage.py", line 73, in 
    return lambda ucr: int(ucr.get(variable, default)) > default
ValueError: invalid literal for int() with base 10: 'none'

============================================================

# df -lh | grep -v tmpfs
Dateisystem               Größe Benutzt Verf. Verw% Eingehängt auf
udev                        10M       0   10M    0% /dev
/dev/mapper/vg_ucs-rootfs   20G    4,7G   14G   25% /
/dev/mapper/vg_ucs-varfs    55G     48G  4,3G   92% /var
/dev/mapper/vg_ucs-homefs  2,1T    1,3T  757G   63% /home
/dev/sda2                  2,0G    160M  1,7G    9% /boot
overlay                     55G     48G  4,3G   92% /var/lib/docker/overlay/fb02c1971ec490814167a5b92fa8cdc0f9b2f4beb847d9b6bdb796bdfeda95bf/merged
shm                         64M       0   64M    0% /var/lib/docker/containers/20023a97dc67fa12b697fce245cb4f78e975cbf98da06806006cad94257cea5f/shm

------------------------------------------------------------

# df -ilh | grep -v tmpfs
Dateisystem               Inodes IBenutzt IFrei IUse% Eingehängt auf
udev                        5,9M      362  5,9M    1% /dev
/dev/mapper/vg_ucs-rootfs   1,3M     164K  1,1M   13% /
/dev/mapper/vg_ucs-varfs    3,5M     254K  3,3M    8% /var
/dev/mapper/vg_ucs-homefs   135M     5,9M  129M    5% /home
/dev/sda2                   128K      354  128K    1% /boot
overlay                     3,5M     254K  3,3M    8% /var/lib/docker/overlay/fb02c1971ec490814167a5b92fa8cdc0f9b2f4beb847d9b6bdb796bdfeda95bf/merged
shm                         5,9M        1  5,9M    1% /var/lib/docker/containers/20023a97dc67fa12b697fce245cb4f78e975cbf98da06806006cad94257cea5f/shm

------------------------------------------------------------

# fdisk -l
Disk /dev/sda: 180 GiB, 193273528320 bytes, 377487360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 3E0361AA-B220-4D76-8F54-18806D43828E

Device       Start       End   Sectors   Size Type
/dev/sda1    32768     49151     16384     8M BIOS boot
/dev/sda2    49152   4243455   4194304     2G Microsoft basic data
/dev/sda3  4243456   8437759   4194304     2G Microsoft basic data
/dev/sda4  8437760 377223167 368785408 175,9G Linux LVM


Disk /dev/sdb: 2 TiB, 2199023255552 bytes, 4294967296 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5e192f5e

Device     Boot Start        End    Sectors Size Id Type
/dev/sdb1        2048 4294967294 4294965247   2T 83 Linux




Disk /dev/mapper/vg_ucs-rootfs: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/vg_ucs-homefs: 2,1 TiB, 2306410020864 bytes, 4504707072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/vg_ucs-varfs: 55,9 GiB, 59949187072 bytes, 117088256 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

------------------------------------------------------------

# pvs
  PV         VG     Fmt  Attr PSize   PFree
  /dev/sda4  vg_ucs lvm2 a--  175,85g    0
  /dev/sdb1  vg_ucs lvm2 a--    2,00t    0

# lvs
  LV     VG     Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  homefs vg_ucs -wi-ao----  2,10t
  rootfs vg_ucs -wi-ao---- 20,00g
  varfs  vg_ucs -wi-ao---- 55,83g

# vgs
  VG     #PV #LV #SN Attr   VSize VFree
  vg_ucs   2   3   0 wz--n- 2,17t    0

------------------------------------------------------------
Comment 1 Christian Völker univentionstaff 2020-04-15 10:42:26 CEST

*** This bug has been marked as a duplicate of bug 49354 ***