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

Improve the error "metric method ref for mapping rule not found"

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.15.5 GA
    • 3scale Operator
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

      Current behaviour
      When trying to update a method in a Product or Backend CR that is being used by a mapping rule, the following error is shown: 

      For the Backend CR:

      status:
        conditions:
          - lastTransitionTime: '2025-10-10T12:56:59Z'
            message: 'Task failed SyncMappingRules: Error sync backend [backend-name] mappingrules: backend metric method ref for mapping rule not found'
            status: 'True'
            type: Failed
      

      For the Product CR:
       

      status:
        conditions:
          - lastTransitionTime: '2025-10-14T11:12:01Z'
            message: 'Task failed SyncMappingRules: Error sync product [product-name] mappingrules: product metric method ref for mapping rule not found'
            status: 'True'
            type: Failed
      

      The reason is described in this KCS solution: Product/Backend metric method ref for mapping rule not found
      Expected behaviour
      It would be helpful to have a more meaningful description of what is happening. With the current information, if multiple fields are updated it is not possible to know what is wrong.
       

              Unassigned Unassigned
              rhn-support-avilatus Anna Vila Tusell
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: