← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1274121] Re: test_rescued_vm_add_remove_security_group frequently failing

 

Reviewed:  https://review.openstack.org/71575
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=690959714b0de31e343024d3ea6589bd9557c87a
Submitter: Jenkins
Branch:    master

commit 690959714b0de31e343024d3ea6589bd9557c87a
Author: Attila Fazekas <afazekas@xxxxxxxxxx>
Date:   Thu Feb 6 16:46:18 2014 +0100

    The rescue tests requires neutron resources
    
    test_rescued_vm_add_remove_security_group and
    the test_rescued_vm_associate_dissociate_floating_ip does not makes
    sense if the instance does not have a network connection.
    
    'network' and 'subnet' would be sufficient for the security_group test
    case, but the router is required for floating_ip test case.
    
    Closes-Bug: #1274121
    Change-Id: Ic8e70d5e549573213b2930d88b5d7da5cd4cf855


** 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 neutron.
https://bugs.launchpad.net/bugs/1274121

Title:
  test_rescued_vm_add_remove_security_group frequently failing

Status in OpenStack Neutron (virtual network service):
  Invalid
Status in OpenStack Compute (Nova):
  Invalid
Status in Tempest:
  Fix Released

Bug description:
  This test is not gating with neutron at the moment, but I see it is
  failing very frequently, it is part of the full tempest run, but not
  part of the smoke runs.

  The tempest exception and request is attached.

  Exception:
  NotFound: Object not found
  Details: <itemNotFound code="404" xmlns="http://docs.openstack.org/compute/api/v1.1";><message>instance_id a3123898-504e-466d-83a8-4e40a6d6e96f could not be found as device id on any ports</message></itemNotFound>

  
  n-api:
  2014-01-28 03:35:09.605 DEBUG nova.api.openstack.wsgi [req-7faf904f-a376-4d00-b86e-eedf33fd1d3c ServerRescueTestXML-tempest-660237916-user ServerRescueTestXML-tempest-660237916-tenant] Action: 'action', body: <?xml version="1.0" encoding="UTF-8"?>
  <addSecurityGroup xmlns="http://docs.openstack.org/compute/api/v1.1"; name="sg-tempest-801012576"/> _process_stack /opt/stack/new/nova/nova/api/openstack/wsgi.py:953
  2014-01-28 03:35:09.605 DEBUG nova.api.openstack.wsgi [req-7faf904f-a376-4d00-b86e-eedf33fd1d3c ServerRescueTestXML-tempest-660237916-user ServerRescueTestXML-tempest-660237916-tenant] Calling method <bound method SecurityGroupActionController._addSecurityGroup of <nova.api.openstack.compute.contrib.security_groups.SecurityGroupActionController object at 0x373ce10>> _process_stack /opt/stack/new/nova/nova/api/openstack/wsgi.py:954
  2014-01-28 03:35:09.656 27500 DEBUG neutronclient.client [-] 
  REQ: curl -i http://192.168.1.50:9696/v2.0/security-groups.json?fields=id&name=sg-tempest-801012576 -X GET  -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
   http_log_req /opt/stack/new/python-neutronclient/neutronclient/common/utils.py:176
  2014-01-28 03:35:09.672 27500 DEBUG neutronclient.client [-] RESP:{'date': 'Tue, 28 Jan 2014 03:35:09 GMT', 'status': '200', 'content-length': '69', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://192.168.1.50:9696/v2.0/security-groups.json?fields=id&name=sg-tempest-801012576'} {"security_groups": [{"id": "0e43fe78-0dba-415b-b87e-f3a37d0f7cf9"}]}
   http_log_resp /opt/stack/new/python-neutronclient/neutronclient/common/utils.py:182
  2014-01-28 03:35:09.672 27500 DEBUG neutronclient.client [-] 
  REQ: curl -i http://192.168.1.50:9696/v2.0/ports.json?device_id=a3123898-504e-466d-83a8-4e40a6d6e96f -X GET -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: python-neutronclient"
   http_log_req /opt/stack/new/python-neutronclient/neutronclient/common/utils.py:176
  2014-01-28 03:35:09.689 27500 DEBUG neutronclient.client [-] RESP:{'date': 'Tue, 28 Jan 2014 03:35:09 GMT', 'status': '200', 'content-length': '13', 'content-type': 'application/json; charset=UTF-8', 'content-location': 'http://192.168.1.50:9696/v2.0/ports.json?device_id=a3123898-504e-466d-83a8-4e40a6d6e96f'} {"ports": []}
   http_log_resp /opt/stack/new/python-neutronclient/neutronclient/common/utils.py:182
  2014-01-28 03:35:09.690 INFO nova.api.openstack.wsgi [req-7faf904f-a376-4d00-b86e-eedf33fd1d3c ServerRescueTestXML-tempest-660237916-user ServerRescueTestXML-tempest-660237916-tenant] HTTP exception thrown: instance_id a3123898-504e-466d-83a8-4e40a6d6e96f could not be found as device id on any ports
  2014-01-28 03:35:09.701 DEBUG nova.api.openstack.wsgi [req-7faf904f-a376-4d00-b86e-eedf33fd1d3c ServerRescueTestXML-tempest-660237916-user ServerRescueTestXML-tempest-660237916-tenant] Returning 404 to user: instance_id a3123898-504e-466d-83a8-4e40a6d6e96f could not be found as device id on any ports __call__ /opt/stack/new/nova/nova/api/openstack/wsgi.py:1218
  2014-01-28 03:35:09.702 INFO nova.osapi_compute.wsgi.server [req-7faf904f-a376-4d00-b86e-eedf33fd1d3c ServerRescueTestXML-tempest-660237916-user ServerRescueTestXML-tempest-660237916-tenant] 192.168.1.50 "POST /v2/f025dc90f1294227ae5dc4cd0d780c53/servers/a3123898-504e-466d-83a8-4e40a6d6e96f/action HTTP/1.1" status: 404 len: 416 time: 0.1011932

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


References