Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-1063

duplicated port allocation when slider.allowed.ports is set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.81
    • Slider 0.91
    • None
    • None

    Description

      duplicated port is allocated when i start a storm-slider-app that site.global.slider.allowed.ports is set to "6700-9999"

      here is a SUPERVISOR container slider-agent.log

      NFO 2016-01-15 18:06:12,176 CustomServiceOrchestrator.py:493 - Allowed port values: [6915, 8173, 9375, 7797, 7224]
      WARNING 2016-01-15 18:06:12,176 CustomServiceOrchestrator.py:494 - Invalid port range values: set([])
      INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:318 - Assigning port 0 for ${NIMBUS.ALLOCATED_PORT}
      INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:318 - Assigning port 0 for ${STORM_UI_SERVER.ALLOCATED_PORT}
      INFO 2016-01-15 18:06:12,177 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
      INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
      INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
      INFO 2016-01-15 18:06:12,178 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
      INFO 2016-01-15 18:06:12,179 CustomServiceOrchestrator.py:444 - Allocated dynamic port: 7224
      INFO 2016-01-15 18:06:12,179 CustomServiceOrchestrator.py:414 - Allocated port 7224 for ${SUPERVISOR.ALLOCATED_PORT}{PER_CONTAINER}
      

      Attachments

        1. SLIDER-1063_develop.patch
          4 kB
          kyungwan nam
        2. SLIDER-1063.002_develop.patch
          4 kB
          kyungwan nam

        Issue Links

          Activity

            People

              kyungwan nam kyungwan nam
              kyungwan nam kyungwan nam
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: