V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
yuedingwangji
V2EX  ›  Linux

salt-minion 启动报错“ global name 'RSA' is not defined”

  •  
  •   yuedingwangji · 2016-03-11 11:09:52 +08:00 · 3796 次点击
    这是一个创建于 3180 天前的主题,其中的信息可能已经有所发展或是发生改变。

    最近折腾 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 path: /etc/salt/minion
    [WARNING ] Insecure logging configuration detected! Sensitive data may be logged.
    [INFO ] Setting up the Salt Minion "GDZJ-MS-MMDS-SV04-GET04"
    [DEBUG ] Created pidfile: /var/run/salt-minion.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 ('/etc/salt/pki/minion', '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-02-24 15:08:26,229 [salt.scripts ][ERROR ][162651] global name 'RSA' is not defined
    2016-02-24 15:08:26,229 [salt.scripts ][WARNING ][162651] ** Restarting minion **
    2016-02-24 15:08:33,523 [salt.scripts ][ERROR ][162671] global name 'RSA' is not defined
    2016-02-24 15:08:33,523 [salt.scripts ][WARNING ][162671] ** Restarting minion **
    2016-02-24 15:08:34,811 [salt.scripts ][ERROR ][162692] global name 'RSA' is not defined
    2016-02-24 15:08:34,812 [salt.scripts ][WARNING ][162692] ** Restarting minion *^C
    2016-02-24 15:08:44,104 [salt.scripts ][ERROR ][162712] global name 'RSA' is not defined
    2016-02-24 15:08:44,105 [salt.scripts ][WARNING ][162712] *
    Restarting minion **
    2016-02-24 15:08:50,394 [salt.scripts ][ERROR ][162732] global name 'RSA' is not defined
    2016-02-24 15:08:50,394 [salt.scripts ][WARNING ][162732] ** Restarting minion **

    大家帮我看看怎么破!

    2 条回复    2016-03-16 03:02:20 +08:00
    fohnwind
        1
    fohnwind  
       2016-03-15 00:12:02 +08:00
    感觉是 openssl 的问题,刚才随手搜了一下,不知道能不能帮到你 http://www.yallonking.com/?p=1428
    yuedingwangji
        2
    yuedingwangji  
    OP
       2016-03-16 03:02:20 +08:00
    @fohnwind 试过加那行代码了 ,还是不行
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2783 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 08:08 · PVG 16:08 · LAX 00:08 · JFK 03:08
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.