Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2015.8.0rc1] salt-bootstrap fails to install salt master #25456

Closed
ghost opened this issue Jul 15, 2015 · 4 comments
Closed

[2015.8.0rc1] salt-bootstrap fails to install salt master #25456

ghost opened this issue Jul 15, 2015 · 4 comments
Labels
Duplicate Duplicate of another issue or PR - will be closed

Comments

@ghost
Copy link

ghost commented Jul 15, 2015

Here the following command used:

curl -s -L https://bootstrap.saltstack.com | sudo sh -s -- -U -P -p python-jinja2 -A master git v2015.8.0rc1

The output about the error:

salt-minion start/running, process 24308
 *  INFO: Running daemons_running()
 * ERROR: salt-minion was not found running
 * ERROR: Failed to run daemons_running()!!!
 * ERROR: salt-minion was not found running.

Any idea?

Maybe a link with this issue: #25270

@tbaker57
Copy link
Contributor

Not sure if this is the same issue, but I'm also having trouble installing a salt-master for 2015.8 rc1 using salt-bootstrap.

sh install_salt.sh -M -g https://github.com/saltstack/salt.git git v2015.8.0rc1

Output

...
 *  INFO: Running install_centos_restart_daemons()
Starting salt-minion daemon:                               [  OK  ]
Starting salt-master daemon: Traceback (most recent call last):
  File "/usr/bin/salt-master", line 22, in <module>
    salt_master()
  File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 47, in salt_master
    master.start()
  File "/usr/lib/python2.6/site-packages/salt/cli/daemons.py", line 150, in start
    self.prepare()
  File "/usr/lib/python2.6/site-packages/salt/cli/daemons.py", line 131, in prepare
    self.master = salt.master.Master(self.config)
  File "/usr/lib/python2.6/site-packages/salt/master.py", line 326, in __init__
    SMaster.__init__(self, opts)
  File "/usr/lib/python2.6/site-packages/salt/master.py", line 100, in __init__
    self.master_key = salt.crypt.MasterKeys(self.opts)
  File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 205, in __init__
    self.key = self.__get_keys()
  File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 256, in __get_keys
    key = RSA.importKey(f.read())
NameError: global name 'RSA' is not defined

M2Crypto is definitely installed

[root@dev ~]# salt --versions-report
Salt Version:
           Salt: 2015.8.0rc1

Dependency Versions:
         Jinja2: unknown
       M2Crypto: 0.20.2
           Mako: Not Installed
         PyYAML: 3.10
          PyZMQ: 14.3.1
         Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
           RAET: Not Installed
        Tornado: 4.1
            ZMQ: 3.2.5
          ioflo: Not Installed
        libnacl: Not Installed
   msgpack-pure: Not Installed
 msgpack-python: 0.4.6
       pycrypto: 2.0.1

System Versions:
           dist: centos 6.6 Final
        machine: x86_64
        release: 2.6.32-504.23.4.el6.x86_64
         system: CentOS 6.6 Final

@tbaker57
Copy link
Contributor

Forgot to add - the same bootstrap command above works fine using the 2015.5.3 tag.

Cheers
Tim

@s0undt3ch
Copy link
Collaborator

@tbaker57 that seems like a different issue, maybe a not recent enough PyCrypto. Could you please open another issue for that?

@jfindlay jfindlay added the Duplicate Duplicate of another issue or PR - will be closed label Jul 16, 2015
@jfindlay
Copy link
Contributor

Duplicate of #25270.

s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Jul 17, 2015
* Make sure setuptools is installed before using it. saltstack/salt-bootstrap#598.
* `systemd` is only fully supported from 15.04 onwards. saltstack/salt-bootstrap#602
* Fix debian mirrors issue. Thanks Wolodja Wentland(babilen). saltstack/salt-bootstrap#606
* Fix python-jinja2 repo move on RHEL6. Thanks lomeroe. saltstack/salt-bootstrap#621
* Allow skipping services. Thanks denmat. saltstack/salt-bootstrap#455
* Fix missing Debian init script. saltstack/salt-bootstrap#607 saltstack#25270 and saltstack#25456
* Fix SmartOS etc path. Thanks Bret Fisher. saltstack/salt-bootstrap#624
* Fix possible unbound variable in Gentoo. saltstack/salt-bootstrap#625
* Properly detect the git binary in SmartOS. saltstack/salt-bootstrap#611
s0undt3ch added a commit to s0undt3ch/salt that referenced this issue Jul 17, 2015
* Make sure setuptools is installed before using it. saltstack/salt-bootstrap#598.
* `systemd` is only fully supported from 15.04 onwards. saltstack/salt-bootstrap#602
* Fix debian mirrors issue. Thanks Wolodja Wentland(babilen). saltstack/salt-bootstrap#606
* Fix python-jinja2 repo move on RHEL6. Thanks lomeroe. saltstack/salt-bootstrap#621
* Allow skipping services. Thanks denmat. saltstack/salt-bootstrap#455
* Fix missing Debian init script. saltstack/salt-bootstrap#607 saltstack#25270 and saltstack#25456
* Fix SmartOS etc path. Thanks Bret Fisher. saltstack/salt-bootstrap#624
* Fix possible unbound variable in Gentoo. saltstack/salt-bootstrap#625
* Properly detect the git binary in SmartOS. saltstack/salt-bootstrap#611
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue or PR - will be closed
Projects
None yet
Development

No branches or pull requests

3 participants