问题 InsufficientServerCapacityException: Unable to create a deployment for VM[User|vm1]

2014-06-19 Thread Yujiang Pang
Dear all

在创建实例的时候碰到这个问题:
{{
INFO  [o.a.c.a.c.u.v.DeployVMCmd] (Job-Executor-15:ctx-1522f972
ctx-df9998b2) com.cloud.exception.InsufficientServerCapacityException:
Unable to create a deployment for VM[User|vm1]Scope=interface
com.cloud.dc.DataCenter; id=1
INFO  [o.a.c.a.c.u.v.DeployVMCmd] (Job-Executor-15:ctx-1522f972
ctx-df9998b2) Unable to create a deployment for VM[User|vm1]
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[User|vm1]Scope=interface com.cloud.dc.DataCenter; id=1
}}

再往前点日志:
{{
 INFO  [c.c.h.HighAvailabilityManagerImpl] (HA-2:ctx-6eacae6e)
checking health of usage server
WARN  [o.a.c.alerts] (HA-2:ctx-6eacae6e)  alertType:: 13 //
dataCenterId:: 0 // podId:: 0 // clusterId:: null // message:: No
usage server process running
INFO  [c.c.n.v.VpcManagerImpl] (VpcChecker-1:ctx-f93671c3) Found 0
removed VPCs to cleanup
WARN  [c.c.n.NetworkModelImpl] (catalina-exec-18:ctx-4376b0fb
ctx-a51a5864) Unable to find provider Netscaler in physical network
id=200
WARN  [c.c.n.NetworkModelImpl] (catalina-exec-21:ctx-58ea5141
ctx-272a2b74) Unable to find provider Netscaler in physical network
id=200
WARN  [o.a.c.alerts] (CapacityChecker:ctx-445e0e4f)  alertType:: 0 //
dataCenterId:: 1 // podId:: 1 // clusterId:: null // message:: System
Alert: Low Available Memory in cluster kvmCluster1 pod pod1 of
availability zone C11F13
INFO  [c.c.a.ApiServer] (catalina-exec-23:ctx-c7f38f38 ctx-b1331d85)
The VLAN tag 177 is already being used for dynamic vlan allocation for
the guest network in zone C11F13
WARN  [c.c.n.NetworkModelImpl] (catalina-exec-2:ctx-fe2dede2
ctx-0c9ac9f9) Unable to find provider Netscaler in physical network
id=200
WARN  [c.c.n.NetworkModelImpl] (catalina-exec-6:ctx-2d0b6f51
ctx-bd984fe7) Unable to find provider Netscaler in physical network
id=200
INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Job-Executor-15:ctx-1522f972) Add
job-17 into job monitoring
WARN  [o.a.c.alerts] (Job-Executor-15:ctx-1522f972 ctx-df9998b2)
alertType:: 8 // dataCenterId:: 1 // podId:: null // clusterId:: null
// message:: Failed to deploy Vm with Id: 3, on Host with Id: null
}}
这里有个警告说的是其中一台KVM内存不足,是因为这台KVM被装了SSVM CVM系统VM。

我有两个host,所以总的系统硬件应该是够了的。附件有截图。

我想解决的两个方法:

1. 打开更低级别的日志,看有没有更具体的办法?谁知道设置 /etc/cloudstack/management/log4j-cloud.xml
中的哪项?

2. 给那台KVM升级内存,直接关机插内存重启,cloudstack可以自动识别吗?

先谢过大家。

-- 
BR John (Pang Yujiang)


RE: Xenserver 6.2 SP1 Hotfix 4

2014-06-19 Thread Len Bellemore
Cheers Tim.

I mean Hotfix 4 for SP1.  http://support.citrix.com/article/CTX140417

Len

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com]
Sent: 17 June 2014 15:48
To: users@cloudstack.apache.org
Subject: Re: Xenserver 6.2 SP1 Hotfix 4

Len,

6.2 SP1 rolls up all previous hotfixes, plus adds a few of its own.  I'd expect 
if you attempted to install HF004, that it would error out with a message about 
being already applied.

-tim


On Tue, Jun 17, 2014 at 8:39 AM, Len Bellemore  
len.bellem...@controlcircle.com wrote:

 Hi Guys,

 I've recently upgraded to XenServer 6.2 with CS 4.3.

 I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as well?

 I read that it has some enhancements for CS built into the hotfix, but
 the release notes also state that I need to set up a dedicated SR for
 High Availability, which seems a bit odd.

 Do I need the hotfix?  If so, do I really need to set up a dedicated HA SR?

 Cheers
 Len

 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address
 above) immediately. Activity and use of the ControlCircle e-mail
 system is monitored to secure its effective operation and for other
 lawful business purposes. Communications using this system will also
 be monitored and may be recorded to secure effective operation and for
 other lawful business purposes



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


Re: Xenserver 6.2 SP1 Hotfix 4

2014-06-19 Thread Tim Mackey
Len,

That release note was written from the perspective of a XenServer feature
set which includes an HA capability.  CloudStack doesn't use the native
XenServer HA capability, and if you're using CloudStack you shouldn't
enable the native XenServer HA environment lest it conflicts with the
CloudStack HA service offering.  Net of this, shared storage is required
for native XenServer HA, but CloudStack has its own method.

-tim


On Thu, Jun 19, 2014 at 5:26 AM, Len Bellemore 
len.bellem...@controlcircle.com wrote:

 Cheers Tim.

 I mean Hotfix 4 for SP1.  http://support.citrix.com/article/CTX140417

 Len

 -Original Message-
 From: Tim Mackey [mailto:tmac...@gmail.com]
 Sent: 17 June 2014 15:48
 To: users@cloudstack.apache.org
 Subject: Re: Xenserver 6.2 SP1 Hotfix 4

 Len,

 6.2 SP1 rolls up all previous hotfixes, plus adds a few of its own.  I'd
 expect if you attempted to install HF004, that it would error out with a
 message about being already applied.

 -tim


 On Tue, Jun 17, 2014 at 8:39 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

  Hi Guys,
 
  I've recently upgraded to XenServer 6.2 with CS 4.3.
 
  I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as
 well?
 
  I read that it has some enhancements for CS built into the hotfix, but
  the release notes also state that I need to set up a dedicated SR for
  High Availability, which seems a bit odd.
 
  Do I need the hotfix?  If so, do I really need to set up a dedicated HA
 SR?
 
  Cheers
  Len
 
  
  IMPORTANT NOTICE. This electronic message contains information from
  Control Circle Ltd, which may be privileged or confidential. The
  information is intended for use only by the individual(s) or entity
  named above. If you are not the intended recipient, be aware that any
  disclosure, copying, distribution or use of the contents of this
  information is strictly prohibited. If you have received this
  electronic message in error, please notify me by telephone or email
  (to the number or email address
  above) immediately. Activity and use of the ControlCircle e-mail
  system is monitored to secure its effective operation and for other
  lawful business purposes. Communications using this system will also
  be monitored and may be recorded to secure effective operation and for
  other lawful business purposes
 

 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity named
 above. If you are not the intended recipient, be aware that any disclosure,
 copying, distribution or use of the contents of this information is
 strictly prohibited. If you have received this electronic message in error,
 please notify me by telephone or email (to the number or email address
 above) immediately. Activity and use of the ControlCircle e-mail system is
 monitored to secure its effective operation and for other lawful business
 purposes. Communications using this system will also be monitored and may
 be recorded to secure effective operation and for other lawful business
 purposes



RE: Xenserver 6.2 SP1 Hotfix 4

2014-06-19 Thread Len Bellemore
Cool, thanks Tim

-Original Message-
From: Tim Mackey [mailto:tmac...@gmail.com]
Sent: 19 June 2014 10:39
To: users@cloudstack.apache.org
Subject: Re: Xenserver 6.2 SP1 Hotfix 4

Len,

That release note was written from the perspective of a XenServer feature set 
which includes an HA capability.  CloudStack doesn't use the native XenServer 
HA capability, and if you're using CloudStack you shouldn't enable the native 
XenServer HA environment lest it conflicts with the CloudStack HA service 
offering.  Net of this, shared storage is required for native XenServer HA, but 
CloudStack has its own method.

-tim


On Thu, Jun 19, 2014 at 5:26 AM, Len Bellemore  
len.bellem...@controlcircle.com wrote:

 Cheers Tim.

 I mean Hotfix 4 for SP1.  http://support.citrix.com/article/CTX140417

 Len

 -Original Message-
 From: Tim Mackey [mailto:tmac...@gmail.com]
 Sent: 17 June 2014 15:48
 To: users@cloudstack.apache.org
 Subject: Re: Xenserver 6.2 SP1 Hotfix 4

 Len,

 6.2 SP1 rolls up all previous hotfixes, plus adds a few of its own.
 I'd expect if you attempted to install HF004, that it would error out
 with a message about being already applied.

 -tim


 On Tue, Jun 17, 2014 at 8:39 AM, Len Bellemore 
 len.bellem...@controlcircle.com wrote:

  Hi Guys,
 
  I've recently upgraded to XenServer 6.2 with CS 4.3.
 
  I've also applied XenServer 6.2 SP1.   Do I need to apply Hotfix 4 as
 well?
 
  I read that it has some enhancements for CS built into the hotfix,
  but the release notes also state that I need to set up a dedicated
  SR for High Availability, which seems a bit odd.
 
  Do I need the hotfix?  If so, do I really need to set up a dedicated
  HA
 SR?
 
  Cheers
  Len
 
  
  IMPORTANT NOTICE. This electronic message contains information from
  Control Circle Ltd, which may be privileged or confidential. The
  information is intended for use only by the individual(s) or entity
  named above. If you are not the intended recipient, be aware that
  any disclosure, copying, distribution or use of the contents of this
  information is strictly prohibited. If you have received this
  electronic message in error, please notify me by telephone or email
  (to the number or email address
  above) immediately. Activity and use of the ControlCircle e-mail
  system is monitored to secure its effective operation and for other
  lawful business purposes. Communications using this system will also
  be monitored and may be recorded to secure effective operation and
  for other lawful business purposes
 

 
 IMPORTANT NOTICE. This electronic message contains information from
 Control Circle Ltd, which may be privileged or confidential. The
 information is intended for use only by the individual(s) or entity
 named above. If you are not the intended recipient, be aware that any
 disclosure, copying, distribution or use of the contents of this
 information is strictly prohibited. If you have received this
 electronic message in error, please notify me by telephone or email
 (to the number or email address
 above) immediately. Activity and use of the ControlCircle e-mail
 system is monitored to secure its effective operation and for other
 lawful business purposes. Communications using this system will also
 be monitored and may be recorded to secure effective operation and for
 other lawful business purposes



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


[URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread dimas yoga pratama
OK this is my problem, after blackout I can''t start virtual router, and
ssvm not detected in my cloudstack system. SSVM recreated itself but stuck
in starting state.

What should I do?Please help me..


Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread Rohit Yadav
Hi,

SSVMs and VRs are stateless so if restarts are not working for you, you may
(force) stop and remove them. The CloudStack HA thread(s) would kickstart
new ones after a certain timeout, to speed this behaviour you may restart
CloudStack as well.

If your problem still persists after trying above you may try debugging the
issue:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

Regards.


On Thu, Jun 19, 2014 at 7:34 PM, dimas yoga pratama smid...@gmail.com
wrote:

 OK this is my problem, after blackout I can''t start virtual router, and
 ssvm not detected in my cloudstack system. SSVM recreated itself but stuck
 in starting state.

 What should I do?Please help me..



Additional nics fails to get ip for ubuntu guest vm

2014-06-19 Thread Saurav Lahiri
Hello,
We are running an ubuntu 13.10 vm. In addition to the default network,
another nic has been added to the vm.  Now when the vm boots up, the new
interface eth1 is seen inside the guest but does not have an ip address.
Executing a dhclient eth1 does get the correct IP.

A look at  the /etc/network/interaces file  shows an entry corresponding
to the eth0.  There is no entry for eth1. On adding an entry for eth1, the
problems appears to get fixed.

Is this manual step to add the additional nics in the interfaces file
missing in the documentation or is this a bug ?

===
auto eth0
iface eth0 inet dhcp
==


Thanks
Saurav


Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread dimas yoga pratama
Hi, from the infrastructure tab I can detect the hosts, but  both of the
hosts show alert state., I already try to force reconnect but it fails.
What should I do? Now the CPVM fail to start too.


On Thu, Jun 19, 2014 at 9:17 PM, Rohit Yadav bhais...@apache.org wrote:

 Hi,

 SSVMs and VRs are stateless so if restarts are not working for you, you may
 (force) stop and remove them. The CloudStack HA thread(s) would kickstart
 new ones after a certain timeout, to speed this behaviour you may restart
 CloudStack as well.

 If your problem still persists after trying above you may try debugging the
 issue:

 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting

 Regards.


 On Thu, Jun 19, 2014 at 7:34 PM, dimas yoga pratama smid...@gmail.com
 wrote:

  OK this is my problem, after blackout I can''t start virtual router, and
  ssvm not detected in my cloudstack system. SSVM recreated itself but
 stuck
  in starting state.
 
  What should I do?Please help me..
 



Re: Cloud stack install issues

2014-06-19 Thread Bardhyl Brahimi

 Hi Team cloudstack.
 
 I’ve recently installed cloudstack on CentOS 6.4. I’ve completed all the 
 steps as explained at the “Apache cloudstack 4.0.2 quick install guide. But 
 when I try to access cloud via http://lanip:8080/client, for the first time I 
 get a white page no display.
 
 Can you please help me out on this because so far I can’t figure out what the 
 issue might be. Thanks in advance!




Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread Rohit Yadav
I'm not sure what could be the specific issue. You can tail the management
server logs to see what is failing. After you figure out the specific
issue, you may share it with us with your host os, CloudStack version
details and the connected host details.

Regards.


On Thu, Jun 19, 2014 at 8:01 PM, dimas yoga pratama smid...@gmail.com
wrote:

 Hi, from the infrastructure tab I can detect the hosts, but  both of the
 hosts show alert state., I already try to force reconnect but it fails.
 What should I do? Now the CPVM fail to start too.


 On Thu, Jun 19, 2014 at 9:17 PM, Rohit Yadav bhais...@apache.org wrote:

  Hi,
 
  SSVMs and VRs are stateless so if restarts are not working for you, you
 may
  (force) stop and remove them. The CloudStack HA thread(s) would kickstart
  new ones after a certain timeout, to speed this behaviour you may restart
  CloudStack as well.
 
  If your problem still persists after trying above you may try debugging
 the
  issue:
 
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
 
  Regards.
 
 
  On Thu, Jun 19, 2014 at 7:34 PM, dimas yoga pratama smid...@gmail.com
  wrote:
 
   OK this is my problem, after blackout I can''t start virtual router,
 and
   ssvm not detected in my cloudstack system. SSVM recreated itself but
  stuck
   in starting state.
  
   What should I do?Please help me..
  
 



Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread dimas yoga pratama
management log :

2014-06-19 21:49:21,312 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
SSL: Fail to find the generated keystore. Loading fail-safe one to continue.

2014-06-19 21:49:11,585 DEBUG [c.c.v.VirtualMachineManagerImpl]
(AgentConnectTaskPool-344:ctx-07431045) Ignoring VM in starting mode:
r-71-VM
2014-06-19 21:49:11,585 DEBUG [c.c.h.HighAvailabilityManagerImpl]
(AgentConnectTaskPool-344:ctx-07431045) VM does not require investigation
so I'm marking it as Stopped: VM[DomainRouter|r-71-VM]
2014-06-19 21:49:11,585 WARN  [o.a.c.f.j.AsyncJobExecutionContext]
(AgentConnectTaskPool-344:ctx-07431045) Job is executed without a context,
setup psudo job for the executing thread
2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
(AgentConnectTaskPool-344:ctx-07431045) Unable to transition the state but
we're moving on because it's forced stop
2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
(AgentConnectTaskPool-344:ctx-07431045) Unable to cleanup VM:
VM[DomainRouter|r-71-VM] ,since outstanding work item is not found
2014-06-19 21:49:11,651 ERROR [c.c.a.m.AgentManagerImpl]
(AgentConnectTaskPool-344:ctx-07431045) Monitor
ClusteredVirtualMachineManagerImpl says there is an error in the connect
process for 2 due to Work item not found, We cannot stop
VM[DomainRouter|r-71-VM] when it is in state Starting
com.cloud.utils.exception.CloudRuntimeException: Work item not found, We
cannot stop VM[DomainRouter|r-71-VM] when it is in state Starting
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1415)
at
com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1344)
at
com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1312)
at
com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:346)
at
com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2827)
at
com.cloud.vm.VirtualMachineManagerImpl.fullHostSync(VirtualMachineManagerImpl.java:2384)
at
com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:3035)
at
com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495)
at
com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:999)
at
com.cloud.agent.manager.AgentManagerImpl.access$000(AgentManagerImpl.java:117)
at
com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1082)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
2014-06-19 21:49:08,251 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
(secstorage-1:ctx-c407a559) Zone 1 is not ready to launch secondary storage
VM yet
2014-06-19 21:49:08,282 DEBUG [c.c.c.ConsoleProxyManagerImpl]
(consoleproxy-1:ctx-60f4b3c9) Zone 1 is not ready to launch console proxy
yet
2014-06-19 21:49:01,197 DEBUG [c.c.n.NetworkUsageManagerImpl]
(AgentConnectTaskPool-342:ctx-b66d3294) Disconnected called on 2 with
status Alert
2014-06-19 21:49:01,197 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentConnectTaskPool-342:ctx-b66d3294) Sending Disconnect to listener:
com.cloud.consoleproxy.ConsoleProxyListener
2014-06-19 21:49:01,198 DEBUG [c.c.h.Status]
(AgentConnectTaskPool-342:ctx-b66d3294) Transition:[Resource state =
Enabled, Agent event = AgentDisconnected, Host id = 2, name =
host1.cloud.priv]
2014-06-19 21:49:01,259 DEBUG [c.c.h.Status]
(AgentConnectTaskPool-342:ctx-b66d3294) Agent status update: [id = 2; name
= host1.cloud.priv; old status = Connecting; event = AgentDisconnected; new
status = Alert; old update count = 404; new update count = 405]
2014-06-19 21:49:01,259 DEBUG [c.c.a.m.ClusteredAgentManagerImpl]
(AgentConnectTaskPool-342:ctx-b66d3294) Notifying other nodes of to
disconnect
2014-06-19 21:49:01,260 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentConnectTaskPool-342:ctx-b66d3294) Failed to handle host connection:
com.cloud.utils.exception.CloudRuntimeException: Unable to connect 2
2014-06-19 21:49:01,261 DEBUG [c.c.a.m.AgentManagerImpl]
(AgentConnectTaskPool-342:ctx-b66d3294) Can not send command
com.cloud.agent.api.ReadyCommand due to Host 2 is 

Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread Rohit Yadav
Hi Dimas,

Looks like the VM is in starting state and CloudStack is unable to contact
the agent. Hope you've removed the VR from CloudStack using the UI. You can
try restarting the management server. The issue is of sync, where one party
(mgmt server) has different view of the world than the other (the
host/agent). In such cases, do not remove the host else when you re-add it,
it may destroy all the (user) VMs on it or simply fail.

If restarting won't fix the problem, in global settings reduce the expunge
timeout (that's when CloudStack marks a VM as removed, since you've just
destroyed it, it can take some time to get expunged) and try again.

As a final course of action I would stop the management server, then ssh to
the host and destroy SSVMs, using mysql client I would change db entries
for SSVM to removed/expunged (simply mark by updating row, do not remove
the row), start the mgmt server again and hope it would work this time.

Suggestions anyone in such a case?

Regards.


On Thu, Jun 19, 2014 at 8:29 PM, dimas yoga pratama smid...@gmail.com
wrote:

 management log :

 2014-06-19 21:49:21,312 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
 SSL: Fail to find the generated keystore. Loading fail-safe one to
 continue.

 2014-06-19 21:49:11,585 DEBUG [c.c.v.VirtualMachineManagerImpl]
 (AgentConnectTaskPool-344:ctx-07431045) Ignoring VM in starting mode:
 r-71-VM
 2014-06-19 21:49:11,585 DEBUG [c.c.h.HighAvailabilityManagerImpl]
 (AgentConnectTaskPool-344:ctx-07431045) VM does not require investigation
 so I'm marking it as Stopped: VM[DomainRouter|r-71-VM]
 2014-06-19 21:49:11,585 WARN  [o.a.c.f.j.AsyncJobExecutionContext]
 (AgentConnectTaskPool-344:ctx-07431045) Job is executed without a context,
 setup psudo job for the executing thread
 2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
 (AgentConnectTaskPool-344:ctx-07431045) Unable to transition the state but
 we're moving on because it's forced stop
 2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
 (AgentConnectTaskPool-344:ctx-07431045) Unable to cleanup VM:
 VM[DomainRouter|r-71-VM] ,since outstanding work item is not found
 2014-06-19 21:49:11,651 ERROR [c.c.a.m.AgentManagerImpl]
 (AgentConnectTaskPool-344:ctx-07431045) Monitor
 ClusteredVirtualMachineManagerImpl says there is an error in the connect
 process for 2 due to Work item not found, We cannot stop
 VM[DomainRouter|r-71-VM] when it is in state Starting
 com.cloud.utils.exception.CloudRuntimeException: Work item not found, We
 cannot stop VM[DomainRouter|r-71-VM] when it is in state Starting
 at

 com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1415)
 at

 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1344)
 at

 com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1312)
 at

 com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:346)
 at

 com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2827)
 at

 com.cloud.vm.VirtualMachineManagerImpl.fullHostSync(VirtualMachineManagerImpl.java:2384)
 at

 com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:3035)
 at

 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495)
 at

 com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:999)
 at

 com.cloud.agent.manager.AgentManagerImpl.access$000(AgentManagerImpl.java:117)
 at

 com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1082)
 at

 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
 at

 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
 at

 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
 at

 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
 at

 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
 at

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

 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
 at java.lang.Thread.run(Thread.java:744)
 2014-06-19 21:49:08,251 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
 (secstorage-1:ctx-c407a559) Zone 1 is not ready to launch secondary storage
 VM yet
 2014-06-19 21:49:08,282 DEBUG [c.c.c.ConsoleProxyManagerImpl]
 (consoleproxy-1:ctx-60f4b3c9) Zone 1 is not ready to launch console proxy
 yet
 2014-06-19 21:49:01,197 DEBUG [c.c.n.NetworkUsageManagerImpl]
 (AgentConnectTaskPool-342:ctx-b66d3294) Disconnected called 

Re: [URGENT] cloudstack SSVM and router failed to start after power blackout

2014-06-19 Thread dimas yoga pratama
Thanks Rohit, I will give feedback as soon as I tried it


On Thu, Jun 19, 2014 at 10:38 PM, Rohit Yadav bhais...@apache.org wrote:

 Hi Dimas,

 Looks like the VM is in starting state and CloudStack is unable to contact
 the agent. Hope you've removed the VR from CloudStack using the UI. You can
 try restarting the management server. The issue is of sync, where one party
 (mgmt server) has different view of the world than the other (the
 host/agent). In such cases, do not remove the host else when you re-add it,
 it may destroy all the (user) VMs on it or simply fail.

 If restarting won't fix the problem, in global settings reduce the expunge
 timeout (that's when CloudStack marks a VM as removed, since you've just
 destroyed it, it can take some time to get expunged) and try again.

 As a final course of action I would stop the management server, then ssh to
 the host and destroy SSVMs, using mysql client I would change db entries
 for SSVM to removed/expunged (simply mark by updating row, do not remove
 the row), start the mgmt server again and hope it would work this time.

 Suggestions anyone in such a case?

 Regards.


 On Thu, Jun 19, 2014 at 8:29 PM, dimas yoga pratama smid...@gmail.com
 wrote:

  management log :
 
  2014-06-19 21:49:21,312 WARN  [c.c.u.n.Link] (AgentManager-Selector:null)
  SSL: Fail to find the generated keystore. Loading fail-safe one to
  continue.
 
  2014-06-19 21:49:11,585 DEBUG [c.c.v.VirtualMachineManagerImpl]
  (AgentConnectTaskPool-344:ctx-07431045) Ignoring VM in starting mode:
  r-71-VM
  2014-06-19 21:49:11,585 DEBUG [c.c.h.HighAvailabilityManagerImpl]
  (AgentConnectTaskPool-344:ctx-07431045) VM does not require investigation
  so I'm marking it as Stopped: VM[DomainRouter|r-71-VM]
  2014-06-19 21:49:11,585 WARN  [o.a.c.f.j.AsyncJobExecutionContext]
  (AgentConnectTaskPool-344:ctx-07431045) Job is executed without a
 context,
  setup psudo job for the executing thread
  2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
  (AgentConnectTaskPool-344:ctx-07431045) Unable to transition the state
 but
  we're moving on because it's forced stop
  2014-06-19 21:49:11,651 DEBUG [c.c.v.VirtualMachineManagerImpl]
  (AgentConnectTaskPool-344:ctx-07431045) Unable to cleanup VM:
  VM[DomainRouter|r-71-VM] ,since outstanding work item is not found
  2014-06-19 21:49:11,651 ERROR [c.c.a.m.AgentManagerImpl]
  (AgentConnectTaskPool-344:ctx-07431045) Monitor
  ClusteredVirtualMachineManagerImpl says there is an error in the connect
  process for 2 due to Work item not found, We cannot stop
  VM[DomainRouter|r-71-VM] when it is in state Starting
  com.cloud.utils.exception.CloudRuntimeException: Work item not found, We
  cannot stop VM[DomainRouter|r-71-VM] when it is in state Starting
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1415)
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.orchestrateStop(VirtualMachineManagerImpl.java:1344)
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.advanceStop(VirtualMachineManagerImpl.java:1312)
  at
 
 
 com.cloud.ha.HighAvailabilityManagerImpl.scheduleRestart(HighAvailabilityManagerImpl.java:346)
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.compareState(VirtualMachineManagerImpl.java:2827)
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.fullHostSync(VirtualMachineManagerImpl.java:2384)
  at
 
 
 com.cloud.vm.VirtualMachineManagerImpl.processConnect(VirtualMachineManagerImpl.java:3035)
  at
 
 
 com.cloud.agent.manager.AgentManagerImpl.notifyMonitorsOfConnection(AgentManagerImpl.java:495)
  at
 
 
 com.cloud.agent.manager.AgentManagerImpl.handleConnectedAgent(AgentManagerImpl.java:999)
  at
 
 
 com.cloud.agent.manager.AgentManagerImpl.access$000(AgentManagerImpl.java:117)
  at
 
 
 com.cloud.agent.manager.AgentManagerImpl$HandleAgentConnectTask.runInContext(AgentManagerImpl.java:1082)
  at
 
 
 org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
  at
 
 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
  at
 
 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
  at
 
 
 org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
  at
 
 
 org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
  at
 
 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
  at
 
 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:744)
  2014-06-19 21:49:08,251 DEBUG [c.c.s.s.SecondaryStorageManagerImpl]
  (secstorage-1:ctx-c407a559) Zone 1 is not ready to launch secondary
 storage
  VM yet
  

Re: [POLL] Who uses awsapi with CloudStack in production?

2014-06-19 Thread Carlos Reátegui
Hi Daan,

I have not tried 4.3.  I saw some of the issues people were having and decided 
to hold off from trying.

Do you suggest I try with 4.3 or should I build my own deb packages and try 4.4?

BTW I am on ubuntu 12.04 + XenServer 6.0.2


