Re: Oauth for Metadata service

2014-11-19 Thread Lakmal Warusawithana
I'm +1 for oAuth with non expiry token. On Thu, Nov 20, 2014 at 12:39 PM, Udara Liyanage wrote: > Hi Lakmal, Imesh > > Came up with another solution. > > *Prerequisites* : SM's public key should be installed into metadata > service > > SM generate a key pair for each instance at the time of comp

Re: Making Stratos REST API restfull

2014-11-19 Thread Nirmal Fernando
Hi Udara, I think search is a different concept. IMO we shouldn't remove it. In search case, what you pass is not need to be the exact tenantDomain, but any string. On Thu, Nov 20, 2014 at 7:45 AM, Udara Liyanage wrote: > HI Nirmal, > > I made the following changes > > retrieveTenants > /tenant

Re: Oauth for Metadata service

2014-11-19 Thread Udara Liyanage
Hi Lakmal, Imesh Came up with another solution. *Prerequisites* : SM's public key should be installed into metadata service SM generate a key pair for each instance at the time of composite application deployment and that will be sing by SM Common name of the public key is set to applicationID g

Re: Making Stratos REST API restfull

2014-11-19 Thread Udara Liyanage
HI Nirmal, I made the following changes retrieveTenants > /tenants retrievePartialSearchTenants > /tenants/{tenantDomain} Since we have /tenants/{tenantDomain} already, we don't need isDomainAvailable. I made the correction for retrieveTenants On Thu, Nov 20, 2014 at 12:03 PM, Nirmal Fernan

Re: Determining the "Active" status of a cluster

2014-11-19 Thread Sajith Kariyawasam
Shouldn't we consider a cluster is active if there is "atleast one" active member? Even If a cluster is defined its min count as 3, it can serve the requests as soon as one instance gets activated, without waiting for other two instances. Our instance starting / activation process happens sequenti

Re: Determining the "Active" status of a cluster

2014-11-19 Thread Udara Liyanage
Hi Sajith, >From UI side it considers active when there is atleast one active member. CLI has implemented it in a different manner. On Thu, Nov 20, 2014 at 12:03 PM, Sajith Kariyawasam wrote: > Shouldn't we consider a cluster is active if there is "atleast one" active > member? > > Even If a c

Re: Making Stratos REST API restfull

2014-11-19 Thread Nirmal Fernando
This API method is correct since it's a different function i.e. search. So, tenants/search/{tenantDomain} is fine. I think the one I suggested in the other thread is also wrong for retrieveTenants. if it is all tenants(retrieveTenants); GET /tenants/ if it is 1 tenant; GET /tenants/{tenantDomain}

Re: Making Stratos REST API restfull

2014-11-19 Thread Udara Liyanage
Hi Nirmal, We already have getTenants() which should be /tenants/{tenantDomain} @GET @Path("tenant/search/{tenantDomain}") @Consumes("application/json") @Produces("application/json") @AuthorizationAction("/permission/protected/manage/monitor/tenants") @SuperTenantService(tru

[jira] [Updated] (STRATOS-637) Cannot configure CEP credentials in Cartridge Agent

2014-11-19 Thread Amila Maharachchi (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amila Maharachchi updated STRATOS-637: -- Affects Version/s: 4.0.0 Fix Version/s: 4.1.0 > Cannot configure CEP credential

Re: Making Stratos REST API restfull

2014-11-19 Thread Nirmal Fernando
+1 for GET /tenants/{tenantDomain} On Thu, Nov 20, 2014 at 5:44 AM, Udara Liyanage wrote: > > Hi, > > We have the following REST API method which IMO should be > removed/deprecated. IMO it is not the RESTfull way of doing. Client should > determine the availability of domain by sending a GET /te

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
In the current code base also, we are considering the first private IP of the member in LB. On Thu, Nov 20, 2014 at 11:27 AM, Rajkumar Rajaratnam wrote: > Hi Imesh, > > I am modifying topology to include multiple private/public IPs. So now > member object is having a list of private IPs and a li

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
Hi Imesh, I am modifying topology to include multiple private/public IPs. So now member object is having a list of private IPs and a list of public IPs. Which public IP LB should use? Can we get the first IP as default for routing? Thanks. On Thu, Nov 20, 2014 at 1:05 AM, Rajkumar Rajaratnam wr

Re: [grouping][question] cartrdige type in dependency definition

2014-11-19 Thread Isuru Haththotuwa
Hi Martin, In a Service Group, we do not have runtime data, as aliases and other relevant subscription data are provided in the application deployment. If you need to start two instances of the same cartridge type, what you can do is to put them in the application itself without using a group, an

Making Stratos REST API restfull

2014-11-19 Thread Udara Liyanage
Hi, We have the following REST API method which IMO should be removed/deprecated. IMO it is not the RESTfull way of doing. Client should determine the availability of domain by sending a GET /tenants/{domains} and determine the availability by looking at the response of it. Further this should be

RE: [grouping][question] cartrdige type in dependency definition

2014-11-19 Thread Martin Eppel (meppel)
Hi Udara, Yes, I confirmed, there are real use cases where we have dependencies on the same cartridge type but different subscriptions, one is an example of active / standby scenario another one a scenario to patch / upgrade the system. Quoting the response below: ns-01 and ns-02 are instance

RE: [grouping][question] cartrdige type in dependency definition

2014-11-19 Thread Martin Eppel (meppel)
Hi Udara, No problem, I was just wondering if it is supported or not. On the other hand we might have a real use case, let me follow up on this Thanks Martin From: Udara Liyanage [mailto:ud...@wso2.com] Sent: Wednesday, November 19, 2014 6:16 PM To: dev Subject: Re: [grouping][question] cart

Re: [grouping][question] cartrdige type in dependency definition

2014-11-19 Thread Udara Liyanage
Hi Martin, Creating another cartridge type is just changing the type parameter of the existing cartridge json if you are using the base image approach and deploying the new json. If the requirement is only the easiness in testing, I don't think implementing this feasibility is necessary given th

[grouping][question] cartrdige type in dependency definition

2014-11-19 Thread Martin Eppel (meppel)
In the dependency section of a service group (or application) we define the startup sequence using the following format: Service group : ... , "dependencies": { "startupOrders": [ "cartridge.type1,cartridge.type2,cartridge.type3" ], "terminationBeh

[jira] [Commented] (STRATOS-985) [grouping][testing] terminate-all not working in nested group scenario

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218544#comment-14218544 ] Martin Eppel commented on STRATOS-985: -- also uploaded the app and group definitions

[jira] [Updated] (STRATOS-985) [grouping][testing] terminate-all not working in nested group scenario

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-985: - Attachment: group7c.json group6c.json group5c.json

[jira] [Updated] (STRATOS-985) [grouping][testing] terminate-all not working in nested group scenario

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-985: - Attachment: wso2carbon.terminate.log.gz wso2carbon.startup.log.gz ...startup... l

[jira] [Updated] (STRATOS-993) [grouping][testing] application undeploy not working

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-993: - Description: tried to undeploy application("test_app5"), expected spun up VM to be killed but no

[jira] [Created] (STRATOS-993) [grouping][testing] application undeploy not working

2014-11-19 Thread Martin Eppel (JIRA)
Martin Eppel created STRATOS-993: Summary: [grouping][testing] application undeploy not working Key: STRATOS-993 URL: https://issues.apache.org/jira/browse/STRATOS-993 Project: Stratos Issue

[jira] [Updated] (STRATOS-993) [grouping][testing] application undeploy not working

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-993: - Attachment: wso2carbon.app_undeploy.log > [grouping][testing] application undeploy not working >

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Nirmal Fernando
Raj, since we have added it to the topology, let's terminate and send the event. +1 from me. On Wed, Nov 19, 2014 at 8:05 PM, Rajkumar Rajaratnam wrote: > Even if we didn't add it to the topology, at least we need to terminate > the instance right? But we can't send the member terminated event t

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
On Thu, Nov 20, 2014 at 12:52 AM, Jeffrey Nguyen (jeffrngu) < jeffr...@cisco.com> wrote: > > I think it's probably less confusing if we use the terms "private IP" > and "fixed private IP" (or "predefined private IP"). > Yes. We will use the words *private IP*, *fixed private IP*, *floating IP* a

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
Hi Jeffrey, Please see my comments inline. On Thu, Nov 20, 2014 at 12:44 AM, Jeffrey Nguyen (jeffrngu) < jeffr...@cisco.com> wrote: > Hi Rajkumar, > > Looks like you made some very good progress on this enhancement. I have > the following comments/questions: > >- Currently Stratos uses th

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Jeffrey Nguyen (jeffrngu)
I think it's probably less confusing if we use the terms "private IP" and "fixed private IP" (or "predefined private IP"). -Jeffrey From: Rajkumar Rajaratnam mailto:rajkum...@wso2.com>> Date: Wednesday, November 19, 2014 11:58 AM To: "dev@stratos.apache.org" mail

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Jeffrey Nguyen (jeffrngu)
Hi Rajkumar, Looks like you made some very good progress on this enhancement. I have the following comments/questions: * Currently Stratos uses the property named "autoAssignIp" in cartridge json to decide whether it needs to allocate floating IP for a given instance. Is that still valid

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Rajkumar Rajaratnam
Even if we didn't add it to the topology, at least we need to terminate the instance right? But we can't send the member terminated event though. Thanks. On Thu, Nov 20, 2014 at 12:18 AM, Nirmal Fernando wrote: > Yes, if we added it to the topology, then we should send member terminated > event

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
On Wed, Nov 19, 2014 at 7:01 PM, Rajkumar Rajaratnam wrote: > Hi all, > > I have implemented this feature and it is fully functional now. I had to > upgrade Jclouds version to 1.8.1 in order to implement it using neutron > networking API. > > Let me explain how it works now. I will past network i

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Nirmal Fernando
Yes, if we added it to the topology, then we should send member terminated event. (earlier it wasn't the case!) On Wed, Nov 19, 2014 at 7:41 PM, Rajkumar Rajaratnam wrote: > correction //Are you saying that we can't *send* the member terminated > event if the member is not in the topology?// > >

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Rajkumar Rajaratnam
This is discussed here; Failed to terminate member Error appearing repeatedly On Thu, Nov 20, 2014 at 12:11 AM, Rajkumar Rajaratnam wrote: > correction //Are you saying that we can't *send* the member terminated > event if the member is not in the topology?// > > On Thu, Nov 20, 2014 at 12:09 AM

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Rajkumar Rajaratnam
correction //Are you saying that we can't *send* the member terminated event if the member is not in the topology?// On Thu, Nov 20, 2014 at 12:09 AM, Rajkumar Rajaratnam wrote: > Yes member is not added to the topology. > > But we have returned the member context to AS ans AS added the member t

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Rajkumar Rajaratnam
Yes member is not added to the topology. But we have returned the member context to AS ans AS added the member to pending member list. So if IP allocation goes wrong and if we are not terminating the instance at this point, it will take another 15 min to spin up a replacement. Are you saying that

RE: [Question] in 4.1 M4 - how to list subscribed cartridges using stratos admin ?

2014-11-19 Thread Udara Liyanage
+1 currently list application just view the output of GET /application/appId Needs to show the status too. CLI can make GET calls to each cluster/group/cartridge and get status. Cluster id , group ids are fetched in /application/appid call. Touched, not typed. Erroneous words are a feature, not

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Nirmal Fernando
Agree with Jeffrey. I too do not think we need to move it to subscription, since as a subscriber, you have no idea what n/w interfaces, what IPs you should use. On Wed, Nov 19, 2014 at 7:09 PM, Jeffrey Nguyen (jeffrngu) < jeffr...@cisco.com> wrote: > > Hi, > > When fixed IP is defined in a cart

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Jeffrey Nguyen (jeffrngu)
Hi, When fixed IP is defined in a cartridge, it is considered static cartridge. We need to unsubscribe it before attempting to resubscribe. The use case for fixed ip is when we have a deployment where certain VM needs to have fixed Ips for their corresponding NICs so that they can be manag

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Nirmal Fernando
Raj, At this point have we added the member to the topology? We send the member spawned only after a successful IP allocation according to https://github.com/apache/stratos/blob/master/components/org.apache.stratos.cloud.controller/src/main/java/org/apache/stratos/cloud/controller/impl/CloudContro

RE: [Question] in 4.1 M4 - how to list subscribed cartridges using stratos admin ?

2014-11-19 Thread Martin Eppel (meppel)
List-applications doesn’t show much besides the application deployed and an application is a composite structure, consisting of groups and cartrdiges. I think it would be helpful to show as part of list-applications to show the groups, cartridges and their state as well. In 4.0.0 list-subscribed

[jira] [Commented] (STRATOS-986) no startup of VMs scenario 2

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14218236#comment-14218236 ] Martin Eppel commented on STRATOS-986: -- Hi Isuru, I changed the dependency as sugges

[jira] [Updated] (STRATOS-986) no startup of VMs scenario 2

2014-11-19 Thread Martin Eppel (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Martin Eppel updated STRATOS-986: - Attachment: wso2carbon.11-19.log.gz group5-11-19.json application_

Re: If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Udara Liyanage
Touched, not typed. Erroneous words are a feature, not a typo. On Nov 19, 2014 11:18 PM, "Rajkumar Rajaratnam" wrote: > > Hi, > > So I went through the master branch code and found $Subject. > If predefined floating IP allocation goes wrong, we are terminating the instance but not sending member t

If floating IP allocation goes wrong, we are not terminating the instances at that point?

2014-11-19 Thread Rajkumar Rajaratnam
Hi, So I went through the master branch code and found $Subject. - If predefined floating IP allocation goes wrong, we are terminating the instance but not sending member terminated event, which will leads to lot of problems :) - If floating IP allocation goes wrong, we don't even t

Re: Determining the "Active" status of a cluster

2014-11-19 Thread Isuru Haththotuwa
On Wed, Nov 19, 2014 at 8:54 PM, Udara Liyanage wrote: > > > > > Touched, not typed. Erroneous words are a feature, not a typo. > On Nov 19, 2014 8:13 PM, "Chamila De Alwis" wrote: > > > > Hi, > > > > Given the list of members in a cluster, we can determine the number of > active members and the

Re: What is meant by application groups

2014-11-19 Thread Lahiru Sandaruwan
On Wed, Nov 19, 2014 at 7:09 PM, Dakshika Jayathilaka wrote: > We are creating groups using cartridges or groups. So how about "*Cartridge > Groups*" ? > That is also meaningful. But i felt just "group" would be better as groups can be children of one group, not only the cartridges. Thanks. >

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Lahiru Sandaruwan
On Wed, Nov 19, 2014 at 4:50 PM, Isuru Haththotuwa wrote: > > > On Wed, Nov 19, 2014 at 4:44 PM, Reka Thirunavukkarasu > wrote: > >> Hi >> >> On Wed, Nov 19, 2014 at 4:05 PM, Rajkumar Rajaratnam >> wrote: >> >>> Hi devs, >>> >>> I understand that if we add a fixedIp in network interfaces sectio

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Thanks all for the input. Yes there can be some usecases. I added this feature in neutron network too. I just wanted verify before doing it. Thanks. On Wed, Nov 19, 2014 at 8:41 PM, Udara Liyanage wrote: > Hi Raj, > > As Reka mentioned there can be only one subscription(or an application in >

Re: Determining the "Active" status of a cluster

2014-11-19 Thread Udara Liyanage
Touched, not typed. Erroneous words are a feature, not a typo. On Nov 19, 2014 8:13 PM, "Chamila De Alwis" wrote: > > Hi, > > Given the list of members in a cluster, we can determine the number of active members and their partition ids. This in turn can be used to determine the min count of each p

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Udara Liyanage
Hi Raj, As Reka mentioned there can be only one subscription(or an application in new terminology) of this cartridge. This is useful in cases where someone wants to guarantee that instance get assigned a predefined IP. Yes this will fail if the IP is not a available. Touched, not typed. Erroneo

Group list REST end point error

2014-11-19 Thread Dakshika Jayathilaka
Hi, I'm getting below error on *groups *endpoint. Need to add this to Stratos new UXD curl -X GET -H “Content-Type: application/json” -k -v -u admin:admin https://localhost:9443/api/v4.1/groups TID: [0] [STRATOS] [2014-11-19 20:21:20,425] ERROR {org.apache.stratos.rest.endpoint.handlers.CustomT

Determining the "Active" status of a cluster

2014-11-19 Thread Chamila De Alwis
Hi, Given the list of members in a cluster, we can determine the number of active members and their partition ids. This in turn can be used to determine the min count of each partition. Can it be said that the particular cluster is "Active", if the number of "Active" members are equal to the sum

Re: What is meant by application groups

2014-11-19 Thread Nirmal Fernando
On Wed, Nov 19, 2014 at 3:04 PM, Nirmal Fernando wrote: > Thanks Dakshika. So, what does it actually contains? > > On Wed, Nov 19, 2014 at 2:58 PM, Dakshika Jayathilaka > wrote: > >> Hi Nirmal, >> >> Yes currently it name as you mentioned. Udara raised suggestion with term >> "Service Groups" i

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
On Wed, Nov 19, 2014 at 4:44 PM, Reka Thirunavukkarasu wrote: > Hi > > On Wed, Nov 19, 2014 at 4:05 PM, Rajkumar Rajaratnam > wrote: > >> Hi devs, >> >> I understand that if we add a fixedIp in network interfaces section, >> instance will get the fixed ip to the corresponding NIC. >> "networkInt

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
On Wed, Nov 19, 2014 at 4:43 PM, Nirmal Fernando wrote: > Hi Raj, > > You could find some info https://issues.apache.org/jira/browse/STRATOS-493 > Thanks a lot Nirmal. This is a useful link. I will go though it. > > I ccied Martin and Jeffrey, they will probably be able to help you. > > On Wed,

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
Missed to add some important stuffs. This feature is only for openstack with neutron networking environment. You need to set a property in cloud-controller xml to specify whether you are using neutron network or not. org.apache.stratos.cloud.controller.iaases.OpenstackNovaIaas

Re: What is meant by application groups

2014-11-19 Thread Nirmal Fernando
Thanks Dakshika. So, what does it actually content? On Wed, Nov 19, 2014 at 2:58 PM, Dakshika Jayathilaka wrote: > Hi Nirmal, > > Yes currently it name as you mentioned. Udara raised suggestion with term > "Service Groups" instead of "Application Groups". > > *Dakshika Jayathilaka* > Software E

Re: What is meant by application groups

2014-11-19 Thread Dakshika Jayathilaka
Hi Nirmal, Yes currently it name as you mentioned. Udara raised suggestion with term "Service Groups" instead of "Application Groups". *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Nov 19, 2014 at 7:24 PM, Nirmal Fernando wrote: > I'm -1 sin

Re: What is meant by application groups

2014-11-19 Thread Nirmal Fernando
I'm -1 since for me Cartridge Groups doesn't make sense if it shows applications. Why can't we simply group 'Applications' and 'Application Groups' separately? On Wed, Nov 19, 2014 at 2:39 PM, Dakshika Jayathilaka wrote: > We are creating groups using cartridges or groups. So how about "*Cartrid

[jira] [Created] (STRATOS-992) Resource path /cluster/clusterId/{clusterId} does not follow standard

2014-11-19 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-992: Summary: Resource path /cluster/clusterId/{clusterId} does not follow standard Key: STRATOS-992 URL: https://issues.apache.org/jira/browse/STRATOS-992 Project

Re: What is meant by application groups

2014-11-19 Thread Dakshika Jayathilaka
We are creating groups using cartridges or groups. So how about "*Cartridge Groups*" ? WDYT? *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Nov 19, 2014 at 2:46 PM, Lahiru Sandaruwan wrote: > > > On Wed, Nov 19, 2014 at 2:43 PM, Dakshika Jayat

Re: Assigning floating IPs to any interfaces of our choice

2014-11-19 Thread Rajkumar Rajaratnam
Hi all, I have implemented this feature and it is fully functional now. I had to upgrade Jclouds version to 1.8.1 in order to implement it using neutron networking API. Let me explain how it works now. I will past network interfaces section of cartridge definition and explain each features implem

[jira] [Updated] (STRATOS-989) Some resource paths are not meaningful

2014-11-19 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-989: - Description: The following resource paths are not meaningful enough: ** /cartridge/tenan

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
On Wed, Nov 19, 2014 at 11:05 AM, Rajkumar Rajaratnam wrote: > Thanks everyone for quick ack! > > If this is the expected behavior, then no problem. But as Lakmal mentioned > property name is confusing. > autoIpAssign=false gives an impression that Stratos will not assign IP. > But it is actually

[jira] [Commented] (STRATOS-989) Some resource paths are not meaningful

2014-11-19 Thread Udara Liyanage (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217850#comment-14217850 ] Udara Liyanage commented on STRATOS-989: Hi Mari, Resource URL of the Stratos AP

[jira] [Commented] (STRATOS-989) Some resource paths are not meaningful

2014-11-19 Thread Udara Liyanage (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217849#comment-14217849 ] Udara Liyanage commented on STRATOS-989: Hi Mari, Resource URL of the Stratos AP

Re: [jira] [Created] (STRATOS-989) Some resource paths are not meaningful

2014-11-19 Thread Udara Liyanage
Hi Mari, Resource URL of the Stratos API is to be re factored. Those things will be fixed there. I created the jira STRATOS-982 to track this. On Wed, Nov 19, 2014 at 5:29 PM, Mariangela Hills (JIRA) wrote: > Mariangela Hills created STRATOS-989: > > >

[jira] [Created] (STRATOS-991) Refactor Stratos API URLs

2014-11-19 Thread Udara Liyanage (JIRA)
Udara Liyanage created STRATOS-991: -- Summary: Refactor Stratos API URLs Key: STRATOS-991 URL: https://issues.apache.org/jira/browse/STRATOS-991 Project: Stratos Issue Type: Bug R

[jira] [Updated] (STRATOS-971) Inconsistency in parameter naming used in coding comments

2014-11-19 Thread Mariangela Hills (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariangela Hills updated STRATOS-971: - Description: There is inconsistency in coding comments. For example in {application_id} i

[jira] [Commented] (STRATOS-990) Remove method for list of subscribed cartridges

2014-11-19 Thread Udara Liyanage (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217831#comment-14217831 ] Udara Liyanage commented on STRATOS-990: Hi Mari, Thanks for pointing this out.

[jira] [Commented] (STRATOS-990) Remove method for list of subscribed cartridges

2014-11-19 Thread Udara Liyanage (JIRA)
[ https://issues.apache.org/jira/browse/STRATOS-990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14217828#comment-14217828 ] Udara Liyanage commented on STRATOS-990: Hi Mari, Thanks for pointing this out.

Re: [jira] [Created] (STRATOS-990) Remove method for list of subscribed cartridges

2014-11-19 Thread Udara Liyanage
Hi Mari, Thanks for pointing this out. The CLI commands which uses this is too deprecated. I will remove this. On Wed, Nov 19, 2014 at 5:52 PM, Mariangela Hills (JIRA) wrote: > Mariangela Hills created STRATOS-990: > > > Summary: Remove meth

[jira] [Created] (STRATOS-990) Remove method for list of subscribed cartridges

2014-11-19 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-990: Summary: Remove method for list of subscribed cartridges Key: STRATOS-990 URL: https://issues.apache.org/jira/browse/STRATOS-990 Project: Stratos Iss

Re: Oauth for Metadata service

2014-11-19 Thread Udara Liyanage
Hi, Below is the flow which is discussed so far. 1) User/tenant deploys and aplication id=appId 2) SM calls IS and creates an oAuth APP which will return consumer key and consumer secret 3) SM again calls the IS with consumer keys, secrets and appid as the scope 4) IS generates a JWT token which

[jira] [Created] (STRATOS-989) Some resource paths are not meaningful

2014-11-19 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-989: Summary: Some resource paths are not meaningful Key: STRATOS-989 URL: https://issues.apache.org/jira/browse/STRATOS-989 Project: Stratos Issue Type:

Re: stratos git commit: Fixing file name mismatch issue

2014-11-19 Thread Nirmal Fernando
Hi Imesh, Any idea where is CloudStackIaas class? On Thu, Nov 13, 2014 at 8:26 PM, Nirmal Fernando wrote: > Hi Imesh, > > You have removed the CloudStackIaas class?? > https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;f=components/org.apache.stratos.cloud.controller/src/main/java/org

Re: Subtitles for inaudible hangout videos [Suggestion]

2014-11-19 Thread Nirmal Fernando
Good idea Vishanth.. but this would be a time consuming task, isn't it? We might need some volunteers :-) On Wed, Nov 19, 2014 at 12:14 PM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi team, > > I believe these hangout sessions in youtube channel are really useful for > everyone esp

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Isuru Haththotuwa
On Wed, Nov 19, 2014 at 4:44 PM, Reka Thirunavukkarasu wrote: > Hi > > On Wed, Nov 19, 2014 at 4:05 PM, Rajkumar Rajaratnam > wrote: > >> Hi devs, >> >> I understand that if we add a fixedIp in network interfaces section, >> instance will get the fixed ip to the corresponding NIC. >> "networkInt

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Reka Thirunavukkarasu
Hi On Wed, Nov 19, 2014 at 4:05 PM, Rajkumar Rajaratnam wrote: > Hi devs, > > I understand that if we add a fixedIp in network interfaces section, > instance will get the fixed ip to the corresponding NIC. > "networkInterfaces":[ { "name":"net1-nonroutable", "networkUuid":" > 84d52a6d-a9e5-

Re: What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Nirmal Fernando
Hi Raj, You could find some info https://issues.apache.org/jira/browse/STRATOS-493 I ccied Martin and Jeffrey, they will probably be able to help you. On Wed, Nov 19, 2014 at 11:35 AM, Rajkumar Rajaratnam wrote: > Hi devs, > > I understand that if we add a fixedIp in network interfaces section

Subtitles for inaudible hangout videos [Suggestion]

2014-11-19 Thread Vishanth Balasubramaniam
Hi team, I believe these hangout sessions in youtube channel are really useful for everyone especially the starters to this community. But unfortunately some of the earlier hangout video have poor audio. So how about subtitles for those videos? Here is a link for a do how - https://www.youtube.c

What is the usecase of having fixedIp and floatingIp in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Hi devs, I understand that if we add a fixedIp in network interfaces section, instance will get the fixed ip to the corresponding NIC. "networkInterfaces":[ { "name":"net1-nonroutable", "networkUuid":" 84d52a6d-a9e5-472a-9935-a0e195fe5b4a", "fixedIp":"10.0.1.4", } ], I also understand tha

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Okay. Thanks a lot Nirmal. I will go through it too. Thanks. On Wed, Nov 19, 2014 at 3:57 PM, Nirmal Fernando wrote: > By default, it is true, so you don't need it. But please read through the > discussion I sent, I think we have to enable some setting in the Openstack > server. > > On Wed, Nov

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
By default, it is true, so you don't need it. But please read through the discussion I sent, I think we have to enable some setting in the Openstack server. On Wed, Nov 19, 2014 at 11:24 AM, Rajkumar Rajaratnam wrote: > I didn't use this property. Do we have to set this also? Will try this out >

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
Jeffrey faced the same issue sometime back and please read through http://mail-archives.apache.org/mod_mbox/incubator-stratos-dev/201405.mbox/%3ccf9128a8.25f12%25jeffr...@cisco.com%3e On Wed, Nov 19, 2014 at 11:18 AM, Rajkumar Rajaratnam wrote: > Yeah, I typed the wrong name here, but I am using

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
I didn't use this property. Do we have to set this also? Will try this out with this property and let you know the results. Thanks. On Wed, Nov 19, 2014 at 3:50 PM, Nirmal Fernando wrote: > We seem to have faced similar issue in Openstack. > > > https://github.com/apache/stratos/commit/8102ac90

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Yeah, I typed the wrong name here, but I am using the correct name in cartridge definition. Sorry for the typo in $Subject. Thanks. On Wed, Nov 19, 2014 at 3:46 PM, Nirmal Fernando wrote: > Raj, the property name should be 'autoAssignIp' > > On Wed, Nov 19, 2014 at 11:14 AM, Rajkumar Rajaratnam

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
We seem to have faced similar issue in Openstack. https://github.com/apache/stratos/commit/8102ac90f16e9e94f37b07f5a1ddbe5a87a8d0cd Have you used blockUntilRunning property? On Wed, Nov 19, 2014 at 11:16 AM, Nirmal Fernando wrote: > Raj, the property name should be 'autoAssignIp' > > On Wed, N

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
Raj, the property name should be 'autoAssignIp' On Wed, Nov 19, 2014 at 11:14 AM, Rajkumar Rajaratnam wrote: > Hi Nirmal, > > On Wed, Nov 19, 2014 at 3:24 PM, Nirmal Fernando > wrote: > >> >> >> On Wed, Nov 19, 2014 at 10:47 AM, Rajkumar Rajaratnam > > wrote: >> >>> Hi devs, >>> >>> Documentati

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Hi Nirmal, On Wed, Nov 19, 2014 at 3:24 PM, Nirmal Fernando wrote: > > > On Wed, Nov 19, 2014 at 10:47 AM, Rajkumar Rajaratnam > wrote: > >> Hi devs, >> >> Documentations[1] says if set autoIpAssign=true, public IP will be >> assigned automatically. So it will be automatically assigned by strat

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Thanks everyone for quick ack! If this is the expected behavior, then no problem. But as Lakmal mentioned property name is confusing. autoIpAssign=false gives an impression that Stratos will not assign IP. But it is actually other way around. Let see if we can find some good name, we can change it

[jira] [Created] (STRATOS-988) Typo in resource path - /subsscriptions/{application_id}

2014-11-19 Thread Mariangela Hills (JIRA)
Mariangela Hills created STRATOS-988: Summary: Typo in resource path - /subsscriptions/{application_id} Key: STRATOS-988 URL: https://issues.apache.org/jira/browse/STRATOS-988 Project: Stratos

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Lakmal Warusawithana
I know this property is confusing. I think we should rename it. AFAIR what is meant, when you are set to true of autoIPAssign, From stratos not assigning any floating ip, let IaaS to handover to do what ever config in IaaS. In this case, if IaaS config to auto assign floating IP, instance get one,

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Nirmal Fernando
On Wed, Nov 19, 2014 at 10:47 AM, Rajkumar Rajaratnam wrote: > Hi devs, > > Documentations[1] says if set autoIpAssign=true, public IP will be > assigned automatically. So it will be automatically assigned by stratos? > Yes. > My instances are not getting any public IPs. > Can you send the wso

Re: What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Udara Liyanage
Hi, I guess the behavior is the expected behavior. autoIpAssign=true means IP should be assigned from IAAS side, thus Stratos does not allocate any. On Wed, Nov 19, 2014 at 3:17 PM, Rajkumar Rajaratnam wrote: > Hi devs, > > Documentations[1] says if set autoIpAssign=true, public IP will be > as

What will happen if autoIpAssign property is set to true in cartridge definition?

2014-11-19 Thread Rajkumar Rajaratnam
Hi devs, Documentations[1] says if set autoIpAssign=true, public IP will be assigned automatically. So it will be automatically assigned by stratos? My instances are not getting any public IPs. I went through the code base, and I guess we are not doing anything if autoIpAssign=true. So my underst

Re: Oauth for Metadata service

2014-11-19 Thread Udara Liyanage
Hi, I installed OAuth feature of WSO2 IS and was able to generate a token and validate a token by invoking the admin services using SOAP UI. I will now try to do the same with code at the time of application deployment. Found several issues We already use SSO feature, so newest oauth feature

Re: Hangout (01) to discuss the Python Agent

2014-11-19 Thread Vishanth Balasubramaniam
Good job Chamila On Wed, Nov 19, 2014 at 2:36 PM, Isuru Haththotuwa wrote: > Please find the YouTube link at [1]. > > [1]. http://www.youtube.com/watch?v=uR_xQ1yecT8 > > On Wed, Nov 19, 2014 at 2:26 PM, Chamila De Alwis > wrote: > >> Hi, >> >> The hangout will start in 15 minutes. Please join f

Re: What is meant by application groups

2014-11-19 Thread Lahiru Sandaruwan
On Wed, Nov 19, 2014 at 2:43 PM, Dakshika Jayathilaka wrote: > Ok, i'll change it to "Service Groups". Current rest endpoint include it > as "group", then its better to rename as servicegroups. WDYT? > Wouldn't just 'group' be better? > *Dakshika Jayathilaka* > Software Engineer > WSO2, Inc. >

Re: What is meant by application groups

2014-11-19 Thread Dakshika Jayathilaka
Ok, i'll change it to "Service Groups". Current rest endpoint include it as "group", then its better to rename as servicegroups. WDYT? *Dakshika Jayathilaka* Software Engineer WSO2, Inc. lean.enterprise.middleware 0771100911 On Wed, Nov 19, 2014 at 2:27 PM, Udara Liyanage wrote: > Hi Dakshika,

  1   2   >