Bug #29702
closedCreating invalid image within compute resource is possible
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.
Updated by yifat makias over 4 years ago
- Status changed from New to Assigned
- Assignee set to yifat makias
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
Updated by yifat makias over 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset c3560417748c744d6f64336b1b98102e6a8bb4c1.
Updated by The Foreman Bot about 4 years ago
- Pull request https://github.com/theforeman/foreman/pull/7975 added