OCI: OS Management Update Job in OCI Console Fails with Error: "Ksplice upgrade failed"
in Linux
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
Tagged:
0