RE: Disable primary storage, not delete...

2015-02-24 Thread Devdeep Singh
If a storage pool is put in disabled state then it will not be picked up as a 
possible destination when a volume is being migrated or when a virtual machine 
is being migrated along with its volumes.

Regards,
Devdeep

> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Monday, February 23, 2015 7:44 PM
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: Disable primary storage, not delete...
> 
> Yeah, probably option 2 is better.
> 
> I would think you couldn't use this primary storage as the target of a
> migration or for HA.
> 
> On Monday, February 23, 2015, Harikrishna Patnala <
> harikrishna.patn...@citrix.com> wrote:
> 
> > Hi,
> >
> > I think it is better to go with option 2, as it makes sense to be part
> > of one of the states.
> >
> > I believe that VMs using that storage continue to work, but what are
> > the plans for the operations related to the storage on those VMs like
> > migration/HA/... ?
> >
> > Thanks,
> > Harikrishna
> >
> > On 23-Feb-2015, at 3:01 pm, Devdeep Singh  > > wrote:
> >
> > > Hi,
> > >
> > > I was looking into implementing the ability to disable a storage
> > > pool
> > for provisioning. I could think of two ways to do it
> > >
> > > 1. CloudStack admin could add a 'disabled' tag on the storage pool.
> > > The
> > storage pool allocators would skip the pools for allocating volumes
> > with the 'disabled' tag.
> > > 2. Other option would be to add 'Disabled' as one of the states of
> > storage pool. This could be a state in addition to "Up", "Maintenance" etc.
> > A storage pool in "Disabled" state will not be picked up for
> > provisioning volumes. This would require new apis for disabling/enabling
> storage pool.
> > >
> > > Thoughts, comments?
> > >
> > > Regards,
> > > Devdeep
> > >
> > >> -Original Message-
> > >> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com
> > ]
> > >> Sent: Monday, February 23, 2015 3:48 AM
> > >> To: d...@cloudstack.apache.org 
> > >> Cc: users@cloudstack.apache.org 
> > >> Subject: Re: Disable primary storage, not delete...
> > >>
> > >> For my suggestion to work, though, your compute and disk offerings
> > >> have
> > to
> > >> be set up currently to make use of one or more storage tags.
> > >>
> > >> The idea is then that these offerings would require your primary
> > storage to
> > >> have a given tag or tags and it never will (effectively disabling
> > >> that
> > primary
> > >> storage from being used with your offerings).
> > >>
> > >> On Sunday, February 22, 2015, Mike Tutkowski
> > >> >
> > >> wrote:
> > >>
> > >>> What about changing the storage tags field of your primary storage
> > >>> so it doesn't serve as a match for any compute or disk offering?
> > >>>
> > >>> On Sunday, February 22, 2015, Andrija Panic
> > >>>  > 
> > >>>  > >>> ');>>
> > wrote:
> > >>>
> > >>>> Hi folks,
> > >>>>
> > >>>> I was wondering is it safe to change the Cluster Wide primary
> > >>>> storage to a Zone Wide primary storage (change the database,
> > >>>> cloud.storage_pool). This is ACS 4.3.0
> > >>>>
> > >>>>
> > >>>> Or actually better question - since I have some old NFS servers
> > >>>> exist as Primary Storage - is there any way to exclude this NFS
> > >>>> (Cluster
> > >>>> Wide)  - or disable it, so the new Volume Uploads will not use
> > >>>> that NFS storage...
> > >>>>
> > >>>> This is some trail from the history, that I can't really delete,
> > >>>> but would like to completely disable further usage of this NFS 
> > >>>> server...
> > >>>> if possible at all...
> > >>>>
> > >>>> THanks,
> > >>>>
> > >>>>
> > >>>> --
> > >>>>
> > >>>> Andrija Panić
> > >>>>
> > >>>
> > >>>
> > >>> --
> > >>> *Mike Tutkowski*
> > >>> *Senior CloudStack Developer, SolidFire Inc.*
> > >>> e: mike.tutkow...@solidfire.com 
> > >>>  > ');>
> > >>> o: 303.746.7302
> > >>> Advancing the way the world uses the cloud
> > >>> <http://solidfire.com/solution/overview/?video=play>*™*
> > >>>
> > >>>
> > >>
> > >> --
> > >> *Mike Tutkowski*
> > >> *Senior CloudStack Developer, SolidFire Inc.*
> > >> e: mike.tutkow...@solidfire.com 
> > >> o: 303.746.7302
> > >> Advancing the way the world uses the cloud
> > >> <http://solidfire.com/solution/overview/?video=play>*™*
> >
> >
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> <http://solidfire.com/solution/overview/?video=play>*™*


RE: Disable primary storage, not delete...

2015-02-23 Thread Devdeep Singh
Hi,

I was looking into implementing the ability to disable a storage pool for 
provisioning. I could think of two ways to do it

1. CloudStack admin could add a 'disabled' tag on the storage pool. The storage 
pool allocators would skip the pools for allocating volumes with the 'disabled' 
tag. 
2. Other option would be to add 'Disabled' as one of the states of storage 
pool. This could be a state in addition to "Up", "Maintenance" etc. A storage 
pool in "Disabled" state will not be picked up for provisioning volumes. This 
would require new apis for disabling/enabling storage pool.

Thoughts, comments?

Regards,
Devdeep

> -Original Message-
> From: Mike Tutkowski [mailto:mike.tutkow...@solidfire.com]
> Sent: Monday, February 23, 2015 3:48 AM
> To: d...@cloudstack.apache.org
> Cc: users@cloudstack.apache.org
> Subject: Re: Disable primary storage, not delete...
> 
> For my suggestion to work, though, your compute and disk offerings have to
> be set up currently to make use of one or more storage tags.
> 
> The idea is then that these offerings would require your primary storage to
> have a given tag or tags and it never will (effectively disabling that primary
> storage from being used with your offerings).
> 
> On Sunday, February 22, 2015, Mike Tutkowski
> 
> wrote:
> 
> > What about changing the storage tags field of your primary storage so
> > it doesn't serve as a match for any compute or disk offering?
> >
> > On Sunday, February 22, 2015, Andrija Panic  > > wrote:
> >
> >> Hi folks,
> >>
> >> I was wondering is it safe to change the Cluster Wide primary storage
> >> to a Zone Wide primary storage (change the database,
> >> cloud.storage_pool). This is ACS 4.3.0
> >>
> >>
> >> Or actually better question - since I have some old NFS servers exist
> >> as Primary Storage - is there any way to exclude this NFS (Cluster
> >> Wide)  - or disable it, so the new Volume Uploads will not use that
> >> NFS storage...
> >>
> >> This is some trail from the history, that I can't really delete, but
> >> would like to completely disable further usage of this NFS server...
> >> if possible at all...
> >>
> >> THanks,
> >>
> >>
> >> --
> >>
> >> Andrija Panić
> >>
> >
> >
> > --
> > *Mike Tutkowski*
> > *Senior CloudStack Developer, SolidFire Inc.*
> > e: mike.tutkow...@solidfire.com
> > 
> > o: 303.746.7302
> > Advancing the way the world uses the cloud
> > *™*
> >
> >
> 
> --
> *Mike Tutkowski*
> *Senior CloudStack Developer, SolidFire Inc.*
> e: mike.tutkow...@solidfire.com
> o: 303.746.7302
> Advancing the way the world uses the cloud
> *™*


RE: Host stuck in "Alert" status after adding a new primary storage

2014-08-04 Thread Devdeep Singh
Hi Amir,

Can you share some more logs of the management server? It looks like management 
server isn't able to connect to the host; but we'll have to look at rest of the 
logs to root cause the issue. What hypervisor are you working with?

Regards,
Devdeep

> -Original Message-
> From: Amir Abbasi [mailto:abb...@tebyanidc.ir]
> Sent: Sunday, August 3, 2014 3:59 PM
> To: users@cloudstack.apache.org
> Subject: Host stuck in "Alert" status after adding a new primary storage
> 
> Hi,
> 
> I've removed the new Primary storage but the Host still shows Alert status
> and here is what I see in logs:
> 
> 2014-08-03 14:51:09,401 DEBUG [cloud.host.Status] (AgentTaskPool-4:null)
> Agent status update: [id = 55; name = 10.3.1.5; old status = Alert; event =
> AgentDisconnected; new status = Alert; old update count = 14014; new
> update count = 14015]
> 
> 
> Thanks in advance,


RE: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Devdeep Singh
Sanjay can correct me if I am wrong, but looks like a different resource gets 
loaded for XenServer 6.2 and XenServer 6.2 SP1. So if you are using 6.2 , 
cloudstack will not query the host for GPU details.

Regards,
Devdeep

