Commit Graph
1281 Commits
Author SHA1 Message Date
Qiu Jian 0eaf20da26 fix(keystone): panic if request with an invalid token
service report nil pointer panic if request with an invalid token string
2020-12-16 16:43:24 +08:00
yunion-ci-robot 20421f98d6 Merge pull request #9409 from wanyaoqi/feature/wyq/export-tags
feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
wanyaoqi 2675f75c80 feat(region): export user tags support virtual resources 2020-12-14 15:55:05 +08:00
wanyaoqi 8a82407f90 fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:10:57 +08:00
Zexi Li 096115ce5e Merge pull request #9160 from swordqiu/feature/qj-event-log-splitable
feature(cloudcommon): split opslog table
2020-12-11 19:31:06 +08:00
Zexi Li 2782b3d94f Merge pull request #9339 from ioito/hotfix/qx-global-proxy
fix(region,yunionapi,glance): using global proxy
2020-12-11 11:39:45 +08:00
Qiu Jian faf00d8d67 fix(cloudcommon): perform public should check the sharing scope of
resource

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +08:00
Qu Xuan 57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qiu Jian 0a7513cce4 fix(cloudcommon): disable quota check by default
1. add enable_quota_check common option
2. disable quota check by default
3. specify scope of quota limit in OutOfQuota error message
2020-12-10 01:19:06 +08:00
Qiu Jian ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
Zexi Li 152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li 6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
wanyaoqi 92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
Qiu Jian fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +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
Zexi Li 599bf4e622 Merge pull request #9196 from lvyangyang/fix-tag-log
feat(region): add bucket cloud tags support
2020-12-04 16:57:36 +08:00
rainzm 4f8d86cb19 fix(region): remove default value of diskConfig.Medium
在 #8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:57:52 +08:00
lvyangyang d2e5329f33 fix(region): fix modify tags log 2020-12-03 20:00:29 +08:00
Zexi Li 1f41cd9d71 Merge pull request #9135 from ioito/hotfix/qx-cloud-user-notify
feat(cloudid): notify clouduser created
2020-12-03 15:17:05 +08:00
zhaoxiangchun df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
Qu Xuan fc0f05286f feat(cloudid): notify clouduser created 2020-12-02 14:28:14 +08:00
Qu Xuan 54537e65c3 fix(region): code gen api error 2020-12-01 11:26:34 +08:00
Zexi Li d0a2f43484 Merge pull request #9096 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-12-01 09:33:55 +08:00
Yousong Zhou da4c2dcaa4 fix(taskman): SSubTask: set model manager 2020-11-30 23:09:55 +08:00
Zexi Li bb005efe11 Merge pull request #9076 from rainzm/notify/spec_receiver
Notify via contact skip receiver
2020-11-30 21:50:06 +08:00
rainzm 66f373d073 feat(cloudcommon): add NotifyWithContact 2020-11-30 19:58:49 +08:00
rainzm a8ea8b10cc feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 17:45:52 +08:00
Zexi Li 103d72bfae Merge pull request #8575 from yousong/feature/yousong-nas
Feature/yousong  networkaddresses
2020-11-27 20:18:22 +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
Yousong Zhou b271ab4631 db_dispatcher: allow batch create for models without name 2020-11-26 21:18:57 +08:00
Yousong Zhou 1d25083bfe db: interface: manager: add HasName() method 2020-11-26 21:18:57 +08:00
Yousong Zhou 8e2c8feabf db: standalone_anon: empty result for name query 2020-11-26 21:18:57 +08:00
Yousong Zhou 3d53f8dabe db: add standalone_anon 2020-11-26 21:18:57 +08:00
Yousong Zhou 6bf5be5b0b db: add manager methods appliers 2020-11-26 21:18:57 +08:00
Yousong Zhou a57a63bf58 db_dispatcher: delay compute to where needed 2020-11-26 21:18:57 +08:00
Yousong Zhou fd98674c92 db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:18:57 +08:00
Yousong Zhou 6c65eb1ea6 db: virtualjoint: add FilterById on RowId 2020-11-26 21:18:57 +08:00
Yousong Zhou 89361aee27 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:18:57 +08:00
Yousong Zhou 805002005f db: check funcs required by dispatcher 2020-11-26 21:18:57 +08:00
Qiu Jian ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
wanyaoqi 3f8e469438 feat(region/glance): update cpu arch apis
add multi arch resourcebase manager
update multi arch resource list apis

cherrypick: release/3.6
2020-11-26 15:14:03 +08:00
Yousong Zhou 64dc5219f7 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:04 +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
spike.lv eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
Zexi Li c75130fc44 Merge pull request #8827 from rainzm/fix/notifyRobot
Fixs of Notify
2020-11-17 17:51:57 +08:00
rainzm 36dec7baa0 fix: add err handler for notifyRobot 2020-11-17 16:34:12 +08:00
yunion-ci-robot a3f1f77496 Merge pull request #8795 from lvyangyang/lyy/bucket_task
qcloud bucket task
2020-11-16 16:44:05 +08:00