← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1528435] [NEW] The gate test of VPNaaS is failing with AttributeError

 

Public bug reported:

When I run git review command on today(AM 10:00), the gate test of VPNaaS is failing with following error.
There are 5 errors and all of errors are AttributeError.

I guess that following recent modification affects
https://github.com/openstack/neutron/commit/dd5f5716c9a32634caa2a44d362cd77461ba873d

*Error details
 Traceback (most recent call last):
      File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
        return f(*args, **kwargs)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 414, in create
        allow_bulk=self._allow_bulk)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 680, in prepare_request_body
        attributes.convert_value(attr_info, res_dict, webob.exc.HTTPBadRequest)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/attributes.py", line 919, in convert_value
        res = validators[rule](res_dict[attr], attr_vals['validate'][rule])
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py", line 167, in _validate_subnet_list_or_none
        attr._validate_subnet_list(data, key_specs)
    AttributeError: 'module' object has no attribute '_validate_subnet_list'
    2015-12-22 02:24:21,828    ERROR [neutron.api.v2.resource] create failed
    Traceback (most recent call last):
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/resource.py", line 83, in resource
        result = method(request=request, **args)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 152, in wrapper
        ectxt.value = e.inner_exc
      File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
        six.reraise(self.type_, self.value, self.tb)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
        return f(*args, **kwargs)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 414, in create
        allow_bulk=self._allow_bulk)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 680, in prepare_request_body
        attributes.convert_value(attr_info, res_dict, webob.exc.HTTPBadRequest)
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/attributes.py", line 919, in convert_value
        res = validators[rule](res_dict[attr], attr_vals['validate'][rule])
      File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py", line 167, in _validate_subnet_list_or_none
        attr._validate_subnet_list(data, key_specs)
    AttributeError: 'module' object has no attribute '_validate_subnet_list'

** Affects: neutron
     Importance: Undecided
         Status: Confirmed

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

Title:
  The gate test of VPNaaS is failing with AttributeError

Status in neutron:
  Confirmed

Bug description:
  When I run git review command on today(AM 10:00), the gate test of VPNaaS is failing with following error.
  There are 5 errors and all of errors are AttributeError.

  I guess that following recent modification affects
  https://github.com/openstack/neutron/commit/dd5f5716c9a32634caa2a44d362cd77461ba873d

  *Error details
   Traceback (most recent call last):
        File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
          return f(*args, **kwargs)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 414, in create
          allow_bulk=self._allow_bulk)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 680, in prepare_request_body
          attributes.convert_value(attr_info, res_dict, webob.exc.HTTPBadRequest)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/attributes.py", line 919, in convert_value
          res = validators[rule](res_dict[attr], attr_vals['validate'][rule])
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py", line 167, in _validate_subnet_list_or_none
          attr._validate_subnet_list(data, key_specs)
      AttributeError: 'module' object has no attribute '_validate_subnet_list'
      2015-12-22 02:24:21,828    ERROR [neutron.api.v2.resource] create failed
      Traceback (most recent call last):
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/resource.py", line 83, in resource
          result = method(request=request, **args)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 152, in wrapper
          ectxt.value = e.inner_exc
        File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 204, in __exit__
          six.reraise(self.type_, self.value, self.tb)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 137, in wrapper
          return f(*args, **kwargs)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 414, in create
          allow_bulk=self._allow_bulk)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/base.py", line 680, in prepare_request_body
          attributes.convert_value(attr_info, res_dict, webob.exc.HTTPBadRequest)
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron/neutron/api/v2/attributes.py", line 919, in convert_value
          res = validators[rule](res_dict[attr], attr_vals['validate'][rule])
        File "/home/ubuntu/for_commit/midonet/.tox/py27/src/neutron-vpnaas/neutron_vpnaas/extensions/vpnaas.py", line 167, in _validate_subnet_list_or_none
          attr._validate_subnet_list(data, key_specs)
      AttributeError: 'module' object has no attribute '_validate_subnet_list'

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


Follow ups