stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Re: Stratos on Digital Ocean
Date Sun, 20 Apr 2014 16:37:12 GMT
Ok, seems like your Cloud Controller bundle failed to start after your
modification. Did you add Cloud-stack related jclouds jars to the
Cloud-controller feature pom as dependencies?
(features/cloud-controller/org.apache.stratos.cloud.controller.feature/pom.xml)


On Sun, Apr 20, 2014 at 9:22 PM, Jason Daly <jason.daly@systembind.com>wrote:

>  Yes, it's a single JVM installation.  I've been starting stratos with
> the following command:
>
>
>    - /opt/stratos/apache-stratos/bin/stratos.sh -Dprofile="default" start
>
>
> Running
>
>
>    - netstat -an | grep -i listen | grep tcp
>
>
> shows only port 9443 being listened on (i.e. for ports in the range of
> 944x):
>
>
>  #> netstat -an | grep -i listen | grep tcp
>
> ...
>
>  tcp        0      0 :::8161
> :::*                        LISTEN
> tcp        0      0 :::9443
> :::*                        LISTEN
> tcp        0      0 :::9763
> :::*                        LISTEN
> tcp        0      0 :::42502
> :::*                        LISTEN
> tcp        0      0 :::11111
> :::*                        LISTEN
> tcp        0      0 :::5672
> :::*                        LISTEN
> tcp        0      0 :::54570
> :::*                        LISTEN
> tcp        0      0 :::3306
> :::*                        LISTEN
>
>
>   *Jason Daly*
> *VP, Product Development*
>  *SystemBind Consulting & IT Services Inc.*
> 5115 Maingate Drive, Unit 1
> Mississauga, ON
> Tel: 416.848.0980 x 850
> Mobile: 416.388.4070
> Toll: 1.877.SYS.BIND
> www.systembind.com
>  On 04/20/2014 11:33 AM, Nirmal Fernando wrote:
>
> Are you using Stratos as a single JVM? If not what's the port of Cloud
> controller?
>
>
> On Sun, Apr 20, 2014 at 8:19 PM, Jason Daly <jason.daly@systembind.com>wrote:
>
>>  Hi,
>>
>> I've setup Stratos and have logged into the Stratos Manager web UI to
>> configure stratos (i.e. adding CloudStack as an Iaas).  The UI accepts
>> CloudStack as the Iaas (as I've created the required classes and configured
>> CloudStack as a provider in cloud-controller.xml).
>>
>> One issue I'm encountering is that when attempting to save a Partition
>> configuration within the Stratos Manager UI when clicking 'Deploy' I
>> receive the following error message:
>>
>>
>>    - The service cannot be found for the endpoint reference (EPR)
>>    https://puppet.sbdev.virtzone.net:9443/services/CloudControllerService/The service
cannot be found for the endpoint reference (EPR)
>>    https://puppet.sbdev.virtzone.net:9443/services/CloudControllerService/
>>
>>
>> It looks like the CloudControllerService service is not published within
>> Axis2.  Possibly a step missed during installation?
>>
>> Does anyone know the cause of this error message and if so how to rectify
>> it?
>>
>>
>> Thanks
>>
>>
>> *Jason Daly*
>> *VP, Product Development*
>> SystemBind Consulting & IT Services Inc.
>>  5115 Maingate Drive, Unit 1
>> Mississauga, ON
>>
>> Tel: 416.848.0980 x 850
>> Mobile: 416.388.4070
>> Toll: 1.877.SYS.BIND
>> www.systembind.com
>>
>>   On 04/20/2014 12:10 AM, Imesh Gunaratne wrote:
>>
>> Great work Jason!!
>>
>>
>> On Sat, Apr 19, 2014 at 7:57 AM, Nirmal Fernando <nirmal070125@gmail.com>wrote:
>>
>>> Awesome!
>>>
>>>
>>>  On Sat, Apr 19, 2014 at 4:22 AM, Jason Daly <jason.daly@systembind.com>wrote:
>>>
>>>>  Short update:
>>>>
>>>> Following the new Iaas wiki page I've created two classes:
>>>>
>>>>
>>>>    - CloudStackIaas
>>>>
>>>>
>>>>    - CloudStackPartitionValidator
>>>>
>>>> I've added the jclouds CloudStack api to the Stratos JClouds apis
>>>> directory and hvae edited the classes listed above as required.  Building
>>>> the distribution with these changes completes successfully.
>>>>
>>>> I'll now test the new build and will tweak the two CloudStack classes
>>>> as needed based on test results.
>>>>
>>>> More updates to come:
>>>>
>>>>
>>>>
>>>> *Jason Daly*
>>>> *VP, Product Development*
>>>> SystemBind Consulting & IT Services Inc.
>>>>  5115 Maingate Drive, Unit 1
>>>> Mississauga, ON
>>>>
>>>> Tel: 416.848.0980 x 850
>>>> Mobile: 416.388.4070
>>>> Toll: 1.877.SYS.BIND
>>>> www.systembind.com
>>>>
>>>>
>>>>   On 04/16/2014 11:28 PM, Nirmal Fernando wrote:
>>>>
>>>>  Hi Jason,
>>>>
>>>> Great to hear! Sorry, somehow I missed your last email.
>>>>
>>>>  Let me know if you need any help.
>>>>
>>>>
>>>> On Thu, Apr 17, 2014 at 8:49 AM, Jason Daly <jason.daly@systembind.com>wrote:
>>>>
>>>>>  Hi,
>>>>>
>>>>> Short update: I've installed Stratos and have it running successfully
>>>>> (single JVM installation).  I am now working on CloudStack-enabling it.
>>>>> I'm following the wiki guide (4.0.0 Adding support for a new IaaS provider)
>>>>> implementing a CloudStackIaas.java class.
>>>>>
>>>>>
>>>>>  More updates to come.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>  Jason Daly
>>>>> VP, Product Development
>>>>> SystemBind Consulting & IT Services Inc.
>>>>> 5115 Maingate Drive, Unit 1
>>>>> Mississauga, ON
>>>>> Tel: 416.848.0980 x 850
>>>>> Mobile: 416.388.4070
>>>>> Toll: 1.877.SYS.BIND
>>>>> www.systembind.com
>>>>>
>>>>> -----Original message-----
>>>>> *From:* Lakmal Warusawithana <lakmal@wso2.com>
>>>>> *Sent:* Saturday 5th April 2014 23:07
>>>>> *To:* dev@stratos.incubator.apache.org
>>>>> *Subject:* Re: Stratos on Digital Ocean
>>>>>
>>>>> Awesome news Jason.
>>>>>
>>>>>
>>>>> On Sun, Apr 6, 2014 at 5:03 AM, Jason Daly <jason.daly@systembind.com>wrote:
>>>>>
>>>>>> Hi Nirmal,
>>>>>>
>>>>>> I've tested CloudStack integration with JClouds and it's running
>>>>>> fine.  I recall earlier versions of JClouds requiring configuration
to
>>>>>> integrate with CloudStack but using the latest version of JClouds
was quite
>>>>>> out of the box:
>>>>>>
>>>>>>                 ComputeServiceContext context =
>>>>>> ContextBuilder.newBuilder("cloudstack").endpoint(endPoint).credentials(username,apiKey).buildView(ComputeServiceContext.class);
>>>>>>                 ComputeService compute = context.getComputeService();
>>>>>>                 compute.listNodes();
>>>>>>                 ...
>>>>>>
>>>>>> Entering the CloudStack URL as the endpoint (i.e.
>>>>>> http://1.2.3.4/client/api) the CloudStack apiKey and secretKey for
>>>>>> the user and "cloudstack" as the provider was all that was required.
 The
>>>>>> above code snippet then lists the nodes the user has access to.
>>>>>>
>>>>>> As such I'll setup Stratos on our CloudStack instance now and will
>>>>>> test it out.
>>>>>>
>>>>>> Further updates to come...
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> * Jason Daly*
>>>>>> *VP, Product Development*
>>>>>> SystemBind Consulting & IT Services Inc.
>>>>>>  5115 Maingate Drive, Unit 1
>>>>>> Mississauga, ON
>>>>>>
>>>>>> Tel: 416.848.0980 x 850
>>>>>> Mobile: 416.388.4070
>>>>>> Toll: 1.877.SYS.BIND
>>>>>> www.systembind.com
>>>>>>
>>>>>>
>>>>>>
>>>>>>    Nirmal Fernando <nirmal070125@gmail.com>
>>>>>>  April-03-14 8:01 AM
>>>>>>   Great! thanks Jason! If you need some help on CloudStack
>>>>>> integration let me know.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Best Regards,
>>>>>> Nirmal
>>>>>>
>>>>>> Nirmal Fernando.
>>>>>> PPMC Member & Committer of Apache Stratos,
>>>>>> Senior Software Engineer, WSO2 Inc.
>>>>>>
>>>>>>  Blog: http://nirmalfdo.blogspot.com/
>>>>>>     Jason Daly <jason.daly@systembind.com>
>>>>>>  April-03-14 7:45 AM
>>>>>>   Ok great.  I'll work on completing the Jclouds CloudStack work
and
>>>>>> when done we'll setup a Stratos demo environment and will give access
to
>>>>>> the IaaS admin section to whomever needs access.
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Jason Daly VP, Product Development*
>>>>>> *SystemBind Consulting & IT Services Inc.*
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *5115 Maingate Drive, Unit #1 | Mississauga | Ontario
>>>>>> Tel: 416.848.0980 x 850 <416.848.0980;850> Mobile: 416.388.4070
>>>>>> <416.388.4070> Toll: 1.877.SYS.BIND www.systembind.com
>>>>>> <http://www.systembind.com/>*
>>>>>>
>>>>>> On Apr 3, 2014, at 7:40 AM, "Paul Fremantle" <paul@wso2.com>
wrote:
>>>>>>
>>>>>>     Paul Fremantle <paul@wso2.com>
>>>>>>  April-03-14 7:39 AM
>>>>>>
>>>>>> Definitely!!!  Yes please.
>>>>>>
>>>>>> Paul
>>>>>>    Paul Fremantle <paul@wso2.com>
>>>>>>  April-03-14 4:47 AM
>>>>>>   Folks
>>>>>>
>>>>>>  I just tried an IaaS called Digital Ocean. Its very simple and
>>>>>> effective. Its really nice. I think it would be cool to get Stratos
running
>>>>>> on it.
>>>>>>
>>>>>>  There is a Jclouds provider for Digital Ocean:
>>>>>> https://github.com/jclouds/jclouds-labs/tree/master/digitalocean
>>>>>>
>>>>>>  Paul
>>>>>>
>>>>>>  --
>>>>>> Paul Fremantle
>>>>>> CTO and Co-Founder, WSO2
>>>>>> OASIS WS-RX TC Co-chair, Apache Member
>>>>>>
>>>>>> UK: +44 207 096 0336 <%2B44%20207%20096%200336>
>>>>>> US: +1 646 595 7614 <%2B1%20646%20595%207614>
>>>>>>
>>>>>> blog: http://pzf.fremantle.org
>>>>>> twitter.com/pzfreo
>>>>>> paul@wso2.com
>>>>>>
>>>>>>  wso2.com Lean Enterprise Middleware
>>>>>>
>>>>>> Disclaimer: This communication may contain privileged or other
>>>>>> confidential information and is intended exclusively for the addressee/s.
>>>>>> If you are not the intended recipient/s, or believe that you may
have
>>>>>> received this communication in error, please reply to the sender
indicating
>>>>>> that fact and delete the copy you received and in addition, you should
not
>>>>>> print, copy, retransmit, disseminate, or otherwise use the information
>>>>>> contained in this communication. Internet communications cannot be
>>>>>> guaranteed to be timely, secure, error or virus-free. The sender
does not
>>>>>> accept liability for any errors or omissions.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>  --
>>>>> Lakmal Warusawithana
>>>>> Software Architect; WSO2 Inc.
>>>>> Mobile : +94714289692
>>>>> Blog : http://lakmalsview.blogspot.com/
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Best Regards,
>>>> Nirmal
>>>>
>>>> Nirmal Fernando.
>>>> PPMC Member & Committer of Apache Stratos,
>>>> Senior Software Engineer, WSO2 Inc.
>>>>
>>>>  Blog: http://nirmalfdo.blogspot.com/
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> 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
>>
>>
>>
>
>
> --
> Best Regards,
> Nirmal
>
> Nirmal Fernando.
> PPMC Member & Committer of Apache Stratos,
> Senior Software Engineer, WSO2 Inc.
>
>  Blog: http://nirmalfdo.blogspot.com/
>
>
>


-- 
Best Regards,
Nirmal

Nirmal Fernando.
PPMC Member & Committer of Apache Stratos,
Senior Software Engineer, WSO2 Inc.

Blog: http://nirmalfdo.blogspot.com/

Mime
View raw message