Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
anhht4
Participant

Unable to uninstall HCP

Dear all,

I'd like to uninstall hcp on our SMS but it resists to go away...I have tried this command :

autoupdatercli revert-completely hcp

And log showing: 

*N* %09-12 15:45:41% : Script /var/log/AutoUpdater/metadata/HealthCheck_Point/hcp/hcp_AutoUpdate/73/product_scripts/hcp_pre_revert.sh output:
[LOG] - Removing HCP rpm
[LOG] - Previous version of HCP was found [/opt/HealthCheckPoint/last_version/hcp-1-592042.rpm], installing it

*N* %09-12 15:45:41% : Revert succeeded for component hcp
*N* %09-12 15:45:41% : ----------------------------------------------------------------------

But hcp -v still showing:

[Expert@sms-checkpoint:0]# hcp -v
HCP RPM was installed manually
HCP RPM Build: hcp-1-592042.i386

SMS Version: HOTFIX_R81_20_JUMBO_HF_MAIN Take: 53

Would you please help advise?

Many thanks in advance!

BR,

Andy

0 Kudos
13 Replies
Tal_Paz-Fridman
Employee
Employee

Hi Andy,

Can I ask why you're trying to uninstall it?

0 Kudos
Lesley
Leader Leader
Leader

Indeed if you remove this it could impact the progress with TAC tickets.

Most of the time engineers need a HCP report from the setup to start the ticket. 

-------
If you like this post please give a thumbs up(kudo)! 🙂
the_rock
Legend
Legend

Thats indeed true.

0 Kudos
JozkoMrkvicka
Mentor
Mentor

Maybe because someone decided that HCP is running every 6 hours by default starting from HCP Update 17 - Take 70. Not saying it is causing CPU spikes which is supposed to be fixed in HCP Update 18 - Take 73.

Kind regards,
Jozko Mrkvicka
Amir_Senn
Employee
Employee

If this is the issue, you offered the better solution to removal - installing latest take should solve the issue.

I think that the schedule is a good idea, it executed another code as part of the tests that caused the spike AFAIK so I won't put the fault on HCP itself.

Kind regards, Amir Senn
0 Kudos
anhht4
Participant

Yes, I tried to update take 73, it did change but the build version stay the same. Also tried reboot SMS few times...

2024-09-13 08_05_39-Window.png

Please advise...

0 Kudos
anhht4
Participant

Yes, you got me, we have dozens of Spark spinning up with High Mem usage and having S2S connection issue intermittently. I tried to update HCP to Take 73 as you wrote but when check the hcp -v it's still showing the same version as before.

0 Kudos
Amir_Senn
Employee
Employee

Issue is solved for T73 AFAIK so this might have another root cause.

You can try sk182491 , it might solve the issue if indeed it's the HCP.

If all else fail and you really want to remove you can try "autoupdatercli disable hcp". Might solve your issue of removing it

Kind regards, Amir Senn
0 Kudos
Amir_Senn
Employee
Employee

Did my suggestion solved your issue?

Kind regards, Amir Senn
0 Kudos
the_rock
Legend
Legend

I would try remove all the files in /var/log/hcp dir and see if that helps.

Andy

0 Kudos
anhht4
Participant

Thanks for advice...yes I will try later today.

0 Kudos
JozkoMrkvicka
Mentor
Mentor

Have you tried to run "autoupdatercli revert-completely hcp" more times ? I can imagine that only latest version of HCP was uninstalled, not very first version. Each Jumbo can have newer version of HCP.

Kind regards,
Jozko Mrkvicka
0 Kudos
anhht4
Participant

I ran at least 3 times and reboot the box 2 times 😞

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events