Project

General

Profile

Actions

Bug #36918

open

Building a VM on Azure and registering the host back to Katello creates a duplicate host entry

Added by Chris Roberts 6 months ago.

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

Description

When using Katello and the AzureRM plugin, we build the host correctly on Azure but the fqdn is ignored and we create an entry of hostname+domain set in Foreman. This creates a host in Azure with hostname but when you ssh into the VM and run hostname -f we get the fqdn that Azure applies internal to the VM with WALinuxAgent.

What happens next is we register back to Katello with subscription-manager but use the param --name full-fqdn so the VM registers back to Katello and we have 1 host entry of the VM we made and a 2nd entry with the name that WALinuxAgent created, this causes an issue because now Katello/Foreman can't manage the host updates because the incorrect host has the content updates, any updates to the provisioning side of things will update the first entry.

No data to display

Actions

Also available in: Atom PDF