-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.15.3 GA
-
False
-
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
Current Behaviour
When updating the OpenAPI spec in the secret linked to the OpenAPI CR, the operator throws an error when reconciling the product:
{"level":"error","ts":"2025-07-02T11:13:17Z","logger":"controllers.Product","msg":"Failed to reconcile","product":{"name":"testapi-18eeaec0-d874-4e94-bc4c-f10ff7a43bfe","namespace":"3scale"},"error":"Task failed SyncApplicationPlans: Error sync product [test] plans: product [test] delete applicationPlan: error calling 3scale system - reason: {\"errors\":{\"base\":[\"This application plan cannot be deleted! At least one application depends on it.\"]}} - code: 403","stacktrace":
Steps to reproduce
1. Create a secret that contains an OpenAPI spec
2. Create the OpenAPI CR
3. Create an application plan from the 3scale UI
4. Create an application with a user_key from the 3scale UI
5. Make sure that at least apicast-staging has a route created. Otherwise create a route and make a curl request to test that it works.
6. Update the secret that contains the OpenAPI, for example update the mapping rule
Expected behaviour
When updating the OpenAPI spec in the secret, even though the Product has applications and application plans, the new information is updated in the Product. Any update should be feasible to modify the Product through the secret, the same way it is possible when configuring a Product through the 3scale admin portal UI.
- is related to
-
THREESCALE-11100 Support limited updates to OAS-generated Product CRs
-
- To Test For On-Prem
-
- links to