<div dir="ltr"><div><div>Hi, <br><br></div>I checked keystone & glance files; password is same. I can login to DB using my password on command line.<br><br></div><div>1. It does not fetch images-list using GUI & shows error  <b class="gmail-ng-binding">Error: </b><b>Unable to retrieve the images.</b><div class="gmail-ng-binding"><b class="gmail-ng-binding"><br></b></div></div><div>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.<br><br></b></div><div><br>Glance-api.conf configuration is given below; <br><br><span style="font-family:monospace,monospace">[keystone_authtoken]<br>auth_uri = <a href="http://controller:5000">http://controller:5000</a><br>auth_url = <a href="http://controller:35357">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:openstack@controller/glance<br></span><br>============================<br><span style="font-family:monospace,monospace"><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></span><span style="font-family:monospace,monospace"><br>==================================================<br><b>MariaDB [keystone]> select * from endpoint where service_id='ec45b879f9e0449bb72ad8dcd42e075c';</b><br>+----------------------------------+--------------------+-----------+----------------------------------+------------------------+-------+---------+-----------+<br>| id                               | legacy_endpoint_id | interface | service_id                       | url                    | extra | enabled | region_id |<br>+----------------------------------+--------------------+-----------+----------------------------------+------------------------+-------+---------+-----------+<br>| 4b715873910c4693a8bc80507ff5826d | NULL               | internal  | ec45b879f9e0449bb72ad8dcd42e075c | <a href="http://controller:9292">http://controller:9292</a> | {}    |       1 | RegionOne |<br>| 4eaf3cff4e7f40c78b0c8e926911dca3 | NULL               | admin     | ec45b879f9e0449bb72ad8dcd42e075c | <a href="http://controller:9292">http://controller:9292</a> | {}    |       1 | RegionOne |<br>| ca770afcf6984c36bfc5e3cc5927f179 | NULL               | public    | ec45b879f9e0449bb72ad8dcd42e075c | <a href="http://controller:9292">http://controller:9292</a> | {}    |       1 | RegionOne |<br>+----------------------------------+--------------------+-----------+----------------------------------+------------------------+-------+---------+-----------+<br>3 rows in set (0.00 sec)</span><span style="font-family:monospace,monospace"></span><br><span style="font-family:monospace,monospace"></span></div><div><br>===============================<br><br><span style="font-family:monospace,monospace"><b>[root@Controller ~]# openstack endpoint list | grep glance</b><br>WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils<br>|
 4b715873910c4693a8bc80507ff5826d | RegionOne | glance       | 
image        | True    | internal  | 
<a href="http://controller:9292">http://controller:9292</a>                    |<br>| 
4eaf3cff4e7f40c78b0c8e926911dca3 | RegionOne | glance       | 
image        | True    | admin     | 
<a href="http://controller:9292">http://controller:9292</a>                    |<br>| 
ca770afcf6984c36bfc5e3cc5927f179 | RegionOne | glance       | 
image        | True    | public    | 
<a href="http://controller:9292">http://controller:9292</a>                    |<br>==================================<br><br></span><br></div><div>Please help further. How can I enable debugging logs to identify actual issue. please help.<br></div><div><br></div><div>Regards,  <br></div><div>B~Mork<br></div><div><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 22, 2017 at 12:11 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:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">





<div lang="EN-US">
<div class="gmail-m_-5136943247319579476WordSection1">
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif">Hi-<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif">There might be session issues from GUI. Please logout and login again.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;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.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif">/ Trinath<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:"calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11pt;font-family:"calibri",sans-serif">From:</span></b><span style="font-size:11pt;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<u></u><u></u></span></p><div><div class="gmail-h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34);background:white none repeat scroll 0% 0%">Hi Team,</span><u></u><u></u></p>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)">I need support on my installation, unable to upload images in my setup, It is showing error "</span><b><span style="font-size:10pt;font-family:"helvetica",sans-serif;color:rgb(169,68,66);background:rgb(242,222,222) none repeat scroll 0% 0%">Error: </span></b><span style="font-size:10pt;font-family:"helvetica",sans-serif;color:rgb(169,68,66);background:rgb(242,222,222) none repeat scroll 0% 0%">Unable
 to retrieve the images.</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)">" 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...<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u> <u></u></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">[root@Controller ~]# source /etc/openstack-scripts/admin-<wbr>openrc </span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">[root@Controller ~]# </span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">[root@Controller ~]# glance image-list</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">+-----------------------------<wbr>---------+--------+</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">| ID                                   | Name   |</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">+-----------------------------<wbr>---------+--------+</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">| ade9e725-21bc-4032-90f7-<wbr>68d517f6106a | cirros |</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">+-----------------------------<wbr>---------+--------+</span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"courier new";color:rgb(34,34,34)">[root@Controller ~]# </span><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u><u></u></span></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12pt;background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)">You are requested to please help me. Thanks <u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)">Regards,<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="background:white none repeat scroll 0% 0%"><span style="font-size:9.5pt;font-family:"arial",sans-serif;color:rgb(34,34,34)">B~Mork<u></u><u></u></span></p>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br></div></div>