Re: Failed to create volume when attaching it to VM

2013-10-28 Thread Yugandhar Yetham
Hi Sanjay,


I successfully updated the zone. Now I am able to create a local storage
volume to attach an existing vm.
But, Here it is asking "install pv drivers on xenserver". Kindly let me
know.

Thanks for giving such kind of way to resolve the issues.

-
Thanks,
Yugandhar Yetham



On Mon, Oct 28, 2013 at 10:47 AM, Sanjay Tripathi <
sanjay.tripa...@citrix.com> wrote:

> Yugandhar,
>
> Check this page of updateZone API:
> http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateZone.html
>
> --Sanjay
>
> > -Original Message-
> > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > Sent: Sunday, October 27, 2013 11:57 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: Failed to create volume when attaching it to VM
> >
> > Hi Sanjay,
> >
> > Kindly give me the full commad which is using for how to update the zone.
> >
> > -
> > Thanks,
> > Yugandhar Yetham
> >
> >
> >
> >
> > On Sun, Oct 27, 2013 at 10:39 PM, Sanjay Tripathi <
> > sanjay.tripa...@citrix.com> wrote:
> >
> > > Find my comments inline.
> > >
> > > > -Original Message-
> > > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > > Sent: Sunday, October 27, 2013 8:39 AM
> > > > To: users@cloudstack.apache.org
> > > > Subject: Re: Failed to create volume when attaching it to VM
> > > >
> > > > Hi Sanjay,
> > > >
> > > > As you said that, I created one disk offering with name of "own-disk"
> > > with
> > > > storage type is local. Now this volume storing on the host where the
> > > > VMs
> > > are
> > > > running.
> > > > But, I am not sure how to configure the existed zone to use local
> > > storage.
> > >
> > > [Sanjay] This can be achieved by updateZone API command by setting
> > > "localstorageenabled" parameter as true.
> > >
> > > >
> > > > Kindly let me know.
> > > >
> > > > -
> > > > Thanks,
> > > > Yugandhar Yetham
> > > >
> > > >
> > > >
> > > > On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi <
> > > > sanjay.tripa...@citrix.com> wrote:
> > > >
> > > > > Can you verify that disk offering used to create the volume is of
> > > "local"
> > > > > storage type.
> > > > > Also, check if your zone is configured to use local storage.
> > > > >
> > > > > --Sanjay
> > > > >
> > > > > > -Original Message-
> > > > > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > > > > Sent: Saturday, October 26, 2013 6:39 PM
> > > > > > To: users@cloudstack.apache.org
> > > > > > Subject: Failed to create volume when attaching it to VM
> > > > > >
> > > > > > Hi Users,
> > > > > >
> > > > > >
> > > > > > I am using local storage for guest VMs.
> > > > > >
> > > > > > I have created a data volume "DATA-1001" but couldn't able to
> > > > > > attach it
> > > > > to
> > > > > > VM. Please check the below log file and let me soloution if i
> > > > > > made a
> > > > > mistake
> > > > > > in configuration.
> > > > > >
> > > > > > WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85)
> > > > > > Unable to find storage poll when create volume DATA-1001 ERROR
> > > > > > [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85)
> > > > Unexpected
> > > > > > exception while executing
> > > > > > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> > > > > > com.cloud.utils.exception.CloudRuntimeException: Failed to
> > > > > > create volume when attaching it to VM: ubuntuvm1001
> > > > > > at
> > > > > >
> > > >
> > com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> > > > > > mpl.java:939)
> > > > > > at
> > > > > >
> > > >
> > com.cloud.utils.component.ComponentInstantiationPostProcessor$Interc
> > > > > > ep
> > > > > >
> > torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> > > > > > at
> > > > > >
> > > >
> > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> > > > > > e(AttachVolumeCmd.java:122)
> > > > > > at
> com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> > > > > > at
> > > > > >
> > > >
> > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> > > > > > 37)
> > > > > > at
> > > > > >
> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> > > )
> > > > > > at
> > > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > > at
> > > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
> > > > > > utor
> > > > > > .jav
> > > > > > a:1146)
> > > > > > at
> > > > > >
> > > >
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> > > > > > r.ja
> > > > > > va:615)
> > > > > > at java.lang.Thread.run(Thread.java:679)
> > > > > > INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking
> > > > > > health of usage server
> > > > > >
> > > > > >
> > > > > > Thanks in Advance
> > > > > >
> > > > > > 
> > > > > > Regards,
> > > > > > Yugandhar Yetham
> > > > >
> > >
>


