Port update exception on nova unshelve for instance with PCI devices
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Steven Webster | ||
Newton |
Fix Committed
|
Medium
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
Medium
|
Lee Yarwood |
Bug Description
Description
===========
If an instance with PCI devices (SRIOV, or passthrough) is shelved, a port update exception will be seen and the instance will go into Error state when it is unshelved.
The nova API exception message is similar to:
"Unable to correlate PCI slot 0000:0d:00.1"
Steps to reproduce
==================
1. Launch an instance with SRIOV or PCI passthrough port bindings.
2. nova shelve <instance_uuid>
-- wait for nova instance status SHELVED_OFFLOADED --
3. nova unshelve <instance_uuid>
Expected result
===============
If there are resources available, the instance should be able to claim PCI devices and successfully (re)launch.
Actual result
=============
- Instance in error state
- Exception in nova api logs.
Environment
===========
1. Exact version of OpenStack you are running: Ocata, devstack
2. Which hypervisor did you use? Libvirt + KVM
2. Which storage type did you use? LVM
3. Which networking type did you use? Neutron, OVS
Changed in nova: | |
assignee: | nobody → Steven Webster (swebster-wr) |
Changed in nova: | |
status: | New → In Progress |
tags: | added: pci |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | added: neutron unshelve |
Fix proposed to branch: master /review. openstack. org/453938
Review: https:/