cloudstack 4.02 + kvm ,安装成功后,无法添加主机。
您好: cloudstack 4.02 + kvm ,安装成功后,无法添加主机。后台报如下的错误: 盼解决。 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) We are good, no orphan management server msid in host table is found INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) Found 1 inactive management server node based on timestamp INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) management server node msid: 165064839827455, name: cloudstack.sec.com, service ip: 169.254.0.1, version: 4.0.2.20130616093812 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:) Trying to connect to 169.254.0.1 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:) Notifying management server join event took 109 ms INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-6:) Trying to add a new host at http://10.32.2.173 in data center 1 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-6:) Unable to find the server resources at http://10.32.2.173 WARN [api.commands.AddHostCmd] (catalina-exec-6:) Exception: com.cloud.exception.DiscoveryException: Unable to add the host at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737) at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544) at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138) at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544) at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423) at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312) at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) WARN [cloud.api.ApiDispatcher] (catalina-exec-6:) class com.cloud.api.ServerApiException : Unable to add the host cloudstackfqa2013
Re: Shared VLAN allocation for guest network on advanced zone?
Shared networks are *only* available in advanced zones. The UI is slightly confusing, though. You cannot create shared networks under the Network tab, rather you need to create them in Infra Zones (select the zone) Physical Network (select it) Guest Network click Add guest network. A shared network can be shared by multiple accounts, but the virtual router for a shared network does not do any routing; you need to set up your own router for the VLAN. Best regards, Kirk On 07/15/2013 08:55 PM, Indra Pramana wrote: Hi Kirk, Good day to you, and thank you for your e-mail. Can I used shared VLAN for guest networks in an advanced zone network configuration? I tried to create a new guest network via the Cloudstack GUI under Network Guest networks Add guest network but I can't add a shared guest network. Under the Network Offering field, only DefaultIsolatedNetworkOfferingWithSourceNatService is available to be used, despite having a lot of other types of network offerings under Service Offerings Network Offerings. Or do I need to switch to basic zone network? I really don't want to lose the features which are only available in advanced zone network, such as virtual router and firewalls, etc. Looking forward to your reply, thank you. Cheers. On Tue, Jul 16, 2013 at 11:37 AM, Kirk Kosinski kirkkosin...@gmail.com mailto:kirkkosin...@gmail.com wrote: Hi, having isolated networks share VLANs would defeat the purpose of an isolated network. If the per zone VLAN count is a major concern, consider using shared networks instead. If you definitely want to use isolated networks, you can add additional zones since guest networks don't go across zones. Be careful when planning VLAN capacity since your switch or even hypervisors may not be able to handle anywhere close to 4096 VLANs. Some switches can only do 10% of that, and it's even less for some hypervisors (e.g. old XenServer versions, and even the latest only supports 800 VLANs). Definitely check with the vendor or docs to find the real versus theoretical maximum. Best regards, Kirk On 07/15/2013 08:07 PM, Indra Pramana wrote: Dear all, It seems that in CloudStack's advanced network zone configuration, we need to prepare one isolated network VLAN for each guest network for customers. My concern is that this will severely limit the number of customers we can have within the zone, since we have a limitation of the number of VLANs we can create on the switch level. My switch can only support up to 4,096 VLANs maximum. Is there a way for us to configure shared VLAN for the users' guest network? Or is it only available on basic network zone configuration? Looking forward to your reply, thank you. Cheers.
RE: Windows Server 2008 Template
Kirk is absolutely right, we always set this flag in the sysprep answer file, regardless of Hypervisor type. Regards Geoff Higginbottom D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581 geoff.higginbot...@shapeblue.com -Original Message- From: Kirk Kosinski [mailto:kirkkosin...@gmail.com] Sent: 16 July 2013 02:10 To: users@cloudstack.apache.org Cc: Ian Duffy Subject: Re: Windows Server 2008 Template If the hypervisor tools or drivers are not working after the template is deployed, try enabling PersistAllDeviceInstalls in the sysprep answer file. http://technet.microsoft.com/en-us/library/cc722095%28WS.10%29.aspx Kirk On 07/15/2013 12:00 AM, Ian Duffy wrote: Hi Guys, Thanks for the replies. It seems Kirk(Jantzer) was correct. For whatever reason when I put the xen tools into the template it got a link-local address. When I placed them to install with the sysprep answer file it worked as expected. Thanks! Ian On 15 July 2013 01:45, Kirk Jantzer kirk.jant...@gmail.com wrote: Ian - As the other Kirk said (I don't get to say that often :-P), if it's getting that kind of IP, it could mean the NIC drivers aren't getting installed correctly. I've found Windows works better in CS when you run post scripts that are kicked off via a sysprep answer file, rather than just wrapping things up in an image. On Sun, Jul 14, 2013 at 6:58 PM, Kirk Kosinski kirkkosin...@gmail.comwrote: Hi, Ian. Is it getting an 169.254.x.x IP? If so, it means it cannot get an IP via DHCP. In this case, try setting the IP manually to the IP it should have, then try to diagnose network connectivity (ping virtual router, ping other VMs, etc.). Best regards, Kirk On 07/14/2013 03:39 PM, Ian Duffy wrote: Hi, I'm using Cloudstack 4.1 and Xenserver 6.0.2. I Installed windows server 2008 R2 with xenserver tools and cloud.com VM instance tools. syspreped it with Enter System out of box experience + Generalize. Shutdown the machine and created a template. I created an instance using the template and the instance came up but: 1) It had a different IP address to the one given in Cloudstack 2) No gateway was set Any idea why this is happening and how to fix it? Thanks, Ian -- Regards, Kirk Jantzer c: (678) 561-5475 http://about.met/kirkjantzer 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.
How to delete the secondary storage ?
Dear all, When i delete a secondary storage , i find the error info is Can not delete this secondary storage since it contains private templates That private templates are system templates , which installed by using cloud-install-sys-tmplt. However, i can't delete those templates also,so how to do it successfully ? Thanks!
Re: Windows Server 2008 Template
On Jul 15, 2013, at 9:10 PM, Kirk Kosinski kirkkosin...@gmail.com wrote: If the hypervisor tools or drivers are not working after the template is deployed, try enabling PersistAllDeviceInstalls in the sysprep answer file. http://technet.microsoft.com/en-us/library/cc722095%28WS.10%29.aspx That sounds like we should have a black magic chapter in our troubleshooting section. Kirk On 07/15/2013 12:00 AM, Ian Duffy wrote: Hi Guys, Thanks for the replies. It seems Kirk(Jantzer) was correct. For whatever reason when I put the xen tools into the template it got a link-local address. When I placed them to install with the sysprep answer file it worked as expected. Thanks! Ian On 15 July 2013 01:45, Kirk Jantzer kirk.jant...@gmail.com wrote: Ian - As the other Kirk said (I don't get to say that often :-P), if it's getting that kind of IP, it could mean the NIC drivers aren't getting installed correctly. I've found Windows works better in CS when you run post scripts that are kicked off via a sysprep answer file, rather than just wrapping things up in an image. On Sun, Jul 14, 2013 at 6:58 PM, Kirk Kosinski kirkkosin...@gmail.comwrote: Hi, Ian. Is it getting an 169.254.x.x IP? If so, it means it cannot get an IP via DHCP. In this case, try setting the IP manually to the IP it should have, then try to diagnose network connectivity (ping virtual router, ping other VMs, etc.). Best regards, Kirk On 07/14/2013 03:39 PM, Ian Duffy wrote: Hi, I'm using Cloudstack 4.1 and Xenserver 6.0.2. I Installed windows server 2008 R2 with xenserver tools and cloud.com VM instance tools. syspreped it with Enter System out of box experience + Generalize. Shutdown the machine and created a template. I created an instance using the template and the instance came up but: 1) It had a different IP address to the one given in Cloudstack 2) No gateway was set Any idea why this is happening and how to fix it? Thanks, Ian -- Regards, Kirk Jantzer c: (678) 561-5475 http://about.met/kirkjantzer
Re: Issue with secondary storage VM
Charles Moulliard ch007m@... writes: What can I do ? On Wed, Jan 30, 2013 at 7:05 PM, Charles Moulliard ch007m@... wrote: Message just appears after creating the new template in the web console and reappears if I try to create a new template. Status in the screen of the template is empty ... Is there a workaround ? Charles Moulliard Apache Committer / Sr. Enterprise Architect (RedHat) Twitter : at cmoulliard | Blog : Dear Charles, How did you resolved this issue. I am facing the same and is stuck. Please guide me. Regards, Ramzana
Created template exception !
Hi all, I'm using Cloudstack 4.1 and Xenserver 6.0.2. 1. When creating the template, generated on the SSVM directory reads as follows, [root@CS-M01 234]#ls 0d0d2fe9-425a-b003-5114-9e69d84c71dc template.properties [root@CS-M01 234]# cd 0d0d2fe9-425a-b003-5114-9e69d84c71dc/ [root@CS-M01 0d0d2fe9-425a-b003-5114-9e69d84c71dc]# ls a2038d26-bf87-4d02-8c4c-b27502790301.vhd a2038d26-bf87-4d02-8c4c-b27502790301.vhd files and template.properties is not in the same layer, the application how to fix it . Thanks
GUI vs API
Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett CEO [Description: Mail Logo Bottom Align] D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.commailto:giles.sir...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com/ | Twitter:@shapeBluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS Apache CloudStack Bootcamp training courses 10/11 July, Bangalore, Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 21/22 August, Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 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: Rebuilding management server
Hi Todd, Thanks for the help. I executed the steps as you mentioned above but that did not help. Still I get same error message. But I can do ping, telnet ports 22, 80 and 443 on XS hosts from CS. Thanks Leeno On Tue, Jul 16, 2013 at 5:12 PM, Todd Pigram t...@toddpigram.com wrote: Did you remove the Tags on each XenServer host prior to starting? Management Controller Failure and Replacement https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30755366 Edit Pagehttps://cwiki.apache.org/confluence/pages/editpage.action?pageId=30755366 https://cwiki.apache.org/confluence/pages/listpages.action?key=CLOUDSTACK Browse Spacehttps://cwiki.apache.org/confluence/pages/listpages.action?key=CLOUDSTACK https://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=CLOUDSTACKfromPageId=30755366 Add Pagehttps://cwiki.apache.org/confluence/pages/createpage.action?spaceKey=CLOUDSTACKfromPageId=30755366 https://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=CLOUDSTACKfromPageId=30755366 Add Newshttps://cwiki.apache.org/confluence/pages/createblogpost.action?spaceKey=CLOUDSTACKfromPageId=30755366 In setting up your cloud, you should have a backup routine for your controller. The most important item to back up is the MySQL databases that Cloudstack uses. A suitable backup script is attached to this page. In the even of a cloud management controller failure, the steps to replace the controller with a new one are: These instructions assume your cluster is Xenserver - Contributors using other Hypervisor OSs, please contribute. 1. Setup new management server hardware 2. Install your OS 3. Install Cloudstack, up to and including the Install Database step 4. Import your database backup 5. In Xencenter, connect to your Cloudstack host pool. 6. On each host, remove the tags on Host General Tab Tags by editing the tags and un-checking each one. 7. On the management controller, start Cloudstack 1. service cloud-management start 8. the new cloud management controller will connect to each host in the database and push out new tags and keys to each host in the pool. On Jul 16, 2013, at 1:13 AM, Leeno Jose.P.A leeno...@gmail.com wrote: After restoring the old database dump to new installation. CS is unable to contact Xenserver hosts. I getting following errors in mamangement-server.log, 2013-07-15 11:57:49,646 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-1:null) Connection to peer opened: 130602634328, ip: 192.168.10.251 2013-07-15 11:57:49,652 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-2:null) Seq 50-185008129: Forwarding null to 130602634328 2013-07-15 11:57:49,662 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-1:null) Seq 39-1272840193: Forwarding null to 130602634328 2013-07-15 11:57:49,699 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 50-185008129: Routing from 81375086018793 2013-07-15 11:57:49,699 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 50-185008129: Link is closed 2013-07-15 11:57:49,699 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-3:null) Seq 39-1272840193: Routing from 81375086018793 2013-07-15 11:57:49,700 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-3:null) Seq 39-1272840193: Link is closed 2013-07-15 11:57:49,700 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-3:null) Seq 39-1272840193: MgmtId 81375086018793: Req: Resource [Host:39] is unreachable: Host 39: Link is closed 2013-07-15 11:57:49,861 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-8:null) Seq 39--1: MgmtId 81375086018793: Req: Cancel request received 2013-07-15 11:57:49,861 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-8:null) Seq 39-1272840194: Cancelling. 2013-07-15 11:57:49,861 DEBUG [agent.manager.AgentAttache] (StatsCollector-2:null) Seq 39-1272840194: Waiting some more time because this is the current command 2013-07-15 11:57:49,862 DEBUG [agent.manager.AgentAttache] (StatsCollector-2:null) Seq 39-1272840194: Waiting some more time because this is the current command 2013-07-15 11:57:49,862 INFO [utils.exception.CSExceptionErrorCode] (StatsCollector-2:null) Could not find exception: com.cloud.exception.OperationTimedoutException in error code list for exceptions 2013-07-15 11:57:49,862 WARN [agent.manager.AgentAttache] (StatsCollector-2:null) Seq 39-1272840194: Timed out on null 2013-07-15 11:57:49,862 DEBUG [agent.manager.AgentAttache] (StatsCollector-2:null) Seq 39-1272840194: Cancelling. 2013-07-15 11:57:49,863 DEBUG [cloud.storage.StorageManagerImpl] (StatsCollector-2:null) Unable to send storage pool command to Pool[210|NetworkFilesystem] via 39 com.cloud.exception.OperationTimedoutException: Commands 1272840194 to Host 39 timed out after 3600
Cloudstack can not work with NFS which does not permit subdirectory mounting
I find that cloudstack needs to mount subdirectory of primary or secondary storage NFS. For example,if I use 192.168.1.10:/secondary as my secondary storage,cloudstack will not only mount /secondary,but also mount /secondary/template/tpml/1/3 sometimes. Now I have a storage device which does not support subdirectory mounting,so if cloudstack use it as its primary/secondary storage,the system vms can not start. I want to know how to deal with the problem.
Re: host node reboots by itself and keeps waiting for umount.
I don't think reboot host node is a good idea,host node always can not reboot normally in non-maintenance mode. -- Original -- From: Dean Kamalidean.kam...@gmail.com; Date: Tue, Jul 16, 2013 09:33 PM To: usersusers@cloudstack.apache.org; Subject: Re: host node reboots by itself and keeps waiting for umount. to me it sounds like your host is losing connectivity to primary storage, which makes cloud stack management server start to think that vms are stopped / frozen which triggers it to reboot the host to resolve such issue. On Tue, Jul 16, 2013 at 9:03 AM, WXR 1485739...@qq.com wrote: I find that my cloudstack host node reboots by itself sometimes. I think the reboot message may be sent by management or agent service. And if the host node reboots by itself,it always stops at this line: umount.fs /mnt/1edaca6a-b5dc-414d-90f3-0e0ddc6092d0 device is busy [failed] 1.Why does the host node reboot by itself,how to avoid it? 2.How to let cloudstack host node reboot normally,it often stops at umount failed line.
Re: GUI vs API
At least , I could not recall any features at this moment which do not have UI support . There could be some restrictions though on the UI as you would know like launching/deleting multiple instances simultaneously. Thanks, Pranav On Tue, Jul 16, 2013 at 5:45 PM, Giles Sirett giles.sir...@shapeblue.comwrote: Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett *CEO* [image: Description: Mail Logo Bottom Align] D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS *Apache CloudStack Bootcamp training courses* 10/11 July, Bangalore, Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 21/22 August, Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 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: GUI vs API
Assign a template to specific user is not available via UI and only available via API On Tue, Jul 16, 2013 at 10:50 AM, Radhika Puthiyetath radhika.puthiyet...@citrix.com wrote: IPv6 support. I am not sure whether the UI is in yet. -Original Message- From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Tuesday, July 16, 2013 8:15 PM To: users@cloudstack.apache.org Subject: Re: GUI vs API At least , I could not recall any features at this moment which do not have UI support . There could be some restrictions though on the UI as you would know like launching/deleting multiple instances simultaneously. Thanks, Pranav On Tue, Jul 16, 2013 at 5:45 PM, Giles Sirett giles.sir...@shapeblue.com wrote: Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett *CEO* [image: Description: Mail Logo Bottom Align] D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS *Apache CloudStack Bootcamp training courses* 10/11 July, Bangalore, Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 21/22 August, Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 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: GUI vs API
IPV6 support is already there and was added long time back (check the quick install wizard and adding a guest network dialog box) but yeah assigning a template to a specific user is probably possibly via an API . On Tue, Jul 16, 2013 at 8:23 PM, Dean Kamali dean.kam...@gmail.com wrote: Assign a template to specific user is not available via UI and only available via API On Tue, Jul 16, 2013 at 10:50 AM, Radhika Puthiyetath radhika.puthiyet...@citrix.com wrote: IPv6 support. I am not sure whether the UI is in yet. -Original Message- From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Tuesday, July 16, 2013 8:15 PM To: users@cloudstack.apache.org Subject: Re: GUI vs API At least , I could not recall any features at this moment which do not have UI support . There could be some restrictions though on the UI as you would know like launching/deleting multiple instances simultaneously. Thanks, Pranav On Tue, Jul 16, 2013 at 5:45 PM, Giles Sirett giles.sir...@shapeblue.com wrote: Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett *CEO* [image: Description: Mail Logo Bottom Align] D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS *Apache CloudStack Bootcamp training courses* 10/11 July, Bangalore, Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 21/22 August, Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 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.
Thank you Apache community !
Hello community , Let me take the opportunity to thank each one you in the Apache CloudStack community for your valuable contributions. It has been a pleasure working with you all and unfortunately I have quit my $dayjob for pursuing my higher studies in the US which means that I might not get sufficient time to contribute to Apache CloudStack. I have been involved in developing the UI component of CloudStack and being a committer , I feel it's my responsibility to help the community out with whatsoever queries one might have. You might get to see delayed responses from my side in case your queries are addressed directly to the UI component of CloudStack.I might not get time to code a feature but I can surely try to help someone with the UI code in case someone's interesting in developing some UI module. Otherwise, if not myself , I'll try to make sure that there's someone who is able to cater to your queries. Thanks, Pranav
RE: GUI vs API
Hi Giles, Are you talking about the 4.1 release ? -IPv6 -Add/Remove NIC -Regions -Resetting SSHKey for VM Experts, please correct me. Thanks -Radhika From: Giles Sirett [mailto:giles.sir...@shapeblue.com] Sent: Tuesday, July 16, 2013 5:45 PM To: users@cloudstack.apache.org Subject: GUI vs API Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett CEO [Description: Mail Logo Bottom Align] D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.commailto:giles.sir...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com/ | Twitter:@shapeBluehttps://twitter.com/#!/shapeblue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS Apache CloudStack Bootcamp training courses 10/11 July, Bangalore, Indiahttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 21/22 August, Londonhttp://www.shapeblue.com/cloudstack-bootcamp-training-course/ 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: CloudStack 4.1.0 package repository for Ubuntu 13.04 (raring)?
I _think_ that the 12.04 packages should just work for 13.04. I know of no reason that they shouldn't, but I haven't personally tested and YMMV. --David On Tue, Jul 16, 2013 at 9:45 AM, Indra Pramana in...@sg.or.id wrote: Dear all, On the installation guide below: http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Installation_Guide/configure-package-repository.html It is mentioned that only Cloudstack 4.1.0 package repository for Ubuntu 12.04 LTS (precise) are being built at this time. May I know whether there's similar package repository for Ubuntu 13.04 (raring)? Looking forward to your reply, thank you. Cheers.
Re: openldap and cloudstack
On 15-Jul-2013, at 9:05 PM, Dean Kamali dean.kam...@gmail.commailto:dean.kam...@gmail.com wrote: okay, I have been trying to excite the following in my browser http://10.0.10.5:8080/client/api?command=ldapConfighostname=10.0.10.43searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorpqueryfilter=%28%26%28uid%3D%25u%29%29binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorpbindpass=passwordport=389response=json http://10.0.10.5:8080/client/api?command=ldapConfighostname=10.0.10.43searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorpqueryfilter=%28%26%28uid%3D%25u%29%29binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorpbindpass=rootbootport=389response=json where 10.0.10.5 is my CloudStack Management server and 10.0.10.43 is the OpenLDAP server The response in the browser is { ldapconfigresponse : {errorcode:401,errortext:unable to verify user credentials and/or request signature} } Any ideas on what do I need to check? Hi Dean, I just setup CloudStack 4.1 to use Active Directory via OpenLDAP proxies and it works fine. One thing that I did differently is to use CloudMonkey CLI to add the LDAP configuration. $ cloudmonkey cloudmonkey api ldapConfig hostname=1.2.3.4 searchbase=DC=XXX,DC=LOCAL queryfilter=(uid=%u) binddn=CN=XXX,DC=XXX,DC=LOCAL bindpass=1.2.3.4 port=389 ldapconfig: binddn = CN= hostname = 1.2.3.4 port = false queryfilter = (uid=%u) searchbase = DC=XXX,DC=LOCAL I assumed that CloudStack would automatically populate the user entry on successful authentication which it did not. You need to create an identical user in CloudStack else authentication will fail. The other thing is that CloudStack allows only one ldap server to connect to. Will need to use a LB in front of the LDAP servers in case you need HA for authentication. Hth. @shankerbalan Thanks On Mon, Jul 15, 2013 at 11:35 AM, Dean Kamali dean.kam...@gmail.commailto:dean.kam...@gmail.com wrote: In fact, I will set it up today, and let you guys know On Mon, Jul 15, 2013 at 11:33 AM, Gavin Henry ghe...@suretec.co.ukmailto:ghe...@suretec.co.ukwrote: Installation of OpenLDAP: http://imduffy15.blogspot.ie/2013/06/setting-up-openldap-server.html Hi all, If you're doing this for a production system please don't use any distro bundled version of OpenLDAP especially on Red Hat and CentOS distros. Debian isn't too bad and either is Ubuntu. Please get a proper up to date version from: http://ltb-project.org/wiki/download Thanks, Gavin. (ghe...@openldap.org) -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghe...@suretec.co.uk Open Source. Open Solutions(tm). http://www.suretecsystems.com/ Suretec Systems is a limited company registered in Scotland. Registered number: SC258005. Registered office: 24 Cormack Park, Rothienorman, Inverurie, Aberdeenshire, AB51 8GL. Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html Do you know we have our own VoIP provider called SureVoIP? See http://www.surevoip.co.uk Did you see our API? http://www.surevoip.co.uk/api -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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.
[Cloudstack] Networking Offering displayed when creating an Instance
Hello Cloudstackers, I'm experiencing some odd (at least for me?) issues, that I would like to ask for your enlightenment. I've deployed Cloudstack 4.1 on a Ubuntu 12.04 LTS with the packages from repository. Everything is up and running. I can provision VMs without any issues as well. But when creating a new instance, at the Network Offering setup, I can only select DefaultIsolatedNetworkOfferingWithSourceNatService offering. Despite of having a lot more offerings in Service Offerings Network Offerings. That's preventing me from creating Shared Networks for example. I even tried created a new Network Offering myself, enabled it and all, but still I can choose it when creating a new VM. Am I missing anything ? Thank you so much. -- Bruno Oliveira Developer, Software Engineer irc: lychinus | skype: brunnop.oliveira brunnop.olive...@gmail.com
Vmware - change virtual hardware version
Hi Folks, With VMware ESXi 5.1, CloudStack is provisioning all VMs with virtual hardware version “vmx-09”. Is there a way to use version 7 or 8? Even forcing the vSphere cluster to use the version 8, all VMs are deployed from CloudStack with the vmx-09 version. Thanks for your help, Fabrice
Re: Rebuilding management server
CS startup logs, 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_1f6b4bb6 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_d54e1bb1 2013-07-16 11:25:30,702 INFO [cloud.server.ManagementServerImpl] (Timer-1:null) Startup CloudStack management server... 2013-07-16 11:25:30,707 INFO [cloud.cluster.ClusterServiceServletContainer] (Thread-18:null) Cluster service servlet container listening on port 9090 2013-07-16 11:25:31,832 DEBUG [utils.db.ConnectionConcierge] (Cluster-Heartbeat-1:null) Registering a database connection for ClusterManagerHeartBeat2 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) We are good, no orphan management server msid in host table is found 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Found 1 inactive management server node based on timestamp 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) management server node msid: 130602634328, name: cstagcms, service ip: 192.168.10.251, version: 4.1.0 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to 192.168.10.251 2013-07-16 11:25:31,860 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node joined, id:2, nodeIP:192.168.10.251 2013-07-16 11:25:33,348 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notify management server node join to listeners. 2013-07-16 11:25:33,349 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Joining node, IP: 192.168.10.251, msid: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Receive cluster alert, EventArgs: com.cloud.cluster.ClusterNodeJoinEventArgs 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Handle cluster node join alert, joined node: 192.168.10.251, msidL: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Management server node 192.168.10.251 is up, send alert 2013-07-16 11:25:33,361 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notifying management server join event took 12 ms 2013-07-16 11:25:45,450 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) HostStatsCollector is running... 2013-07-16 11:25:45,452 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running... 2013-07-16 11:25:45,467 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector is running... 2013-07-16 11:25:45,498 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-2:null) create forwarding ClusteredAgentAttache for 39 2013-07-16 11:25:45,491 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) create forwarding ClusteredAgentAttache for 50 2013-07-16 11:25:45,751 INFO [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) SSL: Handshake done 2013-07-16 11:25:45,752 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) Connection to peer opened: 130602634328, ip: 192.168.10.251 2013-07-16 11:25:45,757 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-2:null) Seq 39-282525697: Forwarding null to 130602634328 2013-07-16 11:25:45,758 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-3:null) Seq 50-1962541057: Forwarding null to 130602634328 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Routing from 81375086018793 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Link is closed 2013-07-16 11:25:45,806 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-2:null) Seq 39-282525697: MgmtId 81375086018793: Req: Resource [Host:39] is unreachable: Host 39: Link is closed Thanks Leeno On Tue, Jul 16, 2013 at 6:10 PM, Leeno Jose.P.A leeno...@gmail.com wrote: Hi Todd, Thanks for the help. I executed the steps as you mentioned above but that did not help. Still I get same error message. But I can do ping, telnet ports 22, 80 and 443 on XS hosts from CS. Thanks Leeno On Tue, Jul 16, 2013 at 5:12 PM, Todd Pigram t...@toddpigram.com wrote: Did you remove the Tags on each XenServer host prior to starting? Management Controller Failure and Replacement https://cwiki.apache.org/confluence/pages/editpage.action?pageId=30755366 Edit Pagehttps://cwiki.apache.org/confluence/pages/editpage.action?pageId=30755366 https://cwiki.apache.org/confluence/pages/listpages.action?key=CLOUDSTACK Browse Spacehttps://cwiki.apache.org/confluence/pages/listpages.action?key=CLOUDSTACK
Re: GUI vs API
Are you looking for features that even though they exist it the GUI only consistently work in the API? We come across several of those. On Jul 16, 2013, at 6:15 AM, Giles Sirett giles.sir...@shapeblue.com wrote: Does anybody know: is there a list anywhere of the CloudStack features that are ONLY available in the API (i.e. not in the GUI) Kind Regards Giles Giles Sirett CEO D: +44 20 3603 0541 | S: +44 20 3603 0540 | M: +44 796 111 2055 giles.sir...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS Apache CloudStack Bootcamp training courses 10/11 July, Bangalore, India 21/22 August, London 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.
NFS directories
Hello community, The installation documentation for CS 4.1 says to use /export *(rw,async,no_root_squash) for my options. I am having difficulties mounting the /export/primary folder on my hypervisor as a test. Syslog is reporting permisison denied on the hypervisor. The management server is Ubuntu 12.04.02 and the hard drives are attached and mounted. Any assistance? -- Brad
Re: NFS directories
[root@xenserver-01 /]# showmount -e 192.168.2.123 Export list for 192.168.2.123: /export 192.168.2.114 Restarting the service did not do anything productive. I already did an exportfs -ra before. On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali dean.kam...@gmail.com wrote: Did you restart nfs service after modifying /etc/export ? From your hypervisor run showmount -e IP_ADDR_OF_NFS what dose it show? On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber mercsni...@gmail.com wrote: Hello community, The installation documentation for CS 4.1 says to use /export *(rw,async,no_root_squash) for my options. I am having difficulties mounting the /export/primary folder on my hypervisor as a test. Syslog is reporting permisison denied on the hypervisor. The management server is Ubuntu 12.04.02 and the hard drives are attached and mounted. Any assistance? -- Brad -- Brad
Re: Thank you Apache community !
Thanks for all your help, Pranav! On Tue, Jul 16, 2013 at 9:08 AM, Pranav Saxena psb...@gmail.com wrote: Hello community , Let me take the opportunity to thank each one you in the Apache CloudStack community for your valuable contributions. It has been a pleasure working with you all and unfortunately I have quit my $dayjob for pursuing my higher studies in the US which means that I might not get sufficient time to contribute to Apache CloudStack. I have been involved in developing the UI component of CloudStack and being a committer , I feel it's my responsibility to help the community out with whatsoever queries one might have. You might get to see delayed responses from my side in case your queries are addressed directly to the UI component of CloudStack.I might not get time to code a feature but I can surely try to help someone with the UI code in case someone's interesting in developing some UI module. Otherwise, if not myself , I'll try to make sure that there's someone who is able to cater to your queries. Thanks, Pranav -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloudhttp://solidfire.com/solution/overview/?video=play *™*
RE: Thank you Apache community !
Good work Pranav! All the best for your future. -Prachi -Original Message- From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Tuesday, July 16, 2013 8:09 AM To: d...@cloudstack.apache.org; users@cloudstack.apache.org; market...@cloudstack.apache.org Subject: Thank you Apache community ! Hello community , Let me take the opportunity to thank each one you in the Apache CloudStack community for your valuable contributions. It has been a pleasure working with you all and unfortunately I have quit my $dayjob for pursuing my higher studies in the US which means that I might not get sufficient time to contribute to Apache CloudStack. I have been involved in developing the UI component of CloudStack and being a committer , I feel it's my responsibility to help the community out with whatsoever queries one might have. You might get to see delayed responses from my side in case your queries are addressed directly to the UI component of CloudStack.I might not get time to code a feature but I can surely try to help someone with the UI code in case someone's interesting in developing some UI module. Otherwise, if not myself , I'll try to make sure that there's someone who is able to cater to your queries. Thanks, Pranav
Re: Thank you Apache community !
Nice to work with Pranav. You are a great contributor, best wishes to your advanced study. -min On 7/16/13 11:27 AM, Prachi Damle prachi.da...@citrix.com wrote: Good work Pranav! All the best for your future. -Prachi -Original Message- From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Tuesday, July 16, 2013 8:09 AM To: d...@cloudstack.apache.org; users@cloudstack.apache.org; market...@cloudstack.apache.org Subject: Thank you Apache community ! Hello community , Let me take the opportunity to thank each one you in the Apache CloudStack community for your valuable contributions. It has been a pleasure working with you all and unfortunately I have quit my $dayjob for pursuing my higher studies in the US which means that I might not get sufficient time to contribute to Apache CloudStack. I have been involved in developing the UI component of CloudStack and being a committer , I feel it's my responsibility to help the community out with whatsoever queries one might have. You might get to see delayed responses from my side in case your queries are addressed directly to the UI component of CloudStack.I might not get time to code a feature but I can surely try to help someone with the UI code in case someone's interesting in developing some UI module. Otherwise, if not myself , I'll try to make sure that there's someone who is able to cater to your queries. Thanks, Pranav
Re: Thank you Apache community !
Best of luck Pranav On Tue, Jul 16, 2013 at 2:30 PM, Min Chen min.c...@citrix.com wrote: Nice to work with Pranav. You are a great contributor, best wishes to your advanced study. -min On 7/16/13 11:27 AM, Prachi Damle prachi.da...@citrix.com wrote: Good work Pranav! All the best for your future. -Prachi -Original Message- From: Pranav Saxena [mailto:psb...@gmail.com] Sent: Tuesday, July 16, 2013 8:09 AM To: d...@cloudstack.apache.org; users@cloudstack.apache.org; market...@cloudstack.apache.org Subject: Thank you Apache community ! Hello community , Let me take the opportunity to thank each one you in the Apache CloudStack community for your valuable contributions. It has been a pleasure working with you all and unfortunately I have quit my $dayjob for pursuing my higher studies in the US which means that I might not get sufficient time to contribute to Apache CloudStack. I have been involved in developing the UI component of CloudStack and being a committer , I feel it's my responsibility to help the community out with whatsoever queries one might have. You might get to see delayed responses from my side in case your queries are addressed directly to the UI component of CloudStack.I might not get time to code a feature but I can surely try to help someone with the UI code in case someone's interesting in developing some UI module. Otherwise, if not myself , I'll try to make sure that there's someone who is able to cater to your queries. Thanks, Pranav
Dhclient and Virtual Router IP changes
Does anyone have advice for how to deal with linux hosts when the virtual router gets destroyed and comes back on a different IP address? I'm no dhclient expert, having run everything in a traditional datacenter up until now with static IP's so looking for some useful advice / best practise ideas here! My experience so far is that guests no longer know their fully qualified hostname which can cause problems with agent software that has to check in with an SSL cert like puppet or a known name like teamcity. In theory something that caused dhclient to re-check for newly active dhcp servers on a regular basis would do the job for me. Nick
Deploying Virtual Appliances
What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks
Re: openldap and cloudstack
Not easily, no. However, there is work in progress to add the capability to manage LDAP accounts via CloudStack (creating a user in CloudStack would create them in LDAP). That's a Google Summer of Code student project, so it's probably not going to be out until 4.3 (end of year). On Tue, Jul 16, 2013 at 4:21 PM, Dean Kamali dean.kam...@gmail.com wrote: shanker Thank you so much, I have used CloudMonkey and worked from the first try, I haven't had much success with using the URL and browser. I'm now able to use ldap passwords to log in,for existing users in CloudStack, now the natural question follows, is there is away I could sync ldap users with CloudStack? Thank you On Tue, Jul 16, 2013 at 11:27 AM, Shanker Balan shanker.ba...@shapeblue.com wrote: On 15-Jul-2013, at 9:05 PM, Dean Kamali dean.kam...@gmail.com wrote: okay, I have been trying to excite the following in my browser http://10.0.10.5:8080/client/api? command=ldapConfighostname=10.0.10.43searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorpqueryfilter=%28%26%28uid%3D%25u%29%29binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorpbindpass=passwordport=389response=json http://10.0.10.5:8080/client/api?command=ldapConfighostname=10.0.10.43searchbase=OU%3DUsers,DC%3Dmidnetworks,DC%3Dcorpqueryfilter=%28%26%28uid%3D%25u%29%29binddn=CN%3Dadmin,DC%3Dmidnetworks,DC%3Dcorpbindpass=rootbootport=389response=json where 10.0.10.5 is my CloudStack Management server and 10.0.10.43 is the OpenLDAP server The response in the browser is { ldapconfigresponse : {errorcode:401,errortext:unable to verify user credentials and/or request signature} } Any ideas on what do I need to check? Hi Dean, I just setup CloudStack 4.1 to use Active Directory via OpenLDAP proxies and it works fine. One thing that I did differently is to use CloudMonkey CLI to add the LDAP configuration. $ cloudmonkey cloudmonkey api ldapConfig hostname=1.2.3.4 searchbase=DC=XXX,DC=LOCAL queryfilter=(uid=%u) binddn=CN=XXX,DC=XXX,DC=LOCAL bindpass=1.2.3.4 port=389 ldapconfig: binddn = CN= hostname = 1.2.3.4 port = false queryfilter = (uid=%u) searchbase = DC=XXX,DC=LOCAL I assumed that CloudStack would automatically populate the user entry on successful authentication which it did not. You need to create an identical user in CloudStack else authentication will fail. The other thing is that CloudStack allows only one ldap server to connect to. Will need to use a LB in front of the LDAP servers in case you need HA for authentication. Hth. @shankerbalan Thanks On Mon, Jul 15, 2013 at 11:35 AM, Dean Kamali dean.kam...@gmail.com wrote: In fact, I will set it up today, and let you guys know On Mon, Jul 15, 2013 at 11:33 AM, Gavin Henry ghe...@suretec.co.uk wrote: Installation of OpenLDAP: http://imduffy15.blogspot.ie/2013/06/setting-up-openldap-server.html Hi all, If you're doing this for a production system please don't use any distro bundled version of OpenLDAP especially on Red Hat and CentOS distros. Debian isn't too bad and either is Ubuntu. Please get a proper up to date version from: http://ltb-project.org/wiki/download Thanks, Gavin. (ghe...@openldap.org) -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1224 279484 M +44 (0) 7930 323266 F +44 (0) 1224 824887 E ghe...@suretec.co.uk Open Source. Open Solutions(tm). http://www.suretecsystems.com/ Suretec Systems is a limited company registered in Scotland. Registered number: SC258005. Registered office: 24 Cormack Park, Rothienorman, Inverurie, Aberdeenshire, AB51 8GL. Subject to disclaimer at http://www.suretecgroup.com/disclaimer.html Do you know we have our own VoIP provider called SureVoIP? See http://www.surevoip.co.uk Did you see our API? http://www.surevoip.co.uk/api -- Shanker Balan Managing Consultant M: +91 98860 60539 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: openldap and cloudstack
On Tue, Jul 16, 2013 at 4:21 PM, Dean Kamali dean.kam...@gmail.com wrote: shanker Thank you so much, I have used CloudMonkey and worked from the first try, I haven't had much success with using the URL and browser. I'm now able to use ldap passwords to log in,for existing users in CloudStack, now the natural question follows, is there is away I could sync ldap users with CloudStack? Thank you Take a look at the php script in this blogpost for syncing users. http://sysadminnotebook.blogspot.com/2012/03/cloudstack-ldap.html --David
Re: openldap and cloudstack
On 16-Jul-2013, at 9:25 PM, Chip Childers chip.child...@sungard.commailto:chip.child...@sungard.com wrote: Not easily, no. However, there is work in progress to add the capability to manage LDAP accounts via CloudStack (creating a user in CloudStack would create them in LDAP). That's a Google Summer of Code student project, so it's probably not going to be out until 4.3 (end of year). Yes, its good to know that CloudStack is one of the beneficiaries from GSoC this year. Looking forward to more enterprisey features for Authentication/Authorisation/Accounting making its way into CloudStack. snip the rest -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: openldap and cloudstack
On 16-Jul-2013, at 9:21 PM, Dean Kamali dean.kam...@gmail.commailto:dean.kam...@gmail.com wrote: shanker Thank you so much, I have used CloudMonkey and worked from the first try, I haven't had much success with using the URL and browser. CloudMonkey is wonderful. Never had success with the URL and browser myself. :) I'm now able to use ldap passwords to log in,for existing users in CloudStack, now the natural question follows, is there is away I could sync ldap users with CloudStack? I think David Nalley just posted a sync script in an earlier email. Let us know how that goes. I might have to do the same myself. snip rest of email -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Deploying Virtual Appliances
On 16-Jul-2013, at 9:07 PM, Caleb Call calebc...@me.commailto:calebc...@me.com wrote: What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks Just thinking out loud - import it as a template and spin an instance from it? CloudStack won't let you deploy it directly on CloudStack managed Hypervisor. -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Deploying Virtual Appliances
What type of virtual appliance are you using? What format is it provided in? We recently had a problem with XS6.1 and Netscaler .xva appliances as the xva, does not expect a cdrom drive to be attached and hangs on boot. From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] Sent: Tuesday, July 16, 2013 1:48 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances On 16-Jul-2013, at 9:07 PM, Caleb Call calebc...@me.commailto:calebc...@me.com wrote: What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks Just thinking out loud - import it as a template and spin an instance from it? CloudStack won't let you deploy it directly on CloudStack managed Hypervisor. -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Deploying Virtual Appliances
It's a Virtual Netscaler. .xva appliance. Is there a workaround for this issue? Is this issue unique to 6.1 or does it apply to 6.0.2 as well? I did try to import it as a template but was getting an error doing so (sorry, not somewhere I can grab the error or logs at the moment). Thanks On Jul 16, 2013, at 3:09 PM, Brian Galura brian.gal...@citrix.com wrote: What type of virtual appliance are you using? What format is it provided in? We recently had a problem with XS6.1 and Netscaler .xva appliances as the xva, does not expect a cdrom drive to be attached and hangs on boot. From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] Sent: Tuesday, July 16, 2013 1:48 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances On 16-Jul-2013, at 9:07 PM, Caleb Call calebc...@me.commailto:calebc...@me.com wrote: What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks Just thinking out loud - import it as a template and spin an instance from it? CloudStack won't let you deploy it directly on CloudStack managed Hypervisor. -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Deploying Virtual Appliances
On 16-Jul-2013, at 10:09 PM, Brian Galura brian.gal...@citrix.com wrote: What type of virtual appliance are you using? What format is it provided in? We recently had a problem with XS6.1 and Netscaler .xva appliances as the xva, does not expect a cdrom drive to be attached and hangs on boot. That sounds very much like the FreeBSD issue that I had and is apparently a regression with XS 6.1 - The CDROM has to be disconnected before it could boot. Considering that Netscaler runs on FreeBSD, I guess that was expected. -- @shankerbalam M: +91 98860 60539 | O: +91 (80) 67935867 shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: Deploying Virtual Appliances
The issue for the xva is only present for XS6.1 we have netscalers running on 6.0.2 with cloudstack just fine. I think the important thing is when importing to cloudstack you should use Other 64 as the OS type. We are using 10.76 for the netscaler -Original Message- From: Caleb Call [mailto:calebc...@me.com] Sent: Tuesday, July 16, 2013 2:17 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances It's a Virtual Netscaler. .xva appliance. Is there a workaround for this issue? Is this issue unique to 6.1 or does it apply to 6.0.2 as well? I did try to import it as a template but was getting an error doing so (sorry, not somewhere I can grab the error or logs at the moment). Thanks On Jul 16, 2013, at 3:09 PM, Brian Galura brian.gal...@citrix.com wrote: What type of virtual appliance are you using? What format is it provided in? We recently had a problem with XS6.1 and Netscaler .xva appliances as the xva, does not expect a cdrom drive to be attached and hangs on boot. From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] Sent: Tuesday, July 16, 2013 1:48 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances On 16-Jul-2013, at 9:07 PM, Caleb Call calebc...@me.commailto:calebc...@me.com wrote: What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks Just thinking out loud - import it as a template and spin an instance from it? CloudStack won't let you deploy it directly on CloudStack managed Hypervisor. -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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.
upgrading from CloudPlatform to CloudStack 4.1
Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
re: upgrading from CloudPlatform to CloudStack 4.1
Take a backup of your database and test the upgrade process. Regards, Kristoffer Sheather Cloud Central Scale Your Data Center In The Cloud Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: k...@cloudcentral.com.au LinkedIn: | Skype: kristoffer.sheather | Twitter: http://twitter.com/kristofferjon From: Brian Galura brian.gal...@citrix.com Sent: Wednesday, July 17, 2013 7:39 AM To: users@cloudstack.apache.org users@cloudstack.apache.org Subject: upgrading from CloudPlatform to CloudStack 4.1 Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
RE: upgrading from CloudPlatform to CloudStack 4.1
I plan on doing this later today on a test installation. Ill report my results. Ive built the nonoss rpms from source using the latest code from git so it will be interesting. -Original Message- From: Kristoffer Sheather @ CloudCentral [mailto:kristoffer.sheat...@cloudcentral.com.au] Sent: Tuesday, July 16, 2013 2:41 PM To: users@cloudstack.apache.org Subject: re: upgrading from CloudPlatform to CloudStack 4.1 Take a backup of your database and test the upgrade process. Regards, Kristoffer Sheather Cloud Central Scale Your Data Center In The Cloud Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: k...@cloudcentral.com.au LinkedIn: | Skype: kristoffer.sheather | Twitter: http://twitter.com/kristofferjon From: Brian Galura brian.gal...@citrix.com Sent: Wednesday, July 17, 2013 7:39 AM To: users@cloudstack.apache.org users@cloudstack.apache.org Subject: upgrading from CloudPlatform to CloudStack 4.1 Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
Re: Deploying Virtual Appliances
Excellent, thank you guys! I'll give this a shot and see if this works. I might just end up standing up a piece of hardware to run Xenserver on outside of cloudstack, we'll see how this goes. Thanks On Jul 16, 2013, at 3:41 PM, Brian Galura brian.gal...@citrix.com wrote: Thanks, Kirk that's exactly right. I found a link to a KB article with screenshots just in case. http://support.citrix.com/article/CTX132014 -Original Message- From: Kirk Kosinski [mailto:kirkkosin...@gmail.com] Sent: Tuesday, July 16, 2013 2:35 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances Hi, Caleb. XenServer templates must be in VHD format before importing to CloudStack. You can import the XVA on a standalone XenServer, copy the VHD from the SR to a web server, import it to CloudStack, and deploy VMs from it. The NetScaler template seems to work fine if you are using XenServer 6.0.2. On XenServer 6.1, like Brian mentioned, it won't boot due to the VM being configured with a virtual CD-ROM drive. Best regards, Kirk On 07/16/2013 02:16 PM, Caleb Call wrote: It's a Virtual Netscaler. .xva appliance. Is there a workaround for this issue? Is this issue unique to 6.1 or does it apply to 6.0.2 as well? I did try to import it as a template but was getting an error doing so (sorry, not somewhere I can grab the error or logs at the moment). Thanks On Jul 16, 2013, at 3:09 PM, Brian Galura brian.gal...@citrix.com wrote: What type of virtual appliance are you using? What format is it provided in? We recently had a problem with XS6.1 and Netscaler .xva appliances as the xva, does not expect a cdrom drive to be attached and hangs on boot. From: Shanker Balan [mailto:shanker.ba...@shapeblue.com] Sent: Tuesday, July 16, 2013 1:48 PM To: users@cloudstack.apache.org Subject: Re: Deploying Virtual Appliances On 16-Jul-2013, at 9:07 PM, Caleb Call calebc...@me.commailto:calebc...@me.com wrote: What's the process to deploy a virtual appliance in cloudstack? I've seen lots of references to being able to do it, but can't get anything to work. I don't really care if it's monitored/managed in CS. I tried deploying this directly on the hypervisor itself, but I think the cleanup process in CS scavenges the VM. It starts up but within a minute or two, it's killed. Hypervisor is Xenserver 6.0.2 CS is 4.0 Any help is appreciated. Thanks Just thinking out loud - import it as a template and spin an instance from it? CloudStack won't let you deploy it directly on CloudStack managed Hypervisor. -- Shanker Balan Managing Consultant [cid:E7CE8425-E245-4C99-B967-713DF2967392@local] M: +91 98860 60539 shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue ShapeBlue India, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055 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: upgrading from CloudPlatform to CloudStack 4.1
Looks like this doesn't work and is known. https://issues.apache.org/jira/browse/CLOUDSTACK-2929 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) There is no upgrade path from 3.0.6.20121222035904 to 4.1.0 -Original Message- From: Brian Galura [mailto:brian.gal...@citrix.com] Sent: Tuesday, July 16, 2013 2:53 PM To: users@cloudstack.apache.org Subject: RE: upgrading from CloudPlatform to CloudStack 4.1 I plan on doing this later today on a test installation. Ill report my results. Ive built the nonoss rpms from source using the latest code from git so it will be interesting. -Original Message- From: Kristoffer Sheather @ CloudCentral [mailto:kristoffer.sheat...@cloudcentral.com.au] Sent: Tuesday, July 16, 2013 2:41 PM To: users@cloudstack.apache.org Subject: re: upgrading from CloudPlatform to CloudStack 4.1 Take a backup of your database and test the upgrade process. Regards, Kristoffer Sheather Cloud Central Scale Your Data Center In The Cloud Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: k...@cloudcentral.com.au LinkedIn: | Skype: kristoffer.sheather | Twitter: http://twitter.com/kristofferjon From: Brian Galura brian.gal...@citrix.com Sent: Wednesday, July 17, 2013 7:39 AM To: users@cloudstack.apache.org users@cloudstack.apache.org Subject: upgrading from CloudPlatform to CloudStack 4.1 Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
RE: upgrading from CloudPlatform to CloudStack 4.1
What about upgrading to 4.0 first? I seem to recall a possible need for that on the dev list, but can't find it. Original message From: Brian Galura brian.gal...@citrix.com Date: 07/16/2013 7:24 PM (GMT-05:00) To: users@cloudstack.apache.org Subject: RE: upgrading from CloudPlatform to CloudStack 4.1 Looks like this doesn't work and is known. https://issues.apache.org/jira/browse/CLOUDSTACK-2929 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) There is no upgrade path from 3.0.6.20121222035904 to 4.1.0 -Original Message- From: Brian Galura [mailto:brian.gal...@citrix.com] Sent: Tuesday, July 16, 2013 2:53 PM To: users@cloudstack.apache.org Subject: RE: upgrading from CloudPlatform to CloudStack 4.1 I plan on doing this later today on a test installation. Ill report my results. Ive built the nonoss rpms from source using the latest code from git so it will be interesting. -Original Message- From: Kristoffer Sheather @ CloudCentral [mailto:kristoffer.sheat...@cloudcentral.com.au] Sent: Tuesday, July 16, 2013 2:41 PM To: users@cloudstack.apache.org Subject: re: upgrading from CloudPlatform to CloudStack 4.1 Take a backup of your database and test the upgrade process. Regards, Kristoffer Sheather Cloud Central Scale Your Data Center In The Cloud Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: k...@cloudcentral.com.au LinkedIn: | Skype: kristoffer.sheather | Twitter: http://twitter.com/kristofferjon From: Brian Galura brian.gal...@citrix.com Sent: Wednesday, July 17, 2013 7:39 AM To: users@cloudstack.apache.org users@cloudstack.apache.org Subject: upgrading from CloudPlatform to CloudStack 4.1 Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
RE: CS4.1 S3 AWS, problem with End Point Reference
@prachi: we don't need to register the users for the EC2 query interface correct ? enabling the service in the global config should be all it takes ? That's right. No registration needed to use Query API -Original Message- From: Sebastien Goasguen [mailto:run...@gmail.com] Sent: Tuesday, July 16, 2013 8:54 AM To: Prachi Damle Cc: mis...@vp.pl; users@cloudstack.apache.org Subject: Re: CS4.1 S3 AWS, problem with End Point Reference Michael, To be honest the S3 interface has been little used. Especially with things like Ceph, gluster and RiackCS that offer an S3 interface, it may not make sense to keep that interface. That said I am trying to look at it. @prachi: we don't need to register the users for the EC2 query interface correct ? enabling the service in the global config should be all it takes ? -Sebastien On Jul 8, 2013, at 3:16 PM, Prachi Damle prachi.da...@citrix.com wrote: Hi Michael, I haven't worked with S3 API, I have woked on EC2 only. But if you are facing any errors, I suggest to take a look at following log files under your installation: awsapi.log / catalina.out These files should show more information about why your requests fail. Prachi -Original Message- From: Michael Lukzak [mailto:mis...@vp.pl] Sent: Monday, July 08, 2013 11:53 AM To: Sebastien Goasguen Cc: users@cloudstack.apache.org; Prachi Damle Subject: Re: CS4.1 S3 AWS, problem with End Point Reference Hi! I do some steps. I installed a fresh OS and CS v4.0.2 (from RPS). After configurations (amazon ec2 and s3 are enabled, cloud-bridge configured, etc.) S3 works. When I go to adress http://[ip]:7080/awsapi/rest/AmazonS3 I got response Bad request which is good answer ;) Boto works, and I can make bucket, read and write file. When I do the same steps but I use v4.1 there is a problem with endpoint. So it seems that there is only problem with v4.1. BTW anyone has a good expierence with S3 Broswer or other similiar software? I tried use this S3 Broswer but I stuck on some error. S3 Broswer don't want to talk with custom endpoint if he looks like http://[ip]:7080/awsapi/rest/AmazonS3 So I proxied it to http://[ip] and S3 Broswer start communicating. Now I have problem with cert keys, but there is a progress :) I write some news if I go further. -- Michael Prachi, I am copying you on this thread, you might have some ideas. thanks, -sebastien On Jun 28, 2013, at 8:11 PM, Michael Lukzak mis...@vp.pl wrote: I do fresh install (I used RPMs from website). EC2 and S3 are enabled (I turned off and turned on). EC2 works, but S3 not. Reponse from boto: boto.exception.BotoServerError: BotoServerError: 500 Internal Server Error soapenv:Reason xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;soapenv:Tex t xml:lang=en-USThe service cannot be found for the endpoint reference (EPR) /awsapi/services/AmazonEC2/?max-keys=0/soapenv:Text/soapenv:Reaso n So I don't know next I should do... I should try too change hosts or serviceEndpoint in cloud-bridge.properties? But what serviceEndPoint should be? I tried to use endpoint like /awsapi/rest/AmazonS3 but still the same. Can someone reproduce this steps and check if S3 works ? Best regards, Michael Yes, I tested using boto. I run two examples from doc https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/ht m l/Installation_Guide/aws-api-examples.html EC2 test script works ok, without error. But in S3 I get a error, logs shows cze 28, 2013 11:08:44 PM org.apache.axis2.engine.AxisEngine receive SEVERE: The service cannot be found for the endpoint reference (EPR) /awsapi/services/AmazonEC2/ org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference (EPR) /awsapi/services/AmazonEC2/ I tried to use other path like as You say, but error is still the same. host=http://localhost:7080/awsapi/rest/AmazonS3 storage.root=/mnt/S3 storage.multipartDir=__multipart__uploads__ bucket.dns=false serviceEndpoint=localhost:7080 I read this doc too, (this is for older version of CS) and still no luck. https://cwiki.apache.org/CLOUDSTACK/s3-api-in-cloudstack.html Any other ideas? BTW, my CS4.1 was build from source with nonOSS. Michael On Jun 28, 2013, at 3:01 PM, Michael Lukzak mis...@vp.pl wrote: Maybe someone have idea why S3 fails with error EPR? On documentation there is nothing about EPR. I'm doing exactly like documentations says. Any clue? How do you test the service ? boto ? in your properties file it looks like the host is localhost:7080/awsapi but you tried to get awsapi/rest/AmazonS3 I think you need to fix the properties file. can you try, -sebastien Best regards, Michael Hi, I have tried to configure Amazon S3 in CS4.1 but I have a problem with one error. API AmazonEC2 works (tested), but S3 not. My steps 1) I enabled S3 API (from UI) 2) mkdir -p
Re: upgrading from CloudPlatform to CloudStack 4.1
There is no path to a CloudStack release from CloudPlatform 3.0.6. On Jul 16, 2013, at 8:08 PM, Conrad Geiger cgei...@it1solutions.com wrote: What about upgrading to 4.0 first? I seem to recall a possible need for that on the dev list, but can't find it. Original message From: Brian Galura brian.gal...@citrix.com Date: 07/16/2013 7:24 PM (GMT-05:00) To: users@cloudstack.apache.org Subject: RE: upgrading from CloudPlatform to CloudStack 4.1 Looks like this doesn't work and is known. https://issues.apache.org/jira/browse/CLOUDSTACK-2929 ERROR [cloud.upgrade.DatabaseUpgradeChecker] (Timer-1:) There is no upgrade path from 3.0.6.20121222035904 to 4.1.0 -Original Message- From: Brian Galura [mailto:brian.gal...@citrix.com] Sent: Tuesday, July 16, 2013 2:53 PM To: users@cloudstack.apache.org Subject: RE: upgrading from CloudPlatform to CloudStack 4.1 I plan on doing this later today on a test installation. Ill report my results. Ive built the nonoss rpms from source using the latest code from git so it will be interesting. -Original Message- From: Kristoffer Sheather @ CloudCentral [mailto:kristoffer.sheat...@cloudcentral.com.au] Sent: Tuesday, July 16, 2013 2:41 PM To: users@cloudstack.apache.org Subject: re: upgrading from CloudPlatform to CloudStack 4.1 Take a backup of your database and test the upgrade process. Regards, Kristoffer Sheather Cloud Central Scale Your Data Center In The Cloud Phone: 1300 144 007 | Mobile: +61 414 573 130 | Email: k...@cloudcentral.com.au LinkedIn: | Skype: kristoffer.sheather | Twitter: http://twitter.com/kristofferjon From: Brian Galura brian.gal...@citrix.com Sent: Wednesday, July 17, 2013 7:39 AM To: users@cloudstack.apache.org users@cloudstack.apache.org Subject: upgrading from CloudPlatform to CloudStack 4.1 Has anyone tried upgrading from CloudPlatform to a newer version of CloudStack? I know the deployment methods are different but will the db migrations run cleanly?
Re: NFS directories
hi, so i think you can test it in your hypervisor host do it as root mount -t nfs 192.168.2.114:/export /mnt and tell us the result. On 07/17/2013 02:02 AM, Bradley Hieber wrote: drwxr-xr-x 4 root root 4096 Jul 16 13:15 export /export drwxr-xr-x 3 root root 4096 Jul 16 13:11 primary drwxr-xr-x 4 root root 4096 Jul 11 19:45 secondary On Tue, Jul 16, 2013 at 1:56 PM, Dean Kamali dean.kam...@gmail.com wrote: what is the permissions on /export ? On Tue, Jul 16, 2013 at 1:45 PM, Bradley Hieber mercsni...@gmail.com wrote: [root@xenserver-01 /]# showmount -e 192.168.2.123 Export list for 192.168.2.123: /export 192.168.2.114 Restarting the service did not do anything productive. I already did an exportfs -ra before. On Tue, Jul 16, 2013 at 1:42 PM, Dean Kamali dean.kam...@gmail.com wrote: Did you restart nfs service after modifying /etc/export ? From your hypervisor run showmount -e IP_ADDR_OF_NFS what dose it show? On Tue, Jul 16, 2013 at 1:40 PM, Bradley Hieber mercsni...@gmail.com wrote: Hello community, The installation documentation for CS 4.1 says to use /export *(rw,async,no_root_squash) for my options. I am having difficulties mounting the /export/primary folder on my hypervisor as a test. Syslog is reporting permisison denied on the hypervisor. The management server is Ubuntu 12.04.02 and the hard drives are attached and mounted. Any assistance? -- Brad -- Brad -- Thanks, Jijun
Re: Thank you Apache community !
Thank you everyone for your wishes. They definitely mean a lot to me and I hope I am able to contribute even more till the end of time :) . Please feel free to add/contact me on Linked In - http://in.linkedin.com/pub/pranav-saxena/13/904/98 or my personal email ID's (psb...@gmail.com /prana...@andrew.cmu.edu) for any help . Thanks, Pranav On Wed, Jul 17, 2013 at 6:45 AM, Ian Duffy i...@ianduffy.ie wrote: Good Luck Pranav. Thank you for all your advice with UI modifications.
Re: Rebuilding management server
Hi Ahmad, Thanks for the mail. Telnet failed on port 443 to CS from XS hosts. I did not see any service listening on 443 on CS management server. Something wrong with management server? Thanks Leeno On Tue, Jul 16, 2013 at 11:50 PM, Ahmad Emneina aemne...@gmail.com wrote: can you check if your hosts can connect back to the management server (ping, telnet 22,443)? there might be some firewall rules in place, or routing issues, preventing this. On Tue, Jul 16, 2013 at 9:01 AM, Leeno Jose.P.A leeno...@gmail.com wrote: CS startup logs, 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_1f6b4bb6 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_d54e1bb1 2013-07-16 11:25:30,702 INFO [cloud.server.ManagementServerImpl] (Timer-1:null) Startup CloudStack management server... 2013-07-16 11:25:30,707 INFO [cloud.cluster.ClusterServiceServletContainer] (Thread-18:null) Cluster service servlet container listening on port 9090 2013-07-16 11:25:31,832 DEBUG [utils.db.ConnectionConcierge] (Cluster-Heartbeat-1:null) Registering a database connection for ClusterManagerHeartBeat2 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) We are good, no orphan management server msid in host table is found 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Found 1 inactive management server node based on timestamp 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) management server node msid: 130602634328, name: cstagcms, service ip: 192.168.10.251, version: 4.1.0 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to 192.168.10.251 2013-07-16 11:25:31,860 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node joined, id:2, nodeIP:192.168.10.251 2013-07-16 11:25:33,348 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notify management server node join to listeners. 2013-07-16 11:25:33,349 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Joining node, IP: 192.168.10.251, msid: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Receive cluster alert, EventArgs: com.cloud.cluster.ClusterNodeJoinEventArgs 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Handle cluster node join alert, joined node: 192.168.10.251, msidL: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Management server node 192.168.10.251 is up, send alert 2013-07-16 11:25:33,361 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notifying management server join event took 12 ms 2013-07-16 11:25:45,450 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) HostStatsCollector is running... 2013-07-16 11:25:45,452 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running... 2013-07-16 11:25:45,467 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector is running... 2013-07-16 11:25:45,498 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-2:null) create forwarding ClusteredAgentAttache for 39 2013-07-16 11:25:45,491 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) create forwarding ClusteredAgentAttache for 50 2013-07-16 11:25:45,751 INFO [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) SSL: Handshake done 2013-07-16 11:25:45,752 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) Connection to peer opened: 130602634328, ip: 192.168.10.251 2013-07-16 11:25:45,757 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-2:null) Seq 39-282525697: Forwarding null to 130602634328 2013-07-16 11:25:45,758 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-3:null) Seq 50-1962541057: Forwarding null to 130602634328 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Routing from 81375086018793 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Link is closed 2013-07-16 11:25:45,806 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-2:null) Seq 39-282525697: MgmtId 81375086018793: Req: Resource [Host:39] is unreachable: Host 39: Link is closed Thanks Leeno On Tue, Jul 16, 2013 at 6:10 PM, Leeno Jose.P.A leeno...@gmail.com wrote: Hi Todd, Thanks for the help. I
Re: Rebuilding management server
https://cwiki.apache.org/CLOUDSTACK/ports-used-by-cloudstack.html Port 443 is not listed there for Management server On Wed, Jul 17, 2013 at 10:59 AM, Leeno Jose.P.A leeno...@gmail.com wrote: Hi Ahmad, Thanks for the mail. Telnet failed on port 443 to CS from XS hosts. I did not see any service listening on 443 on CS management server. Something wrong with management server? Thanks Leeno On Tue, Jul 16, 2013 at 11:50 PM, Ahmad Emneina aemne...@gmail.comwrote: can you check if your hosts can connect back to the management server (ping, telnet 22,443)? there might be some firewall rules in place, or routing issues, preventing this. On Tue, Jul 16, 2013 at 9:01 AM, Leeno Jose.P.A leeno...@gmail.com wrote: CS startup logs, 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.network.guru.NiciraNvpGuestNetworkGuru_EnhancerByCloudStack_1f6b4bb6 2013-07-16 11:25:30,702 INFO [utils.component.ComponentContext] (Timer-1:null) Starting com.cloud.server.ManagementServerImpl_EnhancerByCloudStack_d54e1bb1 2013-07-16 11:25:30,702 INFO [cloud.server.ManagementServerImpl] (Timer-1:null) Startup CloudStack management server... 2013-07-16 11:25:30,707 INFO [cloud.cluster.ClusterServiceServletContainer] (Thread-18:null) Cluster service servlet container listening on port 9090 2013-07-16 11:25:31,832 DEBUG [utils.db.ConnectionConcierge] (Cluster-Heartbeat-1:null) Registering a database connection for ClusterManagerHeartBeat2 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) We are good, no orphan management server msid in host table is found 2013-07-16 11:25:31,845 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Found 1 inactive management server node based on timestamp 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) management server node msid: 130602634328, name: cstagcms, service ip: 192.168.10.251, version: 4.1.0 2013-07-16 11:25:31,846 INFO [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Trying to connect to 192.168.10.251 2013-07-16 11:25:31,860 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Heartbeat-1:null) Detected management node joined, id:2, nodeIP:192.168.10.251 2013-07-16 11:25:33,348 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notify management server node join to listeners. 2013-07-16 11:25:33,349 DEBUG [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Joining node, IP: 192.168.10.251, msid: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Receive cluster alert, EventArgs: com.cloud.cluster.ClusterNodeJoinEventArgs 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Handle cluster node join alert, joined node: 192.168.10.251, msidL: 81375086018793 2013-07-16 11:25:33,350 DEBUG [cloud.alert.ClusterAlertAdapter] (Cluster-Notification-1:null) Management server node 192.168.10.251 is up, send alert 2013-07-16 11:25:33,361 WARN [cloud.cluster.ClusterManagerImpl] (Cluster-Notification-1:null) Notifying management server join event took 12 ms 2013-07-16 11:25:45,450 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) HostStatsCollector is running... 2013-07-16 11:25:45,452 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running... 2013-07-16 11:25:45,467 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector is running... 2013-07-16 11:25:45,498 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-2:null) create forwarding ClusteredAgentAttache for 39 2013-07-16 11:25:45,491 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) create forwarding ClusteredAgentAttache for 50 2013-07-16 11:25:45,751 INFO [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) SSL: Handshake done 2013-07-16 11:25:45,752 DEBUG [agent.manager.ClusteredAgentManagerImpl] (StatsCollector-3:null) Connection to peer opened: 130602634328, ip: 192.168.10.251 2013-07-16 11:25:45,757 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-2:null) Seq 39-282525697: Forwarding null to 130602634328 2013-07-16 11:25:45,758 DEBUG [agent.manager.ClusteredAgentAttache] (StatsCollector-3:null) Seq 50-1962541057: Forwarding null to 130602634328 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Routing from 81375086018793 2013-07-16 11:25:45,804 DEBUG [agent.manager.ClusteredAgentAttache] (AgentManager-Handler-2:null) Seq 39-282525697: Link is closed 2013-07-16 11:25:45,806 DEBUG [agent.manager.ClusteredAgentManagerImpl] (AgentManager-Handler-2:null) Seq 39-282525697: MgmtId 81375086018793: Req: