[Users] high availability via fencing

Ian Levesque ian at crystal.harvard.edu
Wed Apr 25 12:24:37 EDT 2012


>> So, what I see is that port was sent twice , once as empty and then the port=22 is sent as part of the options string.
>> 
>> Can you please remove the port from the options field and put it in the port field.
>> If this works , this is an engine core bug...
> 
> I believe that it is such a bug, since the "options" field come up as
> empty in vdsm.

I tried entering a Port, Slot and "plug=1" in options. I also checked "Secure". It indeed appears that the engine isn't passing the options along. I also find it odd that a required field (plug) isn't available via a form field. Is that just a side effect? I can file a bug -- does it belong in ovirt-engine-core?

Here's the vdsm and engine log output when I click "Test":

------------------------------------------------------------
==> ../ovirt-engine/engine.log <==
2012-04-25 12:18:50,302 INFO  [org.ovirt.engine.core.bll.FencingExecutor] (http--0.0.0.0-8443-4) Executing <Status> Power Management command, Proxy Host:heilig, Agent:apc, Target Host:, Management IP:134.174.x.x, User:ovirt, Options:port=22,plug=1,secure=true,slot=1

2012-04-25 12:18:50,305 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.FenceVdsVDSCommand] (http--0.0.0.0-8443-4) START, FenceVdsVDSCommand(vdsId = 6de5e3fa-8a33-11e1-b3f9-003048c85226, targetVdsId = 60087c5e-8a3b-11e1-b15d-003048c85226, action = Status, ip = 134.174.x.x, port = , type = apc, user = ovirt, password = ******, options = 'port=22,plug=1,secure=true,slot=1'), log id: 56a240f9


==> vdsm.log <==
Thread-52872::DEBUG::2012-04-25 12:18:50,311::API::954::vds::(fenceNode) fenceNode(addr=134.174.x.x,port=,agent=apc,user=ovirt,passwd=XXXX,action=status,secure=,options=)
Thread-52872::DEBUG::2012-04-25 12:18:50,348::API::980::vds::(fenceNode) rc 1 in agent=fence_apc
ipaddr=134.174.x.x
login=ovirt
option=status
passwd=XXXX
 out  err Failed: You have to enter plug number
Please use '-h' for usage

Thread-52873::DEBUG::2012-04-25 12:18:50,356::API::954::vds::(fenceNode) fenceNode(addr=134.174.x.x,port=,agent=apc,user=ovirt,passwd=XXXX,action=status,secure=,options=)
Thread-52873::DEBUG::2012-04-25 12:18:50,392::API::980::vds::(fenceNode) rc 1 in agent=fence_apc
ipaddr=134.174.x.x
login=ovirt
option=status
passwd=XXXX
 out  err Failed: You have to enter plug number
Please use '-h' for usage
------------------------------------------------------------

Thanks,
Ian


More information about the Users mailing list