Comment 4 for bug 1012701

Revision history for this message
Sebastien (tuzisan) wrote :

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 ~