About the scheduling of SystemVM&Virtual Router
Hi all, I am a newcomer to cloud stack. I set up a zone in cloud stack by using vmware vcenter to managing serveral esxi servers. When the zone was initialized, 2 system VMs and a Virtual Router were created on some servers randomly. Is there a way to tell the scheduler to deploy the 3 VMs on a fixed server? Hope your reply, thanks.
Re: Virtual Router requires upgrade
I then found this, http://comments.gmane.org/gmane.comp.apache.cloudstack.devel/42171 I don't know if I should have disabled the router version check but I am now installing my first VM. The VM didn't have access to my public interface. It setup it self with only one network interface. How can i give the VM a second interface and it be on the public network? On 04/18/2014 10:34 PM, Matthew Midgett wrote: Just found this 1. Failed to start instance VM[User|f1scan2] 2. com.cloud.utils.exception.CloudRuntimeException: Unable to send command. Upgrade in progress. Please contact administrator. If I can get the VR updated then the instances will work and I will be a happy camper and I can start adding the other 6 xenservers to this cluster. On 04/18/2014 10:22 PM, Matthew Midgett wrote: I removed the templates and downloaded them again, I destroyed SSVM,CSVM and the virtual router. I created a new instance and the VR gets created and starts up. I can click and view the console of the VR. Don't know if its possible to login to it but I haven't tried to. Well in the UI it still says that I still need to upgrade the VR and if I click on it says ver 4.2 During this process my instance doesn't get created properly and it fails with Can't create VM due to concurrent operation. What am I to do now? Here is the log file http://pastebin.com/zmURfaxT I found that its complaining about not having a clusterID or a hostID. How do I fix this. On 04/18/2014 11:21 AM, Matthew Midgett wrote: I had cs 4.2 and I upgraded to 4.3 but forgot to do something. Anyways I wiped the db, fresh xenserver install and downloaded what i thought was the 4.3 templates. I've destroyed it and it was still the same. I will redownload the template and destroy the virtual router. Sent from my Galaxy S®III Original message From: Erik Weber Date:04/18/2014 11:05 AM (GMT-05:00) To: users@cloudstack.apache.org Subject: Re: Virtual Router requires upgrade I'd try to destroy it, but be aware of downtime while recreation is happening. Also check mgmt logs for any related messages. Is this an upgraded install? If so, did you remember to install new system vm template? What is the status of that template? Erik 18. apr. 2014 15:06 skrev "Matthew Midgett" følgende: In my UI I see that my virtual router requires upgrading. I've click on upgrade template but the router reboots and when it comes back up it still has the same message. How do I upgrade this. CS4.3 Xenserver 6.2 Sent from my Galaxy S®III ___ Sent via Scrollout F1 ___ Sent via Scrollout F1
Re: Virtual Router requires upgrade
Just found this 1. Failed to start instance VM[User|f1scan2] 2. com.cloud.utils.exception.CloudRuntimeException: Unable to send command. Upgrade in progress. Please contact administrator. If I can get the VR updated then the instances will work and I will be a happy camper and I can start adding the other 6 xenservers to this cluster. On 04/18/2014 10:22 PM, Matthew Midgett wrote: I removed the templates and downloaded them again, I destroyed SSVM,CSVM and the virtual router. I created a new instance and the VR gets created and starts up. I can click and view the console of the VR. Don't know if its possible to login to it but I haven't tried to. Well in the UI it still says that I still need to upgrade the VR and if I click on it says ver 4.2 During this process my instance doesn't get created properly and it fails with Can't create VM due to concurrent operation. What am I to do now? Here is the log file http://pastebin.com/zmURfaxT I found that its complaining about not having a clusterID or a hostID. How do I fix this. On 04/18/2014 11:21 AM, Matthew Midgett wrote: I had cs 4.2 and I upgraded to 4.3 but forgot to do something. Anyways I wiped the db, fresh xenserver install and downloaded what i thought was the 4.3 templates. I've destroyed it and it was still the same. I will redownload the template and destroy the virtual router. Sent from my Galaxy S®III Original message From: Erik Weber Date:04/18/2014 11:05 AM (GMT-05:00) To: users@cloudstack.apache.org Subject: Re: Virtual Router requires upgrade I'd try to destroy it, but be aware of downtime while recreation is happening. Also check mgmt logs for any related messages. Is this an upgraded install? If so, did you remember to install new system vm template? What is the status of that template? Erik 18. apr. 2014 15:06 skrev "Matthew Midgett" følgende: In my UI I see that my virtual router requires upgrading. I've click on upgrade template but the router reboots and when it comes back up it still has the same message. How do I upgrade this. CS4.3 Xenserver 6.2 Sent from my Galaxy S®III ___ Sent via Scrollout F1
Re: Virtual Router requires upgrade
I removed the templates and downloaded them again, I destroyed SSVM,CSVM and the virtual router. I created a new instance and the VR gets created and starts up. I can click and view the console of the VR. Don't know if its possible to login to it but I haven't tried to. Well in the UI it still says that I still need to upgrade the VR and if I click on it says ver 4.2 During this process my instance doesn't get created properly and it fails with Can't create VM due to concurrent operation. What am I to do now? Here is the log file http://pastebin.com/zmURfaxT I found that its complaining about not having a clusterID or a hostID. How do I fix this. On 04/18/2014 11:21 AM, Matthew Midgett wrote: I had cs 4.2 and I upgraded to 4.3 but forgot to do something. Anyways I wiped the db, fresh xenserver install and downloaded what i thought was the 4.3 templates. I've destroyed it and it was still the same. I will redownload the template and destroy the virtual router. Sent from my Galaxy S®III Original message From: Erik Weber Date:04/18/2014 11:05 AM (GMT-05:00) To: users@cloudstack.apache.org Subject: Re: Virtual Router requires upgrade I'd try to destroy it, but be aware of downtime while recreation is happening. Also check mgmt logs for any related messages. Is this an upgraded install? If so, did you remember to install new system vm template? What is the status of that template? Erik 18. apr. 2014 15:06 skrev "Matthew Midgett" følgende: In my UI I see that my virtual router requires upgrading. I've click on upgrade template but the router reboots and when it comes back up it still has the same message. How do I upgrade this. CS4.3 Xenserver 6.2 Sent from my Galaxy S®III
CloudStack public networking query
Hi, I'd like to confirm how public networking works; 2 part query. 1) Let's say I have a private cloud 10.x.x.x , can I contact all these machines over a public network? Most of what I read talks about NAT or Juniper SRX machines. But, what if I have 100 customers each wanting public SSH access, how does that then work? Surely then NAT will not cut it. 2) Also, on a practical note, how would this be physicall connected e.g. setup:- 1x switch 1x linux firewall 1x management server 1x nfs server 2x hosts Would I trunk a public network to the uplinks on my switch, then add the public VLAN to the ports the hosts are on. The firewall can do NAT and port forwarding for the management LAN. Does that sound right? Many thanks, Jon
RE: Putting a bounty on the 4.3.0 debs with working vmware functionality...
I followed the docs as well, which was the same procedure as it was to build on 4.2.1 > Date: Fri, 18 Apr 2014 19:46:21 -0400 > From: ilya.mailing.li...@gmail.com > To: users@cloudstack.apache.org > Subject: Re: Putting a bounty on the 4.3.0 debs with working vmware > functionality... > > Michael, > > I've tried doing this on CentOS several weeks back - and i had no > issues. I simply followed instructions in the docs. > > If you already waited for 2 weeks, i suggest waiting for 1 more. There > is annoying bug with VMware which is being worked though it nothing > build related. > > Regards > ilya > > > > On 4/18/14, 3:32 PM, Michael Phillips wrote: > > Been trying now for over 2 weeks to get working debs with vmware. For some > > reason building the nonoss and packaging looks good to go, however once I > > install or upgrade, my CS acts as if it has no vmware functionality. IE.. I > > get the following error messages...Unknown API Command Vmware or > > java.lang.classnotfoundexception > > com.cloud.hypervisor.vmware.resource.vmwareresource > > Stired of monkeying around with this. If someone can get me access > > to the 7 deb files with a working vmware stack we can negotiate a price > > If interested email me direct at mphilli7...@hotmail.com > > Thanks! > > >
Re: Putting a bounty on the 4.3.0 debs with working vmware functionality...
Michael, I've tried doing this on CentOS several weeks back - and i had no issues. I simply followed instructions in the docs. If you already waited for 2 weeks, i suggest waiting for 1 more. There is annoying bug with VMware which is being worked though it nothing build related. Regards ilya On 4/18/14, 3:32 PM, Michael Phillips wrote: Been trying now for over 2 weeks to get working debs with vmware. For some reason building the nonoss and packaging looks good to go, however once I install or upgrade, my CS acts as if it has no vmware functionality. IE.. I get the following error messages...Unknown API Command Vmware or java.lang.classnotfoundexception com.cloud.hypervisor.vmware.resource.vmwareresource Stired of monkeying around with this. If someone can get me access to the 7 deb files with a working vmware stack we can negotiate a price If interested email me direct at mphilli7...@hotmail.com Thanks!
Re: Live migration failed to newly provisioned KVM host
Yes, it looks as though the two machines are running different versions of qemu/libvirt, as the destination doesn't support the machine type that the VM has defined in it's XML on the source host. On Fri, Apr 18, 2014 at 3:43 PM, Nux! wrote: > On 18.04.2014 19:45, Indra Pramana wrote: >> >> Unable to migrate due to internal error Process exited while reading >> console log output: Supported machines are: >> pc Standard PC (alias of pc-1.0) >> pc-1.0 Standard PC (default) >> pc-0.14Standard PC >> pc-0.13Standard PC >> pc-0.12Standard PC >> pc-0.11Standard PC, qemu 0.11 >> pc-0.10Standard PC, qemu 0.10 >> isapc ISA-only PC > > > What OS versions are you running and also what KVM versions, do you have > anything extra enabled in the agent (eg a specific CPU type vs the generic > KVM cpu)? > Additionally do check > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Live_migration_and_RHEL_compatibility.html#Live_Migration_Compatibility > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro
Re: Live migration failed to newly provisioned KVM host
On 18.04.2014 19:45, Indra Pramana wrote: Unable to migrate due to internal error Process exited while reading console log output: Supported machines are: pc Standard PC (alias of pc-1.0) pc-1.0 Standard PC (default) pc-0.14Standard PC pc-0.13Standard PC pc-0.12Standard PC pc-0.11Standard PC, qemu 0.11 pc-0.10Standard PC, qemu 0.10 isapc ISA-only PC What OS versions are you running and also what KVM versions, do you have anything extra enabled in the agent (eg a specific CPU type vs the generic KVM cpu)? Additionally do check https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Virtualization_Administration_Guide/sect-Live_migration_and_RHEL_compatibility.html#Live_Migration_Compatibility -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Putting a bounty on the 4.3.0 debs with working vmware functionality...
Been trying now for over 2 weeks to get working debs with vmware. For some reason building the nonoss and packaging looks good to go, however once I install or upgrade, my CS acts as if it has no vmware functionality. IE.. I get the following error messages...Unknown API Command Vmware or java.lang.classnotfoundexception com.cloud.hypervisor.vmware.resource.vmwareresource Stired of monkeying around with this. If someone can get me access to the 7 deb files with a working vmware stack we can negotiate a price If interested email me direct at mphilli7...@hotmail.com Thanks!
RE: Upgraded from 4.2.1 to 4.3.0 status 404 error
Found this article and it fixed it for me... http://blog.widodh.nl/2014/03/sql-connection-error-after-upgrade-to-cloudstack-4-3-0/ surprised that this was not more widely known... > From: mphilli7...@hotmail.com > To: users@cloudstack.apache.org > Subject: Upgraded from 4.2.1 to 4.3.0 status 404 error > Date: Fri, 18 Apr 2014 12:18:58 -0500 > > Did an upgrade from 4.2.1 to 4.3.0 on ubuntu, and now I am getting the > following error. > http://imgur.com/PonNMYL > Any advise? >
Live migration failed to newly provisioned KVM host
Dear all, I am using CloudStack 4.2.0 and KVM hypervisor. I just provisioned a new KVM host and I am able to add the host into the zone/cluster, it's up and routing. This new host is using a different (newer) type of server, but using the same type of CPUs as per CloudStack's requirements on KVM hosts. However, when I tried to live migrate a VM from an existing host to the new host, the migration failed with below error messages: 2014-04-19 01:05:09,448 DEBUG [agent.transport.Request] (AgentManager-Handler-1:null) Seq 37-1003166672: Processing: { Ans: , MgmtId: 161342671900, via: 37, Ver: v1, F lags: 110, [{"com.cloud.agent.api.MigrateAnswer":{"result":false,"details":"internal error Process exited while reading console log output: Supported machines are:\npc Standard PC (alias of pc-1.0)\npc-1.0 Standard PC (default)\npc-0.14Standard PC\npc-0.13Standard PC\npc-0.12 Standard PC\npc-0.11Standard PC, qemu 0.11\npc-0.10Standard PC, qemu 0.10\nisapc ISA-only PC\n","wait":0}}] } 2014-04-19 01:05:09,448 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-1:null) Seq 37-1003166672: No more commands found 2014-04-19 01:05:09,448 DEBUG [agent.transport.Request] (Job-Executor-29:job-14256 = [ bd6a0c53-a1ee-4348-9afd-5a697772d794 ]) Seq 37-1003166672: Received: { Ans: , MgmtId: 161342671900, via: 37, Ver: v1, Flags: 110, { MigrateAnswer } } 2014-04-19 01:05:09,448 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-29:job-14256 = [ bd6a0c53-a1ee-4348-9afd-5a697772d794 ]) Unable to migrate due to internal error Process exited while reading console log output: Supported machines are: pc Standard PC (alias of pc-1.0) pc-1.0 Standard PC (default) pc-0.14Standard PC pc-0.13Standard PC pc-0.12Standard PC pc-0.11Standard PC, qemu 0.11 pc-0.10Standard PC, qemu 0.10 isapc ISA-only PC 2014-04-19 01:05:09,449 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-29:job-14256 = [ bd6a0c53-a1ee-4348-9afd-5a697772d794 ]) Migration was unsuccessful. Cleaning up: VM[User|test-dd] Any advise on why the migration was unsuccessful? Looking forward to your reply, thank you. Cheers.
upgrading CDH 4.7 to CDH 5 hadoop 2.0 to hadoop 2.4
Hello all, I'm trying to upgrade CDH 4.6 to CDH 5 using this guide: https://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Installation-Guide/cdh5ig_to_cdh5_upgrade.html i'm stuck in the parcels, I am a confuse. where do I download parcels and to what directory, can someone help? Thanks,
Upgraded from 4.2.1 to 4.3.0 status 404 error
Did an upgrade from 4.2.1 to 4.3.0 on ubuntu, and now I am getting the following error. http://imgur.com/PonNMYL Any advise?
Re: Virtual Router requires upgrade
I had cs 4.2 and I upgraded to 4.3 but forgot to do something. Anyways I wiped the db, fresh xenserver install and downloaded what i thought was the 4.3 templates. I've destroyed it and it was still the same. I will redownload the template and destroy the virtual router. Sent from my Galaxy S®III Original message From: Erik Weber Date:04/18/2014 11:05 AM (GMT-05:00) To: users@cloudstack.apache.org Subject: Re: Virtual Router requires upgrade I'd try to destroy it, but be aware of downtime while recreation is happening. Also check mgmt logs for any related messages. Is this an upgraded install? If so, did you remember to install new system vm template? What is the status of that template? Erik 18. apr. 2014 15:06 skrev "Matthew Midgett" følgende: > In my UI I see that my virtual router requires upgrading. I've click on > upgrade template but the router reboots and when it comes back up it still > has the same message. How do I upgrade this. > > CS4.3 > Xenserver 6.2 > > > Sent from my Galaxy S®III
Re: Virtual Router requires upgrade
I'd try to destroy it, but be aware of downtime while recreation is happening. Also check mgmt logs for any related messages. Is this an upgraded install? If so, did you remember to install new system vm template? What is the status of that template? Erik 18. apr. 2014 15:06 skrev "Matthew Midgett" følgende: > In my UI I see that my virtual router requires upgrading. I've click on > upgrade template but the router reboots and when it comes back up it still > has the same message. How do I upgrade this. > > CS4.3 > Xenserver 6.2 > > > Sent from my Galaxy S®III
Virtual Router requires upgrade
In my UI I see that my virtual router requires upgrading. I've click on upgrade template but the router reboots and when it comes back up it still has the same message. How do I upgrade this. CS4.3 Xenserver 6.2 Sent from my Galaxy S®III
Re: virtio-balloon on Cloudstack 4.2
On 18.04.2014 05:29, motty cruz wrote: I apologize for not being specific, Instances in CS boot with virtio-balloon but it does not work because VM only sees 2gb, when 8gb was assigned, so i manually disable virtio-balloon Sounds like you have memory over-provisioning enabled, you shouldn't need to disable virtio-balloon. That can be done, but as it's quite ugly (well, if you wipe virtio-balloon.ko from the template and from the template's initrd it should work). The best would be to disable memory over-provisioning or to upgrade to 4.3 and enable "vm.memballoon.disable". See https://issues.apache.org/jira/browse/CLOUDSTACK-5968 and http://markmail.org/thread/5qgul6tsphrpeufz for some history. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro
Re: Swift as Secondary Storage
Hello folks, It is good for me! I had a wrong acl from my wan public network, so it couldn't connect to my nfs staging store. Opened http access and nfs access, and so now swift is mounted into my ssvm vm. Thanks for your lights. Regards, Benoit. 2014-04-18 0:09 GMT+02:00 benoit lair : > @Ilya, > > I don't have access to my poc (not at the office tonight), i will verify > this tomorrow, but i remember not have seen any nfs share mounted on the > ssvm vm. > So the ssvm is supposed to mount the swift storage as an abstract nfs > share, how is it achieved ? is cloudfuse used for this ? > > @Sanjeev, > > You mean that i need to re run cloud-install-sys-tmplt from mgmt server > against my secondary staging nfs store ? > > > Thanks a lot four your responses folks. > > > > > > 2014-04-17 19:03 GMT+02:00 Sanjeev Neelarapu >: > > Benoit, >> >> Since your system vms are ready, try to register a new template and see >> if it works. If you still face issues in uploading the template to Swift, >> please look at the ssvm logs /var/log/cloud.log >> >> -Sanjeev >> >> >> -Original Message- >> From: ilya musayev [mailto:ilya.mailing.li...@gmail.com] >> Sent: Thursday, April 17, 2014 8:06 AM >> To: users@cloudstack.apache.org >> Subject: Re: Swift as Secondary Storage >> >> Benoit, >> >> Few things i would have done. >> >> 1) Take a look into mysql db there are some tables with template name in >> them. You can see the state and if they are referenced. >> 2) Perhaps template is not marked as public and you cant see it? >> 3) SSH to SSVM via a private key, goto /var/log/cloud/ and review the log >> file for any abnormalities. Also run a mount and df command on SSVM to see >> if Swift is abstracted and mounted through NFS. >> >> Regards >> ilya >> >> >> On 4/17/14, 11:01 AM, benoit lair wrote: >> > The state of my acs 4.3 is the following : >> > >> > 1 zone, 1 pod, 1 cluster, 1 xenserver 6.2, 1 nfs primary storage OK >> > created 1 swift secondary storage pointing to my swift proxy node, OK, >> > swift cli and cyberduck OK created a secondary staging store with a >> > nfs server already containing the system vm template. >> > >> > The creation of the secondary staging store triggers the swift push >> > from the acs mgmt server to the swift proxy node, the template is well >> > uploaded, can see it on my object storage swift node. >> > >> > Now, i got on the web UI > templates, the 2 templates, system vm and >> > centos >> > 5.6 vm template but there are both not available although i have my >> > cpvm and ssvm vms created and launched... >> > >> > How to get my zone operationnal and being able to create a vm with >> > centos >> > 5.6 vm template ? >> > >> > >> > Thanks for your help. >> > >> > Regards, Benoit. >> > >> > >> > 2014-04-17 15:51 GMT+02:00 benoit lair : >> > >> >> Hi Folks, >> >> >> >> >> >> I have already some trouble with getting swift working as secondary >> >> storage. >> >> >> >> It has pushed the system vm template to my swift framework, i can see >> >> the system vm template on my object storage nodes, bu when i go to >> >> the web UI, on templates, sometimes i got my template available, >> >> sometimes it is no more available. >> >> >> >> Sanjeev, any idea ? >> >> >> >> >> >> Thanks. >> >> >> >> Regards, Benoit. >> >> >> >> >> >> 2014-04-10 17:57 GMT+02:00 benoit lair : >> >> >> >> After solving the problem of the set perms, i could see the >> >> replication >> >>> request for pushing the datas on swift. >> >>> >> >>> Now another problem and for information for those who whant to >> >>> install their own swift : it is a requirement to have a swift public >> >>> url with swift >> >>> v1.0 and not a 2.0 one. >> >>> >> >>> If your swift endpoint is in v2 you won't be able to push your datas >> >>> on swift. >> >>> >> >>> Troubleshooting in progress, have modified by gateway from v2 to v1, >> >>> now waiting for mgmt cs to repush the data. >> >>> >> >>> >> >>> Regards, Benoit. >> >>> >> >>> >> >>> 2014-04-10 16:34 GMT+02:00 benoit lair : >> >>> >> >>> I have more information for my issue : >> 2014-04-10 16:26:23,071 DEBUG >> [o.a.c.s.r.NfsSecondaryStorageResource] >> (pool-10-thread-1:ctx-1a8aedc3) Successfully mounted >> 10.32.0.70:/export/secondary at >> /var/cloudstack/mnt/secStorage/7b0ceb7f-ae60-3922-80e7-8836fec2dda8 >> 2014-04-10 16:26:23,071 DEBUG >> [o.a.c.s.r.LocalNfsSecondaryStorageResource] >> (pool-10-thread-1:ctx-1a8aedc3) Executing: sudo chmod 777 >> /var/cloudstack/mnt/secStorage/7b0ceb7f-ae60-3922-80e7-8836fec2dda8 >> 2014-04-10 16:26:23,345 DEBUG >> [o.a.c.s.r.LocalNfsSecondaryStorageResource] >> (pool-10-thread-1:ctx-1a8aedc3) Exit value is 1 >> 2014-04-10 16:26:23,358 DEBUG >> [o.a.c.s.r.LocalNfsSecondaryStorageResource] >> (pool-10-thread-1:ctx-1a8aedc3) chmod: modification des permissions >> de « >> /var/cloudstack/mnt/secStorage/7b0ceb7f-ae60-3922-80e7-8836fec2dda8 »: >> Opération non pe
RE: Cloudstack complains about storage space
Abu, Here is a little calculation which may help you: allocatedPercentage = (totalAllocatedSize + totalAskingSize) / (totalOverProvCapacity) So the issue could be that the asking size of the volumes you are trying to provision is very high. You can also approximate totalAllocatedSize calculation from the following (tables): summation of all sizes of non destroyed volume (volumes.size) summation of all (volumes.vm_snapshot_chain_size) for each volume on the pool (template_spool_ref.template_size) for the templates on the pool It will be good if you can provide more logs. Thanks, Saksham -Original Message- From: Abu Bashiri [mailto:abu.bashiri...@gmail.com] Sent: Monday, April 14, 2014 4:46 PM To: users@cloudstack.apache.org Subject: Cloudstack complains about storage space Hey, strange issue, i try to deploy an instance but it always fails with: nsufficient un-allocated capacity on: 3 for volume allocation: [Vol[204|vm=182|ROOT]] since its allocated percentage: 7627580.872342288 has crossed the allocated pool.storage.alloca the local storage has 400GB free and even the dashboard in CS is showing just 23% consumed space. The value is a little bit strange. What can cause this issue? Thx!