This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Configuration

1 - SOLO-1001

LocalConfigNotFoundSoloError — Configuration

LocalConfigNotFoundSoloError

CodeSOLO-1001
CategoryConfiguration
OwnershipUser
RetryableNo

Description

Thrown when solo reads its local configuration but no file exists at the resolved path (~/.solo/local-config.yaml, or $SOLO_HOME/local-config.yaml when SOLO_HOME is set). The local config records cluster references, deployments, and the active user context, so most commands load it before doing any work. The file is missing because solo init has not yet run on this machine, because SOLO_HOME points at a different directory than the one the file was created in, or because it was manually moved or deleted.

Troubleshooting Steps

  1. Create a local config: solo deployment config create –deployment –namespace

2 - SOLO-1002

WriteLocalConfigFileError — Configuration

WriteLocalConfigFileError

CodeSOLO-1002
CategoryConfiguration
OwnershipInfrastructure
RetryableNo

Description

Thrown when solo cannot persist the local configuration to disk at ~/.solo/local-config.yaml (or $SOLO_HOME/local-config.yaml). The local config is rewritten whenever solo records a new cluster reference, deployment, or context, and this error wraps the underlying filesystem failure (cause). It means the data was prepared but could not be written: typical causes are missing write permissions on the ~/.solo directory, a read-only or full disk, or a parent directory that is missing or locked.

Troubleshooting Steps

  1. Check file system permissions for ~/.solo

3 - SOLO-1003

RefreshLocalConfigSourceError — Configuration

RefreshLocalConfigSourceError

CodeSOLO-1003
CategoryConfiguration
OwnershipInfrastructure
RetryableNo

Description

Thrown when solo fails to reload the local configuration from its on-disk source — that is, the re-read and re-parse of ~/.solo/local-config.yaml (or $SOLO_HOME/local-config.yaml) did not complete; the underlying failure is wrapped in cause. Unlike LocalConfigNotFoundSoloError, the file is present: it could not be read (insufficient permissions, an I/O error) or its contents could not be parsed into the expected configuration because the file is malformed or corrupt.

Troubleshooting Steps

  1. Check file system permissions for ~/.solo
  2. Verify the config file exists: solo deployment config info

4 - SOLO-1004

RemoteConfigsMismatchSoloError — Configuration

RemoteConfigsMismatchSoloError

CodeSOLO-1004
CategoryConfiguration
OwnershipInfrastructure
RetryableNo

Description

Thrown when a deployment spans multiple clusters and solo finds that the remote configuration stored in two of them does not agree; the message names the two clusters whose copies diverged. solo keeps the remote config as a ConfigMap that must be an identical replica in every cluster of the deployment, so it compares them and raises this when they differ. The usual cause is a prior write that was applied to one cluster but not the others (a partial or failed update), a ConfigMap that was edited manually, or clusters that have otherwise drifted out of sync.

Troubleshooting Steps

  1. Inspect both configs: kubectl get configmap -n
  2. Sync manually before retrying