← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1182384] Re: SecurityGroups Tests : invalid id must be valid uuid

 

** Changed in: nova
       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/1182384

Title:
  SecurityGroups Tests : invalid id must be valid uuid

Status in OpenStack Compute (Nova):
  Fix Released
Status in Tempest:
  Fix Released

Bug description:
  Hi,
  When a try to run this test suite : nosetests tempest/tests/compute/security_groups/test_security_group_rules.py the tests test_security_group_rules_create_with_invalid_id and test_security_group_rules_delete_with_invalid_id fails with the following same stack trace :

  
  _StringException: Traceback (most recent call last):
    File "/opt/stack/tempest/tempest/tests/compute/security_groups/test_security_group_rules.py", line 190, in test_security_group_rules_delete_with_invalid_id
      rand_name('999'))
  BadRequest: Bad request
  Details: {'message': 'Security group id should be uuid', 'code': '400'}

  I think it is caused by this check :
  https://github.com/openstack/nova/blob/master/nova/network/security_group/quantum_driver.py#L137

  I am working on a patch.

  Jordan

  ------------------
  Tempest master
  Quantum v2.0
  Openvswitch

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