On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com wrote:

 Carlos, please export your db and do a test upgrade on a lab machine?
 Now is the time to solve any upgrade issues in 4.4.
 
 Have you tried the 4.3 upgrade already?
 
 regards,
 Daan
 
 On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui create...@gmail.com wrote:
 Hi Rohit,
 
 The awsapi was one of the reasons we chose to use ACS.  We have developed 
 some internal tools and apps to manage our deployments on AWS that we want 
 to re-use on ACS.  We have not been able to use it yet because it was broken 
 in 4.1.1.  We tried to upgrade to 4.2 and were unsuccessful and are now 
 waiting for 4.4 to finally upgrade and hopefully be able to use the awsapi.
 
 We use ACS internally for development and testing of our applications that 
 we push to AWS.
 
 thanks,
 Carlos
 
 
 On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org wrote:
 
 Hi,
 
 Who uses awsapi or any other EC2 compatible interface such as ec2stack
 with CloudStack (or CloudStack distros such as Citrix CloudPlatform) in
 production? And, if marketing and publicity are/were big motivation(s)?
 
 In case you don't want to discuss on this thread, please take this
 anonymous poll:
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction
 
 # Some stats
 
 I've been watching Collab14 videos and found references where many speakers
 reference overall CloudStack codebase to be about 1.5M (million) lines of
 Java code which is not exactly true. Let me share some findings;
 
 - As of today, CloudStack master is about 1.7M lines of Java code [1]
 - CloudStack awsapi artifact is 1.04M lines of Java code [2]
 - Code excluding awsapi, tests and license/comment is about 590k lines of
 Java code [3]
 - The core excluding plugins, api and the above is about 300k lines of Java
 code [4]
 
 Why should  I care:
 - some useful/fun stats to keep in mind
 - it's not a giant mammoth that cannot be fixed or developed upon
 - encouraging for new developers that if they try they can understand and
 fix it
 
 FYI, this started on twitter yesterday:
 https://twitter.com/_bhaisaab/status/479007075414974465
 
 [1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
 [2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat | wc -l
 [3] cd cloudstack-repo  find . | grep -v awsapi | grep -v [tT]est | grep
 java$ | xargs cat | grep -v '^//' | wc -l
 [4] cd cloudstack-repo  find . | grep -v awsapi | grep -v [Tt]est | grep
 -v plugins | grep -v api | grep java$ | xargs cat | grep -v '^//' | wc -l
 
 Regards.
 
 
 
 
 -- 
 Daan



Re: [POLL] Who uses awsapi with CloudStack in production?

2014-06-19 Thread Daan Hoogland
I am saying you should export your db and run a test upgrade against it
using the 4.4 branch so we can make sure it works correctly by the time we
release.
Op 19 jun. 2014 19:10 schreef Carlos Reátegui create...@gmail.com:

 Hi Daan,

 I have not tried 4.3.  I saw some of the issues people were having and
 decided to hold off from trying.

 Do you suggest I try with 4.3 or should I build my own deb packages and
 try 4.4?

 BTW I am on ubuntu 12.04 + XenServer 6.0.2


 On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:

  Carlos, please export your db and do a test upgrade on a lab machine?
  Now is the time to solve any upgrade issues in 4.4.
 
  Have you tried the 4.3 upgrade already?
 
  regards,
  Daan
 
  On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui create...@gmail.com
 wrote:
  Hi Rohit,
 
  The awsapi was one of the reasons we chose to use ACS.  We have
 developed some internal tools and apps to manage our deployments on AWS
 that we want to re-use on ACS.  We have not been able to use it yet because
 it was broken in 4.1.1.  We tried to upgrade to 4.2 and were unsuccessful
 and are now waiting for 4.4 to finally upgrade and hopefully be able to use
 the awsapi.
 
  We use ACS internally for development and testing of our applications
 that we push to AWS.
 
  thanks,
  Carlos
 
 
  On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org wrote:
 
  Hi,
 
  Who uses awsapi or any other EC2 compatible interface such as
 ec2stack
  with CloudStack (or CloudStack distros such as Citrix CloudPlatform) in
  production? And, if marketing and publicity are/were big motivation(s)?
 
  In case you don't want to discuss on this thread, please take this
  anonymous poll:
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction
 
  # Some stats
 
  I've been watching Collab14 videos and found references where many
 speakers
  reference overall CloudStack codebase to be about 1.5M (million) lines
 of
  Java code which is not exactly true. Let me share some findings;
 
  - As of today, CloudStack master is about 1.7M lines of Java code [1]
  - CloudStack awsapi artifact is 1.04M lines of Java code [2]
  - Code excluding awsapi, tests and license/comment is about 590k
 lines of
  Java code [3]
  - The core excluding plugins, api and the above is about 300k lines of
 Java
  code [4]
 
  Why should  I care:
  - some useful/fun stats to keep in mind
  - it's not a giant mammoth that cannot be fixed or developed upon
  - encouraging for new developers that if they try they can understand
 and
  fix it
 
  FYI, this started on twitter yesterday:
  https://twitter.com/_bhaisaab/status/479007075414974465
 
  [1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
  [2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat | wc -l
  [3] cd cloudstack-repo  find . | grep -v awsapi | grep -v [tT]est |
 grep
  java$ | xargs cat | grep -v '^//' | wc -l
  [4] cd cloudstack-repo  find . | grep -v awsapi | grep -v [Tt]est |
 grep
  -v plugins | grep -v api | grep java$ | xargs cat | grep -v '^//' | wc
 -l
 
  Regards.
 
 
 
 
  --
  Daan




Re: [POLL] Who uses awsapi with CloudStack in production?

2014-06-19 Thread Rohit Yadav
On Thu, Jun 19, 2014 at 10:39 PM, Carlos Reátegui create...@gmail.com
wrote:

 Hi Daan,

 I have not tried 4.3.  I saw some of the issues people were having and
 decided to hold off from trying.

 Do you suggest I try with 4.3 or should I build my own deb packages and
 try 4.4?

 BTW I am on ubuntu 12.04 + XenServer 6.0.2


Carlos, Daan is suggesting that you help us test our upcoming 4.4 release
:) using the 4.4 branch [1]

[1] https://github.com/apache/cloudstack/tree/4.4

Cheers.




 On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com
 wrote:

  Carlos, please export your db and do a test upgrade on a lab machine?
  Now is the time to solve any upgrade issues in 4.4.
 
  Have you tried the 4.3 upgrade already?
 
  regards,
  Daan
 
  On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui create...@gmail.com
 wrote:
  Hi Rohit,
 
  The awsapi was one of the reasons we chose to use ACS.  We have
 developed some internal tools and apps to manage our deployments on AWS
 that we want to re-use on ACS.  We have not been able to use it yet because
 it was broken in 4.1.1.  We tried to upgrade to 4.2 and were unsuccessful
 and are now waiting for 4.4 to finally upgrade and hopefully be able to use
 the awsapi.
 
  We use ACS internally for development and testing of our applications
 that we push to AWS.
 
  thanks,
  Carlos
 
 
  On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org wrote:
 
  Hi,
 
  Who uses awsapi or any other EC2 compatible interface such as
 ec2stack
  with CloudStack (or CloudStack distros such as Citrix CloudPlatform) in
  production? And, if marketing and publicity are/were big motivation(s)?
 
  In case you don't want to discuss on this thread, please take this
  anonymous poll:
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction
 
  # Some stats
 
  I've been watching Collab14 videos and found references where many
 speakers
  reference overall CloudStack codebase to be about 1.5M (million) lines
 of
  Java code which is not exactly true. Let me share some findings;
 
  - As of today, CloudStack master is about 1.7M lines of Java code [1]
  - CloudStack awsapi artifact is 1.04M lines of Java code [2]
  - Code excluding awsapi, tests and license/comment is about 590k
 lines of
  Java code [3]
  - The core excluding plugins, api and the above is about 300k lines of
 Java
  code [4]
 
  Why should  I care:
  - some useful/fun stats to keep in mind
  - it's not a giant mammoth that cannot be fixed or developed upon
  - encouraging for new developers that if they try they can understand
 and
  fix it
 
  FYI, this started on twitter yesterday:
  https://twitter.com/_bhaisaab/status/479007075414974465
 
  [1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
  [2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat | wc -l
  [3] cd cloudstack-repo  find . | grep -v awsapi | grep -v [tT]est |
 grep
  java$ | xargs cat | grep -v '^//' | wc -l
  [4] cd cloudstack-repo  find . | grep -v awsapi | grep -v [Tt]est |
 grep
  -v plugins | grep -v api | grep java$ | xargs cat | grep -v '^//' | wc
 -l
 
  Regards.
 
 
 
 
  --
  Daan




Kemp load balancers

2014-06-19 Thread Ian Marshall
Hi

Can I use Kemp LM2600 for load balancing VMs in cloudstack.

I was looking to install Openstack but struggling so want to try cloudstack
but have these LBs as I require SSL offloading.

Regards
Ian


Re: [POLL] Who uses awsapi with CloudStack in production?

2014-06-19 Thread Carlos Reategui
I can do that.

My current install is from the repo http://cloudstack.apt-get.eu/ubuntu.
 Do you know if that is built with -Dnoredist? I would like to make sure I
build and package the same way.

Thanks
Carlos


On Thu, Jun 19, 2014 at 11:35 AM, Rohit Yadav bhais...@apache.org wrote:

 On Thu, Jun 19, 2014 at 10:39 PM, Carlos Reátegui create...@gmail.com
 wrote:

  Hi Daan,
 
  I have not tried 4.3.  I saw some of the issues people were having and
  decided to hold off from trying.
 
  Do you suggest I try with 4.3 or should I build my own deb packages and
  try 4.4?
 
  BTW I am on ubuntu 12.04 + XenServer 6.0.2
 

 Carlos, Daan is suggesting that you help us test our upcoming 4.4 release
 :) using the 4.4 branch [1]

 [1] https://github.com/apache/cloudstack/tree/4.4

 Cheers.


 
 
  On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com
  wrote:
 
   Carlos, please export your db and do a test upgrade on a lab machine?
   Now is the time to solve any upgrade issues in 4.4.
  
   Have you tried the 4.3 upgrade already?
  
   regards,
   Daan
  
   On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui create...@gmail.com
  wrote:
   Hi Rohit,
  
   The awsapi was one of the reasons we chose to use ACS.  We have
  developed some internal tools and apps to manage our deployments on AWS
  that we want to re-use on ACS.  We have not been able to use it yet
 because
  it was broken in 4.1.1.  We tried to upgrade to 4.2 and were unsuccessful
  and are now waiting for 4.4 to finally upgrade and hopefully be able to
 use
  the awsapi.
  
   We use ACS internally for development and testing of our applications
  that we push to AWS.
  
   thanks,
   Carlos
  
  
   On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org
 wrote:
  
   Hi,
  
   Who uses awsapi or any other EC2 compatible interface such as
  ec2stack
   with CloudStack (or CloudStack distros such as Citrix CloudPlatform)
 in
   production? And, if marketing and publicity are/were big
 motivation(s)?
  
   In case you don't want to discuss on this thread, please take this
   anonymous poll:
  
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction
  
   # Some stats
  
   I've been watching Collab14 videos and found references where many
  speakers
   reference overall CloudStack codebase to be about 1.5M (million)
 lines
  of
   Java code which is not exactly true. Let me share some findings;
  
   - As of today, CloudStack master is about 1.7M lines of Java code [1]
   - CloudStack awsapi artifact is 1.04M lines of Java code [2]
   - Code excluding awsapi, tests and license/comment is about 590k
  lines of
   Java code [3]
   - The core excluding plugins, api and the above is about 300k lines
 of
  Java
   code [4]
  
   Why should  I care:
   - some useful/fun stats to keep in mind
   - it's not a giant mammoth that cannot be fixed or developed upon
   - encouraging for new developers that if they try they can understand
  and
   fix it
  
   FYI, this started on twitter yesterday:
   https://twitter.com/_bhaisaab/status/479007075414974465
  
   [1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
   [2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat | wc
 -l
   [3] cd cloudstack-repo  find . | grep -v awsapi | grep -v [tT]est |
  grep
   java$ | xargs cat | grep -v '^//' | wc -l
   [4] cd cloudstack-repo  find . | grep -v awsapi | grep -v [Tt]est |
  grep
   -v plugins | grep -v api | grep java$ | xargs cat | grep -v '^//' |
 wc
  -l
  
   Regards.
  
  
  
  
   --
   Daan
 
 



Re: [POLL] Who uses awsapi with CloudStack in production?

2014-06-19 Thread Rohit Yadav
On Fri, Jun 20, 2014 at 12:22 AM, Carlos Reategui car...@reategui.com
wrote:

 I can do that.

 My current install is from the repo http://cloudstack.apt-get.eu/ubuntu.
  Do you know if that is built with -Dnoredist? I would like to make sure I
 build and package the same way.


Wido maintains it and only hosts released versions of CloudStack and AFAIK
we don't have an active nightlies debian build repo for users.

That means, you'll have to build from source which is not very hard to do
(you may even automate it):

1. Download the 4.4 branch zipball:
https://github.com/apache/cloudstack/archive/4.4.zip

2. Follow this:

http://cloudstack-installation.readthedocs.org/en/latest/building_from_source.html#prerequisites-for-building-apache-cloudstack

If you're stuck or have any issues reach out to the community, we're good
people :)

@Wido: Hey! Can you start the nightlies again so users don't have to do
debian builds themselves?

Regards.



 Thanks
 Carlos


 On Thu, Jun 19, 2014 at 11:35 AM, Rohit Yadav bhais...@apache.org wrote:

  On Thu, Jun 19, 2014 at 10:39 PM, Carlos Reátegui create...@gmail.com
  wrote:
 
   Hi Daan,
  
   I have not tried 4.3.  I saw some of the issues people were having and
   decided to hold off from trying.
  
   Do you suggest I try with 4.3 or should I build my own deb packages and
   try 4.4?
  
   BTW I am on ubuntu 12.04 + XenServer 6.0.2
  
 
  Carlos, Daan is suggesting that you help us test our upcoming 4.4 release
  :) using the 4.4 branch [1]
 
  [1] https://github.com/apache/cloudstack/tree/4.4
 
  Cheers.
 
 
  
  
   On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com
   wrote:
  
Carlos, please export your db and do a test upgrade on a lab machine?
Now is the time to solve any upgrade issues in 4.4.
   
Have you tried the 4.3 upgrade already?
   
regards,
Daan
   
On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui 
 create...@gmail.com
   wrote:
Hi Rohit,
   
The awsapi was one of the reasons we chose to use ACS.  We have
   developed some internal tools and apps to manage our deployments on AWS
   that we want to re-use on ACS.  We have not been able to use it yet
  because
   it was broken in 4.1.1.  We tried to upgrade to 4.2 and were
 unsuccessful
   and are now waiting for 4.4 to finally upgrade and hopefully be able to
  use
   the awsapi.
   
We use ACS internally for development and testing of our
 applications
   that we push to AWS.
   
thanks,
Carlos
   
   
On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org
  wrote:
   
Hi,
   
Who uses awsapi or any other EC2 compatible interface such as
   ec2stack
with CloudStack (or CloudStack distros such as Citrix
 CloudPlatform)
  in
production? And, if marketing and publicity are/were big
  motivation(s)?
   
In case you don't want to discuss on this thread, please take this
anonymous poll:
   
  
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction
   
# Some stats
   
I've been watching Collab14 videos and found references where many
   speakers
reference overall CloudStack codebase to be about 1.5M (million)
  lines
   of
Java code which is not exactly true. Let me share some findings;
   
- As of today, CloudStack master is about 1.7M lines of Java code
 [1]
- CloudStack awsapi artifact is 1.04M lines of Java code [2]
- Code excluding awsapi, tests and license/comment is about 590k
   lines of
Java code [3]
- The core excluding plugins, api and the above is about 300k lines
  of
   Java
code [4]
   
Why should  I care:
- some useful/fun stats to keep in mind
- it's not a giant mammoth that cannot be fixed or developed upon
- encouraging for new developers that if they try they can
 understand
   and
fix it
   
FYI, this started on twitter yesterday:
https://twitter.com/_bhaisaab/status/479007075414974465
   
[1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
[2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat | wc
  -l
[3] cd cloudstack-repo  find . | grep -v awsapi | grep -v
 [tT]est |
   grep
java$ | xargs cat | grep -v '^//' | wc -l
[4] cd cloudstack-repo  find . | grep -v awsapi | grep -v
 [Tt]est |
   grep
-v plugins | grep -v api | grep java$ | xargs cat | grep -v '^//' |
  wc
   -l
   
Regards.
   
   
   
   
--
Daan
  
  
 



building and testing 4.4.

2014-06-19 Thread Carlos Reategui
Hi Rohit,
Thanks for the info, but I was asking about the non-oss.  Is that included
in Wido's released versions?

I'm assuming the zip file you linked below will give me the same as:
git checkout remotes/origin/4.4

Also, what is the issue with tomcat 6.0.35?  I just noticed that my
Management Server is running the default Ubuntu tomcat6 which is 6.0.35.
 Are all versions of CloudStack affected?

thanks,
Carlos

PS figured it would be good to change the subject of this thread


On Thu, Jun 19, 2014 at 12:16 PM, Rohit Yadav bhais...@apache.org wrote:

 On Fri, Jun 20, 2014 at 12:22 AM, Carlos Reategui car...@reategui.com
 wrote:

  I can do that.
 
  My current install is from the repo http://cloudstack.apt-get.eu/ubuntu.
   Do you know if that is built with -Dnoredist? I would like to make sure
 I
  build and package the same way.
 

 Wido maintains it and only hosts released versions of CloudStack and AFAIK
 we don't have an active nightlies debian build repo for users.

 That means, you'll have to build from source which is not very hard to do
 (you may even automate it):

 1. Download the 4.4 branch zipball:
 https://github.com/apache/cloudstack/archive/4.4.zip

 2. Follow this:


 http://cloudstack-installation.readthedocs.org/en/latest/building_from_source.html#prerequisites-for-building-apache-cloudstack

 If you're stuck or have any issues reach out to the community, we're good
 people :)

 @Wido: Hey! Can you start the nightlies again so users don't have to do
 debian builds themselves?

 Regards.


 
  Thanks
  Carlos
 
 
  On Thu, Jun 19, 2014 at 11:35 AM, Rohit Yadav bhais...@apache.org
 wrote:
 
   On Thu, Jun 19, 2014 at 10:39 PM, Carlos Reátegui create...@gmail.com
 
   wrote:
  
Hi Daan,
   
I have not tried 4.3.  I saw some of the issues people were having
 and
decided to hold off from trying.
   
Do you suggest I try with 4.3 or should I build my own deb packages
 and
try 4.4?
   
BTW I am on ubuntu 12.04 + XenServer 6.0.2
   
  
   Carlos, Daan is suggesting that you help us test our upcoming 4.4
 release
   :) using the 4.4 branch [1]
  
   [1] https://github.com/apache/cloudstack/tree/4.4
  
   Cheers.
  
  
   
   
On Jun 19, 2014, at 12:35 AM, Daan Hoogland daan.hoogl...@gmail.com
 
wrote:
   
 Carlos, please export your db and do a test upgrade on a lab
 machine?
 Now is the time to solve any upgrade issues in 4.4.

 Have you tried the 4.3 upgrade already?

 regards,
 Daan

 On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui 
  create...@gmail.com
wrote:
 Hi Rohit,

 The awsapi was one of the reasons we chose to use ACS.  We have
developed some internal tools and apps to manage our deployments on
 AWS
that we want to re-use on ACS.  We have not been able to use it yet
   because
it was broken in 4.1.1.  We tried to upgrade to 4.2 and were
  unsuccessful
and are now waiting for 4.4 to finally upgrade and hopefully be able
 to
   use
the awsapi.

 We use ACS internally for development and testing of our
  applications
that we push to AWS.

 thanks,
 Carlos


 On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org
   wrote:

 Hi,

 Who uses awsapi or any other EC2 compatible interface such as
ec2stack
 with CloudStack (or CloudStack distros such as Citrix
  CloudPlatform)
   in
 production? And, if marketing and publicity are/were big
   motivation(s)?

 In case you don't want to discuss on this thread, please take
 this
 anonymous poll:

   
  
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction

 # Some stats

 I've been watching Collab14 videos and found references where
 many
speakers
 reference overall CloudStack codebase to be about 1.5M (million)
   lines
of
 Java code which is not exactly true. Let me share some
 findings;

 - As of today, CloudStack master is about 1.7M lines of Java code
  [1]
 - CloudStack awsapi artifact is 1.04M lines of Java code [2]
 - Code excluding awsapi, tests and license/comment is about
 590k
lines of
 Java code [3]
 - The core excluding plugins, api and the above is about 300k
 lines
   of
Java
 code [4]

 Why should  I care:
 - some useful/fun stats to keep in mind
 - it's not a giant mammoth that cannot be fixed or developed upon
 - encouraging for new developers that if they try they can
  understand
and
 fix it

 FYI, this started on twitter yesterday:
 https://twitter.com/_bhaisaab/status/479007075414974465

 [1] cd cloudstack-repo  find . | grep java$ | xargs cat | wc -l
 [2] cd cloudstack-repo  find awsapi | grep java$ | xargs cat |
 wc
   -l
 [3] cd cloudstack-repo  find . | grep -v awsapi | grep -v
  [tT]est |
grep
 java$ | xargs cat | grep -v '^//' | wc -l
 [4] cd 

Re: building and testing 4.4.

2014-06-19 Thread Carlos Reategui
Regarding my tomcat question in the previous email, I have built the .deb
files and noticed the dependency on tomcat6.  I am confused by the
statement in the build doc (
http://cloudstack-installation.readthedocs.org/en/latest/building_from_source.html)
to use 6.0.33 instead of 6.0.35.
This is not mentioned in the installation doc (
http://cloudstack-installation.readthedocs.org/en/latest/installation.html).
 If you simply do the apt-get install of cloudstack it will install tomcat
6.0.35 since that is whats current in Ubuntu 12.04 (
http://packages.ubuntu.com/precise/web/tomcat6).
So is this just a build dependency?

thanks
Carlos




On Thu, Jun 19, 2014 at 3:47 PM, Carlos Reategui car...@reategui.com
wrote:

 Hi Rohit,
 Thanks for the info, but I was asking about the non-oss.  Is that included
 in Wido's released versions?

 I'm assuming the zip file you linked below will give me the same as:
 git checkout remotes/origin/4.4

 Also, what is the issue with tomcat 6.0.35?  I just noticed that my
 Management Server is running the default Ubuntu tomcat6 which is 6.0.35.
  Are all versions of CloudStack affected?

 thanks,
 Carlos

 PS figured it would be good to change the subject of this thread


 On Thu, Jun 19, 2014 at 12:16 PM, Rohit Yadav bhais...@apache.org wrote:

 On Fri, Jun 20, 2014 at 12:22 AM, Carlos Reategui car...@reategui.com
 wrote:

  I can do that.
 
  My current install is from the repo http://cloudstack.apt-get.eu/ubuntu
 .
   Do you know if that is built with -Dnoredist? I would like to make
 sure I
  build and package the same way.
 

 Wido maintains it and only hosts released versions of CloudStack and AFAIK
 we don't have an active nightlies debian build repo for users.

 That means, you'll have to build from source which is not very hard to do
 (you may even automate it):

 1. Download the 4.4 branch zipball:
 https://github.com/apache/cloudstack/archive/4.4.zip

 2. Follow this:


 http://cloudstack-installation.readthedocs.org/en/latest/building_from_source.html#prerequisites-for-building-apache-cloudstack

 If you're stuck or have any issues reach out to the community, we're good
 people :)

 @Wido: Hey! Can you start the nightlies again so users don't have to do
 debian builds themselves?

 Regards.


 
  Thanks
  Carlos
 
 
  On Thu, Jun 19, 2014 at 11:35 AM, Rohit Yadav bhais...@apache.org
 wrote:
 
   On Thu, Jun 19, 2014 at 10:39 PM, Carlos Reátegui 
 create...@gmail.com
   wrote:
  
Hi Daan,
   
I have not tried 4.3.  I saw some of the issues people were having
 and
decided to hold off from trying.
   
Do you suggest I try with 4.3 or should I build my own deb packages
 and
try 4.4?
   
BTW I am on ubuntu 12.04 + XenServer 6.0.2
   
  
   Carlos, Daan is suggesting that you help us test our upcoming 4.4
 release
   :) using the 4.4 branch [1]
  
   [1] https://github.com/apache/cloudstack/tree/4.4
  
   Cheers.
  
  
   
   
On Jun 19, 2014, at 12:35 AM, Daan Hoogland 
 daan.hoogl...@gmail.com
wrote:
   
 Carlos, please export your db and do a test upgrade on a lab
 machine?
 Now is the time to solve any upgrade issues in 4.4.

 Have you tried the 4.3 upgrade already?

 regards,
 Daan

 On Wed, Jun 18, 2014 at 7:04 PM, Carlos Reátegui 
  create...@gmail.com
wrote:
 Hi Rohit,

 The awsapi was one of the reasons we chose to use ACS.  We have
developed some internal tools and apps to manage our deployments on
 AWS
that we want to re-use on ACS.  We have not been able to use it yet
   because
it was broken in 4.1.1.  We tried to upgrade to 4.2 and were
  unsuccessful
and are now waiting for 4.4 to finally upgrade and hopefully be
 able to
   use
the awsapi.

 We use ACS internally for development and testing of our
  applications
that we push to AWS.

 thanks,
 Carlos


 On Jun 18, 2014, at 12:11 AM, Rohit Yadav bhais...@apache.org
   wrote:

 Hi,

 Who uses awsapi or any other EC2 compatible interface such as
ec2stack
 with CloudStack (or CloudStack distros such as Citrix
  CloudPlatform)
   in
 production? And, if marketing and publicity are/were big
   motivation(s)?

 In case you don't want to discuss on this thread, please take
 this
 anonymous poll:

   
  
 
 http://www.polljunkie.com/poll/fbyfdc/who-uses-awsapi-with-cloudstack-in-prouduction

 # Some stats

 I've been watching Collab14 videos and found references where
 many
speakers
 reference overall CloudStack codebase to be about 1.5M (million)
   lines
of
 Java code which is not exactly true. Let me share some
 findings;

 - As of today, CloudStack master is about 1.7M lines of Java
 code
  [1]
 - CloudStack awsapi artifact is 1.04M lines of Java code [2]
 - Code excluding awsapi, tests and license/comment is about
 590k
lines of
 Java code [3]
 - The core excluding 

Adding ceph RBD storage failed in CentOS 6.5 KVM

2014-06-19 Thread Praveen Buravilli
Hi,

I am facing an issue in adding ceph RBD storage to CloudStack. It is failing 
with Failed to add datasource error.
I have followed all the available instructions related to CloudStack, KVM and 
ceph storage integration.

CenOS 6.5 KVM is used as KVM node here. I have read in some blog that we need 
to compile LibVirt in CenOS KVM nodes to make Ceph storage to work with in 
CloudStack.
Hence I have got git cloned LibVirt package from its source and upgraded 
LibVirt and Qemu versions.
(Commands used -- git cone #, ./autogen.sh, make, make install).

It seems CentOS 6.5 KVM needs to be enabled for RBD (driver) support which 
needs to be specified as a parameter while compiling LibVirt.

Can anyone throw some pointers on how to rectify this problem?

Management Server Exception:
2014-06-20 09:58:03,757 DEBUG [agent.transport.Request] (catalina-exec-6:null) 
Seq 1-1602164611: Received:  { Ans: , MgmtId: 52234925782, via: 1, Ver: v1, 
Flags: 10, { Answer } }
2014-06-20 09:58:03,757 DEBUG [agent.manager.AgentManagerImpl] 
(catalina-exec-6:null) Details from executing class 
com.cloud.agent.api.ModifyStoragePoolCommand: java.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:531)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:185)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:177)

I even tried defining a pool using virsh command even that is failing with 
internal error missing backend for pool type 8.
This indicates my KVM LibVirt is not supported for RBD.

Virsh exception on manual pool definition
pool type='rbd'
namec574980a-19fc-37e9-b6e3-788a7439575d/name
uuidc574980a-19fc-37e9-b6e3-788a7439575d/uuid
source
host name='192.168.153.25' port='6789'/
namecloudstack/name
auth username='cloudstack' type='ceph'
secret uuid='c574980a-19fc-37e9-b6e3-788a7439575d'/
/auth
/source
/pool

[root@kvm-ovs-002 agent]# virsh pool-define /tmp/rbd.xml
error: Failed to define pool from /tmp/rbd.xml
error: internal error missing backend for pool type 8

The Ceph storage is working fine and confirmed with following statistics of it.

Ceph output
[root@kvm-ovs-002 ~]# ceph auth list
installed auth entries:

osd.0
key: AQCwTKFTSOudGhAAsWAMRFuCqHjvTQKEV0zjvw==
caps: [mon] allow profile osd
caps: [osd] allow *
client.admin
key: AQBRQqFTWOjBKhAA2s7KnL1z3h7PuKeqXMd7SA==
caps: [mds] allow
caps: [mon] allow *
caps: [osd] allow *
client.bootstrap-mds
key: AQBSQqFTYKm6CRAAjjZotpN68yJaOjS2QTKzKg==
caps: [mon] allow profile bootstrap-mds
client.bootstrap-osd
key: AQBRQqFT6GzXNxAA4ZTmVX6LIu0k4Sk7bh2Ifg==
caps: [mon] allow profile bootstrap-osd
client.cloudstack
key: AQBNTaFTeCuwFRAA0NE7CCm9rwuq3ngLcGEysQ==
caps: [mon] allow r
caps: [osd] allow rwx pool=cloudstack

[root@ceph ~]# ceph status
cluster 9c1be0b6-f600-45d7-ae0f-df7bcd3a82cd
 health HEALTH_WARN 292 pgs degraded; 292 pgs stale; 292 pgs stuck stale; 
292 pgs stuck unclean; 1/1 in osds are down; clock skew detected on 
mon.kvm-ovs-00  
  2
 monmap e1: 2 mons at 
{ceph=192.168.153.25:6789/0,kvm-ovs-002=192.168.160.3: 6789/0}, election epoch 
10, quorum 0,1 ceph,kvm-ovs-002
 osdmap e8: 1 osds: 0 up, 1 in
  pgmap v577: 292 pgs, 4 pools, 0 bytes data, 0 objects
26036 MB used, 824 GB / 895 GB avail
 292 stale+active+degraded

[root@kvm-ovs-002 agent]# cat /etc/redhat-release
CentOS release 6.5 (Final)

The compiled LibVirt is showing upgraded version in virsh but still finding old 
rpm packages in KVM.
Give me some hint on whether to clean-up these old RPMs?

Virsh version
[root@kvm-ovs-002 agent]# virsh version
Compiled against library: libvirt 1.2.6
Using library: libvirt 1.2.6
Using API: QEMU 1.2.6
Running hypervisor: QEMU 0.12.1

[root@kvm-ovs-002 agent]# rpm -qa | grep qemu
qemu-kvm-tools-0.12.1.2-2.415.el6_5.10.x86_64
qemu-kvm-0.12.1.2-2.415.el6.3ceph.x86_64
gpxe-roms-qemu-0.9.7-6.10.el6.noarch
qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64
qemu-img-0.12.1.2-2.415.el6.3ceph.x86_64
qemu-img-0.12.1.2-2.415.el6_5.10.x86_64
qemu-kvm-tools-0.12.1.2-2.415.el6.3ceph.x86_64
qemu-guest-agent-0.12.1.2-2.415.el6_5.10.x86_64
You have mail in /var/spool/mail/root
[root@kvm-ovs-002 agent]# rpm -qa | grep libvirt
libvirt-python-0.10.2-29.el6_5.9.x86_64
libvirt-java-0.4.9-1.el6.noarch
libvirt-cim-0.6.1-9.el6_5.1.x86_64
libvirt-client-0.10.2-29.el6_5.9.x86_64
libvirt-devel-0.10.2-29.el6_5.9.x86_64
fence-virtd-libvirt-0.2.3-15.el6.x86_64
libvirt-0.10.2-29.el6_5.9.x86_64
libvirt-snmp-0.0.2-4.el6.x86_64

*Attached all the log files from management and kvm servers.

Thanks,
Praveen Kumar Buravilli



Re: Kemp load balancers

2014-06-19 Thread ilya musayev

Ian

Welcome to CloudStack user mailing list,

To be honest, I've not heard of Kemp, but did research just now and it 
sounds interesting.


As it stands, there isn't anything that i'm aware of that will work with 
Kemp and CloudStack natively. We have typical LB vendors like Citrix 
NetScaler, BigIP F5, Brocades and plenty of other providers, but nothing 
that would do load balancing with Kemp yet. There were talks of using 
nginx as LB as well, not certain how far it got.


Perhaps you can try dev mailing list to see if anyone has any experience 
or plans on supporting it. Alternatively, you can place a feature 
request, but if demand is low, it will have the least priority. What 
generally happens as well - is vendor writting support for CloudStack 
and donating it to Apache Software Foundation. This is usually driven by 
demand from the customers.


What many other companies do, is use their own dashboard with cloudstack 
engine behind the scenes, this way they can also tie in custom solutions 
including something like Kemp LB or any other technology.


Last but not least you can contract someone to write a support for it, 
you can choose to donate it or not - but it would mean you have to 
continuously maintain the code base on your own, if you were to upgrade 
to the next version.


Regards
ilya

PS: most of the folks who are now using CloudStack initially tried 
OpenStack and for obvious reasons you've mentioned - made the right choice.



On 6/19/14, 11:40 AM, Ian Marshall wrote:

Hi

Can I use Kemp LM2600 for load balancing VMs in cloudstack.

I was looking to install Openstack but struggling so want to try cloudstack
but have these LBs as I require SSL offloading.

Regards
Ian





Re: Additional nics fails to get ip for ubuntu guest vm

2014-06-19 Thread Shanker Balan
Comments inline.

On 19-Jun-2014, at 7:55 pm, Saurav Lahiri saurav.lah...@sungardas.com wrote:

 Hello,
 We are running an ubuntu 13.10 vm. In addition to the default network,
 another nic has been added to the vm.  Now when the vm boots up, the new
 interface eth1 is seen inside the guest but does not have an ip address.
 Executing a dhclient eth1 does get the correct IP.

 A look at  the /etc/network/interaces file  shows an entry corresponding
 to the eth0.  There is no entry for eth1. On adding an entry for eth1, the
 problems appears to get fixed.

 Is this manual step to add the additional nics in the interfaces file
 missing in the documentation or is this a bug ?

 ===
 auto eth0
 iface eth0 inet dhcp
 ==


This is change that needs to be done by the creator of the template. CloudStack
does not make any changes internal to the template as it does not (should not)
have access to it.


--
@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  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://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.


Re: Cloud stack install issues

2014-06-19 Thread Harikrishna Patnala
Hi,

Did you start the services cloud-management, tomcat, mysql ? 
Check whether tomcat server is running or not, any permission issues.! check 
this for any errors /var/log/cloudstack/management/catalina.out
I suggest you to use cloudstack 4.1.0 and above for better 
documentation/installation.
 
-Harikrishna

On 18-Jun-2014, at 5:35 pm, Bardhyl Brahimi b.brah...@intes.co wrote:

 
 Hi Team cloudstack.
 
 I’ve recently installed cloudstack on CentOS 6.4. I’ve completed all the 
 steps as explained at the “Apache cloudstack 4.0.2 quick install guide. But 
 when I try to access cloud via http://lanip:8080/client, for the first time 
 I get a white page no display.
 
 Can you please help me out on this because so far I can’t figure out what 
 the issue might be. Thanks in advance!
 
 



Re: Kemp load balancers

2014-06-19 Thread Ian Marshall
Hi Ilya

I might of not been specific enough in my original email, I want to use the
Kemps as load balancers/ssl termination for the VMs and not for the
Cloudstack system. Yes, it would be great to have them integrated into
Cloudstack like the Netscallers and F5 but I don't have the time and
resource to consider using my java development team to write a plugin at
this stage.

My plan based on my Openstack scenario, is the Kemps which are clustered
have VIPs set tot he front end web servers which are running on VMs inside
the cloud.

My setup is 2 management servers which would be running mariadb cluster and
two KVM hosts and a Dell EQLX SAN for running the VMs [to replicate the
'running VMs from SAN - block storage' in Openstack.

Is this workable and is there any potential issues with this setup?

regards
Ian

Regards
Ian


On 20 June 2014 04:10, ilya musayev ilya.mailing.li...@gmail.com wrote:

 Ian

 Welcome to CloudStack user mailing list,

 To be honest, I've not heard of Kemp, but did research just now and it
 sounds interesting.

 As it stands, there isn't anything that i'm aware of that will work with
 Kemp and CloudStack natively. We have typical LB vendors like Citrix
 NetScaler, BigIP F5, Brocades and plenty of other providers, but nothing
 that would do load balancing with Kemp yet. There were talks of using nginx
 as LB as well, not certain how far it got.

 Perhaps you can try dev mailing list to see if anyone has any experience
 or plans on supporting it. Alternatively, you can place a feature request,
 but if demand is low, it will have the least priority. What generally
 happens as well - is vendor writting support for CloudStack and donating it
 to Apache Software Foundation. This is usually driven by demand from the
 customers.

 What many other companies do, is use their own dashboard with cloudstack
 engine behind the scenes, this way they can also tie in custom solutions
 including something like Kemp LB or any other technology.

 Last but not least you can contract someone to write a support for it, you
 can choose to donate it or not - but it would mean you have to continuously
 maintain the code base on your own, if you were to upgrade to the next
 version.

 Regards
 ilya

 PS: most of the folks who are now using CloudStack initially tried
 OpenStack and for obvious reasons you've mentioned - made the right choice.


 On 6/19/14, 11:40 AM, Ian Marshall wrote:

 Hi

 Can I use Kemp LM2600 for load balancing VMs in cloudstack.

 I was looking to install Openstack but struggling so want to try
 cloudstack
 but have these LBs as I require SSL offloading.

 Regards
 Ian





Commercial Support Options

2014-06-19 Thread Ian Marshall
Hi

Does anyone know of any commercial support options, ideally Uk or European
based.

As I am considering swapping from Openstack to Cloudstack [Yes, the pain of
implementing Openstack is just too much] as I am implementing a private
cloud, one of my requirements would be to have option for commercial
support to help my team until they are experienced and confident to
troubleshoot.

It's a small setup -

Site A : 2 x controller nodes, 2 x compute nodes, 1 x Dell EQLX SAN.
Site B: 1 x controller node, 1 x compute node, 1 x Dell EQLX SAN.

regards
Ian


Re: Commercial Support Options

2014-06-19 Thread Uwe Kastens
Hi,

blueshape will do and they are pretty gold. Citrix will offer support as
well.

Kind Regards

Kiste
Am 20.06.2014 07:14 schrieb Ian Marshall i...@itlhosting.co.uk:

 Hi

 Does anyone know of any commercial support options, ideally Uk or European
 based.

 As I am considering swapping from Openstack to Cloudstack [Yes, the pain of
 implementing Openstack is just too much] as I am implementing a private
 cloud, one of my requirements would be to have option for commercial
 support to help my team until they are experienced and confident to
 troubleshoot.

 It's a small setup -

 Site A : 2 x controller nodes, 2 x compute nodes, 1 x Dell EQLX SAN.
 Site B: 1 x controller node, 1 x compute node, 1 x Dell EQLX SAN.

 regards
 Ian



Re: Commercial Support Options

2014-06-19 Thread Juan Gomez Aranzazu
Hi,

I will also highly recommend Shapeblue, they are great.

De: Uwe Kastens kiste...@googlemail.commailto:kiste...@googlemail.com
Responder a: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Fecha: viernes, 20 de junio de 2014 12:22 a.m.
Para: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org 
users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Asunto: Re: Commercial Support Options

Hi,

blueshape will do and they are pretty gold. Citrix will offer support as
well.

Kind Regards

Kiste
Am 20.06.2014 07:14 schrieb Ian Marshall 
i...@itlhosting.co.ukmailto:i...@itlhosting.co.uk:

Hi

Does anyone know of any commercial support options, ideally Uk or European
based.

As I am considering swapping from Openstack to Cloudstack [Yes, the pain of
implementing Openstack is just too much] as I am implementing a private
cloud, one of my requirements would be to have option for commercial
support to help my team until they are experienced and confident to
troubleshoot.

It's a small setup -

Site A : 2 x controller nodes, 2 x compute nodes, 1 x Dell EQLX SAN.
Site B: 1 x controller node, 1 x compute node, 1 x Dell EQLX SAN.

regards
Ian




Re: Kemp load balancers

2014-06-19 Thread Shanker Balan
Comments inline.

On 20-Jun-2014, at 10:29 am, Ian Marshall i...@itlhosting.co.uk wrote:

 Hi Ilya

 I might of not been specific enough in my original email, I want to use the
 Kemps as load balancers/ssl termination for the VMs and not for the
 Cloudstack system. Yes, it would be great to have them integrated into
 Cloudstack like the Netscallers and F5 but I don't have the time and
 resource to consider using my java development team to write a plugin at
 this stage.

 My plan based on my Openstack scenario, is the Kemps which are clustered
 have VIPs set tot he front end web servers which are running on VMs inside
 the cloud.

Since the vendor or the ACS community has not integrated ACS with Kemps, you
can workaround the situation as below:

1) Spin up your VMs
2) Note down the IPs of the VMs
3) Run the Kemps in the same network or atleast ensure that the Kemp can
route traffic to the VM subnet
4) Configure your VIP on the Kemp and add the VMs are reals
5) Modify VM’s ACLs to allow inbound traffic from the VIP


