通过浏览器端无法访问虚拟机

2013-11-17 Thread Du Jun
Hi,
最近碰到一个问题,通过浏览器端无法访问虚拟机,出错信息是“Server Internal Error”。大家有没有遇到类似的情况?提供些思路吧,谢谢!


Re: 通过浏览器端无法访问虚拟机

2013-11-17 Thread tanthalas

请先提供给我们点思路吧
这个出错信息是哪里提示的,完全的提示信息是什么样的,你用的什么环境,以前是否是好的,还是从来没访问成功过,你做过哪些方法来尝试解决问题?是否看过log,log中有没有对应的记录?

刘宇超  Richard Liu




发件人: Du Jun 
发送时间: 2013-11-17  18:41:38 
收件人: users-cn 
抄送: 
主题: 通过浏览器端无法访问虚拟机 
 
Hi,
最近碰到一个问题,通过浏览器端无法访问虚拟机,出错信息是“Server Internal Error”。大家有没有遇到类似的情况?提供些思路吧,谢谢!


ssvm不能启动

2013-11-17 Thread wanghaicheng2...@gmail.com
XenServer6.0.2+CS3.05

二级存储虚拟机不能启动

2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking BareMetal to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking SecurityGroupProvider to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking CiscoNexus1000vVSM to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VpcVirtualRouter to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is acquired for network id 202 as a part of network 
implement
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Network id=202 is already implemented
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is released for network id 202 as a part of network 
implement
2013-11-18 10:02:17,457 DEBUG [storage.snapshot.SnapshotSchedulerImpl] 
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-11-18 
02:02:17 GMT
2013-11-18 10:02:17,459 DEBUG [storage.snapshot.SnapshotSchedulerImpl] 
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-11-18 02:02:17 
GMT
2013-11-18 10:02:17,554 DEBUG 
[cloud.network.ExternalLoadBalancerUsageManagerImpl] 
(ExternalNetworkMonitor-1:null) External load balancer devices stats collector 
is running...
2013-11-18 10:02:17,642 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) 
Found 0 running routers. 
2013-11-18 10:02:17,644 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:null) Found 0 routers. 
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking JuniperSRX to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking Netscaler to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking F5BigIp to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VirtualRouter to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking Ovs to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking ExternalDhcpServer to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking BareMetal to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking SecurityGroupProvider to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking CiscoNexus1000vVSM to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VpcVirtualRouter to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,895 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is acquired for network id 201 as a part of network 
implement
2013-11-18 10:02:17,895 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Network id=201 is already implemented
2013-11-18 10:02:17,896 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is released for network id 201 as a part of network 
implement
2013-11-18 10:02:18,117 DEBUG [network.guru.PodBasedNetworkGuru] 
(secstorage-1:null) Allocated a nic 
NicProfile[3342-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.16-null for 
VM[SecondaryStorageVm|s-862-VM]
2013-11-18 10:02:18,201 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking JuniperSRX to prepare for 
Nic[3342-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.16]
2013-11-18 10:02:18,201 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking Netscaler to prepare for 
Nic[3342-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.16]
2013-11-18 10:02:18,201 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking F5BigIp to prepare for 

Re: ssvm不能启动

2013-11-17 Thread tanthalas
log里有这句
Network id=203 is already implemented 
Network id=202 is already implemented
Network id=201 is already implemented
Unable to get a management ip addressScope

说明ssvm试图找一个network来配置管理ip,但你配置的网络都已经使用了,不能给ssvm使用,所以应该是你的配置有问题,先查查配置,可能要重新装吧。

刘宇超  Richard Liu




发件人: wanghaicheng2...@gmail.com 
发送时间: 2013-11-18  10:21:55 
收件人: users-cn 
抄送: 
主题: ssvm不能启动 
 
XenServer6.0.2+CS3.05
二级存储虚拟机不能启动
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking BareMetal to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking SecurityGroupProvider to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking CiscoNexus1000vVSM to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,216 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VpcVirtualRouter to prepare for 
Nic[3340-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.21]
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is acquired for network id 202 as a part of network 
implement
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Network id=202 is already implemented
2013-11-18 10:02:17,223 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is released for network id 202 as a part of network 
implement
2013-11-18 10:02:17,457 DEBUG [storage.snapshot.SnapshotSchedulerImpl] 
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2013-11-18 
02:02:17 GMT
2013-11-18 10:02:17,459 DEBUG [storage.snapshot.SnapshotSchedulerImpl] 
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-11-18 02:02:17 
GMT
2013-11-18 10:02:17,554 DEBUG 
[cloud.network.ExternalLoadBalancerUsageManagerImpl] 
(ExternalNetworkMonitor-1:null) External load balancer devices stats collector 
is running...
2013-11-18 10:02:17,642 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) 
Found 0 running routers. 
2013-11-18 10:02:17,644 DEBUG 
[network.router.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:null) Found 0 routers. 
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking JuniperSRX to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking Netscaler to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking F5BigIp to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VirtualRouter to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking Ovs to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking ExternalDhcpServer to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking BareMetal to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking SecurityGroupProvider to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking CiscoNexus1000vVSM to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,892 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking VpcVirtualRouter to prepare for 
Nic[3341-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-169.254.0.173]
2013-11-18 10:02:17,895 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is acquired for network id 201 as a part of network 
implement
2013-11-18 10:02:17,895 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Network id=201 is already implemented
2013-11-18 10:02:17,896 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Lock is released for network id 201 as a part of network 
implement
2013-11-18 10:02:18,117 DEBUG [network.guru.PodBasedNetworkGuru] 
(secstorage-1:null) Allocated a nic 
NicProfile[3342-862-7f0eb388-465a-4de5-a19f-06c310ddacfb-10.30.18.16-null for 
VM[SecondaryStorageVm|s-862-VM]
2013-11-18 10:02:18,201 DEBUG [cloud.network.NetworkManagerImpl] 
(secstorage-1:null) Asking JuniperSRX to prepare for 

Cloudstack 里的VM,可以指定IP吗?

2013-11-17 Thread Nick
Hello All

 

想请教一下,在Cloudstack 里的VM,可以修改IP吗?

因建好后,DHCP会自动发一个IP给VM,不知这个是否可自行修改呢??

 

Thanks

Nick



明晚,CloudStack云中实践公开课

2013-11-17 Thread Xuwen(Steven) Cheng
课程题目: 开源力量公开课第三十九期-CloudStack云中实践
 
开课时间:2013年11月19日 19:00 - 21:30

现场或线上参课:
现场参加(免费):北京市海淀区海淀西大街70号 , 3W咖啡二楼(海淀图书城籍海楼对面)
线上直播(免费):邮件报名后将即时提供线上参课网址
报名:
发邮件到 o...@osforce.cn ,邮件标题:开源力量公开课第39期, 邮件正文:在线或现场+姓名+公司+职位+联系电话
课程背景:
   同为开源IaaS平台的cloudstack,很多人并不了解,但是其商业版本的基因会给大家带来不一样的使用感觉,
异构的支持以及广泛且易用的功能会更贴近用户的使用需求。本节课会带大家了解cloudstack的各个功能及架构,
尤其是对于IaaS的网络部分的介绍。

课程大纲:
1,cloudstack简介
cloudstack发展历史
cloudstack功能介绍
cloudstack架构介绍
2,cloudstack网络功能分析
基本网络架构
高级网络架构


讲师介绍:
刘宇超,天云趋势架构师,cloudstack中国社区负责人之一,研究cloudstack技术超过2年以上,曾为多家企业
规划并部署基于cloudstack的云平台系统。


时间安排:
19:00 - 19:30 : 自我介绍
19:30 - 21:30 : 讲课
21:30 - 22:00:自由交流


开源力量公开课,每周二晚线上线下同时开课!
 


2013-11-18 



Xuwen(Steven) Cheng 



发件人: linux...@gmail.com 
发送时间: 2013-11-12  16:01:43 
收件人: cloudstack-users-cn 
抄送: 
主题: CloudStack 4.3功能前瞻 
 
摘自 http://www.cloudstack-china.org/2013/11/2702.html
今天CloudStack 4.3已经Feature
Freeze了,不会再有新功能加入到这个版本里。我们也可以坐下来看看哪些功能是值得期待的。首先,4.3的UI也秉承扁平化设计,看着更加简洁清爽。见下图:
接下来我们从CloudStack4.3的设计文档出发,来了解一下这个版本的功能有哪些。
1. 数据库的高可用性
当前CloudStack的数据库的备份方案基本上是使用Mysql的backup-standby方案,同时只会有一个DB是激活状态,如果遇到问题,
需要切换到备份服务器,主数据库的稳定性尤其重要。而数据库的高可用则是想达到“双活”的数据库群集效应,也就是同时有多个数据库是主控的。在经过一系列
调研后,从MariaDB, Percona Xtra DB,
SkySql和Mysql中选择使用Mysql的双活设置。Mysql的双向复制需要在连接器上配置在Mysql集群中主控服务器宕机后,从Slave服
务器上读写数据,因此相应的管理端的程序要做相应改变。
由于数据库相对稳定,并且当前大多数部署规模单节点数据库服务器的I/O都足够应付,而数据库的备份也有相应方案避免数据丢失,新的数据库HA在公有云或企业内部私有云上都会有需求,不过这会增加管理服务器的复杂性,所以我认为这个功能期待指数三星半。
2. 动态调整计算资源方案
我经常被问到一个事情:从模板创建的虚机能否将系统盘(根卷)进行扩展?
之前的回答也一直是不可以。在4.3中,用户创建虚机时不仅可以对根卷进行扩展,还能指定任意的CPU和内存的数量,这比从管理员提前预置的计算方案里选
择要灵活的多,这个功能不管是在私有云还是公有云都有广泛的需求。中国用户也特别喜欢类似阿里云的根据一定的步长任意设置各种资源的公有云自服务门户。不
过从设计文档来看,网络带宽还没法任意设置,估计要等以后版本了。
这个功能很适用,尤其是扩充根卷,这样在制作模板的时候就可以尽可能地小了,当然任意指定CPU和内存也是相当受欢迎的,综合评定这个功能很期待。
3. 客户虚机支持GPU/vGPU
现在的物理服务器都有强大的显卡,特别是一些图形工作站的机器,甚至比CPU的计算能力还强,因此,如果可以利用显卡的GPU进行计算,那将会极大的提高
资源的利用率。另一方面,很多应用对于显示的要求都比较高,比如PhotoShop,AutoCAD以及一些3D游戏等,这些应用很多也都可以在虚机里运
行,只是很难达到物理机上的效果。为了使性能有所提升,让虚机跳过Hypervisor直连GPU是个不错的想法。
GPU也属于计算资源,它不像CPU那样,可以超配;也就是说一个拥有4个GPU模块的主机,同时只能为其上的4个虚机提供GPU直连服务。另外,GPU
编程还是比较复杂的,这里需要Hypervisor的支持,此功能目前在设计里也只会支持XenServer。要使用的朋友还是要特别留意一下。如果考虑
CloudStack本身的服务器虚拟化而非桌面虚拟化的特性,这种应用上的需求应该不是很广泛。
4. Hyper-V Server 2012的支持
Hyper-V是微软的虚拟化技术,记得早在CloudStack4.0版本时期就是要支持Hyper-V,根据国内Hyper-V的市场占有情况,这个
功能在当时也是非常期待的。但开源就是这样,由于种种原因,这个功能一直到4.2版本里也没能支持。在解决了集成API的许可问题后,目前来看4.3是很
有可能支持Hyper-V了。
CloudStack对于Hyper-V的支持将会采用与KVM
Agent类似的方式,通过WMI来与Hyper-V主机通信,从而控制虚拟机。应该来说新的Hypervisor的支持都是一个很大的功能模块,它要考
虑整个云平台各Hypervisor的能用功能,还要考虑各个Hypervisor自身的功能特点,这包括网络和存储的功能及硬件的支持。不管怎么说,如
果CloudStack能支持Hyper-V并稳定运行,那对于它自己无疑是个巨大的加分。相信很多基于CloudStack的ISV都在等待这个功能。
5. KVM支持Linux本地VxLAN
CloudStack中高级资源域通常使用VLAN进行隔离(虽然4.2版本以后也支持安全组);VLAN的硬伤是协议本身的限制:=4095的
VLAN ID。那么当为了隔离每个账户使用一个VLAN ID时,一个资源域最多的账户数就有极大的限制;而实际上你能使用的VLAN
ID要远小于4095,因为如果真的配置交换机4095个VLAN,那它将疲于奔命。一般情况下,一个数据中心等同于一个资源域,可想而知,大规模部署
VLAN的限制问题将会显现。VxLAN就是在这个背景下应运而生的。你可以认为VxLAN是VLAN在二层的基础上对报文进行UDP的封装;它最多可支
持超过1600万个隔离网络,这在一个数据中心里应该是足够用了。由于NTT一直在使用CloudStack,他们这种规模的公司对于VxLAN是有迫切
的需求的,因此他们的工程师完成了VxLAN的功能并贡献给Apache社区。其功能的实现上也于VLAN相似。在添加资源域时网络设置使用VXLAN隔
离来宾网络,在设置来宾网络vNet(相当于VLAN ID)范围时,也不用考虑4095的限制。
由于这个功能是CloudStack的一个功能,它不依赖于像Nexus
1000v这样支持VxLAN的设备,所以这个功能需要Hypervisor的支持。CloudStack4.3只会先针对KVM的Hypervisor
支持这个功能,并且Linux的Kernel版本要高于3.7;在配置KVM主机是要使用Linux本地的Birdge而非Open
vSwitch。由于这些限制,这些功能在4.3里使用应该还是有点复杂度,给四星。
6. 增强的系统虚拟机升级策略
系统虚拟机在CloudStack里扮演重要角色,从功能上讲,系统虚拟机分成二级存储系统虚机,控制台系统虚机以及虚拟路由器;它们分别用来完成模板、
镜像、ISO的下载,基于Web的虚机控制台和客户虚机的网络功能。对于不同的Hypervisor,系统虚机的模板不同,但同一个模板可以配置成不同的
角色来完成上述三种虚机的功能。如果是小规模的部署,由于系统虚机无状态的特性,可以上传新的模板,破坏掉当前的系统虚拟机,它会自动重建。当然整个过程
不仅较慢,且问题时有发生;也没有很好的指导文档或常见问题说明。试想大型生产环境里更新系统虚机特别是虚拟路由器还是挺有风险的,因为用户的服务会中
断,不是逼不得已不会有人想这么做。4.3里将提供新的API用于系统虚机模板的升级,你只要提供相应的信息,要升级的资源域,等信息即可。
由于 
本身系统虚机是一个相对稳定的单位,从以往来看CloudStack的升级伴随需要系统虚机的升级并不多(4.0到4.2之间的变化需要升级系统虚机),这个功能应该不会有太多人用到。评定三星半。
7. 重构测试框架Marvin
如果大家知道Apache 
CloudStack的吉祥物:踩在云中的猴子,知道Cloudmonkey;那么对于Marvin应该不陌生。Cloudmonkey强大的功能是基于
Marvin实现的,Marvin是CloudStack里用Python实现的测试框架,包括完整的API封装并完成相应的单元测试。这个功能的重构与
稍后提到的Spring模块化相关。对于API的测试是整个框架的核心,新的设计将采用XML/JSON的方式定义API的发送和响应,针对每个API,
可以用单独的一组发送/接收脚本处理,这也体现的模块化的思想。另外一个功能是异常和断言,计划使用DSL的形式,由于本人对DSL不了解,无法给出更详
细的说明,感兴趣的朋友可以在wiki上查找一下:Domain Specification
Language。不从事CloudStack开发的人对这部分内容可以忽略。
8. 迁移NFS二级存储到对象存储上
在CloudStack4.2上已经支持使用对象存储Amazon S3或OpenStack
Swift作为二级存储,对整个云环境提供模板,快照和ISO的服务。CloudStack在设计上也尽量保证与Amazon
EC2/S3在API上的兼容,以便企业客户可以无缝地从Amazon转到CloudStack。但是当时缺少一个方便的功能:如何将现有客户环境从
NFS二级存储迁到对象存储上。这个功能的基本思路是NFS二级存储与对象存储共同存在,新的资源(包括快照,模板等)都会在对象存储上创建;只有读和删
除操作会在NFS二级存储中执行,模板,卷的复制也只会在对象存储上,这样就保证二级存储在资源域的范围内,而对象存储是整个云环境。这样,存储在对象存
储的模板,快照等,将不需要跨资源域的复制功能。
国内对于Amazon的使用并不普遍,对象存储目前也都是在试水阶段,用户使用对象存储的话要单独配置。在4.3里,并没有提供将NFS二级存储的所有内
容迁移到对象存储的功能,也就是说,用户还是需要乃至NFS的二级存储。对于很大规模的部署,可以考虑一下,对于小规模的建议还是不要等待这个功能。
9. 模块化Spring标准框架的使用
如果最一开始CloudStack广受争议的是其模块耦合度太高,新手难以开发,那从4.1到4.2,CloudStack在努力做出改变,而4.3上面
改的更彻底,要添加新的插件或API也非常容易上手,只要对Spring框架熟悉,你对整个启动和初始化过程会很快上手。而国内熟悉SSH的是相当庞大的
一群人,CloudStack采用标准化框架会使更多人聚拢在其周围。这一框架的调整带来很多开发的便利,何乐而不为呢?唯一的问题是基于之前
CloudStack版本(4.0版本或更早)的ISV,如果维护自己的版本,那代码合并的工作量挺大。我稍后也会专门写一篇文章来看下如何在
CloudStack4.3上开发一个新的API。
10. 监测虚拟路由器的状态

Re: 回复: Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread Shanker Balan
On 16-Nov-2013, at 7:52 pm, 5度倾斜 465296...@qq.com wrote:

 thank you for your suggestion :D
 I made CloudStack4.2.0 started successfully, by install a 64-bit Ubuntu 
 server OS rather than the old 32-bit one.
 Reboot can't solve the problem,i've tried many times,and i still don't know 
 the reason,maybe just don't suppport 32-bit OS ?
 best wishes for you,thank u!


http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#minimum-system-requirements

64-bit is a pre-req for both management server and hypervisor hosts.


--
@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

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Fail to communicate with user_vm through web UI

2013-11-17 Thread Du Jun
Hi all,
Have you ever met the problem that fail to commuicate with user_vm througth
web UI(browser),and the error message is Server Internal Error.Please
give me some clues.


Best regards,
Frank


Network problem

2013-11-17 Thread Du Jun
Hi all,
I meet a strange problem that my virtual router can access Internet and my
user_vm can access virtual router but my user_vm can't access Internet.Is
there anyone can provide with some suggestions?Thanks!


---
Best regards,
Frank


Re: Network problem

2013-11-17 Thread Jayapal Reddy Uradi
Which version of cloudstack are you using ?
Is it isolated network ?

Did you add egress rules on your network to allow outgoing guest traffic ?

Thanks,
Jayapal
On 17-Nov-2013, at 4:32 PM, Du Jun dj199...@gmail.com
 wrote:

 Hi all,
 I meet a strange problem that my virtual router can access Internet and my
 user_vm can access virtual router but my user_vm can't access Internet.Is
 there anyone can provide with some suggestions?Thanks!
 
 
 ---
 Best regards,
 Frank



Re: Network problem

2013-11-17 Thread Du Jun
Hi Jayapal,
Thank you for your prompt reply,your advice is very useful to me.The
network strategy in Cloudstack4.2 is a bit different from cloudstack4.0's
and I have add firewall rule to Egress rules in my isolated guest
network.My vm can access Internet now.

--
Best regards,
Frank


2013/11/17 Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com

 Which version of cloudstack are you using ?
 Is it isolated network ?

 Did you add egress rules on your network to allow outgoing guest traffic ?

 Thanks,
 Jayapal
 On 17-Nov-2013, at 4:32 PM, Du Jun dj199...@gmail.com
  wrote:

  Hi all,
  I meet a strange problem that my virtual router can access Internet and
 my
  user_vm can access virtual router but my user_vm can't access Internet.Is
  there anyone can provide with some suggestions?Thanks!
 
 
  ---
  Best regards,
  Frank




Re: Network problem

2013-11-17 Thread Du Jun
Hi Jayapal,
By the way,I think cloudstack4.2 CPVM does support lXC very well.How do you
like?

---
Best regards,
Frank


2013/11/17 Du Jun dj199...@gmail.com

 Hi Jayapal,
 Thank you for your prompt reply,your advice is very useful to me.The
 network strategy in Cloudstack4.2 is a bit different from cloudstack4.0's
 and I have add firewall rule to Egress rules in my isolated guest
 network.My vm can access Internet now.

 --
 Best regards,
 Frank


 2013/11/17 Jayapal Reddy Uradi jayapalreddy.ur...@citrix.com

 Which version of cloudstack are you using ?
 Is it isolated network ?

 Did you add egress rules on your network to allow outgoing guest traffic ?

 Thanks,
 Jayapal
 On 17-Nov-2013, at 4:32 PM, Du Jun dj199...@gmail.com
  wrote:

  Hi all,
  I meet a strange problem that my virtual router can access Internet and
 my
  user_vm can access virtual router but my user_vm can't access
 Internet.Is
  there anyone can provide with some suggestions?Thanks!
 
 
  ---
  Best regards,
  Frank





Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-17 Thread Adam
Yes, I've disabled the firewall on both KVM hosts in question and still no
dice. I can't even ping the VR from my guest VM, but when I set the eth0
device on the guest to static everything works fine, which makes no sense
at all to me. Simply setting the NIC to static allows me see the VR.
Switching back to DHCP kills it again. I do not understand what is required
for the guests to acquire a DHCP lease from the VR. I know that the VR is
running dnsmasq, and I've tailed the /var/log/dnsmasq.log for more info,
but only see a DHCP request when the guest is on the same KVM host as the
VR.

Does anyone know exactly how to troubleshoot this scenario? I'm not even
sure what to look for.

-Adam

Best Regards,



Adam Scarcella


On Sat, Nov 16, 2013 at 5:43 PM, Carlos Reátegui create...@gmail.comwrote:

 Did you also check the host firewall?  Try disabling.

  On Nov 16, 2013, at 1:51 PM, Adam adam.scarce...@gmail.com wrote:
 
  The hosts have static IPs (10.97.38.[10-14]) and can all see and talk to
  each other via IP and hostname. I'm only using a basic zone so no VLAN
  tagging or anything funky like that.
 
  Best Regards,
 
 
 
  Adam Scarcella
 
 
  On Sat, Nov 16, 2013 at 4:17 PM, Andrei Mikhailovsky and...@arhont.com
 wrote:
 
 
 
  Adam, it sounds like a networking issue, check that all hosts can talk
 to
  each other on the same vlan that is used for guest network. I had the
 same
  issue with advanced networking when my vlans were not properly setup on
 the
  switches.
 
  Andrei
 
  - Original Message -
 
  From: Adam adam.scarce...@gmail.com
  To: users@cloudstack.apache.org
  Sent: Saturday, 16 November, 2013 7:08:50 PM
  Subject: Guest VMs not able to acquire DHCP IP from Virtual Router
 unless
  Guest and VR are on the same KVM host
 
  Hi All,
 
  I have a new and very strange issue that for the life of me I cannot
 seem
  to track down and fix.
 
  I have CS 4.2 running on 5 hosts in a simple basic zone. All is working
  fine, except that my Guest VMs cannot seem to get a DHCP lease from the
  Virtual Router unless I migrate the Guest VM to the same physical KVM
  Host running the VR. That would seem to indicate a firewall issue, but
 I've
  tested by turning off both the firewalls (VR KVM Host iptables  Guest
 VM
  KVM Host iptables). It didn't help. The only way to fix it is to migrate
  the Guest VM to the same KVM Host that's running the Virtual Router.
 
  NOTE: The Console Proxy has worked flawlessly this whole time.
 
  So, if a Guest VM starts on a different physical KVM Host, it will not
 get
  an internal IP of 169.254.x.x. All along the Console Proxy works fine.
 Then
  if I migrate the Guest VM to the same KVM host that's running the VR,
 DHCP
  automatically starts working and the Guest VM receives a proper IP
 address
  of 10.97.38.x. Then I can migrate the Guest VM back to any other
 physical
  KVM Host and believe it or not, it continues to work flawlessly, until I
  either reboot the VM or restart the network services. Then it cannot see
  the VR again and instead receives an internal IP of 169.254.x.x. If I
 set a
  static IP address  DNS everything works fine, no matter where the
 Guest VM
  is running.
 
  Setting static IPs is not an option
  Running all the Guest VMs on the same physical KVM host is not an option
 
  I desperately need to track down the root cause of this issue so I can
  release this cloud to my entire department by Monday morning. Someone
  please help!
 
  Best Regards,
 
 
 
  Adam Scarcella
 
 



Re: 回复: Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread Carlos Reátegui
The 64 bit requirement on the host I believe is a hw requirement not a 
hypervisor os. Eg XenServer is 32 bit (at least up to 6.1). 

 On Nov 17, 2013, at 2:09 AM, Shanker Balan shanker.ba...@shapeblue.com 
 wrote:
 
 On 16-Nov-2013, at 7:52 pm, 5度倾斜 465296...@qq.com wrote:
 
 thank you for your suggestion :D
 I made CloudStack4.2.0 started successfully, by install a 64-bit Ubuntu 
 server OS rather than the old 32-bit one.
 Reboot can't solve the problem,i've tried many times,and i still don't know 
 the reason,maybe just don't suppport 32-bit OS ?
 best wishes for you,thank u!
 
 
 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#minimum-system-requirements
 
 64-bit is a pre-req for both management server and hypervisor hosts.
 
 
 --
 @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
 
 CloudStack Bootcamp Training on 27/28 November, Bangalore
 http://www.shapeblue.com/cloudstack-training/
 
 
 
 
 This email and any attachments to it may be confidential and are intended 
 solely for the use of the individual to whom it is addressed. Any views or 
 opinions expressed are solely those of the author and do not necessarily 
 represent those of Shape Blue Ltd or related companies. If you are not the 
 intended recipient of this email, you must neither take any action based upon 
 its contents, nor copy or show it to anyone. Please contact the sender if you 
 believe you have received this email in error. Shape Blue Ltd is a company 
 incorporated in England  Wales. ShapeBlue Services India LLP is a company 
 incorporated in India and is operated under license from Shape Blue Ltd. 
 Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
 operated under license from Shape Blue Ltd. ShapeBlue is a registered 
 trademark.


Re: 回复: Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread Shanker Balan
On 17-Nov-2013, at 8:56 pm, Carlos Reátegui create...@gmail.com wrote:

 The 64 bit requirement on the host I believe is a hw requirement not a 
 hypervisor os.
 Eg XenServer is 32 bit (at least up to 6.1).


XenServer hypervisor is 64bit. The control domain (dom0) which you ssh into is 
32bit.



--
@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

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless Guest and VR are on the same KVM host

2013-11-17 Thread Andrei Mikhailovsky


Adam, 

I suggest loggin in to the VR and running tcpdump to check if you are receiving 
the dhcp requests. If guest vms can talk to each other and the vr responsible 
for dhcp is on the same network I do not see a reason for not getting the 
lease. 

the default fw setting should allow connections back for dhcp request, so this 
should not be a fw issue on the client side. I could be wrong here, but i've 
not see this b4. 

Andrei 

- Original Message -

From: Adam adam.scarce...@gmail.com 
To: users@cloudstack.apache.org 
Sent: Saturday, 16 November, 2013 9:51:32 PM 
Subject: Re: Guest VMs not able to acquire DHCP IP from Virtual Router unless 
Guest and VR are on the same KVM host 

The hosts have static IPs (10.97.38.[10-14]) and can all see and talk to 
each other via IP and hostname. I'm only using a basic zone so no VLAN 
tagging or anything funky like that. 

Best Regards, 



Adam Scarcella 


On Sat, Nov 16, 2013 at 4:17 PM, Andrei Mikhailovsky and...@arhont.comwrote: 

 
 
 Adam, it sounds like a networking issue, check that all hosts can talk to 
 each other on the same vlan that is used for guest network. I had the same 
 issue with advanced networking when my vlans were not properly setup on the 
 switches. 
 
 Andrei 
 
 - Original Message - 
 
 From: Adam adam.scarce...@gmail.com 
 To: users@cloudstack.apache.org 
 Sent: Saturday, 16 November, 2013 7:08:50 PM 
 Subject: Guest VMs not able to acquire DHCP IP from Virtual Router unless 
 Guest and VR are on the same KVM host 
 
 Hi All, 
 
 I have a new and very strange issue that for the life of me I cannot seem 
 to track down and fix. 
 
 I have CS 4.2 running on 5 hosts in a simple basic zone. All is working 
 fine, except that my Guest VMs cannot seem to get a DHCP lease from the 
 Virtual Router unless I migrate the Guest VM to the same physical KVM 
 Host running the VR. That would seem to indicate a firewall issue, but I've 
 tested by turning off both the firewalls (VR KVM Host iptables  Guest VM 
 KVM Host iptables). It didn't help. The only way to fix it is to migrate 
 the Guest VM to the same KVM Host that's running the Virtual Router. 
 
 NOTE: The Console Proxy has worked flawlessly this whole time. 
 
 So, if a Guest VM starts on a different physical KVM Host, it will not get 
 an internal IP of 169.254.x.x. All along the Console Proxy works fine. Then 
 if I migrate the Guest VM to the same KVM host that's running the VR, DHCP 
 automatically starts working and the Guest VM receives a proper IP address 
 of 10.97.38.x. Then I can migrate the Guest VM back to any other physical 
 KVM Host and believe it or not, it continues to work flawlessly, until I 
 either reboot the VM or restart the network services. Then it cannot see 
 the VR again and instead receives an internal IP of 169.254.x.x. If I set a 
 static IP address  DNS everything works fine, no matter where the Guest VM 
 is running. 
 
 Setting static IPs is not an option 
 Running all the Guest VMs on the same physical KVM host is not an option 
 
 I desperately need to track down the root cause of this issue so I can 
 release this cloud to my entire department by Monday morning. Someone 
 please help! 
 
 Best Regards, 
 
 
 
 Adam Scarcella 
 
 



Re: 回复: Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread David Nalley
So the management server should work just fine with 32 bit - but if
you are using pre-compiled binaries from the yum/apt repos, we only
build for 64 bit. You could certainly build this for yourself, but not
sure there's a lot of reason to.

--David

On Sat, Nov 16, 2013 at 9:22 AM, 5度倾斜 465296...@qq.com wrote:
 thank you for your suggestion :D
 I made CloudStack4.2.0 started successfully, by install a 64-bit Ubuntu 
 server OS rather than the old 32-bit one.
 Reboot can't solve the problem,i've tried many times,and i still don't know 
 the reason,maybe just don't suppport 32-bit OS ?
 best wishes for you,thank u!




 -- 原始邮件 --
 发件人: Du Jun;
 发送时间: 2013年11月15日(星期五) 下午3:16
 收件人: users;
 主题: Re: Starting Cloudstack-specific Tomcat engine cloudstack-management 
 [fail]



 It seems that Your resources provided for cloudstack-management server is
 not enough.Remember,sometimes,reboot is the best practice for solving
 Tomcat engine start fail.


 2013/11/15 5度倾斜 465296...@qq.com

 hi!
 i got a new ubuntuserver 12.04 i386 to install Cloudstack-management
 version 4.2,i followed the guide on cloudstack.org step by step, but the
 tomcat just can't run.
 i checked the log in /var/log/cloudstack/management,there is only a
 setupManagement.log and seems nothing useful.then i went through the
 /var/log/syslog,found pages of error like ubuntuServer1 jsvc.exec[3612]:
 Error occurred during initialization of VM#012Could not reserve enough
 space for object heap.what might be the problem?
 thank you!


Re: Compute offerings and Templates

2013-11-17 Thread David Nalley
The question is (at least in my mind) do you want the deployment to
fail (appropriately) or to 'work' from the end user perspective, even
if it doesn't follow your way of getting things done perfectly.

Before we dig into it, you could create template names or descriptions
with hints to help folks along.

So the easiest solution is to tag one of your XS storage offerings
with the same tags. So if someone screws up, and chooses a XS
template, and a VMW-intended service offering, it will still deploy -
they'll be slightly disappointed but at least working.

Neither of these seem elegant - ideally we'd limit what you could see
based on the previous choices before, but CloudStack doesn't currently
do that.


--David

On Sat, Nov 16, 2013 at 2:56 PM, Steve Searles ssear...@zimcom.net wrote:
 I am looking for a little guidance in tying templates to compute offerings or 
 filtering them in the instance deployment wizard. For example as we step 
 through the wizard we can choose Zone - Template - Compute Offering, in our 
 case it is possible to create an undeployable situation by choosing a compute 
 offering where a host tag is defined but the template selected does not 
 support the hypervisor in the host tag.

 For example,  I have both xenserver and vmware.  I have defined a compute 
 offering with a storage tag for Fibrechannel storage that is not available on 
 xenserver but you can still choose that compute offering after selecting a 
 xenserver template which will make an undeployable situation.  Perhaps I am 
 not using host/storage tags properly but they seem to be functioning as 
 intended.  I am trying to make the deployment process as simple as possible 
 for the end user and not allow them to choose incompatible offerings.  I 
 fully admit that I may be looking at this wrong and am looking for some 
 guidance on setting up the offerings.  I have the following defined and it 
 seems kind of a mess.


 Vmware-
 Storage Offering #1 - EMC VMAX (High I/O)
 Storage Offering #2 - EMX VNX (Standard I/O)
 Storage Offering #3 -  EMC ISOLON (NFS/Replicated)

 XenServer Storage Offering #1 - EMC AX (Standard I/O)
   Storage Offering #2 -  EMC ISOLON (NFS/Replicated)



 Steve Searles




Re: Probably more of a dev question...

2013-11-17 Thread David Nalley
Hi Eric:

So the folks at TrendMicro have done some work around client-focused
crypto of volumes in CloudStack.

CloudStack itself doesn't have object storage (we consume object
storage, but don't write software to provide object storage - plenty
of good projects that do; Ceph, RiakCS, OpenStack Swift, etc.)

