Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cassandra_seeds is undefined #18

Open
mohzekh opened this issue May 13, 2018 · 2 comments
Open

cassandra_seeds is undefined #18

mohzekh opened this issue May 13, 2018 · 2 comments

Comments

@mohzekh
Copy link

mohzekh commented May 13, 2018

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.

@Andrey-mp
Copy link
Member

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
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants