one manual's command in neutron is wrong

Bug #1281565 reported by Wei Wang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Rhys Oxenham

Bug Description

in the http://docs.openstack.org/trunk/install-guide/install/yum/content/install-neutron.dedicated-controller-node.html

# openstack-config --set /etc/neutron/neutron.conf AGENT \
   root_helper sudo neutron-rootwrap /etc/neutron/rootwrap.conf

it should be:

# openstack-config --set /etc/neutron/neutron.conf agent \
   root_helper "sudo neutron-rootwrap /etc/neutron/rootwrap.conf"

or user's config will be:

...
[AGENT]
root_helper = sudo
...

it should be:

...
[agent]
root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
...
-----------------------------------
Built: 2014-02-18T11:59:29 00:00
git SHA: b1d27d1d7b784c1519338c4108469c1da1d75b47
URL: http://docs.openstack.org/trunk/install-guide/install/yum/content/install-neutron.dedicated-controller-node.html
source File: file:/home/jenkins/workspace/openstack-install-deploy-guide-fedora/doc/install-guide/section_neutron-install.xml
xml:id: install-neutron.dedicated-controller-node

Wei Wang (damon-devops)
Changed in openstack-manuals:
assignee: nobody → Wei Wang (damon-devops)
Revision history for this message
Rhys Oxenham (rdoxenham) wrote :

Verified-

[root@stack-node1 ~]# cp /etc/neutron/neutron.conf /tmp/neutron.conf
[root@stack-node1 ~]# openstack-config --set /tmp/neutron.conf AGENT root_helper sudo neutron-rootwrap /etc/neutron/rootwrap.conf
[root@stack-node1 ~]# grep root_helper /tmp/neutron.conf
# root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
root_helper=sudo
[root@stack-node1 ~]# openstack-config --set /tmp/neutron.conf AGENT root_helper "sudo neutron-rootwrap /etc/neutron/rootwrap.conf"
[root@stack-node1 ~]# grep root_helper /tmp/neutron.conf
# root_helper = sudo neutron-rootwrap /etc/neutron/rootwrap.conf
root_helper=sudo neutron-rootwrap /etc/neutron/rootwrap.conf

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

Fix proposed to branch: master
Review: https://review.openstack.org/74396

Changed in openstack-manuals:
assignee: Wei Wang (damon-devops) → Rhys Oxenham (rdoxenham)
status: New → In Progress
Changed in openstack-manuals:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/74396
Committed: https://git.openstack.org/cgit/openstack/openstack-manuals/commit/?id=7df22ac0d17b87b85d7ded8f42f117a109a68ecf
Submitter: Jenkins
Branch: master

commit 7df22ac0d17b87b85d7ded8f42f117a109a68ecf
Author: Rhys Oxenham <email address hidden>
Date: Wed Feb 19 09:02:15 2014 +0100

    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

Changed in openstack-manuals:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-manuals 15.0.0

This issue was fixed in the openstack/openstack-manuals 15.0.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.