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

[Xen-API] xe sr-create failed


  • To: "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Brian Menges <bmenges@xxxxxxxxxx>
  • Date: Wed, 30 Jan 2013 09:31:14 -0800
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Wed, 30 Jan 2013 17:31:38 +0000
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=january; d=gogrid.com; h=Received:Received:From:To:Date:Subject:Thread-Topic:Thread-Index:Message-ID:References:In-Reply-To:Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:acceptlanguage:Content-Type:MIME-Version; b=hu1IAg7OO/RbOmc7RGxadc9Ns/i8EANWHF8aaznc3onT+uDh4nWRow5fKZLvPxq3uH6WrPKy526jpsw/UWkj+8LEPxsTTR9SygEox7kWS9b1mqHJkIBR20D6JhCwF0mG;
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: Ac3+yQCzeUjLfXwvRJ2JTdZI8PLXAgARXVLg
  • Thread-topic: xe sr-create failed

I have a pool setup with two xcp 1.6 61809c builds. I destroyed the local storage sr on both hosts, and attempted to re-create them. On the first host I was able to successfully do this, but on the second host I keep getting failures:

 

[root@xs-04 ~]# ls -la /dev/disk/by-id/

total 0

drwxr-xr-x 2 root root 140 Jan 30 08:56 .

drwxr-xr-x 8 root root 160 Jan 30 08:56 ..

lrwxrwxrwx 1 root root   9 Jan 30 08:56 scsi-3600605b003349b30189b8956b27161a6 -> ../../sdb

lrwxrwxrwx 1 root root   9 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J -> ../../sda

lrwxrwxrwx 1 root root  10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part1 -> ../../sda1

lrwxrwxrwx 1 root root  10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part2 -> ../../sda2

lrwxrwxrwx 1 root root  10 Jan 30 08:56 scsi-SATA_Hitachi_HTS7250100521PCK200VJHJKU5J-part3 -> ../../sda3

[root@xs-04 ~]# xe host-list

uuid ( RO)                : 6a5f2a4f-8f73-47c5-a4cf-09817777a55f

          name-label ( RW): xs-03.<FQDN>

    name-description ( RW): Default install of XenServer

 

 

uuid ( RO)                : 5b73d60a-bca4-4793-a3e8-dc5c830c8e20

          name-label ( RW): xs-04. <FQDN>

    name-description ( RW): Default install of XenServer

 

 

[root@xs-04 ~]# xe sr-create content-type=user type=lvm shared=false name-label='Local storage' device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20

Error code: SR_BACKEND_FAILURE_19

Error parameters: , No such device [opterr=Device /dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 does not exist],

 

… uh, yeah, it does exist!

 

[root@xs-04 ~]# grep -R '3600605b003349b30189b8956b27161a6' /var/log/*

/var/log/messages:Jan 30 08:43:53 xs-04 xapi: [ info|xs-04.<FQDN>|2893 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root

/var/log/messages:Jan 30 09:22:38 xs-04 xapi: [ info|xs-04.<FQDN>|3175 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root

/var/log/xensource.log:Jan 30 08:43:53 xs-04 xapi: [ info|xs-04.<FQDN>|2893 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root

/var/log/xensource.log:Jan 30 09:22:38 xs-04 xapi: [ info|xs-04.<FQDN>|3175 UNIX /var/xapi/xapi||cli] xe sr-create password=null content-type=user type=lvm shared=false name-label=Local storage device-config:device=/dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 username=root

 

What’s going on here? The logs don’t show any errors… even searching up to 10 lines after this device match.

 

Is this a problem because I have these in a pool?

 

- Brian Menges

Principal Engineer, DevOps

GoGrid | ServePath | ColoServe | UpStream Networks

 

From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of P. Broennimann
Sent: Wednesday, January 30, 2013 01:04
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] XCP Guests Time Sync

 

Hi there

 

I found various posts on this but it is still not 100% clear to me.

 

I have two servers (with XCP 1.6) each running a handfull of Debian guests.

 

What is the best method to have the same time on all Debian guests? (On both servers there is a PostgreSQL database running in a master <-> master replication configuration so I am interested in having everywhere the same time).

 

I see the following solutions:

 

1) Each Debian guest has its own ntp client.

2) XCP uses ntp to sync its own time and all guests then sync themselves with XCP.

3) ???

 

Btw, does the installation of the "xs-tools" help in syncing times?

 

Thanks & cheers,

Peter



The information contained in this message, and any attachments, may contain confidential and legally privileged material. It is solely for the use of the person or entity to which it is addressed. Any review, retransmission, dissemination, or action taken in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you receive this in error, please contact the sender and delete the material from any computer.
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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