Reviewed: https://review.openstack.org/471699 Committed: https://git.openstack.org/cgit/openstack/neutron-fwaas/commit/?id=473d2d075a62a79df94f0a4e429eae140f694b66 Submitter: Jenkins Branch: master
commit 473d2d075a62a79df94f0a4e429eae140f694b66 Author: YAMAMOTO Takashi <yamam...@midokura.com> Date: Wed Jun 7 10:02:14 2017 +0000 Revert "Use neutron-lib definition of neutron-fwaas API" This reverts commit e085237297c89594fb781b8892c1dc0810d39d00. The change seems to have a confusion between service type constant ("FIREWALL") and the extension. ("fwaas") Change-Id: I677721aeada6fd74e8201c7f308771c887b2a1e9 Closes-Bug: #1696376 ** 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/1696376 Title: logging resource UT failures on networking-midonet gate jobs Status in neutron: Fix Released Bug description: logging resource unit tests including test_create_firewall_log_diff_log_res_diff_tenant_same_firewall are failing on gate. eg. http://logs.openstack.org/87/199387/75/check/gate-networking- midonet-python27-ubuntu-xenial/48614e7/testr_results.html.gz ft3.1: midonet.neutron.tests.unit.test_extension_logging_resource.LoggingResourceTestCase.test_create_firewall_log_diff_log_res_diff_tenant_same_firewall_StringException: pythonlogging:'': {{{ WARNING [neutron.quota.resource_registry] floatingip is already registered WARNING [neutron.quota.resource_registry] router is already registered WARNING [neutron.quota.resource_registry] firewall is already registered WARNING [neutron.quota.resource_registry] firewall_policy is already registered WARNING [neutron.quota.resource_registry] firewall_rule is already registered WARNING [neutron.quota.resource_registry] firewall_log is already registered ERROR [neutron.api.v2.resource] create failed: No details. Traceback (most recent call last): File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/api/v2/resource.py", line 93, in resource result = method(request=request, **args) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/api/v2/base.py", line 435, in create return self._create(request, body, **kwargs) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/db/api.py", line 94, in wrapped setattr(e, '_RETRY_EXCEEDED', True) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/db/api.py", line 90, in wrapped return f(*args, **kwargs) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 150, in wrapper ectxt.value = e.inner_exc File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 138, in wrapper return f(*args, **kwargs) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/db/api.py", line 129, in wrapped LOG.debug("Retry wrapper got retriable exception: %s", e) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/db/api.py", line 125, in wrapped return f(*dup_args, **dup_kwargs) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/api/v2/base.py", line 548, in _create obj = do_create(body) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/api/v2/base.py", line 530, in do_create request.context, reservation.reservation_id) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__ self.force_reraise() File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise six.reraise(self.type_, self.value, self.tb) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/api/v2/base.py", line 523, in do_create return obj_creator(request.context, **kwargs) File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tox/py27/local/lib/python2.7/site-packages/oslo_log/helpers.py", line 48, in wrapper return method(*args, **kwargs) File "midonet/neutron/services/logging_resource/plugin.py", line 103, in create_logging_resource_firewall_log context, f_log, logging_resource_id) File "midonet/neutron/services/logging_resource/plugin.py", line 173, in _make_info_for_midonet f_log_info['firewall'] = fw_plugin.get_firewall( AttributeError: 'NoneType' object has no attribute 'get_firewall' }}} Traceback (most recent call last): File "/home/jenkins/workspace/gate-networking-midonet-python27-ubuntu-xenial/.tmp/tmp.NahFG7mu4Z/openstack/neutron/neutron/tests/base.py", line 115, in func return f(self, *args, **kwargs) File "midonet/neutron/tests/unit/test_extension_logging_resource.py", line 291, in test_create_firewall_log_diff_log_res_diff_tenant_same_firewall firewall_id=self._fw_id1): File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ return self.gen.next() File "midonet/neutron/tests/unit/test_extension_logging_resource.py", line 135, in firewall_log desc, tenant_id, fw_event) File "midonet/neutron/tests/unit/test_extension_logging_resource.py", line 143, in _make_firewall_log raise webob.exc.HTTPClientError(code=res.status_int) webob.exc.HTTPClientError: The server could not comply with the request since it is either malformed or otherwise incorrect. To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1696376/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp