Cloudstack agent and hyper v agent cloudstack 4.3

2014-01-24 Thread Tejas Gadaria
Hi,

what is the difference between cloudstack agent and hyper v agent, and what
is the procedure to build hyper v agent.

Regards,
Tejas


RE: Cloudstack agent and hyper v agent cloudstack 4.3

2014-01-24 Thread Radhika Puthiyetath
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer
 follow the instruction to build Hyper V agent. As far as I know the Hyper-V 
agent (agent installed on each host) is named as CloudStack agent.

-Original Message-
From: Tejas Gadaria [mailto:refond.g...@gmail.com] 
Sent: Friday, January 24, 2014 2:37 PM
To: users@cloudstack.apache.org
Subject: Cloudstack agent and hyper v agent cloudstack 4.3

Hi,

what is the difference between cloudstack agent and hyper v agent, and what is 
the procedure to build hyper v agent.

Regards,
Tejas


Re: Cloudstack agent and hyper v agent cloudstack 4.3

2014-01-24 Thread sebgoa

On Jan 24, 2014, at 10:07 AM, Tejas Gadaria refond.g...@gmail.com wrote:

 Hi,
 
 what is the difference between cloudstack agent and hyper v agent, and what
 is the procedure to build hyper v agent.
 

Tejas, here is the wiki to create the hyper-v agent:

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Creating+Hyperv+Agent+Installer

We are actually polishing that up and discussing hosting a .msi

 Regards,
 Tejas



CS 4.2 VM Deployments slow and/or broken

2014-01-24 Thread Nick Wales
Hey, I'm having awful performance spinning up machines, with some taking
ages to eventually fail.

The majority of the error messages seem to stem from this:


== cloudstack-agent.out ==
2014-01-24 14:14:30,779{GMT} WARN  [cloud.agent.Agent]
(agentRequest-Handler-1:) Caught:
java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2469)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1230)
at com.cloud.agent.Agent.processRequest(Agent.java:525)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
at com.cloud.utils.nio.Task.run(Task.java:83)
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)

and

2014-01-24 19:22:30.842+: 6099: error : virNetSocketReadWire:1184
: End of file while reading data: Input/output error
Any ideas / help much appreciated!

Nick


Re: CS 4.2 VM Deployments slow and/or broken

2014-01-24 Thread David Nalley
What version?



On Fri, Jan 24, 2014 at 3:37 PM, Nick Wales n...@nickwales.co.uk wrote:
 Hey, I'm having awful performance spinning up machines, with some taking
 ages to eventually fail.

 The majority of the error messages seem to stem from this:


 == cloudstack-agent.out ==
 2014-01-24 14:14:30,779{GMT} WARN  [cloud.agent.Agent]
 (agentRequest-Handler-1:) Caught:
 java.lang.NullPointerException
 at 
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2469)
 at 
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1230)
 at com.cloud.agent.Agent.processRequest(Agent.java:525)
 at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
 at com.cloud.utils.nio.Task.run(Task.java:83)
 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)

 and

 2014-01-24 19:22:30.842+: 6099: error : virNetSocketReadWire:1184
 : End of file while reading data: Input/output error
 Any ideas / help much appreciated!

 Nick


Re: CS 4.2 VM Deployments slow and/or broken

2014-01-24 Thread Nick Wales
Cloudstack - 4.2

libvirt-0.10.2-18

Running on centos 6.2 with netapp nfs.


On 24 January 2014 15:20, David Nalley da...@gnsa.us wrote:

 What version?



 On Fri, Jan 24, 2014 at 3:37 PM, Nick Wales n...@nickwales.co.uk wrote:
  Hey, I'm having awful performance spinning up machines, with some taking
  ages to eventually fail.
 
  The majority of the error messages seem to stem from this:
 
 
  == cloudstack-agent.out ==
  2014-01-24 14:14:30,779{GMT} WARN  [cloud.agent.Agent]
  (agentRequest-Handler-1:) Caught:
  java.lang.NullPointerException
  at
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2469)
  at
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1230)
  at com.cloud.agent.Agent.processRequest(Agent.java:525)
  at
 com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
  at com.cloud.utils.nio.Task.run(Task.java:83)
  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)
 
  and
 
  2014-01-24 19:22:30.842+: 6099: error : virNetSocketReadWire:1184
  : End of file while reading data: Input/output error
  Any ideas / help much appreciated!
 
  Nick



