Re: RE: Ubuntu上安装的cloudstack但是无法创建数据库

2015-02-03 文章 hongtu.z...@gmail.com
邮件组是不支持图片的,还是贴文本吧



hongtu.z...@gmail.com
 
发件人: YUAN, GUI -HBIS
发送时间: 2015-02-04 10:31
收件人: users-cn@cloudstack.apache.org
主题: RE: Ubuntu上安装的cloudstack但是无法创建数据库
图片看不见,
 
不知道是被BAN了,还是这个邮件组不支持。
 
 
 
From: 朱益萍 [mailto:874413...@qq.com] 
Sent: Wednesday, February 04, 2015 10:21 AM
To: cloudstack
Subject: Ubuntu上安装的cloudstack但是无法创建数据库
 
 
 
Ubuntu作为管理节点,在管理机上安装mysql使用cloudstack-setup-databases 
cloud:@localhost --deploy-as=root: 创建数据的时候下面这个错误
 
 
‍
 
Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and 
may be protected
by law against any unauthorized use.  If you have received this e-mail by 
mistake or have
reason to believe that you are not the intended recipient, please notify the 
sender by reply
e-mail as soon as possible and delete it from your computer system immediately 
thereafter.
If you are not the intended recipient, you must not copy this e-mail or 
attachment or disclose
the contents to any other person.  While we have made every effort to keep our 
network virus free,
we take no responsibility for any computer virus which might be transferred by 
way of this e-mail


回复: 删除所有host节点后,无法再添加节点重建环境。

2015-02-03 文章 hongtu.z...@gmail.com
进db
把template_host_ref 里面跟系统虚拟机模板有关的项清掉试试看



hongtu.z...@gmail.com
 
发件人: yingkai...@163.com
发送时间: 2015-02-04 11:44
收件人: users-cn
主题: 删除所有host节点后,无法再添加节点重建环境。
 
部署模式:高级网络,NFS共享存储
机器情况:一个管理节点,两个计算节点
场景:删除了所有的host节点后,再添加host,ssvm 和cpvm 不能启动
详细错误日志是:
 
2015-02-04 11:25:42,357 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Trying to find a potenial host and associated 
storage pools from the suitable host/pool lists for this VM
2015-02-04 11:25:42,357 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Checking if host: 7 can access any suitable 
storage pool for volume: ROOT
2015-02-04 11:25:42,358 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Host: 7 can access pool: 1
2015-02-04 11:25:42,358 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Found a potential host id: 7 name: kruihost-102 
and associated storage pools for this VM
2015-02-04 11:25:42,359 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Returning Deployment Destination: 
Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))] 
: Dest[Zone(1)-Pod(1)-Cluster(1)-Host(7)-Storage(Volume(76|ROOT-->Pool(1))]
2015-02-04 11:25:42,359 DEBUG [c.c.v.VirtualMachineManagerImpl] 
(consoleproxy-1:ctx-7fe8ff91) Deployment found  - P0=VM[ConsoleProxy|v-75-VM], 
P0=Dest[Zone(Id)-Pod(Id)-Cluster(Id)-Host(Id)-Storage(Volume(Id|Type-->Pool(Id))]
 : Dest[Zone(1)-Pod(1)-Cluster(1)-Host(7)-Storage(Volume(76|ROOT-->Pool(1))]
2015-02-04 11:25:42,359 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(secstorage-1:ctx-c4d874ed) Checking resources in Cluster: 1 under Pod: 1
2015-02-04 11:25:42,359 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Looking for hosts in dc: 1 
 pod:1  cluster:1
2015-02-04 11:25:42,361 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) FirstFitAllocator has 1 
hosts to check for allocation: [Host[-7-Routing]]
2015-02-04 11:25:42,362 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Found 1 hosts for 
allocation after prioritization: [Host[-7-Routing]]
2015-02-04 11:25:42,362 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Looking for speed=500Mhz, 
Ram=512
2015-02-04 11:25:42,365 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Host: 7 has cpu capability 
(cpu:4, speed:3192) to support requested CPU: 1 and requested speed: 500
2015-02-04 11:25:42,365 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Checking if host: 7 has 
enough capacity for requested CPU: 500 and requested RAM: 536870912 , 
cpuOverprovisioningFactor: 1.0
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Hosts's actual total CPU: 
12768 and CPU after applying overprovisioning: 12768
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Free CPU: 12768 , 
Requested CPU: 500
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Free RAM: 7464352768 , 
Requested RAM: 536870912
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Host has enough CPU and 
RAM available
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) STATS: Can alloc CPU from 
host: 7, used: 0, reserved: 0, actual total: 12768, total with 
overprovisioning: 12768; requested cpu:500,alloc_from_last_host?:false 
,considerReservedCapacity?: true
2015-02-04 11:25:42,366 DEBUG [c.c.c.CapacityManagerImpl] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) STATS: Can alloc MEM from 
host: 7, used: 0, reserved: 0, total: 7464352768; requested mem: 
536870912,alloc_from_last_host?:false ,considerReservedCapacity?: true
2015-02-04 11:25:42,366 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Found a suitable host, 
adding to list: 7
2015-02-04 11:25:42,366 DEBUG [c.c.a.m.a.i.FirstFitAllocator] 
(secstorage-1:ctx-c4d874ed FirstFitRoutingAllocator) Host Allocator returning 1 
suitable hosts
2015-02-04 11:25:42,366 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(secstorage-1:ctx-c4d874ed) Checking suitable pools for volume (Id, Type): 
(79,ROOT)
2015-02-04 11:25:42,366 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(secstorage-1:ctx-c4d874ed) We need to allocate new storagepool for this volume
2015-02-04 11:25:42,367 DEBUG [c.c.d.DeploymentPlanningManagerImpl] 
(secstorage-1:ctx-c4d874ed) Calling StoragePoolAllocators to find suitable pools
2015-02-04 11:25:42,367 DEBUG [o.a.c.s.a.LocalStoragePoolAllocator] 
(secstorage-1:ctx-c4d874ed) LocalStoragePoolAllocator trying to find storage

