saltstack / salt-bootstrap

Generic Salt Bootstrap Script
Other
927 stars 544 forks source link

bootstrap scipt doesn't work on ubuntu 13.04 #122

Closed aljosa closed 11 years ago

aljosa commented 11 years ago

running bootstrap script on ubuntu 13.04 breaks on minion stop/start

aljosa commented 11 years ago

script output:

 *  INFO: sh bootstrap-salt.sh -- Version 1.5.4

 *  INFO: System Information:
 *  INFO:   CPU:          GenuineIntel
 *  INFO:   CPU Arch:     x86_64
 *  INFO:   OS Name:      Linux
 *  INFO:   OS Version:   3.8.0-19-generic
 *  INFO:   Distribution: Ubuntu 13.04

 *  INFO: Installing minion
 * DEBUG: install_ubuntu_13_stable_deps not found....
 * DEBUG: install_ubuntu_13_04_stable_deps not found....
 * DEBUG: install_ubuntu_13_deps not found....
 * DEBUG: install_ubuntu_13_04_deps not found....
 * DEBUG: install_ubuntu_stable_deps not found....
 *  INFO: Found function install_ubuntu_deps
 * DEBUG: install_ubuntu_13_stable not found....
 * DEBUG: install_ubuntu_13_04_stable not found....
 *  INFO: Found function install_ubuntu_stable
 * DEBUG: install_ubuntu_13_stable_post not found....
 * DEBUG: install_ubuntu_13_04_stable_post not found....
 * DEBUG: install_ubuntu_13_post not found....
 * DEBUG: install_ubuntu_13_04_post not found....
 * DEBUG: install_ubuntu_stable_post not found....
 * DEBUG: install_ubuntu_post not found....
 * DEBUG: install_ubuntu_13_stable_restart_daemons not found....
 * DEBUG: install_ubuntu_13_04_stable_restart_daemons not found....
 * DEBUG: install_ubuntu_13_restart_daemons not found....
 * DEBUG: install_ubuntu_13_04_restart_daemons not found....
 * DEBUG: install_ubuntu_stable_restart_daemons not found....
 *  INFO: Found function install_ubuntu_restart_daemons
 * DEBUG: daemons_running_ubuntu_13_stable not found....
 * DEBUG: daemons_running_ubuntu_13_04_stable not found....
 * DEBUG: daemons_running_ubuntu_13 not found....
 * DEBUG: daemons_running_ubuntu_13_04 not found....
 * DEBUG: daemons_running_ubuntu_stable not found....
 * DEBUG: daemons_running_ubuntu not found....
 *  INFO: Found function daemons_running
 *  INFO: Running install_ubuntu_deps()
