resume instance with SR-IOV failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
MOS Linux | ||
8.0.x |
Won't Fix
|
High
|
MOS Linux | ||
Mitaka |
Fix Released
|
High
|
MOS Linux |
Bug Description
From libvirt debug log:
2016-02-28 09:58:10.482+0000: 32424: debug : virJSONValueToS
2016-02-28 09:58:10.482+0000: 32419: debug : virEventPollCal
2016-02-28 09:58:10.482+0000: 32424: debug : qemuMonitorJSON
2016-02-28 09:58:10.482+0000: 32419: debug : virEventPollCal
2016-02-28 09:58:10.482+0000: 32419: debug : virEventPollCal
2016-02-28 09:58:10.482+0000: 32424: error : qemuMonitorJSON
Scenario:
nova suspend 080e547e-
nova show 080e547e-
+------
| Property | Value |
+------
| AUTO_PRIVATE_
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | active |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-02-
| flavor | m1.small (2) |
| hostId | 7ffd82381e36b12
| id | 080e547e-
| image | AUTO_CentOS7.
| key_name | - |
| metadata | {} |
| name | AUTO_VM0 |
| os-extended-
| progress | 0 |
| security_groups | default |
| status | ACTIVE |
| tenant_id | 828400f227844e0
| updated | 2016-02-
| user_id | 8ace843b4fe04ae
+------
nova show 080e547e-
+------
| Property | Value |
+------
| AUTO_PRIVATE_
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | suspended |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-02-
| flavor | m1.small (2) |
| hostId | 7ffd82381e36b12
| id | 080e547e-
| image | AUTO_CentOS7.
| key_name | - |
| metadata | {} |
| name | AUTO_VM0 |
| os-extended-
| security_groups | default |
| status | SUSPENDED |
| tenant_id | 828400f227844e0
| updated | 2016-02-
| user_id | 8ace843b4fe04ae
+------
nova show 080e547e-
+------
| Property | Value |
+------
| AUTO_PRIVATE_
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | suspended |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-02-
| flavor | m1.small (2) |
| hostId | 7ffd82381e36b12
| id | 080e547e-
| image | AUTO_CentOS7.
| key_name | - |
| metadata | {} |
| name | AUTO_VM0 |
| os-extended-
| security_groups | default |
| status | SUSPENDED |
| tenant_id | 828400f227844e0
| updated | 2016-02-
| user_id | 8ace843b4fe04ae
+------
nova resume 080e547e-
nova show 080e547e-
+------
| Property | Value |
+------
| AUTO_PRIVATE_
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | suspended |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| config_drive | |
| created | 2016-02-
| flavor | m1.small (2) |
| hostId | 7ffd82381e36b12
| id | 080e547e-
| image | AUTO_CentOS7.
| key_name | - |
| metadata | {} |
| name | AUTO_VM0 |
| os-extended-
| security_groups | default |
| status | SUSPENDED |
| tenant_id | 828400f227844e0
| updated | 2016-02-
| user_id | 8ace843b4fe04ae
+------
nova show 080e547e-
+------
| Property | Value |
+------
| AUTO_PRIVATE_
| OS-DCF:diskConfig | MANUAL |
| 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 | 2016-02-
| fault | {"message": "internal error: unable to execute QEMU command 'device_add': Device initialization failed.", "code": 500, "details": " File \"/usr/
| | return function(self, context, *args, **kwargs) |
| | File \"/usr/
| | block_device_info) |
| | File \"/usr/
| | self._attach_
| | File \"/usr/
| | guest.attach_
| | File \"/usr/
| | self._domain.
| | File \"/usr/
| | result = proxy_call(
| | File \"/usr/
| | rv = execute(f, *args, **kwargs) |
| | File \"/usr/
| | six.reraise(c, e, tb) |
| | File \"/usr/
| | rv = meth(*args, **kwargs) |
| | File \"/usr/
| | if ret == -1: raise libvirtError ('virDomainAtta
| | ", "created": "2016-02-
| flavor | m1.small (2) |
| hostId | 7ffd82381e36b12
| id | 080e547e-
| image | AUTO_CentOS7.
| key_name | - |
| metadata | {} |
| name | AUTO_VM0 |
| os-extended-
| security_groups | default |
| status | ERROR |
| tenant_id | 828400f227844e0
| updated | 2016-02-
| user_id | 8ace843b4fe04ae
+------
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf2
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "c2a335b5b725f1
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "d605bcbabf3153
Snapshot: https:/
when not using vfio driver (trying to use the kvm driver name) we see in dmesg: 2.529:380) : apparmor="DENIED" operation="open" profile= "libvirt- f39306bb- e483-4bd7- 9c7f-f5b5b80341 b1" name="/ sys/devices/ pci0000: 80/0000: 80:01.0/ 0000:81: 02.0/vendor" pid=19407 comm="qemu- system- x86" requested_mask="r" denied_mask="r" fsuid=109 ouid=0
[95784.780339] type=1400 audit(145683775