Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-1497

Exception in cartridge agent : ValueError: invalid literal for int()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.1.1
    • 4.1.2
    • None
    • None

    Description

      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"

      Attachments

        Activity

          People

            gayangk Gayan Gunarathne
            gayangk Gayan Gunarathne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: