Aug 14 11:20:29 nodeg21 puppet-agent[28239]: contrail contrail_exec_provision_control is python exec_provision_control.py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21,nodec58,nodeg33" --host_ip_list "10.204.217.61,10.204.217.98,10.204.217.73" --router_asn "64512" --mt_options "admin,contrail123,admin" && echo exec-provision-control >> /etc/contrail/contrail_config_exec.out
Aug 14 11:20:29 nodeg21 puppet-agent[28239]: (/Stage[config]/Contrail::Exec_provision_control/Notify[contrail contrail_exec_provision_control is python exec_provision_control.py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21,nodec58,nodeg33" --host_ip_list "10.204.217.61,10.204.217.98,10.204.217.73" --router_asn "64512" --mt_options "admin,contrail123,admin" && echo exec-provision-control >> /etc/contrail/contrail_config_exec.out]/message) defined 'message' as 'contrail contrail_exec_provision_control is python exec_provision_control.py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21,nodec58,nodeg33" --host_ip_list "10.204.217.61,10.204.217.98,10.204.217.73" --router_asn "64512" --mt_options "admin,contrail123,admin" && echo exec-provision-control >> /etc/contrail/contrail_config_exec.out'
Aug 14 11:22:16 nodeg21 kernel: [ 1835.798551] init: supervisor-config main process (6341) killed by TERM signal
Aug 14 11:22:28 nodeg21 puppet-agent[28239]: python exec_provision_control.py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21,nodec58,nodeg33" --host_ip_list "10.204.217.61,10.204.217.98,10.204.217.73" --router_asn "64512" --mt_options "admin,contrail123,admin" && echo exec-provision-control >> /etc/contrail/contrail_config_exec.out returned 1 instead of one of [0]
Aug 14 11:22:28 nodeg21 puppet-agent[28239]: (/Stage[config]/Contrail::Exec_provision_control/Exec[exec-provision-control]/returns) change from notrun to 0 failed: python exec_provision_control.py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21,nodec58,nodeg33" --host_ip_list "10.204.217.61,10.204.217.98,10.204.217.73" --router_asn "64512" --mt_options "admin,contrail123,admin" && echo exec-provision-control >> /etc/contrail/contrail_config_exec.out returned 1 instead of one of [0]
Issue is due to the parameter default_domain_id /etc/keystone/keystone.conf is not same among the openstack nodes
WorkAround :
1) grep default_domain_id /etc/keystone/keystone.conf among the openstack nodes. This might be of 2) make sure all the openstack nodes have same default_domain_id ;
3) Restart the keystone service on all the openstack nodes
3) observe that the provision gets completed succesfully
SM mitaka HA R3.1 build 25 provision gets stuck at config_started due to keystone conflict among Openstack nodes
setup
SM : nodej8
Targets : nodeg21, nodeg33, nodec58, nodeg17, nodec38
root@nodej8:~# server-manager show server --select id,roles, cluster_ id,ip_address
"cluster_ id": "cluster5sanity",
"ip_ address" : "10.204.217.61",
"roles" : [
"control" ,
"webui" ,
"openstack" ,
"database" ,
"collector" ,
"config"
"cluster_ id": "cluster5sanity",
"ip_ address" : "10.204.217.23",
"roles" : [
"compute"
"cluster_ id": "cluster5sanity",
"ip_ address" : "10.204.217.57",
"roles" : [
"compute"
"cluster_ id": "cluster5sanity",
"ip_ address" : "10.204.217.98",
"roles" : [
"control" ,
"webui" ,
"openstack" ,
"database" ,
"collector" ,
"config"
"cluster_ id": "cluster5sanity",
"ip_ address" : "10.204.217.73",
"roles" : [
"control" ,
"webui" ,
"openstack" ,
"database" ,
"collector" ,
"config"
{
"server": [
{
"id": "nodeg21",
]
},
{
"id": "nodec38",
]
},
{
"id": "nodeg17",
]
},
{
"id": "nodec58",
]
},
{
"id": "nodeg33",
]
}
]
}
root@nodej8:~#
cfgm0 node nodeg21 syslog
Aug 14 11:20:29 nodeg21 puppet- agent[28239] : contrail contrail_ exec_provision_ control is python exec_provision_ control. py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21, nodec58, nodeg33" --host_ip_list "10.204. 217.61, 10.204. 217.98, 10.204. 217.73" --router_asn "64512" --mt_options "admin, contrail123, admin" && echo exec-provision- control >> /etc/contrail/ contrail_ config_ exec.out agent[28239] : (/Stage[ config] /Contrail: :Exec_provision _control/ Notify[ contrail contrail_ exec_provision_ control is python exec_provision_ control. py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21, nodec58, nodeg33" --host_ip_list "10.204. 217.61, 10.204. 217.98, 10.204. 217.73" --router_asn "64512" --mt_options "admin, contrail123, admin" && echo exec-provision- control >> /etc/contrail/ contrail_ config_ exec.out] /message) defined 'message' as 'contrail contrail_ exec_provision_ control is python exec_provision_ control. py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21, nodec58, nodeg33" --host_ip_list "10.204. 217.61, 10.204. 217.98, 10.204. 217.73" --router_asn "64512" --mt_options "admin, contrail123, admin" && echo exec-provision- control >> /etc/contrail/ contrail_ config_ exec.out' agent[28239] : python exec_provision_ control. py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21, nodec58, nodeg33" --host_ip_list "10.204. 217.61, 10.204. 217.98, 10.204. 217.73" --router_asn "64512" --mt_options "admin, contrail123, admin" && echo exec-provision- control >> /etc/contrail/ contrail_ config_ exec.out returned 1 instead of one of [0] agent[28239] : (/Stage[ config] /Contrail: :Exec_provision _control/ Exec[exec- provision- control] /returns) change from notrun to 0 failed: python exec_provision_ control. py --api_server_ip "10.204.217.176" --api_server_port 8082 --host_name_list "nodeg21, nodec58, nodeg33" --host_ip_list "10.204. 217.61, 10.204. 217.98, 10.204. 217.73" --router_asn "64512" --mt_options "admin, contrail123, admin" && echo exec-provision- control >> /etc/contrail/ contrail_ config_ exec.out returned 1 instead of one of [0]
Aug 14 11:20:29 nodeg21 puppet-
Aug 14 11:22:16 nodeg21 kernel: [ 1835.798551] init: supervisor-config main process (6341) killed by TERM signal
Aug 14 11:22:28 nodeg21 puppet-
Aug 14 11:22:28 nodeg21 puppet-
Issue is due to the parameter default_domain_id /etc/keystone/ keystone. conf is not same among the openstack nodes
WorkAround :
1) grep default_domain_id /etc/keystone/ keystone. conf among the openstack nodes. This might be of 2) make sure all the openstack nodes have same default_domain_id ;
3) Restart the keystone service on all the openstack nodes
3) observe that the provision gets completed succesfully