Missing registered host srv1pup01p.anx.com, please ensure it is checking in

Getting this error when trying to setup provisioning: Missing registered
host srv1pup01p.anx.com, please ensure it is checking in

I understand the error and why I'm getting it but I'm looking for help on
how to resolve it cleanly.

When I built the server I wanted the certificates to be puppet.anx.com.
Theory is migrations in the future will be simpler coming from the same
name instead of a new host name such as srv1pup02p.anx.com. I tried to
find foreman-installer options to change the certname but couldn't find
anything that worked. I ended up editing /etc/sysconfig/network, hostname,
and /etc/hosts to use the hostname of puppet.anx.com. That ended up
working, created a cname of puppet pointing to srv1pup01p.anx.com and have
been using puppet.anx.com for everything. I changed the hostname back to
srv1pup01p.anx.com to comply with our companies server naming policies.

The issue is now the puppet agent knows the server puppet.anx.com, and is
causing this error since the FQDN of the server is srv1pup01p.anx.com.

Is there a clean way to fix this? Or should I just change my host name
again for the configuration? Would have different certname values in
master and agent work?

Thanks

This is actually a issue with puppet more then foreman I think , but you
can set the cert name in your puppet config this will over rule the fqdn ,
now in foreman I think it will remain an issue… You might have to
reregister it under the "complex" name.

··· On Monday, August 4, 2014 6:00:11 PM UTC+2, zjhe...@gmail.com wrote: > > Getting this error when trying to setup provisioning: Missing registered > host srv1pup01p.anx.com, please ensure it is checking in > > I understand the error and why I'm getting it but I'm looking for help on > how to resolve it cleanly. > > When I built the server I wanted the certificates to be puppet.anx.com. > Theory is migrations in the future will be simpler coming from the same > name instead of a new host name such as srv1pup02p.anx.com. I tried to > find foreman-installer options to change the certname but couldn't find > anything that worked. I ended up editing /etc/sysconfig/network, > hostname, and /etc/hosts to use the hostname of puppet.anx.com. That > ended up working, created a cname of puppet pointing to srv1pup01p.anx.com > and have been using puppet.anx.com for everything. I changed the > hostname back to srv1pup01p.anx.com to comply with our companies server > naming policies. > > The issue is now the puppet agent knows the server puppet.anx.com, and is > causing this error since the FQDN of the server is srv1pup01p.anx.com. > > Is there a clean way to fix this? Or should I just change my host name > again for the configuration? Would have different certname values in > master and agent work? > > Thanks > > >