Invalid error message when Load-import failed due to lack of space in /scratch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
ramu ummadishetty |
Bug Description
Brief Description
when load-import failed due to lack of space in /scratch.
It appears that the code is not happy with some characters due to HTML:
Single quote is being modified to '
Less-than sign is being modified to <
Greater-than sign is being modified to >
$ system load-import --active bootimage.iso bootimage.sig
This operation will take a while. Please wait.
....
Load import failed. Reason: Insufficient space on /scratch for request /v1/loads/
Gerrit links to this change:
https:/
https:/
Severity
Minor. However, this is affecting the readability and user-friendliness of error messages.
Steps to Reproduce
Make sure /scratch does not have enough space to load ISO for the subclouds maybe using around 10G.
Note: In my case, the DM config file is forcing 16G and that does not seem enough (I checked and there is no /scratc/tmp_load folder). Side question: Is 16G no longer enough? I ask because that is the default size.
Expected Behavior
Error message should indicate "'system host-fs-modify <hostname> scratch=
Load import failed. Reason: Insufficient space on /scratch for request /v1/loads/
Actual Behavior
Load import failed. Reason: Insufficient space on /scratch for request /v1/loads/
Reproducibility
1 out of 1.
System Configuration
All system config
description: | updated |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.config |
Changed in starlingx: | |
assignee: | nobody → ramu ummadishetty (rummadis) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/906480
Review: https:/