← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1270845] Re: nova-api-metadata - refused to start due to missing fake_network configuration

 

** Also affects: nova (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: nova (Ubuntu Trusty)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1270845

Title:
  nova-api-metadata - refused to start due to missing fake_network
  configuration

Status in devstack - openstack dev environments:
  Triaged
Status in OpenStack Compute (Nova):
  Confirmed
Status in “nova” package in Ubuntu:
  New
Status in “nova” source package in Trusty:
  New

Bug description:
  nova from trunk testing packages; the nova-api-metadata service fails
  on start:

  2014-01-20 14:22:04.593 4291 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'
  2014-01-20 14:22:04.598 4291 CRITICAL nova [-] no such option: fake_network
  2014-01-20 14:22:04.598 4291 TRACE nova Traceback (most recent call last):
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/bin/nova-api-metadata", line 10, in <module>
  2014-01-20 14:22:04.598 4291 TRACE nova     sys.exit(main())
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/cmd/api_metadata.py", line 48, in main
  2014-01-20 14:22:04.598 4291 TRACE nova     server = service.WSGIService('metadata', use_ssl=should_use_ssl)
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 339, in __init__
  2014-01-20 14:22:04.598 4291 TRACE nova     self.manager = self._get_manager()
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 375, in _get_manager
  2014-01-20 14:22:04.598 4291 TRACE nova     return manager_class()
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/api/manager.py", line 32, in __init__
  2014-01-20 14:22:04.598 4291 TRACE nova     self.network_driver.metadata_accept()
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 658, in metadata_accept
  2014-01-20 14:22:04.598 4291 TRACE nova     iptables_manager.apply()
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 426, in apply
  2014-01-20 14:22:04.598 4291 TRACE nova     self._apply()
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 249, in inner
  2014-01-20 14:22:04.598 4291 TRACE nova     return f(*args, **kwargs)
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 446, in _apply
  2014-01-20 14:22:04.598 4291 TRACE nova     attempts=5)
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/network/linux_net.py", line 1196, in _execute
  2014-01-20 14:22:04.598 4291 TRACE nova     if CONF.fake_network:
  2014-01-20 14:22:04.598 4291 TRACE nova   File "/usr/lib/python2.7/dist-packages/oslo/config/cfg.py", line 1648, in __getattr__
  2014-01-20 14:22:04.598 4291 TRACE nova     raise NoSuchOptError(name)
  2014-01-20 14:22:04.598 4291 TRACE nova NoSuchOptError: no such option: fake_network
  2014-01-20 14:22:04.598 4291 TRACE nova

  We use this service on network gateway nodes alongside the neutron
  metadata proxy for scale-out.

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


References