opendevops-cn / codo-cmdb Goto Github PK
View Code? Open in Web Editor NEW旨在提供统一的云资源和日常操作管控,解决了在运维多云、多账号、多业务、多地域的情况下所面临的差异化操作挑战。用户可以轻松地管理跨多个云服务提供商、多个账号、多个业务线以及多个地域的云资源。实现了资源层面的运维流程标准化,提高运维效率并降低操作复杂度。
Home Page: http://www.opendevops.cn/
旨在提供统一的云资源和日常操作管控,解决了在运维多云、多账号、多业务、多地域的情况下所面临的差异化操作挑战。用户可以轻松地管理跨多个云服务提供商、多个账号、多个业务线以及多个地域的云资源。实现了资源层面的运维流程标准化,提高运维效率并降低操作复杂度。
Home Page: http://www.opendevops.cn/
如果能提供api供调用那就更加方便灵活了,可以通过调用api向cmdb自动更新数据,包括那个db管理,也可以通过这样实现自动更新数据
the default id and pw of the demo,what?
[需求] 资产管理的标签管理应与作业配置的标签树同步
如果只增加几个标签 ,两个标签手动加还好,一旦遇到增加上百上千依靠人工手动加标签,不太靠谱,关键是要加两遍.没有必要,做了同步的话,只需要通过接口增加1次,加上同步就解决此问题.
版本:0.3
部署方式:虚拟机跑docker
环境描述:
以项目为单位,孵化的各个环境的虚拟机,如 python-test-web项目,如要孵化测试环境的虚拟机,则主机名为python-test-web.xxxxxxx.test.xxxx,每个虚拟机的id都是不同的.
问题现象:
10.200.3.200 是第一次添加的主机,添加完成点击 资产更新 ,没有问题,此时主机名已经被截断,如图;
10.200.8.6 是第二次添加的主机,绝对不同于10.200.3.200的 资产信息,点击资产更新报错,如图:
此时,因第一次添加的主机在资产更新时 主机名被截断,导致添加第二台主机(相同前缀的主机名,后缀每个主机都不一样)报主键重复.
请修复此BUG.
如题,ssh默认集成了webterminal,webterminal本身有操作审计,集成到codo是否还有,怎么查看?
https://github.com/opendevops-cn/codo-cmdb/blob/master/biz/handlers/asset_tag_handler.py
135行:
db_id_list = data.get('dbs')
178 行:
session.add_all([
DBTag(db_id=i, tag_id=tag_id) for i in db_id_list
])
报错信息:
TypeError: 'NoneType' object is not iterable
由于主机已经关联了管理用户,在被删除后导致无法为空置。
应该判断已经被绑定到主机上的时候不能删除。
具体的错误如下:
==> 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
Demo体验的用户名和密码是什么啊
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.