Hit http://extras.ubuntu.com raring Release.gpg
Hit http://dl.google.com stable Release.gpg
Hit http://archive.canonical.com raring Release.gpg
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://extras.ubuntu.com raring Release
Hit http://dl.google.com stable Release
Hit http://archive.canonical.com raring Release
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://security.ubuntu.com raring-security Release.gpg
Hit http://extras.ubuntu.com raring/main Sources
Hit http://us.archive.ubuntu.com raring Release.gpg
Hit http://dl.google.com stable/main amd64 Packages
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://archive.canonical.com raring/partner Sources
Hit http://extras.ubuntu.com raring/main amd64 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://security.ubuntu.com raring-security Release
Hit http://extras.ubuntu.com raring/main i386 Packages
Hit http://archive.canonical.com raring/partner amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates Release.gpg
Hit http://ppa.launchpad.net raring Release
Hit http://archive.canonical.com raring/partner i386 Packages
Hit http://ppa.launchpad.net quantal Release
Hit http://security.ubuntu.com raring-security/main Sources
Hit http://us.archive.ubuntu.com raring-backports Release.gpg
Hit http://ppa.launchpad.net precise Release
Hit http://ppa.launchpad.net raring Release
Hit http://security.ubuntu.com raring-security/restricted Sources
Hit http://us.archive.ubuntu.com raring Release
Hit http://ppa.launchpad.net raring/main amd64 Packages
Hit http://ppa.launchpad.net raring/main i386 Packages
Hit http://security.ubuntu.com raring-security/universe Sources
Hit http://us.archive.ubuntu.com raring-updates Release
Ign http://dl.google.com stable/main Translation-en_US
Ign http://extras.ubuntu.com raring/main Translation-en_US
Hit http://security.ubuntu.com raring-security/multiverse Sources
Hit http://us.archive.ubuntu.com raring-backports Release
Hit http://ppa.launchpad.net quantal/main amd64 Packages
Ign http://dl.google.com stable/main Translation-en
Ign http://extras.ubuntu.com raring/main Translation-en
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://security.ubuntu.com raring-security/main amd64 Packages
Hit http://us.archive.ubuntu.com raring/main Sources
Ign http://archive.canonical.com raring/partner Translation-en_US
Ign http://archive.canonical.com raring/partner Translation-en
Hit http://security.ubuntu.com raring-security/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring/restricted Sources
Hit http://ppa.launchpad.net precise/main Sources
Hit http://security.ubuntu.com raring-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring/universe Sources
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://security.ubuntu.com raring-security/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring/multiverse Sources
Hit http://security.ubuntu.com raring-security/main i386 Packages
Hit http://us.archive.ubuntu.com raring/main amd64 Packages
Hit http://ppa.launchpad.net raring/main amd64 Packages
Hit http://ppa.launchpad.net raring/main i386 Packages
Hit http://security.ubuntu.com raring-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring/restricted amd64 Packages
Hit http://security.ubuntu.com raring-security/universe i386 Packages
Hit http://us.archive.ubuntu.com raring/universe amd64 Packages
Hit http://security.ubuntu.com raring-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring/main i386 Packages
Hit http://security.ubuntu.com raring-security/main Translation-en
Hit http://us.archive.ubuntu.com raring/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring/universe i386 Packages
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring/multiverse i386 Packages
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://us.archive.ubuntu.com raring/main Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Hit http://us.archive.ubuntu.com raring/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring/restricted Translation-en
Ign http://ppa.launchpad.net raring/main Translation-en_US
Ign http://ppa.launchpad.net raring/main Translation-en
Hit http://us.archive.ubuntu.com raring/universe Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/main Sources
Ign http://ppa.launchpad.net precise/main Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/restricted Sources
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/universe Sources
Ign http://ppa.launchpad.net raring/main Translation-en_US
Ign http://ppa.launchpad.net raring/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/multiverse Sources
Hit http://us.archive.ubuntu.com raring-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/universe amd64 Packages
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/main i386 Packages
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/restricted i386 Packages
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/universe i386 Packages
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring-updates/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-updates/universe Translation-en
Hit http://us.archive.ubuntu.com raring-backports/main Sources
Hit http://us.archive.ubuntu.com raring-backports/restricted Sources
Hit http://us.archive.ubuntu.com raring-backports/universe Sources
Hit http://us.archive.ubuntu.com raring-backports/multiverse Sources
Hit http://us.archive.ubuntu.com raring-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/main i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/main Translation-en
Hit http://us.archive.ubuntu.com raring-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-backports/universe Translation-en
Ign http://us.archive.ubuntu.com raring/main Translation-en_US
Ign http://us.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/universe Translation-en_US
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
gpg: keyring `/tmp/tmpofpl4t/secring.gpg' created
gpg: keyring `/tmp/tmpofpl4t/pubring.gpg' created
gpg: requesting key 0E27C0A6 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpofpl4t/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://dl.google.com stable Release.gpg
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://archive.canonical.com raring Release.gpg
Hit http://extras.ubuntu.com raring Release.gpg
Hit http://dl.google.com stable Release
Hit http://ppa.launchpad.net quantal Release.gpg
Hit http://extras.ubuntu.com raring Release
Hit http://archive.canonical.com raring Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://dl.google.com stable/main amd64 Packages
Hit http://security.ubuntu.com raring-security Release.gpg
Hit http://us.archive.ubuntu.com raring Release.gpg
Hit http://extras.ubuntu.com raring/main Sources
Hit http://ppa.launchpad.net raring Release.gpg
Hit http://archive.canonical.com raring/partner Sources
Hit http://dl.google.com stable/main i386 Packages
Hit http://extras.ubuntu.com raring/main amd64 Packages
Hit http://ppa.launchpad.net raring Release
Hit http://archive.canonical.com raring/partner amd64 Packages
Hit http://security.ubuntu.com raring-security Release
Hit http://extras.ubuntu.com raring/main i386 Packages
Hit http://us.archive.ubuntu.com raring-updates Release.gpg
Hit http://ppa.launchpad.net quantal Release
Hit http://archive.canonical.com raring/partner i386 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com raring-backports Release.gpg
Hit http://ppa.launchpad.net raring Release
Hit http://security.ubuntu.com raring-security/main Sources
Hit http://ppa.launchpad.net raring/main amd64 Packages
Hit http://ppa.launchpad.net raring/main i386 Packages
Hit http://us.archive.ubuntu.com raring Release
Hit http://security.ubuntu.com raring-security/restricted Sources
Hit http://us.archive.ubuntu.com raring-updates Release
Hit http://security.ubuntu.com raring-security/universe Sources
Hit http://ppa.launchpad.net quantal/main amd64 Packages
Hit http://ppa.launchpad.net quantal/main i386 Packages
Hit http://us.archive.ubuntu.com raring-backports Release
Ign http://extras.ubuntu.com raring/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en_US
Hit http://security.ubuntu.com raring-security/multiverse Sources
Ign http://extras.ubuntu.com raring/main Translation-en
Ign http://dl.google.com stable/main Translation-en
Hit http://us.archive.ubuntu.com raring/main Sources
Ign http://archive.canonical.com raring/partner Translation-en_US
Hit http://security.ubuntu.com raring-security/main amd64 Packages
Ign http://archive.canonical.com raring/partner Translation-en
Hit http://ppa.launchpad.net precise/main Sources
Hit http://us.archive.ubuntu.com raring/restricted Sources
Hit http://security.ubuntu.com raring-security/restricted amd64 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://us.archive.ubuntu.com raring/universe Sources
Hit http://security.ubuntu.com raring-security/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring/multiverse Sources
Hit http://ppa.launchpad.net raring/main amd64 Packages
Hit http://security.ubuntu.com raring-security/multiverse amd64 Packages
Hit http://ppa.launchpad.net raring/main i386 Packages
Hit http://us.archive.ubuntu.com raring/main amd64 Packages
Hit http://security.ubuntu.com raring-security/main i386 Packages
Hit http://us.archive.ubuntu.com raring/restricted amd64 Packages
Hit http://security.ubuntu.com raring-security/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring/universe amd64 Packages
Hit http://security.ubuntu.com raring-security/universe i386 Packages
Hit http://us.archive.ubuntu.com raring/multiverse amd64 Packages
Hit http://security.ubuntu.com raring-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring/main i386 Packages
Hit http://us.archive.ubuntu.com raring/restricted i386 Packages
Hit http://security.ubuntu.com raring-security/main Translation-en
Hit http://us.archive.ubuntu.com raring/universe i386 Packages
Hit http://us.archive.ubuntu.com raring/multiverse i386 Packages
Hit http://security.ubuntu.com raring-security/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring/main Translation-en
Hit http://security.ubuntu.com raring-security/restricted Translation-en
Hit http://us.archive.ubuntu.com raring/multiverse Translation-en
Hit http://security.ubuntu.com raring-security/universe Translation-en
Ign http://ppa.launchpad.net raring/main Translation-en_US
Ign http://ppa.launchpad.net raring/main Translation-en
Ign http://ppa.launchpad.net quantal/main Translation-en_US
Ign http://ppa.launchpad.net quantal/main Translation-en
Hit http://us.archive.ubuntu.com raring/restricted Translation-en
Ign http://ppa.launchpad.net precise/main Translation-en_US
Ign http://ppa.launchpad.net precise/main Translation-en
Hit http://us.archive.ubuntu.com raring/universe Translation-en
Ign http://ppa.launchpad.net raring/main Translation-en_US
Ign http://ppa.launchpad.net raring/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/main Sources
Hit http://us.archive.ubuntu.com raring-updates/restricted Sources
Hit http://us.archive.ubuntu.com raring-updates/universe Sources
Hit http://us.archive.ubuntu.com raring-updates/multiverse Sources
Hit http://us.archive.ubuntu.com raring-updates/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/universe amd64 Packages
Ign http://security.ubuntu.com raring-security/main Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring-updates/main i386 Packages
Hit http://us.archive.ubuntu.com raring-updates/restricted i386 Packages
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/universe i386 Packages
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/multiverse i386 Packages
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Hit http://us.archive.ubuntu.com raring-updates/main Translation-en
Hit http://us.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-updates/universe Translation-en
Hit http://us.archive.ubuntu.com raring-backports/main Sources
Hit http://us.archive.ubuntu.com raring-backports/restricted Sources
Hit http://us.archive.ubuntu.com raring-backports/universe Sources
Hit http://us.archive.ubuntu.com raring-backports/multiverse Sources
Hit http://us.archive.ubuntu.com raring-backports/main amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse amd64 Packages
Hit http://us.archive.ubuntu.com raring-backports/main i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/restricted i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com raring-backports/main Translation-en
Hit http://us.archive.ubuntu.com raring-backports/multiverse Translation-en
Hit http://us.archive.ubuntu.com raring-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com raring-backports/universe Translation-en
Ign http://us.archive.ubuntu.com raring/main Translation-en_US
Ign http://us.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://us.archive.ubuntu.com raring-backports/universe Translation-en_US
Reading package lists...
 *  INFO: Running install_ubuntu_stable()
