RE: 关于cloudstack4.4虚拟路由器更新的问题

2014-07-31 Thread YUAN, GUI -HBIS
通过yum安装,一切正常。
可能因为jdk版本不一样。

过程:
最小化安装CentOS6.5_x64
然后通过yum安装的CloudStack4.4

root@localhost yum.repos.d]# yum info java-1.7.0-openjdk
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.01link.hk
 * extras: centos.01link.hk
 * updates: centos.01link.hk
Installed Packages
Name: java-1.7.0-openjdk
Arch: x86_64
Epoch   : 1
Version : 1.7.0.65
Release : 2.5.1.2.el6_5
Size: 91 M
Repo: installed
From repo   : updates
Summary : OpenJDK Runtime Environment
URL : http://openjdk.java.net/
License : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions
: and LGPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public Domain and
: W3C
Description : The OpenJDK runtime environment.

[root@localhost yum.repos.d]# yum info cloudstack-management
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.01link.hk
 * extras: centos.01link.hk
 * updates: centos.01link.hk
Installed Packages
Name: cloudstack-management
Arch: x86_64
Version : 4.4.0
Release : NONOSS_3.el6
Size: 96 M
Repo: installed
From repo   : cloudstack
Summary : CloudStack management server UI
License : ASL 2.0
Description : The CloudStack management server is the central point of
: coordination, management, and intelligence in CloudStack.

[root@localhost yum.repos.d]# service cloudstack-management status
cloudstack-management (pid  1391) 正在?行...



-Original Message-
From: aix.niuy [mailto:aix.n...@gmail.com] 
Sent: Wednesday, July 30, 2014 12:04 PM
To: users-cn
Subject: 关于cloudstack4.4虚拟路由器更新的问题

请问有人清楚官网Cloudstack4.4的文档什么时候更新吗?目前虚拟路由器按照官方最新的模板安装后提示
Unable to start instance due to Unable to send command. Upgrade in progress. 
Please contact administrator.
想对照文档看下安装是否有遗漏
4.4版本的模板路径如下:
http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-kvm.qcow2.bz2
目前的实验环境
Centos64 java版本
 yum info java-1.7.0-openjdk
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile Installed Packages
Name: java-1.7.0-openjdk
Arch: x86_64
Epoch   : 1
Version : 1.7.0.9
Release : 2.3.4.1.el6_3
Size: 89 M
Repo: installed
From repo   : Centrin-CentOS-6.4-x86_64
Summary : OpenJDK Runtime Environment
URL : http://openjdk.java.net/
License : ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions 
and LGPL+
: and LGPLv2 and MPLv1.0 and MPLv1.1 and Public Domain and W3C 
Description : The OpenJDK runtime environment.
另外在cenots65下用系统自带的java版本安装报错,centos65的版本为  java-1.7.0-openjdk 1.7.0.45


2014-07-30 



aix.niuy 

Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and 
may be protected
by law against any unauthorized use.  If you have received this e-mail by 
mistake or have
reason to believe that you are not the intended recipient, please notify the 
sender by reply
e-mail as soon as possible and delete it from your computer system immediately 
thereafter.
If you are not the intended recipient, you must not copy this e-mail or 
attachment or disclose
the contents to any other person.  While we have made every effort to keep our 
network virus free,
we take no responsibility for any computer virus which might be transferred by 
way of this e-mail.


添加Host失败,Xenserver6.0.2,CloudStack4.2.0

2014-07-31 Thread ZS Che
请教各位大牛一个比较基本的问题。
我在高级资源域中,添加Xenserver类型的Host时失败,management-server.log中的信息如下:

#
2014-07-31 19:34:13,492 INFO  [cloud.resource.ResourceManagerImpl]
(catalina-exec-10:null) Trying to add a new host at http://192.168.1.5 in
data center 1
2014-07-31 19:34:13,496 DEBUG [xen.resource.XenServerConnectionPool]
(catalina-exec-10:null) Failed to slave local login to 192.168.1.5 due to
org.apache.xmlrpc.XmlRpcException: Failed to read server's response:
Connection refused
2014-07-31 19:34:13,497 DEBUG [xen.resource.XenServerConnectionPool]
(catalina-exec-10:null) localLogout has problem Failed to read server's
response: Connection refused
2014-07-31 19:34:13,497 DEBUG [xen.discoverer.XcpServerDiscoverer]
(catalina-exec-10:null) other exceptions: java.lang.RuntimeException: can
not get master ip
java.lang.RuntimeException: can not get master ip
at
com.cloud.hypervisor.xen.resource.XenServerConnectionPool.getMasterIp(XenServerConnectionPool.java:347)
at
com.cloud.hypervisor.xen.discoverer.XcpServerDiscoverer.find(XcpServerDiscoverer.java:183)
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:741)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590)
at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
2014-07-31 19:34:13,497 WARN  [cloud.resource.ResourceManagerImpl]
(catalina-exec-10:null) Unable to find the server resources at
http://192.168.1.5
2014-07-31 19:34:13,497 INFO  [utils.exception.CSExceptionErrorCode]
(catalina-exec-10:null) Could not find exception:
com.cloud.exception.DiscoveryException in error code list for exceptions
2014-07-31 19:34:13,498 WARN  [admin.host.AddHostCmd]
(catalina-exec-10:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:798)
at
com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:590)
at
org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:514)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:372)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:305)
at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at

Re: basic zone setup

2014-07-31 Thread Erik Weber
Yes, if you don't want to reinstall/re-seed the system vm template, you
should also download the new ones and do the mysql queries so that it is
used for any future system vm deployments.


Erik


On Thu, Jul 31, 2014 at 3:17 AM, Ian Young iyo...@ratespecial.com wrote:

 Yes, that makes the ssvm-check pass all the tests.  Thanks.  Should I
 repeat that upgrade with the console proxy?


 On Wed, Jul 30, 2014 at 6:09 PM, Carlos Reategui car...@reategui.com
 wrote:

  There have been some messages going around about the template needing a
 fix
  for this.
 
  Per this link (https://gist.github.com/terbolous/102ae8edd1cda192561c)
  from
  one of the messages you can try the following on the ssvm itself:
 
  apt-get update  apt-get -y install openjdk-7-jre-headless
  openjdk-7-jre-lib  apt-get -y remove openjdk-6-jre-headless
 
  then you may also need to:
  service cloud stop  sleep 3  service cloud start
 
  try the ssvm-check again after that.
 
  My understanding is that this is not a permanent fix, but should get you
  going for now.
 
 
  On Wed, Jul 30, 2014 at 6:00 PM, Ian Young iyo...@ratespecial.com
 wrote:
 
   I found this in the cloud.out log in the SSVM:
  
   Exception in thread main java.lang.UnsupportedClassVersionError:
   com/cloud/agent/AgentShell : Unsupported major.minor version 51.0
   at java.lang.ClassLoader.defineClass1(Native Method)
   at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
   at
  java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
   at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
   at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
   Could not find the main class: com.cloud.agent.AgentShell. Program will
   exit.
  
   It seems to have to do with a Java version mismatch.  I'm using JDK 7
 on
   both the management server and hypervisor but the SSVM is using version
  6.
Is this the most current system VM template?
  
  
  
 
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
  
  
   On Wed, Jul 30, 2014 at 5:25 PM, Ian Young iyo...@ratespecial.com
  wrote:
  
root@s-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh

First DNS server is  192.168.100.2
PING 192.168.100.2 (192.168.100.2): 48 data bytes
56 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=1.227 ms
56 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=0.882 ms
--- 192.168.100.2 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.882/1.054/1.227/0.173 ms
Good: Can ping DNS server

Good: DNS resolves download.cloud.com

ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is  169.254.1.0
PING 169.254.1.0 (169.254.1.0): 48 data bytes
56 bytes from 169.254.1.0: icmp_seq=0 ttl=64 time=0.067 ms
56 bytes from 169.254.1.0: icmp_seq=1 ttl=64 time=0.039 ms
--- 169.254.1.0 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.039/0.053/0.067/0.000 ms
Good: Can ping nfs server

Management server is 192.168.101.3. Checking connectivity.
Good: Can connect to management server port 8250

ERROR: Java process not running.  Try restarting the SSVM.
   
It says the NFS server is 169.254.1.0 which is the SSVM's link local
address.  How did it decide that?  During the zone configuration I
specified virthost1.lax.ratespecial.com as the NFS server and that
resolves to 192.168.101.4.  Also, in what path does it expect the NFS
volume to be mounted?
   
   
On Wed, Jul 30, 2014 at 4:53 PM, Carlos Reategui 
 car...@reategui.com
wrote:
   
If the template is not ready then your ssvm may be having problems
downloading it.  Have you followed the info here:
   
   
  
 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
to make sure that the ssvm is actually working properly?
   
   
On Wed, Jul 30, 2014 at 4:39 PM, Ian Young iyo...@ratespecial.com
wrote:
   
 I've reinstalled CloudStack 4.4 again, configuring the network as
follows:

 management server:
 p4p1 http://pastebin.com/skMXxVtk

 hypervisor/storage server:
 eth0 

OpenSource Storage Options

2014-07-31 Thread Mike

Hello,

We're new to CloudStack and are looking to find out what others use for 
their Open Source storage needs, we've planned on using FreeNAS but 
looking to find out what others use.


Thanks!



RE: OpenSource Storage Options

2014-07-31 Thread Matthew Midgett
i had a hp msa1000 fiber san and thats what im using for primary, seconday is 
just nfs on centos. Freenas would help with the nfs mounts. You could do a nfs 
primary so you could use zfs for snapshots and replication. Do not turn on 
dedup and if its got a decient processor use lz4 compression on your pools. 

div Original message /divdivFrom: Mike 
m...@virtuaclub.com /divdivDate:07/31/2014  4:56 AM  (GMT-05:00) 
/divdivTo: users@cloudstack.apache.org /divdivSubject: OpenSource 
Storage Options /divdiv
/divHello,

We're new to CloudStack and are looking to find out what others use for 
their Open Source storage needs, we've planned on using FreeNAS but 
looking to find out what others use.

Thanks!



KVM and advanced network. Routing and IP assignment details.

2014-07-31 Thread Vadim Kimlaychuk
Hello,

Have read nice article about CS and advanced network set-up here: 
http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/,
 but have problem with routing.

Let me say I have only 1 NIC with all the trunks 100, 200, 300 
configured as in KVM configuration guide 
(http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html
 ).

· cloudbr (no tag) top-level bridge for trunks mgmt0, cloudbr0, 
cloudbr1.

· mgmt0 (VLAN 100) bridge has 172.17.1.2 adress and is responsible for 
hosts network 172.17.1.0/24.

· cloudbr0 (VLAN 200) bridge does not have any IP address and is 
responsible for public network (not used if „security group“ is enabled)

· cloudbr1 (VLAN 300) bridge does not have any IP address and is 
responsible for guest network 192.168.1.0/24

· cloud0 (no tag) – system bridge that is created by cloudstack-agent 
during host registration. Has IP 169.254.0.1 and manages local-link network 
169.254.0.0/16. Acts as gateway for 169.254.0.0 network

After setting up cloudstack every system VM gets basically 3 IPs (no problem 
with this):

1.link local IP, for example: 169.254.0.10

2.private IP, for example: 172.17.1.105

3.public IP, for example: 192.168.1.5 (gw 192.168.1.1 is defined during CS 
installation, but physically does not present anywhere)

There is no problem to communicate within networks 1 and 2, because first one 
configures cloudstack itself and host network is configured by switch KVM host 
is connected to.

The only question so far: where to configure routing for 3rd network (if it is 
possible)? I got error „no route to host“ from SSVM, because default route is 
trough 192.168.1.0 network. May be NAT is needed? Can I define private and 
public networks from different sub-nets ? Should I configure cloudbr1 IP 
manually ? Or there is something else?

Thank you,

Vadim



Re: VM management Shut down alone

2014-07-31 Thread clement mutz
Hi,

Sorry I didn't see your reply.

I find my error. I launched management VM in same hypervisor that i'll use as a 
compute node.

http://discussions.citrix.com/topic/350142-management-server-shut-down-alone/

Thanks you very much for your reply.

Clément.

- Mail original -
De: Anoop Mohan linux.an...@gmail.com
À: users@cloudstack.apache.org
Envoyé: Mercredi 9 Avril 2014 19:16:38
Objet: Re: VM management Shut down alone

grep -i -E 'exception|unable|fail|invalid|leak|warn|error'
/var/log/cloudstack/management/management-server.log

you will find the error in Cloud-management log


On Tue, Apr 8, 2014 at 3:28 PM, clement mutz c.m...@servitics.fr wrote:



 Hi everybody,



 I installed a virtual machine centos with this tutorial
 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html

 I have centos 6.5, xenserver 6.2



 Installation finished with success.

 I have a web access http://IP:8080/client I'm ready for basic
 configuration. But 3 or 5 minute the VM shut down alone clearly.



 What's wrong with Virtual Machine. I must look where (log) ?



 Can you help me ?



 Thanks for your help.



 Clément.



 Responsable SI et RD




-- 
Thanks  Regards,
Anoop Mohan


Re: KVM and advanced network. Routing and IP assignment details.

2014-07-31 Thread Erik Weber
Generally you have to provide the public router outside of cloudstack, ie.
cloudstack does not provide that feature to be best of my knowledge.

It doesn't necessarily have to be a hardware appliance, a simple linux box
with iptables nat would suffice for testing / internal use.



Erik


On Thu, Jul 31, 2014 at 3:00 PM, Vadim Kimlaychuk vadim.kimlayc...@elion.ee
 wrote:

 Hello,

 Have read nice article about CS and advanced network set-up
 here:
 http://shapeblue.com/cloudstack/understanding-cloudstacks-physical-networking-architecture/,
 but have problem with routing.

 Let me say I have only 1 NIC with all the trunks 100, 200, 300
 configured as in KVM configuration guide (
 http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/hypervisor/kvm.html
 ).

 · cloudbr (no tag) top-level bridge for trunks mgmt0, cloudbr0,
 cloudbr1.

 · mgmt0 (VLAN 100) bridge has 172.17.1.2 adress and is responsible
 for hosts network 172.17.1.0/24.

 · cloudbr0 (VLAN 200) bridge does not have any IP address and is
 responsible for public network (not used if „security group“ is enabled)

 · cloudbr1 (VLAN 300) bridge does not have any IP address and is
 responsible for guest network 192.168.1.0/24

 · cloud0 (no tag) – system bridge that is created by
 cloudstack-agent during host registration. Has IP 169.254.0.1 and manages
 local-link network 169.254.0.0/16. Acts as gateway for 169.254.0.0 network

 After setting up cloudstack every system VM gets basically 3 IPs (no
 problem with this):

 1.link local IP, for example: 169.254.0.10

 2.private IP, for example: 172.17.1.105

 3.public IP, for example: 192.168.1.5 (gw 192.168.1.1 is defined
 during CS installation, but physically does not present anywhere)

 There is no problem to communicate within networks 1 and 2, because first
 one configures cloudstack itself and host network is configured by switch
 KVM host is connected to.

 The only question so far: where to configure routing for 3rd network (if
 it is possible)? I got error „no route to host“ from SSVM, because default
 route is trough 192.168.1.0 network. May be NAT is needed? Can I define
 private and public networks from different sub-nets ? Should I configure
 cloudbr1 IP manually ? Or there is something else?

 Thank you,

 Vadim




not access System vm without security group

2014-07-31 Thread clement mutz
Hi community,

I use cloudstack 4.3 on centos with xenserver 6.2.

I created an advanced zone without security group. I have 3 nics :
- nics 1 for guest network (tagged Vlan 40) and administration network.
- nics 2 for public network
- nics 3 for storage network.
 
I have a primary storage iscsi and my secondary storage locate on NFS server.
I followed installation instruction (vhd-utils, cloud-install-sys-tmplt ...)
No problem for creating my zone but I don't access (ping,ssh ...) at my system 
vms (network verified).
I can add Instance ... But not access at my VMs and feature access console.


When I created an advanced zone WITH security group. I don't have problems with 
System'vm. I can ping. I have access with view console when I create different 
instances.


The only difference is nic public network. When I created an advanced zone WITH 
security group I can't use nic public network.. Why ?
 
Where I can look for to help ?
 
Thanks for your help !

Clément.


Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
I'm having the same issue as well, getting ERROR Java process not running,
and SSVM is not mounting NFS storage, causing all templates to fail.

I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
systemvmtemplate-4.4.0-xen.vhd.bz2
http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
found
on same URL without luck, which SSVM template did you guys use?

I'm using CS 4.4 with xenserver 6.2

Thank you


On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com wrote:

 Could you post the relevant log excerpts to pastebin or similar?


 Erik


 On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett cst...@trickhosting.biz
 
 wrote:

  It happens everytime i new ssvm is created or the management service is
  restarted
 
  div Original message /divdivFrom: Erik Weber 
  terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM  (GMT-05:00)
  /divdivTo: users@cloudstack.apache.org /divdivSubject: Re: SSVM
  Problem - ERROR: Java process not running. Try restarting the SSVM.
  /divdiv
  /divHaven't really encountered that one.. could you try to destroy the
  ssvm and
  see if it happens with the new as well?
 
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
 cst...@trickhosting.biz
  wrote:
 
   What about the agent not connecting till I remount the seconday
 strorage
   from the ssvm cli?
  
  
   -Original Message-
   From: Erik Weber terbol...@gmail.com
   Reply-to: users@cloudstack.apache.org
   To: users@cloudstack.apache.org
   Subject: Re: SSVM Problem - ERROR: Java process not running. Try
   restarting the SSVM.
   Date: Wed, 30 Jul 2014 17:39:19 +0200
  
  
   Yes, there's an issue with those templates with regards to VR, it has
 the
   wrong version information.
  
   Work is being done to fix it, hopefully in a day or so.
  
   Disabling the router version check is a workaround as you noticed.
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
  cst...@trickhosting.biz
   wrote:
  
Thanks eric problem 1 down and another one pops up.
   
SSVM is starting and from its terminal the ssvm check passes  now.
  The
only problem is that the agent doesn't show up. What I have done to
 fix
was to unmount secondary storage even though it was connected and I
could see the files. Remount it again from the command line and then
  the
agent would show up. So i was like awesome and tried to start a new
instance. It would start because it said that my VR needed a update.
Well the VR is using the new template that we just installed and
remember from long ago that you could set a global for the
router.version.check to false to get around this. I was just able to
spin up the default centos template. Now I need a fix for the
 mounting
of secondary storage.
   
Once again thanks for the help and looking forward to your answer.
   
   
   
   
'-Original Message-
From: Erik Weber terbol...@gmail.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running. Try
restarting the SSVM.
Date: Wed, 30 Jul 2014 11:05:30 +0200
   
   
Sorry, it is a type in that query. replace vm_template with
   vm_template_id.
Also, User should only be with capital U. I've updated the gist.
   
ie:
   
update vm_instance set vm_template_id = 206 where type  'User' and
hypervisor_type = 'XenServer';
   
   
Erik
   
   
On Wed, Jul 30, 2014 at 3:46 AM, Matthew Midgett 
   cst...@trickhosting.biz
wrote:
   
 While following the instructions I am getting an error on this step
 while upgrading the DB tables

 update vm_instance set vm_template = 206 where type  'USER' and
 hypervisor_type = 'XenServer';


 -Original Message-
 From: Erik Weber terbol...@gmail.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Wed, 30 Jul 2014 01:47:34 +0200


 try this procedure:
https://gist.github.com/terbolous/102ae8edd1cda192561c


 On Wed, Jul 30, 2014 at 1:36 AM, Matthew Midgett 
cst...@trickhosting.biz
 wrote:

  Cloudstack 4.4 on Xen 6.2 using this system template
 
 

   
  
 
 http://download.cloud.com/templates/4.3/systemvm64template-2014-06-23-master-xen.vhd.bz2
  I have tried others but I still ended up with the same error.
  I also tried with this system template
 
 

   
  
 
 http://jenkins.buildacloud.org/job/build-systemvm64-master/lastSuccessfulBuild/artifact/tools/appliance/dist/systemvm64template-unknown-xen.vhd.bz2
 
  Here is the ouput of my terminal on the ssvm. I have also added
 the
java
  logs. Can someone point me in the right direction
  

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
Dean,
Is this an upgraded 4.4 or a fresh installation of 4.4 ?


*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali dean.kam...@gmail.com wrote:

 I'm having the same issue as well, getting ERROR Java process not running,
 and SSVM is not mounting NFS storage, causing all templates to fail.

 I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
 http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
 systemvmtemplate-4.4.0-xen.vhd.bz2
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
 
 found
 on same URL without luck, which SSVM template did you guys use?

 I'm using CS 4.4 with xenserver 6.2

 Thank you


 On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com wrote:

  Could you post the relevant log excerpts to pastebin or similar?
 
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
 cst...@trickhosting.biz
  
  wrote:
 
   It happens everytime i new ssvm is created or the management service is
   restarted
  
   div Original message /divdivFrom: Erik Weber 
   terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM  (GMT-05:00)
   /divdivTo: users@cloudstack.apache.org /divdivSubject: Re:
 SSVM
   Problem - ERROR: Java process not running. Try restarting the SSVM.
   /divdiv
   /divHaven't really encountered that one.. could you try to destroy
 the
   ssvm and
   see if it happens with the new as well?
  
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
  cst...@trickhosting.biz
   wrote:
  
What about the agent not connecting till I remount the seconday
  strorage
from the ssvm cli?
   
   
-Original Message-
From: Erik Weber terbol...@gmail.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running. Try
restarting the SSVM.
Date: Wed, 30 Jul 2014 17:39:19 +0200
   
   
Yes, there's an issue with those templates with regards to VR, it has
  the
wrong version information.
   
Work is being done to fix it, hopefully in a day or so.
   
Disabling the router version check is a workaround as you noticed.
   
Erik
   
   
On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
   cst...@trickhosting.biz
wrote:
   
 Thanks eric problem 1 down and another one pops up.

 SSVM is starting and from its terminal the ssvm check passes  now.
   The
 only problem is that the agent doesn't show up. What I have done to
  fix
 was to unmount secondary storage even though it was connected and I
 could see the files. Remount it again from the command line and
 then
   the
 agent would show up. So i was like awesome and tried to start a new
 instance. It would start because it said that my VR needed a
 update.
 Well the VR is using the new template that we just installed and
 remember from long ago that you could set a global for the
 router.version.check to false to get around this. I was just able
 to
 spin up the default centos template. Now I need a fix for the
  mounting
 of secondary storage.

 Once again thanks for the help and looking forward to your answer.




 '-Original Message-
 From: Erik Weber terbol...@gmail.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Wed, 30 Jul 2014 11:05:30 +0200


 Sorry, it is a type in that query. replace vm_template with
vm_template_id.
 Also, User should only be with capital U. I've updated the gist.

 ie:

 update vm_instance set vm_template_id = 206 where type  'User'
 and
 hypervisor_type = 'XenServer';


 Erik


 On Wed, Jul 30, 2014 at 3:46 AM, Matthew Midgett 
cst...@trickhosting.biz
 wrote:

  While following the instructions I am getting an error on this
 step
  while upgrading the DB tables
 
  update vm_instance set vm_template = 206 where type  'USER' and
  hypervisor_type = 'XenServer';
 
 
  -Original Message-
  From: Erik Weber terbol...@gmail.com
  Reply-to: users@cloudstack.apache.org
  To: users@cloudstack.apache.org
  Subject: Re: SSVM Problem - ERROR: Java process not running. Try
  restarting the SSVM.
  Date: Wed, 30 Jul 2014 01:47:34 +0200
 
 
  try this procedure:
 https://gist.github.com/terbolous/102ae8edd1cda192561c
 
 
  On Wed, Jul 30, 2014 at 1:36 AM, Matthew Midgett 
 cst...@trickhosting.biz
  wrote:
 
   Cloudstack 4.4 on Xen 6.2 using this system template
  
   

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
​Well I have upgrade from 4.3 to 4.4 and run into same issue, I ended up
doing fresh install and getting the same issue, there is definitely an
issue with SSVM.


On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion pd...@cloudops.com
wrote:

 Dean,
 Is this an upgraded 4.4 or a fresh installation of 4.4 ?


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali dean.kam...@gmail.com
 wrote:

  I'm having the same issue as well, getting ERROR Java process not
 running,
  and SSVM is not mounting NFS storage, causing all templates to fail.
 
  I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
  http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
  systemvmtemplate-4.4.0-xen.vhd.bz2
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
  
  found
  on same URL without luck, which SSVM template did you guys use?
 
  I'm using CS 4.4 with xenserver 6.2
 
  Thank you
 
 
  On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com wrote:
 
   Could you post the relevant log excerpts to pastebin or similar?
  
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
  cst...@trickhosting.biz
   
   wrote:
  
It happens everytime i new ssvm is created or the management service
 is
restarted
   
div Original message /divdivFrom: Erik Weber 
terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
  (GMT-05:00)
/divdivTo: users@cloudstack.apache.org /divdivSubject: Re:
  SSVM
Problem - ERROR: Java process not running. Try restarting the SSVM.
/divdiv
/divHaven't really encountered that one.. could you try to destroy
  the
ssvm and
see if it happens with the new as well?
   
   
Erik
   
   
On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
   cst...@trickhosting.biz
wrote:
   
 What about the agent not connecting till I remount the seconday
   strorage
 from the ssvm cli?


 -Original Message-
 From: Erik Weber terbol...@gmail.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Wed, 30 Jul 2014 17:39:19 +0200


 Yes, there's an issue with those templates with regards to VR, it
 has
   the
 wrong version information.

 Work is being done to fix it, hopefully in a day or so.

 Disabling the router version check is a workaround as you noticed.

 Erik


 On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
cst...@trickhosting.biz
 wrote:

  Thanks eric problem 1 down and another one pops up.
 
  SSVM is starting and from its terminal the ssvm check passes
  now.
The
  only problem is that the agent doesn't show up. What I have done
 to
   fix
  was to unmount secondary storage even though it was connected
 and I
  could see the files. Remount it again from the command line and
  then
the
  agent would show up. So i was like awesome and tried to start a
 new
  instance. It would start because it said that my VR needed a
  update.
  Well the VR is using the new template that we just installed and
  remember from long ago that you could set a global for the
  router.version.check to false to get around this. I was just able
  to
  spin up the default centos template. Now I need a fix for the
   mounting
  of secondary storage.
 
  Once again thanks for the help and looking forward to your
 answer.
 
 
 
 
  '-Original Message-
  From: Erik Weber terbol...@gmail.com
  Reply-to: users@cloudstack.apache.org
  To: users@cloudstack.apache.org
  Subject: Re: SSVM Problem - ERROR: Java process not running. Try
  restarting the SSVM.
  Date: Wed, 30 Jul 2014 11:05:30 +0200
 
 
  Sorry, it is a type in that query. replace vm_template with
 vm_template_id.
  Also, User should only be with capital U. I've updated the gist.
 
  ie:
 
  update vm_instance set vm_template_id = 206 where type  'User'
  and
  hypervisor_type = 'XenServer';
 
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 3:46 AM, Matthew Midgett 
 cst...@trickhosting.biz
  wrote:
 
   While following the instructions I am getting an error on this
  step
   while upgrading the DB tables
  
   update vm_instance set vm_template = 206 where type  'USER'
 and
   hypervisor_type = 'XenServer';
  
  
   -Original Message-
   From: Erik Weber terbol...@gmail.com
   Reply-to: users@cloudstack.apache.org
   To: users@cloudstack.apache.org
   Subject: 

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
upgrade 4.3 to 4.4 will have a systemvm upgrade issue.
But a fresh 4.4 using systemvm-templates 4.4.0-6 will work.



*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 10:09 AM, Dean Kamali dean.kam...@gmail.com wrote:

 ​Well I have upgrade from 4.3 to 4.4 and run into same issue, I ended up
 doing fresh install and getting the same issue, there is definitely an
 issue with SSVM.


 On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion pd...@cloudops.com
 wrote:

  Dean,
  Is this an upgraded 4.4 or a fresh installation of 4.4 ?
 
 
  *Pierre-Luc DION*
  Architecte de Solution Cloud | Cloud Solutions Architect
  t 855.652.5683
 
  *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
  420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
  w cloudops.com *|* tw @CloudOps_
 
 
 
  On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali dean.kam...@gmail.com
  wrote:
 
   I'm having the same issue as well, getting ERROR Java process not
  running,
   and SSVM is not mounting NFS storage, causing all templates to fail.
  
   I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
   http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
   systemvmtemplate-4.4.0-xen.vhd.bz2
   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
   
   found
   on same URL without luck, which SSVM template did you guys use?
  
   I'm using CS 4.4 with xenserver 6.2
  
   Thank you
  
  
   On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com
 wrote:
  
Could you post the relevant log excerpts to pastebin or similar?
   
   
Erik
   
   
On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
   cst...@trickhosting.biz

wrote:
   
 It happens everytime i new ssvm is created or the management
 service
  is
 restarted

 div Original message /divdivFrom: Erik Weber
 
 terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
   (GMT-05:00)
 /divdivTo: users@cloudstack.apache.org /divdivSubject: Re:
   SSVM
 Problem - ERROR: Java process not running. Try restarting the SSVM.
 /divdiv
 /divHaven't really encountered that one.. could you try to
 destroy
   the
 ssvm and
 see if it happens with the new as well?


 Erik


 On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
cst...@trickhosting.biz
 wrote:

  What about the agent not connecting till I remount the seconday
strorage
  from the ssvm cli?
 
 
  -Original Message-
  From: Erik Weber terbol...@gmail.com
  Reply-to: users@cloudstack.apache.org
  To: users@cloudstack.apache.org
  Subject: Re: SSVM Problem - ERROR: Java process not running. Try
  restarting the SSVM.
  Date: Wed, 30 Jul 2014 17:39:19 +0200
 
 
  Yes, there's an issue with those templates with regards to VR, it
  has
the
  wrong version information.
 
  Work is being done to fix it, hopefully in a day or so.
 
  Disabling the router version check is a workaround as you
 noticed.
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
 cst...@trickhosting.biz
  wrote:
 
   Thanks eric problem 1 down and another one pops up.
  
   SSVM is starting and from its terminal the ssvm check passes
   now.
 The
   only problem is that the agent doesn't show up. What I have
 done
  to
fix
   was to unmount secondary storage even though it was connected
  and I
   could see the files. Remount it again from the command line and
   then
 the
   agent would show up. So i was like awesome and tried to start a
  new
   instance. It would start because it said that my VR needed a
   update.
   Well the VR is using the new template that we just installed
 and
   remember from long ago that you could set a global for the
   router.version.check to false to get around this. I was just
 able
   to
   spin up the default centos template. Now I need a fix for the
mounting
   of secondary storage.
  
   Once again thanks for the help and looking forward to your
  answer.
  
  
  
  
   '-Original Message-
   From: Erik Weber terbol...@gmail.com
   Reply-to: users@cloudstack.apache.org
   To: users@cloudstack.apache.org
   Subject: Re: SSVM Problem - ERROR: Java process not running.
 Try
   restarting the SSVM.
   Date: Wed, 30 Jul 2014 11:05:30 +0200
  
  
   Sorry, it is a type in that query. replace vm_template with
  vm_template_id.
   Also, User should only be with capital U. I've updated the
 gist.
  
   ie:
  
   update vm_instance set vm_template_id = 206 where type 
 'User'
   

Unable to start a VM due to insufficient capacity

2014-07-31 Thread Ugo Vasi

Hi everybody,
I installed a CloudStack 4.3.0 system with a manager (in a virtual machine), 
two NFS primary storage, one NFS secondary storare and two host agent on ubuntu 
distribution.

The cluster have one advanced zone without security group configuration with 
KVM hipervisors.

I create some VM but now does not allow me to create more giving the error message 
Unable to start a VM due to insufficient capacity.

I am sure that the resources (ip, ram, cpu and storage) are enough to create 
new instances. In dashboard I see all ok.

From the management-server.log I see this errors messages (see attachment for 
full version) when I try to deploy a new virtual machine with 1x1GHz cpu, 1GB 
or RAM and 20GB disk space:

2014-07-31 14:59:11,983 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) Seq 1-684594119: Processing:  { Ans: , MgmtId: 77916390353436, via: 1, Ver: v1, 
Flags: 10, 
[{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:false,details:VmDataCommand
 failed, check agent logs,wait:0}}] }
