jinlang226 commented on issue #5341:
URL: https://github.com/apache/openwhisk/issues/5341#issuecomment-1288433889
I removed all containers and went through all ansible setup processes, then
I can create the action.
Then, I restart the machine again, I cannot create the action...
But, all container is still here:
```
jinlang@node0:~$ docker ps
CONTAINER ID IMAGE COMMAND
CREATED STATUS PORTS
NAMES
dba52727de9d openwhisk/action-nodejs-v14:nightly "docker-entrypoint.s…"
4 minutes ago Up 4 minutes 8080/tcp
wsk00_1_prewarm_nodejs14
8833f910983a openwhisk/action-nodejs-v14:nightly "docker-entrypoint.s…"
4 minutes ago Up 4 minutes 8080/tcp
wsk00_2_prewarm_nodejs14
cb72edfea73f openwhisk/apigateway:nightly "/usr/bin/dumb-init …"
14 minutes ago Up 5 minutes 80/tcp, 8423/tcp, 0.0.0.0:9000->9000/tcp,
0.0.0.0:9001->8080/tcp apigateway
760fbea0a925 redis:4.0 "docker-entrypoint.s…"
15 minutes ago Up 5 minutes 0.0.0.0:6379->6379/tcp
redis
c7d50ddd6f79 nginx:1.21.1 "/docker-entrypoint.…"
16 minutes ago Up 5 minutes 0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp
nginx
3b3d32d34a84 whisk/invoker:latest "/bin/sh -c 'exec /i…"
16 minutes ago Up 5 minutes 0.0.0.0:17000->17000/tcp,
0.0.0.0:18000->18000/tcp, 0.0.0.0:12001->8080/tcp
invoker0
7723f0c88291 whisk/controller:latest "/bin/sh -c 'exec /i…"
25 minutes ago Up 5 minutes 0.0.0.0:15000->15000/tcp,
0.0.0.0:16000->16000/tcp, 0.0.0.0:8000->2551/tcp, 0.0.0.0:10001->8080/tcp
controller0
e2a346f0c3e9 wurstmeister/kafka:2.13-2.7.0 "start-kafka.sh"
25 minutes ago Up 4 minutes 0.0.0.0:9072->9072/tcp, 0.0.0.0:9093->9093/tcp
kafka0
a799380f4f4d zookeeper:3.4 "/docker-entrypoint.…"
26 minutes ago Up 5 minutes 0.0.0.0:2181->2181/tcp,
0.0.0.0:2888->2888/tcp, 0.0.0.0:3888->3888/tcp
```
@node0:~$ docker restart $(docker ps -q)
dba52727de9d
8833f910983a
cb72edfea73f
760fbea0a925
c7d50ddd6f79
3b3d32d34a84
7723f0c88291
e2a346f0c3e9
a799380f4f4d
@node0:~$ wsk -i action create hello /users/jinlang/openwhisk/hello.js
error: Unable to create action 'hello': The connection failed, or timed out.
(HTTP status code 502)
Run 'wsk --help' for usage.
Is there an easy way to create an action after restarting the machine?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]