Instance failed to launch with pci_passthrough:alias
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Steven Webster |
Bug Description
Brief Description
-----------------
GPU passthrough Instance launched with pci_passthrough
Severity
--------
Major
Steps to Reproduce
------------------ --------
1. Add extra parameter to flavor to support GPU Passthrough
nova flavor-key flavor_name set pci_passthrough
[wrsroot@
+------
| PCI Alias | Device Id | Vendor Id | Class Id | pci_pfs_configured | pci_pfs_used | pci_vfs_configured | pci_vfs_used |
+------
| gpu | * | * | 030000 | 3 | 0 | 0 | 0 |
+------
[wrsroot@
2. Launch linux guest using the following image:
download following image centos-
Make Glance Image:
glance image-create --property hypervisor_
reate Keypair:
Reference: https:/
Create a key pair in Horizon
The first step is to create the actual key pair, if you don’t already have one:
Click “Compute” under the “Project” option in the Horizon left-hand menu.
Select “Access & Security”.
Click the “Key Pairs” tab.
openstack-
Click “+Create Key Pair”.
Name your new key pair and click “Create Key Pair”.
openstack-
4. Launch VM using the image and flavor created above.
Expected Behavior
------------------
VM expected to be launched and become ACTIVE
Actual Behavior
----------------
Failed to launch
[wrsroot@
+------
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+------
| 943fe930-
+------
[wrsroot@
+------
| Property | Value |
+------
| OS-DCF:diskConfig | AUTO |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2018-10-
| description | - |
| fault | {"message": "No valid host was found. There are not enough hosts available. controller-0: (RetryFilter) Previously tried: [[u'controller-0', u'controller-0']]", "code": 501, "details": " controller-0: (RetryFilter) Previously tried: [[u'controller-0', u'controller-0']]", "created": "2018-10-
| flavor:disk | 20 |
| flavor:ephemeral | 0 |
| flavor:extra_specs | {"hw:cpu_model": "SandyBridge", "hw:cpu_policy": "dedicated", "aggregate_
| flavor:
| flavor:ram | 2048 |
| flavor:swap | 0 |
| flavor:vcpus | 2 |
| hostId | |
| host_status | |
| id | 943fe930-
| image | Attempt to boot from volume - no image supplied |
| key_name | gpu |
| locked | False |
| metadata | {} |
| name | gpu instance |
| os-extended-
| status | ERROR |
| tags | [] |
| tenant_id | 59015934e48941f
| updated | 2018-10-
| user_id | 6580b1dbc803412
| wrs-if:nics | |
| wrs-res:pci_devices | |
| wrs-res:topology | node:0, 2048MB, pgsize:2M, 1s,2c,1t, vcpus:0,1, pcpus:6,8, pol:ded, thr:pre |
| wrs-res:vcpus | [2, 2, 2] |
| wrs-sg:server_group | |
+------
Reproducibility
---------------
Reproducible (2/2 times)
System Configuration
-------
Any
Branch/Pull Time/Commit
-------
StarlingX master as of 2018-10-03_20-18-00
=======
Changed in starlingx: | |
assignee: | nobody → Steven Webster (swebster-wr) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.distro.openstack |
Changed in starlingx: | |
status: | New → Triaged |
importance: | Medium → High |
tags: |
added: stx.1.0 removed: stx.2018.10 |
Based on review by Steve, this issue was introduced in mid-September by the changes made for: /storyboard. openstack. org/#!/ story/2002877
https:/
This breaks pci device configuration. Targeting stx.2018.10