With the Kemp integration into cloudstack, all of this should be doable
from the ACS UI itself but that will have to wait.




 My setup is 2 management servers which would be running mariadb cluster and
 two KVM hosts and a Dell EQLX SAN for running the VMs [to replicate the
 'running VMs from SAN - block storage' in Openstack.

 Is this workable and is there any potential issues with this setup?

Looks straightforward enough to get started on ACS.

Regards.
@shankerbalan


--
@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  Buildhttp://shapeblue.com/iaas-cloud-design-and-build//
CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/
CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/
CloudStack Bootcamp Training Courseshttp://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.


RE: Realhostip.com Migration

2014-06-19 Thread Suresh Sadhu
Yes its enabled by default in 4.1 and support for http method is newly 
introduced in 4.3 .you can disable it after upgrade by clearing the values of 2 
global config parameters.(make it empty)
secstorage.ssl.cert.domain
consoleproxy.url.domain

also change below setting from true to false

secstorage.encrypt.copy=false



-sadhu

-Original Message-
From: Carlos Reátegui [mailto:create...@gmail.com] 
Sent: 19 June 2014 23:04
To: users@cloudstack.apache.org
Subject: Re: Realhostip.com Migration

Since this is an internal deployment I don't really care about SSL at this time.

Does 4.1 enable SSL by default?  If so how do I disable it prior to upgrading?


On Jun 18, 2014, at 9:18 PM, Suresh Sadhu suresh.sa...@citrix.com wrote:

 If  you are upgrading from 4.2 to 4.4(before upgrade  you uploaded 
 certificates successfully) still  you need to re-upload the your  SSL  
 certificates  after upgrade for the new fixes to take effect. 
 
 In 4.2 ssl is enabled(by default) and after upgrade CS keeps the same  
 configuration(i.e ssl enabled by default) but for  fresh 4.3/4.4 
 installations SSL is disabled by default.
 
 
 Regards
 Sadhu
 
 
 
 
 
 
 
 
 
 -Original Message-
 From: Amogh Vasekar [mailto:amogh.vase...@citrix.com]
 Sent: 19 June 2014 00:21
 To: users@cloudstack.apache.org
 Subject: Re: Realhostip.com Migration
 
 Hi,
 
 If you wish to enable SSL for console access and SSVM, yes :-) For fresh 
 installs, SSL would be disabled by default.
 
 Thanks,
 Amogh
 
 On 6/18/14 11:48 AM, Carlos Reátegui create...@gmail.com wrote:
 
 So if I upgrade to 4.4 once it is available do I still need to follow 
 the steps for realhostip migration?
 
 On Jun 18, 2014, at 11:07 AM, Amogh Vasekar 
 amogh.vase...@citrix.com
 wrote:
 
 Hi,
 
 Please refer to
 http://comments.gmane.org/gmane.comp.apache.cloudstack.user/12350 
 for the  bugs that may exist in versions prior to CloudStack 4.4
 
 Thanks,
 Amogh
 
 On 6/17/14 9:33 PM, Shweta Agarwal shweta.agar...@citrix.com wrote:
 
 Its supported for 4.2 , 4.3 and 4.4 as well.
 
 
 Shweta
 
 -Original Message-
 From: Tim Mackey [mailto:tmac...@gmail.com]
 Sent: Tuesday, June 17, 2014 10:50 PM
 To: users@cloudstack.apache.org
 Subject: Re: Realhostip.com Migration
 
 Rich,
 
 I followed the Citrix KB article referenced here (
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Realhost+IP+
 ch
 ang
 es
 )
 with 4.2 and it worked fine for me using SSL.  Just remember to get 
 a  wildcard SSL cert, and be careful pasting it into the CloudStack UI.
 
 -tim
 
 
 On Tue, Jun 17, 2014 at 12:18 PM, Richard Chatterton  
 richard.chatter...@contegix.com wrote:
 
 Folks,
 
 I was just reading through my backlog of messages and I see that 
 the Realhostip.com service has been extended to September 30th. Hurray!
 
 I also see the following in the message where that was announced:
 
 While testing Realhostip fixes additional product issues were 
 found
 which are tracked in following three defects CLOUDSTACK-6499 [1],
 CLOUDSTACK-6599 [2], CLOUDSTACK-6824 [3] . These defects are fixed 
 in
 4.4 and master branch. Please verify in your setups. If you are on 
 older version of CloudStack do plan on upgrading to 4.4 .
 Additional details on fixes are available in JIRA.  Updated wiki 
 with steps will be published shortly.
 
 Is it strictly necessary to upgrade CloudStack to 4.4 before 
 migrating away from realhostip.com? Has anyone successfully 
 migrated away from it on an older version of CloudStack?
 
 Best,
 Rich Chatterton
 
 
 
 



