Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1512567 - Streamline new host registration [NEEDINFO]
Summary: Streamline new host registration
Keywords:
Status: NEW
Alias: None
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Puppet
Version: 6.2.12
Hardware: x86_64
OS: Linux
medium
medium vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks: 1122832
TreeView+ depends on / blocked
 
Reported: 2017-11-13 14:33 UTC by Beat Rubischon
Modified: 2019-04-09 03:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
hmore: needinfo? (dlobatog)


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
Foreman Issue Tracker 22702 None None None 2018-02-27 10:34:36 UTC

Description Beat Rubischon 2017-11-13 14:33:44 UTC
Description of problem:

Satellite 6 offers four possibilities to register a new host:

* Preconfigure host in Foreman
* Using `bootstrap.py`
* Using subscription-manager
* Facts upload with pulp

While preconfiguring hosts and bootstrap.py results in identical configuratilon, subscription-manager and puppet gives different users experience.

This BZ addresses puppet

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

Satellite 6.2.12

How reproducible:

always

Steps to Reproduce:
1. Register a host in Satellite
2. Delete host's registration
3. Wait for next puppet run

Actual results:

The host object is automatically created and assigned to the variables defined in the facts
foreman_location => myLoc
foreman_organization => myOrg

A missing domain is also auto created, but lacks organization and location.

Expected results:

In case the domain doesn't exist, create an error. This would be consistent to the WebUI and bootstrap.py.

Additional info:

Comment 2 Daniel Lobato Garcia 2018-02-27 10:34:34 UTC
Created redmine issue http://projects.theforeman.org/issues/22702 from this bug


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