rainzm
a28ff0400a
fix(cloudcommon): disable EventNotify for now
...
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:34:41 +08:00
Zexi Li
074c68f251
Merge pull request #10985 from ioito/hotfix/qx-azure-databricks
...
fix: add tag for databricks vm
2021-05-08 10:36:07 +08:00
Qu Xuan
12b72a6e10
fix: add tag for databricks vm
2021-05-08 09:28:00 +08:00
Yousong Zhou
627ea8ccc9
db: add GetItemDetails
2021-05-07 19:28:56 +08:00
Qu Xuan
3e3e9b7cf2
fix(region): tag list key case insensitive
2021-04-27 11:54:10 +08:00
Zexi Li
527f5c498c
Merge pull request #9933 from ioito/hotfix/qx-task-info-dump
...
fix(common): dump task info when stucking
2021-04-26 11:38:24 +08:00
Zexi Li
d3b337b418
Merge pull request #8016 from ioito/optimized/cloud-resource-sync
...
fix: 优化同步,避免长时间加锁
2021-04-26 11:38:11 +08:00
Qu Xuan
7b845d17c7
fix(common): dump task info when stucking
2021-04-26 10:45:38 +08:00
ioito
f9f0c8f3cb
fix: 优化同步,避免长时间加锁
2021-04-23 18:55:02 +08:00
rainzm
520fae50a6
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:01:12 +08:00
Zexi Li
e8d2debe4d
Merge pull request #10888 from ioito/hotfix/qx-task-ctx
...
fix(region): avoid panic when sync resources
2021-04-22 16:52:34 +08:00
Qu Xuan
568687c436
fix(region): avoid panic when sync resources
2021-04-22 16:23:01 +08:00
Qu Xuan
5edf37c549
fix(common): add debug info for lock
2021-04-22 16:09:32 +08:00
Qiu Jian
55cfb0ba45
fix(baremetal): baremetal ipmi probe reset link up state
2021-04-20 21:36:13 +08:00
Zexi Li
e82a3deb7e
fix(cloudcommon): unify OS_ARCH constants
2021-04-15 10:52:34 +08:00
rainzm
ed6f183db6
fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 14:40:08 +08:00
Qu Xuan
12bb6ac8e5
fix: actions domain filter by project doamin id
2021-04-12 11:40:57 +08:00
Zexi Li
0b7a41087c
Merge pull request #10619 from swordqiu/hotfix/qj-remove-i18n-lock
...
fix(region): remove i18n lock and logs
2021-04-08 10:34:04 +08:00
rainzm
f7add55303
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 17:01:08 +08:00
Qiu Jian
c03f0da14e
fix(region): remove i18n lock and logs
2021-04-05 16:34:57 +08:00
Qu Xuan
7f8cf5adc3
fix: before insert
2021-04-01 21:24:11 +08:00
Yousong Zhou
651c4b687d
etcd: fix "fatal error: concurrent map writes"
...
Trace
goroutine 1270434 [running]:
runtime.throw(0x4b0cc5e, 0x15)
/home/yousong/.usr/go/goroot-1.15.6/src/runtime/panic.go:1116 +0x72 fp=0xc0011151f8 sp=0xc0011151c8 pc=0x439292
runtime.mapdelete_faststr(0x40876e0, 0xc0006a54a0, 0xc001e84200, 0x3e)
/home/yousong/.usr/go/goroot-1.15.6/src/runtime/map_faststr.go:377 +0x34c fp=0xc001115260 sp=0xc0011151f8 pc=0x41664c
yunion.io/x/onecloud/pkg/cloudcommon/etcd.(*SEtcdClient).Unwatch(0xc0003130e0, 0xc001e84200, 0x3e)
/home/yousong/go/src/yunion.io/x/onecloud/pkg/cloudcommon/etcd/etcd.go:353 +0x134 fp=0xc0011152d0 sp=0xc001115260 pc=0x10031f4
yunion.io/x/onecloud/pkg/compute/models.(*SHostHealthChecker).WatchHost(0xc000c222a0, 0x5229ca0, 0xc000122000, 0xc001fbc4e0, 0x24)
/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/host_health.go:149 +0xd5 fp=0xc001115338 sp=0xc0011152d0 pc=0x1816395
yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformOnline(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0xc000957c40, ...)
/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3829 +0x227 fp=0xc0011153a0 sp=0xc001115338 pc=0x185a387
yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformPing(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0x0, ...)
/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3891 +0xbd fp=0xc001115430 sp=0xc0011153a0 pc=0x185acbd
2021-03-08 09:54:24 +08:00
Zexi Li
29ef9d8ba6
fix(cloudcommon): add default domain of common options
2021-03-05 10:49:03 +08:00
Qu Xuan
68e28bfe49
fix: optimzed tag sync
2021-03-04 17:30:56 +08:00
Zexi Li
0eeb75d945
Merge pull request #10292 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
...
fix(monitor): fix monitor export err
2021-03-02 14:29:34 +08:00
zhaoxiangchun
97c107f7e9
fix(monitor): fix monitor export err
...
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:52:44 +08:00
Yousong Zhou
2f7bd7a7a2
validators: set xx_id when possible
2021-02-23 15:29:12 +08:00
Zexi Li
deb18965a2
Merge pull request #10233 from ioito/feat/qx-peer-secgroup
...
fix(region): support peer secgroup
2021-02-22 20:39:36 +08:00
Qu Xuan
7417452ec6
fix(region): support peer secgroup
2021-02-22 16:18:36 +08:00
rainzm
b45edf2f18
feat: support EventNotify
2021-02-18 11:16:57 +08:00
rainzm
f352cf4e31
feat(cloudcommon): add rolecache
...
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:14:58 +08:00
yunion-ci-robot
93faf828dd
Merge pull request #10146 from zexi/feature/baremetal-h3c-oem
...
Feature/baremetal h3c oem
2021-02-06 13:32:24 +08:00
Zexi Li
e309bce029
Merge pull request #10154 from ioito/hotfix/qx-action-log-distinct-field
...
fix(logger): distinct field optimized for logger
2021-02-05 14:53:32 +08:00
Qu Xuan
2cfbda9a59
fix(logger): distinct field optimized for logger
2021-02-04 20:40:07 +08:00
rainzm
ec4dfc471a
fix(cloudcommon): use NewGeneralError to construct error
2021-02-04 17:06:25 +08:00
Zexi Li
3a3675108e
feat(baremetal): support H3C oem baremetal
2021-02-04 14:09:58 +08:00
Zexi Li
a563e4f608
Merge pull request #9723 from rainzm/vmware/dvs_wire
...
Optimization of vmware network
2021-02-03 18:06:45 +08:00
Qu Xuan
cdd111ca00
fix(cloudevent): add distinct filed for cloudevent
2021-02-03 17:48:24 +08:00
rainzm
2177b62110
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 12:08:23 +08:00
rainzm
cef91402fb
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 12:00:24 +08:00
Qu Xuan
965315ac77
fix(region): avoid update tags task loop
2021-02-01 19:56:40 +08:00
rainzm
95de795c8b
fix(notify): be compatible with member's permission changes
...
every user can create, modify and delete their own receiver info
2021-01-29 20:09:41 +08:00
Zexi Li
b8b4c16c87
Merge pull request #10035 from ioito/hotfix/qx-task-err
...
fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:16 +08:00
Yousong Zhou
0cfc5f2311
feat(cloudcommon): opslog: log joint models
2021-01-27 18:48:18 +08:00
Qu Xuan
74eeb43e4d
fix(region): avoid worker discarded after state unchanged
2021-01-27 14:57:27 +08:00
Zexi Li
960cf2a8b0
Merge pull request #9981 from rainzm/notify/webconsole_lang
...
fix(notify): send websocket messages according to language preference
2021-01-21 21:32:55 +08:00
rainzm
09337d9231
fix(notify): send websocket messages according to language preference
2021-01-21 19:42:39 +08:00
rainzm
1c3eea6886
feat(cloudcommon): send message with mobile in NotifyWithTag
2021-01-21 18:53:44 +08:00
Jian Qiu and Qiu Jian
9a7b9bec2d
fix(cloudcommon): missing set_meta opslog ( #9914 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2021-01-17 11:32:47 +08:00
Zexi Li
53651de276
Merge pull request #9891 from rainzm/notify/alert_fix
...
Repair of abnormal login notification
2021-01-15 10:31:01 +08:00