首頁  >  問答  >  主體

centos - salt-minion 啟動錯誤“ global name 'RSA' is not defined”

最近折騰salt-minion ,用的是綜合安裝(胡亂安裝,有些是源碼,有些是RPM 包安裝),終於裝完所有包,啟動的時候卻提示
salt-minion -l debug 提示:
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Using cached minion ID from /etc/salt/minion_id: GDZJ-MS-MMDS-SV04-GET04
[DEBUG ] Configuration file alt: /etc/s [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
[INFO ] Setting up the Salt Minion "GDZJ-MS-MMDS-SV04-GET04"
[DEBUG ] Created pidfile: /run/run/salt. pid
[DEBUG ] Reading configuration from /etc/salt/minion
[DEBUG ] Attempting to authenticate with the Salt Master at 192.168.70.1
[DEBUG ] Initializing new SAuth for ('/cmin/mins' GDZJ-MS-MMDS-SV04-GET04', 'tcp://192.168.70.1:4506')
[INFO ] Generating keys: /etc/salt/pki/minion
[INFO ] The salt minion is shut down
[ ERROR ] global name 'RSA' is not defined
[WARNING ]
Restarting minion [INFO ] Sleeping random_reauth_delay of 6 seconds
日誌的提示:
016-028 name 'RSA' is not defined
2016-02-24 15:08:26,229 salt.scripts [162651]
Restarting minion 2016-02-24 15:08:3335267:33, gscript77:333577:330057:330, gscripts7], g577:3330577:330057:33005755757; is not defined
2016-02-24 15:08:33,523 salt.scripts [162671]
Restarting minion 2016-02-24 15:08:34,81
2016-02-24 15:08:34,811
2016-02-24 15:08:34011 2016-02-24 15:08:34,812 salt.scripts [162692] * Restarting minion
^C
2016-02-24 15:08:44,104 salt.scripts [162025s [162024,104 salt.5] -02-24 15:08:44,105 salt.scripts [162712] Restarting minion *
2016-02-24 15:08:50,394 salt.scripts [162732] gfinbal 300,394 salt。 24 15:08:50,394 salt.scripts [162732]
Restarting minion 求破!

PHPzPHPz2732 天前1076

全部回覆(1)我來回復

  • 淡淡烟草味

    淡淡烟草味2017-04-26 09:02:52

    salt-minion啟動時需要使用到RSA,可以測試一下:

    #python
    >>>from M2Crypto import RSA

    是否一樣的報錯,如果是,請安裝

    yum install m2crypto

    ,如果已經安裝,可能是你python的環境發生了變化,請測試好m2crypto模組就可以了

    回覆
    0
  • 取消回覆