Failed to boot vm with pci_alias's name including space in nova.conf
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Alex Xu | ||
Newton |
Fix Committed
|
Low
|
Lee Yarwood |
Bug Description
Description
===========
Failed to boot vm with pci_alias's name including space in nova.conf.
Steps to reproduce
==================
1.modify the key pci_alias, pci_passthrough
pci_alias = {"name": "Cirrus Logic", "product_id": "0ff2", "vendor_id": "10de"}
pci_passthrough
scheduler_
2.restart nova-api, nova-scheduler, nova-conductor, nova-compute serivces
3.update a flavor's metadata with command
nova flavor-key m1.tiny set "pci_passthroug
4.create instance with command
nova boot --flavor m1.tiny --image cirror --nic net-id=xxxxxxxxx vm_name
Expected result
===============
There will be a vm with gpu passthrough.
Actual result
=============
Failed to boot vm.
Error occurs in nova-api.log
Environment
===========
1. Devstack with newton version
Logs
==============
2016-11-01 12:13:27.523 ^[[01;31mERROR nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
^[[01;31m2016-11-01 12:13:27.523 TRACE nova.api.
2016-11-01 12:13:27.527 ^[[00;36mINFO nova.api.
Changed in nova: | |
assignee: | nobody → zhaolihui (zhaolh) |
Changed in nova: | |
status: | In Progress → Confirmed |
status: | Confirmed → In Progress |
assignee: | zhaolihui (zhaolh) → nobody |
Changed in nova: | |
assignee: | nobody → zhaolihui (zhaolh) |
Changed in nova: | |
assignee: | zhaolihui (zhaolh) → Alex Xu (xuhj) |
Changed in nova: | |
importance: | Undecided → Low |
tags: | added: pci |
Fix proposed to branch: master /review. openstack. org/392077
Review: https:/