rainzm
c2ff56a000
feat(region): add no_tags options to filter guests
...
no_tags filter the guests without `no_tags`
2021-08-30 16:47:26 +08:00
Qu Xuan
1e7dce8c3d
fix(region): add resource statistics filter params
2021-08-05 19:43:31 +08:00
Zexi Li
a0058edc16
Merge pull request #11730 from swordqiu/automated-cherry-pick-of-#11729-upstream-release-3.7
...
Automated cherry pick of #11729 : fix: simplify SQL for distinct field query of tenant or domain names
2021-07-27 10:29:43 +08:00
Qiu Jian
db876b4480
fix: simplify SQL for distinct field query of tenant or domain names
2021-07-27 01:19:23 +08:00
Qu Xuan
5cdf5051a5
feat(region): add status count filter by params
2021-07-26 17:57:00 +08:00
zhaoxiangchun
629a3c55fd
feat(monitor) 3.7 add monitor resource overview
...
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机
https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 18:55:51 +08:00
Qu Xuan
638d01485e
fix(region): add status resource statistic
2021-06-15 14:16:23 +08:00
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 Qiu and Qiu 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 ®ion 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