Project

General

Profile

Actions

Bug #22702

open

Streamline new host registration

Added by Daniel Lobato Garcia about 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PuppetCA
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

There are 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.

Steps to Reproduce:
1. Register a host
2. Delete registered host
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.

No data to display

Actions

Also available in: Atom PDF