← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1753730] [NEW] unexpected rbd import when creating instance

 

Public bug reported:

[Summary]
unexpected rbd import when creating instance

[Steps to reproduce]
1. glance use ceph as backend store. upload a new image which disk_format is raw, named test_image
2. set images_type to raw at nova.conf and restart the nova-compute service, on node mystack-compute-01
3. use test_image to create an instance on mystack-compute-01, now nova will download the test-image into _base directory as the base image file.
4. change images_type to rdb and restart nova-compute service, and use test_image create a new instance. nova will use 'rbd import' command to import the base image file in _base into ceph cluster rather than clone it.


I think the 'rbd import' is time-consuming. Since the test_image is stored in ceph and disk_format is raw, which means is_cloneable, nova can direct clone it rather than import.

** Affects: nova
     Importance: Undecided
     Assignee: hzliaoyuehua (hzliaoyuehua)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => hzliaoyuehua (hzliaoyuehua)

-- 
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/1753730

Title:
  unexpected rbd import when creating instance

Status in OpenStack Compute (nova):
  New

Bug description:
  [Summary]
  unexpected rbd import when creating instance

  [Steps to reproduce]
  1. glance use ceph as backend store. upload a new image which disk_format is raw, named test_image
  2. set images_type to raw at nova.conf and restart the nova-compute service, on node mystack-compute-01
  3. use test_image to create an instance on mystack-compute-01, now nova will download the test-image into _base directory as the base image file.
  4. change images_type to rdb and restart nova-compute service, and use test_image create a new instance. nova will use 'rbd import' command to import the base image file in _base into ceph cluster rather than clone it.

  
  I think the 'rbd import' is time-consuming. Since the test_image is stored in ceph and disk_format is raw, which means is_cloneable, nova can direct clone it rather than import.

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


Follow ups