[why] current container will only bind to special ip (172.17.0.1 and the configured TASKQUEUE_HOST at default configure file). some servier default visit 172.17.0.1, but some visit (at crystal) 172.168.131.113 as default.
[how] 1. add TASKQUEUE_HOST to system default configure file (/etc/compass-ci/defaults/*.yaml) 2. add TASKQUEUE_HOST to taskqueue container start file.
Signed-off-by: Tong Qunfeng taxcom@tom.com --- container/taskqueue/start | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/taskqueue/start b/container/taskqueue/start index bdd5e7c..45a8b03 100755 --- a/container/taskqueue/start +++ b/container/taskqueue/start @@ -8,6 +8,7 @@ require_relative '../defconfig.rb'
names = Set.new %w[ TASKQUEUE_PORT + TASKQUEUE_HOST REDIS_HOST REDIS_PORT ]
ignore this.
On Tue, Oct 27, 2020 at 06:29:55PM +0800, Tong Qunfeng wrote:
[why] current container will only bind to special ip (172.17.0.1 and the configured TASKQUEUE_HOST at default configure file). some servier default visit 172.17.0.1, but some visit (at crystal) 172.168.131.113 as default.
[how]
- add TASKQUEUE_HOST to system default configure file
(/etc/compass-ci/defaults/*.yaml) 2. add TASKQUEUE_HOST to taskqueue container start file.
Signed-off-by: Tong Qunfeng taxcom@tom.com
container/taskqueue/start | 1 + 1 file changed, 1 insertion(+)
diff --git a/container/taskqueue/start b/container/taskqueue/start index bdd5e7c..45a8b03 100755 --- a/container/taskqueue/start +++ b/container/taskqueue/start @@ -8,6 +8,7 @@ require_relative '../defconfig.rb'
names = Set.new %w[ TASKQUEUE_PORT
- TASKQUEUE_HOST REDIS_HOST REDIS_PORT
]
2.23.0