Bug 1316976

Summary: Built status report in Satellite 6
Product: Red Hat Satellite Reporter: Komal <kshravag>
Component: ProvisioningAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.5CC: emarquez, mhulan, pmutha
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-10 15:12:19 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:

Comment 4 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2016-07-26 15:32:58 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 7 Marek Hulan 2017-03-10 15:12:19 UTC
In Satellite 6.2, it's possible to query specific sub status of a host. You can simply do a call like

> curl https://satellite62.example.com/api/v2/hosts/an.example.com/status/build

and you would get result such as

> {"status_label":"Pending installation","status":1}

Note that the build at the end of the url is status type you're interested in, it can be one of global, configuration, build, errata, subscription, compliance (based on what statuses are available for the host). The attribute status provides number representation which is useful while scripting, the status_label is human readable status representation.

I'm closing this as current release, please let me know if I missed something or reopen right away.