Bug 1201347

Summary: Host create/update api docs miss owner_type
Product: Red Hat Satellite Reporter: Tomas Strachota <tstrachota>
Component: ProvisioningAssignee: Tomas Strachota <tstrachota>
Status: CLOSED ERRATA QA Contact: jaudet
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, cwelton, jaudet, jmontleo
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/9723
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 05:29:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Strachota 2015-03-12 14:20:36 UTC
The field owner_type is not documented in apipie and therefore it does not appear in hammer too.

Comment 1 Tomas Strachota 2015-03-12 14:20:38 UTC
Created from redmine issue http://projects.theforeman.org/issues/9723

Comment 3 Bryan Kearney 2015-03-15 10:05:38 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/9723 has been closed
-------------
Anonymous
Applied in changeset commit:55be35e9699765bb5fb137db518b06411be20939.

Comment 6 jaudet 2015-03-19 19:03:52 UTC
Tested against Satellite-6.1.0-RHEL-6-20150317.0 and Satellite-6.1.0-RHEL-7-20150317.0. Example of hammer output:

    $ hammer -u admin -p changeme host create --help | grep -i 'owner[-_]type'
     --owner-type OWNER_TYPE                   Host's owner type

Example of API doc item:

> host[owner_type]
> optional , nil allowed 	
>
> Host's owner type
>
> Value: Must be one of: User, Usergroup.

Comment 7 Bryan Kearney 2015-08-11 13:36:34 UTC
This bug is slated to be released with Satellite 6.1.

Comment 8 errata-xmlrpc 2015-08-12 05:29:51 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-2015:1592