← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1816686] [NEW] fail to boot an instance because of "rbd import" qcow2 disk

 

Public bug reported:

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-group-name> --availability-zone nova --network <network-name>`
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.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "fail to boot"
   https://bugs.launchpad.net/bugs/1816686/+attachment/5240040/+files/2019-02-20_104319.png

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1816686

Title:
  fail to  boot an instance because of "rbd import" qcow2 disk

Status in OpenStack Compute (nova):
  New

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-group-name> --availability-zone nova --network <network-name>`
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1816686/+subscriptions


Follow ups