Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-03-04 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1977853582

   > @QWQyyy First, IIRC, the timeout of the Kubernetes client in the above log 
is related to the pod creation. It's not related to the execution of an 
activation. The action timeout controls the execution timeout against the 
pod(container).
   > 
   > 
https://github.com/apache/openwhisk/blob/5529cc49d31f135dfdac4f2a2072ca46bfd754de/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerProxy.scala#L834
   > 
   > I think you need to ensure you can invoke your action successfully with 
the `wsk action invoke` command. If you can successfully invoke your action 
without the API gateway, then the culprit is the API gateway. If your action is 
invoked well but it is changed to the asynchronous(get 202 response) at some 
point, it's related to the controller configuration. If you can't even invoke 
your activation in the asynchronous mode as well, you may not configure the 
action timeout properly.
   
   It is true that I can successfully access my functions using wsk, but it is 
only limited to functions within 60 seconds. For functions that take longer to 
execute, the wsk client also returns an Oops--504 error, but I found through 
the resource manager htop that the function code is still During execution, 
after the function is executed, you can see from `wsk activation` that the 
function ends correctly. This confuses me.


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-03-04 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1976595625

   > @QWQyyy First, IIRC, the timeout of the Kubernetes client in the above log 
is related to the pod creation. It's not related to the execution of an 
activation. The action timeout controls the execution timeout against the 
pod(container).
   > 
   > 
https://github.com/apache/openwhisk/blob/5529cc49d31f135dfdac4f2a2072ca46bfd754de/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerProxy.scala#L834
   > 
   > I think you need to ensure you can invoke your action successfully with 
the `wsk action invoke` command. If you can successfully invoke your action 
without the API gateway, then the culprit is the API gateway. If your action is 
invoked well but it is changed to the asynchronous(get 202 response) at some 
point, it's related to the controller configuration. If you can't even invoke 
your activation in the asynchronous mode as well, you may not configure the 
action timeout properly.
   
   Okay let's try 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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-03-02 Thread via GitHub


style95 commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1975057329

   @QWQyyy 
   First, IIRC, the timeout of the Kubernetes client in the above log is 
related to the pod creation.
   It's not related to the execution of an activation.
   The action timeout controls the execution timeout against the pod(container).
   
https://github.com/apache/openwhisk/blob/5529cc49d31f135dfdac4f2a2072ca46bfd754de/core/invoker/src/main/scala/org/apache/openwhisk/core/containerpool/ContainerProxy.scala#L834
   
   I think you need to ensure you can invoke your action successfully with the 
`wsk action invoke` command.
   If you can successfully invoke your action without the API gateway, then the 
culprit is the API gateway.
   If your action is invoked well but it is changed to the asynchronous(get 202 
response) at some point, it's related to the controller configuration. If you 
can't even invoke your activation in the asynchronous mode as well, you may not 
configure the action timeout properly.
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971459663

   I am currently studying the source code of openwhisk in depth, and I hope to 
make some solid changes.


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971458602

   
![image](https://github.com/apache/openwhisk/assets/54056797/4829c996-bbf3-489a-a46a-dc69bf992a58)
   At the same time, how should I correctly configure the execution time limit? 
What I wrote in value.yaml is 500 minutes, but when I use wsk to set the upper 
limit of execution time of 500 minutes, the invoker log prints 600s?


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971426488

   It seems that I should also pay attention to apigateway:
   
![image](https://github.com/apache/openwhisk/assets/54056797/a22ff1e6-d020-4f5c-b57c-6f2053ae2d73)
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971422798

   
![image](https://github.com/apache/openwhisk/assets/54056797/72d47ac1-0da6-432c-8270-6bb6e5a31497)
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971401734

   wsk does work, but only the information recorded by the activation can be 
viewed. We prefer to complete our services directly through the gateway HTTP 
request.


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1971399754

   > You are supposed to be able to invoke the action with `wsk`. I think 
that's the starting point to look into.
   
   I'm sure that my gateway can correctly ensure that the end-to-end response 
is greater than 60 seconds. I have also explicitly configured the controller. I 
can't seem to find any more places where I need to configure the timeout. Can 
you give me some suggestions?


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-29 Thread via GitHub


style95 commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1970623418

   You are supposed to be able to invoke the action with `wsk`.
   I think that's the starting point to look into.
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-28 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1970536490

   > It seems you are using the API gateway, could you check again without the 
API gateway first?
   
   
![image](https://github.com/apache/openwhisk/assets/54056797/73303415-5630-46e0-9a83-77c7c0c2041a)
   


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-28 Thread via GitHub


style95 commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1970432772

   It seems you are using the API gateway, could you check again without the 
API gateway first?


-- 
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: issues-unsubscr...@openwhisk.apache.org

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



Re: [I] How to correctly modify OpenWhisk’s gateway blocking limit from source code (currently 60s) [openwhisk]

2024-02-28 Thread via GitHub


QWQyyy commented on issue #5467:
URL: https://github.com/apache/openwhisk/issues/5467#issuecomment-1970417662

   @style95 Could you please give me some guidance?


-- 
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: issues-unsubscr...@openwhisk.apache.org

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