I have created orbiter service using stack file hosting port 8000. Services with label orbiter=true are registering with orbiter. But when i tried to scale up he service using curl command like
where 'web' is the name of my service , it used to stay calm and no response. After I went through service logs. what i found was log message with msg=GET / nof found.
Here are my orbiter service logs:
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:32Z" level=info msg="orbiter started"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:32Z" level=info msg="API Server run on port :8000"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Registering /handle/autoswarm/hari to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:05:32Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:05:32Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:05Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:05Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:13Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:13Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:17Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:17Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:00Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:00Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:07Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:07Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:08Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:08Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:12Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:12Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:08Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:08Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:48Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:48Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:53Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:53Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:33:20Z" level=info msg="GET / not found."
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Successfully connected to a Docker daemon"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)"
hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Registering /handle/autoswarm/amz to orbiter. (UP 1, DOWN 1, COOL 1)"
I am expecting someone might help me in solving this issue.
Thanks
hari
I have created orbiter service using stack file hosting port 8000. Services with label orbiter=true are registering with orbiter. But when i tried to scale up he service using curl command like
curl -v -d '{"direction": true}' \ http://localhost:8000/v1/orbiter/handle/autoswarm/web/docker
where 'web' is the name of my service , it used to stay calm and no response. After I went through service logs. what i found was log message with msg=GET / nof found.
Here are my orbiter service logs: hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:32Z" level=info msg="orbiter started" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:32Z" level=info msg="API Server run on port :8000" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T08:15:33Z" level=info msg="Registering /handle/autoswarm/hari to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:05:32Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:05:32Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:05Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:05Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:13Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:13Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:17Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:09:17Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:00Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:00Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:07Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:16:07Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:08Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:08Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:12Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:23:12Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:08Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:08Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:48Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:48Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:53Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:25:53Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:33:20Z" level=info msg="GET / not found." hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Successfully connected to a Docker daemon" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Registering /handle/autoswarm/web to orbiter. (UP 1, DOWN 1, COOL 1)" hari_orbiter.1.72cgeu7t7aoh@ubuntuvm-tmp | time="2020-09-02T13:36:11Z" level=info msg="Registering /handle/autoswarm/amz to orbiter. (UP 1, DOWN 1, COOL 1)"
I am expecting someone might help me in solving this issue. Thanks hari