Francesco Romani has posted comments on this change.
Change subject: vm: event: send status event on IO Error
......................................................................
Patch Set 22: Verified+1
verified with 44115.
- booted VM
- started write on disk using dd with oflag=direct
- after a few tenth of secs, blocked connection to storage
wait for VM go paused and IOError reported.
HOji> 10:45:31 root [~]$ vdsClient -s 0 getAllVmStats
b0f37f43-ff02-4dbf-ba8c-dfcc0f5056bb
Status = Paused
displayInfo = [{'tlsPort': '5901', 'ipAddress': '0', 'port': '5900',
'type': 'spice'}]
memUsage = 0
acpiEnable = true
guestFQDN =
vNodeRuntimeInfo = {'0': [0]}
session = Unknown
displaySecurePort = 5901
timeOffset = 0
pauseCode = EOTHER
network = {'vnet0': {'macAddr': '00:1a:4a:16:01:52', 'rxDropped': '0',
'tx': '13471', 'txDropped': '0', 'txRate': '0.0', 'rxErrors': '0', 'rx':
'27752', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown', 'sampleTime':
4297886.89, 'speed': '1000', 'name': 'vnet0'}}
vmJobs = {}
cpuUser = 0.25
elapsedTime = 564
displayType = qxl
cpuSys = 0.00
appsList = []
vmName = aa_def_desktop_1
vcpuCount = 2
clientIp = 192.168.1.177
hash = -626332171739236010
vmType = kvm
pid = 5023
displayIp = 0
cpuUsage = 13050000000
vcpuPeriod = 100000
displayPort = 5900
vcpuQuota = -1
kvmEnable = true
disks = {'vda': {'readLatency': '0', 'writtenBytes': '58103808',
'truesize': '2147483648', 'apparentsize': '2147483648', 'readOps': '346',
'writeLatency': '0', 'imageID': 'bb026109-3886-438a-be55-37797c2bbfb0',
'readBytes': '1413632', 'flushLatency': '0', 'readRate': '0.0', 'writeOps':
'56742', 'writeRate': '0.0'}, 'hdc': {'readLatency': '0', 'writtenBytes': '0',
'truesize': '0', 'apparentsize': '0', 'readOps': '29099', 'writeLatency': '0',
'readBytes': '394772782', 'flushLatency': '0', 'readRate': '0.0', 'writeOps':
'0', 'writeRate': '0.0'}}
monitorResponse = 0
username = Unknown
guestCPUCount = -1
guestIPs =
statusTime = 4297886890
HOji> 10:51:22 root [~]$ grep Notif /var/log/vdsm/vdsm.log
Thread-268::DEBUG::2015-07-30
10:41:58,599::__init__::206::jsonrpc.Notification::(emit) Sending event
{"params": {"notify_time": 4297322880, "b0f37f43-ff02-4dbf-ba8c-dfcc0f5056bb":
{"status": "Powering up", "displayInfo": [{"tlsPort": "5901", "ipAddress": "0",
"type": "spice", "port": "5900"}], "hash": "-925049597309698524", "displayIp":
"0", "displayPort": "5900", "displaySecurePort": "5901", "timeOffset": "0",
"pauseCode": "NOERR", "vcpuQuota": "-1", "cpuUser": "0.00", "monitorResponse":
"0", "elapsedTime": "0", "displayType": "qxl", "cpuSys": "0.00", "clientIp":
"", "vcpuPeriod": 100000}}, "jsonrpc": "2.0", "method":
"|virt|VM_status|b0f37f43-ff02-4dbf-ba8c-dfcc0f5056bb"}
libvirtEventLoop::DEBUG::2015-07-30
10:47:32,559::__init__::206::jsonrpc.Notification::(emit) Sending event
{"params": {"notify_time": 4297656840, "b0f37f43-ff02-4dbf-ba8c-dfcc0f5056bb":
{"status": "Paused", "ioerror": {"alias": "virtio-disk0", "name": "vda",
"path":
"/rhev/data-center/00000001-0001-0001-0001-0000000001e8/bbed5784-b0ee-4a0a-aff2-801da0bcf39e/images/bb026109-3886-438a-be55-37797c2bbfb0/667fe374-53ed-4498-a388-c90acf3d4659"},
"pauseCode": "EOTHER"}}, "jsonrpc": "2.0", "method":
"|virt|VM_status|b0f37f43-ff02-4dbf-ba8c-dfcc0f5056bb"}
--
To view, visit https://gerrit.ovirt.org/43312
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: Iaa4be90f1267e82b8af2abb36c06cfd9a70fb558
Gerrit-PatchSet: 22
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Francesco Romani <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Michal Skrivanek <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: [email protected]
Gerrit-HasComments: No
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches