← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1760320] Re: vpnaas unit test is broken with no such option metadata_access_mark in group [DEFAULT]

 

Reviewed:  https://review.openstack.org/558060
Committed: https://git.openstack.org/cgit/openstack/neutron-vpnaas/commit/?id=e10993c98ccf0500f4b309170c1b82041385568f
Submitter: Zuul
Branch:    master

commit e10993c98ccf0500f4b309170c1b82041385568f
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Sun Apr 1 01:04:56 2018 +0900

    test: Register L3 option in L3 ext tests
    
    After https://review.openstack.org/#/c/524406/ landed,
    we need to register L3 opts before initializing router info.
    
    Change-Id: I2017be0e9ca069abfdd1c5250bc06b3b4109fa83
    Closes-Bug: #1760320


** Changed in: neutron
       Status: In Progress => Fix Released

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

Title:
  vpnaas unit test is broken with no such option metadata_access_mark in
  group [DEFAULT]

Status in neutron:
  Fix Released

Bug description:
  After https://review.openstack.org/#/c/524406/ is merged, neutron-vpnaas unit test is broken.
  http://logs.openstack.org/94/543394/12/check/openstack-tox-py27/61b9f31/

  example failure:

  ft5.41: neutron_vpnaas.tests.unit.services.vpn.device_drivers.test_ipsec.TestOpenSwanProcess.test_sync_StringException: Traceback (most recent call last):
    File "neutron_vpnaas/tests/unit/services/vpn/device_drivers/test_ipsec.py", line 1117, in setUp
      super(TestOpenSwanProcess, self).setUp(driver, ipsec_process)
    File "neutron_vpnaas/tests/unit/services/vpn/device_drivers/test_ipsec.py", line 419, in setUp
      self._make_router_info_for_test()
    File "neutron_vpnaas/tests/unit/services/vpn/device_drivers/test_ipsec.py", line 424, in _make_router_info_for_test
      **self.ri_kwargs)
    File "/home/zuul/src/git.openstack.org/openstack/neutron-vpnaas/.tox/py27/local/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 77, in __init__
      self.initialize_metadata_iptables()
    File "/home/zuul/src/git.openstack.org/openstack/neutron-vpnaas/.tox/py27/local/lib/python2.7/site-packages/neutron/agent/l3/router_info.py", line 1006, in initialize_metadata_iptables
      'value': self.agent_conf.metadata_access_mark,
    File "/home/zuul/src/git.openstack.org/openstack/neutron-vpnaas/.tox/py27/local/lib/python2.7/site-packages/oslo_config/cfg.py", line 2519, in __getattr__
      raise NoSuchOptError(name)
  oslo_config.cfg.NoSuchOptError: no such option metadata_access_mark in group [DEFAULT]

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


References