Gayan Gunarathne created STRATOS-1497:
-----------------------------------------

             Summary: Exception in cartridge agent : ValueError: invalid 
literal for int() 
                 Key: STRATOS-1497
                 URL: https://issues.apache.org/jira/browse/STRATOS-1497
             Project: Stratos
          Issue Type: Bug
    Affects Versions: 4.1.1
            Reporter: Gayan Gunarathne
            Assignee: Gayan Gunarathne
             Fix For: 4.1.2


This is occurred when there is two or more values for ports in the cartridge 
payload agent.

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"



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to