RE: Failed to create volume when attaching it to VM

2013-10-27 Thread Sanjay Tripathi
Yugandhar,

Check this page of updateZone API: 
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateZone.html

--Sanjay

> -Original Message-
> From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> Sent: Sunday, October 27, 2013 11:57 PM
> To: users@cloudstack.apache.org
> Subject: Re: Failed to create volume when attaching it to VM
> 
> Hi Sanjay,
> 
> Kindly give me the full commad which is using for how to update the zone.
> 
> -
> Thanks,
> Yugandhar Yetham
> 
> 
> 
> 
> On Sun, Oct 27, 2013 at 10:39 PM, Sanjay Tripathi <
> sanjay.tripa...@citrix.com> wrote:
> 
> > Find my comments inline.
> >
> > > -Original Message-
> > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > Sent: Sunday, October 27, 2013 8:39 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Failed to create volume when attaching it to VM
> > >
> > > Hi Sanjay,
> > >
> > > As you said that, I created one disk offering with name of "own-disk"
> > with
> > > storage type is local. Now this volume storing on the host where the
> > > VMs
> > are
> > > running.
> > > But, I am not sure how to configure the existed zone to use local
> > storage.
> >
> > [Sanjay] This can be achieved by updateZone API command by setting
> > "localstorageenabled" parameter as true.
> >
> > >
> > > Kindly let me know.
> > >
> > > -
> > > Thanks,
> > > Yugandhar Yetham
> > >
> > >
> > >
> > > On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi <
> > > sanjay.tripa...@citrix.com> wrote:
> > >
> > > > Can you verify that disk offering used to create the volume is of
> > "local"
> > > > storage type.
> > > > Also, check if your zone is configured to use local storage.
> > > >
> > > > --Sanjay
> > > >
> > > > > -Original Message-
> > > > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > > > Sent: Saturday, October 26, 2013 6:39 PM
> > > > > To: users@cloudstack.apache.org
> > > > > Subject: Failed to create volume when attaching it to VM
> > > > >
> > > > > Hi Users,
> > > > >
> > > > >
> > > > > I am using local storage for guest VMs.
> > > > >
> > > > > I have created a data volume "DATA-1001" but couldn't able to
> > > > > attach it
> > > > to
> > > > > VM. Please check the below log file and let me soloution if i
> > > > > made a
> > > > mistake
> > > > > in configuration.
> > > > >
> > > > > WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85)
> > > > > Unable to find storage poll when create volume DATA-1001 ERROR
> > > > > [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85)
> > > Unexpected
> > > > > exception while executing
> > > > > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> > > > > com.cloud.utils.exception.CloudRuntimeException: Failed to
> > > > > create volume when attaching it to VM: ubuntuvm1001
> > > > > at
> > > > >
> > >
> com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> > > > > mpl.java:939)
> > > > > at
> > > > >
> > >
> com.cloud.utils.component.ComponentInstantiationPostProcessor$Interc
> > > > > ep
> > > > >
> torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> > > > > at
> > > > >
> > >
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> > > > > e(AttachVolumeCmd.java:122)
> > > > > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> > > > > at
> > > > >
> > >
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> > > > > 37)
> > > > > at
> > > > >
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471
> > )
> > > > > at
> > java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > > at
> > > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExec
> > > > > utor
> > > > > .jav
> > > > > a:1146)
> > > > > at
> > > > >
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> > > > > r.ja
> > > > > va:615)
> > > > > at java.lang.Thread.run(Thread.java:679)
> > > > > INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking
> > > > > health of usage server
> > > > >
> > > > >
> > > > > Thanks in Advance
> > > > >
> > > > > 
> > > > > Regards,
> > > > > Yugandhar Yetham
> > > >
> >


Re: Failed to create volume when attaching it to VM

2013-10-27 Thread Yugandhar Yetham
Hi Sanjay,

Kindly give me the full commad which is using for how to update the zone.

-
Thanks,
Yugandhar Yetham




On Sun, Oct 27, 2013 at 10:39 PM, Sanjay Tripathi <
sanjay.tripa...@citrix.com> wrote:

> Find my comments inline.
>
> > -Original Message-
> > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > Sent: Sunday, October 27, 2013 8:39 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Failed to create volume when attaching it to VM
> >
> > Hi Sanjay,
> >
> > As you said that, I created one disk offering with name of "own-disk"
> with
> > storage type is local. Now this volume storing on the host where the VMs
> are
> > running.
> > But, I am not sure how to configure the existed zone to use local
> storage.
>
> [Sanjay] This can be achieved by updateZone API command by setting
> "localstorageenabled" parameter as true.
>
> >
> > Kindly let me know.
> >
> > -
> > Thanks,
> > Yugandhar Yetham
> >
> >
> >
> > On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi <
> > sanjay.tripa...@citrix.com> wrote:
> >
> > > Can you verify that disk offering used to create the volume is of
> "local"
> > > storage type.
> > > Also, check if your zone is configured to use local storage.
> > >
> > > --Sanjay
> > >
> > > > -Original Message-
> > > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > > Sent: Saturday, October 26, 2013 6:39 PM
> > > > To: users@cloudstack.apache.org
> > > > Subject: Failed to create volume when attaching it to VM
> > > >
> > > > Hi Users,
> > > >
> > > >
> > > > I am using local storage for guest VMs.
> > > >
> > > > I have created a data volume "DATA-1001" but couldn't able to attach
> > > > it
> > > to
> > > > VM. Please check the below log file and let me soloution if i made a
> > > mistake
> > > > in configuration.
> > > >
> > > > WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85)
> > > > Unable to find storage poll when create volume DATA-1001 ERROR
> > > > [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85)
> > Unexpected
> > > > exception while executing
> > > > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> > > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> > > > volume when attaching it to VM: ubuntuvm1001
> > > > at
> > > >
> > com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> > > > mpl.java:939)
> > > > at
> > > >
> > com.cloud.utils.component.ComponentInstantiationPostProcessor$Interc
> > > > ep
> > > > torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> > > > at
> > > >
> > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> > > > e(AttachVolumeCmd.java:122)
> > > > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> > > > at
> > > >
> > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> > > > 37)
> > > > at
> > > >
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > > > at
> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > > at
> > > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor
> > > > .jav
> > > > a:1146)
> > > > at
> > > >
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> > > > r.ja
> > > > va:615)
> > > > at java.lang.Thread.run(Thread.java:679)
> > > > INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health
> > > > of usage server
> > > >
> > > >
> > > > Thanks in Advance
> > > >
> > > > 
> > > > Regards,
> > > > Yugandhar Yetham
> > >
>


RE: Failed to create volume when attaching it to VM

2013-10-27 Thread Sanjay Tripathi
Find my comments inline.

> -Original Message-
> From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> Sent: Sunday, October 27, 2013 8:39 AM
> To: users@cloudstack.apache.org
> Subject: Re: Failed to create volume when attaching it to VM
> 
> Hi Sanjay,
> 
> As you said that, I created one disk offering with name of "own-disk" with
> storage type is local. Now this volume storing on the host where the VMs are
> running.
> But, I am not sure how to configure the existed zone to use local storage.

[Sanjay] This can be achieved by updateZone API command by setting 
"localstorageenabled" parameter as true.

