ssvm问题

2015-07-07 Thread toudsf
大家好:

我使用4.5.1后发现,在上传模板的时候报错误。错误如下:

Failed post download script: 
/usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh: line 211: 
/bin/vhd-util: No such file or directoryvhd check of 
/mnt/SecStorage/1486268d-7d24-384d-b5b8-2359bbd12df1/template/tmpl/2/202/dnld347538932868361700

经过我跟踪,发现是 /bin/vhd-util 不能执行,导致的。

单独,执行/bin/vhd-util错误如下:
-bash: /bin/vhd-util: No such file or directory

初步判断应该是SSVM的原因,可能是系统缺少库文件。

有朋友知道缺少什么库文件吗?或者有自己制作系统模板的相关资料吗?

万分感谢!


2015-07-08



toudsf

vmware虚拟机添加

2015-05-26 Thread toudsf
各位好:

   1、先创建一个zone选择xenserver,再添加vmware没有问题
   2、开始创建zone时,就选择vmware,配置流量标签时,管理网配置为vswitch0时,公共流量和来宾配置为vswitch1时,创建
  zone完成后,发现在vmware上创建反了。
 

2015-05-26



toudsf

storage.overprovisioning.factor参数意义

2015-04-01 Thread toudsf
如果把存储的storage.overprovisioning.factor 参数设置为超配。
有什么实际意义了?谢谢。




2015-04-01



toudsf

内存超配

2015-01-16 Thread toudsf
大家好:
   
环境:xenserver6.2 + cloudstack4.2
在全局配置中配置了mem.overprovisioning.factor
但是内存还是没有超配置。
请问是什么原因了,谢谢!

   

2015-01-16



toudsf

回复: Re: 内存超配

2015-01-16 Thread toudsf
非常感谢。我试一试

2015-01-16



toudsf



发件人:HellCat qss_3...@qq.com
发送时间:2015-01-16 16:03
主题:Re: 内存超配
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

集群中也有一个相同的配置选项,要配置才生效 


cloudstack支持不同的集群用不同的超配方案 




-- Original -- 
From:  toudsf;18600601...@163.com; 
Date:  Fri, Jan 16, 2015 04:00 PM 
To:  users-cnusers-cn@cloudstack.apache.org;  

Subject:  内存超配 



大家好: 

环境:xenserver6.2 + cloudstack4.2 
在全局配置中配置了mem.overprovisioning.factor 
但是内存还是没有超配置。 
请问是什么原因了,谢谢! 



2015-01-16 



toudsf 

请问各位高手,怎么把cloudstack的sql日志输出到控制台或日志中了?

2014-08-28 Thread toudsf


2014-08-28



toudsf

4.2.1版本中,vmha功能无效

2014-03-05 Thread toudsf
虚拟化平台使用VMWARE
1、设置了全局设置中的ha.tag
2、设置了主机的host的主机标签
3、在服务器中增加计算方案,启用高可用性和设置主机标签
4、创建虚拟机选择HA的计算方案
5、关闭虚拟机后,没有新的虚拟机启动起来。

以前测试过4.1是好的,请各位大侠指教!

2014-03-06



toudsf

回复: Re: 4.2.1版本中,vmha功能无效

2014-03-05 Thread toudsf
到后台看了一下。没有再启动的相关日志。

2014-03-06



toudsf



发件人:linux...@gmail.com linux...@gmail.com
发送时间:2014-03-06 12:23
主题:Re: 4.2.1版本中,vmha功能无效
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

有相关的日志吗?建议提供一些日志信息 

在 2014年3月6日 上午10:44,toudsf 18600601...@163.com 写道: 
 虚拟化平台使用VMWARE 
 1、设置了全局设置中的ha.tag 
 2、设置了主机的host的主机标签 
 3、在服务器中增加计算方案,启用高可用性和设置主机标签 
 4、创建虚拟机选择HA的计算方案 
 5、关闭虚拟机后,没有新的虚拟机启动起来。 
 
 以前测试过4.1是好的,请各位大侠指教! 
 
 2014-03-06 
 
 
 
 toudsf 



--  
白清杰 (Born Bai) 

北京开源愿景信息技术有限公司 

Mail: linux...@gmail.com 

回复: Re: Re: 4.2.1版本中,vmha功能无效

2014-03-05 Thread toudsf
=jsons
essionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D_=1394086908630
DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:) SeqA 3-22501: 
Processing Seq 3-22501:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, 
[{com.cloud.ag
ent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:2,_loadInfo:{\n  
\connections\: []\n},wait:0}}] }
DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:) SeqA 3-22501: 
Sending Seq 3-22501:  { Ans: , MgmtId: 90520735180840, via: 3, Ver: v1, Flags: 
100010, [
{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===START===  192.168.0.241 -- 
GET  
command=queryAsyncJobResultjobId=1219fffc-fcd4-481d-8393-bc57e052cc52response=jso
nsessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D_=1394086911626
DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-18:) Async job-77 = [ 
1219fffc-fcd4-481d-8393-bc57e052cc52 ] completed
DEBUG [cloud.api.ApiServlet] (catalina-exec-18:) ===END===  192.168.0.241 -- 
GET  
command=queryAsyncJobResultjobId=1219fffc-fcd4-481d-8393-bc57e052cc52response=json
sessionkey=Uwo37DqYhp0CFWuYJbFDjAZ935g%3D_=1394086911626

2014-03-06



toudsf



发件人:linux...@gmail.com linux...@gmail.com
发送时间:2014-03-06 14:11
主题:Re: Re: 4.2.1版本中,vmha功能无效
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

你在关闭VM之后,系统有哪些日志? 


在 2014年3月6日 下午2:08,toudsf 18600601...@163.com 写道: 
 到后台看了一下。没有再启动的相关日志。 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 发件人:linux...@gmail.com linux...@gmail.com 
 发送时间:2014-03-06 12:23 
 主题:Re: 4.2.1版本中,vmha功能无效 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 有相关的日志吗?建议提供一些日志信息 
 
 在 2014年3月6日 上午10:44,toudsf 18600601...@163.com 写道: 
 虚拟化平台使用VMWARE 
 1、设置了全局设置中的ha.tag 
 2、设置了主机的host的主机标签 
 3、在服务器中增加计算方案,启用高可用性和设置主机标签 
 4、创建虚拟机选择HA的计算方案 
 5、关闭虚拟机后,没有新的虚拟机启动起来。 
 
 以前测试过4.1是好的,请各位大侠指教! 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 -- 
 白清杰 (Born Bai) 
 
 北京开源愿景信息技术有限公司 
 
 Mail: linux...@gmail.com 



--  
白清杰 (Born Bai) 

北京开源愿景信息技术有限公司 

Mail: linux...@gmail.com 

回复: Re: Re: 4.2.1版本中,vmha功能无效

2014-03-05 Thread toudsf
 [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:) SeqA 3-22509: 
Sending Seq 3-22509:  { Ans: , MgmtId: 90520735180840, via: 3, Ver: v1, Flags: 
100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }


2014-03-06



toudsf



发件人:linux...@gmail.com linux...@gmail.com
发送时间:2014-03-06 14:11
主题:Re: Re: 4.2.1版本中,vmha功能无效
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

你在关闭VM之后,系统有哪些日志? 


在 2014年3月6日 下午2:08,toudsf 18600601...@163.com 写道: 
 到后台看了一下。没有再启动的相关日志。 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 发件人:linux...@gmail.com linux...@gmail.com 
 发送时间:2014-03-06 12:23 
 主题:Re: 4.2.1版本中,vmha功能无效 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 有相关的日志吗?建议提供一些日志信息 
 
 在 2014年3月6日 上午10:44,toudsf 18600601...@163.com 写道: 
 虚拟化平台使用VMWARE 
 1、设置了全局设置中的ha.tag 
 2、设置了主机的host的主机标签 
 3、在服务器中增加计算方案,启用高可用性和设置主机标签 
 4、创建虚拟机选择HA的计算方案 
 5、关闭虚拟机后,没有新的虚拟机启动起来。 
 
 以前测试过4.1是好的,请各位大侠指教! 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 -- 
 白清杰 (Born Bai) 
 
 北京开源愿景信息技术有限公司 
 
 Mail: linux...@gmail.com 



--  
白清杰 (Born Bai) 

北京开源愿景信息技术有限公司 

Mail: linux...@gmail.com 

回复: Re: Re: Re: 4.2.1版本中,vmha功能无效

2014-03-05 Thread toudsf
我有2台物理服务器,另外一台1个虚拟机也没有。
我现在创建新的虚拟机也是可以的。应该不是容量问题。

2014-03-06



toudsf



发件人:linux...@gmail.com linux...@gmail.com
发送时间:2014-03-06 14:59
主题:Re: Re: Re: 4.2.1版本中,vmha功能无效
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) VM state 
transitted from :Stopping to Stopped with event: 
OperationSucceededvm's original host id: 2 new host id: null host id 
before state transition: 2 
DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's 
actual total CPU: 47880 and CPU after applying overprovisioning: 47880 
DEBUG [cloud.capacity.CapacityManagerImpl] (DirectAgent-160:) Hosts's 
actual total RAM: 12842033152 and RAM after applying overprovisioning: 
12842033152 

你的VM的资源请求是不是超过了主机可以提供的范围? 

在 2014年3月6日 下午2:55,toudsf 18600601...@163.com 写道: 
 刚才在/cloud-server/src/com/cloud/ha/HighAvailabilityManagerImpl.java文件中发现348-351行
  
 有以下语句 
 
if(vm.getHypervisorType() == HypervisorType.VMware) { 
 s_logger.info(Skip HA for VMware VM  + vm.getInstanceName()); 
 return; 
 } 
 
 
 难道现在不支持虚拟化平台时vmare的vm ha功能了? 
 
 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 发件人:linux...@gmail.com linux...@gmail.com 
 发送时间:2014-03-06 14:11 
 主题:Re: Re: 4.2.1版本中,vmha功能无效 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 你在关闭VM之后,系统有哪些日志? 
 
 
 在 2014年3月6日 下午2:08,toudsf 18600601...@163.com 写道: 
 到后台看了一下。没有再启动的相关日志。 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 发件人:linux...@gmail.com linux...@gmail.com 
 发送时间:2014-03-06 12:23 
 主题:Re: 4.2.1版本中,vmha功能无效 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 有相关的日志吗?建议提供一些日志信息 
 
 在 2014年3月6日 上午10:44,toudsf 18600601...@163.com 写道: 
 虚拟化平台使用VMWARE 
 1、设置了全局设置中的ha.tag 
 2、设置了主机的host的主机标签 
 3、在服务器中增加计算方案,启用高可用性和设置主机标签 
 4、创建虚拟机选择HA的计算方案 
 5、关闭虚拟机后,没有新的虚拟机启动起来。 
 
 以前测试过4.1是好的,请各位大侠指教! 
 
 2014-03-06 
 
 
 
 toudsf 
 
 
 
 -- 
 白清杰 (Born Bai) 
 
 北京开源愿景信息技术有限公司 
 
 Mail: linux...@gmail.com 
 
 
 
 -- 
 白清杰 (Born Bai) 
 
 北京开源愿景信息技术有限公司 
 
 Mail: linux...@gmail.com 



--  
白清杰 (Born Bai) 

北京开源愿景信息技术有限公司 

Mail: linux...@gmail.com 

4.2.1用vmware作为虚拟化平台,两个主存储时。挂载卷,出以下错误。

2014-02-19 Thread toudsf
ent.api.ConsoleProxyLoadReportCommand:{_proxyVmId:1,_loadInfo:{\n  
\connections\: []\n},wait:0}}] }
WARN  [storage.datastore.ObjectInDataStoreManagerImpl] (Job-Executor-98:job-334 
= [ 429cfbc6-ab5e-494d-93a6-6cb69c3009e0 ]) Unsupported data object (VOLUME, 
org.apache.cloudstack.storage.datastore.PrimaryDataStoreImpl@73b96be0), no need 
to delete from object in store ref table
DEBUG [cloud.storage.VolumeManagerImpl] (Job-Executor-98:job-334 = [ 
429cfbc6-ab5e-494d-93a6-6cb69c3009e0 ]) create volume failed: No remote 
endpoint to send DeleteCommand, check if host or ssvm is down?
DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-8:) SeqA 2-30596: 
Sending Seq 2-30596:  { Ans: , MgmtId: 90520735180840, via: 2, Ver: v1, Flags: 
100010, [{com.cloud.agent.api.AgentControlAnswer:{result:true,wait:0}}] }
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-98:job-334 = [ 
429cfbc6-ab5e-494d-93a6-6cb69c3009e0 ]) Unexpected exception while executing 
org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd
com.cloud.utils.exception.CloudRuntimeException: create volume failed:No remote 
endpoint to send DeleteCommand, check if host or ssvm is down?
at 
com.cloud.storage.VolumeManagerImpl.createVolume(VolumeManagerImpl.java:703)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.storage.VolumeManagerImpl.createVolumeOnPrimaryStorage(VolumeManagerImpl.java:1548)
at 
com.cloud.storage.VolumeManagerImpl.attachVolumeToVM(VolumeManagerImpl.java:1882)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-98:job-334 = [ 
429cfbc6-ab5e-494d-93a6-6cb69

2014-02-19



toudsf

请教各位大侠,启动VROUTE时,出现以下错误。请各位老大看一下。谢谢!

2014-01-21 Thread toudsf
ost id: null host id before state transition: 6
DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-2:job-110) Hosts's 
actual total CPU: 23940 and CPU after applying overprovisioning: 23940
DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-2:job-110) release cpu 
from host: 6, old used: 500,reserved: 0, actual total: 23940, total with 
overprovisioning: 23940; new used: 0,reserved:0; movedfromreserved: 
false,moveToReserveredfalse
DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-2:job-110) release mem 
from host: 6, old used: 536870912,reserved: 0, total: 21431967744; new used: 
0,reserved:0; movedfromreserved: false,moveToReserveredfalse
ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-2:job-110) Unexpected 
exception while executing 
org.apache.cloudstack.api.command.admin.router.StartRouterCmd
com.cloud.exception.AgentUnavailableException: Resource [Host:6] is 
unreachable: Host 6: Unable to start instance due to 
com.cloud.agent.api.UnsupportedAnswer cannot be cast to 
com.cloud.agent.api.storage.PrimaryStorageDownloadAnswer
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:843)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2615)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2873)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2823)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:163)
at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:439)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)


