Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1517603 - qemu-kvm-ma block job transaction should be disabled
Summary: qemu-kvm-ma block job transaction should be disabled
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-ma
Version: 7.5
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: ---
Assignee: John Snow
QA Contact: xianwang
Depends On:
TreeView+ depends on / blocked
Reported: 2017-11-27 03:55 UTC by Qianqian Zhu
Modified: 2018-12-12 19:58 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2018-12-12 19:58:09 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Qianqian Zhu 2017-11-27 03:55:55 UTC
Description of problem:
qemu-kvm-ma block jobs are all disabled, but transaction still available to create live snapshot and live backup.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Launch guest
2. Perform live snapshot or live backup by transaction:

{'execute': 'transaction', 'arguments': {'actions': [{'data': {'device':'drive_image1', 'snapshot-file': '/home/image1-snap', 'mode': 'absolute-paths', 'format': 'qcow2'}, 'type': 'blockdev-snapshot-sync'}]}}

{'execute': 'transaction', 'arguments': {'actions': [{'data': {'device':'drive_image1', 'target':'test.img', 'mode': 'absolute-paths', 'format': 'qcow2','sync':'full'}, 'type': 'drive-backup'}]}}

Actual results:
Block job success.
{"timestamp": {"seconds": 1511754423, "microseconds": 723426}, "event": "BLOCK_JOB_COMPLETED", "data": {"device": "drive_image1", "len": 21474836480, "offset": 21474836480, "speed": 0, "type": "backup"}}

Expected results:
It should be forbidden. 

Additional info:
qemu-kvm-2.9.0-23.el7a.ppc64le has the issue too.

Note You need to log in before you can comment on or make changes to this bug.