action #64830
open[ux][ui][easy][beginner] limit "keep_logs_in_days" to "keep_results_in_days" in webUI
0%
Description
Motivation¶
http://open.qa/docs/#_cleanup correctly mentions "NOTE Deletion of job results includes deletion of logs and will cause the job to be completely removed from the database." but for example in #64824 we see job groups which have values for "keep_logs_in_days" which are higher than "keep_results_in_days". Would it make sense to prevent this to make it explicit to users that logs will not be kept as long as they selected?
Acceptance criteria¶
- AC1: prevent
keep_logs_in_days
being higher thankeep_results_in_days
in UI
Suggestions¶
- Try to limit in internal controller method throwing error that is displayed in UI. If not feasible then handle in API or even just in UI
Further details¶
entrance level issue
Updated by okurz over 4 years ago
- Copied from action #64824: osd /results is at 99%, about to exceed available space added
Updated by mkittler over 4 years ago
keep_results_in_days
is the limit for deleting the whole job (deletes the database entry and all data stored on the disk). keep_logs_in_days
is as the name suggests just for deleting logs (autoinst-log.txt
, video.ogv
, ulogs
, ... but not screenshots).
EDIT: I misread the description. Yes, it makes sense to prevent keep_logs_in_days
being higher than keep_results_in_days
.
Updated by okurz about 4 years ago
- Subject changed from does it make sense to limit "keep_logs_in_days" to "keep_results_in_days" in webUI? to limit "keep_logs_in_days" to "keep_results_in_days" in webUI
- Description updated (diff)
- Status changed from New to Workable
- Target version set to Ready
- Difficulty set to easy
Updated by okurz over 2 years ago
- Tags set to ux, ui, easy, beginner, entrance level
- Subject changed from limit "keep_logs_in_days" to "keep_results_in_days" in webUI to [ux][ui][easy][beginner] limit "keep_logs_in_days" to "keep_results_in_days" in webUI
- Description updated (diff)