vcenter-only: VN creation failed due to noneType received

Bug #1645609 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Critical
Sachin Bansal
R3.2
New
Critical
Sachin Bansal

Bug Description

This is Sanity failure and regression as same tests passed on 3.1 latest and issue seen on 3.2 latest

On debugging, vcenter-plugin see the VN creation and api server not receive and below errors seen relevant,

----------
]
[2016-11-29 13:26:55,677] [INFO ] [Thread-3:VCenterEventHandler@45] [Process event dvPort group VN1 in c4k4u14 was added to switch c4k4u14_dvs.]
[2016-11-29 13:26:55,698] [INFO ] [Thread-3:VCenterDB@748] [Found <network VN1, dvs c4k4u14_dvs, datacenter c4k4u14, vCenter https://10.204.217.189/sdk>.]
[2016-11-29 13:26:55,718] [INFO ] [Thread-3:VCenterDB@777] [Found <dpg VN1, dvs c4k4u14_dvs, datacenter c4k4u14, vCenter https://10.204.217.189/sdk>.]
[2016-11-29 13:26:55,835] [INFO ] [Thread-3:VncDB@485] [Creating API VN <VN1, b52db56b-fd39-3a4f-86bf-c0c9c45f1df8>]
[2016-11-29 13:26:55,837] [INFO ] [Thread-3:ApiConnectorImpl@228] [>> Request: POST, /virtual-networks, {"virtual-network":{"port_security_enabled":false,"router_external":false,"is_shared":false,"external_ipam":false,"flood_unknown_unicast":false,"multi_policy_service_chains_enabled":false,"id_perms":{"enable":true,"user_visible":false,"creator":"vcenter-plugin"},"display_name":"VN1","network_ipam_refs":[{"to":["default-domain","vCenter","vCenter-ipam"],"attr":{"ipam_subnets":[{"subnet":{"ip_prefix":"10.1.1.0","ip_prefix_len":24},"subnet_uuid":"b478d9f5-b551-462b-9be7-198a5c233512","enable_dhcp":true,"allocation_pools":[{"start":"10.1.1.1","end":"10.1.1.254"}],"addr_from_start":true,"subnet_name":"VN1-subnet","alloc_unit":1}]},"href":null,"uuid":null}],"name":"VN1","uuid":"b52db56b-fd39-3a4f-86bf-c0c9c45f1df8","fq_name":["default-domain","vCenter","VN1"],"parent_type":"project"}}]
[2016-11-29 13:26:55,884] [INFO ] [Thread-3:ApiConnectorImpl@263] [<< Response Status: HTTP/1.1 500 Internal Server Error]
[2016-11-29 13:26:55,884] [ERROR] [Thread-3:ApiConnectorImpl@354] [create api request failed: Internal Server Error]
[2016-11-29 13:26:55,884] [ERROR] [Thread-3:ApiConnectorImpl@356] [Failure message: A str or unicode value was expected, but NoneType was received instead (None)]
[2016-11-29 13:26:55,885] [INFO ] [Thread-3:ApiConnectorImpl@231] [>> Request: GET, /virtual-network/b52db56b-fd39-3a4f-86bf-c0c9c45f1df8]
[2016-11-29 13:26:55,887] [INFO ] [Thread-3:ApiConnectorImpl@263] [<< Response Status: HTTP/1.1 404 Not Found]
[2016-11-29 13:26:55,887] [WARN ] [Thread-3:ApiConnectorImpl@415] [GET failed: Not Found]
[2016-11-29 13:26:55,895] [INFO ] [Thread-3:VCenterEventHandler@71] [Done processing event dvPort group VN1 in c4k4u14 was added to switch c4k4u14_dvs.]
[2016-11-29 13:26:55,903] [INFO ] [Thread-3:VCenterNotify@358] [Done processing property update, nothing changed]

Revision history for this message
Sarath (nsarath) wrote :

nsarath@ubuntu-build04:/auto/cores/1645609$ pwd
/auto/cores/1645609
nsarath@ubuntu-build04:/auto/cores/1645609$
nsarath@ubuntu-build04:/auto/cores/1645609$ ls -l
total 3263284
-rwxrwxrwx 1 nsarath test 1242634240 Nov 29 00:36 Ctrl-A-log.tar
-rwxrwxrwx 1 nsarath test 1072158720 Nov 29 00:35 Ctrl-B-log.tar
-rwxrwxrwx 1 nsarath test 1013688320 Nov 29 00:34 Ctrl-C-log.tar
nsarath@ubuntu-build04:/auto/cores/1645609$

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.