2015-09-27 08:21 AM
Hello All,
There is a issue which are facing in re-provisioning a VLC with SA. First we notcied the below issue on the VLC
Unable to connect to "SA-IP* in update column.
Now after that we re-provisoned the VLC, I start getting the error message on the VLC, i.e., mentioned below..
Sep 27 12:04:04 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:04 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:09 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:09 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:14 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:14 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:16 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-NormalUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:16 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-NormalUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:19 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:19 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:24 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:24 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:29 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: nwsdk failure: NwOpen returned 0; code 0; error: Could not find trusted session id in hello response
Sep 27 12:04:29 LSA3VLC1B collectd[10389]: NgNativeReader_NwLogCollector-FastUpdate: failed to connect to device: failed to connect to nws://admin@localhost:56001/?group=Administrators&cert=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fcerts%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem&key=%2Fvar%2Flib%2Fpuppet%2Fssl%2Fprivate_keys%2F624ef28b-ff29-495b-8b18-200a7b7a6897.pem
Sep 27 12:04:32 LSA3VLC1B puppet-agent[16465]: Caught TERM; calling stop
And also I am facing the issue on this, please refer to attached
Now this VLC is unable to collect the logs from many hours, please suggest the full steps of re-provisioing from sctrach and how this VLC can start working.
Regards,
Deepanshu Sood.
2017-03-23 06:08 PM
first on Host > select VLC and 'remove and repurpose host' using '-' in menu.
try this on VLC :-
service mcollective stop
service collectd stop
service rabbitmq-server stop
service puppet stop
cat /var/lib/puppet/node_id
puppet cert clean <node_id> /// here node_id is your vlc Node ID which you can also find in yaml file
rm -rf /var/lib/puppet/ssl/*
service mcollective start
service collectd start
service rabbitmq-server start
service puppet start
puppet agent -t --waitforcert 10
service network restart
now discover Host you should get the VLC.