detach_pci_devices failed
Bug #1318891 reported by
Ding Xiao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Ding Xiao |
Bug Description
when detach a pci device from instance
the method _detach_pci_devices will check if pci device detached
> for hdev in [d for d in guest_config.
> if d.type == 'pci']:
guest_config.
in LibvirtConfigGu
File "/home/
conn.
File "/home/
if d.type == 'pci']:
AttributeError: 'LibvirtConfigG
Changed in nova: | |
assignee: | nobody → Ding Xiao (xiaoding1) |
description: | updated |
description: | updated |
description: | updated |
Changed in nova: | |
status: | New → In Progress |
tags: | added: compute |
Changed in nova: | |
importance: | Undecided → Medium |
description: | updated |
Changed in nova: | |
milestone: | none → juno-2 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | juno-2 → 2014.2 |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/93383 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=c75cd9a8b9d a86b9d9e7ffd651 2fe13b1913fd85
Committed: https:/
Submitter: Jenkins
Branch: master
commit c75cd9a8b9da86b 9d9e7ffd6512fe1 3b1913fd85
Author: xiaoding <email address hidden>
Date: Thu Jun 12 15:39:51 2014 +0800
Fix detaching pci device failed
after booting an instance with flavor has pci device, pci_devices( ), config. devices will have more device not only pci, like disk.
and then resize the instance, it will raise an "AttributeError".
this because in the method _detach_
guest_
Closes-bug: #1318891
Change-Id: Id52883a4f1fa7d 05d61b31674acd1 ca57918c3e1