You might want to look at HekaFS as well - it's a translator atop
Gluster designed for multi tenant, and does client driven encryption
to ensure isolation even if the security in Gluster is compromised.

--David

On Fri, Nov 15, 2013 at 7:16 PM, Eric Tykwinski eric-l...@truenet.com wrote:
 Just wondering if anyone has inquired about client side crypto on Amazon S3 
 storage?
 I just got a email from Peter Eckersley from the EFF about a new venture to 
 discuss large scale cryptography.
 New mailing list, if anyone's interested: 
 https://lists.eff.org/mailman/listinfo/crypto-ops

 Just wondering if the dev's have thought about implementing anything.  
 Considering this could very well contain confidential information on the 
 snapshots, I'm thinking it might be something to look at.
 I checked the wiki first, but didn't run across it: 
 https://cwiki.apache.org/confluence/display/CLOUDSTACK/Test+Plans

 Sincerely,

 Eric Tykwinski
 TrueNet, Inc.
 P: 610-429-8300
 F: 610-429-3222



Re: Compute offerings and Templates

2013-11-17 Thread Vahric Muhtaryan
Why don¹t you create a portal and allow to end users choose their
requirements and send it to ACS via API , then you can achieve what you
want
Maybe its not it ACS but Citrix also provide another software which is
cloud portal business manager which is do everything for you, you can
bundle related compute + storage and network offering as a bundle
Sorry, i¹m thinking when i wrote something add some notes on offerings for
example Storage Offering #1 - EMC VMAX (High I/O) (Not for Xen Server) :)
hehheheh

On 16/11/13 21:56, Steve Searles ssear...@zimcom.net wrote:

I am looking for a little guidance in tying templates to compute
offerings or filtering them in the instance deployment wizard. For
example as we step through the wizard we can choose Zone - Template -
Compute Offering, in our case it is possible to create an undeployable
situation by choosing a compute offering where a host tag is defined but
the template selected does not support the hypervisor in the host tag.

For example,  I have both xenserver and vmware.  I have defined a compute
offering with a storage tag for Fibrechannel storage that is not
available on xenserver but you can still choose that compute offering
after selecting a xenserver template which will make an undeployable
situation.  Perhaps I am not using host/storage tags properly but they
seem to be functioning as intended.  I am trying to make the deployment
process as simple as possible for the end user and not allow them to
choose incompatible offerings.  I fully admit that I may be looking at
this wrong and am looking for some guidance on setting up the offerings.
I have the following defined and it seems kind of a mess.


Vmware-
Storage Offering #1 - EMC VMAX (High I/O)
Storage Offering #2 - EMX VNX (Standard I/O)
Storage Offering #3 -  EMC ISOLON (NFS/Replicated)

XenServer Storage Offering #1 - EMC AX (Standard I/O)
  Storage Offering #2 -  EMC ISOLON (NFS/Replicated)