2014-01-21



toudsf

关于vlan 4096限制问题

2013-11-20 Thread toudsf
请问大家在设计网络的时候,怎么解决VLAN 4096限制的问题了?

2013-11-21



toudsf

回复: Re: 关于vlan 4096限制问题

2013-11-20 Thread toudsf
回复中好像是空白?

2013-11-21



toudsf



发件人:aireal217 aireal...@163.com
发送时间:2013-11-21 15:26
主题:Re: 关于vlan 4096限制问题
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:






aireal217 

发件人: toudsf 
发送时间: 2013-11-21 13:45 
收件人: users-cn 
主题: 关于vlan 4096限制问题 
请问大家在设计网络的时候,怎么解决VLAN 4096限制的问题了? 

2013-11-21 



toudsf 

回复: Re: Cloudstack 里的VM,可以指定IP吗?

2013-11-18 Thread toudsf
DHCP的租期好像是20年,如果删除这个虚拟机。
其他虚拟机还会分配到这个IP地址吗?

2013-11-18



toudsf



发件人:tanthalas tanthalas...@hotmail.com
发送时间:2013-11-18 16:54
主题:Re: Cloudstack 里的VM,可以指定IP吗?
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:


建好的vm不能随意改ip。 
CS默认的ui上没有改ip的功能,但是通过api可以实现在建vm的时候制定ip地址。 

   
刘宇超  Richard Liu 




发件人: Nick  
发送时间: 2013-11-18  11:54:59  
收件人: users-cn@cloudstack.apache.org  
抄送:  
主题: Cloudstack 里的VM,可以指定IP吗?  
  
Hello All 

想请教一下,在Cloudstack 里的VM,可以修改IP吗? 
因建好后,DHCP会自动发一个IP给VM,不知这个是否可自行修改呢?? 

Thanks 
Nick 

各位高手,出现以下情况是啥原因了。谢谢了

2013-11-15 Thread toudsf
)
at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:443)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)

2013-11-15



toudsf

回复: Re: 各位高手,出现以下情况是啥原因了。谢谢了

2013-11-15 Thread toudsf
背景:SSVM启动正常,现在启动虚拟机时,vroute一直好像在连接vroute的管理网ip地址。所以导致vroute启动不起来。
  管理网连接vroute的时候,验证的用户名和密码在哪里配置了。我是用mvn -pl :cloud-client-ui jetty:run 
-Dnonoss启动的。
  从rpm部署的正常。

 1、selinux关闭了
 2、在VMWAREN的目录需要id_rsa.cloud文件吗。我看再xenserver的跟目录有。

2013-11-15



toudsf



发件人:ma y breeze7...@gmail.com
发送时间:2013-11-15 17:17
主题:Re: 各位高手,出现以下情况是啥原因了。谢谢了
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

权限验证失败 
查查selinux有没关,用户名密码对不对 


2013/11/15 toudsf 18600601...@163.com 

 INFO  [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) 
 Could not connect to 192.168.0.111 due to java.net.ConnectException: 
 Connection refused 
 INFO  [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) 
 dc@dispatch-execute 
 ... 
 INFO  [cloud.api.ApiDispatcher] (339734114@qtp-663010459-17:) 
 dc@dispatch-execute 
 ... 
 INFO  [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) 
 Trying to connect to 192.168.0.111 
 ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to 
 authentication SSH user root on host 192.168.0.111 
 ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) 
 Unable to execute NetworkUsage command on DomR (192.168.0.111), domR may 
 not be ready yet. failure due to Exception: java.lang.Exception 
 Message: Failed to authentication SSH user root on host 192.168.0.111 
 
 java.lang.Exception: Failed to authentication SSH user root on host 
 192.168.0.111 
 at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144) 
 at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37) 
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.networkUsage(VmwareResource.java:4648)
  
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1994)
  
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:426)
  
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
  
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
 at 
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
  
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
  
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
  
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  
 at java.lang.Thread.run(Thread.java:701) 
 ERROR [utils.ssh.SshHelper] (DirectAgent-33:192.168.0.202) Failed to 
 authentication SSH user root on host 192.168.0.111 
 ERROR [vmware.resource.VmwareResource] (DirectAgent-33:192.168.0.202) 
 GetDomRVersionCmd failed due to Exception: java.lang.Exception 
 Message: Failed to authentication SSH user root on host 192.168.0.111 
 
 java.lang.Exception: Failed to authentication SSH user root on host 
 192.168.0.111 
 at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:144) 
 at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37) 
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1836)
  
 at 
 com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:434)
  
 at 
 com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:190)
  
 at 
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
 at 
 java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
 at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
  
 at 
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
  
 at 
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
  
 at 
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  
 at java.lang.Thread.run(Thread.java:701) 
 WARN  [network.router.VirtualNetworkApplianceManagerImpl] 
 (Job-Executor-6:job-22) Unable to get the template/scripts version of 
 router r-13-VM due to: GetDomRVersionCmd failed due to Exception: 
 java.lang.Exception 
 Message: Failed to authentication SSH user root on host 192.168.0.111 
 
 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-6:job-22) The 
 guru did not like the answers so stopping VM[DomainRouter|r-13-VM] 
 INFO  [vmware.resource.VmwareResource] (DirectAgent-69:192.168.0.202) 
 Executing resource StopCommand: 
 {isProxy:false,vmName:r-13-VM,wait:0} 
 INFO  [cloud.api.ApiDispatcher] (339734114@qtp-663010459

虚拟路由启动问题

2013-11-15 Thread toudsf
各位高手好:

我有一个问题不太明白。在虚拟路由启动过程中,为什么要测试连接pod的保留ip了。
代码如下:
 pod的保留IP应该是配置管理网段把?
 
 try {
if (s_logger.isTraceEnabled()) {
s_logger.trace(Executing /opt/cloud/bin/netusage.sh  + args + 
 on DomR  + privateIpAddress);
}

VmwareManager mgr = 
getServiceContext().getStockObject(VmwareManager.CONTEXT_STOCK_NAME);

PairBoolean, String result = 
SshHelper.sshExecute(privateIpAddress, DEFAULT_DOMR_SSHPORT, root, 
mgr.getSystemVMKeyFile(), null, /opt/cloud/bin/netusage.sh  + args);

if (!result.first()) {
return null;
}

return result.second();


2013-11-15



toudsf

为什么我的虚拟机路由器会多分配一个管理网IP地址了?

2013-11-15 Thread toudsf
{vm:{id:13,name:r-13-VM,bootloader:HVM,type:DomainRouter,cpus:1,speed:500,minRam:134217728,
maxRam:134217728,arch:i686,os:Debian GNU/Linux 5.0 (32-bit),
bootArgs: template=domP name=r-13-VM 
eth2ip=192.168.6.4 eth2mask=255.255.255.0 gateway=192.168.6.1 
eth0ip=10.1.80.1 eth0mask=255.255.255.0 domain=cs2cloud.internal 
dhcprange=10.1.80.1 
eth1ip=192.168.0.115 eth1mask=255.255.255.0 mgmtcidr=192.168.0.0/24 
localgw=192.168.0.1 
type=router disable_rp_filter=true extra_pubnics=2 dns1=8.8.8.8 
nic_macs=02:00:42:a1:00:02|02:00:14:b3:00:19|06:f6:96:00:00:0d|02:00:37:78:00:1b|02:00:01:b4:00:1c,rebootOnCrash:false,enableHA:true,limitCpuUse:false,vncPassword:5eb964fc4f7709ec,params:{nicAdapter:E1000},uuid:c86d92cc-6ce7-417a-8017-e4963bec1611,disks:[{id:13,name:ROOT-13,mountPoint:/opt/dsfone,path:ROOT-13-13,size:2097152000,type:ROOT,storagePoolType:NetworkFilesystem,storagePoolUuid:68ffa111-0950-3b05-bd22-3bcabfbf588f,deviceId:0}],nics:[{deviceId:2,networkRateMbps:200,defaultNic:true,uuid:3d6f515a-2147-4ffa-9767-51607b9db9e2,ip:192.168.6.4,netmask:255.255.255.0,gateway:192.168.6.1,mac:06:f6:96:00:00:0d,dns1:8.8.8.8,broadcastType:Vlan,type:Public,broadcastUri:vlan://20,isolationUri:vlan://20,isSecurityGroupEnabled:false,name:vSwitch1},{deviceId:0,networkRateMbps:200,defaultNic:false,uuid:2646cc77-4c9f-4595-aeec-bf470c84e2a5,ip:10.1.80.1,netmask:255.255.255.0,mac:02:00:42:a1:00:02,dns1:8.8.8.8,broadcastType:Vlan,type:Guest,broadcastUri:vlan://122,isolationUri:vlan://122,isSecurityGroupEnabled:false,name:vSwitch1},{deviceId:1,networkRateMbps:-1,defaultNic:false,uuid:2649fea5-c705-4037-a8d3-88f5314dd633,ip:192.168.0.115,netmask:255.255.255.0,gateway:192.168.0.1,mac:02:00:14:b3:00:19,broadcastType:Native,type:Control,isSecurityGroupEnabled:false},{deviceId:3,networkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.6.1,mac:02:00:37:78:00:1b,dns1:8.8.8.8,broadcastType:Vlan,type:Public,broadcastUri:vlan://20,isolationUri:vlan://20,isSecurityGroupEnabled:false},{deviceId:4,networkRateMbps:-1,defaultNic:false,ip:0.0.0.0,netmask:255.255.255.255,gateway:192.168.6.1,mac:02:00:01:b4:00:1c,dns1:8.8.8.8,broadcastType:Vlan,type:Public,broadcastUri:vlan://20,isolationUri:vlan://20,isSecurityGroupEnabled:false}]},hostIp:192.168.0.202,wait:0}


2013-11-15



toudsf

请教高手,添加来宾网络的时候,网络域是干什么用的?另外ISO模板中的密钥和值是干什么用的?

2013-11-13 Thread toudsf


2013-11-14



toudsf

各位高手,在Cygwin64下面怎么执行cloud-install-sys-tmplt?让系统虚拟机运转起来?

2013-11-12 Thread toudsf


2013-11-12



toudsf

回复: Re: cloudstack的账号

2013-11-06 Thread toudsf
我的意思是同一个domain下,2个账号,网络资源可以互相看。
但是在创建虚拟机的时候却不能用。A账号创建的虚拟机在B账号下可以看到。不知道是这么设计的,还是有bug了?

2013-11-07



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-11-06 16:06
主题:Re: cloudstack的账号
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

你说的是account还是user?这是两个概念 


在 2013年11月5日上午11:02,toudsf 18600601...@163.com写道: 

 各位大拿好: 
 
 今天在测试cloudstack账号的时候发现一些问题: 
 1、不同账户进入系统后,能看到所有网络。但是不能用这些网络创建实例。 
 2、不同账户进入系统后,能看见所有账户的实例。 
 以上情况感觉没有起到账号的作用。 
 
 2013-11-05 
 
 
 
 toudsf 

回复: Re: Re: cloudstack的账号

2013-11-06 Thread toudsf
是的,都是一个domain-admin

2013-11-07



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-11-07 14:23
主题:Re: Re: cloudstack的账号
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

这两个账号都是domain-admin吧 


在 2013年11月7日上午6:45,toudsf 18600601...@163.com写道: 

 我的意思是同一个domain下,2个账号,网络资源可以互相看。 
 但是在创建虚拟机的时候却不能用。A账号创建的虚拟机在B账号下可以看到。不知道是这么设计的,还是有bug了? 
 
 2013-11-07 
 
 
 
 toudsf 
 
 
 
 发件人:Wei ZHOU ustcweiz...@gmail.com 
 发送时间:2013-11-06 16:06 
 主题:Re: cloudstack的账号 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 你说的是account还是user?这是两个概念 
 
 
 在 2013年11月5日上午11:02,toudsf 18600601...@163.com写道: 
 
  各位大拿好: 
  
  今天在测试cloudstack账号的时候发现一些问题: 
  1、不同账户进入系统后,能看到所有网络。但是不能用这些网络创建实例。 
  2、不同账户进入系统后,能看见所有账户的实例。 
  以上情况感觉没有起到账号的作用。 
  
  2013-11-05 
  
  
  
  toudsf 
 

回复: Re: Re: Re: cloudstack的账号

2013-11-06 Thread toudsf
谢谢,明白了!

2013-11-07



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-11-07 14:27
主题:Re: Re: Re: cloudstack的账号
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

那就没问题。admin可以查看domain里面所有的资源,但是只能使用属于自己的。 


在 2013年11月7日上午7:25,toudsf 18600601...@163.com写道: 

 是的,都是一个domain-admin 
 
 2013-11-07 
 
 
 
 toudsf 
 
 
 
 发件人:Wei ZHOU ustcweiz...@gmail.com 
 发送时间:2013-11-07 14:23 
 主题:Re: Re: cloudstack的账号 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 这两个账号都是domain-admin吧 
 
 
 在 2013年11月7日上午6:45,toudsf 18600601...@163.com写道: 
 
  我的意思是同一个domain下,2个账号,网络资源可以互相看。 
  但是在创建虚拟机的时候却不能用。A账号创建的虚拟机在B账号下可以看到。不知道是这么设计的,还是有bug了? 
  
  2013-11-07 
  
  
  
  toudsf 
  
  
  
  发件人:Wei ZHOU ustcweiz...@gmail.com 
  发送时间:2013-11-06 16:06 
  主题:Re: cloudstack的账号 
  收件人:users-cnusers-cn@cloudstack.apache.org 
  抄送: 
  
  你说的是account还是user?这是两个概念 
  
  
  在 2013年11月5日上午11:02,toudsf 18600601...@163.com写道: 
  
   各位大拿好: 
   
   今天在测试cloudstack账号的时候发现一些问题: 
   1、不同账户进入系统后,能看到所有网络。但是不能用这些网络创建实例。 
   2、不同账户进入系统后,能看见所有账户的实例。 
   以上情况感觉没有起到账号的作用。 
   
   2013-11-05 
   
   
   
   toudsf 
  
 

cloudstack的账号

2013-11-05 Thread toudsf
各位大拿好:

今天在测试cloudstack账号的时候发现一些问题:
1、不同账户进入系统后,能看到所有网络。但是不能用这些网络创建实例。
2、不同账户进入系统后,能看见所有账户的实例。
以上情况感觉没有起到账号的作用。

2013-11-05



toudsf

全局设置中的作用

2013-10-24 Thread toudsf
各位高手:
apply.allocation.algorithm.to.pods 是什么意思了?



2013-10-24



toudsf

回复: RE: 回复: CloudInstanceManager.msi文件源码

2013-10-23 Thread toudsf
源码不知道去哪里下载,可能没有open吧!

2013-10-23



toudsf



发件人:王耀锋 wilc...@hotmail.com
发送时间:2013-10-23 14:45
主题:RE: 回复: CloudInstanceManager.msi文件源码
收件人:users-cn@cloudstack.apache.orgusers-cn@cloudstack.apache.org
抄送:

这个链接不是只能下载到软件吗, 源码怎么下载得到呢? 

 Date: Wed, 23 Oct 2013 13:37:28 +0800 
 From: 18600601...@163.com 
 To: users-cn@cloudstack.apache.org 
 Subject: 回复:  CloudInstanceManager.msi文件源码 
  
 http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download
  
  
 可以下载到 
  
 2013-10-23 
  
  
  
 toudsf 
  
  
  
 发件人:王耀锋 wilc...@hotmail.com 
 发送时间:2013-10-22 16:46 
 主题:CloudInstanceManager.msi文件源码 
 收件人:users-cn@cloudstack.apache.orgusers-cn@cloudstack.apache.org 
 抄送: 
  
 问下,CloudInstanceManager.msi的源码在哪儿能下载到?


回复: CloudInstanceManager.msi文件源码

2013-10-22 Thread toudsf
http://sourceforge.net/projects/cloudstack/files/Password%20Management%20Scripts/CloudInstanceManager.msi/download

可以下载到

2013-10-23



toudsf



发件人:王耀锋 wilc...@hotmail.com
发送时间:2013-10-22 16:46
主题:CloudInstanceManager.msi文件源码
收件人:users-cn@cloudstack.apache.orgusers-cn@cloudstack.apache.org
抄送:

问下,CloudInstanceManager.msi的源码在哪儿能下载到?   

回复: Re: iscsi加入时报下面的错误,请各位高手帮忙指教一下!虚拟化软件用的是xen server

2013-10-16 Thread toudsf
lun从0开始,如果是第一个,填0即可。

2013-10-17



toudsf



发件人:evanitsharp evanitsh...@gmail.com
发送时间:2013-10-17 10:07
主题:Re: iscsi加入时报下面的错误,请各位高手帮忙指教一下!虚拟化软件用的是xen server
收件人:CloudStack社区users-cn@cloudstack.apache.org
抄送:

你LUN怎么填的? 




evanitsharp 

发件人: toudsf 
发送时间: 2013-10-16 16:58 
收件人: users-cn 
主题: iscsi加入时报下面的错误,请各位高手帮忙指教一下!虚拟化软件用的是xen server 
2013-10-16 16:43:36,908 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) 
===START===  202.108.145.11 -- GET  command=cr: 
eateStoragePoolzoneid=2fd8c385-9f2c-4e3e-bd84-dddfef0d7c61podId=f6b9ed93-e0cf-4291-a7be-9280ac048fa9clusterid=ec85a670-cff2-4735-a422-1bdad1264fa0name=maxiaohuiurl=iscsi%3A%2F%2F192.168.0.203%2Fiqn.2001-04.com.example%3Astorage.disk2.sys1.xyz%2Fxyzresponse=jsonsessionkey=f3seOLVSaDr70CeHzAVGv2dizKw%3D_=1381912979530
 
2013-10-16 16:43:36,924 DEBUG [cloud.storage.StorageManagerImpl] 
(catalina-exec-3:null) createPool Params @ scheme - iscsi storageHost - 
192.168.0.203 hostPath - /iqn.2001-04.com.example:storage.disk2.sys1.xyz/xyz 
port - -1 
2013-10-16 16:43:36,925 ERROR [cloud.api.ApiServer] (catalina-exec-3:null) 
unhandled exception executing api command: createStoragePool 
java.lang.NullPointerException 
at 
com.cloud.storage.StorageManagerImpl.createPool(StorageManagerImpl.java:1308) 
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)
 
at 
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
 
at 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2266)
 
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) 
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) 
at java.lang.Thread.run(Thread.java:679) 
2013-10-16 16:43:36,927 DEBUG [cloud.api.ApiServlet] (catalina-exec-3:null) 
===END===  202.108.145.11 -- GET  
command=createStoragePoolzoneid=2fd8c385-9f2c-4e3e-bd84-dddfef0d7c61podId=f6b9ed93-e0cf-4291-a7be-9280ac048fa9clusterid=ec85a670-cff2-4735-a422-1bdad1264fa0name=maxiaohuiurl=iscsi%3A%2F%2F192.168.0.203%2Fiqn.2001-04.com.example%3Astorage.disk2.sys1.xyz%2Fxyzresponse=jsonsessionkey=f3seOLVSaDr70CeHzAVGv2dizKw%3D_=1381912979530
 
2013-10-16 16:43:40,106 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-470:null) Seq 1-1088028677: Executing request 
2013-10-16 16:43:40,315 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-470:null) Seq 1-1088028677: Response Received: 
2013-10-16 16:43:40,315 DEBUG [agent.transport.Request] (DirectAgent-470:null) 
Seq 1-1088028677: Processing:  { Ans: , MgmtId: 130580777636, via: 1, Ver: v1, 
Flags: 10, [{Answer:{result:true,wait:0}}] } 



