commit | b3ee7cbc150eada7c35691189a392043996ada0a | [log] [tgz] |
---|---|---|
author | ghanshyam <gmann@ghanshyammann.com> | Thu Apr 04 15:57:22 2019 +0000 |
committer | Ghanshyam Mann <gmann@ghanshyammann.com> | Sat Apr 27 15:35:55 2019 +0000 |
tree | 52b0ee9796fc0fbb574a9de52a01a5fcb3824d1c | |
parent | 27fdf563f0a8e5d3686b1cde087520ee4bb40772 [diff] |
make Patrole to run for shared network env Devstack added to create the shared network for tempest testing which makes sure tempest and other testing part works fine when testing env has shared network. - https://github.com/openstack-dev/devstack/blob/683454f319246c3bda088b5e0325c5673263ce08/lib/tempest#L259 Now patrole started failing because of the above shared network. Details: {u'message': u'Multiple possible networks found, use a Network ID to be more specific.', u'code': 409} http://logs.openstack.org/55/648255/1/check/patrole-admin/63b6639/testr_results.html.gz When patrol tests call create_tesrt_server, network id is not passed as kwargs which means it reply on tempest to add the network id for creating the server[1]. Tempest fail to add the network id because it relies on used credential to have the network created for them[2]. We should create the network for requested credential using set_network_resources() method. Following tests are skipped due to their failure due to bad request error: - test_update_network_provider_network_type[id-d064ef96-662b-47b6-94b7-9106dcd7ba8c] - test_update_network_provider_physical_network[id-e3a55660-f75c-494e-a1b1-a8b36cc789ef] - test_update_network_provider_segmentation_id[id-f6164228-b670-45fd-9ff9-b101930318c7] [1] https://github.com/openstack/tempest/blob/75ea3dbaf9d459f6b1e72644bfa73520142e17d1/tempest/api/compute/base.py#L234 [2] https://github.com/openstack/tempest/blob/3639f91c36dbbcc8ecf9373aeb0cec83af468b81/tempest/lib/common/fixed_network.py#L95 Story: 2005369 Task: 30345 Change-Id: I1281aa090c167c1e3e401a1707d196a69e7b5cd2