Re: [convirt-users] ssh configuration issue

2008-12-17 Thread jd
Hi Himanshu,

  Can you please provide some more details.

  What distro?  is it 64 bit ? What version of ConVirt ? Do you know version of 
Paramiko ?

  They probably are not related. can u attach the log and send it to my email 
addr. The eof seems to be happening after 2 min... is there anything else in 
thread 2 ?

  I am assuming that without convirt you are able to talk to the server using 
ssh from a shell without password. right ? 

Thanks
/Jd


--- On Wed, 12/17/08, Himanshu Khona  wrote:

> From: Himanshu Khona 
> Subject: Re: [convirt-users] ssh configuration issue
> To: xenman-users@lists.sourceforge.net
> Date: Wednesday, December 17, 2008, 4:29 AM
> Also When I try to run convirt on the managed server, it
> gives me the
> following error -ImportError:
> /usr/lib/python2.4/site-packages/Crypto/Cipher/DES3.so:
> wrong ELF class:
> ELFCLASS32
> 
> I am not sure if these are related in anyways.
> Thanks,
> Himanshu
> On Wed, Dec 17, 2008 at 5:32 PM, Himanshu Khona
> wrote:
> 
> > Hi -I have configured ssh with keys and ssh agent and
> trying to add the
> > server.
> > It give me an error saying 0agent authentication
> failed.
> > The convirt.log is as follows -
> > Could not initialize ssh for sunstorage 22
> > Traceback (most recent call last):
> >   File
> "/usr/share/convirt/src/convirt/client/XenUI.py",
> line 278, in
> > on_ok_button_clicked
> > node.connect()
> >   File
> "/usr/share/convirt/src/convirt/core/model/VNode.py",
> line 278, in
> > connect
> > ManagedNode.connect(self)
> >   File
> "/usr/share/convirt/src/convirt/core/model/ManagedNode.py",
> line
> > 120, in connect
> > self._init_node_proxy()
> >   File
> "/usr/share/convirt/src/convirt/core/model/ManagedNode.py",
> line
> > 255, in _init_node_proxy
> > raise e
> > AuthenticationException: [Error 0], Agent
> authentication failed
> >
> > The paramiko.log is as follows -
> > DEB [20081217-17:17:10.128] thr=1  
> paramiko.transport: starting thread
> > (client mode): 0xB79088CCL
> > INF [20081217-17:17:10.134] thr=1  
> paramiko.transport: Connected (version
> > 2.0, client OpenSSH_4.3)
> > DEB [20081217-17:17:10.137] thr=1  
> paramiko.transport: kex
> > algos:['diffie-hellman-group-exchange-sha1',
> 'diffie-hellman-group14-sha1',
> > 'diffie-hellman-group1-sha1'] server
> key:['ssh-rsa', 'ssh-dss'] client
> > encrypt:['aes128-cbc', '3des-cbc',
> 'blowfish-cbc', 'cast128-cbc',
> > 'arcfour128', 'arcfour256',
> 'arcfour', 'aes192-cbc',
> 'aes256-cbc', '
> > rijndael-...@lysator.liu.se',
> 'aes128-ctr', 'aes192-ctr',
> 'aes256-ctr']
> > server encrypt:['aes128-cbc',
> '3des-cbc', 'blowfish-cbc',
> 'cast128-cbc',
> > 'arcfour128', 'arcfour256',
> 'arcfour', 'aes192-cbc',
> 'aes256-cbc', '
> > rijndael-...@lysator.liu.se',
> 'aes128-ctr', 'aes192-ctr',
> 'aes256-ctr']
> > client mac:['hmac-md5', 'hmac-sha1',
> 'hmac-ripemd160', '
> > hmac-ripemd...@openssh.com',
> 'hmac-sha1-96', 'hmac-md5-96'] server
> > mac:['hmac-md5', 'hmac-sha1',
> 'hmac-ripemd160', '
> > hmac-ripemd...@openssh.com',
> 'hmac-sha1-96', 'hmac-md5-96'] client
> > compress:['none', 'z...@openssh.com']
> server compress:['none', '
> > z...@openssh.com'] client lang:[''] server
> lang:[''] kex follows?False
> > DEB [20081217-17:17:10.137] thr=1  
> paramiko.transport: Ciphers agreed:
> > local=aes128-cbc, remote=aes128-cbc
> > DEB [20081217-17:17:10.137] thr=1  
> paramiko.transport: using kex
> > diffie-hellman-group1-sha1; server key type ssh-rsa;
> cipher: local
> > aes128-cbc, remote aes128-cbc; mac: local hmac-sha1,
> remote hmac-sha1;
> > compression: local none, remote none
> > DEB [20081217-17:17:10.299] thr=1  
> paramiko.transport: Switch to new keys
> > ...
> > DEB [20081217-17:19:10.134] thr=1  
> paramiko.transport: EOF in transport
> > thread
> > DEB [20081217-17:26:47.559] thr=2  
> paramiko.transport: starting thread
> > (client mode): 0xB790466CL
> > INF [20081217-17:26:47.567] thr=2  
> paramiko.transport: Connected (version
>

Re: [convirt-users] ssh configuration issue

2008-12-17 Thread Himanshu Khona
Also When I try to run convirt on the managed server, it gives me the
following error -ImportError:
/usr/lib/python2.4/site-packages/Crypto/Cipher/DES3.so: wrong ELF class:
ELFCLASS32

I am not sure if these are related in anyways.
Thanks,
Himanshu
On Wed, Dec 17, 2008 at 5:32 PM, Himanshu Khona wrote:

> Hi -I have configured ssh with keys and ssh agent and trying to add the
> server.
> It give me an error saying 0agent authentication failed.
> The convirt.log is as follows -
> Could not initialize ssh for sunstorage 22
> Traceback (most recent call last):
>   File "/usr/share/convirt/src/convirt/client/XenUI.py", line 278, in
> on_ok_button_clicked
> node.connect()
>   File "/usr/share/convirt/src/convirt/core/model/VNode.py", line 278, in
> connect
> ManagedNode.connect(self)
>   File "/usr/share/convirt/src/convirt/core/model/ManagedNode.py", line
> 120, in connect
> self._init_node_proxy()
>   File "/usr/share/convirt/src/convirt/core/model/ManagedNode.py", line
> 255, in _init_node_proxy
> raise e
> AuthenticationException: [Error 0], Agent authentication failed
>
> The paramiko.log is as follows -
> DEB [20081217-17:17:10.128] thr=1   paramiko.transport: starting thread
> (client mode): 0xB79088CCL
> INF [20081217-17:17:10.134] thr=1   paramiko.transport: Connected (version
> 2.0, client OpenSSH_4.3)
> DEB [20081217-17:17:10.137] thr=1   paramiko.transport: kex
> algos:['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1',
> 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client
> encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '
> rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr']
> server encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '
> rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr']
> client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
> hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server
> mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
> hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client
> compress:['none', 'z...@openssh.com'] server compress:['none', '
> z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False
> DEB [20081217-17:17:10.137] thr=1   paramiko.transport: Ciphers agreed:
> local=aes128-cbc, remote=aes128-cbc
> DEB [20081217-17:17:10.137] thr=1   paramiko.transport: using kex
> diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local
> aes128-cbc, remote aes128-cbc; mac: local hmac-sha1, remote hmac-sha1;
> compression: local none, remote none
> DEB [20081217-17:17:10.299] thr=1   paramiko.transport: Switch to new keys
> ...
> DEB [20081217-17:19:10.134] thr=1   paramiko.transport: EOF in transport
> thread
> DEB [20081217-17:26:47.559] thr=2   paramiko.transport: starting thread
> (client mode): 0xB790466CL
> INF [20081217-17:26:47.567] thr=2   paramiko.transport: Connected (version
> 2.0, client OpenSSH_4.3)
> DEB [20081217-17:26:47.568] thr=2   paramiko.transport: kex
> algos:['diffie-hellman-group-exchange-sha1', 'diffie-hellman-group14-sha1',
> 'diffie-hellman-group1-sha1'] server key:['ssh-rsa', 'ssh-dss'] client
> encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '
> rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr']
> server encrypt:['aes128-cbc', '3des-cbc', 'blowfish-cbc', 'cast128-cbc',
> 'arcfour128', 'arcfour256', 'arcfour', 'aes192-cbc', 'aes256-cbc', '
> rijndael-...@lysator.liu.se', 'aes128-ctr', 'aes192-ctr', 'aes256-ctr']
> client mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
> hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] server
> mac:['hmac-md5', 'hmac-sha1', 'hmac-ripemd160', '
> hmac-ripemd...@openssh.com', 'hmac-sha1-96', 'hmac-md5-96'] client
> compress:['none', 'z...@openssh.com'] server compress:['none', '
> z...@openssh.com'] client lang:[''] server lang:[''] kex follows?False
> DEB [20081217-17:26:47.568] thr=2   paramiko.transport: Ciphers agreed:
> local=aes128-cbc, remote=aes128-cbc
> DEB [20081217-17:26:47.568] thr=2   paramiko.transport: using kex
> diffie-hellman-group1-sha1; server key type ssh-rsa; cipher: local
> aes128-cbc, remote aes128-cbc; mac: local hmac-sha1, remote hmac-sha1;
> compression: local none, remote none
> DEB [20081217-17:26:47.726] thr=2   paramiko.transport: Switch to new keys
> ...
> DEB [20081217-17:28:47.564] thr=2   paramiko.transport: EOF in transport
> thread
>
> Can someone help please?
> Thanks,
> Himanshu
>
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn