Re: NPE in ParentComponentMonitor

2014-12-11 Thread Imesh Gunaratne
Thanks Reka! On Fri, Dec 12, 2014 at 11:33 AM, Reka Thirunavukkarasu wrote: > > Hi > > This has already fixed in 4.1.0-test. > > Thanks, > Reka > > On Fri, Dec 12, 2014 at 11:29 AM, Imesh Gunaratne > wrote: > >> I see the below error in ParentComponentMonitor: >> >> [2014-12-12 11:25:08,103] ERR

Re: NPE in ParentComponentMonitor

2014-12-11 Thread Reka Thirunavukkarasu
Hi This has already fixed in 4.1.0-test. Thanks, Reka On Fri, Dec 12, 2014 at 11:29 AM, Imesh Gunaratne wrote: > I see the below error in ParentComponentMonitor: > > [2014-12-12 11:25:08,103] ERROR > {org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator} > - Fa

NPE in ParentComponentMonitor

2014-12-11 Thread Imesh Gunaratne
I see the below error in ParentComponentMonitor: [2014-12-12 11:25:08,103] ERROR {org.apache.stratos.messaging.message.receiver.topology.TopologyEventMessageDelegator} - Failed to retrieve topology event message java.lang.NullPointerException at org.apache.stratos.autoscaler.monitor.component.Par

Re: [Discuss] A Mock Infrastructure as a Service for Cloud Controller

2014-12-11 Thread Imesh Gunaratne
A good suggestion Udara, we have written this feature in a way that we can take it out and run as a separate product. In the future we can add features that you have suggested with this. Currently we only implemented the basic features needed for verifying service grouping functionality. Thanks

Re: [Discuss] A Mock Infrastructure as a Service for Cloud Controller

2014-12-11 Thread Udara Liyanage
Hi Imesh, As a suggestion how about letting user triggers events such as terminate the instance/thread in order to simulate, Agent stopping, Instance terminates Increases/decrease statistics values So we can easily test how Stratos behave in those scenarios. Touched, not typed. Erroneous words

Re: Using stratos with OpenStack API endpoints that have proper SSL certs

2014-12-11 Thread Nirmal Fernando
Sorry, Michiel, I missed to add the path.. it's repository/resources/security/ I remember when we test VCloud support few years back, we used to import the certs of the VCloud vendor too. Good read: http://hasini-gunasinghe.blogspot.com/2011/12/installing-new-keystore-into-wso2.html On Fri, Dec 1

Re: [Discuss] A Mock Infrastructure as a Service for Cloud Controller

2014-12-11 Thread Imesh Gunaratne
Hi Devs, I have now improved the Mock IaaS by introducing a feature to configure health statistics generation process: /repository/conf/mock-iaas.xml: 20,30,40,50,60,70,50,40,30,20,20,20,20,20,20,20 60

Re: Using stratos with OpenStack API endpoints that have proper SSL certs

2014-12-11 Thread Michiel Blokzijl (mblokzij)
Hi Nirmal, I tried using the InstallCert java program that’s attached to this page, references from the wiki link I posted below. I ran it using the same java binary that I use to run Stratos, but that didn’t seem to make a difference. I’m now trying to overwrite the cacerts of the Oracle JRE I

Re: Using stratos with OpenStack API endpoints that have proper SSL certs

2014-12-11 Thread Nirmal Fernando
Hi Michiel, Could you please try the same after importing the cert of your Openstack server, into the client-truststore of Stratos server? On Fri, Dec 12, 2014 at 1:09 AM, Michiel Blokzijl (mblokzij) < mblok...@cisco.com> wrote: > Hi, > > I’m hitting the following issue in Stratos: > > TID: [0]

Re: NPE at member termination

2014-12-11 Thread Imesh Gunaratne
I just added a null check for this, please try again: public static String extractRegion(IaasProvider iaas) { String region; // try to find region if ((region = iaas.getProperty(CloudControllerConstants.REGION_PROPERTY)) == null) { // if the property, isn't

Using stratos with OpenStack API endpoints that have proper SSL certs

2014-12-11 Thread Michiel Blokzijl (mblokzij)
Hi, I’m hitting the following issue in Stratos: TID: [0] [STRATOS] [2014-12-11 17:25:24,018] ERROR {org.apache.stratos.cloud.controller.validate.OpenstackNovaPartitionValidator} - Invalid Partition Detected : RegionOne-AZ-1-Core. Cause: sun.security.validator.ValidatorException: PKIX path bui

Re: NPE at member termination

2014-12-11 Thread Lahiru Sandaruwan
It seems that issue is fixed now, A new error appered, ID: [0] [STRATOS] [2014-12-11 19:32:35,719] ERROR {org.apache.stratos.cloud.controller.services.impl.InstanceTerminator} - Instance termination failed! MemberContext [memberId=mytomcat.tomcat.domaind745a023-b4dc-4013-aab3-e1e464dacf96, nodeId=

Re: [Testing] Stratos 4.1.0 Alpha

2014-12-11 Thread Reka Thirunavukkarasu
Hi Martin, In 4.1.0-test, we have nested group and undeployment of application working fine. We are currently verifying the scenarios for termination behaviour and scaling testing. Since we have rest API changes in 4.1.0-test and introduced new property in cartridge for category, i have updated t

Re: NPE at member termination

2014-12-11 Thread Imesh Gunaratne
I will have a look at this Lahiru. Thanks On Thu, Dec 11, 2014 at 6:24 PM, Lahiru Sandaruwan wrote: > Hi all, > > $subject in Openstack. It seems computeService become null. > > TID: [0] [STRATOS] [2014-12-11 12:09:06,853] INFO > {org.apache.stratos.autoscaler.client.CloudControllerClient} -

[jira] [Created] (STRATOS-1031) Delete service provider and oauth app upon application undeployment

2014-12-11 Thread Udara Liyanage (JIRA)
Udara Liyanage created STRATOS-1031: --- Summary: Delete service provider and oauth app upon application undeployment Key: STRATOS-1031 URL: https://issues.apache.org/jira/browse/STRATOS-1031 Project:

Re: Event publishing failure

2014-12-11 Thread Lahiru Sandaruwan
Thanks for the replies guys. On Thu, Dec 11, 2014 at 2:02 PM, Reka Thirunavukkarasu wrote: > Hi Lahiru, > > I beleive that these thrift publishing and application event publishing > are two threads..Application event publishing is not using any thrift. This > thrift exception is coming from some

[GitHub] stratos pull request: Application definition delete flow

2014-12-11 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/149 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is ena

NPE at member termination

2014-12-11 Thread Lahiru Sandaruwan
Hi all, $subject in Openstack. It seems computeService become null. TID: [0] [STRATOS] [2014-12-11 12:09:06,853] INFO {org.apache.stratos.autoscaler.client.CloudControllerClient} - Terminating instance via cloud controller: [member] mytomcat.tomcat.domainff51d231-d5d3-4c40-ab28-0334071ff14b TI

[GitHub] stratos pull request: Application definition delete flow

2014-12-11 Thread shirolk
GitHub user shirolk opened a pull request: https://github.com/apache/stratos/pull/149 Application definition delete flow You can merge this pull request into a Git repository by running: $ git pull https://github.com/shirolk/stratos app-delete-on-test Alternatively you can re

[GitHub] stratos pull request: Update the info message with application ID

2014-12-11 Thread swgkg
GitHub user swgkg opened a pull request: https://github.com/apache/stratos/pull/148 Update the info message with application ID Update the info message with application ID Please review and merge You can merge this pull request into a Git repository by running: $ git p

[GitHub] stratos pull request: Update the categary of cartridge as a mandat...

2014-12-11 Thread swgkg
Github user swgkg closed the pull request at: https://github.com/apache/stratos/pull/145 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enab

[GitHub] stratos pull request: Update the categary of cartridge as a mandat...

2014-12-11 Thread swgkg
Github user swgkg commented on the pull request: https://github.com/apache/stratos/pull/145#issuecomment-66599365 This PR is merged hence closing the PR --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does

Re: Event publishing failure

2014-12-11 Thread Reka Thirunavukkarasu
Hi Lahiru, I beleive that these thrift publishing and application event publishing are two threads..Application event publishing is not using any thrift. This thrift exception is coming from some other thread which tries to publish data. Thanks, Reka On Thu, Dec 11, 2014 at 1:53 PM, Udara Liyana

Re: Event publishing failure

2014-12-11 Thread Udara Liyanage
Hi Akila, I think what Lahiru meant is why it is using thrift to publish events On Thu, Dec 11, 2014 at 1:49 PM, Akila Ravihansa Perera wrote: > Hi Lahiru, > > Try setting the hostname to 0.0.0.0 in > repository\conf\data-bridge\data-bridge-config.xml > > > 0.0.0.0 > 7611 > 7711 > > > This wi

Re: Event publishing failure

2014-12-11 Thread Akila Ravihansa Perera
Hi Lahiru, Try setting the hostname to 0.0.0.0 in repository\conf\data-bridge\data-bridge-config.xml 0.0.0.0 7611 7711 This will bind the thrift agent to any IP address, Thanks. On Thu, Dec 11, 2014 at 8:09 AM, Lahiru Sandaruwan wrote: > Hi, > > I see following error while Autoscaler tryin