2013-10-16 



toudsf 

请问各位,有没有官方文档说明,cloudstack可以管理多少台物理机?

2013-10-14 Thread toudsf


2013-10-15



toudsf

回复: Re: Re: cloudstack调用Xen Server,不能安装桌面

2013-10-13 Thread toudsf
hi,

   是在上传ISO的时候选择other吗?在创建虚拟机的时候好像没有other

2013-10-14



toudsf



发件人:Hongtu Zang zanghongtu2...@gmail.com
发送时间:2013-10-14 10:41
主题:Re: Re: cloudstack调用Xen Server,不能安装桌面
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

有啊,cloudstack也有other xxx 选项啊 


在 2013年10月14日上午10:07,toudsf 18600601...@163.com写道: 

 我用cloudstack去安装,不是用xenserver安装,没有办法选择other。 
 
 2013-10-14 
 
 
 
 toudsf 
 
 
 
 发件人:Hongtu Zang zanghongtu2...@gmail.com 
 发送时间:2013-10-14 09:58 
 主题:Re: cloudstack调用Xen Server,不能安装桌面 
 收件人:users-cnusers-cn@cloudstack.apache.org 
 抄送: 
 
 操作系统选择other就可以了 
 
 
 在 2013年10月14日上午9:36,tanthalas tanthalas...@hotmail.com写道: 
 
  
  这是xenserver的问题,安装的时候不会有图形界面。这不算最小化安装,在步骤里仍然可以选择任意安装包。 
  
  
  刘宇超  Richard Liu 
  
  
  
  
  发件人: toudsf 
  发送时间: 2013-10-14  09:29:27 
  收件人: users-cn 
  抄送: 
  主题: cloudstack调用Xen Server,不能安装桌面 
  
  各位高手,帮忙看看! 
 cloudstack4.1+Xen Server 
  6.1环境下,cloudstack创建linux虚拟机时,会自动最小化安装,不能安装操作系统的桌面,只有命令行。 
  2013-10-14 
  toudsf 
  
 

hi,debug环境启动的时候,抛出【System integrity check failed. Refuse to startup】错误

2013-10-11 Thread toudsf
hi,各位牛人:

 // Run the SystemIntegrityCheckers first
MapString, SystemIntegrityChecker integrityCheckers = 
getApplicationContext().getBeansOfType(SystemIntegrityChecker.class);
for (EntryString,SystemIntegrityChecker entry : 
integrityCheckers.entrySet() ){
s_logger.info (Running SystemIntegrityChecker  + entry.getKey());
try {
 entry.getValue().check();
} catch(Throwable e) {
 s_logger.error(System integrity check failed. Refuse to startup);
 System.exit(1);
}
}

2013-10-12



toudsf

网络部能选择share network

2013-10-08 Thread toudsf
hi,各位:

   为什么在左边菜单【网络】中,【添加来宾网络】中,网络方案下拉框中不能选择share的网络了?

2013-10-08



toudsf

回复: Re: 网络部能选择share network

2013-10-08 Thread toudsf
wei zhou您好:

为什么4.1.1点进去以后只有查询没有添加了?您之前用的是那个版本有这个功能了?
 

2013-10-08



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-10-08 15:48
主题:Re: 网络部能选择share network
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

网络tab是用户可见的,但是shared 网络是用户不可见的,所以从网络tab是不能添加shared network的。 
你可以从infrastructure-zone-物理网络下面的几个页面找到guest网络添加 

