As per 
http://xenman.sourceforge.net/wiki/index.php/Xen_centos_rhel

This distribution seems to have Xen 3.1 but some of the API are not available. 
To work around this,

    * use the xen 3.0.3 scripts for preparing server for remote management 
instead of 3.1
    * Once prepared as above, you get the following error while discovering the 
server using Add Node.
      <Fault 1: 'method "xend.domains_with_state" is not supported'>
          o To fix this :
          o Shutdown ConVirt.
          o ssh into the Managed Server, open /etc/convirt.conf and add 
use_3_0_api=True under the default section. If the default section is not 
there, add it. After the changes it should look like 

 [DEFAULT]
  default_computed_options = ['arch', 'arch_libdir', 'device_model']
  use_3_0_api=True

- Restart ConVirt 

/Jd


--- On Sun, 2/1/09, Eredicatorx <eredicat...@hugedesigns.net> wrote:

> From: Eredicatorx <eredicat...@hugedesigns.net>
> Subject: [convirt-users] Authentication Refused
> To: xenman-users@lists.sourceforge.net
> Date: Sunday, February 1, 2009, 9:30 PM
> He all I have set up a management node on my xen server.
> 
> I have a FC10 xen dom-u running on a CentOS xen dom-0.
> 
> When I try to connect to the dom0 it gives me this error
> 
> XML-RPC over SSL
> (111, 'Connection refused')
> 
> XML-RPC over SSH_TUNNEL
> [Error 0],[open_channel]Connect failed
> 
> I can connect to the server via ssh w/o a problem and log
> in as root.
> 
> Here is some output from the convirt and paramiko log
> 
> r...@command01 convirt]# tail convirt.log
>    File "/usr/lib/python2.5/httplib.py", line
> 860, in endheaders
>      self._send_output()
>    File "/usr/lib/python2.5/httplib.py", line
> 732, in _send_output
>      self.send(msg)
>    File "/usr/lib/python2.5/httplib.py", line
> 699, in send
>      self.connect()
>    File "/usr/lib/python2.5/httplib.py", line
> 1134, in connect
>      sock.connect((self.host, self.port))
>    File "<string>", line 1, in connect
> error: (111, 'Connection refused')
> [r...@command01 convirt]# tail paramiko.log
> INF [20090202-13:28:40.884] thr=3  
> paramiko.transport.sftp: [chan 1] 
> Opened sftp connection (server version 3)
> DEB [20090202-13:28:40.889] thr=3  
> paramiko.transport.sftp: [chan 1] 
> lstat('/etc/convirt.conf')
> DEB [20090202-13:28:40.898] thr=3  
> paramiko.transport.sftp: [chan 1] 
> stat('/etc/convirt.conf')
> DEB [20090202-13:28:40.909] thr=3  
> paramiko.transport.sftp: [chan 1] 
> open('/etc/convirt.conf', 'r')
> DEB [20090202-13:28:40.919] thr=3  
> paramiko.transport.sftp: [chan 1] 
> open('/etc/convirt.conf', 'r') ->
> 00000000
> DEB [20090202-13:28:40.933] thr=3  
> paramiko.transport.sftp: [chan 1] 
> close(00000000)
> DEB [20090202-13:28:40.941] thr=3  
> paramiko.transport.sftp: [chan 1] 
> open('/etc/convirt.conf', 'r')
> DEB [20090202-13:28:40.948] thr=3  
> paramiko.transport.sftp: [chan 1] 
> open('/etc/convirt.conf', 'r') ->
> 00000000
> DEB [20090202-13:28:40.962] thr=3  
> paramiko.transport.sftp: [chan 1] 
> close(00000000)
> DEB [20090202-13:30:20.234] thr=4   paramiko.transport: EOF
> in transport 
> thread
> 
> I followed the instructions in the documentation (ConVirt
> Users Manual 
> 0.9.6) for my distro CentOS 5.2 2.6.18-92.1.22el5xen  w/Xen
> 
> 3.1.2-92.1.22.el5
> 
> Here is the output. If anyone can be any assistance It
> would be 
> appreciated.
> 
> 
> [r...@max02 xen-3.1]# ./configure-xend.sh 3.1 SSL
> Setting up self signed certificates
> Generating RSA private key, 1024 bit long modulus
> ...............++++++
> ..++++++
> e is 65537 (0x10001)
> You are about to be asked to enter information that will be
> incorporated
> into your certificate request.
> What you are about to enter is what is called a
> Distinguished Name or a DN.
> There are quite a few fields but you can leave some blank
> For some fields there will be a default value,
> If you enter '.', the field will be left blank.
> -----
> Country Name (2 letter code) [GB]:State or Province Name
> (full name) 
> [Berkshire]:Locality Name (eg, city) [Newbury]:Organization
> Name (eg, 
> company) [My Company Ltd]:Organizational Unit Name (eg,
> section) 
> []:Common Name (eg, your name or your server's
> hostname) []:Email 
> Address []:
> Please enter the following 'extra' attributes
> to be sent with your certificate request
> A challenge password []:An optional company name
> []:Signature ok
> subject=/C=US/ST=CA/L=SF/O=Test
> Corp/CN=max02.hugedesigns.net
> Getting Private key
> Modified xend-config successfully
> restart xend:                                             
> [  OK  ]
> [r...@max02 xen-3.1]# less configure-xend.sh
> 
> [r...@max02 xen-3.1]# cat !$xmlrpc.csr
> cat /etc/xen/xmlrpc.csr
> -----BEGIN CERTIFICATE REQUEST-----
> MIIBmzCCAQQCAQAwWzELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMQswCQYDVQQH
> EwJTRjESMBAGA1UEChMJVGVzdCBDb3JwMR4wHAYDVQQDExVtYXgwMi5odWdlZGVz
> aWducy5uZXQwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAK4DA1UlgvYmwMQU
> Fl+FqQ9v2fzoVR3ABEh76TyFZJ/ZcT934LnXichYR5JGY46ipYX4Bp8USTQeiWr0
> mwKziKsFIFa3HWH4aJyVUmqHssES1CXCaXDsu5WsQ9EvjM55wLLlWiQ66Iql7G6R
> so4UPrACWl/HHRX5dMeyn9Duqt0NAgMBAAGgADANBgkqhkiG9w0BAQUFAAOBgQAW
> oJp/KYczK1uNfs4dLQLLWX/kz+61AWJtD4vbB5LIeZX401GdasJyr7YG+LBE4SdZ
> PgQALPkEo8r59fGGxec+jk46KQ4ST/XFA1Ou3XZau7BVXR8qyTPWnHmqkOeZbor7
> zuqwofuEUl8h2pPg2Qy4kpvWvzcuxJtQvBaLcoWgJg==
> -----END CERTIFICATE REQUEST-----
> [r...@max02 xen-3.1]# cat /etc/xen/xmlrpc.crt
> -----BEGIN CERTIFICATE-----
> MIICLTCCAZYCCQCS3dKiCIj0NzANBgkqhkiG9w0BAQUFADBbMQswCQYDVQQGEwJV
> UzELMAkGA1UECBMCQ0ExCzAJBgNVBAcTAlNGMRIwEAYDVQQKEwlUZXN0IENvcnAx
> HjAcBgNVBAMTFW1heDAyLmh1Z2VkZXNpZ25zLm5ldDAeFw0wOTAyMDExMTUxMzZa
> Fw0wOTAzMDMxMTUxMzZaMFsxCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTELMAkG
> A1UEBxMCU0YxEjAQBgNVBAoTCVRlc3QgQ29ycDEeMBwGA1UEAxMVbWF4MDIuaHVn
> ZWRlc2lnbnMubmV0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCuAwNVJYL2
> JsDEFBZfhakPb9n86FUdwARIe+k8hWSf2XE/d+C514nIWEeSRmOOoqWF+AafFEk0
> Holq9JsCs4irBSBWtx1h+GiclVJqh7LBEtQlwmlw7LuVrEPRL4zOecCy5VokOuiK
> pexukbKOFD6wAlpfxx0V+XTHsp/Q7qrdDQIDAQABMA0GCSqGSIb3DQEBBQUAA4GB
> ACvObWk6tGowwrA2yOQGeG81mrAIWmnU/SozArlm2DNGder+jyyLOaz8KRylhF9o
> t3WpApBnn0AW3X0ZbqBlRzj8t7h9zVv4vKZNwepAbIc3p4dDoE+bML62Ic4J7ozp
> zG9rCPzPai5R3D397BJFrSwRy54VHeVf5ZieBPkNRKaW
> -----END CERTIFICATE-----
> [r...@max02 xen-3.1]# cat /etc/xen/xmlrpc.key
> -----BEGIN RSA PRIVATE KEY-----
> MIICXgIBAAKBgQCuAwNVJYL2JsDEFBZfhakPb9n86FUdwARIe+k8hWSf2XE/d+C5
> 14nIWEeSRmOOoqWF+AafFEk0Holq9JsCs4irBSBWtx1h+GiclVJqh7LBEtQlwmlw
> 7LuVrEPRL4zOecCy5VokOuiKpexukbKOFD6wAlpfxx0V+XTHsp/Q7qrdDQIDAQAB
> AoGBAKg323HlqHvDLNigvpwrPyrgKzCVfSscZEeaGfhaz9LDxvnfLo0Zs2XNCat7
> hmTuEOu4wNXqK3ZKCvgtbOionHV3jkm7YnKvZt7dUpk08bETqKaAdNi3E+A42gXC
> yqWPipqGRsmv/Wv0FFeAPacasmSqkXHM4nf3HbvCgagOac0VAkEA1XSydcMgt2W9
> NTLI/qmUUpG/Csu9uNCCX0J7ZD5CMw5e4H0e9HzUyzw/9N5Acw9dQKqoMnRAHgT3
> fDSRbGHNmwJBANCxu97fD6FkcFPaozbLoF3mtWCogyWUUutGej4DYpIzbMwU9NvI
> Fed87279oFZ4SgdeQ0JTHK9E0xe3QX8mfncCQBpPbgfR62Bvq+i4v8mUAXJEALZF
> 8rarDMbNHQR4IBTG+q7U/VHJaTk7ze5SzsLf6/CimGTPq2+H0TGAEUS4sW0CQQCP
> fORzRGL20Jv6y6TUlATbCzlCEBq7x9OLOJXr9V/crcbsOqxwQI3u75OgeHm5elNL
> 5Z/RBlv+lg+dir5ZshnZAkEAgtvqflnDW4ZbPQuucFbVqdI3FdrsPsLEDyvdg4rn
> qd1kixVohDCL0jo0tQO+bItNWxfUkL0SJK2q9juUs/IcVw==
> -----END RSA PRIVATE KEY-----
> [r...@max02 xen-3.1]#
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> XenMan-Users mailing list
> XenMan-Users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xenman-users


      

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
XenMan-Users mailing list
XenMan-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xenman-users

Reply via email to