-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
rhel-9.8, rhel-10.2
-
None
-
None
-
Moderate
-
rhel-storage-management
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Creating a schedule using a calendarspec containing spaces without enclosing the value in quotes.
What is the impact of this issue to you?
Snapm crashes with a confusing Python error instead of validating the input.
Please provide the package NVR for which the bug is seen:
snapm-0.5.2-3.el10
How reproducible is this bug?:
always
Steps to reproduce
- Run the snapm schedule create command and provide a calendarspec with spaces (e.g., Mon
* 00:00:00) without using quotes.
snapm -v schedule create --policy-type ALL --calendarspec Mon *-*-* 00:00:00 sts-cal-Mon_star-star-star_0 /mnt/thinlvmntdir
Expected results
Should parse the spec correctly or provide a clear validation error stating that the calendarspec must be quoted.
Actual results
ERROR - Command failed: string index out of range