Re: 回复: Ubuntu上安装的cloudstack但是无法创建数据库

2015-02-03 文章 hongtu.z...@gmail.com
看上去像是MySQL 登陆认证失败
你试试 mysql -uroot -p
看本地能不能访问MySQL



臧宏图
Email:hongtu.z...@gmail.com
 
发件人: 朱益萍
发送时间: 2015-02-04 10:39
收件人: users-cn
主题: 回复: RE: Ubuntu上安装的cloudstack但是无法创建数据库
这个是报错的部分:
We apologize for below error:
***
Encountering an error when executing mysql script
--
table:
/usr/share/cloudstack-management/setup/create-schema-premium.sql
 
 
Error:
ERROR 1046 (3D000) at line 285: No database selected
 
 
 
 
Sql parameters:
{'passwd': '123456', 'host': 'localhost', 'user': 'root', 'port': 3306}
--
 
 
***
Please run:
 
 
cloud-setup-database -h
 
 
for full help
root@manage:~#‍
 
 
 
-- 原始邮件 --
发件人: "hongtu.z...@gmail.com";;
发送时间: 2015年2月4日(星期三) 上午10:33
收件人: "users-cn"; 
"yuan-...@hbis.com.cn"; 
 
主题: Re: RE: Ubuntu上安装的cloudstack但是无法创建数据库
 
 
 
邮件组是不支持图片的,还是贴文本吧
 
 
 
hongtu.z...@gmail.com
发件人: YUAN, GUI -HBIS
发送时间: 2015-02-04 10:31
收件人: users-cn@cloudstack.apache.org
主题: RE: Ubuntu上安装的cloudstack但是无法创建数据库
图片看不见,
不知道是被BAN了,还是这个邮件组不支持。
From: 朱益萍 [mailto:874413...@qq.com] 
Sent: Wednesday, February 04, 2015 10:21 AM
To: cloudstack
Subject: Ubuntu上安装的cloudstack但是无法创建数据库
Ubuntu作为管理节点,在管理机上安装mysql使用cloudstack-setup-databases 
cloud:@localhost --deploy-as=root: 创建数据的时候下面这个错误
‍
Disclaimer:
The contents of this e-mail, and its attachments, if any, are confidential and 
may be protected
by law against any unauthorized use.  If you have received this e-mail by 
mistake or have
reason to believe that you are not the intended recipient, please notify the 
sender by reply
e-mail as soon as possible and delete it from your computer system immediately 
thereafter.
If you are not the intended recipient, you must not copy this e-mail or 
attachment or disclose
the contents to any other person.  While we have made every effort to keep our 
network virus free,
we take no responsibility for any computer virus which might be transferred by 
way of this e-mail


Re: 关于存储使用swift的问题

2015-02-05 文章 hongtu.z...@gmail.com
swift是对象存储。
用来存储持久性的非结构化数据,例如文本、图片等等。
swift也不是文件系统,没有目录结构,不提供传统的文件打开关闭读取,只能通过RESTful API进行上传下载。
swift也不提供块存储。
所以,你可以直观理解为swift是提供了一个类似百度云盘的功能,也就不能作为主存储使用了。
另外,swift 主要是关注数据持久性,而不是高IO吞吐。

你可以试试ceph的块存储,或许能解决问题。
不过稳定性需要做写测试,或者换用商业解决方案吧。



hongtu_zang
Email:hongtu.z...@gmail.com
 
