Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: OS Management Update Job in OCI Console Fails with Error: "Ksplice upgrade failed"

Applies to: 

Oracle Cloud Infrastructure - Version N/A and later

Information in this document applies to any platform.

Symptoms

 When updating the instance via OS Management tab in the OCI console, one of the processes fails with error:

['ksplice', '-y', 'all', 'upgrade', '--no-yum'] failed (1): stderr: stdout: Failed to lock  /var/lib/ksplice/lock, another instance of ksplice may be running] 

Cause

 An existing ksplice update process is already running in the instance, preventing the new one from executing successfully.

Solution

  • Find the running ksplice processes in the affected instance:
# ps -ef | grep ksplice 
root 2386 1050 0 12:10 pts/0 00:00:00 /usr/bin/python2.7 /bin/ksplice all upgrade --no- yum 
root 2609 2410 0 12:10 pts/0 00:00:00 /usr/bin/perl /usr/lib/uptrack/ksplice-apply -- partial /var/cache/uptrack/Linux/x86_64/5.4.17-2136.304.4.1.el7uek.x86_64/#2 SMP   Tue Feb 8 11:44:31 PST 2022/updates/ksplice-k8uu7u60 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!