During restore of central controller boot ISO placed on /opt/dc-vault while on / partition.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Mihnea Saracin |
Bug Description
Brief Description
-----------------
During restore of system controller the boot ISO is moved to /opt/dc-vault while on the / file system.
Severity
--------
Major
Steps to Reproduce
------------------
Run the restore platform procedure
Expected Behavior
------------------
The restore run is successful
Actual Behavior
----------------
Restore fails due to no space left
Reproducibility
---------------
100% if we have large files in /opt/dc-vault and it exceeds / size
System Configuration
-------
DC system (AIO-DX system controller)
Branch/Pull Time/Commit
-------
stx master build on "2020-01-07"
Last Pass
---------
Didn't test it before
Timestamp/Logs
--------------
# Ansible log of the playbook:
TASK [restore-
fatal: [localhost]: FAILED! => {"changed": true, "cmd": ["tar", "-C", "/", "--overwrite", "-xpf", "/home/
# Reason why it failed
Restore on central controller fails due to "No space left on device" /opt/dc-vault pushes / over it's 20G size limit:
/ file system sized to 20G
O/S install consumes 11G of /
Backup file placed in /home/sysadmin consumes 7G of /
Restore initiated
Boot ISO placed in /opt/dc-vault consumes just over 2G of /
Restore fails due to no space left
# df of /opt/dc-vault after failed restore.
localhost:~$ df -BG /opt/dc-vault/
Filesystem 1G-blocks Used Available Use% Mounted on
/dev/sda4 20G 20G 0G 100% /
Test Activity
-------------
Normal use
Changed in starlingx: | |
assignee: | nobody → Mihnea Saracin (msaracin) |
description: | updated |
stx.5.0 / medium - issue with backup & restore functionality