Hi Suriya, I am upgrading Jclouds to 1.8.1.
Can you please let me know why we cloned Jclouds google-compute-engine and oauth to Stratos code base. Did you make any custom changes to Jclouds? When I compared this clone with upstream, this is the only change I found, which is in Image.java < // rawDisk may be null for user created private images < this.rawDisk = rawDisk; // checkNotNull(rawDisk, "rawDisk of %s", name); --- > this.rawDisk = checkNotNull(rawDisk, "rawDisk of %s", name); And read me says, This code in Stratos is copied from Jclouds GCE [1] The jclouds GCE code has 2 directories oauth & google-compute-engine In Stratos, these two directories are mered into one. Is there any specif reason to do this? Thanks. On Wed, Aug 20, 2014 at 10:22 PM, Lahiru Sandaruwan <lahi...@wso2.com> wrote: > Great stuff! Nice to have a new IaaS support on board! > > Thanks. > > > On Wed, Aug 20, 2014 at 7:53 PM, Imesh Gunaratne <im...@apache.org> wrote: > >> Indeed! Great work Suriya!! >> >> >> On Mon, Aug 18, 2014 at 12:40 AM, Nirmal Fernando < >> nirmal070...@gmail.com> wrote: >> >>> All, >>> >>> Here are my notes from the demo; >>> >>> * In GCE in order to create an image using the disk, you need to >>> terminate the instance first. >>> >>> Improvements to make; >>> >>> * Support to give the private key file path instead of using the content >>> of the private key inside the cloud-controller.xml. >>> * Map Stratos Partitioning concept to GCE project ids, may be?! >>> * Use zone parameter in partition configuration to map an availability >>> zone in GCE. >>> >>> @Suriya could you please create Jiras to track these improvements and >>> also other improvements? >>> >>> >>> On Thu, Aug 14, 2014 at 10:53 AM, Sathyasuriya Priya < >>> sathyasur...@gmail.com> wrote: >>> >>>> Thanks Akila. >>>> >>>> Yes. InstanceType works as well based on cartridge json. I have a small >>>> example in the testing doc [1]. >>>> [2] lists the machine types. >>>> I did not test all of them. However, f1-micro, g1-small didn't work >>>> since their memory is low, and jclouds API complained about that. If needed >>>> we can circumvent this by specifying low memory requirement in GCEIaaS.java >>>> Rest of the types should work. >>>> >>>> Yes. I guess GCE jclouds regions & zones should match well with stratos. >>>> One issue would be that zone name actually includes region >>>> (us-central1-f, etc). >>>> The jclouds apis just take the region name. DiskApi, InstanceApi, etc >>>> in [3] >>>> >>>> Let me know of any other clarification. >>>> >>>> [1] >>>> https://docs.google.com/document/d/1_UyglvcuNASxFbC6YK4zDoKohx9xiiqBNZqMiezkhzo >>>> [2] https://developers.google.com/compute/docs/machine-types >>>> [3] >>>> https://github.com/suriyapriya/stratos/blob/gce-4.0.0/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaases/GCEIaas.java >>>> >>>> Thanks >>>> Suriya >>>> >>>> >>>> On Wed, Aug 13, 2014 at 11:50 AM, Akila Ravihansa Perera < >>>> raviha...@wso2.com> wrote: >>>> >>>>> Awesome work, Suriya! >>>>> >>>>> Sorry I couldn't join the live Hangout but I watched the demo and it's >>>>> really nice to see Stratos running on GCE. I would like to share few >>>>> things :) >>>>> >>>>> Does current implementation support GCE instance type given in >>>>> cartridge json? I didn't see the instanceType section in your demo >>>>> video. (please ignore if I missed that). If not, you could create a >>>>> support JIRA for that as well. >>>>> >>>>> GCE also has the concept of regions and availability zones. So I think >>>>> we can easily integrate Stratos partitions and network partitions >>>>> model with that of GCE. Any limitations from Jclouds API that >>>>> prohibits us from doing this? >>>>> >>>>> Again, very nice work...thank you for all your hard work. >>>>> >>>> >>>> >>> >>> >>> -- >>> Best Regards, >>> Nirmal >>> >>> Nirmal Fernando. >>> PPMC Member & Committer of Apache Stratos, >>> Senior Software Engineer, WSO2 Inc. >>> >>> Blog: http://nirmalfdo.blogspot.com/ >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Technical Lead, WSO2 >> Committer & PPMC Member, Apache Stratos >> > > > > -- > -- > Lahiru Sandaruwan > Committer and PMC member, Apache Stratos, > Senior Software Engineer, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: lahi...@wso2.com cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- Rajkumar Rajaratnam Committer & PMC Member, Apache Stratos Software Engineer, WSO2