diff --git a/doc/install-guide/section_glance-install.xml b/doc/install-guide/section_glance-install.xml index 825127fdba..38ca8948fc 100644 --- a/doc/install-guide/section_glance-install.xml +++ b/doc/install-guide/section_glance-install.xml @@ -53,10 +53,10 @@ throughout this section. Replace GLANCE_DBPASS with your Image Service database password. - # openstack-config --set /etc/glance/glance-api.conf \ - database connection mysql://glance:GLANCE_DBPASS@controller/glance -# openstack-config --set /etc/glance/glance-registry.conf \ - database connection mysql://glance:GLANCE_DBPASS@controller/glance + # openstack-config --set /etc/glance/glance-api.conf database \ + connection mysql://glance:GLANCE_DBPASS@controller/glance +# openstack-config --set /etc/glance/glance-registry.conf database \ + connection mysql://glance:GLANCE_DBPASS@controller/glance Edit /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf and @@ -66,6 +66,54 @@ [database] connection = mysql://glance:GLANCE_DBPASS@controller/glance + + + + Set these configuration keys to configure the Image Service to use + the Qpid message broker: + # openstack-config --set /etc/glance/glance-api.conf DEFAULT \ + rpc_backend glance.openstack.common.rpc.impl_qpid +# openstack-config --set /etc/glance/glance-api.conf DEFAULT \ + qpid_hostname controller + # openstack-config --set /etc/glance/glance-registry.conf DEFAULT \ + rpc_backend glance.openstack.common.rpc.impl_qpid +# openstack-config --set /etc/glance/glance-registry.conf DEFAULT \ + qpid_hostname controller + + + Configure the Image service to use the RabbitMQ message broker by + setting these configuration keys in the [DEFAULT] + configuration group of the /etc/glance/glance-api.conf + and /etc/glance/glance-registry.conf + files: + Replace RABBIT_PASS with the password + you chose for the guest account in + RabbitMQ. + rpc_backend = glance.rpc.impl_kombu +rabbit_host = controller +rabbit_password = RABBIT_PASS + + + Set these configuration keys to configure the Identity service to use + the RabbitMQ message broker: + Replace RABBIT_PASS with the password + you chose for the guest account in + RabbitMQ. + # openstack-config --set /etc/glance/glance-api.conf DEFAULT \ + rpc_backend glance.rpc.impl_kombu +# openstack-config --set /etc/glance/glance-api.conf DEFAULT \ + rabbit_host controller +# openstack-config --set /etc/glance/glance-api.conf DEFAULT \ + rabbit_password RABBIT_PASS + # openstack-config --set /etc/glance/glance-registry.conf DEFAULT \ + rpc_backend glance.rpc.impl_kombu +# openstack-config --set /etc/glance/glance-registry.conf DEFAULT \ + rabbit_host controller +# openstack-config --set /etc/glance/glance-registry.conf DEFAULT \ + rabbit_password RABBIT_PASS + + + Use the openstack-db command to create the Image Service database and tables and a @@ -95,7 +143,7 @@ IDENTIFIED BY 'GLANCE_DBPASS'; Create a glance user that the Image - Service can use to authenticate with the Identity Service. + Service can use to authenticate with the Identity service. Choose a password and specify an email address for the glance user. Use the service tenant and give the user the @@ -112,34 +160,34 @@ IDENTIFIED BY 'GLANCE_DBPASS'; you chose for the glance user in the Identity Service: # openstack-config --set /etc/glance/glance-api.conf keystone_authtoken \ - auth_uri http://controller:5000 + auth_uri http://controller:5000 # openstack-config --set /etc/glance/glance-api.conf keystone_authtoken \ - auth_host controller + auth_host controller # openstack-config --set /etc/glance/glance-api.conf keystone_authtoken \ - admin_tenant_name service + admin_tenant_name service # openstack-config --set /etc/glance/glance-api.conf keystone_authtoken \ - admin_user glance + admin_user glance # openstack-config --set /etc/glance/glance-api.conf keystone_authtoken \ - admin_password GLANCE_PASS + admin_password GLANCE_PASS # openstack-config --set /etc/glance/glance-api.conf paste_deploy \ - flavor keystone + flavor keystone # openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken \ - auth_uri http://controller:5000 + auth_uri http://controller:5000 # openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken \ - auth_host controller + auth_host controller # openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken \ - admin_tenant_name service + admin_tenant_name service # openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken \ - admin_user glance + admin_user glance # openstack-config --set /etc/glance/glance-registry.conf keystone_authtoken \ - admin_password GLANCE_PASS + admin_password GLANCE_PASS # openstack-config --set /etc/glance/glance-registry.conf paste_deploy \ - flavor keystone + flavor keystone Edit the /etc/glance/glance-api.conf and /etc/glance/glance-registry.conf files. Replace GLANCE_PASS with the password you chose - for the glance user in the Identity Service. + for the glance user in the Identity service. Add or modify the following keys under the @@ -163,7 +211,7 @@ flavor = keystone - Register the Image Service with the Identity Service so + Register the Image Service with the Identity service so that other OpenStack services can locate it. Register the service and create the endpoint: $ keystone service-create --name=glance --type=image \