Commit Graph
877 Commits
Author SHA1 Message Date
Zexi Li d354f9c26f Merge pull request #10986 from ioito/automated-cherry-pick-of-#10985-upstream-release-3.7
Automated cherry pick of #10985: fix: add tag for databricks vm
2021-05-08 10:36:13 +08:00
Qu Xuan 082d5a9d61 fix: add tag for databricks vm 2021-05-08 09:28:22 +08:00
Yousong Zhou 2e82399204 db: add GetItemDetails 2021-05-07 19:43:15 +08:00
Qu Xuan 909eeeb782 fix(region): tag list key case insensitive 2021-04-27 11:55:33 +08:00
rainzm 702133be51 fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:02:20 +08:00
Qu Xuan 5d88767c9b fix(common): add debug info for lock 2021-04-22 16:10:06 +08:00
Zexi Li e1816106aa fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:53:05 +08:00
rainzm c8d1ac215a fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:45:46 +08:00
Qu Xuan 287d5a5554 fix: actions domain filter by project doamin id 2021-04-12 11:41:54 +08:00
Zexi Li 52213bf234 Merge pull request #10620 from swordqiu/automated-cherry-pick-of-#10619-upstream-release-3.7
Automated cherry pick of #10619: fix(region): remove i18n lock and logs
2021-04-08 10:34:15 +08:00
rainzm e671a218e9 feat(cloudcommon): set TaskNotifyUrl in GetTaskRequestHeader
To support cross-service task callbacks, you must set TaskNotifyUrl,
which is automatically added to TaskRequestHeader here
2021-04-07 18:50:29 +08:00
Qiu Jian 2749d2c708 fix(region): remove i18n lock and logs 2021-04-05 16:39:45 +08:00
Qu Xuan 0c72b07c3a fix: before insert 2021-04-01 21:25:58 +08:00
Qu Xuan d7be39edf8 fix: optimzed tag sync 2021-03-04 17:31:18 +08:00
zhaoxiangchun c068badd36 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:57:14 +08:00
rainzm 7dba32d990 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:45:15 +08:00
Zexi Li 44dff768b2 Merge pull request #10155 from ioito/automated-cherry-pick-of-#10154-upstream-release-3.7
Automated cherry pick of #10154: fix(logger): distinct field optimized for logger
2021-02-05 14:53:41 +08:00
Qu Xuan 14979480e3 fix(logger): distinct field optimized for logger 2021-02-04 21:15:02 +08:00
rainzm 9f927922a4 fix(cloudcommon): use NewGeneralError to construct error 2021-02-04 17:36:11 +08:00
Zexi Li 415ad41da5 Merge pull request #9749 from rainzm/automated-cherry-pick-of-#9723-upstream-release-3.7
Automated cherry pick of #9723: Optimization of vmware network
2021-02-03 18:15:09 +08:00
Qu Xuan 53969f14e2 fix(cloudevent): add distinct filed for cloudevent 2021-02-03 17:50:10 +08:00
rainzm 0aa5c2ef1c feat(region): support merging wire
1. support merging networks under a wire
2. auto merge networks under a wire when set 'merge_network' when merge
this wire
2021-02-03 14:40:54 +08:00
rainzm d9e75aaa0e feat(region): support synchronize vmware's network configuration to the local
1. move prepare-nets in cloudaccounts_prepare.go
2. when creating vmware account, auto synchronize vmware's network and
synchronize cloudprovider
3. support actively triggering the synchronization of the vmware network
2021-02-03 14:40:54 +08:00
Qu Xuan 0b324945de fix(region): avoid update tags task loop 2021-02-01 19:57:50 +08:00
Zexi Li 0f02856287 Merge pull request #10036 from ioito/automated-cherry-pick-of-#10035-upstream-release-3.7
Automated cherry pick of #10035: fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:21 +08:00
Yousong Zhou 456ed5f746 feat(cloudcommon): opslog: log joint models 2021-01-27 18:49:47 +08:00
Qu Xuan 199a7d678e fix(region): avoid worker discarded after state unchanged 2021-01-27 14:58:58 +08:00
Jian QiuandQiu Jian 2f3a3766c5 fix(cloudcommon): missing set_meta opslog (#9915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:33:09 +08:00
rainzm 8e128a9863 refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:14:13 +08:00
Qu Xuan b056c0ce72 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:38:39 +08:00
wanyaoqi 3c7f2ff16d feat(region): stop guest before freeze 2021-01-05 15:15:40 +08:00
7e60397c15 Automated cherry pick of #9752: feature(region): sync cloud tags to local user tags (#9753)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:18:24 +08:00
rainzm 167a65cd0e feat(db): progressive inspection when determining the required scope 2020-12-29 15:01:34 +08:00
Qu Xuan 6081595adf feat(region): disks and eip delete with server 2020-12-28 11:29:44 +08:00
TangBin 1cca1b5685 fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 17:35:42 +08:00
TangBin 7178a2d3c7 fix(region): aws sync vpc access mode bugfix 2020-12-26 17:35:42 +08:00
TangBin d097679e47 fix(region): cloudregion&zone add namei18n 2020-12-26 17:35:42 +08:00
lvyangyang 66b97aa112 refact(region): resource tags 2020-12-26 16:13:06 +08:00
wanyaoqi 8386506560 fix(glance): list image by os arch use startwith 2020-12-23 16:23:43 +08:00
Qiu Jian abbcac09ab fix(cloudcommon): query filter ineffective for splitable
query string may be modified in listItemQuery routine, which cause some query
filter is removed and hence ineffective when query over splitable
2020-12-20 20:29:55 +08:00
Zexi Li 972f7f4ab4 Merge pull request #9527 from swordqiu/hotfix/qj-split-table-empty-panic
fix(cloudcommon): panic when query an empty splitable model manager
2020-12-20 02:07:45 +08:00
Qiu Jian 4043cd8342 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 00:43:34 +08:00
Qiu Jian d01f89a2c8 fix(cloudcommon): panic when query an empty splitable model manager
fix panic when querying an empty splitable model manager, e.g. action-show
2020-12-20 00:25:15 +08:00
--global 54271b78ad feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func

1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:39:02 +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
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
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