Debugging Deployment failures - ganeshahv/Contrail_SRE GitHub Wiki
Build hosts file with domain suffix when provided
Soln:
1]. Check if all the nodes are sshable from the command server.
2]. Make sure the /etc/hosts of all the nodes are uniformly populated.
Cant connect to MySQL server
Soln:
1]. Verify if mariaDB docker is restarting.
2]. If yes, do a openstack cleanup and redeploy
do a openstack destroy by running the following command from /root/contrail-kolla-ansible/ansible directory
ansible-playbook -i inventory/my_inventory -e @../etc/kolla/globals.yml -e @../etc/kolla/passwords.yml destroy.yml
Command UI is not installed properly
Soln:
1]. Check the /var/log/contrail/deploy.log
Appformix issues
Soln:
Check the /var/log/contrail/deploy.log for licensing errors.
Decrypt the license file with gpg --decrypt <.sig>
Restart deployment upon failure in command deployment
Get into the command container.
check the current value of the parameter
contrailcli list contrail-cluster | grep uuid
export CONTRAIL_CONFIG=/etc/contrail/contrail.yml
contrailcli set contrail-cluster <uuid>  'provisioning_state: NOSTATE'
tail -f /var/log/contrail/deploy.log
Error running docker: No space
check the space under /var/*
du -smx /var/*
Neutron bootstrap container exits
Check the container logs for
oslo_config.cfg.DefaultValueError: Error processing default value cc_2 for Opt type of HostAddress.
Soln:
Remove any '_' in the instances name