Re: Google Summer of Code 2015 is coming
Hi I am a final year student doing my Bachelors in Information Technology. Currently as my final year project I am working on Apache Cloudstack and trying to integrate VDI support into it through VNC using Gaucamole [1]. I wanted to know if anyone can be a mentor for the same. I have developed an initial system but it requires static creation of VNC screens on the VMs and user account creation and sharing with VMs through LDAP. The desktop screens are those of the VM. I wish to make the process dynamic. Following is the mail I sent to guacamole people which will help you understand the project idea I have in mind. *"* Hi, I am a final year student of Motilal Nehru National Institute of Technology, Allahabad, India pursuing my Bachelors in Information Technology. I am working on a project where we aim to provide VDI to students of our college for various lab sessions so that there programs and code are all at a single place and can be accessed from anywhere. So I created a cloud using Cloudstack and provided kind of VDI support to students using the cloud and guacamole with ldap authentication. The current architecture is as follows. I have a server machine 172.31.101.202 on which I installed Cloudstack and Openldap. I also created a few sample user accounts on this machine and added these to LDAP. I created a VM which uses ldap authentication to mount the user directories and provide as compute node for the VDI. For that I created VNC display on the VM for these ldap authenticated users. Next using guacamole and its ldap authentication I included the vnc connections to these VM. The guacamole service runs on the same machine as the cloud server. The end user logs into guacamole webservice and is shown the connection to the VM which is included in the LDAP. I further plan to create a template to this VM and spawn multiple VMs from it and putting them all behind a loadbalancer in cloudstack. So the home directory of the user remains on a central server and we just provide the Desktops using VM to the users. This is the current architecture I am having. The problem with this architecture is that manually the vnc screens have to be created for the user and then the entry has to be inserted into ldap. This causes 2 main problems:- 1) There are many vnc screens running on the VM for user even when he is not logged in, so its mere wastage of resource. 2) Manually doing the task of creating a vnc screen everytime a new user arrives and replicating it on all the VMs 3) Insecure as any user can run ldapsearch command on the VM and look at all the connections and vncpasswords for all the users defined in directory So a solution to this problem I thought might be feasible creating vnc screens on the fly for the end users i.e dynamically and not statically for the end users. The only entry in ldap would be username and home directory location and password as normally is there. There should not be any need to install the guacamole ldap schema into ldap. The vncpassword for the user will be same as his account password which can be easily implemented. The basic idea is to create a service which does this vnc screen creation on the fly and provide the port number to guacamole. The service would run on the server where the guacamole web app resides. This service will have root access to the VM. So after the user logs in the service runs *su and vncserver *command on the VM as the user and then returns the port number to the server machine. Then this port is the one to which guacamole connects the user to VM through the server. When the user logs out of the VM the service again kills the vncscreen on the VM using the command *vncserver -kill : *thus destroying the screen. This is the current architecture I was thinking to have a Virtual Desktop interface for users using guacamole, vnc and ldap on cloudstack. Currently cloudstack has no VDI service of its own as opposed to openstack. And so this thing would be highly appreciated I suppose. I hope you understood my plan and the architecture I am having in mind. If something is not clear please feel free to clear it with me. I wnt to know what do you guys at guacamole think about this. Hoping for a positive reply from your side. Regards " Iff anyone can mentor me on this project it will be greatly appreciated Thanks [1] http://guac-dev.org/ On Tue, Feb 3, 2015 at 8:20 PM, Mike Tutkowski wrote: > Just an FYI that I will probably have my student back this year. He doesn't > graduate until after summer. That being the case, I'll start thinking of > relevant work for him to do. > > On Tue, Feb 3, 2015 at 1:42 AM, Sebastien Goasguen > wrote: > > > GSoC 2015 is back. > > Time to enter your project proposals in jira if you want to mentor. > > > > Begin forwarded message: > > > > > From: Ulrich Stärk > > > Subject: Google Summer of Code 2015 is coming > > > Date: February 2, 2015 5:44:52 PM EST > > > To: ment...@community.apache.org > > > Reply-To: ment...@community
Re: Google Summer of Code 2015 is coming
@Rohit : Hi I just viewed the the link https://issues.apache.org/jira/issues/?filter=12330309 and couldnt find any projects. Did you add them somewhere else? @All : I am a student and want a mentor for my project on Cloudstack Community. Can I also post a project idea there? Regards On Wed, Feb 4, 2015 at 2:08 PM, Andrei Mikhailovsky wrote: > +1 for support of Ceph in Xenserver > > Andrei > - Original Message - > > > From: "Erik Weber" > > To: "dev" > > Sent: Wednesday, 4 February, 2015 7:35:39 AM > > Subject: Re: Google Summer of Code 2015 is coming > > > Pure Xen support would be nice :-) > > > (and Ceph in XenServer, but that's not really a CloudStack issue) > > > -- > > Erik > > > On Tue, Feb 3, 2015 at 9:42 AM, Sebastien Goasguen > > wrote: > > > > GSoC 2015 is back. > > > Time to enter your project proposals in jira if you want to mentor. > > > > > > Begin forwarded message: > > > > > > > From: Ulrich Stärk > > > > Subject: Google Summer of Code 2015 is coming > > > > Date: February 2, 2015 5:44:52 PM EST > > > > To: ment...@community.apache.org > > > > Reply-To: ment...@community.apache.org > > > > Reply-To: ment...@community.apache.org > > > > > > > > Hello PMCs (incubator Mentors, please forward this email to your > > > podlings), > > > > > > > > Google Summer of Code [1] is a program sponsored by Google > > > > allowing > > > students to spend their summer > > > > working on open source software. Students will receive stipends > > > > for > > > developing open source software > > > > full-time for three months. Projects will provide mentoring and > > > > project > > > ideas, and in return have > > > > the chance to get new code developed and - most importantly - to > > > identify and bring in new committers. > > > > > > > > The ASF will apply as a participating organization meaning > > > > individual > > > projects don't have to apply > > > > separately. > > > > > > > > If you want to participate with your project we ask you to do the > > > following things by no later than > > > > 2015-02-13 19:00 UTC (applications from organizations close a > > > > week later) > > > > > > > > 1. understand what it means to be a mentor [2]. > > > > > > > > 2. record your project ideas. > > > > > > > > Just create issues in JIRA, label them with gsoc2015, and they > > > > will show > > > up at [3]. Please be as > > > > specific as possible when describing your idea. Include the > > > > programming > > > language, the tools and > > > > skills required, but try not to scare potential students away. > > > > They are > > > supposed to learn what's > > > > required before the program starts. > > > > > > > > Use labels, e.g. for the programming language (java, c, c++, > > > > erlang, > > > python, brainfuck, ...) or > > > > technology area (cloud, xml, web, foo, bar, ...) and record them > > > > at [5]. > > > > > > > > Please use the COMDEV JIRA project for recording your ideas if > > > > your > > > project doesn't use JIRA (e.g. > > > > httpd, ooo). Contact d...@community.apache.org if you need > > > > assistance. > > > > > > > > [4] contains some additional information (will be updated for > > > > 2015 > > > shortly). > > > > > > > > 3. subscribe to ment...@community.apache.org; restricted to > > > > potential > > > mentors, meant to be used as a > > > > private list - general discussions on the public > > > d...@community.apache.org list as much as possible > > > > please). Use a recognized address when subscribing (@apache.org > > > > or one > > > of your alias addresses on > > > > record). > > > > > > > > Note that the ASF isn't accepted as a participating organization > > > > yet, > > > nevertheless you *have to* > > > > start recording your ideas now or we might not get accepted. > > > > > > > > Over the years we were able to complete hundreds of projects > > > successfully. Some of our prior > > > > students are active contributors now! Let's make this year a > > > > success > > > again! > > > > > > > > Cheers, > > > > > > > > Uli > > > > > > > > P.S.: Except for the private parts (label spreadsheet mostly), > > > > this > > > email is free to be shared > > > > publicly if you want to. > > > > > > > > [1] http://www.google-melange.com/gsoc/homepage/google/gsoc2015 > > > > [2] http://community.apache.org/guide-to-being-a-mentor.html > > > > [3] http://s.apache.org/gsoc2015ideas > > > > [4] http://community.apache.org/gsoc.html > > > > [5] http://s.apache.org/gsoclabels > > > > > > > > > > >
Re: Google Summer of Code 2015 is coming
Hi, I posted my project idea for the same above in this thread. Have also created a ticket for the same. Link is https://issues.apache.org/jira/browse/CLOUDSTACK-8227 On Fri, Feb 6, 2015 at 2:01 PM, Rohit Yadav wrote: > Tilak, I think you need to log in to see the filter. Nevertheless, here > are my proposed ideas: > > Integration Infra: https://issues.apache.org/jira/browse/CLOUDSTACK-8208 > Tooling: https://issues.apache.org/jira/browse/CLOUDSTACK-8207 > Bhyve: https://issues.apache.org/jira/browse/CLOUDSTACK-8206 > Docker: https://issues.apache.org/jira/browse/CLOUDSTACK-8205 > > If you're interested in work on them, we can discuss here or if you want > a mentor you need to propose an idea here and also create a ticket with > tag 'gsoc2015' under CloudStack project. > > > On Thursday 05 February 2015 09:41 PM, Tilak Raj Singh wrote: > >> @Rohit : Hi I just viewed the the link >> https://issues.apache.org/jira/issues/?filter=12330309 and couldnt find >> any >> projects. Did you add them somewhere else? >> >> @All : I am a student and want a mentor for my project on Cloudstack >> Community. Can I also post a project idea there? >> >> Regards >> >> On Wed, Feb 4, 2015 at 2:08 PM, Andrei Mikhailovsky >> wrote: >> >> +1 for support of Ceph in Xenserver >>> >>> Andrei >>> - Original Message - >>> >>> From: "Erik Weber" >>>> To: "dev" >>>> Sent: Wednesday, 4 February, 2015 7:35:39 AM >>>> Subject: Re: Google Summer of Code 2015 is coming >>>> >>> >>> Pure Xen support would be nice :-) >>>> >>> >>> (and Ceph in XenServer, but that's not really a CloudStack issue) >>>> >>> >>> -- >>>> Erik >>>> >>> >>> On Tue, Feb 3, 2015 at 9:42 AM, Sebastien Goasguen >>>> wrote: >>>> >>> >>> GSoC 2015 is back. >>>>> Time to enter your project proposals in jira if you want to mentor. >>>>> >>>>> Begin forwarded message: >>>>> >>>>> From: Ulrich Stärk >>>>>> Subject: Google Summer of Code 2015 is coming >>>>>> Date: February 2, 2015 5:44:52 PM EST >>>>>> To: ment...@community.apache.org >>>>>> Reply-To: ment...@community.apache.org >>>>>> Reply-To: ment...@community.apache.org >>>>>> >>>>>> Hello PMCs (incubator Mentors, please forward this email to your >>>>>> >>>>> podlings), >>>>> >>>>>> >>>>>> Google Summer of Code [1] is a program sponsored by Google >>>>>> allowing >>>>>> >>>>> students to spend their summer >>>>> >>>>>> working on open source software. Students will receive stipends >>>>>> for >>>>>> >>>>> developing open source software >>>>> >>>>>> full-time for three months. Projects will provide mentoring and >>>>>> project >>>>>> >>>>> ideas, and in return have >>>>> >>>>>> the chance to get new code developed and - most importantly - to >>>>>> >>>>> identify and bring in new committers. >>>>> >>>>>> >>>>>> The ASF will apply as a participating organization meaning >>>>>> individual >>>>>> >>>>> projects don't have to apply >>>>> >>>>>> separately. >>>>>> >>>>>> If you want to participate with your project we ask you to do the >>>>>> >>>>> following things by no later than >>>>> >>>>>> 2015-02-13 19:00 UTC (applications from organizations close a >>>>>> week later) >>>>>> >>>>>> 1. understand what it means to be a mentor [2]. >>>>>> >>>>>> 2. record your project ideas. >>>>>> >>>>>> Just create issues in JIRA, label them with gsoc2015, and they >>>>>> will show >>>>>> >>>>> up at [3]. Please be as >>>>> >>>>>> specific as possible when describing your idea. Include the >>>>>> programming >>>>>> >>>>> language
Re: Google Summer of Code 2015 is coming
Reagarding CLOUDSTACK-8266 ( https://issues.apache.org/jira/browse/CLOUDSTACK-8266?filter=12330309) I am interested in implementing this feature in cloudstack this GSOC 2015. I am a final year student from NIT Allahabad, India pursuing my Bachelors in Information Technology. I went through the youtube video link present in the project description and currently am getting familiarised with the cloudstack database to gather the metrics that can be used to support this feature. Regards On Thu, Feb 12, 2015 at 9:09 PM, Sebastien Goasguen wrote: > First, ASF needs to be selected as a mentoring organization. > > Then students will apply and send proposals for listed projects. And we > will accept or reject student proposals. We dont reject projects. > > Most likely however, if u want ur project to have a student u need to > actively look for a student. Orherwise chances are there wont be proposals > for ur project. > > -Sebastien > > > On 12 Feb 2015, at 16:08, Daan Hoogland wrote: > > > > So Sebastien, What if anything is expected of potential mentors before > > acceptance of projects? > > > >> On Thu, Feb 12, 2015 at 2:29 PM, Sebastien Goasguen > wrote: > >> > >>> On Feb 12, 2015, at 6:30 AM, Adrian Lewis > wrote: > >>> > >>> Would it be bad form to suggest ideas if we're neither student, nor a > >>> mentor? > >> > >> not bad form, but there is an implicit suggestion that if you put up an > idea in JIRA, then you will mentor a student that gets accepted for that > project. > >> > >>> > >>> -Original Message- > >>> From: Tilak Raj Singh [mailto:tila...@gmail.com] > >>> Sent: 06 February 2015 19:03 > >>> To: dev@cloudstack.apache.org > >>> Subject: Re: Google Summer of Code 2015 is coming > >>> > >>> Hi, > >>> > >>> I posted my project idea for the same above in this thread. Have also > >>> created a ticket for the same. > >>> Link is https://issues.apache.org/jira/browse/CLOUDSTACK-8227 > >>> > >>> On Fri, Feb 6, 2015 at 2:01 PM, Rohit Yadav > > >>> wrote: > >>> > >>>> Tilak, I think you need to log in to see the filter. Nevertheless, > >>>> here are my proposed ideas: > >>>> > >>>> Integration Infra: > >>>> https://issues.apache.org/jira/browse/CLOUDSTACK-8208 > >>>> Tooling: https://issues.apache.org/jira/browse/CLOUDSTACK-8207 > >>>> Bhyve: https://issues.apache.org/jira/browse/CLOUDSTACK-8206 > >>>> Docker: https://issues.apache.org/jira/browse/CLOUDSTACK-8205 > >>>> > >>>> If you're interested in work on them, we can discuss here or if you > >>>> want a mentor you need to propose an idea here and also create a > >>>> ticket with tag 'gsoc2015' under CloudStack project. > >>>> > >>>> > >>>>> On Thursday 05 February 2015 09:41 PM, Tilak Raj Singh wrote: > >>>>> > >>>>> @Rohit : Hi I just viewed the the link > >>>>> https://issues.apache.org/jira/issues/?filter=12330309 and couldnt > >>>>> find any projects. Did you add them somewhere else? > >>>>> > >>>>> @All : I am a student and want a mentor for my project on Cloudstack > >>>>> Community. Can I also post a project idea there? > >>>>> > >>>>> Regards > >>>>> > >>>>> On Wed, Feb 4, 2015 at 2:08 PM, Andrei Mikhailovsky > >>>>> > >>>>> wrote: > >>>>> > >>>>> +1 for support of Ceph in Xenserver > >>>>>> > >>>>>> Andrei > >>>>>> - Original Message - > >>>>>> > >>>>>> From: "Erik Weber" > >>>>>>> To: "dev" > >>>>>>> Sent: Wednesday, 4 February, 2015 7:35:39 AM > >>>>>>> Subject: Re: Google Summer of Code 2015 is coming > >>>>>> > >>>>>> Pure Xen support would be nice :-) > >>>>>> > >>>>>> (and Ceph in XenServer, but that's not really a CloudStack issue) > >>>>>> > >>>>>> -- > >>>>>>> Erik > >>>>>> > >>>>>> On Tue, Feb 3, 2015 at 9:42 AM, Sebastien Goasguen > >>>>>
Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
-- Forwarded message -- From: Tilak Raj Singh Date: Mon, Mar 23, 2015 at 2:02 PM Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack dev environment To: Pierre-Luc Dion Thanks Dion for your insights. I tried the new git repository you told about. I am still struggling to get the environment setup. I installed virtualbox, chef and vagrant and cloned the repository. configured three host only networks with dhcp disabled vboxnet1 192.168.22.1 vboxnet2 192.168.23.1 vboxnet3 192.168.24.1 ran vagrant_prep.sh successfully. Now when I cd into binary_installation_binary directory and do "vagrant up" I get the following error ==> xenserver: Clearing any previously set network interfaces... ==> xenserver: Preparing network interfaces based on configuration... xenserver: Adapter 1: nat xenserver: Adapter 2: hostonly ==> xenserver: Forwarding ports... xenserver: 22 => (adapter 1) ==> xenserver: Running 'pre-boot' VM customizations... ==> xenserver: Booting VM... ==> xenserver: Waiting for machine to boot. This may take a few minutes... xenserver: SSH address: 127.0.0.1: xenserver: SSH username: vagrant xenserver: SSH auth method: private key xenserver: Warning: Connection timeout. Retrying... Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period. If you look above, you should be able to see the error(s) that Vagrant had when attempting to connect to the machine. These errors are usually good hints as to what may be wrong. If you're using a custom box, make sure that networking is properly working and you're able to connect to the machine. It is a common problem that networking isn't setup properly in these boxes. Verify that authentication configurations are also setup properly, as well. If the box appears to be booting properly, you may want to increase the timeout ("config.vm.boot_timeout") value. The system is not able to ssh into the vm created. Can you help me figure this issue out Regards On Sun, Mar 22, 2015 at 7:07 PM, Pierre-Luc Dion wrote: > Tilak, > > Take a look at devcloud4 from Ian Duffy[1], it use vagrant + virtualbox to > setup a nice test env locally. You might be able to run multiple instance > of the cloudstack management-server into VMs. devcloud4 does not use the > simulator as managed hypervisor, it deploy a XenServer VM, so it might help > validating few tests where your 2 management-servers will interact to same > hosts. > > > [1] https://github.com/imduffy15/devcloud4 > > Good luck, > > > On Sun, Mar 22, 2015 at 7:18 AM, Daan Hoogland > wrote: > >> Tilak, >> >> I am cross posting your question as it is more on topic in the dev >> list. Rohit's age is a good starting point. it is my experience that >> every body will encounter their own problems in setting up a good >> environment and needs further support. In your case the dual host >> environment is a bit of a challange, though it has been set up by >> several people. It could be convenient to set it up as remote hosts >> instead of a devcloud vm. It should work though. >> >> Good travels and don't hasitate to ask for support, >> >> On Fri, Mar 20, 2015 at 9:15 PM, Tilak Raj Singh >> wrote: >> > Hi can anyone please help me here?? >> > >> > On Fri, Mar 20, 2015 at 4:18 AM, Tilak Raj Singh >> wrote: >> > >> >> Hello All, >> >> >> >> I am trying to setup the cloudstack developement environment on my >> ubuntu >> >> 12.04 64bit machine. I have successfully setup the management server >> >> locally on my machine using the docs [1]. As I am going to start work >> on >> >> the issue CLOUDSTACK-8266 >> >> <https://issues.apache.org/jira/browse/CLOUDSTACK-8266> [2] I need to >> >> setup atleast two host on my management server. I am trying to setup >> two >> >> devcloud hosts for the same. Can anybody guide me how to add them. >> Should I >> >> follow this guide [3] to setup first devcloud resources to my >> management >> >> server and then manually add the other devcloud host ip into the hosts >> >> section of cloudstack or should I edit devcloud.cfg file to add an >> entry >> >> for the ip, username and password for the second devcloud host and it >> would >> >> work? >> >> >> >> If I am wrong can please somebody help me figure out the correct >> method to >> >> do the same. >> >> >> >> Regards >> >> >> >> [1] >> >> >> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Setting+up+CloudStack+Development+Environment+on+Linux >> >> >> >> [2] https://issues.apache.org/jira/browse/CLOUDSTACK-8266 >> >> >> >> [3] http://bhaisaab.org/logs/devcloud/ >> >> >> >> >> >> -- >> Daan >> > >
Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
-- Forwarded message -- From: Tilak Raj Singh Date: Tue, Mar 24, 2015 at 4:53 AM Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack dev environment To: Pierre-Luc Dion Yeah I tried the binary-installation-basic one but ended up getting the errors I posted above. I followed up trying the not binary advanced as you are provisioning. Doing vagrant up setup xenserver and management server successfully. I installed Marvin successfully doing 2015-03-24 04:41:49,970 - DEBUG - Parsing Test data successfully using pip install tools/marvin/dist/Marvin-0.1.0.tar.gz. But when I try to deploy the configuration using python -m marvin.deployDataCenter -i /path/to/GSoC-2014/repo/advanced/advanced.json I get the following error in the log files 2015-03-24 04:41:49,970 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'} 2015-03-24 04:41:49,970 - DEBUG - Sending GET Cmd : listUsers=== 2015-03-24 04:42:53,086 - ERROR - Exception:['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 307, in __parseAndGetResponse\ncmd_response.json(),\n', ' File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 802, in json\nreturn json.loads(self.text, **kwargs)\n', ' File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 413, in loads\nreturn _default_decoder.decode(s)\n', ' File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in decode\nobj, end = self.raw_decode(s, idx=_w(s, 0).end())\n', ' File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 420, in raw_decode\nraise JSONDecodeError("No JSON object could be decoded", s, idx)\n', 'JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0)\n'] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 307, in __parseAndGetResponse cmd_response.json(), File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 802, in json return json.loads(self.text, **kwargs) File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 413, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 420, in raw_decode raise JSONDecodeError("No JSON object could be decoded", s, idx) JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) 2015-03-24 04:42:53,086 - ERROR - marvinRequest : CmdName: Exception: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest\nraise self.__lastError\n', 'JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0)\n'] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 374, in marvinRequest raise self.__lastError JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) 2015-03-24 04:42:53,088 - ERROR - Exception Occurred Under __createApiClient: ['Traceback (most recent call last):\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackTestClient.py", line 144, in __createApiClient\nlist_user_res = self.__apiClient.listUsers(list_user)\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 595, in listUsers\nresponse = self.connection.marvinRequest(command, response_type=response, method=method)\n', ' File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest\nraise e\n', 'JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0)\n'] Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackTestClient.py", line 144, in __createApiClient list_user_res = self.__apiClient.listUsers(list_user) File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 595, in listUsers response = self.connection.marvinRequest(command, response_type=response, method=method) File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 379, in marvinRequest raise e JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) 2015-03-24 04:42:53,088 - ERROR - Test C
Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
-- Forwarded message -- From: Tilak Raj Singh Date: Tue, Mar 24, 2015 at 6:12 AM Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack dev environment To: Pierre-Luc Dion I just tried deploying on 4.3 branch using binary directory on 4.3 branch https://github.com/imduffy15/devcloud4/tree/master/basic and followed the instructions given here https://github.com/imduffy15/devcloud4/blob/master/basic/README.md still I am getting the same error... :/ Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/usr/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", line 572, in deploy.deploy() File "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", line 554, in deploy self.loadCfg() File "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", line 516, in loadCfg mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey() File "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", line 485, in registerApiKey listuserRes = self.testClient.getApiClient().listUsers(listuser) File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", line 527, in listUsers response = self.connection.marvinRequest(command, response_type=response, method=method) File "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", line 272, in marvinRequest response = jsonHelper.getResultObj(response.json(), response_type) File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 802, in json return json.loads(self.text, **kwargs) File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 413, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 420, in raw_decode raise JSONDecodeError("No JSON object could be decoded", s, idx) simplejson.decoder.JSONDecodeError: No JSON object could be decoded: line 1 column 0 (char 0) I cant figure out if the issue is in python or simplejson so I reinstalled both but I am still stuck at the same stage On Tue, Mar 24, 2015 at 4:53 AM, Tilak Raj Singh wrote: > Yeah I tried the binary-installation-basic one but ended up getting the > errors I posted above. I followed up trying the not binary advanced as you > are provisioning. Doing vagrant up setup xenserver and management server > successfully. > > I installed Marvin successfully doing 2015-03-24 04:41:49,970 - DEBUG - > Parsing Test data successfully using pip install > tools/marvin/dist/Marvin-0.1.0.tar.gz. But when I try to deploy the > configuration using python -m marvin.deployDataCenter -i > /path/to/GSoC-2014/repo/advanced/advanced.json I get the following error in > the log files > > 2015-03-24 04:41:49,970 - DEBUG - Payload: {'account': 'admin', 'command': > 'listUsers', 'response': 'json'} > 2015-03-24 04:41:49,970 - DEBUG - Sending GET Cmd : > listUsers=== > 2015-03-24 04:42:53,086 - ERROR - Exception:['Traceback (most recent call > last):\n', ' File > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", > line 307, in __parseAndGetResponse\ncmd_response.json(),\n', ' File > "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 802, in > json\nreturn json.loads(self.text, **kwargs)\n', ' File > "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line 413, in > loads\nreturn _default_decoder.decode(s)\n', ' File > "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 402, in > decode\nobj, end = self.raw_decode(s, idx=_w(s, 0).end())\n', ' File > "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line 420, in > raw_decode\nraise JSONDecodeError("No JSON object could be decoded", s, > idx)\n', 'JSONDecodeError: No JSON object could be decoded: line 1 column 0 > (char 0)\n'] > Traceback (most recent call last): > File > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", > line 307, in __parseAndGetResponse > cmd_response.json(), > File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line > 802, in json > return json.loads(self.text, **kwargs) > File &quo
Re: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
Hi Will, yeah cloudstack management is running fine...I can open 127.0.0.1:8080/client on my browser...And there are two vms running..xenserver : I can ssh into it on port and management : i can ssh into it on port 2200. I configured the networking in virtual box under preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but there is nothing under preferences/network/NAT in the virtualbox...do I have to configure something there?? On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens wrote: > Is the cloudstack up and working? Did you check in virtual box if the > box(s?) are up? If so can you check the logs? > > It seems like you are not getting your networking configured because the VM > seems to come up but there is no connection. Is the network reported > correct? Nat and host only is right? I think that is what I read. > > Ws > On Mar 23, 2015 8:54 PM, "Tilak Raj Singh" wrote: > > > -- Forwarded message -- > > From: Tilak Raj Singh > > Date: Tue, Mar 24, 2015 at 6:12 AM > > Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack dev > > environment > > To: Pierre-Luc Dion > > > > > > I just tried deploying on 4.3 branch using binary directory on 4.3 branch > > https://github.com/imduffy15/devcloud4/tree/master/basic and followed > the > > instructions given here > > https://github.com/imduffy15/devcloud4/blob/master/basic/README.md > > > > still I am getting the same error... :/ > > > > Traceback (most recent call last): > > File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main > > "__main__", fname, loader, pkg_name) > > File "/usr/lib/python2.7/runpy.py", line 72, in _run_code > > exec code in run_globals > > File > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > line 572, in > > deploy.deploy() > > File > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > line 554, in deploy > > self.loadCfg() > > File > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > line 516, in loadCfg > > mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey() > > File > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > line 485, in registerApiKey > > listuserRes = self.testClient.getApiClient().listUsers(listuser) > > File > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > > line 527, in listUsers > > response = self.connection.marvinRequest(command, > > response_type=response, method=method) > > File > > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", > > line 272, in marvinRequest > > response = jsonHelper.getResultObj(response.json(), response_type) > > File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line > > 802, in json > > return json.loads(self.text, **kwargs) > > File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", line > 413, > > in loads > > return _default_decoder.decode(s) > > File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line > 402, > > in decode > > obj, end = self.raw_decode(s, idx=_w(s, 0).end()) > > File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line > 420, > > in raw_decode > > raise JSONDecodeError("No JSON object could be decoded", s, idx) > > simplejson.decoder.JSONDecodeError: No JSON object could be decoded: > line 1 > > column 0 (char 0) > > > > > > I cant figure out if the issue is in python or simplejson so I > reinstalled > > both but I am still stuck at the same stage > > > > On Tue, Mar 24, 2015 at 4:53 AM, Tilak Raj Singh > > wrote: > > > > > Yeah I tried the binary-installation-basic one but ended up getting the > > > errors I posted above. I followed up trying the not binary advanced as > > you > > > are provisioning. Doing vagrant up setup xenserver and management > server > > > successfully. > > > > > > I installed Marvin successfully doing 2015-03-24 04:41:49,970 - DEBUG - > > > Parsing Test data successfully using pip install > > > tools/marvin/dist/Marvin-0.1.0.tar.gz. But when I try to deploy the > > > configuration using python -m marvin.deployDataCenter -i > > > /path/to/GSoC-2014/repo/advanced/advanced.json I get the following >
Re: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
I couldnt deploy the zone pod cluster successfully hence there were no hosts and I couldnt launch a VM. Later what I did was manually create zone pod cluster and added the host and storage through the UI and it was successfull. The system vms came up nicely. But it gave me connection timed out when I tried to view the console of the CPVM or SSVM. On Tue, Mar 24, 2015 at 7:45 AM, Will Stevens wrote: > Can you launch a VM through the CS ui? > On Mar 23, 2015 9:14 PM, "Tilak Raj Singh" wrote: > > > Hi Will, > > > > yeah cloudstack management is running fine...I can open > > 127.0.0.1:8080/client on my browser...And there are two vms > > running..xenserver : I can ssh into it on port and management : i > can > > ssh into it on port 2200. I configured the networking in virtual box > under > > preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but there > is > > nothing under preferences/network/NAT in the virtualbox...do I have to > > configure something there?? > > > > On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens > > wrote: > > > > > Is the cloudstack up and working? Did you check in virtual box if the > > > box(s?) are up? If so can you check the logs? > > > > > > It seems like you are not getting your networking configured because > the > > VM > > > seems to come up but there is no connection. Is the network reported > > > correct? Nat and host only is right? I think that is what I read. > > > > > > Ws > > > On Mar 23, 2015 8:54 PM, "Tilak Raj Singh" wrote: > > > > > > > -- Forwarded message -- > > > > From: Tilak Raj Singh > > > > Date: Tue, Mar 24, 2015 at 6:12 AM > > > > Subject: Re: [GSOC] Setting up multiple devcloud host in cloudstack > dev > > > > environment > > > > To: Pierre-Luc Dion > > > > > > > > > > > > I just tried deploying on 4.3 branch using binary directory on 4.3 > > branch > > > > https://github.com/imduffy15/devcloud4/tree/master/basic and > followed > > > the > > > > instructions given here > > > > https://github.com/imduffy15/devcloud4/blob/master/basic/README.md > > > > > > > > still I am getting the same error... :/ > > > > > > > > Traceback (most recent call last): > > > > File "/usr/lib/python2.7/runpy.py", line 162, in > _run_module_as_main > > > > "__main__", fname, loader, pkg_name) > > > > File "/usr/lib/python2.7/runpy.py", line 72, in _run_code > > > > exec code in run_globals > > > > File > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > line 572, in > > > > deploy.deploy() > > > > File > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > line 554, in deploy > > > > self.loadCfg() > > > > File > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > line 516, in loadCfg > > > > mgtDetails.apiKey, mgtDetails.securityKey = self.registerApiKey() > > > > File > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > line 485, in registerApiKey > > > > listuserRes = self.testClient.getApiClient().listUsers(listuser) > > > > File > > > > > > > > > > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackAPI/cloudstackAPIClient.py", > > > > line 527, in listUsers > > > > response = self.connection.marvinRequest(command, > > > > response_type=response, method=method) > > > > File > > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/cloudstackConnection.py", > > > > line 272, in marvinRequest > > > > response = jsonHelper.getResultObj(response.json(), > response_type) > > > > File "/usr/local/lib/python2.7/dist-packages/requests/models.py", > > line > > > > 802, in json > > > > return json.loads(self.text, **kwargs) > > > > File "/usr/lib/python2.7/dist-packages/simplejson/__init__.py", > line > > > 413, > > > > in loads > > > > return _default_decoder.decode(s) > > > > File "/usr/lib/python2.7/dist-packages/simplejson/decoder.py", line &g
Re: Fwd: [GSOC] Setting up multiple devcloud host in cloudstack dev environment
yeah ... I replace it with the repo directory /root/gsoc/devcloud/advanced/advanced.json ... devcloud is the cloned git repository from github. There seems to be a issue with marvin I guess... because configuring the deployement manually from the CS UI as listed in advanced.json works.. On Tue, Mar 24, 2015 at 5:53 PM, Pierre-Luc Dion wrote: > Tilak, > when you run the following command: python -m marvin.deployDataCenter -i > /path/to/GSoC-2014/repo/advanced/advanced.json > you replace "/path/to/GSoC-2014/repo" by a valid one right? > > > > On Tue, Mar 24, 2015 at 3:27 AM, Tilak Raj Singh > wrote: > > > I couldnt deploy the zone pod cluster successfully hence there were no > > hosts and I couldnt launch a VM. Later what I did was manually create > zone > > pod cluster and added the host and storage through the UI and it was > > successfull. The system vms came up nicely. But it gave me connection > timed > > out when I tried to view the console of the CPVM or SSVM. > > > > On Tue, Mar 24, 2015 at 7:45 AM, Will Stevens > > wrote: > > > > > Can you launch a VM through the CS ui? > > > On Mar 23, 2015 9:14 PM, "Tilak Raj Singh" wrote: > > > > > > > Hi Will, > > > > > > > > yeah cloudstack management is running fine...I can open > > > > 127.0.0.1:8080/client on my browser...And there are two vms > > > > running..xenserver : I can ssh into it on port and management : > i > > > can > > > > ssh into it on port 2200. I configured the networking in virtual box > > > under > > > > preferences/network/vboxnet0 192.168.56.1 and dhcp disabled...but > there > > > is > > > > nothing under preferences/network/NAT in the virtualbox...do I have > to > > > > configure something there?? > > > > > > > > On Tue, Mar 24, 2015 at 6:32 AM, Will Stevens < > > williamstev...@gmail.com> > > > > wrote: > > > > > > > > > Is the cloudstack up and working? Did you check in virtual box if > > the > > > > > box(s?) are up? If so can you check the logs? > > > > > > > > > > It seems like you are not getting your networking configured > because > > > the > > > > VM > > > > > seems to come up but there is no connection. Is the network > reported > > > > > correct? Nat and host only is right? I think that is what I read. > > > > > > > > > > Ws > > > > > On Mar 23, 2015 8:54 PM, "Tilak Raj Singh" > > wrote: > > > > > > > > > > > -- Forwarded message -- > > > > > > From: Tilak Raj Singh > > > > > > Date: Tue, Mar 24, 2015 at 6:12 AM > > > > > > Subject: Re: [GSOC] Setting up multiple devcloud host in > cloudstack > > > dev > > > > > > environment > > > > > > To: Pierre-Luc Dion > > > > > > > > > > > > > > > > > > I just tried deploying on 4.3 branch using binary directory on > 4.3 > > > > branch > > > > > > https://github.com/imduffy15/devcloud4/tree/master/basic and > > > followed > > > > > the > > > > > > instructions given here > > > > > > > https://github.com/imduffy15/devcloud4/blob/master/basic/README.md > > > > > > > > > > > > still I am getting the same error... :/ > > > > > > > > > > > > Traceback (most recent call last): > > > > > > File "/usr/lib/python2.7/runpy.py", line 162, in > > > _run_module_as_main > > > > > > "__main__", fname, loader, pkg_name) > > > > > > File "/usr/lib/python2.7/runpy.py", line 72, in _run_code > > > > > > exec code in run_globals > > > > > > File > > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > > > line 572, in > > > > > > deploy.deploy() > > > > > > File > > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > > > > line 554, in deploy > > > > > > self.loadCfg() > > > > > > File > > > > > > "/usr/local/lib/python2.7/dist-packages/marvin/deployDataCenter.py", > > > >
[GSOC 2015] Format for student proposal
Hello All, I wished to know if there is some format for student proposal to be followed to submit the proposal for apache or we can fill in the proposal according to our own format Regards
[GSOC 2015] Proposal Submission CLOUDSTACK-8275
Hello All, I have submitted a proposal on google meelange under Apache to work on this project (https://issues.apache.org/jira/browse/CLOUDSTACK-8275) under Rajesh Battala. I am looking forward to working with this community this summer. Looking forward to your suggestions on this. Regards
Re: [GSOC 2015] Proposal Submission CLOUDSTACK-8275
Hi Lucian, I have been looking at AWS cloudformation as well as Openstack HEAT since the last couple of days and had a chat with my mentor yesterday and we have come to a conclusion that our implementation will be more on the lines of Openstack Heat. I have started looking at the developer guide for api docs for now so that I may come up with a proper functional specification for the plugable module we plan to develop. Regards On Sat, Mar 28, 2015 at 1:03 PM, Tilak Raj Singh wrote: > Hello All, > > I have submitted a proposal on google meelange under Apache to work on > this project (https://issues.apache.org/jira/browse/CLOUDSTACK-8275) > under Rajesh Battala. I am looking forward to working with this community > this summer. Looking forward to your suggestions on this. > > Regards >
Re: KVM HA
goto boot menu to enable intel virtualisation...in newer intel motherboards its under security in boot menu.. On Fri, May 1, 2015 at 8:46 PM, Somesh Naidu wrote: > There may not be any specific KVM.HA configuration. What are you looking > for? > > Somesh > CloudPlatform Escalations > Citrix Systems, Inc. > > > -Original Message- > From: Budur Nagaraju [mailto:nbud...@gmail.com] > Sent: Thursday, April 30, 2015 5:38 AM > To: dev@cloudstack.apache.org > Subject: KVM HA > > HI > New to cloud stack struggled searching for configuring KVM HA unable to > find any document . > Pls any help to configure KVM HA in cloud stack ,really helps a lot. > > Thanks, > Nagaraju >