> 
> Kindly let me know.
> 
> -
> Thanks,
> Yugandhar Yetham
> 
> 
> 
> On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi <
> sanjay.tripa...@citrix.com> wrote:
> 
> > Can you verify that disk offering used to create the volume is of "local"
> > storage type.
> > Also, check if your zone is configured to use local storage.
> >
> > --Sanjay
> >
> > > -Original Message-
> > > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > > Sent: Saturday, October 26, 2013 6:39 PM
> > > To: users@cloudstack.apache.org
> > > Subject: Failed to create volume when attaching it to VM
> > >
> > > Hi Users,
> > >
> > >
> > > I am using local storage for guest VMs.
> > >
> > > I have created a data volume "DATA-1001" but couldn't able to attach
> > > it
> > to
> > > VM. Please check the below log file and let me soloution if i made a
> > mistake
> > > in configuration.
> > >
> > > WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85)
> > > Unable to find storage poll when create volume DATA-1001 ERROR
> > > [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85)
> Unexpected
> > > exception while executing
> > > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> > > com.cloud.utils.exception.CloudRuntimeException: Failed to create
> > > volume when attaching it to VM: ubuntuvm1001
> > > at
> > >
> com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> > > mpl.java:939)
> > > at
> > >
> com.cloud.utils.component.ComponentInstantiationPostProcessor$Interc
> > > ep
> > > torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> > > at
> > >
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> > > e(AttachVolumeCmd.java:122)
> > > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> > > at
> > >
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> > > 37)
> > > at
> > > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > > at
> > > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor
> > > .jav
> > > a:1146)
> > > at
> > >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto
> > > r.ja
> > > va:615)
> > > at java.lang.Thread.run(Thread.java:679)
> > > INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health
> > > of usage server
> > >
> > >
> > > Thanks in Advance
> > >
> > > 
> > > Regards,
> > > Yugandhar Yetham
> >


Re: Failed to create volume when attaching it to VM

2013-10-26 Thread Yugandhar Yetham
Hi Sanjay,

As you said that, I created one disk offering with name of "own-disk" with
storage type is local. Now this volume storing on the host where the VMs
are running.
But, I am not sure how to configure the existed zone to use local storage.

Kindly let me know.

-
Thanks,
Yugandhar Yetham



On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi <
sanjay.tripa...@citrix.com> wrote:

> Can you verify that disk offering used to create the volume is of "local"
> storage type.
> Also, check if your zone is configured to use local storage.
>
> --Sanjay
>
> > -Original Message-
> > From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> > Sent: Saturday, October 26, 2013 6:39 PM
> > To: users@cloudstack.apache.org
> > Subject: Failed to create volume when attaching it to VM
> >
> > Hi Users,
> >
> >
> > I am using local storage for guest VMs.
> >
> > I have created a data volume "DATA-1001" but couldn't able to attach it
> to
> > VM. Please check the below log file and let me soloution if i made a
> mistake
> > in configuration.
> >
> > WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable
> > to find storage poll when create volume DATA-1001 ERROR
> > [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
> > exception while executing
> > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> > com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
> > when attaching it to VM: ubuntuvm1001
> > at
> > com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> > mpl.java:939)
> > at
> > com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercep
> > torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> > at
> > org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> > e(AttachVolumeCmd.java:122)
> > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> > at
> > com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> > 37)
> > at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> > at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> > at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> > at
> > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> > a:1146)
> > at
> > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> > va:615)
> > at java.lang.Thread.run(Thread.java:679)
> > INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
> > usage server
> >
> >
> > Thanks in Advance
> >
> > 
> > Regards,
> > Yugandhar Yetham
>


RE: Failed to create volume when attaching it to VM

2013-10-26 Thread Sanjay Tripathi
Can you verify that disk offering used to create the volume is of "local" 
storage type.
Also, check if your zone is configured to use local storage.

--Sanjay

> -Original Message-
> From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com]
> Sent: Saturday, October 26, 2013 6:39 PM
> To: users@cloudstack.apache.org
> Subject: Failed to create volume when attaching it to VM
> 
> Hi Users,
> 
> 
> I am using local storage for guest VMs.
> 
> I have created a data volume "DATA-1001" but couldn't able to attach it to
> VM. Please check the below log file and let me soloution if i made a mistake
> in configuration.
> 
> WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable
> to find storage poll when create volume DATA-1001 ERROR
> [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
> when attaching it to VM: ubuntuvm1001
> at
> com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI
> mpl.java:939)
> at
> com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercep
> torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
> at
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut
> e(AttachVolumeCmd.java:122)
> at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
> at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4
> 37)
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:615)
> at java.lang.Thread.run(Thread.java:679)
> INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
> usage server
> 
> 
> Thanks in Advance
> 
> 
> Regards,
> Yugandhar Yetham


