Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIM 4.3.0 locally DP runs K8s Rancher and mixing up subscription information #2376

Closed
dushansachinda opened this issue May 17, 2024 · 1 comment · Fixed by wso2/product-apim-tooling#1176
Assignees
Labels
Milestone

Comments

@dushansachinda
Copy link

Tharindu already aware of this issue. We worked on troubleshooting and creating this ticket per his request

Rancher 1.11.0

  1. Run CP separately locally, update apk agent respectively to connect local CP
  2. API publishing and subscription events seems update at DP layer successfully
  3. However, the when execute try-out, API invocation failing
  4. We had troubleshooting at APK level and following information has discovered

dushan:apk-agent dushan$ kubectl get applicationmappings -n apk -o yaml
apiVersion: v1
items:

  • apiVersion: cp.wso2.com/v1alpha2
    kind: ApplicationMapping
    metadata:
    creationTimestamp: "2024-05-17T04:39:35Z"
    generation: 1
    name: cbdfe466-d970-4c4b-9392-da7296252d08
    namespace: apk
    resourceVersion: "13534"
    uid: e332ea0d-5304-4206-9998-2709db013f5c
    spec:
    applicationRef: PetStore
    subscriptionRef: 1.0.0

we did update application ref and subscription ref manually so it worked!! We think this is a bug

dushan:apk-agent dushan$ kubectl edit applicationmappings -n apk -o yaml
apiVersion: cp.wso2.com/v1alpha2
kind: ApplicationMapping
metadata:
creationTimestamp: "2024-05-17T04:39:35Z"
generation: 2
name: cbdfe466-d970-4c4b-9392-da7296252d08
namespace: apk
resourceVersion: "13791"
uid: e332ea0d-5304-4206-9998-2709db013f5c
spec:
applicationRef: aa915026-ea56-4c5d-b5de-4310a94061de
subscriptionRef: cbdfe466-d970-4c4b-9392-da7296252d08

@CrowleyRajapakse
Copy link
Contributor

Hi,

We have started looking into this issue will provide an update on the fix.

Thanks,
Sampath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done/Done
3 participants