Project

General

Profile

Actions

Bug #19037

open

The certname doesn't get updated when change doman name of host

Added by Lukas Bednar about 8 years ago. Updated about 8 years ago.

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

Description

When I change domain name of host, then 'certname' filed doesn't get updated.
That causes that puppet can not run after next reprovisioning.

See attached file, where I use python-foreman client to inspect host's fields,
before and after domain name change.

I am trying to change domain name of my machine from "qa.example.com"
to "scl.example.com".

The 'certname' field is same before and after domain change:

"""
u'certname': u'jenkins-vm-22.qa.example.com',
u'name': u'jenkins-vm-22.scl.example.com',
"""

The problem is reproducible from webui as well.


Files

foreman-issue-certname foreman-issue-certname 5.43 KB Lukas Bednar, 03/27/2017 09:34 AM
Actions #1

Updated by Dominic Cleal about 8 years ago

  • Category set to PuppetCA

It isn't really intended to, AFAIK. If the host is renamed in Foreman then that doesn't affect the certname in the existing host's certificate, which remains the old value. The ENC interface should identify the host still through the existing certname.

Actions

Also available in: Atom PDF