[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] xe sr-create failed
BLAH!!!! I forgot the host-uuid portion of the api call. Seems it defaulted to the master host, instead of the local host. Really wish that the message was a little more helpful; considering that host-uuid is an optional parameter to this command. - Brian Menges Principal Engineer, DevOps GoGrid | ServePath | ColoServe | UpStream Networks -----Original Message----- From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Brian Menges Sent: Wednesday, January 30, 2013 11:50 To: Mike McClurg Cc: xen-api@xxxxxxxxxxxxx Subject: Re: [Xen-API] xe sr-create failed As a follow up to the chan; I was looking at the SMlog on the slave (the host where I was running the sr-create) Yes they are in a pool. - Brian Menges Principal Engineer, DevOps GoGrid | ServePath | ColoServe | UpStream Networks -----Original Message----- From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On Behalf Of Brian Menges Sent: Wednesday, January 30, 2013 10:40 To: Mike McClurg Cc: xen-api@xxxxxxxxxxxxx Subject: Re: [Xen-API] xe sr-create failed When I just re-ran the sr-create, I got nothing new in the SMlog The only error I get is from the command's output: Error code: SR_BACKEND_FAILURE_19 Error parameters: , No such device [opterr=Device /dev/disk/by-id/scsi-3600605b003349b30189b8956b27161a6 does not exist], I don't see any other errors in messages, xensource.log. I do see info stuff in /var/log/messages: Jan 30 10:37:21 xs-04 xapi: [ info|xs-04.<FQDN>|4989 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 Jan 30 10:37:21 xs-04 xapi: [ info|xs-04.<FQDN>|4989 UNIX /var/xapi/xapi|session.login_with_password D:c1ac97a0f35f|xapi] Session.create trackid=99cbed91b097c6aac2542c43c10b1be6 pool=false uname=root is_local_superuser=true auth_user_sid= parent=trackid=9834f5af41c964e225f24279aefe4e49 But that's about it. Would there be someplace where I can turn up some logging that may give a better hint? - Brian Menges Principal Engineer, DevOps GoGrid | ServePath | ColoServe | UpStream Networks -----Original Message----- From: Mike McClurg [mailto:mike.mcclurg@xxxxxxxxxx] Sent: Wednesday, January 30, 2013 10:17 To: Brian Menges Cc: xen-api@xxxxxxxxxxxxx Subject: Re: [Xen-API] xe sr-create failed On 30/01/13 17:31, Brian Menges wrote: > 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-3600605b003349b30189b8956b27 > 161a6 > uuid=5b73d60a-bca4-4793-a3e8-dc5c830c8e20 > > Error code: SR_BACKEND_FAILURE_19 Can you check /var/log/SMlog for errors? What does this say? Mike 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 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 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |