You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Isuru Haththotuwa <is...@apache.org> on 2015/06/01 05:42:48 UTC

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Hi Lahiru,

Had a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)'
seems to be not returning the expected git_repo object. Its returning a
NoneType object, similar to NULL. The root cause AFAIS is the git
repository being removed upon receiving application signup removed event in
eventhandler.py [1].

[1]. AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
wrote: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:I have committed fix sent by Chamila and it solves this. Then i
got an issue in tenant id retrieval due to a typo. I have fixed it as
well.Still get the following error, [1] in the undeployment process.
Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
unsubscribed event: [tenant] -1234 [application ID]
single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 407, in remove_repo
git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
{eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
eventTraceback (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.applicationIdTypeError: cannot concatenate
'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
lahirus@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/The tag to be
voted upon:
https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
tag (4.1.0-rc2) tree view:
https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
KEYS file containing PGP keys we use to sign the release:
https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
--Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
+94773325954email: lahirus@wso2.com blog:
http://lahiruwrites.blogspot.com/linked-in:
http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
-- --Lahiru SandaruwanCommitter and PMC member, Apache
Stratos,Senior Software Engineer,WSO2 Inc.,
http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
Thanks and Regards,Isuru H. +94 716 358 048

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Great stuff Anuruddha. I have merged the pull request.

Thanks.

On Wed, Jun 3, 2015 at 2:58 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi,
>
> I have now fixed the undeploy error in PCA. The issue was with InstanceCleanupClusterEvent
> not getting handled due to error in json conversion. Therefore ready_to_shutdown_event
> was not getting published.
>
> Now the flow is working as expected.
>
> Please merge the fix in PR [1] .
>
>
> [1] https://github.com/apache/stratos/pull/364
> <https://github.com/apache/stratos/pull/364>
>
> On Wed, Jun 3, 2015 at 2:04 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I have fixed the above explained issue.
>>
>> Now i'm trying to use Stratos LB to route requests based on network
>> partition. There are two regions in my setup and each region has a member.
>>
>> I have enabled the network partition based filter  with network partition
>> id.
>>
>>
>> *    network-partition-id: ap-southeast-1-nw-partition;*
>>
>> But it seems both the members are added to the cluster(log [1]) and tries
>> to route requests to both of them.
>>
>> [1]
>> TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
>> {org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
>>  Member added to cluster: [cluster]
>> single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.12.56
>> TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
>> {org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
>>  Member added to cluster: [cluster]
>> single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.5.153
>>
>>
>> Thanks.
>>
>> On Tue, Jun 2, 2015 at 9:59 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I found another issue in replacing payload parameters using properties
>>> of network partition. It is actually not replaced but added.
>>>
>>> I will fix this.
>>>
>>> Thanks.
>>>
>>> On Tue, Jun 2, 2015 at 7:40 PM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> Reason for above error is that, python agent has already deleted the
>>>> doc root directory in 'ApplicationSignUpRemovedEvent'.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>>
>>>> On Tue, Jun 2, 2015 at 7:04 PM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Anuruddha,
>>>>>
>>>>> Thanks for the fix. I also get following error,
>>>>>
>>>>>
>>>>> 2015-06-02 19:00:35,721:DEBUG:Executing handler for event
>>>>> 'InstanceCleanupClusterEvent'
>>>>> 2015-06-02 19:00:39,177:DEBUG:Running checkout job
>>>>> Exception in thread Thread-62:
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>> __bootstrap_inner
>>>>>     self.run()
>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>   File
>>>>> "/mnt/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
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 61, in checkout
>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 139, in is_valid_git_repository
>>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>>> git_repo.local_repo_path)
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 433, in execute_git_command
>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>     errread, errwrite)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>>     raise child_exception
>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>> The value should be in following format with double quotes.
>>>>>>
>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> I found the following issue in
>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>> configure()
>>>>>>> File "configurator.py", line 151, in configure
>>>>>>> context = generate_context(config_file_path)
>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>> convert_properties_to_dictionary
>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>> File "<unknown>", line 1
>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>> ^
>>>>>>> SyntaxError: invalid syntax
>>>>>>>
>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> Now I am getting following error.
>>>>>>>>
>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>> __bootstrap_inner
>>>>>>>>>     self.run()
>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>   File
>>>>>>>>> "/mnt/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
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 61, in checkout
>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>     output, errors =
>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>     errread, errwrite)
>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>> _execute_child
>>>>>>>>>     raise child_exception
>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>> tenant id is an integer.
>>>>>>>>>
>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>
>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>>>
>>>>>>>>>  [1]
>>>>>>>>>
>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>   File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>
>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>
>>>>>>>>>>>> [1].
>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila
>>>>>>>>>>>> and it solves this. Then i got an issue in tenant id retrieval due to a
>>>>>>>>>>>> typo. I have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>> File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>>>> repo object.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>
>>>>>>>>>>> Isuru H.
>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>> Lahiru Sandaruwan
>>>>> Committer and PMC member, Apache Stratos,
>>>>> Senior Software Engineer,
>>>>> WSO2 Inc., http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> phone: +94773325954
>>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> phone: +94773325954
>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi,

I have now fixed the undeploy error in PCA. The issue was with
InstanceCleanupClusterEvent
not getting handled due to error in json conversion. Therefore
ready_to_shutdown_event
was not getting published.

Now the flow is working as expected.

Please merge the fix in PR [1] .


[1] https://github.com/apache/stratos/pull/364
<https://github.com/apache/stratos/pull/364>

On Wed, Jun 3, 2015 at 2:04 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi,
>
> I have fixed the above explained issue.
>
> Now i'm trying to use Stratos LB to route requests based on network
> partition. There are two regions in my setup and each region has a member.
>
> I have enabled the network partition based filter  with network partition
> id.
>
>
> *    network-partition-id: ap-southeast-1-nw-partition;*
>
> But it seems both the members are added to the cluster(log [1]) and tries
> to route requests to both of them.
>
> [1]
> TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
> {org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
>  Member added to cluster: [cluster]
> single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.12.56
> TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
> {org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
>  Member added to cluster: [cluster]
> single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.5.153
>
>
> Thanks.
>
> On Tue, Jun 2, 2015 at 9:59 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I found another issue in replacing payload parameters using properties of
>> network partition. It is actually not replaced but added.
>>
>> I will fix this.
>>
>> Thanks.
>>
>> On Tue, Jun 2, 2015 at 7:40 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> Reason for above error is that, python agent has already deleted the doc
>>> root directory in 'ApplicationSignUpRemovedEvent'.
>>>
>>> Thanks.
>>>
>>>
>>>
>>> On Tue, Jun 2, 2015 at 7:04 PM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Hi Anuruddha,
>>>>
>>>> Thanks for the fix. I also get following error,
>>>>
>>>>
>>>> 2015-06-02 19:00:35,721:DEBUG:Executing handler for event
>>>> 'InstanceCleanupClusterEvent'
>>>> 2015-06-02 19:00:39,177:DEBUG:Running checkout job
>>>> Exception in thread Thread-62:
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>>>     self.run()
>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>   File
>>>> "/mnt/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
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 61, in checkout
>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 139, in is_valid_git_repository
>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>> git_repo.local_repo_path)
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 433, in execute_git_command
>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>     errread, errwrite)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>     raise child_exception
>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>
>>>>
>>>> Thanks.
>>>>
>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> This error occurs when your input format is not decalred correctly.
>>>>> The value should be in following format with double quotes.
>>>>>
>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>
>>>>>
>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> I found the following issue in
>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>
>>>>>> Traceback (most recent call last):
>>>>>> File "configurator.py", line 159, in <module>
>>>>>> configure()
>>>>>> File "configurator.py", line 151, in configure
>>>>>> context = generate_context(config_file_path)
>>>>>> File "configurator.py", line 110, in generate_context
>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>> convert_properties_to_dictionary
>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>> File "<unknown>", line 1
>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>> ^
>>>>>> SyntaxError: invalid syntax
>>>>>>
>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> Now I am getting following error.
>>>>>>>
>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>> Exception in thread Thread-38:
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>> __bootstrap_inner
>>>>>>>>     self.run()
>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>   File
>>>>>>>> "/mnt/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
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 61, in checkout
>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>     output, errors =
>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 433, in execute_git_command
>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>     errread, errwrite)
>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>> _execute_child
>>>>>>>>     raise child_exception
>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>> tenant id is an integer.
>>>>>>>>
>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>
>>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>>
>>>>>>>>  [1]
>>>>>>>>
>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 407, in remove_repo
>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>
>>>>>>>>
>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>
>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>
>>>>>>>>>>> [1].
>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila
>>>>>>>>>>> and it solves this. Then i got an issue in tenant id retrieval due to a
>>>>>>>>>>> typo. I have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>> File
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>>> repo object.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>
>>>>>>>>>> Isuru H.
>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>> Lahiru Sandaruwan
>>>> Committer and PMC member, Apache Stratos,
>>>> Senior Software Engineer,
>>>> WSO2 Inc., http://wso2.com
>>>> lean.enterprise.middleware
>>>>
>>>> phone: +94773325954
>>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi,

I have fixed the above explained issue.

Now i'm trying to use Stratos LB to route requests based on network
partition. There are two regions in my setup and each region has a member.

I have enabled the network partition based filter  with network partition
id.


*    network-partition-id: ap-southeast-1-nw-partition;*

But it seems both the members are added to the cluster(log [1]) and tries
to route requests to both of them.

[1]
TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
{org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
 Member added to cluster: [cluster]
single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.12.56
TID: [0] [LB] [2015-06-03 08:31:29,919]  INFO
{org.apache.stratos.load.balancer.common.topology.TopologyProvider} -
 Member added to cluster: [cluster]
single-cartridge-multi-cloud-app.my-php.php.domain [member] 172.31.5.153


Thanks.

On Tue, Jun 2, 2015 at 9:59 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi,
>
> I found another issue in replacing payload parameters using properties of
> network partition. It is actually not replaced but added.
>
> I will fix this.
>
> Thanks.
>
> On Tue, Jun 2, 2015 at 7:40 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi,
>>
>> Reason for above error is that, python agent has already deleted the doc
>> root directory in 'ApplicationSignUpRemovedEvent'.
>>
>> Thanks.
>>
>>
>>
>> On Tue, Jun 2, 2015 at 7:04 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi Anuruddha,
>>>
>>> Thanks for the fix. I also get following error,
>>>
>>>
>>> 2015-06-02 19:00:35,721:DEBUG:Executing handler for event
>>> 'InstanceCleanupClusterEvent'
>>> 2015-06-02 19:00:39,177:DEBUG:Running checkout job
>>> Exception in thread Thread-62:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>>     self.run()
>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>     self.__target(*self.__args, **self.__kwargs)
>>>   File
>>> "/mnt/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
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 61, in checkout
>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>   File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 139, in is_valid_git_repository
>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>> git_repo.local_repo_path)
>>>   File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 433, in execute_git_command
>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>     errread, errwrite)
>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>     raise child_exception
>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>
>>>
>>> Thanks.
>>>
>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> This error occurs when your input format is not decalred correctly.
>>>> The value should be in following format with double quotes.
>>>>
>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>
>>>>
>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I found the following issue in
>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>
>>>>> Traceback (most recent call last):
>>>>> File "configurator.py", line 159, in <module>
>>>>> configure()
>>>>> File "configurator.py", line 151, in configure
>>>>> context = generate_context(config_file_path)
>>>>> File "configurator.py", line 110, in generate_context
>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>> convert_properties_to_dictionary
>>>>> properties = ast.literal_eval(variable).split(",")
>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>> File "<unknown>", line 1
>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>> ^
>>>>> SyntaxError: invalid syntax
>>>>>
>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>
>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> Now I am getting following error.
>>>>>>
>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>> Exception in thread Thread-38:
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>> __bootstrap_inner
>>>>>>>     self.run()
>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>   File
>>>>>>> "/mnt/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
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 61, in checkout
>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 139, in is_valid_git_repository
>>>>>>>     output, errors =
>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 433, in execute_git_command
>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>     errread, errwrite)
>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>> _execute_child
>>>>>>>     raise child_exception
>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>> tenant id is an integer.
>>>>>>>
>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>
>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>
>>>>>>>  [1]
>>>>>>>
>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 407, in remove_repo
>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>> 'scheduled_update_task'
>>>>>>>>
>>>>>>>
>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>
>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>
>>>>>>>>>> [1].
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>> File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@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/The tag
>>>>>>>>>> to be voted upon:
>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>> repo object.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thanks and Regards,
>>>>>>>>>
>>>>>>>>> Isuru H.
>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Committer and PMC member, Apache Stratos,
>>> Senior Software Engineer,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> phone: +94773325954
>>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>
>>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi,

I found another issue in replacing payload parameters using properties of
network partition. It is actually not replaced but added.

I will fix this.

Thanks.

On Tue, Jun 2, 2015 at 7:40 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi,
>
> Reason for above error is that, python agent has already deleted the doc
> root directory in 'ApplicationSignUpRemovedEvent'.
>
> Thanks.
>
>
>
> On Tue, Jun 2, 2015 at 7:04 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi Anuruddha,
>>
>> Thanks for the fix. I also get following error,
>>
>>
>> 2015-06-02 19:00:35,721:DEBUG:Executing handler for event
>> 'InstanceCleanupClusterEvent'
>> 2015-06-02 19:00:39,177:DEBUG:Running checkout job
>> Exception in thread Thread-62:
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>     self.run()
>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File
>> "/mnt/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
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 61, in checkout
>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>   File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 139, in is_valid_git_repository
>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>> git_repo.local_repo_path)
>>   File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 433, in execute_git_command
>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>     errread, errwrite)
>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>     raise child_exception
>> OSError: [Errno 2] No such file or directory: '/var/www'
>>
>>
>> Thanks.
>>
>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Imesh,
>>>
>>> This error occurs when your input format is not decalred correctly.
>>> The value should be in following format with double quotes.
>>>
>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>
>>>
>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I found the following issue in
>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>
>>>> Traceback (most recent call last):
>>>> File "configurator.py", line 159, in <module>
>>>> configure()
>>>> File "configurator.py", line 151, in configure
>>>> context = generate_context(config_file_path)
>>>> File "configurator.py", line 110, in generate_context
>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>> convert_properties_to_dictionary
>>>> properties = ast.literal_eval(variable).split(",")
>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>> node_or_string = parse(node_or_string, mode='eval')
>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>> File "<unknown>", line 1
>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>> ^
>>>> SyntaxError: invalid syntax
>>>>
>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>
>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> Now I am getting following error.
>>>>>
>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>> Exception in thread Thread-38:
>>>>>> Traceback (most recent call last):
>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>> __bootstrap_inner
>>>>>>     self.run()
>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>   File
>>>>>> "/mnt/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
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 61, in checkout
>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 139, in is_valid_git_repository
>>>>>>     output, errors =
>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 433, in execute_git_command
>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>     errread, errwrite)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>> _execute_child
>>>>>>     raise child_exception
>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>
>>>>>
>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I have identified root cause for the error [1]. This is because
>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>> tenant id is an integer.
>>>>>>
>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>
>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>
>>>>>>  [1]
>>>>>>
>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>
>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 407, in remove_repo
>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>> 'scheduled_update_task'
>>>>>>>
>>>>>>
>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <isuruh@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Had a look. Here, the method call
>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>
>>>>>>>>> [1].
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>> File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 407, in remove_repo
>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@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/The tag
>>>>>>>>> to be voted upon:
>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>>
>>>>>>>>
>>>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>>>> object.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks and Regards,
>>>>>>>>
>>>>>>>> Isuru H.
>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> --
>> Lahiru Sandaruwan
>> Committer and PMC member, Apache Stratos,
>> Senior Software Engineer,
>> WSO2 Inc., http://wso2.com
>> lean.enterprise.middleware
>>
>> phone: +94773325954
>> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>
>>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi,

Reason for above error is that, python agent has already deleted the doc
root directory in 'ApplicationSignUpRemovedEvent'.

Thanks.


On Tue, Jun 2, 2015 at 7:04 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Anuruddha,
>
> Thanks for the fix. I also get following error,
>
>
> 2015-06-02 19:00:35,721:DEBUG:Executing handler for event
> 'InstanceCleanupClusterEvent'
> 2015-06-02 19:00:39,177:DEBUG:Running checkout job
> Exception in thread Thread-62:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.7/threading.py", line 504, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File
> "/mnt/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
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 61, in checkout
>     if AgentGitHandler.is_valid_git_repository(git_repo):
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 139, in is_valid_git_repository
>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
> git_repo.local_repo_path)
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 433, in execute_git_command
>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory: '/var/www'
>
>
> Thanks.
>
> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> This error occurs when your input format is not decalred correctly.
>> The value should be in following format with double quotes.
>>
>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>
>>
>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> I found the following issue in
>>> ConfigParserUtil.convert_properties_to_dictionary
>>>
>>> Traceback (most recent call last):
>>> File "configurator.py", line 159, in <module>
>>> configure()
>>> File "configurator.py", line 151, in configure
>>> context = generate_context(config_file_path)
>>> File "configurator.py", line 110, in generate_context
>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>> convert_properties_to_dictionary
>>> properties = ast.literal_eval(variable).split(",")
>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>> node_or_string = parse(node_or_string, mode='eval')
>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>> File "<unknown>", line 1
>>> 10.0.0.1:4000,10.0.0.1:5000
>>> ^
>>> SyntaxError: invalid syntax
>>>
>>> What was the reason for using ast.literal_eval(variable) here?
>>>
>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> Now I am getting following error.
>>>>
>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>> Exception in thread Thread-38:
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>> __bootstrap_inner
>>>>>     self.run()
>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>   File
>>>>> "/mnt/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
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 61, in checkout
>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 139, in is_valid_git_repository
>>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>>> git_repo.local_repo_path)
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 433, in execute_git_command
>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>     errread, errwrite)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>>     raise child_exception
>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>
>>>>
>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I have identified root cause for the error [1]. This is because
>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>> tenant id is an integer.
>>>>>
>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>
>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>
>>>>>  [1]
>>>>>
>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>
>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 407, in remove_repo
>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>> 'scheduled_update_task'
>>>>>>
>>>>>
>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>
>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <isuruh@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Had a look. Here, the method call
>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>
>>>>>>>> [1].
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>> File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 407, in remove_repo
>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@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/The tag
>>>>>>>> to be voted upon:
>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>
>>>>>>>
>>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>>> object.
>>>>>>>
>>>>>>> --
>>>>>>> Thanks and Regards,
>>>>>>>
>>>>>>> Isuru H.
>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> --
> Lahiru Sandaruwan
> Committer and PMC member, Apache Stratos,
> Senior Software Engineer,
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> phone: +94773325954
> email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>
>


-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Anuruddha,

Thanks for the fix. I also get following error,


2015-06-02 19:00:35,721:DEBUG:Executing handler for event
'InstanceCleanupClusterEvent'
2015-06-02 19:00:39,177:DEBUG:Running checkout job
Exception in thread Thread-62:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File
"/mnt/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
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 61, in checkout
    if AgentGitHandler.is_valid_git_repository(git_repo):
  File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 139, in is_valid_git_repository
    output, errors = AgentGitHandler.execute_git_command(["show-ref"],
git_repo.local_repo_path)
  File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