2014-07-31 14:59:11,983 INFO  [c.c.v.VirtualMachineManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: Unable to apply userdata and password entry on router
2014-07-31 14:59:12,453 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting 
to Stopped with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: 7
2014-07-31 14:59:12,677 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting 
to Stopped with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: null
2014-07-31 14:59:12,708 DEBUG [c.c.v.UserVmManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Destroying vm VM[User|csweb2] as it 
failed to create on Host with Id:null
2014-07-31 14:59:12,738 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Stopped 
to Error with event: OperationFailedToErrorvm's original host id: null new host 
id: null host id before state transition: null
2014-07-31 14:59:12,929 WARN  [o.a.c.alerts] (Job-Executor-26:ctx-ab3aee38 
ctx-d8600c16)  alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: 
null // message:: Failed to deploy Vm with Id: 70, on Host with Id: null
2014-07-31 14:59:13,159 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(Job-Executor-26:ctx-ab3aee38) Unexpected exception while executing 
org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to 
insufficient capacity
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|csweb2]Scope=interface com.cloud.dc.DataCenter; 
id=1
2014-07-31 14:59:13,161 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Job-Executor-26:ctx-ab3aee38) Complete async job-783, 
jobStatus: FAILED, resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{uuidList:[],errorcode:530,errortext:Unable
 to start a VM due to insufficient capacity}
2014-07-31 14:59:46,280 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) Stopped called on VM[User|csweb2] 
but the state is Error
2014-07-31 14:59:46,330 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) VM state transitted from :Error to 
Expunging with event: DestroyRequestedvm's original host id: null new host id: 
null host id before state transition: null

I tried to search in others log file (VmDataCommand failed, check agent 
logs), but I don't found nothing...

Can anyone Help me?

--

  U g o   V a s iugo.v...@procne.it
  P r o c n e  s.r.l)
  via Cotonificio 45  33010 Tavagnacco IT
  phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed è vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio è
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare supp...@procne.it .
Rif. D.L. 196/2003




2014-07-31 14:59:10,556 DEBUG [c.c.a.ApiServlet] (catalina-exec-5:ctx-c61df92d) ===START===  127.0.0.1 -- GET  command=deployVirtualMachineresponse=jsonsessionkey=JYBJ9eNoOH5hAbD%2BDNV0M8Dr7JI%3Dzoneid=ed6ce5de-2ff4-4d57-aa88-27e904082928templateid=0d935ed9-38b0-4a59-8651-927ba09f2597hypervisor=KVMserviceofferingid=ba47a8d5-6984-40fa-bf3a-a1aa39d0195bdiskofferingid=b487cedd-dc96-4c73-9045-c070c5dd0f29networkids=14e56990-ee1f-46e4-b0c1-eac18daaf433displayname=csweb2name=csweb2_=1406811550539
2014-07-31 14:59:10,562 DEBUG [c.c.a.ApiDispatcher] (catalina-exec-5:ctx-c61df92d ctx-d8600c16) InfrastructureEntity 

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
a quick update  systemvmtemplate-4.4.0-6-xen.vhd.bz2
http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
didn't
work for me either

Dean


On Thu, Jul 31, 2014 at 10:27 AM, Dean Kamali dean.kam...@gmail.com wrote:

 Hi Dion,

 unfortunately that hasn't been the case for me so far, both upgrade or
 fresh install ended up with same issue, I'm trying the 64 bit version of
 SSVM, hopefully it will work.

 Dean


 On Thu, Jul 31, 2014 at 10:18 AM, Pierre-Luc Dion pd...@cloudops.com
 wrote:

 upgrade 4.3 to 4.4 will have a systemvm upgrade issue.
 But a fresh 4.4 using systemvm-templates 4.4.0-6 will work.



 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 10:09 AM, Dean Kamali dean.kam...@gmail.com
 wrote:

  ​Well I have upgrade from 4.3 to 4.4 and run into same issue, I ended up
  doing fresh install and getting the same issue, there is definitely an
  issue with SSVM.
 
 
  On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
 
   Dean,
   Is this an upgraded 4.4 or a fresh installation of 4.4 ?
  
  
   *Pierre-Luc DION*
   Architecte de Solution Cloud | Cloud Solutions Architect
   t 855.652.5683
  
   *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
   420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
   w cloudops.com *|* tw @CloudOps_
  
  
  
   On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali dean.kam...@gmail.com
   wrote:
  
I'm having the same issue as well, getting ERROR Java process not
   running,
and SSVM is not mounting NFS storage, causing all templates to fail.
   
I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
systemvmtemplate-4.4.0-xen.vhd.bz2

   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2

found
on same URL without luck, which SSVM template did you guys use?
   
I'm using CS 4.4 with xenserver 6.2
   
Thank you
   
   
On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com
  wrote:
   
 Could you post the relevant log excerpts to pastebin or similar?


 Erik


 On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
cst...@trickhosting.biz
 
 wrote:

  It happens everytime i new ssvm is created or the management
  service
   is
  restarted
 
  div Original message /divdivFrom: Erik
 Weber
  
  terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
(GMT-05:00)
  /divdivTo: users@cloudstack.apache.org /divdivSubject:
 Re:
SSVM
  Problem - ERROR: Java process not running. Try restarting the
 SSVM.
  /divdiv
  /divHaven't really encountered that one.. could you try to
  destroy
the
  ssvm and
  see if it happens with the new as well?
 
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
 cst...@trickhosting.biz
  wrote:
 
   What about the agent not connecting till I remount the
 seconday
 strorage
   from the ssvm cli?
  
  
   -Original Message-
   From: Erik Weber terbol...@gmail.com
   Reply-to: users@cloudstack.apache.org
   To: users@cloudstack.apache.org
   Subject: Re: SSVM Problem - ERROR: Java process not running.
 Try
   restarting the SSVM.
   Date: Wed, 30 Jul 2014 17:39:19 +0200
  
  
   Yes, there's an issue with those templates with regards to
 VR, it
   has
 the
   wrong version information.
  
   Work is being done to fix it, hopefully in a day or so.
  
   Disabling the router version check is a workaround as you
  noticed.
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
  cst...@trickhosting.biz
   wrote:
  
Thanks eric problem 1 down and another one pops up.
   
SSVM is starting and from its terminal the ssvm check passes
now.
  The
only problem is that the agent doesn't show up. What I have
  done
   to
 fix
was to unmount secondary storage even though it was
 connected
   and I
could see the files. Remount it again from the command line
 and
then
  the
agent would show up. So i was like awesome and tried to
 start a
   new
instance. It would start because it said that my VR needed a
update.
Well the VR is using the new template that we just installed
  and
remember from long ago that you could set a global for the
router.version.check to false to get around this. I was just
  able
to
spin up the default centos template. Now I need a fix for
 the
 mounting
of secondary storage.
   

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
Do you mean you upgrade to the
64bit: systemvm64template-4.4.0-6-xen.vhd.bz2 and it still doesn't work?


*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 10:40 AM, Dean Kamali dean.kam...@gmail.com wrote:

 a quick update  systemvmtemplate-4.4.0-6-xen.vhd.bz2
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
 
 didn't
 work for me either

 Dean


 On Thu, Jul 31, 2014 at 10:27 AM, Dean Kamali dean.kam...@gmail.com
 wrote:

  Hi Dion,
 
  unfortunately that hasn't been the case for me so far, both upgrade or
  fresh install ended up with same issue, I'm trying the 64 bit version of
  SSVM, hopefully it will work.
 
  Dean
 
 
  On Thu, Jul 31, 2014 at 10:18 AM, Pierre-Luc Dion pd...@cloudops.com
  wrote:
 
  upgrade 4.3 to 4.4 will have a systemvm upgrade issue.
  But a fresh 4.4 using systemvm-templates 4.4.0-6 will work.
 
 
 
  *Pierre-Luc DION*
  Architecte de Solution Cloud | Cloud Solutions Architect
  t 855.652.5683
 
  *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
  420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
  w cloudops.com *|* tw @CloudOps_
 
 
 
  On Thu, Jul 31, 2014 at 10:09 AM, Dean Kamali dean.kam...@gmail.com
  wrote:
 
   ​Well I have upgrade from 4.3 to 4.4 and run into same issue, I ended
 up
   doing fresh install and getting the same issue, there is definitely an
   issue with SSVM.
  
  
   On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion pd...@cloudops.com
 
   wrote:
  
Dean,
Is this an upgraded 4.4 or a fresh installation of 4.4 ?
   
   
*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683
   
*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_
   
   
   
On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali 
 dean.kam...@gmail.com
wrote:
   
 I'm having the same issue as well, getting ERROR Java process not
running,
 and SSVM is not mounting NFS storage, causing all templates to
 fail.

 I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
 http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
 systemvmtemplate-4.4.0-xen.vhd.bz2
 

   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
 
 found
 on same URL without luck, which SSVM template did you guys use?

 I'm using CS 4.4 with xenserver 6.2

 Thank you


 On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber terbol...@gmail.com
   wrote:

  Could you post the relevant log excerpts to pastebin or similar?
 
 
  Erik
 
 
  On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
 cst...@trickhosting.biz
  
  wrote:
 
   It happens everytime i new ssvm is created or the management
   service
is
   restarted
  
   div Original message /divdivFrom: Erik
  Weber
   
   terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
 (GMT-05:00)
   /divdivTo: users@cloudstack.apache.org
 /divdivSubject:
  Re:
 SSVM
   Problem - ERROR: Java process not running. Try restarting the
  SSVM.
   /divdiv
   /divHaven't really encountered that one.. could you try to
   destroy
 the
   ssvm and
   see if it happens with the new as well?
  
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
  cst...@trickhosting.biz
   wrote:
  
What about the agent not connecting till I remount the
  seconday
  strorage
from the ssvm cli?
   
   
-Original Message-
From: Erik Weber terbol...@gmail.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running.
  Try
restarting the SSVM.
Date: Wed, 30 Jul 2014 17:39:19 +0200
   
   
Yes, there's an issue with those templates with regards to
  VR, it
has
  the
wrong version information.
   
Work is being done to fix it, hopefully in a day or so.
   
Disabling the router version check is a workaround as you
   noticed.
   
Erik
   
   
On Wed, Jul 30, 2014 at 5:18 PM, Matthew Midgett 
   cst...@trickhosting.biz
wrote:
   
 Thanks eric problem 1 down and another one pops up.

 SSVM is starting and from its terminal the ssvm check
 passes
 now.
   The
 only problem is that the agent doesn't show up. What I
 have
   done
to
  fix
 was to unmount secondary storage even though it was
  connected
  

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
Dion,

I have used  systemvmtemplate-4.4.0-6-xen.vhd.bz2
http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
on
a fresh install, and it doesn't work.

Dean
Toronto



On Thu, Jul 31, 2014 at 10:54 AM, Pierre-Luc Dion pd...@cloudops.com
wrote:

 Do you mean you upgrade to the
 64bit: systemvm64template-4.4.0-6-xen.vhd.bz2 and it still doesn't work?


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 10:40 AM, Dean Kamali dean.kam...@gmail.com
 wrote:

  a quick update  systemvmtemplate-4.4.0-6-xen.vhd.bz2
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
  
  didn't
  work for me either
 
  Dean
 
 
  On Thu, Jul 31, 2014 at 10:27 AM, Dean Kamali dean.kam...@gmail.com
  wrote:
 
   Hi Dion,
  
   unfortunately that hasn't been the case for me so far, both upgrade or
   fresh install ended up with same issue, I'm trying the 64 bit version
 of
   SSVM, hopefully it will work.
  
   Dean
  
  
   On Thu, Jul 31, 2014 at 10:18 AM, Pierre-Luc Dion pd...@cloudops.com
   wrote:
  
   upgrade 4.3 to 4.4 will have a systemvm upgrade issue.
   But a fresh 4.4 using systemvm-templates 4.4.0-6 will work.
  
  
  
   *Pierre-Luc DION*
   Architecte de Solution Cloud | Cloud Solutions Architect
   t 855.652.5683
  
   *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
   420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
   w cloudops.com *|* tw @CloudOps_
  
  
  
   On Thu, Jul 31, 2014 at 10:09 AM, Dean Kamali dean.kam...@gmail.com
   wrote:
  
​Well I have upgrade from 4.3 to 4.4 and run into same issue, I
 ended
  up
doing fresh install and getting the same issue, there is definitely
 an
issue with SSVM.
   
   
On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion 
 pd...@cloudops.com
  
wrote:
   
 Dean,
 Is this an upgraded 4.4 or a fresh installation of 4.4 ?


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions
 Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali 
  dean.kam...@gmail.com
 wrote:

  I'm having the same issue as well, getting ERROR Java process
 not
 running,
  and SSVM is not mounting NFS storage, causing all templates to
  fail.
 
  I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
  http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
  systemvmtemplate-4.4.0-xen.vhd.bz2
  
 

   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
  
  found
  on same URL without luck, which SSVM template did you guys use?
 
  I'm using CS 4.4 with xenserver 6.2
 
  Thank you
 
 
  On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber 
 terbol...@gmail.com
wrote:
 
   Could you post the relevant log excerpts to pastebin or
 similar?
  
  
   Erik
  
  
   On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
  cst...@trickhosting.biz
   
   wrote:
  
It happens everytime i new ssvm is created or the management
service
 is
restarted
   
div Original message /divdivFrom: Erik
   Weber

terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
  (GMT-05:00)
/divdivTo: users@cloudstack.apache.org
  /divdivSubject:
   Re:
  SSVM
Problem - ERROR: Java process not running. Try restarting
 the
   SSVM.
/divdiv
/divHaven't really encountered that one.. could you try to
destroy
  the
ssvm and
see if it happens with the new as well?
   
   
Erik
   
   
On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
   cst...@trickhosting.biz
wrote:
   
 What about the agent not connecting till I remount the
   seconday
   strorage
 from the ssvm cli?


 -Original Message-
 From: Erik Weber terbol...@gmail.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not
 running.
   Try
 restarting the SSVM.
 Date: Wed, 30 Jul 2014 17:39:19 +0200


 Yes, there's an issue with those templates with regards to
   VR, it
 has
   the
 wrong version information.

 Work is being done to fix it, hopefully in a day or so.

 Disabling the router version check is a workaround as you
noticed.

 

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
ok,
I did not test using systemvmtemplate-4.4.0-6-xen.vhd.bz2 but had it
working using systemvm64template-4.4.0-6-xen.vhd.bz2 on XenServer 6.2



*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 10:59 AM, Dean Kamali dean.kam...@gmail.com wrote:

 Dion,

 I have used  systemvmtemplate-4.4.0-6-xen.vhd.bz2
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
 
 on
 a fresh install, and it doesn't work.

 Dean
 Toronto



 On Thu, Jul 31, 2014 at 10:54 AM, Pierre-Luc Dion pd...@cloudops.com
 wrote:

  Do you mean you upgrade to the
  64bit: systemvm64template-4.4.0-6-xen.vhd.bz2 and it still doesn't work?
 
 
  *Pierre-Luc DION*
  Architecte de Solution Cloud | Cloud Solutions Architect
  t 855.652.5683
 
  *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
  420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
  w cloudops.com *|* tw @CloudOps_
 
 
 
  On Thu, Jul 31, 2014 at 10:40 AM, Dean Kamali dean.kam...@gmail.com
  wrote:
 
   a quick update  systemvmtemplate-4.4.0-6-xen.vhd.bz2
   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-6-xen.vhd.bz2
   
   didn't
   work for me either
  
   Dean
  
  
   On Thu, Jul 31, 2014 at 10:27 AM, Dean Kamali dean.kam...@gmail.com
   wrote:
  
