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

APIcast cannot retrieve latest version of proxy config

XMLWordPrintable

    • False
    • None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • Workaround Exists
    • Hide

      For On-premise the user should be able to point to the master tenant instead of a provider.

      For SaaS it will be required to disable the feature via APICAST_LOAD_SERVICES_WHEN_NEEDED

      Show
      For On-premise the user should be able to point to the master tenant instead of a provider. For SaaS it will be required to disable the feature via APICAST_LOAD_SERVICES_WHEN_NEEDED
    • Hide

      Pending to add detailed steps to reproduce

      Basic steps are:

      • Configure a service with a unique Public Base URL
      • Push and promote >500 changes so that there at least 501 versions of the configuration
      • Introduce a new change (new mapping rule) on any version of the configuration after v500
      • Conifgure APIcast with env vars: APICAST_LOAD_SERVICES_WHEN_NEEDED=true, APICAST_CONFIGURATION_LOADER=lazy
      • Make a request with the new mapping rule and observe the 404 no mapping rule matched
      Show
      Pending to add detailed steps to reproduce Basic steps are: Configure a service with a unique Public Base URL Push and promote >500 changes so that there at least 501 versions of the configuration Introduce a new change (new mapping rule) on any version of the configuration after v500 Conifgure APIcast with env vars: APICAST_LOAD_SERVICES_WHEN_NEEDED=true , APICAST_CONFIGURATION_LOADER=lazy Make a request with the new mapping rule and observe the 404 no mapping rule matched

      Expected behaviour

      When enabling APIcast with APICAST_LOAD_SERVICES_WHEN_NEEDED the gateway should be able to retrieve the latest version of the proxy config for the service matching the request's host.

      Current behaviour

      When enabling APIcast with APICAST_LOAD_SERVICES_WHEN_NEEDED the gateway fails to retrieve the latest version of a proxy config when there are more than 500 versions of that configuration.

      This is a regression introduced by THREESCALE-6448

      See this comment

              Unassigned Unassigned
              rhn-support-keprice Kevin Price
              Jakub Urban Jakub Urban (Inactive)
              Kevin Price Kevin Price
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: