Bug #25081
closedNo validation for image path in compute-resource image creation
Description
Description of problem: While creating compute-resource image, there is no validation for image path field and passing any data as path creates image.
How reproducible: always
Steps to Reproduce:
1. Create compute resource from Infrastructure option.
2. Click "Create Image" option.
3. Enter any invalid string in image path field and submit.
Image created
Actual results:
Image is created.
Expected results: Image should not be created and it should raise an error showing invalid image path(uuid).
Updated by Akshay Mendhe over 6 years ago
- Related to Bug #22409: No validation for uuid in hammer compute-resource image creation added
Updated by Lukas Zapletal about 6 years ago
- Status changed from New to Closed
- Triaged changed from No to Yes
Hello and thanks for the report. Most (if not all) compute resources use UUIDs, image path is only used for libvirt provider and this provider's API does not allow us to verify such a thing. So it cannot be done easily. Also, libvirt is more of a testing compute resource, for serious virtualization use oVirt, RHEV or VMWare. I am closing this bug.
Updated by Tomer Brisker about 6 years ago
- Status changed from Closed to Rejected