Commit Graph
1759 Commits
Author SHA1 Message Date
zhaoxiangchun df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
yunion-ci-robot d1245f63f7 Merge pull request #8434 from ioito/hotfix/qx-panic-log
fix: add panic log for worker task
2020-11-27 20:09:47 +08:00
Qu Xuan 5cba23d8cf fix: add panic log for worker task 2020-11-27 19:36:44 +08:00
Zexi Li 24592f0641 Merge pull request #9033 from lvyangyang/bucket_acl
feat(region): set qcloud bucket policy
2020-11-27 16:29:43 +08:00
lvyangyang 1591f0ab81 feat(region): set qcloud bucket policy 2020-11-27 14:33:58 +08:00
yunion-ci-robot 21c716d2ba Merge pull request #9024 from ioito/hotfix/qx-cloudid-role-name
fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Qu Xuan 1e5014aa41 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:36:59 +08:00
Yousong Zhou 1c39030edb feat(netutils2): add MyIPTo 2020-11-26 16:53:39 +08:00
yunion-ci-robot 4a8eafbc0a Merge pull request #8895 from ioito/hotfix/qx-password-check
fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 09:58:15 +08:00
Zexi Li 415ab23f9d Merge pull request #8896 from swordqiu/hotfix/qj-oidc-get-data-from-body
fix: oidc data may be encapuslated in data field
2020-11-22 12:05:30 +08:00
Qiu Jian 95db19f104 fix(keystone): oidc data may be encapuslated in data field
兼容一些oidc实现,返回数据包裹在data字段里
2020-11-22 11:51:01 +08:00
Qu Xuan 0da66b071e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-21 23:58:25 +08:00
spike.lv eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
Qu Xuan 06581ad1a5 fix: optimized jsonRequest 2020-11-19 12:02:55 +08:00
zhaoxiangchun 357dd4e698 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:19:34 +08:00
yunion-ci-robot d3b892d728 Merge pull request #8697 from ioito/feature/qx-saml-support
feature: saml for cloudid
2020-11-18 11:21:08 +08:00
Qu Xuan d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
lvyangyang 8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
lvyangyang da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
Qiu Jian 0beee87db3 feature: allow specify offset in name pattern 2020-11-05 16:48:43 +08:00
Qiu Jian 354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
yunion-ci-robot 128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
Qiu Jian 2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian adbf513167 fix: missing authenticate action log for user web login 2020-10-19 11:53:26 +08:00
Qu Xuan 65582cab95 fix: hostname for instance 2020-10-16 17:12:17 +08:00
Zexi Li f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
wanyaoqi dcdf45d184 add interface freeze virtual resource 2020-10-10 20:07:11 +08:00
Qiu Jian be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
Yousong Zhou ca8fcb3364 logclient: i18n: en for const 2020-09-21 15:20:46 +08:00
Yousong Zhou 08ef1728d6 logclient: i18n: cn for const 2020-09-21 15:20:46 +08:00
Yousong Zhou 31cea0a736 logclient: convert const val to use latin chars 2020-09-21 15:20:46 +08:00
Yousong Zhou 7f90da555e logclient: move ws list to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou ee7b9e2877 logclient: separate lines 2020-09-21 15:20:45 +08:00
Yousong Zhou d21c262c14 httputils: preserve format val types 2020-09-21 10:12:57 +08:00
yunion-ci-robot e805d0be45 Merge pull request #7975 from swordqiu/hotfix/qj-dell-idrac-jnlp-revisit
fix: get jnlp xml from dell idrac6,7,9
2020-09-21 10:12:18 +08:00
Qiu Jian b5f01171dd fix: reset user password without check 2020-09-19 00:48:53 +08:00
Qiu Jian eea88ffbe6 fix: get jnlp xml from dell idrac6,7,9 2020-09-18 23:45:24 +08:00
Qiu Jian 5a91ae8863 fix: omit empty fail reason 2020-09-16 01:53:29 +08:00
wanyaoqi 945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
Qiu Jian f6eb9fc195 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:55:22 +08:00
Qu Xuan f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
Jian QiuandQiu Jian d0842c62cc fix: http error limit request body length (#7699)
fix: http error limit request body length

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:21:39 +08:00
wanyaoqi f255e8fcd0 fix mount fetcher fs (#7656) 2020-08-28 12:06:33 +08:00
wanyaoqi 7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
zhaoxiangchun dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息

description api modify:

3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤

* 统一监控功能:

1.模版调整:
 1)修改email template
 2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
 3)简化消息体中的tag信息:name,ip,brand,value

2.增加报警历史记录
 1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +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
Yousong Zhou c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
Zexi Li 479d7e2be1 Merge pull request #7615 from swordqiu/hotfix/qj-get-default-http-client-always-new-instance
fix: GetDefaultClient always return a new http client instance
2020-08-24 22:17:41 +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 3762df8087 fix: GetDefaultClient always return a new http client instance 2020-08-22 20:07:09 +08:00