FAQ
Very strange.

Can you open a python shell and try running `from Crypto.Cipher import AES`
please?

--
Colton Myers

On Fri, Jun 27, 2014 at 7:32 PM, Charles Baker wrote:

This is initial setup. I only changed the name of the saltmaster from the
default.
On Jun 27, 2014 6:45 PM, "Colton Myers" wrote:

What values have you overridden in your minion configs (/etc/salt/minion)?

--
Colton Myers


On Fri, Jun 20, 2014 at 12:10 PM, Charles Baker <charleshbaker@gmail.com>
wrote:
And here is the output of salt --versions-report.

[root@saltmasterl001 ~]# salt 'SomeHost*' --versions-report
Salt: 2014.1.4
Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
Jinja2: unknown
M2Crypto: 0.20.2
msgpack-python: 0.1.13
msgpack-pure: Not Installed
pycrypto: 2.0.1
PyYAML: 3.09
PyZMQ: 2.2.0.1
ZMQ: 3.2.4
[root@saltmasterl001 ~]#
On Friday, 20 June 2014 14:02:25 UTC-4, Charles Baker wrote:

Recently installed some salt-minions.

[cbaker1@SomeHost ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.2 (Santiago)
[cbaker1@SomeHost ~]$ rpm -qa | grep salt
salt-2014.1.4-1.el6.noarch
salt-minion-2014.1.4-1.el6.noarch
[cbaker1@SomeHost ~]$

They appeared to be starting but weren't really. When I started in the
foreground in debug mode I got the following. Other than upgrading the OS,
which I can't do for business reasons, any suggestions?

[root@SomeHost ~]# service salt-minion start
Starting salt-minion daemon: [ OK ]
[root@SomeHost ~]# ps auxwww | grep salt
root 24780 0.0 0.0 103292 868 pts/0 S+ 17:39 0:00 grep
salt
[root@SomeHost ~]# salt-minion -l debug
[DEBUG ] Reading configuration from /etc/salt/minion
[INFO ] Using cached minion ID from /etc/salt/minion_id:
eamappl016.dc4.hosting.infor.com
[DEBUG ] Configuration file path: /etc/salt/minion
[INFO ] Setting up the Salt Minion "eamappl016.dc4.hosting.infor.com
"
[DEBUG ] Created pidfile: /var/run/salt-minion.pid
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] The `dmidecode` binary is not available on the system. GPU
grains will not be available.
[DEBUG ] Attempting to authenticate with the Salt Master at
172.22.0.91
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[INFO ] Authentication with master successful!
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[DEBUG ] Decrypting the current master AES key
[DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
[ERROR ] An un-handled exception was caught by salt's global
exception handler:
NameError: global name 'AES' is not defined
Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 35, in
salt_minion
minion.start()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 221,
in start
self.prepare()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 209,
in prepare
self.minion = salt.minion.Minion(self.config)
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 549, in
__init__
opts['environment'],
File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py",
line 73, in compile_pillar
ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load,
dictkey='pillar', tries=3, timeout=7200)
File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py",
line 59, in crypted_transfer_decode_dictentry
ret = self.sreq.send('aes', self.auth.crypticle.dumps(load),
tries, timeout)
File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 499, in
dumps
return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 467, in
encrypt
cypher = AES.new(aes_key, AES.MODE_CBC, iv_bytes)
NameError: global name 'AES' is not defined
Traceback (most recent call last):
File "/usr/bin/salt-minion", line 14, in <module>
salt_minion()
File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 35, in
salt_minion
minion.start()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 221,
in start
self.prepare()
File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 209,
in prepare
self.minion = salt.minion.Minion(self.config)
File "/usr/lib/python2.6/site-packages/salt/minion.py", line 549, in
__init__
opts['environment'],
File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py",
line 73, in compile_pillar
ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load,
dictkey='pillar', tries=3, timeout=7200)
File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py",
line 59, in crypted_transfer_decode_dictentry
ret = self.sreq.send('aes', self.auth.crypticle.dumps(load),
tries, timeout)
File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 499, in
dumps
return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 467, in
encrypt
cypher = AES.new(aes_key, AES.MODE_CBC, iv_bytes)
NameError: global name 'AES' is not defined

