Uploaded image for project: 'BrownDog'
  1. BrownDog
  2. BD-1920

Exception when running clusterstats in local

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • None
    • None
    • Brown Dog - Sprint 8

    Description

      File "/usr/local/lib/python3.6/threading.py", line 916, in _bootstrap_inner
      self.run()
      File "/usr/local/lib/python3.6/threading.py", line 864, in run
      self._target(*self._args, **self._kwargs)
      File "/src/clusterstats/swarm.py", line 482, in _collect_node
      client = docker.DockerClient(base_url=node['url'], version="auto", timeout=self.timeouts['docker'])
      File "/usr/local/lib/python3.6/site-packages/docker/client.py", line 36, in _init_
      self.api = APIClient(*args, **kwargs)
      File "/usr/local/lib/python3.6/site-packages/docker/api/client.py", line 141, in _init_
      self._version = self._retrieve_server_version()
      File "/usr/local/lib/python3.6/site-packages/docker/api/client.py", line 168, in _retrieve_server_version
      'Error while fetching server API version: {0}'.format(e)
      docker.errors.DockerException: Error while fetching server API version: HTTPConnectionPool(host='141.142.60.41', port=2375): Max retries exceeded with url: /version (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fefe7d2fdd8>: Failed to establish a new connection: [Errno 111] Connection refused',))

       

       

       

       

      Gliffy Diagrams

        Attachments

          Activity

            People

              bing Bing Zhang
              bing Bing Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h

                  Tasks