interfaces_client doesn't respect Nova API

Bug #1271642 reported by Jordan Pittier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Jordan Pittier

Bug Description

When hotplugging a NIC in tempest.api.compute.servers.test_attach_interfaces.AttachInterfacesTestXML.test_create_list_show_delete_interfaces Tempest generates the following call to Nova API :
/v2/$tenant_id/servers/$server_id/os-interface DEBUG: Request Body: {"interfaceAttachment": {}, "net-id": "XXX"}

The net-id information should be the value of "interfaceAttachment", like this : {"interfaceAttachment": {"net-id": "XXX"} }

See : https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/contrib/attach_interfaces.py#L88

I will submit a patch soon.

Changed in tempest:
assignee: nobody → Jordan Pittier (jordan-pittier)
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/68437

Changed in tempest:
status: New → In Progress
Revision history for this message
Yaroslav Lobankov (ylobankov) wrote :

This bug was fixed in the patch https://review.openstack.org/#/c/68437 .

Changed in tempest:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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