POXSecurityHandler exception seen in Stratos

2015-11-26 Thread Michiel Blokzijl (mblokzij)
Hi, Sometimes (rarely) we see the following Exception in the Stratos logs, while troubleshooting errors. Specifically, we’ve seen this in logs of runs where cartridges haven’t been started up at all or where terminated cartridges have not been recognised as inactive, both of which are pretty ba

[diff attached] Passing TopologyEvent data to cartridge agent extensions (was: Re: Topology inconsistent)

2015-04-30 Thread Michiel Blokzijl (mblokzij)
onents/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/message/processor/topology/CompleteTopologyMessageProcessor.javaIn PCA, still topology is not properly updated after initializing it with the Complete Topology event.On Wed, Apr 22, 2015 at 7:28 PM, Michiel Blokzijl (mblokzij)

Re: Topology inconsistent

2015-04-22 Thread Michiel Blokzijl (mblokzij)
either cartridge agent has been restarted > or there is a bug in its logic. > > Ideally cartridge agent should only wait for Complete Topology event once in > its lifecycle. If it is waiting more than once then there is an issue. > > Thanks > > On Mon, Apr 20, 2015 at 11:

Re: Topology inconsistent

2015-04-20 Thread Michiel Blokzijl (mblokzij)
he component can consume any other event > published afterwards. > > Thanks > > > > On Mon, Apr 20, 2015 at 7:44 PM, Michiel Blokzijl (mblokzij) > wrote: > Hi, > I’m looking at an issue with Stratos 4.0.0 code, and I’m having an issue with > the cartridge a

Topology inconsistent

2015-04-20 Thread Michiel Blokzijl (mblokzij)
Hi, I’m looking at an issue with Stratos 4.0.0 code, and I’m having an issue with the cartridge agent. It complains about the topology being inconsistent, triggered by this code [1]. This causes the extension handler not to fire for cartridges going down. [2015-04-19 07:19:22,486] INFO - [Memb

Re: current Stratos build breakage: org.apache.stratos:stratos-parent:pom:4.1.0-SNAPSHOT

2015-01-15 Thread Michiel Blokzijl (mblokzij)
Hi Lahiru, Yes, I tried both mvn clean install and mvn dependency:resolve, using 2 internet connections, neither worked. Cheers, Michiel On 14 Jan 2015, at 19:27, Lahiru Sandaruwan wrote: > Hi Michiel, > > On Wed, Jan 14, 2015 at 9:03 PM, Michiel Blokzijl (mblokzij) > wrote

current Stratos build breakage: org.apache.stratos:stratos-parent:pom:4.1.0-SNAPSHOT

2015-01-14 Thread Michiel Blokzijl (mblokzij)
Hey guys, Is this expected? I’m getting the following error while trying to build the latest master, in a fresh clone: [ERROR] The project org.apache.stratos:stratos-docker-images:4.1.0-SNAPSHOT (/Users/me/Code/stratos_ws/stratos-2/tools/docker-images/stratos-docker-images/pom.xml) has 1 err

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

2014-12-12 Thread Michiel Blokzijl (mblokzij)
gt; 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 12, 2014 at 1:22 AM, Michiel Blokzijl (mblokzij) > wro

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

2014-12-11 Thread Michiel Blokzijl (mblokzij)
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) > wrote: > Hi, > > I’m hitting the following issue in Stratos: > >

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: vcloud: metadata injection via ssh vs via guest customisation script

2014-11-11 Thread Michiel Blokzijl (mblokzij)
ov 2014, at 14:36, Michiel Blokzijl (mblokzij) wrote: > Sure, I’ll look into it. I’ll let you know how it goes. > > Thanks for all the help! > > Michiel > > On 10 Nov 2014, at 07:02, Udara Liyanage wrote: > >> Hi Michel, >> >> Could you try with the propo

Re: What are the custom Jclouds changes we made?

2014-11-11 Thread Michiel Blokzijl (mblokzij)
Hi, Didn't the jclouds team implement the vcloud v1.5 API in jclouds-labs? Has anyone looked into that? Best regards, Michiel On 10 Nov 2014, at 17:29, Imesh Gunaratne wrote: > Hi Alex, > > Yes, for most of the changes we have sent pull requests to jclouds and have > also followed up with