Re: Failed to create volume when attaching it to VM

2013-10-26 Thread Yugandhar Yetham
Hi Geoff,

Please check the below screen shot

Here, DATA-1001 is the Volume which is trying to attach the vm ubuntuvm1001.
[image: Inline image 1]

-
Thanks,
Yugandhar Yetham





On Sat, Oct 26, 2013 at 9:21 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Yugandhar,
>
> Can you share the configuration of the Compute offering being used by the
> VM and the Storage Offering being used to create the volume.
>
> Also have you tried creating the volume first, then mounting it to the VM,
> and can you create and attach volumes to other VMs?
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603
> 0540| M: +447968161581
>
> geoff.higginbot...@shapeblue.com
> |www.shapeblue.com | Twitter:@shapeblue
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
> On 26 Oct 2013, at 15:26, "Yugandhar Yetham"  > wrote:
>
> Hi Geoff,
>
> I didn't set any HA option for VM.
>
> *HA enable : No
>
> --
> *
> *Thanks,
> *
> *Yugandhar Yetham
> *
> *
> *
>
>
> On Sat, Oct 26, 2013 at 7:04 PM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com>
> wrote:
>
> Yugandhar,
>
> Would the compute service offering the VM is using be set to HA by any
> chance?
>
> If so it's failing as the local storage volume is not compatible with a HA
> VM
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603
> 0540| M: +447968161581
>
> geoff.higginbot...@shapeblue.com >
> |www.shapeblue.com | Twitter:@shapeblue<
> https://twitter.com/#!/shapeblue>
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
> On 26 Oct 2013, at 14:09, "Yugandhar Yetham"  
> > wrote:
>
> Hi Users,
>
>
> I am using local storage for guest VMs.
>
> I have created a data volume "DATA-1001" but couldn't able to attach it to
> VM. Please check the below log file and let me soloution if i made a
> mistake in configuration.
>
> WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to
> find storage poll when create volume DATA-1001
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
> when attaching it to VM: ubuntuvm1001
>   at
> com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939)
>   at
>
>
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>   at
>
>
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
>   at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>   at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>   at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>   at
>
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>   at
>
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:679)
> INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
> usage server
>
>
> Thanks in Advance
>
> 
> Regards,
> Yugandhar Yetham
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither 

Re: Failed to create volume when attaching it to VM

2013-10-26 Thread Geoff Higginbottom
Yugandhar,

Can you share the configuration of the Compute offering being used by the VM 
and the Storage Offering being used to create the volume.

Also have you tried creating the volume first, then mounting it to the VM, and 
can you create and attach volumes to other VMs?

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 
0540| M: +447968161581

geoff.higginbot...@shapeblue.com 
|www.shapeblue.com | Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 26 Oct 2013, at 15:26, "Yugandhar Yetham" 
mailto:yugandhar.yet...@gmail.com>> wrote:

Hi Geoff,

I didn't set any HA option for VM.

*HA enable : No

--
*
*Thanks,
*
*Yugandhar Yetham
*
*
*


On Sat, Oct 26, 2013 at 7:04 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> 
wrote:

Yugandhar,

Would the compute service offering the VM is using be set to HA by any
chance?

If so it's failing as the local storage volume is not compatible with a HA
VM

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603
0540| M: +447968161581

geoff.higginbot...@shapeblue.com
|www.shapeblue.com | 
Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 26 Oct 2013, at 14:09, "Yugandhar Yetham" 
mailto:yugandhar.yet...@gmail.com>
> wrote:

Hi Users,


I am using local storage for guest VMs.

I have created a data volume "DATA-1001" but couldn't able to attach it to
VM. Please check the below log file and let me soloution if i made a
mistake in configuration.

WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to
find storage poll when create volume DATA-1001
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
exception while executing
org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
when attaching it to VM: ubuntuvm1001
  at
com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939)
  at

com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
  at

org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
  at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
  at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
  at

java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
  at

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:679)
INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
usage server


Thanks in Advance


