Vcenter-as-compute: with latest 3.2 #6, provisioning broken @ setup-vnc-compute with fatal error "TypeError: set_virtual_router_type"

Bug #1646637 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Released
Critical
Sarath
R3.2
Fix Released
Critical
Sarath

Bug Description

On Vcenter-as-compute sanity test-setup, the latest build #6 broken with below errors,
The issue seen on vrouter provisioning on both KVM and Esxi computes

Note: as fab logs from host server got removed, please find all the fab logs @
http://anamika.englab.juniper.net:8080/job/ubuntu-14-04_liberty_vcenter_compute_HA_Sanity/112/console

Please find below the relevant snippet of errors
::
::
2016-12-01 13:50:16:550553: Requested: setup-vnc-compute --self_ip 10.84.13.223 --cfgm_ip 10.84.13.201 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 3 --amqp_server_ip 10.84.13.201 --service_token 3b7bb735ca25a1070f68 --orchestrator openstack --hypervisor libvirt --keystone_ip 10.84.13.201 --keystone_version v2.0 --openstack_mgmt_ip 10.84.13.32 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password contrail123 --nova_password contrail123 --neutron_password contrail123 --service_tenant_name service --region_name RegionOne --internal_vip 10.84.13.201 --no_contrail_openstack --contrail_internal_vip 10.84.13.201 --mgmt_self_ip 10.84.13.223 --no_nova_config --vmware 10.84.13.44 --vmware_username root --vmware_passwd c0ntrail123 --vmware_vmpg_vswitch vSwitch1 --mode vcenter --vmware_vmpg_vswitch_mtu 1500 --vmware_datanic_mtu 1500
2016-12-01 13:50:16:550553: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 10.84.13.223 --cfgm_ip 10.84.13.201 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 3 --amqp_server_ip 10.84.13.201 --service_token 3b7bb735ca25a1070f68 --orchestrator openstack --hypervisor libvirt --keystone_ip 10.84.13.201 --keystone_version v2.0 --openstack_mgmt_ip 10.84.13.32 --keystone_auth_protocol http --keystone_auth_port 35357 --quantum_service_protocol http --keystone_admin_user admin --keystone_admin_password contrail123 --nova_password contrail123 --neutron_password contrail123 --service_tenant_name service --region_name RegionOne --internal_vip 10.84.13.201 --no_contrail_openstack --contrail_internal_vip 10.84.13.201 --mgmt_self_ip 10.84.13.223 --no_nova_config --vmware 10.84.13.44 --vmware_username root --vmware_passwd c0ntrail123 --vmware_vmpg_vswitch vSwitch1 --mode vcenter --vmware_vmpg_vswitch_mtu 1500 --vmware_datanic_mtu 1500"
2016-12-01 13:50:16:550553:
2016-12-01 13:50:16:550628: Aborting.
2016-12-01 13:50:16:550628: 2016-12-01 13:50:16:550389: [root@10.84.13.2] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17563: /usr/sbin/grub-probe
2016-12-01 13:50:16:576199: [root@10.84.13.2] out: File descriptor 3 (/dev/null) leaked on vgs invocation. Parent PID 17563: /usr/sbin/grub-probe
2016-12-01 13:50:16:640105: [root@10.84.13.2] out: File descriptor 3 (/dev/null) leaked on lvs invocation. Parent PID 17679: /bin/sh
2016-12-01 13:50:16:772402: [root@10.84.13.222] out: Traceback (most recent call last):
2016-12-01 13:50:16:798016: [root@10.84.13.222] out: File "/opt/contrail/utils/provision_vrouter.py", line 190, in <module>
2016-12-01 13:50:16:798184: [root@10.84.13.222] out: main()
2016-12-01 13:50:16:798346: [root@10.84.13.222] out: File "/opt/contrail/utils/provision_vrouter.py", line 186, in main
2016-12-01 13:50:16:798504: [root@10.84.13.222] out: VrouterProvisioner(args_str)
2016-12-01 13:50:16:798655: [root@10.84.13.222] out: File "/opt/contrail/utils/provision_vrouter.py", line 52, in __init__
2016-12-01 13:50:16:798806: [root@10.84.13.222] out: self.add_vrouter()
2016-12-01 13:50:16:798960: [root@10.84.13.222] out: File "/opt/contrail/utils/provision_vrouter.py", line 163, in add_vrouter
2016-12-01 13:50:16:799117: [root@10.84.13.222] out: vrouter_obj.set_virtual_router_type()
2016-12-01 13:50:16:799272: [root@10.84.13.222] out: TypeError: set_virtual_router_type() takes exactly 2 arguments (1 given)
2016-12-01 13:50:16:799427: [root@10.84.13.222] out:
2016-12-01 13:50:16:799604: [root@10.84.13.222] out: Fatal error: local() encountered an error (return code 1) while executing 'python /opt/contrail/utils/provision_vrouter.py --host_name ContrailVM-a6s22 --host_ip 10.84.13.222 --api_server_ip 10.84.13.201 --oper add --admin_user admin --admin_password contrail123 --admin_tenant_name admin --openstack_ip 10.84.13.201 --api_server_use_ssl False'
2016-12-01 13:50:16:799712: [root@10.84.13.222] out:
2016-12-01 13:50:16:799804: [root@10.84.13.222] out: Aborting.
2016-12-01 13:50:16:799885: [root@10.84.13.222] out:
2016-12-01 13:50:16:802623:
::
::

Tags: blocker vmware
Sarath (nsarath)
tags: added: blocker
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
status: New → Incomplete
milestone: r3.2.0.0-fcs → none
assignee: amudhar (amudha) → Sarath (nsarath)
Revision history for this message
Sarath (nsarath) wrote :

verified #7 issue not seen

Changed in juniperopenstack:
status: Incomplete → Fix Released
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.