Provision fails on computes due to error in contrail-toragent-cleanup

Bug #1690900 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
jayaramsatya
Trunk
Fix Committed
Critical
jayaramsatya

Bug Description

R4.0-5 newton provision of 16.04.2 cluster via R4.0-5 mitaka SM.

+---------+---------------------+------------+-------------------+
| id | status | ip_address | mac_address |
+---------+---------------------+------------+-------------------+
| server6 | provision_completed | 10.0.0.11 | 02:8D:0C:0A:F2:A7 |
| server4 | provision_failed | 10.0.0.7 | 02:12:57:0D:C3:5E |
| server7 | provision_completed | 10.0.0.12 | 02:11:4B:D6:20:5E |
| server1 | provision_completed | 10.0.0.4 | 02:F4:36:B1:7E:0C |
| server2 | provision_completed | 10.0.0.5 | 02:94:64:F6:09:40 |
| server3 | provision_failed | 10.0.0.6 | 02:D3:BC:E8:C1:D9 |
| server5 | provision_completed | 10.0.0.10 | 02:AD:C1:67:14:7E |
+---------+---------------------+------------+-------------------+

+---------+--------------------------------------------------------------------------+
| id | roles |
+---------+--------------------------------------------------------------------------+
| server6 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |
| server4 | [u'contrail-compute'] |
| server7 | [u'contrail-lb'] |
| server1 | [u'openstack'] |
| server2 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |
| server3 | [u'contrail-compute'] |
| server5 | [u'contrail-controller', u'contrail-analytics', u'contrail-analyticsdb'] |

"2017-05-15 18:26:07,357-INFO-sm_ansible_callback.py:43-append(): fatal: [10.0.0.7]: FAILED! => {"changed": true, "cmd": "contrail-toragent-cleanup --cfgm_ip 10.10.0.12 --self_ip 10.10.0.7 --non_mgmt_ip 10.10.0.7 --authserver_ip 10.10.0.4 --admin_user admin --admin_password c0ntrail123 --admin_tenant_name admin --auth_protocol http ", "delta": "0:00:00.183664", "end": "2017-05-15 18:26:06.969857", "failed": true, "rc": 2, "start": "2017-05-15 18:26:06.786193", "stderr": "usage: contrail-toragent-cleanup [-h] [--cfgm_ip CFGM_IP] [--self_ip SELF_IP]\n [--authserver_ip AUTHSERVER_IP]\n [--admin_user ADMIN_USER]\n [--admin_password ADMIN_PASSWORD]\n [--admin_tenant_name ADMIN_TENANT_NAME]\n [--auth_protocol AUTH_PROTOCOL]\n [--tor_name TOR_NAME]\n [--http_server_port HTTP_SERVER_PORT]\n [--tor_ip TOR_IP] [--tor_id TOR_ID]\n [--tor_ovs_port TOR_OVS_PORT]\n [--tsn_ip TSN_IP]\n [--tor_ovs_protocol TOR_OVS_PROTOCOL]\n [--tor_vendor_name TOR_VENDOR_NAME]\n [--tor_tsn_name TOR_TSN_NAME]\n [--tor_agent_ovs_ka TOR_AGENT_OVS_KA]\n [--tor_agent_name TOR_AGENT_NAME]\n [--tor_tunnel_ip TOR_TUNNEL_IP]\n [--tor_product_name TOR_PRODUCT_NAME]\n [--control-nodes CONTROL_NODES [CONTROL_NODES ...]]\n [--collectors COLLECTORS [COLLECTORS ...]]\n [--tor_id_list TOR_ID_LIST [TOR_ID_LIST ...]]\ncontrail-toragent-cleanup: error: unrecognized arguments: --non_mgmt_ip 10.10.0.7", "stdout": "", "stdout_lines": [], "warnings": []}"
"2017-05-15 18:26:07,368-INFO-sm_ansible_callback.py:43-append(): fatal: [10.0.0.6]: FAILED! => {"changed": true, "cmd": "contrail-toragent-cleanup --cfgm_ip 10.10.0.12 --self_ip 10.10.0.6 --non_mgmt_ip 10.10.0.6 --authserver_ip 10.10.0.4 --admin_user admin --admin_password c0ntrail123 --admin_tenant_name admin --auth_protocol http ", "delta": "0:00:00.191790", "end": "2017-05-15 18:26:06.560441", "failed": true, "rc": 2, "start": "2017-05-15 18:26:06.368651", "stderr": "usage: contrail-toragent-cleanup [-h] [--cfgm_ip CFGM_IP] [--self_ip SELF_IP]\n [--authserver_ip AUTHSERVER_IP]\n [--admin_user ADMIN_USER]\n [--admin_password ADMIN_PASSWORD]\n [--admin_tenant_name ADMIN_TENANT_NAME]\n [--auth_protocol AUTH_PROTOCOL]\n [--tor_name TOR_NAME]\n [--http_server_port HTTP_SERVER_PORT]\n [--tor_ip TOR_IP] [--tor_id TOR_ID]\n [--tor_ovs_port TOR_OVS_PORT]\n [--tsn_ip TSN_IP]\n [--tor_ovs_protocol TOR_OVS_PROTOCOL]\n [--tor_vendor_name TOR_VENDOR_NAME]\n [--tor_tsn_name TOR_TSN_NAME]\n [--tor_agent_ovs_ka TOR_AGENT_OVS_KA]\n [--tor_agent_name TOR_AGENT_NAME]\n [--tor_tunnel_ip TOR_TUNNEL_IP]\n [--tor_product_name TOR_PRODUCT_NAME]\n [--control-nodes CONTROL_NODES [CONTROL_NODES ...]]\n [--collectors COLLECTORS [COLLECTORS ...]]\n [--tor_id_list TOR_ID_LIST [TOR_ID_LIST ...]]\ncontrail-toragent-cleanup: error: unrecognized arguments: --non_mgmt_ip 10.10.0.6", "stdout": "", "stdout_lines": [], "warnings": []}"

Revision history for this message
wenqing liang (wliang) wrote :

Seen in R4.0-5 mitaka provision of 14.04.5 cluster via R4.0-5 mitaka SM too.

summary: - 16.04.2 provision fails on computes due to error in contrail-toragent-
- cleanup
+ Provision fails on computes due to error in contrail-toragent-cleanup
Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/31623
Submitter: jayaramsatya (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/31623
Committed: http://github.com/Juniper/contrail-controller/commit/0e405eee6f0ac0ad8a437b84eebc55c2437322d0
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 0e405eee6f0ac0ad8a437b84eebc55c2437322d0
Author: jayaramsatya <email address hidden>
Date: Tue May 16 12:00:22 2017 +0530

non mgmt ip is not parsed in the script that is the reason issue is
seen. and also if the non_mgmt is ip set use this ad control_ip
closes-bug: #1690900

Change-Id: I0bae4ac1452b957d1bfd808978c089553d117100

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.