line 433, in execute_git_command
    p = subprocess.Popen(command, stdout=subprocess.PIPE,
stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory: '/var/www'


Thanks.

On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Imesh,
>
> This error occurs when your input format is not decalred correctly.
> The value should be in following format with double quotes.
>
> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>
>
> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I found the following issue in
>> ConfigParserUtil.convert_properties_to_dictionary
>>
>> Traceback (most recent call last):
>> File "configurator.py", line 159, in <module>
>> configure()
>> File "configurator.py", line 151, in configure
>> context = generate_context(config_file_path)
>> File "configurator.py", line 110, in generate_context
>> context['CONFIG_PARAM_WKA_MEMBERS'])
>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>> convert_properties_to_dictionary
>> properties = ast.literal_eval(variable).split(",")
>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>> node_or_string = parse(node_or_string, mode='eval')
>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>> return compile(source, filename, mode, PyCF_ONLY_AST)
>> File "<unknown>", line 1
>> 10.0.0.1:4000,10.0.0.1:5000
>> ^
>> SyntaxError: invalid syntax
>>
>> What was the reason for using ast.literal_eval(variable) here?
>>
>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Now I am getting following error.
>>>
>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>> Exception in thread Thread-38:
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>>>     self.run()
>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>   File
>>>> "/mnt/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
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 61, in checkout
>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 139, in is_valid_git_repository
>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>> git_repo.local_repo_path)
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 433, in execute_git_command
>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>     errread, errwrite)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>     raise child_exception
>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>
>>>
>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have identified root cause for the error [1]. This is because
>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>> tenant id is an integer.
>>>>
>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>
>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>
>>>>  [1]
>>>>
>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>
>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 407, in remove_repo
>>>>>     git_repo.scheduled_update_task.terminate()
>>>>> AttributeError: 'NoneType' object has no attribute
>>>>> 'scheduled_update_task'
>>>>>
>>>>
>>>> [2] https://github.com/apache/stratos/pull/363
>>>>
>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I am working on the PCA error, in the undeployment process.
>>>>>
>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Had a look. Here, the method call
>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>
>>>>>>> [1].
>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>> imesh@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:I have committed fix sent by Chamila and it
>>>>>>> solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>> File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 407, in remove_repo
>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>> lahirus@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/The tag to
>>>>>>> be voted upon:
>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>
>>>>>>
>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>> object.
>>>>>>
>>>>>> --
>>>>>> Thanks and Regards,
>>>>>>
>>>>>> Isuru H.
>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
--
Lahiru Sandaruwan
Committer and PMC member, Apache Stratos,
Senior Software Engineer,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

phone: +94773325954
email: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I have now verified the source package, cep artifacts and all other
distributions (nginx & haproxy extensions, stratos load balancer, JCA, PCA
& CLI).

On Tue, Jul 7, 2015 at 12:04 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Pubudu! I have now removed the components.zip file and updated the
> source package and the signature files.
>
> On Mon, Jul 6, 2015 at 11:25 PM, Pubudu Gunatilaka <pu...@wso2.com>
> wrote:
>
>> Hi Imesh,
>>
>> I could find a components.zip file within source release zip file. I
>> think it has mistakenly added to the source zip file. After removing
>> run.sh, run.log and DEPENDENCIES files, pedantic verify using Apache Rat
>> tool was successful.
>>
>> Thank You!
>>
>>
>> On Mon, Jul 6, 2015 at 11:05 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> I think samples should be fine. We do not distribute them separately.
>>>
>>> On Mon, Jul 6, 2015 at 9:50 PM, Akila Ravihansa Perera <
>>> ravihansa@wso2.com> wrote:
>>>
>>>> Great!
>>>>
>>>> What about sample artifacts? Do we need license headers on them too?
>>>>
>>>>
>>>> On Monday, July 6, 2015, Imesh Gunaratne <im...@apache.org> wrote:
>>>>
>>>>> Thanks Akila! I have removed the run.sh and run.log files which were
>>>>> found in the source package and uploaded it again to [1]
>>>>>
>>>>> [1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>>
>>>>> On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <
>>>>> ravihansa@wso2.com> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> I downloaded all artifacts and successfully verified signatures
>>>>>> (using your pub key at [1]) and hashes. But I got an error while running
>>>>>> Apache rat tool to verify license headers.
>>>>>>
>>>>>>  - source distribution contains 'run.sh' and 'run.log' files in the
>>>>>> root dir. Is this expected?
>>>>>>  - Those run.sh does not contain any license headers
>>>>>>  - Artifacts inside samples directory in source distribution does not
>>>>>> contain any license headers.
>>>>>>
>>>>>> Could you please confirm whether these errors are valid or not?
>>>>>>
>>>>>> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Please use the below URL to verify the artifacts:
>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> If we are releasing cep artefacts zip, we can build the Stratos
>>>>>>>> pack bu unzipping it. Currently files are added as fileset
>>>>>>>>
>>>>>>>>  <fileSet>
>>>>>>>>
>>>>>>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>>>>>>
>>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>>>>>>         </fileSet>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thanks Lahiru! Yes we need to include it.
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>>>>>>
>>>>>>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>>>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> The release build was successful. It would be great if everyone
>>>>>>>>>>> could verify the artifacts before starting the voting thread:
>>>>>>>>>>>
>>>>>>>>>>> https://gist.github.com/imesh/11255463
>>>>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I think I figured out the reason.
>>>>>>>>>>>>
>>>>>>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts
>>>>>>>>>>>> to SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>>>>>>> staging repository.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Yes, it was a complete build. I can see the same issue in the
>>>>>>>>>>>>> build 1032.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>>>>>>> build successful for whole repo?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ​
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have now fixed above issue with the following commit
>>>>>>>>>>>>>>>> revision:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes,
>>>>>>>>>>>>>>>> we can now go ahead with the release build.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> - Stratos load balancer was not starting, we have
>>>>>>>>>>>>>>>>> commented out network-partition-id property in loadbalancer.conf. I fixed
>>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was
>>>>>>>>>>>>>>>>> not setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> If would be great if can wait until I fix the above issue
>>>>>>>>>>>>>>>>> to continue with the release build.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>>>>>>> It would be great if everyone could contribute to
>>>>>>>>>>>>>>>>>>>> verify the functionality.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found
>>>>>>>>>>>>>>>>>>>>>> in 4.1.0-RC2.
>>>>>>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and
>>>>>>>>>>>>>>>>>>>>>> updating the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In
>>>>>>>>>>>>>>>>>>>>> the progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release
>>>>>>>>>>>>>>>>>>>>>> build now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka
>>>>>>>>>>>>>>>>>>>>>> Thirunavukkarasu <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the
>>>>>>>>>>>>>>>>>>>>>>>> application lifecycle management logic and make it unit testable in a
>>>>>>>>>>>>>>>>>>>>>>>> future release. Otherwise it would be nearly impossible to verify all the
>>>>>>>>>>>>>>>>>>>>>>>> application related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion
>>>>>>>>>>>>>>>>>>>>>>> and will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka
>>>>>>>>>>>>>>>>>>>>>>>> Thirunavukkarasu <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying
>>>>>>>>>>>>>>>>>>>>>>>>> to fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not
>>>>>>>>>>>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested
>>>>>>>>>>>>>>>>>>>>>>>>> level groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when
>>>>>>>>>>>>>>>>>>>>>>>>> there is no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka
>>>>>>>>>>>>>>>>>>>>>>>>> <pu...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and
>>>>>>>>>>>>>>>>>>>>>>>>>> I have already fixed them.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based
>>>>>>>>>>>>>>>>>>>>>>>>>> on the iaas provider when adding a new network partition. Every time it
>>>>>>>>>>>>>>>>>>>>>>>>>> showed as mock. Issue we had here was not setting up the provider in output
>>>>>>>>>>>>>>>>>>>>>>>>>> from the REST API.
>>>>>>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing
>>>>>>>>>>>>>>>>>>>>>>>>>> application policies in CLI.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>> <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given
>>>>>>>>>>>>>>>>>>>>>>>>>>>> variable is valid python variable. In this scenario it check for a python
>>>>>>>>>>>>>>>>>>>>>>>>>>>> dictionary.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Gunaratne <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> no issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Gunaratne <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> configure
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> properties =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> in parse
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> checkout job
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> directory: '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]. This is because tenant_id is stored as an unicode string in dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> sent by Chamila and it solves this. Then i got an issue in tenant id
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> retrieval due to a typo. I have fixed it as well.Still get the following
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cause. We need to see why the AgentGitHandler.get_repo (tenant_id) call is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> Udara Liyanage
>>>>>>>> Software Engineer
>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>> lean. enterprise. middleware
>>>>>>>>
>>>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>>>> phone: +94 71 443 6897
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Akila Ravihansa Perera
>>>>>> Software Engineer, WSO2
>>>>>>
>>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> Software Engineer, WSO2
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>>
>> *Pubudu Gunatilaka*
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>> mobile:  +94 77 4078049
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Pubudu! I have now removed the components.zip file and updated the
source package and the signature files.

On Mon, Jul 6, 2015 at 11:25 PM, Pubudu Gunatilaka <pu...@wso2.com> wrote:

> Hi Imesh,
>
> I could find a components.zip file within source release zip file. I think
> it has mistakenly added to the source zip file. After removing run.sh,
> run.log and DEPENDENCIES files, pedantic verify using Apache Rat tool was
> successful.
>
> Thank You!
>
>
> On Mon, Jul 6, 2015 at 11:05 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I think samples should be fine. We do not distribute them separately.
>>
>> On Mon, Jul 6, 2015 at 9:50 PM, Akila Ravihansa Perera <
>> ravihansa@wso2.com> wrote:
>>
>>> Great!
>>>
>>> What about sample artifacts? Do we need license headers on them too?
>>>
>>>
>>> On Monday, July 6, 2015, Imesh Gunaratne <im...@apache.org> wrote:
>>>
>>>> Thanks Akila! I have removed the run.sh and run.log files which were
>>>> found in the source package and uploaded it again to [1]
>>>>
>>>> [1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>
>>>> On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <
>>>> ravihansa@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> I downloaded all artifacts and successfully verified signatures (using
>>>>> your pub key at [1]) and hashes. But I got an error while running Apache
>>>>> rat tool to verify license headers.
>>>>>
>>>>>  - source distribution contains 'run.sh' and 'run.log' files in the
>>>>> root dir. Is this expected?
>>>>>  - Those run.sh does not contain any license headers
>>>>>  - Artifacts inside samples directory in source distribution does not
>>>>> contain any license headers.
>>>>>
>>>>> Could you please confirm whether these errors are valid or not?
>>>>>
>>>>> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Please use the below URL to verify the artifacts:
>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> If we are releasing cep artefacts zip, we can build the Stratos pack
>>>>>>> bu unzipping it. Currently files are added as fileset
>>>>>>>
>>>>>>>  <fileSet>
>>>>>>>
>>>>>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>>>>>
>>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>>>>>         </fileSet>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thanks Lahiru! Yes we need to include it.
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>>>>>
>>>>>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> The release build was successful. It would be great if everyone
>>>>>>>>>> could verify the artifacts before starting the voting thread:
>>>>>>>>>>
>>>>>>>>>> https://gist.github.com/imesh/11255463
>>>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> I think I figured out the reason.
>>>>>>>>>>>
>>>>>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts
>>>>>>>>>>> to SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>>>>>> staging repository.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Yes, it was a complete build. I can see the same issue in the
>>>>>>>>>>>> build 1032.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>
>>>>>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>>>>>> build successful for whole repo?
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ​
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have now fixed above issue with the following commit
>>>>>>>>>>>>>>> revision:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes,
>>>>>>>>>>>>>>> we can now go ahead with the release build.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> - Stratos load balancer was not starting, we have commented
>>>>>>>>>>>>>>>> out network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was
>>>>>>>>>>>>>>>> not setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> If would be great if can wait until I fix the above issue
>>>>>>>>>>>>>>>> to continue with the release build.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>>>>>> It would be great if everyone could contribute to verify
>>>>>>>>>>>>>>>>>>> the functionality.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>> <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found
>>>>>>>>>>>>>>>>>>>>> in 4.1.0-RC2.
>>>>>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and
>>>>>>>>>>>>>>>>>>>>> updating the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In
>>>>>>>>>>>>>>>>>>>> the progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release
>>>>>>>>>>>>>>>>>>>>> build now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka
>>>>>>>>>>>>>>>>>>>>> Thirunavukkarasu <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the
>>>>>>>>>>>>>>>>>>>>>>> application lifecycle management logic and make it unit testable in a
>>>>>>>>>>>>>>>>>>>>>>> future release. Otherwise it would be nearly impossible to verify all the
>>>>>>>>>>>>>>>>>>>>>>> application related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and
>>>>>>>>>>>>>>>>>>>>>> will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka
>>>>>>>>>>>>>>>>>>>>>>> Thirunavukkarasu <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying
>>>>>>>>>>>>>>>>>>>>>>>> to fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not
>>>>>>>>>>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested
>>>>>>>>>>>>>>>>>>>>>>>> level groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when
>>>>>>>>>>>>>>>>>>>>>>>> there is no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka
>>>>>>>>>>>>>>>>>>>>>>>> <pu...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I
>>>>>>>>>>>>>>>>>>>>>>>>> have already fixed them.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based
>>>>>>>>>>>>>>>>>>>>>>>>> on the iaas provider when adding a new network partition. Every time it
>>>>>>>>>>>>>>>>>>>>>>>>> showed as mock. Issue we had here was not setting up the provider in output
>>>>>>>>>>>>>>>>>>>>>>>>> from the REST API.
>>>>>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given
>>>>>>>>>>>>>>>>>>>>>>>>>>> variable is valid python variable. In this scenario it check for a python
>>>>>>>>>>>>>>>>>>>>>>>>>>> dictionary.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>> <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was
>>>>>>>>>>>>>>>>>>>>>>>>>>>> no issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Gunaratne <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> properties =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> parse
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> checkout job
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> directory: '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]. This is because tenant_id is stored as an unicode string in dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cause. We need to see why the AgentGitHandler.get_repo (tenant_id) call is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Udara Liyanage
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>> lean. enterprise. middleware
>>>>>>>
>>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>>> phone: +94 71 443 6897
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Akila Ravihansa Perera
>>>>> Software Engineer, WSO2
>>>>>
>>>>> Blog: http://ravihansa3000.blogspot.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer, WSO2
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
>
> *Pubudu Gunatilaka*
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 77 4078049
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Pubudu Gunatilaka <pu...@wso2.com>.
Hi Imesh,

I could find a components.zip file within source release zip file. I think
it has mistakenly added to the source zip file. After removing run.sh,
run.log and DEPENDENCIES files, pedantic verify using Apache Rat tool was
successful.

Thank You!


On Mon, Jul 6, 2015 at 11:05 PM, Imesh Gunaratne <im...@apache.org> wrote:

> I think samples should be fine. We do not distribute them separately.
>
> On Mon, Jul 6, 2015 at 9:50 PM, Akila Ravihansa Perera <ravihansa@wso2.com
> > wrote:
>
>> Great!
>>
>> What about sample artifacts? Do we need license headers on them too?
>>
>>
>> On Monday, July 6, 2015, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Thanks Akila! I have removed the run.sh and run.log files which were
>>> found in the source package and uploaded it again to [1]
>>>
>>> [1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>
>>> On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <
>>> ravihansa@wso2.com> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> I downloaded all artifacts and successfully verified signatures (using
>>>> your pub key at [1]) and hashes. But I got an error while running Apache
>>>> rat tool to verify license headers.
>>>>
>>>>  - source distribution contains 'run.sh' and 'run.log' files in the
>>>> root dir. Is this expected?
>>>>  - Those run.sh does not contain any license headers
>>>>  - Artifacts inside samples directory in source distribution does not
>>>> contain any license headers.
>>>>
>>>> Could you please confirm whether these errors are valid or not?
>>>>
>>>> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>>>>
>>>> Thanks.
>>>>
>>>> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Please use the below URL to verify the artifacts:
>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> If we are releasing cep artefacts zip, we can build the Stratos pack
>>>>>> bu unzipping it. Currently files are added as fileset
>>>>>>
>>>>>>  <fileSet>
>>>>>>
>>>>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>>>>
>>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>>>>         </fileSet>
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks Lahiru! Yes we need to include it.
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>>>>
>>>>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> The release build was successful. It would be great if everyone
>>>>>>>>> could verify the artifacts before starting the voting thread:
>>>>>>>>>
>>>>>>>>> https://gist.github.com/imesh/11255463
>>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I think I figured out the reason.
>>>>>>>>>>
>>>>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts
>>>>>>>>>> to SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>>>>> staging repository.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> Yes, it was a complete build. I can see the same issue in the
>>>>>>>>>>> build 1032.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>>>>> build successful for whole repo?
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> ​
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have now fixed above issue with the following commit
>>>>>>>>>>>>>> revision:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes,
>>>>>>>>>>>>>> we can now go ahead with the release build.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Stratos load balancer was not starting, we have commented
>>>>>>>>>>>>>>> out network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>>>>>>> continue with the release build.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>>>>> It would be great if everyone could contribute to verify
>>>>>>>>>>>>>>>>>> the functionality.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and
>>>>>>>>>>>>>>>>>>>> updating the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In
>>>>>>>>>>>>>>>>>>> the progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release
>>>>>>>>>>>>>>>>>>>> build now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and
>>>>>>>>>>>>>>>>>>>>> will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka
>>>>>>>>>>>>>>>>>>>>>> Thirunavukkarasu <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying
>>>>>>>>>>>>>>>>>>>>>>> to fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not
>>>>>>>>>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there
>>>>>>>>>>>>>>>>>>>>>>> is no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I
>>>>>>>>>>>>>>>>>>>>>>>> have already fixed them.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based
>>>>>>>>>>>>>>>>>>>>>>>> on the iaas provider when adding a new network partition. Every time it
>>>>>>>>>>>>>>>>>>>>>>>> showed as mock. Issue we had here was not setting up the provider in output
>>>>>>>>>>>>>>>>>>>>>>>> from the REST API.
>>>>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable
>>>>>>>>>>>>>>>>>>>>>>>>>> is valid python variable. In this scenario it check for a python
>>>>>>>>>>>>>>>>>>>>>>>>>> dictionary.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>> <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> properties =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> parse
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> checkout job
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> directory: '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]. This is because tenant_id is stored as an unicode string in dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cause. We need to see why the AgentGitHandler.get_repo (tenant_id) call is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Udara Liyanage
>>>>>> Software Engineer
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> lean. enterprise. middleware
>>>>>>
>>>>>> web: http://udaraliyanage.wordpress.com
>>>>>> phone: +94 71 443 6897
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Akila Ravihansa Perera
>>>> Software Engineer, WSO2
>>>>
>>>> Blog: http://ravihansa3000.blogspot.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 

*Pubudu Gunatilaka*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 77 4078049

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I think samples should be fine. We do not distribute them separately.

On Mon, Jul 6, 2015 at 9:50 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Great!
>
> What about sample artifacts? Do we need license headers on them too?
>
>
> On Monday, July 6, 2015, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Thanks Akila! I have removed the run.sh and run.log files which were
>> found in the source package and uploaded it again to [1]
>>
>> [1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>
>> On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <
>> ravihansa@wso2.com> wrote:
>>
>>> Hi Imesh,
>>>
>>> I downloaded all artifacts and successfully verified signatures (using
>>> your pub key at [1]) and hashes. But I got an error while running Apache
>>> rat tool to verify license headers.
>>>
>>>  - source distribution contains 'run.sh' and 'run.log' files in the root
>>> dir. Is this expected?
>>>  - Those run.sh does not contain any license headers
>>>  - Artifacts inside samples directory in source distribution does not
>>> contain any license headers.
>>>
>>> Could you please confirm whether these errors are valid or not?
>>>
>>> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>>>
>>> Thanks.
>>>
>>> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Please use the below URL to verify the artifacts:
>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>>
>>>> Thanks
>>>>
>>>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> If we are releasing cep artefacts zip, we can build the Stratos pack
>>>>> bu unzipping it. Currently files are added as fileset
>>>>>
>>>>>  <fileSet>
>>>>>
>>>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>>>
>>>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>>>         </fileSet>
>>>>>
>>>>>
>>>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Thanks Lahiru! Yes we need to include it.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>>>
>>>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> The release build was successful. It would be great if everyone
>>>>>>>> could verify the artifacts before starting the voting thread:
>>>>>>>>
>>>>>>>> https://gist.github.com/imesh/11255463
>>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I think I figured out the reason.
>>>>>>>>>
>>>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>>>>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>>>> staging repository.
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Yes, it was a complete build. I can see the same issue in the
>>>>>>>>>> build 1032.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>
>>>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>>>> build successful for whole repo?
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ​
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I have now fixed above issue with the following commit
>>>>>>>>>>>>> revision:
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>>>
>>>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we
>>>>>>>>>>>>> can now go ahead with the release build.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Stratos load balancer was not starting, we have commented
>>>>>>>>>>>>>> out network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>>>> this.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>>>>>> continue with the release build.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>>>> It would be great if everyone could contribute to verify
>>>>>>>>>>>>>>>>> the functionality.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and
>>>>>>>>>>>>>>>>>>> updating the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In
>>>>>>>>>>>>>>>>>> the progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release
>>>>>>>>>>>>>>>>>>> build now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>> <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and
>>>>>>>>>>>>>>>>>>>> will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>> <re...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to
>>>>>>>>>>>>>>>>>>>>>> fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not
>>>>>>>>>>>>>>>>>>>>>> there
>>>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there
>>>>>>>>>>>>>>>>>>>>>> is no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I
>>>>>>>>>>>>>>>>>>>>>>> have already fixed them.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on
>>>>>>>>>>>>>>>>>>>>>>> the iaas provider when adding a new network partition. Every time it showed
>>>>>>>>>>>>>>>>>>>>>>> as mock. Issue we had here was not setting up the provider in output from
>>>>>>>>>>>>>>>>>>>>>>> the REST API.
>>>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable
>>>>>>>>>>>>>>>>>>>>>>>>> is valid python variable. In this scenario it check for a python
>>>>>>>>>>>>>>>>>>>>>>>>> dictionary.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>> <im...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>> properties =
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> parse
>>>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> job
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]. This is because tenant_id is stored as an unicode string in dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> cause. We need to see why the AgentGitHandler.get_repo (tenant_id) call is
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> not returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> Udara Liyanage
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean. enterprise. middleware
>>>>>
>>>>> web: http://udaraliyanage.wordpress.com
>>>>> phone: +94 71 443 6897
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Akila Ravihansa Perera
>>> Software Engineer, WSO2
>>>
>>> Blog: http://ravihansa3000.blogspot.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Great!

What about sample artifacts? Do we need license headers on them too?

On Monday, July 6, 2015, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Akila! I have removed the run.sh and run.log files which were found
> in the source package and uploaded it again to [1]
>
> [1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>
> On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <ravihansa@wso2.com
> <javascript:_e(%7B%7D,'cvml','ravihansa@wso2.com');>> wrote:
>
>> Hi Imesh,
>>
>> I downloaded all artifacts and successfully verified signatures (using
>> your pub key at [1]) and hashes. But I got an error while running Apache
>> rat tool to verify license headers.
>>
>>  - source distribution contains 'run.sh' and 'run.log' files in the root
>> dir. Is this expected?
>>  - Those run.sh does not contain any license headers
>>  - Artifacts inside samples directory in source distribution does not
>> contain any license headers.
>>
>> Could you please confirm whether these errors are valid or not?
>>
>> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>>
>> Thanks.
>>
>> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <imesh@apache.org
>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>
>>> Please use the below URL to verify the artifacts:
>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>>
>>> Thanks
>>>
>>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <udara@wso2.com
>>> <javascript:_e(%7B%7D,'cvml','udara@wso2.com');>> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> If we are releasing cep artefacts zip, we can build the Stratos pack bu
>>>> unzipping it. Currently files are added as fileset
>>>>
>>>>  <fileSet>
>>>>
>>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>>
>>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>>         </fileSet>
>>>>
>>>>
>>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <imesh@apache.org
>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>
>>>>> Thanks Lahiru! Yes we need to include it.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');>> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>>
>>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <imesh@apache.org
>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>
>>>>>>> The release build was successful. It would be great if everyone
>>>>>>> could verify the artifacts before starting the voting thread:
>>>>>>>
>>>>>>> https://gist.github.com/imesh/11255463
>>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>
>>>>>>>> I think I figured out the reason.
>>>>>>>>
>>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>>>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>>> staging repository.
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>
>>>>>>>>> Yes, it was a complete build. I can see the same issue in the
>>>>>>>>> build 1032.
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com
>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>>> build successful for whole repo?
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>>>
>>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ​
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>>
>>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we
>>>>>>>>>>>> can now go ahead with the release build.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Stratos load balancer was not starting, we have commented
>>>>>>>>>>>>> out network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>>> this.
>>>>>>>>>>>>>
>>>>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>>>>> continue with the release build.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>> lahirus@wso2.com
>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');>> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>>> lakmal@wso2.com
>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lakmal@wso2.com');>> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>>> It would be great if everyone could contribute to verify
>>>>>>>>>>>>>>>> the functionality.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>> reka@wso2.com
>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','reka@wso2.com');>> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and
>>>>>>>>>>>>>>>>>> updating the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build
>>>>>>>>>>>>>>>>>> now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>>> reka@wso2.com
>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','reka@wso2.com');>> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>>
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and
>>>>>>>>>>>>>>>>>>> will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> <reka@wso2.com
>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','reka@wso2.com');>> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to
>>>>>>>>>>>>>>>>>>>>> fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there
>>>>>>>>>>>>>>>>>>>>> is no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>>>>> pubudug@wso2.com
>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','pubudug@wso2.com');>>
>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I
>>>>>>>>>>>>>>>>>>>>>> have already fixed them.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on
>>>>>>>>>>>>>>>>>>>>>> the iaas provider when adding a new network partition. Every time it showed
>>>>>>>>>>>>>>>>>>>>>> as mock. Issue we had here was not setting up the provider in output from
>>>>>>>>>>>>>>>>>>>>>> the REST API.
>>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>>
>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable
>>>>>>>>>>>>>>>>>>>>>>>> is valid python variable. In this scenario it check for a python
>>>>>>>>>>>>>>>>>>>>>>>> dictionary.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>>
>>>>>>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@apache.org');>
>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>> properties =
>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in
>>>>>>>>>>>>>>>>>>>>>>>>>>> parse
>>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> job
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1]. This is because tenant_id is stored as an unicode string in dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> and the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <anuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','anuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <isuruh@apache.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','isuruh@apache.org');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <isuruh@apache.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','isuruh@apache.org');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <lahirus@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','imesh@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:I have committed fix sent by Chamila and it solves this. Then i
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> got an issue in tenant id retrieval due to a typo. I have fixed it as
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> well.Still get the following error, [1] in the undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> unsubscribed event: [tenant] -1234 [application ID]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');> blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@wso2.com');> blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','thilinad@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','nuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','thilinad@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','nuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','thilinad@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','nuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','thilinad@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>> nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','nuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','thilinad@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>> nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','nuruddhal@wso2.com');>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> 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: lahirus@wso2.com
>>>>>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@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: lahirus@wso2.com
>>>>>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@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: lahirus@wso2.com
>>>>>> <javascript:_e(%7B%7D,'cvml','lahirus@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
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Udara Liyanage
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean. enterprise. middleware
>>>>
>>>> web: http://udaraliyanage.wordpress.com
>>>> phone: +94 71 443 6897
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Akila Ravihansa Perera
>> Software Engineer, WSO2
>>
>> Blog: http://ravihansa3000.blogspot.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>


-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Akila! I have removed the run.sh and run.log files which were found
in the source package and uploaded it again to [1]

[1] https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/

On Mon, Jul 6, 2015 at 8:28 PM, Akila Ravihansa Perera <ra...@wso2.com>
wrote:

> Hi Imesh,
>
> I downloaded all artifacts and successfully verified signatures (using
> your pub key at [1]) and hashes. But I got an error while running Apache
> rat tool to verify license headers.
>
>  - source distribution contains 'run.sh' and 'run.log' files in the root
> dir. Is this expected?
>  - Those run.sh does not contain any license headers
>  - Artifacts inside samples directory in source distribution does not
> contain any license headers.
>
> Could you please confirm whether these errors are valid or not?
>
> [1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831
>
> Thanks.
>
> On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Please use the below URL to verify the artifacts:
>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>>
>> Thanks
>>
>> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com> wrote:
>>
>>> Hi Lahiru,
>>>
>>> If we are releasing cep artefacts zip, we can build the Stratos pack bu
>>> unzipping it. Currently files are added as fileset
>>>
>>>  <fileSet>
>>>
>>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>>
>>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>>         </fileSet>
>>>
>>>
>>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Thanks Lahiru! Yes we need to include it.
>>>>
>>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> Shall we also include CEP artifacts to the distribution list,
>>>>>
>>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> The release build was successful. It would be great if everyone could
>>>>>> verify the artifacts before starting the voting thread:
>>>>>>
>>>>>> https://gist.github.com/imesh/11255463
>>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> I think I figured out the reason.
>>>>>>>
>>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>>> staging repository.
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Yes, it was a complete build. I can see the same issue in the build
>>>>>>>> 1032.
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> It seems only the dependencies are uploaded. Was the complete
>>>>>>>>> build successful for whole repo?
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ​
>>>>>>>>>>
>>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>>
>>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we
>>>>>>>>>>> can now go ahead with the release build.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>
>>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>>
>>>>>>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>>> this.
>>>>>>>>>>>>
>>>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>>>> continue with the release build.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>>>>>>> functionality.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>>>> Once we are done with verifying functionality and updating
>>>>>>>>>>>>>>>>> the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build
>>>>>>>>>>>>>>>>> now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and
>>>>>>>>>>>>>>>>>> will reduce the maintenance effort.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to
>>>>>>>>>>>>>>>>>>>> fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is
>>>>>>>>>>>>>>>>>>>> no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I
>>>>>>>>>>>>>>>>>>>>> have already fixed them.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on
>>>>>>>>>>>>>>>>>>>>> the iaas provider when adding a new network partition. Every time it showed
>>>>>>>>>>>>>>>>>>>>> as mock. Issue we had here was not setting up the provider in output from
>>>>>>>>>>>>>>>>>>>>> the REST API.
>>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the
>>>>>>>>>>>>>>>>>>>>> available Iaas providers. This is useful when deploying a multi-region
>>>>>>>>>>>>>>>>>>>>> deployment.
>>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with
>>>>>>>>>>>>>>>>>>>>>>>>> double quotes.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string,
>>>>>>>>>>>>>>>>>>>>>>>>>> mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in
>>>>>>>>>>>>>>>>>>>>>>>>>> parse
>>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>> job
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>> This is because tenant_id is stored as an unicode string in dictionary and
>>>>>>>>>>>>>>>>>>>>>>>>>>>> the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2].
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Please review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> Udara Liyanage
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean. enterprise. middleware
>>>
>>> web: http://udaraliyanage.wordpress.com
>>> phone: +94 71 443 6897
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Akila Ravihansa Perera
> Software Engineer, WSO2
>
> Blog: http://ravihansa3000.blogspot.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Akila Ravihansa Perera <ra...@wso2.com>.
Hi Imesh,

I downloaded all artifacts and successfully verified signatures (using your
pub key at [1]) and hashes. But I got an error while running Apache rat
tool to verify license headers.

 - source distribution contains 'run.sh' and 'run.log' files in the root
dir. Is this expected?
 - Those run.sh does not contain any license headers
 - Artifacts inside samples directory in source distribution does not
contain any license headers.

Could you please confirm whether these errors are valid or not?

[1] https://pgp.mit.edu/pks/lookup?op=get&search=0x88267C74622AA831

Thanks.

On Mon, Jul 6, 2015 at 4:03 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Please use the below URL to verify the artifacts:
> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/
>
> Thanks
>
> On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com> wrote:
>
>> Hi Lahiru,
>>
>> If we are releasing cep artefacts zip, we can build the Stratos pack bu
>> unzipping it. Currently files are added as fileset
>>
>>  <fileSet>
>>
>> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>>
>> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>>         </fileSet>
>>
>>
>> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Thanks Lahiru! Yes we need to include it.
>>>
>>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> Shall we also include CEP artifacts to the distribution list,
>>>>
>>>> apache-stratos-cep-artefacts-4.1.0.zip
>>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>>
>>>> Thanks.
>>>>
>>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> The release build was successful. It would be great if everyone could
>>>>> verify the artifacts before starting the voting thread:
>>>>>
>>>>> https://gist.github.com/imesh/11255463
>>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> I think I figured out the reason.
>>>>>>
>>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>>> staging repository.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Yes, it was a complete build. I can see the same issue in the build
>>>>>>> 1032.
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> It seems only the dependencies are uploaded. Was the complete build
>>>>>>>> successful for whole repo?
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ​
>>>>>>>>>
>>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>>
>>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we
>>>>>>>>>> can now go ahead with the release build.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>
>>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>>
>>>>>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>>> this.
>>>>>>>>>>>
>>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>>> continue with the release build.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks.
>>>>>>>>>>>>
>>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>>>>>> functionality.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>>> Once we are done with verifying functionality and updating
>>>>>>>>>>>>>>>> the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build
>>>>>>>>>>>>>>>> now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to
>>>>>>>>>>>>>>>>>>> fix them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is
>>>>>>>>>>>>>>>>>>> no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on
>>>>>>>>>>>>>>>>>>>> the iaas provider when adding a new network partition. Every time it showed
>>>>>>>>>>>>>>>>>>>> as mock. Issue we had here was not setting up the provider in output from
>>>>>>>>>>>>>>>>>>>> the REST API.
>>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the available
>>>>>>>>>>>>>>>>>>>> Iaas providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the
>>>>>>>>>>>>>>>>>>>>> carbon home as the default file path of the jndi.properties file path in
>>>>>>>>>>>>>>>>>>>>> messaging component (AMQPTopicConnector). As a result when Stratos is setup
>>>>>>>>>>>>>>>>>>>>> with an external CEP it fails saying that it cannot find the
>>>>>>>>>>>>>>>>>>>>> jndi.properties
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>> 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>> 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>> 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>> This is because tenant_id is stored as an unicode string in dictionary and
>>>>>>>>>>>>>>>>>>>>>>>>>>> the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> We need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>>
>>
>>
>>
>> --
>>
>> Udara Liyanage
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean. enterprise. middleware
>>
>> web: http://udaraliyanage.wordpress.com
>> phone: +94 71 443 6897
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Akila Ravihansa Perera
Software Engineer, WSO2

Blog: http://ravihansa3000.blogspot.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Please use the below URL to verify the artifacts:
https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc3/

Thanks

On Mon, Jul 6, 2015 at 3:19 PM, Udara Liyanage <ud...@wso2.com> wrote:

> Hi Lahiru,
>
> If we are releasing cep artefacts zip, we can build the Stratos pack bu
> unzipping it. Currently files are added as fileset
>
>  <fileSet>
>
> <directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>
>
> <outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
>         </fileSet>
>
>
> On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Thanks Lahiru! Yes we need to include it.
>>
>> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> Shall we also include CEP artifacts to the distribution list,
>>>
>>> apache-stratos-cep-artefacts-4.1.0.zip
>>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>>
>>> Thanks.
>>>
>>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> The release build was successful. It would be great if everyone could
>>>> verify the artifacts before starting the voting thread:
>>>>
>>>> https://gist.github.com/imesh/11255463
>>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>>
>>>> Thanks
>>>>
>>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I think I figured out the reason.
>>>>>
>>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>>> staging repository.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Yes, it was a complete build. I can see the same issue in the build
>>>>>> 1032.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> It seems only the dependencies are uploaded. Was the complete build
>>>>>>> successful for whole repo?
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I did a release build and found a problem in the staging
>>>>>>>> repository. The mvn deploy has only uploaded following artifacts:
>>>>>>>>
>>>>>>>>
>>>>>>>> ​
>>>>>>>>
>>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>>>
>>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>>
>>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we can
>>>>>>>>> now go ahead with the release build.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>
>>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>>
>>>>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>>> this.
>>>>>>>>>>
>>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>>> continue with the release build.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>>
>>>>>>>>>>> Thanks.
>>>>>>>>>>>
>>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>>>>> functionality.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>>> Once we are done with verifying functionality and updating
>>>>>>>>>>>>>>> the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build
>>>>>>>>>>>>>>> now and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is
>>>>>>>>>>>>>>>>>> no deployment policy defined at the group level
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the
>>>>>>>>>>>>>>>>>>> iaas provider when adding a new network partition. Every time it showed as
>>>>>>>>>>>>>>>>>>> mock. Issue we had here was not setting up the provider in output from the
>>>>>>>>>>>>>>>>>>> REST API.
>>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the available
>>>>>>>>>>>>>>>>>>> Iaas providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon
>>>>>>>>>>>>>>>>>>>> home as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no
>>>>>>>>>>>>>>>>>>>>>> issue with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in
>>>>>>>>>>>>>>>>>>>>>>>> generate_context
>>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode,
>>>>>>>>>>>>>>>>>>>>>>>> PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>> 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>> 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>> 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1].
>>>>>>>>>>>>>>>>>>>>>>>>>> This is because tenant_id is stored as an unicode string in dictionary and
>>>>>>>>>>>>>>>>>>>>>>>>>> the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We
>>>>>>>>>>>>>>>>>>>>>>>>>>>> need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>>
>
>
>
> --
>
> Udara Liyanage
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean. enterprise. middleware
>
> web: http://udaraliyanage.wordpress.com
> phone: +94 71 443 6897
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Udara Liyanage <ud...@wso2.com>.
Hi Lahiru,

If we are releasing cep artefacts zip, we can build the Stratos pack bu
unzipping it. Currently files are added as fileset

 <fileSet>

<directory>../../../../extensions/cep/artifacts/inputeventadaptors</directory>

<outputDirectory>${pom.artifactId}-${pom.version}/repository/deployment/server/inputeventadaptors</outputDirectory>
        </fileSet>


On Mon, Jul 6, 2015 at 3:08 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Lahiru! Yes we need to include it.
>
> On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi Imesh,
>>
>> Shall we also include CEP artifacts to the distribution list,
>>
>> apache-stratos-cep-artefacts-4.1.0.zip
>> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>>
>> Thanks.
>>
>> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> The release build was successful. It would be great if everyone could
>>> verify the artifacts before starting the voting thread:
>>>
>>> https://gist.github.com/imesh/11255463
>>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>>
>>> Thanks
>>>
>>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I think I figured out the reason.
>>>>
>>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>>> staging repository.
>>>>
>>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Yes, it was a complete build. I can see the same issue in the build
>>>>> 1032.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> It seems only the dependencies are uploaded. Was the complete build
>>>>>> successful for whole repo?
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> I did a release build and found a problem in the staging repository.
>>>>>>> The mvn deploy has only uploaded following artifacts:
>>>>>>>
>>>>>>>
>>>>>>> ​
>>>>>>>
>>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>>
>>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>>
>>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we can
>>>>>>>> now go ahead with the release build.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>>
>>>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>>> this.
>>>>>>>>>
>>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>>> continue with the release build.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>>
>>>>>>>>>> Thanks.
>>>>>>>>>>
>>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>>>> functionality.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>>> Once we are done with verifying functionality and updating
>>>>>>>>>>>>>> the Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build now
>>>>>>>>>>>>>> and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level
>>>>>>>>>>>>>>>>> groups where more than one group level support group scaling.
>>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the
>>>>>>>>>>>>>>>>>> iaas provider when adding a new network partition. Every time it showed as
>>>>>>>>>>>>>>>>>> mock. Issue we had here was not setting up the provider in output from the
>>>>>>>>>>>>>>>>>> REST API.
>>>>>>>>>>>>>>>>>> - Added a new API method to list down all the available
>>>>>>>>>>>>>>>>>> Iaas providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon
>>>>>>>>>>>>>>>>>>> home as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue
>>>>>>>>>>>>>>>>>>>>> with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>> 551, in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line
>>>>>>>>>>>>>>>>>>>>>>>>> 504, in run
>>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>> 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1].
>>>>>>>>>>>>>>>>>>>>>>>>> This is because tenant_id is stored as an unicode string in dictionary and
>>>>>>>>>>>>>>>>>>>>>>>>> the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no
>>>>>>>>>>>>>>>>>>>>>>>>>> attribute 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa
>>>>>>>>>>>>>>>>>>>>>>>>>> <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru
>>>>>>>>>>>>>>>>>>>>>>>>>>> Haththotuwa <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We
>>>>>>>>>>>>>>>>>>>>>>>>>>> need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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
>



-- 

Udara Liyanage
Software Engineer
WSO2, Inc.: http://wso2.com
lean. enterprise. middleware

web: http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Lahiru! Yes we need to include it.

On Mon, Jul 6, 2015 at 1:50 PM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Imesh,
>
> Shall we also include CEP artifacts to the distribution list,
>
> apache-stratos-cep-artefacts-4.1.0.zip
> <https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>
>
> Thanks.
>
> On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> The release build was successful. It would be great if everyone could
>> verify the artifacts before starting the voting thread:
>>
>> https://gist.github.com/imesh/11255463
>> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
>> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>>
>> Thanks
>>
>> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> I think I figured out the reason.
>>>
>>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>>> staging repository.
>>>
>>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Yes, it was a complete build. I can see the same issue in the build
>>>> 1032.
>>>>
>>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> It seems only the dependencies are uploaded. Was the complete build
>>>>> successful for whole repo?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> I did a release build and found a problem in the staging repository.
>>>>>> The mvn deploy has only uploaded following artifacts:
>>>>>>
>>>>>>
>>>>>> ​
>>>>>>
>>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>>
>>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>>
>>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we can
>>>>>>> now go ahead with the release build.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Yesterday evening I identified two issues:
>>>>>>>>
>>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>>> - In Nginx extension when working with Kubernetes it was not
>>>>>>>> setting the kubernetes service ports properly. I'm currently working on
>>>>>>>> this.
>>>>>>>>
>>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>>> continue with the release build.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <lahirus@wso2.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>>
>>>>>>>>> Thanks.
>>>>>>>>>
>>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>>> functionality.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>>> Once we are done with verifying functionality and updating the
>>>>>>>>>>>>> Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Reka
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build now
>>>>>>>>>>>>> and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the
>>>>>>>>>>>>>>>>> iaas provider when adding a new network partition. Every time it showed as
>>>>>>>>>>>>>>>>> mock. Issue we had here was not setting up the provider in output from the
>>>>>>>>>>>>>>>>> REST API.
>>>>>>>>>>>>>>>>> - Added a new API method to list down all the available
>>>>>>>>>>>>>>>>> Iaas providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>>>> - Fixed another issue found on listing application
>>>>>>>>>>>>>>>>> policies in CLI.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon
>>>>>>>>>>>>>>>>>> home as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue
>>>>>>>>>>>>>>>>>>>> with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551,
>>>>>>>>>>>>>>>>>>>>>>>> in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504,
>>>>>>>>>>>>>>>>>>>>>>>> in run
>>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>> 679, in __init__
>>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1].
>>>>>>>>>>>>>>>>>>>>>>>> This is because tenant_id is stored as an unicode string in dictionary and
>>>>>>>>>>>>>>>>>>>>>>>> the passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the
>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa
>>>>>>>>>>>>>>>>>>>>>>>>> <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa
>>>>>>>>>>>>>>>>>>>>>>>>>> <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue, May
>>>>>>>>>>>>>>>>>>>>>>>>>>> 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by
>>>>>>>>>>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We
>>>>>>>>>>>>>>>>>>>>>>>>>> need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Imesh,

Shall we also include CEP artifacts to the distribution list,

apache-stratos-cep-artefacts-4.1.0.zip
<https://repository.apache.org/service/local/repositories/orgapachestratos-1031/content/org/apache/stratos/apache-stratos-cep-artefacts/4.1.0/apache-stratos-cep-artefacts-4.1.0.zip>

Thanks.
On Mon, Jul 6, 2015 at 1:41 PM, Imesh Gunaratne <im...@apache.org> wrote:

> The release build was successful. It would be great if everyone could
> verify the artifacts before starting the voting thread:
>
> https://gist.github.com/imesh/11255463
> https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
> <https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>
>
> Thanks
>
> On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I think I figured out the reason.
>>
>> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
>> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
>> staging repository.
>>
>> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Yes, it was a complete build. I can see the same issue in the build 1032.
>>>
>>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> It seems only the dependencies are uploaded. Was the complete build
>>>> successful for whole repo?
>>>>
>>>> Thanks.
>>>>
>>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I did a release build and found a problem in the staging repository.
>>>>> The mvn deploy has only uploaded following artifacts:
>>>>>
>>>>>
>>>>> ​
>>>>>
>>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> I have now fixed above issue with the following commit revision:
>>>>>>
>>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>>
>>>>>> I tested both nginx and haproxy extensions with Kubernetes, we can
>>>>>> now go ahead with the release build.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Yesterday evening I identified two issues:
>>>>>>>
>>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>>> - In Nginx extension when working with Kubernetes it was not setting
>>>>>>> the kubernetes service ports properly. I'm currently working on this.
>>>>>>>
>>>>>>> If would be great if can wait until I fix the above issue to
>>>>>>> continue with the release build.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>>
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>>
>>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <
>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>>> functionality.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>>> Once we are done with verifying functionality and updating the
>>>>>>>>>>>> Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Reka
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> @Lahiru: It would be better if we can run a release build now
>>>>>>>>>>>> and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks
>>>>>>>>>>>>
>>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the
>>>>>>>>>>>>>>>> iaas provider when adding a new network partition. Every time it showed as
>>>>>>>>>>>>>>>> mock. Issue we had here was not setting up the provider in output from the
>>>>>>>>>>>>>>>> REST API.
>>>>>>>>>>>>>>>> - Added a new API method to list down all the available
>>>>>>>>>>>>>>>> Iaas providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>>> - Fixed another issue found on listing application policies
>>>>>>>>>>>>>>>> in CLI.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon
>>>>>>>>>>>>>>>>> home as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is
>>>>>>>>>>>>>>>>>> valid python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue
>>>>>>>>>>>>>>>>>>> with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not
>>>>>>>>>>>>>>>>>>>> decalred correctly.
>>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>> "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>>>>>>>>>>>>>>> convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551,
>>>>>>>>>>>>>>>>>>>>>>> in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504,
>>>>>>>>>>>>>>>>>>>>>>> in run
>>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679,
>>>>>>>>>>>>>>>>>>>>>>> in __init__
>>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line
>>>>>>>>>>>>>>>>>>>>>>> 1249, in _execute_child
>>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This
>>>>>>>>>>>>>>>>>>>>>>> is because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa
>>>>>>>>>>>>>>>>>>>>>>>>> <is...@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru
>>>>>>>>>>>>>>>>>>>>>>>>>> Sandaruwan <la...@wso2.com> wrote:On Tue, May
>>>>>>>>>>>>>>>>>>>>>>>>>> 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>>>>>>>>> imesh@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:I have committed fix sent by Chamila
>>>>>>>>>>>>>>>>>>>>>>>>>> and it solves this. Then i got an issue in tenant id retrieval due to a
>>>>>>>>>>>>>>>>>>>>>>>>>> typo. I have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>>>>>>>>>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We
>>>>>>>>>>>>>>>>>>>>>>>>> need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> 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: lahirus@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: lahirus@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: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
The release build was successful. It would be great if everyone could
verify the artifacts before starting the voting thread:

https://gist.github.com/imesh/11255463
https://cwiki.apache.org/confluence/display/STRATOS/Release+Guide
<https://www.google.com/url?q=https%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FSTRATOS%2FRelease%2BGuide&sa=D&sntz=1&usg=AFQjCNH5MBfbLzTMjl0jKQoKSKOHLZBlfw>

Thanks

On Mon, Jul 6, 2015 at 9:39 AM, Imesh Gunaratne <im...@apache.org> wrote:

> I think I figured out the reason.
>
> The mvn deploy command correctly uploads all SNAPSHOT artifacts to
> SNAPSHOT repository and only the none SNAPSHOT artifacts are uploaded to
> staging repository.
>
> On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Yes, it was a complete build. I can see the same issue in the build 1032.
>>
>> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> It seems only the dependencies are uploaded. Was the complete build
>>> successful for whole repo?
>>>
>>> Thanks.
>>>
>>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I did a release build and found a problem in the staging repository.
>>>> The mvn deploy has only uploaded following artifacts:
>>>>
>>>>
>>>> ​
>>>>
>>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I have now fixed above issue with the following commit revision:
>>>>>
>>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>>
>>>>> I tested both nginx and haproxy extensions with Kubernetes, we can now
>>>>> go ahead with the release build.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Yesterday evening I identified two issues:
>>>>>>
>>>>>> - Stratos load balancer was not starting, we have commented out
>>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>>> - In Nginx extension when working with Kubernetes it was not setting
>>>>>> the kubernetes service ports properly. I'm currently working on this.
>>>>>>
>>>>>> If would be great if can wait until I fix the above issue to continue
>>>>>> with the release build.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I will start the release process of RC3 from now on.
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <
>>>>>>> lakmal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>>
>>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>>> functionality.
>>>>>>>>>
>>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>>> Once we are done with verifying functionality and updating the
>>>>>>>>>>> Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Reka
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> @Lahiru: It would be better if we can run a release build now
>>>>>>>>>>> and verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>>
>>>>>>>>>>> Thanks
>>>>>>>>>>>
>>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> IMO we need to do some refinements in the application
>>>>>>>>>>>>> lifecycle management logic and make it unit testable in a future release.
>>>>>>>>>>>>> Otherwise it would be nearly impossible to verify all the application
>>>>>>>>>>>>> related features when we are doing a release.
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Reka
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the
>>>>>>>>>>>>>>> iaas provider when adding a new network partition. Every time it showed as
>>>>>>>>>>>>>>> mock. Issue we had here was not setting up the provider in output from the
>>>>>>>>>>>>>>> REST API.
>>>>>>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>>> - Fixed another issue found on listing application policies
>>>>>>>>>>>>>>> in CLI.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon
>>>>>>>>>>>>>>>> home as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue
>>>>>>>>>>>>>>>>>> with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py",
>>>>>>>>>>>>>>>>>>>> line 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> What was the reason for using
>>>>>>>>>>>>>>>>>>>> ast.literal_eval(variable) here?
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551,
>>>>>>>>>>>>>>>>>>>>>> in __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504,
>>>>>>>>>>>>>>>>>>>>>> in run
>>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679,
>>>>>>>>>>>>>>>>>>>>>> in __init__
>>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249,
>>>>>>>>>>>>>>>>>>>>>> in _execute_child
>>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This
>>>>>>>>>>>>>>>>>>>>>> is because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan
>>>>>>>>>>>>>>>>>>>>>>>>> <la...@wso2.com> wrote: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:I have committed fix sent by Chamila and it solves this. Then i
>>>>>>>>>>>>>>>>>>>>>>>>> got an issue in tenant id retrieval due to a typo. I have fixed it as
>>>>>>>>>>>>>>>>>>>>>>>>> well.Still get the following error, [1] in the undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>>> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
>>>>>>>>>>>>>>>>>>>>>>>>> unsubscribed event: [tenant] -1234 [application ID]
>>>>>>>>>>>>>>>>>>>>>>>>> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
>>>>>>>>>>>>>>>>>>>>>>>>> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We
>>>>>>>>>>>>>>>>>>>>>>>> need to see why the AgentGitHandler.get_repo (tenant_id) call is not
>>>>>>>>>>>>>>>>>>>>>>>> returning the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> 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: lahirus@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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I think I figured out the reason.

The mvn deploy command correctly uploads all SNAPSHOT artifacts to SNAPSHOT
repository and only the none SNAPSHOT artifacts are uploaded to staging
repository.

On Mon, Jul 6, 2015 at 8:52 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Yes, it was a complete build. I can see the same issue in the build 1032.
>
> On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi Imesh,
>>
>> It seems only the dependencies are uploaded. Was the complete build
>> successful for whole repo?
>>
>> Thanks.
>>
>> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> I did a release build and found a problem in the staging repository. The
>>> mvn deploy has only uploaded following artifacts:
>>>
>>>
>>> ​
>>>
>>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I have now fixed above issue with the following commit revision:
>>>>
>>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>>
>>>> I tested both nginx and haproxy extensions with Kubernetes, we can now
>>>> go ahead with the release build.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> Yesterday evening I identified two issues:
>>>>>
>>>>> - Stratos load balancer was not starting, we have commented out
>>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>>> - In Nginx extension when working with Kubernetes it was not setting
>>>>> the kubernetes service ports properly. I'm currently working on this.
>>>>>
>>>>> If would be great if can wait until I fix the above issue to continue
>>>>> with the release build.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I will start the release process of RC3 from now on.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <lakmal@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Since all good, shall we cut RC-3?
>>>>>>>
>>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thanks Lahiru, Reka!!
>>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>>> functionality.
>>>>>>>>
>>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <
>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> IMO we have now fixed almost all the issues we found in
>>>>>>>>>> 4.1.0-RC2.
>>>>>>>>>> Once we are done with verifying functionality and updating the
>>>>>>>>>> Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the
>>>>>>>>> progress of updating the spreadsheet with the executed test scenarios.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Reka
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>>>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>>
>>>>>>>>>> Thanks
>>>>>>>>>>
>>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>>>>>>> features when we are doing a release.
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> +1 for doing this. This is really good suggestion and will
>>>>>>>>>>> reduce the maintenance effort.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Reka
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix
>>>>>>>>>>>>> them. I will update as i progress with it.
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>> Reka
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>>>>>>> API.
>>>>>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>>> - Fixed another issue found on listing application policies
>>>>>>>>>>>>>> in CLI.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I just did another fix where we have not set the carbon home
>>>>>>>>>>>>>>> as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue
>>>>>>>>>>>>>>>>> with the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>>> The value should be in following format with double
>>>>>>>>>>>>>>>>>> quotes.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py",
>>>>>>>>>>>>>>>>>>> line 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in
>>>>>>>>>>>>>>>>>>> literal_eval
>>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable)
>>>>>>>>>>>>>>>>>>> here?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in
>>>>>>>>>>>>>>>>>>>>> run
>>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679,
>>>>>>>>>>>>>>>>>>>>> in __init__
>>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249,
>>>>>>>>>>>>>>>>>>>>> in _execute_child
>>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory:
>>>>>>>>>>>>>>>>>>>>> '/var/www'
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This
>>>>>>>>>>>>>>>>>>>>> is because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please
>>>>>>>>>>>>>>>>>>>>> review and merge.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and it solves this. Then i
>>>>>>>>>>>>>>>>>>>>>>>> got an issue in tenant id retrieval due to a typo. I have fixed it as
>>>>>>>>>>>>>>>>>>>>>>>> well.Still get the following error, [1] in the undeployment process.
>>>>>>>>>>>>>>>>>>>>>>>> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
>>>>>>>>>>>>>>>>>>>>>>>> unsubscribed event: [tenant] -1234 [application ID]
>>>>>>>>>>>>>>>>>>>>>>>> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
>>>>>>>>>>>>>>>>>>>>>>>> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need
>>>>>>>>>>>>>>>>>>>>>>> to see why the AgentGitHandler.get_repo (tenant_id) call is not returning
>>>>>>>>>>>>>>>>>>>>>>> the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>> Senior Software Engineer,
>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>> Mobile: +94776442007
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> 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: lahirus@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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Yes, it was a complete build. I can see the same issue in the build 1032.

On Mon, Jul 6, 2015 at 8:36 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Imesh,
>
> It seems only the dependencies are uploaded. Was the complete build
> successful for whole repo?
>
> Thanks.
>
> On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I did a release build and found a problem in the staging repository. The
>> mvn deploy has only uploaded following artifacts:
>>
>>
>> ​
>>
>> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> I have now fixed above issue with the following commit revision:
>>>
>>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>>
>>> I tested both nginx and haproxy extensions with Kubernetes, we can now
>>> go ahead with the release build.
>>>
>>> Thanks
>>>
>>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Yesterday evening I identified two issues:
>>>>
>>>> - Stratos load balancer was not starting, we have commented out
>>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>>> - In Nginx extension when working with Kubernetes it was not setting
>>>> the kubernetes service ports properly. I'm currently working on this.
>>>>
>>>> If would be great if can wait until I fix the above issue to continue
>>>> with the release build.
>>>>
>>>> Thanks
>>>>
>>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I will start the release process of RC3 from now on.
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Since all good, shall we cut RC-3?
>>>>>>
>>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks Lahiru, Reka!!
>>>>>>> It would be great if everyone could contribute to verify the
>>>>>>> functionality.
>>>>>>>
>>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>>> reka@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>>>>>>> Once we are done with verifying functionality and updating the
>>>>>>>>> Test Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>>
>>>>>>>>
>>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress
>>>>>>>> of updating the spreadsheet with the executed test scenarios.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Reka
>>>>>>>>
>>>>>>>>>
>>>>>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>>>>>
>>>>>>>>> Thanks
>>>>>>>>>
>>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>>>>>> features when we are doing a release.
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> +1 for doing this. This is really good suggestion and will reduce
>>>>>>>>>> the maintenance effort.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Reka
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them.
>>>>>>>>>>>> I will update as i progress with it.
>>>>>>>>>>>>
>>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>>
>>>>>>>>>>>> Thanks,
>>>>>>>>>>>> Reka
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have
>>>>>>>>>>>>> already fixed them.
>>>>>>>>>>>>>
>>>>>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>>>>>> API.
>>>>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>>> - Fixed another issue found on listing application policies in
>>>>>>>>>>>>> CLI.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I just did another fix where we have not set the carbon home
>>>>>>>>>>>>>> as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue with
>>>>>>>>>>>>>>>> the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py",
>>>>>>>>>>>>>>>>>> line 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable)
>>>>>>>>>>>>>>>>>> here?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in
>>>>>>>>>>>>>>>>>>>> run
>>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>>     if
>>>>>>>>>>>>>>>>>>>> AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249,
>>>>>>>>>>>>>>>>>>>> in _execute_child
>>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review
>>>>>>>>>>>>>>>>>>>> and merge.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha
>>>>>>>>>>>>>>>>>>>> Liyanarachchi <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have
>>>>>>>>>>>>>>>>>>>>>>> committed fix sent by Chamila and it solves this. Then i got an issue in
>>>>>>>>>>>>>>>>>>>>>>> tenant id retrieval due to a typo. I have fixed it as well.Still get the
>>>>>>>>>>>>>>>>>>>>>>> following error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need
>>>>>>>>>>>>>>>>>>>>>> to see why the AgentGitHandler.get_repo (tenant_id) call is not returning
>>>>>>>>>>>>>>>>>>>>>> the correct repo object.
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>>
>>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Reka Thirunavukkarasu
>>>>>>>> Senior Software Engineer,
>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>> Mobile: +94776442007
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> 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: lahirus@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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Imesh,

It seems only the dependencies are uploaded. Was the complete build
successful for whole repo?

Thanks.

On Mon, Jul 6, 2015 at 8:11 AM, Imesh Gunaratne <im...@apache.org> wrote:

> I did a release build and found a problem in the staging repository. The
> mvn deploy has only uploaded following artifacts:
>
>
> ​
>
> On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I have now fixed above issue with the following commit revision:
>>
>> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>>
>> I tested both nginx and haproxy extensions with Kubernetes, we can now go
>> ahead with the release build.
>>
>> Thanks
>>
>> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Yesterday evening I identified two issues:
>>>
>>> - Stratos load balancer was not starting, we have commented out
>>> network-partition-id property in loadbalancer.conf. I fixed this.
>>> - In Nginx extension when working with Kubernetes it was not setting the
>>> kubernetes service ports properly. I'm currently working on this.
>>>
>>> If would be great if can wait until I fix the above issue to continue
>>> with the release build.
>>>
>>> Thanks
>>>
>>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>> I will start the release process of RC3 from now on.
>>>>
>>>> Thanks.
>>>>
>>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
>>>> wrote:
>>>>
>>>>> Since all good, shall we cut RC-3?
>>>>>
>>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Thanks Lahiru, Reka!!
>>>>>> It would be great if everyone could contribute to verify the
>>>>>> functionality.
>>>>>>
>>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <
>>>>>> reka@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>>>>>> Once we are done with verifying functionality and updating the Test
>>>>>>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>>
>>>>>>>
>>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress
>>>>>>> of updating the spreadsheet with the executed test scenarios.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Reka
>>>>>>>
>>>>>>>>
>>>>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi
>>>>>>>>>
>>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <
>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>>>>> features when we are doing a release.
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> +1 for doing this. This is really good suggestion and will reduce
>>>>>>>>> the maintenance effort.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Reka
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them.
>>>>>>>>>>> I will update as i progress with it.
>>>>>>>>>>>
>>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>>> - Group scaling is not working with the nested level groups
>>>>>>>>>>> where more than one group level support group scaling.
>>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Reka
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>>>>>>> fixed them.
>>>>>>>>>>>>
>>>>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>>>>> API.
>>>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>>> - Fixed another issue found on listing application policies in
>>>>>>>>>>>> CLI.
>>>>>>>>>>>>
>>>>>>>>>>>> Thank you!
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>>
>>>>>>>>>>>>> I just did another fix where we have not set the carbon home
>>>>>>>>>>>>> as the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>>
>>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue with
>>>>>>>>>>>>>>> the input format. Can you please explain the reason for using
>>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py",
>>>>>>>>>>>>>>>>> line 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable)
>>>>>>>>>>>>>>>>> here?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in
>>>>>>>>>>>>>>>>>>> run
>>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command,
>>>>>>>>>>>>>>>>>>> stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review
>>>>>>>>>>>>>>>>>>> and merge.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed
>>>>>>>>>>>>>>>>>>>>>> fix sent by Chamila and it solves this. Then i got an issue in tenant id
>>>>>>>>>>>>>>>>>>>>>> retrieval due to a typo. I have fixed it as well.Still get the following
>>>>>>>>>>>>>>>>>>>>>> error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need
>>>>>>>>>>>>>>>>>>>>> to see why the AgentGitHandler.get_repo (tenant_id) call is not returning
>>>>>>>>>>>>>>>>>>>>> the correct repo object.
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>
>>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>>> Software Engineer
>>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>> Senior Software Engineer,
>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>> Mobile: +94776442007
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Reka Thirunavukkarasu
>>>>>>> Senior Software Engineer,
>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>> Mobile: +94776442007
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> 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: lahirus@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: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I did a release build and found a problem in the staging repository. The
mvn deploy has only uploaded following artifacts:


​

On Sat, Jul 4, 2015 at 12:20 AM, Imesh Gunaratne <im...@apache.org> wrote:

> I have now fixed above issue with the following commit revision:
>
> https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771
>
> I tested both nginx and haproxy extensions with Kubernetes, we can now go
> ahead with the release build.
>
> Thanks
>
> On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Hi Lahiru,
>>
>> Yesterday evening I identified two issues:
>>
>> - Stratos load balancer was not starting, we have commented out
>> network-partition-id property in loadbalancer.conf. I fixed this.
>> - In Nginx extension when working with Kubernetes it was not setting the
>> kubernetes service ports properly. I'm currently working on this.
>>
>> If would be great if can wait until I fix the above issue to continue
>> with the release build.
>>
>> Thanks
>>
>> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I will start the release process of RC3 from now on.
>>>
>>> Thanks.
>>>
>>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
>>> wrote:
>>>
>>>> Since all good, shall we cut RC-3?
>>>>
>>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Thanks Lahiru, Reka!!
>>>>> It would be great if everyone could contribute to verify the
>>>>> functionality.
>>>>>
>>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <reka@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>>>>> Once we are done with verifying functionality and updating the Test
>>>>>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>>
>>>>>>
>>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress
>>>>>> of updating the spreadsheet with the executed test scenarios.
>>>>>>
>>>>>> Thanks,
>>>>>> Reka
>>>>>>
>>>>>>>
>>>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>>>
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>>> reka@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>>>> features when we are doing a release.
>>>>>>>>>
>>>>>>>>
>>>>>>>> +1 for doing this. This is really good suggestion and will reduce
>>>>>>>> the maintenance effort.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Reka
>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I
>>>>>>>>>> will update as i progress with it.
>>>>>>>>>>
>>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>>> - Group scaling is not working with the nested level groups where
>>>>>>>>>> more than one group level support group scaling.
>>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Reka
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>>>>>> fixed them.
>>>>>>>>>>>
>>>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>>>> API.
>>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>>> - Fixed another issue found on listing application policies in
>>>>>>>>>>> CLI.
>>>>>>>>>>>
>>>>>>>>>>> Thank you!
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>>
>>>>>>>>>>>> I just did another fix where we have not set the carbon home as
>>>>>>>>>>>> the default file path of the jndi.properties file path in messaging
>>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>>
>>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>
>>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> As I can remember in this scenario there was no issue with
>>>>>>>>>>>>>> the input format. Can you please explain the reason for using
>>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py",
>>>>>>>>>>>>>>>> line 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable)
>>>>>>>>>>>>>>>> here?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review
>>>>>>>>>>>>>>>>>> and merge.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi
>>>>>>>>>>>>>>>>>> <an...@wso2.com> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix
>>>>>>>>>>>>>>>>>>>>> sent by Chamila and it solves this. Then i got an issue in tenant id
>>>>>>>>>>>>>>>>>>>>> retrieval due to a typo. I have fixed it as well.Still get the following
>>>>>>>>>>>>>>>>>>>>> error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to
>>>>>>>>>>>>>>>>>>>> see why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>>> Software Engineer
>>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>>> Senior Software Engineer,
>>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>>> Mobile: +94776442007
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Reka Thirunavukkarasu
>>>>>>>> Senior Software Engineer,
>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>> Mobile: +94776442007
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Reka Thirunavukkarasu
>>>>>> Senior Software Engineer,
>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>> Mobile: +94776442007
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> 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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I have now fixed above issue with the following commit revision:
https://github.com/apache/stratos/commit/6ebf5ead2bdc66272e01ee557c5122c2765bf771

I tested both nginx and haproxy extensions with Kubernetes, we can now go
ahead with the release build.

Thanks

On Fri, Jul 3, 2015 at 9:19 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Lahiru,
>
> Yesterday evening I identified two issues:
>
> - Stratos load balancer was not starting, we have commented out
> network-partition-id property in loadbalancer.conf. I fixed this.
> - In Nginx extension when working with Kubernetes it was not setting the
> kubernetes service ports properly. I'm currently working on this.
>
> If would be great if can wait until I fix the above issue to continue with
> the release build.
>
> Thanks
>
> On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I will start the release process of RC3 from now on.
>>
>> Thanks.
>>
>> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
>> wrote:
>>
>>> Since all good, shall we cut RC-3?
>>>
>>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Thanks Lahiru, Reka!!
>>>> It would be great if everyone could contribute to verify the
>>>> functionality.
>>>>
>>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <re...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>>>> Once we are done with verifying functionality and updating the Test
>>>>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>>
>>>>>
>>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress of
>>>>> updating the spreadsheet with the executed test scenarios.
>>>>>
>>>>> Thanks,
>>>>> Reka
>>>>>
>>>>>>
>>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <
>>>>>> reka@wso2.com> wrote:
>>>>>>
>>>>>>> Hi
>>>>>>>
>>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>>> features when we are doing a release.
>>>>>>>>
>>>>>>>
>>>>>>> +1 for doing this. This is really good suggestion and will reduce
>>>>>>> the maintenance effort.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Reka
>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>>> reka@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I
>>>>>>>>> will update as i progress with it.
>>>>>>>>>
>>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>>> - Group scaling is not working with the nested level groups where
>>>>>>>>> more than one group level support group scaling.
>>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>>> deployment policy defined at the group level
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Reka
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>>>>> fixed them.
>>>>>>>>>>
>>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>>> API.
>>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>>> - Fixed another issue found on listing application policies in
>>>>>>>>>> CLI.
>>>>>>>>>>
>>>>>>>>>> Thank you!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>>
>>>>>>>>>>> I just did another fix where we have not set the carbon home as
>>>>>>>>>>> the default file path of the jndi.properties file path in messaging
>>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>>
>>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>>
>>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> As I can remember in this scenario there was no issue with
>>>>>>>>>>>>> the input format. Can you please explain the reason for using
>>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line
>>>>>>>>>>>>>>> 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable)
>>>>>>>>>>>>>>> here?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review
>>>>>>>>>>>>>>>>> and merge.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix
>>>>>>>>>>>>>>>>>>>> sent by Chamila and it solves this. Then i got an issue in tenant id
>>>>>>>>>>>>>>>>>>>> retrieval due to a typo. I have fixed it as well.Still get the following
>>>>>>>>>>>>>>>>>>>> error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to
>>>>>>>>>>>>>>>>>>> see why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>>> Software Engineer
>>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>>> lean.enterprise.middleware
>>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Reka Thirunavukkarasu
>>>>>>>>> Senior Software Engineer,
>>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>>> Mobile: +94776442007
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Reka Thirunavukkarasu
>>>>>>> Senior Software Engineer,
>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>> Mobile: +94776442007
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Reka Thirunavukkarasu
>>>>> Senior Software Engineer,
>>>>> WSO2, Inc.:http://wso2.com,
>>>>> Mobile: +94776442007
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> 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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Lahiru,

Yesterday evening I identified two issues:

- Stratos load balancer was not starting, we have commented out
network-partition-id property in loadbalancer.conf. I fixed this.
- In Nginx extension when working with Kubernetes it was not setting the
kubernetes service ports properly. I'm currently working on this.

If would be great if can wait until I fix the above issue to continue with
the release build.

Thanks

On Fri, Jul 3, 2015 at 7:39 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi,
>
> I will start the release process of RC3 from now on.
>
> Thanks.
>
> On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
> wrote:
>
>> Since all good, shall we cut RC-3?
>>
>> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> Thanks Lahiru, Reka!!
>>> It would be great if everyone could contribute to verify the
>>> functionality.
>>>
>>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <re...@wso2.com>
>>> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>>> Once we are done with verifying functionality and updating the Test
>>>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>>
>>>>
>>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress of
>>>> updating the spreadsheet with the executed test scenarios.
>>>>
>>>> Thanks,
>>>> Reka
>>>>
>>>>>
>>>>> @Lahiru: It would be better if we can run a release build now and
>>>>> verify Licences, README files, Maven artifacts, etc.
>>>>>
>>>>> Thanks
>>>>>
>>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <reka@wso2.com
>>>>> > wrote:
>>>>>
>>>>>> Hi
>>>>>>
>>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>>> it would be nearly impossible to verify all the application related
>>>>>>> features when we are doing a release.
>>>>>>>
>>>>>>
>>>>>> +1 for doing this. This is really good suggestion and will reduce the
>>>>>> maintenance effort.
>>>>>>
>>>>>> Thanks,
>>>>>> Reka
>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <
>>>>>>> reka@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I
>>>>>>>> will update as i progress with it.
>>>>>>>>
>>>>>>>> - Group level deployment policy validation is not there
>>>>>>>> - Group scaling is not working with the nested level groups where
>>>>>>>> more than one group level support group scaling.
>>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>>> deployment policy defined at the group level
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Reka
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <
>>>>>>>> pubudug@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>>>> fixed them.
>>>>>>>>>
>>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>>> API.
>>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>>> - Fixed another issue found on listing application policies in
>>>>>>>>> CLI.
>>>>>>>>>
>>>>>>>>> Thank you!
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>>
>>>>>>>>>> I just did another fix where we have not set the carbon home as
>>>>>>>>>> the default file path of the jndi.properties file path in messaging
>>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>>
>>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>
>>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid
>>>>>>>>>>> python variable. In this scenario it check for a python dictionary.
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>
>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>
>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>
>>>>>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>>
>>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>>> correctly.
>>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>>
>>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>>> configure()
>>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line
>>>>>>>>>>>>>> 42, in convert_properties_to_dictionary
>>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>>> ^
>>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>>>>>> merge.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment
>>>>>>>>>>>>>>>>> process.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix
>>>>>>>>>>>>>>>>>>> sent by Chamila and it solves this. Then i got an issue in tenant id
>>>>>>>>>>>>>>>>>>> retrieval due to a typo. I have fixed it as well.Still get the following
>>>>>>>>>>>>>>>>>>> error, [1] in the undeployment process. Looking into
>>>>>>>>>>>>>>>>>>> it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribed
>>>>>>>>>>>>>>>>>>> event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31
>>>>>>>>>>>>>>>>>>> 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>> eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to
>>>>>>>>>>>>>>>>>> see why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>>> Software Engineer
>>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>>> lean.enterprise.middleware
>>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Reka Thirunavukkarasu
>>>>>>>> Senior Software Engineer,
>>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>>> Mobile: +94776442007
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Reka Thirunavukkarasu
>>>>>> Senior Software Engineer,
>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>> Mobile: +94776442007
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Reka Thirunavukkarasu
>>>> Senior Software Engineer,
>>>> WSO2, Inc.:http://wso2.com,
>>>> Mobile: +94776442007
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> 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: lahirus@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

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi,

I will start the release process of RC3 from now on.

Thanks.

On Fri, Jul 3, 2015 at 7:35 AM, Lakmal Warusawithana <la...@wso2.com>
wrote:

> Since all good, shall we cut RC-3?
>
> On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org>
> wrote:
>
>> Thanks Lahiru, Reka!!
>> It would be great if everyone could contribute to verify the
>> functionality.
>>
>> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <re...@wso2.com>
>> wrote:
>>
>>> Hi Imesh,
>>>
>>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>>> Once we are done with verifying functionality and updating the Test
>>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>>
>>>
>>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress of
>>> updating the spreadsheet with the executed test scenarios.
>>>
>>> Thanks,
>>> Reka
>>>
>>>>
>>>> @Lahiru: It would be better if we can run a release build now and
>>>> verify Licences, README files, Maven artifacts, etc.
>>>>
>>>> Thanks
>>>>
>>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi
>>>>>
>>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> IMO we need to do some refinements in the application lifecycle
>>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>>> it would be nearly impossible to verify all the application related
>>>>>> features when we are doing a release.
>>>>>>
>>>>>
>>>>> +1 for doing this. This is really good suggestion and will reduce the
>>>>> maintenance effort.
>>>>>
>>>>> Thanks,
>>>>> Reka
>>>>>
>>>>>>
>>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <reka@wso2.com
>>>>>> > wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I
>>>>>>> will update as i progress with it.
>>>>>>>
>>>>>>> - Group level deployment policy validation is not there
>>>>>>> - Group scaling is not working with the nested level groups where
>>>>>>> more than one group level support group scaling.
>>>>>>> - Group scaling was not working  properly when there is no
>>>>>>> deployment policy defined at the group level
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Reka
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pubudug@wso2.com
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>>> fixed them.
>>>>>>>>
>>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>>> API.
>>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>>> - Fixed another issue found on listing application policies in CLI.
>>>>>>>>
>>>>>>>> Thank you!
>>>>>>>>
>>>>>>>>
>>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Thanks Anuruddha!
>>>>>>>>>
>>>>>>>>> I just did another fix where we have not set the carbon home as
>>>>>>>>> the default file path of the jndi.properties file path in messaging
>>>>>>>>> component (AMQPTopicConnector). As a result when Stratos is setup with an
>>>>>>>>> external CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>>
>>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>>
>>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>>>>>
>>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <
>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>> correctly.
>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>
>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>
>>>>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>>
>>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>>> correctly.
>>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>>
>>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>>
>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>>> configure()
>>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line
>>>>>>>>>>>>> 42, in convert_properties_to_dictionary
>>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>>> ^
>>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>>
>>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>>>>> merge.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to
>>>>>>>>>>>>>>>>> see why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>>
>>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>>
>>>>>>>> *Pubudu Gunatilaka*
>>>>>>>> Software Engineer
>>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>>> lean.enterprise.middleware
>>>>>>>> mobile:  +94 77 4078049
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Reka Thirunavukkarasu
>>>>>>> Senior Software Engineer,
>>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>>> Mobile: +94776442007
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Reka Thirunavukkarasu
>>>>> Senior Software Engineer,
>>>>> WSO2, Inc.:http://wso2.com,
>>>>> Mobile: +94776442007
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Senior Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> 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: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lakmal Warusawithana <la...@wso2.com>.
Since all good, shall we cut RC-3?

On Mon, Jun 29, 2015 at 12:06 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Lahiru, Reka!!
> It would be great if everyone could contribute to verify the functionality.
>
> On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <re...@wso2.com>
> wrote:
>
>> Hi Imesh,
>>
>> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>>> Once we are done with verifying functionality and updating the Test
>>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>>
>>
>> +1 for 4.1.0-RC3 after verifying the functionality..In the progress of
>> updating the spreadsheet with the executed test scenarios.
>>
>> Thanks,
>> Reka
>>
>>>
>>> @Lahiru: It would be better if we can run a release build now and verify
>>> Licences, README files, Maven artifacts, etc.
>>>
>>> Thanks
>>>
>>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
>>> wrote:
>>>
>>>> Hi
>>>>
>>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> IMO we need to do some refinements in the application lifecycle
>>>>> management logic and make it unit testable in a future release. Otherwise
>>>>> it would be nearly impossible to verify all the application related
>>>>> features when we are doing a release.
>>>>>
>>>>
>>>> +1 for doing this. This is really good suggestion and will reduce the
>>>> maintenance effort.
>>>>
>>>> Thanks,
>>>> Reka
>>>>
>>>>>
>>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I
>>>>>> will update as i progress with it.
>>>>>>
>>>>>> - Group level deployment policy validation is not there
>>>>>> - Group scaling is not working with the nested level groups where
>>>>>> more than one group level support group scaling.
>>>>>> - Group scaling was not working  properly when there is no deployment
>>>>>> policy defined at the group level
>>>>>>
>>>>>> Thanks,
>>>>>> Reka
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I found following issues we had in 4.1.0-RC2 and I have already
>>>>>>> fixed them.
>>>>>>>
>>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>>> API.
>>>>>>> - Added a new API method to list down all the available Iaas
>>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>>> - Fixed another issue found on listing application policies in CLI.
>>>>>>>
>>>>>>> Thank you!
>>>>>>>
>>>>>>>
>>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Thanks Anuruddha!
>>>>>>>>
>>>>>>>> I just did another fix where we have not set the carbon home as the
>>>>>>>> default file path of the jndi.properties file path in messaging component
>>>>>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>>>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>>>>>
>>>>>>>>
>>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>>
>>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>>
>>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>>>>
>>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>> > wrote:
>>>>>>>>>
>>>>>>>>>> Hi Anuruddha,
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>
>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>> correctly.
>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>
>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>
>>>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Imesh,
>>>>>>>>>>>
>>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>>> correctly.
>>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>>
>>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <
>>>>>>>>>>> imesh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> I found the following issue in
>>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>>
>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>>> configure()
>>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line
>>>>>>>>>>>> 42, in convert_properties_to_dictionary
>>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>>> ^
>>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>>
>>>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>>
>>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>>>> merge.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>>>>>>>>>>>>>>>> -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see
>>>>>>>>>>>>>>>> why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>>
>>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> *Pubudu Gunatilaka*
>>>>>>> Software Engineer
>>>>>>> WSO2, Inc.: http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>> mobile:  +94 77 4078049
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Reka Thirunavukkarasu
>>>>>> Senior Software Engineer,
>>>>>> WSO2, Inc.:http://wso2.com,
>>>>>> Mobile: +94776442007
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Reka Thirunavukkarasu
>>>> Senior Software Engineer,
>>>> WSO2, Inc.:http://wso2.com,
>>>> Mobile: +94776442007
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Lakmal Warusawithana
Vice President, Apache Stratos
Director - Cloud Architecture; WSO2 Inc.
Mobile : +94714289692
Blog : http://lakmalsview.blogspot.com/

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Lahiru, Reka!!
It would be great if everyone could contribute to verify the functionality.

On Mon, Jun 29, 2015 at 11:57 AM, Reka Thirunavukkarasu <re...@wso2.com>
wrote:

