Project

General

Profile

Actions

Bug #25081

closed

No validation for image path in compute-resource image creation

Added by Akshay Mendhe over 5 years ago. Updated over 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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).


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #22409: No validation for uuid in hammer compute-resource image creationResolvedAkshay MendheActions
Actions #1

Updated by Akshay Mendhe over 5 years ago

  • Related to Bug #22409: No validation for uuid in hammer compute-resource image creation added
Actions #2

Updated by Lukas Zapletal over 5 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.

Actions #3

Updated by Akshay Mendhe over 5 years ago

Sure, Thanks @Lukas Zapletal

Actions #4

Updated by Tomer Brisker over 5 years ago

  • Status changed from Closed to Rejected
Actions

Also available in: Atom PDF