rootwrap default config has uppercase sections
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Low
|
Mate Lakat |
Bug Description
If you are using devstack to deploy neutron, agent will fail to start:
2013-06-28 15:26:53.004 29285 DEBUG quantum.
Command: ['/opt/
Exit code: 96
Stdout: ''
Stderr: 'Traceback (most recent call last):\n File "/opt/stack/
2013-06-28 15:26:53.005 29285 ERROR quantum.
Trying to run the rootwrap command:
stack@DevStackO
Traceback (most recent call last):
File "/opt/stack/
session = XenAPI.Session(url)
File "/usr/local/
verbose, allow_none)
File "/usr/lib/
raise IOError, "unsupported XML-RPC protocol"
IOError: unsupported XML-RPC protocol
Looking at the rootwrap config file, the problem becomes obvious:
$ cat /etc/quantum/
[DEFAULT]
# List of directories to load filter definitions from (separated by ',').
# These directories MUST all be only writeable by root !
filters_
# List of directories to search executables in, in case filters do not
# explicitely specify a full path (separated by ',')
# If not specified, defaults to system PATH environment variable.
# These directories MUST all be only writeable by root !
exec_dirs=
[XENAPI]
# XenAPI configuration is only required by the L2 agent if it is to
# target a XenServer/XCP compute host's dom0.
xenapi_
xenapi_
xenapi_
[xenapi]
xenapi_
xenapi_
And the rootwrap is searching for the config with capital letters.
description: | updated |
Changed in neutron: | |
assignee: | nobody → Mate Lakat (mate-lakat) |
tags: | added: xenserver |
Changed in neutron: | |
status: | New → In Progress |
Changed in neutron: | |
importance: | Undecided → Low |
Changed in neutron: | |
milestone: | none → havana-2 |
Changed in neutron: | |
status: | Fix Committed → Fix Released |
Changed in neutron: | |
milestone: | havana-2 → 2013.2 |
Reviewed: https:/ /review. openstack. org/34902 github. com/openstack/ quantum/ commit/ 8d0f8e1b992f41a 3914030ed75d77b becde5f924
Committed: http://
Submitter: Jenkins
Branch: master
commit 8d0f8e1b992f41a 3914030ed75d77b becde5f924
Author: Mate Lakat <email address hidden>
Date: Fri Jun 28 16:22:04 2013 +0100
dom0 rootwrap - case insensitive xenapi section
As per change https:/ /review. openstack. org/33429 the config sections rootwrap- xen-dom0
became lowercase. This patch makes the quantum-
rootwrap to be case insensitive for the xenapi section.
This patch also changes the default config file to use a lowercase
xenapi section.
Fixes bug 1195781
Change-Id: Ic24feb1a9ad6f8 823745b1febd4a0 edd54e73498