swarmpit / agent

Swarmpit docker agent
16 stars 13 forks source link

client version is too new #2

Closed johnjelinek closed 6 years ago

johnjelinek commented 6 years ago

The collector is in a reboot loop.

$ docker version
Client:
 Version:   17.12.0-ce
 API version:   1.35
 Go version:    go1.9.2
 Git commit:    c97c6d6
 Built: Wed Dec 27 20:10:14 2017
 OS/Arch:   linux/amd64

Server:
 Engine:
  Version:  17.12.0-ce
  API version:  1.35 (minimum version 1.12)
  Go version:   go1.9.2
  Git commit:   c97c6d6
  Built:    Wed Dec 27 20:12:46 2017
  OS/Arch:  linux/amd64
  Experimental: false
swarmpit_event-collector.0.h6673zkgu7y0@dfw-dev-swm-w-1    | 2018/02/12 16:07:06 INFO: Waiting for Swarmpit...
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:06 INFO: Swarmpit event collector starting...
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:06 INFO: EVENT_ENDPOINT: http://app:8080/events
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:06 INFO: HEALTH_CHECK_ENDPOINT: http://app:8080/version
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:06 INFO: Waiting for Swarmpit...
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:06 INFO: Swarmpit event collector starting...
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:06 INFO: EVENT_ENDPOINT: http://app:8080/events
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:06 INFO: HEALTH_CHECK_ENDPOINT: http://app:8080/version
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:06 INFO: Waiting for Swarmpit...
swarmpit_event-collector.0.f4pvin159be4@dfw-dev-swm-w-2    | 2018/02/12 16:07:07 INFO: Swarmpit event collector starting...
swarmpit_event-collector.0.f4pvin159be4@dfw-dev-swm-w-2    | 2018/02/12 16:07:07 INFO: EVENT_ENDPOINT: http://app:8080/events
swarmpit_event-collector.0.f4pvin159be4@dfw-dev-swm-w-2    | 2018/02/12 16:07:07 INFO: HEALTH_CHECK_ENDPOINT: http://app:8080/version
swarmpit_event-collector.0.f4pvin159be4@dfw-dev-swm-w-2    | 2018/02/12 16:07:07 INFO: Waiting for Swarmpit...
swarmpit_event-collector.0.fgagscfwjpno@dfw-dev-swm-m-1    | 2018/02/12 16:07:09 INFO: Swarmpit OK
swarmpit_event-collector.0.fgagscfwjpno@dfw-dev-swm-m-1    | 2018/02/12 16:07:09 ERROR: Event channel error: Error response from daemon: client version 1.36 is too new. Maximum supported API version is 1.35
swarmpit_event-collector.0.h6673zkgu7y0@dfw-dev-swm-w-1    | 2018/02/12 16:07:11 INFO: Swarmpit OK
swarmpit_event-collector.0.h6673zkgu7y0@dfw-dev-swm-w-1    | 2018/02/12 16:07:11 ERROR: Event channel error: Error response from daemon: client version 1.36 is too new. Maximum supported API version is 1.35
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:11 INFO: Swarmpit OK
swarmpit_event-collector.0.ntu22r0endlq@dfw-dev-swm-w-3    | 2018/02/12 16:07:11 ERROR: Event channel error: Error response from daemon: client version 1.36 is too new. Maximum supported API version is 1.35
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:11 INFO: Swarmpit OK
swarmpit_event-collector.0.5yr31ttt3pg9@dfw-dev-swm-m-3    | 2018/02/12 16:07:11 ERROR: Event channel error: Error response from daemon: client version 1.36 is too new. Maximum supported API version is 1.35
nohaapav commented 6 years ago

@johnjelinek Hi John, there has been issue opened directly in swarmpit project regarding that:

https://github.com/swarmpit/swarmpit/issues/199

We set explicit version of docker api that should fix the problem.