Re: [Openstack] Unable Upload Image
0 17 "http://192.168.0.172/dashboard/project/images; "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" 192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "http://192.168.0.172/dashboard/project/images; "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" 192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "POST /dashboard/api/policy/ HTTP/1.1" 200 17 "http://192.168.0.172/dashboard/project/images; "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" 192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "GET /dashboard/api/keystone/svc-catalog/ HTTP/1.1" 200 4190 " http://192.168.0.172/dashboard/project/images; "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" 192.168.0.196 - - [22/Jan/2017:14:46:21 +0400] "GET /dashboard/api/glance/images/ HTTP/1.1" 500 40 " http://192.168.0.172/dashboard/project/images; "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0" *[root@Controller glance]# openstack endpoint list*WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils +--+---+--+--+-+---+---+ | ID | Region| Service Name | Service Type | Enabled | Interface | URL | +--+---+--+--+-+---+---+ | 09ebca8f446944c1a4cfc162fe4d41bc | RegionOne | neutron | network | True| public| http://controller:9696 | | 21b8179f4eb74d97af4e836a9a17d4bf | RegionOne | neutron | network | True| internal | http://controller:9696 | | 23fb8160cbff46dcb68aeb689104db93 | RegionOne | keystone | identity | True| admin | http://controller:35357/v3 | | 36c7f2b0fba541dc9e806eec6bd3a750 | RegionOne | nova | compute | True| public| http://controller:8774/v2.1/%(tenant_id)s | | 421950a2696f4483b73c4bfe8a395c1b | RegionOne | cinderv2 | volumev2 | True| internal | http://controller:8776/v2/%(tenant_id)s | | 4758c6c6cebf4690a77c14b24ab08da4 | RegionOne | cinderv2 | volumev2 | True| admin | http://controller:8776/v2/%(tenant_id)s | | 4b5b7217ff054dcd8af3a6b1b2a24129 | RegionOne | keystone | identity | True| internal | http://controller:5000/v3 | | 4b715873910c4693a8bc80507ff5826d | RegionOne | glance | image| True| internal | http://controller:9292 | | 4eaf3cff4e7f40c78b0c8e926911dca3 | RegionOne | glance | image| True| admin | http://controller:9292 | | 518f1b2db4a144348f55cf8f518ec523 | RegionOne | nova | compute | True| internal | http://controller:8774/v2.1/%(tenant_id)s | | 6b3f9790c2f441b09703986333742839 | RegionOne | neutron | network | True| admin | http://controller:9696 | | 8c83c9cfe3504149bee09dfefc35dbf4 | RegionOne | keystone | identity | True| public| http://controller:5000/v3 | | 95f2aca04a4ca01d13c5818e8723 | RegionOne | cinder | volume | True| internal | http://controller:8776/v1/%(tenant_id)s | | a1ab648a7d7a47dc927aacd6ba9a9040 | RegionOne | cinder | volume | True| admin | http://controller:8776/v1/%(tenant_id)s | | be44bd8df6bb41cd90c79b27c3af455f | RegionOne | cinder | volume | True| public| http://controller:8776/v1/%(tenant_id)s | | ca770afcf6984c36bfc5e3cc5927f179 | RegionOne | glance | image| True| public| http://controller:9292 | | f85980988b124491ae7df10b1339a303 | RegionOne | cinderv2 | volumev2 | True| public| http://controller:8776/v2/%(tenant_id)s | | f8aa989809df404b883c742ceb84e04f | RegionOne | nova | compute | True| admin | http://controller:8774/v2.1/%(tenant_id)s | +--+---+--+--+-+---+---+ Regards, B~Mork On Sun, Jan 22, 2017 at 1:56 PM, Trinath Somanchi <trinath.soman...@nxp.com> wrote: > Please look into logs, > > > > http://docs.openstack.org/mitaka/config-reference/dashboard/logs.html > > > > > > > > / Trinath > > > > *From:* Bjorn Mork [mailto:bjron.m...@gmail.com] > *Sent:* Sunday, January 22, 2017 3:25 PM > > *To:* Trinath Somanchi <trinath.soman...@nxp.com> > *Cc:* openstack@lists.openstack.org > *Subject:* Re: [Openstack] Unable Upload Image > > > > Hi, > > Which log file you need (i will share), full list is shown in below; > > > [root@control
Re: [Openstack] Unable Upload Image
Hi, Which log file you need (i will share), full list is shown in below; [root@controller log]# cd /var/logs -bash: cd: /var/logs: No such file or directory [root@controller log]# pwd /var/log [root@controller log]# ll total 1000 drwxr-xr-x. 2 root root176 Jan 21 10:30 anaconda drwx--. 2 root root 23 Jan 21 10:33 audit -rw-r--r--. 1 root root 8831 Jan 21 11:39 boot.log -rw---. 1 root utmp768 Jan 21 11:23 btmp drwxr-xr-x. 2 chrony chrony6 Dec 6 17:42 chrony -rw---. 1 root root 3973 Jan 21 19:01 cron -rw-r--r--. 1 root root 129218 Jan 21 11:39 dmesg -rw-r--r--. 1 root root 129219 Jan 21 11:20 dmesg.old -rw-r--r--. 1 root root113 Jan 21 11:24 firewalld -rw---. 1 root root 1280 Jan 21 11:12 grubby -rw-r--r--. 1 root root 291708 Jan 21 15:15 lastlog -rw---. 1 root root600 Jan 21 11:39 maillog drwxr-x---. 2 mysqlmysql25 Jan 21 15:08 mariadb -rw---. 1 root root 607826 Jan 21 19:18 messages drwx--. 2 root root 6 Jun 10 2014 ppp drwxr-x---. 2 rabbitmq rabbitmq 69 Jan 21 15:13 rabbitmq drwxr-xr-x. 2 root root 6 Jan 21 10:30 rhsm -rw---. 1 root root 12605 Jan 21 15:16 secure -rw---. 1 root root 0 Jan 21 10:22 spooler -rw---. 1 root root 0 Jan 21 10:19 tallylog drwxr-xr-x. 2 root root 23 Dec 6 17:26 tuned -rw-rw-r--. 1 root utmp 10368 Jan 21 14:40 wtmp -rw---. 1 root root 12295 Jan 21 15:15 yum.log Regards, B~Mork On Sun, Jan 22, 2017 at 1:41 PM, Trinath Somanchi <trinath.soman...@nxp.com> wrote: > Can you also check the horizon logs at /var/logs ? > > > > Please post that error here. > > > > / Trinath > > > > *From:* Bjorn Mork [mailto:bjron.m...@gmail.com] > *Sent:* Sunday, January 22, 2017 3:10 PM > *To:* Trinath Somanchi <trinath.soman...@nxp.com> > *Cc:* openstack@lists.openstack.org > *Subject:* Re: [Openstack] Unable Upload Image > > > > Hi, > > I checked keystone & glance files; password is same. I can login to DB > using my password on command line. > > 1. It does not fetch images-list using GUI & shows error * Error: Unable > to retrieve the images.* > > > > 2. Unable upload Image if I select file based Image selection via create > Image, also does not upload image and show *TypeError: response is > undefined & Error: Unable to create the image.* > > > Glance-api.conf configuration is given below; > > [keystone_authtoken] > auth_uri = http://controller:5000 > auth_url = http://controller:35357 > memcached_servers = controller:11211 > auth_type = password > project_domain_name = default > user_domain_name = default > project_name = service > username = glance > password = openstack > > [database] > connection = mysql+pymysql://glance:openstack@controller/glance > > > > *[root@Controller ~]# mysql -uglance -popenstack -d glance * > mysql: unknown option '-d' > [root@Controller ~]# mysql -uglance -popenstack glance > Reading table information for completion of table and column names > You can turn off this feature to get a quicker startup with -A > > Welcome to the MariaDB monitor. Commands end with ; or \g. > Your MariaDB connection id is 3195 > Server version: 10.1.18-MariaDB MariaDB Server > > Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. > > Type 'help;' or '\h' for help. Type '\c' to clear the current input > statement. > > MariaDB [glance]> > > > == > *MariaDB [keystone]> select * from endpoint where > service_id='ec45b879f9e0449bb72ad8dcd42e075c';* > +--++--- > +--+ > +---+-+---+ > | id | legacy_endpoint_id | interface | > service_id | url| extra | > enabled | region_id | > +--++--- > +--+ > +---+-+---+ > | 4b715873910c4693a8bc80507ff5826d | NULL | internal | > ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| > 1 | RegionOne | > | 4eaf3cff4e7f40c78b0c8e926911dca3 | NULL | admin | > ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| > 1 | RegionOne | > | ca770afcf6984c36bfc5e3cc5927f179 | NULL | public| > ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| > 1 | Re
Re: [Openstack] Unable Upload Image
Hi, I checked keystone & glance files; password is same. I can login to DB using my password on command line. 1. It does not fetch images-list using GUI & shows error *Error: **Unable to retrieve the images.* 2. Unable upload Image if I select file based Image selection via create Image, also does not upload image and show *TypeError: response is undefined & Error: Unable to create the image.* Glance-api.conf configuration is given below; [keystone_authtoken] auth_uri = http://controller:5000 auth_url = http://controller:35357 memcached_servers = controller:11211 auth_type = password project_domain_name = default user_domain_name = default project_name = service username = glance password = openstack [database] connection = mysql+pymysql://glance:openstack@controller/glance *[root@Controller ~]# mysql -uglance -popenstack -d glance * mysql: unknown option '-d' [root@Controller ~]# mysql -uglance -popenstack glance Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 3195 Server version: 10.1.18-MariaDB MariaDB Server Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [glance]> == *MariaDB [keystone]> select * from endpoint where service_id='ec45b879f9e0449bb72ad8dcd42e075c';* +--++---+--++---+-+---+ | id | legacy_endpoint_id | interface | service_id | url| extra | enabled | region_id | +--++---+--++---+-+---+ | 4b715873910c4693a8bc80507ff5826d | NULL | internal | ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| 1 | RegionOne | | 4eaf3cff4e7f40c78b0c8e926911dca3 | NULL | admin | ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| 1 | RegionOne | | ca770afcf6984c36bfc5e3cc5927f179 | NULL | public| ec45b879f9e0449bb72ad8dcd42e075c | http://controller:9292 | {}| 1 | RegionOne | +--++---+--++---+-+---+ 3 rows in set (0.00 sec) === *[root@Controller ~]# openstack endpoint list | grep glance* WARNING: openstackclient.common.utils is deprecated and will be removed after Jun 2017. Please use osc_lib.utils | 4b715873910c4693a8bc80507ff5826d | RegionOne | glance | image| True| internal | http://controller:9292 | | 4eaf3cff4e7f40c78b0c8e926911dca3 | RegionOne | glance | image| True| admin | http://controller:9292 | | ca770afcf6984c36bfc5e3cc5927f179 | RegionOne | glance | image| True| public| http://controller:9292 | == Please help further. How can I enable debugging logs to identify actual issue. please help. Regards, B~Mork On Sun, Jan 22, 2017 at 12:11 PM, Trinath Somanchi <trinath.soman...@nxp.com > wrote: > Hi- > > > > There might be session issues from GUI. Please logout and login again. > > > > If the error still persists, please refresh the cookies. Also check your > keystone configuration and auth credentials with glance and keystone. > > > > / Trinath > > > > *From:* Bjorn Mork [mailto:bjron.m...@gmail.com] > *Sent:* Sunday, January 22, 2017 11:49 AM > *To:* openstack@lists.openstack.org > *Subject:* [Openstack] Unable Upload Image > > > > Hi Team, > > > > I need support on my installation, unable to upload images in my setup, It > is showing error "*Error: *Unable to retrieve the images." 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... > > > > > > [root@Controller ~]# source /etc/openstack-scripts/admin-openrc > > [root@Controller ~]# > > [root@Controller ~]# glance image-list > > +--++ > > | ID | Name | > > +--++ > > | ade9e725-21bc-4032-90f7-68d517f6106a | cirros | > > +--++ > > [root@Controller ~]# > > > > You are requested to please help me. Thanks > >
[Openstack] Unable Upload Image
Hi Team, I need support on my installation, unable to upload images in my setup, It is showing error "*Error: *Unable to retrieve the images." 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... [root@Controller ~]# source /etc/openstack-scripts/admin-openrc [root@Controller ~]# [root@Controller ~]# glance image-list +--++ | ID | Name | +--++ | ade9e725-21bc-4032-90f7-68d517f6106a | cirros | +--++ [root@Controller ~]# You are requested to please help me. Thanks Regards, B~Mork ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack