Quantum Server failed to start due to empty api_extensions_path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Undecided
|
Unassigned |
Bug Description
The devstack script failed at creating subnet by enabling Quantum V2 with OVS plugin. The quantum service should be started at $Q_HOST:$Q_PORT (localhost:9696) but not which refused the CLI to create subnet via service API.
=======
# Create a small network
# Create a subnet
quantum subnet-create --os_token $Q_ADMIN_USERNAME --os_url http://
=======
=======
++ quantum net-create --os_token quantum --os_url http://
++ grep ' id '
++ get_field 2
++ read data
ERROR: cliff.app [Errno 111] Connection refused
+ NET_ID=
+ quantum subnet-create --os_token quantum --os_url http://
usage: quantum subnet-create [-h] [-f {html,json,
quantum subnet-create: error: too few arguments
++ failed
++ local r=2
++ set +o xtrace
=======
affects: | devstack → quantum |
Quantum server failed to start at reading config file. This is the root cause of devstack failure. ======= ======= ======= ====quantum server log==== ======= ======= ======= quantum/ bin/quantum- server --config-file /etc/quantum/ quantum. conf quantum/ bin/quantum- server" , line 24, in <module> quantum/ quantum/ server/ __init_ _.py", line 34, in main parse(sys. argv) quantum/ quantum/ common/ config. py", line 53, in parse quantum/ quantum/ openstack/ common/ cfg.py" , line 1020, in __call__ _parse_ config_ files() quantum/ quantum/ openstack/ common/ cfg.py" , line 1436, in _parse_config_files read(config_ files) quantum/ quantum/ openstack/ common/ cfg.py" , line 885, in read quantum/ quantum/ openstack/ common/ cfg.py" , line 852, in parse quantum/ quantum/ openstack/ common/ iniparser. py", line 93, in parse key_value( line) quantum/ quantum/ openstack/ common/ iniparser. py", line 56, in _split_key_value edward- ThinkPad- T61p:/opt/ stack/quantum$ ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= =
=======
cd /opt/stack/quantum && python /opt/stack/
Traceback (most recent call last):
File "/opt/stack/
server()
File "/opt/stack/
config.
File "/opt/stack/
version='%%prog %s' % version_string())
File "/opt/stack/
self.
File "/opt/stack/
read_ok = self._cparser.
File "/opt/stack/
parser.parse()
File "/opt/stack/
return super(ConfigParser, self).parse(f)
File "/opt/stack/
key, value = self._split_
File "/opt/stack/
if value[0] == value[-1] and value[0] == "\"" or value[0] == "'":
IndexError: string index out of range
openstack@
=======