-
Notifications
You must be signed in to change notification settings - Fork 65
Provisioning F.A.Q
-
Seeing error below:
[root@a6s14 contrail-ansible-deployer]# ansible-playbook -i inventory/ -e orchestrator=vcenter playbooks/install_contrail.yml ... ... ERROR! Unable to retrieve file contents Could not find or access '/root/contrail-kolla-ansible/ansible/kolla-host.yml' [root@a6s14 contrail-ansible-deployer]#
Resolution: Please run the command below first before running the install_contrail play
ansible-playbook -i inventory/ playbooks/configure_instances.yml
-
Seeing error below:
TASK [memcached : Copying over config.json files for services] ******************************************************************************************************************************* task path: /root/contrail-kolla-ansible/ansible/roles/memcached/tasks/config.yml:10 failed: [192.168.122.84] (item=memcached) => { "changed": false, "item": "memcached", "msg": "AnsibleUndefinedVariable: {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] if orchestration_engine == 'ANSIBLE' else '0.0.0.0' }}: 'dict object' has no attribute 'ipv4'" }
Resolution: Check if you have specified the right values for "network_interface" under "kolla_globals" section in your instances.yaml file. This interface must have an IP address.
-
How to specify host specific parameters (for example, the interface names are different for the different servers in the cluster)?
Resolution: Check the example here.
-
Containers are not accessible (pulled) from private registry given as "CONTAINER_REGISTRY".
Resolution: Check that "REGISTRY_PRIVATE_INSECURE" is set to True. Example here: Sample instances.yaml
-
vrouter module is not getting installed on the computes. Seeing the vrouter container in error state and docker logs show the below error:
[srvr5] ~ # docker logs vrouter_vrouter-kernel-init_1 /bin/cp: cannot create regular file '/host/bin/vif': No such file or directory INFO: Load kernel module for kver=3.10.0 INFO: Modprobing vrouter /opt/contrail/vrouter-kernel-modules/3.10.0-693.21.1.el7.x86_64/vrouter.ko total used free shared buff/cache available Mem: 62G 999M 55G 9.1M 5.9G 60G Swap: 0B 0B 0B total used free shared buff/cache available Mem: 62G 741M 61G 9.1M 923M 61G Swap: 0B 0B 0B insmod: ERROR: could not insert module /opt/contrail/vrouter-kernel-modules/3.10.0-693.21.1.el7.x86_64/vrouter.ko: Unknown symbol in module ERROR: Failed to insert vrouter kernel module
Resolution: The vrouter module is now dependent on the host kernel being 3.10.0-693.21.1.el7.x86_64. Install this kernel version on the target nodes before running provision:
yum -y install kernel-3.10.0-693.21.1.el7.x86_64 yum update reboot