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

常见问题汇总 #266

Open
pycook opened this issue Nov 13, 2023 · 9 comments
Open

常见问题汇总 #266

pycook opened this issue Nov 13, 2023 · 9 comments
Assignees

Comments

@pycook
Copy link
Collaborator

pycook commented Nov 13, 2023

常见问题汇总

@pycook pycook assigned ivonGwy and unassigned ivonGwy Nov 13, 2023
@pycook pycook pinned this issue Nov 13, 2023
@pycook
Copy link
Collaborator Author

pycook commented Nov 13, 2023

如何enable编辑公司信息?

#173

@lxyqwer
Copy link

lxyqwer commented Nov 14, 2023

模型配置-->关系自动发现 如何使用?

@ssrshz
Copy link

ssrshz commented Nov 14, 2023

模型关系,一对一,一对多,多对多是否都支持?注意事项?
这个关乎到如何落地,目前也在测试中,测试好了才能部署生产

@pycook
Copy link
Collaborator Author

pycook commented Nov 14, 2023

模型关系,一对一,一对多,多对多是否都支持?注意事项?
这个关乎到如何落地,目前也在测试中,测试好了才能部署生产

@ssrshz 这些关系本身就支持!但是你想要的在关系视图(服务树)上展现多对多关系,这个不支持,我放到了todo list里,但是不一定很快支持,因为实现起来有一定的复杂度

@pycook pycook assigned pycook and Selina316 and unassigned pycook Nov 14, 2023
@pycook
Copy link
Collaborator Author

pycook commented Nov 14, 2023

模型配置-->关系自动发现 如何使用?

@lxyqwer 文档说明: https://veops.cn/docs/cmdb/auto_discovery/#2_1

@pycook
Copy link
Collaborator Author

pycook commented Nov 16, 2023

本地安装遇到mysql报错: pymysql.err.OperationalError) (1055, "Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column

解决方法: 设置mysql的sql_mode="STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"

image

@pycook
Copy link
Collaborator Author

pycook commented Nov 21, 2023

DB错误: table不存在或者column不存在的问题

执行: flask db-setup && flask common-check-new-columns

@ChineseLiusir
Copy link

安装完登录显示服务器未知错误,请联系管理员

@crezy8
Copy link

crezy8 commented Feb 24, 2024

在测试的几款cmdb中最趁手的就是维易cmdb,是足够了解运维的产品,使用过程也遇到了一些问题想请教。
我想借助模型之间的关联关系创一个以应用为中心的资源拓扑,此时就有一个问题,就是模型关联关系为什么只允许存在一个多对多关系?这个是出于什么考虑。
在我的是用场景中,应用和服务器,应用和数据库都是多对多关系,因为服务器复用,一个服务器会部署多个应用,在一对多的关系中服务器只能关联一个应用,数据库也是同理,这种多对多关系的共享配置我想也是比较常见的。
期待你们的答复!

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

No branches or pull requests

7 participants