Re: vcloud: metadata injection via ssh vs via guest customisation script

2014-11-10 Thread Michiel Blokzijl (mblokzij)
Sure, I’ll look into it. I’ll let you know how it goes. Thanks for all the help! Michiel On 10 Nov 2014, at 07:02, Udara Liyanage wrote: > Hi Michel, > > Could you try with the proposed change and try again. > > On Mon, Nov 10, 2014 at 12:22 PM, Isuru Perera wrote: > Hi Udara, > > As you m

vcloud: metadata injection via ssh vs via guest customisation script

2014-11-09 Thread Michiel Blokzijl (mblokzij)
Hi people, First of all, I’m not sure if this is a Stratos or a jclouds issue, I haven’t been able to nail down the area of the code to be absolutely sure. It looks like on vCloud, Stratos/jclouds “injects" the metadata by ssh-ing into freshly spun up cartridges, using the root username and the

Re: vcloud: has anyone tested spinning up cartridges with attached volumes/block devices?

2014-10-22 Thread Michiel Blokzijl (mblokzij)
tly I am not in a position to answer Q3, will > do a research and get back to you. > > On Tue, Oct 21, 2014 at 7:49 PM, Michiel Blokzijl (mblokzij) > wrote: > Hi people, > > Q1: Has anyone tried getting a cartridge to start on vCloud that has volumes > attached to

vcloud: has anyone tested spinning up cartridges with attached volumes/block devices?

2014-10-21 Thread Michiel Blokzijl (mblokzij)
Hi people, Q1: Has anyone tried getting a cartridge to start on vCloud that has volumes attached to it? Q2: I saw lots of todos in the Stratos code (https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/iaa

Re: MemberFault event is lost forever when MB is down

2014-09-18 Thread Michiel Blokzijl (mblokzij)
e wrote: > >> > Hi Imesh, > >> > > >> > Yes any message will not be communicated when message broker is not > >> > available. > >> > > >> > > >> > On Wed, Jul 30, 2014 at 7:24 PM, Imesh Gunaratne > >> > wr

Re: Updating min number of cartridge instances (partitionMin)..?

2014-09-18 Thread Michiel Blokzijl (mblokzij)
Hi, Ok, I look forward to that in 4.1.0! Thank you very much! Michiel On 12 Sep 2014, at 07:44, Udara Liyanage wrote: > Hi, > > Below is the jira to track the issue. > > [1] https://issues.apache.org/jira/browse/STRATOS-716 > > On Fri, Sep 12, 2014 at 11:00 AM, Lahiru Sandaruwan wrote: > H

Updating min number of cartridge instances (partitionMin)..?

2014-09-11 Thread Michiel Blokzijl (mblokzij)
Hi people, Let’s say I’ve deployed a service using Stratos, and now I want to increase the minimum number of instances that should be active at a given point in time. How can I do that without unsubscribing them all (thus killing the service)? I was looking through the API docs for 4.0 and 4.1

Re: MemberFault event is lost forever when MB is down

2014-07-30 Thread Michiel Blokzijl (mblokzij)
+1. If Stratos, or any component it relies on, fails, and eventually returns to service, Stratos should "orchestrate" the cloud back to the desired state. If any cartridges went missing and after some time T (post failure) Stratos hasn’t re-discovered them, they should be respawned. Best regar

Re: stop stratos, kill cartridge instance, start stratos -> cartridge still active?

2014-07-04 Thread Michiel Blokzijl (mblokzij)
e once restarted. Just to narrow down the cause of this issue, will you be able to list down the actions that you carried out from the very beginning please? Then we could try to re-produce this problem by going through them. Many ThanksImeshOn Mon, Jun 23, 2014 at 9:53 PM, Michiel

stop stratos, kill cartridge instance, start stratos -> cartridge still active?

2014-06-23 Thread Michiel Blokzijl (mblokzij)
Hi all, Basically, I was stopping and starting Stratos and looking at how it handled dying cartridges, and found that Stratos only detected cartridge deaths while it was running.. The problem In steady state, I have some cartridges managed by Stratos, ./stratos.sh list-subscribed-cartridges |