Bug 1233612

Summary: hammer info doesn't return all values for location
Product: Red Hat Satellite Reporter: Oleksandr Shtaier <oshtaier>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: abalakht, aruzicka, bbuckingham, bkearney, ehelms
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:51:07 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 Oleksandr Shtaier 2015-06-19 09:40:58 UTC
Description of problem:
We can create new 'Location' object with, for example, description:
hammer -u admin -p changeme location create --name Test01 --description Test01
But there are no way to get information about location description through hammer:
hammer -u admin -p changeme location info --name Test01
---------------------------------------
Id:                 228
Name:               Test01
Users:              

Smart proxies:      

Subnets:            

Compute resources:  

Installation media: 

Templates:          
    Boot disk iPXE - generic host (Bootdisk)
    ...
Domains:            

Environments:       

Hostgroups:         

Parameters:         

Created at:         2015/06/19 09:11:04
Updated at:         2015/06/19 09:11:04
------------------------------------------

Version-Release number of selected component (if applicable):
snap8

How reproducible:
Always

Steps to Reproduce:
1. Create new location through CLI
2. Read information about just created entity

Actual results:
There are no information about location description in 'hammer location info' output


Expected results:
Necessary information can be received through CLI

Additional info:

Comment 1 RHEL Program Management 2015-06-19 10:04:22 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Bryan Kearney 2016-07-08 20:35:59 UTC
Per 6.3 planning, moving out non acked bugs to the backlog

Comment 5 Adam Ruzicka 2016-10-10 13:50:04 UTC
Created redmine issue http://projects.theforeman.org/issues/16849 from this bug

Comment 6 Adam Ruzicka 2016-10-10 14:00:05 UTC
Moving to POST since the bug was already closed in upstream.

Comment 7 Peter Ondrejka 2016-12-13 09:13:27 UTC
Verified in Sat 6.3 snap 8, location description is now correctly displayed in the output of hammer location info

Comment 8 Satellite Program 2018-02-21 16:51:07 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336