Re: 回复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume

2015-01-27 文章 zanghongtu2...@gmail.com
CS 不支持对qcow2 格式的磁盘进行缩小卷
具体可以参见:LibvirtComputingResource.java 
==
else if (type.equals("QCOW2") && shrinkOk) { 
return new ResizeVolumeAnswer(cmd, false, "Unable to shrink volumes of type " + 
type); 
}
==
你的log里面有报错
2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) 
Seq 1-1245446166: Processing:  { Ans: , MgmtId: 271133592152661, via: 1, Ver: 
v1, Flags: 10, 
[{"com.cloud.agent.api.storage.ResizeVolumeAnswer":{"newSize":0,"result":false,"details":"Unable
 to shrink volumes of type QCOW2","wait":0}}] }



zanghongtu2...@gmail.com
 
发件人: Peration
发送时间: 2015-01-28 09:41
收件人: users-cn
主题: 回复:答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
我是调整data卷的大小‍
 
 
 
 
-- 原始邮件 --
发件人: "Star Guo";;
发送时间: 2015年1月28日(星期三) 上午8:42
收件人: "users-cn"; 
 
主题: 答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
 
 
 
Can not resie root disk.
 
Best Regards,
Star Guo
 
-邮件原件-
发件人: Peration [mailto:575366...@qq.com] 
发送时间: 2015年1月27日 9:07
收件人: users-cn
主题: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
 
调整卷大小失败,缩小卷大小 提示 Failed to resize volume‍
 
 
2015-01-27 08:52:22,745 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-10:ctx-29557584 ctx-627f0aaf) submit async job-136, details: 
AsyncJobVO {id:136, userId: 2, accountId: 2, instanceType: Volume, instanceId: 
null, cmd: org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, 
cmdInfo: 
{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 271133592152661, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-01-27 08:52:22,747 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-1:ctx-8420fd25) Add job-136 into job monitoring
2015-01-27 08:52:22,747 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-1:ctx-8420fd25) Executing AsyncJobVO {id:136, userId: 2, 
accountId: 2, instanceType: Volume, instanceId: null, cmd: 
org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, cmdInfo: 
{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 271133592152661, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-01-27 08:52:22,752 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-29557584 
ctx-627f0aaf) ===END===  192.168.121.1 -- GET  
command=resizeVolume&id=f59ea020-f2c5-4298-9fe1-423309491572&shrinkok=true&diskofferingid=786fc68f-e14c-42dc-a931-f6b2d5bed62a&response=json&sessionkey=GWJFo5AhFePwOQTzbWN0Ve1XTFg%3D&_=1422319924146
2015-01-27 08:52:22,831 DEBUG [c.c.a.t.Request] (Job-Executor-1:ctx-8420fd25 
ctx-627f0aaf) Seq 1-1245446166: Sending  { Cmd , MgmtId: 271133592152661, via: 
1(cloudstack.cloud.priv), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.storage.ResizeVolumeCommand":{"path":"f59ea020-f2c5-4298-9fe1-423309491572","pool":{"id":1,"uuid":"933404b7-c735-44aa-a374-6bc61ea206fd","host":"192.168.121.3","path":"/var/lib/libvirt/images","port":0,"type":"Filesystem"},"vmInstance":"i-2-133-VM","newSize":1073741824,"currentSize":3221225472,"shrinkOk":true,"wait":0}}]
 }
2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request] (AgentManager-Handler-9:null) 
Seq 1-1245446166: Processing:  { Ans: , MgmtId: 271133592152661, via: 1, Ver: 
v1, Flags: 10, 
[{"com.cloud.agent.api.storage.ResizeVolumeAnswer":{"newSize":0,"result":false,"details":"Unable
 to shrink volumes of type QCOW2","wait":0}}] }
2015-01-27 08:52:22,858 DEBUG [c.c.a.t.Request] (Job-Executor-1:ctx-8420fd25 
ctx-627f0aaf) Seq 1-1245446166: Received:  {

Re: management/catalina.out Received unknown parameters for command listHosts. Unknown parameters : listall

2015-01-27 文章 zanghongtu2...@gmail.com
你用的什么版本啊?



zanghongtu2...@gmail.com
 
From: loveg...@126.com
Date: 2015-01-28 10:24
To: users-cn
Subject: management/catalina.out Received unknown parameters for command 
listHosts. Unknown parameters : listall
 
一直收到这样的log不知为何?
 
 
tail -f /var/log/cloudstack/management/catalina.out 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-6:ctx-95f69cca 
ctx-7e324e09) Received unknown parameters for command listHosts. Unknown 
parameters : listall 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-21:ctx-c55c9ee8 
ctx-ab8c5580) Received unknown parameters for command listStoragePools. Unknown 
parameters : listall 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-20:ctx-73cee05e 
ctx-033ced8b) Received unknown parameters for command listImageStores. Unknown 
parameters : listall type 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-4:ctx-f158 
ctx-636cf349) Received unknown parameters for command listSystemVms. Unknown 
parameters : listall 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-1:ctx-c8fbff53 
ctx-d069b105) Received unknown parameters for command listHosts. Unknown 
parameters : listall 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-14:ctx-40914d94 
ctx-c52ed9e9) Received unknown parameters for command listZones. Unknown 
parameters : listall 
WARN [c.c.a.d.ParamGenericValidationWorker] (catalina-exec-22:ctx-94c74fc1 
ctx-66cb2aee) Received unknown parameters for command addHost. Unknown 
parameters : clustertype
 
 
 
loveg...@126.com
发件人: Peration
发送时间: 2015-01-28 09:41
收件人: users-cn
主题: 回复:答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
我是调整data卷的大小‍
-- 原始邮件 --
发件人: "Star Guo";;
发送时间: 2015年1月28日(星期三) 上午8:42
收件人: "users-cn"; 
主题: 答复: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
Can not resie root disk.
Best Regards,
Star Guo
-邮件原件-
发件人: Peration [mailto:575366...@qq.com] 
发送时间: 2015年1月27日 9:07
收件人: users-cn
主题: 调整卷大小失败,缩小卷大小 提示 Failed to resize volume
调整卷大小失败,缩小卷大小 提示 Failed to resize volume‍
2015-01-27 08:52:22,745 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-10:ctx-29557584 ctx-627f0aaf) submit async job-136, details: 
AsyncJobVO {id:136, userId: 2, accountId: 2, instanceType: Volume, instanceId: 
null, cmd: org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, 
cmdInfo: 
{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 271133592152661, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-01-27 08:52:22,747 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(Job-Executor-1:ctx-8420fd25) Add job-136 into job monitoring
2015-01-27 08:52:22,747 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(Job-Executor-1:ctx-8420fd25) Executing AsyncJobVO {id:136, userId: 2, 
accountId: 2, instanceType: Volume, instanceId: null, cmd: 
org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd, cmdInfo: 
{"id":"f59ea020-f2c5-4298-9fe1-423309491572","response":"json","sessionkey":"GWJFo5AhFePwOQTzbWN0Ve1XTFg\u003d","shrinkok":"true","cmdEventType":"VOLUME.RESIZE","ctxUserId":"2","httpmethod":"GET","_":"1422319924146","ctxAccountId":"2","diskofferingid":"786fc68f-e14c-42dc-a931-f6b2d5bed62a","ctxStartEventId":"285"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 271133592152661, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-01-27 08:52:22,752 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-29557584 
ctx-627f0aaf) ===END===  192.168.121.1 -- GET  
command=resizeVolume&id=f59ea020-f2c5-4298-9fe1-423309491572&shrinkok=true&diskofferingid=786fc68f-e14c-42dc-a931-f6b2d5bed62a&response=json&sessionkey=GWJFo5AhFePwOQTzbWN0Ve1XTFg%3D&_=1422319924146
2015-01-27 08:52:22,831 DEBUG [c.c.a.t.Request] (Job-Executor-1:ctx-8420fd25 
ctx-627f0aaf) Seq 1-1245446166: Sending  { Cmd , MgmtId: 271133592152661, via: 
1(cloudstack.cloud.priv), Ver: v1, Flags: 100011, 
[{"com.cloud.agent.api.storage.ResizeVolumeCommand":{"path":"f59ea020-f2c5-4298-9fe1-423309491572","pool":{"id":1,"uuid":"933404b7-c735-44aa-a374-6bc61ea206fd","

回复: 虚机磁盘性能参数

2015-01-28 文章 zanghongtu2...@gmail.com
应该是management-server启动之后的累加值
含义就是你理解的含义了



zanghongtu2...@gmail.com
 
发件人: yan_5...@163.com
发送时间: 2015-01-29 09:32
收件人: users-cn
主题: 虚机磁盘性能参数
各位好!
请教各位一个问题,以下几个虚机磁盘参数各有什么含义和不同呢?麻烦哪位有时间一起探讨下。
diskioreadthe read (io) of disk on the vm
diskiowritethe write (io) of disk on the vm
diskkbsreadthe read (bytes) of disk on the vm
diskkbswritethe write (bytes) of disk on the vm
个人理解的diskioread为当前统计周期内的磁盘读请求发起的次数,同理diskiowrite为写请求次数
 
diskkbsread为当前统计周期内的读的bytes总数,diskkbswrite同理
 
 
山东济南 崔


????: ????????cloudstack??????

2015-01-29 文章 zanghongtu2...@gmail.com
CloudStack??



zanghongtu2...@gmail.com
 
 Mr.??
?? 2015-01-15 23:53
 users-cn
?? cloudstack??

 


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

2015-01-30 文章 zanghongtu2...@gmail.com
??
??overprovision
??=*



zanghongtu2...@gmail.com
 
 ??
?? 2015-01-30 15:31
 cloudstack
?? 
cloudstackNFSNFS??
 


????: ?????? ????????kvm??????

2015-03-12 文章 zanghongtu2...@gmail.com
??other



zanghongtu2...@gmail.com
 
 
?? 2015-03-11 11:46
 users-cn
?? ?? kvm??

??Centos7??ubuntu14.04??
guest_os??guest_os_hypervisor
??
--  --
de??: "Darren Tang";
: 2015??3??11??(??) 11:11
??: "users-cn"; 
 
: Re: kvm??
 
??
Cloudstack??Linux/Windows??ISO??ISO??Linux/Windows

 

 
 
?? 2015??3??11?? 10:14?? ??
 
> 
>  
> ??cloudstack??4.4
>  
> KVMjava/python??J2EE??
>  ??


回复: xenserver环境日志增大--You gave an invalid object reference. The object may have recently been deleted.

2015-03-15 文章 zanghongtu2...@gmail.com
cloudstack是哪个版本?



zanghongtu2...@gmail.com
 
发件人: 王健
发送时间: 2015-03-12 16:31
收件人: users-cn
主题: xenserver环境日志增大--You gave an invalid object reference. The object may have 
recently been deleted.
2015-03-12 13:57:35,279 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-100:ctx-349bc0ed) Error while collecting disk stats from : 
You gave an invalid object reference.  The object may have recently been 
deleted.  The class parameter gives the type of reference given, and the handle 
parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:209)
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.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2869)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2769)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:499)
at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
 
cloudstack4.3+Xenserver6.2 发现日志经常报这个。。。倒是没啥影响 但是日志变得很大
请问大家遇到过吗?
数据库里面有什么残余数据?  页面上看都正常 没有处于错误或者中间态的VM或者volume
 
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


回复: xenserver环境日志增大--You gave an invalid object reference. The object may have recently been deleted.

2015-03-15 文章 zanghongtu2...@gmail.com
看log是获取虚拟机状态的时候,磁盘读写IO出错
可能是有删除的vm对应的Volume没删掉。
你看一下root disk和data disk,有没有哪个是之前用到后来遗留下来的
如果cloudstack找不到,那去XenCenter看看有没有



zanghongtu2...@gmail.com
 
发件人: 王健
发送时间: 2015-03-12 16:31
收件人: users-cn
主题: xenserver环境日志增大--You gave an invalid object reference. The object may have 
recently been deleted.
2015-03-12 13:57:35,279 WARN  [c.c.h.x.r.CitrixResourceBase] 
(DirectAgent-100:ctx-349bc0ed) Error while collecting disk stats from : 
You gave an invalid object reference.  The object may have recently been 
deleted.  The class parameter gives the type of reference given, and the handle 
parameter echoes the bad value given.
at com.xensource.xenapi.Types.checkResponse(Types.java:209)
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.VBDMetrics.getIoReadKbs(VBDMetrics.java:210)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.getVmStats(CitrixResourceBase.java:2869)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.execute(CitrixResourceBase.java:2769)
at 
com.cloud.hypervisor.xen.resource.CitrixResourceBase.executeRequest(CitrixResourceBase.java:499)
at 
com.cloud.hypervisor.xen.resource.XenServer56Resource.executeRequest(XenServer56Resource.java:59)
at 
com.cloud.hypervisor.xen.resource.XenServer610Resource.executeRequest(XenServer610Resource.java:106)
at 
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
at 
org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
at 
org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
 
cloudstack4.3+Xenserver6.2 发现日志经常报这个。。。倒是没啥影响 但是日志变得很大
请问大家遇到过吗?
数据库里面有什么残余数据?  页面上看都正常 没有处于错误或者中间态的VM或者volume
 
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---


回复: 如何才能显示ip-菜鸟问题

2015-03-23 文章 zanghongtu2...@gmail.com
邮件组不支持图片



zanghongtu2...@gmail.com
 
发件人: fan...@asiainfo.com
发送时间: 2015-03-24 09:47
收件人: cloudstack
主题: 如何才能显示ip-菜鸟问题
如何才能显示ip
配置都正常,就是网络里面木有ip,我看网上教程都是里面有ip地址才能配置NAT、firewall
求教~



fan...@asiainfo.com


回复: 搭建CS的几个问题,请帮忙解决

2015-03-29 文章 zanghongtu2...@gmail.com
Q1:修改计算方案之后,破坏掉重建
Q2:可以用,但是不安全
Q3:VMware网卡有个混杂模式,看看是否开启。vlan ID是不是配置对了。网络环境里面,物理网卡是不是对应的。
Q4:只能你实际测试一下了



zanghongtu2...@gmail.com
 
发件人: rainyling...@126.com
发送时间: 2015-03-30 11:16
收件人: users-cn
主题: 搭建CS的几个问题,请帮忙解决
Hi,
您好!

我现在自己搭建了一套CS测试环境,遇到了如下问题,请帮忙解决,谢谢!

Q1:如何正确的迁移CPVM、SSVM、VR等系统虚机(不会丢失配置文件等)?

比如,我的环境里原有主存储pri01,现在新加了pri02;由于pri01性能不好,想将原来开在pri01的系统虚机全部迁移到pri02,然后从CS将pri01移除。
禁用pri01主存储,CS会自动迁移系统虚机,但是迁移的只是vmdk,而一些vmx等配置文件不会一并迁移到新的存储(我的虚拟化用的vmware),
当旧的主存储被移除后系统虚机将启动失败。

通过关机更改计算方案,新的方案里添加存储标签的方式,尝试迁移VR,更改方案后好像不能开机。

Q2:问一下高级网络模式下,由于测试资源有限,公网和管理网用的同一vlan段的不同IP,这样是否可以支持使用呢?

Q3:如果虚机的公网无法通信使用,一般有哪几个地方需要check呢

Q4:新建网络服务方案,指定网络速率,我查了官方书籍,说是只有KVM,xenserver支持,是不是vmware网络速率这一项是无效的呢?请确认

非常感谢!



Regards,
Lingyun
rainyling...@126.com


Re: storage.overprovisioning.factor参数意义

2015-04-01 文章 zanghongtu2...@gmail.com
可以按你设置的比例进行超配。
因为某些文件系统中,存储的大小并非一次性分配,而是随着使用而增长
这样就可以尽量多的使用当前存储空间来分配vm



zanghongtu2...@gmail.com
 
发件人: toudsf
发送时间: 2015-04-01 18:23
收件人: users-cn
主题: storage.overprovisioning.factor参数意义
如果把存储的storage.overprovisioning.factor 参数设置为超配。
有什么实际意义了?谢谢。
 
 
 
 
2015-04-01
 
 
 
toudsf


回复: 重启实例后实例内数据消失的问题

2015-04-02 文章 zanghongtu2...@gmail.com
没遇到过这种问题。
你的hyperviser和guest vm分别是什么系统?



zanghongtu2...@gmail.com
 
发件人: jinyue@criwell.com
发送时间: 2015-04-02 15:18
收件人: users-cn
主题: 重启实例后实例内数据消失的问题
大家好,
最近遇到了如下问题,点击网页中的重启实例,发现实例中的数据消失(与重装实例的效果一样)。如果再实例中执行reboot命令,则数据不会消失。
 
 


回复: How to migrate foreign VM to CloudStack

2015-04-06 文章 zanghongtu2...@gmail.com
You can only modify the cloudstack soucecode and build a new version.



hongtu_zang
zanghongtu2...@gmail.com 
Beijing China
 
发件人: JohnnyZhao
发送时间: 2015-04-06 13:13
收件人: users-cn@cloudstack.apache.org
主题: How to migrate foreign VM to CloudStack
Dear Sir:
I have some questions about how to migrate foreign VM to cloudstack. If I have 
setup a cloudstack environment to manage one VMware vSphere Cluster with one 
vCenter and one KVM clusters, how to migrate the existing current VMs on 
vSphere Clusters into cloudstack? For example, I deploy new VM by vCenter, but 
CloudStack doesn't know it. How to migrate it into existing cloudstack 
environment? Thanks a lot!
RegardsJohnny Zhao  


Re: 不能删除网络

2015-04-07 文章 zanghongtu2...@gmail.com
看不到图片



hongtu_zang
zanghongtu2...@gmail.com 
Beijing China
 
发件人: 张能钦
发送时间: 2015-04-07 17:50
收件人: users-cn
主题: 不能删除网络
大家好,我发现我的网络配置错了,就在面板里面删除网络,但是报错,请帮忙看下可以从哪里开始排除








张能钦
 


Re: 来宾网络 疑惑

2015-04-08 文章 zanghongtu2...@gmail.com
图片显示不出来
可以发log



hongtu_zang
 
发件人: 张能钦
发送时间: 2015-04-08 14:10
收件人: users-cn
主题: 来宾网络 疑惑
大家好,
我添加来宾网络的时候报这个错,这什么意思这里添加的网络和 physical 的 guest network 什么关系?











Fw: Re: 来宾网络 疑惑

2015-04-09 文章 zanghongtu2...@gmail.com




hongtu_zang
zanghongtu2...@gmail.com 
Beijing China
 
发件人: 张能钦
发送时间: 2015-04-08 17:26
收件人: zanghongtu2...@gmail.com
主题: Re: Re: 来宾网络 疑惑
有关job341的日志如下,谢谢大家帮忙看下
[root@manage html]# grep -i "job-341" 
/var/log/cloudstack/management/management-server.log
2015-04-08 16:08:46,387 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(catalina-exec-13:ctx-36bd5924 ctx-0e574d5e) submit async job-341, details: 
AsyncJobVO {id:341, userId: 2, accountId: 2, instanceType: None, instanceId: 
null, cmd: org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, 
cmdInfo: 
{"response":"json","id":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","sessionkey":"EmOq1jvjNTQXw9qW3+k+cIaseh8\u003d","ctxDetails":"{\"com.cloud.network.Network\":\"e34e84a0-f6d6-403f-a1db-c05ad7633b5f\"}","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1428481219328","uuid":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","ctxAccountId":"2","ctxStartEventId":"765"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 345050855792, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-04-08 16:08:46,388 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
(API-Job-Executor-54:ctx-bcba23a9 job-341) Add job-341 into job monitoring
2015-04-08 16:08:46,388 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341) Executing AsyncJobVO {id:341, 
userId: 2, accountId: 2, instanceType: None, instanceId: null, cmd: 
org.apache.cloudstack.api.command.user.network.DeleteNetworkCmd, cmdInfo: 
{"response":"json","id":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","sessionkey":"EmOq1jvjNTQXw9qW3+k+cIaseh8\u003d","ctxDetails":"{\"com.cloud.network.Network\":\"e34e84a0-f6d6-403f-a1db-c05ad7633b5f\"}","cmdEventType":"NETWORK.DELETE","ctxUserId":"2","httpmethod":"GET","_":"1428481219328","uuid":"e34e84a0-f6d6-403f-a1db-c05ad7633b5f","ctxAccountId":"2","ctxStartEventId":"765"},
 cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: 
null, initMsid: 345050855792, completeMsid: null, lastUpdated: null, 
lastPolled: null, created: null}
2015-04-08 16:08:46,406 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Lock is acquired for 
network Ntwk[e34e84a0-f6d6-403f-a1db-c05ad7633b5f|Guest|8] as a part of network 
shutdown
2015-04-08 16:08:46,410 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Releasing 0 port 
forwarding rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,411 DEBUG [c.c.n.f.FirewallManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) There are no rules to 
forward to the network elements
2015-04-08 16:08:46,411 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Releasing 0 static nat 
rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,411 DEBUG [c.c.n.f.FirewallManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) There are no rules to 
forward to the network elements
2015-04-08 16:08:46,412 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Revoking 0 Public load 
balancing rules for network id=208
2015-04-08 16:08:46,412 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) There are no Load 
Balancing Rules to forward to the network elements
2015-04-08 16:08:46,413 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Revoking 0 Internal 
load balancing rules for network id=208
2015-04-08 16:08:46,413 DEBUG [c.c.n.l.LoadBalancingRulesManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) There are no Load 
Balancing Rules to forward to the network elements
2015-04-08 16:08:46,413 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Releasing 0 firewall 
ingress rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,413 DEBUG [c.c.n.f.FirewallManagerImpl] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) There are no rules to 
forward to the network elements
2015-04-08 16:08:46,414 DEBUG [o.a.c.e.o.NetworkOrchestrator] 
(API-Job-Executor-54:ctx-bcba23a9 job-341 ctx-7f90235b) Releasing 0 firewall 
egress rules for network id=208 as a part of shutdownNetworkRules
2015-04-08 16:08:46,416 DEBUG [c.c.n.f.FirewallManagerImpl] 
(API

Re: cloudstack 禁用列表【avoid set】如何解除?

2015-05-29 文章 zanghongtu2...@gmail.com
是要看log的



hongtu_zang
zanghongtu2...@gmail.com 
Beijing China
 
发件人: zhangyan
发送时间: 2015-05-28 13:06
收件人: users-cn@cloudstack.apache.org
主题: cloudstack 禁用列表【avoid set】如何解除?
大家好,
 
 
CloudStack创建虚拟机有时会因为所选主机在禁用列表中,导致创建失败;
 
 
但不知道为什么CloudStack会将这些主机加入到禁用列表,
 
 
即使主机服务恢复正常了,但CloudStack仍然保存着禁用列表,重启管理节点也无效!
 
 
 
大家有没有好办法,可以将主机从禁用列表中移除?请多指教~~
 
 
 
 
DEBUG [c.c.d.DeploymentPlanningManagerImpl] (Job-Executor-46:ctx-a9daef0d 
ctx-f4ea0189) Deploy avoids pods: [1], clusters: [], hosts: [2]
 
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---