q-vpn failed to start due to the configuration file problem

Bug #1336139 reported by yong sheng gong
6
This bug affects 1 person
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_DEBUG_LOG_LEVEL=False
KEYSTONE_TOKEN_FORMAT=UUID
LOG_COLOR=False
HOST_IP=192.168.10.5
VNCSERVER_LISTEN=0.0.0.0
VNCSERVER_PROXYCLIENT_ADDRESS=42.62.73.150
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_ROOTWRAP=False
Q_PLUGIN=ml2
Q_AGENT=openvswitch
DATABASE_PASSWORD=root
RABBIT_PASSWORD=password
SERVICE_TOKEN=token
SERVICE_PASSWORD=password
ADMIN_PASSWORD=admin
SCREEN_LOGDIR=$DEST/logs/screen

I got
+ failures=/opt/stack/status/stack/q-vpn.failure
+ for service in '$failures'
++ basename /opt/stack/status/stack/q-vpn.failure
+ service=q-vpn.failure
+ service=q-vpn
+ echo 'Error: Service q-vpn is not running'
Error: Service q-vpn is not running
+ '[' -n /opt/stack/status/stack/q-vpn.failure ']'
+ 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.sh:1333:service_check

this is because the devstack is missing the config file to start the vpn-agent
gongysh@openstackdev-2:~/devstack$ cd /opt/stack/neutron && /usr/local/bin/neutron-vpn-agent --config-file & echo $! >/opt/stack/status/stack/q-vpn.pid; fg || echo "q-vpn failed to start" | tee "/opt/stack/status/stack/q-vpn.failure"
[1] 22208
cd /opt/stack/neutron && /usr/local/bin/neutron-vpn-agent --config-file
usage: neutron-vpn-agent [-h] [--config-dir DIR] [--config-file PATH]
                         [--debug] [--log-config-append PATH]
                         [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
                         [--log-file PATH] [--log-format FORMAT] [--nodebug]
                         [--nouse-syslog] [--noverbose]
                         [--state_path STATE_PATH]
                         [--syslog-log-facility SYSLOG_LOG_FACILITY]
                         [--use-syslog] [--verbose] [--version]
neutron-vpn-agent: error: argument --config-file: expected one argument
q-vpn failed to start

Revision history for this message
yong sheng gong (gongysh) wrote :

It seems we must enable q-l3 if we want to run q-vpn

Revision history for this message
Sean Dague (sdague) wrote :

This devstack bug was last updated over 180 days ago, as devstack
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

Changed in devstack:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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