[
https://issues.apache.org/jira/browse/CLOUDSTACK-4249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746128#comment-13746128
]
ASF subversion and git services commented on CLOUDSTACK-4249:
-------------------------------------------------------------
Commit d019388bf53a15ba8a5c121885929f587d564d41 in branch refs/heads/4.2 from
[~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d019388 ]
CLOUDSTACK-4249: Do not assume KVM snapshots are in QCOW2 format
RBD snapshots are in RAW format and are stored as such on Secondary Storage.
When creating a template from such a snapshot, honor the image format passed
down by the management server and act on that.
The old code simply assumed it always was QCOW2.
> [KVM]ceph:showing wrong template size 755.64 TB(template created from
> snapshot)
> -------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4249
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4249
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Management Server
> Affects Versions: 4.2.0
> Reporter: sadhu suresh
> Assignee: Wido den Hollander
> Priority: Critical
> Fix For: 4.2.0
>
> Attachments: management-server.rar
>
>
> 1.create a ceph instance(configure compute offering with RBD and deploy a vm)
> 2.Once it successful,select the root partition and perform snapshot
> 3.once snapshot successful,create a template from snapshot
> 4.check the displayed size for new created template form snapshot
> 5.also try to create vm uning above VM
> Actual result:
> vm deployment fails due to wrong template size.
> Template size shows "755.64 TB"
> one ID 6ec00b45-7913-4095-944b-d0fa16adb84a
> Description tempfromcs
> Hypervisor KVM
> Type USER
> Ready Yes
> Status Download Complete
> Size 755.64 TB
> Extractable Yes
> Password Enabled No
> Dynamically Scalable No
> Public Yes
> Featured No
> Cross Zones No
> OS Type CentOS 5.3 (64-bit)
> Domain ROOT
> Account admin
> Created Mon, 12 Aug 2013 12:50:46 GMT
> ************************** 12. row ***************************
> id: 202
> unique_name: 2e9a6a5aa-7e78-33c8-ac61-25846b624569
> name: tempfromcs
> uuid: 2c45fa1b-647c-40d2-b532-4b7cafadf2c3
> public: 1
> featured: 0
> type: USER
> hvm: 1
> bits: 64
> url: NULL
> format: QCOW2
> created: 2013-08-12 12:50:46
> removed: NULL
> account_id: 2
> checksum: NULL
> display_text: tempfromcs
> enable_password: 0
> enable_sshkey: 0
> guest_os_id: 12
> bootable: 1
> prepopulate: 0
> cross_zones: 0
> extractable: 1
> hypervisor_type: KVM
> source_template_id: 0
> template_tag: NULL
> sort_key: 0
> size: 830839581640192
> state: NULL
> update_count: 0
> updated: NULL
> dynamically_scalable: 0
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira