disk space for the filesystem mounted on /opt/backups only ~5G (where host-fs reports it as 50 on controller-0)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Stefan Dinescu |
Bug Description
Brief Description
-----------------.
disk space for the filesystem mounted on /opt/backups appears to be only ~5G (according to df -H)
whereas the system host-fs-list for the backup fs shows it as 50GiB (on controller-0)
Severity
--------
Standard
Steps to Reproduce
------------------
1. clean install of system
2. on controller-0 check the default fs size for backup
eg.
$ system host-fs-list controller-0
+------
| UUID | FS Name | Size in GiB | Logical Volume |
+------
| c4c6fece-
3. on the same controller-0 node, run df -H (as root) to confirm the file system mount "Size" /opt/backup
$ df -H
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 21G 9.1G 11G 47% /
devtmpfs 21G 0 21G 0% /dev
tmpfs 21G 218k 21G 1% /dev/shm
tmpfs 21G 13M 21G 1% /run
tmpfs 21G 0 21G 0% /sys/fs/cgroup
tmpfs 1.1G 119k 1.1G 1% /tmp
/dev/mapper/
/dev/mapper/
/dev/mapper/
/dev/mapper/
...
Expected Behavior
------------------
Expected output from df -H for backup to roughly correspond with host-fs setting
ie. backup Size from $system host-fs-list controller-0
Actual Behavior
----------------
Discrepancy in size for the backup FS reported in df -H (on controller-0 specifically)
Per discussion with Bob Church
This is the default fs size in filesystem.pp. It must not be setting the hiera data correctly for it.
class platform:
$lv_name = 'backup-lv',
$lv_size = '5',
Reproducibility
---------------
yes
System Configuration
-------
This appears on multiple labs (only controller-0 though)
hw: ip-33-36, PV-1 and simplex lab
Branch/Pull Time/Commit
-------
2019-09-05_00-10-00
Last Pass
---------
Timestamp/Logs
--------------
Test Activity
-------------
regression (after new feature changes for Configurable docker_lv and /var/lib/kublet)
tags: | added: stx.retestneeded |
Marking as stx.3.0 gating - actual fs size is significantly smaller than reported.