Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1071806

Summary: instance snapshot creation failed: libvirtError: block copy still active: domain has active block copy job
Product: Red Hat OpenStack Reporter: Yogev Rabl <yrabl>
Component: openstack-novaAssignee: Eoghan Glynn <eglynn>
Status: CLOSED UPSTREAM QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0 (RHEL 7)CC: dasmith, kchamart, ndipanov, sgordon, srevivo, stgeorgea, yeylon
Target Milestone: ---Keywords: ZStream
Target Release: 6.0 (Juno)   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-15 13:02:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
log of the failed action none

Description Yogev Rabl 2014-03-03 08:21:37 UTC
Created attachment 869828 [details]
log of the failed action

Description of problem:
A snapshot of an instance is been created with the status of 'deleted'. 
The instance was launched with an ISO image of RHEL 6.5 & with the following flavor configuration: 
Flavor Name: m1.small
VCPUs: 1
RAM: 2048MB
Root Disk: 20
Ephemeral Disk: 40
Swap Disk: 0MB

The system topology is:
1. cloud controller with the Nova services installed (with nova network).
2. Glance stand alone server.
3. Cinder & Swift installed on the same server.
4. Nova compute stand alone.

Version-Release number of selected component (if applicable):
openstack-nova-conductor-2013.2.2-2.el6ost.noarch
openstack-nova-scheduler-2013.2.2-2.el6ost.noarch
python-django-openstack-auth-1.1.2-2.el6ost.noarch
openstack-dashboard-2013.2.2-1.el6ost.noarch
openstack-selinux-0.1.3-2.el6ost.noarch
openstack-packstack-2013.2.1-0.25.dev987.el6ost.noarch
openstack-keystone-2013.2.2-1.el6ost.noarch
openstack-nova-common-2013.2.2-2.el6ost.noarch
openstack-nova-api-2013.2.2-2.el6ost.noarch
openstack-nova-console-2013.2.2-2.el6ost.noarch
openstack-nova-network-2013.2.2-2.el6ost.noarch
openstack-nova-cert-2013.2.2-2.el6ost.noarch
openstack-dashboard-theme-2013.2.2-1.el6ost.noarch
redhat-access-plugin-openstack-4.0.0-0.el6ost.noarch
openstack-nova-compute-2013.2.2-2.el6ost.noarch
openstack-nova-novncproxy-2013.2.2-2.el6ost.noarch

How reproducible:
100%

Steps to Reproduce:
1. Launch an instance with an ISO image (with the same flavor configuration as above) 
2. Install the OS of the ISO on the ephemeral disk.
3. After the installation is done & the OS is up take a snapshot of the instance.

Actual results:
The snapshot is been created in deleted status.

Expected results:
The snapshot should be available.

Additional info:
The logs are attached.

Comment 2 Allan St. George 2014-05-01 16:46:32 UTC
I just experience this same issue attempting to capture snapshots prior to installing addition software/repositories

Comment 3 Solly Ross 2014-11-12 17:55:40 UTC
Note: work is ongoing upstream.

Comment 7 Kashyap Chamarthy 2015-12-15 13:02:06 UTC
This bug was reported with Havana (2013.2) release, which reached its End of Life (EOL) on July 31, 2014

    https://access.redhat.com/support/policy/updates/openstack/platform/

Also, from the corresponding upstream bug (which is marked as 'Invalid'), this issue is fixed if you're using libvirt version libvirt-1.2.8 or higher:

    https://bugs.launchpad.net/nova/+bug/1287047/comments/10
    https://bugs.launchpad.net/nova/+bug/1287047/comments/9