Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8199

Incorrect size when volumes and templates created from image snapshots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.4.2
    • None
    • KVM, Snapshot
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Ubuntu 14.04 LTS Server on MS and agents. Primary storage - ceph rbd. Secondary storage NFS.

    Description

      The size of the volume created from a snapshot is not shown correctly in the ACS GUI. I've reproduced it by doing:

      1. Create a snapshot from an rbd volume of 24576M
      2. Create volume from the snapshot created in point 1 above
      3. Volume size in GUI is shown as 12.90 GB
      4. Volume size on storage is shown as 24576M

      The same behaviour happens when creating a template from a snapshot:

      1. Create a snapshot from an rbd volume of 24576M
      2. Create a template from the snapshot created in point 1 above
      3. Template size in GUI is shown as 9.17 GB
      4. Volume size on storage is shown as 9.2 GB
      5. template.properties file show:
      #
      #Tue Feb 03 17:26:30 UTC 2015
      filename=71e7a0c9-6b83-42b2-b943-8426f44411d9.raw
      id=1
      public=true
      raw.filename=71e7a0c9-6b83-42b2-b943-8426f44411d9.raw
      uniquename=3f8935532-a5a8-34b7-9439-c5ec6ae09b49
      virtualsize=9843769344
      raw.virtualsize=9843769344
      raw.size=9843769344
      raw=true
      size=9843769344

      Attachments

        Activity

          People

            Unassigned Unassigned
            mozg31337 Andrei Mikhailovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: