[GSOC 2015] Enabling snapshots to be taken on primary storage for the ESXi hypervisor using managed storage
Hi everyone, I am Seif Eddine Jemli, a final year student in a french computer science engineering college (ENSEIRB-MATMECA). For GSOC 2015, I'm interested in looking at the JIRA Ticket *CLOUDSTACK-8341* : *Enabling snapshots to be taken on primary storage for the ESXi hypervisor using managed storage* https://issues.apache.org/jira/browse/CLOUDSTACK-8341 My full proposal can be found on Google Melange at: http://www.google-melange.com/gsoc/proposal/public/google/gsoc2015/sjemli/5717271485874176 I am relying on your advices and suggestions! Regards, Seif
[GSOC] [CLOUDSTACK-6045] Final update
Hi everyone, As you probably know, I have worked on this project whose goal is making the GUI support adding primary storage to CS that is based on storage plug-ins. https://cwiki.apache.org/confluence/display/CLOUDSTACK/Create+GUI+to+add+primary+storage+based+on+plug-ins The pencils down firm deadline was Monday the 18th. I spent yesterday preparing a presentation that summarizes my GSoC tasks from this summer. Here is the link to the presentation: http://fr.slideshare.net/seif_100/seif-mike-gsoc2014cloudstack http://www.facebook.com/l.php?u=http%3A%2F%2Ffr.slideshare.net%2Fseif_100%2Fseif-mike-gsoc2014cloudstackh=QAQEcJBPc I have worked mainly on two tasks: * The first task I worked on was adding support into CloudStack's GUI to enable admins to add Primary Storage that is based on a custom plug-in. Prior to this, admins needed to perform this task either via CloudStack's CLI, its API, or some other tool that leveraged CloudStack's CLI or its API. * The other task was adding the following GUI control to CloudStack: http://loopj.com/jquery-tokeninput/ This control replaces the need for admins to type in a comma-separated list of what CloudStack calls storage tags (we were also able to apply this control to what CloudStack calls host tags). As part of this process, I needed to create two new API calls to CloudStack and invoke them from the GUI. These API calls retrieve the current list of storage tags or host tags and populate them into the GUI control. The admin can then either select one or more existing tags and/or add new ones. Overall, this feature will make it much easier for admins to avoid input errors. GUI forms that make use of this new control include the following: -Add Primary Storage -Add Host -Add Compute Offering -Add Disk Offering Two detail views make use of this new control for editing tags: -Edit mode for a primary storage -Edit mode for a host These two tasks were completely fulfilled, and I hope that they will be useful for the CloudStack admins. I would like to thank my mentor, Mike Tutkowski, for his help and guidance during the project. I would also like to thank the Apache Cloudstack Community members for their helpful answers. The GSoC experience was very good overall, with especially a lot of learning. That being the case, I'll probably apply next year for another project. Beyond GSoC, I am thinking of modifying the URL input on the Add Primary Storage form to make it more user friendly by accepting key-value inputs. Thanks everyone, Seif
Re: [ACS4.5] GUI Question
Hi Brian, Actually what we want exactly to do is adding autocompletion to the Storage Tags field in the Create Primary Storage dialog. Ideally, it will look like this :* http://i.imgur.com/2ypzmGN.png http://i.imgur.com/2ypzmGN.png* So, suggestions of existing storage tags that match the typed letters will be listed to the user on the fly. I created an API call : *listStorageTags* that will be called by the frontend when we write letters (the letters will be sent as a GET param). The frontend will then get a *JSON list* from the backend (the list of the matching storage tags, result of the listStorageTags call) to display them as suggestions to the user. Is this doable with the current UI code architecture? thanks
Eclipse STS Checkstyle problem
Hi, I have checkstyle erros in my code, in Eclipse STS. I am using cloud-style.xml, for checkstyle configuration. But I keep getting errors like : trailing space and line contains tab characters. Are there any steps I need to follow to resolve this problem? thanks
[GSOC][CLOUDSTACK-6045] Progress Update
Hi guys, As you probably know, I am working on this project whose goal is making the GUI support adding primary storage to CS that is based on storage plug-ins ( https://cwiki.apache.org/confluence/display/CLOUDSTACK/Create+GUI+to+add+primary+storage+based+on+plug-ins ) After studying the GUI code, I have been able to change the Add Primary Storage Form as the storage guys : Mike( my mentor) and Punith wanted to. (I enclosed two screenshots). I am currently trying to make the Tags inputs (like Storage tags in the 'add primary storage' form) more user-friendly. This task include creating a new API call to get the Tags. I had a hard time at the beginning to set up Cloudstack for development and to understand the GUI code patterns. But I think that progress will be much faster now. I am all ears to feedback or suggestions that aim to improve the GUI. Thanks.
Re: [GSOC][CLOUDSTACK-6045] Progress Update
http://imgur.com/II3r0wK http://imgur.com/05p8lAG I didn't know that the mailing list doesn't accept enclosed screenshots. 2014-06-24 16:21 GMT+02:00 Seif Eddine Jemli seifeddineje...@gmail.com: Hi guys, As you probably know, I am working on this project whose goal is making the GUI support adding primary storage to CS that is based on storage plug-ins ( https://cwiki.apache.org/confluence/display/CLOUDSTACK/Create+GUI+to+add+primary+storage+based+on+plug-ins ) After studying the GUI code, I have been able to change the Add Primary Storage Form as the storage guys : Mike( my mentor) and Punith wanted to. (I enclosed two screenshots). I am currently trying to make the Tags inputs (like Storage tags in the 'add primary storage' form) more user-friendly. This task include creating a new API call to get the Tags. I had a hard time at the beginning to set up Cloudstack for development and to understand the GUI code patterns. But I think that progress will be much faster now. I am all ears to feedback or suggestions that aim to improve the GUI. Thanks.
Adding a distant KVM host
Hi, I am trying to add a distant *KVM* host. I created a *VPN* for this purpose. I have a management server and a distant host now connected via a VPN (it is a point to point VPN). so KVM host has the ip address 10.0.0.1 on the ppp0 interface (specific to the VPN) and the MS has the address 10.0.0.100 on his ppp0 interface too. (point to point VPN). I didn't know how to configure the /etc/network/interfaces on the KVM host. I couldn't try much because any error can make the server inaccessible. The problem is that I am not sure if I can put the ppp0 in the /etc/network/interfaces, because it is not a physical interface. How can I configure the network? thanks
NoClassDefFoundError while trying to access the cloudstack UI
Hi everyone, I installed the cloudstack management server using the *: apt-get install cloud-client.* I have this exception when I try to log in the UI : *exception* javax.servlet.ServletException: java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver org.apache.jasper.servlet.JspServlet.service(JspServlet.java:268) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) *root cause* java.lang.NoClassDefFoundError: org/apache/tomcat/util/descriptor/LocalResolver org.apache.jasper.xmlparser.ParserUtils.init(ParserUtils.java:82) org.apache.jasper.compiler.JspConfig.processWebDotXml(JspConfig.java:102) org.apache.jasper.compiler.JspConfig.init(JspConfig.java:238) org.apache.jasper.compiler.JspConfig.findJspProperty(JspConfig.java:294) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:112) org.apache.jasper.compiler.Compiler.compile(Compiler.java:354) org.apache.jasper.compiler.Compiler.compile(Compiler.java:334) org.apache.jasper.compiler.Compiler.compile(Compiler.java:321) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) When I try again , I get this exception : *exception* org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:161) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) *root cause* org.apache.jasper.JasperException: Unable to load class for JSP org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) *root cause* java.lang.ClassNotFoundException: org.apache.jsp.index_jsp java.net.URLClassLoader$1.run(URLClassLoader.java:217) java.security.AccessController.doPrivileged(Native Method) java.net.URLClassLoader.findClass(URLClassLoader.java:205) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:134) org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:66) org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:628) org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:149) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:340) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) javax.servlet.http.HttpServlet.service(HttpServlet.java:727) Did anyone get these exceptions before while trying *http://localhost:8080/client/ http://localhost:8080/client/*? What can be the problem? thanks in advance
Problem with Management server and connection to the databse
Hi everyone, I am having a 404 error when trying to access *http://localhost:8080/client http://localhost:8080/client, *this exception is in the management-server.log 2014-06-23 20:43:26,899 INFO [c.c.u.d.T.Transaction] (main:null) Is Data Base High Availiability enabled? Ans : false 2014-06-23 20:43:26,915 ERROR [c.c.u.d.Merovingian2] (main:null) Unable to get a new db connection *java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/cloud?* autoReconnect=trueprepStmtCacheSize=517cachePrepStmts=true at java.sql.DriverManager.getConnection(DriverManager.java:596) at java.sql.DriverManager.getConnection(DriverManager.java:215) at org.apache.commons.dbcp.DriverManagerConnectionFactory.createConnection(DriverManagerConnectionFactory.java:75) at org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(PoolableConnectionFactory.java:582) at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1188) at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106) at com.cloud.utils.db.TransactionLegacy.getStandaloneConnectionWithException(TransactionLegacy.java:204) at com.cloud.utils.db.Merovingian2.init(Merovingian2.java:68) at com.cloud.utils.db.Merovingian2.createLockMaster(Merovingian2.java:80) at com.cloud.server.LockMasterListener.init(LockMasterListener.java:33) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1045) what can be the problem? thanks.
DevCloud installation
Hi all, I am trying to install DevCloud. I donwloaded the OVA, imported it to VirtualBox then started the VM up. It asked me to login. I used the login = root and thr Password= password It strangely refuses to accept this combination. What can be the problem ? (I am on Ubuntu 13.04). thanks
[GSOC] Wiki editing rights
Hi everyone, I need to add my GSOC proposal to the wiki. So please give me the rights for it. My username is seif. Thanks, Seif
Re: [GSOC2014] Acceptance of three projects for CloudStack
Thanks everyone! Well, I am a Computer science student who is interested in Cloud Computing in general. I'll be working on a new UI for the primary storage plugins. As Mike said, many people are asking for this feature : It's really encouraging to know that you are doing something useful! You can take a look at my proposal, and I am all ears to any comment or suggestion : https://www.google-melange.com/gsoc/proposal/review/student/google/gsoc2014/sjemli/5629499534213120 This will be my first year involved in Google Summer of Code, so I am looking forward to your help and support. I hope it will be a great coding summer! __ Seif
[GSOC 2014]Create GUI to add primary storage based on plug-ins
Hi everyone, I am Seif Eddine Jemli, a Tunisian student in a french computer science engineergin college (the ENSEIRB-MATMECA grande ecole). For GSOC 2014, I'm interested in looking at the JIRA Ticket CLOUDSTACK-6045 :CreateGUI to add primary storage based on plug-in. https://issues.apache.org/jira/browse/CLOUDSTACK-6045 My full proposal can be found on Google Melange at: *http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/sjemli/5629499534213120 http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/sjemli/5629499534213120* I am relying on your advices and suggestions! Thanks, Seif
Re: [GSOC 2014]Create GUI to add primary storage based on plug-ins
Thanks Punith! 2014-03-21 10:38 GMT+01:00 Punith S punit...@cloudbyte.com: hi seif, its cool you took this up, this would make admins to create primary storage pool with respect to different storage vendors plugin using cloudstack UI. you can start off by looking at the createStoragepool api's parameters in 4.4 and above, all you have to do is when user ticks the managed storage , list the storage providers and display the additional input for params of createStoragePool api , ie. capacityIops, capacityBytes and Details map. i have already tweaked the system.js script file in 4.2 for myself, i have attached it so you can refer it. thanks. On Fri, Mar 21, 2014 at 2:23 PM, Seif Eddine Jemli seifeddineje...@gmail.com wrote: Hi everyone, I am Seif Eddine Jemli, a Tunisian student in a french computer science engineergin college (the ENSEIRB-MATMECA grande ecole). For GSOC 2014, I'm interested in looking at the JIRA Ticket CLOUDSTACK-6045 :CreateGUI to add primary storage based on plug-in. https://issues.apache.org/jira/browse/CLOUDSTACK-6045 My full proposal can be found on Google Melange at: * http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/sjemli/5629499534213120 http://www.google-melange.com/gsoc/proposal/public/google/gsoc2014/sjemli/5629499534213120 * I am relying on your advices and suggestions! Thanks, Seif -- regards, punith s cloudbyte.com
Jclouds
Hi, i am trying to implement a java code that should enable me to do simple things: deploy Virtual machines for example. I was advised to use Jclouds API, the problem is that i didn't find enough documentation on how to use Jclouds on a cloudstack private cloud . Where can i find a jclouds code on cloudstack that i can use as a start (like a tuto)? thanks