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

新加资产没有推送系统用户 #1713

Open
BackFire opened this Issue Aug 20, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@BackFire

BackFire commented Aug 20, 2018

[简述你的问题]

使用版本

[请提供你使用的Jumpserver版本 0.3.2 或 0.5.0]
1.4.0

问题复现步骤
  1. [步骤1]
  2. [步骤2]
具体表现[截图可能会更好些,最好能截全]

新加一台机器,管理用户是用密钥对登录的,后台日志有记录
2018-08-20 17:07:58 [signals_handler INFO] Asset test(10.2.211.134) create signal received
2018-08-20 17:07:58 [signals_handler DEBUG] Update asset test(10.2.211.134) hardware info
2018-08-20 17:07:58 [signals_handler DEBUG] Test asset test(10.2.211.134) connectability
2018-08-20 17:07:58 [signals_handler DEBUG] Asset node change signal received

硬件信息和连通性测试都ok,资产授权是通过授权到资产所属节点来实现,并没有在添加该资产后单独对资产进行授权。跳板机登录该资产,提示
('Bad authentication type', ['publickey', 'gssapi-keyex', 'gssapi-with-mic']) (allowed_types=['publickey', 'gssapi-keyex', 'gssapi-with-mic'])

登录机器查看,发现没有建立管理用户。几十分钟后依然没有

这种问题经常发生,不知道如何排查诊断,让人非常难受

其他

[注:] 完成后请关闭 issue

@BackFire

This comment has been minimized.

Show comment
Hide comment
@BackFire

BackFire Aug 20, 2018

以前0.3.2版,碰到用户没推送的资产,能手动针对这个资产做推送,多少还能凑合。

BackFire commented Aug 20, 2018

以前0.3.2版,碰到用户没推送的资产,能手动针对这个资产做推送,多少还能凑合。

@ibuler

This comment has been minimized.

Show comment
Hide comment
@ibuler

ibuler Aug 24, 2018

Member

该资产是否在授权规则中?如果没在,则不会触发推送

如果在,添加完资产看看日志,是否有推送Log, 是不是推送失败了

Member

ibuler commented Aug 24, 2018

该资产是否在授权规则中?如果没在,则不会触发推送

如果在,添加完资产看看日志,是否有推送Log, 是不是推送失败了

@BackFire

This comment has been minimized.

Show comment
Hide comment
@BackFire

BackFire Aug 24, 2018

有授权,资产授权是通过授权到资产所属节点来实现,并没有在添加该资产后单独对资产进行授权
后台日志前面贴出了,除此之外没有其他相关日志信息

BackFire commented Aug 24, 2018

有授权,资产授权是通过授权到资产所属节点来实现,并没有在添加该资产后单独对资产进行授权
后台日志前面贴出了,除此之外没有其他相关日志信息

@303563041

This comment has been minimized.

Show comment
Hide comment
@303563041

303563041 Aug 27, 2018

@BackFire 你这个问题解决了吗? 我的升级1.3.3后也有类似问题了,之前用的1.3.0版本都正常。

303563041 commented Aug 27, 2018

@BackFire 你这个问题解决了吗? 我的升级1.3.3后也有类似问题了,之前用的1.3.0版本都正常。

@BackFire

This comment has been minimized.

Show comment
Hide comment
@BackFire

BackFire Aug 27, 2018

@303563041 没解决,暂时用手动推送凑合着

BackFire commented Aug 27, 2018

@303563041 没解决,暂时用手动推送凑合着

@BackFire

This comment has been minimized.

Show comment
Hide comment
@BackFire

BackFire Sep 4, 2018

@ibuler
2018-09-04 14:53:39 [adhoc WARNING] Failed run adhoc 推送系统用户到入资产: 运维, Inventory is empty.

BackFire commented Sep 4, 2018

@ibuler
2018-09-04 14:53:39 [adhoc WARNING] Failed run adhoc 推送系统用户到入资产: 运维, Inventory is empty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment