← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1228748] [NEW] test_quotas.py failed because quota values could be set to zero

 

You have been subscribed to a public bug:

For cases test_security_groups_exceed_limit and test_security_groups_rules_exceed_limit, there will be error:
Traceback (most recent call last):
  File "/tmp/tempest/tempest/tempest/api/compute/admin/test_quotas.py", line 190, in test_security_groups_exceed_limit
    "sg-overlimit", "sg-desc")
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 394, in assertRaises
    self.assertThat(our_callable, matcher)
  File "/usr/lib/python2.6/site-packages/testtools/testcase.py", line 417, in assertThat
    raise MismatchError(matchee, matcher, mismatch, verbose)
MismatchError: <bound method SecurityGroupsClientJSON.create_security_group of <tempest.services.compute.json.security_groups_client.SecurityGroupsClientJSON object at 0x8e6a1400>> returned ({'status': '200', 'content-length': '178', 'x-compute-request-id': 'req-7fb30db2-ef33-4195-a0e2-89b46ed163f3', 'connection': 'close', 'date': 'Fri, 20 Sep 2013 18:46:37 GMT', 'content-type': 'application/json'}, {u'rules': [], u'tenant_id': u'9c85f972a02e4406a1fdf541708d723b', u'description': u'sg-desc', u'id': u'1be718c0-6f8a-4d89-8d1f-bd32652d39a9', u'name': u'sg-overlimit'})

There is code change that allow quota values to set to zero, seems the code of tempest need to be changed, too.
https://review.openstack.org/#/c/33161/

** Affects: nova
     Importance: Undecided
         Status: New

-- 
test_quotas.py failed because quota values could be set to zero
https://bugs.launchpad.net/bugs/1228748
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova).