<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Can you also check the horizon logs at /var/logs ?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Please post that error here.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/ Trinath<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><o:p> </o:p></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:bjron.mork@gmail.com]
<br>
<b>Sent:</b> Sunday, January 22, 2017 3:10 PM<br>
<b>To:</b> Trinath Somanchi <trinath.somanchi@nxp.com><br>
<b>Cc:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> Re: [Openstack] Unable Upload Image<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi, <o:p></o:p></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.<o:p></o:p></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><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></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><o:p></o:p></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">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:"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>
==================================================<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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
===============================<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>
| 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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Please help further. How can I enable debugging logs to identify actual issue. please help.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Regards,  <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">B~Mork<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></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:<o:p></o:p></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" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Hi-</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">There might be session issues from GUI. Please logout and login again.
</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/ Trinath</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222;background:white">Hi Team,</span><o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<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><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">[root@Controller ~]# source /etc/openstack-scripts/admin-openrc </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">[root@Controller ~]# </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">[root@Controller ~]# glance image-list</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">+--------------------------------------+--------+</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">| ID                                   | Name   |</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">+--------------------------------------+--------+</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">| ade9e725-21bc-4032-90f7-68d517f6106a | cirros |</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">+--------------------------------------+--------+</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Courier New";color:#222222">[root@Controller ~]# </span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222">You are requested to please help me. Thanks </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"> </span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222">Regards,</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;background:white;background-attachment:scroll;background-position-x:0%;background-position-y:0%">
<span style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222">B~Mork</span><o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>