← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1617154] [NEW] Failed to launch vpn-agent when running devstack with fwaas and vpnaas

 

Public bug reported:

After finished running devstack completely, vpn-agent does not work.
I assume that following commit affects.
https://github.com/openstack/neutron-fwaas/commit/ea23bbc3ee4cc90280375153d13f59cb85ffe6f2

neutron-vpnaas repo should catch up with modification in  neutron-fwaas.

local.conf when I ran devstack
================
enable_plugin neutron-fwaas http://git.openstack.org/openstack/neutron-fwaas
enable_service q-fwaas
enable_plugin neutron-vpnaas https://git.openstack.org/openstack/neutron-vpnaas
enable_service q-vpnaas
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-lbaas
enable_service q-metering
==================

log in neutron-vpnaas screen after finished running devstack
================
ubuntu@test:~/openstack/devstack$ /usr/local/bin/neutron-vpn-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/vpn_agent.ini --config-file /etc/neutron/fwaas_driver.ini & echo $! >/opt/stack/status/stack/neutron-vpnaas.pid; fg || echo "neutron-vpnaas failed to start" | tee "/opt/stack/status/stack/neutron-vpnaas.failure" 
[1] 32430
/usr/local/bin/neutron-vpn-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/vpn_agent.ini --config-file /etc/neutron/fwaas_driver.ini
Traceback (most recent call last):
  File "/usr/local/bin/neutron-vpn-agent", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/neutron-vpnaas/neutron_vpnaas/cmd/eventlet/agent.py", line 17, in main
    agent.main()
  File "/opt/stack/neutron-vpnaas/neutron_vpnaas/services/vpn/agent.py", line 74, in main
    entry.main(manager='neutron_vpnaas.services.vpn.agent.VPNAgent')
  File "/opt/stack/neutron/neutron/agent/l3_agent.py", line 51, in main
    common_config.init(sys.argv[1:])
  File "/opt/stack/neutron/neutron/common/config.py", line 72, in init
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2256, in __call__
    raise ConfigFilesNotFoundError(self._namespace._files_not_found)
oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/fwaas_driver.ini
neutron-vpnaas failed to start
===================

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: vpnaas

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1617154

Title:
  Failed to launch vpn-agent when running devstack with fwaas and vpnaas

Status in neutron:
  New

Bug description:
  After finished running devstack completely, vpn-agent does not work.
  I assume that following commit affects.
  https://github.com/openstack/neutron-fwaas/commit/ea23bbc3ee4cc90280375153d13f59cb85ffe6f2

  neutron-vpnaas repo should catch up with modification in  neutron-
  fwaas.

  local.conf when I ran devstack
  ================
  enable_plugin neutron-fwaas http://git.openstack.org/openstack/neutron-fwaas
  enable_service q-fwaas
  enable_plugin neutron-vpnaas https://git.openstack.org/openstack/neutron-vpnaas
  enable_service q-vpnaas
  disable_service n-net
  enable_service q-svc
  enable_service q-agt
  enable_service q-dhcp
  enable_service q-l3
  enable_service q-meta
  enable_service q-lbaas
  enable_service q-metering
  ==================

  log in neutron-vpnaas screen after finished running devstack
  ================
  ubuntu@test:~/openstack/devstack$ /usr/local/bin/neutron-vpn-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/vpn_agent.ini --config-file /etc/neutron/fwaas_driver.ini & echo $! >/opt/stack/status/stack/neutron-vpnaas.pid; fg || echo "neutron-vpnaas failed to start" | tee "/opt/stack/status/stack/neutron-vpnaas.failure" 
  [1] 32430
  /usr/local/bin/neutron-vpn-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini --config-file=/etc/neutron/vpn_agent.ini --config-file /etc/neutron/fwaas_driver.ini
  Traceback (most recent call last):
    File "/usr/local/bin/neutron-vpn-agent", line 10, in <module>
      sys.exit(main())
    File "/opt/stack/neutron-vpnaas/neutron_vpnaas/cmd/eventlet/agent.py", line 17, in main
      agent.main()
    File "/opt/stack/neutron-vpnaas/neutron_vpnaas/services/vpn/agent.py", line 74, in main
      entry.main(manager='neutron_vpnaas.services.vpn.agent.VPNAgent')
    File "/opt/stack/neutron/neutron/agent/l3_agent.py", line 51, in main
      common_config.init(sys.argv[1:])
    File "/opt/stack/neutron/neutron/common/config.py", line 72, in init
      **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 2256, in __call__
      raise ConfigFilesNotFoundError(self._namespace._files_not_found)
  oslo_config.cfg.ConfigFilesNotFoundError: Failed to find some config files: /etc/neutron/fwaas_driver.ini
  neutron-vpnaas failed to start
  ===================

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1617154/+subscriptions


Follow ups