diff options
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/462.toml')
| -rw-r--r-- | gitlab/issues/target_missing/host_missing/accel_missing/462.toml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/462.toml b/gitlab/issues/target_missing/host_missing/accel_missing/462.toml deleted file mode 100644 index 30880c6a..00000000 --- a/gitlab/issues/target_missing/host_missing/accel_missing/462.toml +++ /dev/null @@ -1,53 +0,0 @@ -id = 462 -title = "mirror: the block-job-cancel command can put qemu to the endless error loop" -state = "closed" -created_at = "2021-07-06T18:00:07.848Z" -closed_at = "2023-02-06T09:38:41.178Z" -labels = ["Storage"] -url = "https://gitlab.com/qemu-project/qemu/-/issues/462" -host-os = "n/a" -host-arch = "n/a" -qemu-version = "n/a" -guest-os = "n/a" -guest-arch = "n/a" -description = """If the destination VM will crash (or network is down) right before the completion of the block device mirroring job (`block-job-cancel`), then there will be a possibility to put QEMU in the error loop.""" -reproduce = """1. Run both QEMU VMs: source + target. -2. On the target side prepare NBD server for blockdev mirroring process by using QMP commands similar to the one below: -``` -{"execute": "nbd-server-start", "arguments": { "addr": { "data": { "host": "::", "port": "49153" }, "type": "inet" } } } -{ "execute": "nbd-server-add", "arguments": { "device": "drive_main01", "writable": true } } -``` -3. On the source side, prepare VM for the migration and start driver mirror job: -``` -{"execute":"migrate-set-capabilities","arguments":{"capabilities":[{"capability":"pause-before-switchover","state":true}]}} -{ "execute": "drive-mirror", "arguments": { "device": "drive_main01", "mode": "existing", "job-id": "job0", "target": "nbd:127.0.0.1:49153:exportname=drive_main01", "sync": "top", "on-source-error": "stop", "on-target-error": "stop", "format": "raw", "speed": 0 } } -``` -4. On the source side wait for the `BLOCK_JOB_READY` event: -``` -{"timestamp": {"seconds": 1625586327, "microseconds": 833805}, "event": "BLOCK_JOB_READY", "data": {"device": "job0", "len": 21474836480, "offset": 21474836480, "speed": 0, "type": "mirror"}} -``` -5. Start migration on the source side: -``` -{ "execute": "migrate", "arguments": { "uri": "tcp:127.0.0.1:8091" } } -``` -6. Wait for the `pre-switchover` state of the migration: -``` -{ "execute": "query-migrate" } -{"return": {"expected-downtime": 300, "status": "pre-switchover", "setup-time": 3, "total-time": 11343, "ram": {"total": 8725020672, "postcopy-requests": 0, "dirty-sync-count": 2, "multifd-bytes": 0, "pages-per-second": 39550, "page-size": 4096, "remaining": 2871296, "mbps": 1073.7734399999999, "transferred": 963647065, "duplicate": 1899491, "dirty-pages-rate": 84, "skipped": 0, "normal-bytes": 944705536, "normal": 230641}}} -``` -7. Kill target QEMU to reproduce an issue. -8. Cancel the job on the source side: -``` -{ "execute": "block-job-cancel", "arguments": { "device": "job0" } } -``` - -Got the endless errror loop: -``` -... -{"timestamp": {"seconds": 1625586487, "microseconds": 413847}, "event": "BLOCK_JOB_ERROR", "data": {"device": "job0", "operation": "write", "action": "stop"}} -{"timestamp": {"seconds": 1625586487, "microseconds": 413865}, "event": "BLOCK_JOB_ERROR", "data": {"device": "job0", "operation": "write", "action": "stop"}} -{"timestamp": {"seconds": 1625586487, "microseconds": 413885}, "event": "BLOCK_JOB_ERROR", "data": {"device": "job0", "operation": "write", "action": "stop"}} -... -``` -Source qemu could be stopped only by using SIGKILL.""" -additional = "n/a" |