You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Gian Paolo Buono <gi...@gesca.it> on 2017/10/15 22:21:49 UTC

[Issue Migrate Volume]

Hello,

I  migrated a volume from a SR to another, but after the end I received the message:

unreachable: Migrate volume failed: com.cloud.utils.exception.CloudRuntimeException: Failed to migrate volume org.apache.cloudstack.storage.volume

On XenServer I see the volume is on the migrated storage, but on cloudstack is still indicated the old SR.

How can i fix it ?
Thanks

Re: [Issue Migrate Volume]

Posted by Gabriel Beims Bräscher <ga...@gmail.com>.
If the volume is too big the migration can stop due to timeout. You can
configure it in the global settings by changing variable copy.volume.wait
(In second, timeout for copy volume command).

2017-10-16 7:06 GMT-02:00 Makrand <ma...@gmail.com>:

> Hi Gian,
>
> you need to tune some parameters from global settings
>
> Read this email thread I initiated in past to understand what needs to be
> changed (my second reply in email thread)
>
> https://mail-archives.apache.org/mod_mbox/cloudstack-users/
> 201608.mbox/browser
>
>
> (Search subject line Mess after volume migration.)
>
> --
> Makrand
>
>
> On Mon, Oct 16, 2017 at 5:02 AM, Adrian Sender <as...@testlabs.com.au>
> wrote:
>
> > Definitely need more logs, but you might want to look at global
> parameters
> > such as job.cancel.threshold.minutes and other primary storage and
> timeout
> > values.
> >
> > If the primary storage or network is slow, you may be exceeding the value
> > and
> > cloudstack cancels the job without completely finishing.
> >
> > Regards,
> > Adrian Sender
> >
> >
> >
> > ---------- Original Message -----------
> > From: Gian Paolo Buono <gi...@gesca.it>
> > To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
> > Sent: Sun, 15 Oct 2017 23:02:42 +0000
> > Subject: Re: [Issue Migrate Volume]
> >
> > > Hi,
> > >
> > > I have shutdown the vm and tried to migrate the volume, but I
> > > received the message:
> > >
> > > Unable to serialize: Job is cancelled as it has been blocking others
> > > for too long
> > >
> > > but the view of the volume in CS tells me migrating...what do I do ?
> > >
> > > Thanks
> > >
> > > On 10/16/2017 12:55 AM, Rafael Weingärtner wrote:
> > >
> > > To help you we would need more log entries
> > >
> > > On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono
> > <gi...@gesca.it>
> > > wrote:
> > >
> > > Hello,
> > >
> > > I  migrated a volume from a SR to another, but after the end I received
> > > the message:
> > >
> > > unreachable: Migrate volume failed:
> > com.cloud.utils.exception.CloudRuntimeException:
> > > Failed to migrate volume org.apache.cloudstack.storage.volume
> > >
> > > On XenServer I see the volume is on the migrated storage, but on
> > > cloudstack is still indicated the old SR.
> > >
> > > How can i fix it ?
> > > Thanks
> > ------- End of Original Message -------
> >
> >
>

Re: [Issue Migrate Volume]

Posted by Makrand <ma...@gmail.com>.
Hi Gian,

you need to tune some parameters from global settings

Read this email thread I initiated in past to understand what needs to be
changed (my second reply in email thread)

https://mail-archives.apache.org/mod_mbox/cloudstack-users/201608.mbox/browser


(Search subject line Mess after volume migration.)

--
Makrand


On Mon, Oct 16, 2017 at 5:02 AM, Adrian Sender <as...@testlabs.com.au>
wrote:

