Ask Your Question
0

glance responding very slow

asked 2018-06-11 06:55:05 -0500

vishwanath shivappa gravatar image

updated 2018-06-12 18:27:15 -0500

i have installed queens version of open stack. except for keystone all other service response is very slow. but it done not fail.

[root@cassini ~]# time glance image-list
+----+------+
| ID | Name |
+----+------+
+----+------+

real    2m3.914s
user    0m1.736s
sys     0m0.146s

[root@cassini ~]# time openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------+
| ID                               | Region    | Service Name | Service Type | Enabled | Interface | URL                     |
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------+
| 376a6b2b838b4f868180335fdac9199e | RegionOne | keystone     | identity     | True    | public    | http://cassini:5000/v3/ |
| 68cb76bcdbb542278f259a516ec8d3d3 | RegionOne | keystone     | identity     | True    | admin     | http://cassini:5000/v3/ |
| 9a4b9847c55043789fa7f592b2a10261 | RegionOne | glance       | image        | True    | internal  | http://cassini:9292     |
| ceb3f5611cc64e8084316bbf5e899e9f | RegionOne | keystone     | identity     | True    | internal  | http://cassini:5000/v3/ |
| e02a468b47ae4109b5786309a3dcb281 | RegionOne | glance       | image        | True    | admin     | http://cassini:9292     |
| f2e6f18248b14419b74ec0406a04bc23 | RegionOne | glance       | image        | True    | public    | http://cassini:9292     |
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------+

real    0m3.874s
user    0m1.920s
sys     0m0.169s
[root@cassini ~]# time openstack user list
+----------------------------------+--------+
| ID                               | Name   |
+----------------------------------+--------+
| 1b5f861b74f24574992c0ccc0cbf6333 | admin  |
| 8ff793190f9d4829816c457abe65b3d4 | demo   |
| be859b477bec481da3fc3af78344f033 | glance |
+----------------------------------+--------+

real    0m3.649s
user    0m1.914s
sys     0m0.167s
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-06-12 06:32:55 -0500

vishwanath shivappa gravatar image

updated 2018-06-12 18:25:33 -0500

[root@cassini ~]# openstack image list --timing

+-----------------------------------------+------------+
| URL                                     |    Seconds |
+-----------------------------------------+------------+
| GET http://cassini:5000/v3              |    0.00623 |
| POST http://cassini:5000/v3/auth/tokens |   0.673905 |
| POST http://cassini:5000/v3/auth/tokens |   0.689073 |
| GET http://cassini:9292/v2/images       | 121.203616 |
| Total                                   | 122.572824 |
+-----------------------------------------+------------+
edit flag offensive delete link more

Comments

Can you check if this is slow as well: openstack token issue #copy tokenid curl -v -g -i -X GET http://cassini:9292/v2/images -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.25" -H "X-Auth-Token: $OS_TOKEN"

ppeereb1 gravatar imageppeereb1 ( 2018-06-13 06:00:25 -0500 )edit

Also do you have a loadbalancer in between your requests? Anything odd in your glance-api.log ?

ppeereb1 gravatar imageppeereb1 ( 2018-06-13 06:01:13 -0500 )edit
0

answered 2018-06-11 09:24:45 -0500

ppeereb1 gravatar image

can you do openstack image list --timing Than you can see which query is taking a lot of time.

edit flag offensive delete link more

Comments

root@cassini ~]# openstack image list --timing

+-----------------------------------------+------------+ | URL | Seconds | +-----------------------------------------+------------+ | GET http://cassini:5000/v3 | 0.00623 | | POST http://cassini:5

vishwanath shivappa gravatar imagevishwanath shivappa ( 2018-06-12 02:45:08 -0500 )edit

I'm missing information in your post. Is your paste ok?

ppeereb1 gravatar imageppeereb1 ( 2018-06-12 05:50:04 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2018-06-11 06:55:05 -0500

Seen: 78 times

Last updated: Jun 12