vrouter_interface_route playbook bails out if provision set to False for controller instance
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R5.0 |
Fix Committed
|
Critical
|
Damian Rakowski | |||
Trunk |
Fix Committed
|
Critical
|
Damian Rakowski |
Bug Description
vrouter_
I had provision set to False for the controller node since its already provisioned so the generated contrail_config.yml doesnt have control role set for controller node.
if 'controller' in instance.roles and instance.provision:
TASK [software/facts : Find host controller] *******
skipping: [192.168.2.1] => (item={'key': u'192.168.2.1', 'value': {u'roles': {u'vrouter': {}}, u'ip': u'192.168.2.1', u'instance_name': u'192.168.2.1', u'contrail_
skipping: [192.168.2.1] => (item={'key': u'172.16.23.5', 'value': {u'roles': {u'vrouter': {}}, u'ip': u'172.16.23.5', u'instance_name': u'172.16.23.5', u'contrail_
skipping: [192.168.2.1] => (item={'key': u'172.16.23.4', 'value': {u'instance_name': u'172.16.23.4', u'ip': u'172.16.23.4', u'private_ip': u'172.16.23.4', u'roles': {u'vrouter': {}, u'k8s_node': {}}, u'provider': u'bms'}})
skipping: [192.168.2.1] => (item={'key': u'172.16.23.6', 'value': {u'instance_name': u'172.16.23.6', u'ip': u'172.16.23.6', u'private_ip': u'172.16.23.6', u'roles': {u'vrouter': {}, u'k8s_node': {}}, u'provider': u'bms'}})
skipping: [192.168.2.1] => (item={'key': u'192.168.1.3', 'value': {u'instance_name': u'192.168.1.3', u'ip': u'192.168.1.3', u'private_ip': u'192.168.1.3', u'roles': {u'vrouter': {}, u'k8s_node': {}}, u'provider': u'bms'}})
skipping: [192.168.2.1] => (item={'key': u'192.168.1.2', 'value': {u'instance_name': u'192.168.1.2', u'ip': u'192.168.1.2', u'private_ip': u'192.168.1.2', u'roles': {u'vrouter': {}, u'k8s_node': {}}, u'provider': u'bms'}})
skipping: [192.168.2.1] => (item={'key': u'192.168.1.1', 'value': {u'instance_name': u'192.168.1.1', u'ip': u'192.168.1.1', u'private_ip': u'192.168.1.1', u'roles': {u'k8s_master': {}, u'kubemanager': {}}, u'provider': u'bms'}})
TASK [software/facts : Show host controller] *******
fatal: [192.168.2.1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'controller' is undefined\n\nThe error appears to have been in '/root/
to retry, use: --limit @/root/
summary: |
- vrouter_interface_route playbook bails out + vrouter_interface_route playbook bails out if provision set to False for + controller instance |
Changed in juniperopenstack: | |
assignee: | nobody → Paweł Kopka (pkopka) |
assignee: | Paweł Kopka (pkopka) → nobody |
tags: | added: releaseblocker |
Fix is in a pull request on GitHub