salt icon indicating copy to clipboard operation
salt copied to clipboard

dockerng failed with dockerpy installed

Open nghenglim opened this issue 10 years ago • 1 comments

Description of Issue/Question

dockerng failed with dockerpy installed

Setup

masterless setup

pip list

backports.ssl-match-hostname (3.5.0.1)
chardet (2.3.0)
croniter (0.3.8)
cryptography (1.2.3)
defer (1.0.6)
docker-py (1.8.1)
enum34 (1.1.2)
gitdb (0.6.4)
GitPython (1.0.1)
idna (2.0)
ipaddress (1.0.16)
Jinja2 (2.8)
Mako (1.0.3)
MarkupSafe (0.23)
msgpack-python (0.4.6)
ndg-httpsclient (0.4.0)
pip (8.1.2)
psutil (3.4.2)
pyasn1 (0.1.9)
pycrypto (2.6.1)
pycurl (7.43.0)
pygobject (3.20.0)
PyMySQL (0.7.2)
pyOpenSSL (0.15.1)
pysqlite (2.7.0)
python-apt (1.1.0b1)
python-dateutil (2.4.2)
python-debian (0.1.27)
python-systemd (231)
pytz (2014.10)
pywatchman (1.3.0)
pyxdg (0.25)
PyYAML (3.11)
pyzmq (15.2.0)
requests (2.10.0)
salt (2016.3.0)
setuptools (20.7.0)
six (1.10.0)
smmap (0.9.0)
tornado (4.2.1)
urllib3 (1.13.1)
websocket-client (0.37.0)
wheel (0.29.0)
Docker version 1.11.1, build 5604cbe

sls file

postgres:9.5:
  dockerng.image_present

Steps to Reproduce Issue

install saltstack as http://repo.saltstack.com/#ubuntu

sudo salt-call --local state.highstate

(Include debug logs if possible and relevant.)

----------
          ID: postgres:9.5
    Function: dockerng.image_present
      Result: False
     Comment: State 'dockerng.image_present' was not found in SLS 'dockerng-postgres'
              Reason: 'dockerng' __virtual__ returned False: 'dockerng' __virtual__ returned False: Exception raised when processing __virtual__ function for dockerng. Module will not be loaded Error while fetching server API version: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
     Started: 
    Duration: 
     Changes:   
----------

Versions Report

(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)

Salt Version:
           Salt: 2016.3.0

Dependency Versions:
           cffi: Not Installed
       cherrypy: Not Installed
       dateutil: 2.4.2
          gitdb: 0.6.4
      gitpython: 1.0.1
          ioflo: Not Installed
         Jinja2: 2.8
        libgit2: Not Installed
        libnacl: Not Installed
       M2Crypto: Not Installed
           Mako: 1.0.3
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
   mysql-python: Not Installed
      pycparser: Not Installed
       pycrypto: 2.6.1
         pygit2: Not Installed
         Python: 2.7.11+ (default, Apr 17 2016, 14:00:29)
   python-gnupg: Not Installed
         PyYAML: 3.11
          PyZMQ: 15.2.0
           RAET: Not Installed
          smmap: 0.9.0
        timelib: Not Installed
        Tornado: 4.2.1
            ZMQ: 4.1.4

System Versions:
           dist: Ubuntu 16.04 xenial
        machine: x86_64
        release: 4.6.0-040600-generic
         system: Linux
        version: Ubuntu 16.04 xenial

nghenglim avatar Jun 05 '16 09:06 nghenglim

seems like problem with docker, referring to the issue https://github.com/docker/docker/issues/17061

sudo docker daemon -D -s vfs

this solved the issue

nghenglim avatar Jun 05 '16 09:06 nghenglim