<div dir="ltr"><div><div>Hi, <br><br>Which log file you need (i will share<span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace">)</span></span></span></span>, full list is shown in below; <span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><span style="font-family:monospace,monospace"><br><br><br>[root@controller log]# cd /var/logs<br>-bash: cd: /var/logs: No such file or directory<br><br><br></span></span>[root@controller log]# pwd<br>/var/log<br><br><br></span>[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></span><br><br><br></div>Regards,<br></div>B~Mork<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 22, 2017 at 1:41 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 link="blue" vlink="purple" lang="EN-US">
<div class="m_-901602040143583354WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Can you also check the horizon logs at /var/logs ?<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">Please post that error here.<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 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<u></u><u></u></span></p><div><div class="h5">
<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>====<br>
<br>
</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-right:0in">
<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><br></div>