NFS挂死,平台虚拟机无法通信
HI ALL 最近 发现平台虚拟机很容易出现异常,查看日志,出现NFS nfs会挂死 ,然后节点 XEN全部断开掉,这种情况最近碰到好多次, 要如何修复这种问题。。谢谢了。 Jan 6 16:56:43 manager kernel: rpc-srv/tcp: nfsd: got error -32 when sending 140 bytes - shutting down socket Jan 6 16:56:43 manager kernel: rpc-srv/tcp: nfsd: got error -32 when sending 140 bytes - shutting down socket
Database Deployment is failing
Hi , Deploy Db is failing , can someone help me . [root@localhost cloudstack]# mvn -P developer -pl developer -Ddeploydb Eror msg - Processing upgrade: com.cloud.upgrade.DatabaseUpgradeChecker [WARNING] java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:616) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:679) Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to upgrade the database at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:337) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChecker.java:432) at com.cloud.upgrade.DatabaseCreator.main(DatabaseCreator.java:222) ... 6 more Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to execute upgrade script: /root/cloudstack/developer/target/db/db/schema-421to430.sql at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:252) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeChecker.java:306) ... 8 more Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'is_exclusive_gslb_provider' at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:193) at com.cloud.utils.db.ScriptRunner.runScript(ScriptRunner.java:87) at com.cloud.upgrade.DatabaseUpgradeChecker.runScript(DatabaseUpgradeChecker.java:243) ... 9 more [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 35.980s [INFO] Finished at: Mon Jan 06 10:29:36 EST 2014 [INFO] Final Memory: 37M/90M [INFO] [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2.1:java (create-schema) on project cloud-developer: An exception occured while executing the Java class. null: InvocationTargetException: Unable to upgrade the database: Unable to execute upgrade script: /root/cloudstack/developer/target/db/db/schema-421to430.sql: Duplicate column name 'is_exclusive_gslb_provider' - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException Setup Detail - [root@localhost cloudstack]# git branch * master root@localhost cloudstack]# git log --name-status HEAD^..HEAD commit c2b5addaedc47b3715b408a6d5a2aa356e7fcd1b Author: SrikanteswaraRao Talluri tall...@apache.org Date: Mon Jan 6 14:50:46 2014 +0530 CLOUDSTACK-5625: removed unnecessary global setting 'ldap.realname.attribute' M test/integration/component/test_ldap.py Thanks prashant
Virtual Router(s) Restarting on CloudStack-4.2
Greetings ! We have been observing from past couple of days that the Virtual Routers go missing and come back online after some time. There is no trace of it in the management server logs. We have used advanced networking (VLAN) and have multiple isolated guest networks. Has anyone faced a similar kind of issue ? Thanks. -- Md. Iliyas Shirol
how to upload systemvm template to swift secondary storage
Hi, I have a created a new zone in a fresh cloudstack 4.2 , how can I upload the systemvm template to the swift ? I don't see a way using 'cloud-install-sys-tmplt' , should I use the nfs staging instead? Thanks, Jithin
Centos 6.3 + Cloudstack 4.2 Fail to login web UI (404)
Hi all I am installing Cloudstack 4.2 on centos 6.3. Meet following problems: 1) Fail to login web UI HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.24 2) Fail to start Tomcat6 3) run /etc/init.d/cloudstack-agent start and output nothing I can confirm that I have install libvirt and qemu. So, would you please provide me with some advice? -- Best regards, Frank
RE: how to upload systemvm template to swift secondary storage
Hi, It is not required to seed the system VM template with Swift . System VM templates gets downloaded by Management server. Later it gets copied from Swift to Secondary Staging Storage. Please ensure that Secondary Staging Storage (NFS) is configured In your setup. Thanks, Sailaja.M -Original Message- From: Jithin Raju [mailto:rajuj...@gmail.com] Sent: 06 January 2014 18:03 To: users@cloudstack.apache.org Subject: how to upload systemvm template to swift secondary storage Hi, I have a created a new zone in a fresh cloudstack 4.2 , how can I upload the systemvm template to the swift ? I don't see a way using 'cloud-install-sys-tmplt' , should I use the nfs staging instead? Thanks, Jithin
Re: Centos 6.3 + Cloudstack 4.2 Fail to login web UI (404)
On Jan 6, 2014, at 1:38 PM, Du Jun dj199...@gmail.com wrote: Hi all I am installing Cloudstack 4.2 on centos 6.3. Meet following problems: 1) Fail to login web UI HTTP Status 404 - type Status report message description The requested resource () is not available. Apache Tomcat/6.0.24 2) Fail to start Tomcat6 3) run /etc/init.d/cloudstack-agent start and output nothing I can confirm that I have install libvirt and qemu. So, would you please provide me with some advice? -- Best regards, Frank Hi Frank, CloudStack has a management server and an agent (in the case of KVM). Tomcat is required for the management server, if it's not running then you won't be able to login to the UI. Did you install tomcat6 packages ? Did you do a 'service cloudstack-management start' to launch the management server ? -Sebastien
Re: suspend/pause cloudstack VM (kvm hypervisor)
On Dec 30, 2013, at 1:29 PM, Nevo snowge...@gmail.com wrote: Hi all! Sorry if my question (see the subject) has been asked before, as it's indeed (http://markmail.org/message/apchw5rsf4xgevt4?q=list:org%2Eapache%2Eincubator%2Ecloudstack-%2A+suspend). But since I saw no further update on that issue, maybe I could check out here first. My box is running cloudstack 4.2.0 on ubuntu 12.04 (desktop). The hypervisor is kvm as you probably know. it would be great to be able to suspend/resume my VMs now and then so I could have my PC take a break sometimes. Can anyone suggest whether it's possible to support that? It seems we can do it via virsh: https://help.ubuntu.com/community/KVM/Managing , but not cloudstack API? Hi, you can start/stop Vm with the API : http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/startVirtualMachine.html try it with cloud monkey: https://pypi.python.org/pypi/cloudmonkey/ Thanks! Nevo
Change host password
Hello! Someone know how change host password in Cloudstack..? With cloudmonkey does not work update hostpassword clusterid=de88338c-9ed4-4e84-9659-c6ef477de40b hostid=106e381f-7d21-44a3-b897-b8b1a7474133 username=root password='PASSWORD' : This operation is not supported for this hypervisor type (i'm using KVM as a hypervisor) I find in table host_details mysql select * from host_details where host_id=73; ++-++--+ | id | host_id | name | value| ++-++--+ | 225405 | 73 | com.cloud.network.Networks.RouterPrivateIpStrategy | HostLocal| | 225403 | 73 | Host.OS| CentOS | | 225402 | 73 | Host.OS.Kernel.Version | 2.6.32-431.1.2.0.1.el6.x86_64| | 225404 | 73 | Host.OS.Version| 6.5 | | 225411 | 73 | password | w4Ou/etXfInGh+1T3mVj/W+fE4QG5Ock | | 225408 | 73 | username | root | ++-++--+ 6 rows in set (0.00 sec) Counting password characters i think is encrypted with MD5 but is not. Can anyone help me please...? Regards -- La Voluntad es el único motor de nuestros logros http://blog.ngen.com.ar/
Re: Research areas in cloudstack
On Jan 6, 2014, at 5:33 AM, jitendra shelar jitendra.shelar...@gmail.com wrote: Hi All, I am pursuing with my MS at BITs, Pilani, India. I am planning of doing my final sem project in cloudstack. Can somebody please suggest me some research areas in cloudstack? Hi Jitendra, it depends what you mean by 'research', but there are a lot of interesting projects to do IMHO: -Integration testing: Develop the Marvin framework and write tests to continuously check the support for CloudStack clients (libcloud, AWS, jclouds etc) this would require learning jenkins, understanding continuous integration pipeline and finding ways to tests these clients automatically. -Investigating Xen GPU passthrough and setting up a demo where Xen hypervisors are tagged specifically for VM that need access to GPUs, run CUDA code on them… -Investigate Mesos framework and develop deployments scripts to automatically deploy Mesos on a CloudStack infrastructure, the end goal being to demo running mixed workloads (MPI, hadoop, spark) on a virtualized infrastructure in cloudstack -Docker integration/use, a few of us have been talking about this and you would be likely to get some help from the community. -Review of configuration management systems (chef, puppet, ansible, saltstack...) develop recipes for deploying cloudstack for all systems (some already exist), from source and from packages. Include management server and hypervisor setup. Ideally had a wrapper to link to the hypervisor and the mgt server together automatically using Marvin. -Investigate PaaS solutions and their integration with CloudStack. Software like cloudify, openshift, cloudfoundry, appscale…some of it is already done but a thorough analysis of pros and cons as well as code writing to finish the integration of some would be great. You can also check out JIRA: https://issues.apache.org/jira/browse/CLOUDSTACK , browse through the long list of 'bugs' and pick what seems interesting to you. This all depends of course on your skills and interest, are you more of a java developer or a sys admin ? Are you interested in integration with third party software or core java development ? Cheers, -sebastien Thanks, Jitendra
Re: suspend/pause cloudstack VM (kvm hypervisor)
Hi Sebgoa! Thanks for your suggest. I knew how to start/stop VM, but what I wanted is pause a VM without shutdown (or stop in CS term). Using virsh could suspend a VM, but I doubt it is a real suspend which will capture the current VM memory. I guess this feature relies on unsupported virtual machine snapshot for kvm, right? Nevo On Jan 7, 2014, at 1:43 AM, sebgoa run...@gmail.com wrote: On Dec 30, 2013, at 1:29 PM, Nevo snowge...@gmail.com wrote: Hi all! Sorry if my question (see the subject) has been asked before, as it's indeed (http://markmail.org/message/apchw5rsf4xgevt4?q=list:org%2Eapache%2Eincubator%2Ecloudstack-%2A+suspend). But since I saw no further update on that issue, maybe I could check out here first. My box is running cloudstack 4.2.0 on ubuntu 12.04 (desktop). The hypervisor is kvm as you probably know. it would be great to be able to suspend/resume my VMs now and then so I could have my PC take a break sometimes. Can anyone suggest whether it's possible to support that? It seems we can do it via virsh: https://help.ubuntu.com/community/KVM/Managing , but not cloudstack API? Hi, you can start/stop Vm with the API : http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/startVirtualMachine.html try it with cloud monkey: https://pypi.python.org/pypi/cloudmonkey/ Thanks! Nevo
Re: Research areas in cloudstack
Thanks Sebgoa, Manas Iganzio for your inputs. @Sebgoa: I am into both java and Sys admin. In past, I have worked on IBM Smart Cloud and Open Stack. Have taken more interest in Sys admin. Will think of proceeding with some of the use cases. Thanks, Jitendra On Mon, Jan 6, 2014 at 4:33 AM, jitendra shelar jitendra.shelar...@gmail.com wrote: Hi All, I am pursuing with my MS at BITs, Pilani, India. I am planning of doing my final sem project in cloudstack. Can somebody please suggest me some research areas in cloudstack? Thanks, Jitendra