RSA NetWitness 11.x RabbitMQ Users Missing during NRT Import Process
Issue
During import of NRT backup, nwappliance user is not imported as part of RabbitMQ users list due to which the installation of other component hosts is failing. The following error throws up while trying to install a new component host:
FATAL: Stacktrace dumped to /var/lib/netwitness/config-management/cache/chef-stacktrace.out
FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
FATAL: Net::HTTPServerException: nw_rabbitmq_user[create certificate users] (nw-rabbitmq::users line 93) had an error: Net::HTTPServerException: nw_rabbitmq_user[create nwappliance] (/var/lib/netwitness/config-management/cache/cookbooks/nw-rabbitmq/resources/user.rb line 323) had an error: Net::HTTPServerException: nw_rabbitmq_user[add nwappliance] (/var/lib/netwitness/config-management/cache/cookbooks/nw-rabbitmq/resources/user.rb line 340) had an error: Net::HTTPServerException: https://23e90e2f-419e-4a67-a55b-7664e911bf34:15671/api/users/nwappliance: 400 "Bad Request"
FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
FATAL: Net::HTTPServerException: nw_rabbitmq_user[create certificate users] (nw-rabbitmq::users line 93) had an error: Net::HTTPServerException: nw_rabbitmq_user[create nwappliance] (/var/lib/netwitness/config-management/cache/cookbooks/nw-rabbitmq/resources/user.rb line 323) had an error: Net::HTTPServerException: nw_rabbitmq_user[add nwappliance] (/var/lib/netwitness/config-management/cache/cookbooks/nw-rabbitmq/resources/user.rb line 340) had an error: Net::HTTPServerException: https://23e90e2f-419e-4a67-a55b-7664e911bf34:15671/api/users/nwappliance: 400 "Bad Request"
Resolution
Execute the following command specific to RabbitMQ component:
nw-recovery-tool -i -c rabbitmq -d /var/netwitness/backup/
Product Details
RSA Product Set: NetWitness PlatformRSA Product/Service Type: RSA NetWitness Platform
RSA Version/Condition: 11.7.x
Platform: CentOS
O/S Version: 7
Approval Reviewer Queue
Technical approval queue