Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: API

Re: [Xen-users] LiveStorageMigration Error "The attempt to mark the VDI as hidden failed "

 

 

Xen api RSS feed   Index | Next | Previous | View Threaded


thanos.makatos at citrix

Jul 26, 2013, 1:42 AM

Post #1 of 3 (80 views)
Permalink
Re: [Xen-users] LiveStorageMigration Error "The attempt to mark the VDI as hidden failed "

> -----Original Message-----
> From: xen-users-bounces [at] lists [mailto:xen-users-
> bounces [at] lists] On Behalf Of Thomas Plant | Limitis
> Sent: 25 July 2013 14:34
> To: xen-users [at] lists
> Subject: [Xen-users] LiveStorageMigration Error "The attempt to mark
> the VDI as hidden failed "
>
> Hello.
>
> We are moving some VMs on XCP 1.6 from an iSCSI Storage to another.
> One VM gave the following error:  The attempt to mark the VDI as hidden
> failed
>
> But, all data has been moved to the new storage, the VM is working and
> at first sight seems ok.
> But can I trust it? Anyboday had similar errors?
>
> Thanks
> Thomas

(That's a XenServer-specific error, dropping xen-users and CCing xen-api)

We've seen such an error before and it had to do with marking the source VDI as delete-able. The cause was a race condition with the GC/cleanup daemon.

If you say that the VM is running on the destination, you can check /var/log/SMlog and ensure that the VDI for which the error was raised is the VM's VDI on the source host. If this is the case everything should be OK.

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


thanos.makatos at citrix

Jul 26, 2013, 2:12 AM

Post #2 of 3 (77 views)
Permalink
Re: [Xen-users] LiveStorageMigration Error "The attempt to mark the VDI as hidden failed " [In reply to]

(Adding back xen-api.)

> -----Original Message-----
> From: Thomas Plant | Limitis [mailto:Thomas.Plant [at] limitis]
> Sent: 26 July 2013 09:59
> To: Thanos Makatos
> Subject: AW: [Xen-users] LiveStorageMigration Error "The attempt to
> mark the VDI as hidden failed "
>
> Thanks for the answer. Now I have more peace of mind ☺
>
> Think this is what happened:
>
> [32090] 2013-07-25 14:45:06.112002      vdi_deactivate {'sr_uuid':
> '02020387-8bff-73ea-f9b0-a7c87e0618c2', 'subtask_of':
> 'DummyRef:|0b5a7cb9-3ce9-1927-740c-0c485338655e|VDI.deactivate', 'vdi_r
> ef': 'OpaqueRef:ca04b4bd-7a30-6d2d-4123-abea0481744d', 'vdi_on_boot':
> 'persist', 'args': [], 'vdi_location': 'caf50bb5-84e3-472f-ac61-
> 260f552e63aa', 'host_ref': 'OpaqueRef:cb8dbdb0-2284-037e-b 2a5-
> f0a15e506331', 'session_ref': 'OpaqueRef:53d97ff4-0d38-22dc-4be5-
> 9d464d500f40', 'device_config': {'target': '172.16.11.1',
> 'chappassword_secret': 'e1a723c1-dc27-5f17-dfb8-159a88a0268a', 'c
> hapuser': 'iqn.2013-04.it.zcom.xen-5:666767f1', 'multihomelist':
> '172.16.11.1:3260,172.16.10.1:3260', 'targetIQN': 'iqn.1992-
> 05.com.emc:ckm001234018772007-4', 'SRmaster': 'false', 'device': '/
> dev/disk/mpInuse/36006048c35b5f8d8e7052aa9e584440e', 'SCSIid':
> '36006048c35b5f8d8e7052aa9e584440e', 'port': '3260'}, 'command':
> 'vdi_deactivate', 'vdi_allow_caching': 'false', 'sr_ref': 'Opaqu
> eRef:9b6457c9-221a-18f8-90b2-e6619360a7f3', 'vdi_uuid': 'caf50bb5-84e3-
> 472f-ac61-260f552e63aa'}
> [32090] 2013-07-25 14:45:06.112319      blktap2.deactivate [32090]
> 2013-07-25 14:45:06.112462      lock: acquired /var/lock/sm/caf50bb5-
> 84e3-472f-ac61-260f552e63aa/vdi
> [32090] 2013-07-25 14:45:06.189559      unlink of attach_info failed
>
> and the sr_uuid is the one from which we migrated away.

I don't think this is the correct excerpt, could you search /var/log/SMlog* for the string "Failed to mark VDI hidden"?

>
> Von: Thanos Makatos [mailto:thanos.makatos [at] citrix]
> Gesendet: Freitag, 26. Juli 2013 10:32
> An: Thomas Plant | Limitis
> Cc: xapi-users [at] lists
> Betreff: RE: [Xen-users] LiveStorageMigration Error "The attempt to
> mark the VDI as hidden failed "
>
> (That’s a XenServer-specific error, dropping xen-users and CCing xapi-
> users)
>
> We’ve seen such an error before and it had to do with marking the
> source VDI as delete-able. The cause was a race condition with the
> GC/cleanup daemon.
>
> If you say that the VM is running on the destination, you can check
> /var/log/SMlog and ensure that the VDI for which the error was raised
> is the VM’s VDI on the source host. If this is the case everything
> should be OK.
>
> From: xen-users-bounces [at] lists [mailto:xen-users-
> bounces [at] lists] On Behalf Of Thomas Plant | Limitis
> Sent: 25 July 2013 14:34
> To: xen-users [at] lists
> Subject: [Xen-users] LiveStorageMigration Error "The attempt to mark
> the VDI as hidden failed "
>
> Hello.
>
> We are moving some VMs on XCP 1.6 from an iSCSI Storage to another.
> One VM gave the following error:  The attempt to mark the VDI as hidden
> failed
>
> But, all data has been moved to the new storage, the VM is working and
> at first sight seems ok.
> But can I trust it? Anyboday had similar errors?
>
> Thanks
> Thomas

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


thanos.makatos at citrix

Jul 26, 2013, 2:50 AM

Post #3 of 3 (74 views)
Permalink
Re: [Xen-users] LiveStorageMigration Error "The attempt to mark the VDI as hidden failed " [In reply to]

(Adding back xen-api!)

> -----Original Message-----
> From: Thomas Plant | Limitis [mailto:Thomas.Plant [at] limitis]
> Sent: 26 July 2013 10:29
> To: Thanos Makatos
> Subject: AW: [Xen-users] LiveStorageMigration Error "The attempt to
> mark the VDI as hidden failed "
>
> [26580] 2013-07-25 14:46:30.692462 Raising exception [.80, Failed
> to mark VDI hidden [opterr=SR 02020387-8bff-73ea-f9b0-a7c87e0618c2:
> error aborting existing process]]
>
> Didn't look on the pool master *shame myself*.
>
> But it is the source iSCSI SR which gave the error.
>
> -----Ursprüngliche Nachricht-----
> Von: Thanos Makatos [mailto:thanos.makatos [at] citrix]
> Gesendet: Freitag, 26. Juli 2013 11:12
> An: Thomas Plant | Limitis
> Cc: xen-api [at] lists
> Betreff: RE: [Xen-users] LiveStorageMigration Error "The attempt to
> mark the VDI as hidden failed "
>
> (Adding back xen-api.)
>
> > -----Original Message-----
> > From: Thomas Plant | Limitis [mailto:Thomas.Plant [at] limitis]
> > Sent: 26 July 2013 09:59
> > To: Thanos Makatos
> > Subject: AW: [Xen-users] LiveStorageMigration Error "The attempt to
> > mark the VDI as hidden failed "
> >
> > Thanks for the answer. Now I have more peace of mind ☺
> >
> > Think this is what happened:
> >
> > [32090] 2013-07-25 14:45:06.112002      vdi_deactivate {'sr_uuid':
> > '02020387-8bff-73ea-f9b0-a7c87e0618c2', 'subtask_of':
> > 'DummyRef:|0b5a7cb9-3ce9-1927-740c-0c485338655e|VDI.deactivate',
> > 'vdi_r
> > ef': 'OpaqueRef:ca04b4bd-7a30-6d2d-4123-abea0481744d', 'vdi_on_boot':
> > 'persist', 'args': [], 'vdi_location': 'caf50bb5-84e3-472f-ac61-
> > 260f552e63aa', 'host_ref': 'OpaqueRef:cb8dbdb0-2284-037e-b 2a5-
> > f0a15e506331', 'session_ref': 'OpaqueRef:53d97ff4-0d38-22dc-4be5-
> > 9d464d500f40', 'device_config': {'target': '172.16.11.1',
> > 'chappassword_secret': 'e1a723c1-dc27-5f17-dfb8-159a88a0268a', 'c
> > hapuser': 'iqn.2013-04.it.zcom.xen-5:666767f1', 'multihomelist':
> > '172.16.11.1:3260,172.16.10.1:3260', 'targetIQN': 'iqn.1992-
> > 05.com.emc:ckm001234018772007-4', 'SRmaster': 'false', 'device': '/
> > dev/disk/mpInuse/36006048c35b5f8d8e7052aa9e584440e', 'SCSIid':
> > '36006048c35b5f8d8e7052aa9e584440e', 'port': '3260'}, 'command':
> > 'vdi_deactivate', 'vdi_allow_caching': 'false', 'sr_ref': 'Opaqu
> > eRef:9b6457c9-221a-18f8-90b2-e6619360a7f3', 'vdi_uuid':
> > 'caf50bb5-84e3- 472f-ac61-260f552e63aa'} [32090] 2013-07-25
> > 14:45:06.112319      blktap2.deactivate [32090]
> > 2013-07-25 14:45:06.112462      lock: acquired /var/lock/sm/caf50bb5-
> > 84e3-472f-ac61-260f552e63aa/vdi [32090] 2013-07-25 14:45:06.189559
> > unlink of attach_info failed
> >
> > and the sr_uuid is the one from which we migrated away.
>
> I don't think this is the correct excerpt, could you search
> /var/log/SMlog* for the string "Failed to mark VDI hidden"?
>
> >
> > Von: Thanos Makatos [mailto:thanos.makatos [at] citrix]
> > Gesendet: Freitag, 26. Juli 2013 10:32
> > An: Thomas Plant | Limitis
> > Cc: xapi-users [at] lists
> > Betreff: RE: [Xen-users] LiveStorageMigration Error "The attempt to
> > mark the VDI as hidden failed "
> >
> > (That’s a XenServer-specific error, dropping xen-users and CCing
> xapi-
> > users)
> >
> > We’ve seen such an error before and it had to do with marking the
> > source VDI as delete-able. The cause was a race condition with the
> > GC/cleanup daemon.
> >
> > If you say that the VM is running on the destination, you can check
> > /var/log/SMlog and ensure that the VDI for which the error was raised
> > is the VM’s VDI on the source host. If this is the case everything
> > should be OK.
> >
> > From: xen-users-bounces [at] lists [mailto:xen-users-
> > bounces [at] lists] On Behalf Of Thomas Plant | Limitis
> > Sent: 25 July 2013 14:34
> > To: xen-users [at] lists
> > Subject: [Xen-users] LiveStorageMigration Error "The attempt to mark
> > the VDI as hidden failed "
> >
> > Hello.
> >
> > We are moving some VMs on XCP 1.6 from an iSCSI Storage to another.
> > One VM gave the following error:  The attempt to mark the VDI as
> > hidden failed
> >
> > But, all data has been moved to the new storage, the VM is working
> and
> > at first sight seems ok.
> > But can I trust it? Anyboday had similar errors?
> >
> > Thanks
> > Thomas

_______________________________________________
Xen-api mailing list
Xen-api [at] lists
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Xen api RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.