disk space for the filesystem mounted on /opt/backups only ~5G (where host-fs reports it as 50 on controller-0)

Bug #1843638 reported by Wendy Mitchell on 2019-09-11
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
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-b70c-41cc-a91c-d95685b22077 | backup | 50 | backup-lv

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/cgts--vg-ceph--mon--lv 22G 105M 20G 1% /var/lib/ceph/mon
/dev/mapper/cgts--vg-scratch--lv 8.4G 123M 7.8G 2% /scratch
/dev/mapper/cgts--vg-kubelet--lv 11G 39M 9.9G 1% /var/lib/kubelet
/dev/mapper/cgts--vg-backup--lv 5.2G 21M 4.9G 1% /opt/backups
...

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::filesystem::backup::params (
  $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)

Wendy Mitchell (wmitchellwr) wrote :
summary: disk space for the filesystem mounted on /opt/backups only ~5G (where
- host-fs reports it as 50)
+ host-fs reports it as 50 on controller-0)
Ghada Khalil (gkhalil) wrote :

Marking as stx.3.0 gating - actual fs size is significantly smaller than reported.

tags: added: stx.3.0 stx.config
Changed in starlingx:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Stefan Dinescu (stefandinescu)
tags: added: stx.storage

Fix proposed to branch: master
Review: https://review.opendev.org/682670

Changed in starlingx:
status: Triaged → In Progress
tags: added: stx.retestneeded
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers