Hi, Values are returned as an array. Are you sure you are using latest Stratos?
curl -X GET -H "Content-Type: application/json" -k -H "Authorization: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOi0xNDc3NTIyNTU3LCJzdWIiOiJhZG1pbiIsImF6cCI6IjhpbWs5WEpkUHM5UEtYWTk1Xzk2MTl0MzVBa2EiLCJhcHBJZCI6InNpbmdsZS1jYXJ0cmlkZ2UtYXBwIiwiYXVkIjpbIjhpbWs5WEpkUHM5UEtYWTk1Xzk2MTl0MzVBa2EiXSwiaXNzIjoiaHR0cHM6XC9cL2xvY2FsaG9zdDo5NDQzXC9vYXV0aDJlbmRwb2ludHNcL3Rva2VuIiwiaWF0IjotMTQ3NzUyMTU1Nn0.CLiAalTzfJ-rjllVc56C0cFYtCoOiFqmg02d3Yhdb6VnZ-0voX8lA0qPclAPTrI1mhJQIrL3BeVqKgXlOgCqfKFQsf_wf3rnLab8-Kyycv3o3rerkgBzua9bcsMkBK8zDXfsbpgujCB1DNCDMqVKpWNbaZcFYWrq7VJJp5uajco" -k https://localhost:9443/metadata/api/applications/single-cartridge-app/properties | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 86 0 86 0 0 1992 0 --:--:-- --:--:-- --:--:-- 2000 { "properties": [ { "key": "email", "values": [ "udaraliyan...@gmail.com", "ud...@wso2.com" ] } ] } On Sun, May 31, 2015 at 4:42 PM, Udara Liyanage <ud...@wso2.com> wrote: > Hi Imesh, > > I tested the mentioned API without the token, it returns 403 Forbidden > > > curl -X GET -H "Content-Type: application/json" -k -k > https://localhost:9443/metadata/api/applications/single-cartridge-app/properties > -v > * Hostname was NOT found in DNS cache > * Trying 127.0.0.1... > * Connected to localhost (127.0.0.1) port 9443 (#0) > * successfully set certificate verify locations: > * CAfile: none > CApath: /etc/ssl/certs > * SSLv3, TLS handshake, Client hello (1): > * SSLv3, TLS handshake, Server hello (2): > * SSLv3, TLS handshake, CERT (11): > * SSLv3, TLS handshake, Server key exchange (12): > * SSLv3, TLS handshake, Server finished (14): > * SSLv3, TLS handshake, Client key exchange (16): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSLv3, TLS change cipher, Client hello (1): > * SSLv3, TLS handshake, Finished (20): > * SSL connection using ECDHE-RSA-AES256-SHA384 > * Server certificate: > * subject: C=US; ST=CA; L=Mountain View; O=WSO2; CN=localhost > * start date: 2010-02-19 07:02:26 GMT > * expire date: 2035-02-13 07:02:26 GMT > * issuer: C=US; ST=CA; L=Mountain View; O=WSO2; CN=localhost > * SSL certificate verify result: unable to get local issuer certificate > (20), continuing anyway. > > GET /metadata/api/applications/single-cartridge-app/properties HTTP/1.1 > > User-Agent: curl/7.35.0 > > Host: localhost:9443 > > Accept: */* > > Content-Type: application/json > > > *< HTTP/1.1 403 Forbidden* > < Date: Sun, 31 May 2015 11:11:33 GMT > < Content-Length: 0 > * Server WSO2 Carbon Server is not blacklisted > < Server: WSO2 Carbon Server > < > * Connection #0 to host localhost left intact > > > On Sun, May 31, 2015 at 4:37 PM, Imesh Gunaratne <im...@apache.org> wrote: > >> Another problem, the values element is not returned as an array: >> >> {"properties":[{"key":"CALLBACK_URL","values":"http:\/\/ >> tomcat-single-signon.mytomcat3.tomcat.stratos.org:4500\/travelocity.com >> \/home.jsp"},{"key":"SSO_ISSUER","values":"travelocity.com"}]} >> >> May be values is not there in the array list in the API metadata >> definition. >> >> On Sun, May 31, 2015 at 4:32 PM, Imesh Gunaratne <im...@apache.org> >> wrote: >> >>> I found another issue in the Metadata API, the following API method >>> works even without a Token: >>> /metadata/api/applications/{application-id}/properties >>> >>> On Sun, May 31, 2015 at 3:10 PM, Imesh Gunaratne <im...@apache.org> >>> wrote: >>> >>>> I have now fixed the above problem in the following commit revision: >>>> >>>> https://github.com/apache/stratos/commit/35a99acf3e764a95b1f1fd140362503bf79e95cb >>>> >>>> Port mapping can now include a name property and it will be included in >>>> PORT_MAPPINGS payload parameter: >>>> >>>> "portMapping": [ >>>> { >>>> "name": "mgt-console", >>>> "protocol": "https", >>>> "port": "9443", >>>> "proxyPort": "8243" >>>> }, >>>> { >>>> "name": "pt-http", >>>> "protocol": "http", >>>> "port": "8280", >>>> "proxyPort": "7280" >>>> }, >>>> { >>>> "name": "pt-https", >>>> "protocol": "https", >>>> "port": "8243", >>>> "proxyPort": "7243" >>>> } >>>> ], >>>> >>>> NAME:mgt-console|PROTOCOL:https|PORT:4500|PROXY_PORT:8443; >>>> NAME:pt-http|PROTOCOL:http|PORT:4501|PROXY_PORT:7280; >>>> NAME:pt-https|PROTOCOL:https|PORT:4502|PROXY_PORT:7243; >>>> >>>> >>>> On Sun, May 31, 2015 at 11:24 AM, Imesh Gunaratne <im...@apache.org> >>>> wrote: >>>> >>>>> Thanks Lahiru! >>>>> >>>>> I found another problem with regards to port mappings. Currently there >>>>> is no way to identify a port mapping uniquely if the same protocol is used >>>>> more than once. >>>>> >>>>> As a result in a cartridge when there are multiple port mappings >>>>> defined for the same protocol, it is not possible to identify them for >>>>> configuring the server in runtime. >>>>> >>>>> >>>>> >>>>> On Sat, May 30, 2015 at 10:48 PM, Lahiru Sandaruwan <lahi...@wso2.com> >>>>> wrote: >>>>> >>>>>> Hi Imesh, >>>>>> >>>>>> Thanks for fixing. I will test and see the other issue. >>>>>> >>>>>> Thanks. >>>>>> >>>>>> On Sat, May 30, 2015 at 10:40 PM, Imesh Gunaratne <im...@apache.org> >>>>>> wrote: >>>>>> >>>>>>> I just fixed the issue of appending single quote to ports in PCA >>>>>>> with following commit: >>>>>>> >>>>>>> https://github.com/apache/stratos/commit/819f96e57c998841a9a687c3c728d145e9f9e6ee >>>>>>> >>>>>>> On Sat, May 30, 2015 at 9:06 PM, Imesh Gunaratne <im...@apache.org> >>>>>>> wrote: >>>>>>> >>>>>>>> Hi Lakmal, >>>>>>>> >>>>>>>> I think we need to fix following issues for RC3: >>>>>>>> >>>>>>>> - Error in PCA when multiple port mappings are set: ValueError: >>>>>>>> invalid literal for int() with base >>>>>>>> - Git clone does not work in PCA when a new Github account is >>>>>>>> used: >>>>>>>> >>>>>>>> [2015-05-29 11:28:31,846] DEBUG {agentgithandler.py:checkout} - Git >>>>>>>> pull executed: [tenant-id] -1234 [repo-url] >>>>>>>> https://github.com/imesh/wso2-esb-samples.git >>>>>>>> Exception in thread Thread-33: >>>>>>>> Traceback (most recent call last): >>>>>>>> File "/usr/lib/python2.7/threading.py", line 552, in >>>>>>>> __bootstrap_inner >>>>>>>> self.run() >>>>>>>> File "/usr/lib/python2.7/threading.py", line 505, in run >>>>>>>> self.__target(*self.__args, **self.__kwargs) >>>>>>>> File >>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py", >>>>>>>> line 456, in execute_task >>>>>>>> AgentGitHandler.checkout(self.repo_info) >>>>>>>> File >>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py", >>>>>>>> line 65, in checkout >>>>>>>> updated = AgentGitHandler.pull(git_repo) >>>>>>>> File >>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py", >>>>>>>> line 164, in pull >>>>>>>> repo.remotes.origin.pull() >>>>>>>> File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line >>>>>>>> 667, in pull >>>>>>>> res = self._get_fetch_info_from_stderr(proc, progress or >>>>>>>> RemoteProgress()) >>>>>>>> File "/usr/local/lib/python2.7/dist-packages/git/remote.py", line >>>>>>>> 585, in _get_fetch_info_from_stderr >>>>>>>> fetch_info_lines) >>>>>>>> AssertionError: >>>>>>>> len([u"bb92eeec55de246cc9338566009aea79a6a7ffa7\t\tbranch 'master' of >>>>>>>> https://github.com/imesh/wso2-esb-samples\n", >>>>>>>> u"bb92eeec55de246cc9338566009aea79a6a7ffa7\t\tbranch 'master' of >>>>>>>> https://github.com/imesh/wso2-esb-samples\n"]) <= len([u' = [up to >>>>>>>> date] master -> origin/master']) >>>>>>>> >>>>>>>> Thanks >>>>>>>> >>>>>>>> On Sat, May 30, 2015 at 9:24 AM, Lakmal Warusawithana < >>>>>>>> lak...@wso2.com> wrote: >>>>>>>> >>>>>>>>> Hi Lahiru / Devs >>>>>>>>> >>>>>>>>> If all good shall we do RC3 ? >>>>>>>>> >>>>>>>>> Thanks >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thursday, May 28, 2015, Lahiru Sandaruwan <lahi...@wso2.com> >>>>>>>>> wrote: >>>>>>>>> >>>>>>>>>> Hi Imesh, >>>>>>>>>> >>>>>>>>>> Thanks for reporting. Will trigger the nexus build again. >>>>>>>>>> >>>>>>>>>> Thanks. >>>>>>>>>> >>>>>>>>>> On Thu, May 28, 2015 at 2:52 PM, Imesh Gunaratne < >>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>> >>>>>>>>>>> I found an issue with Kubernetes services where they do not >>>>>>>>>>> configure Session Affinity. As a result requests coming to a >>>>>>>>>>> cluster with a >>>>>>>>>>> web UI goes to random members. >>>>>>>>>>> >>>>>>>>>>> The problem was that Kubernetes set this to "None" by default. >>>>>>>>>>> This can be now configured in the cartridge using a property: >>>>>>>>>>> >>>>>>>>>>> { >>>>>>>>>>> "name": "KUBERNETES_SERVICE_SESSION_AFFINITY", >>>>>>>>>>> "value": "ClientIP" >>>>>>>>>>> >>>>>>>>>>> } >>>>>>>>>>> >>>>>>>>>>> The fix was committed in commit revision: >>>>>>>>>>> >>>>>>>>>>> https://github.com/apache/stratos/commit/b00dd2d2992aba3150a183aa969b98850a17c309 >>>>>>>>>>> >>>>>>>>>>> Thanks >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On Thu, May 28, 2015 at 2:47 PM, Imesh Gunaratne < >>>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>>> >>>>>>>>>>>> Once more than one port mapping was defined a string processing >>>>>>>>>>>> issue occurred: >>>>>>>>>>>> >>>>>>>>>>>> *Payload: * >>>>>>>>>>>> >>>>>>>>>>>> "PORT_MAPPINGS=PROTOCOL:http|PORT:4500|PROXY_PORT:8763:PROTOCOL:https|PORT:4501|PROXY_PORT:8443", >>>>>>>>>>>> >>>>>>>>>>>> *Context generated:* >>>>>>>>>>>> {'STRATOS_WORKER_HOST_NAME': 'esb.cloud-test.wso2.com', >>>>>>>>>>>> 'STRATOS_WKA_MEMBERS': {'127.0.1.1': '4000', '127.0.0.1': '4000'}, >>>>>>>>>>>> 'STRATOS_HTTP_PROXY_PORT': '80', 'STRATOS_CLUSTERING': 'false', >>>>>>>>>>>> 'STRATOS_PORT_MAPPING': {' 8243': '9443', ' 80': '8280', '8280': >>>>>>>>>>>> '9763', ' >>>>>>>>>>>> 443': '8243'}, 'STRATOS_LOCAL_MEMBER_HOST': ' >>>>>>>>>>>> esb.cloud-test.wso2.com', 'STRATOS_LOCAL_MEMBER_PORT': '4300', >>>>>>>>>>>> 'STRATOS_DOMAIN': 'wso2.esb.domain', 'STRATOS_PORT_OFFSET': '0', >>>>>>>>>>>> 'STRATOS_SUB_DOMAIN': 'mgt', 'STRATOS_HTTPS_PROXY_PORT': '443', >>>>>>>>>>>> 'STRATOS_MEMBERSHIP_SCHEME': 'wka', 'STRATOS_MGT_HOST_NAME': ' >>>>>>>>>>>> mgt.esb.cloud-test.wso2.com'} >>>>>>>>>>>> >>>>>>>>>>>> *ERROR* >>>>>>>>>>>> [2015-05-27 05:47:29,132] INFO >>>>>>>>>>>> {cartridgeagentutils.py:wait_until_ports_active} - Waiting for >>>>>>>>>>>> ports to be >>>>>>>>>>>> active: [ip] 'localhost' [ports] ["'9763", "9443'"] >>>>>>>>>>>> Exception in thread Thread-1: >>>>>>>>>>>> Traceback (most recent call last): >>>>>>>>>>>> File "/usr/lib/python2.7/threading.py", line 552, in >>>>>>>>>>>> __bootstrap_inner >>>>>>>>>>>> self.run() >>>>>>>>>>>> File "agent.py", line 97, in run >>>>>>>>>>>> cartridgeagentpublisher.publish_instance_activated_event() >>>>>>>>>>>> File >>>>>>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/publisher/cartridgeagentpublisher.py", >>>>>>>>>>>> line 71, in publish_instance_activated_event >>>>>>>>>>>> >>>>>>>>>>>> int(CartridgeAgentConfiguration().read_property("port.check.timeout", >>>>>>>>>>>> critical=False)) >>>>>>>>>>>> File >>>>>>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/util/cartridgeagentutils.py", >>>>>>>>>>>> line 81, in wait_until_ports_active >>>>>>>>>>>> active = check_ports_active(ip_address, ports) >>>>>>>>>>>> File >>>>>>>>>>>> "/opt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/util/cartridgeagentutils.py", >>>>>>>>>>>> line 110, in check_ports_active >>>>>>>>>>>> s.connect((ip_address, int(port))) >>>>>>>>>>>> ValueError: invalid literal for int() with base 10: "'9763" >>>>>>>>>>>> >>>>>>>>>>>> On Thu, May 28, 2015 at 9:58 AM, Imesh Gunaratne < >>>>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>>>> >>>>>>>>>>>>> Hi Lahiru, >>>>>>>>>>>>> >>>>>>>>>>>>> I think we are not ready for RC3, we need to fix two issues >>>>>>>>>>>>> found in PCA and test them. >>>>>>>>>>>>> >>>>>>>>>>>>> Thanks >>>>>>>>>>>>> >>>>>>>>>>>>> On Thu, May 28, 2015 at 9:12 AM, Lahiru Sandaruwan < >>>>>>>>>>>>> lahi...@wso2.com> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> Hi Lakmal, >>>>>>>>>>>>>> >>>>>>>>>>>>>> Will proceed. >>>>>>>>>>>>>> >>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>> >>>>>>>>>>>>>> On Thu, May 28, 2015 at 9:04 AM, Lakmal Warusawithana < >>>>>>>>>>>>>> lak...@wso2.com> wrote: >>>>>>>>>>>>>> >>>>>>>>>>>>>>> Hi Lahiru/devs, >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Are we good to go for rc3? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> thanks >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> On Wed, May 27, 2015 at 1:14 PM, Rajkumar Rajaratnam < >>>>>>>>>>>>>>> rajkum...@wso2.com> wrote: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Noted. Sorry for that :) >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> On Wed, May 27, 2015 at 12:49 PM, Lakmal Warusawithana < >>>>>>>>>>>>>>>> lak...@wso2.com> wrote: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Folks, we are only fixing blocking issues for the release, >>>>>>>>>>>>>>>>> DON'T do the cleanup stuff at this stage. Please create JIRA >>>>>>>>>>>>>>>>> for those and >>>>>>>>>>>>>>>>> track with next minor releases. >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> On Wed, May 27, 2015 at 12:39 PM, Rajkumar Rajaratnam < >>>>>>>>>>>>>>>>> rajkum...@wso2.com> wrote: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> I feel like we are bundling some unwanted jars in JCA >>>>>>>>>>>>>>>>>> distribution. Sometimes back, I found that we bundled the >>>>>>>>>>>>>>>>>> following jars >>>>>>>>>>>>>>>>>> with JCA in 4.0.0 release, even though these are not used by >>>>>>>>>>>>>>>>>> JCA. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> commons-httpclient-3.1.0.wso2v2.jar >>>>>>>>>>>>>>>>>> commons-httpclient-3.1.jar >>>>>>>>>>>>>>>>>> httpclient-4.1.1-wso2v1.jar >>>>>>>>>>>>>>>>>> httpcore-4.1.0-wso2v1.jar >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Are we using the above jars in JCA now? If not, better to >>>>>>>>>>>>>>>>>> remove these jars. There might be more unwanted jars. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> On Wed, May 27, 2015 at 11:10 AM, Imesh Gunaratne < >>>>>>>>>>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> I found two issues and fixed: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Kubernetes clean command was trying to remove Kubernetes >>>>>>>>>>>>>>>>>>> DNS pod (with Kubernetes 0.17.0). >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/309378ac7db973e01128dc909420483bc65d4aa7 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> 2015-05-27 10:57:07,781] ERROR >>>>>>>>>>>>>>>>>>> {org.apache.stratos.autoscaler.applications.parser.DefaultApplicationParser} >>>>>>>>>>>>>>>>>>> - Alias is not valid: [application-id] wso2esb-4.8.1-app >>>>>>>>>>>>>>>>>>> [cartridge-type] >>>>>>>>>>>>>>>>>>> wso2esb-4.8.1 [alias] wso2esb-4.8.1-1 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> The above error message does not say the valid alias >>>>>>>>>>>>>>>>>>> patten: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/a4710cbfb8dd3d406126bcaa756c9e00459523b7 >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Thanks >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 10:50 PM, Lahiru Sandaruwan < >>>>>>>>>>>>>>>>>>> lahi...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> I carried out a test in EC2 today. It seems we do not >>>>>>>>>>>>>>>>>>>> validate the partitions(partition ids) included in the >>>>>>>>>>>>>>>>>>>> deployment policy. >>>>>>>>>>>>>>>>>>>> It would be better to fix this as well. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 3:58 PM, Pubudu Gunatilaka < >>>>>>>>>>>>>>>>>>>> pubu...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Hi Devs, >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> I have fixed the issue of removing already in used >>>>>>>>>>>>>>>>>>>>> network partition with the diff sent by Rajkumar. >>>>>>>>>>>>>>>>>>>>> Please review and merge the pull request in [1]. >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> [1] - https://github.com/apache/stratos/pull/361 >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> Thank you! >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 2:44 PM, Lahiru Sandaruwan < >>>>>>>>>>>>>>>>>>>>> lahi...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Hi Lakmal, >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Will do. >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 2:42 PM, Lakmal Warusawithana >>>>>>>>>>>>>>>>>>>>>> <lak...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> We should test RC2 pack further before cutting RC3. >>>>>>>>>>>>>>>>>>>>>>> Let take another day or so to do more testing on RC2. >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 2:18 PM, Lahiru Sandaruwan < >>>>>>>>>>>>>>>>>>>>>>> lahi...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Hi Guys, >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Thanks for taking time to test and report. Let's >>>>>>>>>>>>>>>>>>>>>>>> fix these and start a RC3. >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 2:12 PM, Rajkumar >>>>>>>>>>>>>>>>>>>>>>>> Rajaratnam <rajkum...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> I found that network partitions can be removed >>>>>>>>>>>>>>>>>>>>>>>>> even if they are used in an application. Better to >>>>>>>>>>>>>>>>>>>>>>>>> fix this. >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne < >>>>>>>>>>>>>>>>>>>>>>>>> im...@apache.org> wrote: >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> I did an end to end test with Kubernetes, >>>>>>>>>>>>>>>>>>>>>>>>>> single-cartridge application and found the below >>>>>>>>>>>>>>>>>>>>>>>>>> error in PCA when >>>>>>>>>>>>>>>>>>>>>>>>>> un-deploying the application: >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> [2015-05-26 06:44:40,038] ERROR >>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing >>>>>>>>>>>>>>>>>>>>>>>>>> 'ApplicationSignUpRemovedEvent' >>>>>>>>>>>>>>>>>>>>>>>>>> event >>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last): >>>>>>>>>>>>>>>>>>>>>>>>>> File >>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/subscriber/eventsubscriber.py", >>>>>>>>>>>>>>>>>>>>>>>>>> line 103, in run >>>>>>>>>>>>>>>>>>>>>>>>>> handler(event_msg) >>>>>>>>>>>>>>>>>>>>>>>>>> File "agent.py", line 294, in >>>>>>>>>>>>>>>>>>>>>>>>>> on_application_signup_removed >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> self.__event_handler.on_application_signup_removed_event(event_obj) >>>>>>>>>>>>>>>>>>>>>>>>>> File >>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/event/eventhandler.py", >>>>>>>>>>>>>>>>>>>>>>>>>> line 351, in on_application_signup_removed_event >>>>>>>>>>>>>>>>>>>>>>>>>> " [application ID] " + >>>>>>>>>>>>>>>>>>>>>>>>>> application_signup_removal_event.applicationId >>>>>>>>>>>>>>>>>>>>>>>>>> TypeError: cannot concatenate 'str' and 'int' >>>>>>>>>>>>>>>>>>>>>>>>>> objects >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, May 25, 2015 at 4:10 PM, Lahiru >>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <lahi...@wso2.com> wrote: >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Hi All, >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> This thread is for discussion of the second >>>>>>>>>>>>>>>>>>>>>>>>>>> release candidate of Apache Stratos 4.1.0. >>>>>>>>>>>>>>>>>>>>>>>>>>> Please use this thread for discussion of issues >>>>>>>>>>>>>>>>>>>>>>>>>>> uncovered in the RC, questions you may have about >>>>>>>>>>>>>>>>>>>>>>>>>>> the RC, etc. >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> *RC release packs:* >>>>>>>>>>>>>>>>>>>>>>>>>>> *https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/ >>>>>>>>>>>>>>>>>>>>>>>>>>> <https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/>* >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> *The tag to be voted upon:* >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162 >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> *Git tag (4.1.0-rc2) tree view:* >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162 >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> *Stratos KEYS file containing PGP keys we use to >>>>>>>>>>>>>>>>>>>>>>>>>>> sign the release:* >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYS >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks. >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>>>>>>>>>>>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer, >>>>>>>>>>>>>>>>>>>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> phone: +94773325954 >>>>>>>>>>>>>>>>>>>>>>>>>>> email: lahi...@wso2.com blog: >>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/ >>>>>>>>>>>>>>>>>>>>>>>>>>> linked-in: >>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>>> Rajkumar Rajaratnam >>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer, WSO2 >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94777568639 >>>>>>>>>>>>>>>>>>>>>>>>> Blog : rajkumarr.com >>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>>>>>>>>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer, >>>>>>>>>>>>>>>>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> phone: +94773325954 >>>>>>>>>>>>>>>>>>>>>>>> email: lahi...@wso2.com blog: >>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/ >>>>>>>>>>>>>>>>>>>>>>>> linked-in: >>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>>> Lakmal Warusawithana >>>>>>>>>>>>>>>>>>>>>>> Vice President, Apache Stratos >>>>>>>>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc. >>>>>>>>>>>>>>>>>>>>>>> Mobile : +94714289692 >>>>>>>>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>>>>>>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer, >>>>>>>>>>>>>>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> phone: +94773325954 >>>>>>>>>>>>>>>>>>>>>> email: lahi...@wso2.com blog: >>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/ >>>>>>>>>>>>>>>>>>>>>> linked-in: >>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka* >>>>>>>>>>>>>>>>>>>>> Software Engineer >>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com >>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>>>>>>>>> mobile: +94 77 4078049 >>>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>>>>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>>>>>>>>>>>> Senior Software Engineer, >>>>>>>>>>>>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> phone: +94773325954 >>>>>>>>>>>>>>>>>>>> email: lahi...@wso2.com blog: >>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/ >>>>>>>>>>>>>>>>>>>> linked-in: >>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>>> Rajkumar Rajaratnam >>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>>>>>> Software Engineer, WSO2 >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>>> Mobile : +94777568639 >>>>>>>>>>>>>>>>>> Blog : rajkumarr.com >>>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>>> Lakmal Warusawithana >>>>>>>>>>>>>>>>> Vice President, Apache Stratos >>>>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc. >>>>>>>>>>>>>>>>> Mobile : +94714289692 >>>>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>>> Rajkumar Rajaratnam >>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>>>>> Software Engineer, WSO2 >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Mobile : +94777568639 >>>>>>>>>>>>>>>> Blog : rajkumarr.com >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Lakmal Warusawithana >>>>>>>>>>>>>>> Vice President, Apache Stratos >>>>>>>>>>>>>>> Director - Cloud Architecture; WSO2 Inc. >>>>>>>>>>>>>>> Mobile : +94714289692 >>>>>>>>>>>>>>> Blog : http://lakmalsview.blogspot.com/ >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> -- >>>>>>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>>>>>> Senior Software Engineer, >>>>>>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>>>>>> lean.enterprise.middleware >>>>>>>>>>>>>> >>>>>>>>>>>>>> phone: +94773325954 >>>>>>>>>>>>>> email: lahi...@wso2.com blog: >>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/ >>>>>>>>>>>>>> linked-in: >>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>>> >>>>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> -- >>>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>>> >>>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Imesh Gunaratne >>>>>>>>>>> >>>>>>>>>>> Senior Technical Lead, WSO2 >>>>>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> -- >>>>>>>>>> Lahiru Sandaruwan >>>>>>>>>> Committer and PMC member, Apache Stratos, >>>>>>>>>> Senior Software Engineer, >>>>>>>>>> WSO2 Inc., http://wso2.com >>>>>>>>>> lean.enterprise.middleware >>>>>>>>>> >>>>>>>>>> phone: +94773325954 >>>>>>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>>>>>>> linked-in: >>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sent from Gmail Mobile >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Imesh Gunaratne >>>>>>>> >>>>>>>> Senior Technical Lead, WSO2 >>>>>>>> Committer & PMC Member, Apache Stratos >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Imesh Gunaratne >>>>>>> >>>>>>> Senior Technical Lead, WSO2 >>>>>>> Committer & PMC Member, Apache Stratos >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> -- >>>>>> Lahiru Sandaruwan >>>>>> Committer and PMC member, Apache Stratos, >>>>>> Senior Software Engineer, >>>>>> WSO2 Inc., http://wso2.com >>>>>> lean.enterprise.middleware >>>>>> >>>>>> phone: +94773325954 >>>>>> email: lahi...@wso2.com blog: http://lahiruwrites.blogspot.com/ >>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Imesh Gunaratne >>>>> >>>>> Senior Technical Lead, WSO2 >>>>> Committer & PMC Member, Apache Stratos >>>>> >>>> >>>> >>>> >>>> -- >>>> Imesh Gunaratne >>>> >>>> Senior Technical Lead, WSO2 >>>> Committer & PMC Member, Apache Stratos >>>> >>> >>> >>> >>> -- >>> Imesh Gunaratne >>> >>> Senior Technical Lead, WSO2 >>> Committer & PMC Member, Apache Stratos >>> >> >> >> >> -- >> Imesh Gunaratne >> >> Senior Technical Lead, WSO2 >> Committer & PMC Member, Apache Stratos >> > > > > -- > > Udara Liyanage > Software Engineer > WSO2, Inc.: http://wso2.com > lean. enterprise. middleware > > web: http://udaraliyanage.wordpress.com > phone: +94 71 443 6897 > -- Udara Liyanage Software Engineer WSO2, Inc.: http://wso2.com lean. enterprise. middleware web: http://udaraliyanage.wordpress.com phone: +94 71 443 6897