Commit Graph
142 Commits
Author SHA1 Message Date
Qu Xuan 21820fe2d8 fix(cloudid): add <br> for notify templete 2020-12-21 20:41:02 +08:00
wanyaoqi 948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Qu Xuan fc0f05286f feat(cloudid): notify clouduser created 2020-12-02 14:28:14 +08:00
zhaoxiangchun dcdf3a1281 fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:29:49 +08:00
zhaoxiangchun 68dfa8a8c8 fix(monitor): modify notify alertInfo and alertOk detach resource
1.修复报警信息中>等被转义的问题
2.针对:host_raid.adapter和smart_device.exit_status
  只能出现alerting和nodata
两种报警状态。在queryCondition的查询逻辑下,nodata情况也进行detach操作
3.修复报警记录中报警策略翻译异常的问题
2020-11-23 21:32:15 +08:00
zhaoxiangchun c39540d5ca commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:18:25 +08:00
rainzm d3aae00092 fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:24:00 +08:00
Qiu Jian 2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
yunion-ci-robot b43c3780b8 Merge pull request #8325 from wanyaoqi/feature/wyq/report-raid-info
telegraf raid plugin
2020-10-17 13:49:47 +08:00
wanyaoqi 225f3b21c1 telegraf raid plugin 2020-10-17 10:59:19 +08:00
wanyaoqi bc26bdb8fb fix host-deployer base image 2020-10-13 16:57:48 +08:00
yunion-ci-robot 91a7e10e88 Merge pull request #8213 from zhaoxiangchun/bugfix/zxc-commonalert
Bugfix/zxc commonalert
2020-10-10 17:11:18 +08:00
Zhang Dongliang eda8be1be8 esxi-agent 编译方式兼容 arm64 2020-10-10 14:56:59 +08:00
zhaoxiangchun 3d9923a7c0 Add web url to alarm template 2020-10-10 14:50:00 +08:00
Zhang Dongliang 0b3afa9ebe multi-arch 的镜像使用使用支持 arm64 2020-09-29 19:15:17 +08:00
Zhang Dongliang 65e3900ea4 multi-arch 的镜像使用使用支持 arm64 2020-09-29 14:37:25 +08:00
yunion-ci-robot 20009e74bc Merge pull request #8051 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix 3.4
2020-09-24 10:24:19 +08:00
zhaoxiangchun 475c81c58c commonalert bugfix 3.4 2020-09-23 21:41:13 +08:00
Zhang Dongliang 5db1fa686e fix esxi-agent dockerfile typo 2020-09-23 18:55:24 +08:00
zhaoxiangchun f58bca93db common alert bugfix/3.4 2020-09-22 11:36:17 +08:00
yunion-ci-robot cf1b5fb675 Merge pull request #7988 from wanyaoqi/bugfix/wyq/fix=host-deployer-base-image
bugfix: fix host deployer base image
2020-09-21 18:33:16 +08:00
wanyaoqi 1fc5bac7fa fix host deployer base image 2020-09-21 17:28:50 +08:00
yunion-ci-robot 0800ee7b90 Merge pull request #7941 from zhaoxiangchun/feature/zxc-suggest-3.4
suggest rule modify:
2020-09-16 21:42:20 +08:00
zhaoxiangchun 9a2267230d suggest rule modify:
1.规则由后端初始化,默认禁用
2.规则period默认为12h,扫描范围timeFrom默认为14d
3.增加notify相关的模版文件
4.更改消息重复发送的问题
2020-09-16 12:08:03 +08:00
rainzm ac438282a5 feat(region): divide notify templates into Chinese and English versions
Chinese version: content@cn, title@cn
English version: content@en, title@en
2020-09-14 15:30:20 +08:00
rainzm 654c517240 feat(region): replace 虚拟机 with 主机 or 云主机 2020-09-14 15:16:03 +08:00
wanyaoqi 70f953dee8 update host deployer base image version 2020-08-28 20:17:47 +08:00
wanyaoqi 75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi c1cf728995 fix github action workflow (#7635) 2020-08-26 13:21:34 +08:00
Zexi Li 42118fc743 Merge pull request #7603 from wanyaoqi/feature/wyq/arm-build
feature: docker build support buildx and arm architecture
2020-08-26 10:45:51 +08:00
Rain Zheng 853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00
wanyaoqi 6b944626b7 docker build support buildx and arm architecture 2020-08-25 16:13:57 +08:00
wanyaoqi a4b27a3cf3 feature:host image fetcher fs (#7606)
* temp

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

remove temp code
2020-08-24 22:09:33 +08:00
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Yousong Zhou 28ad028d81 build: ansibleserver: use native alpine, include openssh 2020-07-16 17:59:12 +08:00
rainzm 81784aea3a Update docker image onecloud-base and its references 2020-07-06 20:53:36 +08:00
rainzm f909a1d2c0 Update Dockerfile.ansibleserver 2020-07-03 17:22:51 +08:00
Qiu Jian c302622415 add known sp metadata xml 2020-06-22 20:09:36 +08:00
Qu Xuan a07b112be1 feature: CloudId服务支持 2020-06-21 11:30:01 +08:00
rainzm 109bdc05d8 fix: Fix problems about sending verify email 2020-06-18 19:03:13 +08:00
Zexi Li 39244cce50 Merge pull request #6364 from yousong/feature/yousong-eip
Feature/yousong eip
2020-06-03 17:23:24 +08:00
rainzm 156ef6bd2e feat: Logo and copyright in verify email are same with these in company
info
2020-06-02 20:52:06 +08:00
rainzm 9374c65a8f fix(notify): Remove default mobile template 2020-05-29 18:48:02 +08:00
Yousong Zhou 2353396013 build: docker: use openvswitch:2.10.4-0 2020-05-28 15:51:21 +08:00
rainzm c706cfa272 feat(notify): Change the format of verify email 2020-05-21 19:12:52 +08:00
Rain 1fbfc7f220 feat/ansibleserver: Install git in Dockerfile.ansibleserver-base 2020-05-09 17:54:00 +08:00
wanyaoqi cc3a2da1a8 fix host-deployer base 2020-04-02 18:02:32 +08:00
Zexi Li 14c1f1e5bd action: add region dns image 2020-03-30 14:49:03 +08:00
Yousong Zhou 5c2b91b9fa region: lbagent: move systemd service unit file to system dir 2020-03-27 15:30:42 +08:00
Rain 5fdf9846f7 feat: Unified template 2020-03-19 15:57:48 +08:00