Admin Server update stuck on Configuring update packages status in RSA NetWitness Platform
Issue
Update status is stuck on "Configuring update packages" when updating NetWitness Admin Server from 11.3.x to 11.4.1.No other queued jobs are stuck on mongo DB except DEPLOYMENT_UPDATE.
> db.appliance_update.find().pretty()
{
"_id" : "node_uuid",
"_class" : "com.rsa.smc.sa.admin.management.domain.bean.ApplianceUpdate",
"status" : "DEPLOYMENT_UPDATE",
"acceptWarning" : true,
"version" : {
"major" : 11,
"minor" : 4,
"servicePack" : 1,
"patch" : 0
}
}
{
"_id" : "node_uuid",
"_class" : "com.rsa.smc.sa.admin.management.domain.bean.ApplianceUpdate",
"status" : "DEPLOYMENT_UPDATE",
"acceptWarning" : true,
"version" : {
"major" : 11,
"minor" : 4,
"servicePack" : 1,
"patch" : 0
}
}
Cause
Upgrade did not update the Mongo database responsible for the Host status properly, thus we must adjust it manually if there is error.
Resolution
- Get Admin Server UUID
cat /etc/salt/minion
- Check Admin Server update status on mongodb.
mongo admin -u deploy_admin -p
MongoDB shell version v3.6.4
Enter password:
connecting to: mongodb://127.0.0.1:27017/admin
MongoDB server version: 3.6.4
> use sa
switched to db sa - Search in the mongoDB using the Node ID(from step 1) or list all the entries.
Search using specific UUID:>db.appliance_update.find({"_id" : "<NODE_ID>"}).pretty()List all entries:>db.appliance_update.find().pretty() - Remove the entry from mongoDB.
> db.appliance_update.remove({"_id" : "<NODE_ID>"})NOTE: To check if the entry is removed:
WriteResult({ "nRemoved" : 0 })> db.appliance_update.find({"_id" : "<NODE_ID>"}).pretty() - Verify the existence of QUEUED tasks.
mongo admin -u deploy_admin -p
use orchestration-server
db.getCollection('task').find({"status" : "QUEUED"})
db.getCollection('task').find({"status" : "RUNNING"})
If you have verified queued jobs are stuck then run the following commands to remove them.db.getCollection('task').remove({"status" : "QUEUED"})
db.getCollection('task').find({"status" : "RUNNING"}) - Perform a manual update.
upgrade-cli-client –-upgrade --host-addr <IP of Netwitness Server> --version 11.4.1.0
Product Details
RSA Product Set: RSA NetWitness PlatformRSA Product/Service Type: Core Appliance
RSA Version/Condition: 11.3.x and 11.4.x
Summary
Update status is stuck on Configuring update packages when updating RSA NetWitness Admin Server from 11.3.x to 11.4.1.
Approval Reviewer Queue
RSA NetWitness Suite Approval Queue