stable/havana : create_server fails in multi-network enviornment.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tempest |
Invalid
|
Undecided
|
Jaspreet |
Bug Description
A lot of tests that call the create server API fail when multiple networks are present in the tenant.
Besides create server Compute tests, other tests that call this API during setUp also fail.
A fix for this has been proposed to Tempest master (against bug https:/
However, the patch only addresses scenario tests.
Also, I think that the fix for master branch may not be easily backported (except scenario) to stable/havana due changes in the
code base.
Test fails while creating server, attaching volumes etc. Possible fix would be add network details in tempest code.
Please find following few logs while creating server.
1) ServersTestJSON
ERROR: test suite for <class 'test_create_
-------
File "/home/
resp, body = self.post(
File "/home/
return self.request(
File "/home/
resp, resp_body)
File "/home/
raise exceptions.
BadRequest: Bad request
Details: {u'badRequest': {u'message': u'Multiple possible networks found, use a Network ID to be more specific.', u'code': 400}}
2) Attaching volume (test_volumes_
ERROR: test suite for <class 'test_volumes_
-------
File "/home/
resp, resp_body)
File "/home/
raise exceptions.
BadRequest: Bad request
Details: {u'badRequest': {u'message': u'Multiple possible networks found, use a Network ID to be more specific.', u'code': 400}
Changed in tempest: | |
assignee: | nobody → Jaspreet (walia-jaspreet) |
Tempest does not support havana branch.
Same bug - https:/ /bugs.launchpad .net/tempest/ +bug/1250866 is in progress on master branch.
Scenario tests fixed - https:/ /review. openstack. org/#/c/ 68904/ /review. openstack. org/#/c/ 61037/
API tests - In Progress - https:/