[Fedora-xen] Could not Monitor the VMs on Remote Machine

devesh.chandra at wipro.com devesh.chandra at wipro.com
Wed Mar 12 08:17:44 UTC 2008


Hi All,

I have installed using Xen and XenMan 0.6 for Managing the Virtual Machines.
I am able to monitor the VMs on the local host , but it fails for the remote machine.
XenMan.

Using netsat -tan , I monitored that managed system listens on 8006 ,
but XenMan by default connects at 8005 on system XenMan is used to manage other remote machine VMs

I tested it also changing the the managing system Port from 8005 to 8006

Following log is generated in the XenMan side
When Managed Server Port 8006
Client (Managing Xen Port) 8005

setting last_error [Error 0], [open_channel]Connect failed
setting last_error [Error 0], [open_channel]Connect failed
setting last_error [Error 0], [open_channel]Connect failed
Traceback (most recent call last):
  File "src/xenman.py", line 2493, in wrapper
    funct(widget, *args, **cargs)
  File "src/xenman.py", line 2385, in start_all_domains
    domains = managed_node.get_dom_names()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names
    return self.dom_list.iterkeys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys
    return self.dom_dict.keys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__
    return self._init_dom_list()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list
    self.refresh()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh
    dom_list_info = self.node.node_proxy.xend.domains(1)
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__
    ret = self.__send(self.__name, args)
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request
    return Transport.request(self, host, '/RPC2', request_body, verbose)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "/usr/lib/python2.4/httplib.py", line 798, in endheaders
    self._send_output()
  File "/usr/lib/python2.4/httplib.py", line 679, in _send_output
    self.send(msg)
  File "/usr/lib/python2.4/httplib.py", line 646, in send
    self.connect()
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 84, in connect
    ("localhost",self.localport))
  File "/root/XenMan_Installs/xenman-0.6/src/phelper.py", line 326, in open_channel
    raise CommunicationException(0, "[open_channel]" +str(ex))
CommunicationException: [Error 0], [open_channel]Connect fail

The below fragment is generated when 
I changed the Xen port to 8006 on the managing system side.


got expat error  no element found: line 1, column 0
Traceback (most recent call last):
  File "src/xenman.py", line 2493, in wrapper
    funct(widget, *args, **cargs)
  File "src/xenman.py", line 2469, in connect_node
    names = managed_node.get_dom_names()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names
    return self.dom_list.iterkeys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys
    return self.dom_dict.keys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__
    return self._init_dom_list()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list
    self.refresh()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh
    dom_list_info = self.node.node_proxy.xend.domains(1)
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__
    ret = self.__send(self.__name, args)
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request
    return Transport.request(self, host, '/RPC2', request_body, verbose)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response
    p.close()
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close
    self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
Valid, writable configuration found, using /etc/xenman.conf
got expat error  no element found: line 1, column 0
Traceback (most recent call last):
  File "src/xenman.py", line 584, in handle_timer_callback
    cls.notebook.showSummaryTab()
  File "src/xenman.py", line 835, in showSummaryTab
    self.summary_tab.refresh()
  File "src/xenman.py", line 1788, in refresh
    self._populate_pool_summary()
  File "src/xenman.py", line 1825, in _populate_pool_summary
    node_snapshot["TOTAL_VMs"] = len(m_node.get_dom_names())-1
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names
    return self.dom_list.iterkeys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys
    return self.dom_dict.keys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__
    return self._init_dom_list()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list
    self.refresh()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh
    dom_list_info = self.node.node_proxy.xend.domains(1)
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__
    ret = self.__send(self.__name, args)
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request
    return Transport.request(self, host, '/RPC2', request_body, verbose)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response
    p.close()
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close
    self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
Exception in callback...ignoring  None
got expat error  no element found: line 1, column 0
Traceback (most recent call last):
  File "src/xenman.py", line 584, in handle_timer_callback
    cls.notebook.showSummaryTab()
  File "src/xenman.py", line 835, in showSummaryTab
    self.summary_tab.refresh()
  File "src/xenman.py", line 1788, in refresh
    self._populate_pool_summary()
  File "src/xenman.py", line 1825, in _populate_pool_summary
    node_snapshot["TOTAL_VMs"] = len(m_node.get_dom_names())-1
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 125, in get_dom_names
    return self.dom_list.iterkeys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 378, in iterkeys
    return self.dom_dict.keys()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 311, in __getattr__
    return self._init_dom_list()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 306, in _init_dom_list
    self.refresh()
  File "/root/XenMan_Installs/xenman-0.6/src/XenNode.py", line 317, in refresh
    dom_list_info = self.node.node_proxy.xend.domains(1)
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 165, in __call__
    ret = self.__send(self.__name, args)
  File "/usr/lib/python2.4/site-packages/xen/util/xmlrpclib2.py", line 122, in __request
    response = xmlrpclib.ServerProxy.__request(self, methodname, params)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/root/XenMan_Installs/xenman-0.6/src/XenServerProxy.py", line 133, in request
    return Transport.request(self, host, '/RPC2', request_body, verbose)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1147, in request
    return self._parse_response(h.getfile(), sock)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1284, in _parse_response
    p.close()
  File "/usr/lib/python2.4/xmlrpclib.py", line 530, in close
    self._parser.Parse("", 1) # end of data
ExpatError: no element found: line 1, column 0
Exception in callback...ignoring  None





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-xen/attachments/20080312/3e0b31cd/attachment.htm>


More information about the Fedora-xen mailing list