contrail-ansible-deployer icon indicating copy to clipboard operation
contrail-ansible-deployer copied to clipboard

cassandra_seeds is undefined

Open mohzekh opened this issue 6 years ago • 2 comments

Hi,

I am trying a single node installation (ip 192.168.56.50), with a basic yaml file. The ansible process failed with the error below :

TASK [install_contrail : create contrail config database compose file] ********************************** fatal: [192.168.56.50]: FAILED! => {"changed": false, "msg": "AnsibleUndefinedVariable: 'cassandra_seeds' is undefined"} to retry, use: --limit @/home/stack/contrail-ansible-deployer/playbooks/install_contrail.retry

PLAY RECAP ********************************************************************************************** 192.168.56.50 : ok=410 changed=33 unreachable=0 failed=1
localhost : ok=7 changed=2 unreachable=0 failed=0

Here is the config/instances.yaml file :

provider_config: bms: ssh_pwd: ssh_user: root ntpserver: 2.be.pool.ntp.org domainsuffix: lab instances: bms1: provider: bms ip: 192.168.56.50 contrail_configuration: RABBITMQ_NODE_PORT: 5673 AUTH_MODE: keystone KEYSTONE_AUTH_URL_VERSION: /v3 kolla_config: kolla_globals: enable_haproxy: no kolla_passwords: keystone_admin_password:

Any solutions for this issue ?

Thank you.

mohzekh avatar May 13 '18 00:05 mohzekh

you can add next line to contrail_configuration

CONTROLLER_NODES: 192.168.56.50

I need to check if this line must be there or it's just a bug in the code

Andrey-mp avatar May 17 '18 17:05 Andrey-mp

ansible-deployer can't derive CONTROLLER_NODES and require it for correct run.

Andrey-mp avatar May 21 '18 15:05 Andrey-mp