GitHub user chamilad opened a pull request:
https://github.com/apache/stratos/pull/195
Cartridge Agent - Fixed missing env_params variable in member activated
event on defaultextensionhandler
Fixes the following error on Cartridge Agent when executing
MemberActivatedEvent extension, by passing an empty dictionary as the
environment parameters
[2015-01-29 08:16:23,395] ERROR {agent.py:on_member_activated} - Error
processing member activated event
Traceback (most recent call last):
File "agent.py", line 228, in on_member_activated
CartridgeAgent.extension_handler.on_member_activated_event(event_obj)
File
"/mnt/apache-stratos-python-cartridge-agent-4.1.0-SNAPSHOT/modules/extensions/defaultextensionhandler.py",
line 143, in on_member_activated_event
extensionutils.execute_member_activated_extension(env_params)
NameError: global name 'env_params' is not defined
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/chamilad/stratos missing-var-fix
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/stratos/pull/195.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #195
----
commit 8ddf87bf9d982612dd5cdcd03a453153642674b6
Author: Chamila de Alwis <[email protected]>
Date: 2015-01-29T08:47:13Z
Cartridge Agent - Fixed missing env_params variable in member activated
event on defaultextensionhandler
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---