Hybrid install/upgrade failed with error 'Enclosure 64 on controller 0 is already being used'
Issue
During install/upgrade NetWitness Hybrid appliance, failed with error message 'Enclosure 64 on controller 0 is already being used' in chef-solo.log.
[2021-08-27T04:19:05+00:00] ERROR: Running exception handlers
[2021-08-27T04:19:05+00:00] ERROR: Exception handlers complete
[2021-08-27T04:19:05+00:00] FATAL: Stacktrace dumped to /var/lib/netwitness/config-management/cache/chef-stacktrace.out
[2021-08-27T04:19:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-08-27T04:19:05+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: nw_base_nwconsole[create raid] (nw-network-hybrid::hardware line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[create-raid] (/var/lib/netwitness/config-management/cache/cookbooks/nw-base/resources/nwconsole.rb line 136) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" ----
STDOUT: RSA NetWitness NextGen Console 11.5.0.0
Copyright 2001-2020, RSA Security Inc. All Rights Reserved.
>tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem
Successfully logged in to localhost:56006 as session 198
>send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log
Enclosure 64 on controller 0 is already being used.
STDERR:
---- End output of NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" ----
Ran NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" returned 1
[2021-08-27T04:19:05+00:00] ERROR: Exception handlers complete
[2021-08-27T04:19:05+00:00] FATAL: Stacktrace dumped to /var/lib/netwitness/config-management/cache/chef-stacktrace.out
[2021-08-27T04:19:05+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2021-08-27T04:19:05+00:00] FATAL: Mixlib::ShellOut::ShellCommandFailed: nw_base_nwconsole[create raid] (nw-network-hybrid::hardware line 49) had an error: Mixlib::ShellOut::ShellCommandFailed: execute[create-raid] (/var/lib/netwitness/config-management/cache/cookbooks/nw-base/resources/nwconsole.rb line 136) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" ----
STDOUT: RSA NetWitness NextGen Console 11.5.0.0
Copyright 2001-2020, RSA Security Inc. All Rights Reserved.
>tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem
Successfully logged in to localhost:56006 as session 198
>send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log
Enclosure 64 on controller 0 is already being used.
STDERR:
---- End output of NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" ----
Ran NwConsole -k -c "tlogin server=localhost port=56006 username=admin group=Administrators cert=/etc/pki/nw/node/node-cert.pem key=/etc/pki/nw/node/node-key.pem" -c "send /appliance raidNew controller=0 enclosure=64 scheme=network-hybrid commit=1 --output-pathname=/var/log/netwitness/appliance/raid-create.log" returned 1
Cause
_nw-network-hybrid.registered_ flag file is present on NetWitness Admin appliance which is causing an attempt to run create raid.
Resolution
- Create nw-network-hybrid.registered file
# touch /etc/netwitness/platform/nw-network-hybrid/nw-network-hybrid.registered - Run the install/upgrade again.
Product Details
RSA Product Set: RSA NetWitness PlatformRSA Product/Service Type: Core Appliance
RSA Version/Condition: 11.5, 11.6
Platform: Centos 7
O/S Version: Centos 7
Summary
Hybrid install/upgrade failed while running raid create.
Approval Reviewer Queue
RSA NetWitness Suite Approval Queue