create_server method in tempest.scenario.manager.ScenarioTest wrongly passes a nics list to servers client

Bug #1366623 reported by Miguel Lavalle
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Medium
Dirk Mueller

Bug Description

The create_server method in tempest.scenario.manager.ScenarioTest is currently passing a 'nics' list ('nics': [{'net-id': u'5d37741c-562b-4651-b8cc-e07a152c7563'}]) in the create_kwargs argument to the create_server method in the tempest servers client. This latter method is expecting a networks list with the format 'networks': [{'uuid': u'765d7144-7160-4b9d-87b7-7cd4140bed52'}] in its kwargs argument.

Previously, with tempest.scenario.manager.OfficialClientTest a 'nics' list in the format 'nics': [{'net-id': u'5d37741c-562b-4651-b8cc-e07a152c7563'}] was not a problem because the nova python client translates such a list to the format 'networks': [{'uuid': u'765d7144-7160-4b9d-87b7-7cd4140bed52'}], which is what the nova API can handle

Miguel Lavalle (minsel)
Changed in tempest:
assignee: nobody → Miguel Lavalle (minsel)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tempest (master)

Fix proposed to branch: master
Review: https://review.openstack.org/119659

Changed in tempest:
status: New → In Progress
Changed in tempest:
importance: Undecided → High
importance: High → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tempest (master)

Change abandoned by Miguel Lavalle (<email address hidden>) on branch: master
Review: https://review.openstack.org/119659
Reason: Another patchset duplicates this work: https://review.openstack.org/#/c/121149/. That patchset seems ahead in the review cycle, so I am abandoning this one

Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

This bug was fixed in the patch https://review.openstack.org/#/c/121149 by Dirk Mueller.

Changed in tempest:
status: In Progress → Fix Released
assignee: Miguel Lavalle (minsel) → Dirk Mueller (dmllr)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.