Comment 20 for bug 1737892

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Hello:

I found again a new error related with this test: https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2c7/707222/2/check/neutron-fullstack/2c7fea3/testr_results.html

Reviewing the test log [1], the server log [2] and the OVS agent log [3], I found that the OVS agent creates the QoS and the Queue register after the test checks those values and raise the exception when does not find them.

Testcase execution:
2020-02-14 10:03:18.562 22517 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1:19087 _new_conn /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/urllib3/connectionpool.py:225
2020-02-14 10:03:18.611 22517 DEBUG urllib3.connectionpool [-] http://127.0.0.1:19087 "GET /v2.0/subnets/4655dcb1-4768-43e9-8463-0e123620f71b HTTP/1.1" 200 615 _make_request /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/urllib3/connectionpool.py:437
2020-02-14 10:03:18.613 22517 DEBUG neutronclient.client [-] RESP: 200 {'Content-Type': 'application/json', 'Content-Length': '615', 'X-Openstack-Request-Id': 'req-659558b0-3cd4-4749-aba5-1273d3ae33f3', 'Date': 'Fri, 14 Feb 2020 10:03:18 GMT', 'Connection': 'keep-alive'} {"subnet":{"id":"4655dcb1-4768-43e9-8463-0e123620f71b","name":"subnet-test","tenant_id":"6b8ab93d-fa36-42a8-866f-582723b4dacf","network_id":"5e97836e-a2d7-4396-bdc0-f7e2cdd4436b","ip_version":4,"subnetpool_id":null,"enable_dhcp":false,"ipv6_ra_mode":null,"ipv6_address_mode":null,"gateway_ip":"10.0.0.1","cidr":"10.0.0.0/24","allocation_pools":[{"start":"10.0.0.2","end":"10.0.0.254"}],"host_routes":[],"dns_nameservers":[],"description":"","service_types":[],"tags":[],"created_at":"2020-02-14T10:03:14Z","updated_at":"2020-02-14T10:03:14Z","revision_number":0,"project_id":"6b8ab93d-fa36-42a8-866f-582723b4dacf"}} http_log_resp /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/neutronclient/common/utils.py:204
2020-02-14 10:03:18.613 22517 DEBUG neutronclient.client [-] GET call to neutron for http://127.0.0.1:19087/v2.0/subnets/4655dcb1-4768-43e9-8463-0e123620f71b used request id req-659558b0-3cd4-4749-aba5-1273d3ae33f3 _cs_request /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/neutronclient/client.py:124
2020-02-14 10:03:19.876 22517 DEBUG neutronclient.client [-] REQ: b'curl -i http://127.0.0.1:19087/v2.0/ports/f2457308-d9e1-464d-abf6-14b20a050bac -X DELETE -H "X-Auth-Token: {SHA256}e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" -H "User-Agent: python-neutronclient"' http_log_req /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/neutronclient/common/utils.py:195
2020-02-14 10:03:19.879 22517 DEBUG urllib3.connectionpool [-] Starting new HTTP connection (1): 127.0.0.1:19087 _new_conn /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/urllib3/connectionpool.py:225

OVS agent (snippet):
...
2020-02-14 10:03:19.713 26257 DEBUG ovsdbapp.backend.ovs_idl.transaction [req-c0d7c877-fc0c-4e0a-b0ab-1f66e282b280 - - - - -] Running txn n=1 command(idx=0): DbCreateCommand(table=Queue, columns={'other_config': {'min-rate': '300000'}, 'external_ids': {'port': 'f2457308-d9e1-464d-abf6-14b20a050bac', 'type': 'minimum_bandwidth', 'queue-num': '4'}}, row=False) do_commit /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:84
...
2020-02-14 10:03:19.727 26257 DEBUG ovsdbapp.backend.ovs_idl.transaction [req-c0d7c877-fc0c-4e0a-b0ab-1f66e282b280 - - - - -] Running txn n=1 command(idx=0): DbCreateCommand(table=QoS, columns={'type': 'linux-htb', 'queues': {4: UUID('05f4d2fa-3ecb-4792-bb04-5aea828491f0')}, 'external_ids': {'id': '14067072-9ba0-447a-8c5f-74e78150b688', '_type': 'minimum_bandwidth'}}, row=False) do_commit /home/zuul/src/opendev.org/openstack/neutron/.tox/dsvm-fullstack/lib/python3.6/site-packages/ovsdbapp/backend/ovs_idl/transaction.py:84

[1]https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2c7/707222/2/check/neutron-fullstack/2c7fea3/controller/logs/dsvm-fullstack-logs/TestMinBwQoSOvs.test_min_bw_qos_port_removed_egress_.txt
[2]https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2c7/707222/2/check/neutron-fullstack/2c7fea3/controller/logs/dsvm-fullstack-logs/TestMinBwQoSOvs.test_min_bw_qos_port_removed_egress_/neutron-server--2020-02-14--10-02-58-130984_log.txt
[3]https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_2c7/707222/2/check/neutron-fullstack/2c7fea3/controller/logs/dsvm-fullstack-logs/TestMinBwQoSOvs.test_min_bw_qos_port_removed_egress_/neutron-openvswitch-agent--2020-02-14--10-03-03-242434_log.txt