← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1475837] Re: RBAC network support breaks decomposed plugins

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-2

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

Title:
  RBAC network support breaks decomposed plugins

Status in neutron:
  Fix Released

Bug description:
  ft1.1586: vmware_nsx.neutron.tests.unit.vmware.test_nsx_v_plugin.TestPortsV2.test_delete_port_public_network_StringException: Empty attachments:
    stderr
    stdout

  pythonlogging:'': {{{
  2015-07-17 19:35:37,537     INFO [neutron.manager] Loading core plugin: vmware_nsx.neutron.plugins.vmware.plugin.NsxVPlugin
  2015-07-17 19:35:37,744     INFO [vmware_nsx.neutron.plugins.vmware.plugins.managers] Configured router type driver names: ['distributed', 'exclusive', 'shared']
  2015-07-17 19:35:37,745     INFO [vmware_nsx.neutron.plugins.vmware.plugins.managers] Loaded type driver names: ['exclusive', 'distributed', 'shared']
  2015-07-17 19:35:37,745     INFO [vmware_nsx.neutron.plugins.vmware.plugins.managers] Registered types: ['exclusive', 'distributed', 'shared']
  2015-07-17 19:35:37,745     INFO [vmware_nsx.neutron.plugins.vmware.plugins.managers] Tenant router_types: ['shared', 'distributed', 'exclusive']
  2015-07-17 19:35:37,745     INFO [neutron.manager] Service L3_ROUTER_NAT is supported by the core plugin
  2015-07-17 19:35:37,756    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
  2015-07-17 19:35:37,761    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
  2015-07-17 19:35:37,762  WARNING [neutron.notifiers.nova] Authenticating to nova using nova_admin_* options is deprecated. This should be done using an auth plugin, like password
  2015-07-17 19:35:37,763  WARNING [neutron.quota] subnet is already registered.
  2015-07-17 19:35:37,764  WARNING [neutron.notifiers.nova] Authenticating to nova using nova_admin_* options is deprecated. This should be done using an auth plugin, like password
  2015-07-17 19:35:37,765  WARNING [neutron.quota] subnetpool is already registered.
  2015-07-17 19:35:37,765  WARNING [neutron.notifiers.nova] Authenticating to nova using nova_admin_* options is deprecated. This should be done using an auth plugin, like password
  2015-07-17 19:35:37,767  WARNING [neutron.quota] network is already registered.
  2015-07-17 19:35:37,767  WARNING [neutron.notifiers.nova] Authenticating to nova using nova_admin_* options is deprecated. This should be done using an auth plugin, like password
  2015-07-17 19:35:37,768  WARNING [neutron.quota] port is already registered.
  2015-07-17 19:35:37,889     INFO [vmware_nsx.neutron.plugins.vmware.plugins.nsx_v] Added {'sg_id': '0', 'vnic_id': '1'}(sg_id)s member to NSX security group 1
  2015-07-17 19:35:37,934    ERROR [neutron.api.v2.resource] create failed
  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/api/v2/resource.py", line 83, in resource
      result = method(request=request, **args)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 146, in wrapper
      ectxt.value = e.inner_exc
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/oslo_db/api.py", line 136, in wrapper
      return f(*args, **kwargs)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/api/v2/base.py", line 412, in create
      item[self._resource])
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/api/v2/base.py", line 690, in _validate_network_tenant_ownership
      resource_item['network_id'])
    File "vmware_nsx/neutron/plugins/vmware/plugins/nsx_v.py", line 733, in get_network
      net_result = self._make_network_dict(network)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/db/db_base_plugin_common.py", line 228, in _make_network_dict
      entry.target_tenant in ('*', context.tenant_id)):
  AttributeError: 'NoneType' object has no attribute 'tenant_id'
  }}}

  pythonlogging:'neutron.api.extensions': {{{
  2015-07-17 19:35:37,756    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
  2015-07-17 19:35:37,761    ERROR [neutron.api.extensions] Extension path 'neutron/tests/unit/extensions' doesn't exist!
  }}}

  Traceback (most recent call last):
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 1184, in test_delete_port_public_network
      set_context=True)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/src/neutron/neutron/tests/unit/db/test_db_base_plugin_v2.py", line 398, in _create_port
      self.assertEqual(port_res.status_int, expected_res_status)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 350, in assertEqual
      self.assertThat(observed, matcher, message)
    File "/home/jenkins/workspace/gate-vmware-nsx-python27/.tox/py27/local/lib/python2.7/site-packages/testtools/testcase.py", line 435, in assertThat
      raise mismatch_error
  testtools.matchers._impl.MismatchError: 500 != 201

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


References