weixin_39797686
weixin_39797686
2020-12-26 05:20

Bootstrap fails on Ubuntu 12.04

Here is the output when debugging is enabled:


vagrant-precise64:~$ wget -O - http://bootstrap.saltstack.org | sudo sh -s -- -D
--2014-02-11 12:35:37--  http://bootstrap.saltstack.org/
Resolving bootstrap.saltstack.org (bootstrap.saltstack.org)... 74.208.29.198
Connecting to bootstrap.saltstack.org (bootstrap.saltstack.org)|74.208.29.198|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://raw.github.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh [following]
--2014-02-11 12:35:37--  https://raw.github.com/saltstack/salt-bootstrap/stable/bootstrap-salt.sh
Resolving raw.github.com (raw.github.com)... 185.31.16.133
Connecting to raw.github.com (raw.github.com)|185.31.16.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 122465 (120K) [text/plain]
Saving to: `STDOUT'

 0% [                                                                                                                                                                    ] 0           --.-K/s               *  INFO: PIPED THROUGH sh -- Version 1.5.11

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   3.2.0-58-virtual
 *  INFO:   Distribution: Ubuntu 12.04

 *  INFO: Installing minion
100%[===============================================================================================>] 122.465     --.-K/s   in 0,1s    

2014-02-11 12:35:38 (1,11 MB/s) - written to stdout [122465/122465]

 * DEBUG: install_ubuntu_12_stable_deps not found....
 * DEBUG: install_ubuntu_12_04_stable_deps not found....
 * DEBUG: install_ubuntu_12_deps not found....
 * DEBUG: install_ubuntu_12_04_deps not found....
 * DEBUG: install_ubuntu_stable_deps not found....
 *  INFO: Found function install_ubuntu_deps
 * DEBUG: DEPS_INSTALL_FUNC=install_ubuntu_deps
 * DEBUG: CONFIG_SALT_FUNC=null
 * DEBUG: PRESEED_MASTER_FUNC=null
 * DEBUG: install_ubuntu_12_stable not found....
 * DEBUG: install_ubuntu_12_04_stable not found....
 *  INFO: Found function install_ubuntu_stable
 * DEBUG: INSTALL_FUNC=install_ubuntu_stable
 * DEBUG: install_ubuntu_12_stable_post not found....
 * DEBUG: install_ubuntu_12_04_stable_post not found....
 * DEBUG: install_ubuntu_12_post not found....
 * DEBUG: install_ubuntu_12_04_post not found....
 * DEBUG: install_ubuntu_stable_post not found....
 * DEBUG: install_ubuntu_post not found....
 * DEBUG: POST_INSTALL_FUNC=null
 * DEBUG: install_ubuntu_12_stable_restart_daemons not found....
 * DEBUG: install_ubuntu_12_04_stable_restart_daemons not found....
 * DEBUG: install_ubuntu_12_restart_daemons not found....
 * DEBUG: install_ubuntu_12_04_restart_daemons not found....
 * DEBUG: install_ubuntu_stable_restart_daemons not found....
 *  INFO: Found function install_ubuntu_restart_daemons
 * DEBUG: STARTDAEMONS_INSTALL_FUNC=install_ubuntu_restart_daemons
 * DEBUG: daemons_running_ubuntu_12_stable not found....
 * DEBUG: daemons_running_ubuntu_12_04_stable not found....
 * DEBUG: daemons_running_ubuntu_12 not found....
 * DEBUG: daemons_running_ubuntu_12_04 not found....
 * DEBUG: daemons_running_ubuntu_stable not found....
 * DEBUG: daemons_running_ubuntu not found....
 *  INFO: Found function daemons_running
 * DEBUG: DAEMONS_RUNNING_FUNC=daemons_running
 *  INFO: Running install_ubuntu_deps()
Hit http://dk.archive.ubuntu.com precise Release.gpg
Get:1 http://dk.archive.ubuntu.com precise-updates Release.gpg [198 B]
Hit http://dk.archive.ubuntu.com precise-backports Release.gpg
Hit http://dk.archive.ubuntu.com precise Release
Get:2 http://dk.archive.ubuntu.com precise-updates Release [49,6 kB]
Hit http://dk.archive.ubuntu.com precise-backports Release
Hit http://dk.archive.ubuntu.com precise/main Sources
Hit http://dk.archive.ubuntu.com precise/restricted Sources
Hit http://dk.archive.ubuntu.com precise/universe Sources
Hit http://dk.archive.ubuntu.com precise/multiverse Sources
Hit http://dk.archive.ubuntu.com precise/main amd64 Packages
Hit http://dk.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com precise/universe amd64 Packages
Hit http://dk.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com precise/main i386 Packages
Hit http://dk.archive.ubuntu.com precise/restricted i386 Packages
Hit http://dk.archive.ubuntu.com precise/universe i386 Packages
Hit http://dk.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com precise/main TranslationIndex
Hit http://dk.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com precise/universe TranslationIndex
Get:3 http://dk.archive.ubuntu.com precise-updates/main Sources [451 kB]
Get:4 http://dk.archive.ubuntu.com precise-updates/restricted Sources [8.028 B]
Get:5 http://dk.archive.ubuntu.com precise-updates/universe Sources [104 kB]
Get:6 http://dk.archive.ubuntu.com precise-updates/multiverse Sources [8.482 B]
Get:7 http://dk.archive.ubuntu.com precise-updates/main amd64 Packages [747 kB]
Get:8 http://dk.archive.ubuntu.com precise-updates/restricted amd64 Packages [12,2 kB]
Get:9 http://dk.archive.ubuntu.com precise-updates/universe amd64 Packages [235 kB]
Get:10 http://dk.archive.ubuntu.com precise-updates/multiverse amd64 Packages [14,5 kB]
Get:11 http://dk.archive.ubuntu.com precise-updates/main i386 Packages [770 kB]
Get:12 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:13 http://dk.archive.ubuntu.com precise-updates/restricted i386 Packages [12,2 kB]
Get:14 http://dk.archive.ubuntu.com precise-updates/universe i386 Packages [240 kB]
Get:15 http://dk.archive.ubuntu.com precise-updates/multiverse i386 Packages [14,7 kB]
Get:16 http://dk.archive.ubuntu.com precise-updates/main TranslationIndex [3.564 B]
Get:17 http://dk.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2.605 B]
Get:18 http://dk.archive.ubuntu.com precise-updates/restricted TranslationIndex [2.461 B]
Get:19 http://dk.archive.ubuntu.com precise-updates/universe TranslationIndex [2.850 B]
Hit http://dk.archive.ubuntu.com precise-backports/main Sources
Hit http://dk.archive.ubuntu.com precise-backports/restricted Sources
Hit http://dk.archive.ubuntu.com precise-backports/universe Sources
Hit http://dk.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://dk.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://dk.archive.ubuntu.com precise/main Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/main Translation-en
Hit http://dk.archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/universe Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/main Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/main Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/universe Translation-en
Get:20 http://security.ubuntu.com precise-security Release [49,6 kB]
Get:21 http://security.ubuntu.com precise-security/main Sources [97,6 kB]
Get:22 http://security.ubuntu.com precise-security/restricted Sources [2.494 B]
Get:23 http://security.ubuntu.com precise-security/universe Sources [30,9 kB]
Get:24 http://security.ubuntu.com precise-security/multiverse Sources [1.791 B]
Get:25 http://security.ubuntu.com precise-security/main amd64 Packages [357 kB]
Get:26 http://security.ubuntu.com precise-security/restricted amd64 Packages [4.627 B]
Get:27 http://security.ubuntu.com precise-security/universe amd64 Packages [90,7 kB]
Get:28 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2.445 B]
Get:29 http://security.ubuntu.com precise-security/main i386 Packages [378 kB]
Get:30 http://security.ubuntu.com precise-security/restricted i386 Packages [4.620 B]
Get:31 http://security.ubuntu.com precise-security/universe i386 Packages [95,0 kB]
Get:32 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.639 B]
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 3.797 kB in 2s (1.572 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
python-software-properties is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
gpg: keyring `/tmp/tmpc_lfuw/secring.gpg' created
gpg: keyring `/tmp/tmpc_lfuw/pubring.gpg' created
gpg: requesting key 0E27C0A6 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpc_lfuw/trustdb.gpg: trustdb created
gpg: key 0E27C0A6: public key "Launchpad PPA for Salt Stack" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK
Hit http://dk.archive.ubuntu.com precise Release.gpg
Hit http://dk.archive.ubuntu.com precise-updates Release.gpg
Hit http://dk.archive.ubuntu.com precise-backports Release.gpg
Hit http://dk.archive.ubuntu.com precise Release
Hit http://dk.archive.ubuntu.com precise-updates Release
Hit http://dk.archive.ubuntu.com precise-backports Release
Hit http://dk.archive.ubuntu.com precise/main Sources
Hit http://dk.archive.ubuntu.com precise/restricted Sources
Hit http://dk.archive.ubuntu.com precise/universe Sources
Hit http://dk.archive.ubuntu.com precise/multiverse Sources
Hit http://dk.archive.ubuntu.com precise/main amd64 Packages
Hit http://dk.archive.ubuntu.com precise/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com precise/universe amd64 Packages
Hit http://dk.archive.ubuntu.com precise/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com precise/main i386 Packages
Hit http://dk.archive.ubuntu.com precise/restricted i386 Packages
Hit http://dk.archive.ubuntu.com precise/universe i386 Packages
Hit http://dk.archive.ubuntu.com precise/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com precise/main TranslationIndex
Hit http://dk.archive.ubuntu.com precise/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com precise/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com precise/universe TranslationIndex
Hit http://dk.archive.ubuntu.com precise-updates/main Sources
Hit http://dk.archive.ubuntu.com precise-updates/restricted Sources
Hit http://dk.archive.ubuntu.com precise-updates/universe Sources
Hit http://dk.archive.ubuntu.com precise-updates/multiverse Sources
Hit http://dk.archive.ubuntu.com precise-updates/main amd64 Packages
Hit http://dk.archive.ubuntu.com precise-updates/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com precise-updates/universe amd64 Packages
Hit http://dk.archive.ubuntu.com precise-updates/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com precise-updates/main i386 Packages
Hit http://dk.archive.ubuntu.com precise-updates/restricted i386 Packages
Hit http://dk.archive.ubuntu.com precise-updates/universe i386 Packages
Hit http://dk.archive.ubuntu.com precise-updates/multiverse i386 Packages
Get:1 http://ppa.launchpad.net precise Release.gpg [316 B]
Hit http://dk.archive.ubuntu.com precise-updates/main TranslationIndex
Hit http://dk.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com precise-updates/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com precise-updates/universe TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/main Sources
Hit http://dk.archive.ubuntu.com precise-backports/restricted Sources
Hit http://dk.archive.ubuntu.com precise-backports/universe Sources
Hit http://dk.archive.ubuntu.com precise-backports/multiverse Sources
Hit http://dk.archive.ubuntu.com precise-backports/main amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/restricted amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/universe amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/multiverse amd64 Packages
Hit http://dk.archive.ubuntu.com precise-backports/main i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/restricted i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/universe i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/multiverse i386 Packages
Hit http://dk.archive.ubuntu.com precise-backports/main TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/restricted TranslationIndex
Hit http://dk.archive.ubuntu.com precise-backports/universe TranslationIndex
Hit http://dk.archive.ubuntu.com precise/main Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/main Translation-en
Hit http://dk.archive.ubuntu.com precise/multiverse Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise/restricted Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise/universe Translation-en_GB
Hit http://dk.archive.ubuntu.com precise/universe Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/main Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/main Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/multiverse Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/restricted Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise-updates/universe Translation-en_GB
Hit http://dk.archive.ubuntu.com precise-updates/universe Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/main Translation-en
Get:2 http://ppa.launchpad.net precise Release [11,9 kB]
Hit http://dk.archive.ubuntu.com precise-backports/multiverse Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/restricted Translation-en
Hit http://dk.archive.ubuntu.com precise-backports/universe Translation-en
Get:3 http://ppa.launchpad.net precise/main Sources [3.093 B]
Get:4 http://ppa.launchpad.net precise/main amd64 Packages [5.424 B]
Get:5 http://ppa.launchpad.net precise/main i386 Packages [5.423 B]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://security.ubuntu.com precise-security Release.gpg
Hit http://security.ubuntu.com precise-security Release
Ign http://ppa.launchpad.net precise/main Translation-en_GB
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://security.ubuntu.com precise-security/main Sources
Hit http://security.ubuntu.com precise-security/restricted Sources
Hit http://security.ubuntu.com precise-security/universe Sources
Hit http://security.ubuntu.com precise-security/multiverse Sources
Hit http://security.ubuntu.com precise-security/main amd64 Packages
Hit http://security.ubuntu.com precise-security/restricted amd64 Packages
Hit http://security.ubuntu.com precise-security/universe amd64 Packages
Hit http://security.ubuntu.com precise-security/multiverse amd64 Packages
Hit http://security.ubuntu.com precise-security/main i386 Packages
Hit http://security.ubuntu.com precise-security/restricted i386 Packages
Hit http://security.ubuntu.com precise-security/universe i386 Packages
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages
Hit http://security.ubuntu.com precise-security/main TranslationIndex
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex
Hit http://security.ubuntu.com precise-security/universe TranslationIndex
Hit http://security.ubuntu.com precise-security/main Translation-en
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Fetched 26,1 kB in 0s (30,1 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
upstart is already the newest version.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
 *  INFO: Running install_ubuntu_stable()
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
  dctrl-tools libyaml-0-2 msgpack-python python-jinja2 python-m2crypto
  python-markupsafe python-support python-yaml python-zmq salt-common
Suggested packages:
  debtags python-jinja2-doc
The following NEW packages will be installed
  dctrl-tools libyaml-0-2 msgpack-python python-jinja2 python-m2crypto
  python-markupsafe python-support python-yaml python-zmq salt-common
  salt-minion
0 to upgrade, 11 to newly install, 0 to remove and 0 not to upgrade.
Need to get 2.233 kB of archives.
After this operation, 8.856 kB of additional disk space will be used.
Get:1 http://dk.archive.ubuntu.com/ubuntu/ precise-updates/main libyaml-0-2 amd64 0.1.4-2ubuntu0.12.04.1 [57,4 kB]
Get:2 http://dk.archive.ubuntu.com/ubuntu/ precise/main python-m2crypto amd64 0.21.1-2ubuntu2 [157 kB]
Get:3 http://dk.archive.ubuntu.com/ubuntu/ precise/universe python-support all 1.0.14ubuntu2 [26,1 kB]
Get:4 http://ppa.launchpad.net/saltstack/salt/ubuntu/ precise/main python-zmq amd64 13.0.0-2precise [373 kB]
Get:5 http://dk.archive.ubuntu.com/ubuntu/ precise/main python-markupsafe amd64 0.15-1 [13,6 kB]
Get:6 http://dk.archive.ubuntu.com/ubuntu/ precise/main python-jinja2 amd64 2.6-1 [158 kB]
Get:7 http://dk.archive.ubuntu.com/ubuntu/ precise/main python-yaml amd64 3.10-2 [122 kB]
Get:8 http://dk.archive.ubuntu.com/ubuntu/ precise/main dctrl-tools amd64 2.18ubuntu1 [83,5 kB]
Get:9 http://dk.archive.ubuntu.com/ubuntu/ precise/universe msgpack-python amd64 0.1.10-1 [29,0 kB]
Get:10 http://ppa.launchpad.net/saltstack/salt/ubuntu/ precise/main salt-common all 0.17.5-1precise1 [1.195 kB]
Get:11 http://ppa.launchpad.net/saltstack/salt/ubuntu/ precise/main salt-minion all 0.17.5-1precise1 [17,9 kB]
Fetched 2.233 kB in 1s (1.709 kB/s)
Selecting previously unselected package libyaml-0-2.
(Reading database ... 52844 files and directories currently installed.)
Unpacking libyaml-0-2 (from .../libyaml-0-2_0.1.4-2ubuntu0.12.04.1_amd64.deb) ...
Selecting previously unselected package python-m2crypto.
Unpacking python-m2crypto (from .../python-m2crypto_0.21.1-2ubuntu2_amd64.deb) ...
Selecting previously unselected package python-support.
Unpacking python-support (from .../python-support_1.0.14ubuntu2_all.deb) ...
Selecting previously unselected package python-markupsafe.
Unpacking python-markupsafe (from .../python-markupsafe_0.15-1_amd64.deb) ...
Selecting previously unselected package python-jinja2.
Unpacking python-jinja2 (from .../python-jinja2_2.6-1_amd64.deb) ...
Selecting previously unselected package python-yaml.
Unpacking python-yaml (from .../python-yaml_3.10-2_amd64.deb) ...
Selecting previously unselected package python-zmq.
Unpacking python-zmq (from .../python-zmq_13.0.0-2precise_amd64.deb) ...
Selecting previously unselected package dctrl-tools.
Unpacking dctrl-tools (from .../dctrl-tools_2.18ubuntu1_amd64.deb) ...
Selecting previously unselected package msgpack-python.
Unpacking msgpack-python (from .../msgpack-python_0.1.10-1_amd64.deb) ...
Selecting previously unselected package salt-common.
Unpacking salt-common (from .../salt-common_0.17.5-1precise1_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ufw ...
Setting up python-support (1.0.14ubuntu2) ...
Setting up python-markupsafe (0.15-1) ...
Setting up python-jinja2 (2.6-1) ...
Setting up python-m2crypto (0.21.1-2ubuntu2) ...
Setting up libyaml-0-2 (0.1.4-2ubuntu0.12.04.1) ...
Setting up python-yaml (3.10-2) ...
Setting up python-zmq (13.0.0-2precise) ...
Setting up dctrl-tools (2.18ubuntu1) ...
Setting up msgpack-python (0.1.10-1) ...
Setting up salt-common (0.17.5-1precise1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Processing triggers for python-support ...
Selecting previously unselected package salt-minion.
(Reading database ... 53804 files and directories currently installed.)
Unpacking salt-minion (from .../salt-minion_0.17.5-1precise1_all.deb) ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for man-db ...
Setting up salt-minion (0.17.5-1precise1) ...
salt-minion start/running, process 2822
 * DEBUG: Creating salt's cachedir
 *  INFO: Running install_ubuntu_restart_daemons()
 * DEBUG: There's upstart support while checking salt-minion
salt-minion stop/waiting
salt-minion start/running, process 2837
 *  INFO: Running daemons_running()
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
[DEBUG   ] Reading configuration from /etc/salt/minion
[INFO    ] Using cached minion ID from /etc/salt/minion_id: dsl-precise64
[DEBUG   ] loading log_handlers in ['/var/cache/salt/minion/extmods/log_handlers', '/usr/lib/pymodules/python2.7/salt/log/handlers']
[DEBUG   ] Skipping /var/cache/salt/minion/extmods/log_handlers, it is not a directory
[DEBUG   ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "dsl-precise64"
[DEBUG   ] Created pidfile: /var/run/salt-minion.pid
[DEBUG   ] Chowned pidfile: /var/run/salt-minion.pid to user: root
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/pymodules/python2.7/salt/grains']
[DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[DEBUG   ] Attempting to authenticate with the Salt Master at 10.17.4.39
[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[CRITICAL] The Salt Master has rejected this minion's public key!
To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit.
 * DEBUG: Running salt-minion by hand outputs: 
 * DEBUG: DEAMON LOGS for minion:
 * DEBUG: 2014-02-11 12:35:50,734 [salt.crypt       ][CRITICAL] The Salt Master has rejected this minion's public key!
To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit.
2014-02-11 12:35:53,240 [salt             ][INFO    ] Setting up the Salt Minion "dsl-precise64"
2014-02-11 12:35:53,240 [salt.utils.process][DEBUG   ] Created pidfile: /var/run/salt-minion.pid
2014-02-11 12:35:53,240 [salt.utils.process][DEBUG   ] Chowned pidfile: /var/run/salt-minion.pid to user: root
2014-02-11 12:35:53,241 [salt.config      ][DEBUG   ] Reading configuration from /etc/salt/minion
2014-02-11 12:35:53,257 [salt.loader      ][DEBUG   ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/pymodules/python2.7/salt/grains']
2014-02-11 12:35:53,257 [salt.loader      ][DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
2014-02-11 12:35:53,319 [salt.minion      ][DEBUG   ] Attempting to authenticate with the Salt Master at 10.17.4.39
2014-02-11 12:35:53,321 [salt.crypt       ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2014-02-11 12:35:53,351 [salt.crypt       ][DEBUG   ] Loaded minion key: /etc/salt/pki/minion/minion.pem
2014-02-11 12:35:53,356 [salt.crypt       ][CRITICAL] The Salt Master has rejected this minion's public key!
To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit.

 * DEBUG: Running Processes:
 * DEBUG: USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.2  0.4  24344  2288 ?        Ss   12:35   0:00 /sbin/init
root         2  0.0  0.0      0     0 ?        S    12:35   0:00 [kthreadd]
root         3  0.5  0.0      0     0 ?        S    12:35   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/0:0]
root         5  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:0]
root         6  0.0  0.0      0     0 ?        S    12:35   0:00 [migration/0]
root         7  0.0  0.0      0     0 ?        S    12:35   0:00 [watchdog/0]
root         8  0.0  0.0      0     0 ?        S<   12:35   0:00 [cpuset]
root         9  0.0  0.0      0     0 ?        S<   12:35   0:00 [khelper]
root        10  0.0  0.0      0     0 ?        S    12:35   0:00 [kdevtmpfs]
root        11  0.0  0.0      0     0 ?        S<   12:35   0:00 [netns]
root        12  0.0  0.0      0     0 ?        S    12:35   0:00 [sync_supers]
root        13  0.0  0.0      0     0 ?        S    12:35   0:00 [bdi-default]
root        14  0.0  0.0      0     0 ?        S<   12:35   0:00 [kintegrityd]
root        15  0.0  0.0      0     0 ?        S<   12:35   0:00 [kblockd]
root        16  0.0  0.0      0     0 ?        S<   12:35   0:00 [ata_sff]
root        17  0.0  0.0      0     0 ?        S    12:35   0:00 [khubd]
root        18  0.0  0.0      0     0 ?        S<   12:35   0:00 [md]
root        19  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:1]
root        20  0.1  0.0      0     0 ?        S    12:35   0:00 [kworker/0:1]
root        21  0.0  0.0      0     0 ?        S    12:35   0:00 [khungtaskd]
root        22  0.0  0.0      0     0 ?        S    12:35   0:00 [kswapd0]
root        23  0.0  0.0      0     0 ?        SN   12:35   0:00 [ksmd]
root        24  0.0  0.0      0     0 ?        S    12:35   0:00 [fsnotify_mark]
root        25  0.0  0.0      0     0 ?        S    12:35   0:00 [ecryptfs-kthrea]
root        26  0.0  0.0      0     0 ?        S<   12:35   0:00 [crypto]
root        34  0.0  0.0      0     0 ?        S<   12:35   0:00 [kthrotld]
root        35  0.0  0.0      0     0 ?        S    12:35   0:00 [scsi_eh_0]
root        36  0.0  0.0      0     0 ?        S    12:35   0:00 [scsi_eh_1]
root        37  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:2]
root        38  0.0  0.0      0     0 ?        S    12:35   0:00 [scsi_eh_2]
root        39  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:3]
root        40  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:4]
root        41  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/u:5]
root        60  0.0  0.0      0     0 ?        S<   12:35   0:00 [devfreq_wq]
root        62  0.0  0.0      0     0 ?        S    12:35   0:00 [kworker/0:2]
root       223  0.0  0.0      0     0 ?        S    12:35   0:00 [jbd2/sda1-8]
root       224  0.0  0.0      0     0 ?        S<   12:35   0:00 [ext4-dio-unwrit]
root       318  0.0  0.1  17236   640 ?        S    12:35   0:00 upstart-udev-bridge --daemon
root       320  0.0  0.2  21672  1480 ?        Ss   12:35   0:00 /sbin/udevd --daemon
root       382  0.0  0.0      0     0 ?        S<   12:35   0:00 [iprt]
102        397  0.0  0.2  23920  1008 ?        Ss   12:35   0:00 dbus-daemon --system --fork --activation=upstart
syslog     422  0.0  0.2 249476  1472 ?        Sl   12:35   0:00 rsyslogd -c5
root       462  0.0  0.2  21680  1040 ?        S    12:35   0:00 /sbin/udevd --daemon
root       463  0.0  0.1  21444   780 ?        S    12:35   0:00 /sbin/udevd --daemon
root       465  0.0  0.0      0     0 ?        S<   12:35   0:00 [kpsmoused]
root       556  0.0  0.1   7268   596 ?        Ss   12:35   0:00 dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -1 eth0
root       580  0.0  0.5  50036  2900 ?        Ss   12:35   0:00 /usr/sbin/sshd -D
root       637  0.0  0.1  15192   616 ?        S    12:35   0:00 upstart-socket-bridge --daemon
root       788  0.0  0.1  17272   972 tty4     Ss+  12:35   0:00 /sbin/getty -8 38400 tty4
root       795  0.0  0.1  17272   976 tty5     Ss+  12:35   0:00 /sbin/getty -8 38400 tty5
root       808  0.0  0.1  17272   976 tty2     Ss+  12:35   0:00 /sbin/getty -8 38400 tty2
root       811  0.0  0.1  17272   972 tty3     Ss+  12:35   0:00 /sbin/getty -8 38400 tty3
nagios     814  0.0  0.2  25432  1140 ?        Ss   12:35   0:00 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root       816  0.0  0.1  17272   968 tty6     Ss+  12:35   0:00 /sbin/getty -8 38400 tty6
root       821  0.0  1.9  52024  9584 ?        Ss   12:35   0:00 /usr/sbin/munin-node
whoopsie   836  0.0  0.8 187664  4260 ?        Ssl  12:35   0:00 whoopsie
root       837  0.0  0.1   4332   688 ?        Ss   12:35   0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root       838  0.0  0.2  19116  1012 ?        Ss   12:35   0:00 cron
daemon     839  0.0  0.0  16912   376 ?        Ss   12:35   0:00 atd
root      1076  0.0  0.2 216564  1080 ?        Sl   12:35   0:00 /usr/sbin/VBoxService
root      1168  0.0  0.1   4404   612 ?        S    12:35   0:00 /bin/sh /etc/init.d/ondemand background
root      1170  0.0  0.0   4312   352 ?        S    12:35   0:00 sleep 60
root      1178  0.0  0.1  17272   972 tty1     Ss+  12:35   0:00 /sbin/getty -8 38400 tty1
root      1312  0.1  0.0      0     0 ?        S    12:35   0:00 [flush-8:0]
root      1599  0.0  0.6  71360  3496 ?        Ss   12:35   0:00 sshd: vagrant [priv]
vagrant   1743  0.2  0.3  71360  1952 ?        S    12:35   0:00 sshd: vagrant/0 
vagrant   1744  0.8  1.4  27760  7424 pts/0    Ss   12:35   0:00 -bash
root      1859  0.0  0.3  40436  1660 pts/0    S+   12:35   0:00 sudo sh -s -- -D
root      1860  0.0  0.2   4672  1056 pts/0    S+   12:35   0:00 sh -s -- -D
root      1882  0.0  0.1   8676   668 pts/0    S+   12:35   0:00 tee /tmp/bootstrap-salt.log
root      2889  0.0  0.2  19644  1260 pts/0    R+   12:35   0:00 ps auxwww
 * DEBUG: Removing the logging pipe /tmp/bootstrap-salt.logpipe

该提问来源于开源项目:saltstack/salt-bootstrap

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39797686 weixin_39797686 4月前

    Logfile also available, in more readable form, here: http://pastebin.com/35cftPGp

    点赞 评论 复制链接分享
  • weixin_39558391 weixin_39558391 4月前
    
    [CRITICAL] The Salt Master has rejected this minion's public key!
    To repair this issue, delete the public key for this minion on the Salt Master and restart this minion.
    Or restart the Salt Master in open mode to clean out the keys. The Salt Minion will now exit
    

    Fixing the problem above does not solve this?

    点赞 评论 复制链接分享
  • weixin_39797686 weixin_39797686 4月前

    DOH Since this problem appeared when salt was being installed by salty vagrant during provisioning of a VM with Vagrant, and salt in there is being used as standalone to develop states, I did not think that the master rejecting the key was of any consequence. But once I went and deleted the entry for the vagrant machines hostname on our salt-master, it now bootstraps fine. Sorry for this useless bugreport.

    点赞 评论 复制链接分享
  • weixin_39558391 weixin_39558391 4月前

    No problem, I'm just glad that was the only issue :smile:

    点赞 评论 复制链接分享

相关推荐