Article Number
000001323
Applies To
RSA Product Set: RSA NetWitness Platform
RSA Product/Service Type: Security Analytics Server
RSA Version/Condition: 11.5.X.0
Platform: CentOS
O/S Version: 7
Issue
When updating NwHost to 11.5.X, The update fails with below error.
NwHost /var/log/netwitness/config-management/chef-solo.log:
[2021-04-08T16:35:40+00:00] INFO: Processing ohai[reload rsa_nw_hosts plugin] action reload (nw-dns-client::hosts line 23)
[2021-04-08T16:35:40+00:00] INFO: Processing ruby_block[abort chef] action run (nw-dns-client::hosts line 41)
[2021-04-08T16:35:40+00:00] FATAL: No valid NW hosts data was available, aborting
[2021-04-08T16:35:40+00:00] INFO: Running queued delayed notifications before re-raising exception
[2021-04-08T16:35:40+00:00] INFO: nw_rabbitmq_plugin[nw_admin:upgrade] sending enable action to nw_rabbitmq_plugin[nw_admin] (delayed)
[2021-04-08T16:35:40+00:00] INFO: Processing nw_rabbitmq_plugin[nw_admin] action enable (nw-log-collector::rabbitmq line 86)
[2021-04-08T16:35:40+00:00] INFO: Enabling RabbitMQ plugin 'nw_admin'.
[2021-04-08T16:35:40+00:00] INFO: Processing execute[rabbitmq-plugins enable nw_admin] action run (/var/lib/netwitness/config-management/cache/cookbooks/nw-rabbitmq/providers/plugin.rb line 34)
[2021-04-08T16:35:46+00:00] INFO: execute[rabbitmq-plugins enable nw_admin] ran successfully
[2021-04-08T16:35:46+00:00] ERROR: Running exception handlers
[2021-04-08T16:35:46+00:00] ERROR: Exception handlers complete
[2021-04-08T16:35:46+00:00] FATAL: Stacktrace dumped to /var/lib/netwitness/config-management/cache/chef-stacktrace.out
[2021-04-08T16:35:46+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
Cause
This issue is due to no NwServer entry in /etc/resolv.conf file.
Resolution
Please follow the below steps to fix the issue.
- Login to NwHost and edit /etc/resolv.conf file to add below entry.
nameserver <NWServerIP>
Example:
nameserver 10.10.10.1
2. Re-attempt the update and this should be a success now.
Workaround
Please use below workaround if DNS settings did not help to fix the issue.
Edit /var/netwitness/config-management/cookbooks/third-party/nw-dns-client/recipes/hosts.rb file in NodeX and comment lines as below.
#ruby_block 'abort chef' do
# block do
# Chef::Application.fatal!('No valid NW hosts data was available, aborting')
# end
# only_if do
# node['global']&.[]('host')&.[]('version') &&
# node['nw_host']['client_configured'] &&
# !node['rsa_nw_hosts']['bootstrap'] &&
# !node['rsa_nw_hosts']['overridden'] &&
# (node['rsa_nw_hosts']['cached'] || node['rsa_nw_hosts']['fallback'])
# end
# action :run
#end