--
Charles H. Baker
864.990.1297
Knowing is not enough; we must apply. Willing is not enough; we must
do. Bruce Lee
--
You received this message because you are subscribed to the Google
Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • Colton Myers at Jul 11, 2014 at 9:18 pm
    (Also, sorry for my late reply, I've fallen behind on salt-users)

    --
    Colton Myers

    On Fri, Jul 11, 2014 at 3:17 PM, Colton Myers wrote:

    Very strange.

    Can you open a python shell and try running `from Crypto.Cipher import
    AES` please?

    --
    Colton Myers

    On Fri, Jun 27, 2014 at 7:32 PM, Charles Baker wrote:

    This is initial setup. I only changed the name of the saltmaster from the
    default.
    On Jun 27, 2014 6:45 PM, "Colton Myers" wrote:

    What values have you overridden in your minion configs
    (/etc/salt/minion)?

    --
    Colton Myers


    On Fri, Jun 20, 2014 at 12:10 PM, Charles Baker <charleshbaker@gmail.com
    wrote:
    And here is the output of salt --versions-report.

    [root@saltmasterl001 ~]# salt 'SomeHost*' --versions-report
    Salt: 2014.1.4
    Python: 2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
    Jinja2: unknown
    M2Crypto: 0.20.2
    msgpack-python: 0.1.13
    msgpack-pure: Not Installed
    pycrypto: 2.0.1
    PyYAML: 3.09
    PyZMQ: 2.2.0.1
    ZMQ: 3.2.4
    [root@saltmasterl001 ~]#
    On Friday, 20 June 2014 14:02:25 UTC-4, Charles Baker wrote:

    Recently installed some salt-minions.

    [cbaker1@SomeHost ~]$ cat /etc/redhat-release
    Red Hat Enterprise Linux Server release 6.2 (Santiago)
    [cbaker1@SomeHost ~]$ rpm -qa | grep salt
    salt-2014.1.4-1.el6.noarch
    salt-minion-2014.1.4-1.el6.noarch
    [cbaker1@SomeHost ~]$

    They appeared to be starting but weren't really. When I started in the
    foreground in debug mode I got the following. Other than upgrading the OS,
    which I can't do for business reasons, any suggestions?

    [root@SomeHost ~]# service salt-minion start
    Starting salt-minion daemon: [ OK ]
    [root@SomeHost ~]# ps auxwww | grep salt
    root 24780 0.0 0.0 103292 868 pts/0 S+ 17:39 0:00 grep
    salt
    [root@SomeHost ~]# salt-minion -l debug
    [DEBUG ] Reading configuration from /etc/salt/minion
    [INFO ] Using cached minion ID from /etc/salt/minion_id:
    eamappl016.dc4.hosting.infor.com
    [DEBUG ] Configuration file path: /etc/salt/minion
    [INFO ] Setting up the Salt Minion "eamappl016.dc4.hosting.infor.
    com"
    [DEBUG ] Created pidfile: /var/run/salt-minion.pid
    [DEBUG ] Reading configuration from /etc/salt/minion
    [DEBUG ] The `dmidecode` binary is not available on the system. GPU
    grains will not be available.
    [DEBUG ] Attempting to authenticate with the Salt Master at
    172.22.0.91
    [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
    [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
    [DEBUG ] Decrypting the current master AES key
    [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
    [INFO ] Authentication with master successful!
    [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
    [DEBUG ] Decrypting the current master AES key
    [DEBUG ] Loaded minion key: /etc/salt/pki/minion/minion.pem
    [ERROR ] An un-handled exception was caught by salt's global
    exception handler:
    NameError: global name 'AES' is not defined
    Traceback (most recent call last):
    File "/usr/bin/salt-minion", line 14, in <module>
    salt_minion()
    File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 35,
    in salt_minion
    minion.start()
    File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 221,
    in start
    self.prepare()
    File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 209,
    in prepare
    self.minion = salt.minion.Minion(self.config)
    File "/usr/lib/python2.6/site-packages/salt/minion.py", line 549,
    in __init__
    opts['environment'],
    File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py",
    line 73, in compile_pillar
    ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load,
    dictkey='pillar', tries=3, timeout=7200)
    File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py",
    line 59, in crypted_transfer_decode_dictentry
    ret = self.sreq.send('aes', self.auth.crypticle.dumps(load),
    tries, timeout)
    File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 499, in
    dumps
    return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
    File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 467, in
    encrypt
    cypher = AES.new(aes_key, AES.MODE_CBC, iv_bytes)
    NameError: global name 'AES' is not defined
    Traceback (most recent call last):
    File "/usr/bin/salt-minion", line 14, in <module>
    salt_minion()
    File "/usr/lib/python2.6/site-packages/salt/scripts.py", line 35,
    in salt_minion
    minion.start()
    File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 221,
    in start
    self.prepare()
    File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 209,
    in prepare
    self.minion = salt.minion.Minion(self.config)
    File "/usr/lib/python2.6/site-packages/salt/minion.py", line 549,
    in __init__
    opts['environment'],
    File "/usr/lib/python2.6/site-packages/salt/pillar/__init__.py",
    line 73, in compile_pillar
    ret_pillar = self.sreq.crypted_transfer_decode_dictentry(load,
    dictkey='pillar', tries=3, timeout=7200)
    File "/usr/lib/python2.6/site-packages/salt/transport/__init__.py",
    line 59, in crypted_transfer_decode_dictentry
    ret = self.sreq.send('aes', self.auth.crypticle.dumps(load),
    tries, timeout)
    File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 499, in
    dumps
    return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
    File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 467, in
    encrypt
    cypher = AES.new(aes_key, AES.MODE_CBC, iv_bytes)
    NameError: global name 'AES' is not defined

    --
    Charles H. Baker
    864.990.1297
    Knowing is not enough; we must apply. Willing is not enough; we must
    do. Bruce Lee
    --
    You received this message because you are subscribed to the Google
    Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google
    Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send
    an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups
    "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.
    --
    You received this message because you are subscribed to the Google Groups "Salt-users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupsalt-users @
postedJul 11, '14 at 9:17p
activeJul 11, '14 at 9:18p
posts2
users1

1 user in discussion

Colton Myers: 2 posts

People

Translate

site design / logo © 2022 Grokbase