← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1209364] Re: AttributeError: 'MockClient' object has no attribute 'EXTED_PLURALS'

 

** Changed in: python-neutronclient
       Status: Fix Committed => Confirmed

** Changed in: python-neutronclient
       Status: Confirmed => Fix Released

-- 
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/1209364

Title:
   AttributeError: 'MockClient' object has no attribute 'EXTED_PLURALS'

Status in OpenStack Compute (Nova):
  Invalid
Status in Python client library for Neutron:
  Fix Released

Bug description:
  Some neutronclient change brokes nova unit test. and breaks also
  gating.

  2013-08-07 17:28:59.861 | Traceback (most recent call last):
  2013-08-07 17:28:59.861 |   File "/home/jenkins/workspace/gate-nova-python27/nova/tests/api/ec2/test_cloud.py", line 2846, in test_create_delete_security_group
  2013-08-07 17:28:59.862 |     self.assertTrue(delete(self.context, 'testgrp'))
  2013-08-07 17:28:59.862 |   File "/home/jenkins/workspace/gate-nova-python27/nova/api/ec2/cloud.py", line 746, in delete_security_group
  2013-08-07 17:28:59.862 |     group_id)
  2013-08-07 17:28:59.863 |   File "/home/jenkins/workspace/gate-nova-python27/nova/network/security_group/neutron_driver.py", line 125, in get
  2013-08-07 17:28:59.863 |     neutron, 'security_group', name)
  2013-08-07 17:28:59.863 |   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 46, in find_resourceid_by_name_or_id
  2013-08-07 17:28:59.864 |     resource_plural = _get_resource_plural(resource, client)
  2013-08-07 17:28:59.864 |   File "/home/jenkins/workspace/gate-nova-python27/.tox/py27/local/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 38, in _get_resource_plural
  2013-08-07 17:28:59.864 |     plurals = client.EXTED_PLURALS
  2013-08-07 17:28:59.864 | AttributeError: 'MockClient' object has no attribute 'EXTED_PLURALS'

  https://jenkins01.openstack.org/job/gate-nova-python27/86/console

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