Can not create volume from qcow2 image

Bug #1381143 reported by Tatyanka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
High
Denis Egorenko

Bug Description

qemu-utils is not installed on cinder nodes, user can create volume from image.row. Volumes create from qcow images failed with Error state

{"build_id": "2014-10-13_16-58-26", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "29", "auth_required": true, "api": "1.0", "nailgun_sha": "764bf8c057b8fc5a91c3ae1d55678f4fe53fa7db", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "980456ba80b49a7e3f237a299e52d4ab214f6f72", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-13_16-58-26", "ostf_sha": "1795445bcd30ae26111e760b284078e5688f322f", "build_number": "29", "api": "1.0", "nailgun_sha": "764bf8c057b8fc5a91c3ae1d55678f4fe53fa7db", "production": "docker", "fuelmain_sha": "c50f4d4963ee08cf85055b8ea6cc5ac575f6c1d0", "astute_sha": "980456ba80b49a7e3f237a299e52d4ab214f6f72", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "253a04d172bebaf9d199426129043353172318f2"}}}, "fuellib_sha": "253a04d172bebaf9d199426129043353172318f2"}

Steps to Reproduce:
1. Deploy Ha with nova and cinder on Ubuntu
2. Go to the Horizon and try to create bootable volume from qcow image

Expected:
User should have possibility to create volume from any image(with all formated that supported OS)

Actual Result:
It can not, according qemu-utils is not installed om cinder storage node(where cinder-volume actually is running). qemu utils installs as dependency to cinder-api(and actually we install it to the controller)

As soon as I manually install qemu-utils, volume boots succesfully

Info:
mapping of fuel nodes and roles:
[root@nailgun ~]# fuel node
id | status | name | cluster | ip | mac | roles | pending_roles | online
---|--------|------------------|---------|-----------|-------------------|------------|---------------|-------
1 | ready | Untitled (91:64) | 1 | 10.20.0.3 | 0c:c4:7a:1d:91:64 | controller | | True
5 | ready | Untitled (93:df) | 1 | 10.20.0.7 | 0c:c4:7a:1d:93:df | compute | | True
4 | ready | Untitled (92:76) | 1 | 10.20.0.6 | 0c:c4:7a:1d:92:76 | compute | | True
2 | ready | Untitled (93:da) | 1 | 10.20.0.4 | 0c:c4:7a:1d:93:da | controller | | True
3 | ready | Untitled (90:fe) | 1 | 10.20.0.5 | 0c:c4:7a:1d:90:fe | controller | | True
7 | ready | Untitled (93:dd) | 1 | 10.20.0.9 | 0c:c4:7a:1d:93:dd | cinder | | True
6 | ready | Untitled (47:77) | 1 | 10.20.0.8 | 64:16:86:e5:47:77 | compute | | True

Revision history for this message
Tatyanka (tatyana-leontovich) wrote :
Changed in fuel:
milestone: none → 6.0
importance: Undecided → High
tags: added: low-hanging-fruit
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Denis Egorenko (degorenko)
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

openstack-cinder should depend on qemu-utils for Ubuntu. It already depends on qemu-img for CentOS.

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cinder has been built from changeset: http://gerrit.mirantis.com/30130
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-6.0-stable/ubuntu

Revision history for this message
OSCI Robot (oscirobot) wrote :

Package cinder has been built from changeset: http://gerrit.mirantis.com/30129
DEB Repository URL: http://osci-obs.vm.mirantis.net:82/ubuntu-fuel-master/ubuntu

Changed in fuel:
status: New → Fix Committed
Revision history for this message
Anastasia Palkina (apalkina) wrote :

Verified on ISO #33

"build_id": "2014-10-21_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "33", "auth_required": true, "api": "1.0", "nailgun_sha": "63dd9e6673142b56d290ac8dc3862093ad65745f", "production": "docker", "fuelmain_sha": "0e606011c99a302167061084c1637f9cdc85f017", "astute_sha": "6a11a7c481d116e6cfdb422fab1d4bbb29cbea1c", "feature_groups": ["mirantis"], "release": "6.0", "release_versions": {"2014.2-6.0": {"VERSION": {"build_id": "2014-10-21_00-01-06", "ostf_sha": "de177931b53fbe9655502b73d03910b8118e25f1", "build_number": "33", "api": "1.0", "nailgun_sha": "63dd9e6673142b56d290ac8dc3862093ad65745f", "production": "docker", "fuelmain_sha": "0e606011c99a302167061084c1637f9cdc85f017", "astute_sha": "6a11a7c481d116e6cfdb422fab1d4bbb29cbea1c", "feature_groups": ["mirantis"], "release": "6.0", "fuellib_sha": "d1beae25dc5f372656bf176bff68ed0ef3a45853"}}}, "fuellib_sha": "d1beae25dc5f372656bf176bff68ed0ef3a45853"

Changed in fuel:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.