2021-01-26 13:23:20 UTC - Pavel Kravchenko: Yes, sure. They been working fine 
until the point when i been trying to connect to Openwhisk api host.
I checked and invoker host does have access to the OW API host but when i tried 
to "curl" the OW api host from inside of the docker container running the 
action it failed.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611667400037100?thread_ts=1611496643.032700&cid=C3TPCAQG1
----
2021-01-26 14:03:01 UTC - Dave Grove: so when you are on the invoker host, you 
can successfully curl the OW API host, but from inside a docker container 
running on the invoker host the curl fails?    If that’s the case, I’d suggest 
trying to see what is different in the network configuration on host vs. 
container.  We do optionally try to adjust the dns setup for the action 
container, and maybe something is not working there.  It has been a couple of 
years since we have been routinely testing the DockerContainerFactory on 
Kubernetes.  
<https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/templates/invoker-pod.yaml#L101-#L125>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611669781040700?thread_ts=1611496643.032700&cid=C3TPCAQG1
----
2021-01-26 14:53:40 UTC - Beth: We have existing openwhisk environment that is 
running fine.   I like to make it HA.    Is there a documentation on how to do 
this for an already-installed openwhisk?   Is it just a matter of changing the 
# of replicas for kafka and other components?   Thank you
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611672820043900?thread_ts=1611672820.043900&cid=C3TPCAQG1
----
2021-01-26 14:59:29 UTC - Rodric Rabbah: hi Beth, there isn’t an Apache 
document that describes this in details. If this commercial, I can share some 
details from our white paper.

Roughly, the invokers are already redundant, you can run kafka in a quorum, 
should separate the controller into a CRUD controller and invoke controller, 
and need some logs for couchdb replication.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611673169044000?thread_ts=1611672820.043900&cid=C3TPCAQG1
----
2021-01-26 15:01:26 UTC - Beth: yikes, sounds more complicated than i initially 
thought.  :slightly_smiling_face:   can you please share your white paper?
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611673286044200?thread_ts=1611672820.043900&cid=C3TPCAQG1
----
2021-01-26 21:11:52 UTC - Ben Carver: Might I be able to test things locally 
somehow?

For example, if I run my custom Docker image:
`docker run -it java8action /bin/bash`

And then I try to run the JAR file using the "CMD" from the Docker image, 
nothing happens (or at least, there is no output whatsoever).

`java -Dfile.encoding=UTF-8 -Xms512m -Xmx1024m 
-Xshareclasses:cacheDir=/javaSharedCache,readonly -Xquickstart -jar 
/javaAction/build/libs/javaAction-all.jar`

Is there some way I could test things locally/by running the Docker image? That 
would speed up my ability to debug this issue.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611695512044400?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:55:23 UTC - Rodric Rabbah: yes you can
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705323044600?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:55:52 UTC - Rodric Rabbah: this blog post is a bit dated but the 
info/commands still hold
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705352044800?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:55:53 UTC - Rodric Rabbah: 
<https://medium.com/openwhisk/advanced-debugging-of-openwhisk-actions-518414636932>
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705353045000?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:57:28 UTC - Ben Carver: Will this work for Java actions? The 
article says it is for Python, Swift, and JavaScript.
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705448045400?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:57:31 UTC - Rodric Rabbah: you can use the 
`tools/actionProxy/invoke.py` script in openwhisk repo to pass the JAR into the 
runtime

another way is to run the Java proxy in your ide and load the jar file (post it 
to localhost:8080, you can use invoke.py for that as well)
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705451045600?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:57:42 UTC - Rodric Rabbah: it should yes
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705462045800?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:57:42 UTC - Ben Carver: Okay gotcha
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705462046000?thread_ts=1611506255.034800&cid=C3TPCAQG1
----
2021-01-26 23:57:45 UTC - Ben Carver: Ty
https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1611705465046200?thread_ts=1611506255.034800&cid=C3TPCAQG1
----

Reply via email to