yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11862
[Bug 1285165] Re: test_add_remove_router_interface_with_port_id fails
does it still happen?
adding neutron to affected projects.
** Also affects: neutron
Importance: Undecided
Status: New
** Changed in: tempest
Status: New => 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/1285165
Title:
test_add_remove_router_interface_with_port_id fails
Status in OpenStack Neutron (virtual network service):
New
Status in Tempest:
Invalid
Bug description:
Full log:
http://logs.openstack.org/54/72854/6/check/check-tempest-dsvm-neutron-pg/b4e8e1f/logs/testr_results.html.gz
tempest.api.network.test_routers.RoutersTest.test_add_remove_router_interface_with_port_id[gate,smoke]_StringException: Empty attachments:
stderr
stdout
pythonlogging:'': {{{
2014-02-26 13:07:19,174 Request: POST http://127.0.0.1:5000/v2.0/tokens
2014-02-26 13:07:19,174 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json'}
2014-02-26 13:07:19,174 Request Body: {"auth": {"tenantName": "RoutersTest-1350141744", "passwordCredentials": {"username": "RoutersTest-1283447519", "password": "pass"}}}
2014-02-26 13:07:19,322 Response Status: 200
2014-02-26 13:07:19,322 Response Headers: {'content-length': '11138', 'date': 'Wed, 26 Feb 2014 13:07:19 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
2014-02-26 13:07:19,323 Response Body: {"access": {"token": {"issued_at": "2014-02-26T13:07:19.291621", "expires": "2014-02-26T14:07:19Z", "id": "MIITZgYJKoZIhvcNAQcCoIITVzCCE1MCAQExCTAHBgUrDgMCGjCCEbwGCSqGSIb3DQEHAaCCEa0EghGpeyJhY2Nlc3MiOiB7InRva2VuIjogeyJpc3N1ZWRfYXQiOiAiMjAxNC0wMi0yNlQxMzowNzoxOS4yOTE2MjEiLCAiZXhwaXJlcyI6ICIyMDE0LTAyLTI2VDE0OjA3OjE5WiIsICJpZCI6ICJwbGFjZWhvbGRlciIsICJ0Z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9LCB7ImVuZHBvaW50cyI6IFt7ImFkbWluVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODc3Ni92Mi9hMmQyMGQyMjg4OTA0NjUzOGIxOWE1ZWMxNDMwMzRlOCIsICJyZWdpb24iOiAiUmVnaW9uT25lIiwgImludGVybmFsVVJMIjogImh0dHA6Ly8xMjcuMC4wLjE6ODc3Ni92Mi9hMmQyMGQyMjg4OTA0NjUzOGIxOWE1ZWMxNDMwMzRlOCIsICJpZCI6ICJkYWNjMjQ1NDM1NTc0ZWJkYjdlY2JkMjc2YzI5MzQ3YyIsICJwdWJsaWNVUkwiOiAiaHR0cDovLzEyNy4wLjAuMTo4Nzc2L3YyL2EyZDIwZDIyODg5MDQ2NTM4YjE5YTVlYzE0MzAzNGU4In1dLCAiZW5kcG9pbnRzX2xpbmtzIjogW10sICJ0eXBlIjogInZvbHVtZXYyIiwgIm5hbWUiOiAiY2luZGVydjIifSwgeyJlbmRwb2ludHMiOiBbeyJhZG1pblVSTCI6ICJodHRwOi8vMTI3LjAuMC4xOjg3NzQvdjMiLCAicmVnaW9uIjogIlJlZ2lvbk9uZSIsICJpbnRlcm5hbFVSTCI6ICJodHRwOi8vMTI3L
2014-02-26 13:07:19,323 Large body (11138) md5 summary: e2591b9572309e9279426e6c3f734264
2014-02-26 13:07:19,324 Request: POST http://127.0.0.1:9696/v2.0/networks
2014-02-26 13:07:19,324 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-02-26 13:07:19,324 Request Body: {"network": {"name": "test-network--1963481106"}}
2014-02-26 13:07:19,507 Response Status: 201
2014-02-26 13:07:19,507 OpenStack request id req-b0e7bcdf-9f1d-4171-973f-b00c2cbec9b9
2014-02-26 13:07:19,508 Response Headers: {'content-length': '220', 'date': 'Wed, 26 Feb 2014 13:07:19 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-02-26 13:07:19,508 Response Body: {"network": {"status": "ACTIVE", "subnets": [], "name": "test-network--1963481106", "admin_state_up": true, "tenant_id": "a2d20d22889046538b19a5ec143034e8", "shared": false, "id": "d70222a5-7488-41ea-89c4-43cb82607668"}}
2014-02-26 13:07:19,509 Request: POST http://127.0.0.1:9696/v2.0/subnets
2014-02-26 13:07:19,510 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-02-26 13:07:19,510 Request Body: {"subnet": {"network_id": "d70222a5-7488-41ea-89c4-43cb82607668", "ip_version": 4, "cidr": "10.100.0.0/28"}}
2014-02-26 13:07:19,610 Response Status: 201
2014-02-26 13:07:19,610 OpenStack request id req-430cbc36-ad09-4984-8cf7-2be673a8540b
2014-02-26 13:07:19,610 Response Headers: {'content-length': '375', 'date': 'Wed, 26 Feb 2014 13:07:19 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-02-26 13:07:19,610 Response Body: {"subnet": {"name": "", "enable_dhcp": true, "network_id": "d70222a5-7488-41ea-89c4-43cb82607668", "tenant_id": "a2d20d22889046538b19a5ec143034e8", "dns_nameservers": [], "allocation_pools": [{"start": "10.100.0.2", "end": "10.100.0.14"}], "host_routes": [], "ip_version": 4, "gateway_ip": "10.100.0.1", "cidr": "10.100.0.0/28", "id": "0a99b257-dd60-4b4b-966d-813b2e1cbaba"}}
2014-02-26 13:07:19,612 Request: POST http://127.0.0.1:9696/v2.0/routers
2014-02-26 13:07:19,612 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-02-26 13:07:19,613 Request Body: {"router": {"external_gateway_info": {}, "name": "router--1040084728", "admin_state_up": false}}
2014-02-26 13:07:19,756 Response Status: 201
2014-02-26 13:07:19,757 OpenStack request id req-5c187037-ad74-4e0e-a148-250c185083bb
2014-02-26 13:07:19,757 Response Headers: {'content-length': '213', 'date': 'Wed, 26 Feb 2014 13:07:19 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-02-26 13:07:19,757 Response Body: {"router": {"status": "ACTIVE", "external_gateway_info": null, "name": "router--1040084728", "admin_state_up": false, "tenant_id": "a2d20d22889046538b19a5ec143034e8", "id": "678f06c9-a58f-45a6-ab71-e0ae132b4905"}}
2014-02-26 13:07:19,759 Request: POST http://127.0.0.1:9696/v2.0/ports
2014-02-26 13:07:19,759 Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
2014-02-26 13:07:19,759 Request Body: {"port": {"network_id": "d70222a5-7488-41ea-89c4-43cb82607668"}}
2014-02-26 13:07:19,976 Response Status: 500
2014-02-26 13:07:19,977 OpenStack request id req-f0e8caf1-1baa-4252-8425-7dab9f792a3f
2014-02-26 13:07:19,977 Response Headers: {'content-length': '88', 'date': 'Wed, 26 Feb 2014 13:07:19 GMT', 'content-type': 'application/json; charset=UTF-8', 'connection': 'close'}
2014-02-26 13:07:19,977 Response Body: {"NeutronError": "Request Failed: internal server error while processing your request."}
}}}
Traceback (most recent call last):
File "tempest/api/network/test_routers.py", line 104, in test_add_remove_router_interface_with_port_id
network_id=network['id'])
File "tempest/services/network/network_client_base.py", line 135, in _create
resp, body = self.post(uri, post_data)
File "tempest/services/network/network_client_base.py", line 62, in post
return self.rest_client.post(uri, body, headers)
File "tempest/common/rest_client.py", line 199, in post
return self.request('POST', url, headers, body)
File "tempest/common/rest_client.py", line 374, in request
resp, resp_body)
File "tempest/common/rest_client.py", line 467, in _error_checker
raise exceptions.ServerFault(message)
ServerFault: Got server fault
Details: {"NeutronError": "Request Failed: internal server error while processing your request."}
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1285165/+subscriptions