Seen on [3.2.1.0-20] both on ubuntu-14-04 and centos71, on all openstack versions.
On the login page, the icons don't load fully and after logging in, the UI page doesn't load fully and no tabs/buttons work.
These errors are seen on the console -
POST https://nodek12:8143/api/admin/reports/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/qe/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/admin/reports/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/admin/reports/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/admin/reports/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/qe/query 500 (Internal Server Error)
send @ jquery.min.js?built_at=1485261247:4
ajax @ jquery.min.js?built_at=1485261247:4
Contrail.ajaxHandler @ core.bundle.js?built_at=1485261247:24987
initVLRequests @ core.bundle.js?built_at=1485261247:23526
pSuccessHandler @ core.bundle.js?built_at=1485261247:23422
(anonymous) @ core.bundle.js?built_at=1485261247:24988
i @ jquery.min.js?built_at=1485261247:2
fireWith @ jquery.min.js?built_at=1485261247:2
z @ jquery.min.js?built_at=1485261247:4
(anonymous) @ jquery.min.js?built_at=1485261247:4
jquery.min.js?built_at=1485261247:4 POST https://nodek12:8143/api/admin/reports/query 500 (Internal Server Error)
Contrail WebUI logs -
01/25/2017 09:01:43 AM - debug: Query Request: {"pageSize":10000,"page":1,"tgUnits":"secs","tgValue":60,"fromTimeUTC":"now-15m","toTimeUTC":"now","async":true,"queryId":"DB03A30E-A6F3-4EF0-9B57-DB0BED77DE8F-1485315140386","reRunTimeRange":600,"select":"Source, name, T=, process_mem_cpu_usage.cpu_share, process_mem_cpu_usage.mem_res","table":"StatTable.NodeStatus.process_mem_cpu_usage","where":"(process_mem_cpu_usage.__key = contrail-vrouter-agent)"}
01/25/2017 09:01:43 AM - debug: Query sent to Opserver at Wed Jan 25 2017 09:01:43 GMT+0530 (IST) {"table":"StatTable.NodeStatus.process_mem_cpu_usage","start_time":"now-15m","end_time":"now","select_fields":["Source","name","T=60","process_mem_cpu_usage.cpu_share","process_mem_cpu_usage.mem_res","CLASS(T=)"],"filter":[],"limit":150000,"where":[[{"name":"process_mem_cpu_usage.__key","value":"contrail-vrouter-agent","op":1}]]}
01/25/2017 09:01:43 AM - error: URL [http://10.204.216.232:8081/analytics/query] returned error ["Error: 'TableSchema' object has no attribute '__dict__'"]
01/25/2017 09:01:43 AM - error: Error Run Query: REST Server Error: Error: 'TableSchema' object has no attribute '__dict__'
at APIServer.retryMakeCall (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:203:13)
at Request.<anonymous> (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:336:18)
at Request.emit (events.js:98:17)
at Request.mixin._fireSuccess (/usr/lib64/node_modules/restler/lib/restler.js:226:10)
at /usr/lib64/node_modules/restler/lib/restler.js:157:20
at IncomingMessage.parsers.auto (/usr/lib64/node_modules/restler/lib/restler.js:390:7)
at Request.mixin._encode (/usr/lib64/node_modules/restler/lib/restler.js:194:29)
at /usr/lib64/node_modules/restler/lib/restler.js:153:16
at Request.mixin._decode (/usr/lib64/node_modules/restler/lib/restler.js:169:7)
at IncomingMessage.<anonymous> (/usr/lib64/node_modules/restler/lib/restler.js:146:14)
01/25/2017 09:01:43 AM - error: REST Server Error: Error: 'TableSchema' object has no attribute '__dict__'
at APIServer.retryMakeCall (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:203:13)
at Request.<anonymous> (/usr/src/contrail/contrail-web-core/src/serverroot/common/rest.api.js:336:18)
at Request.emit (events.js:98:17)
at Request.mixin._fireSuccess (/usr/lib64/node_modules/restler/lib/restler.js:226:10)
at /usr/lib64/node_modules/restler/lib/restler.js:157:20
at IncomingMessage.parsers.auto (/usr/lib64/node_modules/restler/lib/restler.js:390:7)
at Request.mixin._encode (/usr/lib64/node_modules/restler/lib/restler.js:194:29)
at /usr/lib64/node_modules/restler/lib/restler.js:153:16
at Request.mixin._decode (/usr/lib64/node_modules/restler/lib/restler.js:169:7)
at IncomingMessage.<anonymous> (/usr/lib64/node_modules/restler/lib/restler.js:146:14)
Screenshot attached
Review in progress for https:/ /review. opencontrail. org/28170
Submitter: Nikhil Bansal (<email address hidden>)