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

When a metric is deleted staging/production requests fail

    XMLWordPrintable

Details

    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • +
    • Undefined
    • Hide
      • Create a Service with a metric (metric_1) and a mapping rule (/mapping_rule_1) associated with it
      • Promote the configuration to staging and production then deploy it
      • Update the mapping rule associating it to a different metric then delete the metric metric_1
      • Do not promote the configuration to staging
      • The request to staging and production start returning 403
      • authrep.xml returns 404 "metric_invalid"
      • Promote configuration to staging
      • Requests to production still receive a 403
      • Requests to staging receive a 200
      Show
      Create a Service with a metric (metric_1) and a mapping rule (/mapping_rule_1) associated with it Promote the configuration to staging and production then deploy it Update the mapping rule associating it to a different metric then delete the metric metric_1 Do not promote the configuration to staging The request to staging and production start returning 403 authrep.xml returns 404 "metric_invalid" Promote configuration to staging Requests to production still receive a 403 Requests to staging receive a 200

    Description

      When a metric is deleted, the change is updated to the backend before the proxy configuration is promoted to staging, thus implying the failure of the services in production.
      If a user wants to modify metrics and test the changes in staging before hitting the production environment, it is not possible due to this behavior.

      Big picture: They were moving a rule from Product to backend . The current workaround is to promote the changes to production immediately.

      Dev Notes
      Please read all the comments before jumping in.

      Attachments

        Activity

          People

            Unassigned Unassigned
            rhn-support-cpalmier Carlo Palmieri (Inactive)
            Jakub Urban Jakub Urban
            Daria Mayorova Daria Mayorova
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: