Bug 1517277

Summary: Could not able to view info of compute-resource image passing name for all parameters
Product: Red Hat Satellite Reporter: Nikhil Kathole <nkathole>
Component: Compute ResourcesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: lhellebr, mhulan, nkathole, oprazak, sjagtap
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 12:03:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Nikhil Kathole 2017-11-24 13:04:50 UTC
Description of problem: Compute-resource image info need to pass id for at least one of the parameter. Not able to view info of compute-resource image passing name of all required parameters.

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


How reproducible: always


Steps to Reproduce:
1.# hammer -v -u admin -p changeme --output=csv compute-resource create --datacenter="Default" --url="https://URL/api" --user="admin" --provider="Ovirt" --password="password" --name="test"
Message,Id,Name
Compute resource created,7,test

2. # hammer -v -u admin -p changeme --output=csv compute-resource image create --username="root" --password="password" --operatingsystem="RedHat 6.8" --name="test_image" --uuid="Default" --compute-resource="test" --architecture="x86_64"
Message,Id,Name
Image created,3,test_image

3. # hammer compute-resource image info --compute-resource 'test' --name 'test_image'
missing param 'operatingsystem_id' in parameters

4. # hammer compute-resource image info --name test_image --compute-resource 'test' --operatingsystem="RedHat 6.8"
missing param 'operatingsystem_id' in parameters


Actual results: 

Not able to view info of compute-resource image passing --compute-resource name and --name name of image.


Expected results:

Compute-resource image should display info passing --compute-resource name and --name name of image as parameters.


Additional info: If one of the parameter passed as id, successfully showed info.

# hammer compute-resource image info --compute-resource 'test' --id 3
Id:               3
Name:             test_image
Operating System: RedHat 6.8
Username:         root
UUID:             Default
Architecture:     x86_64
IAM role:
Created at:       2017/11/24 11:24:51
Updated at:       2017/11/24 11:24:51

# hammer compute-resource image info --compute-resource-id 7 --name 'test_image'
Id:               3
Name:             test_image
Operating System: RedHat 6.8
Username:         root
UUID:             Default
Architecture:     x86_64
IAM role:
Created at:       2017/11/24 11:24:51
Updated at:       2017/11/24 11:24:51

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

Comment 5 Bryan Kearney 2018-11-30 15:00:59 UTC
The Satellite Team is attempting to provide an accurate backlog of bugzilla requests which we feel will be resolved in the next few releases. We do not believe this bugzilla will meet that criteria, and have plans to close it out in 1 month. This is not a reflection on the validity of the request, but a reflection of the many priorities for the product. If you have any concerns about this, feel free to contact Rich Jerrido or Bryan Kearney or your account team. If we do not hear from you, we will close this bug out. Thank you.

Comment 6 Bryan Kearney 2019-02-07 12:03:52 UTC
Thank you for your interest in Satellite 6. We have evaluated this request, and while we recognize that it is a valid request, we do not expect this to be implemented in the product in the foreseeable future. This is due to other priorities for the product, and not a reflection on the request itself. We are therefore closing this out as WONTFIX. If you have any concerns about this, please do not reopen. Instead, feel free to contact Red Hat Technical Support. Thank you.