Hi Punnadi,

Looks like the fix I did for this issue has been removed in the following
commit:
https://github.com/apache/stratos/commit/c0455c9ac666484b24ccd948c44742e0d18e9d4f#diff-a50b759b3c52867f8df7fae4ed433faa

@Gayan: Was this removed accidentally when we were merging the LVS load
balancer modification?

Thanks

On Wed, Aug 12, 2015 at 6:59 PM, Punnadi Gunarathna <[email protected]>
wrote:

> Hi,
>
> I get below exception in CA log. I have noticed that this has been fixed
> in Stratos 4.1.0 RC2 [1]. In latest codebase [2] I can see the fix is not
> available (Check line no 267).
> Exception in thread Thread-1:
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
>     self.run()
>   File "agent.py", line 100, in run
>     publisher.publish_instance_activated_event(Config.health_stat_plugin)
>   File "/opt/apache-stratos-python-cartridge-agent-4.1.1/publisher.py",
> line 80, in publish_instance_activated_event
>     int(Config.read_property("port.check.timeout", critical=False)))
>   File
> "/opt/apache-stratos-python-cartridge-agent-4.1.1/modules/util/cartridgeagentutils.py",
> line 80, in wait_until_ports_active
>     active = check_ports_active(ip_address, ports)
>   File
> "/opt/apache-stratos-python-cartridge-agent-4.1.1/modules/util/cartridgeagentutils.py",
> line 109, in check_ports_active
>     s.connect((ip_address, int(port)))
> ValueError: invalid literal for int() with base 10: "'9763"
>
>
> [1]
> https://github.com/apache/stratos/commit/819f96e57c998841a9a687c3c728d145e9f9e6ee
> [2]
> https://github.com/apache/stratos/blame/master/components/org.apache.stratos.python.cartridge.agent/src/main/python/cartridge.agent/cartridge.agent/config.py
>
>
> Please advice.
>
> --
> Thanks and Regards,
>
> Punnadi Gunarathna
> Senior Software Engineer,
> WSO2, Inc.; http://wso2.com <http://wso2>
> Blog: http://hi-my-world.blogspot.com/
> Tel : 94 11 214 5345
> Fax :94 11 2145300
>
>
>
> <http://lalajisureshika.blogspot.com/>
>



-- 
*Imesh Gunaratne*
Senior Technical Lead
WSO2 Inc: http://wso2.com
T: +94 11 214 5345 M: +94 77 374 2057
W: http://imesh.gunaratne.org
Lean . Enterprise . Middleware
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to