Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Installazione e configurazione del servizio Image (Glance) | ||||||||
Line: 11 to 11 | ||||||||
# yum install openstack-nova openstack-glance openstack-glance-doc openstack-nova-doc | ||||||||
Deleted: | ||||||||
< < | Install the Image service, as root: # yum install openstack-nova openstack-glance openstack-glance-doc openstack-nova-doc
After installing, you need to delete the sqlite database it creates, then change the configuration to point to the MySQL database.
# rm /var/lib/glance/glance.sqlite | |||||||
Changed: | ||||||||
< < | Configurazione keystone | |||||||
> > | Configurazione Glance | |||||||
| ||||||||
Deleted: | ||||||||
< < | ||||||||
Changed: | ||||||||
< < | Configuring the Image Service database backend
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | mysql> GRANT ALL ON glance.* TO 'glance'@'%' IDENTIFIED BY '[YOUR_GLANCEDB_PASSWORD]'; Enter quit at the mysql> prompt to exit MySQL. mysql> quit | |||||||
> > | mysql> GRANT ALL ON glance.* TO 'glance'@'%' IDENTIFIED BY ' | |||||||
Added: | ||||||||
> > | Dove <YOUR_GLANCEDB_PASSWORD> è la password scelta per l'utente "glance" del DB. | |||||||
Changed: | ||||||||
< < | Edit the Glance configuration files and paste ini middleware files
| |||||||
> > | Editare i file di configurazione di Glance
| |||||||
[filter:authtoken] admin_tenant_name = service admin_user = glance | ||||||||
Changed: | ||||||||
< < | admin_password = XXXXXXX | |||||||
> > | admin_password = | |||||||
Added: | ||||||||
> > | Nota bene:
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
[paste_deploy] flavor = keystone | ||||||||
Added: | ||||||||
> > | ||||||||
Changed: | ||||||||
< < | service openstack-glance-api restart | |||||||
> > |
| |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
[paste_deploy] flavor = keystone | ||||||||
Added: | ||||||||
> > | Verificare che sql_connection punti al DB MySQL piuttosto che a sqlite:
sql_connection = mysql://glance:<YOUR_GLANCEDB_PASSWORD>@hostname1.domain/glance | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
[filter:authtoken] admin_tenant_name = service admin_user = glance | ||||||||
Changed: | ||||||||
< < | admin_password = XXXXXXX | |||||||
> > | admin_password = | |||||||
Changed: | ||||||||
< < |
| |||||||
> > | Verificare che la sezione pipeline:glance-registry contenga pipeline settato come segue: | |||||||
[pipeline:glance-registry] | ||||||||
Deleted: | ||||||||
< < | #pipeline = context registryapp # NOTE: use the following pipeline for keystone | |||||||
pipeline = authtoken auth-context context registryapp | ||||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | sql_connection = mysql://glance:yourpassword@131.154.101.242/glance | |||||||
> > | # service openstack-glance-registry restart # service openstack-glance-api restart | |||||||
Changed: | ||||||||
< < |
| |||||||
> > |
| |||||||
Changed: | ||||||||
< < | # service openstack-glance-registry restart # service openstack-glance-api restart | |||||||
> > | # glance-manage db_sync | |||||||
|