Project

General

Profile

Actions

Bug #22409

closed

No validation for uuid in hammer compute-resource image creation

Added by Ondřej Pražák over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Yes
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Description of problem: While creating compute-resource image from CLI, there is no validation for option --uuid and passing any data in uuid, created image.

How reproducible: always

Steps to Reproduce:
1. hammer> compute-resource image create --compute-resource rhev_compute --name 'latest' --username 'root' --password 'dog8code' --architecture 'x86_64' --operatingsystem 'RedHat 7.3' --uuid '<any data>'
Image created

Actual results:

Image is created.

Expected results: Image should not create and raised error for passing valid uuid for images.

Additional info:


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #25081: No validation for image path in compute-resource image creationRejectedAkshay MendheActions
Actions

Also available in: Atom PDF