You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Daan Hoogland (JIRA)" <ji...@apache.org> on 2015/05/12 14:05:27 UTC

[jira] [Updated] (CLOUDSTACK-6538) Migrating a volume causes snapshot schedule to disappear

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daan Hoogland updated CLOUDSTACK-6538:
--------------------------------------
    Fix Version/s:     (was: 4.5.1)
                   4.5.2

> Migrating a volume causes snapshot schedule to disappear
> --------------------------------------------------------
>
>                 Key: CLOUDSTACK-6538
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6538
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.3.0
>            Reporter: Remi Bergsma
>            Assignee: Abhinandan Prateek
>             Fix For: 4.5.2
>
>
> When a volume is migrated to another primary storage, the snapshot schedule that exists before migration, is no longer active after migration.
> Steps to reproduce:
> - create a volume
> - create a snapshot policy
> - note it creates an entry in cloud.snapshot_policy table
> - migrate volume to another primary storage
> - note the entry in cloud.snapshot_policy has been deleted
> Cause:
> Migrating a volume leads to a volume with a new id and uuid. Since the snapshot schedule is linked to a volume based on id, this is lost after migration.
> Please:
> - do not delete entries in cloud.snapshot_policy but mark as ‘deleted’ instead (like done on other tables)
> - recreate the snapshot schedule for a volume that was migrated, using its new id. Or update the table with the new id.
> This is a serious bug, because the user does not expect the snapshot schedule to disappear. Hence, when a snapshot is needed after migration you have a problem that cannot be fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)