Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1517222 - No validation for uuid in hammer compute-resource image creation
Summary: No validation for uuid in hammer compute-resource image creation
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-24 10:52 UTC by Nikhil Kathole
Modified: 2018-11-01 07:28 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-01 07:28:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 22409 0 None None None 2018-01-24 13:41:54 UTC

Description Nikhil Kathole 2017-11-24 10:52:40 UTC
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. 

Version-Release number of selected component (if applicable): satellite 6.3 snap 25


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:

Comment 4 Ondřej Pražák 2018-01-24 13:41:52 UTC
Created redmine issue http://projects.theforeman.org/issues/22409 from this bug

Comment 5 Satellite Program 2018-10-15 14:09:35 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/22409 has been resolved.

Comment 7 Lukas Zapletal 2018-11-01 07:28:52 UTC
This request is a too complex change in core as every CR uses a different key (UUID, image path etc).


Note You need to log in before you can comment on or make changes to this bug.