
--_000_CO2PR0801MB074315648CEBF2C79BEFB95DA69D0CO2PR0801MB0743_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGVsbG8sDQoNCkZvbGxvd2luZyB1cCBvbiB0aGUgdXNlcnMgbGlzdCBhcyBvcHBvc2VkIHRvIEJ1 Z3ppbGxhLg0KDQpUaGFua3MgZm9yIGhlbHBpbmcgb3V0IHdpdGggdGhpcywgbXVjaCBhcHByZWNp YXRlZC4gSSB3YXMgYWJsZSB0byBnZXQgdGhlIGN1c3RvbSBwcm9wZXJ0eSBhZGRlZCBpbiB0aGUg ZW5naW5lICYgSSBjYW4gc2VsZWN0IHRoZSBwcm9wZXJ0eSwgdGhlbiBlbnRlciBpbiB0aGUgSVDi gJlzLg0KDQpJ4oCZbSBub3Qgc3VyZSBpZiBJIGNyZWF0ZWQgdGhlIGhvb2sgY29ycmVjdGx5LCBh cyBpdCBkb2VzbuKAmXQgYXBwZWFyIHRvIGhhdmUgbWFkZSBhbnkgY2hhbmdlcyBzbyBmYXIsIG9u bHkgb25lIElQIGNvbW11bmljYXRlcy4NCg0KSSBjcmVhdGVkIGEgZmlsZSBjYWxsZWQg4oCcbXVs dGlpcHPigJ0gaW4gdGhlIC91c3IvbGliZXhlYy92ZHNtL2hvb2tzL2JlZm9yZV92bV9zdGFydC8g ZGlyZWN0b3J5IGNvbnRhaW5pbmcgdGhlIGluZm8gZnJvbSB0aGUgQnVnemlsbGEgdGhyZWFkLg0K DQpJcyB0aGVyZSBhbm90aGVyIHN0ZXAgSSBzaG91bGQgdGFrZSBvciBwZXJoYXBzIEnigJltIG1p c3Npbmcgc29tZXRoaW5nPw0K --_000_CO2PR0801MB074315648CEBF2C79BEFB95DA69D0CO2PR0801MB0743_ Content-Type: text/html; charset="utf-8" Content-ID: <6CE493C634FDC34584A73FE45CF05C03@sct-15-1-659-11-msonline-outlook-7ade0.templateTenant> Content-Transfer-Encoding: base64 PGh0bWwgeG1sbnM6bz0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6b2ZmaWNlIiB4 bWxuczp3PSJ1cm46c2NoZW1hcy1taWNyb3NvZnQtY29tOm9mZmljZTp3b3JkIiB4bWxuczptPSJo dHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL29mZmljZS8yMDA0LzEyL29tbWwiIHhtbG5zPSJo dHRwOi8vd3d3LnczLm9yZy9UUi9SRUMtaHRtbDQwIj4NCjxoZWFkPg0KPG1ldGEgaHR0cC1lcXVp dj0iQ29udGVudC1UeXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPg0KPG1l dGEgbmFtZT0iR2VuZXJhdG9yIiBjb250ZW50PSJNaWNyb3NvZnQgV29yZCAxNSAoZmlsdGVyZWQg bWVkaXVtKSI+DQo8c3R5bGU+PCEtLQ0KLyogRm9udCBEZWZpbml0aW9ucyAqLw0KQGZvbnQtZmFj ZQ0KCXtmb250LWZhbWlseToiQ2FtYnJpYSBNYXRoIjsNCglwYW5vc2UtMToyIDQgNSAzIDUgNCA2 IDMgMiA0O30NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6Q2FsaWJyaTsNCglwYW5vc2UtMToy IDE1IDUgMiAyIDIgNCAzIDIgNDt9DQovKiBTdHlsZSBEZWZpbml0aW9ucyAqLw0KcC5Nc29Ob3Jt YWwsIGxpLk1zb05vcm1hbCwgZGl2Lk1zb05vcm1hbA0KCXttYXJnaW46MGluOw0KCW1hcmdpbi1i b3R0b206LjAwMDFwdDsNCglmb250LXNpemU6MTEuMHB0Ow0KCWZvbnQtZmFtaWx5OiJDYWxpYnJp IixzYW5zLXNlcmlmO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXBy aW9yaXR5Ojk5Ow0KCWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQph OnZpc2l0ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXByaW9yaXR5 Ojk5Ow0KCWNvbG9yOiM5NTRGNzI7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQouTXNv Q2hwRGVmYXVsdA0KCXttc28tc3R5bGUtdHlwZTpleHBvcnQtb25seTt9DQpAcGFnZSBXb3JkU2Vj dGlvbjENCgl7c2l6ZTo4LjVpbiAxMS4waW47DQoJbWFyZ2luOjEuMGluIDEuMGluIDEuMGluIDEu MGluO30NCmRpdi5Xb3JkU2VjdGlvbjENCgl7cGFnZTpXb3JkU2VjdGlvbjE7fQ0KLS0+PC9zdHls ZT4NCjwvaGVhZD4NCjxib2R5IGxhbmc9IkVOLVVTIiBsaW5rPSJibHVlIiB2bGluaz0iIzk1NEY3 MiI+DQo8ZGl2IGNsYXNzPSJXb3JkU2VjdGlvbjEiPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+SGVs bG8sPC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8cCBj bGFzcz0iTXNvTm9ybWFsIj5Gb2xsb3dpbmcgdXAgb24gdGhlIHVzZXJzIGxpc3QgYXMgb3Bwb3Nl ZCB0byBCdWd6aWxsYS48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpw PjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPlRoYW5rcyBmb3IgaGVscGluZyBvdXQgd2l0aCB0 aGlzLCBtdWNoIGFwcHJlY2lhdGVkLiBJIHdhcyBhYmxlIHRvIGdldCB0aGUgY3VzdG9tIHByb3Bl cnR5IGFkZGVkIGluIHRoZSBlbmdpbmUgJmFtcDsgSSBjYW4gc2VsZWN0IHRoZSBwcm9wZXJ0eSwg dGhlbiBlbnRlciBpbiB0aGUgSVDigJlzLjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+ Jm5ic3A7PC9vOnA+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+SeKAmW0gbm90IHN1cmUgaWYg SSBjcmVhdGVkIHRoZSBob29rIGNvcnJlY3RseSwgYXMgaXQgZG9lc27igJl0IGFwcGVhciB0byBo YXZlIG1hZGUgYW55IGNoYW5nZXMgc28gZmFyLCBvbmx5IG9uZSBJUCBjb21tdW5pY2F0ZXMuPC9w Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8cCBjbGFzcz0i TXNvTm9ybWFsIj5JIGNyZWF0ZWQgYSBmaWxlIGNhbGxlZCDigJxtdWx0aWlwc+KAnSBpbiB0aGUg L3Vzci9saWJleGVjL3Zkc20vaG9va3MvYmVmb3JlX3ZtX3N0YXJ0LyBkaXJlY3RvcnkgY29udGFp bmluZyB0aGUgaW5mbyBmcm9tIHRoZSBCdWd6aWxsYSB0aHJlYWQuPC9wPg0KPHAgY2xhc3M9Ik1z b05vcm1hbCI+PG86cD4mbmJzcDs8L286cD48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5JcyB0 aGVyZSBhbm90aGVyIHN0ZXAgSSBzaG91bGQgdGFrZSBvciBwZXJoYXBzIEnigJltIG1pc3Npbmcg c29tZXRoaW5nPzwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K --_000_CO2PR0801MB074315648CEBF2C79BEFB95DA69D0CO2PR0801MB0743_--

On Dec 15, 2016 22:40, "Bill Bill" <jax2568@outlook.com> wrote: Hello, Following up on the users list as opposed to Bugzilla. Thanks for helping out with this, much appreciated. I was able to get the custom property added in the engine & I can select the property, then enter in the IP’s. I’m not sure if I created the hook correctly, as it doesn’t appear to have made any changes so far, only one IP communicates. I created a file called “multiips” in the /usr/libexec/vdsm/hooks/before_vm_start/ directory containing the info from the Bugzilla thread. Is there another step I should take or perhaps I’m missing something? It should have been enough, but apparently something's missing. Is the multiip script readable and executable? Do you see any errors in vdsm.log when you start the VM? Do you see the requested ips in the output of Virsh -r dumpxml yourvm

--_000_CO2PR0801MB0743C2F7D9B26A3024C65E93A69E0CO2PR0801MB0743_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi Dan, Thanks for getting back to me & for your help. The script is 755 permission= s and oVirt sees it under the host hooks as well. The dump is below: (I replaced our node IP with =93mynodeIP=94 for privacy) I don=92t see the = IP=92s from the custom property listed in the dump and I also don=92t see a= ny errors in the vdsm log. If I grep multiips in the vdsm log I can see ent= ries, but none appear to be errors. Grep vdsm log for before_vm_start shows: Thread-79534::DEBUG::2016-12-18 12:24:45,006::commands::68::root::(execCmd)= /usr/bin/taskset --cpu-list 0-23 /usr/libexec/vdsm/hooks/before_vm_start/m= ultiips (cwd None) Then if I grep the path: cat /var/log/vdsm/vdsm.log | /usr/libexec/vdsm/hooks/before_vm_start/multii= ps Traceback (most recent call last): File "/usr/libexec/vdsm/hooks/before_vm_start/multiips", line 6, in <modu= le> import hooking ImportError: No module named hooking /////////////////////// /////////////////////// <domain type=3D'kvm' id=3D'24'> <name>vpsclass1vm-user2-3</name> <uuid>84100056-5bb7-4904-aff6-ef0a51ffd7b1</uuid> <metadata xmlns:ovirt=3D"http://ovirt.org/vm/tune/1.0"> <ovirt:qos/> </metadata> <maxMemory slots=3D'16' unit=3D'KiB'>4294967296</maxMemory> <memory unit=3D'KiB'>1048576</memory> <currentMemory unit=3D'KiB'>1048576</currentMemory> <vcpu placement=3D'static' current=3D'1'>16</vcpu> <cputune> <shares>1020</shares> </cputune> <resource> <partition>/machine</partition> </resource> <sysinfo type=3D'smbios'> <system> <entry name=3D'manufacturer'>oVirt</entry> <entry name=3D'product'>oVirt Node</entry> <entry name=3D'version'>7-0.1406.el7.centos.2.3</entry> <entry name=3D'serial'>00000000-0000-0000-0000-0CC47A7ED960</entry> <entry name=3D'uuid'>84100056-5bb7-4904-aff6-ef0a51ffd7b1</entry> </system> </sysinfo> <os> <type arch=3D'x86_64' machine=3D'pc-i440fx-rhel7.2.0'>hvm</type> <boot dev=3D'hd'/> <smbios mode=3D'sysinfo'/> </os> <features> <acpi/> </features> <cpu mode=3D'custom' match=3D'exact'> <model fallback=3D'allow'>Haswell-noTSX</model> <topology sockets=3D'16' cores=3D'1' threads=3D'1'/> <numa> <cell id=3D'0' cpus=3D'0' memory=3D'1048576' unit=3D'KiB'/> </numa> </cpu> <clock offset=3D'variable' adjustment=3D'-18000' basis=3D'utc'> <timer name=3D'rtc' tickpolicy=3D'catchup'/> <timer name=3D'pit' tickpolicy=3D'delay'/> <timer name=3D'hpet' present=3D'no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type=3D'file' device=3D'cdrom'> <driver name=3D'qemu' type=3D'raw'/> <source startupPolicy=3D'optional'/> <backingStore/> <target dev=3D'hdc' bus=3D'ide'/> <readonly/> <alias name=3D'ide0-1-0'/> <address type=3D'drive' controller=3D'0' bus=3D'1' target=3D'0' unit= =3D'0'/> </disk> <disk type=3D'file' device=3D'disk' snapshot=3D'no'> <driver name=3D'qemu' type=3D'qcow2' cache=3D'none' error_policy=3D's= top' io=3D'threads'/> <source file=3D'/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610= a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cde= dd039dc/bab16012-9bd5-4005-bee4-2512a8c6c6a3'> <seclabel model=3D'selinux' labelskip=3D'yes'/> </source> <backingStore type=3D'file' index=3D'1'> <format type=3D'raw'/> <source file=3D'/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f6= 10a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8c= dedd039dc/8c053bcf-c1cc-4c7d-80e1-7bd937785fc4'/> <backingStore/> </backingStore> <target dev=3D'vda' bus=3D'virtio'/> <serial>f64b31f1-1e28-4067-9776-c8cdedd039dc</serial> <alias name=3D'virtio-disk0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x06' fu= nction=3D'0x0'/> </disk> <controller type=3D'scsi' index=3D'0' model=3D'virtio-scsi'> <alias name=3D'scsi0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x04' fu= nction=3D'0x0'/> </controller> <controller type=3D'virtio-serial' index=3D'0' ports=3D'16'> <alias name=3D'virtio-serial0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x05' fu= nction=3D'0x0'/> </controller> <controller type=3D'usb' index=3D'0'> <alias name=3D'usb'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' fu= nction=3D'0x2'/> </controller> <controller type=3D'pci' index=3D'0' model=3D'pci-root'> <alias name=3D'pci.0'/> </controller> <controller type=3D'ide' index=3D'0'> <alias name=3D'ide'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' fu= nction=3D'0x1'/> </controller> <interface type=3D'bridge'> <mac address=3D'00:1a:4a:16:01:81'/> <source bridge=3D'Public'/> <target dev=3D'vnet0'/> <model type=3D'virtio'/> <filterref filter=3D'clean-traffic'/> <link state=3D'up'/> <alias name=3D'net0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x03' fu= nction=3D'0x0'/> </interface> <channel type=3D'unix'> <source mode=3D'bind' path=3D'/var/lib/libvirt/qemu/channels/84100056= -5bb7-4904-aff6-ef0a51ffd7b1.com.redhat.rhevm.vdsm'/> <target type=3D'virtio' name=3D'com.redhat.rhevm.vdsm' state=3D'conne= cted'/> <alias name=3D'channel0'/> <address type=3D'virtio-serial' controller=3D'0' bus=3D'0' port=3D'1'= /> </channel> <channel type=3D'unix'> <source mode=3D'bind' path=3D'/var/lib/libvirt/qemu/channels/84100056= -5bb7-4904-aff6-ef0a51ffd7b1.org.qemu.guest_agent.0'/> <target type=3D'virtio' name=3D'org.qemu.guest_agent.0' state=3D'conn= ected'/> <alias name=3D'channel1'/> <address type=3D'virtio-serial' controller=3D'0' bus=3D'0' port=3D'2'= /> </channel> <channel type=3D'spicevmc'> <target type=3D'virtio' name=3D'com.redhat.spice.0' state=3D'disconne= cted'/> <alias name=3D'channel2'/> <address type=3D'virtio-serial' controller=3D'0' bus=3D'0' port=3D'3'= /> </channel> <input type=3D'mouse' bus=3D'ps2'> <alias name=3D'input0'/> </input> <input type=3D'keyboard' bus=3D'ps2'> <alias name=3D'input1'/> </input> <graphics type=3D'vnc' port=3D'5900' autoport=3D'yes' listen=3D'mynodeI= P' keymap=3D'en-us' passwdValidTo=3D'1970-01-01T00:00:01'> <listen type=3D'network' address=3D'mynodeIP' network=3D'vdsm-Public'= /> </graphics> <graphics type=3D'spice' tlsPort=3D'5901' autoport=3D'yes' listen=3D'my= nodeIP' keymap=3D'en-us' defaultMode=3D'secure' passwdValidTo=3D'1970-01-01= T00:00:01'> <listen type=3D'network' address=3D'mynodeIP' network=3D'vdsm-Public'= /> <channel name=3D'main' mode=3D'secure'/> <channel name=3D'display' mode=3D'secure'/> <channel name=3D'inputs' mode=3D'secure'/> <channel name=3D'cursor' mode=3D'secure'/> <channel name=3D'playback' mode=3D'secure'/> <channel name=3D'record' mode=3D'secure'/> <channel name=3D'smartcard' mode=3D'secure'/> <channel name=3D'usbredir' mode=3D'secure'/> </graphics> <video> <model type=3D'qxl' ram=3D'65536' vram=3D'8192' vgamem=3D'16384' head= s=3D'1' primary=3D'yes'/> <alias name=3D'video0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' fu= nction=3D'0x0'/> </video> <memballoon model=3D'virtio'> <alias name=3D'balloon0'/> <address type=3D'pci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x07' fu= nction=3D'0x0'/> </memballoon> </devices> <seclabel type=3D'dynamic' model=3D'selinux' relabel=3D'yes'> <label>system_u:system_r:svirt_t:s0:c310,c350</label> <imagelabel>system_u:object_r:svirt_image_t:s0:c310,c350</imagelabel> </seclabel> <seclabel type=3D'dynamic' model=3D'dac' relabel=3D'yes'> <label>+107:+107</label> <imagelabel>+107:+107</imagelabel> </seclabel> </domain> /////////////////////// /////////////////////// Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=3D550986> for Window= s 10 From: Dan Kenigsberg<mailto:danken@redhat.com> Sent: Sunday, December 18, 2016 10:59 AM To: Bill Bill<mailto:jax2568@outlook.com> Cc: users<mailto:users@ovirt.org>; Dominik Holler<mailto:dholler@redhat.com=
Subject: Re: oVirt multiips hook On Dec 15, 2016 22:40, "Bill Bill" <jax2568@outlook.com<mailto:jax2568@outl= ook.com>> wrote: Hello, Following up on the users list as opposed to Bugzilla. Thanks for helping out with this, much appreciated. I was able to get the c= ustom property added in the engine & I can select the property, then enter = in the IP=92s. I=92m not sure if I created the hook correctly, as it doesn=92t appear to h= ave made any changes so far, only one IP communicates. I created a file called =93multiips=94 in the /usr/libexec/vdsm/hooks/befor= e_vm_start/ directory containing the info from the Bugzilla thread. Is there another step I should take or perhaps I=92m missing something? It should have been enough, but apparently something's missing. Is the multiip script readable and executable? Do you see any errors in vdsm.log when you start the VM? Do you see the requested ips in the output of Virsh -r dumpxml yourvm --_000_CO2PR0801MB0743C2F7D9B26A3024C65E93A69E0CO2PR0801MB0743_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3DWindows-1= 252"> </head> <body> <meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)"> <style><!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri",sans-serif;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:#954F72; text-decoration:underline;} .MsoChpDefault {mso-style-type:export-only;} @page WordSection1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in;} div.WordSection1 {page:WordSection1;} --></style> <div class=3D"WordSection1"> <p class=3D"MsoNormal">Hi Dan,</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Thanks for getting back to me & for your help. T= he script is 755 permissions and oVirt sees it under the host hooks as well= . The dump is below:</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">(I replaced our node IP with =93mynodeIP=94 for priv= acy) I don=92t see the IP=92s from the custom property listed in the dump a= nd I also don=92t see any errors in the vdsm log. If I grep multiips in the= vdsm log I can see entries, but none appear to be errors.</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><b>Grep vdsm log for before_vm_start shows:<o:p></o:= p></b></p> <p class=3D"MsoNormal"><b><o:p> </o:p></b></p> <p class=3D"MsoNormal">Thread-79534::DEBUG::2016-12-18 12:24:45,006::comman= ds::68::root::(execCmd) /usr/bin/taskset --cpu-list 0-23 /usr/libexec/vdsm/= hooks/before_vm_start/multiips (cwd None)</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><b>Then if I grep the path:<o:p></o:p></b></p> <p class=3D"MsoNormal"><b><o:p> </o:p></b></p> <p class=3D"MsoNormal">cat /var/log/vdsm/vdsm.log | /usr/libexec/vdsm/hooks= /before_vm_start/multiips</p> <p class=3D"MsoNormal">Traceback (most recent call last):</p> <p class=3D"MsoNormal"> File "/usr/libexec/vdsm/hooks/before_vm_= start/multiips", line 6, in <module></p> <p class=3D"MsoNormal"> import hooking</p> <p class=3D"MsoNormal">ImportError: No module named hooking</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">///////////////////////</p> <p class=3D"MsoNormal">///////////////////////</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal"><domain type=3D'kvm' id=3D'24'></p> <p class=3D"MsoNormal"> <name>vpsclass1vm-user2-3</name><= /p> <p class=3D"MsoNormal"> <uuid>84100056-5bb7-4904-aff6-ef0a51ffd= 7b1</uuid></p> <p class=3D"MsoNormal"> <metadata xmlns:ovirt=3D"http://ovirt= .org/vm/tune/1.0"></p> <p class=3D"MsoNormal"> <ovirt:qos/></p> <p class=3D"MsoNormal"> </metadata></p> <p class=3D"MsoNormal"> <maxMemory slots=3D'16' unit=3D'KiB'>42= 94967296</maxMemory></p> <p class=3D"MsoNormal"> <memory unit=3D'KiB'>1048576</memory= ></p> <p class=3D"MsoNormal"> <currentMemory unit=3D'KiB'>1048576<= /currentMemory></p> <p class=3D"MsoNormal"> <vcpu placement=3D'static' current=3D'1'&g= t;16</vcpu></p> <p class=3D"MsoNormal"> <cputune></p> <p class=3D"MsoNormal"> <shares>1020</shares>= </p> <p class=3D"MsoNormal"> </cputune></p> <p class=3D"MsoNormal"> <resource></p> <p class=3D"MsoNormal"> <partition>/machine</par= tition></p> <p class=3D"MsoNormal"> </resource></p> <p class=3D"MsoNormal"> <sysinfo type=3D'smbios'></p> <p class=3D"MsoNormal"> <system></p> <p class=3D"MsoNormal"> <entry name=3D'man= ufacturer'>oVirt</entry></p> <p class=3D"MsoNormal"> <entry name=3D'pro= duct'>oVirt Node</entry></p> <p class=3D"MsoNormal"> <entry name=3D'ver= sion'>7-0.1406.el7.centos.2.3</entry></p> <p class=3D"MsoNormal"> <entry name=3D'ser= ial'>00000000-0000-0000-0000-0CC47A7ED960</entry></p> <p class=3D"MsoNormal"> <entry name=3D'uui= d'>84100056-5bb7-4904-aff6-ef0a51ffd7b1</entry></p> <p class=3D"MsoNormal"> </system></p> <p class=3D"MsoNormal"> </sysinfo></p> <p class=3D"MsoNormal"> <os></p> <p class=3D"MsoNormal"> <type arch=3D'x86_64' machine= =3D'pc-i440fx-rhel7.2.0'>hvm</type></p> <p class=3D"MsoNormal"> <boot dev=3D'hd'/></p> <p class=3D"MsoNormal"> <smbios mode=3D'sysinfo'/><= /p> <p class=3D"MsoNormal"> </os></p> <p class=3D"MsoNormal"> <features></p> <p class=3D"MsoNormal"> <acpi/></p> <p class=3D"MsoNormal"> </features></p> <p class=3D"MsoNormal"> <cpu mode=3D'custom' match=3D'exact'></= p> <p class=3D"MsoNormal"> <model fallback=3D'allow'>H= aswell-noTSX</model></p> <p class=3D"MsoNormal"> <topology sockets=3D'16' cores= =3D'1' threads=3D'1'/></p> <p class=3D"MsoNormal"> <numa></p> <p class=3D"MsoNormal"> <cell id=3D'0' cpu= s=3D'0' memory=3D'1048576' unit=3D'KiB'/></p> <p class=3D"MsoNormal"> </numa></p> <p class=3D"MsoNormal"> </cpu></p> <p class=3D"MsoNormal"> <clock offset=3D'variable' adjustment=3D'-= 18000' basis=3D'utc'></p> <p class=3D"MsoNormal"> <timer name=3D'rtc' tickpolicy= =3D'catchup'/></p> <p class=3D"MsoNormal"> <timer name=3D'pit' tickpolicy= =3D'delay'/></p> <p class=3D"MsoNormal"> <timer name=3D'hpet' present= =3D'no'/></p> <p class=3D"MsoNormal"> </clock></p> <p class=3D"MsoNormal"> <on_poweroff>destroy</on_poweroff>= ;</p> <p class=3D"MsoNormal"> <on_reboot>restart</on_reboot></p=
<p class=3D"MsoNormal"> <on_crash>destroy</on_crash></p> <p class=3D"MsoNormal"> <devices></p> <p class=3D"MsoNormal"> <emulator>/usr/libexec/qemu= -kvm</emulator></p> <p class=3D"MsoNormal"> <disk type=3D'file' device=3D'= cdrom'></p> <p class=3D"MsoNormal"> <driver name=3D'qe= mu' type=3D'raw'/></p> <p class=3D"MsoNormal"> <source startupPol= icy=3D'optional'/></p> <p class=3D"MsoNormal"> <backingStore/>= </p> <p class=3D"MsoNormal"> <target dev=3D'hdc= ' bus=3D'ide'/></p> <p class=3D"MsoNormal"> <readonly/></p> <p class=3D"MsoNormal"> <alias name=3D'ide= 0-1-0'/></p> <p class=3D"MsoNormal"> <address type=3D'd= rive' controller=3D'0' bus=3D'1' target=3D'0' unit=3D'0'/></p> <p class=3D"MsoNormal"> </disk></p> <p class=3D"MsoNormal"> <disk type=3D'file' device=3D'= disk' snapshot=3D'no'></p> <p class=3D"MsoNormal"> <driver name=3D'qe= mu' type=3D'qcow2' cache=3D'none' error_policy=3D'stop' io=3D'threads'/>= </p> <p class=3D"MsoNormal"> <source file=3D'/r= hev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-837f-4552-92c= 7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/bab16012-9bd5-40= 05-bee4-2512a8c6c6a3'></p> <p class=3D"MsoNormal"> <secla= bel model=3D'selinux' labelskip=3D'yes'/></p> <p class=3D"MsoNormal"> </source></p> <p class=3D"MsoNormal"> <backingStore type= =3D'file' index=3D'1'></p> <p class=3D"MsoNormal"> <forma= t type=3D'raw'/></p> <p class=3D"MsoNormal"> <sourc= e file=3D'/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-8= 37f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/8c05= 3bcf-c1cc-4c7d-80e1-7bd937785fc4'/></p> <p class=3D"MsoNormal"> <backi= ngStore/></p> <p class=3D"MsoNormal"> </backingStore>= </p> <p class=3D"MsoNormal"> <target dev=3D'vda= ' bus=3D'virtio'/></p> <p class=3D"MsoNormal"> <serial>f64b31f= 1-1e28-4067-9776-c8cdedd039dc</serial></p> <p class=3D"MsoNormal"> <alias name=3D'vir= tio-disk0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x06' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </disk></p> <p class=3D"MsoNormal"> <controller type=3D'scsi' inde= x=3D'0' model=3D'virtio-scsi'></p> <p class=3D"MsoNormal"> <alias name=3D'scs= i0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x04' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </controller></p> <p class=3D"MsoNormal"> <controller type=3D'virtio-ser= ial' index=3D'0' ports=3D'16'></p> <p class=3D"MsoNormal"> <alias name=3D'vir= tio-serial0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x05' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </controller></p> <p class=3D"MsoNormal"> <controller type=3D'usb' index= =3D'0'></p> <p class=3D"MsoNormal"> <alias name=3D'usb= '/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' function=3D'0x2'/></p> <p class=3D"MsoNormal"> </controller></p> <p class=3D"MsoNormal"> <controller type=3D'pci' index= =3D'0' model=3D'pci-root'></p> <p class=3D"MsoNormal"> <alias name=3D'pci= .0'/></p> <p class=3D"MsoNormal"> </controller></p> <p class=3D"MsoNormal"> <controller type=3D'ide' index= =3D'0'></p> <p class=3D"MsoNormal"> <alias name=3D'ide= '/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x01' function=3D'0x1'/></p> <p class=3D"MsoNormal"> </controller></p> <p class=3D"MsoNormal"> <interface type=3D'bridge'>= </p> <p class=3D"MsoNormal"> <mac address=3D'00= :1a:4a:16:01:81'/></p> <p class=3D"MsoNormal"> <source bridge=3D'= Public'/></p> <p class=3D"MsoNormal"> <target dev=3D'vne= t0'/></p> <p class=3D"MsoNormal"> <model type=3D'vir= tio'/></p> <p class=3D"MsoNormal"> <filterref filter= =3D'clean-traffic'/></p> <p class=3D"MsoNormal"> <link state=3D'up'= /></p> <p class=3D"MsoNormal"> <alias name=3D'net= 0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x03' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </interface></p> <p class=3D"MsoNormal"> <channel type=3D'unix'></p> <p class=3D"MsoNormal"> <source mode=3D'bi= nd' path=3D'/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ff= d7b1.com.redhat.rhevm.vdsm'/></p> <p class=3D"MsoNormal"> <target type=3D'vi= rtio' name=3D'com.redhat.rhevm.vdsm' state=3D'connected'/></p> <p class=3D"MsoNormal"> <alias name=3D'cha= nnel0'/></p> <p class=3D"MsoNormal"> <address type=3D'v= irtio-serial' controller=3D'0' bus=3D'0' port=3D'1'/></p> <p class=3D"MsoNormal"> </channel></p> <p class=3D"MsoNormal"> <channel type=3D'unix'></p> <p class=3D"MsoNormal"> <source mode=3D'bi= nd' path=3D'/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ff= d7b1.org.qemu.guest_agent.0'/></p> <p class=3D"MsoNormal"> <target type=3D'vi= rtio' name=3D'org.qemu.guest_agent.0' state=3D'connected'/></p> <p class=3D"MsoNormal"> <alias name=3D'cha= nnel1'/></p> <p class=3D"MsoNormal"> <address type=3D'v= irtio-serial' controller=3D'0' bus=3D'0' port=3D'2'/></p> <p class=3D"MsoNormal"> </channel></p> <p class=3D"MsoNormal"> <channel type=3D'spicevmc'>= </p> <p class=3D"MsoNormal"> <target type=3D'vi= rtio' name=3D'com.redhat.spice.0' state=3D'disconnected'/></p> <p class=3D"MsoNormal"> <alias name=3D'cha= nnel2'/></p> <p class=3D"MsoNormal"> <address type=3D'v= irtio-serial' controller=3D'0' bus=3D'0' port=3D'3'/></p> <p class=3D"MsoNormal"> </channel></p> <p class=3D"MsoNormal"> <input type=3D'mouse' bus=3D'p= s2'></p> <p class=3D"MsoNormal"> <alias name=3D'inp= ut0'/></p> <p class=3D"MsoNormal"> </input></p> <p class=3D"MsoNormal"> <input type=3D'keyboard' bus= =3D'ps2'></p> <p class=3D"MsoNormal"> <alias name=3D'inp= ut1'/></p> <p class=3D"MsoNormal"> </input></p> <p class=3D"MsoNormal"> <graphics type=3D'vnc' port=3D= '5900' autoport=3D'yes' listen=3D'mynodeIP' keymap=3D'en-us' passwdValidTo= =3D'1970-01-01T00:00:01'></p> <p class=3D"MsoNormal"> <listen type=3D'ne= twork' address=3D'mynodeIP' network=3D'vdsm-Public'/></p> <p class=3D"MsoNormal"> </graphics></p> <p class=3D"MsoNormal"> <graphics type=3D'spice' tlsPo= rt=3D'5901' autoport=3D'yes' listen=3D'mynodeIP' keymap=3D'en-us' defaultMo= de=3D'secure' passwdValidTo=3D'1970-01-01T00:00:01'></p> <p class=3D"MsoNormal"> <listen type=3D'ne= twork' address=3D'mynodeIP' network=3D'vdsm-Public'/></p> <p class=3D"MsoNormal"> <channel name=3D'm= ain' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'd= isplay' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'i= nputs' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'c= ursor' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'p= layback' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'r= ecord' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D's= martcard' mode=3D'secure'/></p> <p class=3D"MsoNormal"> <channel name=3D'u= sbredir' mode=3D'secure'/></p> <p class=3D"MsoNormal"> </graphics></p> <p class=3D"MsoNormal"> <video></p> <p class=3D"MsoNormal"> <model type=3D'qxl= ' ram=3D'65536' vram=3D'8192' vgamem=3D'16384' heads=3D'1' primary=3D'yes'/= ></p> <p class=3D"MsoNormal"> <alias name=3D'vid= eo0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x02' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </video></p> <p class=3D"MsoNormal"> <memballoon model=3D'virtio'&g= t;</p> <p class=3D"MsoNormal"> <alias name=3D'bal= loon0'/></p> <p class=3D"MsoNormal"> <address type=3D'p= ci' domain=3D'0x0000' bus=3D'0x00' slot=3D'0x07' function=3D'0x0'/></p> <p class=3D"MsoNormal"> </memballoon></p> <p class=3D"MsoNormal"> </devices></p> <p class=3D"MsoNormal"> <seclabel type=3D'dynamic' model=3D'selinu= x' relabel=3D'yes'></p> <p class=3D"MsoNormal"> <label>system_u:system_r:sv= irt_t:s0:c310,c350</label></p> <p class=3D"MsoNormal"> <imagelabel>system_u:object= _r:svirt_image_t:s0:c310,c350</imagelabel></p> <p class=3D"MsoNormal"> </seclabel></p> <p class=3D"MsoNormal"> <seclabel type=3D'dynamic' model=3D'dac' r= elabel=3D'yes'></p> <p class=3D"MsoNormal"> <label>+107:+107<= ;/label></p> <p class=3D"MsoNormal"> <imagelabel>+107:+1= 07</imagelabel></p> <p class=3D"MsoNormal"> </seclabel></p> <p class=3D"MsoNormal"></domain></p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">///////////////////////</p> <p class=3D"MsoNormal">///////////////////////</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <p class=3D"MsoNormal">Sent from <a href=3D"https://go.microsoft.com/fwlink= /?LinkId=3D550986"> Mail</a> for Windows 10</p> <p class=3D"MsoNormal"><o:p> </o:p></p> <div style=3D"mso-element:para-border-div;border:none;border-top:solid #E1E= 1E1 1.0pt;padding:3.0pt 0in 0in 0in"> <p class=3D"MsoNormal" style=3D"border:none;padding:0in"><b>From: </b><a hr= ef=3D"mailto:danken@redhat.com">Dan Kenigsberg</a><br> <b>Sent: </b>Sunday, December 18, 2016 10:59 AM<br> <b>To: </b><a href=3D"mailto:jax2568@outlook.com">Bill Bill</a><br> <b>Cc: </b><a href=3D"mailto:users@ovirt.org">users</a>; <a href=3D"mailto:= dholler@redhat.com"> Dominik Holler</a><br> <b>Subject: </b>Re: oVirt multiips hook</p> </div> <p class=3D"MsoNormal"><o:p> </o:p></p> </div> <div> <div dir=3D"auto"> <div><br> <div class=3D"gmail_extra"><br> <div class=3D"gmail_quote">On Dec 15, 2016 22:40, "Bill Bill" <= ;<a href=3D"mailto:jax2568@outlook.com">jax2568@outlook.com</a>> wrote:<= br type=3D"attribution"> <blockquote class=3D"quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc= solid;padding-left:1ex"> <div lang=3D"EN-US" link=3D"blue" vlink=3D"#954F72"> <div class=3D"m_-264054471904238718WordSection1"> <p class=3D"MsoNormal">Hello,</p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Following up on the users list as opposed to Bugzill= a.</p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Thanks for helping out with this, much appreciated. = I was able to get the custom property added in the engine & I can selec= t the property, then enter in the IP=92s.</p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">I=92m not sure if I created the hook correctly, as i= t doesn=92t appear to have made any changes so far, only one IP communicate= s.</p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">I created a file called =93multiips=94 in the /usr/l= ibexec/vdsm/hooks/<wbr>before_vm_start/ directory containing the info from = the Bugzilla thread.</p> <p class=3D"MsoNormal"><u></u> <u></u></p> <p class=3D"MsoNormal">Is there another step I should take or perhaps I=92m= missing something?</p> </div> </div> </blockquote> </div> It should have been enough, but apparently something's missing.</div> </div> <div class=3D"gmail_extra" dir=3D"auto"><br> </div> <div class=3D"gmail_extra" dir=3D"auto">Is the multiip script readable and = executable?</div> <div class=3D"gmail_extra" dir=3D"auto"><br> </div> <div class=3D"gmail_extra" dir=3D"auto">Do you see any errors in vdsm.log w= hen you start the VM?</div> <div class=3D"gmail_extra" dir=3D"auto"><br> </div> <div class=3D"gmail_extra" dir=3D"auto">Do you see the requested ips in the= output of</div> <div class=3D"gmail_extra" dir=3D"auto"><br> </div> <div class=3D"gmail_extra" dir=3D"auto">Virsh -r dumpxml yourvm</div> </div> </div> </body> </html> --_000_CO2PR0801MB0743C2F7D9B26A3024C65E93A69E0CO2PR0801MB0743_--

Hello, to check where the hook script behaves unexpected, the hook is extended [1] to be more verbose. What is the output in vdsm.log of the more verbose hook script? [1] https://bugzilla.redhat.com/attachment.cgi?id=1233353 On Sun, 18 Dec 2016 17:38:50 +0000 Bill Bill <jax2568@outlook.com> wrote:
Hi Dan,
Thanks for getting back to me & for your help. The script is 755 permissions and oVirt sees it under the host hooks as well. The dump is below:
(I replaced our node IP with “mynodeIP” for privacy) I don’t see the IP’s from the custom property listed in the dump and I also don’t see any errors in the vdsm log. If I grep multiips in the vdsm log I can see entries, but none appear to be errors.
Grep vdsm log for before_vm_start shows:
Thread-79534::DEBUG::2016-12-18 12:24:45,006::commands::68::root::(execCmd) /usr/bin/taskset --cpu-list 0-23 /usr/libexec/vdsm/hooks/before_vm_start/multiips (cwd None)
Then if I grep the path:
cat /var/log/vdsm/vdsm.log | /usr/libexec/vdsm/hooks/before_vm_start/multiips Traceback (most recent call last): File "/usr/libexec/vdsm/hooks/before_vm_start/multiips", line 6, in <module> import hooking ImportError: No module named hooking
/////////////////////// ///////////////////////
<domain type='kvm' id='24'> <name>vpsclass1vm-user2-3</name> <uuid>84100056-5bb7-4904-aff6-ef0a51ffd7b1</uuid> <metadata xmlns:ovirt="http://ovirt.org/vm/tune/1.0"> <ovirt:qos/> </metadata> <maxMemory slots='16' unit='KiB'>4294967296</maxMemory> <memory unit='KiB'>1048576</memory> <currentMemory unit='KiB'>1048576</currentMemory> <vcpu placement='static' current='1'>16</vcpu> <cputune> <shares>1020</shares> </cputune> <resource> <partition>/machine</partition> </resource> <sysinfo type='smbios'> <system> <entry name='manufacturer'>oVirt</entry> <entry name='product'>oVirt Node</entry> <entry name='version'>7-0.1406.el7.centos.2.3</entry> <entry name='serial'>00000000-0000-0000-0000-0CC47A7ED960</entry> <entry name='uuid'>84100056-5bb7-4904-aff6-ef0a51ffd7b1</entry> </system> </sysinfo> <os> <type arch='x86_64' machine='pc-i440fx-rhel7.2.0'>hvm</type> <boot dev='hd'/> <smbios mode='sysinfo'/> </os> <features> <acpi/> </features> <cpu mode='custom' match='exact'> <model fallback='allow'>Haswell-noTSX</model> <topology sockets='16' cores='1' threads='1'/> <numa> <cell id='0' cpus='0' memory='1048576' unit='KiB'/> </numa> </cpu> <clock offset='variable' adjustment='-18000' basis='utc'> <timer name='rtc' tickpolicy='catchup'/> <timer name='pit' tickpolicy='delay'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <devices> <emulator>/usr/libexec/qemu-kvm</emulator> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source startupPolicy='optional'/> <backingStore/> <target dev='hdc' bus='ide'/> <readonly/> <alias name='ide0-1-0'/> <address type='drive' controller='0' bus='1' target='0' unit='0'/> </disk> <disk type='file' device='disk' snapshot='no'> <driver name='qemu' type='qcow2' cache='none' error_policy='stop' io='threads'/> <source file='/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/bab16012-9bd5-4005-bee4-2512a8c6c6a3'> <seclabel model='selinux' labelskip='yes'/> </source> <backingStore type='file' index='1'> <format type='raw'/> <source file='/rhev/data-center/3fd2ad92-e1eb-49c2-906d-00ec233f610a/d8a0172e-837f-4552-92c7-566dc4e548e4/images/f64b31f1-1e28-4067-9776-c8cdedd039dc/8c053bcf-c1cc-4c7d-80e1-7bd937785fc4'/> <backingStore/> </backingStore> <target dev='vda' bus='virtio'/> <serial>f64b31f1-1e28-4067-9776-c8cdedd039dc</serial> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/> </disk> <controller type='scsi' index='0' model='virtio-scsi'> <alias name='scsi0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/> </controller> <controller type='virtio-serial' index='0' ports='16'> <alias name='virtio-serial0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/> </controller> <controller type='usb' index='0'> <alias name='usb'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/> </controller> <controller type='pci' index='0' model='pci-root'> <alias name='pci.0'/> </controller> <controller type='ide' index='0'> <alias name='ide'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/> </controller> <interface type='bridge'> <mac address='00:1a:4a:16:01:81'/> <source bridge='Public'/> <target dev='vnet0'/> <model type='virtio'/> <filterref filter='clean-traffic'/> <link state='up'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/> </interface> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ffd7b1.com.redhat.rhevm.vdsm'/> <target type='virtio' name='com.redhat.rhevm.vdsm' state='connected'/> <alias name='channel0'/> <address type='virtio-serial' controller='0' bus='0' port='1'/> </channel> <channel type='unix'> <source mode='bind' path='/var/lib/libvirt/qemu/channels/84100056-5bb7-4904-aff6-ef0a51ffd7b1.org.qemu.guest_agent.0'/> <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/> <alias name='channel1'/> <address type='virtio-serial' controller='0' bus='0' port='2'/> </channel> <channel type='spicevmc'> <target type='virtio' name='com.redhat.spice.0' state='disconnected'/> <alias name='channel2'/> <address type='virtio-serial' controller='0' bus='0' port='3'/> </channel> <input type='mouse' bus='ps2'> <alias name='input0'/> </input> <input type='keyboard' bus='ps2'> <alias name='input1'/> </input> <graphics type='vnc' port='5900' autoport='yes' listen='mynodeIP' keymap='en-us' passwdValidTo='1970-01-01T00:00:01'> <listen type='network' address='mynodeIP' network='vdsm-Public'/> </graphics> <graphics type='spice' tlsPort='5901' autoport='yes' listen='mynodeIP' keymap='en-us' defaultMode='secure' passwdValidTo='1970-01-01T00:00:01'> <listen type='network' address='mynodeIP' network='vdsm-Public'/> <channel name='main' mode='secure'/> <channel name='display' mode='secure'/> <channel name='inputs' mode='secure'/> <channel name='cursor' mode='secure'/> <channel name='playback' mode='secure'/> <channel name='record' mode='secure'/> <channel name='smartcard' mode='secure'/> <channel name='usbredir' mode='secure'/> </graphics> <video> <model type='qxl' ram='65536' vram='8192' vgamem='16384' heads='1' primary='yes'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/> </memballoon> </devices> <seclabel type='dynamic' model='selinux' relabel='yes'> <label>system_u:system_r:svirt_t:s0:c310,c350</label> <imagelabel>system_u:object_r:svirt_image_t:s0:c310,c350</imagelabel> </seclabel> <seclabel type='dynamic' model='dac' relabel='yes'> <label>+107:+107</label> <imagelabel>+107:+107</imagelabel> </seclabel> </domain>
/////////////////////// ///////////////////////
Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
From: Dan Kenigsberg<mailto:danken@redhat.com> Sent: Sunday, December 18, 2016 10:59 AM To: Bill Bill<mailto:jax2568@outlook.com> Cc: users<mailto:users@ovirt.org>; Dominik Holler<mailto:dholler@redhat.com> Subject: Re: oVirt multiips hook
On Dec 15, 2016 22:40, "Bill Bill" <jax2568@outlook.com<mailto:jax2568@outlook.com>> wrote: Hello,
Following up on the users list as opposed to Bugzilla.
Thanks for helping out with this, much appreciated. I was able to get the custom property added in the engine & I can select the property, then enter in the IP’s.
I’m not sure if I created the hook correctly, as it doesn’t appear to have made any changes so far, only one IP communicates.
I created a file called “multiips” in the /usr/libexec/vdsm/hooks/before_vm_start/ directory containing the info from the Bugzilla thread.
Is there another step I should take or perhaps I’m missing something? It should have been enough, but apparently something's missing.
Is the multiip script readable and executable?
Do you see any errors in vdsm.log when you start the VM?
Do you see the requested ips in the output of
Virsh -r dumpxml yourvm
participants (3)
-
Bill Bill
-
Dan Kenigsberg
-
Dominik Holler