Network Management
Cortex service was not ready while configuring plugin Cortex Integration component General causing Configuration Wizard to fail or stall
This article explains the steps needed when receiving a cortex error when running the Configuration Wizard.
First published date
Last published date
Overview
Configuration general components for plugins FAILED
Services configuration failed
Exception while configuring plugin Cortex Integration component General. One or more errors occurred
Error while configuring component Orion.ConfigurePluginGeneralComponents
In the ConfigurationWizard.log, the following error message may appear:
DEBUG ConfigurationProgressScene - Setting lblDescription to Configuring general components for plugins 93.8% - Configuring Cortex Integration General
ERROR CortexIntegrationPlugin - SolarWinds.CortexPlugin.Swis.SchemaConfig.CortexIntegrationSwisPluginCaller.DoConfigure() in Name:CortexIntegrationPlugin There are no context policies. : System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: Cortex service was not ready at SolarWinds.CortexPlugin.Swis.SchemaProvider.CortexServiceAbstractDriver.GetCortexService() at SolarWinds.CortexPlugin.Swis.SchemaProvider.CortexDataProviderSchemaConfigurator.GetCortexClient(IClientFactory clientFactory)
Product section
Cause
- There is a block on Cortex.Schema.Lock.Migrations which stops Configuration Wizard from completing the upgrade
- Cortex service fails in its attempt to acquire lock on Cortex.Schema.Lock.Migration
INFO Persistence.SolarWinds.Cortex.Internal.Persistence.Sql.SqlApplicationLockManager - Acquiring SQL Server Exclusive mode application lock 'Cortex.Schema.Lock.Migrations' owned by Session. Lock timeout set to 3,600,000 ms.
Resolution
- Stop all services in all SolarWinds Platform
- Restart SQL Server to the Orion database (If the database runs always-on perform fail-overs to refresh both databases)
- Run query against Orion database to release the lock
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. EXEC sp_releaseapplock @Resource = 'Cortex.Schema.Lock.Migrations', @LockOwner = 'Session';
- Test by running Configuration Wizard in the Main Polling Engine