Project

General

Profile

Actions

Bug #29702

closed

Creating invalid image within compute resource is possible

Added by yifat makias over 4 years ago. Updated over 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 #1

Updated by yifat makias over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to yifat makias
Actions #2

Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7687 added
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.2.0 added
Actions #4

Updated by yifat makias over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by The Foreman Bot over 4 years ago

  • Pull request https://github.com/theforeman/foreman/pull/7975 added
Actions

Also available in: Atom PDF