R5.0-micro-services provisioning fails when hosts of cluster has different interface names
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Critical
|
Ramprakash R |
Bug Description
R5.0 micro-services provision fails when hosts in a cluster has different interface names.
Need to have host specific parameters to take care of this scenario.
openstack/contrail controller nodes have interface as enp1s0f1 but computes interface name is eno2.
Below error is seen during provisioning.
TASK [common : Copying over fluentd input config files] *******
ok: [192.168.192.2] => (item=00-global)
ok: [192.168.192.3] => (item=00-global)
failed: [192.168.192.2] (item=01-syslog) => {"changed": false, "item": "01-syslog", "msg": "AnsibleUndefin
failed: [192.168.192.3] (item=01-syslog) => {"changed": false, "item": "01-syslog", "msg": "AnsibleUndefin
ok: [192.168.192.3] => (item=02-mariadb)
ok: [192.168.192.2] => (item=02-mariadb)
Copying the snapshot of the email exchange about this problem:
the contrail containers support global and per instance.role configuration.
I will add per instance configuration (applied to all roles within an instance). We will then have global, instance and role level.
Ram will do the same for the kolla containers.
Regards,
Michael
Am 05.03.2018 um 21:40 schrieb Ramprakash Ram Mohan <email address hidden>:
Hi Sudhee,
Looks like there is no way to do this now. Please raise a bug and assign it to me. Shall work on this on priority.
Previously, we were able to do this because we had a static inventory file where we can plug in host specific parameters along with the host line. Now the inventory is dynamically calculated (no inventory file is used. The inventory file generated is just for reference). So all host specific parameters have to be generated as well.
Thanks,
Ram
Review in progress for https:/ /review. opencontrail. org/40369
Submitter: Ramprakash R (<email address hidden>)