Re: [Issue Migrate Volume]

2017-10-16 Thread Gabriel Beims Bräscher
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 :

> 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 
> 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 
> > To: "users@cloudstack.apache.org" 
> > Sent: Sun, 15 Oct 2017 23:02:42 +
> > 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
> > <mailto:gianpaolo.bu...@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]

2017-10-16 Thread Makrand
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 
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 
> To: "users@cloudstack.apache.org" 
> Sent: Sun, 15 Oct 2017 23:02:42 +
> 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
> <mailto:gianpaolo.bu...@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]

2017-10-15 Thread Adrian Sender
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 
To: "users@cloudstack.apache.org" 
Sent: Sun, 15 Oct 2017 23:02:42 +
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
<mailto:gianpaolo.bu...@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]

2017-10-15 Thread Gian Paolo Buono
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 

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]

2017-10-15 Thread Rafael Weingärtner
To help you we would need more log entries

On Sun, Oct 15, 2017 at 7:21 PM, Gian Paolo Buono 
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


[Issue Migrate Volume]

2017-10-15 Thread Gian Paolo Buono
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