Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-1152

Backend components fail when CONFIG_REDIS_SENTINEL_HOSTS values have only host, without a port

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • None
    • 2.2 GA
    • Backend

      When CONFIG_REDIS_SENTINEL_HOSTS and CONFIG_QUEUES_SENTINEL_HOSTS value include only the host of the sentinel hosts (e.g. host1,host2,host3), *backend-cron* and *backend-worker* give the error message:

      TypeError: can't convert nil into Integer".

      *backend-listener* doesn't fail on start, but that's because it doesn't make any calls to Redis until it starts serving traffic.

      The request is to fall back to the default sentinel port: 26379 if the port is not specified explicitly.

      The documentation though should recommend to always specify the port – to be inlcuded in THREESCALE-1000(https://issues.jboss.org/browse/THREESCALE-1000).

            msorianod Miguel Soriano
            rhn-support-dmayorov Daria Mayorova
            Petr Hála Petr Hála
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: