← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1415679] Re: snapshot keep in saving state backend with ceph

 

This has been marked incomplete for well over a year with no response
from the reporter. Closing as invalid.

** Changed in: glance
       Status: Incomplete => Invalid

** Changed in: glance-store
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1415679

Title:
  snapshot keep in saving state backend with ceph

Status in Glance:
  Invalid
Status in glance_store:
  Invalid

Bug description:
  I have glance backend with ceph  , nova images also run in ceph . Both
  vm creation adn glance image create works fine. However when we create
  snap shot both via horizon and via nova image-create it keeps in
  saving state even when size of pools showed correct image size as of
  parent vm.

   dpkg -l glance
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                              Version               Architecture          Description
  +++-=================================-=====================-=====================-========================================================================
  ii  glance                            1:2014.2.1-0ubuntu1~c all                   OpenStack Image Registry and Delivery Service - Daemons

  
  dpkg -l ceph
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name                              Version               Architecture          Description
  +++-=================================-=====================-=====================-========================================================================
  ii  ceph                              0.87-1trusty          amd64                 distributed storage and file system
  r


  nova image-create a6f18d3e-6b5b-48a1-ab04-afc50665f4f1 18snap2
  root@cloud21:/etc/glance# nova image-list
  +--------------------------------------+---------------------------------+--------+--------------------------------------+
  | ID                                   | Name                            | Status | Server                               |
  +--------------------------------------+---------------------------------+--------+--------------------------------------+
  | 996726a5-7976-428f-8d1c-44fbc20b3b5f | 18snap2                         | SAVING | a6f18d3e-6b5b-48a1-ab04-afc50665f4f1 |

  
  nova list
  +--------------------------------------+---------------------------+---------+-----------------+-------------+-------------------------------------+
  | ID                                   | Name                      | Status  | Task State      | Power State | Networks                            |
  +--------------------------------------+---------------------------+---------+-----------------+-------------+-------------------------------------+
  |
  | a6f18d3e-6b5b-48a1-ab04-afc50665f4f1 | admin-instancefedcloud182 | ACTIVE  | image_uploading | Running     | admin-net=10.1.2.10                 |


  Now if we see rbd info it shows the correct size

  rbd info images/996726a5-7976-428f-8d1c-44fbc20b3b5f

  rbd image '996726a5-7976-428f-8d1c-44fbc20b3b5f':
  	size 20480 MB in 2560 objects
  	order 23 (8192 kB objects)
  	block_name_prefix: rbd_data.780581989a2f9
  	format: 2
  	features: layering

  
  Compare it with VM rbd

  rbd info  vms/a6f18d3e-6b5b-48a1-ab04-afc50665f4f1_disk
  rbd image 'a6f18d3e-6b5b-48a1-ab04-afc50665f4f1_disk':
  	size 20480 MB in 5120 objects
  	order 22 (4096 kB objects)
  	block_name_prefix: rbd_data.77fe06b8b4567
  	format: 2
  	features: layering

  
  but after hour vm is keep in Image Uploading state . via nova list
  and nova image-list shows Saving state

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


References