← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Reviewed:  https://review.openstack.org/55455
Committed: http://github.com/openstack/tempest/commit/b0ede30709729b32c8bca6b0df581c236ac39c32
Submitter: Jenkins
Branch:    master

commit b0ede30709729b32c8bca6b0df581c236ac39c32
Author: Matt Riedemann <mriedem@xxxxxxxxxx>
Date:   Wed Nov 6 12:15:28 2013 -0800

    Remove skips for bug 1182384
    
    Commit a2ccca0 fixed some negative tests to check for neutron when
    determining the invalid ID to use for nova APIs that behave differently
    when using neutron vs nova-network.
    
    This patch uses the same idea to remove the skips in place for bug
    1182384 in the compute security group negative tests.
    
    Closes-Bug: #1182384
    
    Change-Id: I58ba125012a74ea49311a163e9bf7fd7af33c1fc


** Changed in: tempest
       Status: In Progress => 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):
  Confirmed
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