> Definitely need more logs, but you might want to look at global parameters
> such as job.cancel.threshold.minutes and other primary storage and timeout
> values.
>
> If the primary storage or network is slow, you may be exceeding the value
> and
> cloudstack cancels the job without completely finishing.
>
> Regards,
> Adrian Sender
>
>
>
> ---------- Original Message -----------
> From: Gian Paolo Buono <gi...@gesca.it>
> To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
> Sent: Sun, 15 Oct 2017 23:02:42 +0000
> Subject: Re: [Issue Migrate Volume]
>
> > Hi,
> >
> > I have shutdown the vm and tried to migrate the volume, but I
> > received the message:
> >
> > Unable to serialize: Job is cancelled as it has been blocking others
> > for too long
> >
> > but the view of the volume in CS tells me migrating...what do I do ?
> >
> > Thanks
> >
> > On 10/16/2017 12:55 AM, Rafael Weingärtner wrote:
> >
> > To help you we would need more log entries
> >
> > On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono
> <gi...@gesca.it>
> > wrote:
> >
> > Hello,
> >
> > I  migrated a volume from a SR to another, but after the end I received
> > the message:
> >
> > unreachable: Migrate volume failed:
> com.cloud.utils.exception.CloudRuntimeException:
> > Failed to migrate volume org.apache.cloudstack.storage.volume
> >
> > On XenServer I see the volume is on the migrated storage, but on
> > cloudstack is still indicated the old SR.
> >
> > How can i fix it ?
> > Thanks
> ------- End of Original Message -------
>
>

Re: [Issue Migrate Volume]

Posted by Adrian Sender <as...@testlabs.com.au>.
Definitely need more logs, but you might want to look at global parameters
such as job.cancel.threshold.minutes and other primary storage and timeout
values. 

If the primary storage or network is slow, you may be exceeding the value and
cloudstack cancels the job without completely finishing.

Regards,
Adrian Sender



---------- Original Message -----------
From: Gian Paolo Buono <gi...@gesca.it>
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Sent: Sun, 15 Oct 2017 23:02:42 +0000
Subject: Re: [Issue Migrate Volume]

> Hi,
> 
> I have shutdown the vm and tried to migrate the volume, but I 
> received the message:
> 
> Unable to serialize: Job is cancelled as it has been blocking others 
> for too long
> 
> but the view of the volume in CS tells me migrating...what do I do ?
> 
> Thanks
> 
> On 10/16/2017 12:55 AM, Rafael Weingärtner wrote:
> 
> To help you we would need more log entries
> 
> On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono
<gi...@gesca.it>
> wrote:
> 
> Hello,
> 
> I  migrated a volume from a SR to another, but after the end I received
> the message:
> 
> unreachable: Migrate volume failed:
com.cloud.utils.exception.CloudRuntimeException:
> Failed to migrate volume org.apache.cloudstack.storage.volume
> 
> On XenServer I see the volume is on the migrated storage, but on
> cloudstack is still indicated the old SR.
> 
> How can i fix it ?
> Thanks
------- End of Original Message -------


Re: [Issue Migrate Volume]

Posted by Gian Paolo Buono <gi...@gesca.it>.
Hi,

I have shutdown the vm and tried to migrate the volume, but I received the message:

Unable to serialize: Job is cancelled as it has been blocking others for too long

but the view of the volume in CS tells me migrating...what do I do ?

Thanks

On 10/16/2017 12:55 AM, Rafael Weingärtner wrote:

To help you we would need more log entries

On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono <gi...@gesca.it>
wrote:



Hello,

I  migrated a volume from a SR to another, but after the end I received
the message:

unreachable: Migrate volume failed: com.cloud.utils.exception.CloudRuntimeException:
Failed to migrate volume org.apache.cloudstack.storage.volume

On XenServer I see the volume is on the migrated storage, but on
cloudstack is still indicated the old SR.

How can i fix it ?
Thanks









Re: [Issue Migrate Volume]

Posted by Rafael Weingärtner <ra...@gmail.com>.
To help you we would need more log entries

On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono <gi...@gesca.it>
wrote:

> Hello,
>
> I  migrated a volume from a SR to another, but after the end I received
> the message:
>
> unreachable: Migrate volume failed: com.cloud.utils.exception.CloudRuntimeException:
> Failed to migrate volume org.apache.cloudstack.storage.volume
>
> On XenServer I see the volume is on the migrated storage, but on
> cloudstack is still indicated the old SR.
>
> How can i fix it ?
> Thanks
>



-- 
Rafael Weingärtner