> -Original Message-
> From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> Sent: Wednesday, June 18, 2014 11:03 AM
> To: users@cloudstack.apache.org
> Subject: RE: Cloudstack/Xenserver/GPU support
> 
> The problem is that my host doesn’t show the gpu through cloudstack. Just
> using Xenserver direct passthrough, everything works. Just doesn’t work
> through cloudstack.
> 
> Regards,
> Vijay R
> 
> 
> -----Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: Tuesday, June 17, 2014 10:24 PM
> To: users@cloudstack.apache.org
> Subject: RE: Cloudstack/Xenserver/GPU support
> 
> From the FS [1], under Interoperability and compatibility, it is supported for
> 6.2 SP1 and later.
> 
> [1]
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU
> +support+for+CloudStack+Guest+VMs
> 
> Regards,
> Devdeep
> 
> > -Original Message-
> > From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> > Sent: Wednesday, June 18, 2014 10:31 AM
> > To: users@cloudstack.apache.org
> > Subject: RE: Cloudstack/Xenserver/GPU support
> >
> > I am using Xenserver 6.2.
> >
> > Regards,
> > Vijay R
> >
> >
> > -Original Message-
> > From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> > Sent: Tuesday, June 17, 2014 9:49 PM
> > To: users@cloudstack.apache.org
> > Subject: RE: Cloudstack/Xenserver/GPU support
> >
> > Just to confirm, are you using XenServer 6.2 or XenServer 6.2 SP1?
> >
> > Regards,
> > Devdeep
> >
> > > -Original Message-
> > > From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> > > Sent: Wednesday, June 18, 2014 10:01 AM
> > > To: users@cloudstack.apache.org
> > > Subject: Re: Cloudstack/Xenserver/GPU support
> > >
> > > Note that I am using 4.4 dev builds for this so it does have GPU
> > > support. So in service offerings I do see GPU options but just doesn't
> work.
> > >
> > > Regards
> > > Vijay R
> > >
> > > On Jun 17, 2014 9:27 PM, Shanker Balan 
> > > wrote:
> > > Hi Vijay,
> > >
> > > Comments inline:
> > >
> > > On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss 
> > wrote:
> > >
> > > > Hi - I have setup a cloudstack management server and managing two
> > > xenserver 6.2 based hosts with NVIDIA GRID k2 gpus on them. I added
> > > the host to the pod/cluster but cloudstack is not detecting the gpu
> > > on it and showing it.  How do I make gpu be available so that
> > > cloudstack could use it ? I created a service offering for gpu but I
> > > am not able to associate an instance with that service offering and
> > > it fails as cloudstack cant see the gpu. Please help.
> > >
> > > The last time I had a requirement to enable passthru of devices to
> > > the VMs, CloudStack didnt have support for this. While the XenServer
> > > itself can do passthru, CloudStack service offerings could not be
> > > taught to expose these to the VMs created via CloudStack.
> > >
> > > In short, someone will need to add this feature to ACS. The
> > > developer list might be a better place to ask this question.
> > >
> > > Regards.
> > >
> > > --
> > > @shankerbalan
> > >
> > > M: +91 98860 60539 | O: +91 (80) 67935867
> > > shanker.ba...@shapeblue.com
> > > | www.shapeblue.com<http://www.shapeblue.com> |
> > Twitter:@shapeblue
> > > ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> > > Centre, Bangalore - 560 055
> > >
> > > Find out more about ShapeBlue and our range of CloudStack related
> > > services
> > >
> > > IaaS Cloud Design &
> > > Build<http://shapeblue.com/iaas-cloud-design-and-
> > > build//>
> > > CSForge – rapid IaaS deployment
> > > framework<http://shapeblue.com/csforge/>
> > > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > > CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-
> > > infrastructure-support/>
> > > CloudStack Bootcamp Training
> > > Courses<http://shapeblue.com/cloudstack-
> > > training/>
> > >
> > > 

RE: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Devdeep Singh
From the FS [1], under Interoperability and compatibility, it is supported for 
6.2 SP1 and later.

[1] 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs

Regards,
Devdeep

> -Original Message-
> From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> Sent: Wednesday, June 18, 2014 10:31 AM
> To: users@cloudstack.apache.org
> Subject: RE: Cloudstack/Xenserver/GPU support
> 
> I am using Xenserver 6.2.
> 
> Regards,
> Vijay R
> 
> 
> -----Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: Tuesday, June 17, 2014 9:49 PM
> To: users@cloudstack.apache.org
> Subject: RE: Cloudstack/Xenserver/GPU support
> 
> Just to confirm, are you using XenServer 6.2 or XenServer 6.2 SP1?
> 
> Regards,
> Devdeep
> 
> > -Original Message-
> > From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> > Sent: Wednesday, June 18, 2014 10:01 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Cloudstack/Xenserver/GPU support
> >
> > Note that I am using 4.4 dev builds for this so it does have GPU
> > support. So in service offerings I do see GPU options but just doesn't work.
> >
> > Regards
> > Vijay R
> >
> > On Jun 17, 2014 9:27 PM, Shanker Balan 
> > wrote:
> > Hi Vijay,
> >
> > Comments inline:
> >
> > On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss 
> wrote:
> >
> > > Hi - I have setup a cloudstack management server and managing two
> > xenserver 6.2 based hosts with NVIDIA GRID k2 gpus on them. I added
> > the host to the pod/cluster but cloudstack is not detecting the gpu on
> > it and showing it.  How do I make gpu be available so that cloudstack
> > could use it ? I created a service offering for gpu but I am not able
> > to associate an instance with that service offering and it fails as
> > cloudstack cant see the gpu. Please help.
> >
> > The last time I had a requirement to enable passthru of devices to the
> > VMs, CloudStack didnt have support for this. While the XenServer
> > itself can do passthru, CloudStack service offerings could not be
> > taught to expose these to the VMs created via CloudStack.
> >
> > In short, someone will need to add this feature to ACS. The developer
> > list might be a better place to ask this question.
> >
> > Regards.
> >
> > --
> > @shankerbalan
> >
> > M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com
> > | www.shapeblue.com<http://www.shapeblue.com> |
> Twitter:@shapeblue
> > ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade
> > Centre, Bangalore - 560 055
> >
> > Find out more about ShapeBlue and our range of CloudStack related
> > services
> >
> > IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-
> > build//>
> > CSForge – rapid IaaS deployment
> > framework<http://shapeblue.com/csforge/>
> > CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
> > CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-
> > infrastructure-support/>
> > CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-
> > training/>
> >
> > 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 message is for the sole use of the intended
> > recipient(s) and may contain confidential information.  Any
> > unauthorized review, use, disclosure or distribution is prohibited.
> > If you are not the intended recipient, please contact the sender by
> > reply email and destroy all copies of the original message.
> > --
> > -


RE: Cloudstack/Xenserver/GPU support

2014-06-17 Thread Devdeep Singh
Just to confirm, are you using XenServer 6.2 or XenServer 6.2 SP1?

Regards,
Devdeep

> -Original Message-
> From: Vijay Ramadoss [mailto:vramad...@nvidia.com]
> Sent: Wednesday, June 18, 2014 10:01 AM
> To: users@cloudstack.apache.org
> Subject: Re: Cloudstack/Xenserver/GPU support
> 
> Note that I am using 4.4 dev builds for this so it does have GPU support. So 
> in
> service offerings I do see GPU options but just doesn't work.
> 
> Regards
> Vijay R
> 
> On Jun 17, 2014 9:27 PM, Shanker Balan 
> wrote:
> Hi Vijay,
> 
> Comments inline:
> 
> On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss  wrote:
> 
> > Hi - I have setup a cloudstack management server and managing two
> xenserver 6.2 based hosts with NVIDIA GRID k2 gpus on them. I added the
> host to the pod/cluster but cloudstack is not detecting the gpu on it and
> showing it.  How do I make gpu be available so that cloudstack could use it ? 
> I
> created a service offering for gpu but I am not able to associate an instance
> with that service offering and it fails as cloudstack cant see the gpu. Please
> help.
> 
> The last time I had a requirement to enable passthru of devices to the VMs,
> CloudStack didnt have support for this. While the XenServer itself can do
> passthru, CloudStack service offerings could not be taught to expose these
> to the VMs created via CloudStack.
> 
> In short, someone will need to add this feature to ACS. The developer list
> might be a better place to ask this question.
> 
> Regards.
> 
> --
> @shankerbalan
> 
> M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com |
> www.shapeblue.com | Twitter:@shapeblue
> ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
> Bangalore - 560 055
> 
> Find out more about ShapeBlue and our range of CloudStack related services
> 
> IaaS Cloud Design & Build build//>
> CSForge – rapid IaaS deployment
> framework
> CloudStack Consulting
> CloudStack Infrastructure Support infrastructure-support/>
> CloudStack Bootcamp Training Courses training/>
> 
> 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 message is for the sole use of the intended recipient(s) and may
> contain confidential information.  Any unauthorized review, use, disclosure
> or distribution is prohibited.  If you are not the intended recipient, please
> contact the sender by reply email and destroy all copies of the original
> message.
> ---


RE: VM's using custom offerings wont let us use the migrate host from UI !!!

2014-05-29 Thread Devdeep Singh
Hi Amin,

I can reproduce the problem; the stack trace is similar to what Prashant 
pointed to. Do confirm you are seeing a similar stack trace in your logs and 
file a bug for the same. I'll submit a fix for the problem.

Regards,
Devdeep

> -Original Message-
> From: Amin Samir [mailto:a...@opencloud.net.au]
> Sent: Wednesday, May 28, 2014 2:51 PM
> To: users@cloudstack.apache.org
> Subject: RE: VM's using custom offerings wont let us use the migrate host
> from UI !!!
> 
> 
> 
>  Hi Devdeep,
> 
> 
> Thank for you support, have you tried moving an instance that is created
> from custom offering? is it not allowing you also?
> 
> 
> Kind Regards
> 
> Amin
> 
> 
> 
> 
> -Original message-
> To:users@cloudstack.apache.org;
> From:Devdeep Singh  Sent:Wed 28-05-2014
> 16:23
> Subject:RE: VM's using custom offerings wont let us use the migrate host
> from UI !!!
> Hi Amin,
> 
> Right now I am not sure as to why the issue is there. If I get a chance, I'll 
> give
> it a try and let you know if I find something.
> 
> Regards,
> Devdeep
> 
> > -Original Message-
> > From: Amin Samir [mailto:a...@opencloud.net.au]
> > Sent: Tuesday, May 27, 2014 2:36 PM
> > To: users@cloudstack.apache.org
> > Subject: RE: VM's using custom offerings wont let us use the migrate
> > host from UI !!!
> >
> > Sorry forgot to mention this cloud stack is migrated twice before from
> > 2.2.14 to 4.2.1 then 4.3 if this helps
> >
> > Kind Regards
> > Amin
> >
> > -Original Message-
> > From: Amin Samir
> > Sent: Tuesday, 27 May 2014 5:04 PM
> > To: users@cloudstack.apache.org
> > Subject: RE: VM's using custom offerings wont let us use the migrate
> > host from UI !!!
> >
> > Hi Devdeep,
> >
> > Thanks for replying, it is one cluster with 7 hosts, we still have
> > room to migrate this host, in fact other machines created from
> > pre-defined offerings do migrate fine.
> >
> > All hosts are running the same version Xen Server 6.2 SP1,
> >
> > There is no logs the when you click the migrate to host icon it does
> > not pop up, while another vm created from pre-defined offer and from
> > the same browser show the pop up when migrate to host is clicked.
> >
> > Kind Regards
> > Amin
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> > Sent: Tuesday, 27 May 2014 4:58 PM
> > To: users@cloudstack.apache.org
> > Subject: RE: VM's using custom offerings wont let us use the migrate
> > host from UI !!!
> >
> > How many hosts do you have in your setup and how are they distributed
> > across clusters? Are all hosts running the same version of the
> > xenserver hypervisor? Do you see the issue only with custom offering;
> > or is it seen if an instance has been created with any other offering?
> > Anything in the cloudstack logs when you try and list the hosts for 
> > migration
> from the UI?
> >
> > Regards,
> > Devdeep
> >
> > > -Original Message-
> > > From: Amin Samir [mailto:a...@opencloud.net.au]
> > > Sent: Friday, May 23, 2014 8:12 AM
> > > To: users@cloudstack.apache.org
> > > Subject: VM's using custom offerings wont let us use the migrate
> > > host from UI !!!
> > >
> > > Hello,
> > >
> > >
> > > We have cloud stack 4.3 over centos our hypervisors are xen server
> > > 6.2
> > > SP1 with latest updates, the VM's that are created from custom
> > > offering don't let us use the migrate host icon from the UI, however
> > > you can move them from the xen center console.
> > >
> > >
> > > Has anyone faced this issue before?
> > >
> > >
> > > Kind Regards
> > >
> > >
> >
> >



RE: VM's using custom offerings wont let us use the migrate host from UI !!!

2014-05-28 Thread Devdeep Singh
Hi Amin,

Right now I am not sure as to why the issue is there. If I get a chance, I'll 
give it a try and let you know if I find something.

Regards,
Devdeep

