The customer attempted the KV Store migration on a standalone License Manager. The migration entered Migration_Failed status before it moved any collections.
The precheck repeatedly failed to connect to localhost:38081. PDL logged HTTP 404 responses while retrieving database-secret metadata. splunkd also reported that it could not find postgres:kvstore.pdl and postgres:postgres_admin.
PostgreSQL logs showed failed connections to [::1]:5432, while listener checks indicated PostgreSQL was available through IPv4. The resulting IPv4/IPv6 mismatch prevented the PostgreSQL, Traefik, and PDL startup chain from becoming ready.
The migration had not started moving KV Store data. Its Migration_Failed status and zero migrated collections showed that it failed during PostgreSQL/PDL readiness checks. The MongoDB-backed KV Store remained available.
The errors for postgres:kvstore.pdl and postgres:postgres_admin were downstream symptoms. Splunk creates and manages these objects during normal PostgreSQL/PDL bootstrap. Their absence indicated that bootstrap did not complete; it did not mean that an administrator needed to create them.
The host’s /etc/hosts file had commented out the IPv4 localhost mapping:
#x.x.x.x localhost localhost.localdomain
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
This caused localhost to resolve through ::1. At the same time, the affected local service path was listening on, or expected, IPv4 loopback. Traefik did not complete the expected startup/readiness path, which prevented PDL from publishing its local endpoint.
Use the following commands to check local resolution and listener state:
getent ahosts localhost
cat /etc/hosts
ss -lntp | egrep ':(5432|5433|38081)\b'Restore the IPv4 loopback mapping in /etc/hosts:
x.x.x.x localhost localhost.localdomain
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
Confirm that localhost now returns the expected IPv4 address:
getent ahosts localhost
Restart Splunk during an approved maintenance window:
$SPLUNK_HOME/bin/splunk restart
After restart, confirm the local service ports are listening and that the PostgreSQL, Traefik, and PDL services complete initialization:
ss -lntp | egrep ':(5432|5433|38081)\b'
The customer confirmed that re-enabling the IPv4 localhost entry resolved the issue.
Failed mongo>postgres migration.
Use the KV Store migration cleanup endpoint only after the local PostgreSQL/Traefik/PDL bootstrap issue is resolved:
curl -k -u <admin-user>:<password> -X POST \
'https://localhost:8089/services/kvstore/migrateToPostgres/cleanup?output_mode=json'
Review these logs when diagnosing similar startup failures:
splunkd.log
sup-pkg-postgres-stdout.log
sup-pkg-postgres-postgres.log
sup-pkg-kvstore-pdl-stdout.log
Traefik and supervisor package logs
| Revision | Publish Date | Comments |
|---|---|---|
1.0 |
17-Nov-2026
|
Initial Release |