Feature #2357
DS creation: the core should check ds_type and disk_type
Status: | Closed | Start date: | 10/02/2013 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ruben S. Montero | % Done: | 0% | |
Category: | Core & System | |||
Target version: | Release 4.4 | |||
Resolution: | fixed | Pull request: |
Description
Right now, if the template contains something like DISK_TYPE = SOMETHING, instead of returning an error the default FILE is set. This can be confusing if the template contains a typo (e.g. BLOCKK instead of BLOCK) or if the user tries to set a wrong type.
Plus, disk_type is only accepted for IMAGE_DS, but the core won't complain about it.
Associated revisions
feature #2357: When creating a Datastore, if a wrong DISK_TYPE is specified an error is reported
Feature #2357: Fix disk_type detection.
By default it is FILE, and now disk_type = file also works.
History
#1 Updated by Ruben S. Montero over 7 years ago
- Assignee set to Ruben S. Montero
#2 Updated by Ruben S. Montero over 7 years ago
- Status changed from New to Closed
- Resolution set to fixed
This is now check, if set for no IMAGE_DS Datastore the attribute is silently removed and no considered.