> Hi Imesh,
>
> On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org>
> wrote:
>
>> Hi Devs,
>>
>> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
>> Once we are done with verifying functionality and updating the Test
>> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>>
>
> +1 for 4.1.0-RC3 after verifying the functionality..In the progress of
> updating the spreadsheet with the executed test scenarios.
>
> Thanks,
> Reka
>
>>
>> @Lahiru: It would be better if we can run a release build now and verify
>> Licences, README files, Maven artifacts, etc.
>>
>> Thanks
>>
>> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
>> wrote:
>>
>>> Hi
>>>
>>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> IMO we need to do some refinements in the application lifecycle
>>>> management logic and make it unit testable in a future release. Otherwise
>>>> it would be nearly impossible to verify all the application related
>>>> features when we are doing a release.
>>>>
>>>
>>> +1 for doing this. This is really good suggestion and will reduce the
>>> maintenance effort.
>>>
>>> Thanks,
>>> Reka
>>>
>>>>
>>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
>>>>> update as i progress with it.
>>>>>
>>>>> - Group level deployment policy validation is not there
>>>>> - Group scaling is not working with the nested level groups where more
>>>>> than one group level support group scaling.
>>>>> - Group scaling was not working  properly when there is no deployment
>>>>> policy defined at the group level
>>>>>
>>>>> Thanks,
>>>>> Reka
>>>>>
>>>>>
>>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>>>>> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>>>>>> them.
>>>>>>
>>>>>> - Network partition provider wasn't changed based on the iaas
>>>>>> provider when adding a new network partition. Every time it showed as mock.
>>>>>> Issue we had here was not setting up the provider in output from the REST
>>>>>> API.
>>>>>> - Added a new API method to list down all the available Iaas
>>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>>> - Fixed another issue found on listing application policies in CLI.
>>>>>>
>>>>>> Thank you!
>>>>>>
>>>>>>
>>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Thanks Anuruddha!
>>>>>>>
>>>>>>> I just did another fix where we have not set the carbon home as the
>>>>>>> default file path of the jndi.properties file path in messaging component
>>>>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>>
>>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>>
>>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>>>
>>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Hi Anuruddha,
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>> correctly.
>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>
>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>
>>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Imesh,
>>>>>>>>>>
>>>>>>>>>> This error occurs when your input format is not decalred
>>>>>>>>>> correctly.
>>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>>
>>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <imesh@apache.org
>>>>>>>>>> > wrote:
>>>>>>>>>>
>>>>>>>>>>> I found the following issue in
>>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>>
>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>>> configure()
>>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42,
>>>>>>>>>>> in convert_properties_to_dictionary
>>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>>> ^
>>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>>
>>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>>
>>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>>   File
>>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>>   File
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>>   File
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in
>>>>>>>>>>>>> __init__
>>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have identified root cause for the error [1]. This is
>>>>>>>>>>>>> because tenant_id is stored as an unicode string in dictionary and the
>>>>>>>>>>>>> passed tenant id is an integer.
>>>>>>>>>>>>>
>>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>>
>>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>>> merge.
>>>>>>>>>>>>>
>>>>>>>>>>>>>  [1]
>>>>>>>>>>>>>
>>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>   File
>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see
>>>>>>>>>>>>>>> why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> --
>>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>>
>>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> *Pubudu Gunatilaka*
>>>>>> Software Engineer
>>>>>> WSO2, Inc.: http://wso2.com
>>>>>> lean.enterprise.middleware
>>>>>> mobile:  +94 77 4078049
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Reka Thirunavukkarasu
>>>>> Senior Software Engineer,
>>>>> WSO2, Inc.:http://wso2.com,
>>>>> Mobile: +94776442007
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Senior Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi Imesh,

On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Devs,
>
> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
> Once we are done with verifying functionality and updating the Test
> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>

+1 for 4.1.0-RC3 after verifying the functionality..In the progress of
updating the spreadsheet with the executed test scenarios.

Thanks,
Reka

>
> @Lahiru: It would be better if we can run a release build now and verify
> Licences, README files, Maven artifacts, etc.
>
> Thanks
>
> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
> wrote:
>
>> Hi
>>
>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> IMO we need to do some refinements in the application lifecycle
>>> management logic and make it unit testable in a future release. Otherwise
>>> it would be nearly impossible to verify all the application related
>>> features when we are doing a release.
>>>
>>
>> +1 for doing this. This is really good suggestion and will reduce the
>> maintenance effort.
>>
>> Thanks,
>> Reka
>>
>>>
>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
>>>> update as i progress with it.
>>>>
>>>> - Group level deployment policy validation is not there
>>>> - Group scaling is not working with the nested level groups where more
>>>> than one group level support group scaling.
>>>> - Group scaling was not working  properly when there is no deployment
>>>> policy defined at the group level
>>>>
>>>> Thanks,
>>>> Reka
>>>>
>>>>
>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>>>>> them.
>>>>>
>>>>> - Network partition provider wasn't changed based on the iaas provider
>>>>> when adding a new network partition. Every time it showed as mock. Issue we
>>>>> had here was not setting up the provider in output from the REST API.
>>>>> - Added a new API method to list down all the available Iaas
>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>> - Fixed another issue found on listing application policies in CLI.
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Thanks Anuruddha!
>>>>>>
>>>>>> I just did another fix where we have not set the carbon home as the
>>>>>> default file path of the jndi.properties file path in messaging component
>>>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>>>
>>>>>>
>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>
>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>
>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>>
>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Anuruddha,
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>
>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>
>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>
>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I found the following issue in
>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>
>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>> configure()
>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42,
>>>>>>>>>> in convert_properties_to_dictionary
>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>> ^
>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>
>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>
>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>>>>> tenant id is an integer.
>>>>>>>>>>>>
>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>
>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>> merge.
>>>>>>>>>>>>
>>>>>>>>>>>>  [1]
>>>>>>>>>>>>
>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>
>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>   File
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see
>>>>>>>>>>>>>> why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Pubudu Gunatilaka*
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> mobile:  +94 77 4078049
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Reka Thirunavukkarasu
>>>> Senior Software Engineer,
>>>> WSO2, Inc.:http://wso2.com,
>>>> Mobile: +94776442007
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Imesh,

Will do.

Thanks.

On Mon, Jun 29, 2015 at 11:49 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Devs,
>
> IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
> Once we are done with verifying functionality and updating the Test
> Coverage spreadsheet shall we proceed with 4.1.0-RC3?
>
> @Lahiru: It would be better if we can run a release build now and verify
> Licences, README files, Maven artifacts, etc.
>
> Thanks
>
> On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
> wrote:
>
>> Hi
>>
>> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> IMO we need to do some refinements in the application lifecycle
>>> management logic and make it unit testable in a future release. Otherwise
>>> it would be nearly impossible to verify all the application related
>>> features when we are doing a release.
>>>
>>
>> +1 for doing this. This is really good suggestion and will reduce the
>> maintenance effort.
>>
>> Thanks,
>> Reka
>>
>>>
>>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
>>>> update as i progress with it.
>>>>
>>>> - Group level deployment policy validation is not there
>>>> - Group scaling is not working with the nested level groups where more
>>>> than one group level support group scaling.
>>>> - Group scaling was not working  properly when there is no deployment
>>>> policy defined at the group level
>>>>
>>>> Thanks,
>>>> Reka
>>>>
>>>>
>>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>>>> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>>>>> them.
>>>>>
>>>>> - Network partition provider wasn't changed based on the iaas provider
>>>>> when adding a new network partition. Every time it showed as mock. Issue we
>>>>> had here was not setting up the provider in output from the REST API.
>>>>> - Added a new API method to list down all the available Iaas
>>>>> providers. This is useful when deploying a multi-region deployment.
>>>>> - Fixed another issue found on listing application policies in CLI.
>>>>>
>>>>> Thank you!
>>>>>
>>>>>
>>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Thanks Anuruddha!
>>>>>>
>>>>>> I just did another fix where we have not set the carbon home as the
>>>>>> default file path of the jndi.properties file path in messaging component
>>>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>>>
>>>>>>
>>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>>
>>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>>
>>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>>
>>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hi Anuruddha,
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>
>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>
>>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>>> input format. Can you please explain the reason for using
>>>>>>>> ast.literal_eval(variable)?
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Imesh,
>>>>>>>>>
>>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>>
>>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> I found the following issue in
>>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>>
>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>>> configure()
>>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42,
>>>>>>>>>> in convert_properties_to_dictionary
>>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>>> File "<unknown>", line 1
>>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>>> ^
>>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>>
>>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>>
>>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>>     self.run()
>>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/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
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>>     output, errors =
>>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>>> _execute_child
>>>>>>>>>>>>     raise child_exception
>>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>>>>> tenant id is an integer.
>>>>>>>>>>>>
>>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>>
>>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>>> merge.
>>>>>>>>>>>>
>>>>>>>>>>>>  [1]
>>>>>>>>>>>>
>>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>
>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>   File
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>>
>>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>>> File
>>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see
>>>>>>>>>>>>>> why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> --
>>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Imesh Gunaratne
>>>>>>>>>>
>>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>>
>>>>> *Pubudu Gunatilaka*
>>>>> Software Engineer
>>>>> WSO2, Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>> mobile:  +94 77 4078049
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Reka Thirunavukkarasu
>>>> Senior Software Engineer,
>>>> WSO2, Inc.:http://wso2.com,
>>>> Mobile: +94776442007
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> 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: lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/
linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Devs,

IMO we have now fixed almost all the issues we found in 4.1.0-RC2.
Once we are done with verifying functionality and updating the Test
Coverage spreadsheet shall we proceed with 4.1.0-RC3?

@Lahiru: It would be better if we can run a release build now and verify
Licences, README files, Maven artifacts, etc.

Thanks

On Wed, Jun 17, 2015 at 11:36 AM, Reka Thirunavukkarasu <re...@wso2.com>
wrote:

> Hi
>
> On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org>
> wrote:
>
>> IMO we need to do some refinements in the application lifecycle
>> management logic and make it unit testable in a future release. Otherwise
>> it would be nearly impossible to verify all the application related
>> features when we are doing a release.
>>
>
> +1 for doing this. This is really good suggestion and will reduce the
> maintenance effort.
>
> Thanks,
> Reka
>
>>
>> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
>>> update as i progress with it.
>>>
>>> - Group level deployment policy validation is not there
>>> - Group scaling is not working with the nested level groups where more
>>> than one group level support group scaling.
>>> - Group scaling was not working  properly when there is no deployment
>>> policy defined at the group level
>>>
>>> Thanks,
>>> Reka
>>>
>>>
>>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>>> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>>>> them.
>>>>
>>>> - Network partition provider wasn't changed based on the iaas provider
>>>> when adding a new network partition. Every time it showed as mock. Issue we
>>>> had here was not setting up the provider in output from the REST API.
>>>> - Added a new API method to list down all the available Iaas providers.
>>>> This is useful when deploying a multi-region deployment.
>>>> - Fixed another issue found on listing application policies in CLI.
>>>>
>>>> Thank you!
>>>>
>>>>
>>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Thanks Anuruddha!
>>>>>
>>>>> I just did another fix where we have not set the carbon home as the
>>>>> default file path of the jndi.properties file path in messaging component
>>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>>
>>>>>
>>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>>
>>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>>
>>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>>> variable. In this scenario it check for a python dictionary.
>>>>>>
>>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Anuruddha,
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>
>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>
>>>>>>>> As I can remember in this scenario there was no issue with the
>>>>>>> input format. Can you please explain the reason for using
>>>>>>> ast.literal_eval(variable)?
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Imesh,
>>>>>>>>
>>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>>> The value should be in following format with double quotes.
>>>>>>>>
>>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> I found the following issue in
>>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>>
>>>>>>>>> Traceback (most recent call last):
>>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>>> configure()
>>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>>> context = generate_context(config_file_path)
>>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42,
>>>>>>>>> in convert_properties_to_dictionary
>>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>>> File "<unknown>", line 1
>>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>>> ^
>>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>>
>>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> Now I am getting following error.
>>>>>>>>>>
>>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>>     self.run()
>>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>>   File
>>>>>>>>>>> "/mnt/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
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 61, in checkout
>>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>>   File
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>>     output, errors =
>>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>>   File
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>>> _execute_child
>>>>>>>>>>>     raise child_exception
>>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>>>> tenant id is an integer.
>>>>>>>>>>>
>>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>>
>>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and
>>>>>>>>>>> merge.
>>>>>>>>>>>
>>>>>>>>>>>  [1]
>>>>>>>>>>>
>>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>>
>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>   File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>>
>>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>>
>>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> [1].
>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>>> File
>>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see
>>>>>>>>>>>>> why the AgentGitHandler.get_repo (tenant_id) call is not returning the
>>>>>>>>>>>>> correct repo object.
>>>>>>>>>>>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Imesh Gunaratne
>>>>>>>>>
>>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> *Pubudu Gunatilaka*
>>>> Software Engineer
>>>> WSO2, Inc.: http://wso2.com
>>>> lean.enterprise.middleware
>>>> mobile:  +94 77 4078049
>>>>
>>>
>>>
>>>
>>> --
>>> Reka Thirunavukkarasu
>>> Senior Software Engineer,
>>> WSO2, Inc.:http://wso2.com,
>>> Mobile: +94776442007
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi

On Tue, Jun 16, 2015 at 10:10 PM, Imesh Gunaratne <im...@apache.org> wrote:

> IMO we need to do some refinements in the application lifecycle management
> logic and make it unit testable in a future release. Otherwise it would be
> nearly impossible to verify all the application related features when we
> are doing a release.
>

+1 for doing this. This is really good suggestion and will reduce the
maintenance effort.

Thanks,
Reka

>
> On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
>> update as i progress with it.
>>
>> - Group level deployment policy validation is not there
>> - Group scaling is not working with the nested level groups where more
>> than one group level support group scaling.
>> - Group scaling was not working  properly when there is no deployment
>> policy defined at the group level
>>
>> Thanks,
>> Reka
>>
>>
>> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
>> wrote:
>>
>>> Hi Devs,
>>>
>>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>>> them.
>>>
>>> - Network partition provider wasn't changed based on the iaas provider
>>> when adding a new network partition. Every time it showed as mock. Issue we
>>> had here was not setting up the provider in output from the REST API.
>>> - Added a new API method to list down all the available Iaas providers.
>>> This is useful when deploying a multi-region deployment.
>>> - Fixed another issue found on listing application policies in CLI.
>>>
>>> Thank you!
>>>
>>>
>>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Thanks Anuruddha!
>>>>
>>>> I just did another fix where we have not set the carbon home as the
>>>> default file path of the jndi.properties file path in messaging component
>>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>>> CEP it fails saying that it cannot find the jndi.properties
>>>>
>>>>
>>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>>
>>>> Shall we proceed with 4.1.0-RC3 now?
>>>>
>>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> ast.literal_eval method evaluate a given variable is valid python
>>>>> variable. In this scenario it check for a python dictionary.
>>>>>
>>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi Anuruddha,
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>> The value should be in following format with double quotes.
>>>>>>>
>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>
>>>>>>> As I can remember in this scenario there was no issue with the input
>>>>>> format. Can you please explain the reason for using
>>>>>> ast.literal_eval(variable)?
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Imesh,
>>>>>>>
>>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>>> The value should be in following format with double quotes.
>>>>>>>
>>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> I found the following issue in
>>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>>
>>>>>>>> Traceback (most recent call last):
>>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>>> configure()
>>>>>>>> File "configurator.py", line 151, in configure
>>>>>>>> context = generate_context(config_file_path)
>>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>>> convert_properties_to_dictionary
>>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>>> File "<unknown>", line 1
>>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>>> ^
>>>>>>>> SyntaxError: invalid syntax
>>>>>>>>
>>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> Now I am getting following error.
>>>>>>>>>
>>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>>> __bootstrap_inner
>>>>>>>>>>     self.run()
>>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>>   File
>>>>>>>>>> "/mnt/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
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 61, in checkout
>>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>>   File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>>     output, errors =
>>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>>   File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>>     errread, errwrite)
>>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>>> _execute_child
>>>>>>>>>>     raise child_exception
>>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>>> tenant id is an integer.
>>>>>>>>>>
>>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>>
>>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>>>>
>>>>>>>>>>  [1]
>>>>>>>>>>
>>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>>
>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>   File
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Devs,
>>>>>>>>>>>
>>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>>
>>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>>
>>>>>>>>>>>>> [1].
>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by
>>>>>>>>>>>>> Chamila and it solves this. Then i got an issue in tenant id retrieval due
>>>>>>>>>>>>> to a typo. I have fixed it as well.Still get the following error, [1] in
>>>>>>>>>>>>> the undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>>> File
>>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>>>>> repo object.
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>>
>>>>>>>>>>>> Isuru H.
>>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Imesh Gunaratne
>>>>>>>>
>>>>>>>> Senior Technical Lead, WSO2
>>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>>
>>> *Pubudu Gunatilaka*
>>> Software Engineer
>>> WSO2, Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>> mobile:  +94 77 4078049
>>>
>>
>>
>>
>> --
>> Reka Thirunavukkarasu
>> Senior Software Engineer,
>> WSO2, Inc.:http://wso2.com,
>> Mobile: +94776442007
>>
>>
>>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
IMO we need to do some refinements in the application lifecycle management
logic and make it unit testable in a future release. Otherwise it would be
nearly impossible to verify all the application related features when we
are doing a release.

On Tue, Jun 16, 2015 at 6:51 PM, Reka Thirunavukkarasu <re...@wso2.com>
wrote:

> Hi Devs,
>
> I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
> update as i progress with it.
>
> - Group level deployment policy validation is not there
> - Group scaling is not working with the nested level groups where more
> than one group level support group scaling.
> - Group scaling was not working  properly when there is no deployment
> policy defined at the group level
>
> Thanks,
> Reka
>
>
> On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com>
> wrote:
>
>> Hi Devs,
>>
>> I found following issues we had in 4.1.0-RC2 and I have already fixed
>> them.
>>
>> - Network partition provider wasn't changed based on the iaas provider
>> when adding a new network partition. Every time it showed as mock. Issue we
>> had here was not setting up the provider in output from the REST API.
>> - Added a new API method to list down all the available Iaas providers.
>> This is useful when deploying a multi-region deployment.
>> - Fixed another issue found on listing application policies in CLI.
>>
>> Thank you!
>>
>>
>> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> Thanks Anuruddha!
>>>
>>> I just did another fix where we have not set the carbon home as the
>>> default file path of the jndi.properties file path in messaging component
>>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>>> CEP it fails saying that it cannot find the jndi.properties
>>>
>>>
>>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>>
>>> Shall we proceed with 4.1.0-RC3 now?
>>>
>>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> ast.literal_eval method evaluate a given variable is valid python
>>>> variable. In this scenario it check for a python dictionary.
>>>>
>>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Anuruddha,
>>>>>
>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>> The value should be in following format with double quotes.
>>>>>>
>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>
>>>>>> As I can remember in this scenario there was no issue with the input
>>>>> format. Can you please explain the reason for using
>>>>> ast.literal_eval(variable)?
>>>>>
>>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Imesh,
>>>>>>
>>>>>> This error occurs when your input format is not decalred correctly.
>>>>>> The value should be in following format with double quotes.
>>>>>>
>>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> I found the following issue in
>>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>> File "configurator.py", line 159, in <module>
>>>>>>> configure()
>>>>>>> File "configurator.py", line 151, in configure
>>>>>>> context = generate_context(config_file_path)
>>>>>>> File "configurator.py", line 110, in generate_context
>>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>>> convert_properties_to_dictionary
>>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>>> File "<unknown>", line 1
>>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>>> ^
>>>>>>> SyntaxError: invalid syntax
>>>>>>>
>>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> Now I am getting following error.
>>>>>>>>
>>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>>> Exception in thread Thread-38:
>>>>>>>>> Traceback (most recent call last):
>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>>> __bootstrap_inner
>>>>>>>>>     self.run()
>>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>>   File
>>>>>>>>> "/mnt/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
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 61, in checkout
>>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>>     output, errors =
>>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 433, in execute_git_command
>>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>>     errread, errwrite)
>>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>>> _execute_child
>>>>>>>>>     raise child_exception
>>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>>> tenant id is an integer.
>>>>>>>>>
>>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>>
>>>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>>>
>>>>>>>>>  [1]
>>>>>>>>>
>>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>>
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>   File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Devs,
>>>>>>>>>>
>>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>>
>>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>>
>>>>>>>>>>>> [1].
>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila
>>>>>>>>>>>> and it solves this. Then i got an issue in tenant id retrieval due to a
>>>>>>>>>>>> typo. I have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>>> File
>>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>>>> repo object.
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>>
>>>>>>>>>>> Isuru H.
>>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> *Thanks and Regards,*
>>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>>> Software Engineer - WSO2
>>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Imesh Gunaratne
>>>>>>>
>>>>>>> Senior Technical Lead, WSO2
>>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>>
>> *Pubudu Gunatilaka*
>> Software Engineer
>> WSO2, Inc.: http://wso2.com
>> lean.enterprise.middleware
>> mobile:  +94 77 4078049
>>
>
>
>
> --
> Reka Thirunavukkarasu
> Senior Software Engineer,
> WSO2, Inc.:http://wso2.com,
> Mobile: +94776442007
>
>
>


-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Reka Thirunavukkarasu <re...@wso2.com>.
Hi Devs,

I have found below issues in 4.1.0-RC2. I'm trying to fix them. I will
update as i progress with it.

- Group level deployment policy validation is not there
- Group scaling is not working with the nested level groups where more than
one group level support group scaling.
- Group scaling was not working  properly when there is no deployment
policy defined at the group level

Thanks,
Reka


On Tue, Jun 16, 2015 at 6:35 PM, Pubudu Gunatilaka <pu...@wso2.com> wrote:

> Hi Devs,
>
> I found following issues we had in 4.1.0-RC2 and I have already fixed them.
>
> - Network partition provider wasn't changed based on the iaas provider
> when adding a new network partition. Every time it showed as mock. Issue we
> had here was not setting up the provider in output from the REST API.
> - Added a new API method to list down all the available Iaas providers.
> This is useful when deploying a multi-region deployment.
> - Fixed another issue found on listing application policies in CLI.
>
> Thank you!
>
>
> On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Thanks Anuruddha!
>>
>> I just did another fix where we have not set the carbon home as the
>> default file path of the jndi.properties file path in messaging component
>> (AMQPTopicConnector). As a result when Stratos is setup with an external
>> CEP it fails saying that it cannot find the jndi.properties
>>
>>
>> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>>
>> Shall we proceed with 4.1.0-RC3 now?
>>
>> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Imesh,
>>>
>>> ast.literal_eval method evaluate a given variable is valid python
>>> variable. In this scenario it check for a python dictionary.
>>>
>>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> Hi Anuruddha,
>>>>
>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> This error occurs when your input format is not decalred correctly.
>>>>> The value should be in following format with double quotes.
>>>>>
>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>
>>>>> As I can remember in this scenario there was no issue with the input
>>>> format. Can you please explain the reason for using
>>>> ast.literal_eval(variable)?
>>>>
>>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Imesh,
>>>>>
>>>>> This error occurs when your input format is not decalred correctly.
>>>>> The value should be in following format with double quotes.
>>>>>
>>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>>
>>>>>
>>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> I found the following issue in
>>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>>
>>>>>> Traceback (most recent call last):
>>>>>> File "configurator.py", line 159, in <module>
>>>>>> configure()
>>>>>> File "configurator.py", line 151, in configure
>>>>>> context = generate_context(config_file_path)
>>>>>> File "configurator.py", line 110, in generate_context
>>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>>> convert_properties_to_dictionary
>>>>>> properties = ast.literal_eval(variable).split(",")
>>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>>> File "<unknown>", line 1
>>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>>> ^
>>>>>> SyntaxError: invalid syntax
>>>>>>
>>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> Now I am getting following error.
>>>>>>>
>>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>>> Exception in thread Thread-38:
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>>> __bootstrap_inner
>>>>>>>>     self.run()
>>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>>   File
>>>>>>>> "/mnt/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
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 61, in checkout
>>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 139, in is_valid_git_repository
>>>>>>>>     output, errors =
>>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 433, in execute_git_command
>>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>>     errread, errwrite)
>>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>>> _execute_child
>>>>>>>>     raise child_exception
>>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>>> tenant id is an integer.
>>>>>>>>
>>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>>
>>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>>
>>>>>>>>  [1]
>>>>>>>>
>>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>>
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>   File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 407, in remove_repo
>>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>>> 'scheduled_update_task'
>>>>>>>>>
>>>>>>>>
>>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> Hi Devs,
>>>>>>>>>
>>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>>
>>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>>
>>>>>>>>>>> [1].
>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila
>>>>>>>>>>> and it solves this. Then i got an issue in tenant id retrieval due to a
>>>>>>>>>>> typo. I have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>>> File
>>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>>> lahirus@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/The
>>>>>>>>>>> tag to be voted upon:
>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 --
>>>>>>>>>>> Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache
>>>>>>>>>>> Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146--
>>>>>>>>>>> Thanks and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>>> repo object.
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks and Regards,
>>>>>>>>>>
>>>>>>>>>> Isuru H.
>>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> *Thanks and Regards,*
>>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>>> Software Engineer - WSO2
>>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>>> Tel      : +94 112 145 345
>>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Imesh Gunaratne
>>>>>>
>>>>>> Senior Technical Lead, WSO2
>>>>>> Committer & PMC Member, Apache Stratos
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
>
> *Pubudu Gunatilaka*
> Software Engineer
> WSO2, Inc.: http://wso2.com
> lean.enterprise.middleware
> mobile:  +94 77 4078049
>



-- 
Reka Thirunavukkarasu
Senior Software Engineer,
WSO2, Inc.:http://wso2.com,
Mobile: +94776442007

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Pubudu Gunatilaka <pu...@wso2.com>.
Hi Devs,

I found following issues we had in 4.1.0-RC2 and I have already fixed them.

- Network partition provider wasn't changed based on the iaas provider when
adding a new network partition. Every time it showed as mock. Issue we had
here was not setting up the provider in output from the REST API.
- Added a new API method to list down all the available Iaas providers.
This is useful when deploying a multi-region deployment.
- Fixed another issue found on listing application policies in CLI.

Thank you!


On Tue, Jun 16, 2015 at 6:12 PM, Imesh Gunaratne <im...@apache.org> wrote:

> Thanks Anuruddha!
>
> I just did another fix where we have not set the carbon home as the
> default file path of the jndi.properties file path in messaging component
> (AMQPTopicConnector). As a result when Stratos is setup with an external
> CEP it fails saying that it cannot find the jndi.properties
>
>
> https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b
>
> Shall we proceed with 4.1.0-RC3 now?
>
> On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> ast.literal_eval method evaluate a given variable is valid python
>> variable. In this scenario it check for a python dictionary.
>>
>> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org>
>> wrote:
>>
>>> Hi Anuruddha,
>>>
>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> This error occurs when your input format is not decalred correctly.
>>>> The value should be in following format with double quotes.
>>>>
>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>
>>>> As I can remember in this scenario there was no issue with the input
>>> format. Can you please explain the reason for using
>>> ast.literal_eval(variable)?
>>>
>>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Imesh,
>>>>
>>>> This error occurs when your input format is not decalred correctly.
>>>> The value should be in following format with double quotes.
>>>>
>>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>>
>>>>
>>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>>> wrote:
>>>>
>>>>> I found the following issue in
>>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>>
>>>>> Traceback (most recent call last):
>>>>> File "configurator.py", line 159, in <module>
>>>>> configure()
>>>>> File "configurator.py", line 151, in configure
>>>>> context = generate_context(config_file_path)
>>>>> File "configurator.py", line 110, in generate_context
>>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>>> convert_properties_to_dictionary
>>>>> properties = ast.literal_eval(variable).split(",")
>>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>>> node_or_string = parse(node_or_string, mode='eval')
>>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>>> File "<unknown>", line 1
>>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>>> ^
>>>>> SyntaxError: invalid syntax
>>>>>
>>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>>
>>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> Now I am getting following error.
>>>>>>
>>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>>> Exception in thread Thread-38:
>>>>>>> Traceback (most recent call last):
>>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>>> __bootstrap_inner
>>>>>>>     self.run()
>>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>>   File
>>>>>>> "/mnt/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
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 61, in checkout
>>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 139, in is_valid_git_repository
>>>>>>>     output, errors =
>>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 433, in execute_git_command
>>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>>     errread, errwrite)
>>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>>> _execute_child
>>>>>>>     raise child_exception
>>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I have identified root cause for the error [1]. This is because
>>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>>> tenant id is an integer.
>>>>>>>
>>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>>
>>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>>
>>>>>>>  [1]
>>>>>>>
>>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>>
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>   File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 407, in remove_repo
>>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>>> 'scheduled_update_task'
>>>>>>>>
>>>>>>>
>>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>>
>>>>>>>> Hi Devs,
>>>>>>>>
>>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <
>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Lahiru,
>>>>>>>>>>
>>>>>>>>>> Had a look. Here, the method call
>>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>>
>>>>>>>>>> [1].
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>>> File
>>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>>> line 407, in remove_repo
>>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>>> lahirus@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/The tag
>>>>>>>>>> to be voted upon:
>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>>> Engineer,WSO2 Inc.,
>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Apologies, this might be not the root cause. We need to see why
>>>>>>>>> the AgentGitHandler.get_repo (tenant_id) call is not returning the correct
>>>>>>>>> repo object.
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Thanks and Regards,
>>>>>>>>>
>>>>>>>>> Isuru H.
>>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Thanks and Regards,*
>>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>>> Software Engineer - WSO2
>>>>>>>> Mobile : +94 (0) 712762611
>>>>>>>> Tel      : +94 112 145 345
>>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Imesh Gunaratne
>>>>>
>>>>> Senior Technical Lead, WSO2
>>>>> Committer & PMC Member, Apache Stratos
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 

*Pubudu Gunatilaka*
Software Engineer
WSO2, Inc.: http://wso2.com
lean.enterprise.middleware
mobile:  +94 77 4078049

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Thanks Anuruddha!

I just did another fix where we have not set the carbon home as the default
file path of the jndi.properties file path in messaging component
(AMQPTopicConnector). As a result when Stratos is setup with an external
CEP it fails saying that it cannot find the jndi.properties

https://github.com/apache/stratos/commit/b26359336e92ccaf29f62cbaeaec3345f009d50b

Shall we proceed with 4.1.0-RC3 now?

On Mon, Jun 8, 2015 at 9:31 AM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Imesh,
>
> ast.literal_eval method evaluate a given variable is valid python
> variable. In this scenario it check for a python dictionary.
>
> On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> Hi Anuruddha,
>>
>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Imesh,
>>>
>>> This error occurs when your input format is not decalred correctly.
>>> The value should be in following format with double quotes.
>>>
>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>
>>> As I can remember in this scenario there was no issue with the input
>> format. Can you please explain the reason for using
>> ast.literal_eval(variable)?
>>
>> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Imesh,
>>>
>>> This error occurs when your input format is not decalred correctly.
>>> The value should be in following format with double quotes.
>>>
>>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>>
>>>
>>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org>
>>> wrote:
>>>
>>>> I found the following issue in
>>>> ConfigParserUtil.convert_properties_to_dictionary
>>>>
>>>> Traceback (most recent call last):
>>>> File "configurator.py", line 159, in <module>
>>>> configure()
>>>> File "configurator.py", line 151, in configure
>>>> context = generate_context(config_file_path)
>>>> File "configurator.py", line 110, in generate_context
>>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>>> convert_properties_to_dictionary
>>>> properties = ast.literal_eval(variable).split(",")
>>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>>> node_or_string = parse(node_or_string, mode='eval')
>>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>>> File "<unknown>", line 1
>>>> 10.0.0.1:4000,10.0.0.1:5000
>>>> ^
>>>> SyntaxError: invalid syntax
>>>>
>>>> What was the reason for using ast.literal_eval(variable) here?
>>>>
>>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> Now I am getting following error.
>>>>>
>>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>>> Exception in thread Thread-38:
>>>>>> Traceback (most recent call last):
>>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>>> __bootstrap_inner
>>>>>>     self.run()
>>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>>   File
>>>>>> "/mnt/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
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 61, in checkout
>>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 139, in is_valid_git_repository
>>>>>>     output, errors =
>>>>>> AgentGitHandler.execute_git_command(["show-ref"], git_repo.local_repo_path)
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 433, in execute_git_command
>>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>>     errread, errwrite)
>>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in
>>>>>> _execute_child
>>>>>>     raise child_exception
>>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>>
>>>>>
>>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I have identified root cause for the error [1]. This is because
>>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>>> tenant id is an integer.
>>>>>>
>>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>>
>>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>>
>>>>>>  [1]
>>>>>>
>>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>>
>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>   File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 407, in remove_repo
>>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>>> 'scheduled_update_task'
>>>>>>>
>>>>>>
>>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>>> anuruddhal@wso2.com> wrote:
>>>>>>
>>>>>>> Hi Devs,
>>>>>>>
>>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <isuruh@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <
>>>>>>>> isuruh@apache.org> wrote:
>>>>>>>>
>>>>>>>>> Hi Lahiru,
>>>>>>>>>
>>>>>>>>> Had a look. Here, the method call
>>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>>
>>>>>>>>> [1].
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>>> File
>>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>>> line 407, in remove_repo
>>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>>> lahirus@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/The tag
>>>>>>>>> to be voted upon:
>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>>> http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>>
>>>>>>>>
>>>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>>>> object.
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks and Regards,
>>>>>>>>
>>>>>>>> Isuru H.
>>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> *Thanks and Regards,*
>>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>>> Software Engineer - WSO2
>>>>>>> Mobile : +94 (0) 712762611
>>>>>>> Tel      : +94 112 145 345
>>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Imesh Gunaratne
>>>>
>>>> Senior Technical Lead, WSO2
>>>> Committer & PMC Member, Apache Stratos
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi Imesh,

ast.literal_eval method evaluate a given variable is valid python variable.
In this scenario it check for a python dictionary.

On Sat, Jun 6, 2015 at 12:23 AM, Imesh Gunaratne <im...@apache.org> wrote:

> Hi Anuruddha,
>
> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> This error occurs when your input format is not decalred correctly.
>> The value should be in following format with double quotes.
>>
>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>
>> As I can remember in this scenario there was no issue with the input
> format. Can you please explain the reason for using
> ast.literal_eval(variable)?
>
> On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Imesh,
>>
>> This error occurs when your input format is not decalred correctly.
>> The value should be in following format with double quotes.
>>
>> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>>
>>
>> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org> wrote:
>>
>>> I found the following issue in
>>> ConfigParserUtil.convert_properties_to_dictionary
>>>
>>> Traceback (most recent call last):
>>> File "configurator.py", line 159, in <module>
>>> configure()
>>> File "configurator.py", line 151, in configure
>>> context = generate_context(config_file_path)
>>> File "configurator.py", line 110, in generate_context
>>> context['CONFIG_PARAM_WKA_MEMBERS'])
>>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>>> convert_properties_to_dictionary
>>> properties = ast.literal_eval(variable).split(",")
>>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>>> node_or_string = parse(node_or_string, mode='eval')
>>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>>> return compile(source, filename, mode, PyCF_ONLY_AST)
>>> File "<unknown>", line 1
>>> 10.0.0.1:4000,10.0.0.1:5000
>>> ^
>>> SyntaxError: invalid syntax
>>>
>>> What was the reason for using ast.literal_eval(variable) here?
>>>
>>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> Now I am getting following error.
>>>>
>>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>>> Exception in thread Thread-38:
>>>>> Traceback (most recent call last):
>>>>>   File "/usr/lib/python2.7/threading.py", line 551, in
>>>>> __bootstrap_inner
>>>>>     self.run()
>>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>>   File
>>>>> "/mnt/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
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 61, in checkout
>>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 139, in is_valid_git_repository
>>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>>> git_repo.local_repo_path)
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 433, in execute_git_command
>>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>>     errread, errwrite)
>>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>>     raise child_exception
>>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>>
>>>>
>>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I have identified root cause for the error [1]. This is because
>>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>>> tenant id is an integer.
>>>>>
>>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>>
>>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>>
>>>>>  [1]
>>>>>
>>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>>
>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>   File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 407, in remove_repo
>>>>>>     git_repo.scheduled_update_task.terminate()
>>>>>> AttributeError: 'NoneType' object has no attribute
>>>>>> 'scheduled_update_task'
>>>>>>
>>>>>
>>>>> [2] https://github.com/apache/stratos/pull/363
>>>>>
>>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>>> anuruddhal@wso2.com> wrote:
>>>>>
>>>>>> Hi Devs,
>>>>>>
>>>>>> I am working on the PCA error, in the undeployment process.
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <isuruh@apache.org
>>>>>>> > wrote:
>>>>>>>
>>>>>>>> Hi Lahiru,
>>>>>>>>
>>>>>>>> Had a look. Here, the method call
>>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>>
>>>>>>>> [1].
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <
>>>>>>>> lahirus@wso2.com> wrote: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:I have committed fix sent by Chamila and
>>>>>>>> it solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>>> File
>>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>>> line 407, in remove_repo
>>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>>> lahirus@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/The tag
>>>>>>>> to be voted upon:
>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>>
>>>>>>>
>>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>>> object.
>>>>>>>
>>>>>>> --
>>>>>>> Thanks and Regards,
>>>>>>>
>>>>>>> Isuru H.
>>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Thanks and Regards,*
>>>>>> Anuruddha Lanka Liyanarachchi
>>>>>> Software Engineer - WSO2
>>>>>> Mobile : +94 (0) 712762611
>>>>>> Tel      : +94 112 145 345
>>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Imesh Gunaratne
>>>
>>> Senior Technical Lead, WSO2
>>> Committer & PMC Member, Apache Stratos
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
Hi Anuruddha,

On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Imesh,
>
> This error occurs when your input format is not decalred correctly.
> The value should be in following format with double quotes.
>
> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>
> As I can remember in this scenario there was no issue with the input
format. Can you please explain the reason for using
ast.literal_eval(variable)?

On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Imesh,
>
> This error occurs when your input format is not decalred correctly.
> The value should be in following format with double quotes.
>
> CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"
>
>
> On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org> wrote:
>
>> I found the following issue in
>> ConfigParserUtil.convert_properties_to_dictionary
>>
>> Traceback (most recent call last):
>> File "configurator.py", line 159, in <module>
>> configure()
>> File "configurator.py", line 151, in configure
>> context = generate_context(config_file_path)
>> File "configurator.py", line 110, in generate_context
>> context['CONFIG_PARAM_WKA_MEMBERS'])
>> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
>> convert_properties_to_dictionary
>> properties = ast.literal_eval(variable).split(",")
>> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
>> node_or_string = parse(node_or_string, mode='eval')
>> File "/usr/lib/python2.7/ast.py", line 37, in parse
>> return compile(source, filename, mode, PyCF_ONLY_AST)
>> File "<unknown>", line 1
>> 10.0.0.1:4000,10.0.0.1:5000
>> ^
>> SyntaxError: invalid syntax
>>
>> What was the reason for using ast.literal_eval(variable) here?
>>
>> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> Now I am getting following error.
>>>
>>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>>> Exception in thread Thread-38:
>>>> Traceback (most recent call last):
>>>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>>>     self.run()
>>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>>     self.__target(*self.__args, **self.__kwargs)
>>>>   File
>>>> "/mnt/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
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 61, in checkout
>>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 139, in is_valid_git_repository
>>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>>> git_repo.local_repo_path)
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 433, in execute_git_command
>>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>>     errread, errwrite)
>>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>>     raise child_exception
>>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>>
>>>
>>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I have identified root cause for the error [1]. This is because
>>>> tenant_id is stored as an unicode string in dictionary and the passed
>>>> tenant id is an integer.
>>>>
>>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>>
>>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>>
>>>>  [1]
>>>>
>>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>>
>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>   File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 407, in remove_repo
>>>>>     git_repo.scheduled_update_task.terminate()
>>>>> AttributeError: 'NoneType' object has no attribute
>>>>> 'scheduled_update_task'
>>>>>
>>>>
>>>> [2] https://github.com/apache/stratos/pull/363
>>>>
>>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>>> anuruddhal@wso2.com> wrote:
>>>>
>>>>> Hi Devs,
>>>>>
>>>>> I am working on the PCA error, in the undeployment process.
>>>>>
>>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>>>> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi Lahiru,
>>>>>>>
>>>>>>> Had a look. Here, the method call
>>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>>
>>>>>>> [1].
>>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>>> imesh@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:I have committed fix sent by Chamila and it
>>>>>>> solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>>> File
>>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>>> line 407, in remove_repo
>>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>>> lahirus@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/The tag to
>>>>>>> be voted upon:
>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>>> tag (4.1.0-rc2) tree view:
>>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks
>>>>>>> and Regards,Isuru H. +94 716 358 048
>>>>>>>
>>>>>>
>>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>>> object.
>>>>>>
>>>>>> --
>>>>>> Thanks and Regards,
>>>>>>
>>>>>> Isuru H.
>>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Thanks and Regards,*
>>>>> Anuruddha Lanka Liyanarachchi
>>>>> Software Engineer - WSO2
>>>>> Mobile : +94 (0) 712762611
>>>>> Tel      : +94 112 145 345
>>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Senior Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi Imesh,

This error occurs when your input format is not decalred correctly.
The value should be in following format with double quotes.

CONFIG_PARAM_WKA_MEMBERS="10.0.0.1:4000,10.0.0.1:5000"


On Mon, Jun 1, 2015 at 6:50 PM, Imesh Gunaratne <im...@apache.org> wrote:

> I found the following issue in
> ConfigParserUtil.convert_properties_to_dictionary
>
> Traceback (most recent call last):
> File "configurator.py", line 159, in <module>
> configure()
> File "configurator.py", line 151, in configure
> context = generate_context(config_file_path)
> File "configurator.py", line 110, in generate_context
> context['CONFIG_PARAM_WKA_MEMBERS'])
> File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
> convert_properties_to_dictionary
> properties = ast.literal_eval(variable).split(",")
> File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
> node_or_string = parse(node_or_string, mode='eval')
> File "/usr/lib/python2.7/ast.py", line 37, in parse
> return compile(source, filename, mode, PyCF_ONLY_AST)
> File "<unknown>", line 1
> 10.0.0.1:4000,10.0.0.1:5000
> ^
> SyntaxError: invalid syntax
>
> What was the reason for using ast.literal_eval(variable) here?
>
> On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Devs,
>>
>> Now I am getting following error.
>>
>> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>>> Exception in thread Thread-38:
>>> Traceback (most recent call last):
>>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>>     self.run()
>>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>>     self.__target(*self.__args, **self.__kwargs)
>>>   File
>>> "/mnt/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
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 61, in checkout
>>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>>   File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 139, in is_valid_git_repository
>>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>>> git_repo.local_repo_path)
>>>   File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 433, in execute_git_command
>>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>>     errread, errwrite)
>>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>>     raise child_exception
>>> OSError: [Errno 2] No such file or directory: '/var/www'
>>
>>
>> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> I have identified root cause for the error [1]. This is because
>>> tenant_id is stored as an unicode string in dictionary and the passed
>>> tenant id is an integer.
>>>
>>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>>
>>> I have fixed the issue now in the PR [2]. Please review and merge.
>>>
>>>  [1]
>>>
>>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>>
>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>   File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 407, in remove_repo
>>>>     git_repo.scheduled_update_task.terminate()
>>>> AttributeError: 'NoneType' object has no attribute
>>>> 'scheduled_update_task'
>>>>
>>>
>>> [2] https://github.com/apache/stratos/pull/363
>>>
>>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>>> anuruddhal@wso2.com> wrote:
>>>
>>>> Hi Devs,
>>>>
>>>> I am working on the PCA error, in the undeployment process.
>>>>
>>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>>> wrote:
>>>>
>>>>>
>>>>>
>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>>>>> wrote:
>>>>>
>>>>>> Hi Lahiru,
>>>>>>
>>>>>> Had a look. Here, the method call
>>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>>> application signup removed event in eventhandler.py [1].
>>>>>>
>>>>>> [1].
>>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>>> imesh@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:I have committed fix sent by Chamila and it
>>>>>> solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>>> File
>>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>>> line 407, in remove_repo
>>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>>> lahirus@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/The tag to
>>>>>> be voted upon:
>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>>> tag (4.1.0-rc2) tree view:
>>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
>>>>>> Regards,Isuru H. +94 716 358 048
>>>>>>
>>>>>
>>>>> Apologies, this might be not the root cause. We need to see why the
>>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>>> object.
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>> +94 716 358 048* <http://wso2.com/>*
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> *Thanks and Regards,*
>>>> Anuruddha Lanka Liyanarachchi
>>>> Software Engineer - WSO2
>>>> Mobile : +94 (0) 712762611
>>>> Tel      : +94 112 145 345
>>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> Imesh Gunaratne
>
> Senior Technical Lead, WSO2
> Committer & PMC Member, Apache Stratos
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Imesh Gunaratne <im...@apache.org>.
I found the following issue in
ConfigParserUtil.convert_properties_to_dictionary

Traceback (most recent call last):
File "configurator.py", line 159, in <module>
configure()
File "configurator.py", line 151, in configure
context = generate_context(config_file_path)
File "configurator.py", line 110, in generate_context
context['CONFIG_PARAM_WKA_MEMBERS'])
File "/opt/wso2configurator-4.1.0/configparserutil.py", line 42, in
convert_properties_to_dictionary
properties = ast.literal_eval(variable).split(",")
File "/usr/lib/python2.7/ast.py", line 49, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python2.7/ast.py", line 37, in parse
return compile(source, filename, mode, PyCF_ONLY_AST)
File "<unknown>", line 1
10.0.0.1:4000,10.0.0.1:5000
^
SyntaxError: invalid syntax

What was the reason for using ast.literal_eval(variable) here?

On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Devs,
>
> Now I am getting following error.
>
> 2015-06-01 18:03:17,287:DEBUG:Running checkout job
>> Exception in thread Thread-38:
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>>     self.run()
>>   File "/usr/lib/python2.7/threading.py", line 504, in run
>>     self.__target(*self.__args, **self.__kwargs)
>>   File
>> "/mnt/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
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 61, in checkout
>>     if AgentGitHandler.is_valid_git_repository(git_repo):
>>   File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 139, in is_valid_git_repository
>>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
>> git_repo.local_repo_path)
>>   File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 433, in execute_git_command
>>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
>> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>>     errread, errwrite)
>>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>>     raise child_exception
>> OSError: [Errno 2] No such file or directory: '/var/www'
>
>
> On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Devs,
>>
>> I have identified root cause for the error [1]. This is because tenant_id
>> is stored as an unicode string in dictionary and the passed tenant id is an
>> integer.
>>
>> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>>
>> I have fixed the issue now in the PR [2]. Please review and merge.
>>
>>  [1]
>>
>>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>>
>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>   File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 407, in remove_repo
>>>     git_repo.scheduled_update_task.terminate()
>>> AttributeError: 'NoneType' object has no attribute
>>> 'scheduled_update_task'
>>>
>>
>> [2] https://github.com/apache/stratos/pull/363
>>
>> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
>> anuruddhal@wso2.com> wrote:
>>
>>> Hi Devs,
>>>
>>> I am working on the PCA error, in the undeployment process.
>>>
>>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>>> wrote:
>>>
>>>>
>>>>
>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>>>> wrote:
>>>>
>>>>> Hi Lahiru,
>>>>>
>>>>> Had a look. Here, the method call
>>>>> 'AgentGitHandler.get_repo(tenant_id)' seems to be not returning the
>>>>> expected git_repo object. Its returning a NoneType object, similar to NULL.
>>>>> The root cause AFAIS is the git repository being removed upon receiving
>>>>> application signup removed event in eventhandler.py [1].
>>>>>
>>>>> [1].
>>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>>> imesh@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:I have committed fix sent by Chamila and it
>>>>> solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>>> have fixed it as well.Still get the following error, [1] in the
>>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>>> File
>>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>>> line 407, in remove_repo
>>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>>> lahirus@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/The tag to
>>>>> be voted upon:
>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>>> tag (4.1.0-rc2) tree view:
>>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>>> KEYS file containing PGP keys we use to sign the release:
>>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>>> +94773325954email: lahirus@wso2.com blog:
>>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
>>>>> Regards,Isuru H. +94 716 358 048
>>>>>
>>>>
>>>> Apologies, this might be not the root cause. We need to see why the
>>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>>> object.
>>>>
>>>> --
>>>> Thanks and Regards,
>>>>
>>>> Isuru H.
>>>> +94 716 358 048* <http://wso2.com/>*
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Thanks and Regards,*
>>> Anuruddha Lanka Liyanarachchi
>>> Software Engineer - WSO2
>>> Mobile : +94 (0) 712762611
>>> Tel      : +94 112 145 345
>>> a <th...@wso2.com>nuruddhal@wso2.com
>>>
>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
Imesh Gunaratne

Senior Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi Devs,

Now I am getting following error.

2015-06-01 18:03:17,287:DEBUG:Running checkout job
> Exception in thread Thread-38:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
>     self.run()
>   File "/usr/lib/python2.7/threading.py", line 504, in run
>     self.__target(*self.__args, **self.__kwargs)
>   File
> "/mnt/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
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 61, in checkout
>     if AgentGitHandler.is_valid_git_repository(git_repo):
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 139, in is_valid_git_repository
>     output, errors = AgentGitHandler.execute_git_command(["show-ref"],
> git_repo.local_repo_path)
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 433, in execute_git_command
>     p = subprocess.Popen(command, stdout=subprocess.PIPE,
> stderr=subprocess.PIPE, env=os_env, cwd=repo_path)
>   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
>     errread, errwrite)
>   File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
>     raise child_exception
> OSError: [Errno 2] No such file or directory: '/var/www'


On Mon, Jun 1, 2015 at 6:17 PM, Anuruddha Liyanarachchi <anuruddhal@wso2.com
> wrote:

> Hi Devs,
>
> I have identified root cause for the error [1]. This is because tenant_id
> is stored as an unicode string in dictionary and the passed tenant id is an
> integer.
>
> {u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cbeb00>}
>
> I have fixed the issue now in the PR [2]. Please review and merge.
>
>  [1]
>
>> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>>     AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>   File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 407, in remove_repo
>>     git_repo.scheduled_update_task.terminate()
>> AttributeError: 'NoneType' object has no attribute 'scheduled_update_task'
>>
>
> [2] https://github.com/apache/stratos/pull/363
>
> On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
> anuruddhal@wso2.com> wrote:
>
>> Hi Devs,
>>
>> I am working on the PCA error, in the undeployment process.
>>
>> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
>> wrote:
>>
>>>
>>>
>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>>> wrote:
>>>
>>>> Hi Lahiru,
>>>>
>>>> Had a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)'
>>>> seems to be not returning the expected git_repo object. Its returning a
>>>> NoneType object, similar to NULL. The root cause AFAIS is the git
>>>> repository being removed upon receiving application signup removed event in
>>>> eventhandler.py [1].
>>>>
>>>> [1].
>>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>>> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne <
>>>> imesh@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:I have committed fix sent by Chamila and it
>>>> solves this. Then i got an issue in tenant id retrieval due to a typo. I
>>>> have fixed it as well.Still get the following error, [1] in the
>>>> undeployment process. Looking into it.Thanks.[1] 2015-05-31
>>>> 23:51:33,583:INFO:Processing Tenant unsubscribed event: [tenant] -1234
>>>> [application ID] single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error
>>>> processing 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>>> File
>>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>>> line 407, in remove_repo
>>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>>> lahirus@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/The tag to be
>>>> voted upon:
>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>>> tag (4.1.0-rc2) tree view:
>>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>>> KEYS file containing PGP keys we use to sign the release:
>>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>>> +94773325954email: lahirus@wso2.com blog:
>>>> http://lahiruwrites.blogspot.com/linked-in:
>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
>>>> Regards,Isuru H. +94 716 358 048
>>>>
>>>
>>> Apologies, this might be not the root cause. We need to see why the
>>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>>> object.
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>> +94 716 358 048* <http://wso2.com/>*
>>>
>>>
>>>
>>
>>
>> --
>> *Thanks and Regards,*
>> Anuruddha Lanka Liyanarachchi
>> Software Engineer - WSO2
>> Mobile : +94 (0) 712762611
>> Tel      : +94 112 145 345
>> a <th...@wso2.com>nuruddhal@wso2.com
>>
>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi Devs,

I have identified root cause for the error [1]. This is because tenant_id
is stored as an unicode string in dictionary and the passed tenant id is an
integer.

{u'-1234': <modules.artifactmgt.git.agentgithandler.GitRepository
instance at 0x1cbeb00>}

I have fixed the issue now in the PR [2]. Please review and merge.

 [1]

> 2015-05-31 23:51:33,583:ERROR: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 355, in on_application_signup_removed_event
>     AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>   File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 407, in remove_repo
>     git_repo.scheduled_update_task.terminate()
> AttributeError: 'NoneType' object has no attribute 'scheduled_update_task'
>

[2] https://github.com/apache/stratos/pull/363

On Mon, Jun 1, 2015 at 12:13 PM, Anuruddha Liyanarachchi <
anuruddhal@wso2.com> wrote:

> Hi Devs,
>
> I am working on the PCA error, in the undeployment process.
>
> On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org>
> wrote:
>
>>
>>
>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
>> wrote:
>>
>>> Hi Lahiru,
>>>
>>> Had a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)'
>>> seems to be not returning the expected git_repo object. Its returning a
>>> NoneType object, similar to NULL. The root cause AFAIS is the git
>>> repository being removed upon receiving application signup removed event in
>>> eventhandler.py [1].
>>>
>>> [1].
>>> AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>>> wrote: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:I have committed fix sent by Chamila and it solves this. Then i
>>> got an issue in tenant id retrieval due to a typo. I have fixed it as
>>> well.Still get the following error, [1] in the undeployment process.
>>> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
>>> unsubscribed event: [tenant] -1234 [application ID]
>>> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
>>> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>>> File
>>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>>> line 407, in remove_repo
>>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>>> lahirus@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/The tag to be
>>> voted upon:
>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>>> tag (4.1.0-rc2) tree view:
>>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>>> KEYS file containing PGP keys we use to sign the release:
>>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>>> +94773325954email: lahirus@wso2.com blog:
>>> http://lahiruwrites.blogspot.com/linked-in:
>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>>> Stratos,Senior Software Engineer,WSO2 Inc.,
>>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
>>> Regards,Isuru H. +94 716 358 048
>>>
>>
>> Apologies, this might be not the root cause. We need to see why the
>> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
>> object.
>>
>> --
>> Thanks and Regards,
>>
>> Isuru H.
>> +94 716 358 048* <http://wso2.com/>*
>>
>>
>>
>
>
> --
> *Thanks and Regards,*
> Anuruddha Lanka Liyanarachchi
> Software Engineer - WSO2
> Mobile : +94 (0) 712762611
> Tel      : +94 112 145 345
> a <th...@wso2.com>nuruddhal@wso2.com
>



-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Anuruddha Liyanarachchi <an...@wso2.com>.
Hi Devs,

I am working on the PCA error, in the undeployment process.

On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuwa <is...@apache.org> wrote:

>
>
> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org>
> wrote:
>
>> Hi Lahiru,
>>
>> Had a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)'
>> seems to be not returning the expected git_repo object. Its returning a
>> NoneType object, similar to NULL. The root cause AFAIS is the git
>> repository being removed upon receiving application signup removed event in
>> eventhandler.py [1].
>>
>> [1]. AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
>> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
>> wrote: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:I have committed fix sent by Chamila and it solves this. Then i
>> got an issue in tenant id retrieval due to a typo. I have fixed it as
>> well.Still get the following error, [1] in the undeployment process.
>> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
>> unsubscribed event: [tenant] -1234 [application ID]
>> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
>> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
>> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
>> File
>> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
>> line 407, in remove_repo
>> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
>> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
>> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
>> eventTraceback (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.applicationIdTypeError: cannot concatenate
>> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
>> lahirus@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/The tag to be
>> voted upon:
>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
>> tag (4.1.0-rc2) tree view:
>> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
>> KEYS file containing PGP keys we use to sign the release:
>> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
>> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
>> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
>> +94773325954email: lahirus@wso2.com blog:
>> http://lahiruwrites.blogspot.com/linked-in:
>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
>> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
>> -- --Lahiru SandaruwanCommitter and PMC member, Apache
>> Stratos,Senior Software Engineer,WSO2 Inc.,
>> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
>> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
>> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
>> Regards,Isuru H. +94 716 358 048
>>
>
> Apologies, this might be not the root cause. We need to see why the
> AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
> object.
>
> --
> Thanks and Regards,
>
> Isuru H.
> +94 716 358 048* <http://wso2.com/>*
>
>
>


-- 
*Thanks and Regards,*
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile : +94 (0) 712762611
Tel      : +94 112 145 345
a <th...@wso2.com>nuruddhal@wso2.com

Re: [Discuss] Release Apache Stratos 4.1.0 RC2.

Posted by Isuru Haththotuwa <is...@apache.org>.
On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <is...@apache.org> wrote:

> Hi Lahiru,
>
> Had a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)'
> seems to be not returning the expected git_repo object. Its returning a
> NoneType object, similar to NULL. The root cause AFAIS is the git
> repository being removed upon receiving application signup removed event in
> eventhandler.py [1].
>
> [1]. AgentGitHandler.remove_repo(application_signup_removed_event.tenanId)
> On Mon, Jun 1, 2015 at 12:03 AM, Lahiru Sandaruwan <la...@wso2.com>
> wrote: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:I have committed fix sent by Chamila and it solves this. Then i
> got an issue in tenant id retrieval due to a typo. I have fixed it as
> well.Still get the following error, [1] in the undeployment process.
> Looking into it.Thanks.[1] 2015-05-31 23:51:33,583:INFO:Processing Tenant
> unsubscribed event: [tenant] -1234 [application ID]
> single-cartridge-app2015-05-31 23:51:33,583:ERROR:Error processing
> 'ApplicationSignUpRemovedEvent' eventTraceback (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 355, in on_application_signup_removed_event
> AgentGitHandler.remove_repo(application_signup_removal_event.tenantId)
> File
> "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandler.py",
> line 407, in remove_repo
> git_repo.scheduled_update_task.terminate()AttributeError: 'NoneType' object
> has no attribute 'scheduled_update_task'[2015-05-26 06:44:40,038] ERROR
> {eventsubscriber.py:run} - Error processing 'ApplicationSignUpRemovedEvent'
> eventTraceback (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.applicationIdTypeError: cannot concatenate
> 'str' and 'int' objectsOn Mon, May 25, 2015 at 4:10 PM, Lahiru Sandaruwan <
> lahirus@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/The tag to be
> voted upon:
> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=commit;h=c3122516b83039552606f3baaa55fbcf95511162Git
> tag (4.1.0-rc2) tree view:
> https://git-wip-us.apache.org/repos/asf?p=stratos.git;a=tree;h=d1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=c3122516b83039552606f3baaa55fbcf95511162Stratos
> KEYS file containing PGP keys we use to sign the release:
> https://dist.apache.org/repos/dist/dev/stratos/4.1.0-rc2/KEYSThanks.--
> --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior Software
> Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarephone:
> +94773325954email: lahirus@wso2.com blog:
> http://lahiruwrites.blogspot.com/linked-in:
> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh
> GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Apache Stratos
> -- --Lahiru SandaruwanCommitter and PMC member, Apache
> Stratos,Senior Software Engineer,WSO2 Inc.,
> http://wso2.comlean.enterprise.middlewarephone: +94773325954email:
> lahirus@wso2.com blog: http://lahiruwrites.blogspot.com/linked-in:
> http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146-- Thanks and
> Regards,Isuru H. +94 716 358 048
>

Apologies, this might be not the root cause. We need to see why the
AgentGitHandler.get_repo (tenant_id) call is not returning the correct repo
object.

-- 
Thanks and Regards,

Isuru H.
+94 716 358 048* <http://wso2.com/>*