We have a new 4.1.1 cluster setup with the OVS switch type. Migration of VM's that have a console / graphics setup is failing. Migration of VM's that run headless succeeds. The red flag in vdsm.log on the source is: libvirtError: unsupported configuration: graphics 'listen' attribute '192.168.55.82' must match 'address' attribute of first listen element (found '192.168.55.84') This happens when the console is set to either VNC or SPICE. Please see below for larger excerpts from vdsm.log on the source and destination. Any help would be greatly appreciated. Hopefully there's just a configuration option I'm missing to enable migration of consoles with OVS networks. Many thanks, Devin SOURCE: ------ 2017-03-29 09:53:30,314-0400 INFO (jsonrpc/5) [vdsm.api] START migrate args=(<virt.vm.Vm object at 0x37914d0>, {u'incomingLimit': 2, u'src': u'192.168.55.82', u'dstqemu': u'192.168.55.84', u'autoConverge': u'false', u'tunneled': u'false', u'en ableGuestEvents': False, u'dst': u'192.168.55.84:54321', u'vmId': u'cf9c5dbf-3924-47c6-b323-22ac90a1f682', u'abortOnError': u'true', u'outgoingLimit': 2, u'compressed': u'false', u'maxBandwidth': 5000, u'method': u'online', 'mode': 'remote'}) k wargs={} (api:37) 2017-03-29 09:53:30,315-0400 INFO (jsonrpc/5) [vdsm.api] FINISH migrate return={'status': {'message': 'Migration in progress', 'code': 0}, 'progress': 0} (api:43) 2017-03-29 09:53:30,315-0400 INFO (jsonrpc/5) [jsonrpc.JsonRpcServer] RPC call VM.migrate succeeded in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,444-0400 INFO (Reactor thread) [ProtocolDetector.AcceptorImpl] Accepted connection from ::1:52494 (protocoldetector:72) 2017-03-29 09:53:30,450-0400 INFO (Reactor thread) [ProtocolDetector.Detector] Detected protocol stomp from ::1:52494 (protocoldetector:127) 2017-03-29 09:53:30,450-0400 INFO (Reactor thread) [Broker.StompAdapter] Processing CONNECT request (stompreactor:102) 2017-03-29 09:53:30,451-0400 INFO (JsonRpc (StompReactor)) [Broker.StompAdapter] Subscribe command received (stompreactor:129) 2017-03-29 09:53:30,628-0400 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call Host.getHardwareInfo succeeded in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,630-0400 INFO (jsonrpc/7) [dispatcher] Run and protect: repoStats(options=None) (logUtils:51) 2017-03-29 09:53:30,631-0400 INFO (jsonrpc/7) [dispatcher] Run and protect: repoStats, Return response: {u'016ceee8-9117-4e8a-b611-f58f6763a098': {'code': 0, 'actual': True, 'version': 4, 'acquired': True, 'delay': '0.000226545', 'lastCheck': '3.2', 'valid': True}, u'2438f819-e7f5-4bb1-ad0d-5349fa371e6e': {'code': 0, 'actual': True, 'version': 0, 'acquired': True, 'delay': '0.000232943', 'lastCheck': '3.1', 'valid': True}, u'48d4f45d-0bdd-4f4a-90b6-35efe2da935a': {'code': 0, 'actual ': True, 'version': 4, 'acquired': True, 'delay': '0.000612878', 'lastCheck': '8.3', 'valid': True}} (logUtils:54) 2017-03-29 09:53:30,631-0400 INFO (jsonrpc/7) [jsonrpc.JsonRpcServer] RPC call Host.getStorageRepoStats succeeded in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,701-0400 INFO (migsrc/cf9c5dbf) [virt.vm] (vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682') Creation of destination VM took: 0 seconds (migration:455) 2017-03-29 09:53:30,701-0400 INFO (migsrc/cf9c5dbf) [virt.vm] (vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682') starting migration to qemu+tls://192.168.55.84/system with miguri tcp://192.168.55.84 (migration:480) 2017-03-29 09:53:31,120-0400 ERROR (migsrc/cf9c5dbf) [virt.vm] (vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682') unsupported configuration: graphics 'listen' attribute '192.168.55.82' must match 'address' attribute of first listen element (found '1 92.168.55.84') (migration:287) 2017-03-29 09:53:31,206-0400 ERROR (migsrc/cf9c5dbf) [virt.vm] (vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682') Failed to migrate (migration:429) Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 411, in run self._startUnderlyingMigration(time.time()) File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 489, in _startUnderlyingMigration self._perform_with_downtime_thread(duri, muri) File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 555, in _perform_with_downtime_thread self._perform_migration(duri, muri) File "/usr/lib/python2.7/site-packages/vdsm/virt/migration.py", line 528, in _perform_migration self._vm._dom.migrateToURI3(duri, params, flags) File "/usr/lib/python2.7/site-packages/vdsm/virt/virdomain.py", line 69, in f ret = attr(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper ret = f(*args, **kwargs) File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 941, in wrapper return func(inst, *args, **kwargs) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1939, in migrateToURI3 if ret == -1: raise libvirtError ('virDomainMigrateToURI3() failed', dom=self) libvirtError: unsupported configuration: graphics 'listen' attribute '192.168.55.82' must match 'address' attribute of first listen element (found '192.168.55.84') ------ DESTINATION: ------ 2017-03-29 09:53:30,040-0400 INFO (Reactor thread) [ProtocolDetector.AcceptorImpl] Accepted connection from ::1:58476 (protocoldetector:72) 2017-03-29 09:53:30,046-0400 INFO (Reactor thread) [ProtocolDetector.Detector] Detected protocol stomp from ::1:58476 (protocoldetector:127) 2017-03-29 09:53:30,047-0400 INFO (Reactor thread) [Broker.StompAdapter] Processing CONNECT request (stompreactor:102) 2017-03-29 09:53:30,047-0400 INFO (JsonRpc (StompReactor)) [Broker.StompAdapter] Subscribe command received (stompreactor:129) 2017-03-29 09:53:30,195-0400 INFO (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC call Host.getHardwareInfo succeeded in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,198-0400 INFO (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call VM.getStats failed (error 1) in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,316-0400 INFO (Reactor thread) [ProtocolDetector.AcceptorImpl] Accepted connection from ::ffff:192.168.55.82:53024 (protocoldetector:72) 2017-03-29 09:53:30,321-0400 INFO (Reactor thread) [ProtocolDetector.Detector] Detected protocol stomp from ::ffff:192.168.55.82:53024 (protocoldetector:127) 2017-03-29 09:53:30,322-0400 INFO (Reactor thread) [Broker.StompAdapter] Processing CONNECT request (stompreactor:102) 2017-03-29 09:53:30,322-0400 INFO (JsonRpc (StompReactor)) [Broker.StompAdapter] Subscribe command received (stompreactor:129) 2017-03-29 09:53:30,506-0400 INFO (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call Host.ping succeeded in 0.00 seconds (__init__:515) 2017-03-29 09:53:30,530-0400 INFO (jsonrpc/4) [vdsm.api] START __init__ args=(<virt.vm.Vm object at 0x2cfea90>, <clientIF.clientIF object at 0x7fb26801e650>, {u'guestFQDN': u'lnx16.classe.cornell.edu', u'acpiEnable': u'true', u'emulatedMachine': u'pc-i440fx-rhel7.3.0', u'afterMigrationStatus': u'', u'enableGuestEvents': False, u'vmId': u'cf9c5dbf-3924-47c6-b323-22ac90a1f682', u'elapsedTimeOffset': 67.87702083587646, u'guestDiskMapping': {u'0QEMU_QEMU_HARDDISK_21d18729-279f-435b-9': {u'name': u'/dev/sda'}, u'QEMU_DVD-ROM_QM00003': {u'name': u'/dev/sr0'}}, u'transparentHugePages': u'true', u'timeOffset': u'0', u'cpuType': u'Haswell-noTSX', u'custom': {u'device_db4d6de5-03d3-46e0-9a92-3044e17b50fcdevice_8ebf0ec2-9d84-4c8f-b83e-cac1ddfee2e0': u"VmDevice:{id='VmDeviceId:{deviceId='8ebf0ec2-9d84-4c8f-b83e-cac1ddfee2e0', vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682'}', device='unix', type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0, controller=0, type=virtio-serial, po rt=1}', managed='false', plugged='true', readOnly='false', deviceAlias='channel0', customProperties='[]', snapshotId='null', logicalName='null', hostDevice='null'}", u'device_db4d6de5-03d3-46e0-9a92-3044e17b50fc': u"VmDevice:{id='VmDeviceId:{deviceId='db4d6de5-03d3-46e0-9a92-3044e17b50fc', vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682'}', device='ide', type='CONTROLLER', bootOrder='0', specParams='[]', address='{slot=0x01, bus=0x00, domain=0x0000, type=pci, function=0x1}', managed='false', plugged='true', readOnly='false', deviceAlias='ide', customProperties='[]', snapshotId='null', logicalName='null', hostDevice='null'}", u'device_db4d6de5-03d3-46e0-9a92-3044e17b50fcdevice_8ebf0ec2-9d84-4c8f-b83e-cac1ddfee2e0device_88d0b21d-8559-44bf-890d-6956d2a8a3d7device_100c3618-b264-4d1b-852c-31e72704939e': u"VmDevice:{id='VmDeviceId:{deviceId='100c3618-b264-4d1b-852c-31e72704939e', vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682'}', device='tablet', type='UNKNOWN', bootOrder='0', specParams=' []', address='{bus=0, type=usb, port=1}', managed='false', plugged='true', readOnly='false', deviceAlias='input0', customProperties='[]', snapshotId='null', logicalName='null', hostDevice='null'}", u'device_db4d6de5-03d3-46e0-9a92-3044e17b50fcdevice_8ebf0ec2-9d84-4c8f-b83e-cac1ddfee2e0device_88d0b21d-8559-44bf-890d-6956d2a8a3d7': u"VmDevice:{id='VmDeviceId:{deviceId='88d0b21d-8559-44bf-890d-6956d2a8a3d7', vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682'}', device='unix', type='CHANNEL', bootOrder='0', specParams='[]', address='{bus=0, controller=0, type=virtio-serial, port=2}', managed='false', plugged='true', readOnly='false', deviceAlias='channel1', customProperties='[]', snapshotId='null', logicalName='null', hostDevice='null'}"}, u'pauseCode': u'NOERR', u'migrationDest': u'libvirt', u'guestNumaNodes': [{u'nodeIndex': 0, u'cpus': u'0', u'memory': u'1024'}], u'display': u'qxl', u'smp': u'1', u'vmType': u'kvm', u'_srcDomXML': u'<domain type=\'kvm\' id=\'7\'>\n <name>lnx16</name \n <uuid>cf9c5dbf-3924-47c6-b323-22ac90a1f682</uuid>\n <metadata xmlns:ovirt="http://ovirt.org/vm/tune/1.0">\n <ovirt:qos/>\n </metadata>\n <maxMemory slots=\'16\' unit=\'KiB\'>4194304</maxMemory>\n <memory unit=\'KiB\'>1048576</memory>\n <currentMemory unit=\'KiB\'>1048576</currentMemory>\n <vcpu placement=\'static\' current=\'1\'>16</vcpu>\n <cputune>\n <shares>1020</shares>\n </cputune>\n <resource>\n <partition>/machine</partition>\n </resource>\n <sysinfo type=\'smbios\'>\n <system>\n <entry name=\'manufacturer\'>oVirt</entry>\n <entry name=\'product\'>oVirt Node</entry>\n <entry name=\'version\'>7.3-4.sl7</entry>\n <entry name=\'serial\'>A66BD1AB-D252-11E6-9BD8-0090FAF3D77A</entry>\n <entry name=\'uuid\'>cf9c5dbf-3924-47c6-b323-22ac90a1f682</entry>\n </system>\n </sysinfo>\n <os>\n <type arch=\'x86_64\' machine=\'pc-i440fx-rhel7.3.0\'>hvm</type>\n <smbios mode=\'sysinfo\'/>\n </os>\n <features>\n <acpi/> \n </features>\n <cpu mode=\'custom\' match=\'exact\'>\n <model fallback=\'allow\'>Haswell-noTSX</model>\n <topology sockets=\'16\' cores=\'1\' threads=\'1\'/>\n <numa>\n <cell id=\'0\' cpus=\'0\' memory=\'1048576\' unit=\'KiB\'/>\n </numa>\n </cpu>\n <clock offset=\'variable\' adjustment=\'0\' basis=\'utc\'>\n <timer name=\'rtc\' tickpolicy=\'catchup\'/>\n <timer name=\'pit\' tickpolicy=\'delay\'/>\n <timer name=\'hpet\' present=\'no\'/>\n </clock>\n <on_poweroff>destroy</on_poweroff>\n <on_reboot>restart</on_reboot>\n <on_crash>destroy</on_crash>\n <devices>\n <emulator>/usr/libexec/qemu-kvm</emulator>\n <disk type=\'file\' device=\'cdrom\'>\n <driver name=\'qemu\' type=\'raw\'/>\n <source startupPolicy=\'optional\'/>\n <backingStore/>\n <target dev=\'hdc\' bus=\'ide\'/>\n <readonly/>\n <alias name=\'ide0-1-0\'/>\n <address type=\'drive\' controller=\'0\' bus=\'1\' target=\'0\' unit=\'0\'/>\n </ disk>\n <disk type=\'block\' device=\'disk\' snapshot=\'no\'>\n <driver name=\'qemu\' type=\'raw\' cache=\'none\' error_policy=\'stop\' io=\'native\'/>\n <source dev=\'/rhev/data-center/00000001-0001-0001-0001-000000000311/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794\'/>\n <backingStore/>\n <target dev=\'sda\' bus=\'scsi\'/>\n <serial>21d18729-279f-435b-90ab-a2995f041bc6</serial>\n <boot order=\'1\'/>\n <alias name=\'scsi0-0-0-0\'/>\n <address type=\'drive\' controller=\'0\' bus=\'0\' target=\'0\' unit=\'0\'/>\n </disk>\n <controller type=\'usb\' index=\'0\' model=\'piix3-uhci\'>\n <alias name=\'usb\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x01\' function=\'0x2\'/>\n </controller>\n <controller type=\'scsi\' index=\'0\' model=\'virtio-scsi\'>\n <alias name=\'scsi0\'/>\n <address type=\'pci\' domain=\'0x00 00\' bus=\'0x00\' slot=\'0x04\' function=\'0x0\'/>\n </controller>\n <controller type=\'virtio-serial\' index=\'0\' ports=\'16\'>\n <alias name=\'virtio-serial0\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x05\' function=\'0x0\'/>\n </controller>\n <controller type=\'pci\' index=\'0\' model=\'pci-root\'>\n <alias name=\'pci.0\'/>\n </controller>\n <controller type=\'ide\' index=\'0\'>\n <alias name=\'ide\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x01\' function=\'0x1\'/>\n </controller>\n <interface type=\'bridge\'>\n <mac address=\'00:1a:4a:16:01:51\'/>\n <source bridge=\'vdsmbr_ar07Qseb\'/>\n <virtualport type=\'openvswitch\'>\n <parameters interfaceid=\'d6b1c75a-de66-4528-ad4a-49996403e6f8\'/>\n </virtualport>\n <target dev=\'vnet0\'/>\n <model type=\'virtio\'/>\n <filterref filter=\'vdsm-no-mac-spoofing\'/>\n <link state=\'up\'/>\n <alias name=\'net0\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x03\' function=\'0x0\'/>\n </interface>\n <channel type=\'unix\'>\n <source mode=\'bind\' path=\'/var/lib/libvirt/qemu/channels/cf9c5dbf-3924-47c6-b323-22ac90a1f682.com.redhat.rhevm.vdsm\'/>\n <target type=\'virtio\' name=\'com.redhat.rhevm.vdsm\' state=\'connected\'/>\n <alias name=\'channel0\'/>\n <address type=\'virtio-serial\' controller=\'0\' bus=\'0\' port=\'1\'/>\n </channel>\n <channel type=\'unix\'>\n <source mode=\'bind\' path=\'/var/lib/libvirt/qemu/channels/cf9c5dbf-3924-47c6-b323-22ac90a1f682.org.qemu.guest_agent.0\'/>\n <target type=\'virtio\' name=\'org.qemu.guest_agent.0\' state=\'connected\'/>\n <alias name=\'channel1\'/>\n <address type=\'virtio-serial\' controller=\'0\' bus=\'0\' port=\'2\'/>\n </channel>\n <channel type=\'spicevmc\'>\n <target type=\'virtio\' name=\'com.redhat.spice.0\' state=\'con nected\'/>\n <alias name=\'channel2\'/>\n <address type=\'virtio-serial\' controller=\'0\' bus=\'0\' port=\'3\'/>\n </channel>\n <input type=\'mouse\' bus=\'ps2\'>\n <alias name=\'input0\'/>\n </input>\n <input type=\'keyboard\' bus=\'ps2\'>\n <alias name=\'input1\'/>\n </input>\n <graphics type=\'spice\' tlsPort=\'5900\' autoport=\'yes\' listen=\'192.168.55.82\' defaultMode=\'secure\' passwdValidTo=\'1970-01-01T00:00:01\'>\n <listen type=\'address\' address=\'192.168.55.82\'/>\n <channel name=\'main\' mode=\'secure\'/>\n <channel name=\'display\' mode=\'secure\'/>\n <channel name=\'inputs\' mode=\'secure\'/>\n <channel name=\'cursor\' mode=\'secure\'/>\n <channel name=\'playback\' mode=\'secure\'/>\n <channel name=\'record\' mode=\'secure\'/>\n <channel name=\'smartcard\' mode=\'secure\'/>\n <channel name=\'usbredir\' mode=\'secure\'/>\n </graphics>\n <video>\n <model type=\'qxl\' ram=\'65536\' vram=\'8192\' vgamem=\'16384\' heads=\'1\' primary=\'yes\'/>\n <alias name=\'video0\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x02\' function=\'0x0\'/>\n </video>\n <memballoon model=\'virtio\'>\n <alias name=\'balloon0\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x06\' function=\'0x0\'/>\n </memballoon>\n <rng model=\'virtio\'>\n <backend model=\'random\'>/dev/urandom</backend>\n <alias name=\'rng0\'/>\n <address type=\'pci\' domain=\'0x0000\' bus=\'0x00\' slot=\'0x07\' function=\'0x0\'/>\n </rng>\n </devices>\n <seclabel type=\'none\' model=\'none\'/>\n <seclabel type=\'dynamic\' model=\'dac\' relabel=\'yes\'>\n <label>+265:+107</label>\n <imagelabel>+265:+107</imagelabel>\n </seclabel>\n</domain>\n', u'memSize': 1024, u'smpCoresPerSocket': u'1', u'vmName': u'lnx16', u'nice': u'0', u'username': u'(unknown)', u'maxMemSize': 4096, u'bootMenuEnable': u'false ', u'smpThreadsPerCore': u'1', u'smartcardEnable': u'false', u'clientIp': u'', u'guestAgentAPIVersion': 3, u'kvmEnable': u'true', u'pitReinjection': u'false', u'displayNetwork': u'ovirtmgmt', u'devices': [{u'target': 1048576, u'alias': u'balloon0', u'specParams': {u'model': u'virtio'}, u'deviceId': u'ee3ebcbf-08d9-481e-907c-efe32b8ee869', u'address': {u'function': u'0x0', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'slot': u'0x06'}, u'device': u'memballoon', u'type': u'balloon'}, {u'alias': u'rng0', u'specParams': {u'source': u'urandom'}, u'deviceId': u'0c522e52-a4c9-4bd9-a367-7b6fddedc931', u'address': {u'slot': u'0x07', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'virtio', u'model': u'virtio', u'type': u'rng'}, {u'index': u'0', u'alias': u'usb', u'specParams': {}, u'deviceId': u'3d4cbbda-4aa6-424e-95c6-bfae37e466b7', u'address': {u'slot': u'0x01', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x2'}, u'device': u'usb', u'model': u'piix3-uhci', u'type': u'controller'}, {u'index': u'0', u'alias': u'scsi0', u'specParams': {}, u'deviceId': u'5f8aa383-ee7b-4dd8-9226-1da250ef1c44', u'address': {u'slot': u'0x04', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'scsi', u'model': u'virtio-scsi', u'type': u'controller'}, {u'alias': u'virtio-serial0', u'specParams': {}, u'deviceId': u'553f9e1c-d811-4cb6-82bc-d567cd8e50bd', u'address': {u'slot': u'0x05', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'virtio-serial', u'type': u'controller'}, {u'alias': u'video0', u'specParams': {u'vram': u'8192', u'vgamem': u'16384', u'heads': u'1', u'ram': u'65536'}, u'deviceId': u'dc867dd0-6752-4a79-89bb-4d91ff509622', u'address': {u'slot': u'0x02', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'qxl', u'type': u'video'}, {u'device': u'spice', u'specParams': {u' fileTransferEnable': u'true', u'spiceSecureChannels': u'smain,sinputs,scursor,splayback,srecord,sdisplay,ssmartcard,susbredir', u'displayNetwork': u'ovirtmgmt', u'displayIp': u'192.168.55.82', u'copyPasteEnable': u'true'}, u'type': u'graphics', u'deviceId': u'1ffcdab1-51ac-4f2f-a1c2-53376f4c92f5', u'tlsPort': u'5900'}, {u'nicModel': u'pv', u'macAddr': u'00:1a:4a:16:01:51', u'linkActive': True, u'network': u'classepublic', u'alias': u'net0', u'filter': u'vdsm-no-mac-spoofing', u'specParams': {u'inbound': {}, u'outbound': {}}, u'deviceId': u'5110646a-b5d4-4b62-8188-b18cec8c15df', u'address': {u'slot': u'0x03', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x0'}, u'device': u'bridge', u'type': u'interface', u'name': u'vnet0'}, {u'index': u'2', u'iface': u'ide', u'name': u'hdc', u'alias': u'ide0-1-0', u'specParams': {u'path': u''}, u'readonly': u'True', u'deviceId': u'75deba88-b39d-478c-83d3-cc535b43bb28', u'address': {u'bus': u'1', u'controller': u'0', u'type': u'drive', u'target': u'0', u'unit': u'0'}, u'device': u'cdrom', u'shared': u'false', u'path': u'', u'type': u'disk'}, {u'poolID': u'00000001-0001-0001-0001-000000000311', u'volumeInfo': {u'domainID': u'016ceee8-9117-4e8a-b611-f58f6763a098', u'volType': u'path', u'leaseOffset': 111149056, u'volumeID': u'67b12700-5faf-49b2-af40-6178023b3794', u'leasePath': u'/dev/016ceee8-9117-4e8a-b611-f58f6763a098/leases', u'imageID': u'21d18729-279f-435b-90ab-a2995f041bc6', u'path': u'/rhev/data-center/mnt/blockSD/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794'}, u'index': 0, u'iface': u'scsi', u'apparentsize': u'107374182400', u'alias': u'scsi0-0-0-0', u'imageID': u'21d18729-279f-435b-90ab-a2995f041bc6', u'readonly': u'False', u'shared': u'false', u'truesize': u'107374182400', u'type': u'disk', u'domainID': u'016ceee8-9117-4e8a-b611-f58f6763a098', u'reqsize': u'0', u'format': u'raw', u'deviceId': u'21d18729-279 f-435b-90ab-a2995f041bc6', u'address': {u'bus': u'0', u'controller': u'0', u'type': u'drive', u'target': u'0', u'unit': u'0'}, u'device': u'disk', u'path': u'/rhev/data-center/00000001-0001-0001-0001-000000000311/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794', u'propagateErrors': u'off', u'optional': u'false', u'name': u'sda', u'bootOrder': u'1', u'volumeID': u'67b12700-5faf-49b2-af40-6178023b3794', u'specParams': {}, u'discard': False, u'volumeChain': [{u'domainID': u'016ceee8-9117-4e8a-b611-f58f6763a098', u'volType': u'path', u'leaseOffset': 111149056, u'volumeID': u'67b12700-5faf-49b2-af40-6178023b3794', u'leasePath': u'/dev/016ceee8-9117-4e8a-b611-f58f6763a098/leases', u'imageID': u'21d18729-279f-435b-90ab-a2995f041bc6', u'path': u'/rhev/data-center/mnt/blockSD/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794'}]}, {u'device': u'ide' , u'alias': u'ide', u'type': u'controller', u'address': {u'slot': u'0x01', u'bus': u'0x00', u'domain': u'0x0000', u'type': u'pci', u'function': u'0x1'}}, {u'device': u'unix', u'alias': u'channel0', u'type': u'channel', u'address': {u'bus': u'0', u'controller': u'0', u'type': u'virtio-serial', u'port': u'1'}}, {u'device': u'unix', u'alias': u'channel1', u'type': u'channel', u'address': {u'bus': u'0', u'controller': u'0', u'type': u'virtio-serial', u'port': u'2'}}, {u'device': u'spicevmc', u'alias': u'channel2', u'type': u'channel', u'address': {u'bus': u'0', u'controller': u'0', u'type': u'virtio-serial', u'port': u'3'}}], u'memGuaranteedSize': 1024, u'status': u'Up', u'maxVCpus': u'16', u'guestIPs': u'128.84.46.16 192.168.122.1', u'statusTime': u'4372846370', u'maxMemSlots': 16}, False) kwargs={} (api:37) 2017-03-29 09:53:30,531-0400 INFO (jsonrpc/4) [vdsm.api] FINISH __init__ return=None (api:43) 2017-03-29 09:53:30,533-0400 INFO (vm/cf9c5dbf) [virt.vm] (vmId='cf9c5dbf-3924-47c6-b323-22ac90a1f682') VM wrapper has started (vm:1915) 2017-03-29 09:53:30,534-0400 INFO (vm/cf9c5dbf) [dispatcher] Run and protect: getVolumeSize(sdUUID=u'016ceee8-9117-4e8a-b611-f58f6763a098', spUUID=u'00000001-0001-0001-0001-000000000311', imgUUID=u'21d18729-279f-435b-90ab-a2995f041bc6', volUUID=u'67b12700-5faf-49b2-af40-6178023b3794', options=None) (logUtils:51) 2017-03-29 09:53:30,535-0400 INFO (vm/cf9c5dbf) [dispatcher] Run and protect: getVolumeSize, Return response: {'truesize': '107374182400', 'apparentsize': '107374182400'} (logUtils:54) 2017-03-29 09:53:30,535-0400 INFO (vm/cf9c5dbf) [vds] prepared volume path: (clientIF:374) 2017-03-29 09:53:30,535-0400 INFO (vm/cf9c5dbf) [dispatcher] Run and protect: prepareImage(sdUUID=u'016ceee8-9117-4e8a-b611-f58f6763a098', spUUID=u'00000001-0001-0001-0001-000000000311', imgUUID=u'21d18729-279f-435b-90ab-a2995f041bc6', leafUUID=u'67b12700-5faf-49b2-af40-6178023b3794', allowIllegal=False) (logUtils:51) 2017-03-29 09:53:30,578-0400 INFO (vm/cf9c5dbf) [storage.LVM] Activating lvs: vg=016ceee8-9117-4e8a-b611-f58f6763a098 lvs=['67b12700-5faf-49b2-af40-6178023b3794'] (lvm:1289) 2017-03-29 09:53:30,643-0400 INFO (vm/cf9c5dbf) [storage.LVM] Refreshing lvs: vg=016ceee8-9117-4e8a-b611-f58f6763a098 lvs=['leases'] (lvm:1285) 2017-03-29 09:53:30,680-0400 INFO (vm/cf9c5dbf) [dispatcher] Run and protect: prepareImage, Return response: {'info': {'domainID': u'016ceee8-9117-4e8a-b611-f58f6763a098', 'volType': 'path', 'leaseOffset': 111149056, 'path': u'/rhev/data-center/mnt/blockSD/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794', 'volumeID': '67b12700-5faf-49b2-af40-6178023b3794', 'leasePath': '/dev/016ceee8-9117-4e8a-b611-f58f6763a098/leases', 'imageID': u'21d18729-279f-435b-90ab-a2995f041bc6'}, 'path': u'/rhev/data-center/00000001-0001-0001-0001-000000000311/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794', 'imgVolumesInfo': [{'domainID': u'016ceee8-9117-4e8a-b611-f58f6763a098', 'volType': 'path', 'leaseOffset': 111149056, 'path': u'/rhev/data-center/mnt/blockSD/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2 -af40-6178023b3794', 'volumeID': '67b12700-5faf-49b2-af40-6178023b3794', 'leasePath': '/dev/016ceee8-9117-4e8a-b611-f58f6763a098/leases', 'imageID': u'21d18729-279f-435b-90ab-a2995f041bc6'}]} (logUtils:54) 2017-03-29 09:53:30,681-0400 INFO (vm/cf9c5dbf) [vds] prepared volume path: /rhev/data-center/00000001-0001-0001-0001-000000000311/016ceee8-9117-4e8a-b611-f58f6763a098/images/21d18729-279f-435b-90ab-a2995f041bc6/67b12700-5faf-49b2-af40-6178023b3794 (clientIF:374) 2017-03-29 09:53:30,698-0400 INFO (jsonrpc/4) [jsonrpc.JsonRpcServer] RPC call VM.migrationCreate succeeded in 0.18 seconds (__init__:515) 2017-03-29 09:53:30,849-0400 INFO (Reactor thread) [ProtocolDetector.AcceptorImpl] Accepted connection from ::1:58478 (protocoldetector:72) 2017-03-29 09:53:30,854-0400 INFO (Reactor thread) [ProtocolDetector.Detector] Detected protocol stomp from ::1:58478 (protocoldetector:127) 2017-03-29 09:53:30,855-0400 INFO (Reactor thread) [Broker.StompAdapter] Processing CONNECT request (stompreactor:102) 2017-03-29 09:53:30,855-0400 INFO (JsonRpc (StompReactor)) [Broker.StompAdapter] Subscribe command received (stompreactor:129) _______________________________________________ Users mailing list Users http://lists.ovirt.org/mailman/listinfo/users
Created attachment 1271643 [details] Fix for graphics listen attribute This bug happens because in generated xml file's graphics element, there's both a listen attribute and a listen element. The listen element has its address properly changed in vm_migration_hook, but the graphics listen attribute is not changed. This patch fixes the bug by also setting the graphics listen attribute. Tested on our 4.1.1 cluster and the first change in the patch works perfectly. I'm unsure if the second change in the patch is correct, because we don't use that codepath. Someone more familiar with the code should check it.
(In reply to Jonathan Dieter from comment #1) > Created attachment 1271643 [details] > Fix for graphics listen attribute > > This bug happens because in generated xml file's graphics element, there's > both a listen attribute and a listen element. The listen element has its > address properly changed in vm_migration_hook, but the graphics listen > attribute is not changed. This patch fixes the bug by also setting the > graphics listen attribute. > > Tested on our 4.1.1 cluster and the first change in the patch works > perfectly. I'm unsure if the second change in the patch is correct, because > we don't use that codepath. Someone more familiar with the code should > check it. Hi Jonathan, Thank you for the help on this. Will you be interested to propose the patch officially through gerrit? https://gerrit.ovirt.org https://www.ovirt.org/develop/developer-guide/vdsm/developers/#sending-patches Thanks, Edy.
Done (I think) https://gerrit.ovirt.org/#/c/75715/
Can you please ensure that your patch is published, and not in DRAFT state? I get "The page you requested was not found, or you do not have permission to view this page" trying to view it.
Ok, I think I got it. When I check the link now after logging out of Gerrit, I can see it. Please let me know if I've still somehow managed to get it wrong.
Migration for regular cluster switch type(Linux Bridge) is working as expected. So no regression here in regular migration with this fix on - 4.1.2.1-0.1.el7 Jonathan, does the migration worked for you on ovs type cluster and network with this fix? please approve.
Yes, migration does work for us using an ovs type cluster with this fix.
(In reply to Jonathan Dieter from comment #7) > Yes, migration does work for us using an ovs type cluster with this fix. Thank you for confirming this.