Re: 回复: Ubuntu上安装的cloudstack但是无法创建数据库
你的数据库版本是多少? 如果是5.5以上 ,CS的数据库数据在初始化时 ,如果是高版本的数据库,会有点问题,具体的你查看: https://issues.apache.org/jira/browse/CLOUDSTACK-8157 这个bug, 新版本会解决,目前临时解决办法是你使用5.1版本数据库,或者,修改/usr/share/cloudstack- management/setup/create-schema-premium.sql 这个文件中的的两行数据,具体请看: https://github.com/apache/cloudstack/pull/67.patch 注意,67.patch文件下面两行 前面有+和- 符号的,添加‘cloud’.即可。 2015-02-04 14:04 GMT+08:00 朱益萍 874413...@qq.com: 本地能正常访问的呢,但是创建的时候就一直是这个错误 -- 原始邮件 -- 发件人: hongtu.z...@gmail.com;hongtu.z...@gmail.com; 发送时间: 2015年2月4日(星期三) 中午12:33 收件人: users-cnusers-cn@cloudstack.apache.org; 主题: Re: 回复: Ubuntu上安装的cloudstack但是无法创建数据库 看上去像是MySQL 登陆认证失败 你试试 mysql -uroot -ppassword 看本地能不能访问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;hongtu.z...@gmail.com; 发送时间: 2015年2月4日(星期三) 上午10:33 收件人: users-cnusers-cn@cloudstack.apache.org; yuan-...@hbis.com.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:dbpassword@localhost --deploy-as=root:password 创建数据的时候下面这个错误 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: Docker Support?
Andrei, I specified Other (64 bit). Osay On 4 February 2015 at 18:00, Andrei Mikhailovsky and...@arhont.com wrote: Osay, what OS Type did you specify when you've uploaded the template to your acs? Thanks Andrei - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Wednesday, 4 February, 2015 3:24:16 PM Subject: Re: Docker Support? Hi Lucian and others. Thanks very much to this. By following your suggestions I now have this working like snake oil. Like you mentioned this works great out of the box. I'm now heading off to github to download the cloudstack enabled machine program to start some serious work. Great work and thanks for sharing the template and suggestions. Cheers, Osay PS: I never gave cloudmonkey a thought but after this I think I'm going to consign the web gui to very mundane tasks. On 3 February 2015 at 21:32, Nux! n...@li.nux.ro wrote: I use cloudmonkey for that, much better than the UI in many respects. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 3 February, 2015 18:10:20 Subject: Re: Docker Support? Thanks. I thought about it later and realised that functionality existed through the API. Great work. On Feb 3, 2015 6:29 PM, Andrei Mikhailovsky and...@arhont.com wrote: I think there is an API call for that (cloudmonkey should also do that). the ACS GUI currently doesn't have that ability. Andrei - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 3 February, 2015 4:11:57 PM Subject: Re: Docker Support? Thanks Seb. Sorry forbabdb question but how do I specify the key during instance creation based on the template? Osay On Feb 3, 2015 6:05 PM, Sebastien Goasguen run...@gmail.com wrote: On Feb 3, 2015, at 9:39 AM, Osay Osman Yuuni oyu...@gmail.com wrote: Hi, What do you mean works totally out of the box?. Without injecting ssh keys how does it work or are you referring to running docker and related stuff straight out of the box? I am saying that you don't need to tweak the template. if you register ssh keys in cloudstack and deploy a VM based on that template specifying your ssh keys, you will be logged in ….out of the box… no need to install additional scripts in the templates, etc... Osay On 2 February 2015 at 15:31, Sebastien Goasguen run...@gmail.com wrote: On Jan 31, 2015, at 7:27 PM, Andrei Mikhailovsky and...@arhont.com wrote: I guess there has been a lot of changes since i've last checked. When I was testing it about half a year ago, the ssh keys did not work out of the box and had to be scipted into the image itself before uploading to acs. it works totally out of the box. As Lucian mentioned if you start an instance specifying an SSH key, the instance will get it from the VR userdata…. as easy as pie and exactly like on AWS or EC2 I pointed to the automated builds from coreOS directly and the scripts used to setup the keys automatically. Andrei From: Nux! n...@li.nux.ro To: users@cloudstack.apache.org Cc: run...@gmail.com Sent: Saturday, 31 January, 2015 1:16:12 AM Subject: Re: Docker Support? Oh, forgot to add that userdata scripts have also worked upon VM deployment out of the box, so if you'd like your CoreOS instance to do some action you can script it here. Not sure how exactly it would work better on Openstack as Andrei intimated. Pretty much everything seemed to work to the best of my (limited Coreos) knowledge. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Nux! n...@li.nux.ro To: users@cloudstack.apache.org Cc: run...@gmail.com Sent: Saturday, 31 January, 2015 01:08:08 Subject: Re: Docker Support? What I needed to do in order to get it working is convert the image to QCOW2 (I use KVM). After that I have registered the template with SSH key enabled (You
Re: Docker Support?
Osay, You might want to try other OS types that support PV, like Other PV (64bit) or even one of the Linux distros like Ubuntu 12.04 (64bit). I think disk performance might improve. Andrei - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Wednesday, 4 February, 2015 6:57:51 PM Subject: Re: Docker Support? Andrei, I specified Other (64 bit). Osay On 4 February 2015 at 18:00, Andrei Mikhailovsky and...@arhont.com wrote: Osay, what OS Type did you specify when you've uploaded the template to your acs? Thanks Andrei - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Wednesday, 4 February, 2015 3:24:16 PM Subject: Re: Docker Support? Hi Lucian and others. Thanks very much to this. By following your suggestions I now have this working like snake oil. Like you mentioned this works great out of the box. I'm now heading off to github to download the cloudstack enabled machine program to start some serious work. Great work and thanks for sharing the template and suggestions. Cheers, Osay PS: I never gave cloudmonkey a thought but after this I think I'm going to consign the web gui to very mundane tasks. On 3 February 2015 at 21:32, Nux! n...@li.nux.ro wrote: I use cloudmonkey for that, much better than the UI in many respects. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 3 February, 2015 18:10:20 Subject: Re: Docker Support? Thanks. I thought about it later and realised that functionality existed through the API. Great work. On Feb 3, 2015 6:29 PM, Andrei Mikhailovsky and...@arhont.com wrote: I think there is an API call for that (cloudmonkey should also do that). the ACS GUI currently doesn't have that ability. Andrei - Original Message - From: Osay Osman Yuuni oyu...@gmail.com To: users@cloudstack.apache.org Sent: Tuesday, 3 February, 2015 4:11:57 PM Subject: Re: Docker Support? Thanks Seb. Sorry forbabdb question but how do I specify the key during instance creation based on the template? Osay On Feb 3, 2015 6:05 PM, Sebastien Goasguen run...@gmail.com wrote: On Feb 3, 2015, at 9:39 AM, Osay Osman Yuuni oyu...@gmail.com wrote: Hi, What do you mean works totally out of the box?. Without injecting ssh keys how does it work or are you referring to running docker and related stuff straight out of the box? I am saying that you don't need to tweak the template. if you register ssh keys in cloudstack and deploy a VM based on that template specifying your ssh keys, you will be logged in ….out of the box… no need to install additional scripts in the templates, etc... Osay On 2 February 2015 at 15:31, Sebastien Goasguen run...@gmail.com wrote: On Jan 31, 2015, at 7:27 PM, Andrei Mikhailovsky and...@arhont.com wrote: I guess there has been a lot of changes since i've last checked. When I was testing it about half a year ago, the ssh keys did not work out of the box and had to be scipted into the image itself before uploading to acs. it works totally out of the box. As Lucian mentioned if you start an instance specifying an SSH key, the instance will get it from the VR userdata…. as easy as pie and exactly like on AWS or EC2 I pointed to the automated builds from coreOS directly and the scripts used to setup the keys automatically. Andrei From: Nux! n...@li.nux.ro To: users@cloudstack.apache.org Cc: run...@gmail.com Sent: Saturday, 31 January, 2015 1:16:12 AM Subject: Re: Docker Support? Oh, forgot to add that userdata scripts have also worked upon VM deployment out of the box, so if you'd like your CoreOS instance to do some action you can script it here. Not sure how exactly it would work better on Openstack as Andrei intimated. Pretty much everything seemed to work to
无法创建实例
在创建实例的时候使用自己上传的ISO镜像,VM的状态一直处于error 日志信息如下: 2015-02-05 11:21:17,043 ERROR [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor- 1:ctx-c248becb job-84/job-87 ctx-9f5b0186) Invocation exception, caused by: com cloud.exception.InsufficientServerCapacityException: Unable to create a deploym nt for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter; id=1 2015-02-05 11:21:17,044 INFO [c.c.v.VmWorkJobHandlerProxy] (Work-Job-Executor- 1:ctx-c248becb job-84/job-87 ctx-9f5b0186) Rethrow exception com.cloud.exceptio .InsufficientServerCapacityException: Unable to create a deployment for VM[User i-2-11-VM]Scope=interface com.cloud.dc.DataCenter; id=1 2015-02-05 11:21:17,044 DEBUG [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-31 ctx-c248becb job-84/job-87) Done with run of VM work job: com.cloud.vm.VmWorkSt rt for VM 11, job origin: 84 2015-02-05 11:21:17,044 ERROR [c.c.v.VmWorkJobDispatcher] (Work-Job-Executor-31 ctx-c248becb job-84/job-87) Unable to complete AsyncJobVO {id:87, userId: 2, ac ountId: 2, instanceType: null, instanceId: null, cmd: com.cloud.vm.VmWorkStart, cmdInfo: rO0ABXNyABhjb20uY2xvdWQudm0uVm1Xb3JrU3RhcnR9cMGsvxz73gIAC0oABGRjSWRMAA hdm9pZHN0ADBMY29tL2Nsb3VkL2RlcGxveS9EZXBsb3ltZW50UGxhbm5lciRFeGNsdWRlTGlzdDtMAA jbHVzdGVySWR0ABBMamF2YS9sYW5nL0xvbmc7TAAGaG9zdElkcQB-AAJMAAtqb3VybmFsTmFtZXQAEk qYXZhL2xhbmcvU3RyaW5nO0wAEXBoeXNpY2FsTmV0d29ya0lkcQB-AAJMAAdwbGFubmVycQB-AANMAA wb2RJZHEAfgACTAAGcG9vbElkcQB-AAJMAAlyYXdQYXJhbXN0AA9MamF2YS91dGlsL01hcDtMAA1yZX lcnZhdGlvbklkcQB-AAN4cgATY29tLmNsb3VkLnZtLlZtV29ya5-ZtlbwJWdrAgAESgAJYWNjb3VudE kSgAGdXNlcklkSgAEdm1JZEwAC2hhbmRsZXJOYW1lcQB-AAN4cAACAAIAAA AC3QAGVZpcnR1YWxNYWNoaW5lTWFuYWdlckltcGwAAHBwcHBwcHBwc3IAEWphdmEudXRpbC IYXNoTWFwBQfawcMWYNEDAAJGAApsb2FkRmFjdG9ySQAJdGhyZXNob2xkeHA_QAAADHcIEA AAAF0AApWbVBhc3N3b3JkdAAcck8wQUJYUUFEbk5oZG1Wa1gzQmhjM04zYjNKa3hw, cmdVersion: , status: IN_PROGRESS, processStatus: 0, resultCode: 0, result: null, initMsid: 963718077886, completeMsid: null, lastUpdated: null, lastPolled: null, created: Thu Feb 05 11:21:15 CST 2015}, job origin:84 com.cloud.exception.InsufficientServerCapacityException: Unable to create a dep oyment for VM[User|i-2-11-VM]Scope=interface com.cloud.dc.DataCenter; id=1 at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachi eManagerImpl.java:947) at com.cloud.vm.VirtualMachineManagerImpl.orchestrateStart(VirtualMachi eManagerImpl.java:5195) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce sorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerP oxy.java:107) at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachin ManagerImpl.java:5340) at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102 at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runI Context(AsyncJobManagerImpl.java:503) at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(M nagedContextRunnable.java:49) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.c ll(DefaultManagedContext.java:56) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.cal WithContext(DefaultManagedContext.java:103) at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.run ithContext(DefaultManagedContext.java:53) at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(Man gedContextRunnable.java:46) at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run( syncJobManagerImpl.java:460) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:4 1) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto .java:615) at java.lang.Thread.run(Thread.java:745) 2015-02-05 11:21:17,046 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (Work-Job-Execu or-31:ctx-c248becb job-84/job-87) Complete async job-87, jobStatus: FAILED, res ltCode: 0, result: nVuSW5Db250ZXh0c3EAfgALMXQAPm9yZy5hcGFjaGUuY2xvdWRzdGFjay5tYW5hZ2VkLmNvbnRl
Videos from CloudStack Collaboration Conference Europe 2014 Available
Hi everyone, Someone pointed out to me that the videos from the CloudStack Collaboration Conference Europe 2014 are now available: https://www.youtube.com/playlist?list=PLbzoR-pLrL6ruJrhXZ-jSSYw0m3WfK4ea Thought I'd pass this on. :) -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud http://solidfire.com/solution/overview/?video=play*™*
Cloudstack using without virtual Router
Hi there, actually we use “Ovirt” and evaluate cloudstack as alternative for our production. The cloudstack Server shall be installed in the same network as our real hardware Servers. Our completely network ismanaged byCisco router and switches. We need to know, if it is possible to installthe cloudstack without the Virtual router and with only one Network or maximum2 networks, we haven't found a option/ installation possibility for that. The servers areinstalled in separated buildings. moreover, we would prefer, that the vm network from the central cisco router receives its IP adresses. Currently we put 3 IP adress ranges (Admin, Live External and Live Internal) to a run on the Ovirt / cloudstack servers. Best regards, Joerg