RE: Cloudstack/Xenserver/GPU support
Hi Vijay, If you want to use the GPU/vGPU functionality in CloudStack then you need to install XS62ESP1 hotfix on top of XenServer 6.2.0. Once you are done with patch installation, reconnect the host or restart the management server so that CloudStack can detect the GPU cards present in XS host. Also, as of now, CloudStack UI only supports NVIDIA k1 and NVIDIA k2 cards, so if you are using any other card apart from these two, than you need to make API call the API call createServiceOffering as mentioned in Web services APIs section here: https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs Please let me know if you any more queries. --Sanjay -Original Message- From: Vijay Ramadoss [mailto:vramad...@nvidia.com] Sent: Wednesday, June 18, 2014 11:03 AM To: users@cloudstack.apache.org Subject: RE: Cloudstack/Xenserver/GPU support The problem is that my host doesn’t show the gpu through cloudstack. Just using Xenserver direct passthrough, everything works. Just doesn’t work through cloudstack. Regards, Vijay R -Original Message- From: Devdeep Singh [mailto:devdeep.si...@citrix.com] Sent: Tuesday, June 17, 2014 10:24 PM To: users@cloudstack.apache.org Subject: RE: Cloudstack/Xenserver/GPU support From the FS [1], under Interoperability and compatibility, it is supported for 6.2 SP1 and later. [1] https://cwiki.apache.org/confluence/display/CLOUDSTACK/GPU+and+vGPU+support+for+CloudStack+Guest+VMs Regards, Devdeep -Original Message- From: Vijay Ramadoss [mailto:vramad...@nvidia.com] Sent: Wednesday, June 18, 2014 10:31 AM To: users@cloudstack.apache.org Subject: RE: Cloudstack/Xenserver/GPU support I am using Xenserver 6.2. Regards, Vijay R -Original Message- From: Devdeep Singh [mailto:devdeep.si...@citrix.com] Sent: Tuesday, June 17, 2014 9:49 PM To: users@cloudstack.apache.org Subject: RE: Cloudstack/Xenserver/GPU support Just to confirm, are you using XenServer 6.2 or XenServer 6.2 SP1? Regards, Devdeep -Original Message- From: Vijay Ramadoss [mailto:vramad...@nvidia.com] Sent: Wednesday, June 18, 2014 10:01 AM To: users@cloudstack.apache.org Subject: Re: Cloudstack/Xenserver/GPU support Note that I am using 4.4 dev builds for this so it does have GPU support. So in service offerings I do see GPU options but just doesn't work. Regards Vijay R On Jun 17, 2014 9:27 PM, Shanker Balan shanker.ba...@shapeblue.com wrote: Hi Vijay, Comments inline: On 17-Jun-2014, at 9:28 pm, Vijay Ramadoss vramad...@nvidia.com wrote: Hi - I have setup a cloudstack management server and managing two xenserver 6.2 based hosts with NVIDIA GRID k2 gpus on them. I added the host to the pod/cluster but cloudstack is not detecting the gpu on it and showing it. How do I make gpu be available so that cloudstack could use it ? I created a service offering for gpu but I am not able to associate an instance with that service offering and it fails as cloudstack cant see the gpu. Please help. The last time I had a requirement to enable passthru of devices to the VMs, CloudStack didnt have support for this. While the XenServer itself can do passthru, CloudStack service offerings could not be taught to expose these to the VMs created via CloudStack. In short, someone will need to add this feature to ACS. The developer list might be a better place to ask this question. Regards. -- @shankerbalan M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 Find out more about ShapeBlue and our range of CloudStack related services IaaS Cloud Design Buildhttp://shapeblue.com/iaas-cloud-design-and- build// CSForge – rapid IaaS deployment frameworkhttp://shapeblue.com/csforge/ CloudStack Consultinghttp://shapeblue.com/cloudstack-consultancy/ CloudStack Infrastructure Supporthttp://shapeblue.com/cloudstack- infrastructure-support/ CloudStack Bootcamp Training Courseshttp://shapeblue.com/cloudstack- training/ 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
RE: Total number of Vms?
Hi Juan, If you want to use API, then use listVirtualMachines API with listAll=true parameter and in the API resource, first thing you'll get is the count of total VMs present in your setup. --Sanjay -Original Message- From: Juan Gomez [mailto:juan.go...@kumo.com.co] Sent: Wednesday, May 7, 2014 5:58 AM To: users@cloudstack.apache.org Subject: Re: Total number of Vms? Thank you all for the help , it seems that the easyest way is querying the dataabase Enviado desde mi iPhone El 6/05/2014, a las 18:39, Pierre-Luc Dion pd...@cloudops.com escribió: Their is also the ruby gem: cloudstack_ruby_client if its for a script. It provide the total instance count automatically when calling list_instance Le mardi 6 mai 2014, Ahmad Emneina aemne...@gmail.com a écrit : make sure to include in your query some additional clauses; and type='User' and removed is null... something along those lines. On Tue, May 6, 2014 at 3:07 PM, rammohan ganapavarapu rammohanga...@gmail.com javascript:; wrote: Can't you query databse? select * from user_vm; some thing like this? On Tue, May 6, 2014 at 1:58 PM, Juan Gomez juan.go...@kumo.com.cojavascript:; wrote: Hello everyone, How can i quickly count the total number of VMs that exist in my whole cluoudstack environment including all the zones ? Thank You Email asegurado por Check Point -- Pierre-Luc Dion Architecte de Solution Cloud | Cloud Solutions Architect 855-OK-CLOUD (855-652-5683) x1101 - - - *CloudOps*420 rue Guy Montréal QC H3J 1S6 www.cloudops.com @CloudOps_ Email asegurado por Check Point Email asegurado por Check Point
RE: Am I missing something? XenServer 6.2 SP1 CloudStack 4.3
Hi Eric, CloudStack does not support XS620SP1 in CS 4.3, because of that you are not able to deploy Windows Server 2012 R2 guestOS. The next CS release i.e. CloudStack 4.4 supports XenServer 6.2SP1 and XenServer 6.2.5 as well. --Sanjay -Original Message- From: eric-l...@truenet.com [mailto:eric-l...@truenet.com] Sent: Monday, May 12, 2014 11:32 PM To: users@cloudstack.apache.org Subject: Am I missing something? XenServer 6.2 SP1 CloudStack 4.3 2014-05-12 13:55:09,147 WARN [c.c.h.x.r.CitrixHelper] (DirectAgent-238:ctx-d7215636) XenServer 6.2.0 DOES NOT support Guest OS type Windows Server 2012 R2 (64-bit) New build and everything seems fine, but can't install from ISO. I haven't tried to work around with another template yet, as I figured this would be supported since it is on XenServer itself. Just wondering if I did something wrong... Sincerely, Eric Tykwinski TrueNet, Inc. P: 610-429-8300 F: 610-429-3222
RE: lxc cluster can't add primary storage
There is already a bug filed for this issue: https://issues.apache.org/jira/browse/CLOUDSTACK-4402 --Sanjay -Original Message- From: 卢惠勇 [mailto:luhuiy...@conew.com] Sent: Friday, December 20, 2013 11:54 AM To: users@cloudstack.apache.org Subject: lxc cluster can't add primary storage I can't add a nfs primary storage for my *lxc* cluster. this is the cloudstack error log: INFO [cloud.api.ApiServer] (catalina-exec-10:) *Failed to delete storage pool on host* but i can add nfs primary storage for my kvm cluster.why? --
RE: SSVM showing alert status
This might be helpful for you: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting --Sanjay -Original Message- From: Jake G. [mailto:dj_dark_jungl...@yahoo.com] Sent: Monday, December 2, 2013 3:03 PM To: users@cloudstack.apache.org Subject: SSVM showing alert status Hi all, My SSVM is showing ALERT as its status. How can I troubleshoot this? Also, Any tips on how to log into the SSVM and CPVM? Thanks, Jake
RE: SSVM won't start
Sebastian, In XenServer host, can you check your vhd-util location. The correct location for vhd-util is /opt/xensource/bin, if it is not in this folder then you have to copy it from /usr/bin/vhd-util. --Sanjay -Original Message- From: Sebastian Trampler [mailto:sebastian.tramp...@iisys.de] Sent: Friday, November 29, 2013 1:18 PM To: users@cloudstack.apache.org Subject: SSVM won't start Hello, we have problems starting the ssvm. First of all some facts about our actual test system. Cloudstack is installed on Ubuntu 12.04. Primary and secondary storage are nfs shares hosted on Cloudstack server. Host is a XenServer 6.2. While starting the ssvm we get the following error messages: 2013-11-29 08:38:10,103 DEBUG [storage.volume.VolumeServiceImpl] (consoleproxy-1:null) Acquire lock on VMTemplateStoragePool 2280 with timeout 3600 seconds 2013-11-29 08:38:10,107 INFO [storage.volume.VolumeServiceImpl] (consoleproxy-1:null) lock is acquired for VMTemplateStoragePool 2280 2013-11-29 08:38:10,109 DEBUG [cloud.storage.VolumeManagerImpl] (secstorage-1:null) Checking if we need to prepare 1 volumes for VM[SecondaryStorageVm|s-1159-VM] 2013-11-29 08:38:10,135 DEBUG [storage.motion.AncientDataMotionStrategy] (consoleproxy-1:null) copyAsync inspecting src type TEMPLATE copyAsync inspecting dest type TEMPLATE 2013-11-29 08:38:10,137 DEBUG [storage.image.TemplateDataFactoryImpl] (secstorage-1:null) template 1 is already in store:2, type:Image 2013-11-29 08:38:10,171 DEBUG [storage.image.TemplateDataFactoryImpl] (secstorage-1:null) template 1 is already in store:2, type:Primary 2013-11-29 08:38:10,174 DEBUG [storage.volume.VolumeServiceImpl] (secstorage-1:null) Found template routing-1 in storage pool 2 with VMTemplateStoragePool id: 2280 2013-11-29 08:38:10,185 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1431371787: Sending { Cmd , MgmtId: 217970788423578, via: 1, Ver: v1, Flags: 100111, [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org. apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1 /1/,origUrl:http://download.cloud.com/templates/4.2/systemvmtempla te-2013-07-12-master-xen.vhd.bz2,uuid:82cd934b-4d43-11e3-8eab- c63e476a579a,id:1,format:VHD,accountId:1,checksum:fb1b6e032 a160d86f2c28feb5add6d83,hvm:false,displayText:SystemVM Template (XenServer),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nf s://172.16.51.47:/export/secondary2,_role:Image}},name:routing- 1,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storag e.to.TemplateObjectTO:{origUrl:http://download.cloud.com/templates/ 4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2,uuid:82cd934b- 4d43-11e3-8eab- c63e476a579a,id:1,format:VHD,accountId:1,checksum:fb1b6e032 a160d86f2c28feb5add6d83,hvm:false,displayText:SystemVM Template (XenServer),imageDataStore:{org.apache.cloudstack.storage.to.Primary DataStoreTO:{uuid:fefdf148-d326-3fa0-9aca- 3f8956fbd8f7,id:2,poolType:NetworkFilesystem,host:172.16.51.47, path:/export/primary2,port:2049}},name:routing- 1,hypervisorType:XenServer}},executeInSequence:true,wait:10800} }] } 2013-11-29 08:38:10,187 DEBUG [agent.transport.Request] (consoleproxy-1:null) Seq 1-1431371787: Executing: { Cmd , MgmtId: 217970788423578, via: 1, Ver: v1, Flags: 100111, [{org.apache.cloudstack.storage.command.CopyCommand:{srcTO:{org. apache.cloudstack.storage.to.TemplateObjectTO:{path:template/tmpl/1 /1/,origUrl:http://download.cloud.com/templates/4.2/systemvmtempla te-2013-07-12-master-xen.vhd.bz2,uuid:82cd934b-4d43-11e3-8eab- c63e476a579a,id:1,format:VHD,accountId:1,checksum:fb1b6e032 a160d86f2c28feb5add6d83,hvm:false,displayText:SystemVM Template (XenServer),imageDataStore:{com.cloud.agent.api.to.NfsTO:{_url:nf s://172.16.51.47:/export/secondary2,_role:Image}},name:routing- 1,hypervisorType:XenServer}},destTO:{org.apache.cloudstack.storag e.to.TemplateObjectTO:{origUrl:http://download.cloud.com/templates/ 4.2/systemvmtemplate-2013-07-12-master-xen.vhd.bz2,uuid:82cd934b- 4d43-11e3-8eab- c63e476a579a,id:1,format:VHD,accountId:1,checksum:fb1b6e032 a160d86f2c28feb5add6d83,hvm:false,displayText:SystemVM Template (XenServer),imageDataStore:{org.apache.cloudstack.storage.to.Primary DataStoreTO:{uuid:fefdf148-d326-3fa0-9aca- 3f8956fbd8f7,id:2,poolType:NetworkFilesystem,host:172.16.51.47, path:/export/primary2,port:2049}},name:routing- 1,hypervisorType:XenServer}},executeInSequence:true,wait:10800} }] } 2013-11-29 08:38:10,188 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-1:null) Seq 1-1431371787: Executing request 2013-11-29 08:38:10,190 DEBUG [storage.volume.VolumeServiceImpl] (secstorage-1:null) Acquire lock on VMTemplateStoragePool 2280 with timeout 3600 seconds 2013-11-29 08:38:12,360 WARN [xen.resource.XenServerStorageProcessor] (DirectAgent-1:null) destoryVDIbyNameLabel failed due to there are 0 VDIs with name cloud-0212d4f0-d5ca-4dc5-9071-25179ec8f8f8 2013-11-29
RE: CS 4.2 Instance stuck Expunging
There is already a ticket for this issue: https://issues.apache.org/jira/browse/CLOUDSTACK-2647 Jake, if you have the same problem, you can reopen this ticket. Also, post all the necessary error logs in the ticket. --Sanjay -Original Message- From: Daan Hoogland [mailto:daan.hoogl...@gmail.com] Sent: Thursday, November 28, 2013 3:51 PM To: users@cloudstack.apache.org; Jake G. Subject: Re: CS 4.2 Instance stuck Expunging On Wed, Nov 20, 2013 at 6:59 AM, Jake G. dj_dark_jungl...@yahoo.com wrote: Seems like CS manager just didn't update the database correctly after deleting everything. Jake, did you file a jira ticket? (or check if it existed already)
RE: Unable add instance after update on CS4.2
Hi Diego, From the listClusters response, it looks like your cluster doesn't have enough CPU capacity to deploy a new VM. Type = 1 is for CPU resource. { capacitytotal: 576000, capacityused: 701250, percentused: 121.74, type: 1 } --Sanjay -Original Message- From: Diego Spinola Castro [mailto:spinolacas...@gmail.com] Sent: Monday, November 25, 2013 1:11 AM To: users@cloudstack.apache.org Subject: Unable add instance after update on CS4.2 Hi guys, i'm running into a issue on a vmware 4.1 cluster after update CS to 4.2. When i try create a instance i get the following error: 2013-11-24 17:37:43,817 DEBUG [cloud.api.ApiServlet] (catalina-exec-11:null) ===START=== 187.37.35.156 -- GET command=deployVirtualMachinezoneId=83a1d5a6-6534-4600-b8b4- c1bd240eb711templateId=227hypervisor=VMwareserviceOfferingId=32 networkIds=0749b01c-9dbe-4008-a388- c6cb82988852response=jsonsessionkey=%2BrE4mGxi%2Bnqu2r7FxFj8QE V9%2FFA%3D_=1385321825263 2013-11-24 17:37:43,858 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-11:null) InfrastructureEntity name is:com.cloud.offering.ServiceOffering 2013-11-24 17:37:43,858 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-11:null) ControlledEntity name is:com.cloud.template.VirtualMachineTemplate 2013-11-24 17:37:43,863 DEBUG [cloud.api.ApiDispatcher] (catalina-exec-11:null) ControlledEntity name is:com.cloud.network.Network 2013-11-24 17:37:43,869 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,873 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,878 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Ntwk[358|Guest|6] granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,881 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Tmpl[227-OVA-227-2-150da313-1018-3320-becd-9dc003c96374 granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,884 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,913 DEBUG [cloud.user.AccountManagerImpl] (catalina-exec-11:null) Access to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] granted to Acct[8bcd7766-9361-40a9-b660-eb2b0694d7a4-diego] by DomainChecker_EnhancerByCloudStack_560d9237 2013-11-24 17:37:43,964 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-11:null) Service SecurityGroup is not supported in the network id=358 2013-11-24 17:37:44,144 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-11:null) Allocating in the DB for vm 2013-11-24 17:37:44,224 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-11:null) Allocating entries for VM: VM[User|ab62df84-e398-4e02-8a55-9319ed694998] 2013-11-24 17:37:44,238 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-11:null) Allocating nics for VM[User|ab62df84-e398-4e02- 8a55-9319ed694998] 2013-11-24 17:37:44,240 DEBUG [cloud.network.NetworkManagerImpl] (catalina-exec-11:null) Allocating nic for vm VM[User|ab62df84-e398-4e02- 8a55-9319ed694998] in network Ntwk[358|Guest|6] with requested profile NicProfile[0-0-null-null-null 2013-11-24 17:37:44,358 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-11:null) Service SecurityGroup is not supported in the network id=358 2013-11-24 17:37:44,361 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-11:null) Allocating disks for VM[User|ab62df84-e398-4e02- 8a55-9319ed694998] 2013-11-24 17:37:44,389 DEBUG [cloud.vm.VirtualMachineManagerImpl] (catalina-exec-11:null) Allocation completed for VM: VM[User|ab62df84-e398-4e02-8a55-9319ed694998] 2013-11-24 17:37:44,389 DEBUG [cloud.vm.UserVmManagerImpl] (catalina-exec-11:null) Successfully allocated DB entry for VM[User|ab62df84-e398-4e02-8a55-9319ed694998] 2013-11-24 17:37:44,566 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-11:null) Service SecurityGroup is not supported in the network id=358 2013-11-24 17:37:44,573 DEBUG [cloud.network.NetworkModelImpl] (catalina-exec-11:null) Service SecurityGroup is not supported in the network id=358 2013-11-24 17:37:44,968 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-11:null) submit async job-470 = [ 066b7455-3b86-4b85-9954- 7caf6ddb710e ], details: AsyncJobVO {id:470, userId: 343, accountId: 165, sessionKey: null, instanceType: VirtualMachine, instanceId:
RE: Image format supported by cloudstack
Answers inline. -Original Message- From: jitendra shelar [mailto:jitendra.shelar...@gmail.com] Sent: Tuesday, November 19, 2013 10:04 PM To: d...@cloudstack.apache.org; users@cloudstack.apache.org; issues- subscr...@cloudstack.apache.org Subject: Image format supported by cloudstack Hi Team, Can somebody please tell me which all image format are supported by the cloudstack? From the CloudStack UI, you can get the guest OS list in register template/register ISO form page, or try the API listOsTypes to get the complete list. And do cloudstack (version 4.0 and 4.2) provide support for windows 7, Windows 2012, Ubuntu 12 and Ubuntu 13 ISO? CloudStack supports all the mentioned guest OS. Only for Ubuntu 13, you need to register the template/ISO under Other Ubuntu guest OS type. Thanks, Jitendra --Sanjay
RE: CS 4.2 - console access - unauthorized
HI Marcel, You might want to check your browser setting to verify if the browser allows cookies. Same issue has been discussed previously, check if you can get some help from this thread: http://apache.markmail.org/message/mckvmthlzybu3m5u --Sanjay -Original Message- From: Marcel Peter [mailto:isthiscl...@gmail.com] Sent: Monday, November 18, 2013 10:19 PM To: users@cloudstack.apache.org Subject: CS 4.2 - console access - unauthorized Hey all, i played a little bit arround with CS 4.2. I have one problem... My console functionality recently stopped working. If i click on launch console, i immediatly get a pop-up with the following XML error code: null cloud-stack- version=4.2.0errorcode401/errorcodeerrortextunable to verify user credentials/errortext/null After that, i immediatly get logged out of the UI... I can see no errors in the mgmt and CPVM logfile. I already tried to destroy the CPVM - without success Cloudmonkey CLI works well Any ideas?
RE: System VMs cannot get up
Can you also check if the global config parameter host is set to your management server IP address, otherwise agent won't be able to reach the MS. --Sanjay -Original Message- From: Sanjeev Neelarapu [mailto:sanjeev.neelar...@citrix.com] Sent: Tuesday, November 19, 2013 10:56 AM To: users@cloudstack.apache.org Subject: RE: System VMs cannot get up Hi, Check the reachability from System VMs to management server. Also check port 8250 is allowed on management server. Thanks, sanjeev -Original Message- From: Fariborz Navidan [mailto:mdvlinqu...@gmail.com] Sent: Monday, November 18, 2013 5:54 PM To: users@cloudstack.apache.org Subject: System VMs cannot get up Hi. I have setup CloudStack in the way that management server is running on a VM on a KVM/QEMU host and used management server as NFS server as well. System VMS show running in both UI and through virsh command line. However they are not reachable and cannot open their console. I tried to get into their console via virt-manager but it asks for password. Also in the UI, agent status for system VMs is empty. (up is not displayed). I think I'm doing wrong with my networking setup. Please help me. TIA
RE: Admin User Not Created
In the management server logs, can you see if the log says Admin user enabled? Can you also paste your management server logs using pastebin, that would help in narrowing down the problem. --Sanjay -Original Message- From: Robert Gabriel [mailto:epheme...@gmail.com] Sent: Thursday, November 14, 2013 9:58 PM To: users@cloudstack.apache.org Subject: Re: Admin User Not Created On 14 November 2013 16:08, Shanker Balan shanker.ba...@shapeblue.comwrote: On 14-Nov-2013, at 7:34 pm, Robert Gabriel epheme...@gmail.com wrote: Hi, Installed 4.2 release on CentOS-6.4-x86_64. Ran the setup commands several times. I see in cloud.user and cloud.account the admin user does not exist? Hence cannot login with admin:password Have I missed something? Please advise. Thank you. Do you have 2GB memory for the management server? If so, I recall a discussion on the mailing list that the management server's memory requirements have gone up. The cloudstack-setup-* commands fail to complete when there is low memory. We have 6GB free RAM. Is there a way for me to do this manually? I would really like to test CloudStack. Thank you.
RE: agent not running in ssvm
See, if this is of any help for you: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting --Sanjay -Original Message- From: Andrei Mikhailovsky [mailto:and...@arhont.com] Sent: Monday, November 11, 2013 9:47 PM To: users@cloudstack.apache.org Subject: Re: agent not running in ssvm Hello, I was wondering if anyone else is experiencing this issue? I am having identical problem with Ubuntu 12.04 kvm host and ACS 4.2.0. Basically, I've got two clusters, cluster1 and cluster2. Cluster1 is using centos 6.4 as kvm host and cluster2 uses ubuntu 12.04. I am planning to decommission cluster1 and I am having a bunch of issues doing that. One of the problems is with ssvm. If I destroy ssvm it always starts on cluster1. I can't make it to start on cluster2. So, what i've tried is i've stopped ssvm and migrated its disk volume over to the storage pool available on cluster2. I've manually updated db entries including host_id, last_host_id and pool_id. The SSVM starts just fine, but the agent is always show as Disconnected even though the same procedure works just fine with CPVM - it's agent is up and running. What i've noticed while running ssvm-check script is it is incorrectly lists the nfs server. Like this: - root@s-825-VM:/var/log/cloud# /usr/local/cloud/systemvm/ssvm-check.sh First DNS server is 192.168.169.254 PING 192.168.169.254 (192.168.169.254): 56 data bytes 64 bytes from 192.168.169.254: icmp_seq=0 ttl=64 time=0.304 ms 64 bytes from 192.168.169.254: icmp_seq=1 ttl=64 time=0.309 ms --- 192.168.169.254 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.304/0.306/0.309/0.000 ms Good: Can ping DNS server Good: DNS resolves download.cloud.com ERROR: NFS is not currently mounted Try manually mounting from inside the VM NFS server is eth2 ping: unknown host WARNING: cannot ping NFS server routing table follows Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 82.*.*.* 0.0.0.0 UG 0 0 0 eth2 82.*.*.* 0.0.0.0 255.255.255.192 U 0 0 0 eth2 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.169.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1 192.168.169.0 0.0.0.0 255.255.255.0 U 0 0 0 eth3 Management server is 192.168.169.250. Checking connectivity. Good: Can connect to management server port 8250 ERROR: Java process not running. Try restarting the SSVM. - Two things from the above look odd. First, the NFS server is not eth2! My nfs server is 192.168.169.202, it's not eth2. The ACS gui shows the secondary storage server as nfs://192.168.169.202:/secondary. I can mount this path within the ssvm. The second strange thing is that its got both eth1 and eth3 configured in the same management range - 192.168.169.0/24. Not sure if this is meant to be like this or something is broken. Restarting the agent produces the following log entries: - 15:46:59,916 INFO AgentShell:403 - Agent started log4j:ERROR No output stream or file set for the appender named [FILE3]. 15:46:59,920 INFO AgentShell:411 - Implementation Version is 4.2.0 15:46:59,920 INFO AgentShell:267 - agent.properties found at /usr/local/cloud/systemvm/conf/agent.properties Invalid Parameter: internaldns2= 15:46:59,924 INFO AgentShell:423 - Defaulting to using properties file for storage 15:46:59,930 INFO AgentShell:434 - Defaulting to the constant time backoff algorithm 15:46:59,936 INFO LogUtils:31 - log4j configuration found at /usr/local/cloud/systemvm/conf/log4j-cloud.xml log4j:WARN No such property [maxFileSize] in org.apache.log4j.rolling.RollingFileAppender. log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.rolling.RollingFileAppender. log4j:WARN Please set a rolling policy for the RollingFileAppender named 'FILE3' log4j:ERROR No output stream or file set for the appender named [FILE3]. 15:46:59,990 ERROR AgentShell:549 - Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource Unable to start agent: Resource class not found: com.cloud.storage.resource.PremiumSecondaryStorageResource due to: java.lang.ClassNotFoundException: com.cloud.storage.resource.PremiumSecondaryStorageResource ./run.sh: line 29: ./_run.sh: No such file or directory 2013-11-11 15:46:59,916 INFO [cloud.agent.AgentShell] (main:null) Agent started 2013-11-11 15:46:59,920 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.2.0 2013-11-11
RE: Unable to see UI after 4.1.1 - 4.2 update
Can you clear your browser cookies and try again. Also, in chrome's developer tools, check the console to get to know about the response of API calls. Can you also put the MS logs using pastebin to get more clarity over the issue. --Sanjay -Original Message- From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of Carlos Reategui Sent: Thursday, November 07, 2013 7:55 AM To: users@cloudstack.apache.org Subject: Re: Unable to see UI after 4.1.1 - 4.2 update BTW, chrome's developer tools (i.e. inspect element) sees the html/js that is delivered but nothing is showing up in the browser window. Anyone else run into this with 4.2 Cloudstack UI running on ubuntu? On Wed, Nov 6, 2013 at 5:02 PM, Carlos Reategui create...@gmail.com wrote: I was feeling good about recovering my installation so I decided to go for 4.2. I believe the update went well and saw the DB get updated (I did register the xen template before doing the update). However I am not able to see the login prompt of the UI. I have tried various browsers (chrome, firefox, IE) and the page loads but it is all blank so I can't log in to see what is happening. Also, I am on Ubuntu so the cloudstack-sysvmadm script does not work. I am now stuck unable to restart the system vms. Can I just kill them in XenCenter and wait for Cloudstack to see them gone so that it restarts them? Anyone successful at upgrading management server on Ubuntu with Xen hosts? thanks, Carlos
RE: change own password and personal info
+1 for it. --Sanjay -Original Message- From: John Kinsella [mailto:j...@stratosec.co] Sent: Wednesday, November 06, 2013 9:28 PM To: users@cloudstack.apache.org Subject: Re: change own password and personal info Seems like the UI could benefit from a my account link near the top of the page:what do folks think? On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapebl ue.com wrote: You need to go to the Users Section as the passwords are mapped to users, not accounts Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.commailto:geoff.higginbottom@shapeblu e.com -Original Message- From: Юрий Карпель [mailto:yu...@karpel.su] Sent: 06 November 2013 06:49 To: users@cloudstack.apache.org Subject: change own password and personal info Cloudstack 4.2 fresh install Created account test with Role User, and a user newtest. When I log in as a user created along with this Account I've checked Accounts-test-View Users -newtest and in the Detail tab there was no buttons, so I couldn't: 1. change my own password 2. change my personal info PS: for the admin account is also not possible to change the password What could be wrong? 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. Stratosechttp://stratosec.co/ - Compliance as a Service o: 415.315.9385 @johnlkinsellahttp://twitter.com/johnlkinsella
RE: possible BUG in resource counting
Find my comments inline. -Original Message- From: Andrija Panic [mailto:andrija.pa...@gmail.com] Sent: Sunday, October 27, 2013 2:23 AM To: users@cloudstack.apache.org Subject: Re: possible BUG in resource counting I don't see any global parameters for resource limits. Only limits per domain (-1 for all resources, so NO limits), and also limits per account, where I have increased. Problem is that I don't have any log lines created when I click the submit button (when I get that message). [Sanjay] That’s ok, the next thing is to restart the MS. BTW, records in the databases for that user account - have gone blank, meaning, I don't have current number of resources entered inside databases, as with other accounts... ? [Sanjay] Records in which table have gone blank? Only thing you need to check is the available resources(in your case primary storage) for the account, this you can get in the listAccounts API response by passing the account id. In the response, you'll get the list of available resources for all the resource type and if needed. On 26 October 2013 21:22, Sanjay Tripathi sanjay.tripa...@citrix.comwrote: -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 -- Andrija Panić -- http://admintweets.com -- --Sanjay
RE: Fail to register ISO template
Can you check if the agents are also up for the system VMs. For ssvm troubleshooting, you can follow this wiki page: https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting --Sanjay -Original Message- From: 杜军 [mailto:m1093782...@163.com] Sent: Sunday, October 27, 2013 5:52 PM To: users@cloudstack.apache.org Subject: Fail to register ISO template Hi All, Now I can start 2 system VMs in cloudstack 4.0. However, it comes back to the old problem that I am unable to register iso or template. This very strange that there are two system VMs displaying on UI but I get the log infomation: 2013-10-26 10:52:36,894 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet 2013-10-26 10:52:36,979 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Zone 1 is not ready to launch console proxy yet 2013-10-26 10:52:37,370 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers. 2013-10-26 10:52:47,345 DEBUG [cloud.server.StatsCollector] (StatsCollector- 1:null) HostStatsCollector is running... 2013-10-26 10:52:47,366 DEBUG [cloud.server.StatsCollector] (StatsCollector- 2:null) StorageCollector is running... 2013-10-26 10:52:47,369 DEBUG [cloud.server.StatsCollector] (StatsCollector- 2:null) There is no secondary storage VM for secondary storage host nfs://172.17.4.102/export/secondary Any help will be appreciate! --- Best regards, Frank
RE: Failed to create volume when attaching it to VM
Find my comments inline. -Original Message- From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com] Sent: Sunday, October 27, 2013 8:39 AM To: users@cloudstack.apache.org Subject: Re: Failed to create volume when attaching it to VM Hi Sanjay, As you said that, I created one disk offering with name of own-disk with storage type is local. Now this volume storing on the host where the VMs are running. But, I am not sure how to configure the existed zone to use local storage. [Sanjay] This can be achieved by updateZone API command by setting localstorageenabled parameter as true. Kindly let me know. - Thanks, Yugandhar Yetham On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi sanjay.tripa...@citrix.com wrote: 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$Interc ep 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(ThreadPoolExecuto r.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: Failed to create volume when attaching it to VM
Yugandhar, Check this page of updateZone API: http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateZone.html --Sanjay -Original Message- From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com] Sent: Sunday, October 27, 2013 11:57 PM To: users@cloudstack.apache.org Subject: Re: Failed to create volume when attaching it to VM Hi Sanjay, Kindly give me the full commad which is using for how to update the zone. - Thanks, Yugandhar Yetham On Sun, Oct 27, 2013 at 10:39 PM, Sanjay Tripathi sanjay.tripa...@citrix.com wrote: Find my comments inline. -Original Message- From: Yugandhar Yetham [mailto:yugandhar.yet...@gmail.com] Sent: Sunday, October 27, 2013 8:39 AM To: users@cloudstack.apache.org Subject: Re: Failed to create volume when attaching it to VM Hi Sanjay, As you said that, I created one disk offering with name of own-disk with storage type is local. Now this volume storing on the host where the VMs are running. But, I am not sure how to configure the existed zone to use local storage. [Sanjay] This can be achieved by updateZone API command by setting localstorageenabled parameter as true. Kindly let me know. - Thanks, Yugandhar Yetham On Sun, Oct 27, 2013 at 12:18 AM, Sanjay Tripathi sanjay.tripa...@citrix.com wrote: 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$Interc ep 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(ThreadPoolExec utor .jav a:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecuto r.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: 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: Failed to increment resource count of type primary_storage for account id=
Please refer to previous discussion on this issue here: http://apache.markmail.org/message/yq4fzuotsmizyetc --Sanjay -Original Message- From: Punit Dambiwal [mailto:hypu...@gmail.com] Sent: Monday, October 07, 2013 8:48 AM To: users@cloudstack.apache.org Subject: Failed to increment resource count of type primary_storage for account id= Hi, After upgrade CS 4.1 to CS 4.2..i am not able to deploy any instance anymore...every-time it throws the same error Failed to increment resource count of type primary_storage for account id= Logs are here :- http://pastebin.com/aW1way9u Thanks, Punit
RE: Tracking resources utilized
Ok, my mistake, the new resource types (CPU, RAM, primarystorage space, secondary storage space) are introduced in 4.2 release. For previous releases, you can get the usage data by setting up the usage server as suggested by Rajesh. --Sanjay -Original Message- From: cloud knight [mailto:cloudloverunleas...@gmail.com] Sent: Wednesday, September 04, 2013 11:54 AM To: users@cloudstack.apache.org Subject: Re: Tracking resources utilized Hi, The listaccounts call provides these values, ipavailable = Unlimited iplimit = Unlimited iptotal = 0 networkavailable = Unlimited networklimit = Unlimited networktotal = 0 projectavailable = Unlimited projectlimit = Unlimited projecttotal = 0 receivedbytes = 0 sentbytes = 99268 snapshotavailable = Unlimited snapshotlimit = Unlimited snapshottotal = 0 state = enabled templateavailable = Unlimited templatelimit = Unlimited templatetotal = 3 vmavailable = Unlimited vmlimit = Unlimited vmrunning = 1 vmtotal = 1 volumeavailable = Unlimited volumelimit = Unlimited volumetotal = 6 Does not mention the cores, ram allocated to the particular account right? I guess the only way is to calculate the number of instances of a different compute offerings and multiply by resources per offering. Regards, Cloudlover On Wed, Sep 4, 2013 at 11:26 AM, Sanjay Tripathi sanjay.tripa...@citrix.com wrote: You can use the listAccounts API with id parameter to get all the account details for that account which also gives the count for available and used resources. --Sanjay -Original Message- From: cloud knight [mailto:cloudloverunleas...@gmail.com] Sent: Wednesday, September 04, 2013 7:50 AM To: users@cloudstack.apache.org Subject: Re: Tracking resources utilized Hi, Found this call listcapacity(). So it gives values for clusterid, podid, zoneid. Anyway of getting the same for accountid or domainid ? Regards, Cloudlover On Wed, Sep 4, 2013 at 7:27 AM, cloud knight cloudloverunleas...@gmail.comwrote: Hi all, The cloudstack UI dashboard shows only the total available/used resources(Not meaning the virtual resources, Talking about cpu count, cpu speed, ram and disk size). Is there a way to check the per account usage? By API anymeans? or anyway to check the resources allocated to a Vm(using api)? I couldn't find any api calls that does this. Am i missing something? please correct me if wrong. Thanks in advance. Need these for creating a report of hardware resource provisioning.
RE: SSVM stopped
Can you share some exception/error related management-server logs. --Sanjay -Original Message- From: Kashif Ali [mailto:temujin...@gmail.com] Sent: Wednesday, September 04, 2013 4:06 PM To: users@cloudstack.apache.org Subject: SSVM stopped Hello everyone, My SSVM and CPVM are not running, i have deleted them once so that cloudstack will automatically create it but again these are not working.i am also unable to ssh SSVM private IP, that i copied while it was in starting mode, from my host. -- Regards, *Kashif Ali* Undergraduate Student | 7th Semester BESE-1A | NUST-SEECS | Islamabad 10besek...@seecs.edu.pk
RE: Tracking resources utilized
You can use the listAccounts API with id parameter to get all the account details for that account which also gives the count for available and used resources. --Sanjay -Original Message- From: cloud knight [mailto:cloudloverunleas...@gmail.com] Sent: Wednesday, September 04, 2013 7:50 AM To: users@cloudstack.apache.org Subject: Re: Tracking resources utilized Hi, Found this call listcapacity(). So it gives values for clusterid, podid, zoneid. Anyway of getting the same for accountid or domainid ? Regards, Cloudlover On Wed, Sep 4, 2013 at 7:27 AM, cloud knight cloudloverunleas...@gmail.comwrote: Hi all, The cloudstack UI dashboard shows only the total available/used resources(Not meaning the virtual resources, Talking about cpu count, cpu speed, ram and disk size). Is there a way to check the per account usage? By API anymeans? or anyway to check the resources allocated to a Vm(using api)? I couldn't find any api calls that does this. Am i missing something? please correct me if wrong. Thanks in advance. Need these for creating a report of hardware resource provisioning.
RE: template creation
Can you verify that your system VMs are up? If system VMs are up, then you can check the status for builtin CentOS template in the detailView of template under the Templates tab (it will tell you the downloaded percentage if the template is in downloading state). --Sanjay -Original Message- From: Kashif Ali [mailto:temujin...@gmail.com] Sent: Tuesday, August 27, 2013 12:13 PM To: users@cloudstack.apache.org Subject: Re: template creation sanjay thanx for reply, my vairable is set to 192.168.111.135 that is my management server IP ... and i didn't know how to use ssvm since i am new user to cloudstack... any help will be greatly appreciated.. On Mon, Aug 26, 2013 at 4:44 AM, Nux! n...@li.nux.ro wrote: On 26.08.2013 12:00, Sanjay Tripathi wrote: Hi Kashif, I think, you need to allow internal sites by setting the secstorage.allowed.internal.**sites global config parameter. In my experience that setting is useless, I could add templates from any URL when logged in as admin. What I would try is to login to SSVM and see if I can download that template manually and if I can successfully mount the NFS volume used as secondary storage. HTH Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro -- -- Regards, *Kashif Ali* Undergraduate Student | 7th Semester BESE-1A | NUST-SEECS | Islamabad 10besek...@seecs.edu.pk
RE: error upgrading from 4.02 to 4.1.1 on Centos 6.4 (similar to CLOUDSTACK-3459 on 4.2))
Marco, Generally, duplicate column issue comes if you run the cloudstack-setup-management twice with the management server failed to start in the first time due to schema issues. Can you share the error details when you got this error for the first time, that would help in identifying the actual problem. --Sanjay -Original Message- From: marco ughetti [mailto:marco.ughe...@gmail.com] Sent: Tuesday, August 27, 2013 4:27 PM To: users@cloudstack.apache.org Subject: error upgrading from 4.02 to 4.1.1 on Centos 6.4 (similar to CLOUDSTACK-3459 on 4.2)) Hi all, I got this error during the upgrade from 4.02 to 4.1.1 on Centos 6.4 INFO [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) Database upgrade must be performed from 4.0.2.20130420145617 to 4.1.1 ERROR [utils.db.ScriptRunner] (Timer-1:) Error executing: alter table vm_template add size bigint unsigned ERROR [utils.db.ScriptRunner] (Timer-1:) com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'size' ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) Unable to execute upgrade script: /usr/share/cloudstack- management/setup/db/schema-40to410.sql com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate column name 'size' 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(DatabaseUpgradeC hecker.java:176) at com.cloud.upgrade.DatabaseUpgradeChecker.upgrade(DatabaseUpgradeCh ecker.java:236) at com.cloud.upgrade.DatabaseUpgradeChecker.check(DatabaseUpgradeChec ker.java:361) at com.cloud.utils.component.ComponentContext.initComponentsLifeCycle(Co mponentContext.java:90) at com.cloud.servlet.CloudStartupServlet$1.run(CloudStartupServlet.java:50) at java.util.TimerThread.mainLoop(Timer.java:534) at java.util.TimerThread.run(Timer.java:484) ERROR [utils.component.ComponentContext] (Timer-1:) System integrity check failed. Refuse to startup I've looked for an already opened bug on this topic but I have not found anything Please, anyone can help me? Thanks in advance Marco
RE: template creation
Hi Kashif, I think, you need to allow internal sites by setting the secstorage.allowed.internal.sites global config parameter. See if this helps. --Sanjay -Original Message- From: Kashif Ali [mailto:temujin...@gmail.com] Sent: Monday, August 26, 2013 12:01 PM To: users@cloudstack.apache.org Subject: template creation Hello every one, i am facing problem in creation of template , myfile.qcow2 is at my apache server with IP http://192.168.111.135/3/myfile.qcow2 but when i add it in URL while creating template , it is going into busy for creating template but didn't create even after 4 hours. can anyone figure me out of my mistake or tell me some other easier way to create template. Thanks -- Regards, *Kashif Ali* Undergraduate Student | 7th Semester BESE-1A | NUST-SEECS | Islamabad 10besek...@seecs.edu.pk
RE: Remote force expunge?
Nice idea, +1 for it. --Sanjay -Original Message- From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com] Sent: Monday, August 26, 2013 7:56 PM To: users@cloudstack.apache.org Subject: RE: Remote force expunge? +1 from me, why don't you log a feature request Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Kirk Jantzer [mailto:kirk.jant...@gmail.com] Sent: 26 August 2013 10:24 To: Cloudstack users mailing list Subject: Re: Remote force expunge? I like that idea :-) Regards, Kirk Jantzer http://about.met/kirkjantzer On Mon, Aug 26, 2013 at 10:21 AM, David Matteson dmatte...@a2hosting.comwrote: Hi Travis, Wanting to provide a 10 minute (or longer) recovery time is exactly why I'm looking for some way to force an expunge remotely on demand. The problem with providing a long recovery time is that a user cannot deploy a new VM with the same hostname (or IP address) until the old one is expunged. Thus the desire to be able to say No I really don't want to recover the old one, get rid of it so I can make a new one. It seems like an expungeDestroyedVirtualMachine API call might be in order? On 8/26/13 10:06 AM, Travis Graham wrote: Hey David, As far as I understand it, there is no way to immediately expunge a deleted VM easily. By design there's a minimum 10 minute window to allow the recovery of a VM once it has been deleted. If you wanted to remove all references from the database and manually remove the associated files on your primary and secondary storage, there's nothing stopping you from doing that, but you'd probably be best to set your expunge.delay and expunge.interval to 600 and let the system do the heavy lifting. Travis On Aug 26, 2013, at 9:35 AM, David Matteson dmatte...@a2hosting.com wrote: Hey everybody, Quick question; there is no API call for it, but does anybody know of a way to force an expunge to run remotely? Ideally on a specific vmid. Thanks! 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 operated under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
RE: Template Creation (URL sepecific)
This is if you want to register your private template, then you have to give the location(URL) of the template file; like http://your.web.server/filename.vhd . Hope this helps. --Sanjay -Original Message- From: Kashif Ali [mailto:temujin...@gmail.com] Sent: Wednesday, August 14, 2013 12:01 PM To: users@cloudstack.apache.org Subject: Template Creation (URL sepecific) Hello everyone, Can someone please tell me while creating a templates, i know all other fields but i didn't understand about URL of template. Can some one please explain me what should i provide in URL. Waiting for ur responses. Thanks -- Regards, *Kashif Ali* Undergraduate Student | 7th Semester BESE-1A | NUST-SEECS | Islamabad 10besek...@seecs.edu.pk
RE: cloudstack environment in vmware workstation
John, Can you post the error/exception part from the logs. --Sanjay -Original Message- From: John Cabs [mailto:lito...@gmail.com] Sent: Monday, August 12, 2013 9:36 AM To: users@cloudstack.apache.org Subject: cloudstack environment in vmware workstation Hi Guys, Has anyone tried building a CS environment in vmware workstation? I build 2 vm's running as the CS management server and the hypervisor. I'm having problems how to add the kvm host to my management server. Thanks. Litoy
RE: Unable to start the system VM's
Hi Chitra, Please provide the management server logs. --Sanjay From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com] Sent: Monday, August 05, 2013 6:45 PM To: users@cloudstack.apache.org Subject: Unable to start the system VM's Hi All, I have below configurations Cloudstack 4.0.2 on centos 6.3 Vshere 5.1 host VMFS Primary storage NFS share Secondary storage The system VM’s created but not running. Please anyone help me in resolving this issue. Thanks Regards Chitra.M CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***
RE: Alerts
Yes, you can customize the alerts by setting the global configuration values. In global config window, search for notificationthreshold; you'll get all the gc (.notificationthreshold) that you can set as per your requirement to get alerts. --Sanjay -Original Message- From: Chitra Manjunath [mailto:chitra_manjun...@infosys.com] Sent: Tuesday, July 23, 2013 3:42 PM To: users@cloudstack.apache.org Subject: Alerts Hi Can I able to customize the Alerts? Like I should get the alert when storage reaches the 85% of threshold value or Cpu utilization exceeds the 85% of threshold or No of snapshots per user exceeds. Thanks regards Chitra.M CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e- mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***
RE: Can't delete template for CloudStack
Wait till the template gets downloaded completely, once it gets done you'll get an option to delete it in the template detailView window. --Sanjay -Original Message- From: Aslan Lin [mailto:technologymess...@yahoo.cn] Sent: Thursday, July 04, 2013 7:08 PM To: cloudstackEnglish Subject: Can't delete template for CloudStack Hi everyone: I made a mistake when register template, I select wrong OS type for my template (windows xp instand of Ubuntu). Then I can't delete the template and the message is Please specify a template that is not currently being downloaded. Following with the log from the management server: 2013-07-04 21:22:43,029 DEBUG [storage.download.DownloadListener] (Timer-3:null) Scheduling timeout at 3 ms, template=Windows XP at host nfs://172.24.1.18/secondaryStorage 2013-07-04 21:22:43,392 DEBUG [agent.transport.Request] (Timer-3:null) Seq 4-2010846143: Sending { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 100011, [{storage.DownloadProgressCommand:{jobId:e67e76dd- 2cb0-4fa8-96d2- a5ad9f55606a,request:GET_STATUS,hvm:true,description:32bit, maxDownloadSizeInBytes:53687091200,id:203,resourceType:TEMPLAT E,url:http://xxx.xxx.xxx.229:443/ mytemplate.qcow2,format:QCOW2,accountId:2,name:203-2- ae9cbb73-21a4-32ba-a9f5- 977ef4cea343,secUrl:nfs://172.24.1.18/secondaryStorage,wait:0}}] } 2013-07-04 21:22:43,441 DEBUG [agent.transport.Request] (AgentManager- Handler-15:null) Seq 4-2010846143: Processing: { Ans: , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 10, [{storage.DownloadAnswer:{jobId:e67e76dd-2cb0-4fa8-96d2- a5ad9f55606a,downloadPct:100,errorString:Download success, starting install ,downloadStatus:DOWNLOAD_IN_PROGRESS,downloadPath:/mnt/S ecStorage/6446e243-2bfa-34c0-b21d- f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_,installP ath:template/tmpl//2/203,templateSize:0,templatePhySicalSize:0,res ult:false,details:Download success, starting install ,wait:0}}] } 2013-07-04 21:22:53,444 DEBUG [agent.transport.Request] (Timer-3:null) Seq 4-2010846144: Sending { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 100011, [{storage.DownloadProgressCommand:{jobId:e67e76dd- 2cb0-4fa8-96d2- a5ad9f55606a,request:GET_STATUS,hvm:true,description:32bit, maxDownloadSizeInBytes:53687091200,id:203,resourceType:TEMPLAT E,url:http://xxx.xxx.xxx.229:443/ mytemplate.qcow2,format:QCOW2,accountId:2,name:203-2- ae9cbb73-21a4-32ba-a9f5- 977ef4cea343,secUrl:nfs://172.24.1.18/secondaryStorage,wait:0}}] } 2013-07-04 21:22:53,494 DEBUG [agent.transport.Request] (AgentManager- Handler-8:null) Seq 4-2010846144: Processing: { Ans: , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 10, [{storage.DownloadAnswer:{jobId:e67e76dd-2cb0-4fa8-96d2- a5ad9f55606a,downloadPct:100,errorString:Download success, starting install ,downloadStatus:DOWNLOAD_IN_PROGRESS,downloadPath:/mnt/S ecStorage/6446e243-2bfa-34c0-b21d- f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_,installP ath:template/tmpl//2/203,templateSize:0,templatePhySicalSize:0,res ult:false,details:Download success, starting install ,wait:0}}] }2013-07- 04 21:23:03,496 DEBUG [agent.transport.Request] (Timer-3:null) Seq 4- 2010846145: Sending { Cmd , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 100011, [{storage.DownloadProgressCommand:{jobId:e67e76dd-2cb0- 4fa8-96d2- a5ad9f55606a,request:GET_STATUS,hvm:true,description:32bit, maxDownloadSizeInBytes:53687091200,id:203,resourceType:TEMPLAT E,url:http://xxx.xxx.xxx.229:443/ mytemplate.qcow2,format:QCOW2,accountId:2,name:203-2- ae9cbb73-21a4-32ba-a9f5- 977ef4cea343,secUrl:nfs://172.24.1.18/secondaryStorage,wait:0}}] }2013-07-04 21:23:03,545 DEBUG [agent.transport.Request] (AgentManager- Handler-1:null) Seq 4-2010846145: Processing: { Ans: , MgmtId: 159090355256435, via: 4, Ver: v1, Flags: 10, [{storage.DownloadAnswer:{jobId:e67e76dd-2cb0-4fa8-96d2- a5ad9f55606a,downloadPct:100,errorString:Download success, starting install ,downloadStatus:DOWNLOAD_IN_PROGRESS,downloadPath:/mnt/S ecStorage/6446e243-2bfa-34c0-b21d- f42e1f65aa9f/template/tmpl/2/203/dnld874128138275112587tmp_,installP ath:template/tmpl//2/203,templateSize:0,templatePhySicalSize:0,res ult:false,details:Download success, starting install ,wait:0}}] } I don't know how to fix it. Please help me, thank.
RE: Identifying a VM's ROOT disk offering via the database
Andy, If you are deploying a VM from an ISO, the DATA DISK you select becomes the ROOT DISK for that VM and if you are deploying a VM from a template, then the size of template becomes the size of ROOT DISK and you can select additional DISK as DATA DISK from disk offering for the VM. --Sanjay -Original Message- From: Andy Coates [mailto:andy.coa...@gmail.com] Sent: Monday, June 24, 2013 6:33 PM To: users@cloudstack.apache.org Subject: Identifying a VM's ROOT disk offering via the database Hey, Does anyone know where in the database you can find out what Disk Offering a VM's ROOT disk is based on? To follow on from that, if you made a template from a new VM (via ISO image) that, for example, used MyDiskOfferingA, would further instances of that template also use the same Disk Offering (as you cannot change the ROOT disk offering from a template instantiation)? The templates assign the same disk size, I'm just not sure how it knows if it's a specific Disk Offering or not. Thanks, Andy.