Re: 关于安装devcloud 的问题

2013-09-05 Thread Bo Wang
检查一下你的环境变量
MAVEN_OPTS

看看这个变量里面有没有指定JAVA虚拟机内存大小,即制定Xmx
和MaxPermSize大小,一般指定了Java虚拟机内存大小的MAVEN_OPTS参数是这样的:
MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=500m -Xdebug
-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n


在 2013年9月5日上午11:44,Liu,Lin liulin0...@ufl.edu写道:

 请问一下,我在安装devcloud的时候,到了: mvn -pl client jetty:run
 这一步。可是总有报错,说runoutofmemory:**PermGen Space.(附了截屏)。我在vm的setting
 里system的base memory 里改了,但还是不管用。请问应该怎么解决呢。
 谢谢


Re: 请问主存储的大小最大可以为多少?

2013-09-05 Thread Bo Wang
我认为问题出在这里:

更新存储的时候 available_bytes=-184549376
注意后面是一个负数,字面理解应该是存储的“有效字节数”不应该是一个负数啊!况且按照表结构的定义也是这样,该字段是无符号的bigint,其范围是0~
18446744073709551615




2013/9/5 WXR 474745...@qq.com


 今天我在添加一个9T(9829107105792)大小主存储时,出现报错,看提示是操作的数字超过了storage_pool表的available_bytes字段的范围。
 不过我看数据库里这个字段的类型是bigint,应该是能够表示足够大的范围。
 请问cloudstack可以添加的主存储大小范围在多少呢,我遇到的这个问题是不是容量大小超过限制导致的?

 

 具体的日志内容如下:
 2013-09-05 10:02:02,042 DEBUG [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Adding pool data to  host 11
 2013-09-05 10:02:02,045 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Sending  { Cmd , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 100011,
 [{ModifyStoragePoolCommand:{add:true,pool:{id:202,uuid:c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,host:192.168.183.2,path:/data,port:2049,type:NetworkFilesystem},localPath:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (AgentManager-Handler-12:null) Seq 11-926745485: Processing:  { Ans: ,
 MgmtId: 196039272834978, via: 11, Ver: v1, Flags: 10,
 [{ModifyStoragePoolAnswer:{poolInfo:{host:192.168.183.2,localPath:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,hostPath:/data,poolType:NetworkFilesystem,capacityBytes:9829107105792,availableBytes:-184549376},templateInfo:{},result:true,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Received:  { Ans: , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 10, { ModifyStoragePoolAnswer } }
 2013-09-05 10:02:02,399 DEBUG [db.Transaction.Transaction]
 (catalina-exec-10:null) Rolling back the transaction: Time = 2 Name =
  update; called by
 -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-GenericDaoBase.update:775-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-GenericDaoBase.update:1256-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-StorageManagerImpl.connectHostToSharedPool:1652-StorageManagerImpl.createPool:1402-StorageManagerImpl.createPool:147
 2013-09-05 10:02:02,400 WARN  [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Unable to establish a connection between
 Host[-11-Routing] and Pool[202|NetworkFilesystem]
 com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
 com.mysql.jdbc.JDBC4PreparedStatement@4bdade88: UPDATE storage_pool SET
 storage_pool.available_bytes=-184549376,
 storage_pool.capacity_bytes=9829107105792 WHERE storage_pool.id = 202
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:822)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:775)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:1256)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at
 com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:1652)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1402)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:147)
 at
 org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:123)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
 at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 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
 

答复: 请问主存储的大小最大可以为多少?

2013-09-05 Thread 陈珂
看着像是因为,程序内部是通过int数据类型保存的,当一个long长度的数据被强制转
换为int类型,而这个数值又大于int的最大值时,系统自动截取了低位,成为了负值。
如下程序
long i=9829107105792l;
System.out.println( (int)i);
System.out.println(Long.toBinaryString(i));
System.out.println(Integer.toBinaryString((int)i));

System.out.println(Integer.toBinaryString(Integer.MAX_VALUE));

-2073034752
100011000111
11000111
 111

这应该属于程序的问题,不是数据库的问题。




-邮件原件-
发件人: Bo Wang [mailto:brito.w...@gmail.com] 
发送时间: 2013年9月5日 14:37
收件人: users-cn@cloudstack.apache.org
主题: Re: 请问主存储的大小最大可以为多少?

我认为问题出在这里:

更新存储的时候 available_bytes=-184549376
注意后面是一个负数,字面理解应该是存储的“有效字节数”不应该是一个负数啊!况
且按照表结构的定义也是这样,该字段是无符号的bigint,其范围是0~
18446744073709551615




2013/9/5 WXR 474745...@qq.com


 今天我在添加一个9T(9829107105792)大小主存储时,出现报错,看提示是操作的
数字超过了storage_pool表的availab
 le_bytes字段的范围。
 不过我看数据库里这个字段的类型是bigint,应该是能够表示足够大的范围。
 请问cloudstack可以添加的主存储大小范围在多少呢,我遇到的这个问题是不是容量
大小超过限制导致的?

 

 具体的日志内容如下:
 2013-09-05 10:02:02,042 DEBUG [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Adding pool data to  host 11
 2013-09-05 10:02:02,045 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Sending  { Cmd , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 100011, 
 [{ModifyStoragePoolCommand:{add:true,pool:{id:202,uuid:c9ce
 60bb-6cb2-3531-b36a-ca122f3ef3db,host:192.168.183.2,path:/data
 ,port:2049,type:NetworkFilesystem},localPath:/mnt//c9ce60bb-
 6cb2-3531-b36a-ca122f3ef3db,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (AgentManager-Handler-12:null) Seq 11-926745485: Processing:  { Ans: ,
 MgmtId: 196039272834978, via: 11, Ver: v1, Flags: 10, 
 [{ModifyStoragePoolAnswer:{poolInfo:{host:192.168.183.2,local
 Path:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,hostPath:/data,
 poolType:NetworkFilesystem,capacityBytes:9829107105792,availabl
 eBytes:-184549376},templateInfo:{},result:true,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Received:  { Ans: , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 10, { 
 ModifyStoragePoolAnswer } }
 2013-09-05 10:02:02,399 DEBUG [db.Transaction.Transaction]
 (catalina-exec-10:null) Rolling back the transaction: Time = 2 Name =  
 update; called by
 -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close
 :657-TransactionContextBuilder.interceptException:63-ComponentInstanti
 ationPostProcessor$InterceptorDispatcher.intercept:133-GenericDaoBase.
 update:775-ComponentInstantiationPostProcessor$InterceptorDispatcher.i
 ntercept:125-GenericDaoBase.update:1256-ComponentInstantiationPostProc
 essor$InterceptorDispatcher.intercept:125-StorageManagerImpl.connectHo
 stToSharedPool:1652-StorageManagerImpl.createPool:1402-StorageManagerI
 mpl.createPool:147
 2013-09-05 10:02:02,400 WARN  [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Unable to establish a connection between 
 Host[-11-Routing] and Pool[202|NetworkFilesystem]
 com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
 com.mysql.jdbc.JDBC4PreparedStatement@4bdade88: UPDATE storage_pool 
 SET storage_pool.available_bytes=-184549376,
 storage_pool.capacity_bytes=9829107105792 WHERE storage_pool.id = 202
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:822)
 at

com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:775)
 at

com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:1256)
 at

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

com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerI
mpl.java:1652)
 at

com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1402
)
 at

com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:147)
 at

org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute
(CreateStoragePoolCmd.java:123)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
 at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 at


xenserver虚拟机迁移

2013-09-05 Thread 许叁征
大家好,

请教 下,现在有xenserver 虚拟机192.68.3.34 的虚拟 机有数台想迁移到不同网段的
172.11.11.上去,目标也是xenserver 

 如何操作。

 

 

 

 

 

许叁征

网宿科技股份有限公司  厦门分公司 运营技术支持部


line1


 tel:021-64871177 Tel:13860125907  

E-mail:x...@chinanetcenter.com
 http://www.chinanetcenter.com/ http://www.chinanetcenter.com

cid:__1@Foxmail.net

分公司:北京-上海-广州-深圳   

免费咨询热线:800-820-0001

网宿科技 --卓越的互联网业务平台提供商

 

  _  

 



Re: 请问主存储的大小最大可以为多少?

2013-09-05 Thread Wei ZHOU
能列一下virsh pool-list --details的运行结果吗?


2013/9/5 WXR 474745...@qq.com


 今天我在添加一个9T(9829107105792)大小主存储时,出现报错,看提示是操作的数字超过了storage_pool表的available_bytes字段的范围。
 不过我看数据库里这个字段的类型是bigint,应该是能够表示足够大的范围。
 请问cloudstack可以添加的主存储大小范围在多少呢,我遇到的这个问题是不是容量大小超过限制导致的?

 

 具体的日志内容如下:
 2013-09-05 10:02:02,042 DEBUG [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Adding pool data to  host 11
 2013-09-05 10:02:02,045 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Sending  { Cmd , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 100011,
 [{ModifyStoragePoolCommand:{add:true,pool:{id:202,uuid:c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,host:192.168.183.2,path:/data,port:2049,type:NetworkFilesystem},localPath:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (AgentManager-Handler-12:null) Seq 11-926745485: Processing:  { Ans: ,
 MgmtId: 196039272834978, via: 11, Ver: v1, Flags: 10,
 [{ModifyStoragePoolAnswer:{poolInfo:{host:192.168.183.2,localPath:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,hostPath:/data,poolType:NetworkFilesystem,capacityBytes:9829107105792,availableBytes:-184549376},templateInfo:{},result:true,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Received:  { Ans: , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 10, { ModifyStoragePoolAnswer } }
 2013-09-05 10:02:02,399 DEBUG [db.Transaction.Transaction]
 (catalina-exec-10:null) Rolling back the transaction: Time = 2 Name =
  update; called by
 -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptException:63-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:133-GenericDaoBase.update:775-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-GenericDaoBase.update:1256-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-StorageManagerImpl.connectHostToSharedPool:1652-StorageManagerImpl.createPool:1402-StorageManagerImpl.createPool:147
 2013-09-05 10:02:02,400 WARN  [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Unable to establish a connection between
 Host[-11-Routing] and Pool[202|NetworkFilesystem]
 com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
 com.mysql.jdbc.JDBC4PreparedStatement@4bdade88: UPDATE storage_pool SET
 storage_pool.available_bytes=-184549376,
 storage_pool.capacity_bytes=9829107105792 WHERE storage_pool.id = 202
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:822)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:775)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:1256)
 at
 com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at
 com.cloud.storage.StorageManagerImpl.connectHostToSharedPool(StorageManagerImpl.java:1652)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1402)
 at
 com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:147)
 at
 org.apache.cloudstack.api.command.admin.storage.CreateStoragePoolCmd.execute(CreateStoragePoolCmd.java:123)
 at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
 at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
 at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
 at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
 at com.cloud.api.ApiServlet.doGet(ApiServlet.java:66)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 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)
 

??????????: ????????????????????????????????

2013-09-05 Thread WXR
??
??9T2T??
cloudstack??4.1.0??hypervisor??kvm??cloudstack??bug??




--  --
??: ;che...@ourfuture.cn;
: 2013??9??5??(??) 3:50
??: users-cnusers-cn@cloudstack.apache.org; 

: : 



int??long??
int??int

long i=9829107105792l;
System.out.println( (int)i);
System.out.println(Long.toBinaryString(i));
System.out.println(Integer.toBinaryString((int)i));

System.out.println(Integer.toBinaryString(Integer.MAX_VALUE));

-2073034752
100011000111
11000111
 111






--
??: Bo Wang [mailto:brito.w...@gmail.com] 
: 2013??9??5?? 14:37
??: users-cn@cloudstack.apache.org
: Re: 



?? available_bytes=-184549376

bigint??0~
18446744073709551615




2013/9/5 WXR 474745...@qq.com


 9T??9829107105792
??storage_poolavailab
 le_bytes
 bigint??
 cloudstack
???

 

 
 2013-09-05 10:02:02,042 DEBUG [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Adding pool data to  host 11
 2013-09-05 10:02:02,045 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Sending  { Cmd , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 100011, 
 [{ModifyStoragePoolCommand:{add:true,pool:{id:202,uuid:c9ce
 60bb-6cb2-3531-b36a-ca122f3ef3db,host:192.168.183.2,path:/data
 ,port:2049,type:NetworkFilesystem},localPath:/mnt//c9ce60bb-
 6cb2-3531-b36a-ca122f3ef3db,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (AgentManager-Handler-12:null) Seq 11-926745485: Processing:  { Ans: ,
 MgmtId: 196039272834978, via: 11, Ver: v1, Flags: 10, 
 [{ModifyStoragePoolAnswer:{poolInfo:{host:192.168.183.2,local
 Path:/mnt//c9ce60bb-6cb2-3531-b36a-ca122f3ef3db,hostPath:/data,
 poolType:NetworkFilesystem,capacityBytes:9829107105792,availabl
 eBytes:-184549376},templateInfo:{},result:true,wait:0}}]
 }
 2013-09-05 10:02:02,350 DEBUG [agent.transport.Request]
 (catalina-exec-10:null) Seq 11-926745485: Received:  { Ans: , MgmtId:
 196039272834978, via: 11, Ver: v1, Flags: 10, { 
 ModifyStoragePoolAnswer } }
 2013-09-05 10:02:02,399 DEBUG [db.Transaction.Transaction]
 (catalina-exec-10:null) Rolling back the transaction: Time = 2 Name =  
 update; called by
 -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close
 :657-TransactionContextBuilder.interceptException:63-ComponentInstanti
 ationPostProcessor$InterceptorDispatcher.intercept:133-GenericDaoBase.
 update:775-ComponentInstantiationPostProcessor$InterceptorDispatcher.i
 ntercept:125-GenericDaoBase.update:1256-ComponentInstantiationPostProc
 essor$InterceptorDispatcher.intercept:125-StorageManagerImpl.connectHo
 stToSharedPool:1652-StorageManagerImpl.createPool:1402-StorageManagerI
 mpl.createPool:147
 2013-09-05 10:02:02,400 WARN  [cloud.storage.StorageManagerImpl]
 (catalina-exec-10:null) Unable to establish a connection between 
 Host[-11-Routing] and Pool[202|NetworkFilesystem]
 com.cloud.utils.exception.CloudRuntimeException: DB Exception on:
 com.mysql.jdbc.JDBC4PreparedStatement@4bdade88: UPDATE storage_pool 
 SET storage_pool.available_bytes=-184549376,
 storage_pool.capacity_bytes=9829107105792 WHERE storage_pool.id = 202
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:822)
 at

com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:775)
 at

com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDis
patcher.intercept(ComponentInstantiationPostProcessor.java:125)
 at com.cloud.utils.db.GenericDaoBase.update(GenericDaoBase.java:1256)
 at

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


RE: cloudstack4.2源码搭建agent环境?

2013-09-05 Thread 王耀锋
我是使用kvm+ubuntu环境,这能说的详细点吗? 还有就是一定要打成deb包吗, 能不能直接想maven启动管理平台一样,启动?

 Date: Thu, 5 Sep 2013 09:46:51 +0200
 Subject: Re: cloudstack4.2源码搭建agent环境?
 From: ustcweiz...@gmail.com
 To: users-cn@cloudstack.apache.org
 
 如果是xenserver/vmware,不需要安装agent。可以参考4.1的installation guide来配置。
 如果是kvm,可以使用进入packaging/centos63/运行package.sh来建rpm(centos/rhel),或者使用dpkg-buildpackage
 -uc -us创建deb (ubuntu)
 
 
 在 2013年9月5日上午7:56,王耀锋 wilc...@hotmail.com写道:
 
  我使用cloudstack4.2源码搭建了management的
  环境,可以登录到界面上,现在我想添加一个主机,不知道怎么在服务器上运行4.2的cloud-agent?
 
  

Re: SSVM stopped

2013-09-05 Thread Kashif Ali
Hello amar and sanjay,
thanx for reply they are at starting state but after they their status
turned to stopped ... so i deleted them but dont get rid of problem
.
and i have pasted some exceptions i found and also attaching my management
server log file .


2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
(AgentTaskPool-2:null) Sending Disconnect to listener:
com.cloud.storage.secondary.SecondaryStorageListener
2013-08-31 06:16:33,487 DEBUG [cloud.ha.ManagementIPSystemVMInvestigator]
(HA-Worker-0:work-2) unable to determine state of
VM[SecondaryStorageVm|s-401-VM] returning null
2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-0:work-2) We were unable to fence off the VM
VM[SecondaryStorageVm|s-401-VM]

2013-08-31 06:16:33,571 WARN
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Exception while trying to start secondary storage vm
com.cloud.exception.InsufficientServerCapacityException: Unable to create a
deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
com.cloud.dc.DataCenter; id=1

2013-08-31 06:16:33,575 INFO
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable
to start secondary storage vm for standby capacity, secStorageVm vm Id :
401, will recycle it and start a new one
2013-08-31 06:16:33,575 INFO
[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
Primary secondary storage is not even started, wait until next turn

[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
Primary secondary storage is not even started, wait until next turn
2013-08-31 06:16:33,584 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is not ready to launch secondary storage VM yet
2013-08-31 06:16:33,591 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is not ready to launch secondary storage VM yet
2013-08-31 06:16:33,597 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
is not ready to launch secondary storage VM yet


On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi
sanjay.tripa...@citrix.comwrote:

 Can you share some exception/error related management-server logs.

 --Sanjay

  -Original Message-
  From: Kashif Ali [mailto:temujin...@gmail.com]
  Sent: Wednesday, September 04, 2013 4:06 PM
  To: users@cloudstack.apache.org
  Subject: SSVM stopped
 
  Hello everyone,
  My SSVM and CPVM are not running, i have deleted them once so that
  cloudstack will automatically create it but again these are not
 working.i am
  also unable to ssh SSVM private IP, that i copied while it was in
 starting mode,
  from my host.
 
 
  --
  Regards,
 
  *Kashif Ali*
  Undergraduate Student | 7th Semester
  BESE-1A | NUST-SEECS | Islamabad
  10besek...@seecs.edu.pk




-- 
-- 
Regards,

*Kashif Ali*
Undergraduate Student | 7th Semester
BESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk


RE: Re: SSVM stopped

2013-09-05 Thread Minh
 Hello,


Can you specify more information about your configuration? If you are using 
XenServer hypervisor host, then the problem may comes from an outdated 
vhd-util file (the vhd-util file in the 4.1.x guide's link lacks an argument) 
that can cause the SSVM and CPVM to keep restarting.


If there is a line like cannot create VDI in sr then I think that would be 
the problem; hope it helps.
 

---Original Message---
From: Kashif Ali temujin...@gmail.com
To: users@cloudstack.apache.org
Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
Subject: Re: SSVM stopped

Hello amar and sanjay,
thanx for reply they are at starting state but after they their status turned 
to stopped ... so i deleted them but dont get rid of problem .
and i have pasted some exceptions i found and also attaching my management 
server log file .


2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl] 
(AgentTaskPool-2:null) Sending Disconnect to listener: 
com.cloud.storage.secondary.SecondaryStorageListener
2013-08-31 06:16:33,487 DEBUG [cloud.ha.ManagementIPSystemVMInvestigator] 
(HA-Worker-0:work-2) unable to determine state of 
VM[SecondaryStorageVm|s-401-VM] returning null
2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-0:work-2) We were unable to fence off the VM 
VM[SecondaryStorageVm|s-401-VM]

2013-08-31 06:16:33,571 WARN  [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Exception while trying to start secondary storage vm
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1

2013-08-31 06:16:33,575 INFO  [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Unable to start secondary storage vm for standby capacity, 
secStorageVm vm Id : 401, will recycle it and start a new one
2013-08-31 06:16:33,575 INFO  
[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) 
Primary secondary storage is not even started, wait until next turn

[cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null) 
Primary secondary storage is not even started, wait until next turn
2013-08-31 06:16:33,584 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2013-08-31 06:16:33,591 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2013-08-31 06:16:33,597 DEBUG [storage.secondary.SecondaryStorageManagerImpl] 
(secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet



On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi sanjay.tripa...@citrix.com 
wrote:

Can you share some exception/error related management-server logs.

--Sanjay

 -Original Message-
 From: Kashif Ali [mailto:temujin...@gmail.com]
 Sent: Wednesday, September 04, 2013 4:06 PM
 To: users@cloudstack.apache.org
 Subject: SSVM stopped

 Hello everyone,
 My SSVM and CPVM are not running, i have deleted them once so that
 cloudstack will automatically create it but again these are not working.i am
 also unable to ssh SSVM private IP, that i copied while it was in starting 
 mode,
 from my host.


 --
 Regards,

 *Kashif Ali*
 Undergraduate Student | 7th Semester
 BESE-1A | NUST-SEECS | Islamabad
 10besek...@seecs.edu.pk



-- 
-- 
Regards,

Kashif Ali
Undergraduate Student | 7th SemesterBESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk




Re: Re: SSVM stopped

2013-09-05 Thread Amar Krishna
Hi Kashif,

 Check that vm with name S-*-VM and V-*-VM is getting  created in
hypervisor or not ,If it is not getting created in hypervisor then  the
problem would be  with system vm template or storage,if it is getting
created at hypervisor then in cloudstack check the allocated local ip and
try to ping it from management server.If it is not pinging then you will
have check your network conf.

Specify more information about your setup.

Thanks
Amar krishna

On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:

  Hello,


 Can you specify more information about your configuration? If you are
 using XenServer hypervisor host, then the problem may comes from an
 outdated vhd-util file (the vhd-util file in the 4.1.x guide's link lacks
 an argument) that can cause the SSVM and CPVM to keep restarting.


 If there is a line like cannot create VDI in sr then I think that would
 be the problem; hope it helps.


 ---Original Message---
 From: Kashif Ali temujin...@gmail.com
 To: users@cloudstack.apache.org
 Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
 Subject: Re: SSVM stopped

 Hello amar and sanjay,
 thanx for reply they are at starting state but after they their status
 turned to stopped ... so i deleted them but dont get rid of problem
 .
 and i have pasted some exceptions i found and also attaching my management
 server log file .


 2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
 (AgentTaskPool-2:null) Sending Disconnect to listener:
 com.cloud.storage.secondary.SecondaryStorageListener
 2013-08-31 06:16:33,487 DEBUG [cloud.ha.ManagementIPSystemVMInvestigator]
 (HA-Worker-0:work-2) unable to determine state of
 VM[SecondaryStorageVm|s-401-VM] returning null
 2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
 (HA-Worker-0:work-2) We were unable to fence off the VM
 VM[SecondaryStorageVm|s-401-VM]

 2013-08-31 06:16:33,571 WARN
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Exception while trying to start secondary storage vm
 com.cloud.exception.InsufficientServerCapacityException: Unable to create
 a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
 com.cloud.dc.DataCenter; id=1

 2013-08-31 06:16:33,575 INFO
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Unable
 to start secondary storage vm for standby capacity, secStorageVm vm Id :
 401, will recycle it and start a new one
 2013-08-31 06:16:33,575 INFO
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
 Primary secondary storage is not even started, wait until next turn

 [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
 Primary secondary storage is not even started, wait until next turn
 2013-08-31 06:16:33,584 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
 is not ready to launch secondary storage VM yet
 2013-08-31 06:16:33,591 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
 is not ready to launch secondary storage VM yet
 2013-08-31 06:16:33,597 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
 is not ready to launch secondary storage VM yet



 On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi 
 sanjay.tripa...@citrix.com wrote:

 Can you share some exception/error related management-server logs.

 --Sanjay

  -Original Message-
  From: Kashif Ali [mailto:temujin...@gmail.com]
  Sent: Wednesday, September 04, 2013 4:06 PM
  To: users@cloudstack.apache.org
  Subject: SSVM stopped
 
  Hello everyone,
  My SSVM and CPVM are not running, i have deleted them once so that
  cloudstack will automatically create it but again these are not
 working.i am
  also unable to ssh SSVM private IP, that i copied while it was in
 starting mode,
  from my host.
 
 
  --
  Regards,
 
  *Kashif Ali*
  Undergraduate Student | 7th Semester
  BESE-1A | NUST-SEECS | Islamabad
  10besek...@seecs.edu.pk



 --
 --
 Regards,

 Kashif Ali
 Undergraduate Student | 7th SemesterBESE-1A | NUST-SEECS | Islamabad
 10besek...@seecs.edu.pk





-- 
THANKS AND REGARDS
 AMAR KRISHNA
 MOB-8969394494


Re: Re: SSVM stopped

2013-09-05 Thread Kashif Ali
thanx for helping me ..
Minh,Amar i am using KVM as a host installed virtually in my management
server PC ... and amar how can i check that whether these are creating
into hypervisor or not .. i think its storage problem problem but dont
know how to solve this . i have followed the following link for
installation
http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-server-installation/
and for configuration internal DNS, and guest gateway is my university DNS
server i.e 10.3.20.16
and DNS server is 8.8.8.8
secondary storage and primary storage is my management server IP address
i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , range of
guest ip is 10.2.31.111-10.2.31.210

i will be very grate full to you if you solve my problem ...



On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna amar...@gmail.com wrote:

 Hi Kashif,

  Check that vm with name S-*-VM and V-*-VM is getting  created in
 hypervisor or not ,If it is not getting created in hypervisor then  the
 problem would be  with system vm template or storage,if it is getting
 created at hypervisor then in cloudstack check the allocated local ip and
 try to ping it from management server.If it is not pinging then you will
 have check your network conf.

 Specify more information about your setup.

 Thanks
 Amar krishna

 On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:

   Hello,
 
 
  Can you specify more information about your configuration? If you are
  using XenServer hypervisor host, then the problem may comes from an
  outdated vhd-util file (the vhd-util file in the 4.1.x guide's link
 lacks
  an argument) that can cause the SSVM and CPVM to keep restarting.
 
 
  If there is a line like cannot create VDI in sr then I think that would
  be the problem; hope it helps.
 
 
  ---Original Message---
  From: Kashif Ali temujin...@gmail.com
  To: users@cloudstack.apache.org
  Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
  Subject: Re: SSVM stopped
 
  Hello amar and sanjay,
  thanx for reply they are at starting state but after they their status
  turned to stopped ... so i deleted them but dont get rid of problem
  .
  and i have pasted some exceptions i found and also attaching my
 management
  server log file .
 
 
  2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
  (AgentTaskPool-2:null) Sending Disconnect to listener:
  com.cloud.storage.secondary.SecondaryStorageListener
  2013-08-31 06:16:33,487 DEBUG [cloud.ha.ManagementIPSystemVMInvestigator]
  (HA-Worker-0:work-2) unable to determine state of
  VM[SecondaryStorageVm|s-401-VM] returning null
  2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
  (HA-Worker-0:work-2) We were unable to fence off the VM
  VM[SecondaryStorageVm|s-401-VM]
 
  2013-08-31 06:16:33,571 WARN
   [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Exception while trying to start secondary storage vm
  com.cloud.exception.InsufficientServerCapacityException: Unable to create
  a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
  com.cloud.dc.DataCenter; id=1
 
  2013-08-31 06:16:33,575 INFO
   [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Unable
  to start secondary storage vm for standby capacity, secStorageVm vm Id :
  401, will recycle it and start a new one
  2013-08-31 06:16:33,575 INFO
   [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
 (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
 
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
  2013-08-31 06:16:33,584 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
 1
  is not ready to launch secondary storage VM yet
  2013-08-31 06:16:33,591 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
 1
  is not ready to launch secondary storage VM yet
  2013-08-31 06:16:33,597 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
 1
  is not ready to launch secondary storage VM yet
 
 
 
  On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi 
  sanjay.tripa...@citrix.com wrote:
 
  Can you share some exception/error related management-server logs.
 
  --Sanjay
 
   -Original Message-
   From: Kashif Ali [mailto:temujin...@gmail.com]
   Sent: Wednesday, September 04, 2013 4:06 PM
   To: users@cloudstack.apache.org
   Subject: SSVM stopped
  
   Hello everyone,
   My SSVM and CPVM are not running, i have deleted them once so that
   cloudstack will automatically create it but again these are not
  working.i am
   also unable to ssh SSVM private IP, that i copied while it was in
  starting mode,
   from my host.
  
  
   --
   Regards,
  
   *Kashif Ali*
   Undergraduate Student | 7th Semester
   BESE-1A | NUST-SEECS | Islamabad
   

Re: Re: SSVM stopped

2013-09-05 Thread Kashif Ali
i am using KVM but i tutorial i have installed following vhd-utils 
*http://download.cloud.com.s3.amazonaws.com/tools/vhd-util*
http://download.cloud.com.s3.amazonaws.com/tools/vhd-util


On Thu, Sep 5, 2013 at 2:36 PM, Kashif Ali temujin...@gmail.com wrote:

 thanx for helping me ..
 Minh,Amar i am using KVM as a host installed virtually in my management
 server PC ... and amar how can i check that whether these are creating
 into hypervisor or not .. i think its storage problem problem but dont
 know how to solve this . i have followed the following link for
 installation

 http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-server-installation/
 and for configuration internal DNS, and guest gateway is my university DNS
 server i.e 10.3.20.16
 and DNS server is 8.8.8.8
 secondary storage and primary storage is my management server IP address
 i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , range of
 guest ip is 10.2.31.111-10.2.31.210

 i will be very grate full to you if you solve my problem ...



 On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna amar...@gmail.com wrote:

 Hi Kashif,

  Check that vm with name S-*-VM and V-*-VM is getting  created in
 hypervisor or not ,If it is not getting created in hypervisor then  the
 problem would be  with system vm template or storage,if it is getting
 created at hypervisor then in cloudstack check the allocated local ip and
 try to ping it from management server.If it is not pinging then you will
 have check your network conf.

 Specify more information about your setup.

 Thanks
 Amar krishna

 On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:

   Hello,
 
 
  Can you specify more information about your configuration? If you are
  using XenServer hypervisor host, then the problem may comes from an
  outdated vhd-util file (the vhd-util file in the 4.1.x guide's link
 lacks
  an argument) that can cause the SSVM and CPVM to keep restarting.
 
 
  If there is a line like cannot create VDI in sr then I think that
 would
  be the problem; hope it helps.
 
 
  ---Original Message---
  From: Kashif Ali temujin...@gmail.com
  To: users@cloudstack.apache.org
  Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
  Subject: Re: SSVM stopped
 
  Hello amar and sanjay,
  thanx for reply they are at starting state but after they their status
  turned to stopped ... so i deleted them but dont get rid of problem
  .
  and i have pasted some exceptions i found and also attaching my
 management
  server log file .
 
 
  2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
  (AgentTaskPool-2:null) Sending Disconnect to listener:
  com.cloud.storage.secondary.SecondaryStorageListener
  2013-08-31 06:16:33,487 DEBUG
 [cloud.ha.ManagementIPSystemVMInvestigator]
  (HA-Worker-0:work-2) unable to determine state of
  VM[SecondaryStorageVm|s-401-VM] returning null
  2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
  (HA-Worker-0:work-2) We were unable to fence off the VM
  VM[SecondaryStorageVm|s-401-VM]
 
  2013-08-31 06:16:33,571 WARN
   [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Exception while trying to start secondary storage vm
  com.cloud.exception.InsufficientServerCapacityException: Unable to
 create
  a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
  com.cloud.dc.DataCenter; id=1
 
  2013-08-31 06:16:33,575 INFO
   [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Unable
  to start secondary storage vm for standby capacity, secStorageVm vm Id :
  401, will recycle it and start a new one
  2013-08-31 06:16:33,575 INFO
   [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
 (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
 
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
 (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
  2013-08-31 06:16:33,584 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
  is not ready to launch secondary storage VM yet
  2013-08-31 06:16:33,591 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
  is not ready to launch secondary storage VM yet
  2013-08-31 06:16:33,597 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
  is not ready to launch secondary storage VM yet
 
 
 
  On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi 
  sanjay.tripa...@citrix.com wrote:
 
  Can you share some exception/error related management-server logs.
 
  --Sanjay
 
   -Original Message-
   From: Kashif Ali [mailto:temujin...@gmail.com]
   Sent: Wednesday, September 04, 2013 4:06 PM
   To: users@cloudstack.apache.org
   Subject: SSVM stopped
  
   Hello everyone,
   My SSVM and CPVM are not running, i have deleted them once so that
   cloudstack will automatically 

Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread France

Hi all.

has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on 
XenServer 6.0.2 with CS 4.1.1?

If so, how was it done? Maybe you shoud share the template with us? :-)
Officially only 10.* is supported: 
https://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf


On a related notes, is there a site with XenServer templates where one 
cloud find such a template?


Thanks.
F.


Re: Some network offerings missing after creating them

2013-09-05 Thread Geoff Higginbottom
Nick,

Are you using an Advanced or Basic Zone?

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.com

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



On 5 Sep 2013, at 01:57, Nick Burke 
n...@nickburke.commailto:n...@nickburke.com wrote:

Hi Geoff,

Thanks again for your reply and patience. I'm relieved to hear it's
possible with a little elbow grease!

I have no problem starting again what-so-ever with anything. This is
preproduction. I've been doing regular 'drop database cloud's so anything
dangerous can easily be done.

I think a large part of my problem is there is no add guest network in
Infrastructure / Zones / your-zone-name / Physical Network Tab /
your-network-name (the one with Guest Traffic) / Guest-Configure / Network
Tab. (See screen shot:  http://i.imgur.com/fOtttgD.png ). There are no
right click options either. I'm running version  4.1.1, if there is some
kind of version thing happening here.


Regarding API, can I use cloudmonkey or do I have to start doing research
into the API calls?


On Wed, Sep 4, 2013 at 6:18 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com 
wrote:

Hi Nick

What you are trying to do is achievable, but you need to start again, as
once you have created a network which has taken its VLAN from the Default
Guest VLAN range you cannot change the network Offering to one which has
the 'Specify VLAN' option set.

Fortunately you can create the new networks you need using the correct
Network Offerings, then use the 'addNicToVirtualMachine' and
'removeNicFromVirtualMachine' API commands to add the new Networks to the
VM, and remove the old ones.



I would create two network offerings, I'll call them 'External' and
'Internal'

'External' should not have any 'Services' as it does not need them, that
way no VR will be created for this Network. Assign a 'Name' 'Description',
and check the 'Specify VLAN' option as you want to manually set the VLAN ID
so it can connect to your external physical Router.  You do not need the
'Persistent' feature as there will be no VR.

'Internal' should have 'Specify VLAN' checked and 'DHCP' and 'DNS'
services enabled, all set to 'Virtual Router' You don't need the
'Persistent' option as this simply keeps the VR running when you have no
VMs, and as you want to run a 'Intrusion Detection' VM you will always have
one running, and the VLAN is persistent even if do shut all VMs down, as
you used the 'Specify VLAN' option.

To actually create the networks you cannot use the main 'Network' tab, you
must navigate to:

Infrastructure / Zones / your-zone-name / Physical Network Tab /
your-network-name (the one with Guest Traffic) / Guest-Configure / Network
Tab

Then click 'Add Guest Network' and set the 'scope' to account, you will
now see the two new Network Offerings listed (as long as you enabled them).
Create the 'External' Network with 'VLAN ID' of 200 and 'Guest Gateway'
set to the IP of the Physical Router connected to the Internet.  Set the
'Guest Start IP' and 'Guest End IP' range so that it spans the IP you want
to allocate to the External interface of your VM.  Although you will be
setting the IP on the VM manually, and even though we did not assign the
DHCP service to this Network, CloudStack will still allocate an IP to this
VM and this will appear in the GUI.  To keep things neat I always use the
API to allocate the IP of the VM when I create it so that the CloudStack
allocated IP and my manually configured IP are the same.

Repeat the process to create your 'Internal' network, setting the 'VLAN
ID' to 100, the 'Guest Gateway' to the IP you intend to allocate to the
Internal Interface of your Intrusion Detection VM, and setting 'Guest Start
IP' and 'Guest End IP', ensuring they do not overlap the Guest Gateway.
Note that the VR which gets created to handle the DHCP and DNS will be
allocated the 1st IP from the Guest Range.

Now create your Intrusion Detection VM using the API and not the GUI so
you can specify the IPs for the External and Internal Interfaces, and set
the External as the Default.  Once created, you can add additional VMs onto
the Internal Network, and they will use the 'Intrusion Detection VM' as
their Gateway.

Note that the VLANs you use for the External and Internal networks must be
outside of the default Guest VLAN Range.

Regards

Geoff Higginbottom

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

geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com

-Original Message-
From: Nick Burke [mailto:n...@nickburke.com]
Sent: 04 September 2013 18:56
To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org
Subject: Re: Some network offerings missing after creating them

Hello Geoff,

Thank you for replying!

I 

Re: Some network offerings missing after creating them

2013-09-05 Thread Geoff Higginbottom
Sorry just looked at screen shot and you do appear to running an advanced zone.

There have been a few GUI bugs creep in with 4.1.1 in relation to networking, 
this looks like another I have not seen reported so please raise it as an issue.

CloudMonkey provides an easier way to use the API so yes you can just use 
CloudMonkey

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.com

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



On 5 Sep 2013, at 07:24, Geoff Higginbottom 
geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com 
wrote:

Nick,

Are you using an Advanced or Basic Zone?

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.com

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



On 5 Sep 2013, at 01:57, Nick Burke 
n...@nickburke.commailto:n...@nickburke.commailto:n...@nickburke.com 
wrote:

Hi Geoff,

Thanks again for your reply and patience. I'm relieved to hear it's
possible with a little elbow grease!

I have no problem starting again what-so-ever with anything. This is
preproduction. I've been doing regular 'drop database cloud's so anything
dangerous can easily be done.

I think a large part of my problem is there is no add guest network in
Infrastructure / Zones / your-zone-name / Physical Network Tab /
your-network-name (the one with Guest Traffic) / Guest-Configure / Network
Tab. (See screen shot:  http://i.imgur.com/fOtttgD.png ). There are no
right click options either. I'm running version  4.1.1, if there is some
kind of version thing happening here.


Regarding API, can I use cloudmonkey or do I have to start doing research
into the API calls?


On Wed, Sep 4, 2013 at 6:18 PM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com
 wrote:

Hi Nick

What you are trying to do is achievable, but you need to start again, as
once you have created a network which has taken its VLAN from the Default
Guest VLAN range you cannot change the network Offering to one which has
the 'Specify VLAN' option set.

Fortunately you can create the new networks you need using the correct
Network Offerings, then use the 'addNicToVirtualMachine' and
'removeNicFromVirtualMachine' API commands to add the new Networks to the
VM, and remove the old ones.



I would create two network offerings, I'll call them 'External' and
'Internal'

'External' should not have any 'Services' as it does not need them, that
way no VR will be created for this Network. Assign a 'Name' 'Description',
and check the 'Specify VLAN' option as you want to manually set the VLAN ID
so it can connect to your external physical Router.  You do not need the
'Persistent' feature as there will be no VR.

'Internal' should have 'Specify VLAN' checked and 'DHCP' and 'DNS'
services enabled, all set to 'Virtual Router' You don't need the
'Persistent' option as this simply keeps the VR running when you have no
VMs, and as you want to run a 'Intrusion Detection' VM you will always have
one running, and the VLAN is persistent even if do shut all VMs down, as
you used the 'Specify VLAN' option.

To actually create the networks you cannot use the main 'Network' tab, you
must navigate to:

Infrastructure / Zones / your-zone-name / Physical Network Tab /
your-network-name (the one with Guest Traffic) / Guest-Configure / Network
Tab

Then click 'Add Guest Network' and set the 'scope' to account, you will
now see the two new Network Offerings listed (as long as you enabled them).
Create the 'External' Network with 'VLAN ID' of 200 and 'Guest Gateway'
set to the IP of the Physical Router connected to the Internet.  Set the
'Guest Start IP' and 'Guest End IP' range so that it spans the IP you want
to allocate to the External interface of your VM.  Although you will be
setting the IP on the VM manually, and even though we did not assign the
DHCP service to this Network, CloudStack will still allocate an IP to this
VM and this will appear in the GUI.  To keep things neat I always use the
API to allocate the IP of the VM when I create it so that the CloudStack
allocated IP and my manually configured IP are the same.

Repeat the process to create your 'Internal' network, setting the 'VLAN
ID' to 100, the 'Guest Gateway' to the IP you intend to allocate to the
Internal Interface of your Intrusion Detection VM, and setting 'Guest Start
IP' and 'Guest End IP', ensuring they do not overlap the Guest Gateway.
Note that the VR which gets created to handle the DHCP and DNS will 

Re: Register Template Error

2013-09-05 Thread Rafael Weingartner
I just said to destroy the SSVM because I changed the value and restarted
the CS, but it was still not working. So, I had to destroy the SSVM and
wait till the CS created it again. And, then it worked.
I haven´t tried to restart the SSVM.


2013/9/5 Shanker Balan shanker.ba...@shapeblue.com

 On 05-Sep-2013, at 10:13 AM, Harikrishna Patnala 
 harikrishna.patn...@citrix.com wrote:

  I think there is no need of destroy the SSVM. Just set the global
 parameter and restart the MS.

 Rebooting the SSVM *after* bouncing the management servers was needed when
 I was doing some testing. As a best practice, I continue to reboot SSVMs
 after changing the global parameter. It would be nice to get a definite
 answer if SSVMs need a bounce at all.

 YMMV.

 Regards.


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
 Bangalore - 560 055

 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
 operated under license from Shape Blue Ltd. ShapeBlue is a registered
 trademark.




-- 
Rafael Weingartner


Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Rafael Weingartner
I am trying to create a VM from ISO, I am using the Ubuntu 12.04 LTS, but,
the error that I am getting is different.
I am using xen 4.1 over Ubuntu server 12.10 and XCP


2013/9/5 Shanker Balan shanker.ba...@shapeblue.com

 On 05-Sep-2013, at 3:43 PM, France mailingli...@isg.si wrote:

  Hi all.
 
  has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on
 XenServer 6.0.2 with CS 4.1.1?
  If so, how was it done? Maybe you shoud share the template with us? :-)
  Officially only 10.* is supported:
 https://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf
 
  On a related notes, is there a site with XenServer templates where one
 cloud find such a template?
 
  Thanks.
  F.


 Hi France,

 Can you retry after setting the OS type to other?


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
 Bangalore - 560 055

 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
 operated under license from Shape Blue Ltd. ShapeBlue is a registered
 trademark.




-- 
Rafael Weingartner


Re: SSVM stopped

2013-09-05 Thread Travis Graham
You don't need the vhd-util file for KVM installs (XenServer only). You'll need 
the cloudstack-agent for KVM hosts.

Travis

On Sep 5, 2013, at 6:14 AM, Kashif Ali temujin...@gmail.com wrote:

 minh ,
 i found systemvm.iso in vms folder and my kvm folder doesnot contains any
 vhd-util file but xenserver folder has .
 
 
 On Thu, Sep 5, 2013 at 2:54 PM, Kashif Ali temujin...@gmail.com wrote:
 
 i am using KVM but i tutorial i have installed following vhd-utils 
 *http://download.cloud.com.s3.amazonaws.com/tools/vhd-util*
 http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
 
 
 On Thu, Sep 5, 2013 at 2:36 PM, Kashif Ali temujin...@gmail.com wrote:
 
 thanx for helping me ..
 Minh,Amar i am using KVM as a host installed virtually in my management
 server PC ... and amar how can i check that whether these are creating
 into hypervisor or not .. i think its storage problem problem but dont
 know how to solve this . i have followed the following link for
 installation
 
 http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-server-installation/
 and for configuration internal DNS, and guest gateway is my university
 DNS server i.e 10.3.20.16
 and DNS server is 8.8.8.8
 secondary storage and primary storage is my management server IP address
 i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , range of
 guest ip is 10.2.31.111-10.2.31.210
 
 i will be very grate full to you if you solve my problem ...
 
 
 
 On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna amar...@gmail.com wrote:
 
 Hi Kashif,
 
 Check that vm with name S-*-VM and V-*-VM is getting  created in
 hypervisor or not ,If it is not getting created in hypervisor then  the
 problem would be  with system vm template or storage,if it is getting
 created at hypervisor then in cloudstack check the allocated local ip and
 try to ping it from management server.If it is not pinging then you will
 have check your network conf.
 
 Specify more information about your setup.
 
 Thanks
 Amar krishna
 
 On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:
 
 Hello,
 
 
 Can you specify more information about your configuration? If you are
 using XenServer hypervisor host, then the problem may comes from an
 outdated vhd-util file (the vhd-util file in the 4.1.x guide's link
 lacks
 an argument) that can cause the SSVM and CPVM to keep restarting.
 
 
 If there is a line like cannot create VDI in sr then I think that
 would
 be the problem; hope it helps.
 
 
 ---Original Message---
 From: Kashif Ali temujin...@gmail.com
 To: users@cloudstack.apache.org
 Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
 Subject: Re: SSVM stopped
 
 Hello amar and sanjay,
 thanx for reply they are at starting state but after they their status
 turned to stopped ... so i deleted them but dont get rid of problem
 .
 and i have pasted some exceptions i found and also attaching my
 management
 server log file .
 
 
 2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
 (AgentTaskPool-2:null) Sending Disconnect to listener:
 com.cloud.storage.secondary.SecondaryStorageListener
 2013-08-31 06:16:33,487 DEBUG
 [cloud.ha.ManagementIPSystemVMInvestigator]
 (HA-Worker-0:work-2) unable to determine state of
 VM[SecondaryStorageVm|s-401-VM] returning null
 2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
 (HA-Worker-0:work-2) We were unable to fence off the VM
 VM[SecondaryStorageVm|s-401-VM]
 
 2013-08-31 06:16:33,571 WARN
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Exception while trying to start secondary storage vm
 com.cloud.exception.InsufficientServerCapacityException: Unable to
 create
 a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
 com.cloud.dc.DataCenter; id=1
 
 2013-08-31 06:16:33,575 INFO
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Unable
 to start secondary storage vm for standby capacity, secStorageVm vm Id
 :
 401, will recycle it and start a new one
 2013-08-31 06:16:33,575 INFO
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
 (secstorage-1:null)
 Primary secondary storage is not even started, wait until next turn
 
 [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
 (secstorage-1:null)
 Primary secondary storage is not even started, wait until next turn
 2013-08-31 06:16:33,584 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
 is not ready to launch secondary storage VM yet
 2013-08-31 06:16:33,591 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
 is not ready to launch secondary storage VM yet
 2013-08-31 06:16:33,597 DEBUG
 [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
 Zone 1
 is not ready to launch secondary storage VM yet
 
 
 
 On Wed, Sep 4, 2013 at 5:41 AM, Sanjay Tripathi 
 sanjay.tripa...@citrix.com wrote:
 
 Can you share some exception/error 

Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Travis Graham
We ran into that issue as well. Had to select Other 64 bit to make things
work. I want to say there was one other gotcha. But I'm not at my laptop
and can't remember.

We did get a 12.04.3 instance up and created a template to use for spinning
up other instances.

Travis

On Thursday, September 5, 2013, Rafael Weingartner wrote:

 I am trying to create a VM from ISO, I am using the Ubuntu 12.04 LTS, but,
 the error that I am getting is different.
 I am using xen 4.1 over Ubuntu server 12.10 and XCP


 2013/9/5 Shanker Balan shanker.ba...@shapeblue.com javascript:;

  On 05-Sep-2013, at 3:43 PM, France mailingli...@isg.si javascript:;
 wrote:
 
   Hi all.
  
   has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on
  XenServer 6.0.2 with CS 4.1.1?
   If so, how was it done? Maybe you shoud share the template with us? :-)
   Officially only 10.* is supported:
 
 https://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf
  
   On a related notes, is there a site with XenServer templates where one
  cloud find such a template?
  
   Thanks.
   F.
 
 
  Hi France,
 
  Can you retry after setting the OS type to other?
 
 
  --
  @shankerbalan
 
  M: +91 98860 60539 | O: +91 (80) 67935867
  shanker.ba...@shapeblue.com javascript:; | www.shapeblue.com |
 Twitter:@shapeblue
  ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
  Bangalore - 560 055
 
  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
  operated under license from Shape Blue Ltd. ShapeBlue is a registered
  trademark.
 



 --
 Rafael Weingartner



Re: SSVM stopped

2013-09-05 Thread Kashif Ali
i installed cloud-agent .. should i need to install cloudstack-agent
seperately .waiting for your reply :)


On Thu, Sep 5, 2013 at 5:20 AM, Travis Graham tgra...@tgraham.us wrote:

 You don't need the vhd-util file for KVM installs (XenServer only). You'll
 need the cloudstack-agent for KVM hosts.

 Travis

 On Sep 5, 2013, at 6:14 AM, Kashif Ali temujin...@gmail.com wrote:

  minh ,
  i found systemvm.iso in vms folder and my kvm folder doesnot contains any
  vhd-util file but xenserver folder has .
 
 
  On Thu, Sep 5, 2013 at 2:54 PM, Kashif Ali temujin...@gmail.com wrote:
 
  i am using KVM but i tutorial i have installed following vhd-utils 
  *http://download.cloud.com.s3.amazonaws.com/tools/vhd-util*
  http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
 
 
  On Thu, Sep 5, 2013 at 2:36 PM, Kashif Ali temujin...@gmail.com
 wrote:
 
  thanx for helping me ..
  Minh,Amar i am using KVM as a host installed virtually in my management
  server PC ... and amar how can i check that whether these are
 creating
  into hypervisor or not .. i think its storage problem problem but
 dont
  know how to solve this . i have followed the following link for
  installation
 
 
 http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-server-installation/
  and for configuration internal DNS, and guest gateway is my university
  DNS server i.e 10.3.20.16
  and DNS server is 8.8.8.8
  secondary storage and primary storage is my management server IP
 address
  i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , range
 of
  guest ip is 10.2.31.111-10.2.31.210
 
  i will be very grate full to you if you solve my problem ...
 
 
 
  On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna amar...@gmail.com
 wrote:
 
  Hi Kashif,
 
  Check that vm with name S-*-VM and V-*-VM is getting  created in
  hypervisor or not ,If it is not getting created in hypervisor then
  the
  problem would be  with system vm template or storage,if it is getting
  created at hypervisor then in cloudstack check the allocated local ip
 and
  try to ping it from management server.If it is not pinging then you
 will
  have check your network conf.
 
  Specify more information about your setup.
 
  Thanks
  Amar krishna
 
  On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:
 
  Hello,
 
 
  Can you specify more information about your configuration? If you are
  using XenServer hypervisor host, then the problem may comes from an
  outdated vhd-util file (the vhd-util file in the 4.1.x guide's link
  lacks
  an argument) that can cause the SSVM and CPVM to keep restarting.
 
 
  If there is a line like cannot create VDI in sr then I think that
  would
  be the problem; hope it helps.
 
 
  ---Original Message---
  From: Kashif Ali temujin...@gmail.com
  To: users@cloudstack.apache.org
  Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
  Subject: Re: SSVM stopped
 
  Hello amar and sanjay,
  thanx for reply they are at starting state but after they their
 status
  turned to stopped ... so i deleted them but dont get rid of
 problem
  .
  and i have pasted some exceptions i found and also attaching my
  management
  server log file .
 
 
  2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
  (AgentTaskPool-2:null) Sending Disconnect to listener:
  com.cloud.storage.secondary.SecondaryStorageListener
  2013-08-31 06:16:33,487 DEBUG
  [cloud.ha.ManagementIPSystemVMInvestigator]
  (HA-Worker-0:work-2) unable to determine state of
  VM[SecondaryStorageVm|s-401-VM] returning null
  2013-08-31 06:16:33,505 DEBUG [cloud.ha.HighAvailabilityManagerImpl]
  (HA-Worker-0:work-2) We were unable to fence off the VM
  VM[SecondaryStorageVm|s-401-VM]
 
  2013-08-31 06:16:33,571 WARN
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Exception while trying to start secondary storage vm
  com.cloud.exception.InsufficientServerCapacityException: Unable to
  create
  a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
  com.cloud.dc.DataCenter; id=1
 
  2013-08-31 06:16:33,575 INFO
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Unable
  to start secondary storage vm for standby capacity, secStorageVm vm
 Id
  :
  401, will recycle it and start a new one
  2013-08-31 06:16:33,575 INFO
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
  (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
 
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
  (secstorage-1:null)
  Primary secondary storage is not even started, wait until next turn
  2013-08-31 06:16:33,584 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Zone 1
  is not ready to launch secondary storage VM yet
  2013-08-31 06:16:33,591 DEBUG
  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
  Zone 1
  is not ready to launch secondary 

RE: SSVM stopped

2013-09-05 Thread Rajesh Battala
After installing the kvm agent successfully, add the HOST from CS, then CS will 
configure the agent and host and will manage it.

Thanks
Rajesh Battala

-Original Message-
From: Kashif Ali [mailto:temujin...@gmail.com] 
Sent: Thursday, September 5, 2013 8:05 PM
To: users@cloudstack.apache.org
Subject: Re: SSVM stopped

i installed cloud-agent .. should i need to install cloudstack-agent 
seperately .waiting for your reply :)


On Thu, Sep 5, 2013 at 5:20 AM, Travis Graham tgra...@tgraham.us wrote:

 You don't need the vhd-util file for KVM installs (XenServer only). 
 You'll need the cloudstack-agent for KVM hosts.

 Travis

 On Sep 5, 2013, at 6:14 AM, Kashif Ali temujin...@gmail.com wrote:

  minh ,
  i found systemvm.iso in vms folder and my kvm folder doesnot 
  contains any vhd-util file but xenserver folder has .
 
 
  On Thu, Sep 5, 2013 at 2:54 PM, Kashif Ali temujin...@gmail.com wrote:
 
  i am using KVM but i tutorial i have installed following vhd-utils 
  *http://download.cloud.com.s3.amazonaws.com/tools/vhd-util*
  http://download.cloud.com.s3.amazonaws.com/tools/vhd-util
 
 
  On Thu, Sep 5, 2013 at 2:36 PM, Kashif Ali temujin...@gmail.com
 wrote:
 
  thanx for helping me ..
  Minh,Amar i am using KVM as a host installed virtually in my 
  management server PC ... and amar how can i check that whether 
  these are
 creating
  into hypervisor or not .. i think its storage problem problem 
  but
 dont
  know how to solve this . i have followed the following link 
  for installation
 
 
 http://ranafaisal.wordpress.com/2013/02/20/cloudstack-management-serve
 r-installation/
  and for configuration internal DNS, and guest gateway is my 
  university DNS server i.e 10.3.20.16 and DNS server is 8.8.8.8 
  secondary storage and primary storage is my management server IP
 address
  i.e 10.2.31.159 and range of pod IP is 10.2.31.10-10.2.31.110 , 
  range
 of
  guest ip is 10.2.31.111-10.2.31.210
 
  i will be very grate full to you if you solve my problem ...
 
 
 
  On Thu, Sep 5, 2013 at 1:58 PM, Amar Krishna amar...@gmail.com
 wrote:
 
  Hi Kashif,
 
  Check that vm with name S-*-VM and V-*-VM is getting  created in 
  hypervisor or not ,If it is not getting created in hypervisor 
  then
  the
  problem would be  with system vm template or storage,if it is 
  getting created at hypervisor then in cloudstack check the 
  allocated local ip
 and
  try to ping it from management server.If it is not pinging then 
  you
 will
  have check your network conf.
 
  Specify more information about your setup.
 
  Thanks
  Amar krishna
 
  On Thu, Sep 5, 2013 at 12:51 PM, Minh minhho...@kaist.ac.kr wrote:
 
  Hello,
 
 
  Can you specify more information about your configuration? If 
  you are using XenServer hypervisor host, then the problem may 
  comes from an outdated vhd-util file (the vhd-util file in the 
  4.1.x guide's link
  lacks
  an argument) that can cause the SSVM and CPVM to keep restarting.
 
 
  If there is a line like cannot create VDI in sr then I think 
  that
  would
  be the problem; hope it helps.
 
 
  ---Original Message---
  From: Kashif Ali temujin...@gmail.com
  To: users@cloudstack.apache.org
  Sent date: 2013-09-05 16:07:45 GMT +0900 (Asia/Seoul)
  Subject: Re: SSVM stopped
 
  Hello amar and sanjay,
  thanx for reply they are at starting state but after they their
 status
  turned to stopped ... so i deleted them but dont get rid of
 problem
  .
  and i have pasted some exceptions i found and also attaching my
  management
  server log file .
 
 
  2013-08-31 06:16:33,101 DEBUG [agent.manager.AgentManagerImpl]
  (AgentTaskPool-2:null) Sending Disconnect to listener:
  com.cloud.storage.secondary.SecondaryStorageListener
  2013-08-31 06:16:33,487 DEBUG
  [cloud.ha.ManagementIPSystemVMInvestigator]
  (HA-Worker-0:work-2) unable to determine state of 
  VM[SecondaryStorageVm|s-401-VM] returning null
  2013-08-31 06:16:33,505 DEBUG 
  [cloud.ha.HighAvailabilityManagerImpl]
  (HA-Worker-0:work-2) We were unable to fence off the VM 
  VM[SecondaryStorageVm|s-401-VM]
 
  2013-08-31 06:16:33,571 WARN
  [storage.secondary.SecondaryStorageManagerImpl] 
  (secstorage-1:null) Exception while trying to start secondary 
  storage vm
  com.cloud.exception.InsufficientServerCapacityException: Unable 
  to
  create
  a deployment for VM[SecondaryStorageVm|s-401-VM]Scope=interface
  com.cloud.dc.DataCenter; id=1
 
  2013-08-31 06:16:33,575 INFO
  [storage.secondary.SecondaryStorageManagerImpl] 
  (secstorage-1:null)
  Unable
  to start secondary storage vm for standby capacity, secStorageVm 
  vm
 Id
  :
  401, will recycle it and start a new one
  2013-08-31 06:16:33,575 INFO
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
  (secstorage-1:null)
  Primary secondary storage is not even started, wait until next 
  turn
 
  [cloud.secstorage.PremiumSecondaryStorageManagerImpl]
  

Re: Some network offerings missing after creating them

2013-09-05 Thread Nick Burke
Whoa. You mean it's not entirely my fault? :-)

I should be able to use cloudmonkey to get around this bug, right?

Thanks again for all your help!


On Thu, Sep 5, 2013 at 4:27 AM, Geoff Higginbottom 
geoff.higginbot...@shapeblue.com wrote:

 Sorry just looked at screen shot and you do appear to running an advanced
 zone.

 There have been a few GUI bugs creep in with 4.1.1 in relation to
 networking, this looks like another I have not seen reported so please
 raise it as an issue.

 CloudMonkey provides an easier way to use the API so yes you can just use
 CloudMonkey

 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.com

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



 On 5 Sep 2013, at 07:24, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com
 wrote:

 Nick,

 Are you using an Advanced or Basic Zone?

 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
 mailto:geoff.higginbot...@shapeblue.com | www.shapeblue.com
 http://www.shapeblue.com

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



 On 5 Sep 2013, at 01:57, Nick Burke n...@nickburke.commailto:
 n...@nickburke.commailto:n...@nickburke.com wrote:

 Hi Geoff,

 Thanks again for your reply and patience. I'm relieved to hear it's
 possible with a little elbow grease!

 I have no problem starting again what-so-ever with anything. This is
 preproduction. I've been doing regular 'drop database cloud's so anything
 dangerous can easily be done.

 I think a large part of my problem is there is no add guest network in
 Infrastructure / Zones / your-zone-name / Physical Network Tab /
 your-network-name (the one with Guest Traffic) / Guest-Configure / Network
 Tab. (See screen shot:  http://i.imgur.com/fOtttgD.png ). There are no
 right click options either. I'm running version  4.1.1, if there is some
 kind of version thing happening here.


 Regarding API, can I use cloudmonkey or do I have to start doing research
 into the API calls?


 On Wed, Sep 4, 2013 at 6:18 PM, Geoff Higginbottom 
 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com
 mailto:geoff.higginbot...@shapeblue.com wrote:

 Hi Nick

 What you are trying to do is achievable, but you need to start again, as
 once you have created a network which has taken its VLAN from the Default
 Guest VLAN range you cannot change the network Offering to one which has
 the 'Specify VLAN' option set.

 Fortunately you can create the new networks you need using the correct
 Network Offerings, then use the 'addNicToVirtualMachine' and
 'removeNicFromVirtualMachine' API commands to add the new Networks to the
 VM, and remove the old ones.



 I would create two network offerings, I'll call them 'External' and
 'Internal'

 'External' should not have any 'Services' as it does not need them, that
 way no VR will be created for this Network. Assign a 'Name' 'Description',
 and check the 'Specify VLAN' option as you want to manually set the VLAN ID
 so it can connect to your external physical Router.  You do not need the
 'Persistent' feature as there will be no VR.

 'Internal' should have 'Specify VLAN' checked and 'DHCP' and 'DNS'
 services enabled, all set to 'Virtual Router' You don't need the
 'Persistent' option as this simply keeps the VR running when you have no
 VMs, and as you want to run a 'Intrusion Detection' VM you will always have
 one running, and the VLAN is persistent even if do shut all VMs down, as
 you used the 'Specify VLAN' option.

 To actually create the networks you cannot use the main 'Network' tab, you
 must navigate to:

 Infrastructure / Zones / your-zone-name / Physical Network Tab /
 your-network-name (the one with Guest Traffic) / Guest-Configure / Network
 Tab

 Then click 'Add Guest Network' and set the 'scope' to account, you will
 now see the two new Network Offerings listed (as long as you enabled them).
 Create the 'External' Network with 'VLAN ID' of 200 and 'Guest Gateway'
 set to the IP of the Physical Router connected to the Internet.  Set the
 'Guest Start IP' and 'Guest End IP' range so that it spans the IP you want
 to allocate to the External interface of your VM.  Although you will be
 setting the IP on the VM manually, and even though we did not assign the
 DHCP service to this Network, CloudStack will still allocate an IP to this
 VM and this will appear in the GUI.  To keep things neat I always use the
 API to allocate the IP of the VM when I create it so that the CloudStack
 allocated IP and my manually configured IP are the same.

 Repeat the process to create your 

about os templates

2013-09-05 Thread Steven Liang
Hi guys,

I find there is only CentOS 5.5(64-bit) no GUI (KVM) OS template on CS
4.0. Who can tell me the link of the others(such CentOS 6, Debian etc.).
Thank you.

Regards,
Steven



Re: SSVM stopped

2013-09-05 Thread Nguyen Anh Tu
2013/9/4 Kashif Ali temujin...@gmail.com

 Hello everyone,
 My SSVM and CPVM are not running, i have deleted them once so that
 cloudstack will automatically create it but again these are not working.i
 am also unable to ssh SSVM private IP, that i copied while it was in
 starting mode, from my host.


Hi guys,

I got the same issue. SSVM and CPVM running in KVM host but can't ping. I
setup with KVM+OpenvSwitch, follow these guide:
https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch

SSVM startup screen show that:

dnsmasq: unknown interface eth0
failed!
cat: /var/cache/cloud/cmdline: No such file or directory
Stopping NFS common utilities: statd
Stopping portmap daemon
Stopping conntrackd can't connect: is conntrackd running? appropriate
permission?
failed
startpar: service(s) returned failure: dnsmasq apache2... failed

Debian GNU/Linux 6.0 systemvm tty1

systemvm login:

I just only see a little startup log because I can't scroll up screen.

I guess the problem come from network configuration. But can't know exactly
what's error?

Any help...

-- 

N.g.U.y.e.N.A.n.H.t.U


Re: about os templates

2013-09-05 Thread Kirk Jantzer
You make your own and import them into CloudStack. There is an initiative
to create some community ones available for download, but I don't believe
they're available yet.


Regards,

Kirk Jantzer
http://about.me/kirkjantzer


On Thu, Sep 5, 2013 at 1:22 PM, Steven Liang stevenli...@yesup.com wrote:

 Hi guys,

 I find there is only CentOS 5.5(64-bit) no GUI (KVM) OS template on CS
 4.0. Who can tell me the link of the others(such CentOS 6, Debian etc.).
 Thank you.

 Regards,
 Steven




Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Carlos Reategui
As others have mentioned you will need to select one of the Other options
if you want to run 12.04.

I have not tried to boot from iso and seem to remember someone saying it
will not work in PV mode so you will probably need to try with Other (64
bit) or Other Linux (64 bit).

Once you have it up and running you can convert it to PV and use Other PV
(64 bit)

Better yet :)  I have been working on a script that converts the ubuntu
12.04 cloud image from
http://cloud-images.ubuntu.com/releases/precise/release/ into a CloudStack
image that works with Other PV (64 bit).  It also fixes the cloud-init
from 12.04 to work with the CloudStack metadata server and adds the
Cloudstack password set service.

I'll try to get it up on github later today (I'm a github noob)...

Cheers,
Carlos

On Thu, Sep 5, 2013 at 3:40 AM, France mailingli...@isg.si wrote:

 Related error from catalina.out, when user wanted to boot form ISO.
 I haven't tried myself yet, but i don't think it would be any different.

 [xen.resource.CitrixHelper] (DirectAgent-92:) XenServer 6.0.2 DOES NOT
 support Guest OS type Ubuntu 12.04 (64-bit)


 On 5/9/13 12:13 PM, France wrote:

 Hi all.

 has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on
 XenServer 6.0.2 with CS 4.1.1?
 If so, how was it done? Maybe you shoud share the template with us? :-)
 Officially only 10.* is supported: https://support.citrix.com/**
 servlet/KbServlet/download/**30196-102-673808/guest_**support_6.0.2.pdfhttps://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf

 On a related notes, is there a site with XenServer templates where one
 cloud find such a template?

 Thanks.
 F.





Re: about os templates

2013-09-05 Thread Nux!

On 05.09.2013 18:22, Steven Liang wrote:

Hi guys,

I find there is only CentOS 5.5(64-bit) no GUI (KVM) OS template on 
CS
4.0. Who can tell me the link of the others(such CentOS 6, Debian 
etc.).

Thank you.

Regards,
Steven


Hello,

I have a few images for KVM here:
http://li.nux.ro/download/cloudstack/images/

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: about os templates

2013-09-05 Thread Nux!

On 05.09.2013 20:45, Steven Liang wrote:

Thank you very much.
I've tested. The CentOS 6 works, but FreeBSD doesn't work.

On 09/05/2013 03:07 PM, Nux! wrote:

On 05.09.2013 18:22, Steven Liang wrote:

Hi guys,

I find there is only CentOS 5.5(64-bit) no GUI (KVM) OS template 
on CS
4.0. Who can tell me the link of the others(such CentOS 6, Debian 
etc.).

Thank you.

Regards,
Steven


Hello,

I have a few images for KVM here:
http://li.nux.ro/download/cloudstack/images/



Hi,

Could you please contact me privately with what exactly does not work?
Thanks!

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: about os templates

2013-09-05 Thread Steven Liang

  
  
Thank you very much.
  I've tested. The CentOS 6 works, but FreeBSD doesn't work.
  
  On 09/05/2013 03:07 PM, Nux! wrote:

On 05.09.2013 18:22, Steven Liang wrote:
  
  Hi guys,


I find there is only "CentOS 5.5(64-bit) no GUI (KVM)" OS
template on CS

4.0. Who can tell me the link of the others(such CentOS 6,
Debian etc.).

Thank you.


Regards,

Steven

  
  
  Hello,
  
  
  I have a few images for KVM here:
  
  http://li.nux.ro/download/cloudstack/images/
  
  



-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



RE: about os templates

2013-09-05 Thread Enrique Ladrón de Guevara Hernández


 Date: Thu, 5 Sep 2013 20:07:44 +0100
 From: n...@li.nux.ro
 To: users@cloudstack.apache.org
 Subject: Re: about os templates
 
 On 05.09.2013 18:22, Steven Liang wrote:
  Hi guys,
  
  I find there is only CentOS 5.5(64-bit) no GUI (KVM) OS template on 
  CS
  4.0. Who can tell me the link of the others(such CentOS 6, Debian 
  etc.).
  Thank you.
  
  Regards,
  Steven
 
 Hello,
 
 I have a few images for KVM here:
 http://li.nux.ro/download/cloudstack/images/
 
 -- 
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro
  

RE: VMware DomainRouter

2013-09-05 Thread Musayev, Ilya
Is your eth1 -  guest network and eth2 - mgmt. network?

 -Original Message-
 From: John Skinner [mailto:john.skin...@appcore.com]
 Sent: Thursday, September 05, 2013 6:16 PM
 To: users@cloudstack.apache.org
 Subject: VMware DomainRouter
 
 Hello list,
 
 I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything
 seems to be working ok for the most part. However, I have noticed that my
 domain routers are getting created with a management IP address for the
 control network instead of a control network IP address (the link local IP
 addresses). Is this expected behavior?



VMware DomainRouter

2013-09-05 Thread John Skinner
Hello list, 

I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems to 
be working ok for the most part. However, I have noticed that my domain routers 
are getting created with a management IP address for the control network 
instead of a control network IP address (the link local IP addresses). Is this 
expected behavior? 



RE: VMware DomainRouter

2013-09-05 Thread Michael Phillips
Hey QQ, since you are using vmware you obviously built from source. Did you use 
the vim25.jar from the 5.1SDK?

 Date: Thu, 5 Sep 2013 17:16:25 -0500
 From: john.skin...@appcore.com
 To: users@cloudstack.apache.org
 Subject: VMware DomainRouter
 
 Hello list, 
 
 I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems 
 to be working ok for the most part. However, I have noticed that my domain 
 routers are getting created with a management IP address for the control 
 network instead of a control network IP address (the link local IP 
 addresses). Is this expected behavior? 
 
  

RE: VMware DomainRouter

2013-09-05 Thread Musayev, Ilya
Michael,

If I'm not mistaken, the convenience RPMs provided on apt-get.eu are containing 
nonoss as well, so no need to build from source :)

Regards
ilya

 -Original Message-
 From: Michael Phillips [mailto:mphilli7...@hotmail.com]
 Sent: Thursday, September 05, 2013 6:24 PM
 To: users@cloudstack.apache.org
 Subject: RE: VMware DomainRouter
 
 Hey QQ, since you are using vmware you obviously built from source. Did you
 use the vim25.jar from the 5.1SDK?
 
  Date: Thu, 5 Sep 2013 17:16:25 -0500
  From: john.skin...@appcore.com
  To: users@cloudstack.apache.org
  Subject: VMware DomainRouter
 
  Hello list,
 
  I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything
 seems to be working ok for the most part. However, I have noticed that my
 domain routers are getting created with a management IP address for the
 control network instead of a control network IP address (the link local IP
 addresses). Is this expected behavior?
 
 



RE: echo test failed, plugin error, failed to add host

2013-09-05 Thread Lisa B .
hey!
yes, but it still fails with the same error. :(


 Date: Wed, 4 Sep 2013 15:45:29 -0300
 Subject: Re: echo test failed, plugin error, failed to add host
 From: rafaelweingart...@gmail.com
 To: users@cloudstack.apache.org

 I did those steps:
 mkdir -p /root/.ssh
 ssh-keygen -A -q

 Did you execute them ?
 I guess they are needed


 2013/9/4 Lisa B. nordlicht1...@hotmail.de

 Hey Rafael,

 yes, Xen 4.1 + XCP 1.6. The compatibility matrix was slightly confusing,
 but i figured Xenserver 6.1 and XCP 1.6 are basically the same to
 Cloudstack. Right?

 I've tried building from source on 13.04 which worked fine for me in the
 beginning, but i decided to go back to 12.04 with packages after i came
 across the compatibility matrix. Just to be sure.

 Thank you for the link but I have already followed the instructions
 (overwrite '/usr/lib/xcp/plugins/echo' and make it executable) and echo
 works on the host.
 The only thing else that seemed relevant to my issue was
 mkdir -p /root/.ssh
 ssh-keygen -A -q
 As I have had a different type of connection error before (had to set a
 password for root) and it didn't complain after i set one, i figured SSH
 cannot be the culprit. All the other settings seem to be either developer
 related or otherwise irrelevant. Am I missing something?

 What baffles me is that he gave up on 12.04.1 and chose Debian Wheezy
 instead.

 One thing I should have mentioned is that i set up OVS instead of bridged
 networking on the host, but I still have xenbr0 on the XCP host and a
 manually started VM runs just fine with it.

 When I try to access http://192.168.2.99 (my XCP host os1) Xapi Server
 gives me
 Not Found

 The requested URL / was not found on this server.
 Xapi Server
 Is this expected behavior? It does not require SSL, does it?



 Lisa
 Any of you guys in Amsterdam in November?

 
 Date: Wed, 4 Sep 2013 10:37:41 -0300
 Subject: Re: echo test failed, plugin error, failed to add host
 From: rafaelweingart...@gmail.com
 To: users@cloudstack.apache.org

 are you using Xen with XCP?
 if so, here is the bug report and a workaround:
 https://issues.apache.org/jira/browse/CLOUDSTACK-534


 2013/9/4 Lisa B. nordlicht1...@hotmail.de

 hey,

 i get these errors on cloudstack 4.1.1 while trying to add the XCP 1.6
 ubuntu host.
 i might have made a mistake on the network setup. but where do i start?

 more information and error log below.

 have a nice day  thanks for reading
 lisa

 zone
  name: cloudstack1
  externer dns: 192.168.2.1
  interner dns: 192.168.2.1
 pod
  name: cloudstack1-pod1
  gateway: 192.168.2.1
  netzmaske: 255.255.255.0
  ip-bereich:192.168.2.50-192.168.2.100
 add guest network
  gateway: 192.168.3.1
  netzmaske: 255.255.255.0
  ip bereich:192.168.3.151-192.168.3.190
 cluster hinzufügen
  hypervisor: xenserver
  name: cloudstack1-pod1-cluster1
 host hinzufügen
  host name: 192.168.2.99
  benutzername: root
  passwort: ***
  auf 192.168.2.99 sudo passwd root ausführen, sonst kann cloudstack
 sich
 nicht verbinden
 primary storage hinzufügen
  name: mgmnfs
  protokoll: nfs
  server:mgm.***.com
  path: /export/primary
 Sekundärspeicher hinzufügen
  nfs server: mgm.***.com / 192.168.2.50
  path: /export/secondary

 '/usr/lib/xcp/plugins/echo' works via command line on the host and i
 made
 sure it looks like this:

 !/usr/bin/env python

  Simple XenAPI plugin
 import XenAPIPlugin, time

 def main(session, args):
 if args.has_key(sleep):
 secs = int(args[sleep])
 time.sleep(secs)
 return args were: %s % (repr(args))

 if __name__ == __main__:
 XenAPIPlugin.dispatch({main: main})



 2013-09-02 03:42:48,838 DEBUG [cloud.api.ApiServlet]
 (catalina-exec-16:null) ===START=== 192.168.2.101 -- POST

 command=addHostresponse=jsonsessionkey=7DUTpl9gctKWi%2FlCY4EjMbYbrcM%3D
 2013-09-02 03:42:48,849 INFO [cloud.resource.ResourceManagerImpl]
 (catalina-exec-16:null) Trying to add a new host at
 http://192.168.2.99in data center 1
 2013-09-02 03:42:48,868 DEBUG [xen.resource.XenServerConnectionPool]
 (catalina-exec-16:null) Slave logon to 192.168.2.99
 2013-09-02 03:42:48,881 DEBUG [xen.resource.XenServerConnectionPool]
 (catalina-exec-16:null) Logging on as the master to 192.168.2.99
 2013-09-02 03:42:48,954 INFO [xen.discoverer.XcpServerDiscoverer]
 (catalina-exec-16:null) Found host os1 ip=192.168.2.99 product
 version=1.6.0
 2013-09-02 03:42:49,023 WARN [xen.resource.XenServerConnectionPool]
 (catalina-exec-16:null) Echo test failed on host
 61d0f66b-044e-37f1-effa-d7f09ec29946 IP 192.168.2.99
 There was a failure communicating with the plugin.
 at com.xensource.xenapi.Types.checkResponse(Types.java:1294)
 at com.xensource.xenapi.Connection.dispatch(Connection.java:368)
 at

 com.cloud.hypervisor.xen.resource.XenServerConnectionPool$XenServerConnection.dispatch(XenServerConnectionPool.java:909)
 at com.xensource.xenapi.Host.callPlugin(Host.java:2560)
 at

 

Re: VMware DomainRouter

2013-09-05 Thread John Skinner
I did build from source, and did include the vim25.jar. I have 2 interfaces 
that are bonded for all networks with 2 standard vSwitches. I have vSwitch0 for 
management and storage, and vSwitch2 for public and guest. 

John Skinner 
Senior Systems Administrator | Appcore - the business of cloud computing® 

Office +1.800.735.7104 
Direct +1.515.612.7783 | Mobile +1.515.745.0248 
john.skin...@appcore.com | www.appcore.com 
-- 
The information in this message is intended for the named recipients only. It 
may contain information that is privileged, confidential or otherwise protected 
from disclosure. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution, or the taking of any action in 
reliance on the contents of this message is strictly prohibited. If you have 
received this e-mail in error, do not print it or disseminate it or its 
contents. In such event, please notify the sender by return e-mail and delete 
the e-mail file immediately thereafter. Thank you. 


- Original Message -

From: Ilya Musayev imusa...@webmd.net 
To: users@cloudstack.apache.org 
Sent: Thursday, September 5, 2013 5:22:30 PM 
Subject: RE: VMware DomainRouter 

Is your eth1 - guest network and eth2 - mgmt. network? 

 -Original Message- 
 From: John Skinner [mailto:john.skin...@appcore.com] 
 Sent: Thursday, September 05, 2013 6:16 PM 
 To: users@cloudstack.apache.org 
 Subject: VMware DomainRouter 
 
 Hello list, 
 
 I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything 
 seems to be working ok for the most part. However, I have noticed that my 
 domain routers are getting created with a management IP address for the 
 control network instead of a control network IP address (the link local IP 
 addresses). Is this expected behavior? 




Re: Ubuntu 12.04 LTS or 14.04 on XenServer 6.0.2 with CS 4.1.1? templates in general?

2013-09-05 Thread Kirk Kosinski
The problem is that installing Ubuntu (any version) from ISO is not
supported by XenServer.  Using the Other (not Other PV) OS Type will
allow it, but the result is an HVM mode VM which has disadvantages (poor
performance, no XS Tools, no live migration).  The supported way to
install Ubuntu on XenServer is a network-based installation, but this is
not possible to do through CloudStack.

My usual recommendation is to do a supported installation of Ubuntu on a
standalone XenServer to get a PV mode VM, export the VHD, and import it
as a template to CloudStack.  If no XenServer host is unavailable,
install one in VirtualBox on a laptop and setup a PV mode Ubuntu VM
there.  It is possible to convert an HVM mode VM to PV mode, but it is
an error prone and time consuming process, so it is usually better to
build the in PV mode to begin with.

Best regards,
Kirk

On 09/05/2013 06:03 AM, Travis Graham wrote:
 We ran into that issue as well. Had to select Other 64 bit to make things
 work. I want to say there was one other gotcha. But I'm not at my laptop
 and can't remember.
 
 We did get a 12.04.3 instance up and created a template to use for spinning
 up other instances.
 
 Travis
 
 On Thursday, September 5, 2013, Rafael Weingartner wrote:
 
 I am trying to create a VM from ISO, I am using the Ubuntu 12.04 LTS, but,
 the error that I am getting is different.
 I am using xen 4.1 over Ubuntu server 12.10 and XCP


 2013/9/5 Shanker Balan shanker.ba...@shapeblue.com javascript:;

 On 05-Sep-2013, at 3:43 PM, France mailingli...@isg.si javascript:;
 wrote:

 Hi all.

 has anyone successfully installed Ubuntu 12.04 LTS or 14.04 LTS on
 XenServer 6.0.2 with CS 4.1.1?
 If so, how was it done? Maybe you shoud share the template with us? :-)
 Officially only 10.* is supported:

 https://support.citrix.com/servlet/KbServlet/download/30196-102-673808/guest_support_6.0.2.pdf

 On a related notes, is there a site with XenServer templates where one
 cloud find such a template?

 Thanks.
 F.


 Hi France,

 Can you retry after setting the OS type to other?


 --
 @shankerbalan

 M: +91 98860 60539 | O: +91 (80) 67935867
 shanker.ba...@shapeblue.com javascript:; | www.shapeblue.com |
 Twitter:@shapeblue
 ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre,
 Bangalore - 560 055

 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
 operated under license from Shape Blue Ltd. ShapeBlue is a registered
 trademark.




 --
 Rafael Weingartner

 


RE: VMware DomainRouter

2013-09-05 Thread Michael Phillips
I am curious as to which vim25.jar you included..the one from the 4.1 or 5.1 
SDK?

 Date: Thu, 5 Sep 2013 18:31:02 -0500
 From: john.skin...@appcore.com
 To: users@cloudstack.apache.org
 Subject: Re: VMware DomainRouter
 
 I did build from source, and did include the vim25.jar. I have 2 interfaces 
 that are bonded for all networks with 2 standard vSwitches. I have vSwitch0 
 for management and storage, and vSwitch2 for public and guest. 
 
 John Skinner 
 Senior Systems Administrator | Appcore - the business of cloud computing® 
 
 Office +1.800.735.7104 
 Direct +1.515.612.7783 | Mobile +1.515.745.0248 
 john.skin...@appcore.com | www.appcore.com 
 -- 
 The information in this message is intended for the named recipients only. It 
 may contain information that is privileged, confidential or otherwise 
 protected from disclosure. If you are not the intended recipient, you are 
 hereby notified that any disclosure, copying, distribution, or the taking of 
 any action in reliance on the contents of this message is strictly 
 prohibited. If you have received this e-mail in error, do not print it or 
 disseminate it or its contents. In such event, please notify the sender by 
 return e-mail and delete the e-mail file immediately thereafter. Thank you. 
 
 
 - Original Message -
 
 From: Ilya Musayev imusa...@webmd.net 
 To: users@cloudstack.apache.org 
 Sent: Thursday, September 5, 2013 5:22:30 PM 
 Subject: RE: VMware DomainRouter 
 
 Is your eth1 - guest network and eth2 - mgmt. network? 
 
  -Original Message- 
  From: John Skinner [mailto:john.skin...@appcore.com] 
  Sent: Thursday, September 05, 2013 6:16 PM 
  To: users@cloudstack.apache.org 
  Subject: VMware DomainRouter 
  
  Hello list, 
  
  I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything 
  seems to be working ok for the most part. However, I have noticed that my 
  domain routers are getting created with a management IP address for the 
  control network instead of a control network IP address (the link local IP 
  addresses). Is this expected behavior? 
 
 
  

Re: SSVM stopped

2013-09-05 Thread Kashif Ali
rajesh i have installed cloud agent in host .. can you please tell me
is cloud agent and KVM agent are same or different .. i have sent my
configuration of zone .. i think problem is there can you figure me out
that..


On Thu, Sep 5, 2013 at 10:29 AM, Nguyen Anh Tu ng.t...@gmail.com wrote:

 2013/9/4 Kashif Ali temujin...@gmail.com

  Hello everyone,
  My SSVM and CPVM are not running, i have deleted them once so that
  cloudstack will automatically create it but again these are not working.i
  am also unable to ssh SSVM private IP, that i copied while it was in
  starting mode, from my host.
 

 Hi guys,

 I got the same issue. SSVM and CPVM running in KVM host but can't ping. I
 setup with KVM+OpenvSwitch, follow these guide:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVSwitch

 SSVM startup screen show that:

 dnsmasq: unknown interface eth0
 failed!
 cat: /var/cache/cloud/cmdline: No such file or directory
 Stopping NFS common utilities: statd
 Stopping portmap daemon
 Stopping conntrackd can't connect: is conntrackd running? appropriate
 permission?
 failed
 startpar: service(s) returned failure: dnsmasq apache2... failed

 Debian GNU/Linux 6.0 systemvm tty1

 systemvm login:

 I just only see a little startup log because I can't scroll up screen.

 I guess the problem come from network configuration. But can't know exactly
 what's error?

 Any help...

 --

 N.g.U.y.e.N.A.n.H.t.U




-- 
-- 
Regards,

*Kashif Ali*
Undergraduate Student | 7th Semester
BESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk


Re: SSVM stopped

2013-09-05 Thread Nguyen Anh Tu
2013/9/6 Kashif Ali temujin...@gmail.com

 can you please tell me
 is cloud agent and KVM agent are same or different


It's same, Kashif



-- 

N.g.U.y.e.N.A.n.H.t.U


RE: SSVM stopped

2013-09-05 Thread Rajesh Battala
KVM agent and Cloud agent are same.

-Original Message-
From: Kashif Ali [mailto:temujin...@gmail.com] 
Sent: Friday, September 6, 2013 6:58 AM
To: users@cloudstack.apache.org
Subject: Re: SSVM stopped

rajesh i have installed cloud agent in host .. can you please tell me is 
cloud agent and KVM agent are same or different .. i have sent my 
configuration of zone .. i think problem is there can you figure me out 
that..


On Thu, Sep 5, 2013 at 10:29 AM, Nguyen Anh Tu ng.t...@gmail.com wrote:

 2013/9/4 Kashif Ali temujin...@gmail.com

  Hello everyone,
  My SSVM and CPVM are not running, i have deleted them once so that 
  cloudstack will automatically create it but again these are not 
  working.i am also unable to ssh SSVM private IP, that i copied while 
  it was in starting mode, from my host.
 

 Hi guys,

 I got the same issue. SSVM and CPVM running in KVM host but can't 
 ping. I setup with KVM+OpenvSwitch, follow these guide:
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVS
 witch

 SSVM startup screen show that:

 dnsmasq: unknown interface eth0
 failed!
 cat: /var/cache/cloud/cmdline: No such file or directory Stopping NFS 
 common utilities: statd Stopping portmap daemon
 Stopping conntrackd can't connect: is conntrackd running? appropriate 
 permission?
 failed
 startpar: service(s) returned failure: dnsmasq apache2... failed

 Debian GNU/Linux 6.0 systemvm tty1

 systemvm login:

 I just only see a little startup log because I can't scroll up screen.

 I guess the problem come from network configuration. But can't know 
 exactly what's error?

 Any help...

 --

 N.g.U.y.e.N.A.n.H.t.U




--
--
Regards,

*Kashif Ali*
Undergraduate Student | 7th Semester
BESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk


Re: echo test failed, plugin error, failed to add host

2013-09-05 Thread Rafael Weingartner
Have you tried to log into the host 192.168.2.99, using ssh from the server
that cloudstack is running on ?


2013/9/5 Lisa B. nordlicht1...@hotmail.de

 hey!
 yes, but it still fails with the same error. :(

 
  Date: Wed, 4 Sep 2013 15:45:29 -0300
  Subject: Re: echo test failed, plugin error, failed to add host
  From: rafaelweingart...@gmail.com
  To: users@cloudstack.apache.org
 
  I did those steps:
  mkdir -p /root/.ssh
  ssh-keygen -A -q
 
  Did you execute them ?
  I guess they are needed
 
 
  2013/9/4 Lisa B. nordlicht1...@hotmail.de
 
  Hey Rafael,
 
  yes, Xen 4.1 + XCP 1.6. The compatibility matrix was slightly confusing,
  but i figured Xenserver 6.1 and XCP 1.6 are basically the same to
  Cloudstack. Right?
 
  I've tried building from source on 13.04 which worked fine for me in the
  beginning, but i decided to go back to 12.04 with packages after i came
  across the compatibility matrix. Just to be sure.
 
  Thank you for the link but I have already followed the instructions
  (overwrite '/usr/lib/xcp/plugins/echo' and make it executable) and echo
  works on the host.
  The only thing else that seemed relevant to my issue was
  mkdir -p /root/.ssh
  ssh-keygen -A -q
  As I have had a different type of connection error before (had to set a
  password for root) and it didn't complain after i set one, i figured SSH
  cannot be the culprit. All the other settings seem to be either
 developer
  related or otherwise irrelevant. Am I missing something?
 
  What baffles me is that he gave up on 12.04.1 and chose Debian Wheezy
  instead.
 
  One thing I should have mentioned is that i set up OVS instead of
 bridged
  networking on the host, but I still have xenbr0 on the XCP host and a
  manually started VM runs just fine with it.
 
  When I try to access http://192.168.2.99 (my XCP host os1) Xapi Server
  gives me
  Not Found
 
  The requested URL / was not found on this server.
  Xapi Server
  Is this expected behavior? It does not require SSL, does it?
 
 
 
  Lisa
  Any of you guys in Amsterdam in November?
 
  
  Date: Wed, 4 Sep 2013 10:37:41 -0300
  Subject: Re: echo test failed, plugin error, failed to add host
  From: rafaelweingart...@gmail.com
  To: users@cloudstack.apache.org
 
  are you using Xen with XCP?
  if so, here is the bug report and a workaround:
  https://issues.apache.org/jira/browse/CLOUDSTACK-534
 
 
  2013/9/4 Lisa B. nordlicht1...@hotmail.de
 
  hey,
 
  i get these errors on cloudstack 4.1.1 while trying to add the XCP 1.6
  ubuntu host.
  i might have made a mistake on the network setup. but where do i
 start?
 
  more information and error log below.
 
  have a nice day  thanks for reading
  lisa
 
  zone
   name: cloudstack1
   externer dns: 192.168.2.1
   interner dns: 192.168.2.1
  pod
   name: cloudstack1-pod1
   gateway: 192.168.2.1
   netzmaske: 255.255.255.0
   ip-bereich:192.168.2.50-192.168.2.100
  add guest network
   gateway: 192.168.3.1
   netzmaske: 255.255.255.0
   ip bereich:192.168.3.151-192.168.3.190
  cluster hinzufügen
   hypervisor: xenserver
   name: cloudstack1-pod1-cluster1
  host hinzufügen
   host name: 192.168.2.99
   benutzername: root
   passwort: ***
   auf 192.168.2.99 sudo passwd root ausführen, sonst kann cloudstack
  sich
  nicht verbinden
  primary storage hinzufügen
   name: mgmnfs
   protokoll: nfs
   server:mgm.***.com
   path: /export/primary
  Sekundärspeicher hinzufügen
   nfs server: mgm.***.com / 192.168.2.50
   path: /export/secondary
 
  '/usr/lib/xcp/plugins/echo' works via command line on the host and i
  made
  sure it looks like this:
 
  !/usr/bin/env python
 
   Simple XenAPI plugin
  import XenAPIPlugin, time
 
  def main(session, args):
  if args.has_key(sleep):
  secs = int(args[sleep])
  time.sleep(secs)
  return args were: %s % (repr(args))
 
  if __name__ == __main__:
  XenAPIPlugin.dispatch({main: main})
 
 
 
  2013-09-02 03:42:48,838 DEBUG [cloud.api.ApiServlet]
  (catalina-exec-16:null) ===START=== 192.168.2.101 -- POST
 
 
 command=addHostresponse=jsonsessionkey=7DUTpl9gctKWi%2FlCY4EjMbYbrcM%3D
  2013-09-02 03:42:48,849 INFO [cloud.resource.ResourceManagerImpl]
  (catalina-exec-16:null) Trying to add a new host at
  http://192.168.2.99in data center 1
  2013-09-02 03:42:48,868 DEBUG [xen.resource.XenServerConnectionPool]
  (catalina-exec-16:null) Slave logon to 192.168.2.99
  2013-09-02 03:42:48,881 DEBUG [xen.resource.XenServerConnectionPool]
  (catalina-exec-16:null) Logging on as the master to 192.168.2.99
  2013-09-02 03:42:48,954 INFO [xen.discoverer.XcpServerDiscoverer]
  (catalina-exec-16:null) Found host os1 ip=192.168.2.99 product
  version=1.6.0
  2013-09-02 03:42:49,023 WARN [xen.resource.XenServerConnectionPool]
  (catalina-exec-16:null) Echo test failed on host
  61d0f66b-044e-37f1-effa-d7f09ec29946 IP 192.168.2.99
  There was a failure communicating with the plugin.
  at 

Re: SSVM stopped

2013-09-05 Thread Kashif Ali
then why my SSVM is not running :(


On Thu, Sep 5, 2013 at 7:21 PM, Rajesh Battala rajesh.batt...@citrix.comwrote:

 KVM agent and Cloud agent are same.

 -Original Message-
 From: Kashif Ali [mailto:temujin...@gmail.com]
 Sent: Friday, September 6, 2013 6:58 AM
 To: users@cloudstack.apache.org
 Subject: Re: SSVM stopped

 rajesh i have installed cloud agent in host .. can you please tell me
 is cloud agent and KVM agent are same or different .. i have sent my
 configuration of zone .. i think problem is there can you figure me out
 that..


 On Thu, Sep 5, 2013 at 10:29 AM, Nguyen Anh Tu ng.t...@gmail.com wrote:

  2013/9/4 Kashif Ali temujin...@gmail.com
 
   Hello everyone,
   My SSVM and CPVM are not running, i have deleted them once so that
   cloudstack will automatically create it but again these are not
   working.i am also unable to ssh SSVM private IP, that i copied while
   it was in starting mode, from my host.
  
 
  Hi guys,
 
  I got the same issue. SSVM and CPVM running in KVM host but can't
  ping. I setup with KVM+OpenvSwitch, follow these guide:
  https://cwiki.apache.org/confluence/display/CLOUDSTACK/KVM+with+OpenVS
  witch
 
  SSVM startup screen show that:
 
  dnsmasq: unknown interface eth0
  failed!
  cat: /var/cache/cloud/cmdline: No such file or directory Stopping NFS
  common utilities: statd Stopping portmap daemon
  Stopping conntrackd can't connect: is conntrackd running? appropriate
  permission?
  failed
  startpar: service(s) returned failure: dnsmasq apache2... failed
 
  Debian GNU/Linux 6.0 systemvm tty1
 
  systemvm login:
 
  I just only see a little startup log because I can't scroll up screen.
 
  I guess the problem come from network configuration. But can't know
  exactly what's error?
 
  Any help...
 
  --
 
  N.g.U.y.e.N.A.n.H.t.U
 



 --
 --
 Regards,

 *Kashif Ali*
 Undergraduate Student | 7th Semester
 BESE-1A | NUST-SEECS | Islamabad
 10besek...@seecs.edu.pk




-- 
-- 
Regards,

*Kashif Ali*
Undergraduate Student | 7th Semester
BESE-1A | NUST-SEECS | Islamabad
10besek...@seecs.edu.pk


Help with host network config KVM + Centos

2013-09-05 Thread Jake G.
Hi all,

I have a single centOS 6.4 KVM host with two NICs

eth0: 192.168.100.131/24 GW 192.168.100.254 is for public access (internet 
access)
eth1: 10.3.9.50/8 no GW is for management access

Could someone please help me with the initial configuration to work with KVM 
and Cloudstack?
This setup is different than the documentation.

Thank you for your help in advance!

Re: VMware DomainRouter

2013-09-05 Thread Jayapal Reddy Uradi
This is expected in vmware. In Xen and KVM we have link local IP address.

Thanks,
Jayapal

On 06-Sep-2013, at 3:46 AM, John Skinner john.skin...@appcore.com wrote:

 Hello list, 
 
 I just setup a CloudStack 4.1 environment with vSphere 5.1. Everything seems 
 to be working ok for the most part. However, I have noticed that my domain 
 routers are getting created with a management IP address for the control 
 network instead of a control network IP address (the link local IP 
 addresses). Is this expected behavior?