Splunk Enterprise

Splunk ITSI upgrade trouble

shinsuke
Engager

Hi everyone,

I am in trouble. I need help.

We are performing an UPGRADE of splunk ITSI.

Following the upgrade path of ITSI, we are now handling the following.

4.9.x → 4.11.x → 4.13.x → 4.15.x

Trouble is occurring in the following cases
4.9.6 → 4.11.6

The server configuration is a cluster.
The Splunk version is as follows.

Search head:Splunk 9.1.2
indexer:Splunk 9.1.2
api(HF):Splunk 9.1.2

 

Migration logs at the time the trouble occurred are as follows.

--------------------------------------------------------

2023/12/22 14:45:20.640
2023-12-22 14:45:20,640+0900 process:2531 thread:MainThread ERROR [itsi.migration] [itsi_migration:4543] [run_migration] Migration from 4.9.2 to 4.10.0 did not finish successfully.
host = logmng-st-splunk_srch01source = /opt/splunk/var/log/splunk/itsi_migration_queue.logsourcetype = itsi_internal_log


2023/12/22 14:45:20.636
2023-12-22 14:45:20,636+0900 process:2531 thread:MainThread ERROR [itsi.migration] [__init__:1433] [exception] 4.9.2 to 4.10.0: [HTTP 404] https://127.0.0.1:8089/servicesNS/nobody/SA-ITOA/storage/collections/data/itsi_entity_management_rul...; [{'type': 'ERROR', 'code': None, 'text': 'An object with name=itsi_entity_management_rules does not exist'}]
Traceback (most recent call last):
File "/opt/splunk/etc/apps/SA-ITOA/lib/migration/migration.py", line 310, in run
if not command.execute():
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/itsi_migration.py", line 249, in execute
backup.execute()
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 1244, in execute
self.backup()
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 973, in backup
raise e
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 942, in backup
object_types = self._get_object_type_from_collection(collection)
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 601, in _get_object_type_from_collection
rsp, content = simpleRequest(location, sessionKey=self.session_key, raiseAllErrors=False, getargs=getargs)
File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/__init__.py", line 669, in simpleRequest
raise splunk.ResourceNotFound(uri, extendedMessages=extractMessages(body))
splunk.ResourceNotFound: [HTTP 404] https://127.0.0.1:8089/servicesNS/nobody/SA-ITOA/storage/collections/data/itsi_entity_management_rul...; [{'type': 'ERROR', 'code': None, 'text': 'An object with name=itsi_entity_management_rules does not exist'}]

host = logmng-st-splunk_srch01source = /opt/splunk/var/log/splunk/itsi_migration_queue.logsourcetype = itsi_internal_log

 

2023/12/22 14:45:20.635
2023-12-22 14:45:20,635+0900 process:2531 thread:MainThread ERROR [itsi.migration] [__init__:1433] [exception] 4.9.2 to 4.10.0: BackupRestore: [HTTP 404] https://127.0.0.1:8089/servicesNS/nobody/SA-ITOA/storage/collections/data/itsi_entity_management_rul...; [{'type': 'ERROR', 'code': None, 'text': 'An object with name=itsi_entity_management_rules does not exist'}]
Traceback (most recent call last):
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 1244, in execute
self.backup()
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 973, in backup
raise e
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 942, in backup
object_types = self._get_object_type_from_collection(collection)
File "/opt/splunk/etc/apps/SA-ITOA/lib/itsi/upgrade/kvstore_backup_restore.py", line 601, in _get_object_type_from_collection
rsp, content = simpleRequest(location, sessionKey=self.session_key, raiseAllErrors=False, getargs=getargs)
File "/opt/splunk/lib/python3.7/site-packages/splunk/rest/__init__.py", line 669, in simpleRequest
raise splunk.ResourceNotFound(uri, extendedMessages=extractMessages(body))
splunk.ResourceNotFound: [HTTP 404] https://127.0.0.1:8089/servicesNS/nobody/SA-ITOA/storage/collections/data/itsi_entity_management_rul...; [{'type': 'ERROR', 'code': None, 'text': 'An object with name=itsi_entity_management_rules does not exist'}]

host = logmng-st-splunk_srch01source = /opt/splunk/var/log/splunk/itsi_migration_queue.logsourcetype = itsi_internal_log

--------------------------------------------------------

How do you deal with errors?

Any help would be good!

thanks,

shinsuke

Labels (2)
0 Karma
1 Solution

shinsuke
Engager

Self resolved.

Splunk 9.1.2 was not compatible with ITSI 4.11.6.

Therefore, downgrading Splunk 9.1.2 allowed us to upgrade ITSI.

View solution in original post

0 Karma

shinsuke
Engager

Self resolved.

Splunk 9.1.2 was not compatible with ITSI 4.11.6.

Therefore, downgrading Splunk 9.1.2 allowed us to upgrade ITSI.

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...