> -Original Message-
> From: Amin Samir [mailto:a...@opencloud.net.au]
> Sent: Tuesday, May 27, 2014 2:36 PM
> To: users@cloudstack.apache.org
> Subject: RE: VM's using custom offerings wont let us use the migrate host
> from UI !!!
> 
> Sorry forgot to mention this cloud stack is migrated twice before from 2.2.14
> to 4.2.1 then 4.3 if this helps
> 
> Kind Regards
> Amin
> 
> -Original Message-
> From: Amin Samir
> Sent: Tuesday, 27 May 2014 5:04 PM
> To: users@cloudstack.apache.org
> Subject: RE: VM's using custom offerings wont let us use the migrate host
> from UI !!!
> 
> Hi Devdeep,
> 
> Thanks for replying, it is one cluster with 7 hosts, we still have room to
> migrate this host, in fact other machines created from pre-defined offerings
> do migrate fine.
> 
> All hosts are running the same version Xen Server 6.2 SP1,
> 
> There is no logs the when you click the migrate to host icon it does not pop
> up, while another vm created from pre-defined offer and from the same
> browser show the pop up when migrate to host is clicked.
> 
> Kind Regards
> Amin
> 
> 
> 
> 
> 
> -Original Message-
> From: Devdeep Singh [mailto:devdeep.si...@citrix.com]
> Sent: Tuesday, 27 May 2014 4:58 PM
> To: users@cloudstack.apache.org
> Subject: RE: VM's using custom offerings wont let us use the migrate host
> from UI !!!
> 
> How many hosts do you have in your setup and how are they distributed
> across clusters? Are all hosts running the same version of the xenserver
> hypervisor? Do you see the issue only with custom offering; or is it seen if 
> an
> instance has been created with any other offering? Anything in the
> cloudstack logs when you try and list the hosts for migration from the UI?
> 
> Regards,
> Devdeep
> 
> > -Original Message-
> > From: Amin Samir [mailto:a...@opencloud.net.au]
> > Sent: Friday, May 23, 2014 8:12 AM
> > To: users@cloudstack.apache.org
> > Subject: VM's using custom offerings wont let us use the migrate host
> > from UI !!!
> >
> > Hello,
> >
> >
> > We have cloud stack 4.3 over centos our hypervisors are xen server 6.2
> > SP1 with latest updates, the VM's that are created from custom
> > offering don't let us use the migrate host icon from the UI, however
> > you can move them from the xen center console.
> >
> >
> > Has anyone faced this issue before?
> >
> >
> > Kind Regards
> >
> >
> 
> 



RE: VM's using custom offerings wont let us use the migrate host from UI !!!

2014-05-27 Thread Devdeep Singh
How many hosts do you have in your setup and how are they distributed across 
clusters? Are all hosts running the same version of the xenserver hypervisor? 
Do you see the issue only with custom offering; or is it seen if an instance 
has been created with any other offering? Anything in the cloudstack logs when 
you try and list the hosts for migration from the UI?

Regards,
Devdeep

> -Original Message-
> From: Amin Samir [mailto:a...@opencloud.net.au]
> Sent: Friday, May 23, 2014 8:12 AM
> To: users@cloudstack.apache.org
> Subject: VM's using custom offerings wont let us use the migrate host from
> UI !!!
> 
> Hello,
> 
> 
> We have cloud stack 4.3 over centos our hypervisors are xen server 6.2 SP1
> with latest updates, the VM's that are created from custom offering don't let
> us use the migrate host icon from the UI, however you can move them from
> the xen center console.
> 
> 
> Has anyone faced this issue before?
> 
> 
> Kind Regards
> 
> 


RE: Not able to create instances on CloudStack

2014-05-12 Thread Devdeep Singh
Which hypervisor are you working with? Have you seeded the secondary storage 
with the systemvm template for the hypervisor?

Regards,
Devdeep

> -Original Message-
> From: Amin Pashapour [mailto:jol...@yahoo.com]
> Sent: Tuesday, May 13, 2014 1:05 AM
> To: users@cloudstack.apache.org
> Subject: Re: Not able to create instances on CloudStack
> 
> You can't really do much without ssvm.  Do you see the VM's on your
> hypervisor?  Do you see the datastores on your hypervisor?
> 
> I suggest you look at the log files while creating the primary and secondary
> storage.  It could be all sorts of things including network connections.
> 
> Amin
> 
> 
> 
> 
> 
>  From: Harsh Verma 
> To: "users@cloudstack.apache.org" 
> Sent: Thursday, May 8, 2014 5:58 AM
> Subject: Not able to create instances on CloudStack
> 
> 
> Hi,
> 
> I have created a Zone, Pod and Cluster on CloudStack.I have also added a
> host in the Cluster, added Primary Storage and Secondary Storage. But in
> System VMs, nothing is listed. Also, in the logs a message "No running ssvm is
> found, so command will be sent to LocalHostEndPoint" comes.
> 
> Somehow I deduced that due to this, template is not being added and
> consequently Instances can't be created as Instances use templates to add
> OS in VMs.
> 
> Can anybody please help to point out and sort the problem which may be the
> cause here.
> 
> Thanks,
> Harsh
> Aricent Group
> 
> 
> "DISCLAIMER: This message is proprietary to Aricent and is intended solely
> for the use of the individual to whom it is addressed. It may contain
> privileged or confidential information and should not be circulated or used
> for any purpose other than for what it is intended. If you have received this
> message in error, please notify the originator immediately. If you are not the
> intended recipient, you are notified that you are strictly prohibited from
> using, copying, altering, or disclosing the contents of this message. Aricent
> accepts no responsibility for loss or damage arising from the use of the
> information transmitted by this email including damage from virus."


RE: Multiple hypervisor through single management server

