FAQ
hi,maillist:
      i install lot of box with salt-minion, two of these boxes get error
when salt-minion start ,the OS is centos6.2 ,i do know know why ,anyone can
help?


# service salt-minion start
Starting salt-minion daemon: Traceback (most recent call last):
   File "/usr/bin/salt-minion", line 6, in <module>
     from salt.scripts import salt_minion
   File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 35, in
<module>
     from salt.utils import migrations
   File "/usr/lib/python2.6/site-packages/salt/utils/__init__.py", line 92,
in <module>
     import salt.minion
   File "/usr/lib/python2.6/site-packages/salt/minion.py", line 60, in
<module>
     import salt.client
   File "/usr/lib/python2.6/site-packages/salt/client/__init__.py", line 42,
in <module>
     import salt.config
   File "/usr/lib/python2.6/site-packages/salt/config.py", line 24, in
<module>
     import salt.crypt
   File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 28, in
<module>
     import salt.payload
   File "/usr/lib/python2.6/site-packages/salt/payload.py", line 32, in
<module>
     if msgpack.loads(msgpack.dumps([1, 2, 3]), use_list=True) is None:
AttributeError: 'module' object has no attribute 'loads'
                                                            [FAILED]

# rpm -qa|grep msgpack
python-msgpack-0.1.13-3.el6.x86_64

--
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

  • Florian Ermisch at Sep 6, 2014 at 7:59 am
    Hi,

    did you install salt from EPEL [0]?
    An up-to-date CentOS 6 should identify as 6.5 nowadays so I guess your OS is outdated and if you installed from source some dependencies might be too old.
    Enabling EPEL and running `yum update` should fix those issues.

    Regards, Florian

    [0] https://fedoraproject.org/wiki/EPEL
    On 5. September 2014 09:30:14 MESZ, ch huang wrote:
    hi,maillist:
    i install lot of box with salt-minion, two of these boxes get error
    when salt-minion start ,the OS is centos6.2 ,i do know know why ,anyone
    can
    help?


    # service salt-minion start
    Starting salt-minion daemon: Traceback (most recent call last):
    File "/usr/bin/salt-minion", line 6, in <module>
    from salt.scripts import salt_minion
    File "/usr/lib/python2.6/site-packages/salt/__init__.py", line 35, in
    <module>
    from salt.utils import migrations
    File "/usr/lib/python2.6/site-packages/salt/utils/__init__.py", line
    92,
    in <module>
    import salt.minion
    File "/usr/lib/python2.6/site-packages/salt/minion.py", line 60, in
    <module>
    import salt.client
    File "/usr/lib/python2.6/site-packages/salt/client/__init__.py", line
    42,
    in <module>
    import salt.config
    File "/usr/lib/python2.6/site-packages/salt/config.py", line 24, in
    <module>
    import salt.crypt
    File "/usr/lib/python2.6/site-packages/salt/crypt.py", line 28, in
    <module>
    import salt.payload
    File "/usr/lib/python2.6/site-packages/salt/payload.py", line 32, in
    <module>
    if msgpack.loads(msgpack.dumps([1, 2, 3]), use_list=True) is None:
    AttributeError: 'module' object has no attribute 'loads'
    [FAILED]

    # rpm -qa|grep msgpack
    python-msgpack-0.1.13-3.el6.x86_64

    --
    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 @
postedSep 5, '14 at 7:30a
activeSep 6, '14 at 7:59a
posts2
users2

2 users in discussion

Ch huang: 1 post Florian Ermisch: 1 post

People

Translate

site design / logo © 2022 Grokbase