<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="text/html; charset=utf-8">
</head>
<body>
<div>Congratulations!</div>
<div><br>
</div>
<div>Nice learning 😀<br>
<br>
<div class="acompli_signature">Get <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div>
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Bjorn Mork <bjron.mork@gmail.com><br>
<b>Sent:</b> Tuesday, January 24, 2017 3:24:26 PM<br>
<b>To:</b> Trinath Somanchi<br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] Unable Upload Image</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div>
<div>Hi, <br>
<br>
</div>
Thanks for your support and pointing the culprit. Actually, I had multiple services configured on controller, which I removed manually and re-verified Glance configuration side. Which was already okay...at last issue is resolved.
<br>
<span style="font-family:monospace,monospace"><br>
<br>
[root@Controller ~]# openstack service list<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
+-----------------------------<wbr>-----+----------+----------+<br>
| ID <wbr> | Name | Type |<br>
+-----------------------------<wbr>-----+----------+----------+<br>
<span style="color:rgb(0,0,255)">| <b>16a01e55aded47a6baa977a8afba8e<wbr>19 | glance | image |<br>
| 328e27c225834469b6340f0c09bf11<wbr>8a | glance | image |</b></span><br>
| 583d44a1a4834223bbec2435d1cd7a<wbr>12 | neutron | network |<br>
| 5a6717672d034aaca24a7575f5ac1d<wbr>4d | manilav2 | sharev2 |<br>
| 9094446d95c0435d8f379aefaa5c09<wbr>64 | cinder | volume |<br>
| a03a1faebfd74daba077ce30a3058e<wbr>41 | manila | share |<br>
| a505184b9ac348c3acd81a055cb73f<wbr>4a | keystone | identity |<br>
| <span style="color:rgb(0,0,255)">ec45b879f9e0449bb72ad8dcd42e07<wbr>5c | glance | image </span> |<br>
| f778fdd0ee484a96a682f8bb401668<wbr>75 | cinderv2 | volumev2 |<br>
| fd30560ff857410dbbd4299b8dc3b1<wbr>64 | nova | compute |<br>
+-----------------------------<wbr>-----+----------+----------+<br>
[root@Controller ~]# openstack service delete ec45b879f9e0449bb72ad8dcd42e07<wbr>5c<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
[root@Controller ~]# <br>
[root@Controller ~]# <br>
[root@Controller ~]# openstack service delete 328e27c225834469b6340f0c09bf11<wbr>8a<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
[root@Controller ~]# <br>
[root@Controller ~]# <br>
[root@Controller ~]# <br>
[root@Controller ~]# openstack service list<br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
+-----------------------------<wbr>-----+----------+----------+<br>
| ID <wbr> | Name | Type |<br>
+-----------------------------<wbr>-----+----------+----------+<br>
| 16a01e55aded47a6baa977a8afba8e<wbr>19 | glance | image |<br>
| 583d44a1a4834223bbec2435d1cd7a<wbr>12 | neutron | network |<br>
| 5a6717672d034aaca24a7575f5ac1d<wbr>4d | manilav2 | sharev2 |<br>
| 9094446d95c0435d8f379aefaa5c09<wbr>64 | cinder | volume |<br>
| a03a1faebfd74daba077ce30a3058e<wbr>41 | manila | share |<br>
| a505184b9ac348c3acd81a055cb73f<wbr>4a | keystone | identity |<br>
| f778fdd0ee484a96a682f8bb401668<wbr>75 | cinderv2 | volumev2 |<br>
| fd30560ff857410dbbd4299b8dc3b1<wbr>64 | nova | compute |<br>
+-----------------------------<wbr>-----+----------+----------+<br>
[root@Controller ~]# </span><br>
</div>
<div><br>
</div>
<div>Thanks for your support. </div>
<div><br>
</div>
<div>Regards,</div>
<div>B~Mork<br>
<br>
<br>
<br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jan 22, 2017 at 2:57 PM, Trinath Somanchi <span dir="ltr">
<<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div lang="EN-US">
<div class="m_2789806373332271323WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Very Good.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Here is the culprit,
</span><span style="font-family:"Courier New"">ServiceCatalogException: Invalid service catalog service: image<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New"">Please debug it. </span>
<span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">/ Trinath<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Bjorn Mork [mailto:<a href="mailto:bjron.mork@gmail.com" target="_blank">bjron.mork@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, January 22, 2017 4:24 PM</span></p>
<div>
<div class="h5"><br>
<b>To:</b> Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>><br>
<b>Cc:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack] Unable Upload Image<u></u><u></u></div>
</div>
<p></p>
<div>
<div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-family:"Courier New"; color:black">Thanks for sharing link. Logs given below;
</span><b><span style="font-family:"Courier New"; color:blue"><br>
<br>
Error_log<br>
<br>
</span></b><span style="font-family:"Courier New"">[Sun Jan 22 10:44:40.804142 2017] [:error] [pid 4817] DEBUG:keystoneauth.session:<wbr>REQ: curl -g -i -X GET
<a href="http://controller:5000/v3/users/bac999c177474e08976c54a362ba6a70/projects" target="_blank">
http://controller:5000/v3/<wbr>users/<wbr>bac999c177474e08976c54a362ba6a<wbr>70/projects</a> -H "User-Agent: python-keystoneclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}<wbr>cbccf767336b5e5e11dfd1eb113243<wbr>f01893cc16"<br>
[Sun Jan 22 10:44:40.882088 2017] [:error] [pid 4817] DEBUG:keystoneauth.session:<wbr>RESP: [200] Date: Sun, 22 Jan 2017 10:44:40 GMT Server: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 Vary: X-Auth-Token x-openstack-request-id: req-4cb2d8ce-8894-40b2-afcf-<wbr>1ae68bfec228
Content-Length: 460 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
<br>
[Sun Jan 22 10:44:40.882121 2017] [:error] [pid 4817] RESP BODY: {"links": {"self": "<a href="http://controller:5000/v3/users/bac999c177474e08976c54a362ba6a70/projects" target="_blank">http://controller:5000/v3/<wbr>users/<wbr>bac999c177474e08976c54a362ba6a<wbr>70/projects</a>",
"previous": null, "next": null}, "projects": [{"is_domain": false, "description": "Admin Project", "links": {"self": "<a href="http://controller:5000/v3/projects/1c53d92609ca40a290a8a552b466b30a" target="_blank">http://controller:5000/v3/<wbr>projects/<wbr>1c53d92609ca40a290a8a552b466b3<wbr>0a</a>"},
"enabled": true, "id": "<wbr>1c53d92609ca40a290a8a552b466b3<wbr>0a", "parent_id": "<wbr>183a01ba69194a9fac15d02b4c9aa1<wbr>18", "domain_id": "<wbr>183a01ba69194a9fac15d02b4c9aa1<wbr>18", "name": "admin"}]}<br>
[Sun Jan 22 10:44:40.882141 2017] [:error] [pid 4817] <br>
[Sun Jan 22 10:44:42.707364 2017] [:error] [pid 4817] HTTP exception with no status/code<br>
[Sun Jan 22 10:44:42.707418 2017] [:error] [pid 4817] Traceback (most recent call last):<br>
[Sun Jan 22 10:44:42.707426 2017] [:error] [pid 4817] File "/usr/share/openstack-<wbr>dashboard/openstack_dashboard/<wbr>wsgi/../../openstack_<wbr>dashboard/api/rest/utils.py", line 126, in _wrapped<br>
[Sun Jan 22 10:44:42.707431 2017] [:error] [pid 4817] data = function(self, request, *args, **kw)<br>
[Sun Jan 22 10:44:42.707435 2017] [:error] [pid 4817] File "/usr/share/openstack-<wbr>dashboard/openstack_dashboard/<wbr>wsgi/../../openstack_<wbr>dashboard/api/rest/glance.py", line 163, in get<br>
[Sun Jan 22 10:44:42.707440 2017] [:error] [pid 4817] request, filters=filters, **kwargs)<br>
[Sun Jan 22 10:44:42.707444 2017] [:error] [pid 4817] File "/usr/share/openstack-<wbr>dashboard/openstack_dashboard/<wbr>wsgi/../../openstack_<wbr>dashboard/api/glance.py", line 293, in image_list_detailed<br>
[Sun Jan 22 10:44:42.707448 2017] [:error] [pid 4817] images_iter = glanceclient(request).images.<wbr>list(page_size=request_size,<br>
[Sun Jan 22 10:44:42.707452 2017] [:error] [pid 4817] File "/usr/lib/python2.7/site-<wbr>packages/horizon/utils/<wbr>memoized.py", line 90, in wrapped<br>
[Sun Jan 22 10:44:42.707511 2017] [:error] [pid 4817] value = cache[key] = func(*args, **kwargs)<br>
[Sun Jan 22 10:44:42.707519 2017] [:error] [pid 4817] File "/usr/share/openstack-<wbr>dashboard/openstack_dashboard/<wbr>wsgi/../../openstack_<wbr>dashboard/api/glance.py", line 136, in glanceclient<br>
[Sun Jan 22 10:44:42.707537 2017] [:error] [pid 4817] url = base.url_for(request, 'image')<br>
[Sun Jan 22 10:44:42.707578 2017] [:error] [pid 4817] File "/usr/share/openstack-<wbr>dashboard/openstack_dashboard/<wbr>wsgi/../../openstack_<wbr>dashboard/api/base.py", line 321, in url_for<br>
[Sun Jan 22 10:44:42.707746 2017] [:error] [pid 4817] raise exceptions.<wbr>ServiceCatalogException(<wbr>service_type)<br>
[Sun Jan 22 10:44:42.707753 2017] [:error] [pid 4817] ServiceCatalogException: Invalid service catalog service: image<br>
<br>
<b><span style="color:blue">Access_LOG</span></b><br>
<br>
192.168.0.196 - - [22/Jan/2017:14:46:19 +0400] "GET /dashboard/project/images/ HTTP/1.1" 200 22767 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0;
WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:20 +0400] "GET /dashboard/i18n/js/horizon+<wbr>openstack_dashboard/ HTTP/1.1" 200 2372 "<a href="http://192.168.0.172/dashboard/project/images/" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images/</a>" "Mozilla/5.0
(Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "GET /dashboard/api/keystone/user-<wbr>session/ HTTP/1.1" 200 626 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows
NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "GET /dashboard/api/keystone/svc-<wbr>catalog/ HTTP/1.1" 200 4190 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows
NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"<br>
192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "GET /dashboard/api/glance/images/ HTTP/1.1" 500 40 "<a href="http://192.168.0.172/dashboard/project/images" target="_blank">http://192.168.0.172/<wbr>dashboard/project/images</a>" "Mozilla/5.0 (Windows NT 10.0;
WOW64; rv:50.0) Gecko/20100101 Firefox/50.0"<br>
<br>
<b><span style="color:blue">[root@Controller glance]# openstack endpoint list<br>
</span></b>WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
+-----------------------------<wbr>-----+-----------+------------<wbr>--+--------------+---------+--<wbr>---------+--------------------<wbr>-----------------------+<br>
| ID <wbr> | Region | Service Name | Service Type | Enabled | Interface | URL <wbr> |<br>
+-----------------------------<wbr>-----+-----------+------------<wbr>--+--------------+---------+--<wbr>---------+--------------------<wbr>-----------------------+<br>
| 09ebca8f446944c1a4cfc162fe4d41<wbr>bc | RegionOne | neutron | network | True | public |
<a href="http://controller:9696" target="_blank">http://controller:9696</a> <wbr> |<br>
| 21b8179f4eb74d97af4e836a9a17d4<wbr>bf | RegionOne | neutron | network | True | internal |
<a href="http://controller:9696" target="_blank">http://controller:9696</a> <wbr> |<br>
| 23fb8160cbff46dcb68aeb689104db<wbr>93 | RegionOne | keystone | identity | True | admin |
<a href="http://controller:35357/v3" target="_blank">http://controller:35357/v3</a> <wbr> |<br>
| 36c7f2b0fba541dc9e806eec6bd3a7<wbr>50 | RegionOne | nova | compute | True | public |
<a href="http://controller:8774/v2.1/%25(tenant_id)s" target="_blank">http://controller:8774/v2.1/%(<wbr>tenant_id)s</a> |<br>
| 421950a2696f4483b73c4bfe8a395c<wbr>1b | RegionOne | cinderv2 | volumev2 | True | internal |
<a href="http://controller:8776/v2/%25(tenant_id)s" target="_blank">http://controller:8776/v2/%(<wbr>tenant_id)s</a> |<br>
| 4758c6c6cebf4690a77c14b24ab08d<wbr>a4 | RegionOne | cinderv2 | volumev2 | True | admin |
<a href="http://controller:8776/v2/%25(tenant_id)s" target="_blank">http://controller:8776/v2/%(<wbr>tenant_id)s</a> |<br>
| 4b5b7217ff054dcd8af3a6b1b2a241<wbr>29 | RegionOne | keystone | identity | True | internal |
<a href="http://controller:5000/v3" target="_blank">http://controller:5000/v3</a> <wbr> |<br>
| 4b715873910c4693a8bc80507ff582<wbr>6d | RegionOne | glance | image | True | internal |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
| 4eaf3cff4e7f40c78b0c8e926911dc<wbr>a3 | RegionOne | glance | image | True | admin |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
| 518f1b2db4a144348f55cf8f518ec5<wbr>23 | RegionOne | nova | compute | True | internal |
<a href="http://controller:8774/v2.1/%25(tenant_id)s" target="_blank">http://controller:8774/v2.1/%(<wbr>tenant_id)s</a> |<br>
| 6b3f9790c2f441b097039863337428<wbr>39 | RegionOne | neutron | network | True | admin |
<a href="http://controller:9696" target="_blank">http://controller:9696</a> <wbr> |<br>
| 8c83c9cfe3504149bee09dfefc35db<wbr>f4 | RegionOne | keystone | identity | True | public |
<a href="http://controller:5000/v3" target="_blank">http://controller:5000/v3</a> <wbr> |<br>
| 95f2aca04a44444ca01d13c5818e87<wbr>23 | RegionOne | cinder | volume | True | internal |
<a href="http://controller:8776/v1/%25(tenant_id)s" target="_blank">http://controller:8776/v1/%(<wbr>tenant_id)s</a> |<br>
| a1ab648a7d7a47dc927aacd6ba9a90<wbr>40 | RegionOne | cinder | volume | True | admin |
<a href="http://controller:8776/v1/%25(tenant_id)s" target="_blank">http://controller:8776/v1/%(<wbr>tenant_id)s</a> |<br>
| be44bd8df6bb41cd90c79b27c3af45<wbr>5f | RegionOne | cinder | volume | True | public |
<a href="http://controller:8776/v1/%25(tenant_id)s" target="_blank">http://controller:8776/v1/%(<wbr>tenant_id)s</a> |<br>
| ca770afcf6984c36bfc5e3cc5927f1<wbr>79 | RegionOne | glance | image | True | public |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
| f85980988b124491ae7df10b1339a3<wbr>03 | RegionOne | cinderv2 | volumev2 | True | public |
<a href="http://controller:8776/v2/%25(tenant_id)s" target="_blank">http://controller:8776/v2/%(<wbr>tenant_id)s</a> |<br>
| f8aa989809df404b883c742ceb84e0<wbr>4f | RegionOne | nova | compute | True | admin |
<a href="http://controller:8774/v2.1/%25(tenant_id)s" target="_blank">http://controller:8774/v2.1/%(<wbr>tenant_id)s</a> |<br>
+-----------------------------<wbr>-----+-----------+------------<wbr>--+--------------+---------+--<wbr>---------+--------------------<wbr>-----------------------+<br>
<br>
</span><u></u><u></u></p>
</div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">B~Mork<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Sun, Jan 22, 2017 at 1:56 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none; border-left:solid #cccccc 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-right:0in">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Please look into logs,
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"><a href="http://docs.openstack.org/mitaka/config-reference/dashboard/logs.html" target="_blank">http://docs.openstack.org/<wbr>mitaka/config-reference/<wbr>dashboard/logs.html</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">/ Trinath</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Bjorn Mork [mailto:<a href="mailto:bjron.mork@gmail.com" target="_blank">bjron.mork@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, January 22, 2017 3:25 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>><br>
<b>Cc:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack] Unable Upload Image<u></u><u></u></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <br>
<br>
Which log file you need (i will share<span style="font-family:"Courier New"">)</span>, full list is shown in below;
<span style="font-family:"Courier New""><br>
<br>
<br>
[root@controller log]# cd /var/logs<br>
-bash: cd: /var/logs: No such file or directory<br>
<br>
<br>
[root@controller log]# pwd<br>
/var/log<br>
<br>
<br>
[root@controller log]# ll<br>
total 1000<br>
drwxr-xr-x. 2 root root 176 Jan 21 10:30 anaconda<br>
drwx------. 2 root root 23 Jan 21 10:33 audit<br>
-rw-r--r--. 1 root root 8831 Jan 21 11:39 boot.log<br>
-rw-------. 1 root utmp 768 Jan 21 11:23 btmp<br>
drwxr-xr-x. 2 chrony chrony 6 Dec 6 17:42 chrony<br>
-rw-------. 1 root root 3973 Jan 21 19:01 cron<br>
-rw-r--r--. 1 root root 129218 Jan 21 11:39 dmesg<br>
-rw-r--r--. 1 root root 129219 Jan 21 11:20 dmesg.old<br>
-rw-r--r--. 1 root root 113 Jan 21 11:24 firewalld<br>
-rw-------. 1 root root 1280 Jan 21 11:12 grubby<br>
-rw-r--r--. 1 root root 291708 Jan 21 15:15 lastlog<br>
-rw-------. 1 root root 600 Jan 21 11:39 maillog<br>
drwxr-x---. 2 mysql mysql 25 Jan 21 15:08 mariadb<br>
-rw-------. 1 root root 607826 Jan 21 19:18 messages<br>
drwx------. 2 root root 6 Jun 10 2014 ppp<br>
drwxr-x---. 2 rabbitmq rabbitmq 69 Jan 21 15:13 rabbitmq<br>
drwxr-xr-x. 2 root root 6 Jan 21 10:30 rhsm<br>
-rw-------. 1 root root 12605 Jan 21 15:16 secure<br>
-rw-------. 1 root root 0 Jan 21 10:22 spooler<br>
-rw-------. 1 root root 0 Jan 21 10:19 tallylog<br>
drwxr-xr-x. 2 root root 23 Dec 6 17:26 tuned<br>
-rw-rw-r--. 1 root utmp 10368 Jan 21 14:40 wtmp<br>
-rw-------. 1 root root 12295 Jan 21 15:15 yum.log<br>
<br>
</span><u></u><u></u></p>
</div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<p class="MsoNormal">B~Mork<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Sun, Jan 22, 2017 at 1:41 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none; border-left:solid #cccccc 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-top:5.0pt; margin-right:0in; margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Can you also check the horizon logs at /var/logs ?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Please post that error here.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">/ Trinath</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Bjorn Mork [mailto:<a href="mailto:bjron.mork@gmail.com" target="_blank">bjron.mork@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, January 22, 2017 3:10 PM<br>
<b>To:</b> Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>><br>
<b>Cc:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack] Unable Upload Image</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">I checked keystone & glance files; password is same. I can login to DB using my password on command line.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">1. It does not fetch images-list using GUI & shows error <b>
Error: Unable to retrieve the images.</b><u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">2. Unable upload Image if I select file based Image selection via create Image, also does not upload image and show
<b>TypeError: response is undefined & Error: Unable to create the image.</b><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
Glance-api.conf configuration is given below; <br>
<br>
<span style="font-family:"Courier New"">[keystone_authtoken]<br>
auth_uri = <a href="http://controller:5000" target="_blank">http://controller:5000</a><br>
auth_url = <a href="http://controller:35357" target="_blank">http://controller:35357</a><br>
memcached_servers = controller:11211<br>
auth_type = password<br>
project_domain_name = default<br>
user_domain_name = default<br>
project_name = service<br>
username = glance<br>
password = openstack<br>
<br>
[database]<br>
connection = mysql+pymysql://glance:<wbr>openstack@controller/glance<br>
</span><br>
============================<br>
<span style="font-family:"Courier New""><br>
<b>[root@Controller ~]# mysql -uglance -popenstack -d glance </b><br>
mysql: unknown option '-d'<br>
[root@Controller ~]# mysql -uglance -popenstack glance<br>
Reading table information for completion of table and column names<br>
You can turn off this feature to get a quicker startup with -A<br>
<br>
Welcome to the MariaDB monitor. Commands end with ; or \g.<br>
Your MariaDB connection id is 3195<br>
Server version: 10.1.18-MariaDB MariaDB Server<br>
<br>
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.<br>
<br>
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.<br>
<br>
MariaDB [glance]> <br>
<br>
<br>
==============================<wbr>====================<br>
<b>MariaDB [keystone]> select * from endpoint where service_id='<wbr>ec45b879f9e0449bb72ad8dcd42e07<wbr>5c';</b><br>
+-----------------------------<wbr>-----+--------------------+---<wbr>--------+---------------------<wbr>-------------+----------------<wbr>--------+-------+---------+---<wbr>--------+<br>
| id <wbr> | legacy_endpoint_id | interface | service_id <wbr> | url | extra | enabled | region_id |<br>
+-----------------------------<wbr>-----+--------------------+---<wbr>--------+---------------------<wbr>-------------+----------------<wbr>--------+-------+---------+---<wbr>--------+<br>
| 4b715873910c4693a8bc80507ff582<wbr>6d | NULL | internal | ec45b879f9e0449bb72ad8dcd42e07<wbr>5c |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> | {} | 1 | RegionOne |<br>
| 4eaf3cff4e7f40c78b0c8e926911dc<wbr>a3 | NULL | admin | ec45b879f9e0449bb72ad8dcd42e07<wbr>5c |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> | {} | 1 | RegionOne |<br>
| ca770afcf6984c36bfc5e3cc5927f1<wbr>79 | NULL | public | ec45b879f9e0449bb72ad8dcd42e07<wbr>5c |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> | {} | 1 | RegionOne |<br>
+-----------------------------<wbr>-----+--------------------+---<wbr>--------+---------------------<wbr>-------------+----------------<wbr>--------+-------+---------+---<wbr>--------+<br>
3 rows in set (0.00 sec)</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
==============================<wbr>=<br>
<br>
<b><span style="font-family:"Courier New"">[root@Controller ~]# openstack endpoint list | grep glance</span></b><span style="font-family:"Courier New""><br>
WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>
| 4b715873910c4693a8bc80507ff582<wbr>6d | RegionOne | glance | image | True | internal |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
| 4eaf3cff4e7f40c78b0c8e926911dc<wbr>a3 | RegionOne | glance | image | True | admin |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
| ca770afcf6984c36bfc5e3cc5927f1<wbr>79 | RegionOne | glance | image | True | public |
<a href="http://controller:9292" target="_blank">http://controller:9292</a> <wbr> |<br>
==============================<wbr>====</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Please help further. How can I enable debugging logs to identify actual issue. please help.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Regards, <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">B~Mork<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">On Sun, Jan 22, 2017 at 12:11 PM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>> wrote:<u></u><u></u></p>
<blockquote style="border:none; border-left:solid #cccccc 1.0pt; padding:0in 0in 0in 6.0pt; margin-left:4.8pt; margin-top:5.0pt; margin-right:0in; margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">Hi-</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">There might be session issues from GUI. Please logout and login again.
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">If the error still persists, please refresh the cookies. Also check your keystone configuration and auth credentials with glance and keystone.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">/ Trinath</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt; font-family:"Calibri",sans-serif"> Bjorn Mork [mailto:<a href="mailto:bjron.mork@gmail.com" target="_blank">bjron.mork@gmail.com</a>]
<br>
<b>Sent:</b> Sunday, January 22, 2017 11:49 AM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] Unable Upload Image</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222; background:white">Hi Team,</span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222">I need support on my installation, unable to upload images in my setup, It is showing error "</span><b><span style="font-size:10.0pt; font-family:"Helvetica",sans-serif; color:#a94442; background:#f2dede">Error: </span></b><span style="font-size:10.0pt; font-family:"Helvetica",sans-serif; color:#a94442; background:#f2dede">Unable
to retrieve the images.</span><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222">" via GUI, although on cli , if use the command like shown below it works fine and shows there is already one image. But unable to show via GUI...</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222"> </span><u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">[root@Controller ~]# source /etc/openstack-scripts/admin-<wbr>openrc </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">[root@Controller ~]# </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">[root@Controller ~]# glance image-list</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">+-----------------------------<wbr>---------+--------+</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">| ID | Name |</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">+-----------------------------<wbr>---------+--------+</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">| ade9e725-21bc-4032-90f7-<wbr>68d517f6106a | cirros |</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">+-----------------------------<wbr>---------+--------+</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Courier New"; color:#222222">[root@Controller ~]# </span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt; background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222">You are requested to please help me. Thanks </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222"> </span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222">Regards,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="background:white"><span style="font-size:9.5pt; font-family:"Arial",sans-serif; color:#222222">B~Mork</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>