Spun up a new CSPC collector on v2.9 and tried to upgrade/update it to newest release 2.9.0.1.
It is stuck in "Apply-in-progress".
In Troubleshooting guide this is what should be done:
Apply-in-progress Hunged Note: Sometimes LCM upgrade may continue for 1 day . During LCM upgrade it will display Apply-in-progress .It is strictly recommended that to execute below command if process is hunged for more than a day.
1. Login to collector appliance as collectorlogin
2. Switch to root using su – command
3. Run below commend to check apply process is running Ex:- #ps –aef | grep apply
4. If any apply process is running, then kill that process using below command.
- Kill -9 from above output
5. Get the updateDBScript.sh from here and run as root
6. Login to CSPC UI and go to Software Updates and trigger upgrade
I can do step 1-4 but the PID changes every now and then, so I'm not able to kill it.
Have tried to kill the PPID, but doesn't make a difference.
The update script from step 5 is not available as I probably don't have the correct priviliges on "box.com" so even if I had success on killing the PID I couldn't get further in the t-shoot process.
Have also tried to do what is proposed in this thread: Upgrade to CSPC 2.8 stuck on "Apply-in-progress" - Cisco Community