Bug 1481810 - Create volume from iso image fails
Summary: Create volume from iso image fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-cinder
Version: 11.0 (Ocata)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z3
: 11.0 (Ocata)
Assignee: Eric Harney
QA Contact: Avi Avraham
URL:
Whiteboard:
Depends On: 1454850
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-15 19:11 UTC by Eric Harney
Modified: 2018-08-31 19:01 UTC (History)
5 users (show)

Fixed In Version: openstack-cinder-10.0.4-4.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-31 17:44:20 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1705407 0 None None None 2017-08-15 19:11:03 UTC
Red Hat Product Errata RHBA-2017:3103 0 normal SHIPPED_LIVE openstack-cinder bug fix advisory 2017-10-31 21:40:20 UTC

Description Eric Harney 2017-08-15 19:11:03 UTC
Description of problem:

Creating a volume from an iso image fails with an error like:

"qemu-img: Could not open '/opt/stack/data/cinder/conversion/tmpEIQ4Uvworker2@lvmdriver-1': Unknown driver 'iso'\n"


Version-Release number of selected component (if applicable):
openstack-cinder-10.0.3-2.el7ost

Comment 5 Tzach Shefi 2017-10-15 19:51:58 UTC
Verified on openstack-cinder-10.0.6-1.el7ost.noarch

Create image from iso
glance image-create --disk-format iso --container-format bare --file dsl-4.4.10.iso --name dsl
+------------------+-----------------------------------------------------------------+
| Property         | Value                                                           |
+------------------+-----------------------------------------------------------------+
| checksum         | 5cb7e0d4506c249b78bbe0cd4695b865                                |
| container_format | bare                                                            |
| created_at       | 2017-10-15T19:49:23Z                                            |
| direct_url       | swift+config://ref1/glance/bb96c9ed-31b3-47b5-98a4-617d5bc5e434 |
| disk_format      | iso                                                             |
| id               | bb96c9ed-31b3-47b5-98a4-617d5bc5e434                            |
| min_disk         | 0                                                               |
| min_ram          | 0                                                               |
| name             | dsl                                                             |
| owner            | 83d18c34b9b34a7e8eb9707e8b315306                                |
| protected        | False                                                           |
| size             | 52328448                                                        |
| status           | active                                                          |
| tags             | []                                                              |
| updated_at       | 2017-10-15T19:49:23Z                                            |
| virtual_size     | None                                                            |
| visibility       | shared                                                          |
+------------------+-----------------------------------------------------------------+

Create volume from said iso/image
cinder create 1 --image-id bb96c9ed-31b3-47b5-98a4-617d5bc5e434
+--------------------------------+--------------------------------------+
| Property                       | Value                                |
+--------------------------------+--------------------------------------+
| attachments                    | []                                   |
| availability_zone              | nova                                 |
| bootable                       | false                                |
| consistencygroup_id            | None                                 |
| created_at                     | 2017-10-15T19:50:30.000000           |
| description                    | None                                 |
| encrypted                      | False                                |
| id                             | 055d4f73-56d8-4c18-9089-978620f02778 |
| metadata                       | {}                                   |
| migration_status               | None                                 |
| multiattach                    | False                                |
| name                           | None                                 |
| os-vol-host-attr:host          | None                                 |
| os-vol-mig-status-attr:migstat | None                                 |
| os-vol-mig-status-attr:name_id | None                                 |
| os-vol-tenant-attr:tenant_id   | 83d18c34b9b34a7e8eb9707e8b315306     |
| replication_status             | None                                 |
| size                           | 1                                    |
| snapshot_id                    | None                                 |
| source_volid                   | None                                 |
| status                         | creating                             |
| updated_at                     | None                                 |
| user_id                        | 2e034e7699db454cbe2e415dad80565c     |
| volume_type                    | None                                 |
+--------------------------------+--------------------------------------+

Verify volume is created/available status.
 cinder list
+--------------------------------------+-----------+------+------+-------------+----------+-------------+
| ID                                   | Status    | Name | Size | Volume Type | Bootable | Attached to |
+--------------------------------------+-----------+------+------+-------------+----------+-------------+
| 055d4f73-56d8-4c18-9089-978620f02778 | available | -    | 1    | -           | true     |             |

Comment 7 errata-xmlrpc 2017-10-31 17:44:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:3103


Note You need to log in before you can comment on or make changes to this bug.