Steve Searles






Re: API - listTemplates, not working or I am doing something wrong??

2013-11-17 Thread 李栋
yep,i found finally,Thanks,handsome.

于 2013/11/14 13:44, Min Chen 写道:
 That is because the one stored in sql DB is already encrypted due to
 security reason.  When you deploy CS through source code, encryption is
 turned off, so you are seeing them match.

 Thanks
 -min

 On 11/13/13 6:04 PM, 李栋 li_d...@travelsky.com wrote:

 And the secretKeys are different between CS UI and database,who knows why?
 the secreyKey in CS UI is
 2hjBSbXyOzUJ495PbSN1M4eM-ppYd9z3sKnJxUMEVovLHwJ9MVtg6bmriB1IVaMx213UFgtYkf
 s-v7s4s1WIDA 

 but in CS mysql database is
 rS/gpVn9SvbhVjjFBtC2zo0Ue2pYTvgaf24gyIzzC4r4LXNxm7djo5desZMsBoPtfH0fVsJw9y
 q5NYpRgAAiXlZdiY9q4zEL5tjB+yE50p2EQSkLJ6KqsojrQ+uOMrwj
 I saw they were same if you depoly CS as source code with ant debug.So
 magical,hah!

 于 2013/4/20 1:27, Kirk Jantzer 写道:
 So, I ended up writing something, but it is only returning results for
 things I personally have created, even though I am a root admin.
 Thoughts?


 On Wed, Apr 17, 2013 at 2:40 PM, Sebastien Goasguen
 run...@gmail.comwrote:

 On Apr 17, 2013, at 2:38 PM, Kirk Jantzer kirk.jant...@gmail.com
 wrote:

 thanks for the replies everyone - by chance, anything php based?? :-)
 looking to build a simple page to do mass deployments, but be able to
 select offerings based on serviceofferings available the creator's
 keys…
 If you search for 'cloudstack client' on github there are a few php
 clients I believe.

 On Wed, Apr 17, 2013 at 2:35 PM, Edward Valencia edwa...@redapt.com
 wrote:
 There are two ruby gems that Ive been using to interact with the API:

 cloudstack_helper and cloudstack_ruby_client



 On Wednesday, April 17, 2013 at 11:16 AM, Kirk Jantzer wrote:
 Does anyone have a script for creating signatures?


 On Wed, Apr 17, 2013 at 1:31 PM, Kirk Jantzer
 kirk.jant...@gmail.com
 (mailto:
 kirk.jant...@gmail.com)wrote:
 gah. *facepalm* deployvirtualmachine works without a signature, so
 i
 didn't think of that.. thanks!


 On Wed, Apr 17, 2013 at 1:23 PM, Edward Valencia
 edwa...@redapt.com
 (mailto:
 edwa...@redapt.com)wrote:
 The api call needs to have a signature created based on the API
 and
 secrete key, I think this is whats missing in your call:



 http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.1-incubati
 ng/html/API_Developers_Guide/signing-api-requests.html
 Also commands are case sensitive but the way and should be used
 as in
 they are in the API docs. Hope this help.


 On Wednesday, April 17, 2013 at 10:19 AM, Kirk Jantzer wrote:
 ok, maybe it's not just 'listtemplates' - I've tried other
 commands and
 get
 the same 'unable to verify...' replythoughts??


 On Wed, Apr 17, 2013 at 1:13 PM, Kirk Jantzer 
 kirk.jant...@gmail.com (mailto:kirk.jant...@gmail.com)(mailto:
 kirk.jant...@gmail.com (mailto:kirk.jant...@gmail.com))wrote:
 When I do the following:
 api?command=listTemplatestemplatefilter=featuredapikey=**response
 =json
 The result is the following (I have tried the API key of a
 domain
 admin
 and root admin, as well as a cookie session after GUI login -
 all
 yielded
 same result):

 { listtemplatesresponse :
 {uuidList:[],errorcode:401,errortext:unable to verify user
 credentials and/or request signature} }
 Per this forum post, there was a suggestion to change the case
 of the
 commands - that changed the output, but still didn't work:

 api?command=listtemplatestemplatefilter=featuredapikey=**response
 =json
 { errorresponse :
 {uuidList:[],errorcode:432,errortext:The
 given command does not exist} }
 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475


 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475



 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475



 --
 Regards,

 Kirk Jantzer
 c: (678) 561-5475
 -- 
 Li Dong Cloud Product Technology Manager +86 571 18657172575 Travelsky
 Outsourcing Service Department Address: Room 1803,No.705 Yatai Road Nanhu
 District,Jiaxing City,Zhejiang 314006,P.R.China


-- 
Li Dong Cloud Product Technology Manager +86 571 18657172575 Travelsky 
Outsourcing Service Department Address: Room 1803,No.705 Yatai Road Nanhu 
District,Jiaxing City,Zhejiang 314006,P.R.China 




Review of Collab hypervisor presentation

2013-11-17 Thread Tim Mackey
Good evening everyone.  I'm presenting at Collab this week on hypervisor
selection in CloudStack.  While I've been running CloudStack since the
pre-Apache days, my experience is obviously limited to what I've personally
implemented.  Since I want to keep this session factual and avoid any bias,
I'm hoping that some of you on this list can review my deck for errors and
omissions.

Here's a link to a PDF of my deck, and thanks to anyone who takes the time
to see if I've made any errors.

https://citrix.sharefile.com/d/s8e4036e1da04c748

-tim


Re: 回复: Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread Shanker Balan
On 18-Nov-2013, at 12:53 am, David Nalley da...@gnsa.us wrote:

 So the management server should work just fine with 32 bit - but if
 you are using pre-compiled binaries from the yum/apt repos, we only
 build for 64 bit. You could certainly build this for yourself, but not
 sure there's a lot of reason to.

Ah, I was under the impression that the 64-bit packages was
produced is because of a dependency on 64-bit java.

Thank you.


