[ https://issues.apache.org/jira/browse/CLOUDSTACK-9633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15726071#comment-15726071 ]
ASF GitHub Bot commented on CLOUDSTACK-9633: -------------------------------------------- Github user serg38 commented on the issue: https://github.com/apache/cloudstack/pull/1807 @syed @rhtyd @abhinandanprateek Why cant we simply rename all install paths in DB for existing snapshots instead. It can be as simple as adding this query to schema upgrade path UPDATE cloud.snapshots s JOIN cloud.snapshot_store_ref ssr ON ssr.snapshot_id = s.id SET ssr.install_path = CONCAT(ssr.install_path, '.vhd') WHERE s.hypervisor_type = 'XenServer' AND RIGHT(ssr.install_path, 4) != '.vhd'; > test_snapshot is failing due to incorrect string construction in utils.py > ------------------------------------------------------------------------- > > Key: CLOUDSTACK-9633 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9633 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: marvin > Affects Versions: 4.10.0.0 > Environment: https://github.com/apache/cloudstack/pull/1800 > Reporter: Boris Stoyanov > Fix For: 4.10.0.0 > > > When searching for the snapshot vhd on the nfs storage it adds > ([name].vhd.vhd) I've removed the extension for xenserver and it passed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)