Cloudstack 高级网络,无法开通远程桌面的“负载均衡”
大家好! 我在测试Cloudstack 高级网络的负载均衡功能时,发现“远程桌面”功能无法做负载均衡; http,https,ftp均可以实现负载均衡; Cloudstack 可以对哪些服务实现负载均衡,有相关文档或资料可以查询到吗?
About How to use eclipse with Cloudstack
Hi, Everyone: Now I am learning about codes of the CS. I do some steps follow the official documents——development101,but when I configure eclipse according to the document——Using Eclipse With CloudStack( https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+Eclipse+With+CloudStack). In the following chapter,I have some questions. Q1:I have used eclipse to download CS4.2 source, and I import these projects into eclipse. There are many projects, e.g. cloud-agent. cloud-api .cloud-core and so on. Should I do these steps that are marked with underlying(Q1) in the following? Q2: In the following Q2(which is also marked with underlying),I don't understand it means,so that I don't know how to do with the parent projects. Can you explain it to me? Well , Chapter : Eliminate duplicate resources CloudStack has a lot of projects that are really just for grouping the different type of projects. The problem is in Eclipse, the files that belong in sub-projects also show up in the projects. This causes a lot of problems with the Open Resource dialogue, which is often used to quickly get to a file if you know the filename already. These problems include the multiple copies of the same .class files showing up and multiple copies of the same .java file showing up. If you select the wrong .java file, then a lot of the references doesn't work. Upon further inspection, the reason is because the same .java and .class file is included by both the project and the parent project. To get rid of this problem, do the following. Unfortunately, (Q1)*you have to do this for every parent project.* - *Right click on the project and select Properties.(Q1)* - *Go to Resource-Resource Filters.* - *Click on Add...* - *Select Exclude all* - *Select Folders* - *Click Regular Expression* - *In the entry box, type [a-zA-Z0-9].** - *Click OK* - *Click OK* What this does is to tell Eclipse that the sub-directories under parent projects should not be included in the resource list, thus avoiding the the duplicate resources in the Open Resource dialogue box. *(Q2) If the parent project does have a directory that you want, then you can add that to a include filter.* Note that you can not use * as the folders because that would exclude the .settings folder which eclipse uses to keep its metadata and will cause the m2e plugin to have problems. Here's a list of parent projects you should do this with: - cloudstack - cloud-services - cloudstack-framework - cloud-engine - cloudstack-plugins
Re: ssvm fails to start, [BOOTLOADER_FAILED, OpaqueRef:..., Unable to find partition containing kernel
I thought we had since eradicated all of the old sysvm links, can you tell me where the incorrect links are still showing up? --David On Fri, Oct 25, 2013 at 9:57 AM, Teipel, Bjoern bjoern.tei...@internetbrands.com wrote: The correct template for xen server with 4.2 is now http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 The documentation still serves the old link. Also CS downloads this template automatically once the secondary storage is available. Bjoern On Oct 25, 2013, at 5:37 AM, Yugandhar Yetham yugandhar.yet...@gmail.commailto:yugandhar.yet...@gmail.com wrote: Hi Lisa, That was i guessed as you are using single server for CS and NFS. Don't replace the existing template. if you are using same server for CS and NFS. This exported directory /export/secondary will automatically mount with your CS. Please try it for further. - Thanks, Yugandhar Yetham On Thu, Oct 24, 2013 at 10:50 PM, Lisa B. nordlicht1...@hotmail.demailto:nordlicht1...@hotmail.de wrote: Thanks for your quick reply :) @Andrei: Unfortunately it did not fix the problem. I still get exactly the same error. I deleted the old template, reran the command with the new URL. When that did not work I re-initialized the db and re-installed the template again. I followed the 4.2 install procedures. I just used the old URL. @Yugnadhar I have a single server for ACS and NFS. :/export/secondary is the NFS share and it is mounted as /mnt/secondary. I followed the instructions in the ACS docs on how to setup NFS. But nevertheless I tried to install the template into /export/secondary like you said. It worked fine and replaced the existing template. It is just the same directory. Any other ideas? Lisa Date: Thu, 24 Oct 2013 16:39:40 +0100 From: and...@arhont.commailto:and...@arhont.com To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Re: ssvm fails to start, [BOOTLOADER_FAILED, OpaqueRef:..., Unable to find partition containing kernel I also reran the systemvm template command cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2-h xenserver -F Is it still the correct URL for CS 4.2? It was successfully installed once again as it was during installation. I do not believe this is the correct url. You need to get the new templates. Take a look at the following url: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#prepare-system-vm-template It's got the instructions for ACS 4.2 Andrei
Re: ssvm fails to start, [BOOTLOADER_FAILED, OpaqueRef:..., Unable to find partition containing kernel
Our information is little over a week old, if you updated the documentation meanwhile,we're good. In fact it looks ok now, so thanks for the update. Bjoern On Oct 26, 2013, at 12:00 AM, David Nalley da...@gnsa.us wrote: I thought we had since eradicated all of the old sysvm links, can you tell me where the incorrect links are still showing up? --David On Fri, Oct 25, 2013 at 9:57 AM, Teipel, Bjoern bjoern.tei...@internetbrands.com wrote: The correct template for xen server with 4.2 is now http://download.cloud.com/templates/4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 The documentation still serves the old link. Also CS downloads this template automatically once the secondary storage is available. Bjoern On Oct 25, 2013, at 5:37 AM, Yugandhar Yetham yugandhar.yet...@gmail.commailto:yugandhar.yet...@gmail.com wrote: Hi Lisa, That was i guessed as you are using single server for CS and NFS. Don't replace the existing template. if you are using same server for CS and NFS. This exported directory /export/secondary will automatically mount with your CS. Please try it for further. - Thanks, Yugandhar Yetham On Thu, Oct 24, 2013 at 10:50 PM, Lisa B. nordlicht1...@hotmail.demailto:nordlicht1...@hotmail.de wrote: Thanks for your quick reply :) @Andrei: Unfortunately it did not fix the problem. I still get exactly the same error. I deleted the old template, reran the command with the new URL. When that did not work I re-initialized the db and re-installed the template again. I followed the 4.2 install procedures. I just used the old URL. @Yugnadhar I have a single server for ACS and NFS. :/export/secondary is the NFS share and it is mounted as /mnt/secondary. I followed the instructions in the ACS docs on how to setup NFS. But nevertheless I tried to install the template into /export/secondary like you said. It worked fine and replaced the existing template. It is just the same directory. Any other ideas? Lisa Date: Thu, 24 Oct 2013 16:39:40 +0100 From: and...@arhont.commailto:and...@arhont.com To: users@cloudstack.apache.orgmailto:users@cloudstack.apache.org Subject: Re: ssvm fails to start, [BOOTLOADER_FAILED, OpaqueRef:..., Unable to find partition containing kernel I also reran the systemvm template command cloud-install-sys-tmplt -m /mnt/secondary -u http://download.cloud.com/templates/acton/acton-systemvm-02062012.vhd.bz2-h xenserver -F Is it still the correct URL for CS 4.2? It was successfully installed once again as it was during installation. I do not believe this is the correct url. You need to get the new templates. Take a look at the following url: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Installation_Guide/index.html#prepare-system-vm-template It's got the instructions for ACS 4.2 Andrei
Re: Multiple secondary storage options?
Willard, When you have multiple secondary storage devices in a zone the following basic rules apply. 1. Public templates, public ISOs and System VM templates are replicated to every sec storage. 2. Private templates and ISOs are only copied to one, randomly chosen sec storage. 3. First snapshot is copied to one randomly chosen sec storage, and then all other related snapshots are copied to the same sec storage. Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540 | M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com | www.shapeblue.com ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 25 Oct 2013, at 19:43, Willard Rathjen willard.rath...@appcore.commailto:willard.rath...@appcore.com wrote: Hey guys, I have an issue I need to resolve and I haven't been able to find any supporting documentation. If I have multiple secondary storage options in my zone how does Cloudstack choose which NFS share to use for any given snapshot, template, or ISO? If I wanted to have fine-grained control over which secondary storage share is selected for any given operation how would I go about doing so? Thanks, Willard Rathjen 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.
Failed to create volume when attaching it to VM
Hi Users, I am using local storage for guest VMs. I have created a data volume DATA-1001 but couldn't able to attach it to VM. Please check the below log file and let me soloution if i made a mistake in configuration. WARN [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to find storage poll when create volume DATA-1001 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to create volume when attaching it to VM: ubuntuvm1001 at com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of usage server Thanks in Advance Regards, Yugandhar Yetham
Re: Failed to create volume when attaching it to VM
Yugandhar, Would the compute service offering the VM is using be set to HA by any chance? If so it's failing as the local storage volume is not compatible with a HA VM Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540| M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com |www.shapeblue.com | Twitter:@shapebluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 26 Oct 2013, at 14:09, Yugandhar Yetham yugandhar.yet...@gmail.commailto:yugandhar.yet...@gmail.com wrote: Hi Users, I am using local storage for guest VMs. I have created a data volume DATA-1001 but couldn't able to attach it to VM. Please check the below log file and let me soloution if i made a mistake in configuration. WARN [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to find storage poll when create volume DATA-1001 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to create volume when attaching it to VM: ubuntuvm1001 at com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of usage server Thanks in Advance Regards, Yugandhar Yetham 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: Failed to create volume when attaching it to VM
Hi Geoff, I didn't set any HA option for VM. *HA enable : No -- * *Thanks, * *Yugandhar Yetham * * * On Sat, Oct 26, 2013 at 7:04 PM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Yugandhar, Would the compute service offering the VM is using be set to HA by any chance? If so it's failing as the local storage volume is not compatible with a HA VM Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540| M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com |www.shapeblue.com | Twitter:@shapebluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 26 Oct 2013, at 14:09, Yugandhar Yetham yugandhar.yet...@gmail.com mailto:yugandhar.yet...@gmail.com wrote: Hi Users, I am using local storage for guest VMs. I have created a data volume DATA-1001 but couldn't able to attach it to VM. Please check the below log file and let me soloution if i made a mistake in configuration. WARN [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to find storage poll when create volume DATA-1001 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to create volume when attaching it to VM: ubuntuvm1001 at com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of usage server Thanks in Advance Regards, Yugandhar Yetham 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.
Multiple subnets in shared network
Hello, In an Adv zone with shared network and SG is it possible to add multiple subnets per network? I've run out of a /29 and need to add more IPs, but can't find any option for this. Before I submit a feature request, does anyone know better? Regards, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Failed to create volume when attaching it to VM
Hi Geoff, Please check the below screen shot Here, DATA-1001 is the Volume which is trying to attach the vm ubuntuvm1001. [image: Inline image 1] - Thanks, Yugandhar Yetham On Sat, Oct 26, 2013 at 9:21 PM, Geoff Higginbottom geoff.higginbot...@shapeblue.com wrote: Yugandhar, Can you share the configuration of the Compute offering being used by the VM and the Storage Offering being used to create the volume. Also have you tried creating the volume first, then mounting it to the VM, and can you create and attach volumes to other VMs? Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540| M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com |www.shapeblue.com | Twitter:@shapebluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 26 Oct 2013, at 15:26, Yugandhar Yetham yugandhar.yet...@gmail.com mailto:yugandhar.yet...@gmail.com wrote: Hi Geoff, I didn't set any HA option for VM. *HA enable : No -- * *Thanks, * *Yugandhar Yetham * * * On Sat, Oct 26, 2013 at 7:04 PM, Geoff Higginbottom geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com wrote: Yugandhar, Would the compute service offering the VM is using be set to HA by any chance? If so it's failing as the local storage volume is not compatible with a HA VM Regards Geoff Higginbottom CTO / Cloud Architect D: +44 20 3603 0542tel:+442036030542 | S: +44 20 3603 0540tel:+442036030540| M: +447968161581tel:+447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbot...@shapeblue.com mailto:geoff.higginbot...@shapeblue.com |www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue https://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS On 26 Oct 2013, at 14:09, Yugandhar Yetham yugandhar.yet...@gmail.com mailto:yugandhar.yet...@gmail.com mailto:yugandhar.yet...@gmail.com wrote: Hi Users, I am using local storage for guest VMs. I have created a data volume DATA-1001 but couldn't able to attach it to VM. Please check the below log file and let me soloution if i made a mistake in configuration. WARN [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to find storage poll when create volume DATA-1001 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to create volume when attaching it to VM: ubuntuvm1001 at com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerImpl.java:939) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execute(AttachVolumeCmd.java:122) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of usage server Thanks in Advance Regards, Yugandhar Yetham 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. 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
RE: Failed to create volume when attaching it to VM
Can you verify that disk offering used to create the volume is of local storage type. Also, check if your zone is configured to use local storage. --Sanjay -Original Message- From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com] Sent: Saturday, October 26, 2013 6:39 PM To: users@cloudstack.apache.org Subject: Failed to create volume when attaching it to VM Hi Users, I am using local storage for guest VMs. I have created a data volume DATA-1001 but couldn't able to attach it to VM. Please check the below log file and let me soloution if i made a mistake in configuration. WARN [cloud.storage.StorageManagerImpl] (Job-Executor-4:job-85) Unable to find storage poll when create volume DATA-1001 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-4:job-85) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd com.cloud.utils.exception.CloudRuntimeException: Failed to create volume when attaching it to VM: ubuntuvm1001 at com.cloud.vm.UserVmManagerImpl.attachVolumeToVM(UserVmManagerI mpl.java:939) at com.cloud.utils.component.ComponentInstantiationPostProcessor$Intercep torDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.volume.AttachVolumeCmd.execut e(AttachVolumeCmd.java:122) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:4 37) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav a:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja va:615) at java.lang.Thread.run(Thread.java:679) INFO [cloud.ha.HighAvailabilityManagerImpl] (HA-4:) checking health of usage server Thanks in Advance Regards, Yugandhar Yetham
RE: possible BUG in resource counting
-Original Message- From: Andrija Panic [mailto:andrija.pa...@gmail.com] Sent: Friday, October 25, 2013 9:38 PM To: users@cloudstack.apache.org Subject: possible BUG in resource counting Got this message when deploying new VM: * * *Maximum number of resources of type 'primary_storage' for account name=almprod in domain id=5 has been exceeded* All limits are as defaults from: http://cloudstack.apache.org/docs/en- US/Apache_CloudStack/4.2.0/html/Admin_Guide/limit-accounts- domains.html I increased te limits for ALL resources, and still geting errors...? [Sanjay] Check, if you have incremented the resource limit by updating the global config parameters, then MS restart is reqd. Other way is to use updateResourceLimit API command. You can also file a bug with the info(logs) you have. Domain does NOT have limits... Aafter I click the Submit button (at the end of new VM creation wizard) I get this message, but at this moment I don't see anything logged to MGMT node... This started happening after upgrade to 4.2... Regards, -- Andrija Panić --Sanjay
Re: 4.2.0 Upgrade and System Templates (KVM - Ubuntu 12.04)
Yes, you do need to upgrade your system VMS, and you should also have a new systemvm.iso that was bundled in the cloudstack-common deb file that would have been installed as an upgrade on your KVM hosts. I also feel that the documentation of system vm upgrade is lacking. The only place I know if is in the release notes: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html-single/Release_Notes/index.html, see 3.1 Upgrade Instructions, item 12. It references a script cloudstack-sysvmadm, but the upgrade of the system vm template should be done beforehand. Now look at the section just below, 3.2. This documentation is obviously messed up because it first says this applies only to VMware, and then it promptly gives system vm upgrade instructions for XenServer, KVM, and VMWare hosts. It's unclear why this system vm upgrade would only apply to zones which had VMware hosts, and why these instructions aren't also on the 4.1.x to 4.2.x instructions. At any rate, the system vm instuctions there for KVM should apply. Register the template (optionally, check the data base to ensure the template is set as system type), then restart the system vms per the item 12 script. If your KVM hosts relaunch the system vms per the new template and they have the new systemvm.iso, they should work. On Oct 26, 2013 2:19 PM, Marty Sweet msweet@gmail.com wrote: Hi Guys, I have just upgraded to 4.2.0 from 4.1.1 and am having some issues with the SystemVMs. I understand that we are meant to upgrade to the new system image? Using the script in the 'Prepare systemvm' documentation I did this with no avail, editing the database to suit what I think would work has also not worked. Restoring a backup, I now have my original 4.1.1 acton systemvm templates. What steps should I take to launch a systemVM successfully? The upgrade documentation is pretty lacking in this respect, and just says restart the systemvms, with no reference to upgrading the image. I also note that the new systemvms don't seem to be mounting the NFS and are instead using /usr/share/cloudstack-common/vms/systemvm.iso. Opening a VNC session to the VM, shows the following messages: Cannot assign requested address: make_sock: could not bind address dnsmasq: unknown interface eth0 dnsmasq apache2 ... failed! My MD5 sum for the CD boot file is below and is consistant across all 4 nodes: 092a299932bda93cc522b1c3e56af4a8 /usr/share/cloudstack-common/vms/systemvm.iso Many thanks, Marty
Re: Multiple subnets in shared network
Hi, Technically a subnet is a network, in terms of how CS implements it with a Gateway and CIDR. Adding more subnets to extend your /29 (within the same CS network) wouldn't make logical sense as your default gateway would have to be different for each subnet, otherwise the subnet given to each VM would isolate it from another /29 subnet which you have specified. Can't you just create a new network for the extra addresses you need, with the required CIDR and Gateway? Marty On Sat, Oct 26, 2013 at 4:13 PM, Nux! n...@li.nux.ro wrote: Hello, In an Adv zone with shared network and SG is it possible to add multiple subnets per network? I've run out of a /29 and need to add more IPs, but can't find any option for this. Before I submit a feature request, does anyone know better? Regards, Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Multiple subnets in shared network
On 26.10.2013 22:40, Marty Sweet wrote: Hi, Technically a subnet is a network, in terms of how CS implements it with a Gateway and CIDR. Adding more subnets to extend your /29 (within the same CS network) wouldn't make logical sense as your default gateway would have to be different for each subnet, otherwise the subnet given to each VM would isolate it from another /29 subnet which you have specified. Can't you just create a new network for the extra addresses you need, with the required CIDR and Gateway? Hi Marty, My simulation is selling VPSes and the shared network with SG is great for this, except for this small detail. I can't know when a subnet will run out and creating VMs with it will error our; addind a new network/subnet does not help. This is handled well in the basic networking where you can add new subnets, I just want the same behaviour here. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro