provision_config_node script fails as it tried connecting before contrail-api came up
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Ignatious Johnson Christopher | |||
Trunk |
Fix Committed
|
High
|
Ignatious Johnson Christopher |
Bug Description
R4.0 Build 10 Ubuntu 16.04.2 multi controller container setup
On two of the three controller containers, the provision_
The provision script was run at May 23 06:25:46
But contrail-api seems to have started listening around May 23 06:26:16
contrail-api logs are attached
May 23 06:25:23 nodec2 contrailctl[26]: TASK [contrail/config : include] *******
May 23 06:25:23 nodec2 contrailctl[26]: included: /contrail-
May 23 06:25:23 nodec2 contrailctl[26]: TASK [contrail/config : Include cloud_orchestrator specific code to provision config objects] ***
May 23 06:25:23 nodec2 contrailctl[26]: included: /contrail-
May 23 06:25:23 nodec2 contrailctl[26]: TASK [contrail/config : Wait till config api server answers before creating config objects] ***
May 23 06:25:24 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (300 retries left).
May 23 06:25:25 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (299 retries left).
May 23 06:25:27 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (298 retries left).
May 23 06:25:28 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (297 retries left).
May 23 06:25:30 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (296 retries left).
May 23 06:25:31 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (295 retries left).
May 23 06:25:32 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (294 retries left).
May 23 06:25:34 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (293 retries left).
May 23 06:25:35 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (292 retries left).
May 23 06:25:37 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (291 retries left).
May 23 06:25:38 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (290 retries left).
May 23 06:25:39 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (289 retries left).
May 23 06:25:41 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (288 retries left).
May 23 06:25:42 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (287 retries left).
May 23 06:25:44 nodec2 contrailctl[26]: FAILED - RETRYING: TASK: contrail/config : Wait till config api server answers before creating config objects (286 retries left).
May 23 06:25:45 nodec2 contrailctl[26]: ok: [localhost]
May 23 06:25:45 nodec2 contrailctl[26]: TASK [contrail/config : register config node to config api server] *************
May 23 06:25:46 nodec2 contrailctl[26]: fatal: [localhost]: FAILED! => {"changed": true, "cmd": "/usr/share/
May 23 06:25:46 nodec2 contrailctl[26]: to retry, use: --limit @/contrail-
May 23 06:25:46 nodec2 contrailctl[26]: PLAY RECAP *******
May 23 06:25:46 nodec2 contrailctl[26]: localhost : ok=96 changed=43 unreachable=0 failed=1
May 23 06:25:46 nodec2 systemd[1]: contrail-
May 23 06:25:46 nodec2 systemd[1]: Failed to start Contrail controller configuration.
May 23 06:25:48 nodec2 systemd[1]: contrail-
May 23 06:25:48 nodec2 systemd[1]: contrail-
tags: | added: blocker |
Review in progress for https:/ /review. opencontrail. org/32023
Submitter: Ignatious Johnson Christopher (<email address hidden>)