cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg38 <...@git.apache.org>
Subject [GitHub] cloudstack issue #1807: CLOUDSTACK-9633: Revert addition of `vhd` extention ...
Date Tue, 06 Dec 2016 17:06:01 GMT
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';


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message