cssoss team mailing list archive
-
cssoss team
-
Mailing list archive
-
Message #00129
[Bug 1012701] Re: glance index fails after following os compute starter guide
1. As you can see, I configured glance as described in the documentation on p17:
root@server1:/etc/glance# tail *paste.ini
==> glance-api-paste.ini <==
service_protocol = http
service_host = 127.0.0.1
service_port = 5000
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
auth_uri = http://127.0.0.1:5000/
admin_tenant_name = service
admin_user = glance
admin_password = glance
==> glance-cache-paste.ini <==
paste.app_factory = glance.common.wsgi:app_factory
glance.app_factory = glance.image_cache.prefetcher:Prefetcher
[app:glance-cleaner]
paste.app_factory = glance.common.wsgi:app_factory
glance.app_factory = glance.image_cache.cleaner:Cleaner
[app:glance-queue-image]
paste.app_factory = glance.common.wsgi:app_factory
glance.app_factory = glance.image_cache.queue_image:Queuer
==> glance-registry-paste.ini <==
service_protocol = http
service_host = 127.0.0.1
service_port = 5000
auth_host = 127.0.0.1
auth_port = 35357
auth_protocol = http
auth_uri = http://127.0.0.1:5000/
admin_tenant_name = service
admin_user = glance
admin_password = glance
==> glance-scrubber-paste.ini <==
[app:glance-scrubber]
paste.app_factory = glance.common.wsgi:app_factory
glance.app_factory = glance.store.scrubber:Scrubber
2. Mmh, I don't know how to check that. Advices are welcome :)
3. I suppose yes, please tell me if you want me to execute a specific command:
root@server1:/etc/glance# mysql -uroot -pmygreatsecret -e 'show databases;'
+--------------------+
| Database |
+--------------------+
| information_schema |
| glance |
| keystone |
| mysql |
| nova |
| performance_schema |
| test |
+--------------------+
root@server1:/etc/glance# mysql -uroot -pmygreatsecret -e 'select User, Password from mysql.user;'
+------------------+-------------------------------------------+
| User | Password |
+------------------+-------------------------------------------+
| root | *E67DDBD37B2B45555861783E23C21DC736C63FD5 |
| root | *E67DDBD37B2B45555861783E23C21DC736C63FD5 |
| root | *E67DDBD37B2B45555861783E23C21DC736C63FD5 |
| root | *E67DDBD37B2B45555861783E23C21DC736C63FD5 |
| | |
| | |
| debian-sys-maint | *A9B28A3D7BA6A16677D93C547D3CA223CA0BA946 |
| novadbadmin | *AD8C383FA181D43FFC5FE73B98678C532C3BE96A |
| glancedbadmin | *F1A83760CFF10DFB22F3B93A2B677CB899A86135 |
| keystonedbadmin | *319C1F352905233A80094D932EAD426F98B3C50B |
+------------------+-------------------------------------------+
Cheers ~
--
You received this bug notification because you are a member of CSS OSS
Team, which is subscribed to OpenStack Book.
Matching subscriptions: OpenStackBook
https://bugs.launchpad.net/bugs/1012701
Title:
glance index fails after following os compute starter guide
Status in OpenStack Book for Ubuntu:
New
Bug description:
Hello,
I've been following the attached documentation "OpenStack Compute
Starter Guide - May 4, 2012 - essex" to setup an openstack demo, up to
page 17 when endpoinds have been configured.
* The error message printed by 'glance index' is:
$ glance index
Failed to show index. Got error:
An object with the specified identifier was not found.
Details: 404 Not Found
The resource could not be found.
* Open ports on the server are:
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:9292 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:35357 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:9191 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:5000 0.0.0.0:* LISTEN -
tcp6 0 0 :::22 :::* LISTEN -
I suspect a wrong url or port number when configuring endpoints with admin and internal urls, but didn't found anything wrong yet. The error message didn't tell which identifier it was looking for.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openstackbook/+bug/1012701/+subscriptions