2014-04-22 Thread Devdeep Singh
Hi Tejas,

It should work but I would recommend that you seed the vmware systemvm template 
too on the secondary storage.

Regards,
Devdeep

> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Tuesday, April 22, 2014 3:05 PM
> To: users@cloudstack.apache.org
> Cc: d...@cloudstack.apache.org
> Subject: Re: Multiple hypervisor through single management server
> 
> Hi Devdeep,
> 
> Thanks for clarification about hyperv,
> 
> If I undo all the changes I made for hyperv setup and go ahead to deploy
> vmware on existing xen setup, Do I need to upload vmware systemvm or it
> won't be necessary.
> 
> Regards,
> Tejas
> 
> 
> On Tue, Apr 22, 2014 at 2:40 PM, Devdeep Singh
> wrote:
> 
> > Hi Tejas,
> >
> > For Hyper-V you need to create a zone in which Hyper-V is the only
> > hypervisor type. Reason being, currently in cloudstack Hyper-V only
> > works with SMB as a secondary storage. You can have a zone where a
> > mixed set of other hypervisors are present, for example, xenserver,
> > kvm etc, but for hyper-v you'll have to create a separate zone in
> > which hyper-v is the only hypervisor. For a hyper-v zone; you'll have
> > to register a secondary storage of type SMB.
> >
> > Regards,
> > Devdeep
> >
> > > -Original Message-
> > > From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> > > Sent: Tuesday, April 22, 2014 2:22 PM
> > > To: d...@cloudstack.apache.org; users@cloudstack.apache.org
> > > Subject: Multiple hypervisor through single management server
> > >
> > > Hi
> > >
> > > I am trying manage multiple hypervisor through Management server.
> > >
> > > 1 ) I have installed Xenserver 6.2 on CS 4.3 with nfs as primary &
> > secondary
> > > storage, it was working fine.
> > > 2) Created new cluster for hyperv and added hyperv host. Immediately
> > > hyperv Centos template download started.
> > > 3) Added SMB/CIFS as primary storage local to hyperv cluster.
> > > 4) while trying to create instance from ISO, log says ,
> > >
> > > 2014-04-22 13:57:57,701 DEBUG
> > > [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Lock is released for
> > > network
> > id
> > > 206 as a part of router startup in
> > > Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type--
> > > >Pool(Id))]
> > > : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage(Volume(9|ROOT--
> > > >Pool(2))]
> > > 2014-04-22 13:57:57,701 ERROR [c.c.v.VirtualMachineManagerImpl]
> > > (Job-Executor-4:ctx-d714df36 ctx-a482309d) Failed to start instance
> > > VM[User|CentOS65-x64-Hyperv]
> > > com.cloud.utils.exception.CloudRuntimeException: Template 9 has not
> > > been completely downloaded to zone 1
> > > at
> > >
> com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateMan
> > > agerImpl.java:1745)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > >
> > > Don't understand how to upload hyperv systemvm template to
> secondary
> > > storage where already one systemvm template for xen is available.
> > >
> > > Regards,
> > > Tejas
> >


RE: Multiple hypervisor through single management server

2014-04-22 Thread Devdeep Singh
Hi Tejas,

For Hyper-V you need to create a zone in which Hyper-V is the only hypervisor 
type. Reason being, currently in cloudstack Hyper-V only works with SMB as a 
secondary storage. You can have a zone where a mixed set of other hypervisors 
are present, for example, xenserver, kvm etc, but for hyper-v you'll have to 
create a separate zone in which hyper-v is the only hypervisor. For a hyper-v 
zone; you'll have to register a secondary storage of type SMB.

Regards,
Devdeep