Reading package lists...
Building dependency tree...
Reading state information...
salt-minion is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
 *  INFO: Running install_ubuntu_restart_daemons()
 * DEBUG: There's upstart support while checking salt-minion
salt-minion stop/waiting
 * DEBUG: Upstart apparently knows about salt-minion
salt-minion start/running, process 19141
 *  INFO: Running daemons_running()
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
nohup: ignoring input
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Guessing ID. The id can be explicitly in set /etc/salt/minion
[INFO    ] Found minion id from getfqdn(): fakanana
[INFO    ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "fakanana"
[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/python2.7/dist-packages/salt/grains']
[DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
Traceback (most recent call last):
  File "/usr/bin/salt-minion", line 14, in <module>
    salt_minion()
  File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 29, in salt_minion
    minion.start()
  File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 195, in start
    self.prepare()
  File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 183, in prepare
    self.minion = salt.minion.Minion(self.config)
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 236, in __init__
    opts.update(resolve_dns(opts))
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 71, in resolve_dns
    ret['master_ip'] = salt.utils.dns_check(opts['master'], True, opts['ipv6'])
  File "/usr/lib/python2.7/dist-packages/salt/utils/__init__.py", line 327, in dns_check
    socket.SOCK_STREAM)
socket.error: [Errno 2] No such file or directory
 * DEBUG: Running salt-minion by hand outputs: 
 * DEBUG: DEAMON LOGS for minion:
 * DEBUG: 2013-05-07 17:31:00,793 [salt             ][INFO    ] Setting up the Salt Minion "fakanana"
2013-05-07 17:31:00,794 [salt.utils.process][DEBUG   ] Created pidfile: /var/run/salt-minion.pid
2013-05-07 17:31:00,795 [salt.utils.process][DEBUG   ] Chowned pidfile: /var/run/salt-minion.pid to user: root
2013-05-07 17:31:00,795 [salt.config      ][DEBUG   ] Reading configuration from /etc/salt/minion
2013-05-07 17:31:00,899 [salt.loader      ][DEBUG   ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
2013-05-07 17:31:00,899 [salt.loader      ][DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory

 * DEBUG: Running Processes:
 * DEBUG: USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  27060  2744 ?        Ss   May05   0:02 /sbin/init
root         2  0.0  0.0      0     0 ?        S    May05   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    May05   0:12 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/u:0H]
root         8  0.0  0.0      0     0 ?        S    May05   0:01 [migration/0]
root         9  0.0  0.0      0     0 ?        S    May05   0:00 [rcu_bh]
root        10  0.0  0.0      0     0 ?        S    May05   0:20 [rcu_sched]
root        11  0.0  0.0      0     0 ?        S    May05   0:00 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    May05   0:00 [watchdog/1]
root        13  0.0  0.0      0     0 ?        S    May05   0:32 [ksoftirqd/1]
root        16  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/1:0H]
root        17  0.0  0.0      0     0 ?        S    May05   0:00 [watchdog/2]
root        18  0.0  0.0      0     0 ?        S    May05   0:09 [ksoftirqd/2]
root        21  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/2:0H]
root        22  0.0  0.0      0     0 ?        S    May05   0:00 [watchdog/3]
root        23  0.0  0.0      0     0 ?        S    May05   0:11 [ksoftirqd/3]
root        26  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/3:0H]
root        27  0.0  0.0      0     0 ?        S<   May05   0:00 [cpuset]
root        28  0.0  0.0      0     0 ?        S<   May05   0:00 [khelper]
root        29  0.0  0.0      0     0 ?        S    May05   0:00 [kdevtmpfs]
root        30  0.0  0.0      0     0 ?        S<   May05   0:00 [netns]
root        31  0.0  0.0      0     0 ?        S    May05   0:00 [bdi-default]
root        32  0.0  0.0      0     0 ?        S<   May05   0:00 [kintegrityd]
root        33  0.0  0.0      0     0 ?        S<   May05   0:00 [kblockd]
root        34  0.0  0.0      0     0 ?        S<   May05   0:00 [ata_sff]
root        35  0.0  0.0      0     0 ?        S    May05   0:00 [khubd]
root        36  0.0  0.0      0     0 ?        S<   May05   0:00 [md]
root        37  0.0  0.0      0     0 ?        S<   May05   0:00 [devfreq_wq]
root        42  0.0  0.0      0     0 ?        S    May05   0:00 [khungtaskd]
root        43  0.0  0.0      0     0 ?        S    May05   0:00 [kswapd0]
root        44  0.0  0.0      0     0 ?        SN   May05   0:00 [ksmd]
root        45  0.0  0.0      0     0 ?        SN   May05   0:00 [khugepaged]
root        46  0.0  0.0      0     0 ?        S    May05   0:00 [fsnotify_mark]
root        47  0.0  0.0      0     0 ?        S    May05   0:00 [ecryptfs-kthrea]
root        48  0.0  0.0      0     0 ?        S<   May05   0:00 [crypto]
root        59  0.0  0.0      0     0 ?        S<   May05   0:00 [kthrotld]
root        64  0.0  0.0      0     0 ?        S<   May05   0:00 [binder]
root        83  0.0  0.0      0     0 ?        S<   May05   0:00 [deferwq]
root        84  0.0  0.0      0     0 ?        S<   May05   0:00 [charger_manager]
root       196  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_0]
root       202  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_1]
root       205  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_2]
root       208  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_3]
root       209  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_4]
root       212  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_5]
root       272  0.0  0.0      0     0 ?        S    May05   0:00 [scsi_eh_7]
root       273  0.0  0.0      0     0 ?        S    May05   0:04 [usb-storage]
root       331  0.0  0.0      0     0 ?        S    May05   0:02 [jbd2/sda5-8]
root       332  0.0  0.0      0     0 ?        S<   May05   0:00 [ext4-dio-unwrit]
root       415  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/2:1H]
root       417  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/0:1H]
root       426  0.0  0.0  15268   596 ?        S    May05   0:00 upstart-file-bridge --daemon
root       467  0.0  0.0  17448   716 ?        S    May05   0:00 upstart-udev-bridge --daemon
root       476  0.0  0.0  22136  1740 ?        Ss   May05   0:00 /sbin/udevd --daemon
102        552  0.0  0.0  25176  2544 ?        Ss   May05   0:18 dbus-daemon --system --fork
syslog     557  0.0  0.0 247456  1656 ?        Sl   May05   0:03 rsyslogd -c5
root       620  0.0  0.0  19340  2132 ?        Ss   May05   0:00 /usr/sbin/bluetoothd
root       672  0.0  0.0      0     0 ?        S<   May05   0:00 [krfcommd]
root       681  0.0  0.0      0     0 ?        S<   May05   0:00 [cfg80211]
avahi      698  0.0  0.0  32344  1756 ?        S    May05   0:00 avahi-daemon: running [fakanana.local]
avahi      736  0.0  0.0  32220   472 ?        S    May05   0:00 avahi-daemon: chroot helper
root       754  0.0  0.0      0     0 ?        S    May05   0:00 [wl_event_handle]
root       789  0.0  0.0  72008  3340 ?        Ss   May05   0:14 /usr/sbin/cupsd -F
root       802  0.0  0.0      0     0 ?        S<   May05   0:00 [hd-audio0]
root      1001  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/u:1H]
root      1008  0.0  0.0  83408  3272 ?        Ss   May05   0:00 /usr/sbin/modem-manager
root      1032  0.0  0.0      0     0 ?        S<   May05   0:00 [applesmc-led]
root      1048  0.0  0.0 251328  6652 ?        Ssl  May05   0:13 NetworkManager
root      1063  0.0  0.0 196612  5084 ?        Sl   May05   0:04 /usr/lib/policykit-1/polkitd --no-debug
root      1067  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/1:1H]
root      1081  0.0  0.0      0     0 ?        S<   May05   0:00 [kworker/3:1H]
root      1137  0.0  0.0      0     0 ?        S<   May05   0:00 [kvm-irqfd-clean]
root      1214  0.0  0.0  15520   892 ?        S    May05   0:00 upstart-socket-bridge --daemon
root      1224  0.0  0.0  15828  1004 tty4     Ss+  May05   0:00 /sbin/getty -8 38400 tty4
root      1233  0.0  0.0   4368   688 ?        Ss   May05   1:06 /usr/sbin/macfanctld
root      1235  0.0  0.0  15828   996 tty5     Ss+  May05   0:00 /sbin/getty -8 38400 tty5
root      1245  0.0  0.0  15828   996 tty2     Ss+  May05   0:00 /sbin/getty -8 38400 tty2
root      1246  0.0  0.0  15828  1000 tty3     Ss+  May05   0:00 /sbin/getty -8 38400 tty3
root      1249  0.0  0.0  15828   996 tty6     Ss+  May05   0:00 /sbin/getty -8 38400 tty6
root      1267  0.0  0.0  70428  2816 ?        Ss   May05   0:00 /usr/sbin/cups-browsed
root      1280  0.0  0.0      0     0 ?        S<   May05   0:00 [iprt]
root      1282  0.0  0.0   4508   944 ?        Ss   May05   0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root      1286  0.0  0.0  21324  1052 ?        Ss   May05   0:00 cron
daemon    1287  0.0  0.0  19124   168 ?        Ss   May05   0:00 atd
whoopsie  1295  0.0  0.0 288980  5200 ?        Ssl  May05   0:00 whoopsie
root      1296  0.0  0.0 275512  3504 ?        SLsl May05   0:00 lightdm
root      1304  0.0  0.0  19148   732 ?        Ss   May05   0:06 /usr/sbin/irqbalance
root      1513  0.0  0.0  15828  1004 tty1     Ss+  May05   0:00 /sbin/getty -8 38400 tty1
root      1517  0.0  0.0  32036  2512 ?        Ss   May05   0:02 /sbin/wpa_supplicant -B -P /run/sendsigs.omit.d/wpasupplicant.pid -u -s -O /var/run/wpa_supplicant
root      1524  0.0  0.0 264660  3600 ?        Sl   May05   0:01 /usr/lib/accountsservice/accounts-daemon
root      1538  0.0  0.0      0     0 ?        S    May05   0:00 [kauditd]
root      1544  0.0  0.0 2091756 4028 ?        Sl   May05   0:01 /usr/sbin/console-kit-daemon --no-daemon
root      1673  0.0  0.0 222900  5208 ?        Sl   May05   0:19 /usr/lib/upower/upowerd
rtkit     1759  0.0  0.0 168916  1380 ?        SNl  May05   0:00 /usr/lib/rtkit/rtkit-daemon
colord    1844  0.0  0.0 216612  5568 ?        Sl   May05   0:00 /usr/lib/colord/colord
root      1905  0.0  0.0      0     0 ?        S    May05   0:07 [kworker/2:3]
root      2601  0.0  0.0 202048  4340 ?        Sl   May06   0:06 /usr/lib/udisks/udisks-daemon
root      2602  0.0  0.0  45652   800 ?        S    May06   0:00 udisks-daemon: not polling any devices
nobody    2770  0.0  0.0  28900  1592 ?        S    May06   0:02 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --conf-file=/var/run/NetworkManager/dnsmasq.conf --cache-size=0 --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
root      2828  0.0  0.0 426152  5504 ?        Sl   May06   0:08 /usr/lib/udisks2/udisksd --no-debug
root      3186  1.3  1.6 339020 137000 tty7    Rsl+ May06  30:49 /usr/bin/X :0 -core -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
root      3274  0.0  0.0 165720  3628 ?        Sl   May06   0:00 lightdm --session-child 12 29
aljosa    3429  0.0  0.0   4440   748 ?        Ss   May06   0:00 /bin/sh /usr/bin/startkde
aljosa    3481  0.0  0.0  12612   320 ?        Ss   May06   0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/startkde
aljosa    3484  0.0  0.0  24464   844 ?        S    May06   0:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/startkde
aljosa    3485  0.0  0.0  25644  2196 ?        Ss   May06   0:07 //bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
aljosa    3549  0.0  0.0   4204    88 ?        S    May06   0:00 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
aljosa    3550  0.0  0.2 348428 23044 ?        Ss   May06   0:00 kdeinit4: kdeinit4 Running...                  
aljosa    3551  0.0  0.1 352332 11040 ?        S    May06   0:00 kdeinit4: klauncher [kdeinit] --fd=9           
aljosa    3553  0.0  0.5 1420680 41424 ?       Sl   May06   0:25 kdeinit4: kded4 [kdeinit]                      
aljosa    3557  0.0  0.2 277848 16696 ?        S    May06   0:01 /usr/bin/kglobalaccel
aljosa    3559  0.0  0.2 272688 20332 ?        S    May06   0:00 /usr/bin/bluedevil-helper
aljosa    3561  0.0  0.0  53740  2600 ?        S    May06   0:00 /usr/bin/obex-data-server --no-daemon 
aljosa    3572  0.0  0.1 278724 16056 ?        S    May06   0:01 /usr/bin/kwalletd
aljosa    3576  0.0  0.2 835596 17664 ?        Sl   May06   0:01 /usr/bin/kactivitymanagerd
aljosa    3579  0.0  0.0   4340   364 ?        S    May06   0:00 kwrapper4 ksmserver
aljosa    3580  0.0  0.2 528820 20840 ?        Sl   May06   0:03 kdeinit4: ksmserver [kdeinit]                  
aljosa    3589  0.7  0.7 850748 61880 ?        Sl   May06  17:41 kwin -session 10d4c2d9c2000136415508800000019340000_1367799013_282747
aljosa    3595  0.0  0.3 1044544 31008 ?       Sl   May06   0:04 /usr/bin/knotify4
aljosa    3599  0.1  1.4 1350780 117644 ?      Sl   May06   3:51 /usr/bin/plasma-desktop
aljosa    3603  0.0  0.0  10080  1416 ?        S    May06   0:00 ksysguardd
aljosa    3607  0.0  0.2 272676 17464 ?        S    May06   0:01 /usr/bin/kuiserver
aljosa    3609  0.0  0.2 285600 17588 ?        S    May06   0:00 /usr/bin/kwalletmanager --kwalletd
aljosa    3612  0.0  0.1 323732  8452 ?        Sl   May06   0:05 /usr/lib/telepathy/mission-control-5
aljosa    3637  0.0  0.6 1411336 54024 ?       Sl   May06   0:05 /usr/bin/krunner
aljosa    3641  1.0  0.0 422780  6784 ?        Sl   May06  24:52 /usr/bin/pulseaudio --start --log-target=syslog
aljosa    3652  0.0  0.2 286284 17604 ?        S    May06   0:00 /usr/bin/nepomukcontroller -session 10d4c2d9c2000136278380300000018900009_1367799013_262857
aljosa    3654  0.0  0.4 770920 37640 ?        Sl   May06   0:08 /usr/bin/kmix -session 10d4c2d9c2000136278380300000018900010_1367799013_263132
aljosa    3656  0.1  0.5 853424 48412 ?        Sl   May06   2:58 /usr/bin/ktorrent -session 10d4c2d9c2000136659826300000021020024_1367799013_263159
aljosa    3664  0.0  0.0 512420  4028 ?        Sl   May06   0:00 /usr/lib/x86_64-linux-gnu/deja-dup/deja-dup-monitor
aljosa    3671  0.0  0.0 192260  3096 ?        Sl   May06   0:00 /usr/lib/gvfs/gvfsd
aljosa    3672  0.0  0.0 526044  7712 ?        Sl   May06   0:00 /usr/bin/zeitgeist-datahub
aljosa    3678  0.0  0.0 271236  3036 ?        Sl   May06   0:00 /usr/lib/gvfs//gvfsd-fuse -f /run/user/aljosa/gvfs
aljosa    3687  0.0  0.0 291960  5680 ?        Sl   May06   0:00 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
aljosa    3701  0.0  0.0 337716  4608 ?        Sl   May06   0:00 /usr/bin/zeitgeist-daemon
aljosa    3725  0.0  0.1 235312  9020 ?        Sl   May06   0:00 /usr/lib/zeitgeist/zeitgeist-fts
aljosa    3737  0.0  0.2 375232 18872 ?        Sl   May06   0:00 /usr/lib/kde4/libexec/polkit-kde-authentication-agent-1
aljosa    3765  0.0  0.2 292724 19340 ?        S    May06   0:00 /usr/bin/klipper
aljosa    3767  0.0  0.0 187188  2740 ?        Sl   May06   0:00 /usr/lib/gvfs/gvfs-mtp-volume-monitor
aljosa    3768  0.0  0.0   7224   624 ?        S    May06   0:00 /bin/cat
aljosa    3772  0.0  0.9 2518824 78452 ?       Ssl  May06   0:29 /home/aljosa/.dropbox-dist/dropbox
aljosa    3779  0.0  0.0 199484  3328 ?        Sl   May06   0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
aljosa    3783  0.0  0.0 281336  3272 ?        Sl   May06   0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
aljosa    4063  2.6  1.2 1673252 99352 ?       Sl   May06  61:51 /usr/bin/vlc
aljosa    4114  0.0  0.1 323488  8684 ?        Sl   May06   0:00 /usr/bin/gnome-screensaver --no-daemon
aljosa    4127  0.0  0.0 337404  3084 ?        Sl   May06   0:00 /usr/lib/at-spi2-core/at-spi-bus-launcher
aljosa    4131  0.0  0.0  23852  1548 ?        S    May06   0:00 /bin/dbus-daemon --config-file=/etc/at-spi2/accessibility.conf --nofork --print-address 3
aljosa    4134  0.0  0.0 124728  3384 ?        Sl   May06   0:00 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
root      5575  0.0  0.0      0     0 ?        S    01:52   0:18 [kworker/2:0]
root      6179  0.0  0.0      0     0 ?        S<   01:54   0:00 [hci0]
root      9329  0.0  0.0      0     0 ?        S    04:59   0:01 [flush-8:0]
root      9353  0.0  0.0      0     0 ?        S    05:18   0:26 [kworker/1:2]
root      9955  0.0  0.0      0     0 ?        S    10:25   0:14 [kworker/3:0]
aljosa   10297  0.0  0.1 187960 13584 ?        S    10:26   0:00 /usr/lib/kde4/libexec/kio_http_cache_cleaner
root     11007  0.0  0.0      0     0 ?        S    14:09   0:00 [migration/1]
root     11008  0.0  0.0      0     0 ?        S    14:09   0:00 [migration/2]
root     11009  0.0  0.0      0     0 ?        S    14:09   0:00 [migration/3]
root     11010  0.0  0.0      0     0 ?        S    14:09   0:00 [irq/43-mei]
root     11028  0.0  0.0      0     0 ?        S    14:09   0:00 [kworker/u:42]
root     11076  0.0  0.0  22132  1332 ?        S    14:09   0:00 /sbin/udevd --daemon
root     11077  0.0  0.0  22132  1324 ?        S    14:09   0:00 /sbin/udevd --daemon
root     11407  0.0  0.0  10240  3752 ?        S    14:09   0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /run/sendsigs.omit.d/network-manager.dhclient-eth0.pid -lf /var/lib/NetworkManager/dhclient-7b8f4360-4437-4841-899e-396b6d6da7e6-eth0.lease -cf /var/lib/NetworkManager/dhclient-eth0.conf eth0
root     12425  0.0  0.0      0     0 ?        S    15:20   0:00 [kworker/3:2]
root     12850  0.0  0.0      0     0 ?        S    15:28   0:00 [kworker/1:0]
aljosa   13514  1.0  0.4 521936 32792 ?        Sl   16:38   0:32 /usr/bin/konsole
aljosa   13517  0.0  0.0  22484  3888 pts/2    Ss   16:38   0:00 /bin/bash
aljosa   13665  0.1  0.3 530976 28068 ?        Sl   16:40   0:03 /usr/bin/gvim -f
aljosa   13668  0.0  0.0  53896  3712 ?        S    16:40   0:00 /usr/lib/x86_64-linux-gnu/gconf/gconfd-2
aljosa   13788  0.5  0.5 561100 47812 ?        Sl   16:44   0:16 /usr/bin/konversation -caption Konversation --icon konversation
aljosa   15890  0.0  0.0  22460  3848 pts/3    Ss   16:52   0:00 /bin/bash
root     16143  0.0  0.0      0     0 ?        S    16:55   0:00 [kworker/0:2]
aljosa   16885  0.0  0.0 385248  5848 ?        Sl   17:13   0:00 /usr/lib/gvfs/gvfsd-http --spawner :1.52 /org/gtk/gvfs/exec_spaw/0
root     16907  0.0  0.0      0     0 ?        S    17:13   0:00 [kworker/u:0]
root     16957  0.1  0.0      0     0 ?        S    17:20   0:01 [kworker/0:1]
root     16967  0.0  0.0      0     0 ?        S    17:26   0:00 [kworker/0:0]
root     17677  0.0  0.0  60484  2272 pts/2    S    17:27   0:00 sudo su -
root     17681  0.0  0.0  61988  1752 pts/2    S    17:27   0:00 su -
root     17691  0.1  0.0  22208  3560 pts/2    S    17:27   0:00 -su
root     18798  0.0  0.0   4712  1004 pts/2    S+   17:30   0:00 sh bootstrap-salt.sh -D
root     18817  0.0  0.0   7212   692 pts/2    S+   17:30   0:00 tee /tmp/bootstrap-salt.log
aljosa   18948  0.0  0.0   7240   628 pts/3    S+   17:30   0:00 tail salt-bootstrap-ubuntu-13.04.log -f
root     19175  0.0  0.0  18452  1320 pts/2    R+   17:31   0:00 ps auxwww
 * DEBUG: Removing the logging pipe /tmp/bootstrap-salt.logpipe
 * DEBUG: Killing logging pipe tee's with pid(s): 18817
s0undt3ch commented 11 years ago

Thanks for the report. What command line arguments were you using? Just -D?

aljosa commented 11 years ago

@s0undt3ch yes, i was reading http://docs.saltstack.com/topics/tutorials/quickstart.html and copied: $ wget -O - http://bootstrap.saltstack.org | sudo sh

then added "-D" for this report

s0undt3ch commented 11 years ago

Thanks! I'll see what's going on.

aljosa commented 11 years ago

@s0undt3ch don't know why this issue was closed, it still doesn't work on ubuntu 13.04 for me:

`
 *  INFO: Running daemons_running()
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
nohup: ignoring input
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Guessing ID. The id can be explicitly in set /etc/salt/minion
[INFO    ] Found minion id from getfqdn(): fakanana
[INFO    ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "fakanana"
[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/python2.7/dist-packages/salt/grains']
[DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
Traceback (most recent call last):
  File "/usr/bin/salt-minion", line 14, in <module>
    salt_minion()
  File "/usr/lib/python2.7/dist-packages/salt/scripts.py", line 29, in salt_minion
    minion.start()
  File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 195, in start
    self.prepare()
  File "/usr/lib/python2.7/dist-packages/salt/__init__.py", line 183, in prepare
    self.minion = salt.minion.Minion(self.config)
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 236, in __init__
    opts.update(resolve_dns(opts))
  File "/usr/lib/python2.7/dist-packages/salt/minion.py", line 71, in resolve_dns
    ret['master_ip'] = salt.utils.dns_check(opts['master'], True, opts['ipv6'])
  File "/usr/lib/python2.7/dist-packages/salt/utils/__init__.py", line 327, in dns_check
    socket.SOCK_STREAM)
socket.error: [Errno 2] No such file or directory
 * DEBUG: Running salt-minion by hand outputs: 
 * DEBUG: DEAMON LOGS for minion:
 * DEBUG: 2013-05-20 23:30:41,481 [salt             ][INFO    ] Setting up the Salt Minion "fakanana"
2013-05-20 23:30:41,484 [salt.utils.process][DEBUG   ] Created pidfile: /var/run/salt-minion.pid
2013-05-20 23:30:41,485 [salt.utils.process][DEBUG   ] Chowned pidfile: /var/run/salt-minion.pid to user: root
2013-05-20 23:30:41,486 [salt.config      ][DEBUG   ] Reading configuration from /etc/salt/minion
2013-05-20 23:30:41,578 [salt.loader      ][DEBUG   ] loading grain in ['/var/cache/salt/minion/extmods/grains', '/usr/lib/python2.7/dist-packages/salt/grains']
2013-05-20 23:30:41,579 [salt.loader      ][DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
s0undt3ch commented 11 years ago

This should be fixed with the develop version of salt, try passing -D git develop to the bootstrap script.

ghost commented 11 years ago

I'm having the same problem.

First I fixed a problem with upstart like this (I googled it, I don't know the details, something about virtual machines):

dpkg-divert --local --rename --add /sbin/initctl
ln -s /bin/true /sbin/initctl

This is the output:

./saltstack.sh -D git develop
...
running install_egg_info
Writing /usr/lib/python2.7/dist-packages/salt-0.16.0_992_gd6b1e60.egg-info
 *  INFO: Running install_ubuntu_git_post()
 * DEBUG: There's upstart support
 *  INFO: Running install_ubuntu_restart_daemons()
 * DEBUG: There's upstart support while checking salt-minion
 * DEBUG: Upstart apparently knows about salt-minion
 *  INFO: Running daemons_running()
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
nohup: ignoring input
[DEBUG   ] Reading configuration from /etc/salt/minion
[DEBUG   ] Guessing ID. The id can be explicitly in set /etc/salt/minion
[INFO    ] Found minion id from getfqdn(): f1743243722b
[INFO    ] Configuration file path: /etc/salt/minion
[INFO    ] Setting up the Salt Minion "f1743243722b"
[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/python2.7/dist-packages/salt/grains']
[DEBUG   ] Skipping /var/cache/salt/minion/extmods/grains, it is not a directory
[WARNING ] Although 'dmidecode' was found in path, the current user cannot execute it. Grains output might not be accurate.
[ERROR   ] This master address: 'salt' was previously resolvable but now fails to resolve! The previously resolved ip addr will continue to be used
[WARNING ] Master hostname: salt not found. Retrying in 30 seconds
[ERROR   ] This master address: 'salt' was previously resolvable but now fails to resolve! The previously resolved ip addr will continue to be used
[WARNING ] Master hostname: salt not found. Retrying in 30 seconds
[ERROR   ] This master address: 'salt' was previously resolvable but now fails to resolve! The previously resolved ip addr will continue to be used
[WARNING ] Master hostname: salt not found. Retrying in 30 seconds
[ERROR   ] This master address: 'salt' was previously resolvable but now fails to resolve! The previously resolved ip addr will continue to be used
[WARNING ] Master hostname: salt not found. Retrying in 30 seconds