<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 29, 2018 at 7:24 AM, TomK <span dir="ltr"><<a href="mailto:tomkcpr@mdevsys.com" target="_blank">tomkcpr@mdevsys.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Guy's,<br>
<br>
I've tested my ILO2 fence from the ovirt engine CLI and that works:<br>
<br>
fence_ilo2 -a 192.168.0.37 -l <USER> --password="<SECRET>" --ssl-insecure --tls1.0 -v -o status<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">You are using additional options on command line, please add below to the Options field in Edit Fence Agent dialog and retry<br><br></div><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default"> ssl_insecure=1,tls1.0=1<br><br></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The UI gives me:<br>
<br>
Test failed: Failed to run fence status-check on host 'ph-host01.my.dom'. No other host was available to serve as proxy for the operation.<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">This is normal, fencing requires to have at least 2 working hosts in the setup<br></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Going to add a second host in a bit but anyway to get this working with just one host? I'm just adding the one host to oVirt for some POC we are doing atm but the UI forces me to adjust Power Management settings before proceeding.<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">You have the options to disable fencing completely for cluster, it's enough to turn off Enable fencing option in Fencing Policy tab in Edit Cluster dialog.<br></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Also:<br>
<br>
2018-03-28 02:04:15,183-04 WARN [<a href="http://org.ovirt.engine.core.bll.net">org.ovirt.engine.core.bll.net</a><wbr>work.NetworkConfigurator] (EE-ManagedThreadFactory-engin<wbr>e-Thread-335) [2d691be9] Failed to find a valid interface for the management network of host ph-host01.my.dom. If the interface br0 is a bridge, it should be torn-down manually.<br>
2018-03-28 02:04:15,184-04 ERROR [org.ovirt.engine.core.bll.hos<wbr>tdeploy.InstallVdsInternalComm<wbr>and] (EE-ManagedThreadFactory-engin<wbr>e-Thread-335) [2d691be9] Exception: org.ovirt.engine.core.bll.netw<wbr>ork.NetworkConfigurator$Networ<wbr>kConfiguratorException: Interface br0 is invalid for management network<br></blockquote><div><br><div style="font-family:arial,helvetica,sans-serif;display:inline" class="gmail_default">Petr/Edward could you please take a look?<br></div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
I've these defined as such but not clear what it is expecting:<br>
<br>
[root@ph-host01 ~]# ip a<br>
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1<br>
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00<br>
inet <a href="http://127.0.0.1/8" rel="noreferrer" target="_blank">127.0.0.1/8</a> scope host lo<br>
valid_lft forever preferred_lft forever<br>
inet6 ::1/128 scope host<br>
valid_lft forever preferred_lft forever<br>
2: eth0: <BROADCAST,MULTICAST,SLAVE,UP,<wbr>LOWER_UP> mtu 1500 qdisc mq master bond0 state UP qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
3: eth1: <NO-CARRIER,BROADCAST,MULTICAS<wbr>T,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
4: eth2: <NO-CARRIER,BROADCAST,MULTICAS<wbr>T,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
5: eth3: <NO-CARRIER,BROADCAST,MULTICAS<wbr>T,SLAVE,UP> mtu 1500 qdisc mq master bond0 state DOWN qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
21: bond0: <BROADCAST,MULTICAST,MASTER,UP<wbr>,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UP qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link<br>
valid_lft forever preferred_lft forever<br>
23: ;vdsmdummy;: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000<br>
link/ether fe:69:c7:50:0d:dd brd ff:ff:ff:ff:ff:ff<br>
24: br0: <BROADCAST,MULTICAST,UP,LOWER_<wbr>UP> mtu 1500 qdisc noqueue state UP qlen 1000<br>
link/ether 78:e7:d1:8c:b1:ba brd ff:ff:ff:ff:ff:ff<br>
inet <a href="http://192.168.0.39/23" rel="noreferrer" target="_blank">192.168.0.39/23</a> brd 192.168.1.255 scope global br0<br>
valid_lft forever preferred_lft forever<br>
inet6 fe80::7ae7:d1ff:fe8c:b1ba/64 scope link<br>
valid_lft forever preferred_lft forever<br>
[root@ph-host01 ~]# cd /etc/sysconfig/network-scripts<wbr>/<br>
[root@ph-host01 network-scripts]# cat ifcfg-br0<br>
DEVICE=br0<br>
TYPE=Bridge<br>
BOOTPROTO=none<br>
IPADDR=192.168.0.39<br>
NETMASK=255.255.254.0<br>
GATEWAY=192.168.0.1<br>
ONBOOT=yes<br>
DELAY=0<br>
USERCTL=no<br>
DEFROUTE=yes<br>
NM_CONTROLLED=no<br>
DOMAIN="my.dom nix.my.dom"<br>
SEARCH="my.dom nix.my.dom"<br>
HOSTNAME=ph-host01.my.dom<br>
DNS1=192.168.0.224<br>
DNS2=192.168.0.44<br>
DNS3=192.168.0.45<br>
ZONE=public<br>
[root@ph-host01 network-scripts]# cat ifcfg-bond0<br>
DEVICE=bond0<br>
ONBOOT=yes<br>
BOOTPROTO=none<br>
USERCTL=no<br>
NM_CONTROLLED=no<br>
BONDING_OPTS="miimon=100 mode=2"<br>
BRIDGE=br0<br>
#<br>
#<br>
# IPADDR=192.168.0.39<br>
# NETMASK=255.255.254.0<br>
# GATEWAY=192.168.0.1<br>
# DNS1=192.168.0.1<br>
[root@ph-host01 network-scripts]#<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Cheers,<br>
Tom K.<br>
------------------------------<wbr>------------------------------<wbr>-------------------------<br>
<br>
Living on earth is expensive, but it includes a free trip around the sun.<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</font></span></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><font size="1">Martin Perina<br>Associate Manager, Software Engineering<br>Red Hat Czech s.r.o.<br></font></div></div>
</div></div>