yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74324
[Bug 1787534] [NEW] DNS extension broken for provider networks
Public bug reported:
Following these instructions:
https://docs.openstack.org/neutron/queens/install/controller-install-option1-ubuntu.html
Plus these:
https://docs.openstack.org/neutron/queens/admin/config-dns-int.html
makes my neutron-server crash on startup with this error:
2018-08-17 08:42:02.306 800458 ERROR neutron.api.extensions [req-afd067df-249f-4092-9bf5-ca660b11292d - - - - -] Unable to process extensions (auto-allocated-topology, dns-integration) because the configured plugins do not satisfy their requirements. Some features will not work as expected.
2018-08-17 08:42:02.306 800458 ERROR neutron.service [req-afd067df-249f-4092-9bf5-ca660b11292d - - - - -] Unrecoverable error: please check log for details.: ExtensionsNotFound: Extensions not found: ['auto-allocated-topology', 'dns-integration'].
2018-08-17 08:42:02.306 800458 ERROR neutron.service Traceback (most recent call last):
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 86, in serve_wsgi
2018-08-17 08:42:02.306 800458 ERROR neutron.service service.start()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 62, in start
2018-08-17 08:42:02.306 800458 ERROR neutron.service self.wsgi_app = _run_wsgi(self.app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 289, in _run_wsgi
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = config.load_paste_app(app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 122, in load_paste_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.load_app(app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/oslo_service/wsgi.py", line 353, in load_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service return deploy.loadapp("config:%s" % self.config_path, name=name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2018-08-17 08:42:02.306 800458 ERROR neutron.service return loadobj(APP, uri, name=name, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2018-08-17 08:42:02.306 800458 ERROR neutron.service return context.create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.get_app(app_name, global_conf=global_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service name=name, global_conf=global_conf).create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/auth.py", line 47, in pipeline_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.get_app(pipeline[-1])
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service name=name, global_conf=global_conf).create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service return fix_call(context.object, context.global_conf, **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 25, in _factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service return pecan_app.v2_factory(global_config, **local_config)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service startup.initialize_all()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/pecan_wsgi/startup.py", line 41, in initialize_all
2018-08-17 08:42:02.306 800458 ERROR neutron.service ext_mgr.extend_resources("2.0", attributes.RESOURCE_ATTRIBUTE_MAP)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/extensions.py", line 376, in extend_resources
2018-08-17 08:42:02.306 800458 ERROR neutron.service self._check_faulty_extensions(unloadable_extensions)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/extensions.py", line 396, in _check_faulty_extensions
2018-08-17 08:42:02.306 800458 ERROR neutron.service extensions=list(faulty_extensions))
2018-08-17 08:42:02.306 800458 ERROR neutron.service ExtensionsNotFound: Extensions not found: ['auto-allocated-topology', 'dns-integration'].
Basically trying to have basic DNS resolution with provider-only networks (no l3 router) makes neutron crash. I don't know if that is accepted behaviour, but anyway it should be documented that this configuration is not possible.
I'm using queens on Ubuntu 16 via their cloud archive, deployment done
by hand.
See also:
https://ask.openstack.org/en/question/99865/has-anyone-seen-extensions-not-found-auto-allocated-topology-dns-integration-when-you-add-dns-to-the-ml2-extension_drivers/ (where an outdated fix is proposed as a code change)
-----------------------------------
Release: 12.0.4.dev63 on 2018-08-14 12:30
SHA: 7acefb0c7fbb5057879a2edadd43423275993bc3
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/admin/config-dns-int.rst
URL: https://docs.openstack.org/neutron/queens/admin/config-dns-int.html
** Affects: neutron
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1787534
Title:
DNS extension broken for provider networks
Status in neutron:
New
Bug description:
Following these instructions:
https://docs.openstack.org/neutron/queens/install/controller-install-option1-ubuntu.html
Plus these:
https://docs.openstack.org/neutron/queens/admin/config-dns-int.html
makes my neutron-server crash on startup with this error:
2018-08-17 08:42:02.306 800458 ERROR neutron.api.extensions [req-afd067df-249f-4092-9bf5-ca660b11292d - - - - -] Unable to process extensions (auto-allocated-topology, dns-integration) because the configured plugins do not satisfy their requirements. Some features will not work as expected.
2018-08-17 08:42:02.306 800458 ERROR neutron.service [req-afd067df-249f-4092-9bf5-ca660b11292d - - - - -] Unrecoverable error: please check log for details.: ExtensionsNotFound: Extensions not found: ['auto-allocated-topology', 'dns-integration'].
2018-08-17 08:42:02.306 800458 ERROR neutron.service Traceback (most recent call last):
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 86, in serve_wsgi
2018-08-17 08:42:02.306 800458 ERROR neutron.service service.start()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 62, in start
2018-08-17 08:42:02.306 800458 ERROR neutron.service self.wsgi_app = _run_wsgi(self.app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/service.py", line 289, in _run_wsgi
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = config.load_paste_app(app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/common/config.py", line 122, in load_paste_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.load_app(app_name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/oslo_service/wsgi.py", line 353, in load_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service return deploy.loadapp("config:%s" % self.config_path, name=name)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2018-08-17 08:42:02.306 800458 ERROR neutron.service return loadobj(APP, uri, name=name, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2018-08-17 08:42:02.306 800458 ERROR neutron.service return context.create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.get_app(app_name, global_conf=global_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service name=name, global_conf=global_conf).create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/auth.py", line 47, in pipeline_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service app = loader.get_app(pipeline[-1])
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2018-08-17 08:42:02.306 800458 ERROR neutron.service name=name, global_conf=global_conf).create()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2018-08-17 08:42:02.306 800458 ERROR neutron.service return self.object_type.invoke(self)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
2018-08-17 08:42:02.306 800458 ERROR neutron.service return fix_call(context.object, context.global_conf, **context.local_conf)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2018-08-17 08:42:02.306 800458 ERROR neutron.service val = callable(*args, **kw)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/v2/router.py", line 25, in _factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service return pecan_app.v2_factory(global_config, **local_config)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/pecan_wsgi/app.py", line 47, in v2_factory
2018-08-17 08:42:02.306 800458 ERROR neutron.service startup.initialize_all()
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/pecan_wsgi/startup.py", line 41, in initialize_all
2018-08-17 08:42:02.306 800458 ERROR neutron.service ext_mgr.extend_resources("2.0", attributes.RESOURCE_ATTRIBUTE_MAP)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/extensions.py", line 376, in extend_resources
2018-08-17 08:42:02.306 800458 ERROR neutron.service self._check_faulty_extensions(unloadable_extensions)
2018-08-17 08:42:02.306 800458 ERROR neutron.service File "/usr/lib/python2.7/dist-packages/neutron/api/extensions.py", line 396, in _check_faulty_extensions
2018-08-17 08:42:02.306 800458 ERROR neutron.service extensions=list(faulty_extensions))
2018-08-17 08:42:02.306 800458 ERROR neutron.service ExtensionsNotFound: Extensions not found: ['auto-allocated-topology', 'dns-integration'].
Basically trying to have basic DNS resolution with provider-only networks (no l3 router) makes neutron crash. I don't know if that is accepted behaviour, but anyway it should be documented that this configuration is not possible.
I'm using queens on Ubuntu 16 via their cloud archive, deployment done
by hand.
See also:
https://ask.openstack.org/en/question/99865/has-anyone-seen-extensions-not-found-auto-allocated-topology-dns-integration-when-you-add-dns-to-the-ml2-extension_drivers/ (where an outdated fix is proposed as a code change)
-----------------------------------
Release: 12.0.4.dev63 on 2018-08-14 12:30
SHA: 7acefb0c7fbb5057879a2edadd43423275993bc3
Source: https://git.openstack.org/cgit/openstack/neutron/tree/doc/source/admin/config-dns-int.rst
URL: https://docs.openstack.org/neutron/queens/admin/config-dns-int.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1787534/+subscriptions