SM provisioning 3 node HA provisioning Contrail-API server stay down
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Abhay Joshi | |||
Trunk |
Fix Committed
|
High
|
Abhay Joshi |
Bug Description
Version: 4.0.1.0-46-mitaka
Topology: 3 node HA (contrail/
Provisioning completed but found API servers down on all 3 nodes.
Development Dheeraj triaged the setup and found the "internal VIP" also mandatory to be provided in JSON
as some components dependency on that.
Note: After configuring both internal_vip and contrail_
this issue got resolved.
Please find more debugging details on this,
root@5a10s31:~#
root@5a10s31:~# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c6e500e96ab2 10.87.36.
ff1c4eeec510 10.87.36.
6cfa8ee44d12 10.87.36.
root@5a10s31:~# openstack-status | grep active | wc -l
docker exec -it controller bash
Warning keystonerc not sourced
19
root@5a10s31:~# docker exec -it controller bash
contrail-status
root@5a10s31(
exit
== Contrail Control ==
contrail-control active
contrail-
contrail-dns active
contrail-named active
== Contrail Config ==
contrail-api:0 initializing (Generic Connection:
contrail-
contrail-
contrail-schema active
contrail-
== Contrail Config Database==
contrail-database: active
== Contrail Web UI ==
contrail-webui active
contrail-
root@5a10s31(
exit
root@5a10s31:~# docker exec -it analytics bash
contrail-status
root@5a10s31(
exit
docker exec -it analyticsdb bash
== Contrail Analytics ==
contrail-alarm-gen initializing (ApiServer:
contrail-
contrail-
contrail-collector active
contrail-
contrail-
contrail-topology active
root@5a10s31(
exit
From: Sarathbabu Narasimhan
Sent: Wednesday, August 30, 2017 6:14 PM
To: Dheeraj Gautam <email address hidden>
Cc: Abhay Joshi <email address hidden>; Jeba Paulaiyan <email address hidden>; Sudheendra Rao <email address hidden>; Sandip Dey <email address hidden>; Kamlesh Parmar <email address hidden>; Sarathbabu Narasimhan <email address hidden>
Subject: RE: Meeting to discuss Ocata and Vcenter
Thanks Dheeraj for triaging the issue and sure I just added both internal_vip and contrail_
re-issued provisioning.
If this JSON changes gets this success, then we can ask Nitish to update bug# 1713592 for documentation.
Thanks
*Sarath
From: Dheeraj Gautam
Sent: Wednesday, August 30, 2017 5:49 PM
To: Sarathbabu Narasimhan <email address hidden>
Cc: Abhay Joshi <email address hidden>; Jeba Paulaiyan <email address hidden>; Sudheendra Rao <email address hidden>; Sandip Dey <email address hidden>; Kamlesh Parmar <email address hidden>
Subject: Re: Meeting to discuss Ocata and Vcenter
Looked at the setup.
This issue is due to specifying external_vip only and leaving internal_vip empty.
Contrail is correctly to use vip configured for keystone, but older puppet code give precedence to internal_vip and configured endpoints to openstack[0] and haproxy is not configured
@Sarath,
We need to specify internal_vip as well (under openstack:
I am not sure if we need to specify contrail_
-Dheeraj
From: Sarathbabu Narasimhan <email address hidden>
Date: Wednesday, August 30, 2017 at 4:29 PM
To: "<email address hidden>" <email address hidden>
Cc: Abhay Joshi <email address hidden>, Jeba Paulaiyan <email address hidden>, Sudheendra Rao <email address hidden>, Sandip Dey <email address hidden>, Kamlesh Parmar <email address hidden>, Sarathbabu Narasimhan <email address hidden>
Subject: RE: Meeting to discuss Ocata and Vcenter
Hi Dheeraj,
In Vcenter-as-compute, with latest build#50 and with #1713592 patches applied, provisioning shown completed but we have API server down issue due to keystone issue
and looks provisioning not picking the password per JSON files, Please find below,
TargetNode : 10.87.36.10 ( sm ip 10.87.36.15 )
#########
The bug is opened for documentation purpose.