[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] xcp storage repository problems.

  • To: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Valerio De Rosa <valesmn@xxxxxxxx>
  • Date: Tue, 14 Feb 2012 16:09:21 +0000 (GMT)
  • Cc: Marco De Luca <only_metal@xxxxxxx>
  • Delivery-date: Tue, 14 Feb 2012 16:11:00 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:Cc:MIME-Version:Content-Type; b=4Wp9iu6UlOhtjU40TGJJPeQ84PA2Ti0xS2jQ13322J/FWU+0AkRE/AXOsSKsta2bZRmiwFVkHH18/93g6+2+Yet3CG6hzMG0xwZArhmX/nw4s3HzEL3Fx8xpbV2JZao19jQfAX5xwqp8BXXRXobIPupxgbD6WtvQEq1vvnrzBKM=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

This time i will try to be more specific on my problem. I am always trying to install and run a VM with xcp on my machine with ubuntu 11.10.
First step for doing this is the creation of a sr. And I can do that with this command:

xe sr-create content-type=user type=nfs name-label=condivisa shared=true device-config:server=n11 device-config:serverpath=/var/condivisa

After that a pbd is automatically created, but it is not attached to my this sr. I update my pool list also, setting as default, the sr I just dreated with:

Xe pool-param-set uuid=<uuid of the pool> default-SR=<uuid of my SR>

 I try then a pbd-plug command and I get this error.

[22914] 2012-02-14 11:53:58.063375      ***** sr_attach: EXCEPTION <type 'exceptions.AttributeError'>, UDSTransport instance has no attribute '_connection'
  File "/usr/lib/xcp/sm/SRCommand.py", line 94, in run
    return self._run_locked(sr)
  File "/usr/lib/xcp/sm/SRCommand.py", line 131, in _run_locked
    return self._run(sr, target)
  File "/usr/lib/xcp/sm/SRCommand.py", line 234, in _run
    self.params['sr_uuid'], is_master)
  File "/usr/lib/xcp/sm/resetvdis.py", line 27, in reset
    sr_ref = session.xenapi.SR.get_by_uuid(sr_uuid)
  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 229, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.7/dist-packages/XenAPI.py", line 133, in xenapi_request
    result = _parse_result(getattr(self, methodname)(*full_params))
  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
  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 1303, in single_request
  File "/usr/lib/python2.7/xmlrpclib.py", line 1378, in close
    if self._connection[1]:

I canât find a solution at this. I took the error from the /var/log/SMlog folder.
I created sr of iso and nfs type, but nothing changed (but I think the nfs type is the right one thou).
Any tips?
Xen-users mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.