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.
https:/ /github. com/powervm/ pypowervm/ commit/ ab006687957a8c1 7eb3752a1fb5917 0b49dc6b18