Fixes root_helper copy and paste problem with openstack-config
The documentation asks the user to use openstack-config to apply a change to the root_helper parameter. With the way that openstack-config works it expects parameters to be organised properly. Therefore, any white space between arguments is assumed to be a seperate argument, hence it is ignored; the solution is to parenthesise the parameter required, encompassing all white space. Note: Rebased since https://review.openstack.org/#/c/74243/ Change-Id: I2ab702d97828311f3fa409b6cb88931cd5f6c315 Closes-Bug: #1281565 backport: havana
This commit is contained in:
parent
f108408747
commit
7df22ac0d1
@ -113,7 +113,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|||||||
<para>Set the <literal>root_helper</literal> configuration in the
|
<para>Set the <literal>root_helper</literal> configuration in the
|
||||||
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
||||||
root_helper sudo neutron-rootwrap /etc/neutron/rootwrap.conf</userinput></screen>
|
root_helper "sudo neutron-rootwrap /etc/neutron/rootwrap.conf"</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step os="rhel;centos;fedora;opensuse;sles">
|
<step os="rhel;centos;fedora;opensuse;sles">
|
||||||
<para>Configure Networking to connect to the database:</para>
|
<para>Configure Networking to connect to the database:</para>
|
||||||
|
@ -336,7 +336,7 @@ rabbit_password = <replaceable>RABBIT_PASS</replaceable></programlisting>
|
|||||||
<para>Set the <literal>root_helper</literal> configuration in the
|
<para>Set the <literal>root_helper</literal> configuration in the
|
||||||
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
||||||
root_helper sudo neutron-rootwrap /etc/neutron/rootwrap.conf</userinput></screen>
|
root_helper "sudo neutron-rootwrap /etc/neutron/rootwrap.conf"</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step>
|
<step>
|
||||||
<para>Although the controller node does not run any Networking agents,
|
<para>Although the controller node does not run any Networking agents,
|
||||||
|
@ -136,7 +136,7 @@ admin_password = <replaceable>NEUTRON_PASS</replaceable></programlisting>
|
|||||||
<para>Set the <literal>root_helper</literal> configuration in the
|
<para>Set the <literal>root_helper</literal> configuration in the
|
||||||
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
<literal>[agent]</literal> section of <filename>/etc/neutron/neutron.conf</filename>:</para>
|
||||||
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
<screen><prompt>#</prompt> <userinput>openstack-config --set /etc/neutron/neutron.conf AGENT \
|
||||||
root_helper sudo neutron-rootwrap /etc/neutron/rootwrap.conf</userinput></screen>
|
root_helper "sudo neutron-rootwrap /etc/neutron/rootwrap.conf"</userinput></screen>
|
||||||
</step>
|
</step>
|
||||||
<step os="opensuse;sles">
|
<step os="opensuse;sles">
|
||||||
<para>Configure access to the <application>RabbitMQ</application> service:</para>
|
<para>Configure access to the <application>RabbitMQ</application> service:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user