Regards,
Yugandhar Yetham
This email and any attachments to it may be confidential and are intended
solely for the use of the individual to whom it is addressed. Any views or
opinions expressed are solely those of the author and do not necessarily
represent those of Shape Blue Ltd or related companies. If you are not the
intended recipient of this email, you must neither take any action based
upon its contents, nor copy or show it to anyone. Please contact the sender
if you believe you have received this email in error. Shape Blue Ltd is a
company incorporated in England & Wales. ShapeBlue Services India LLP is a
company incorporated in India and is operated under license from Shape Blue
Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
and is operated under license from Shape Blue Ltd. ShapeBlue is a
registered trademark.

This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Failed to create volume when attaching it to VM

2013-10-26 Thread Yugandhar Yetham
Hi Geoff,

I didn't set any HA option for VM.

*HA enable : No

--
*
*Thanks,
*
*Yugandhar Yetham
*
*
*


On Sat, Oct 26, 2013 at 7:04 PM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com> wrote:

> Yugandhar,
>
> Would the compute service offering the VM is using be set to HA by any
> chance?
>
> If so it's failing as the local storage volume is not compatible with a HA
> VM
>
> Regards
>
> Geoff Higginbottom
> CTO / Cloud Architect
>
> D: +44 20 3603 0542 | S: +44 20 3603
> 0540| M: +447968161581
>
> geoff.higginbot...@shapeblue.com
> |www.shapeblue.com | Twitter:@shapeblue
>
> ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS
>
>
> On 26 Oct 2013, at 14:09, "Yugandhar Yetham"  > wrote:
>
> Hi Users,
>
>
> I am using local storage for guest VMs.
>
> I have created a data volume "DATA-1001" but couldn't able to attach it to
> VM. Please check the below log file and let me soloution if i made a
> mistake in configuration.
>
> WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to
> find storage poll when create volume DATA-1001
> ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
> exception while executing
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
> com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
> when attaching it to VM: ubuntuvm1001
>at
> com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939)
>at
>
> com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
>at
>
> org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
>at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
>at
> com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
>at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>at
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>at java.lang.Thread.run(Thread.java:679)
> INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
> usage server
>
>
> Thanks in Advance
>
> 
> Regards,
> Yugandhar Yetham
> This email and any attachments to it may be confidential and are intended
> solely for the use of the individual to whom it is addressed. Any views or
> opinions expressed are solely those of the author and do not necessarily
> represent those of Shape Blue Ltd or related companies. If you are not the
> intended recipient of this email, you must neither take any action based
> upon its contents, nor copy or show it to anyone. Please contact the sender
> if you believe you have received this email in error. Shape Blue Ltd is a
> company incorporated in England & Wales. ShapeBlue Services India LLP is a
> company incorporated in India and is operated under license from Shape Blue
> Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil
> and is operated under license from Shape Blue Ltd. ShapeBlue is a
> registered trademark.
>


Re: Failed to create volume when attaching it to VM

2013-10-26 Thread Geoff Higginbottom
Yugandhar,

Would the compute service offering the VM is using be set to HA by any chance?

If so it's failing as the local storage volume is not compatible with a HA VM

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542 | S: +44 20 3603 
0540| M: +447968161581

geoff.higginbot...@shapeblue.com 
|www.shapeblue.com | Twitter:@shapeblue

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS


On 26 Oct 2013, at 14:09, "Yugandhar Yetham" 
mailto:yugandhar.yet...@gmail.com>> wrote:

Hi Users,


I am using local storage for guest VMs.

I have created a data volume "DATA-1001" but couldn't able to attach it to
VM. Please check the below log file and let me soloution if i made a
mistake in configuration.

WARN  [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to
find storage poll when create volume DATA-1001
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected
exception while executing
org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
com.cloud.utils.exception.CloudRuntimeException: Failed to create volume
when attaching it to VM: ubuntuvm1001
   at
com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939)
   at
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
   at
org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
   at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
   at
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
   at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
   at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
   at java.util.concurrent.FutureTask.run(FutureTask.java:166)
   at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
   at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
   at java.lang.Thread.run(Thread.java:679)
INFO  [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of
usage server


Thanks in Advance


Regards,
Yugandhar Yetham
This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England & Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.