Troubleshooting VCF deployment

Troubleshooting VCF deployment

vCenter - no healthy upstream

Sometimes, vCenter can give you an error message, no healthy upstream.

ssh into vCenter

# ssh to vcenter
ssh [email protected]

# launch the shell
shell

Now check the /etc/resolv.conf

cat /etc/resolv.conf

# Ensure that you have correct DNS
nameserver 127.0.0.1
nameserver 192.168.200.5
search fiveorange.net lab.fiveorange.net

Now restart the vCenter services

service-control --stop --all

# Wait for services to be stopped then start them again 

service-control --start --all

Check the services status

service-control --status --all

Check for failed services

service-control --status --all | grep -i stopped

Watch the log files

tail -f /var/log/vmware/vmon/vmon.log

Personality issues

Error: Personality failed to upload as it can be seen in the vcf-installer.

Link: https://knowledge.broadcom.com/external/article/408813/the-personality-upload-task-in-sddc-mana.html

Get the Python file and upload it to the installer

scp lcmTaskFixer.py [email protected]:~/

I tried to run it as vcf user and also as sudo but no joy. So I moved it to the /tmp folder and su- to root and then ran it.

root@vcf-installer [ /tmp ]# python lcmTaskFixer.py 
 _              _____         _   ______ _                            
| |            |_   _|       | |  |  ___(_)                           
| | ___ _ __ ___ | | __ _ ___| | _| |_   ___  _____ _ __             
| |/ __| '_ ` _ \| |/ _` / __| |/ /  _| | \ \/ / _ \ '__|              
| | (__| | | | | | | (_| \__ \   <| |   | |>  <  __/ |                
|_|\___|_| |_| |_\_/\__,_|___/_|\_\_|   |_/_/\_\___|_|  
                   Version: 1.0.0                                                                                                                      
This script detects and cleans stale LCM records in SDDC Manager     
=========================================================================   
SDDC Manager: 9.0.1.0.24962180   
Checking stale personality upload tasks...                          
Found 0 stale personality upload tasks.                                                                                                                
                                                                                                                                                       
Checking stale upgrade tasks...                                       
Found 0 stale upgrade tasks.                                                                                                                           
                                                                                                                                                       
Checking for stale LCM manifest files...                             
Found 1 manifest record (s).                                                                                                                                                                                                                                                                                   
No stale data found. No cleanup needed

Then I continued back with the installer and it has seemed to work.

Last updated on