> -Original Message-
> From: Tejas Gadaria [mailto:refond.g...@gmail.com]
> Sent: Tuesday, April 22, 2014 2:22 PM
> To: d...@cloudstack.apache.org; users@cloudstack.apache.org
> Subject: Multiple hypervisor through single management server
> 
> Hi
> 
> I am trying manage multiple hypervisor through Management server.
> 
> 1 ) I have installed Xenserver 6.2 on CS 4.3 with nfs as primary & secondary
> storage, it was working fine.
> 2) Created new cluster for hyperv and added hyperv host. Immediately
> hyperv Centos template download started.
> 3) Added SMB/CIFS as primary storage local to hyperv cluster.
> 4) while trying to create instance from ISO, log says ,
> 
> 2014-04-22 13:57:57,701 DEBUG
> [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (Job-Executor-4:ctx-d714df36 ctx-a482309d) Lock is released for network id
> 206 as a part of router startup in
> Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type--
> >Pool(Id))]
> : Dest[Zone(1)-Pod(1)-Cluster(2)-Host(4)-Storage(Volume(9|ROOT--
> >Pool(2))]
> 2014-04-22 13:57:57,701 ERROR [c.c.v.VirtualMachineManagerImpl]
> (Job-Executor-4:ctx-d714df36 ctx-a482309d) Failed to start instance
> VM[User|CentOS65-x64-Hyperv]
> com.cloud.utils.exception.CloudRuntimeException: Template 9 has not been
> completely downloaded to zone 1
> at
> com.cloud.template.TemplateManagerImpl.getTemplateSize(TemplateMan
> agerImpl.java:1745)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 
> 
> Don't understand how to upload hyperv systemvm template to secondary
> storage where already one systemvm template for xen is available.
> 
> Regards,
> Tejas


RE: 4.2.1 storage motion of Instance

2014-01-21 Thread Devdeep Singh
This looks like a bug in 4.2.1. Can you elaborate more on the operation tried? 
Were you trying to migrate a volume (data disk) that was detached from a 
instance/vm to another storage pool?

Regards,
Devdeep

-Original Message-
From: Pierre-Luc Dion [mailto:pd...@cloudops.com] 
Sent: Wednesday, January 22, 2014 12:28 AM
To: users@cloudstack.apache.org
Subject: 4.2.1 storage motion of Instance

We recently upgrade or Cloudstack from 4.1.0 to 4.2.1. hypervisor not upgraded 
and using xenserver 6.0.2

Since then, we are unable to storage xenmotion Instance from a Primary Storage 
to another. The pool is using local and shared storage and all kind of storage 
xenmotion fail.

moving Instances end up with following error message in cloudstack webui:

Failed to migration: com.cloud.exception.StorageUnavailableException:
Resource [StoragePool:233] is unreachable: migrate volume failed:
com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
com.mysql.jdbc.JDBC4PreparedStatement@308d011c: SELECT volume_store_ref.id, 
volume_store_ref.store_id, volume_store_ref.volume_id, 
volume_store_ref.zone_id, volume_store_ref.created, 
volume_store_ref.last_updated, volume_store_ref.download_pct, 
volume_store_ref.size, volume_store_ref.physical_size, 
volume_store_ref.download_state, volume_store_ref.checksum, 
volume_store_ref.local_path, volume_store_ref.error_str, 
volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, 
volume_store_ref.download_url, volume_store_ref.download_url_created, 
volume_store_ref.destroyed, volume_store_ref.update_count, 
volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM 
volume_store_ref WHERE volume_store_ref.store_id = 60 AND 
volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY 
RAND() LIMIT 1



if I look in the database the Query provide the following output:
mysql> SELECT volume_store_ref.id, volume_store_ref.store_id,
volume_store_ref.volume_id, volume_store_ref.zone_id, volume_store_ref.created, 
volume_store_ref.last_updated, volume_store_ref.download_pct, 
volume_store_ref.size, volume_store_ref.physical_size, 
volume_store_ref.download_state, volume_store_ref.checksum, 
volume_store_ref.local_path, volume_store_ref.error_str, 
volume_store_ref.job_id, volume_store_ref.install_path, volume_store_ref.url, 
volume_store_ref.download_url, volume_store_ref.download_url_created,
volume_store_ref.destroyed, volume_store_ref.update_count, 
volume_store_ref.updated, volume_store_ref.state, volume_store_ref.ref_cnt FROM 
volume_store_ref WHERE volume_store_ref.store_id = 60 AND 
volume_store_ref.volume_id = 1664 AND volume_store_ref.destroyed = 0 ORDER BY 
RAND() LIMIT 1 ;
++--+---+-+-+--+--+--+---++--++---++-+--+--+--+---+--+-+--+-+
| id | store_id | volume_id | zone_id | created | last_updated
| download_pct | size | physical_size | download_state | checksum |
local_path | error_str | job_id | install_path| url  | download_url |
download_url_created | destroyed | update_count | updated |
state| ref_cnt |
++--+---+-+-+--+--+--+---++--++---++-+--+--+--+---+--+-+--+-+
| 23 |   60 |  1664 |   0 | 2014-01-21 18:08:25 | NULL
|0 |0 | 0 | NULL   | NULL | NULL
| NULL  | NULL   | volumes/11/1664 | NULL | NULL | NULL
| 0 |1 | 2014-01-21 18:08:25 | Creating |
0 |
++--+---+-+-+--+--+--+---++--++---++-+--+--+--+---+--+-+--+-+
1 row in set (0.00 sec)



Is this a bug from 4.2.1 ?


Pierre-Luc Dion
Architecte de Solution Cloud | Cloud Solutions Architect 514-447-3456, 1101
- - -

*CloudOps*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_