Hi Dion,
   
unfortunately that hasn't been the case for me so far, both upgrade
 or
fresh install ended up with same issue, I'm trying the 64 bit version
  of
SSVM, hopefully it will work.
   
Dean
   
   
On Thu, Jul 31, 2014 at 10:18 AM, Pierre-Luc Dion 
 pd...@cloudops.com
wrote:
   
upgrade 4.3 to 4.4 will have a systemvm upgrade issue.
But a fresh 4.4 using systemvm-templates 4.4.0-6 will work.
   
   
   
*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683
   
*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_
   
   
   
On Thu, Jul 31, 2014 at 10:09 AM, Dean Kamali 
 dean.kam...@gmail.com
wrote:
   
 ​Well I have upgrade from 4.3 to 4.4 and run into same issue, I
  ended
   up
 doing fresh install and getting the same issue, there is
 definitely
  an
 issue with SSVM.


 On Thu, Jul 31, 2014 at 10:04 AM, Pierre-Luc Dion 
  pd...@cloudops.com
   
 wrote:

  Dean,
  Is this an upgraded 4.4 or a fresh installation of 4.4 ?
 
 
  *Pierre-Luc DION*
  Architecte de Solution Cloud | Cloud Solutions Architect
  t 855.652.5683
 
  *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions
  Experts
  420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
  w cloudops.com *|* tw @CloudOps_
 
 
 
  On Thu, Jul 31, 2014 at 10:01 AM, Dean Kamali 
   dean.kam...@gmail.com
  wrote:
 
   I'm having the same issue as well, getting ERROR Java process
  not
  running,
   and SSVM is not mounting NFS storage, causing all templates to
   fail.
  
   I'm using systemvmtemplate-4.4.0-6-xen.vhd.bz2 found in
   http://cloudstack.apt-get.eu/systemvm/4.4/ I have also tried
   systemvmtemplate-4.4.0-xen.vhd.bz2
   
  
 

   
  
 
 http://cloudstack.apt-get.eu/systemvm/4.4/systemvmtemplate-4.4.0-xen.vhd.bz2
   
   found
   on same URL without luck, which SSVM template did you guys
 use?
  
   I'm using CS 4.4 with xenserver 6.2
  
   Thank you
  
  
   On Wed, Jul 30, 2014 at 5:46 PM, Erik Weber 
  terbol...@gmail.com
 wrote:
  
Could you post the relevant log excerpts to pastebin or
  similar?
   
   
Erik
   
   
On Wed, Jul 30, 2014 at 11:16 PM, Matthew Midgett 
   cst...@trickhosting.biz

wrote:
   
 It happens everytime i new ssvm is created or the
 management
 service
  is
 restarted

 div Original message /divdivFrom:
 Erik
Weber
 
 terbol...@gmail.com /divdivDate:07/30/2014  12:24 PM
   (GMT-05:00)
 /divdivTo: users@cloudstack.apache.org
   /divdivSubject:
Re:
   SSVM
 Problem - ERROR: Java process not running. Try restarting
  the
SSVM.
 /divdiv
 /divHaven't really encountered that one.. could you try
 to
 destroy
   the
 ssvm and
 see if it happens with the new as well?


 Erik


 On Wed, Jul 30, 2014 at 5:56 PM, Matthew Midgett 
cst...@trickhosting.biz
 wrote:

  What about the agent not connecting till I remount the
seconday
strorage
  from the ssvm cli?
 
   

aws/ec2 interface cloudstack 4.4

2014-07-31 Thread Daniel Traynor
Hi

I successfully installed cloudstack 4.4 onto my laptop (host running ubuntu 
14.04, cloudstack management and agent running in a centos6.5 KVM guest) using 
the Quick Installation Guide for CentOS from the documentation. Every thing so 
far works fine from the web interface. 

What I need to do is to show that cloudstack will work with the ec2 interface 
as this is what my main users want. (that and the occi as used by EGI Federated 
cloud, but that's for another day).

I'm having some trouble getting EC2 interface to work with cloudstack. I've 
followed the instruction in 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/optional_installation.html#amazon-web-services-interface,
  and used the cloudstack-aws-api-register to register a certificate with the 
cloudstack api and secret keys (generated in the cloudstack web interface). 
This was successful according to the output of the script.

however when I try to use the ec2 interface I get this type of error

$ ./ec2-api-tools-1.3-62308/bin/ec2-describe-instances --debug
Server: org.apache.axis2.databinding.ADBException: Unexpected subelement 
DescribeInstances
com.amazon.aes.webservices.client.Jec2SoapFaultException: SOAP 
Fault[code=Server, str='org.apache.axis2.databinding.ADBException: Unexpected 
subelement DescribeInstances']
at com.amazon.aes.webservices.client.Jec2.UnwrapException(Jec2.java:270)
at 
com.amazon.aes.webservices.client.Jec2.describeInstances(Jec2.java:1472)
at 
com.amazon.aes.webservices.client.Jec2.describeInstances(Jec2.java:1433)
at 
com.amazon.aes.webservices.client.cmd.DescribeInstances.invokeOnline(DescribeInstances.java:57)
at 
com.amazon.aes.webservices.client.cmd.BaseCmd.invoke(BaseCmd.java:795)
at 
com.amazon.aes.webservices.client.cmd.DescribeInstances.main(DescribeInstances.java:66)


on the management I see in /var/log/cloudstack/awsapi/awsapi.log (my x's)

2014-07-31 16:09:23,595 DEBUG [c.c.b.a.e.AuthenticationHandler] 
(catalina-exec-int-6:null) X509 cert's uniqueId: EMAILADDRESS=xx, 
CN=, OU=x, O=x, L=x, ST=x, C=xx, serial=xx
2014-07-31 16:09:23,597 DEBUG [c.c.b.s.UserContext] (catalina-exec-int-6:null) 
initializing a new [anonymous] UserContext!


First is there any know reason why It should not work in 4.4.

I've seen reference to various references to cloud-bridge in older 
documentation but have not touched it yet.


thanks

dan

* Dr Daniel Traynor, Grid cluster system manager
* Tel +44(0)20 7882 6560, Particle Physics,QMUL


Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
Okay, did you try and login to SSVM and
run /usr/local/cloud/systemvm/ssvm-check.sh ? does it say JAVA process is
running?

dose both system VMs has agent status that says connected ? mine only
shows on console proxy vm.

Dean


Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Matthew Midgett
yes ssvm test show everything ok. When making new system vms the console
proxy comes up right but ssvm doesn't. What it takes to get it online is
to remount the nfs share from the ssvm console.

mount shows this

172.16.2.3:/var/cstss1-2
on /mnt/SecStorage/0b1ff1bc-5486-378f-8347-fa5b4b3d9bf9 type nfs4
(rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,acdirmin=0,acdirmax=0,soft,proto=tcp,port=0,timeo=133,retrans=2147483647,sec=sys,clientaddr=172.16.2.21,minorversion=0,local_lock=none,addr=172.16.2.3)

Then I run the commands

umount /mnt/SecStorage/0b1ff1bc-5486-378f-8347-fa5b4b3d9bf9/

mount -t nfs
172.16.2.3:/var/cstss1-2 /mnt/SecStorage/0b1ff1bc-5486-378f-8347-fa5b4b3d9bf9

Then mount shows this and in about 2-5 mins the ssvm agent comes up.

172.16.2.3:/var/cstss1-2
on /mnt/SecStorage/0b1ff1bc-5486-378f-8347-fa5b4b3d9bf9 type nfs4
(rw,relatime,vers=4,rsize=262144,wsize=262144,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=172.16.2.21,minorversion=0,local_lock=none,addr=172.16.2.3)

Also your going to have to go into the globals and turn off the virtual
router version check. Eric says that they will have new ssvms in the
next few days that will fix the virtual router. 

I hope that they can fix the ssvm mount issue so I don't have to keep
loging into it and fixing after it's been destroyed or rebooted.




-Original Message-
From: Dean Kamali dean.kam...@gmail.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running. Try
restarting the SSVM.
Date: Thu, 31 Jul 2014 12:02:31 -0400


Okay, did you try and login to SSVM and
run /usr/local/cloud/systemvm/ssvm-check.sh ? does it say JAVA process is
running?

dose both system VMs has agent status that says connected ? mine only
shows on console proxy vm.

Dean




forcing an IP to a VM

2014-07-31 Thread Juan Gomez Aranzazu
Hi everybody,

Can anyone help me telling me how to Force a VM that its on an advance zone to 
use a predefine IP address. I had a vm that got corrupted and didn't want to 
start anymore, so i created a second VM but i need to assign to it the same IP 
that i had in the old VM how can i accomplish this?. Do i just make the change 
in the database?.

Thank you for your help.


Cloudstack 4.2.1 KVM - Redundant Virtual Router switch from unknown to MASTER

2014-07-31 Thread motty cruz
Hi All,

I started to get email from Cloudstack Management server once a day now
with the following message:
Subject: Redundant virtual router r-360-VM just switch from UNKNOWN to
MASTER

Redundant virtual router (name: r-360-VM, id: 360)  just switch from UNKNOWN
to MASTER

any suggestions what is causing this error and how to fix whatever is
causing this error?

Thanks,


RE: aws/ec2 interface cloudstack 4.4

2014-07-31 Thread Prachi Damle
Hi Daniel,

Do you see any more logs in the /var/log/cloudstack/awsapi/awsapi.log? Anything 
w.r.t processing your request?

Also, Can you try using REST to make the EC2 calls? AWS has deprecated  SOAP 
support, so we have seen that the EC2 tools do face some errors while parsing 
the SOAP response.
For REST, you don't need to register the user using 
cloudstack-aws-api-register. You just need to set CS api key/secret key to the 
EC2 tool's environment variables 

Thanks,
Prachi


-Original Message-
From: Daniel Traynor [mailto:d.tray...@qmul.ac.uk] 
Sent: Thursday, July 31, 2014 8:19 AM
To: users@cloudstack.apache.org
Subject: aws/ec2 interface cloudstack 4.4

Hi

I successfully installed cloudstack 4.4 onto my laptop (host running ubuntu 
14.04, cloudstack management and agent running in a centos6.5 KVM guest) using 
the Quick Installation Guide for CentOS from the documentation. Every thing so 
far works fine from the web interface. 

What I need to do is to show that cloudstack will work with the ec2 interface 
as this is what my main users want. (that and the occi as used by EGI Federated 
cloud, but that's for another day).

I'm having some trouble getting EC2 interface to work with cloudstack. I've 
followed the instruction in 
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/optional_installation.html#amazon-web-services-interface,
  and used the cloudstack-aws-api-register to register a certificate with the 
cloudstack api and secret keys (generated in the cloudstack web interface). 
This was successful according to the output of the script.

however when I try to use the ec2 interface I get this type of error

$ ./ec2-api-tools-1.3-62308/bin/ec2-describe-instances --debug
Server: org.apache.axis2.databinding.ADBException: Unexpected subelement 
DescribeInstances
com.amazon.aes.webservices.client.Jec2SoapFaultException: SOAP 
Fault[code=Server, str='org.apache.axis2.databinding.ADBException: Unexpected 
subelement DescribeInstances']
at com.amazon.aes.webservices.client.Jec2.UnwrapException(Jec2.java:270)
at 
com.amazon.aes.webservices.client.Jec2.describeInstances(Jec2.java:1472)
at 
com.amazon.aes.webservices.client.Jec2.describeInstances(Jec2.java:1433)
at 
com.amazon.aes.webservices.client.cmd.DescribeInstances.invokeOnline(DescribeInstances.java:57)
at 
com.amazon.aes.webservices.client.cmd.BaseCmd.invoke(BaseCmd.java:795)
at 
com.amazon.aes.webservices.client.cmd.DescribeInstances.main(DescribeInstances.java:66)


on the management I see in /var/log/cloudstack/awsapi/awsapi.log (my x's)

2014-07-31 16:09:23,595 DEBUG [c.c.b.a.e.AuthenticationHandler] 
(catalina-exec-int-6:null) X509 cert's uniqueId: EMAILADDRESS=xx, 
CN=, OU=x, O=x, L=x, ST=x, C=xx, serial=xx
2014-07-31 16:09:23,597 DEBUG [c.c.b.s.UserContext] (catalina-exec-int-6:null) 
initializing a new [anonymous] UserContext!


First is there any know reason why It should not work in 4.4.

I've seen reference to various references to cloud-bridge in older 
documentation but have not touched it yet.


thanks

dan

* Dr Daniel Traynor, Grid cluster system manager
* Tel +44(0)20 7882 6560, Particle Physics,QMUL


Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Dean Kamali
Matthew,

Thanks for your feedback, I would like to double check the version of SSVM
template name you are currently using, could you please share info?

Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
your secondary storage, is that correct?

Thanks


Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
Dean,
Could you post the content of /etc/cloudstack-version  from a running
systemvm ?

Thanks,


*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 1:09 PM, Dean Kamali dean.kam...@gmail.com wrote:

 Matthew,

 Thanks for your feedback, I would like to double check the version of SSVM
 template name you are currently using, could you please share info?

 Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
 your secondary storage, is that correct?

 Thanks



Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Matthew Midgett
 Dean 
Yes that uuid was my mount point for secondary storage.

Pierre-Luc Dion

I don't have the system setup right now but I followed this from eric
web to get my system vm working and upgrade my template. 

try this procedure:
https://gist.github.com/terbolous/102ae8edd1cda192561c

If anyone knows of a better 64bit template with openjdk7 I will try it.



-Original Message-
From: Pierre-Luc Dion pd...@cloudops.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running. Try
restarting the SSVM.
Date: Thu, 31 Jul 2014 13:17:53 -0400


 Matthew,

 Thanks for your feedback, I would like to double check the version of
SSVM
 template name you are currently using, could you please share info?

 Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID
of
 your secondary storage, is that correct?

 Thanks



Re: basic zone setup

2014-07-31 Thread Ian Young
Do you know which MySQL tables need to be updated to reference the new
template?  I'm worried that if I miss one the system will break
unexpectedly the next time I launch a system VM.  It might be worthwhile
for me to simply reinstall the entire thing to be certain everything's set
up correctly.


On Thu, Jul 31, 2014 at 12:31 AM, Erik Weber terbol...@gmail.com wrote:

 Yes, if you don't want to reinstall/re-seed the system vm template, you
 should also download the new ones and do the mysql queries so that it is
 used for any future system vm deployments.


 Erik


 On Thu, Jul 31, 2014 at 3:17 AM, Ian Young iyo...@ratespecial.com wrote:

  Yes, that makes the ssvm-check pass all the tests.  Thanks.  Should I
  repeat that upgrade with the console proxy?
 
 
  On Wed, Jul 30, 2014 at 6:09 PM, Carlos Reategui car...@reategui.com
  wrote:
 
   There have been some messages going around about the template needing a
  fix
   for this.
  
   Per this link (https://gist.github.com/terbolous/102ae8edd1cda192561c)
   from
   one of the messages you can try the following on the ssvm itself:
  
   apt-get update  apt-get -y install openjdk-7-jre-headless
   openjdk-7-jre-lib  apt-get -y remove openjdk-6-jre-headless
  
   then you may also need to:
   service cloud stop  sleep 3  service cloud start
  
   try the ssvm-check again after that.
  
   My understanding is that this is not a permanent fix, but should get
 you
   going for now.
  
  
   On Wed, Jul 30, 2014 at 6:00 PM, Ian Young iyo...@ratespecial.com
  wrote:
  
I found this in the cloud.out log in the SSVM:
   
Exception in thread main java.lang.UnsupportedClassVersionError:
com/cloud/agent/AgentShell : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
at
   java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.cloud.agent.AgentShell. Program
 will
exit.
   
It seems to have to do with a Java version mismatch.  I'm using JDK 7
  on
both the management server and hypervisor but the SSVM is using
 version
   6.
 Is this the most current system VM template?
   
   
   
  
 
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2
   
   
On Wed, Jul 30, 2014 at 5:25 PM, Ian Young iyo...@ratespecial.com
   wrote:
   
 root@s-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
 
 First DNS server is  192.168.100.2
 PING 192.168.100.2 (192.168.100.2): 48 data bytes
 56 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=1.227 ms
 56 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=0.882 ms
 --- 192.168.100.2 ping statistics ---
 2 packets transmitted, 2 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 0.882/1.054/1.227/0.173 ms
 Good: Can ping DNS server
 
 Good: DNS resolves download.cloud.com
 
 ERROR: NFS is not currently mounted
 Try manually mounting from inside the VM
 NFS server is  169.254.1.0
 PING 169.254.1.0 (169.254.1.0): 48 data bytes
 56 bytes from 169.254.1.0: icmp_seq=0 ttl=64 time=0.067 ms
 56 bytes from 169.254.1.0: icmp_seq=1 ttl=64 time=0.039 ms
 --- 169.254.1.0 ping statistics ---
 2 packets transmitted, 2 packets received, 0% packet loss
 round-trip min/avg/max/stddev = 0.039/0.053/0.067/0.000 ms
 Good: Can ping nfs server
 
 Management server is 192.168.101.3. Checking connectivity.
 Good: Can connect to management server port 8250
 
 ERROR: Java process not running.  Try restarting the SSVM.

 It says the NFS server is 169.254.1.0 which is the SSVM's link
 local
 address.  How did it decide that?  During the zone configuration I
 specified virthost1.lax.ratespecial.com as the NFS server and
 that
 resolves to 192.168.101.4.  Also, in what path does it expect the
 NFS
 volume to be mounted?


 On Wed, Jul 30, 2014 at 4:53 PM, Carlos Reategui 
  car...@reategui.com
 wrote:

 If the template is not ready then your ssvm may be having problems
 downloading it.  Have you followed the info here:
 

Re: basic zone setup

2014-07-31 Thread Erik Weber
Look at the tables changed in the last section of this gist:

https://gist.github.com/terbolous/102ae8edd1cda192561c


Erik


On Thu, Jul 31, 2014 at 7:52 PM, Ian Young iyo...@ratespecial.com wrote:

 Do you know which MySQL tables need to be updated to reference the new
 template?  I'm worried that if I miss one the system will break
 unexpectedly the next time I launch a system VM.  It might be worthwhile
 for me to simply reinstall the entire thing to be certain everything's set
 up correctly.


 On Thu, Jul 31, 2014 at 12:31 AM, Erik Weber terbol...@gmail.com wrote:

  Yes, if you don't want to reinstall/re-seed the system vm template, you
  should also download the new ones and do the mysql queries so that it is
  used for any future system vm deployments.
 
 
  Erik
 
 
  On Thu, Jul 31, 2014 at 3:17 AM, Ian Young iyo...@ratespecial.com
 wrote:
 
   Yes, that makes the ssvm-check pass all the tests.  Thanks.  Should I
   repeat that upgrade with the console proxy?
  
  
   On Wed, Jul 30, 2014 at 6:09 PM, Carlos Reategui car...@reategui.com
   wrote:
  
There have been some messages going around about the template
 needing a
   fix
for this.
   
Per this link (
 https://gist.github.com/terbolous/102ae8edd1cda192561c)
from
one of the messages you can try the following on the ssvm itself:
   
apt-get update  apt-get -y install openjdk-7-jre-headless
openjdk-7-jre-lib  apt-get -y remove openjdk-6-jre-headless
   
then you may also need to:
service cloud stop  sleep 3  service cloud start
   
try the ssvm-check again after that.
   
My understanding is that this is not a permanent fix, but should get
  you
going for now.
   
   
On Wed, Jul 30, 2014 at 6:00 PM, Ian Young iyo...@ratespecial.com
   wrote:
   
 I found this in the cloud.out log in the SSVM:

 Exception in thread main java.lang.UnsupportedClassVersionError:
 com/cloud/agent/AgentShell : Unsupported major.minor version 51.0
 at java.lang.ClassLoader.defineClass1(Native Method)
 at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
 at
   
 java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
 at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
 at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
 at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 Could not find the main class: com.cloud.agent.AgentShell. Program
  will
 exit.

 It seems to have to do with a Java version mismatch.  I'm using
 JDK 7
   on
 both the management server and hypervisor but the SSVM is using
  version
6.
  Is this the most current system VM template?



   
  
 
 http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-kvm.qcow2.bz2


 On Wed, Jul 30, 2014 at 5:25 PM, Ian Young iyo...@ratespecial.com
 
wrote:

  root@s-2-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
  
  First DNS server is  192.168.100.2
  PING 192.168.100.2 (192.168.100.2): 48 data bytes
  56 bytes from 192.168.100.2: icmp_seq=0 ttl=64 time=1.227 ms
  56 bytes from 192.168.100.2: icmp_seq=1 ttl=64 time=0.882 ms
  --- 192.168.100.2 ping statistics ---
  2 packets transmitted, 2 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.882/1.054/1.227/0.173 ms
  Good: Can ping DNS server
  
  Good: DNS resolves download.cloud.com
  
  ERROR: NFS is not currently mounted
  Try manually mounting from inside the VM
  NFS server is  169.254.1.0
  PING 169.254.1.0 (169.254.1.0): 48 data bytes
  56 bytes from 169.254.1.0: icmp_seq=0 ttl=64 time=0.067 ms
  56 bytes from 169.254.1.0: icmp_seq=1 ttl=64 time=0.039 ms
  --- 169.254.1.0 ping statistics ---
  2 packets transmitted, 2 packets received, 0% packet loss
  round-trip min/avg/max/stddev = 0.039/0.053/0.067/0.000 ms
  Good: Can ping nfs server
  
  Management server is 192.168.101.3. Checking connectivity.
  Good: Can connect to management server port 8250
  
  ERROR: Java process not running.  Try restarting the SSVM.
 
  It says the NFS server is 169.254.1.0 which is the SSVM's link
  local
  address.  How did it decide that?  During the zone configuration
 I
  specified virthost1.lax.ratespecial.com as the NFS server and
  that
  

Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Matthew Midgett
Pierre-Luc DION

root@s-48-VM:~# cat /etc/cloudstack-release 
Cloudstack Release 3 Wed Jul 23 14:18:46 UTC 2014



-Original Message-
From: Pierre-Luc Dion pd...@cloudops.com
Reply-to: users@cloudstack.apache.org
To: users@cloudstack.apache.org users@cloudstack.apache.org
Subject: Re: SSVM Problem - ERROR: Java process not running. Try
restarting the SSVM.
Date: Thu, 31 Jul 2014 13:17:53 -0400


Dean,
Could you post the content of /etc/cloudstack-version  from a running
systemvm ?

Thanks,


*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Thu, Jul 31, 2014 at 1:09 PM, Dean Kamali dean.kam...@gmail.com wrote:

 Matthew,

 Thanks for your feedback, I would like to double check the version of SSVM
 template name you are currently using, could you please share info?

 Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
 your secondary storage, is that correct?

 Thanks





Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Erik Weber
That's the wrong ACS 4.4 release.

Use systemvm64template-4.4.0-6


Erik


On Thu, Jul 31, 2014 at 8:08 PM, Matthew Midgett cst...@trickhosting.biz
wrote:

 Pierre-Luc DION

 root@s-48-VM:~# cat /etc/cloudstack-release
 Cloudstack Release 3 Wed Jul 23 14:18:46 UTC 2014



 -Original Message-
 From: Pierre-Luc Dion pd...@cloudops.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Thu, 31 Jul 2014 13:17:53 -0400


 Dean,
 Could you post the content of /etc/cloudstack-version  from a running
 systemvm ?

 Thanks,


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 1:09 PM, Dean Kamali dean.kam...@gmail.com
 wrote:

  Matthew,
 
  Thanks for your feedback, I would like to double check the version of
 SSVM
  template name you are currently using, could you please share info?
 
  Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
  your secondary storage, is that correct?
 
  Thanks
 





Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Pierre-Luc Dion
ok I understand what is the problem,

The proper templates to use with CloudStack 4.4.0 have 4.4.0-6 in their
named.
to know if you run the proper template  cat of /etc/cloudstack-release of a
systemvm-template will display a 4.4.0 as version.

Otherwise, the systemvm template run java 1.6 which does not work with
acs4.4.0.

Unfortunately their is other version of system template
http://cloudstack.apt-get.eu/systemvm/4.4 which cause confusion.
The installation doc (
http://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/installation.html#management-server-installation)
is up to date :-)


PL

On Thu, Jul 31, 2014 at 2:08 PM, Matthew Midgett cst...@trickhosting.biz
wrote:

 Pierre-Luc DION

 root@s-48-VM:~# cat /etc/cloudstack-release
 Cloudstack Release 3 Wed Jul 23 14:18:46 UTC 2014



 -Original Message-
 From: Pierre-Luc Dion pd...@cloudops.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Thu, 31 Jul 2014 13:17:53 -0400


 Dean,
 Could you post the content of /etc/cloudstack-version  from a running
 systemvm ?

 Thanks,


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 1:09 PM, Dean Kamali dean.kam...@gmail.com
 wrote:

  Matthew,
 
  Thanks for your feedback, I would like to double check the version of
 SSVM
  template name you are currently using, could you please share info?
 
  Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
  your secondary storage, is that correct?
 
  Thanks
 





Re: SSVM Problem - ERROR: Java process not running. Try restarting the SSVM.

2014-07-31 Thread Daan Hoogland
Matthew, that is a bug in that distribution of the systemvm templates
Where did you get them?
the ones at cloudstack.apt-get.eu with the name 4.4.0-6 are the ones
you should use.

@rayees: can you update the ones at download.cloud.com, please?

regards,
Daan

On Thu, Jul 31, 2014 at 8:08 PM, Matthew Midgett
cst...@trickhosting.biz wrote:
 Pierre-Luc DION

 root@s-48-VM:~# cat /etc/cloudstack-release
 Cloudstack Release 3 Wed Jul 23 14:18:46 UTC 2014



 -Original Message-
 From: Pierre-Luc Dion pd...@cloudops.com
 Reply-to: users@cloudstack.apache.org
 To: users@cloudstack.apache.org users@cloudstack.apache.org
 Subject: Re: SSVM Problem - ERROR: Java process not running. Try
 restarting the SSVM.
 Date: Thu, 31 Jul 2014 13:17:53 -0400


 Dean,
 Could you post the content of /etc/cloudstack-version  from a running
 systemvm ?

 Thanks,


 *Pierre-Luc DION*
 Architecte de Solution Cloud | Cloud Solutions Architect
 t 855.652.5683

 *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
 w cloudops.com *|* tw @CloudOps_



 On Thu, Jul 31, 2014 at 1:09 PM, Dean Kamali dean.kam...@gmail.com wrote:

 Matthew,

 Thanks for your feedback, I would like to double check the version of SSVM
 template name you are currently using, could you please share info?

 Another question, I'm gussing that 0b1ff1bc054860378f08347 is the UUID of
 your secondary storage, is that correct?

 Thanks






-- 
Daan


Re: forcing an IP to a VM

2014-07-31 Thread Geoff Higginbottom
Hi Juan,

When you deploy a new VM, if you use the API you specify the IP the VM should 
use.

If the VM has already been deployed, you can update the DB  VR then restart 
networking on the VM so it picks up the new IP.

Regards

Geoff Higginbottom
CTO / Cloud Architect


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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HSx-apple-data-detectors://37



On 31 Jul 2014, at 17:33, Juan Gomez Aranzazu 
j.gome...@uniandes.edu.comailto:j.gome...@uniandes.edu.co wrote:

Hi everybody,

Can anyone help me telling me how to Force a VM that its on an advance zone to 
use a predefine IP address. I had a vm that got corrupted and didn't want to 
start anymore, so i created a second VM but i need to assign to it the same IP 
that i had in the old VM how can i accomplish this?. Do i just make the change 
in the database?.

Thank you for your help.
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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Unable to start a VM due to insufficient capacity

2014-07-31 Thread Geoff Higginbottom
Ugo,

Looks like CS is failing to update the VR with details for the new VM, try 
restarting the VR.

Regards

Geoff Higginbottom
CTO / Cloud Architect


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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HSx-apple-data-detectors://37



On 31 Jul 2014, at 15:40, Ugo Vasi 
ugo.v...@procne.itmailto:ugo.v...@procne.it wrote:

Hi everybody,
I installed a CloudStack 4.3.0 system with a manager (in a virtual machine), 
two NFS primary storage, one NFS secondary storare and two host agent on ubuntu 
distribution.

The cluster have one advanced zone without security group configuration with 
KVM hipervisors.

I create some VM but now does not allow me to create more giving the error 
message Unable to start a VM due to insufficient capacity.

I am sure that the resources (ip, ram, cpu and storage) are enough to create 
new instances. In dashboard I see all ok.

From the management-server.log I see this errors messages (see attachment for 
full version) when I try to deploy a new virtual machine with 1x1GHz cpu, 1GB 
or RAM and 20GB disk space:

2014-07-31 14:59:11,983 DEBUG [c.c.a.t.Request] (AgentManager-Handler-12:null) 
Seq 1-684594119: Processing:  { Ans: , MgmtId: 77916390353436, via: 1, Ver: v1, 
Flags: 10, 
[{com.cloud.agent.api.Answer:{result:true,wait:0}},{com.cloud.agent.api.Answer:{result:false,details:VmDataCommand
 failed, check agent logs,wait:0}}] }
2014-07-31 14:59:11,983 INFO  [c.c.v.VirtualMachineManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [DataCenter:1] is 
unreachable: Unable to apply userdata and password entry on router
2014-07-31 14:59:12,453 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting 
to Stopped with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: 7
2014-07-31 14:59:12,677 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Starting 
to Stopped with event: OperationFailedvm's original host id: null new host id: 
null host id before state transition: null
2014-07-31 14:59:12,708 DEBUG [c.c.v.UserVmManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) Destroying vm VM[User|csweb2] as it 
failed to create on Host with Id:null
2014-07-31 14:59:12,738 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-26:ctx-ab3aee38 ctx-d8600c16) VM state transitted from :Stopped 
to Error with event: OperationFailedToErrorvm's original host id: null new host 
id: null host id before state transition: null
2014-07-31 14:59:12,929 WARN  [o.a.c.alerts] (Job-Executor-26:ctx-ab3aee38 
ctx-d8600c16)  alertType:: 8 // dataCenterId:: 1 // podId:: 1 // clusterId:: 
null // message:: Failed to deploy Vm with Id: 70, on Host with Id: null
2014-07-31 14:59:13,159 ERROR [c.c.a.ApiAsyncJobDispatcher] 
(Job-Executor-26:ctx-ab3aee38) Unexpected exception while executing 
org.apache.cloudstack.api.command.user.vm.DeployVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to start a VM due to 
insufficient capacity
Caused by: com.cloud.exception.InsufficientServerCapacityException: Unable to 
create a deployment for VM[User|csweb2]Scope=interface com.cloud.dc.DataCenter; 
id=1
2014-07-31 14:59:13,161 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-26:ctx-ab3aee38) Complete async job-783, jobStatus: FAILED, 
resultCode: 530, result: 
org.apache.cloudstack.api.response.ExceptionResponse/null/{uuidList:[],errorcode:530,errortext:Unable
 to start a VM due to insufficient capacity}
2014-07-31 14:59:46,280 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) Stopped called on VM[User|csweb2] 
but the state is Error
2014-07-31 14:59:46,330 DEBUG [c.c.c.CapacityManagerImpl] 
(Job-Executor-27:ctx-82be396e ctx-41f0cf24) VM state transitted from :Error to 
Expunging with event: DestroyRequestedvm's original host id: null new host id: 
null host id before state transition: null

I tried to search in others log file (VmDataCommand failed, check agent 
logs), but I don't found nothing...

Can anyone Help me?

--

 U g o   V a s iugo.v...@procne.itmailto:ugo.v...@procne.it
 P r o c n e  s.r.l)
 via Cotonificio 45  33010 Tavagnacco IT
 phone: +390432486523 fax: +390432486523

Le informazioni contenute in questo messaggio sono riservate e
confidenziali ed ? vietata la diffusione in qualunque modo eseguita.
Qualora Lei non fosse la persona a cui il presente messaggio ?
destinato, La invitiamo ad eliminarlo e a non leggerlo, dandocene
gentilmente comunicazione.
Per qualsiasi informazione si prega di contattare 
supp...@procne.itmailto:supp...@procne.it .
Rif. D.L. 196/2003



Re: forcing an IP to a VM

2014-07-31 Thread Juan Gomez
Thank you Geoff 

Enviado desde mi iPhone

 El 31/07/2014, a las 14:53, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com escribió:
 
 Hi Juan,
 
 When you deploy a new VM, if you use the API you specify the IP the VM should 
 use.
 
 If the VM has already been deployed, you can update the DB  VR then restart 
 networking on the VM so it picks up the new IP.
 
 Regards
 
 Geoff Higginbottom
 CTO / Cloud Architect
 
 
 D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 
 0540tel:+442036030540 | M: +447968161581tel:+447968161581
 
 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
 www.shapeblue.comhtp://www.shapeblue.com/
 
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
 4HSx-apple-data-detectors://37
 
 
 
 On 31 Jul 2014, at 17:33, Juan Gomez Aranzazu 
 j.gome...@uniandes.edu.comailto:j.gome...@uniandes.edu.co wrote:
 
 Hi everybody,
 
 Can anyone help me telling me how to Force a VM that its on an advance zone 
 to use a predefine IP address. I had a vm that got corrupted and didn't want 
 to start anymore, so i created a second VM but i need to assign to it the 
 same IP that i had in the old VM how can i accomplish this?. Do i just make 
 the change in the database?.
 
 Thank you for your help.
 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 SA Pty Ltd is a company 
 registered by The Republic of South Africa and is traded under license from 
 Shape Blue Ltd. ShapeBlue is a registered trademark.

Email asegurado por Check Point


Re: forcing an IP to a VM

2014-07-31 Thread Juan Gomez
In which database table should the change be done ? 

Enviado desde mi iPhone

 El 31/07/2014, a las 14:53, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.com escribió:
 
 Hi Juan,
 
 When you deploy a new VM, if you use the API you specify the IP the VM should 
 use.
 
 If the VM has already been deployed, you can update the DB  VR then restart 
 networking on the VM so it picks up the new IP.
 
 Regards
 
 Geoff Higginbottom
 CTO / Cloud Architect
 
 
 D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 
 0540tel:+442036030540 | M: +447968161581tel:+447968161581
 
 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
 www.shapeblue.comhtp://www.shapeblue.com/
 
 ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
 4HSx-apple-data-detectors://37
 
 
 
 On 31 Jul 2014, at 17:33, Juan Gomez Aranzazu 
 j.gome...@uniandes.edu.comailto:j.gome...@uniandes.edu.co wrote:
 
 Hi everybody,
 
 Can anyone help me telling me how to Force a VM that its on an advance zone 
 to use a predefine IP address. I had a vm that got corrupted and didn't want 
 to start anymore, so i created a second VM but i need to assign to it the 
 same IP that i had in the old VM how can i accomplish this?. Do i just make 
 the change in the database?.
 
 Thank you for your help.
 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 SA Pty Ltd is a company 
 registered by The Republic of South Africa and is traded under license from 
 Shape Blue Ltd. ShapeBlue is a registered trademark.

Email asegurado por Check Point


awsapi vs ec2stack

2014-07-31 Thread Carlos Reátegui
Anyone out there using or have experience either/both of these that can comment 
on pros and cons?

Previously I was unsuccessful at getting awsapi working on 4.1 and only just 
today found out about ec2stack.  I was going to give it another try now that I 
am on 4.4 on one of my setups and was wondering if anyone had any 
comments/thoughts on these two options.

thanks,
Carlos

Running the cloudstack in simulator

2014-07-31 Thread abhisek basu
Hello All,

I am trying to run CS simulator (master branch latest). This setup is on cygwin 
running on Windows 8.1. Here is the error I am encountering:

$ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
:cloud-marvin integration-test
[INFO] Scanning for projects...
[INFO]
[INFO] 
[INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
[INFO] 
[INFO]
[INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
cloud-marvin ---
Downloading: 
http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
[INFO] Starting audit...
Audit done.

[INFO]
[INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
[INFO]
[INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin 
---
[INFO]
[INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
cloud-marvin ---
[INFO]
[INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin 
---
Traceback (most recent call last):
  File deployAndRun.py, line 24, in module
from marvinInit import MarvinInit
  File /home/abhisekb/cloudstack/tools/marvin/marvin/marvinInit.py, line 28, 
in module
from marvin.marvinLog import MarvinLog
  File /usr/lib/python2.7/site-packages/marvin/marvinLog.py, line 28, in 
module
from marvin.lib.utils import random_gen
  File /usr/lib/python2.7/site-packages/marvin/lib/utils.py, line 34, in 
module
from marvin.sshClient import SshClient
  File /usr/lib/python2.7/site-packages/marvin/sshClient.py, line 18, in 
module
from paramiko import (BadHostKeyException,
  File /usr/lib/python2.7/site-packages/paramiko/__init__.py, line 31, in 
module
from paramiko.transport import SecurityOptions, Transport
  File /usr/lib/python2.7/site-packages/paramiko/transport.py, line 55, in 
module
from paramiko.ecdsakey import ECDSAKey
  File /usr/lib/python2.7/site-packages/paramiko/ecdsakey.py, line 26, in 
module
from ecdsa import SigningKey, VerifyingKey, der, curves
ImportError: No module named ecdsa
[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 50.043 s
[INFO] Finished at: 2014-08-01T09:42:31+05:30
[INFO] Final Memory: 47M/118M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) - [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 Can someone help here?


Regards,

Abhisek   

RE: Running the cloudstack in simulator

2014-07-31 Thread abhisek basu
When I tried the below mentined command with -X;  more detailed error:

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 14.700 s
[INFO] Finished at: 2014-08-01T10:07:18+05:30
[INFO] Final Memory: 44M/118M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on 
project cloud-marvin: Command execution failed.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
failed.
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 1 (Exit value: 1)
at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
... 21 more

Any one?


Regards,

Abhisek Basu



 From: abhisekb...@msn.com
 To: users@cloudstack.apache.org
 Subject: Running the cloudstack in simulator
 Date: Fri, 1 Aug 2014 04:35:21 +
 
 Hello All,
 
 I am trying to run CS simulator (master branch latest). This setup is on 
 cygwin running on Windows 8.1. Here is the error I am encountering:
 
 $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
 :cloud-marvin integration-test
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
 [INFO] 
 
 [INFO]
 [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
 cloud-marvin ---
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
 [INFO] Starting audit...
 Audit done.
 
 [INFO]
 [INFO] --- gmaven-plugin:1.5:execute (setproperty) @ cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (generate-sources) @ cloud-marvin ---
 [INFO]
 [INFO] --- maven-remote-resources-plugin:1.3:process (default) @ cloud-marvin 
 ---
 [INFO]
 [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ 
 cloud-marvin ---
 [INFO]
 [INFO] --- exec-maven-plugin:1.2.1:exec (pre-integration-test) @ cloud-marvin 
 ---
 Traceback (most recent call last):
   File deployAndRun.py, line 24, in module
 from marvinInit import MarvinInit
   File 

RE: Running the cloudstack in simulator

2014-07-31 Thread Santhosh Edukulla
Below error suggests, you dont have a specific module. please use python 
2.7.x(specifically 6) and then try.

 ImportError: No module named ecdsa

Instead of going that route, just follow the below link, but for this as well, 
you need relevant packages for python. If you install marvin, it will install 
dependent packages.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Validating+check-ins+for+your+local+changes,+using+Simulator

santhosh

From: abhisek basu [abhisekb...@msn.com]
Sent: Friday, August 01, 2014 1:15 AM
To: CloudStack-Users
Subject: RE: Running the cloudstack in simulator

When I tried the below mentined command with -X;  more detailed error:

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 14.700 s
[INFO] Finished at: 2014-08-01T10:07:18+05:30
[INFO] Final Memory: 44M/118M
[INFO] 
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:exec 
(pre-integration-test) on project cloud-marvin: Command execution failed. 
Process exited with an error: 1 (Exit value: 1) - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (pre-integration-test) on 
project cloud-marvin: Command execution failed.
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at 
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Command execution 
failed.
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:362)
at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: org.apache.commons.exec.ExecuteException: Process exited with an 
error: 1 (Exit value: 1)
at 
org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:377)
at 
org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:160)
at org.codehaus.mojo.exec.ExecMojo.executeCommandLine(ExecMojo.java:610)
at org.codehaus.mojo.exec.ExecMojo.execute(ExecMojo.java:352)
... 21 more

Any one?


Regards,

Abhisek Basu



 From: abhisekb...@msn.com
 To: users@cloudstack.apache.org
 Subject: Running the cloudstack in simulator
 Date: Fri, 1 Aug 2014 04:35:21 +

 Hello All,

 I am trying to run CS simulator (master branch latest). This setup is on 
 cygwin running on Windows 8.1. Here is the error I am encountering:

 $ mvn -Pdeveloper,marvin.setup -Dmarvin.config=setup/dev/advanced.cfg -pl 
 :cloud-marvin integration-test
 [INFO] Scanning for projects...
 [INFO]
 [INFO] 
 
 [INFO] Building Apache CloudStack marvin 4.5.0-SNAPSHOT
 [INFO] 
 
 [INFO]
 [INFO] --- maven-checkstyle-plugin:2.11:check (cloudstack-checkstyle) @ 
 cloud-marvin ---
 Downloading: 
 http://repository.apache.org/snapshots/org/apache/cloudstack/checkstyle/4.5.0-SNAPSHOT/maven-metadata.xml
 

lxc on cloudstack

2014-07-31 Thread Osamu Ikehara
Hello,

I am stacking about cloudstack + lxc.

what I did is 

Ubuntu 14.04 trusty, cloudstack 4.4 installed from 
http://cloudstack.apt-get.eu/ubuntu/dists/trusty/

create management node - fine
add kvm cluster - fine
add kvm agent - fine
create second storage vm, console vm - fine
add lxc cluster - fine
add lxc agent - seems to be fine

add lxc instance adding iso - .

log is below.

is anyone able to create lxc instance on cloudstack?
what is the mean 'they are not HVM enabled' ?
please tell me how to create lxc.

Thank you.

2014-08-01 13:08:43,304 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56) Executing AsyncJobVO {id:56, userId: 
2, accountId: 2, instanceType: VirtualMachine, instanceId: 3, cmd: 
org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, cmdInfo: 
{serviceofferingid:ca9ec6a0-10e3-4101-9b4e-32da49929397,sessionkey:ZXZElEJY2wGlUjbYc8mYMTjEKDU\u003d,cmdEventType:VM.CREATE,ctxUserId:2,zoneid:e32f5ae1-5a01-4f44-b4ae-cc09419efd11,httpmethod:GET,templateid:60a6ae31-3690-4122-8cbe-ad106f18679f,response:json,id:3,ctxDetails:{\com.cloud.template.VirtualMachineTemplate\:\60a6ae31-3690-4122-8cbe-ad106f18679f\,\com.cloud.vm.VirtualMachine\:\f362e2be-e7a7-40a6-9388-556e95583d0b\,\com.cloud.offering.DiskOffering\:\842daf1f-bfd5-425b-a6f3-3f6fa06fd90a\,\com.cloud.dc.DataCenter\:\e32f5ae1-5a01-4f44-b4ae-cc09419efd11\,\com.cloud.offering.ServiceOffering\:\ca9ec6a0-10e3-4101-9b4e-32da49929397\},hypervisor:L
 
XC,iptonetworklist[0].networkid:c220e198-baf3-419d-b561-dddb2b79540a,_:1406866122712,uuid:f362e2be-e7a7-40a6-9388-556e95583d0b,ctxAccountId:2,diskofferingid:842daf1f-bfd5-425b-a6f3-3f6fa06fd90a,ctxStartEventId:147},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 109955820418, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2014-08-01 13:08:43,405 DEBUG [c.c.n.NetworkModelImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Service SecurityGroup is 
not supported in the network id=208
2014-08-01 13:08:43,408 DEBUG [c.c.n.NetworkModelImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Service SecurityGroup is 
not supported in the network id=208
2014-08-01 13:08:43,427 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Deploy avoids pods: [], 
clusters: [], hosts: []
2014-08-01 13:08:43,428 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) DeploymentPlanner 
allocation algorithm: com.cloud.deploy.FirstFitPlanner@5e99834a
2014-08-01 13:08:43,428 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Trying to allocate a 
host and storage pools from dc:2, pod:null,cluster:null, requested cpu: 500, 
requested ram: 536870912
2014-08-01 13:08:43,428 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Is ROOT volume READY 
(pool already allocated)?: No
2014-08-01 13:08:43,429 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Searching all possible 
resources under this Zone: 2
2014-08-01 13:08:43,430 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Listing clusters in 
order of aggregate capacity, that have (atleast one host with) enough CPU and 
RAM capacity under this Zone: 2
2014-08-01 13:08:43,433 DEBUG [c.c.d.FirstFitPlanner] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Removing from the 
clusterId list these clusters from avoid set: []
2014-08-01 13:08:43,439 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7) Checking resources in 
Cluster: 3 under Pod: 2
2014-08-01 13:08:43,439 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 FirstFitRoutingAllocator) 
Looking for hosts in dc: 2  pod:2  cluster:3
2014-08-01 13:08:43,441 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 FirstFitRoutingAllocator) 
FirstFitAllocator has 1 hosts to check for allocation: [Host[-5-Routing]]
2014-08-01 13:08:43,443 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 FirstFitRoutingAllocator) 
Not considering hosts: [Host[-5-Routing]]  to deploy template: 
Tmpl[201-ISO-201-2-e9eacfcd-1360-3e1d-8b5b-497997678249 as they are not HVM 
enabled
2014-08-01 13:08:43,444 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 FirstFitRoutingAllocator) 
Found 0 hosts for allocation after prioritization: []
2014-08-01 13:08:43,444 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 FirstFitRoutingAllocator) 
Looking for speed=500Mhz, Ram=512
2014-08-01 13:08:43,444 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(API-Job-Executor-52:ctx-0f32ce3a job-56 ctx-f436dcd7 

Re: forcing an IP to a VM

2014-07-31 Thread Geoff Higginbottom
I dint have a system in front of me at the moment to confirm (on vacation) but 
from memory I think it's the NICS table

Regards

Geoff Higginbottom
CTO / Cloud Architect

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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | 
www.shapeblue.comhtp://www.shapeblue.com/ | 
Twitter:@cloudstackguruhttps://twitter.com/#!/cloudstackguru

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HSx-apple-data-detectors://5


On 31 Jul 2014, at 21:09, Juan Gomez 
juan.go...@kumo.com.comailto:juan.go...@kumo.com.co wrote:

In which database table should the change be done ?

Enviado desde mi iPhone

El 31/07/2014, a las 14:53, Geoff Higginbottom 
geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com 
escribi?:

Hi Juan,

When you deploy a new VM, if you use the API you specify the IP the VM should 
use.

If the VM has already been deployed, you can update the DB  VR then restart 
networking on the VM so it picks up the new IP.

Regards

Geoff Higginbottom
CTO / Cloud Architect


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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com
 | www.shapeblue.comhttp://www.shapeblue.comhtp://www.shapeblue.com/

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 
4HSx-apple-data-detectors://37



On 31 Jul 2014, at 17:33, Juan Gomez Aranzazu 
j.gome...@uniandes.edu.comailto:j.gome...@uniandes.edu.comailto:j.gome...@uniandes.edu.co
 wrote:

Hi everybody,

Can anyone help me telling me how to Force a VM that its on an advance zone to 
use a predefine IP address. I had a vm that got corrupted and didn't want to 
start anymore, so i created a second VM but i need to assign to it the same IP 
that i had in the old VM how can i accomplish this?. Do i just make the change 
in the database?.

Thank you for your help.
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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.

Email asegurado por Check Point
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 SA Pty Ltd is a company 
registered by The Republic of South Africa and is traded under license from 
Shape Blue Ltd. ShapeBlue is a registered trademark.