2017-09-20 06:26 PM
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.
Any thoughts on how I should proceed getting the VLC readded?
Thanks,
Jim
2017-09-21 12:51 AM
Check below two files, usually it's due to appliance when bootup, some script failed to run? If possible,re-deploy the VLC?
[root@logcNd puppet]# cat csr_attributes.yaml
custom_attributes:
1.2.840.113549.1.9.7: fqdn=logcNd,ipaddress=192.168.112.102,type=base
[root@logcNd puppet]# cat puppet.conf
[main]
rundir = /var/run/puppet
certname = ecda14f3-9da7-497d-9fd3-389786935d09
logdir = /var/log/puppet
ssldir = $vardir/ssl
[agent]
localconfig = $vardir/localconfig
classfile = $vardir/classes.txt
server = puppetmaster.local
[root@logcNd puppet]#