CNA Unmarshal error: UseNextAvailableSlotID

Bug #1688544 reported by Eric Fried
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pypowervm
Fix Released
Critical
Eric Fried

Bug Description

During vif plug (CNA create) on a VIOS or management partition, with pypowervm 1.1.3, this'll happen:

2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa] File "/usr/lib/python2.7/dist-packages/pypowervm/adapter.py", line 432, in request
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa] raise self._get_httperror(resp)
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa] HttpError: HTTP error 400 for method PUT on path /rest/api/uom/VirtualIOServer/7FD30919-85B0-4BA2-BBFF-4378EC2FEBA6/ClientNetworkAdapter: Bad Request -- REST0001 Failed to unmarshal input payload.
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa]
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa]
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa] Invalid content was found starting with element 'uom:UseNextAvailableSlotID'. One of '{"http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/":VirtualNetworks}' (http://www.ibm.com/xmlns/systems/power/firmware/uom/mc/2012_10/%22:VirtualNetworks}%27) is expected.
2017-05-05 05:38:12.333 119106 ERROR nova_powervm.virt.powervm.vif [instance: 95f14862-e4ef-467e-98a2-b406c51a68fa]

The bug was introduced via https://github.com/powervm/pypowervm/commit/b27a1d6e0f1bad80b7b4aad8b359f123ffe8294d which wasn't wrong in itself; it's just that CNA never had a child_order defined.

Revision history for this message
Eric Fried (efried) wrote :
Changed in pypowervm:
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.