WebUI is not showing the image list while creating service template

Bug #1681637 reported by musharani
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
High
Biswajit Mandal

Bug Description

The setup was brought up with 3053 mainline mitaka using SM-Lite.

Image list was not showing anything while creating the v1-service template. In console seen the error https://nodec41.englab.juniper.net:8143/api/tenants/config/system-flavors?_=1491886250023 500 (Internal Server Error)

But this error was seen when we click the + button to create service template.

But I could see the image list in horizon page

root@nodec41:~# nova image-list
+--------------------------------------+-----------------------+--------+--------+
| ID | Name | Status | Server |
+--------------------------------------+-----------------------+--------+--------+
| e6c83348-7d22-44c6-a7c1-11b792f71740 | analyzer | ACTIVE | |
| 2afdd40e-f96d-483f-a99c-216e6d58dd17 | centos65-ipv6 | ACTIVE | |
| 288dc11d-a306-45bb-9824-0179ca469ef9 | cirros | ACTIVE | |
| 7b8c46fd-a59c-47a8-9738-bee094840d8f | tiny_in_net | ACTIVE | |
| 2eebef40-ccde-496c-8fcc-9765188d75ac | tiny_nat_fw | ACTIVE | |
| 8ec33b2c-9446-4563-b24c-e0c08c6f65b1 | tiny_trans_fw | ACTIVE | |
| c4e5d32e-aa47-43d5-ab43-41012a9b32c6 | ubuntu | ACTIVE | |
| aaa423f2-a5eb-4f3f-9fb9-bf5ceaa533e5 | ubuntu-dhcp-server | ACTIVE | |
| c745f32f-5d78-4566-ac5a-67f36f1c38ad | ubuntu-dhcpdns-server | ACTIVE | |
| 1abc7b7d-2fd9-405c-9d7a-8a8272b35dd6 | ubuntu-dns-server | ACTIVE | |
| 2f28d9d3-9fcc-4e59-b4c7-ade704a2d125 | ubuntu-traffic | ACTIVE | |
| 3942968d-6213-49b8-a61d-00dcabfb67e8 | vsrx | ACTIVE | |
+--------------------------------------+-----------------------+--------+--------+
root@nodec41:~# glance image-list
+--------------------------------------+-----------------------+
| ID | Name |
+--------------------------------------+-----------------------+
| e6c83348-7d22-44c6-a7c1-11b792f71740 | analyzer |
| 2afdd40e-f96d-483f-a99c-216e6d58dd17 | centos65-ipv6 |
| 288dc11d-a306-45bb-9824-0179ca469ef9 | cirros |
| 7b8c46fd-a59c-47a8-9738-bee094840d8f | tiny_in_net |
| 2eebef40-ccde-496c-8fcc-9765188d75ac | tiny_nat_fw |
| 8ec33b2c-9446-4563-b24c-e0c08c6f65b1 | tiny_trans_fw |
| c4e5d32e-aa47-43d5-ab43-41012a9b32c6 | ubuntu |
| aaa423f2-a5eb-4f3f-9fb9-bf5ceaa533e5 | ubuntu-dhcp-server |
| c745f32f-5d78-4566-ac5a-67f36f1c38ad | ubuntu-dhcpdns-server |
| 1abc7b7d-2fd9-405c-9d7a-8a8272b35dd6 | ubuntu-dns-server |
| 2f28d9d3-9fcc-4e59-b4c7-ade704a2d125 | ubuntu-traffic |
| 3942968d-6213-49b8-a61d-00dcabfb67e8 | vsrx |
+--------------------------------------+-----------------------+

contrail-webui-stdout.log
==========================
04/11/2017 04:56:41 AM - debug: We are having project already in DB:admin
04/11/2017 04:56:41 AM - debug: doGlanceOpCb() success with tenantId:admin
04/11/2017 04:56:41 AM - error: URL [http:// 127.0.0.1:9292/v2/images] returned error ["<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>\n</body></html>\n"]
04/11/2017 04:56:41 AM - debug: Got the token successfully for tenant:admin
04/11/2017 04:56:41 AM - debug: doGlanceOpCb() success with tenantId:admin
04/11/2017 04:56:41 AM - error: URL [http:// 127.0.0.1:9292/v2/images] returned error ["<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>\n</body></html>\n"]
04/11/2017 04:56:41 AM - error: glanceAPI GET error:REST Server Error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>
</body></html>

04/11/2017 04:57:00 AM - debug: We are having project already in DB:admin
04/11/2017 04:57:00 AM - debug: doNovaOpCb() success with tenantId:admin
04/11/2017 04:57:00 AM - error: URL [http:// 127.0.0.1:8774/v1.1/e6e56224c9b147ee83cba1a44d708b2c/flavors/detail] returned error ["<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>\n</body></html>\n"]
04/11/2017 04:57:00 AM - debug: Got the token successfully for tenant:admin
04/11/2017 04:57:00 AM - debug: doNovaOpCb() success with tenantId:admin
04/11/2017 04:57:00 AM - error: URL [http:// 127.0.0.1:8774/v1.1/e6e56224c9b147ee83cba1a44d708b2c/flavors/detail] returned error ["<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>\n</body></html>\n"]
04/11/2017 04:57:00 AM - error: novaAPI GET error:REST Server Error: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.<br />
</p>
<hr>
<address>Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80</address>
</body></html>

04/11/2017 04:57:00 AM - error: REST Server Error: apiVersion for NOVA is NULL

Tags: ui
Revision history for this message
musharani (musharani) wrote :
Revision history for this message
musharani (musharani) wrote :
Revision history for this message
Rahul (rahuls) wrote :

Check if dup of 1682252

Changed in juniperopenstack:
assignee: Rahul (rahuls) → Biswajit Mandal (bmandal)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30511
Submitter: Biswajit Mandal (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/30511
Committed: http://github.org/Juniper/contrail-ansible-internal/commit/bf35982c03831d15d748e01abb8545f7eceb1edb
Submitter: Zuul (<email address hidden>)
Branch: master

commit bf35982c03831d15d748e01abb8545f7eceb1edb
Author: Biswajit Mandal <email address hidden>
Date: Mon Apr 17 12:12:07 2017 -0700

Closes-Bug: #1681637
Correcting the IP addresses in UI config file

Change-Id: I40375fa61232c794bc9695622de1fc895ce42a57

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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