The JSA deployment was successfully upgraded from 7.5.0 UP6 to 7.5.0 UP7 and post the upgrade, the deploy changes are successful for few of the hosts and are failing for the rest of the managed hosts. The status of the managed hosts was seen as Error in the Deploy Changes window.
If you face all of the below symptoms, then the solution in the KB article needs to be followed.
[hostcontext.hostcontext] [hostcontext_config]com.q1labs.hostcontext.configuration.ConfigSetUpdater: [INFO][NOT:0000006000][IPADDR/- -] [-/- -]Downloading failed using the download url (https://ConsoleIP/console/fetchConfig) in nva.conf. Trying to download again using the url with the real console IP.
[hostcontext.hostcontext] [hostcontext_config] com.q1labs.configservices.hostcontext.exception.HostContextException:Failed to search Certificate for <ConsoleIP> doesn't match any of the subject alternative names: [example.siem.com]
Temporary Workaround:
Edit the managed host in the System and License Management user interface under Deployment Actions --> Edit Host. Choose the option of Encrypt Connections to enable encrypted connections via SSH tunnels from the console to the managed host.
If the deploy changes stills shows error for the managed host after encrypting the connections for the managed host, then the below steps need to be followed for each managed host where the issue is seen.
Solution:
The steps provided below require the following preconditions to function:
On the Console :
cat ip.txt
x.x.x.x
y.y.y.y
z.z.z.z
a.a.a.a
copy-files.sh
#!/bin/bash
cd /store/configservices/configurationsets
for ip in $(cat ips.txt)
do
echo "scp file for $ip"
scp zipfile_GEN.full.zip globalset_list.xml zipfile_QVM.full.zip $ip:/store/configservices/configurationsets/
done
chmod 777 copy-files.sh
sh copy-files.sh
On the Affected MH:
ssh <managedhost_ip>
/opt/qradar/bin/replication.pl -download
Expected Output:
Downloading updates to the database.
[replication] [INFO] Using x.x.x.x as our local IP.
[replication] [INFO] Downloading and applying latest database dumps from the console.
[replication] [INFO] No new database updates to apply.
[replication] [INFO] Replication download timing: Downloading: 3651 ms Overall: 3651 ms
/opt/qradar/bin/local_transformation.sh -l -f
Expected output:
Starting up...
Deployment status set to 'Initiating Deployment'
Deployment status set to 'In Progress'
Deployment status set to 'Success'
Deploy Global Set: Done.
local_transformation: End.
Once the above steps are performed for all the MH IP-Addresses which are showing error in the Deploy Changes window, we can proceed to perform a Deploy Changes from the Admin tab in the GUI.
Please contact JTAC in case of any assistance required for performing the above steps.