Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-descriptive error when IO class 0 cannot be loaded #798

Open
Deixx opened this issue Apr 14, 2021 · 0 comments · May be fixed by #1587
Open

Non-descriptive error when IO class 0 cannot be loaded #798

Deixx opened this issue Apr 14, 2021 · 0 comments · May be fixed by #1587
Labels
bug Something isn't working good first issue Good for newcomers P3-low
Milestone

Comments

@Deixx
Copy link
Contributor

Deixx commented Apr 14, 2021

Description

When trying to load IO class 0 with name different then 'unclassified', casadm displays a non-descriptive error.

Expected Behavior

Something similar to the situation below.
Loaded config:

IO class id,IO class name,Eviction priority,Allocation
s,file_size:le:97507568,255,0

Output from loading config:
Cannot parse configuration file - error in line 2 in column 1 (IO class id).

Actual Behavior

Loaded config:

IO class id,IO class name,Eviction priority,Allocation
0,file_size:le:97507568,255,0

Output from loading config:
Invalid input parameter

Steps to Reproduce

  1. Load IO class config listed in Actual Behavior

Your Environment

  • OpenCAS version (commit hash or tag): 21.03.0.0492.master
@Deixx Deixx added bug Something isn't working P3-low labels Apr 14, 2021
@jfckm jfckm added this to the Future milestone Mar 7, 2022
@jfckm jfckm added the good first issue Good for newcomers label May 19, 2022
@jfckm jfckm modified the milestones: Future, 22.6 May 19, 2022
@jfckm jfckm modified the milestones: 22.6, Future Jun 23, 2022
@jfckm jfckm modified the milestones: Future, 22.9 Jul 22, 2022
@Deixx Deixx linked a pull request Nov 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers P3-low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants