You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/19 08:34:57 UTC

[GitHub] [apisix-ingress-controller] lgy1027 opened a new issue #641: bug: ApisixIngress synced failed

lgy1027 opened a new issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641


   The apisixstream that created grpc reported an error as follows. What is the reason?
   ![image](https://user-images.githubusercontent.com/38779388/130036222-c2c32609-d69a-4c66-8965-43903f49602a.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-901844418


   @lgy1027 Could you paste the definition of this resource?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] lgy1027 commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
lgy1027 commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-902386069


   > please paste the plain text instead of image
   
   apisixrouter:
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixRoute
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v2alpha1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v2alpha1
       fieldsType: FieldsV1
       fieldsV1:
         f:spec:
           f:http: {}
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17416599"
     selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixroutes/test-apisix-lgy-grpc
     uid: fb6eda46-327a-40fc-80b7-7f37fa8d002e
   spec:
     http:
     - authentication:
         enable: true
         keyauth: {}
         type: keyAuth
       backends:
       - serviceName: test-apisix-lgy-grpc
         servicePort: 8501
         weight: 100
       match:
         hosts:
         - test-apisix-lgy-testinference.bitahub.com
         paths:
         - /*
       name: test-apisix-lgy-grpc
       plugins:
       - config:
           whitelist:
           - huan_testconsumerapisixconsumerlgy
         enable: true
         name: consumer-restriction
       websocket: false
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:48:09Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   apisixUpstream
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixUpstream
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec:
           .: {}
           f:portLevelSettings: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17417069"
     selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixupstreams/test-apisix-lgy-grpc
     uid: f8ad3d42-ea39-4443-8866-7500b79692a8
   spec:
     portLevelSettings:
     - port: 8501
       scheme: grpc
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:49:14Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   apisixTls:
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixTls
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec:
           .: {}
           f:hosts: {}
           f:secret:
             .: {}
             f:name: {}
             f:namespace: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17416594"
     selfLink: /apis/apisix.apache.org/v1/namespaces/huan/apisixtlses/test-apisix-lgy-grpc
     uid: 21e2604a-55a1-41c8-8fc2-a59b90cabbef
   spec:
     hosts:
     - test-apisix-lgy-testinference.bitahub.com
     secret:
       name: test-apisix-lgy-grpc-tls
       namespace: huan
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:48:09Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   I am using V2alpha1 to create apisixrouter, why does the resource display v1


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-903651192


   > svc:test-apisix-lgy-grpc exist,
   
   It's not related to whether it exists, you should also checkout the endpoints of it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] lgy1027 commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
lgy1027 commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-903384393


   > What's the version of your APISIX?
   > 
   > The reason is that the apisix-ingress-controller doesn't set the `node` field in APISIX Upstream and the data violates the APISIX Upstream schema.
   > 
   > But this was fixed in the apisix-ingress-controller lastest master branch, you should tell us the environment information you're using so we can reduce the time cost for the query, it's a big win.
   > 
   > Also, check whether there are no endpoints instances for the backend service `test-apisix-lgy-grpc`.
   
   svc:test-apisix-lgy-grpc exist,
   
   apisix installed by helm:CHART:apisix-0.3.5
   Application version: 2.7.0
   
   go.mod:github.com/apache/apisix-ingress-controller v1.2.0


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
tokers edited a comment on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-903043844


   What's the version of your APISIX?
   
   The reason is that the apisix-ingress-controller doesn't set the `node` field in APISIX Upstream and the data violates the APISIX Upstream schema.
   
   But this was fixed in the apisix-ingress-controller lastest master branch, you should tell us the environment information you're using so we can reduce the time cost for the query, it's a big win.
   
   Also, check whether there are no endpoints instances for the backend service `test-apisix-lgy-grpc`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] lgy1027 closed issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
lgy1027 closed issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-903043844


   What's the version of your APISIX?
   
   The reason is that the apisix-ingress-controller doesn't set the `node` field in APISIX Upstream and the data violates the APISIX Upstream schema.
   
   But this was fixed in the apisix-ingress-controller lastest master branch, you should tell us the environment information you're using so we can reduce the time cost for the query, it's a big win.
   
   Also, check whether there is no endpoint instances for the backend service `test-apisix-lgy-grpc`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] lgy1027 commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
lgy1027 commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-902371425


   > @lgy1027 Could you paste the definition of this resource?
   
   apisixRouter:
   ![image](https://user-images.githubusercontent.com/38779388/130166875-c8d3f52a-1053-46c4-8292-63999581a471.png)
   apisixTls:
   ![image](https://user-images.githubusercontent.com/38779388/130166853-c1acd168-843f-4a27-9ddb-9ed7c8003a23.png)
   apisixUpstream:
   ![image](https://user-images.githubusercontent.com/38779388/130166829-89546c2a-d90f-4105-b83d-b54f221d754e.png)
   
   kubectl describe au -n huan test-apisix-lgy-grpc:
   ![image](https://user-images.githubusercontent.com/38779388/130167068-5a3f7aee-2b4d-48a6-9efc-46da35fbb728.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #641: bug: ApisixIngress synced failed

Posted by GitBox <gi...@apache.org>.
tao12345666333 commented on issue #641:
URL: https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-902376136


   please paste the plain text instead of image


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org