回复: Re: Re: 网络部能选择share network

2013-10-08 Thread toudsf
非常感谢!

2013-10-08



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-10-08 15:58
主题:Re: Re: 网络部能选择share network
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

在4.1.1是个bug。在mgt server找到system.js,删几行代码。 

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=697246d7e1edacba3c341f691d525b9123a57811;hp=2e2dd684d25cde2f047ebab0e37a83f5a65c4b75
 

回复: Re: Re: 网络部能选择share network

2013-10-08 Thread toudsf
hi,wei zhou 您好:

   看见了,是你提交的。目前4.1和4.1.1那个版本更稳定了?谢谢!

2013-10-08



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-10-08 15:58
主题:Re: Re: 网络部能选择share network
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

在4.1.1是个bug。在mgt server找到system.js,删几行代码。 

https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=commitdiff;h=697246d7e1edacba3c341f691d525b9123a57811;hp=2e2dd684d25cde2f047ebab0e37a83f5a65c4b75
 

回复: Re: Re: Re: 网络部能选择share network

2013-10-08 Thread toudsf
VMAERE支持share network吗?

2013-10-08



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-10-08 16:15
主题:Re: Re: Re: 网络部能选择share network
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

把4.1  branch自己编译一下最稳定。。。 

系统虚拟机启动,报以下错误。请高手帮忙看看是啥原因。

2013-09-23 Thread toudsf
)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.start(VirtualNetworkApplianceManagerImpl.java:2616)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startVirtualRouter(VirtualNetworkApplianceManagerImpl.java:1824)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouters(VirtualNetworkApplianceManagerImpl.java:1924)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.deployVirtualRouterInGuestNetwork(VirtualNetworkApplianceManagerImpl.java:1902)
at 
com.cloud.network.element.VirtualRouterElement.implement(VirtualRouterElement.java:175)
at 
com.cloud.network.NetworkManagerImpl.implementNetworkElementsAndResources(NetworkManagerImpl.java:1518)
at 
com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1434)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.network.NetworkManagerImpl.startNetwork(NetworkManagerImpl.java:2435)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2855)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.startRouter(VirtualNetworkApplianceManagerImpl.java:2824)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
org.apache.cloudstack.api.command.admin.router.StartRouterCmd.execute(StartRouterCmd.java:103)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: com.cloud.utils.exception.ExecutionException: Unable to start 
VM[DomainRouter|r-4-VM] due to error in finalizeStart, not retrying
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:808)
... 30 more



2013-09-23



toudsf

回复: 在windows下编译cloudstack4.1.1

2013-09-21 Thread toudsf
您这个问题解决了吗?

2013-09-22



toudsf



发件人:qin wu wqxiaoaojian...@gmail.com
发送时间:2013-08-12 20:41
主题:在windows下编译cloudstack4.1.1
收件人:cloudstack-users...@incubator.apache.orgcloudstack-users...@incubator.apache.org
抄送:

我按照《1 cloudstack开发环境设置-windows篇》进行了配置,尝试编译4.1.1。命令: mvn  clean install -P 
systemvm ,developer但出现一下问题 
main: 
   [delete] Deleting directory 
C:\workspace\cloudstack\tools\marvin\marvin\cloudstackAPI 
[INFO] Executed tasks 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (compile) @ cloud-marvin --- 
[INFO] 
[INFO] --- maven-site-plugin:3.1:attach-descriptor (attach-descriptor) @ 
cloud-marvin --- 
[INFO] 
[INFO] --- exec-maven-plugin:1.2.1:exec (package) @ cloud-marvin --- 
Traceback (most recent call last): 
  File setup.py, line 19, in module 
from setuptools import setup 
ImportError: No module named setuptools 
[INFO] 
 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Apache CloudStack . SUCCESS [9.312s] 
[INFO] Apache CloudStack Utils ... SUCCESS [36.469s] 
[INFO] Apache CloudStack API . SUCCESS [56.156s] 
[INFO] Apache CloudStack Core  SUCCESS [18.157s] 
[INFO] Apache CloudStack Agents .. SUCCESS [32.765s] 
[INFO] Apache CloudStack SystemVM Patches  SUCCESS [4.094s] 
[INFO] Apache CloudStack Console Proxy ... SUCCESS [35.031s] 
[INFO] Apache CloudStack Framework ... SUCCESS [0.250s] 
[INFO] Apache CloudStack Framework - IPC . SUCCESS [13.313s] 
[INFO] Apache CloudStack Framework - REST  SUCCESS [10.765s] 
[INFO] Apache CloudStack Cloud Engine  SUCCESS [0.219s] 
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [11.391s] 
[INFO] Apache CloudStack Framework - Event Notification .. SUCCESS [4.265s] 
[INFO] Apache CloudStack Server .. SUCCESS 
[1:50.313s] 
[INFO] Apache CloudStack Usage Server  SUCCESS [38.531s] 
[INFO] Apache XenSource XAPI . SUCCESS [15.750s] 
[INFO] Apache CloudStack Plugin POM .. SUCCESS [0.953s] 
[INFO] Apache CloudStack Plugin - API Rate Limit . SUCCESS [13.625s] 
[INFO] Apache CloudStack Plugin - API Discovery .. SUCCESS [8.891s] 
[INFO] Apache CloudStack Plugin - ACL Static Role Based .. SUCCESS [4.875s] 
[INFO] Apache CloudStack Plugin - User Concentrated Pod Deployment Planner 
 SUCCESS [4.484s] 