发件人: loveg...@126.com
发送时间: 2015-02-06 09:23
收件人: users-cn
主题: 关于存储使用swift的问题
HI:各位
 

由于NFS的IO瓶颈,可扩展性都有些问题,所以想把cloudstack的存储改用openstack的swift,但查过资料显示,只能在辅助存储中选择使用swift,主存储不能?
 
 
 
 
loveg...@126.com 
 


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

2015-02-09 文章 hongtu.z...@gmail.com
CPUVT




hongtu_zang
Email??hongtu.z...@gmail.com
 
 
?? 2015-02-10 09:29
 users-cn
?? ??
Hi  
  
   
??cloudstack
 ?? ??


Re: 回复:所说各位的测试环境

2015-02-09 文章 hongtu.z...@gmail.com
可以用esxi 装虚拟机来进行功能性测试,就不需要物理交换机了




hongtu_zang
Email:hongtu.z...@gmail.com
 
发件人: 杨炳文
发送时间: 2015-02-10 09:42
收件人: users-cn
主题: 回复:所说各位的测试环境
一般的pc机,另外跟据需要外置网卡.交换机支持VLAN划分即可.
 
 
 
 
-- 原始邮件 --
发件人: "李强";;
发送时间: 2015年2月10日(星期二) 上午9:37
收件人: "users-cn"; 
 
主题: 回复:所说各位的测试环境
 
 
 
一般pc机 可以测试高级网络?  网卡支持 trunk ?  
  
 
 
-- 原始邮件 --
  发件人: "杨炳文";<350884...@qq.com>;
发送时间: 2015年2月10日(星期二) 上午9:35
收件人: "users-cn"; 
主题: 回复:所说各位的测试环境
 
 
我用的是RG-S3760E交换机 服务器一般PC机,支持TV虚拟化的.‍
 
 
 
-- 原始邮件 --
发件人: "李强";;
发送时间: 2015年2月10日(星期二) 上午9:29
收件人: "users-cn"; 
 
主题: 所说各位的测试环境
 
 
 
Hi  
  
   你们都用什么服务器和交换机测试cloudstack高级网络呢?是公司提供的?或者自己买的? 
最近自己想买些二手设备测试,但不知道买什么型号和品牌好 谁知道呢?


回复: 哪位大虾了解DiskTO中的MANAGED 字段的含义?

2015-02-10 文章 hongtu.z...@gmail.com
你这是哪个版本?



hongtu_zang
Email:hongtu.z...@gmail.com
 
发件人: yan_5...@163.com
发送时间: 2015-02-10 15:34
收件人: users-cn
主题: 哪位大虾了解DiskTO中的MANAGED 字段的含义?
public class DiskTO {
public static final String CHAP_INITIATOR_USERNAME = 
"chapInitiatorUsername";
public static final String CHAP_INITIATOR_SECRET = "chapInitiatorSecret";
public static final String CHAP_TARGET_USERNAME = "chapTargetUsername";
public static final String CHAP_TARGET_SECRET = "chapTargetSecret";
public static final String MANAGED = "managed";
 
 
 
山东济南 崔


回复: RE: 弱弱的问一下,哪里有cloudstack教程

2015-02-11 文章 hongtu.z...@gmail.com
可以



hongtu_zang
Email:hongtu.z...@gmail.com
 
发件人: ZhouBingo
发送时间: 2015-02-11 14:07
收件人: users-cn@cloudstack.apache.org
主题: RE: 弱弱的问一下,哪里有cloudstack教程
各位,我是否可以用两台虚拟机可以模拟cloudstack的环境来进行概念性验证吗?
 
> Date: Wed, 11 Feb 2015 11:11:49 +0800
> From: zhanghl...@foxmail.com
> To: users-cn@cloudstack.apache.org
> Subject: Re: Re: 弱弱的问一下,哪里有cloudstack教程
> 
> 收到,十分感谢。
> 
> 
> 
> zhanghl...@foxmail.com
>  
> 发件人: HellCat
> 发送时间: 2015-02-11 11:09
> 收件人: users-cn
> 主题: Re: 弱弱的问一下,哪里有cloudstack教程
> 推荐《Cloudstack入门指南 》
> 视频的话上次听刘宇超说好像有人录制过,可以问问他。不过我觉得书更加好点,看完这本基本就会了
>  
>  
>  
>  
> -- Original --
> From:  "zhanghl...@foxmail.com";;
> Date:  Wed, Feb 11, 2015 11:06 AM
> To:  "users-cn"; 
>  
> Subject:  弱弱的问一下,哪里有cloudstack教程
>  
>  
>  
> 各位大师:
> 本人刚刚接触cloudstack。弱弱的问一下,哪里有cloudstack系统化的教程,最好是视频的。
>  
>  
>  
> zhanghl...@foxmail.com