Project

General

Profile

Actions

Bug #29702

closed

Creating invalid image within compute resource is possible

Added by yifat makias over 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - oVirt
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1829239

Description of problem:

Hammer CLI allows to create invalid (nonexistent) image within compute resource

Version-Release number of selected component (if applicable): hammer (0.19.2.1), Red Hat Satellite (build: 6.7.0)

How reproducible:
always

Steps to Reproduce:
1. Create RHEV (Ovirt) compute resource or use existing
2. Attempt to add non-existing (invalid) image using hammer CLI
i.e.:
hammer compute-resource image create --compute-resource '<valid cr name>' --name '<valid name>' --username 'valid username' --uuid '<INVALID UUID>' --operatingsystem '<valid os>' --architecture '<valid arch>'

Actual results:
"Image created."

Expected results:
Any reasonable error message is displayed and image not created.

Additional info:
In Sattelite WebUI, there's no UUID selection. But there's a combobox, which offers only available image templates.

Actions

Also available in: Atom PDF