--
@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

CloudStack Bootcamp Training on 27/28 November, Bangalore
http://www.shapeblue.com/cloudstack-training/




This email and any attachments to it may be confidential and are intended 
solely for the use of the individual to whom it is addressed. Any views or 
opinions expressed are solely those of the author and do not necessarily 
represent those of Shape Blue Ltd or related companies. If you are not the 
intended recipient of this email, you must neither take any action based upon 
its contents, nor copy or show it to anyone. Please contact the sender if you 
believe you have received this email in error. Shape Blue Ltd is a company 
incorporated in England  Wales. ShapeBlue Services India LLP is a company 
incorporated in India and is operated under license from Shape Blue Ltd. Shape 
Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is 
operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


Cloudstack4.2.0 KVM can't install windows8 32-bit

2013-11-17 Thread Xuan Luo
hello,everyone!
I got a windows8 32bit iso,and want to try it on my VM created by Cloudstack 
4.2.0,and hypervisor is KVM.
Firstly,windows logo shows :D,then display a black backgroud with lines of 
error.Error code is 0x005D.I google it,somebody say KVM just cant install 
32bit win8,and 64bit will works,.Anybody tried win8 on Cloudstack 
successfully?thank you.

?????? ?????? Starting Cloudstack-specific Tomcat engine cloudstack-management [fail]

