AnsweredAssumed Answered

Puppet Agent is Generating CSR with Hostname instead of node_id

Question asked by jAMES HERBST on Sep 20, 2017
Latest reply on Sep 21, 2017 by huan zhou

I'm trying to re-provision a VLC and I'm encountering 2 issues.  Rabbitmq service fails to start with the following error:

 


RabbitMQ 3.5.7. Copyright (C) 2007-2015 Pivotal Software, Inc.
## ## Licensed under the MPL. See http://www.rabbitmq.com/
## ##
########## Logs: /var/log/rabbitmq/sa@localhost.log
###### ## /var/log/rabbitmq/sa@localhost-sasl.log
##########
Starting broker...

BOOT FAILED
===========

Error description:
{could_not_start,nw_admin,
{{shutdown,
{failed_to_start_child,nw_admin_worker,
{{badmatch,{error,enoent}},
[{nw_cert_monitor,load_certificate,1,
[{file,
"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_cert_monitor.erl"},
{line,72}]},
{nw_cert_monitor,init,1,
[{file,
"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_cert_monitor.erl"},
{line,48}]},
{nw_admin_worker,init,1,
[{file,
"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_admin_worker.erl"},
{line,32}]},
{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},
{proc_lib,init_p_do_apply,3,
[{file,"proc_lib.erl"},{line,239}]}]}}},
{nw_admin,start,[normal,[]]}}}

Log files (may contain more information):
/var/log/rabbitmq/sa@localhost.log
/var/log/rabbitmq/sa@localhost-sasl.log

{"init terminating in do_boot",{could_not_start,nw_admin,{{shutdown,{failed_to_start_child,nw_admin_worker,{{badmatch,{error,enoent}},[{nw_cert_monitor,load_certificate,1,[{file,"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_cert_monitor.erl"},{line,72}]},{nw_cert_monitor,init,1,[{file,"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_cert_monitor.erl"},{line,48}]},{nw_admin_worker,init,1,[{file,"/home/sabuild/workspace/ngc-10.6.x-linux-stability-build-git/src/NwLogCollection/nw_admin/nw_admin_worker.erl"},{line,32}]},{gen_server,init_it,6,[{file,"gen_server.erl"},{line,304}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}}},{nw_admin,start,[normal,[]]}}}}
[60G[ [0;31mFAILED [0;39m]

 

The other issue, and I can't tell which issue is the egg and which is the chicken here, is that the puppet agent is now generating a cert request using it's hostname instead of the node_id.

 

PuppetMaster Cert List

 

Any thoughts on how I should proceed getting the VLC readded?

 

Thanks,

 

Jim

Outcomes