Re: CS 4.2 VM Deployments slow and/or broken

2014-01-24 Thread Nick Wales
listen_tls=0


listen_tcp=1


tcp_port=16509


auth_tcp=none
mdns_adv = 0

is all i have in libvirtd.conf (partly regarding the question on IRC)


On 24 January 2014 15:22, Nick Wales n...@nickwales.co.uk wrote:

 Cloudstack - 4.2

 libvirt-0.10.2-18

 Running on centos 6.2 with netapp nfs.


 On 24 January 2014 15:20, David Nalley da...@gnsa.us wrote:

 What version?



 On Fri, Jan 24, 2014 at 3:37 PM, Nick Wales n...@nickwales.co.uk wrote:
  Hey, I'm having awful performance spinning up machines, with some taking
  ages to eventually fail.
 
  The majority of the error messages seem to stem from this:
 
 
  == cloudstack-agent.out ==
  2014-01-24 14:14:30,779{GMT} WARN  [cloud.agent.Agent]
  (agentRequest-Handler-1:) Caught:
  java.lang.NullPointerException
  at
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2469)
  at
 com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1230)
  at com.cloud.agent.Agent.processRequest(Agent.java:525)
  at
 com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
  at com.cloud.utils.nio.Task.run(Task.java:83)
  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)
 
  and
 
  2014-01-24 19:22:30.842+: 6099: error : virNetSocketReadWire:1184
  : End of file while reading data: Input/output error
  Any ideas / help much appreciated!
 
  Nick





Re: mem.overprovisioning.facto and KVM

2014-01-24 Thread Marcus Sorensen
I guess not. It should work though. We ran into the same issue with
storage, everything hardcoded to only work with vmware. I'll take a
look.

On Mon, Oct 7, 2013 at 1:09 PM, Sebastien Goasguen run...@gmail.com wrote:

 On Sep 25, 2013, at 2:59 AM, Harikrishna Patnala 
 harikrishna.patn...@citrix.com wrote:

 As far as I know men over provisioning is intended to work only with VMWare 
 hypervisor to allocate reserved memory for VM.


 @Marcus, could you comment on this: is mem over provisioning supposed to work 
 with KVM ?

 On 25-Sep-2013, at 11:11 AM, Nikolay Kabadjov niki...@yahoo.com wrote:

 Yes Kirk, I did



 
 From: Kirk Jantzer kirk.jant...@gmail.com
 To: Cloudstack users mailing list users@cloudstack.apache.org; Nikolay 
 Kabadjov niki...@yahoo.com
 Sent: Tuesday, September 24, 2013 5:50 PM
 Subject: Re: mem.overprovisioning.facto and KVM



 Did you restart the management service after making the change?



 Regards,

 Kirk Jantzer
 http://about.me/kirkjantzer



 On Tue, Sep 24, 2013 at 10:25 AM, Nikolay Kabadjov niki...@yahoo.com 
 wrote:

 Hi all,
 I've noticed that increasing mem.overprovisioning.factor doesn't take 
 effect?
 I mean I still see in the dashboard the exact amount of memory I have 
 multiplying the memory of all the hosts.

 It's CS 4.1.1 with one zone, one pod, one cluster, 6 KVM hosts

 Any idea?

 Thanks
 Niki




Re: mem.overprovisioning.facto and KVM

2014-01-24 Thread Marcus Sorensen
Looks like it works as of 4.2, but you need to update existing cluster
settings, rather than global (or both, I suppose).

