Aria Automation Orchestrator pods fail to deploy with "Error: deployments.apps "vco-app" already exists"
book
Article ID: 314889
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms:
Aria Automation Orchestrator upgrade fails with:
ERROR Failed to upgrade release 'vco' in namespace 'prelude' ".
The vco pods fails to initialize. The /var/log/vmware/prelude/helm/prelude_vco.log contains a deployment already exists error:
Error: deployments.apps "vco-app" already exists"
A backup or file copy has been manually created in the /opt/charts/vco/templates directory
Environment
VMware Aria Automation Orchestrator 8.x
Cause
The issue occurs when files are saved in /opt/charts/vco/templates/ which cause K8s to try to load the file as another 'vco-app' Pod/service. For example backup files such as deployment.yaml.bck or deployment.yaml.old file
Resolution
To resolve the issue perform the following
1. Snapshot the Aria Automation Orchestator appliance as a best practice precaution. 2. Remove any backup files or manually created files from the /opt/charts/vco/templates/ directory 3. Deploy again the services: