After manually modifying resolv.conf files on vRA nodes deploy.sh fails with Release "client-secrets" does not exist. Installing it now. Error
search cancel

After manually modifying resolv.conf files on vRA nodes deploy.sh fails with Release "client-secrets" does not exist. Installing it now. Error

book

Article ID: 326050

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
/opt/scripts/deploy.sh --onlyClean fails with:

Release "client-secrets" does not exist. Installing it now.
Error: Job failed: BackoffLimitExceeded
helm failed to upgrade 'client-secrets' in namespace 'prelude'

tiller.log shows a message similar to:
[tiller] 2021/01/13 10:30:31 warning: Release "client-secrets" failed post-install: Job failed: BackoffLimitExceeded

The /etc/resolv.conf is no longer a symbolic link.  To check this run command: ls -la /etc/resolv.conf
 root@node2 [ ~ ]# ls -la /etc/resolv.conf
   lrwxrwxrwx 1 root root 34 Apr  7  2020 /etc/resolv.conf ->
../run/systemd/resolve/resolv.conf

 


Environment

VMware vRealize Automation 8.1.x
VMware vRealize Automation 8.x

Cause

An attempt was made to manually modify /etc/resolv.conf file for updating the DNS configuration, breaking the symbolic link in the process.

Resolution

Restore the symbolic link with the following two commands:
rm -f /etc/resolv.conf
ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
Utilize the documented procedure for updating the DNS configuration: Update the DNS assignment for vRealize Automation