Installation

Python upgrade readiness app: Why Integrity check failing after update?

norbertt911
Communicator

Hello,

I recently upgraded Splunk Enterprise (and Heavy Forwarder) instances to 8.2.5 and 8.2.6. Both versions (maybe others too) install the Python Upgrade Readiness App 1.0 as default. Then Splunk asked to update the App to 3.1.  Nicely done from Splunk, but after the restart, the Integrity check starts to complain about the missing files of 1.0 version. It is annoying. Is there a way to "teach" Splunk the new version? (I know the check could be completely turned off, but I won't like to lose the information if ever something important changes.)

Labels (2)
Tags (2)
1 Solution

marcus_h
Engager

Hello,

we have the same issue and opened a case. We get a workaround from the support:

  • Copy the manifest file
    • cd /opt/splunk; cp -p splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest{,.orig}
  • Print all lines to the new manifest file, but not the upgrade readiness lines
    • cat splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest.orig | grep -v python_upgrade_readiness_app > splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest
  • Splunk restart

This commands works on *nix systems, for windows use similar commands.

View solution in original post

marcus_h
Engager

Hello,

we have the same issue and opened a case. We get a workaround from the support:

  • Copy the manifest file
    • cd /opt/splunk; cp -p splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest{,.orig}
  • Print all lines to the new manifest file, but not the upgrade readiness lines
    • cat splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest.orig | grep -v python_upgrade_readiness_app > splunk-9.0.2-17e00c557dc1-linux-2.6-x86_64-manifest
  • Splunk restart

This commands works on *nix systems, for windows use similar commands.

samejgink
Explorer

Thank you!
The only problem I had in nix was a strange permission denied error when cat-ing to the new manifest file. I had to delete the original (but not .orig!) file and the command worked perfectly.

0 Karma

norbertt911
Communicator

Yes, seems that solves this issue.

One note: should remove the .orig manifest file before restarting, or it will be applied.

Thanks!

 

0 Karma

computermathguy
Path Finder

This just happened to me on 8.2.6.  Installed the new Upgrade Readiness app (ver 4.0.2) which overwrote the older 1.0 version.

0 Karma

norbertt911
Communicator

Hello,

Thanks for the tip, but I think it's not helping me in this case.

1. All my instances have the same issue after update - So I have no "working" manifest file to replace...

2. in the current file the python_upgrade_readiness_app has 1000 rows. I'm not going to edit the hashes 🙂

3. I can delete the app and restore the original 1.0 - no more integrity issue, but Splunk would like to update the app, so the circle begins...

I have the feeling, that this is something for Splunk Support.  Seems to me the update "forgot" to record the new version into the manifest file. As a homemade solution, I can totally remove the app's records from the manifest, so nothing to check - no integrity warning. But I do not like this way.

0 Karma

vinothkumark
Path Finder

I am also facing the same issue. Were you able to resolve?

cboillot
Contributor

I have the same question.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...