Skip to content

qcow2 images are being corrupted #3193

Closed

Description

@khmarochos
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Management Server
CLOUDSTACK VERSION
4.x
CONFIGURATION

Apache CloudStack with KVM-powered hosts

OS / ENVIRONMENT

Hypervisor: KVM (CentOS 7)

SUMMARY

Sometimes a qcow2 image could be corrupted by the snapshot deletion procedure. This issue was discussed in the cloudstack-users@ mailing list:
https://mail-archives.apache.org/mod_mbox/cloudstack-users/201901.mbox/%3Ccb737633a9134ae48e816ba183c97d11%40IPPEXCH13MB1.ipp.corp%3E
https://mail-archives.apache.org/mod_mbox/cloudstack-users/201902.mbox/%3C71795593db0b45d5846132d8bb2eb174%40IPPEXCH13MB1.ipp.corp%3E
https://mail-archives.apache.org/mod_mbox/cloudstack-users/201807.mbox/%3CnRAxfbfpv8T35h3ylbiWeOPF2zYHmZ2YRf6QjYc2pyHTuj-qtTSw8_wK4YlAiV9_EsPmrBatTl3i2nRhPhK4cbBl9nIzPQ0hhHJIrvgV6-A%3D%40protonmail.com%3E

STEPS TO REPRODUCE

Alas, there are no 100%-working ways to reproduce that. It just happens in the most inappropriate moment.

EXPECTED RESULTS

Everyone expects their data is safe. :-)

ACTUAL RESULTS

Sometimes data is being lost. :-(

Activity

  1. modified the milestones: 4.13.0.0, 4.11.3.0 on May 27, 2019
  2. yadvr commented on Jun 4, 2019

    @yadvr
    Member

    Merged in #3194

  3. Slair1 commented on Apr 8, 2020

    @Slair1
    Contributor

    @Melnik13 we've been doing some additional testing. This seems to work well with the VM being suspended when the snapshot is deleted. However, when a "VM Snapshot" is deleted, the VM is not suspended. Perhaps we need to add code for when VM Snapshots are deleted also? Thoughts?

  4. Slair1 commented on Apr 13, 2020

    @Slair1
    Contributor

    @Melnik13 we've been doing some additional testing. This seems to work well with the VM being suspended when the snapshot is deleted. However, when a "VM Snapshot" is deleted, the VM is not suspended. Perhaps we need to add code for when VM Snapshots are deleted also? Thoughts?

    @Melnik13 or may @rhtyd ?

  5. added a commit that references this issue on Jan 28, 2026
    f779aab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions