q-vpn failed to start due to the configuration file problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
with following localrc:
disable_service n-net cinder c-sch c-api c-vol heat tempest h-api h-api-cfn h-api-cw h-eng
ENABLE_
KEYSTONE_
LOG_COLOR=False
HOST_IP=
VNCSERVER_
VNCSERVER_
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
#enable_service q-l3
enable_service q-meta
enable_service neutron
enable_service q-metering
enable_service q-lbaas
enable_service q-fwaas
enable_service q-vpn
#Q_USE_
Q_PLUGIN=ml2
Q_AGENT=openvswitch
DATABASE_
RABBIT_
SERVICE_TOKEN=token
SERVICE_
ADMIN_PASSWORD=
SCREEN_
I got
+ failures=
+ for service in '$failures'
++ basename /opt/stack/
+ service=
+ service=q-vpn
+ echo 'Error: Service q-vpn is not running'
Error: Service q-vpn is not running
+ '[' -n /opt/stack/
+ die 1178 'More details about the above errors can be found with screen, with ./rejoin-stack.sh'
+ local exitcode=0
+ set +o xtrace
[Call Trace]
./stack.
this is because the devstack is missing the config file to start the vpn-agent
gongysh@
[1] 22208
cd /opt/stack/neutron && /usr/local/
usage: neutron-vpn-agent [-h] [--config-dir DIR] [--config-file PATH]
neutron-vpn-agent: error: argument --config-file: expected one argument
q-vpn failed to start
It seems we must enable q-l3 if we want to run q-vpn