Skip to content

Commit

Permalink
Configure glance_host on the volume node (cinder)
Browse files Browse the repository at this point in the history
If the glance_host option is not set in the volume node configuration,
cinder will not be able to create bootable volumes from images
(cinder-volume assumes that glance runs locally).

Also add <replaceable> markup on a couple 'controller' values.

Change-Id: I3aea0344813f46e012c40e081e6c513c979b32b9
  • Loading branch information
Gauvain Pocentek committed Apr 5, 2014
1 parent 0e5b76c commit f9b4fc4
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions doc/install-guide/section_cinder-node.xml
Expand Up @@ -149,7 +149,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
<screen os="rhel;centos;fedora"><prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT rpc_backend cinder.openstack.common.rpc.impl_qpid</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT qpid_hostname controller</userinput></screen>
DEFAULT qpid_hostname <replaceable>controller</replaceable></userinput></screen>
</step>
<step os="sles;opensuse">
<para>Configure Block Storage to use the RabbitMQ message
Expand All @@ -158,7 +158,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT rpc_backend cinder.openstack.common.rpc.impl_kombu</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT rabbit_host controller</userinput>
DEFAULT rabbit_host <replaceable>controller</replaceable></userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT rabbit_port 5672</userinput>
<prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
Expand All @@ -183,6 +183,18 @@ connection = mysql://cinder:<replaceable>CINDER_DBPASS</replaceable>@<replaceabl
before you proceed.</para>
</note>
</step>
<step>
<para>Configure Block Storage to use the Image Service. Block Storage
needs access to images to create bootable volumes. Edit the
<filename>/etc/cinder/cinder.conf</filename> file and update the
<option>glance_host</option> option in the <literal>[DEFAULT]</literal>
section:</para>
<screen os="rhel;centos;fedora;opensuse;sles"><prompt>#</prompt> <userinput>openstack-config --set /etc/cinder/cinder.conf \
DEFAULT glance_host <replaceable>controller</replaceable></userinput></screen>
<programlisting os="ubuntu;debian" language="ini">[DEFAULT]
...
glance_host = <replaceable>controller</replaceable></programlisting>
</step>
<step os="ubuntu">
<para>Restart the Block Storage services with the new
settings:</para>
Expand Down

0 comments on commit f9b4fc4

Please sign in to comment.