** Changed in: neutron
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1333106
Title:
Tempest:Running test_network_basic_ops scenario in tempest results is
failing with internal server error
Status in OpenStack Neutron (virtual network service):
Invalid
Bug description:
Tested on build: 2014.2.dev543.g8bdc649
Pre-requisite : External network exist.
Both the instances are created successfully with internal and external
network connectivity passed.
neutronclient.client: DEBUG: RESP:{'date': 'Mon, 23 Jun 2014 02:09:48 GMT',
'status': '204', 'content-length': '0', 'x-openstack-request-id':
'req-c75f44c1-42e1-41ac-a163-8821d78ecddc'}
tempest.scenario.manager: DEBUG: Deleting {u'status': u'ACTIVE', u'subnets':
[], u'name': u'network-smoke--1921748135', u'provider:physical_network': None,
u'admin_state_up': True, u'tenant_id': u'b61abe9a4c8e4e439603941040610d90',
u'provider:network_type': u'vxlan', u'shared': False, u'id':
u'9a32273d-fc1c-4b9e-90cc-44702236b173', u'provider:segmentation_id': 1003}
from shared resources of TestNetworkBasicOps
neutronclient.client: DEBUG:
REQ: curl -i
http://192.0.2.26:9696//v2.0/networks/9a32273d-fc1c-4b9e-90cc-44702236b173.json
-X DELETE -H "X-Auth-Token: b345c371a7364c8ba4d4e9269c9db9b9" -H "Content-Type:
application/json" -H "Accept: application/json" -H "User-Agent:
python-neutronclient"
neutronclient.client: DEBUG: RESP:{'date': 'Mon, 23 Jun 2014 02:09:48
GMT', 'status': '500', 'content-length': '88', 'content-type':
'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-
7b8270d5-6346-4525-a6b4-19a58f400e78'} {"NeutronError": "Request
Failed: internal server error while processing your request."}
neutronclient.v2_0.client: DEBUG: Error message: {"NeutronError": "Request
Failed: internal server error while processing your request."}
tempest.scenario.manager: DEBUG: Deleting {u'tenant_id':
u'b61abe9a4c8e4e439603941040610d90', u'name': u'secgroup-smoke--1142035513',
u'description': u'secgroup-smoke--1142035513 description',
u'security_group_rules': [{u'remote_group_id': None, u'direction': u'egress',
u'remote_ip_prefix': None, u'protocol': None, u'tenant_id':
u'b61abe9a4c8e4e439603941040610d90', u'port_range_max': None,
u'security_group_id': u'6737784c-ba3a-4c2b-805c-97a69c6ccf4b',
u'port_range_min': None, u'ethertype': u'IPv4', u'id':
u'92a73bea-0c43-4490-9470-da2b23013760'}, {u'remote_group_id': None,
u'direction': u'egress', u'remote_ip_prefix': None, u'protocol': None,
u'tenant_id': u'b61abe9a4c8e4e439603941040610d90', u'port_range_max': None,
u'security_group_id': u'6737784c-ba3a-4c2b-805c-97a69c6ccf4b',
u'port_range_min': None, u'ethertype': u'IPv6', u'id':
u'406eb703-0d20-4a71-b13f-15ecbe832fbd'}], u'id':
u'6737784c-ba3a-4c2b-805c-97a69c6ccf4b'} from shared resources of
TestNetworkBasicOps
neutronclient.client: DEBUG:
REQ: curl -i
http://192.0.2.26:9696//v2.0/security-groups/6737784c-ba3a-4c2b-805c-97a69c6ccf4b.json
-X DELETE -H "X-Auth-Token: b345c371a7364c8ba4d4e9269c9db9b9" -H
"Content-Type: application/json" -H "Accept: application/json" -H "User-Agent:
python-neutronclient"
neutronclient.client: DEBUG: RESP:{'date': 'Mon, 23 Jun 2014 02:09:48
GMT', 'status': '204', 'content-length': '0', 'x-openstack-request-
id': 'req-876d170a-448c-4bb2-b358-adca177d3bd9'}
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 2 tests in 142.676s
FAILED (errors=2)
Actual Result : Just after deleting the subnet , deletion of network
throws internal server error. (Attached is the server log of the
controller error are logged in that file also)
Giving some time delay in /tempest/tempest/api/network/common.py file onto
the deletion of network will get rid of this issue.
class DeletableNetwork(DeletableResource):
def delete(self):
#time.sleep(3)
self.client.delete_network(self.id)
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1333106/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp