Skip to content
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

删除【资产管理-管理用户】中的用户后【资产管理-主机管理】SSH功能无法使用 #38

Open
0312birdzhang opened this issue Apr 24, 2020 · 0 comments

Comments

@0312birdzhang
Copy link

由于主机已经关联了管理用户,在被删除后导致无法为空置。

应该判断已经被绑定到主机上的时候不能删除。

具体的错误如下:

==> cmdb.log <==
2020-04-24 16:47 +08:00: [I 200424 16:47:56 web:2250] 304 GET /v1/cmdb/server/?page=1&limit=15 (127.0.0.1) 31.26ms
2020-04-24 16:47 +08:00: [I 200424 16:47:56 web:2250] 304 GET /v1/cmdb/tag/?start_date=&end_date= (127.0.0.1) 18.98ms
2020-04-24 16:47 +08:00: [I 200424 16:47:56 web:2250] 304 GET /v1/cmdb/admin_user/ (127.0.0.1) 18.90ms
2020-04-24 16:47 +08:00: [I 200424 16:47:56 web:2250] 304 GET /v1/cmdb/tree/ (127.0.0.1) 15.14ms
2020-04-24 16:47 +08:00: [I 200424 16:47:57 web:2250] 304 GET /v1/cmdb/idc/ (127.0.0.1) 10.63ms
2020-04-24 16:48 +08:00: PROGRESS:YWVcf4gmoBWGLKwt4eV9E8 ERROR      2020-04-24 16:48:00,949 logger_key                read_log                       LINE.NO: 67   : 解析的时候出错:list index out of range
2020-04-24 16:48 +08:00: [E 200424 16:48:00 web_logs:67] 解析的时候出错:list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant