--_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(a)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_--