Re: Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Reka Thirunavukkarasu
Hi On Fri, Feb 20, 2015 at 10:58 PM, Rajkumar Rajaratnam wrote: > Thanks Reka for the detail explanation. I got the point now. I am in the > process of changing these logic to incorporate deployment policy changes > (earlier, deployment policy refers an application. but now, cartridge or > cartr

Re: Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Rajkumar Rajaratnam
Thanks Reka for the detail explanation. I got the point now. I am in the process of changing these logic to incorporate deployment policy changes (earlier, deployment policy refers an application. but now, cartridge or cartridge group refers a deployment policy). That's why I wanted to understand t

Re: Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Reka Thirunavukkarasu
Hi On Fri, Feb 20, 2015 at 7:44 PM, Rajkumar Rajaratnam wrote: > > > On Sat, Feb 21, 2015 at 7:36 AM, Imesh Gunaratne wrote: > >> This method creates a copy of the network partition that it belongs to >> and call it "Group Level Network Partition Context". >> > > Thanks Imesh for the clarific

Re: Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Rajkumar Rajaratnam
On Sat, Feb 21, 2015 at 7:36 AM, Imesh Gunaratne wrote: > This method creates a copy of the network partition that it belongs to and > call it "Group Level Network Partition Context". > Thanks Imesh for the clarification. So purpose of this method is to create a "Group Level Network Partition Co

Re: ISSUE: failing to locate autoscaler service, (in source from master updated 02/20) ?

2015-02-20 Thread Imesh Gunaratne
Hi Martin, It looks like the Autoscaler service name in repository/conf/cartridge-config.properties file is not correct. The second "s" character should be in lowercase: autoscaler.service.url=https://:9443/services/AutoscalerService/ Thanks On Sat, Feb 21, 2015 at 4:17 AM, Martin Eppel (meppel)

Re: Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Imesh Gunaratne
This method creates a copy of the network partition that it belongs to and call it "Group Level Network Partition Context". On Fri, Feb 20, 2015 at 7:04 PM, Rajkumar Rajaratnam wrote: > Hi Devs, > > Please explain me the logic of this method > GroupMonitor#getGroupLevelNetworkPartitionContext();

RE: ISSUE: failing to locate autoscaler service, (in source from master updated 02/20) ?

2015-02-20 Thread Martin Eppel (meppel)
Just as an add on info, unit tests also fail: [2015-02-20 10:44:40,811] ERROR {org.apache.stratos.integration.tests.StratosTestServerManager} - /home/meppel/codedrop_stratos_410_integ/base/stratos/samples/applications/single-cartridge/artifacts/autoscaling-policy.json Adding autoscale policy...

RE: [Discuss] Java Cartridge Agent Improvements

2015-02-20 Thread Martin Eppel (meppel)
Great, Thanks Martin From: Chamila De Alwis [mailto:chami...@wso2.com] Sent: Friday, February 20, 2015 2:10 PM To: dev Subject: Re: [Discuss] Java Cartridge Agent Improvements Hi Martin, Yes, I've branched off from the latest master, and rebase frequently. I assume you're referring to the com

ISSUE: failing to locate autoscaler service, (in source from master updated 02/20) ?

2015-02-20 Thread Martin Eppel (meppel)
I upgraded the stratos source (from 4.1.0-alpha) to the lastest from master and run into the exception below, anyone knows what is missing (This was working fine in 4.1.0-alpha). Were there any recent changes related to the AutoScalerService or configuration? Thanks Martin TID: [0] [STRATOS]

Re: [Discuss] Java Cartridge Agent Improvements

2015-02-20 Thread Chamila De Alwis
Hi Martin, Yes, I've branched off from the latest master, and rebase frequently. I assume you're referring to the commit related to ApplicationSignUpEvent in the JCA? I have those changes in my branch. Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.co

RE: [Discuss] Java Cartridge Agent Improvements

2015-02-20 Thread Martin Eppel (meppel)
Hi Chamila, Great to hear that. Quick question – I assume you are basing your improvements on the latest code from master (fyi, I added a few of the missing “differences” to the JCA in master) ?, Thanks Martin From: Chamila De Alwis [mailto:chami...@wso2.com] Sent: Friday, February 20, 2015

[Discuss] Java Cartridge Agent Improvements

2015-02-20 Thread Chamila De Alwis
Hi, I'm in the process of getting the JCA to a matching state with the PCA. As a part of this I copied over the integration test that was written by Imesh for the PCA, to simplify error checks and find bugs in the JCA. There was an issue in the CartridgeEventListener where TopologyManager.acquire

Re: Mock IaaS does not update stat values as expected

2015-02-20 Thread Lahiru Sandaruwan
On Fri, Feb 20, 2015 at 10:13 PM, Imesh Gunaratne wrote: > Yes we could add more cartridges in default mock-iaas.xml for configuring > statistics publishing. > +1. I will add php as well to the default xml. > > > On Fri, Feb 20, 2015 at 10:06 PM, Lahiru Sandaruwan > wrote: > >> I think we shou

Re: Permission issue while adding registry resource by metadata service

2015-02-20 Thread Imesh Gunaratne
Yes I think after we fixed the permission model we did not fix the default permissions given to users. We may need to update that in SM. On Fri, Feb 20, 2015 at 9:51 PM, Udara Liyanage wrote: > It's not related to token. Registry write operation is not allowed for > this user. When I added the p

Re: Mock IaaS does not update stat values as expected

2015-02-20 Thread Imesh Gunaratne
Yes we could add more cartridges in default mock-iaas.xml for configuring statistics publishing. On Fri, Feb 20, 2015 at 10:06 PM, Lahiru Sandaruwan wrote: > I think we should make the default cartridge type in mock-iaas.xml php. > Because our simplest sample is using php as cartridge type. > >

Re: Mock IaaS does not update stat values as expected

2015-02-20 Thread Lahiru Sandaruwan
I think we should make the default cartridge type in mock-iaas.xml php. Because our simplest sample is using php as cartridge type. Thanks. On Thu, Feb 19, 2015 at 9:20 AM, Imesh Gunaratne wrote: > Great! May be it was not clear. For others information: In mock-iaas.xml > if we need any custom

[GitHub] stratos pull request: CLI commands added to describe a kubernetes ...

2015-02-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/237 --- 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

[GitHub] stratos pull request: CLI commands added to describe a kubernetes ...

2015-02-20 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/237#issuecomment-75267184 Thanks for the fix @dinithis! I have now merged this to 4.1.0-beta-deployment-policy-fix branch. --- If your project is set up for it, you can reply to this email and hav

Re: Permission issue while adding registry resource by metadata service

2015-02-20 Thread Udara Liyanage
It's not related to token. Registry write operation is not allowed for this user. When I added the permission it worked

Re: Permission issue while adding registry resource by metadata service

2015-02-20 Thread Gayan Gunarathne
Seems we try to update registry of the different user.I guess user account use for update the registry will different from the account that you create the user token. Thanks, Gayan On Fri, Feb 20, 2015 at 4:58 PM, Udara Liyanage wrote: > Hi, > > Do we have to assign permission. > > Caused by: o

Can someone explain me the logic in GroupMonitor#getGroupLevelNetworkPartitionContext();

2015-02-20 Thread Rajkumar Rajaratnam
Hi Devs, Please explain me the logic of this method GroupMonitor#getGroupLevelNetworkPartitionContext(); https://github.com/apache/stratos/blob/master/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/monitor/component/GroupMonitor.java#L528-558 Thanks. -- Ra

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-20 Thread chamilad
Github user chamilad commented on the pull request: https://github.com/apache/stratos/pull/236#issuecomment-75234534 Thanks @imesh ! --- 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 featu

Re: Unable to assign Apache Stratos JIRA's to myself

2015-02-20 Thread Lahiru Sandaruwan
I added you as a contributor. Can you try again? Thanks. On Fri, Feb 20, 2015 at 2:27 PM, Dinithi De Silva wrote: > Hi, > > I am unable to assign JIRA's to myself. Can someone please look into this? > > Thank you > -- > *Dinithi De Silva* > Associate Software Engineer, WSO2 Inc. > m:+9471666765

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-20 Thread imesh
Github user imesh commented on the pull request: https://github.com/apache/stratos/pull/236#issuecomment-75229805 Thanks for the modification @chamilad! I have now merged this to master branch. --- If your project is set up for it, you can reply to this email and have your reply appe

[GitHub] stratos pull request: PCA - Fixed PCA integration test to be param...

2015-02-20 Thread asfgit
Github user asfgit closed the pull request at: https://github.com/apache/stratos/pull/236 --- 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

Re: CLI commands added

2015-02-20 Thread Dinithi De Silva
I have added CLI command to DescribeApplicationRuntime and fixed issues in DeleteApplicationCommand in the same PR. On Fri, Feb 20, 2015 at 2:21 PM, Dinithi De Silva wrote: > Hi, > > have added CLI commands added to describe a kubernetes cluter and to get > the master of a kubernetes cluster. Pl

Permission issue while adding registry resource by metadata service

2015-02-20 Thread Udara Liyanage
Hi, Do we have to assign permission. Caused by: org.wso2.carbon.registry.core.exceptions.RegistryException: *Failed to add new resource. User wso2.anonymous.user does not have authorization to update the collection */. at org.wso2.carbon.registry.core.jdbc.Repository.addEmptyCollection(Repository

[jira] [Created] (STRATOS-1202) Wiki - Document how Network Partitions can be updated

2015-02-20 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1202: - Summary: Wiki - Document how Network Partitions can be updated Key: STRATOS-1202 URL: https://issues.apache.org/jira/browse/STRATOS-1202 Project: Stratos

[jira] [Updated] (STRATOS-1202) Wiki - Document how Network Partitions can be updated

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-1202: -- Component/s: Documentation Fix Version/s: 4.1.0 Alpha > Wiki - Document how Netw

[jira] [Created] (STRATOS-1201) Improvements for CLI code

2015-02-20 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1201: - Summary: Improvements for CLI code Key: STRATOS-1201 URL: https://issues.apache.org/jira/browse/STRATOS-1201 Project: Stratos Issue Type: Improveme

Re: METADATASERVICE_URL is missing in payload

2015-02-20 Thread Gayan Gunarathne
Hi Udara, AFAIR we are not passing the mete data service URL in the cartridge payload. IMO we can configure that meta data service URL in the agent.conf as the same as we did for the CEP, MB. Thanks, Gayan On Fri, Feb 20, 2015 at 2:19 PM, Udara Liyanage wrote: > Hi, > > METADATASERVICE_URL pa

Re: [Dev] [Stratos] CloudControllerServiceCartridgeNotFoundExceptionException when adding the application

2015-02-20 Thread Mariangela Hills
Fixed this issue in the following pages: - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+EC2 - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Single+Cartridge+on+Kubernetes - https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+S

[jira] [Comment Edited] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328735#comment-14328735 ] Mariangela Hills edited comment on STRATOS-1198 at 2/20/15 9:31 AM: --

[jira] [Resolved] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1198. --- Resolution: Fixed Fixed in the following pages: # https://cwiki.apache.org/conflue

[jira] [Reopened] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills reopened STRATOS-1198: --- Issue still exist in other IaaSes such as Openstack. Need to fix them too. > Wrong cart

[jira] [Comment Edited] (STRATOS-1198) Wrong cartridge JSON mentioned in single cartridge cURL command

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328714#comment-14328714 ] Mariangela Hills edited comment on STRATOS-1198 at 2/20/15 9:10 AM: --

Unable to assign Apache Stratos JIRA's to myself

2015-02-20 Thread Dinithi De Silva
Hi, I am unable to assign JIRA's to myself. Can someone please look into this? Thank you -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@wso2.com | w: www.wso2.com | a: #20, Palm Grove, Colombo 03

[jira] [Resolved] (STRATOS-1193) Wiki - Terminology needs to be updated

2015-02-20 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills resolved STRATOS-1193. --- Resolution: Fixed Updated wiki docs. > Wiki - Terminology needs to be updated > ---

CLI commands added

2015-02-20 Thread Dinithi De Silva
Hi, have added CLI commands added to describe a kubernetes cluter and to get the master of a kubernetes cluster. Please review and merge the PR [1]. [1] - https://github.com/apache/stratos/pull/237 Thanks -- *Dinithi De Silva* Associate Software Engineer, WSO2 Inc. m:+94716667655 | e:dinit...@

METADATASERVICE_URL is missing in payload

2015-02-20 Thread Udara Liyanage
Hi, METADATASERVICE_URL parameter is added to the instance payload so agent knows where to fetch/publish metadata. Seems it is removed from payload for some reason. Anyone have an idea why it is removed? -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middlewar

[GitHub] stratos pull request: CLI commands added to describe a kubernetes ...

2015-02-20 Thread dinithis
GitHub user dinithis opened a pull request: https://github.com/apache/stratos/pull/237 CLI commands added to describe a kubernetes cluter and to get the master of a kubernetes cluster CLI commands added to describe a kubernetes cluter and to get the master of a kubernetes cluster

[jira] [Commented] (STRATOS-1108) Longetivity test issu: VMs spawned and Stratos threw OutOfMemoryError

2015-02-20 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328683#comment-14328683 ] Imesh Gunaratne commented on STRATOS-1108: -- Hi Martin, We will check the siddh

[jira] [Updated] (STRATOS-1108) Longetivity test issu: VMs spawned and Stratos threw OutOfMemoryError

2015-02-20 Thread Imesh Gunaratne (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Imesh Gunaratne updated STRATOS-1108: - Fix Version/s: 4.1.0 RC1 > Longetivity test issu: VMs spawned and Stratos threw OutOfMem

[GitHub] stratos pull request: Fixed CLI command for deactivate tenant

2015-02-20 Thread dinithis
Github user dinithis closed the pull request at: https://github.com/apache/stratos/pull/235 --- 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 e

[jira] [Created] (STRATOS-1200) Wrong terminology in code

2015-02-20 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-1200: - Summary: Wrong terminology in code Key: STRATOS-1200 URL: https://issues.apache.org/jira/browse/STRATOS-1200 Project: Stratos Issue Type: Bug A