Last active
August 29, 2015 14:06
-
-
Save akafred/b420d0bbb53cb21af39f to your computer and use it in GitHub Desktop.
"State docker.pulled found in sls dockerpy-salt-issue is unavailable" - if docker-py installed in same run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Salt: 2014.1.10 | |
Python: 2.7.6 (default, Mar 22 2014, 22:59:56) | |
Jinja2: 2.7.2 | |
M2Crypto: 0.21.1 | |
msgpack-python: 0.3.0 | |
msgpack-pure: Not Installed | |
pycrypto: 2.6.1 | |
PyYAML: 3.10 | |
PyZMQ: 14.0.1 | |
ZMQ: 4.0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo salt-call --local state.sls dockerpy-salt-issue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker.io: | |
pkg.installed | |
docker-py: | |
pkg.installed: | |
- name: python-pip | |
pip.installed: | |
- require: | |
- pkg: python-pip | |
mysql: | |
docker.pulled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local: | |
---------- | |
ID: docker.io | |
Function: pkg.installed | |
Result: True | |
Comment: The following packages were installed/updated: docker.io. | |
Changes: | |
---------- | |
aufs-tools: | |
... | |
python-pip: | |
---------- | |
new: | |
1.5.4-1 | |
old: | |
python-setuptools: | |
---------- | |
new: | |
3.3-1ubuntu1 | |
old: | |
---------- | |
ID: docker-py | |
Function: pip.installed | |
Result: True | |
Comment: Package was successfully installed | |
Changes: | |
---------- | |
docker-py==0.5.0: | |
Installed | |
---------- | |
ID: mysql | |
Function: docker.pulled | |
Result: False | |
Comment: State docker.pulled found in sls dockerpy-salt-issue is unavailable | |
Changes: | |
Summary | |
------------ | |
Succeeded: 3 | |
Failed: 1 | |
------------ | |
Total: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local: | |
---------- | |
ID: docker.io | |
Function: pkg.installed | |
Result: True | |
Comment: Package docker.io is already installed | |
Changes: | |
---------- | |
ID: docker-py | |
Function: pkg.installed | |
Name: python-pip | |
Result: True | |
Comment: Package python-pip is already installed | |
Changes: | |
---------- | |
ID: docker-py | |
Function: pip.installed | |
Result: True | |
Comment: Python package docker-py already installed | |
Changes: | |
---------- | |
ID: mysql | |
Function: docker.pulled | |
Result: True | |
Comment: Image mysql was pulled (a950533b3019d8f6dfdcb8fdc42ef810b930356619b3e4786d4f2acec514238d) | |
Changes: | |
---------- | |
mysql: | |
---------- | |
new: | |
a950533b3019d8f6dfdcb8fdc42ef810b930356619b3e4786d4f2acec514238d | |
old: | |
None | |
Summary | |
------------ | |
Succeeded: 4 | |
Failed: 0 | |
------------ | |
Total: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO ] Loading fresh modules for state activity | |
local: | |
Data failed to compile: | |
---------- | |
The state "mysql" in sls dockerpy-salt-issue is not formed as a list | |
vagrant@ls-ext:~$ sudo salt-call --local state.sls dockerpy-salt-issue | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Running state [docker.io] at time 12:44:58.928756 | |
[INFO ] Executing state pkg.installed for docker.io | |
[INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/home/vagrant' | |
[INFO ] Executing command 'grep-available -F Provides -s Package,Provides -e "^.+$"' in directory '/home/vagrant' | |
[INFO ] Executing command 'apt-get -q update' in directory '/home/vagrant' | |
[INFO ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'docker.io'] in directory '/home/vagrant' | |
[INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/home/vagrant' | |
[INFO ] Installed Packages: | |
cgroup-lite changed from absent to 1.9 | |
aufs-tools changed from absent to 1:3.2+20130722-1.1 | |
docker.io changed from absent to 1.0.1~dfsg1-0ubuntu1~ubuntu0.14.04.1 | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Completed state [docker.io] at time 12:45:23.407890 | |
[INFO ] Running state [python-pip] at time 12:45:23.411784 | |
[INFO ] Executing state pkg.installed for python-pip | |
[INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/home/vagrant' | |
[INFO ] Executing command 'grep-available -F Provides -s Package,Provides -e "^.+$"' in directory '/home/vagrant' | |
[INFO ] Executing command ['apt-get', '-q', '-y', '-o', 'DPkg::Options::=--force-confold', '-o', 'DPkg::Options::=--force-confdef', 'install', 'python-pip'] in directory '/home/vagrant' | |
[INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/home/vagrant' | |
[INFO ] Installed Packages: | |
build-essential changed from absent to 11.6ubuntu6 | |
libalgorithm-diff-xs-perl changed from absent to 0.04-2build4 | |
python-setuptools changed from absent to 3.3-1ubuntu1 | |
libdpkg-perl changed from absent to 1.17.5ubuntu5.3 | |
python-pip changed from absent to 1.5.4-1 | |
python-colorama changed from absent to 0.2.5-0.1ubuntu1 | |
libstdc++-4.8-dev changed from absent to 4.8.2-19ubuntu1 | |
libfile-fcntllock-perl changed from absent to 0.14-2build1 | |
g++ changed from absent to 4:4.8.2-1ubuntu6 | |
g++-4.8 changed from absent to 4.8.2-19ubuntu1 | |
python-distlib changed from absent to 0.1.8-1 | |
dpkg-dev changed from absent to 1.17.5ubuntu5.3 | |
libalgorithm-diff-perl changed from absent to 1.19.02-3 | |
python-html5lib changed from absent to 0.999-2 | |
libalgorithm-merge-perl changed from absent to 0.08-2 | |
[INFO ] Loading fresh modules for state activity | |
[INFO ] Completed state [python-pip] at time 12:45:28.871232 | |
[INFO ] Running state [docker-py] at time 12:45:28.871830 | |
[INFO ] Executing state pip.installed for docker-py | |
[INFO ] Executing command '/usr/bin/pip2 freeze' in directory '/home/vagrant' | |
[INFO ] stdout: Cheetah==2.4.4 | |
Jinja2==2.7.2 | |
Landscape-Client==14.01 | |
M2Crypto==0.21.1 | |
Mako==0.9.1 | |
MarkupSafe==0.18 | |
PAM==0.4.2 | |
PyYAML==3.10 | |
SecretStorage==2.0.0 | |
Twisted-Core==13.2.0 | |
Twisted-Names==13.2.0 | |
Twisted-Web==13.2.0 | |
apt-xapian-index==0.45 | |
argparse==1.2.1 | |
chardet==2.0.1 | |
cloud-init==0.7.5 | |
colorama==0.2.5 | |
configobj==4.7.2 | |
html5lib==0.999 | |
httplib2==0.8 | |
jsonpatch==1.3 | |
jsonpointer==1.0 | |
keyring==3.5 | |
launchpadlib==1.10.2 | |
lazr.restfulclient==0.13.3 | |
lazr.uri==1.0.3 | |
msgpack-python==0.3.0 | |
oauth==1.0.1 | |
prettytable==0.7.2 | |
pyOpenSSL==0.13 | |
pycrypto==2.6.1 | |
pycurl==7.19.3 | |
pygobject==3.12.0 | |
pyserial==2.6 | |
python-apt==0.9.3.5 | |
python-debian==0.1.21-nmu2ubuntu2 | |
pyzmq==14.0.1 | |
requests==2.2.1 | |
salt==2014.1.0 | |
simplejson==3.3.1 | |
six==1.5.2 | |
ssh-import-id==3.21 | |
urllib3==1.7.1 | |
wadllib==1.3.2 | |
wsgiref==0.1.2 | |
zope.interface==4.0.5 | |
[INFO ] Executing command "/usr/bin/pip2 install 'docker-py'" in directory '/home/vagrant' | |
[INFO ] stdout: Downloading/unpacking docker-py | |
Downloading docker-py-0.5.0.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/docker-py/setup.py) egg_info for package docker-py | |
Requirement already satisfied (use --upgrade to upgrade): requests>=2.2.1 in /usr/lib/python2.7/dist-packages (from docker-py) | |
Requirement already satisfied (use --upgrade to upgrade): six>=1.3.0 in /usr/lib/python2.7/dist-packages (from docker-py) | |
Downloading/unpacking websocket-client>=0.11.0 (from docker-py) | |
Running setup.py (path:/tmp/pip_build_root/websocket-client/setup.py) egg_info for package websocket-client | |
Downloading/unpacking backports.ssl-match-hostname (from websocket-client>=0.11.0->docker-py) | |
Downloading backports.ssl_match_hostname-3.4.0.2.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/backports.ssl-match-hostname/setup.py) egg_info for package backports.ssl-match-hostname | |
Installing collected packages: docker-py, websocket-client, backports.ssl-match-hostname | |
Running setup.py install for docker-py | |
Running setup.py install for websocket-client | |
changing mode of build/scripts-2.7/wsdump.py from 644 to 755 | |
changing mode of /usr/local/bin/wsdump.py to 755 | |
Running setup.py install for backports.ssl-match-hostname | |
Successfully installed docker-py websocket-client backports.ssl-match-hostname | |
Cleaning up... | |
[INFO ] Executing command '/usr/bin/pip2 freeze' in directory '/home/vagrant' | |
[INFO ] stdout: Cheetah==2.4.4 | |
Jinja2==2.7.2 | |
Landscape-Client==14.01 | |
M2Crypto==0.21.1 | |
Mako==0.9.1 | |
MarkupSafe==0.18 | |
PAM==0.4.2 | |
PyYAML==3.10 | |
SecretStorage==2.0.0 | |
Twisted-Core==13.2.0 | |
Twisted-Names==13.2.0 | |
Twisted-Web==13.2.0 | |
apt-xapian-index==0.45 | |
argparse==1.2.1 | |
backports.ssl-match-hostname==3.4.0.2 | |
chardet==2.0.1 | |
cloud-init==0.7.5 | |
colorama==0.2.5 | |
configobj==4.7.2 | |
docker-py==0.5.0 | |
html5lib==0.999 | |
httplib2==0.8 | |
jsonpatch==1.3 | |
jsonpointer==1.0 | |
keyring==3.5 | |
launchpadlib==1.10.2 | |
lazr.restfulclient==0.13.3 | |
lazr.uri==1.0.3 | |
msgpack-python==0.3.0 | |
oauth==1.0.1 | |
prettytable==0.7.2 | |
pyOpenSSL==0.13 | |
pycrypto==2.6.1 | |
pycurl==7.19.3 | |
pygobject==3.12.0 | |
pyserial==2.6 | |
python-apt==0.9.3.5 | |
python-debian==0.1.21-nmu2ubuntu2 | |
pyzmq==14.0.1 | |
requests==2.2.1 | |
salt==2014.1.0 | |
simplejson==3.3.1 | |
six==1.5.2 | |
ssh-import-id==3.21 | |
urllib3==1.7.1 | |
wadllib==1.3.2 | |
websocket-client==0.18.0 | |
wsgiref==0.1.2 | |
zope.interface==4.0.5 | |
[INFO ] {'docker-py==0.5.0': 'Installed'} | |
[INFO ] Completed state [docker-py] at time 12:45:37.329741 | |
[INFO ] Running state [mysql] at time 12:45:37.330484 | |
[ERROR ] State docker.pulled found in sls dockerpy-salt-issue is unavailable | |
local: | |
---------- | |
ID: docker.io | |
Function: pkg.installed | |
Result: True | |
Comment: The following packages were installed/updated: docker.io. | |
Changes: | |
---------- | |
aufs-tools: | |
---------- | |
new: | |
1:3.2+20130722-1.1 | |
old: | |
cgroup-lite: | |
---------- | |
new: | |
1.9 | |
old: | |
docker.io: | |
---------- | |
new: | |
1.0.1~dfsg1-0ubuntu1~ubuntu0.14.04.1 | |
old: | |
---------- | |
ID: docker-py | |
Function: pkg.installed | |
Name: python-pip | |
Result: True | |
Comment: The following packages were installed/updated: python-pip. | |
Changes: | |
---------- | |
build-essential: | |
---------- | |
new: | |
11.6ubuntu6 | |
old: | |
dpkg-dev: | |
---------- | |
new: | |
1.17.5ubuntu5.3 | |
old: | |
g++: | |
---------- | |
new: | |
4:4.8.2-1ubuntu6 | |
old: | |
g++-4.8: | |
---------- | |
new: | |
4.8.2-19ubuntu1 | |
old: | |
libalgorithm-diff-perl: | |
---------- | |
new: | |
1.19.02-3 | |
old: | |
libalgorithm-diff-xs-perl: | |
---------- | |
new: | |
0.04-2build4 | |
old: | |
libalgorithm-merge-perl: | |
---------- | |
new: | |
0.08-2 | |
old: | |
libdpkg-perl: | |
---------- | |
new: | |
1.17.5ubuntu5.3 | |
old: | |
libfile-fcntllock-perl: | |
---------- | |
new: | |
0.14-2build1 | |
old: | |
libstdc++-4.8-dev: | |
---------- | |
new: | |
4.8.2-19ubuntu1 | |
old: | |
python-colorama: | |
---------- | |
new: | |
0.2.5-0.1ubuntu1 | |
old: | |
python-distlib: | |
---------- | |
new: | |
0.1.8-1 | |
old: | |
python-html5lib: | |
---------- | |
new: | |
0.999-2 | |
old: | |
python-pip: | |
---------- | |
new: | |
1.5.4-1 | |
old: | |
python-setuptools: | |
---------- | |
new: | |
3.3-1ubuntu1 | |
old: | |
---------- | |
ID: docker-py | |
Function: pip.installed | |
Result: True | |
Comment: Package was successfully installed | |
Changes: | |
---------- | |
docker-py==0.5.0: | |
Installed | |
---------- | |
ID: mysql | |
Function: docker.pulled | |
Result: False | |
Comment: State docker.pulled found in sls dockerpy-salt-issue is unavailable | |
Changes: | |
Summary | |
------------ | |
Succeeded: 3 | |
Failed: 1 | |
------------ | |
Total: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[INFO ] Loading fresh modules for state activity | |
[INFO ] Running state [docker.io] at time 12:53:34.475270 | |
[INFO ] Executing state pkg.installed for docker.io | |
[INFO ] Executing command "dpkg-query --showformat='${Status} ${Package} ${Version} ${Architecture}\n' -W" in directory '/home/vagrant' | |
[INFO ] Executing command 'grep-available -F Provides -s Package,Provides -e "^.+$"' in directory '/home/vagrant' | |
[INFO ] Package docker.io is already installed | |
[INFO ] Completed state [docker.io] at time 12:53:34.513096 | |
[INFO ] Running state [python-pip] at time 12:53:34.513547 | |
[INFO ] Executing state pkg.installed for python-pip | |
[INFO ] Package python-pip is already installed | |
[INFO ] Completed state [python-pip] at time 12:53:34.515075 | |
[INFO ] Running state [docker-py] at time 12:53:34.515677 | |
[INFO ] Executing state pip.installed for docker-py | |
[INFO ] Executing command '/usr/bin/pip2 freeze' in directory '/home/vagrant' | |
[INFO ] stdout: Cheetah==2.4.4 | |
Jinja2==2.7.2 | |
Landscape-Client==14.01 | |
M2Crypto==0.21.1 | |
Mako==0.9.1 | |
MarkupSafe==0.18 | |
PAM==0.4.2 | |
PyYAML==3.10 | |
SecretStorage==2.0.0 | |
Twisted-Core==13.2.0 | |
Twisted-Names==13.2.0 | |
Twisted-Web==13.2.0 | |
apt-xapian-index==0.45 | |
argparse==1.2.1 | |
backports.ssl-match-hostname==3.4.0.2 | |
chardet==2.0.1 | |
cloud-init==0.7.5 | |
colorama==0.2.5 | |
configobj==4.7.2 | |
docker-py==0.5.0 | |
html5lib==0.999 | |
httplib2==0.8 | |
jsonpatch==1.3 | |
jsonpointer==1.0 | |
keyring==3.5 | |
launchpadlib==1.10.2 | |
lazr.restfulclient==0.13.3 | |
lazr.uri==1.0.3 | |
msgpack-python==0.3.0 | |
oauth==1.0.1 | |
prettytable==0.7.2 | |
pyOpenSSL==0.13 | |
pycrypto==2.6.1 | |
pycurl==7.19.3 | |
pygobject==3.12.0 | |
pyserial==2.6 | |
python-apt==0.9.3.5 | |
python-debian==0.1.21-nmu2ubuntu2 | |
pyzmq==14.0.1 | |
requests==2.2.1 | |
salt==2014.1.0 | |
simplejson==3.3.1 | |
six==1.5.2 | |
ssh-import-id==3.21 | |
urllib3==1.7.1 | |
wadllib==1.3.2 | |
websocket-client==0.18.0 | |
wsgiref==0.1.2 | |
zope.interface==4.0.5 | |
[INFO ] Python package docker-py already installed | |
[INFO ] Completed state [docker-py] at time 12:53:34.652377 | |
[INFO ] Running state [mysql] at time 12:53:34.652751 | |
[INFO ] Executing state docker.pulled for mysql | |
[INFO ] Installed Packages: | |
mysql changed from absent to a950533b3019d8f6dfdcb8fdc42ef810b930356619b3e4786d4f2acec514238d | |
[INFO ] Completed state [mysql] at time 13:11:15.843926 | |
local: | |
---------- | |
ID: docker.io | |
Function: pkg.installed | |
Result: True | |
Comment: Package docker.io is already installed | |
Changes: | |
---------- | |
ID: docker-py | |
Function: pkg.installed | |
Name: python-pip | |
Result: True | |
Comment: Package python-pip is already installed | |
Changes: | |
---------- | |
ID: docker-py | |
Function: pip.installed | |
Result: True | |
Comment: Python package docker-py already installed | |
Changes: | |
---------- | |
ID: mysql | |
Function: docker.pulled | |
Result: True | |
Comment: Image mysql was pulled (a950533b3019d8f6dfdcb8fdc42ef810b930356619b3e4786d4f2acec514238d) | |
Changes: | |
---------- | |
mysql: | |
---------- | |
new: | |
a950533b3019d8f6dfdcb8fdc42ef810b930356619b3e4786d4f2acec514238d | |
old: | |
None | |
Summary | |
------------ | |
Succeeded: 4 | |
Failed: 0 | |
------------ | |
Total: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment