fail to boot an instance because of "rbd import" qcow2 disk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Boxiang Zhu |
Bug Description
Environment
===========
OpenStack: master branch
Ceph: luminous
Steps to reproduce
==================
1. Upload a qcow2 format image to glance such as a test qcow2 image `cirros`.
2. Use command to create a new instance: `openstack server create <server-name> --image <image-name> --flavor <flavor-name> --security-group <security-
3. After instance has been spawn successfully, we run command to get the console url: `openstack console url show <server-name>`
4. Open the browser and enter the console url, I see that the instance fails to boot.
Expected result
===============
The instance succeeds to boot.
Actual result
=============
The instance fails to boot.
When importing rbd volume from _base image file, the format of image file is qcow2. When using a qcow2 as root disk, the instance is spawned but fails to boot because data is accessed as raw.
So try to convent the image format when import it into rbd as raw.
tags: | added: libvirt rbd |
tags: |
added: ceph removed: rbd |
Fix proposed to branch: master /review. openstack. org/638080
Review: https:/