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.
- 683454f319/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] 75ea3dbaf9/tempest/api/compute/base.py (L234)
[2] 3639f91c36/tempest/lib/common/fixed_network.py (L95)
Story: 2005369
Task: 30345
Change-Id: I1281aa090c167c1e3e401a1707d196a69e7b5cd2