On Fri, Jan 24, 2014 at 3:17 PM, Marcus Sorensen shadow...@gmail.com wrote:
 I guess not. It should work though. We ran into the same issue with
 storage, everything hardcoded to only work with vmware. I'll take a
 look.

 On Mon, Oct 7, 2013 at 1:09 PM, Sebastien Goasguen run...@gmail.com wrote:

 On Sep 25, 2013, at 2:59 AM, Harikrishna Patnala 
 harikrishna.patn...@citrix.com wrote:

 As far as I know men over provisioning is intended to work only with VMWare 
 hypervisor to allocate reserved memory for VM.


 @Marcus, could you comment on this: is mem over provisioning supposed to 
 work with KVM ?

 On 25-Sep-2013, at 11:11 AM, Nikolay Kabadjov niki...@yahoo.com wrote:

 Yes Kirk, I did



 
 From: Kirk Jantzer kirk.jant...@gmail.com
 To: Cloudstack users mailing list users@cloudstack.apache.org; Nikolay 
 Kabadjov niki...@yahoo.com
 Sent: Tuesday, September 24, 2013 5:50 PM
 Subject: Re: mem.overprovisioning.facto and KVM



 Did you restart the management service after making the change?



 Regards,

 Kirk Jantzer
 http://about.me/kirkjantzer



 On Tue, Sep 24, 2013 at 10:25 AM, Nikolay Kabadjov niki...@yahoo.com 
 wrote:

 Hi all,
 I've noticed that increasing mem.overprovisioning.factor doesn't take 
 effect?
 I mean I still see in the dashboard the exact amount of memory I have 
 multiplying the memory of all the hosts.

 It's CS 4.1.1 with one zone, one pod, one cluster, 6 KVM hosts

 Any idea?

 Thanks
 Niki




Re: mem.overprovisioning.facto and KVM

2014-01-24 Thread Nitin Mehta
Just the cluster should be fine, changing the global will not affect the
existing cluster's settings, but newly created clusters will inherit from
them.
For more info do read
https://cwiki.apache.org/confluence/display/CLOUDSTACK/CPU+and+RAM+Overcomm
it

Thanks,
-Nitin

On 24/01/14 2:28 PM, Marcus Sorensen shadow...@gmail.com wrote:

Looks like it works as of 4.2, but you need to update existing cluster
settings, rather than global (or both, I suppose).

On Fri, Jan 24, 2014 at 3:17 PM, Marcus Sorensen shadow...@gmail.com
wrote:
 I guess not. It should work though. We ran into the same issue with
 storage, everything hardcoded to only work with vmware. I'll take a
 look.

 On Mon, Oct 7, 2013 at 1:09 PM, Sebastien Goasguen run...@gmail.com
wrote:

 On Sep 25, 2013, at 2:59 AM, Harikrishna Patnala
harikrishna.patn...@citrix.com wrote:

 As far as I know men over provisioning is intended to work only with
VMWare hypervisor to allocate reserved memory for VM.


 @Marcus, could you comment on this: is mem over provisioning supposed
to work with KVM ?

 On 25-Sep-2013, at 11:11 AM, Nikolay Kabadjov niki...@yahoo.com
wrote:

 Yes Kirk, I did



 
 From: Kirk Jantzer kirk.jant...@gmail.com
 To: Cloudstack users mailing list users@cloudstack.apache.org;
Nikolay Kabadjov niki...@yahoo.com
 Sent: Tuesday, September 24, 2013 5:50 PM
 Subject: Re: mem.overprovisioning.facto and KVM



 Did you restart the management service after making the change?



 Regards,

 Kirk Jantzer
 http://about.me/kirkjantzer



 On Tue, Sep 24, 2013 at 10:25 AM, Nikolay Kabadjov
niki...@yahoo.com wrote:

 Hi all,
 I've noticed that increasing mem.overprovisioning.factor doesn't
take effect?
 I mean I still see in the dashboard the exact amount of memory I
have multiplying the memory of all the hosts.

 It's CS 4.1.1 with one zone, one pod, one cluster, 6 KVM hosts

 Any idea?

 Thanks
 Niki





packer for building cloudstack templates

2014-01-24 Thread Brian Galura
At my company we use packer to build ec2 images and really like it. I would 
like to use it for cloudstack also.

I found this: https://github.com/vogxn/packer-builtin

Which appears to be a centos6 image builder for cloudstack but it lacks 
instructions to convert the resultant image into something I can import to 
cloudstack.

Has anyone successfully done this?

How do you build cloudstack templates?