Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
Hi, On Fri, Aug 31, 2012 at 03:10:16PM +0100, Owen Le Blanc wrote: > On Fri, Aug 31, 2012 at 03:18:03PM +0200, Lars Marowsky-Bree wrote: > > But you're not setting the same values. > > Actually, I am, but I'm having trouble selecting the right texts from my logs. > For the interactive given befor

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Fri, Aug 31, 2012 at 03:18:03PM +0200, Lars Marowsky-Bree wrote: > But you're not setting the same values. Actually, I am, but I'm having trouble selecting the right texts from my logs. For the interactive given before: client2 14:02:40 > export hostlist="client1" hypervisor_uri="xen+ssh://cli

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Lars Marowsky-Bree
On 2012-08-31T14:06:01, Owen Le Blanc wrote: > Actually, this is my original question. The interactive command works > as it should: > > client2 13:43:54 > virsh -c > 'xen+ssh://clie...@server1.mc.man.ac.uk/?keyfile=/root/.ssh/id_dsa' version [...] > But it fails when I put the same values in

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Fri, Aug 31, 2012 at 01:27:26PM +0200, Dejan Muhamedagic wrote: > That's most probably not relevant to the stonith agent. You need > to figure out how to connect to the hypervisor using virsh, then > just use that. IIRC, if you want to use ssh, it should be sth > like qemu+ssh. But I'm sure ther

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Dejan Muhamedagic
On Fri, Aug 31, 2012 at 10:04:02AM +0100, Owen Le Blanc wrote: > On Thu, Aug 30, 2012 at 04:46:27PM +0200, Dejan Muhamedagic wrote: > > Perhaps too many quotes. Did you try: > > > > export hostlist="client1" > > hypervisor_uri="xen+ssh://clie...@server1.mc.man.ac.uk/usr/bin/virsh?keyfile=/root/.ss

Re: [Pacemaker] A bug in stonith external/libvirt

2012-08-31 Thread Owen Le Blanc
On Thu, Aug 30, 2012 at 04:46:27PM +0200, Dejan Muhamedagic wrote: > Perhaps too many quotes. Did you try: > > export hostlist="client1" > hypervisor_uri="xen+ssh://clie...@server1.mc.man.ac.uk/usr/bin/virsh?keyfile=/root/.ssh/id_dsa" Well, this does make a difference: sh -x /usr/lib/stonith/plu

Re: [Pacemaker] A bug in stonith external/libvirt?

2012-08-30 Thread Dejan Muhamedagic
On Thu, Aug 30, 2012 at 03:27:11PM +0100, Dr A V Le Blanc wrote: > On Thu, Aug 30, 2012 at 03:23:20PM +0200, Dejan Muhamedagic wrote: > > On Thu, Aug 30, 2012 at 02:02:07PM +0100, Owen Le Blanc wrote: > > > I seem to have a problem with the stonith external/libvirt script, > > > which behaves as I

Re: [Pacemaker] A bug in stonith external/libvirt?

2012-08-30 Thread Dejan Muhamedagic
Hi, On Thu, Aug 30, 2012 at 02:02:07PM +0100, Owen Le Blanc wrote: > I seem to have a problem with the stonith external/libvirt script, > which behaves as I show in the attachment. This might be a problem > with quoting in the scripts, and a similar difficulty was reported > earlier, with the sug

[Pacemaker] A bug in stonith external/libvirt?

2012-08-30 Thread Owen Le Blanc
I seem to have a problem with the stonith external/libvirt script, which behaves as I show in the attachment. This might be a problem with quoting in the scripts, and a similar difficulty was reported earlier, with the suggestion to change fence_legacy; I've done this, and it made no difference.