You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CacheLoader returned null for key mcpConfiguration — openmetadata_settings not seeded with default mcpConfiguration during migration #28960
On a fresh install of 1.13.0, SettingsCache fails to load mcpConfiguration at startup because no default row is inserted into openmetadata_settings by the migration. getSettingOrDefault() returns null for this key, which Guava's LoadingCache rejects with InvalidCacheLoadException. The server starts despite this error, but it is logged as an ERROR on the main thread.
To Reproduce
Fresh install of OpenMetadata 1.13.0
Run DB migrations (openmetadata-ops.sh migrate)
Start the server
Observe the error in startup logs
Stack trace:
ERROR [main] o.o.s.r.s.SettingsCache - Failed to fetch Settings . Setting mcpConfiguration
com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key mcpConfiguration.
at org.openmetadata.service.resources.settings.SettingsCache.getSettingOrDefault(SettingsCache.java:538)
at org.openmetadata.service.security.auth.SecurityConfigurationManager.initialize(SecurityConfigurationManager.java:124)
at org.openmetadata.service.OpenMetadataApplication.run(OpenMetadataApplication.java:306)
Expected behavior
Expected behavior:
Either the 1.13.0 migration seeds a default mcpConfiguration row in openmetadata_settings, or SettingsCache.getSettingOrDefault() returns a hardcoded default MCPConfiguration object when the DB row is absent rather than returning null.
OS
No response
Python version
No response
OpenMetadata version
1.13.0
OpenMetadata Ingestion package version
1.13.0
Additional context
Not seen in version 1.12.x
Pre-submission checklist
I searched for duplicate issues.
I removed credentials, hostnames, emails, and other sensitive data from logs and config.
Activity
aresabalo commentedon Jun 22, 2026
I ran into the same issue on a fresh OpenMetadata 1.13 deployment.
The server repeatedly logged:
In my case, the problem was that the MCP configuration had never been initialized. The solution was to create it through the MCP configuration API:
After submitting a valid MCP configuration payload, the
mcpConfigurationsetting was persisted and the startup errors disappeared.fix(test): correct EditAll-deny assertions in EntityPermissions Playw…
fix(settings): don't log an unset optional setting as an error (#28960)…
test(playwright): batch seven queued flaky-spec stabilizations into o…
fix(settings): don't log an unset optional setting as an error (#28960)…