Glance task creates failed when setting work_dir local and qemu-img version is 1.5.3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Medium
|
Yafei Yu |
Bug Description
The openstack version is mitaka.
# rpm -qa |grep qemu-img
qemu-img-
The glance-api.conf setting is:
[task]
work_dir = /home/work/
[taskflow_executor]
conversion_format = raw
Then run the cli:
glance task-create --type import --input '{"import_from":"http://
The log is :
2016-06-14 04:08:29.032 DEBUG oslo_concurrenc
2016-06-14 04:08:29.033 DEBUG oslo_concurrenc
command: u'qemu-img info --output=json file://
exit code: 1
stdout: u''
stderr: u"qemu-img: Could not open 'file:/
2016-06-14 04:08:29.034 DEBUG oslo_concurrenc
Command: qemu-img info --output=json file://
Exit code: 1
Stdout: u''
Stderr: u"qemu-img: Could not open 'file:/
2016-06-14 04:08:29.072 WARNING glance.
4 predecessors (most recent first):
Flow 'import'
|__Atom 'import-
|__Atom 'import_retry' {'intention': 'EXECUTE', 'state': 'SUCCESS', 'requires': {}, 'provides': [(None, {})]}
|__Flow 'import'
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
2016-06-14 04:08:29.072 TRACE glance.
Changed in glance: | |
assignee: | nobody → yuyafei (yu-yafei) |
summary: |
- Glance task creates failed when setting word_dir local + Glance task creates failed when setting work_dir local |
description: | updated |
description: | updated |
summary: |
- Glance task creates failed when setting work_dir local + Glance task creates failed when setting work_dir local and qemu-img + version is 1.5.3 |
Changed in glance: | |
importance: | Undecided → Medium |
Fix proposed to branch: master /review. openstack. org/329394
Review: https:/