[INFO] Apache CloudStack Plugin - User Dispersing Deployment Planner 
 SUCCESS [4.828s] 
[INFO] Apache CloudStack Plugin - Host Allocator Random .. SUCCESS [4.407s] 
[INFO] Apache CloudStack Plugin - Hypervisor OracleVM  SUCCESS [7.000s] 
[INFO] Apache CloudStack Cloud Engine Internal Components API  SUCCESS 
[4.531s] 
[INFO] Apache CloudStack Engine Storage Component  SUCCESS [14.953s] 
[INFO] Apache CloudStack Plugin - Open vSwitch ... SUCCESS [7.656s] 
[INFO] Apache CloudStack Plugin - Hypervisor Xen . SUCCESS [10.406s] 
[INFO] Apache CloudStack Plugin - Hypervisor KVM . SUCCESS [30.282s] 
[INFO] Apache CloudStack Plugin - RabbitMQ Event Bus . SUCCESS [7.297s] 
[INFO] Apache CloudStack Plugin - Hypervisor Simulator ... SUCCESS [11.765s] 
[INFO] Apache CloudStack Plugin - Network Elastic Load Balancer  SUCCESS 
[5.578s] 
[INFO] Apache CloudStack Plugin - Network Nicira NVP . SUCCESS [16.438s] 
[INFO] Apache CloudStack Plugin - BigSwitch Virtual Network Segment 
 SUCCESS [9.062s] 
[INFO] Apache CloudStack Plugin - Storage Allocator Random  SUCCESS [3.719s] 
[INFO] Apache CloudStack Plugin - User Authenticator LDAP  SUCCESS [3.719s] 
[INFO] Apache CloudStack Plugin - User Authenticator MD5 . SUCCESS [3.906s] 
[INFO] Apache CloudStack Plugin - User Authenticator Plain Text  SUCCESS 
[4.078s] 
[INFO] Apache CloudStack Plugin - User Authenticator SHA256 Salted  SUCCESS 
[6.344s] 
[INFO] Apache CloudStack Plugin - Dns Notifier Example ... SUCCESS [3.687s] 
[INFO] Apache CloudStack Engine Storage Image Component .. SUCCESS [8.657s] 
[INFO] Apache CloudStack Plugin - Storage Image S3 ... SUCCESS [3.015s] 
[INFO] Apache CloudStack Engine Storage Volume Component . SUCCESS [10.219s] 
[INFO] Apache CloudStack Plugin - Storage Volume solidfire  SUCCESS [5.656s] 
[INFO] Apache CloudStack Cloud Engine Compute Component .. SUCCESS [5.203s] 
[INFO] Apache CloudStack Cloud Engine API  SUCCESS [3.547s] 
[INFO] Apache CloudStack Cloud Engine Orchestration Component  SUCCESS 
[10.438s] 
[INFO] Apache CloudStack Cloud Engine Schema Component ... SUCCESS [1.734s] 
[INFO] Apache CloudStack Engine Storage Backup Component . SUCCESS [5.578s] 
[INFO] Apache CloudStack Engine Storage Image Motion Component  SUCCESS 
[15.235s] 
[INFO] Apache CloudStack Engine Storage Snapshot Component  SUCCESS [5.406s] 
[INFO

回复: Re: cloudstack基本网络

2013-09-17 Thread toudsf
那怎么隔离了?

2013-09-17



toudsf



发件人:Hongtu Zang zanghongtu2...@gmail.com
发送时间:2013-09-17 13:53
主题:Re: cloudstack基本网络
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

不能 


在 2013年9月17日下午1:37,toudsf 18600601...@163.com写道: 

 大家好: 
 
 在使用cloudstack基本网络时,安全组能隔离vmware吗? 
 
 2013-09-17 
 
 
 
 toudsf 

我在创建完域以后启动SSVM出以下错误,请各位大拿帮忙看看啥情况。

2013-09-17 Thread toudsf
)
at 
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:121)
at 
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:52)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
INFO  [xen.resource.CitrixResourceBase] (DirectAgent-13:) VM does not exist on 
XenServer1a331a5f-74be-443f-8c3a-39e622858044
WARN  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Exception 
while trying to start secondary storage vm
com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
deployment for VM[SecondaryStorageVm|s-14-VM]Scope=interface 
com.cloud.dc.DataCenter; id=1
at 
com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471)
at 
com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:464)
at 
com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:269)
at 
com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:696)
at 
com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1307)
at 
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:121)
at 
com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:52)
at 
com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:104)
at 
com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:33)
at 
com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java:81)
at com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:72)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at 
java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
INFO  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:) Unable to 
start secondary storage vm for standby capacity, secStorageVm vm Id : 14, will 
recycle it and start a new one
INFO  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:) 
Primary secondary storage is not even started, wait until next turn


2013-09-17



toudsf

网站打不开

2013-09-16 Thread toudsf

https://jenkins.cloudstack.org/  这个网站怎么打不开了。

2013-09-17



toudsf

cloudstack基本网络

2013-09-16 Thread toudsf
大家好:

在使用cloudstack基本网络时,安全组能隔离vmware吗?

2013-09-17



toudsf

回复: Re: 关于cloudstack计费问题

2013-07-24 Thread toudsf
hi,weizhou:

非常感谢!

2013-07-24



toudsf



发件人:Wei ZHOU ustcweiz...@gmail.com
发送时间:2013-07-24 16:35
主题:Re: 关于cloudstack计费问题
收件人:users-cnusers-cn@cloudstack.apache.org
抄送:

不带。advanced network有网络流量统计 


在 2013年7月24日上午10:31,邓少飞 18600601...@163.com写道: 

 hi, list 
 
 cloudstack最新版本是否有自带的计费功能了? 
 
 2013-07-24 
 
 
 
 邓少飞