2013-11-17 Thread Xuan Luo
I think so,cloudstack.org gives 32bit packages,that means 32bit management 
server should work on 32bit OS.
I truely got the package via 'apt-get',maybe i got a 64bit managementserver and 
install it on a 32bit OS.so that's the root problem.
your words are helpful,thank you so much!




--  --
??: David Nalley;da...@gnsa.us;
: 2013??11??18??(??) 3:23
??: users@cloudstack.apache.orgusers@cloudstack.apache.org; 

: Re: ?? Starting Cloudstack-specific Tomcat engine 
cloudstack-management [fail]



So the management server should work just fine with 32 bit - but if
you are using pre-compiled binaries from the yum/apt repos, we only
build for 64 bit. You could certainly build this for yourself, but not
sure there's a lot of reason to.

--David

On Sat, Nov 16, 2013 at 9:22 AM, 5?? 465296...@qq.com wrote:
 thank you for your suggestion :D
 I made CloudStack4.2.0 started successfully, by install a 64-bit Ubuntu 
 server OS rather than the old 32-bit one.
 Reboot can't solve the problem,i've tried many times,and i still don't know 
 the reason,maybe just don't suppport 32-bit OS ?
 best wishes for you,thank u!




 --  --
 ??: Du Jun;
 : 2013??11??15??(??) 3:16
 ??: users;
 : Re: Starting Cloudstack-specific Tomcat engine cloudstack-management 
 [fail]



 It seems that Your resources provided for cloudstack-management server is
 not enough.Remember,sometimes,reboot is the best practice for solving
 Tomcat engine start fail.


 2013/11/15 5?? 465296...@qq.com

 hi!
 i got a new ubuntuserver 12.04 i386 to install Cloudstack-management
 version 4.2,i followed the guide on cloudstack.org step by step, but the
 tomcat just can't run.
 i checked the log in /var/log/cloudstack/management,there is only a
 setupManagement.log and seems nothing useful.then i went through the
 /var/log/syslog,found pages of error like ubuntuServer1 jsvc.exec[3612]:
 Error occurred during initialization of VM#012Could not reserve enough
 space for object heap.what might be the problem?
 thank you!
.