Add host fail on Ubuntu 11.04

Help
2011-05-05
2013-04-23
  • Simone Greci
    Simone Greci
    2011-05-05

    Hello, i'm testing openxencenter on Ubuntu 11.04 connecting to XenServer 5.6 fp1. When i try to add a new server the application freeze, below the stack trace:

    window.py:194: GtkWarning: Ignoring the separator setting
      self.builder.add_from_file(self.gladefile)
    window.py:194: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
      self.builder.add_from_file(self.gladefile)
    /home/grecisimo1/Desktop/openxenmanager/window_addserver.py:121: GtkWarning: IA__gtk_tree_store_remove: assertion `VALID_ITER (iter, tree_store)' failed
      self.treestore.remove(self.selected_iter)
    Unexpected error: (<class 'httplib.ResponseNotReady'>, ResponseNotReady(), <traceback object at 0xb1dae1e4>)
    Traceback (most recent call last):
      File "/home/grecisimo1/Desktop/openxenmanager/oxcSERVER.py", line 1814, in event_next
        eventn = self.connection.event.next(self.session_uuid)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
        return self.__send(self.__name, args)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
        verbose=self.__verbose
      File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
        return self.single_request(host, handler, request_body, verbose)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1294, in single_request
        response = h.getresponse(buffering=True)
      File "/usr/lib/python2.7/httplib.py", line 1015, in getresponse
        raise ResponseNotReady()
    ResponseNotReady
    None
    Exception in thread Thread-3:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
        self.run()
      File "/usr/lib/python2.7/threading.py", line 505, in run
        self.__target(*self.__args, **self.__kwargs)
      File "/home/grecisimo1/Desktop/openxenmanager/oxcSERVER_addserver.py", line 287, in fill_tree_with_vms
        self.wine.finish_progressconnect()
      File "/home/grecisimo1/Desktop/openxenmanager/window_addserver.py", line 85, in finish_progressconnect
        self.xc_servers[self.selected_host].fill_alerts(self.listalerts)
      File "/home/grecisimo1/Desktop/openxenmanager/oxcSERVER_addserver.py", line 46, in fill_alerts
        self.session_uuid)['Value']
      File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
        return self.__send(self.__name, args)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1575, in __request
        verbose=self.__verbose
      File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
        return self.single_request(host, handler, request_body, verbose)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1289, in single_request
        self.send_request(h, handler, request_body)
      File "/usr/lib/python2.7/xmlrpclib.py", line 1391, in send_request
        connection.putrequest("POST", handler, skip_accept_encoding=True)
      File "/usr/lib/python2.7/httplib.py", line 853, in putrequest
        raise CannotSendRequest()
    CannotSendRequest
    
     
  • Simone Greci
    Simone Greci
    2011-05-12

    After some check, the cause of my poblem was proxy settings on Ubuntu.  With a proxy configured in Network Proxy Preference OpenXenCenter can't connect to a host, even if an exclusion address is defined. Without proxy, all it works smooth.