RE: Cloudstack/Xenserver/GPU support

2014-06-19 Thread Sanjay Tripathi
Hi Vijay,

If you want to use the GPU/vGPU functionality in CloudStack then you need to 
install XS62ESP1 hotfix on top of XenServer 6.2.0. Once you are done with 
patch installation, reconnect the host or restart the management server so that 
CloudStack can detect the GPU cards present in XS host.

Also, as of now, CloudStack UI only supports NVIDIA k1 and NVIDIA k2 cards, so 
if you are using any other card apart from these two, than you need to make API 
call the API call createServiceOffering as mentioned in Web services APIs 
section here: 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs

Please let me know if you any more queries.

--Sanjay

-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 shanker.ba...@shapeblue.com
  wrote:
  Hi Vijay,
 
  Comments inline:
 
  On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss vramad...@nvidia.com
 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.comhttp://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 
  Buildhttp://shapeblue.com/iaas-cloud-design-and-
  build//
  CSForge – rapid IaaS deployment
  frameworkhttp://shapeblue.com/csforge/
  CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/
  CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack-
  infrastructure-support/
  CloudStack Bootcamp Training
  Courseshttp://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 

Re: Commercial Support Options

2014-06-19 Thread ilya musayev
+1 on ShapeBlue, they are UK based as well and participate in community 
regularly, another option is Citrix.


On 6/19/14, 10:13 PM, Ian Marshall wrote:

Hi

Does anyone know of any commercial support options, ideally Uk or European
based.

As I am considering swapping from Openstack to Cloudstack [Yes, the pain of
implementing Openstack is just too much] as I am implementing a private
cloud, one of my requirements would be to have option for commercial
support to help my team until they are experienced and confident to
troubleshoot.

It's a small setup -

Site A : 2 x controller nodes, 2 x compute nodes, 1 x Dell EQLX SAN.
Site B: 1 x controller node, 1 x compute node, 1 x Dell EQLX SAN.

regards
Ian