Skip to content

Added code for CSCwo96334:/tmp directory disk space for snapshot storage#368

Open
Harinadh-Saladi wants to merge 1 commit intodatacenter:masterfrom
Harinadh-Saladi:tmp_dir_snapshot
Open

Added code for CSCwo96334:/tmp directory disk space for snapshot storage#368
Harinadh-Saladi wants to merge 1 commit intodatacenter:masterfrom
Harinadh-Saladi:tmp_dir_snapshot

Conversation

@Harinadh-Saladi
Copy link

Added tmp_dir_snapshot_storage_check to validate /tmp space before upgrades < 6.1(4a)
Check monitors F1527/F1528/F1529 faults on /tmp mount point only
Returns FAIL_UF if /tmp disk space issues found, NA for versions >= 6.1(4a)
Added comprehensive test cases covering affected and fixed versions
Added test fixtures for positive, negative, and mixed fault scenarios.

Have tested in the lab and enclosed comprehensive logs.

CSCwo96334_comprehensive_Logs.txt
CSCwo96334_Pytest_Logs.txt

if dn:
mountpoint = dn.group('mountpoint')
# CSCwo96334: Skip /tmp faults if tversion >= 6.1(4a) (snapshots use /data instead)
if mountpoint == '/tmp' and tversion and not tversion.older_than("6.1(4a)"):
Copy link

@dhaselva dhaselva Mar 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check and update the target version.
Issue fixed in 6.0(9f) and I can see the bug in the resolved issues section. Issue also got fixed in 6.1(4h) as per bug but I do not see the bug id under resolved issues section. Validate and include the right target versions.

if dn:
mountpoint = dn.group('mountpoint')
# CSCwo96334: Skip /tmp faults if tversion >= 6.1(4a) (snapshots use /data instead)
if mountpoint == '/tmp' and tversion and not tversion.older_than("6.1(4a)"):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if mountpoint == '/tmp' and tversion and not tversion.older_than("6.1(4a)"):

Remove 'and tversion' .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants