Return-Path: X-Original-To: apmail-stratos-dev-archive@minotaur.apache.org Delivered-To: apmail-stratos-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CE0B818D8D for ; Fri, 5 Jun 2015 18:53:33 +0000 (UTC) Received: (qmail 17569 invoked by uid 500); 5 Jun 2015 18:53:28 -0000 Delivered-To: apmail-stratos-dev-archive@stratos.apache.org Received: (qmail 17521 invoked by uid 500); 5 Jun 2015 18:53:28 -0000 Mailing-List: contact dev-help@stratos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stratos.apache.org Delivered-To: mailing list dev@stratos.apache.org Received: (qmail 17511 invoked by uid 99); 5 Jun 2015 18:53:28 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Jun 2015 18:53:28 +0000 Received: from mail-yh0-f45.google.com (mail-yh0-f45.google.com [209.85.213.45]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 307231A049A for ; Fri, 5 Jun 2015 18:53:28 +0000 (UTC) Received: by yhid80 with SMTP id d80so13162637yhi.1 for ; Fri, 05 Jun 2015 11:53:27 -0700 (PDT) X-Received: by 10.170.223.131 with SMTP id p125mr4904164ykf.47.1433530407341; Fri, 05 Jun 2015 11:53:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.13.232.68 with HTTP; Fri, 5 Jun 2015 11:53:06 -0700 (PDT) In-Reply-To: References: From: Imesh Gunaratne Date: Sat, 6 Jun 2015 00:23:06 +0530 Message-ID: Subject: Re: [Discuss] Release Apache Stratos 4.1.0 RC2. To: dev Content-Type: multipart/alternative; boundary=001a113a442cb456f00517c9ce2a --001a113a442cb456f00517c9ce2a Content-Type: text/plain; charset=UTF-8 Hi Anuruddha, On Mon, Jun 1, 2015 at 7:00 PM, Anuruddha Liyanarachchi 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 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 wrote: > >> I found the following issue in >> ConfigParserUtil.convert_properties_to_dictionary >> >> Traceback (most recent call last): >> File "configurator.py", line 159, in >> 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 "", 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': } >>>> >>>> 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 >>>>> wrote: >>>>> >>>>>> >>>>>> >>>>>> On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa >>>>>> 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 >>>>>>> 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* * >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> *Thanks and Regards,* >>>>> Anuruddha Lanka Liyanarachchi >>>>> Software Engineer - WSO2 >>>>> Mobile : +94 (0) 712762611 >>>>> Tel : +94 112 145 345 >>>>> a nuruddhal@wso2.com >>>>> >>>> >>>> >>>> >>>> -- >>>> *Thanks and Regards,* >>>> Anuruddha Lanka Liyanarachchi >>>> Software Engineer - WSO2 >>>> Mobile : +94 (0) 712762611 >>>> Tel : +94 112 145 345 >>>> a nuruddhal@wso2.com >>>> >>> >>> >>> >>> -- >>> *Thanks and Regards,* >>> Anuruddha Lanka Liyanarachchi >>> Software Engineer - WSO2 >>> Mobile : +94 (0) 712762611 >>> Tel : +94 112 145 345 >>> a 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 nuruddhal@wso2.com > -- Imesh Gunaratne Senior Technical Lead, WSO2 Committer & PMC Member, Apache Stratos --001a113a442cb456f00517c9ce2a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi Anuruddha,

On Mon, Jun 1, 2015= at 7:00 PM, Anuruddha Liyanarachchi=C2=A0<anuruddhal@wso2.com>=C2=A0wrote:
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=3D=
"10.0.0.1:4000,10.0.0.1:5000&qu=
ot;
As I can remember in t= his scenario there was no issue with the input format. Can you please expla= in the reason for using=C2=A0ast.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.
Th= e value should be in following format with double quotes.

CONFIG_PARAM_WKA_MEM=
BERS=3D"10.0.0.1:4000,10.0=
.0.1:5000"

On Mon, Jun 1, 2015 at 6:50 PM, Imes= h Gunaratne <imesh@apache.org> wrote:
I found the following issue in ConfigParse= rUtil.convert_properties_to_dictionary

Trace= back (most recent call last):
File "configurator.py&q= uot;, line 159, in <module>
configure()
File &quo= t;configurator.py", line 151, in configure
context =3D gener= ate_context(config_file_path)
File "configurator.py", l= ine 110, in generate_context
context['CONFIG_PARAM_WKA_MEMBER= S'])
File "/opt/wso2configurator-4.1.0/configparserutil.= py", line 42, in convert_properties_to_dictionary
properties= =3D ast.literal_eval(variable).split(",")
File "/= usr/lib/python2.7/ast.py", line 49, in literal_eval
node_or_= string =3D parse(node_or_string, mode=3D'eval')
File &quo= t;/usr/lib/python2.7/ast.py", line 37, in parse
return compi= le(source, filename, mode, PyCF_ONLY_AST)
File "<unknown&= gt;", line 1
^
SyntaxError: invalid syntax

What was the reason for using ast.literal_eval(variable) he= re?

On Mon, Jun 1, 2015 at 1:57 PM, Anuruddha Liyanarachchi <anuru= ddhal@wso2.com> wrote:
Hi Devs,

Now I am getting following error.<= /div>

2015-06-01 18:03:17,287:DEBUG:Run= ning checkout job
Exception in thread Thread-38:
Traceback (mos= t recent call last):
=C2=A0 File "/usr/lib/python2.7/threadi= ng.py", line 551, in __bootstrap_inner
=C2=A0 =C2=A0 self.run()
= =C2=A0 File "/usr/lib/python2.7/threading.py", line 504, in run=C2=A0 =C2=A0 self.__target(*self.__args, **self.__kwargs)
=C2=A0 File= "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/ar= tifactmgt/git/agentgithandler.py", line 456, in execute_task
=C2=A0= =C2=A0 AgentGitHandler.checkout(self.repo_info)
=C2=A0 File "/mnt/= apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/gi= t/agentgithandler.py", line 61, in checkout
=C2=A0 =C2=A0 if AgentG= itHandler.is_valid_git_repository(git_repo):
=C2=A0 File "/mnt/apac= he-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/ag= entgithandler.py", line 139, in is_valid_git_repository
=C2=A0 =C2= =A0 output, errors =3D AgentGitHandler.execute_git_command(["show-ref&= quot;], git_repo.local_repo_path)
=C2=A0 File "/mnt/apache-stratos-= python-cartridge-agent-4.1.0-SNAPSHOT/modules/artifactmgt/git/agentgithandl= er.py", line 433, in execute_git_command
=C2=A0 =C2=A0 p =3D subpro= cess.Popen(command, stdout=3Dsubprocess.PIPE, stderr=3Dsubprocess.PIPE, env= =3Dos_env, cwd=3Drepo_path)
=C2=A0 File "/usr/lib/python2.7/subproc= ess.py", line 679, in __init__
=C2=A0 =C2=A0 errread, errwrite)
= =C2=A0 File "/usr/lib/python2.7/subprocess.py", line 1249, in _ex= ecute_child
=C2=A0 =C2=A0 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 h= ave identified root cause for the error [1]. This is because tenant_id is s= tored as an unicode string in dictionary and the passed tenant id is an int= eger.=C2=A0

{u'-1234=
': <modules.artifactmgt.git.agentgithandler.GitRepository instance at 0x1cb=
eb00>}
I have fixed the issue now in the PR [2]. Please review and merge.
=

=C2=A0[= 1]=C2=A0
2015-05-= 31 23:51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent&#= 39; event
Traceback (most recent call last):
=C2=A0 File "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSH= OT/modules/subscriber/eventsubscriber.py", line 103, in run
=C2=A0 = =C2=A0 handler(event_msg)
=C2=A0 File "agent.py", line 294, in= on_application_signup_removed
=C2=A0 =C2=A0 self.__event_handler.on_app= lication_signup_removed_event(event_obj)
=C2=A0 File "/mnt/apache-s= tratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/event/eventhandler.py&= quot;, line 355, in on_application_signup_removed_event
=C2=A0 =C2=A0 Ag= entGitHandler.remove_repo(application_signup_removal_event.tenantId)
=C2= =A0 File "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/mo= dules/artifactmgt/git/agentgithandler.py", line 407, in remove_repo=C2=A0 =C2=A0 git_repo.scheduled_update_task.terminate()
AttributeError= : 'NoneType' object has no attribute 'scheduled_update_task'= ;


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

I am working = on the PCA=C2=A0error, in the = undeployment process.

=
On Mon, Jun 1, 2015 at 9:20 AM, Isuru Haththotuw= a <isuruh@apache.org> wrote:


On Mon, Jun 1, 2015 at 9:12 AM, Isuru Haththotuwa <i= suruh@apache.org> wrote:
Hi Lahiru,

Ha= d a look. Here, the method call 'AgentGitHandler.get_repo(tenant_id)= 9; 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 repositor= y being removed upon receiving application signup removed event in eventhan= dler.py [1].

[1]. AgentGitHandler.remove_repo(applicati= on_signup_removed_event.tenanId)
On Mon, Jun 1, 2015 at 12:03 AM, Lahiru= Sandaruwan <lahir= us@wso2.com> wrote:On Tue, May 26, 2015 at 2:08 PM, Imesh Gunaratne = <imesh@apache.org<= /a>> wrote:I did an end to end test with Kubernetes, single-cartridge ap= plication and found the below error in PCA when un-deploying the applicatio= n:I have committed fix sent by Chamila and it solves this.=C2=A0Then i got = an issue in tenant id retrieval due to a typo. I have fixed it as well.Stil= l get the following error, [1] in the undeployment process. Looking into it= .Thanks.[1]=C2=A02015-05-31 23:51:33,583:INFO:Processing Tenant unsubscribe= d event: [tenant] -1234 [application ID] single-cartridge-app2015-05-31 23:= 51:33,583:ERROR:Error processing 'ApplicationSignUpRemovedEvent' ev= entTraceback (most recent call last):=C2=A0 File "/mnt/apache-stratos-= python-cartridge-agent-4.1.0-SNAPSHOT/modules/subscriber/eventsubscriber.py= ", line 103, in run=C2=A0 =C2=A0 handler(event_msg)=C2=A0 File "a= gent.py", line 294, in on_application_signup_removed=C2=A0 =C2=A0 self= .__event_handler.on_application_signup_removed_event(event_obj)=C2=A0 File = "/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/eve= nt/eventhandler.py", line 355, in on_application_signup_removed_event= =C2=A0 =C2=A0 AgentGitHandler.remove_repo(application_signup_removal_event.= tenantId)=C2=A0 File "/mnt/apache-stratos-python-cartridge-agent-4.1.0= -SNAPSHOT/modules/artifactmgt/git/agentgithandler.py", line 407, in re= move_repo=C2=A0 =C2=A0 git_repo.scheduled_update_task.terminate()AttributeE= rror: 'NoneType' object has no attribute 'scheduled_update_task= '[2015-05-26 06:44:40,038] ERROR {eventsubscriber.py:run} - Error proce= ssing 'ApplicationSignUpRemovedEvent' eventTraceback (most recent c= all last):=C2=A0 File "/mnt/apache-stratos-python-cartridge-agent-4.1.= 0-SNAPSHOT/modules/subscriber/eventsubscriber.py", line 103, in run=C2= =A0 =C2=A0 handler(event_msg)=C2=A0 File "agent.py", line 294, in= on_application_signup_removed=C2=A0 =C2=A0 self.__event_handler.on_applica= tion_signup_removed_event(event_obj)=C2=A0 File "/mnt/apache-stratos-p= ython-cartridge-agent-4.1.0-SNAPSHOT/modules/event/eventhandler.py", l= ine 351, in on_application_signup_removed_event=C2=A0 =C2=A0 " [applic= ation 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= =C2=A0discussion=C2=A0of the second=C2=A0release=C2=A0candidate of=C2=A0Apa= che=C2=A0Stratos=C2=A04.1.0. Please use this thread for=C2=A0discussion=C2= =A0of issues uncovered in the RC, questions you may have about the RC, etc.= RC=C2=A0release=C2=A0packs:https://dist.apache.org/repos/di= st/dev/stratos/4.1.0-rc2/The tag to be voted upon:https://git-wip-us.apache.= org/repos/asf?p=3Dstratos.git;a=3Dcommit;h=3Dc3122516b83039552606f3baaa55fb= cf95511162Git tag (4.1.0-rc2) tree view:=C2=A0https://git-wip-us.apache.org/repos/asf?p=3Dstratos.git;a= =3Dtree;h=3Dd1c97b1b68a04b1b7f8811034e096f0c7a95e0e4;hb=3Dc3122516b83039552= 606f3baaa55fbcf95511162Stratos KEYS file containing PGP keys we use to = sign the release:https://dist.apache.org/repos/di= st/dev/stratos/4.1.0-rc2/KEYSThanks.-- --Lahiru SandaruwanCommitter and= PMC member, Apache Stratos,Senior=C2=A0Software Engineer,WSO2 Inc., http= ://wso2.comlean.enterprise.middlewarephone: +94773325954email: lahirus@wso2.com=C2=A0bl= og: http://lahiruwrites.blogspot.com/linked-in: http://lk.link= edin.com/pub/lahiru-sandaruwan/16/153/146 -- Imesh GunaratneSenior Technical Lead, WSO2Committer & PMC Member, Ap= ache Stratos -- --Lahiru SandaruwanCommitter and PMC member, Apache Stratos,Senior=C2=A0= Software Engineer,WSO2 Inc., http://wso2.comlean.enterprise.middlewarepho= ne: +94773325954email: lahirus@wso2.com=C2=A0blog: http://lahiruwrites.blogspot.com/linked= -in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/1= 46-- Thanks and Regards,Isuru H. +94 716 358 048
=
=
=
=
=
=
=

Apologi= es, this might be not the root cause. We need to see why the AgentGitHandle= r.get_repo (tenant_id) call is not returning the correct repo object.=

--
Thank= s and Regards,

Isuru H.



<= font color=3D"#888888">--
Thanks and Rega= rds,
Anuruddha Lan= ka Liyanarachchi
Software Engineer - WSO2
Mobile :=C2=A0+94 (0) 712762611<= /div>
Tel =C2=A0 =C2=A0 =C2=A0:=C2=A0+94 112 1= 45 345



--
Thanks and Regards,
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile :=C2=A0+94 (0) 712762611
Tel =C2=A0 =C2=A0 =C2=A0:=C2=A0+94 112 145 345



--
=
Thanks and Regards,
Anuruddha Lanka Liyanarachchi
Software Engineer= - WSO2
Mobile :=C2=A0+94 (0) 712762611
Tel =C2=A0 =C2=A0 =C2= =A0:=C2=A0+94 112 145 345



<= /div>--
Imesh Gunaratne

Senio= r Technical Lead, WSO2
Committer & PMC Member, Apache Stratos



--
Thanks and Regards,
Anuruddha Lanka Liyanarachchi
Software Engineer - WSO2
Mobile :=C2=A0+94 (0) 712762611
Tel =C2=A0 =C2=A0 =C2=A0:=C2=A0+94 112 145 345



--
=
Imesh= Gunaratne

Senior Technical Lead, WSO2=
Committer & PMC Member, Apache Stratos
--001a113a442cb456f00517c9ce2a--