Compare commits

...

2597 Commits

Author SHA1 Message Date
Zexi Li
c6433d0a09 Merge pull request #10476 from yousong/automated-cherry-pick-of-#10474-upstream-release-3.6
Automated cherry pick of #10474: Bugfix/yousong guestnic
2021-03-23 10:39:44 +08:00
Zexi Li
db20a5e334 Merge pull request #10479 from zexi/hotfix/resize-disk
fix(host): ignore parted resize disk unknown partition table error
2021-03-23 10:38:20 +08:00
Zexi Li
546f2fcfae fix(host): ignore parted resize disk unknown partition table error 2021-03-23 09:51:02 +08:00
Yousong Zhou
b4a4cd61d9 region: fix setting nic index
When a guest has two nics, changing ip address of the 1st will cause
the new nic after detach then attach to be "1", colliding with the
original nic of index 1
2021-03-22 19:34:22 +08:00
Yousong Zhou
02022c4c29 region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:34:22 +08:00
Zexi Li
4377337a4a Merge pull request #10470 from swordqiu/automated-cherry-pick-of-#10468-upstream-release-3.6
Automated cherry pick of #10468: fix(log): add filters to baremetal event logs
2021-03-22 16:09:18 +08:00
Qiu Jian
b9e0c22b2a fix(log): add filters to baremetal event logs 2021-03-22 10:53:45 +08:00
Zexi Li
d8a1e35571 Merge pull request #10464 from ioito/automated-cherry-pick-of-#10462-upstream-release-3.6
Automated cherry pick of #10462: fix: add index for image_type
2021-03-22 10:45:25 +08:00
Zexi Li
13f6a0907f Merge pull request #10454 from ioito/automated-cherry-pick-of-#10452-upstream-release-3.6
Automated cherry pick of #10452: fix: avoid panic when use idc vpc
2021-03-22 10:40:43 +08:00
Zexi Li
99dc612991 Merge pull request #10457 from swordqiu/automated-cherry-pick-of-#10455-upstream-release-3.6
Automated cherry pick of #10455: fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:23 +08:00
Qu Xuan
c5c00f38ba fix: add index for image_type 2021-03-19 14:29:42 +08:00
Zexi Li
b25043be1b Merge pull request #10459 from rainzm/webhook/more1
Notify webhook
2021-03-19 14:27:36 +08:00
Qiu Jian
7de3adac3a fix(keystone): allow joint projects across domains by default 2021-03-19 00:00:42 +08:00
Qu Xuan
be2e979c94 fix: avoid panic when use idc vpc 2021-03-18 21:04:52 +08:00
rainzm
33cb189cb1 feat(region): send webhook message when changing ipaddr 2021-03-18 17:48:01 +08:00
rainzm
10f0e0c8bb fix(region): Compatible with messages that have no recipient and contact information
such as robots
2021-03-18 17:48:01 +08:00
Zexi Li
686d314fa5 Merge pull request #10446 from zexi/feature/host-arm-support
feat(host): adjust qemu args to support aarch64
2021-03-18 15:22:33 +08:00
Zexi Li
ab00f01403 feat(host): adjust qemu args to support aarch64 2021-03-18 14:57:27 +08:00
Zexi Li
fc736bc4ca Merge pull request #10439 from swordqiu/automated-cherry-pick-of-#10437-upstream-release-3.6
Automated cherry pick of #10437: fix(region): scoped policy filter by project id
2021-03-18 10:24:00 +08:00
Zexi Li
a31e8734d0 Merge pull request #10443 from swordqiu/automated-cherry-pick-of-#10441-upstream-release-3.6
Automated cherry pick of #10441: fix(region): including domain info in project-role results
2021-03-18 10:23:30 +08:00
Zexi Li
53494b7764 Merge pull request #10435 from ioito/automated-cherry-pick-of-#10433-upstream-release-3.6
Automated cherry pick of #10433: fix: avoid stop or start vm failed
2021-03-18 10:17:33 +08:00
Qiu Jian
538097ef7c fix(region): including domain info in project-role results 2021-03-18 00:33:36 +08:00
Qiu Jian
6afe83e479 fix(region): scoped policy filter by project id 2021-03-17 23:02:08 +08:00
Qu Xuan
a7b3b1cf46 fix: avoid stop or start vm failed 2021-03-17 20:03:19 +08:00
Zexi Li
3cea602ba4 Merge pull request #10427 from ioito/automated-cherry-pick-of-#10425-upstream-release-3.6
Automated cherry pick of #10425: fix: change rds config skip zone check
2021-03-17 11:43:19 +08:00
Zexi Li
6499250b15 Merge pull request #10419 from zhaoxiangchun/automated-cherry-pick-of-#10418-upstream-release-3.6
Automated cherry pick of #10418: fix(telegraf): megactl raid  add rebuild status
2021-03-15 18:45:57 +08:00
Zexi Li
ace1d353b9 Merge pull request #10423 from ioito/automated-cherry-pick-of-#10421-upstream-release-3.6
Automated cherry pick of #10421: fix: qcloud bucket refer
2021-03-15 17:53:26 +08:00
Qu Xuan
0285e77352 fix: change rds config skip zone check 2021-03-15 17:42:56 +08:00
Qu Xuan
cdd209b59a fix: qcloud bucket refer 2021-03-15 15:47:35 +08:00
zhaoxiangchun
9da39105fb fix(telegraf): megactl raid add rebuild status 2021-03-15 10:04:25 +08:00
yunion-ci-robot
cd4cddc34c Merge pull request #10416 from ioito/automated-cherry-pick-of-#10414-upstream-release-3.6
Automated cherry pick of #10414: fix: sync cloud tags when set tags
2021-03-14 01:25:31 +08:00
Qu Xuan
9d1c0dbd95 fix: sync cloud tags when set tags 2021-03-13 20:48:39 +08:00
yunion-ci-robot
006ce9dc87 Merge pull request #10412 from ioito/automated-cherry-pick-of-#10410-upstream-release-3.6
Automated cherry pick of #10410: fix: skip zone check when rds change config
2021-03-13 19:22:23 +08:00
yunion-ci-robot
6c9c8d25e9 Merge pull request #10407 from ioito/hotfix/qx-bucket-metadata
fix: tag sync
2021-03-13 19:02:25 +08:00
Qu Xuan
32623f7c73 fix: skip zone check when rds change config 2021-03-13 19:00:40 +08:00
Qu Xuan
0b29451319 fix: tag sync 2021-03-13 17:37:11 +08:00
Zexi Li
aae4fae0c1 Merge pull request #10404 from swordqiu/automated-cherry-pick-of-#10402-upstream-release-3.6
Automated cherry pick of #10402: fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:19 +08:00
Qiu Jian
0f9f2f6ee5 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:15:04 +08:00
Zexi Li
5cfeffcd70 Merge pull request #10389 from swordqiu/automated-cherry-pick-of-#10387-upstream-release-3.6
Automated cherry pick of #10387: fix(region): fail to update network gateway
2021-03-12 17:38:04 +08:00
Zexi Li
6b7355a9ce Merge pull request #10393 from ioito/automated-cherry-pick-of-#10391-upstream-release-3.6
Automated cherry pick of #10391: fix: sync new project for azure resource group
2021-03-12 17:35:28 +08:00
Zexi Li
f531c60e1d Merge pull request #10397 from rainzm/automated-cherry-pick-of-#10395-upstream-release-3.6
Automated cherry pick of #10395: feat(esxi): update guest os info
2021-03-12 17:34:03 +08:00
rainzm
bfb01f5630 feat(esxi): update guest os info 2021-03-11 16:44:25 +08:00
Qu Xuan
d7a7388431 fix: sync new project for azure resource group 2021-03-11 15:02:27 +08:00
Qiu Jian
112e7aac84 fix(region): fail to update network gateway 2021-03-11 14:54:26 +08:00
Zexi Li
f9d1d28d85 Merge pull request #10384 from swordqiu/automated-cherry-pick-of-#10382-upstream-release-3.6
Automated cherry pick of #10382: fix(region): cloud provider filter by domain
2021-03-11 11:39:19 +08:00
Zexi Li
5d7b73f21e Merge pull request #10373 from rainzm/automated-cherry-pick-of-#10365-upstream-release-3.6
Automated cherry pick of #10365: feat(region): filter schedtags from cloudaccount_id
2021-03-11 11:37:49 +08:00
yunion-ci-robot
2b2b502d64 Merge pull request #10376 from tb365/automated-cherry-pick-of-#10357-upstream-release-3.6
Automated cherry pick of #10357: qcloud redis support multi zones
2021-03-11 10:22:24 +08:00
Qiu Jian
22486c31bd fix(region): cloud provider filter by domain 2021-03-11 01:08:23 +08:00
rainzm
9d3c44fe91 feat(region): filter schedtags from cloudprovider_id 2021-03-10 19:45:15 +08:00
tangbin
5145f1250b fix(region) qcloud multi zone instance sync account fix 2021-03-10 19:11:58 +08:00
tangbin
acd7765b33 feat(region) qcloud redis support multi zones 2021-03-10 19:11:58 +08:00
Zexi Li
8636a26418 Merge pull request #10353 from swordqiu/automated-cherry-pick-of-#10351-upstream-release-3.6
Automated cherry pick of #10351: fix(region): network eip stats not correct
2021-03-10 16:30:58 +08:00
Zexi Li
84664f77cf Merge pull request #10369 from zexi/automated-cherry-pick-of-#10367-upstream-release-3.6
Automated cherry pick of #10367: fix(build): DOCKER_CLI_EXPERIMENTAL=enabled
2021-03-10 16:29:05 +08:00
Zexi Li
2d53b542d3 fix(build): DOCKER_CLI_EXPERIMENTAL=enabled 2021-03-10 16:28:02 +08:00
Zexi Li
e63a207c29 Merge pull request #10363 from swordqiu/automated-cherry-pick-of-#10361-upstream-release-3.6
Automated cherry pick of #10361: fix(keystone): update default role associated policy name
2021-03-09 18:06:43 +08:00
Qiu Jian
845d9a1dc0 fix(keystone): update default role associated policy name 2021-03-09 17:50:34 +08:00
Zexi Li
de6ce2cd77 Merge pull request #10360 from zexi/fix/arm64-build
fix(build): build arm64 image
2021-03-09 17:43:22 +08:00
Zexi Li
4032ae669d fix(build): build arm64 image 2021-03-09 17:42:15 +08:00
Zexi Li
0d436306ad Merge pull request #10355 from zexi/automated-cherry-pick-of-#10189-upstream-release-3.6
Automated cherry pick of #10189: host 编译跨平台兼容
2021-03-09 10:24:53 +08:00
Zhang Dongliang
ec3909af50 host 编译跨平台兼容 2021-03-09 10:24:00 +08:00
Qiu Jian
d443279986 fix(region): network eip stats not correct 2021-03-09 02:48:32 +08:00
yunion-ci-robot
9088996b32 Merge pull request #10347 from zexi/automated-cherry-pick-of-#10345-upstream-release-3.6
Automated cherry pick of #10345: feat(build): make multi arch manifest docker image
2021-03-08 20:20:05 +08:00
Zexi Li
9ac72ed678 Merge pull request #10282 from rainzm/vmware/net_boundary
feat(region): increase the network number and host number limit when recommending the network
2021-03-08 15:06:29 +08:00
Zexi Li
72ee6ff899 Merge pull request #10342 from yousong/automated-cherry-pick-of-#10340-upstream-release-3.6
Automated cherry pick of #10340: etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:18:54 +08:00
Zexi Li
49a7ab8670 Merge pull request #10331 from ioito/automated-cherry-pick-of-#10329-upstream-release-3.6
Automated cherry pick of #10329: fix: optimized bucket tag
2021-03-08 14:13:46 +08:00
Zexi Li
55431b87bb feat(build): make multi arch manifest docker image 2021-03-08 12:53:37 +08:00
Yousong Zhou
bc50f09483 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:56:07 +08:00
yunion-ci-robot
30acf67d5c Merge pull request #10338 from rainzm/automated-cherry-pick-of-#10336-upstream-release-3.6
Automated cherry pick of #10336: fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
a2faac7692 fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 03:02:20 +08:00
Qu Xuan
5910ac16cd fix: optimized bucket tag 2021-03-05 15:36:34 +08:00
rainzm
4f462d614c feat(region): increase the network number and host number limit when recommending the network 2021-03-05 11:14:30 +08:00
Zexi Li
ef0387a023 Merge pull request #10326 from tb365/automated-cherry-pick-of-#10322-upstream-release-3.6
Automated cherry pick of #10322: copyright update brand_cn&brand_en fix
2021-03-05 10:15:50 +08:00
tangbin
31fce9fb78 copyright update brand_cn&brand_en fix 2021-03-05 10:01:23 +08:00
Zexi Li
f774e23248 Merge pull request #10318 from rainzm/automated-cherry-pick-of-#10316-upstream-release-3.6
Automated cherry pick of #10316: fix(region): check whether guest is nil
2021-03-04 19:39:06 +08:00
rainzm
024c14d962 fix(region): check whether guest is nil 2021-03-04 17:55:43 +08:00
Zexi Li
b3ac1d0641 Merge pull request #10308 from tb365/automated-cherry-pick-of-#10305-upstream-release-3.6
Automated cherry pick of #10305: infos copyright add brand_en&brand_cn
2021-03-04 15:25:53 +08:00
tangbin
695139c04e infos copyright add brand_en&brand_cn 2021-03-04 11:20:53 +08:00
Zexi Li
26802d4427 Merge pull request #10294 from zhaoxiangchun/automated-cherry-pick-of-#10292-upstream-release-3.6
Automated cherry pick of #10292: fix(monitor): fix monitor export err
2021-03-02 14:29:51 +08:00
zhaoxiangchun
b46f95ae79 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:58:06 +08:00
Zexi Li
7e538b255c Merge pull request #10291 from swordqiu/automated-cherry-pick-of-#10289-upstream-release-3.6
Automated cherry pick of #10289: fix(keystone): adjust default system policy names
2021-03-02 10:17:03 +08:00
yunion-ci-robot
9db72f0722 Merge pull request #10288 from zexi/automated-cherry-pick-of-#10286-upstream-release-3.6
Automated cherry pick of #10286: fix(hostdeployer): windows rootfs umount leak
2021-03-02 10:11:21 +08:00
Zexi Li
cc1b6a2d60 fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:52:49 +08:00
Qiu Jian
1411961035 fix(keystone): adjust default system policy names 2021-03-01 21:30:56 +08:00
Zexi Li
33c979d227 Merge pull request #10280 from swordqiu/automated-cherry-pick-of-#10278-upstream-release-3.6
Automated cherry pick of #10278: fix(baremetal-agent): baremetal fail to stop due to power off soft failed
2021-03-01 10:13:39 +08:00
Qiu Jian
a3621b4707 fix(baremetal-agent): baremetal fail to stop due to power off soft failed 2021-02-27 21:50:50 +08:00
Zexi Li
0bece9d948 Merge pull request #10272 from ioito/automated-cherry-pick-of-#10270-upstream-release-3.6
Automated cherry pick of #10270: fix(cloudevent): optimized cloudevent sql
2021-02-25 11:36:00 +08:00
Qu Xuan
14dcb91758 fix(cloudevent): optimized cloudevent sql 2021-02-25 11:34:07 +08:00
Zexi Li
3d869c69bb Merge pull request #10264 from swordqiu/automated-cherry-pick-of-#10262-upstream-release-3.6
Automated cherry pick of #10262: fix(keystone): ensure comparing id with non-utf8 string
2021-02-25 11:24:22 +08:00
Zexi Li
09ef280e33 Merge pull request #10267 from ioito/automated-cherry-pick-of-#10265-upstream-release-3.6
Automated cherry pick of #10265: fix(region): add azure new region
2021-02-25 11:23:09 +08:00
Qu Xuan
4332008c3f fix(region): add azure new region 2021-02-25 10:23:45 +08:00
Qiu Jian
73c0f0350f fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:29:55 +08:00
Zexi Li
48a894efdf Merge pull request #10251 from ioito/automated-cherry-pick-of-#10247-upstream-release-3.6
Automated cherry pick of #10247: Automated cherry pick of #10233: fix(region): support peer secgroup
2021-02-24 18:15:41 +08:00
Zexi Li
fc274d5da6 Merge pull request #10260 from tb365/automated-cherry-pick-of-#10258-upstream-release-3.6
Automated cherry pick of #10258: fix(region): redis change spec bugfix
2021-02-24 16:06:40 +08:00
tangbin
e39015fa45 fix(region): redis change spec bugfix 2021-02-24 11:49:23 +08:00
Zexi Li
1bb9801666 Merge pull request #10249 from zexi/automated-cherry-pick-of-#10223-upstream-release-3.6
Automated cherry pick of #10223: fix(host-deployer): mount may fail to lock /etc/mtab, add retrier
2021-02-23 10:36:22 +08:00
Qiu Jian
c22c4f8ef6 fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-23 10:25:14 +08:00
Qu Xuan
5584e9af1a fix(region): support peer secgroup 2021-02-23 10:08:54 +08:00
Zexi Li
44e360dcdd Merge pull request #10229 from ioito/automated-cherry-pick-of-#10227-upstream-release-3.6
Automated cherry pick of #10227: fix(region): qcloud quota sync
2021-02-22 20:52:07 +08:00
Zexi Li
a216ef28dd Merge pull request #10243 from zexi/automated-cherry-pick-of-#6083-upstream-release-3.6
Automated cherry pick of #6083: climc: add k8s monitor component
2021-02-22 19:55:51 +08:00
Zexi Li
3b12892172 Merge pull request #10236 from ioito/automated-cherry-pick-of-#10234-upstream-release-3.6
Automated cherry pick of #10234: fix(region): avoid not sync dns zone
2021-02-22 19:49:40 +08:00
Zexi Li
704cce8392 Merge pull request #10242 from tb365/automated-cherry-pick-of-#10240-upstream-release-3.6
Automated cherry pick of #10240: fix(region): set redis reboot timeout to 30 mins
2021-02-22 19:48:17 +08:00
Zexi Li
2fc04497b2 climc: add k8s monitor component 2021-02-22 19:45:40 +08:00
tangbin
bd64be4d8a fix(region): set redis reboot timeout to 30 mins 2021-02-22 18:52:05 +08:00
Qu Xuan
8dd1a897fc fix(region): avoid not sync dns zone 2021-02-22 16:15:12 +08:00
Qu Xuan
57eef5ede6 fix(region): qcloud quota sync 2021-02-22 14:55:54 +08:00
Zexi Li
ff7fa0a520 Merge pull request #10204 from swordqiu/automated-cherry-pick-of-#10202-upstream-release-3.6
Automated cherry pick of #10202: feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:29 +08:00
Zexi Li
0994e8c1ea Merge pull request #10207 from swordqiu/automated-cherry-pick-of-#10205-upstream-release-3.6
Automated cherry pick of #10205: fix(region): host search by any ip
2021-02-18 11:18:33 +08:00
Jian Qiu
d7dc89ccb3 fix(keystone): policy name duplication (#10201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-14 19:14:33 +08:00
Qiu Jian
8610731af3 fix(region): host search by any ip 2021-02-13 23:13:43 +08:00
Qiu Jian
3cc72fac65 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:33:59 +08:00
Jian Qiu
f7e8c20f43 fix(keystone): hide system scope policies in domain scope view (#10196)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:17:18 -03:00
Jian Qiu
dbf8fde45b fix(scheduler): storage medium type should not exact match (#10192)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:15:04 -03:00
yunion-ci-robot
a6a3332e64 Merge pull request #10151 from wanyaoqi/automated-cherry-pick-of-#10149-upstream-release-3.6
Automated cherry pick of #10149: chore(utils): add deb build script
2021-02-08 05:51:59 +08:00
yunion-ci-robot
ca55fbd641 Merge pull request #10186 from swordqiu/automated-cherry-pick-of-#10158-upstream-release-3.6
Automated cherry pick of #10158: fix(apigateway): add enable_quota_check and return-domain-list
2021-02-08 05:49:59 +08:00
Qiu Jian
4ee32ef454 fix(apigateway): add enable_quota_check and return-domain-list attributes to fe params 2021-02-07 17:00:17 +08:00
yunion-ci-robot
eeb2fcfbc8 Merge pull request #10185 from zhaoxiangchun/automated-cherry-pick-of-#10183-upstream-release-3.6
Automated cherry pick of #10183: fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space  when query
2021-02-07 16:07:59 +08:00
zhaoxiangchun
8612095454 fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:57:51 +08:00
yunion-ci-robot
7612f85c6a Merge pull request #10148 from zexi/automated-cherry-pick-of-#10146-upstream-release-3.6
Automated cherry pick of #10146: Feature/baremetal h3c oem
2021-02-06 13:33:22 +08:00
Zexi Li
c09c5cac79 Merge pull request #10175 from swordqiu/automated-cherry-pick-of-#10173-upstream-release-3.6
Automated cherry pick of #10173: fix(keystone): cas sso may create new project whenever user login
2021-02-06 10:35:56 +08:00
Qiu Jian
50473268f9 fix(keystone): cas sso may create new project whenever user login 2021-02-06 03:21:01 +08:00
Zexi Li
010ed4f9ad Merge pull request #10145 from swordqiu/automated-cherry-pick-of-#10143-upstream-release-3.6
Automated cherry pick of #10143: fix(baremetal): try channel 8 for default profile
2021-02-05 14:54:31 +08:00
Zexi Li
eefe0aa8cb Merge pull request #10165 from ioito/automated-cherry-pick-of-#10163-upstream-release-3.6
Automated cherry pick of #10163: fix(cloudid): sync role policy
2021-02-05 14:36:18 +08:00
Qu Xuan
a11e5d14de fix(cloudid): sync role policy 2021-02-05 14:00:20 +08:00
wanyaoqi
a1eed47e66 chore(utils): add deb build script 2021-02-04 15:13:56 +08:00
Zexi Li
50fe044cfc feat(baremetal): support H3C oem baremetal 2021-02-04 14:11:50 +08:00
Qiu Jian
cdb97511c3 fix(baremetal): try channel 8 for default profile 2021-02-04 13:23:57 +08:00
yunion-ci-robot
6be7e015d3 Merge pull request #10142 from swordqiu/automated-cherry-pick-of-#10140-upstream-release-3.6
Automated cherry pick of #10140: fix(region): bucket size stats should not count invalid sizes of -1
2021-02-04 13:16:51 +08:00
Zexi Li
0eef67fafb Merge pull request #10139 from ioito/automated-cherry-pick-of-#10137-upstream-release-3.6
Automated cherry pick of #10137: fix(region): delete not exist disk failed
2021-02-04 11:37:10 +08:00
Qiu Jian
bbb538b93d fix(region): bucket size stats should not count invalid sizes of -1 2021-02-04 11:24:43 +08:00
Qu Xuan
4acb2757a9 fix(region): delete not exist disk failed 2021-02-04 11:03:56 +08:00
Zexi Li
d85883780d Merge pull request #10132 from ioito/automated-cherry-pick-of-#10130-upstream-release-3.6
Automated cherry pick of #10130: fix(hostman): fix kvm create disk failed error
2021-02-03 20:38:50 +08:00
Qu Xuan
e76abe883b fix(hostman): fix kvm create disk failed error 2021-02-03 20:17:25 +08:00
Zexi Li
a82f00aae7 Merge pull request #10098 from ioito/automated-cherry-pick-of-#10096-upstream-release-3.6
Automated cherry pick of #10096: fix(region): filter resource by classic vpc
2021-02-03 09:48:26 +08:00
Zexi Li
1bfa27bc49 Merge pull request #10101 from ioito/automated-cherry-pick-of-#10099-upstream-release-3.6
Automated cherry pick of #10099: fix(hostman): avoid panic when disk is nil
2021-02-03 09:47:37 +08:00
Zexi Li
ec688fd206 Merge pull request #10111 from ioito/automated-cherry-pick-of-#10109-upstream-release-3.6
Automated cherry pick of #10109: fix(region): avoid sync huawei unusable account
2021-02-02 22:06:29 +08:00
Zexi Li
20f55fe992 Merge pull request #10106 from ioito/automated-cherry-pick-of-#10104-upstream-release-3.6
Automated cherry pick of #10104: fix(region): delete virtual nics with network
2021-02-02 21:04:11 +08:00
Zexi Li
1fe7a54218 Merge pull request #10119 from wanyaoqi/automated-cherry-pick-of-#10117-upstream-release-3.6
Automated cherry pick of #10117: fix(region): add option auto reconcile backup servers
2021-02-02 20:11:12 +08:00
Zexi Li
24bf2a163a Merge pull request #10124 from rainzm/automated-cherry-pick-of-#10122-upstream-release-3.6
Automated cherry pick of #10122: fix(region): check the global network situation when expanding the network
2021-02-02 20:06:19 +08:00
rainzm
ea4505ae55 fix(region): check the global network situation when expanding the network 2021-02-02 19:49:53 +08:00
wanyaoqi
3bcb337a4b fix(region): add option auto reconcile backup servers 2021-02-02 18:32:01 +08:00
Qu Xuan
7ee2026b21 fix(region): avoid sync huawei unusable account 2021-02-02 14:39:28 +08:00
Qu Xuan
ebe79b12d1 fix(region): delete virtual nics with network 2021-02-02 10:53:52 +08:00
Qu Xuan
650ccdd7c7 fix(hostman): avoid panic when disk is nil 2021-02-01 22:02:49 +08:00
Zexi Li
68e006b71c Merge pull request #10095 from ioito/automated-cherry-pick-of-#10093-upstream-release-3.6
Automated cherry pick of #10093: fix(region): avoid update tags task loop
2021-02-01 20:34:48 +08:00
Qu Xuan
57efd8a86b fix(region): filter resource by classic vpc 2021-02-01 20:16:28 +08:00
Qu Xuan
3aa83bb86d fix(region): avoid update tags task loop 2021-02-01 19:59:10 +08:00
Zexi Li
de926037dc Merge pull request #10069 from swordqiu/automated-cherry-pick-of-#10067-upstream-release-3.6
Automated cherry pick of #10067: fix(keystone): SSO created user name may be duplicated
2021-01-30 10:42:03 +08:00
Zexi Li
df4f30ac47 Merge pull request #10075 from wanyaoqi/automated-cherry-pick-of-#10073-upstream-release-3.6
Automated cherry pick of #10073: fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:40:17 +08:00
Zexi Li
96e443f90b Merge pull request #10085 from zhaoxiangchun/automated-cherry-pick-of-#10083-upstream-release-3.6
Automated cherry pick of #10083: fix(monitor): fix alert notify info do not contain resourceName
2021-01-30 10:37:16 +08:00
Zexi Li
dfa4d87702 Merge pull request #10089 from rainzm/automated-cherry-pick-of-#10086-upstream-release-3.6
Automated cherry pick of #10086: fix(notify): be compatible with member's permission changes
2021-01-30 10:36:27 +08:00
rainzm
4e199b84eb fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:13:31 +08:00
zhaoxiangchun
c17fe2df22 fix(monitor): fix alert notify info do not contain resourceName 2021-01-29 18:17:47 +08:00
wanyaoqi
754d046d3a fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:57:24 +08:00
Qiu Jian
20380ae9e6 fix(keystone): SSO created user name may be duplicated 2021-01-29 00:01:29 +08:00
Zexi Li
47d38a253a Merge pull request #10046 from rainzm/automated-cherry-pick-of-#10042-upstream-release-3.6
Automated cherry pick of #10042: Optimize the error message when logging in
2021-01-28 20:48:13 +08:00
Zexi Li
d366048e51 Merge pull request #10057 from ioito/automated-cherry-pick-of-#10055-upstream-release-3.6
Automated cherry pick of #10055: fix(region): add aliyun credit amount check
2021-01-28 20:47:00 +08:00
Zexi Li
410fd2936f Merge pull request #10061 from ioito/automated-cherry-pick-of-#10059-upstream-release-3.6
Automated cherry pick of #10059: fix(region): add huawei credit amount check
2021-01-28 20:46:14 +08:00
Zexi Li
90e10db57c Merge pull request #10065 from ioito/automated-cherry-pick-of-#10063-upstream-release-3.6
Automated cherry pick of #10063: fix(region): avoid stuck at http request
2021-01-28 20:04:03 +08:00
Qu Xuan
9975543ddb fix(region): avoid stuck at http request 2021-01-28 18:24:11 +08:00
Qu Xuan
0c658ec53f fix(region): add huawei credit amount check 2021-01-28 16:59:34 +08:00
Qu Xuan
58fb3fc9e2 fix(region): add aliyun credit amount check 2021-01-28 16:01:46 +08:00
Zexi Li
f74635f3da Merge pull request #10050 from ioito/automated-cherry-pick-of-#10048-upstream-release-3.6
Automated cherry pick of #10048: fix(region): secgroup priority fix
2021-01-28 15:12:13 +08:00
Qu Xuan
f4972c22ba fix(region): secgroup priority fix 2021-01-28 14:21:28 +08:00
rainzm
6f2bdfa22f feat(locale): update 2021-01-28 10:26:56 +08:00
rainzm
e3d3c1f029 feat(apigateway): differentiate error messages when logging in 2021-01-28 10:08:35 +08:00
rainzm
2fd40396c4 feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-28 10:08:35 +08:00
Zexi Li
f416fe126c Merge pull request #10044 from rainzm/automated-cherry-pick-of-#9948-upstream-release-3.6
Automated cherry pick of #9948: feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-28 10:02:01 +08:00
rainzm
cb7956f1f1 feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-28 09:59:35 +08:00
Yousong Zhou
8ca6cfa3d3 Merge pull request #10034 from yousong/automated-cherry-pick-of-#10032-upstream-release-3.6
Automated cherry pick of #10032: Feature/yousong wire bw filter
2021-01-27 18:54:16 +08:00
Yousong Zhou
e467ef6ec7 feat(climc): wires: allow filter by bandwidth 2021-01-27 10:34:49 +08:00
Yousong Zhou
861cd47e62 feat(region): wire: allow filter by bandwidth 2021-01-27 10:34:49 +08:00
Zexi Li
d515e5e32c Merge pull request #9946 from rainzm/automated-cherry-pick-of-#9944-upstream-release-3.6
Automated cherry pick of #9944: fix(notify): add index fro receiver_notification
2021-01-27 09:06:34 +08:00
Zexi Li
71c0cc65ee Merge pull request #10027 from ioito/automated-cherry-pick-of-#10025-upstream-release-3.6
Automated cherry pick of #10025: fix(region): purge snapshot with not status check
2021-01-27 09:03:05 +08:00
Zexi Li
86896da1f6 Merge pull request #10022 from ioito/automated-cherry-pick-of-#10018-upstream-release-3.6
Automated cherry pick of #10018: fix(region): optimized secgroup rule sync
2021-01-26 14:53:34 +08:00
Qu Xuan
67082f32d3 fix(region): purge snapshot with not status check 2021-01-26 14:49:14 +08:00
Qu Xuan
b96b2f0b53 fix(region): optimized secgroup rule sync 2021-01-26 14:11:30 +08:00
Zexi Li
a8a2a248df Merge pull request #10012 from swordqiu/automated-cherry-pick-of-#10010-upstream-release-3.6
Automated cherry pick of #10010: fix(region): exported number of vpcs less than listed
2021-01-25 21:06:33 +08:00
Zexi Li
3997f6fbe6 Merge pull request #10005 from wanyaoqi/automated-cherry-pick-of-#10003-upstream-release-3.6
Automated cherry pick of #10003: fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:05:47 +08:00
Zexi Li
05efb17d35 Merge pull request #10015 from swordqiu/automated-cherry-pick-of-#10013-upstream-release-3.6
Automated cherry pick of #10013: fix(keystone): user create without password can login with any password
2021-01-25 21:03:31 +08:00
Qiu Jian
2af9104d96 fix(keystone): user create without password can login with any password 2021-01-23 23:51:31 +08:00
yunion-ci-robot
a0d99cf879 Merge pull request #9997 from ioito/automated-cherry-pick-of-#9995-upstream-release-3.6
Automated cherry pick of #9995: fix(region): aws not support create server with public ip
2021-01-23 22:47:37 +08:00
Qiu Jian
a8d550d4d8 fix(region): exported number of vpcs less than listed 2021-01-23 20:11:33 +08:00
wanyaoqi
5ccece54ac fix(host): fix wait time after mount fuse fs 2021-01-22 19:19:36 +08:00
Qu Xuan
180b122167 fix(region): aws not support create server with public ip 2021-01-22 10:45:15 +08:00
Zexi Li
78ba5e2fd8 Merge pull request #9968 from ioito/automated-cherry-pick-of-#9966-upstream-release-3.6
Automated cherry pick of #9966: fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:38 +08:00
Zexi Li
9f5256c344 Merge pull request #9976 from yousong/automated-cherry-pick-of-#9974-upstream-release-3.6
Automated cherry pick of #9974: fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:47:17 +08:00
Zexi Li
cdd032c711 Merge pull request #9986 from ioito/automated-cherry-pick-of-#9973-upstream-release-3.6
Automated cherry pick of #9973: fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:39:04 +08:00
Zexi Li
81133a53a2 Merge pull request #9983 from rainzm/automated-cherry-pick-of-#9981-upstream-release-3.6
Automated cherry pick of #9981: fix(notify): send websocket messages according to language preference
2021-01-21 21:33:49 +08:00
Qu Xuan
c6893892d9 fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:30:47 +08:00
rainzm
8a9f3e09ea fix(notify): send websocket messages according to language preference 2021-01-21 19:51:03 +08:00
Yousong Zhou
606b241b0d fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:23:05 +08:00
Qu Xuan
178a7071f0 fix(cloudevent): update aliyun lookupevent api 2021-01-21 15:18:27 +08:00
Zexi Li
27e5ff8635 Merge pull request #9962 from zhaoxiangchun/automated-cherry-pick-of-#9960-upstream-release-3.6
Automated cherry pick of #9960: fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info
2021-01-21 12:45:04 +08:00
zhaoxiangchun
5dc1486e7f fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info 2021-01-20 11:51:46 +08:00
Zexi Li
6a50fce0ab Merge pull request #9936 from rainzm/automated-cherry-pick-of-#9934-upstream-release-3.6
Automated cherry pick of #9934: feat(notify): clean data for receiver_notifications
2021-01-20 03:19:29 +08:00
Zexi Li
132a00d8e0 Merge pull request #9954 from ioito/automated-cherry-pick-of-#9952-upstream-release-3.6
Automated cherry pick of #9952: fix(region): fix zstack delete server with local disks
2021-01-20 02:25:35 +08:00
Qu Xuan
fed6395132 fix(region): fix zstack delete server with local disks 2021-01-19 18:10:38 +08:00
rainzm
7c87d73d95 fix(notify): add index fro receiver_notification 2021-01-19 15:54:04 +08:00
yunion-ci-robot
a73c3c8d0e Merge pull request #9940 from ioito/automated-cherry-pick-of-#9938-upstream-release-3.6
Automated cherry pick of #9938: fix(region): azure default subscription id
2021-01-18 21:41:23 +08:00
Qu Xuan
f3a567f630 fix(region): azure default subscription id 2021-01-18 21:25:20 +08:00
rainzm
5160669550 feat(notify): clean data for receiver_notifications 2021-01-18 19:48:45 +08:00
Zexi Li
e1c5ebc29c Merge pull request #9927 from rainzm/automated-cherry-pick-of-#9925-upstream-release-3.6
Automated cherry pick of #9925: Notify Optimization
2021-01-18 11:47:06 +08:00
rainzm
de1553770c fix(notify): add a time limit for resending notifications 2021-01-18 11:14:45 +08:00
rainzm
928c0602dd feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:14:45 +08:00
Zexi Li
6cc34c6fb1 Merge pull request #9924 from rainzm/automated-cherry-pick-of-#9922-upstream-release-3.6
Automated cherry pick of #9922: fix(notify): remote 'lang' filter when contact type is 'mobile'
2021-01-18 10:24:23 +08:00
rainzm
4885025618 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 20:56:55 +08:00
yunion-ci-robot
68ebbbcbcc Merge pull request #9912 from ioito/automated-cherry-pick-of-#9910-upstream-release-3.6
Automated cherry pick of #9910: fix(region): avoid azure detach disk failed
2021-01-17 11:40:31 +08:00
Jian Qiu
040a45aa46 fix(cloudcommon): missing set_meta opslog (#9916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:33:28 +08:00
Qu Xuan
299d3bed6e fix(region): avoid azure detach disk failed 2021-01-16 18:38:07 +08:00
yunion-ci-robot
c4c302236f Merge pull request #9909 from zhaoxiangchun/automated-cherry-pick-of-#9907-upstream-release-3.6
Automated cherry pick of #9907: feat(monitor): influxQuery add P95 reduce
2021-01-16 12:42:29 +08:00
zhaoxiangchun
88bcb82197 feat(monitor): query reduce percentile
1.增加reduce.type == percentile ,进行对应数值处理
2021-01-16 12:01:15 +08:00
Zexi Li
80a9ed9a79 Merge pull request #9890 from ioito/automated-cherry-pick-of-#9888-upstream-release-3.6
Automated cherry pick of #9888: fix(cloudid): optimized saml sso
2021-01-15 09:08:31 +08:00
Zexi Li
f4f973429d Merge pull request #9897 from ioito/automated-cherry-pick-of-#9895-upstream-release-3.6
Automated cherry pick of #9895: fix(region): update google latitude and langtitude
2021-01-14 23:50:03 +08:00
Qu Xuan
863a28f294 fix(region): update google latitude and langtitude 2021-01-14 20:53:14 +08:00
Qu Xuan
8858e7913c fix(cloudid): optimized saml sso 2021-01-14 18:14:29 +08:00
Zexi Li
6254b64d5d Merge pull request #9886 from ioito/automated-cherry-pick-of-#9856-upstream-release-3.6
Automated cherry pick of #9856: fix(region): optimized azure reset linux pasword
2021-01-14 17:39:46 +08:00
Zexi Li
43f8ac0027 Merge pull request #9884 from rainzm/automated-cherry-pick-of-#9882-upstream-release-3.6
Automated cherry pick of #9882: Fix Notifition about Panic_Error Send too much
2021-01-14 14:50:07 +08:00
Qu Xuan
36bd1baafe fix(region): optimized azure reset linux pasword 2021-01-14 14:44:20 +08:00
rainzm
98ca80e630 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:26:04 +08:00
rainzm
a2613e6bce fix(notify): update receiver's lang when update event occurs 2021-01-14 14:26:04 +08:00
rainzm
a8b14bb739 fix(notify): panic for err 2021-01-14 14:26:04 +08:00
Zexi Li
4850c4f8e2 Merge pull request #9880 from zhaoxiangchun/automated-cherry-pick-of-#9879-upstream-release-3.6
Automated cherry pick of #9879: feat(monitor): influxQuery add P95 reduce
2021-01-14 11:05:29 +08:00
zhaoxiangchun
64dec4254f feat(monitor): influxQuery add P95 reduce 2021-01-14 10:48:34 +08:00
Zexi Li
ada90754f9 Merge pull request #9874 from swordqiu/automated-cherry-pick-of-#9872-upstream-release-3.6
Automated cherry pick of #9872: fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:28 +08:00
Qiu Jian
fb3456c42d fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:12:35 +08:00
Zexi Li
cefbeb7a14 Merge pull request #9867 from zhaoxiangchun/automated-cherry-pick-of-#9865-upstream-release-3.6
Automated cherry pick of #9865: feat(monitor): support monitor overview influxdb query pass through
2021-01-13 21:12:20 +08:00
zhaoxiangchun
1fc01ebe94 feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
2021-01-13 16:19:55 +08:00
Zexi Li
ff0606f166 Merge pull request #9864 from rainzm/automated-cherry-pick-of-#9862-upstream-release-3.6
Automated cherry pick of #9862: fix(notify): set status after sending
2021-01-13 16:10:46 +08:00
rainzm
83dd534241 fix(notify): set status after sending 2021-01-13 15:49:15 +08:00
Zexi Li
a7771885cf Merge pull request #9859 from rainzm/automated-cherry-pick-of-#9857-upstream-release-3.6
Automated cherry pick of #9857: fix(notify): set ModelManager in Receiver()
2021-01-13 14:41:34 +08:00
rainzm
88fa743e4e fix(notify): set ModelManager in Receiver() 2021-01-13 09:56:28 +08:00
Zexi Li
0e917bb275 Merge pull request #9849 from rainzm/automated-cherry-pick-of-#9847-upstream-release-3.6
Automated cherry pick of #9847: feat(notify): send notifications of different templates according to language
2021-01-12 10:29:51 +08:00
Zexi Li
cd76ce27c3 Merge pull request #9838 from swordqiu/automated-cherry-pick-of-#9836-upstream-release-3.6
Automated cherry pick of #9836: fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:35 +08:00
Zexi Li
114de75e7e Merge pull request #9834 from ioito/automated-cherry-pick-of-#9833-upstream-release-3.6
Automated cherry pick of #9833: fix(cloudid): multi cloudaccount with saml user
2021-01-12 10:25:25 +08:00
Zexi Li
047509ebb8 Merge pull request #9843 from tb365/automated-cherry-pick-of-#9841-upstream-release-3.6
Automated cherry pick of #9841: server skus filter by mem size fix
2021-01-11 22:37:36 +08:00
Zexi Li
71e79e5a7b Merge pull request #9846 from yousong/automated-cherry-pick-of-#9844-upstream-release-3.6
Automated cherry pick of #9844: Feature/yousong i18n apigateway
2021-01-11 22:27:49 +08:00
Zexi Li
4c62508b01 Merge pull request #9852 from zhaoxiangchun/automated-cherry-pick-of-#9851-upstream-release-3.6
Automated cherry pick of #9851: fix(monitor): monitor overview throw err
2021-01-11 22:25:39 +08:00
zhaoxiangchun
e5b637906c fix(monitor): monitor overview throw err 2021-01-11 21:26:16 +08:00
rainzm
dd7d34402f feat(notify): send notifications of different templates according to language 2021-01-11 19:46:03 +08:00
Yousong Zhou
157bfb696b apigateway: try return httperrors 2021-01-11 18:35:51 +08:00
Yousong Zhou
464e0450f9 locales: generate 2021-01-11 18:35:51 +08:00
Yousong Zhou
a4b5562bd0 locales: zh-CN: add some translations 2021-01-11 18:35:51 +08:00
Yousong Zhou
f0354d0c9b locales: generate 2021-01-11 18:29:14 +08:00
Yousong Zhou
c3c3c00759 locales: zh-CN: extract current 2021-01-11 18:27:30 +08:00
Yousong Zhou
83adeaae4e apigateway: reword error messages 2021-01-11 17:51:33 +08:00
Yousong Zhou
d7f05e983f keystone: reword error messages 2021-01-11 17:51:33 +08:00
tangbin
5d075bbaaf server skus filter by mem size fix 2021-01-11 14:41:51 +08:00
Qiu Jian
86fda0f7d0 fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:07:44 +08:00
Qu Xuan
53c8c16052 fix(cloudid): multi cloudaccount with saml user 2021-01-10 20:00:25 +08:00
Zexi Li
46ba9cd424 Merge pull request #9831 from tb365/automated-cherry-pick-of-#9830-upstream-release-3.6
Automated cherry pick of #9830: loadbalancer add lb purge validate
2021-01-09 19:58:29 +08:00
Zexi Li
ee59f2a410 Merge pull request #9795 from tb365/automated-cherry-pick-of-#9793-upstream-release-3.6
Automated cherry pick of #9793: feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:17 +08:00
Zexi Li
5cfbb416b3 Merge pull request #9818 from zhaoxiangchun/automated-cherry-pick-of-#9817-upstream-release-3.6
Automated cherry pick of #9817: fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:56:05 +08:00
Zexi Li
a711f832e6 Merge pull request #9827 from rainzm/automated-cherry-pick-of-#9825-upstream-release-3.6
Automated cherry pick of #9825: fix(notify): avoid duplication of notification names
2021-01-09 19:54:51 +08:00
tangbin
f31216be0e loadbalancer add lb purge validate 2021-01-09 19:20:36 +08:00
rainzm
bc0106902a fix(notify): avoid duplication of notification names 2021-01-09 18:46:52 +08:00
yunion-ci-robot
2dbfc80fac Merge pull request #9810 from tb365/automated-cherry-pick-of-#9808-upstream-release-3.6
Automated cherry pick of #9808: fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:55:09 +08:00
tangbin
4fa95bf608 fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:12:44 +08:00
zhaoxiangchun
af0813cd09 fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:34:04 +08:00
Zexi Li
3b5602e1ea Merge pull request #9800 from ioito/automated-cherry-pick-of-#9798-upstream-release-3.6
Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:14 +08:00
Zexi Li
e4f7d3233c Merge pull request #9815 from rainzm/automated-cherry-pick-of-#9813-upstream-release-3.6
Automated cherry pick of #9813: fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:52 +08:00
rainzm
287f98ac86 fix(notify): loose phone number rules in updating receiver 2021-01-09 11:32:31 +08:00
Zexi Li
bb44f1cdfb Merge pull request #9804 from rainzm/automated-cherry-pick-of-#9802-upstream-release-3.6
Automated cherry pick of #9802: fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:50 +08:00
rainzm
644ab6f925 fix(notify): loose mobile phone number matching rules 2021-01-08 12:03:00 +08:00
Qu Xuan
e775e798aa fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:32:58 +08:00
tangbin
331d9d2a67 feat(region): server sku os_arch & cpu_arch checking 2021-01-08 10:35:08 +08:00
Zexi Li
d5ed96a651 Merge pull request #9792 from wanyaoqi/automated-cherry-pick-of-#9790-upstream-release-3.6
Automated cherry pick of #9790: fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:13 +08:00
Zexi Li
4ce85f310b Merge pull request #9787 from yousong/automated-cherry-pick-of-#9785-upstream-release-3.6
Automated cherry pick of #9785: guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:39 +08:00
Zexi Li
3f6e669324 Merge pull request #9784 from zhaoxiangchun/automated-cherry-pick-of-#9782-upstream-release-3.6
Automated cherry pick of #9782: fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
2021-01-07 21:14:46 +08:00
wanyaoqi
3f4b2163f3 fix(host-deployer): add retry on check is vgactived 2021-01-07 19:28:09 +08:00
Yousong Zhou
78b6f85662 guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:40:27 +08:00
zhaoxiangchun
3124113e2f fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
2021-01-06 21:31:31 +08:00
Zexi Li
38b34239cd Merge pull request #9780 from ioito/automated-cherry-pick-of-#9778-upstream-release-3.6
Automated cherry pick of #9778: fix(region): avoid auzre request timeout
2021-01-06 21:23:27 +08:00
Zexi Li
370b35852c Merge pull request #9777 from ioito/automated-cherry-pick-of-#9775-upstream-release-3.6
Automated cherry pick of #9775: fix(cloudevent): default policy
2021-01-06 21:23:08 +08:00
Zexi Li
f7c8bbc00b Merge pull request #9773 from ioito/automated-cherry-pick-of-#9771-upstream-release-3.6
Automated cherry pick of #9771: fix(region): avoid panic when register service not work
2021-01-06 21:21:47 +08:00
Qu Xuan
f64c6c54da fix(region): avoid auzre request timeout 2021-01-06 15:34:14 +08:00
Qu Xuan
c4db4bc43e fix(cloudevent): default policy 2021-01-06 14:05:35 +08:00
Qu Xuan
1afe6ef41b fix(region): avoid panic when register service not work 2021-01-05 21:20:04 +08:00
Zexi Li
83896cdcc3 Merge pull request #9764 from wanyaoqi/automated-cherry-pick-of-#9762-upstream-release-3.6
Automated cherry pick of #9762: feat(region): stop guest before freeze
2021-01-05 18:33:32 +08:00
wanyaoqi
38914b967d feat(region): stop guest before freeze 2021-01-05 15:19:13 +08:00
Zexi Li
7695eb905c Merge pull request #9758 from zhaoxiangchun/automated-cherry-pick-of-#9757-upstream-release-3.6
Automated cherry pick of #9757: fix(monitor): modify totalrecord query
2021-01-04 15:57:09 +08:00
zhaoxiangchun
562aefda85 fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:40:57 +08:00
Zexi Li
0143d271e1 Merge pull request #9756 from zhaoxiangchun/automated-cherry-pick-of-#9754-upstream-release-3.6
Automated cherry pick of #9754: feat(monitor): get today alerting resource info
2020-12-31 20:23:52 +08:00
zhaoxiangchun
de2b95cab7 feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:09:16 +08:00
Zexi Li
fc5a78c7e3 Merge pull request #9751 from rainzm/automated-cherry-pick-of-#9750-upstream-release-3.6
Automated cherry pick of #9750: feat(region): be compatible with changes in monitor api in scaling group
2020-12-30 21:45:01 +08:00
Zexi Li
3986dbc434 Merge pull request #9740 from zhaoxiangchun/automated-cherry-pick-of-#9735-upstream-release-3.6
Automated cherry pick of #9735: fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:16 +08:00
Zexi Li
192e03fcd7 Merge pull request #9734 from ioito/automated-cherry-pick-of-#9730-upstream-release-3.6
Automated cherry pick of #9730: fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:32 +08:00
Zexi Li
44db018039 Merge pull request #9729 from ioito/automated-cherry-pick-of-#9727-upstream-release-3.6
Automated cherry pick of #9727: fix(region): rds list with secgorups info
2020-12-30 21:41:49 +08:00
Zexi Li
6751d1d3af Merge pull request #9736 from wanyaoqi/automated-cherry-pick-of-#9731-upstream-release-3.6
Automated cherry pick of #9731: fix(region): server start check host memory is enough
2020-12-30 21:40:24 +08:00
Zexi Li
5ea100865d Merge pull request #9746 from rainzm/automated-cherry-pick-of-#9744-upstream-release-3.6
Automated cherry pick of #9744: fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:56 +08:00
rainzm
987b641bd0 feat(region): be compatible with changes in monitor api in scaling group 2020-12-30 19:16:47 +08:00
rainzm
77e56db095 fix(esxiagent): nicIndex should be incremented 2020-12-30 19:02:54 +08:00
Zexi Li
b7629422f7 Merge pull request #9725 from zhaoxiangchun/automated-cherry-pick-of-#9724-upstream-release-3.6
Automated cherry pick of #9724: feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:41 +08:00
zhaoxiangchun
589daf5063 fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 16:09:17 +08:00
wanyaoqi
a066301ae2 fix(region): server start check host memory is enough 2020-12-30 15:50:52 +08:00
Qu Xuan
7d07b4aa5f fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:48:33 +08:00
Qu Xuan
b96f225274 fix(region): rds list with secgorups info 2020-12-30 14:20:03 +08:00
zhaoxiangchun
40c8b54cba feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:09:02 +08:00
Zexi Li
93879980f5 Merge pull request #9720 from swordqiu/automated-cherry-pick-of-#9719-upstream-release-3.6
Automated cherry pick of #9719: fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:17 +08:00
Zexi Li
5bb13e48b7 Merge pull request #9716 from wanyaoqi/automated-cherry-pick-of-#9711-upstream-release-3.6
Automated cherry pick of #9711: fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:37 +08:00
Zexi Li
64fcdea2b0 Merge pull request #9712 from rainzm/automated-cherry-pick-of-#9693-upstream-release-3.6
Automated cherry pick of #9693: Solve the permission problem of notify to create receiver
2020-12-29 20:41:44 +08:00
Zexi Li
57fa6361fc Merge pull request #9708 from rainzm/automated-cherry-pick-of-#9706-upstream-release-3.6
Automated cherry pick of #9706: feat(region): multilingual timer description
2020-12-29 20:39:31 +08:00
Qiu Jian
732159137b fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 18:54:26 +08:00
wanyaoqi
d2ec564ccc fix(region,host): sync status check block jobs 2020-12-29 15:31:54 +08:00
wanyaoqi
a4323eab43 fix(host-deployer): add log line on blkid failed 2020-12-29 15:31:54 +08:00
wanyaoqi
7335875ef1 fix(climc): host add netif add params bridge/interface 2020-12-29 15:31:54 +08:00
rainzm
8d98218f06 feat(region): multilingual timer description 2020-12-29 15:23:45 +08:00
rainzm
af274d7ad2 feat(db): progressive inspection when determining the required scope 2020-12-29 15:04:28 +08:00
rainzm
25baa6f509 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-29 15:04:28 +08:00
Zexi Li
4cb9304d4c Merge pull request #9702 from swordqiu/automated-cherry-pick-of-#9701-upstream-release-3.6
Automated cherry pick of #9701: fix(region): omit vpc quota check if vpc created by owner
2020-12-29 09:35:53 +08:00
Zexi Li
db198f06d6 Merge pull request #9700 from zhaoxiangchun/automated-cherry-pick-of-#9698-upstream-release-3.6
Automated cherry pick of #9698: fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:35:02 +08:00
Qiu Jian
e38ea05c21 fix(region): omit vpc quota check if vpc created by owner
Vpc quota check is omitted if vpc is create by owner user
2020-12-29 01:18:44 +08:00
--global
ba22334382 fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:44:04 +08:00
Zexi Li
4020c6dd9e Merge pull request #9695 from zhaoxiangchun/automated-cherry-pick-of-#9694-upstream-release-3.6
Automated cherry pick of #9694: fix(monitor): add resType   filter
2020-12-28 21:22:27 +08:00
--global
ccf0653581 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 17:21:01 +08:00
Zexi Li
5f566f517c Merge pull request #9541 from ioito/automated-cherry-pick-of-#9540-upstream-release-3.6
Automated cherry pick of #9540: fix(region): openstack network is regional
2020-12-28 10:20:30 +08:00
Zexi Li
787a0a61d0 Merge pull request #9683 from rainzm/automated-cherry-pick-of-#9681-upstream-release-3.6
Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:06:12 +08:00
Zexi Li
60392d84aa Merge pull request #9679 from ioito/automated-cherry-pick-of-#9677-upstream-release-3.6
Automated cherry pick of #9677: optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:01:08 +08:00
rainzm
be042a0758 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:43:10 +08:00
Zexi Li
ea3bdba3c6 Merge pull request #9588 from tb365/automated-cherry-pick-of-#9587-upstream-release-3.6
Automated cherry pick of #9587: fix(region): cloudregion&zone add namei18n
2020-12-26 18:42:58 +08:00
Qu Xuan
c0bcfa9a53 optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:42:49 +08:00
TangBin
e289553015 fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 17:34:55 +08:00
TangBin
834f5a97de fix(region): aws sync vpc access mode bugfix 2020-12-26 17:34:55 +08:00
TangBin
2a4a762f24 fix(region): cloudregion&zone add namei18n 2020-12-26 17:34:54 +08:00
Zexi Li
eae0c59eb3 Merge pull request #9662 from rainzm/automated-cherry-pick-of-#9660-upstream-release-3.6
Automated cherry pick of #9660: feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:32 +08:00
Zexi Li
5368888dd8 Merge pull request #9650 from ioito/automated-cherry-pick-of-#9627-upstream-release-3.6
Automated cherry pick of #9627: fix(region): support rds secgroup operation
2020-12-26 12:20:10 +08:00
Zexi Li
85c2ea5ccc Merge pull request #9649 from lvyangyang/automated-cherry-pick-of-#9636-upstream-release-3.6
Automated cherry pick of #9636: fix(region): aws lb create tags param
2020-12-26 12:18:29 +08:00
Zexi Li
f9da623770 Merge pull request #9641 from ioito/automated-cherry-pick-of-#9640-upstream-release-3.6
Automated cherry pick of #9640: fix(region): purge private cloud sku
2020-12-26 12:15:08 +08:00
Zexi Li
4a2ef4163e Merge pull request #9643 from ioito/automated-cherry-pick-of-#9642-upstream-release-3.6
Automated cherry pick of #9642: fix(region): apsara optimized
2020-12-26 12:13:51 +08:00
Zexi Li
a192d40495 Merge pull request #9645 from swordqiu/automated-cherry-pick-of-#9644-upstream-release-3.6
Automated cherry pick of #9644: feature(climc): policy save data into file
2020-12-26 12:09:23 +08:00
Zexi Li
1ab4b68080 Merge pull request #9655 from ioito/automated-cherry-pick-of-#9654-upstream-release-3.6
Automated cherry pick of #9654: fix(region): optimized azure rebuild root
2020-12-26 12:06:41 +08:00
Zexi Li
c829c02325 Merge pull request #9653 from swordqiu/automated-cherry-pick-of-#9652-upstream-release-3.6
Automated cherry pick of #9652: fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:56 +08:00
rainzm
e4efbdc336 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:09:19 +08:00
yunion-ci-robot
22e318b6c1 Merge pull request #9658 from zhaoxiangchun/automated-cherry-pick-of-#9657-upstream-release-3.6
Automated cherry pick of #9657: fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:06:58 +08:00
--global
ab14706ff5 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 09:54:08 +08:00
Qu Xuan
0252c00efc fix(region): optimized azure rebuild root 2020-12-25 20:56:29 +08:00
Qiu Jian
540af1a3af fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-25 20:41:57 +08:00
Qu Xuan
c5a974e744 fix(region): support rds secgroup operation 2020-12-25 19:13:11 +08:00
lvyangyang
4cb9c936cd fix(region): aws lb create tags param 2020-12-25 18:24:41 +08:00
Zexi Li
22d31a39c1 Merge pull request #9638 from ioito/automated-cherry-pick-of-#9637-upstream-release-3.6
Automated cherry pick of #9637: fix(cloudid): optimized system policy sync
2020-12-25 17:24:07 +08:00
Qiu Jian
94dd5c5777 feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-25 17:02:02 +08:00
Qu Xuan
8a5e682b06 fix(cloudid): optimized system policy sync 2020-12-25 15:04:17 +08:00
Qu Xuan
38a0b76a58 fix(region): apsara optimized 2020-12-25 14:21:35 +08:00
Qu Xuan
a2b15c596c fix(region): purge private cloud sku 2020-12-25 11:23:46 +08:00
Zexi Li
64ed1d4e88 Merge pull request #9634 from ioito/automated-cherry-pick-of-#9633-upstream-release-3.6
Automated cherry pick of #9633: fix(region): sku.meta use global proxy
2020-12-25 01:26:21 +08:00
Zexi Li
f8e228502f Merge pull request #9630 from ioito/automated-cherry-pick-of-#9629-upstream-release-3.6
Automated cherry pick of #9629: fix(region): optimized disk allocate sched failed log
2020-12-24 17:47:59 +08:00
Zexi Li
a0cecc801e Merge pull request #9623 from ioito/automated-cherry-pick-of-#9622-upstream-release-3.6
Automated cherry pick of #9622: fix(region): avoid openstack change config error
2020-12-24 17:42:14 +08:00
Zexi Li
916692b992 Merge pull request #9626 from ioito/automated-cherry-pick-of-#9593-upstream-release-3.6
Automated cherry pick of #9593: fix(region): private cloud sku create
2020-12-24 17:41:15 +08:00
Zexi Li
244a63aa24 Merge pull request #9620 from ioito/automated-cherry-pick-of-#9619-upstream-release-3.6
Automated cherry pick of #9619: fix(region): avolid panic when list role's policies
2020-12-24 17:35:18 +08:00
Zexi Li
1f6e01592e Merge pull request #9610 from wanyaoqi/automated-cherry-pick-of-#9609-upstream-release-3.6
Automated cherry pick of #9609: fix(glance): list image by os arch use startwith
2020-12-24 17:34:32 +08:00
Qu Xuan
14bdbea3e2 fix(region): sku.meta use global proxy 2020-12-24 17:24:38 +08:00
Qu Xuan
27a2d36ff5 fix(region): optimized disk allocate sched failed log 2020-12-24 16:59:09 +08:00
Qu Xuan
1aec7ab259 fix(region): private cloud sku create 2020-12-24 15:33:03 +08:00
Qu Xuan
059cd75273 fix(region): avolid panic when list role's policies 2020-12-24 15:31:26 +08:00
Zexi Li
4c97c6ad3b Merge pull request #9618 from lvyangyang/automated-cherry-pick-of-#9596-upstream-release-3.6
Automated cherry pick of #9596: feat(region): azure tags
2020-12-24 14:33:14 +08:00
Qu Xuan
b60d18c060 fix(region): avoid openstack change config error 2020-12-24 11:52:05 +08:00
lvyangyang
950e75f8b0 feat(region): azure tags 2020-12-24 10:18:10 +08:00
Zexi Li
65781bfe06 Merge pull request #9617 from swordqiu/automated-cherry-pick-of-#9616-upstream-release-3.6
Automated cherry pick of #9616: fix(keystone): add i18n description for policy and role
2020-12-24 02:14:11 +08:00
Qiu Jian
334b347eb9 fix(keystone): add i18n description for policy and role
Add i18n support for descriptions of system policy and role
2020-12-23 23:34:58 +08:00
Zexi Li
d9c38a8550 Merge pull request #9595 from wanyaoqi/automated-cherry-pick-of-#9594-upstream-release-3.6
Automated cherry pick of #9594: chore(util): update centos build version to 1.1-3
2020-12-23 22:15:26 +08:00
Zexi Li
35cc29f86c Merge pull request #9604 from rainzm/automated-cherry-pick-of-#9603-upstream-release-3.6
Automated cherry pick of #9603: feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 22:15:01 +08:00
Zexi Li
50d83a75e5 Merge pull request #9598 from zhaoxiangchun/automated-cherry-pick-of-#9597-upstream-release-3.6
Automated cherry pick of #9597: fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:14:29 +08:00
Zexi Li
2ef96a9b26 Merge pull request #9600 from yousong/automated-cherry-pick-of-#9599-upstream-release-3.6
Automated cherry pick of #9599: Bugfix/yousong climc ssh
2020-12-23 22:13:27 +08:00
Zexi Li
daabb5b411 Merge pull request #9607 from zhaoxiangchun/automated-cherry-pick-of-#9605-upstream-release-3.6
Automated cherry pick of #9605: fix(monitor): fix nodata alertresource list
2020-12-23 22:10:15 +08:00
Zexi Li
9dd09504cd Merge pull request #9614 from rainzm/automated-cherry-pick-of-#9613-upstream-release-3.6
Automated cherry pick of #9613: fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:29 +08:00
Zexi Li
b9560c6765 Merge pull request #9612 from rainzm/automated-cherry-pick-of-#9611-upstream-release-3.6
Automated cherry pick of #9611: feat(cloudcommon): determine the notification template based on the user’s language preference
2020-12-23 20:32:36 +08:00
rainzm
cdf7825379 fix(notify): fit correctly when send notification via contact 2020-12-23 17:50:45 +08:00
rainzm
7d75620d6d feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:44:07 +08:00
wanyaoqi
f3404f678c fix(glance): list image by os arch use startwith 2020-12-23 16:25:39 +08:00
--global
cdcfc79232 fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
2020-12-23 14:52:26 +08:00
rainzm
24f4a684a5 feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:51:41 +08:00
Yousong Zhou
8a4c1a0bbe fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:31:40 +08:00
Yousong Zhou
ce00a17614 refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:31:40 +08:00
Yousong Zhou
8e9b4aed2f refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:31:40 +08:00
Yousong Zhou
5959a204f7 refactor(webconsole): use structured response 2020-12-23 13:31:40 +08:00
--global
d2459a5cc0 fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 13:17:42 +08:00
wanyaoqi
d980604920 chore(util): update centos build version to 1.1-3 2020-12-23 11:15:15 +08:00
Zexi Li
c5c370d6a2 Merge pull request #9550 from tb365/automated-cherry-pick-of-#9548-upstream-release-3.6
Automated cherry pick of #9548: Bugfix/tb bugfix 121801
2020-12-23 09:48:07 +08:00
Zexi Li
d442f842f2 Merge pull request #9578 from zhaoxiangchun/automated-cherry-pick-of-#9577-upstream-release-3.6
Automated cherry pick of #9577: feat(monitor): add global alertrecord
2020-12-23 09:46:02 +08:00
Zexi Li
347e2f0828 Merge pull request #9571 from ioito/automated-cherry-pick-of-#9570-upstream-release-3.6
Automated cherry pick of #9570: fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:49 +08:00
Zexi Li
9fe732619d Merge pull request #9574 from ioito/automated-cherry-pick-of-#9573-upstream-release-3.6
Automated cherry pick of #9573: fix(region): add huawei gpssd desc
2020-12-23 09:37:05 +08:00
Zexi Li
540b21cfd4 Merge pull request #9582 from zhaoxiangchun/automated-cherry-pick-of-#9579-upstream-release-3.6
Automated cherry pick of #9579: fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:20 +08:00
Zexi Li
7fd9b0f47e Merge pull request #9585 from rainzm/automated-cherry-pick-of-#9584-upstream-release-3.6
Automated cherry pick of #9584: more convenient debugging and role isolation
2020-12-23 09:09:48 +08:00
Zexi Li
60724356ec Merge pull request #9590 from swordqiu/automated-cherry-pick-of-#9589-upstream-release-3.6
Automated cherry pick of #9589: fix(cloudevent,devtool): missing metadata table
2020-12-23 09:06:48 +08:00
Qiu Jian
5d298e71bb fix(cloudevent,devtool): missing metadata table 2020-12-23 03:12:10 +08:00
rainzm
deb3758bfa feat: download the role to tmpdir not system role dir 2020-12-22 20:21:38 +08:00
rainzm
1eaf2eaff0 feat: add keep_tmpdir options
Setting 'keep_tmpdir' as true will keep tmpdir as used by executing
ansible playbook for debugging
2020-12-22 20:21:38 +08:00
Qu Xuan
ea41bb4f18 fix(region): openstack network is regional 2020-12-22 16:26:36 +08:00
--global
e2ca41a5f5 feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:22:50 +08:00
--global
2ba98e7cee fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:18:21 +08:00
Qu Xuan
a9c6579b6a fix(region): add huawei gpssd desc 2020-12-22 11:33:03 +08:00
Qu Xuan
f150da6d98 fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:18:32 +08:00
Zexi Li
dcf2a3f66c Merge pull request #9499 from wanyaoqi/automated-cherry-pick-of-#9498-upstream-release-3.6
Automated cherry pick of #9498: server migrate misc fix
2020-12-22 10:06:11 +08:00
yunion-ci-robot
eb2f782fd2 Merge pull request #9565 from zexi/automated-cherry-pick-of-#9564-upstream-release-3.6
Automated cherry pick of #9564: Hotfix/baremetal pxe net alloc
2020-12-21 23:50:49 +08:00
Zexi Li
f86e26fec2 Merge pull request #9545 from yousong/automated-cherry-pick-of-#9544-upstream-release-3.6
Automated cherry pick of #9544: fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:08:35 +08:00
Zexi Li
3effc3ea38 Merge pull request #9556 from ioito/automated-cherry-pick-of-#9555-upstream-release-3.6
Automated cherry pick of #9555: fix(region): fix openstack instance os type
2020-12-21 21:02:06 +08:00
Zexi Li
b023c24250 Merge pull request #9560 from rainzm/automated-cherry-pick-of-#9559-upstream-release-3.6
Automated cherry pick of #9559: feat(scripts): add export DOCKER_BUILDKIT=1
2020-12-21 21:00:26 +08:00
Zexi Li
5d1d8dc145 Merge pull request #9562 from ioito/automated-cherry-pick-of-#9561-upstream-release-3.6
Automated cherry pick of #9561: fix(cloudid): add <br> for notify templete
2020-12-21 20:59:24 +08:00
Zexi Li
9f2b137f08 fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:48:31 +08:00
Zexi Li
829faa1ab6 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:48:31 +08:00
Qu Xuan
2faead462b fix(cloudid): add <br> for notify templete 2020-12-21 20:42:31 +08:00
rainzm
4135e62f6f feat(scripts): add export DOCKER_BUILDKIT=1 2020-12-21 19:56:39 +08:00
Qu Xuan
9c0ce58a06 fix(region): fix openstack instance os type 2020-12-21 19:49:56 +08:00
TangBin
5a10db10cd fix(region): lbacl &lbcert default share scope 2020-12-21 17:33:21 +08:00
TangBin
0c3a1986f6 fix(region): elb acl validate create data fix 2020-12-21 17:33:21 +08:00
TangBin
1a4faf4101 fix(region): aliyun elb listener&lbbg sync project 2020-12-21 17:33:21 +08:00
TangBin
c4eda6b5af fix(region): cert&acl cache delete condition check 2020-12-21 17:33:21 +08:00
Yousong Zhou
48f1cf12ae fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:51:44 +08:00
Zexi Li
74d050292f Merge pull request #9370 from ioito/automated-cherry-pick-of-#9360-upstream-release-3.6
Automated cherry pick of #9360: fix(region): sync servers
2020-12-21 10:40:39 +08:00
Zexi Li
db9b653b29 Merge pull request #9539 from swordqiu/automated-cherry-pick-of-#9538-upstream-release-3.6
Automated cherry pick of #9538: fix(cloudcommon): query string may be modified in listItemQuery
2020-12-21 01:32:00 +08:00
Zexi Li
7726efa305 Merge pull request #9537 from swordqiu/automated-cherry-pick-of-#9536-upstream-release-3.6
Automated cherry pick of #9536: fix(keystone): ignore deleted policies when matching policies
2020-12-21 01:30:40 +08:00
Qiu Jian
41b694ad3e 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:31:43 +08:00
Qiu Jian
86476c22a9 fix(keystone): ignore deleted policies when matching policies
ignore deleted policies when matching policies
2020-12-20 14:18:59 +08:00
Zexi Li
495a0283ce Merge pull request #9535 from swordqiu/automated-cherry-pick-of-#9534-upstream-release-3.6
Automated cherry pick of #9534: fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:37 +08:00
Zexi Li
f6329cbc71 Merge pull request #9528 from swordqiu/automated-cherry-pick-of-#9527-upstream-release-3.6
Automated cherry pick of #9527: fix(cloudcommon): panic when query a splitable model manager
2020-12-20 02:07:56 +08:00
Zexi Li
742ac46cab Merge pull request #9530 from swordqiu/automated-cherry-pick-of-#9529-upstream-release-3.6
Automated cherry pick of #9529: fix(taskman): use admin token if task userCred token expired
2020-12-20 02:05:55 +08:00
Qiu Jian
6caec234a9 fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
Add new option rbac_policy_refresh_interval_seconds to control the
valid duration of a policy cache. The option is introduced at 3.6.
Replace option rbac_policy_sync_period_seconds.
2020-12-20 01:34:33 +08:00
Qiu Jian
b3c90a8049 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 01:21:40 +08:00
Qiu Jian
ba8754687a 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:49 +08:00
yunion-ci-robot
5c5178985e Merge pull request #9524 from zexi/automated-cherry-pick-of-#9521-upstream-release-3.6
Automated cherry pick of #9521: Storage actual size filter
2020-12-19 23:56:03 +08:00
Zexi Li
47e739d612 Merge pull request #9495 from wanyaoqi/automated-cherry-pick-of-#9494-upstream-release-3.6
Automated cherry pick of #9494: fix(region): guest to create input keep billing info
2020-12-19 20:06:10 +08:00
Zexi Li
b70ab17dcb Merge pull request #9506 from ioito/automated-cherry-pick-of-#9159-upstream-release-3.6
Automated cherry pick of #9159: feat(region): add instance storage capability
2020-12-19 20:04:27 +08:00
Zexi Li
5010a9154d Merge pull request #9510 from ioito/automated-cherry-pick-of-#9509-upstream-release-3.6
Automated cherry pick of #9509: fix(region): azure async task
2020-12-19 20:02:37 +08:00
Zexi Li
0ac658c2ca Merge pull request #9513 from ioito/automated-cherry-pick-of-#9512-upstream-release-3.6
Automated cherry pick of #9512: fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:01:01 +08:00
Zexi Li
e7dd6bba0c fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:58:10 +08:00
Zexi Li
7a3ad28fd6 Merge pull request #9517 from swordqiu/automated-cherry-pick-of-#9515-upstream-release-3.6
Automated cherry pick of #9515: fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:49 +08:00
Zexi Li
bd212de4f7 Merge pull request #9516 from swordqiu/automated-cherry-pick-of-#9501-upstream-release-3.6
Automated cherry pick of #9501: feature(keystone): user add language attribute
2020-12-19 18:11:39 +08:00
Qiu Jian
4606458719 fix(host): telegraf listen on local ipv4 address explicitly
Ensure telegraf listen on local IPv4 address explicityly and host send
metrics to telegraf local IPv4 address explicityly.
2020-12-19 15:37:03 +08:00
Qiu Jian
768c88d28d feature(keystone): user add language attribute
User add language attribute, notify and alarm will use this attribute to
send message in proper language
2020-12-19 15:36:37 +08:00
Qu Xuan
2b0e8afe0f fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:48:57 +08:00
Qu Xuan
09adc5f60f fix(region): azure async task 2020-12-19 14:02:15 +08:00
Qu Xuan
8779895298 feat(region): add instance storage capability 2020-12-19 11:14:58 +08:00
Qu Xuan
d2d96b1229 fix(region): sync servers 2020-12-19 10:26:10 +08:00
Zexi Li
3e74921627 Merge pull request #9503 from swordqiu/automated-cherry-pick-of-#9502-upstream-release-3.6
Automated cherry pick of #9502: fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:47 +08:00
Qiu Jian
97eb6e7bc7 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:53:14 +08:00
yunion-ci-robot
54337fe93b Merge pull request #9491 from zexi/automated-cherry-pick-of-#9490-upstream-release-3.6
Automated cherry pick of #9490: Hotfix/baremetal pd makegood
2020-12-18 20:49:19 +08:00
Zexi Li
c8a007d9b3 Merge pull request #9484 from rainzm/automated-cherry-pick-of-#9483-upstream-release-3.6
Automated cherry pick of #9483: Webhook better describe the life cycle of the guest
2020-12-18 20:37:51 +08:00
wanyaoqi
6c96e6d1f8 fix(host): add print migrate progress info 2020-12-18 18:29:36 +08:00
wanyaoqi
e26fb5cc1d fix(region): do not change disk status on migrating 2020-12-18 18:29:36 +08:00
Zexi Li
547df8a171 Merge pull request #9489 from tb365/automated-cherry-pick-of-#9488-upstream-release-3.6
Automated cherry pick of #9488: Bugfix/tb bugfix 121702
2020-12-18 16:36:20 +08:00
Zexi Li
7da3869e24 Merge pull request #9466 from zhaoxiangchun/automated-cherry-pick-of-#9459-upstream-release-3.6
Automated cherry pick of #9459: feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
2020-12-18 16:33:48 +08:00
Zexi Li
012a84d187 Merge pull request #9487 from wanyaoqi/automated-cherry-pick-of-#9486-upstream-release-3.6
Automated cherry pick of #9486: fix(region): fix change config forecast
2020-12-18 16:31:15 +08:00
Zexi Li
adc27a53f3 Merge pull request #9482 from wanyaoqi/automated-cherry-pick-of-#9481-upstream-release-3.6
Automated cherry pick of #9481: fix(keystone): service config ignore deploy server socket path
2020-12-18 16:29:29 +08:00
wanyaoqi
f8c4c008f8 fix(region): guest to create input keep billing info 2020-12-18 16:18:27 +08:00
Zexi Li
f6bf3050fa fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:50:15 +08:00
TangBin
e4f372ba55 fix(region): remove unnecessary vpc validate create date error wrap 2020-12-18 15:19:54 +08:00
TangBin
755f4a93a3 fix(region): network create mask length validate 2020-12-18 15:19:54 +08:00
TangBin
ad39e790d9 fix(region): vpc create data cird validate 2020-12-18 15:19:54 +08:00
TangBin
bc3fdb890f fix(region): ctyun delete server bugfix
6642
2020-12-18 15:19:54 +08:00
TangBin
2e401b5664 fix(region): create vm with eip task fix 2020-12-18 15:19:53 +08:00
wanyaoqi
52f0afda00 fix(region): fix change config forecast 2020-12-18 14:58:57 +08:00
--global
1a1df0f075 feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:40:46 +08:00
rainzm
79eacb5b45 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:10:21 +08:00
rainzm
0c72872330 feat(region): distinguish between pending delete and delete notification 2020-12-18 13:10:21 +08:00
wanyaoqi
8287f3767e fix(keystone): service config ignore deploy server socket path 2020-12-18 12:52:52 +08:00
Zexi Li
3ab9d15bf0 Merge pull request #9478 from yousong/automated-cherry-pick-of-#9458-upstream-release-3.6
Automated cherry pick of #9458: Bugfix/yousong eip ipaddr
2020-12-18 12:51:32 +08:00
Zexi Li
854d160875 Merge pull request #9473 from yousong/automated-cherry-pick-of-#9472-upstream-release-3.6
Automated cherry pick of #9472: Bugfix/yousong host mtu
2020-12-18 00:19:22 +08:00
Zexi Li
bb23fc8ae9 Merge pull request #9477 from wanyaoqi/automated-cherry-pick-of-#9476-upstream-release-3.6
Automated cherry pick of #9476: fix(host-deployer): probe image info umount rootfs first
2020-12-18 00:17:39 +08:00
Yousong Zhou
bb0568d18a fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-17 22:01:02 +08:00
Yousong Zhou
baff004838 fix(region,climc): eips: rename arg name for requested eip addr 2020-12-17 22:01:02 +08:00
Yousong Zhou
6e449c123b fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:51:23 +08:00
Yousong Zhou
80efc97c69 feat(region): networks: add getMtu method 2020-12-17 21:51:23 +08:00
Yousong Zhou
aaec97470b feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:51:22 +08:00
Yousong Zhou
206ae7f9e8 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 21:51:22 +08:00
Yousong Zhou
005fad402c feat(host): startvm: add nic_mtu shell func 2020-12-17 21:51:22 +08:00
Yousong Zhou
c2d173ae1c refactor(host): startvm: for compat
QEMU 2.12 outputs device help on stderr in the following style

```
virtio-net-pci.speed=int32
```

QEMU 5.2.0 outputs it to stdout and in the following format

```
  speed=<int32>          -  (default: -1)
```
2020-12-17 21:51:22 +08:00
Yousong Zhou
38492014b5 refactor(host): startvm: nic_speed: use raw string 2020-12-17 21:51:22 +08:00
Yousong Zhou
4cf3565b29 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 21:51:22 +08:00
wanyaoqi
7ed96af338 fix(host-deployer): probe image info umount rootfs first 2020-12-17 20:34:07 +08:00
Zexi Li
7fcd0fc28a Merge pull request #9471 from ioito/automated-cherry-pick-of-#9470-upstream-release-3.6
Automated cherry pick of #9470: fix(region): apsara metrics fix
2020-12-17 16:03:31 +08:00
Qu Xuan
a67b096686 fix(region): apsara metrics fix 2020-12-17 16:01:58 +08:00
Zexi Li
b2e6c1bd55 Merge pull request #9464 from rainzm/automated-cherry-pick-of-#9463-upstream-release-3.6
Automated cherry pick of #9463: fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:22:03 +08:00
Zexi Li
fb181a47a1 Merge pull request #9469 from tb365/automated-cherry-pick-of-#9467-upstream-release-3.6
Automated cherry pick of #9467: fix(region): skus add cloudenv
2020-12-17 11:17:46 +08:00
TangBin
f17593d3f4 fix(region): skus add cloudenv 2020-12-17 11:05:14 +08:00
rainzm
930c643153 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:12:42 +08:00
Zexi Li
6f44812520 Merge pull request #9442 from wanyaoqi/automated-cherry-pick-of-#9441-upstream-release-3.6
Automated cherry pick of #9441: bugfix(region): server change config rebase to sched task
2020-12-17 09:50:45 +08:00
Zexi Li
347857f40e Merge pull request #9455 from zexi/automated-cherry-pick-of-#9454-upstream-release-3.6
Automated cherry pick of #9454: fix(scheduler): fetch input network when specified
2020-12-16 18:24:38 +08:00
wanyaoqi
5314ce98b0 bugfix(region): server change config rebase to sched task 2020-12-16 18:07:50 +08:00
Zexi Li
9644513728 Merge pull request #9453 from swordqiu/automated-cherry-pick-of-#9452-upstream-release-3.6
Automated cherry pick of #9452: fix(keystone): panic if request with an invalid token
2020-12-16 17:57:31 +08:00
Zexi Li
5cfd7f0401 fix(scheduler): fetch input network when specified 2020-12-16 17:50:25 +08:00
Qiu Jian
5a71931982 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:47:03 +08:00
Zexi Li
e877b081ea Merge pull request #9445 from tb365/automated-cherry-pick-of-#9443-upstream-release-3.6
Automated cherry pick of #9443: Bugfix/tb bugfix 121501
2020-12-16 12:25:50 +08:00
Zexi Li
5de1f1c3ff Merge pull request #9419 from zexi/automated-cherry-pick-of-#9418-upstream-release-3.6
Automated cherry pick of #9418: fix(region): baremetal post update related server
2020-12-16 10:40:55 +08:00
Zexi Li
f65b3499d9 Merge pull request #9448 from swordqiu/automated-cherry-pick-of-#9447-upstream-release-3.6
Automated cherry pick of #9447: fix(log): fail to submit action log
2020-12-16 09:32:56 +08:00
Zexi Li
903367ce61 Merge pull request #9440 from zhaoxiangchun/automated-cherry-pick-of-#9439-upstream-release-3.6
Automated cherry pick of #9439: feat(monitor): support create nodata alert from web
2020-12-16 09:27:18 +08:00
Qiu Jian
1a2a40a811 fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit
action log
2020-12-16 00:25:58 +08:00
TangBin
eee13a549b fix(awscli): instance-rebuild-root fix 2020-12-15 21:05:06 +08:00
TangBin
cef3d52f08 fix(region): vpc sync external access mode fix 2020-12-15 20:57:39 +08:00
TangBin
596b376d85 fix(region): vpc usable fix 2020-12-15 20:57:39 +08:00
TangBin
efb4368716 fix(region): aws create vpc with igw add defaultroute 2020-12-15 20:57:38 +08:00
TangBin
ac89394947 fix(region): aws delete vpc skipped delete main route table 2020-12-15 20:57:38 +08:00
TangBin
5ff27734bc fix(region): aws vpc delete skip delete default secgroup 2020-12-15 20:57:38 +08:00
TangBin
9f52afdf94 fix(region): aws vpc delete related route table & internet gateway 2020-12-15 20:57:38 +08:00
TangBin
72153ecf58 fix(region): sku list query print missing error info 2020-12-15 20:57:38 +08:00
TangBin
9218c9e0b6 fix(region): aws create storage type fix 2020-12-15 20:57:37 +08:00
TangBin
68a2111bfd fix(region): aws create root device name fix 2020-12-15 20:56:57 +08:00
TangBin
b46d51d1e3 fix(region): vpc create validate cidr mask length 2020-12-15 20:56:57 +08:00
TangBin
da82328076 fix(region): aws detach igw before delete vpc 2020-12-15 20:56:57 +08:00
TangBin
b30a40d707 fix(region): vpc list usable fix 2020-12-15 20:56:57 +08:00
TangBin
8a1d15eba1 feat(region): server list add parameter eip_associable 2020-12-15 20:56:57 +08:00
yunion-ci-robot
007ad2cdc7 Merge pull request #9436 from wanyaoqi/automated-cherry-pick-of-#9435-upstream-release-3.6
Automated cherry pick of #9435: fix(host): fix set windows password with escape charater
2020-12-15 20:51:19 +08:00
zhaoxiangchun
c2b8f6a832 feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
2020-12-15 18:21:37 +08:00
wanyaoqi
539baf7ba1 fix(host): fix set windows password with escape charater 2020-12-15 16:57:08 +08:00
Zexi Li
5f610498e8 Merge pull request #9416 from swordqiu/automated-cherry-pick-of-#9415-upstream-release-3.6
Automated cherry pick of #9415: fix(keystone): update user attributes whenever user login
2020-12-15 11:54:59 +08:00
Zexi Li
cd798b9094 Merge pull request #9432 from zexi/automated-cherry-pick-of-#9431-upstream-release-3.6
Automated cherry pick of #9431: Fix/climc server create desc
2020-12-15 11:51:56 +08:00
Zexi Li
d86d91dfcc Merge pull request #9427 from yousong/automated-cherry-pick-of-#9426-upstream-release-3.6
Automated cherry pick of #9426: fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:44:49 +08:00
Zexi Li
df45ced78b fix(climc): server-create --desc not work 2020-12-15 11:36:01 +08:00
Yousong Zhou
b3e196950e fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:47:16 +08:00
Zexi Li
d1f09e0799 Merge pull request #9420 from wanyaoqi/automated-cherry-pick-of-#9417-upstream-release-3.6
Automated cherry pick of #9417: fix(region,host): fix hot remove nic
2020-12-15 00:08:57 +08:00
Zexi Li
d001e0ec8f fix(region): baremetal post update related server 2020-12-14 19:16:44 +08:00
wanyaoqi
7c1923abf0 fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 19:01:14 +08:00
wanyaoqi
fbd53b4934 fix(host): fix check hugepage enabled 2020-12-14 19:01:14 +08:00
Qiu Jian
a4b4a1d16e fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 18:19:46 +08:00
Zexi Li
0210763ca0 Merge pull request #9412 from zexi/automated-cherry-pick-of-#9411-upstream-release-3.6
Automated cherry pick of #9411: fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:40 +08:00
yunion-ci-robot
fddf03a3ba Merge pull request #9410 from wanyaoqi/automated-cherry-pick-of-#9409-upstream-release-3.6
Automated cherry pick of #9409: feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
Zexi Li
019c034133 fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 17:26:17 +08:00
Zexi Li
b1f2d7f379 Merge pull request #9407 from zexi/automated-cherry-pick-of-#9405-upstream-release-3.6
Automated cherry pick of #9405: Hotfix/webconsole trim url
2020-12-14 17:21:29 +08:00
Zexi Li
db9799c7f5 Merge pull request #9374 from rainzm/automated-cherry-pick-of-#9373-upstream-release-3.6
Automated cherry pick of #9373: feat(region): larger suggest network and more complete vlanid
2020-12-14 15:57:59 +08:00
wanyaoqi
d76915893d feat(region): export user tags support virtual resources 2020-12-14 15:56:46 +08:00
Zexi Li
64f94bd928 Merge pull request #9395 from zexi/automated-cherry-pick-of-#9394-upstream-release-3.6
Automated cherry pick of #9394: fix(scheduler): get candidates error more info
2020-12-14 15:52:27 +08:00
Zexi Li
f6713aab33 Merge pull request #9404 from wanyaoqi/automated-cherry-pick-of-#9403-upstream-release-3.6
Automated cherry pick of #9403: fix(region,glance): list by os arch adapt to empty strings
2020-12-14 15:50:56 +08:00
Zexi Li
1236a03269 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:47:53 +08:00
Zexi Li
4ef482dbc9 Merge pull request #9400 from rainzm/automated-cherry-pick-of-#9399-upstream-release-3.6
Automated cherry pick of #9399: fix(notify): avoid deadlock
2020-12-14 15:45:34 +08:00
wanyaoqi
027a9439cd fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:15:26 +08:00
rainzm
b1abb353a9 fix(notify): avoid deadlock 2020-12-14 15:05:46 +08:00
Zexi Li
01124b3128 fix(scheduler): get candidates error more info 2020-12-14 14:40:44 +08:00
rainzm
ae94914a7e feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:17:58 +08:00
rainzm
cc26752697 feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-14 14:17:58 +08:00
Zexi Li
d1a4a52915 Merge pull request #9389 from tb365/automated-cherry-pick-of-#9386-upstream-release-3.6
Automated cherry pick of #9386: feat(region): support sync skus by cloudregion
2020-12-13 13:51:46 +08:00
Zexi Li
7837a760b5 Merge pull request #9379 from ioito/automated-cherry-pick-of-#9351-upstream-release-3.6
Automated cherry pick of #9351: feat(cloudid): support aliyun saml auth
2020-12-13 12:13:53 +08:00
Zexi Li
08b436e90d Merge pull request #9385 from ioito/automated-cherry-pick-of-#9384-upstream-release-3.6
Automated cherry pick of #9384: fix(region): optimized server stop code
2020-12-13 12:12:28 +08:00
Zexi Li
5ca9493a55 Merge pull request #9391 from swordqiu/automated-cherry-pick-of-#9390-upstream-release-3.6
Automated cherry pick of #9390: fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:22 +08:00
Qiu Jian
d8684ea5a0 fix(region): network reserved ip count not consider expiration of reserved ips
network reserved ip count not consider expiration of reserved ips
2020-12-12 19:42:05 +08:00
TangBin
d86f9a2009 feat(region): support sync skus by cloudregion 2020-12-12 19:11:21 +08:00
Qu Xuan
0a8348a364 fix(region): optimized server stop code 2020-12-12 18:54:27 +08:00
Zexi Li
9b5f8ae892 Merge pull request #9378 from tb365/automated-cherry-pick-of-#9359-upstream-release-3.6
Automated cherry pick of #9359: Bugfix/tb bugfix cmb 1210
2020-12-12 18:29:02 +08:00
Qu Xuan
592ae29d7e feat(cloudid): support aliyun saml auth 2020-12-12 18:06:54 +08:00
TangBin
86838db6d3 feat(region): support sync skus by cloudregion 2020-12-12 17:48:04 +08:00
TangBin
f20ca8b9c9 fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:48:04 +08:00
Zexi Li
474831d983 Merge pull request #9314 from zhaoxiangchun/automated-cherry-pick-of-#9313-upstream-release-3.6
Automated cherry pick of #9313: feat(monitor): add metric description
2020-12-12 00:17:54 +08:00
Zexi Li
84c89654ef Merge pull request #9364 from swordqiu/automated-cherry-pick-of-#9361-upstream-release-3.6
Automated cherry pick of #9361: fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:36 +08:00
Zexi Li
d6735144c6 Merge pull request #9363 from swordqiu/automated-cherry-pick-of-#9362-upstream-release-3.6
Automated cherry pick of #9362: fix(util): update vendor for log
2020-12-12 00:15:02 +08:00
Zexi Li
6aeb3a77cb Merge pull request #9367 from swordqiu/automated-cherry-pick-of-#9366-upstream-release-3.6
Automated cherry pick of #9366: fix(keystone): ignore service config update without changes
2020-12-12 00:13:46 +08:00
Qiu Jian
e817076c6c fix(keystone): ignore service config update without changes
ignore service config updates that no changes happen. prevent service
config change infomrer messages from flushing the log.
2020-12-11 22:21:51 +08:00
Qiu Jian
253fba47f5 fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:50:53 +08:00
Qiu Jian
b4d5400e65 update vendor 2020-12-11 20:50:50 +08:00
zhaoxiangchun
09660da0a9 feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
  bits_sent ==> bps_sent
  bits_recv ==> bps_recv
3.对metric中field进行排序

https://bug.yunion.io/zentao/task-view-2358.html
2020-12-11 20:17:13 +08:00
Zexi Li
6748a36e0c Merge pull request #9357 from ioito/automated-cherry-pick-of-#9356-upstream-release-3.6
Automated cherry pick of #9356: fix(region): sku enabled
2020-12-11 19:37:15 +08:00
Zexi Li
6c57580a8e Merge pull request #9297 from swordqiu/automated-cherry-pick-of-#9160-upstream-release-3.6
Automated cherry pick of #9160: feature(cloudcommon): split opslog table
2020-12-11 19:31:12 +08:00
Qu Xuan
92fee001e8 fix(region): sku enabled 2020-12-11 17:08:50 +08:00
yunion-ci-robot
ce247ab817 Merge pull request #9336 from zexi/automated-cherry-pick-of-#9335-upstream-release-3.6
Automated cherry pick of #9335: Hotfix/baremetal convert host
2020-12-11 13:32:15 +08:00
Zexi Li
8e964f3c3c Merge pull request #9343 from ioito/automated-cherry-pick-of-#9339-upstream-release-3.6
Automated cherry pick of #9339: fix(region,yunionapi,glance): using global proxy
2020-12-11 11:40:48 +08:00
Zexi Li
1f23060475 Merge pull request #9353 from zexi/automated-cherry-pick-of-#9352-upstream-release-3.6
Automated cherry pick of #9352: Bugfix/scheduler SKU net
2020-12-11 09:18:22 +08:00
Zexi Li
24fdb6e84e fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:13:51 +08:00
Zexi Li
d06c049cd9 Merge pull request #9332 from ioito/automated-cherry-pick-of-#9331-upstream-release-3.6
Automated cherry pick of #9331: fix(region): openstack hosts sync
2020-12-10 20:40:07 +08:00
Zexi Li
1f5916fd7f Merge pull request #9348 from swordqiu/automated-cherry-pick-of-#9347-upstream-release-3.6
Automated cherry pick of #9347: fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:38:02 +08:00
Zexi Li
8114d1a292 Merge pull request #9341 from ioito/automated-cherry-pick-of-#9340-upstream-release-3.6
Automated cherry pick of #9340: fix(region): import rule error hint
2020-12-10 20:33:28 +08:00
Zexi Li
ff1b6a1de0 Merge pull request #9346 from wanyaoqi/automated-cherry-pick-of-#9345-upstream-release-3.6
Automated cherry pick of #9345: fix(region): gpu server change config use reserved resources
2020-12-10 20:32:31 +08:00
Qiu Jian
de47e4a69b fix(cloudcommon): perform public should check the sharing scope of resource
perform public should check the sharing scope of resource
2020-12-10 19:15:24 +08:00
wanyaoqi
b07387b57a fix(region): gpu server change config use reserved resources 2020-12-10 18:40:59 +08:00
Qu Xuan
c1ecb63309 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:33:40 +08:00
Qu Xuan
a8116b5252 fix(region): import rule error hint 2020-12-10 18:29:34 +08:00
Zexi Li
24a5cf7a7c Merge pull request #9330 from ioito/automated-cherry-pick-of-#9329-upstream-release-3.6
Automated cherry pick of #9329: fix(region): aws default account
2020-12-10 17:23:38 +08:00
Zexi Li
1e15c450c8 Merge pull request #9326 from rainzm/automated-cherry-pick-of-#9325-upstream-release-3.6
Automated cherry pick of #9325: Try to repull contacts when changing notify config
2020-12-10 17:22:17 +08:00
Zexi Li
1f63971f77 Merge pull request #9299 from ioito/automated-cherry-pick-of-#9298-upstream-release-3.6
Automated cherry pick of #9298: fix(region): support openstack subnet allocation pools
2020-12-10 17:17:53 +08:00
Zexi Li
504feb9504 Merge pull request #9321 from swordqiu/automated-cherry-pick-of-#9320-upstream-release-3.6
Automated cherry pick of #9320: fix(cloudcommon): disable quota check by default
2020-12-10 17:08:39 +08:00
Zexi Li
eb857594f2 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:42 +08:00
Qu Xuan
8692498cbd fix(region): openstack hosts sync 2020-12-10 16:55:41 +08:00
Qu Xuan
97eab67f0a fix(region): aws default account 2020-12-10 16:24:48 +08:00
rainzm
c5acc1b482 fix(notify): repull subcontact after changing config 2020-12-10 10:26:09 +08:00
rainzm
6591ccedc5 fix(notify): check for changes before updating config 2020-12-10 10:26:09 +08:00
rainzm
8d6defe227 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:26:09 +08:00
Qiu Jian
6f7a3cf8a5 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:23:36 +08:00
Qiu Jian
93ceb707b7 update vendor 2020-12-09 23:05:49 +08:00
Qiu Jian
ec14f9a6bb feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 23:05:49 +08:00
Zexi Li
8570eec751 Merge pull request #9296 from swordqiu/automated-cherry-pick-of-#9295-upstream-release-3.6
Automated cherry pick of #9295: fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:22 +08:00
Zexi Li
689b622066 Merge pull request #9293 from rainzm/automated-cherry-pick-of-#9292-upstream-release-3.6
Automated cherry pick of #9292: feat(notify): add intellij-get for receiver
2020-12-09 20:43:26 +08:00
Zexi Li
c901acb721 Merge pull request #9236 from wanyaoqi/automated-cherry-pick-of-#8848-upstream-release-3.6
Automated cherry pick of #8848: host-deployer: add deploy driver libguestfs
2020-12-09 20:41:37 +08:00
Zexi Li
81ca10b5f7 Merge pull request #9260 from wanyaoqi/automated-cherry-pick-of-#9259-upstream-release-3.6
Automated cherry pick of #9259: fix(region): attach network on register baremetal server
2020-12-09 20:40:06 +08:00
Zexi Li
5a0432fbc9 Merge pull request #9303 from ioito/automated-cherry-pick-of-#9302-upstream-release-3.6
Automated cherry pick of #9302: fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:31 +08:00
Zexi Li
d8d6ca8611 Merge pull request #9307 from ioito/automated-cherry-pick-of-#9305-upstream-release-3.6
Automated cherry pick of #9305: fix(region): optimized openstack change config
2020-12-09 20:36:33 +08:00
Zexi Li
27fb34c3d4 Merge pull request #9309 from yousong/automated-cherry-pick-of-#9308-upstream-release-3.6
Automated cherry pick of #9308: Bugfix/yousong eip chargetype
2020-12-09 20:35:00 +08:00
Zexi Li
2ee09e4581 Merge pull request #9316 from wanyaoqi/automated-cherry-pick-of-#9315-upstream-release-3.6
Automated cherry pick of #9315: fix(host): check lease living on restart etcd session
2020-12-09 20:33:35 +08:00
rainzm
e17768fbc2 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:03:36 +08:00
rainzm
75b0889c30 feat(notify): add intellij-get for receiver 2020-12-09 17:03:36 +08:00
wanyaoqi
1611ddfcdf fix(host): check lease living on restart etcd session 2020-12-09 16:55:53 +08:00
Yousong Zhou
a28fa3cf40 refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:49 +08:00
Yousong Zhou
14d6c9d6ed fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:49 +08:00
Yousong Zhou
8d7d240b30 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:16:49 +08:00
Qu Xuan
0d32c5d8e2 fix(region): optimized openstack change config 2020-12-09 11:51:47 +08:00
Qu Xuan
b5b7e89c6a fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:48:57 +08:00
Qu Xuan
edcff8045f fix(region): support openstack subnet allocation pools 2020-12-09 10:29:52 +08:00
Qiu Jian
83a5f95b0e fix(cloudcommon): supplement i18n translations 2020-12-09 00:57:03 +08:00
Zexi Li
5878ce8bf5 Merge pull request #9254 from ioito/automated-cherry-pick-of-#9253-upstream-release-3.6
Automated cherry pick of #9253: fix(region): temp url sign wrong
2020-12-08 21:39:45 +08:00
Zexi Li
b63a1a0811 Merge pull request #9264 from ioito/automated-cherry-pick-of-#9263-upstream-release-3.6
Automated cherry pick of #9263: fix(region): azure instance data disk storage type
2020-12-08 21:38:49 +08:00
Zexi Li
f99acd1aeb Merge pull request #9276 from ioito/automated-cherry-pick-of-#9266-upstream-release-3.6
Automated cherry pick of #9266: fix(region): openstack available zones
2020-12-08 21:37:30 +08:00
Zexi Li
6cb5b3314d Merge pull request #9278 from wanyaoqi/automated-cherry-pick-of-#9277-upstream-release-3.6
Automated cherry pick of #9277: fix(region): validate isolated devices on migrate
2020-12-08 21:35:59 +08:00
Zexi Li
bb3ed50e5d Merge pull request #9283 from ioito/automated-cherry-pick-of-#9282-upstream-release-3.6
Automated cherry pick of #9282: fix(region): restore password validate condition
2020-12-08 21:35:11 +08:00
Zexi Li
7120df1e22 Merge pull request #9286 from ioito/automated-cherry-pick-of-#9285-upstream-release-3.6
Automated cherry pick of #9285: fix(region): sync account id
2020-12-08 21:34:16 +08:00
Zexi Li
38d561dee8 Merge pull request #9291 from zhasm/automated-cherry-pick-of-#9288-upstream-release-3.6
Automated cherry pick of #9288: fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:44 +08:00
Zhang Dongliang
e8376f9981 fix(git,make): 更新获取 git branch 的规则 2020-12-08 18:01:15 +08:00
Qu Xuan
e540e6561a fix(region): sync account id 2020-12-08 17:58:43 +08:00
wanyaoqi
cfa1a4ee4f 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:50:39 +08:00
Qu Xuan
acedb4a4f4 fix(region): restore password validate condition 2020-12-08 17:45:42 +08:00
yunion-ci-robot
3851497bad Merge pull request #9273 from wanyaoqi/automated-cherry-pick-of-#9272-upstream-release-3.6
Automated cherry pick of #9272: fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:39 +08:00
wanyaoqi
78e8d2f35e fix(region): validate isolated devices on migrate 2020-12-08 16:51:12 +08:00
Qu Xuan
7abd40c545 fix(region): openstack available zones 2020-12-08 16:47:17 +08:00
Zexi Li
1a2ed75cfa Merge pull request #9269 from zhasm/automated-cherry-pick-of-#9268-upstream-release-3.6
Automated cherry pick of #9268: fix(git,make): git branch 获取方式优化
2020-12-08 16:35:33 +08:00
wanyaoqi
41631ec09d fix(host-deployer): cancel rename centos vgname 2020-12-08 16:29:40 +08:00
wanyaoqi
dcd8936927 fix(region): attach network on register baremetal server 2020-12-08 16:08:19 +08:00
Zhang Dongliang
d7d4e6bf6e fix(git,make): git branch 获取方式优化 2020-12-08 15:51:43 +08:00
Qu Xuan
3633baaa2b fix(region): azure instance data disk storage type 2020-12-08 15:03:00 +08:00
Zexi Li
71c4b03644 Merge pull request #9258 from zhasm/automated-cherry-pick-of-#9230-upstream-release-3.6
Automated cherry pick of #9230: fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:51:01 +08:00
Zhang Dongliang
b0a95cbbe6 fix(git,make): 修正 gitbranch 变量的获取方式,允许外部传入,解决自动升级版本 tag 不统一的问题 2020-12-08 11:51:34 +08:00
Qu Xuan
c6a7a87014 fix(region): temp url sign wrong 2020-12-08 11:36:14 +08:00
Zexi Li
db0eda7986 Merge pull request #9148 from ioito/automated-cherry-pick-of-#9146-upstream-release-3.6
Automated cherry pick of #9146: fix(keystone): allow refresh scope resource
2020-12-08 09:40:20 +08:00
Zexi Li
9cac40775a Merge pull request #9247 from wanyaoqi/automated-cherry-pick-of-#9246-upstream-release-3.6
Automated cherry pick of #9246: fix(region): fix backup server start task
2020-12-08 09:35:26 +08:00
Zexi Li
3158a5c06b Merge pull request #9252 from swordqiu/automated-cherry-pick-of-#9251-upstream-release-3.6
Automated cherry pick of #9251: fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:23 +08:00
Zexi Li
e8bdb396e9 Merge pull request #9249 from swordqiu/automated-cherry-pick-of-#9248-upstream-release-3.6
Automated cherry pick of #9248: fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:29:00 +08:00
Qiu Jian
695075a853 fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:15:56 +08:00
Qiu Jian
e826239abf fix(keystone): oidc driver turn on debug mode if log-level is debug
oidc driver turn on debug mode if log-level is debug
2020-12-08 02:55:36 +08:00
Zexi Li
690efe5ec1 Merge pull request #9244 from ioito/automated-cherry-pick-of-#9243-upstream-release-3.6
Automated cherry pick of #9243: fix(region): azure reset windows os password
2020-12-07 22:18:57 +08:00
wanyaoqi
735f10a508 fix(region): fix backup server start task 2020-12-07 21:08:03 +08:00
Zexi Li
0d537a1dbb Merge pull request #9241 from ioito/automated-cherry-pick-of-#9240-upstream-release-3.6
Automated cherry pick of #9240: fix(region): avoid timeout for waiting azure async task
2020-12-07 20:41:15 +08:00
Zexi Li
b3f4b135ec Merge pull request #9226 from tb365/automated-cherry-pick-of-#9224-upstream-release-3.6
Automated cherry pick of #9224: Bugfix/tb bugfix 1207
2020-12-07 20:37:52 +08:00
Qu Xuan
81b31b2fe1 fix(region): azure reset windows os password 2020-12-07 20:20:01 +08:00
Zexi Li
03c4a66beb Merge pull request #9221 from ioito/automated-cherry-pick-of-#9220-upstream-release-3.6
Automated cherry pick of #9220: fix(region): region qcloud secgroup project id
2020-12-07 20:18:18 +08:00
Zexi Li
923c03e530 Merge pull request #9228 from ioito/automated-cherry-pick-of-#9227-upstream-release-3.6
Automated cherry pick of #9227: fix(region): avoid resize azure disk error
2020-12-07 20:16:49 +08:00
Zexi Li
23faa02b07 Merge pull request #9232 from wanyaoqi/automated-cherry-pick-of-#9231-upstream-release-3.6
Automated cherry pick of #9231: fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:21 +08:00
Zexi Li
81d37b74dd Merge pull request #9238 from rainzm/automated-cherry-pick-of-#9237-upstream-release-3.6
Automated cherry pick of #9237: feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:48 +08:00
Qu Xuan
f22fe4fe36 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:50:41 +08:00
rainzm
bce332272c feat(notify): add webconsole in enabled contact types 2020-12-07 19:13:59 +08:00
TangBin
7b96d2593d fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:37:38 +08:00
TangBin
08dda723b4 fix(region): lb listener filter by acl_id 2020-12-07 17:37:38 +08:00
TangBin
76eb124896 fix(region): redis master zone empty fix 2020-12-07 17:37:38 +08:00
TangBin
8bdcc83a8f fix(region): elastic cache name is empty fix
#6527
2020-12-07 17:37:38 +08:00
wanyaoqi
cbc2859248 fix(host): update telegraf conf adapter to container environment 2020-12-07 17:14:36 +08:00
Qu Xuan
0bfa488acd fix(region): avoid resize azure disk error 2020-12-07 15:25:59 +08:00
Zexi Li
23c5ba2b68 Merge pull request #9208 from ioito/automated-cherry-pick-of-#9205-upstream-release-3.6
Automated cherry pick of #9205: fix(region): validate invalid character for password
2020-12-07 10:52:09 +08:00
Qu Xuan
3e7d3c829a fix(keystone): allow refresh scope resource 2020-12-07 10:48:06 +08:00
Qu Xuan
45a3ce82da fix(region): region qcloud secgroup project id 2020-12-07 10:27:36 +08:00
Zexi Li
ca8e69c981 Merge pull request #9203 from tb365/automated-cherry-pick-of-#9202-upstream-release-3.6
Automated cherry pick of #9202: Bugfix/tb bugfix 1204
2020-12-07 10:23:59 +08:00
Qu Xuan
35544a7c2f fix(region): validate invalid character for password 2020-12-07 10:07:58 +08:00
TangBin
133ba01e94 fix(region): change dbinstance sku sync info log to warn 2020-12-07 10:01:08 +08:00
TangBin
7be898fbca fix(region): dbinstance skus sync log level fix 2020-12-07 10:01:08 +08:00
TangBin
d39b3e820a fix(region): server skus add cloud_env 2020-12-07 10:01:08 +08:00
Zexi Li
43522bbe97 Merge pull request #9218 from ioito/automated-cherry-pick-of-#9217-upstream-release-3.6
Automated cherry pick of #9217: fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:33 +08:00
Zexi Li
e33c96c2f7 Merge pull request #9216 from zhaoxiangchun/automated-cherry-pick-of-#9215-upstream-release-3.6
Automated cherry pick of #9215: chore(monitor): delete suggestion files
2020-12-04 20:27:26 +08:00
Qu Xuan
a84ed01f2f fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:43:45 +08:00
zhaoxiangchun
83e899d9a9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:45 +08:00
Zexi Li
c2b0c57454 Merge pull request #9214 from zexi/automated-cherry-pick-of-#9213-upstream-release-3.6
Automated cherry pick of #9213: refactor(scheduler): remove unused k8s predicates code
2020-12-04 18:01:36 +08:00
Zexi Li
89f110f635 Merge pull request #9211 from ioito/automated-cherry-pick-of-#9210-upstream-release-3.6
Automated cherry pick of #9210: fix(region): azure metric request path
2020-12-04 18:00:53 +08:00
Zexi Li
2a2867daac refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:25:12 +08:00
Qu Xuan
a79a61c417 fix(region): azure metric request path 2020-12-04 17:14:18 +08:00
Zexi Li
8c78bf5ca0 Merge pull request #9207 from zexi/automated-cherry-pick-of-#9204-upstream-release-3.6
Automated cherry pick of #9204: Hotfix/remove kubernetes depend
2020-12-04 17:02:53 +08:00
Zexi Li
8675c7b4f0 Merge pull request #9200 from lvyangyang/automated-cherry-pick-of-#9196-upstream-release-3.6
Automated cherry pick of #9196: feat(region): add bucket cloud tags support
2020-12-04 16:57:53 +08:00
Zexi Li
734be7c147 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:50:01 +08:00
Zexi Li
aab59e899b Merge pull request #9067 from rainzm/automated-cherry-pick-of-#9066-upstream-release-3.6
Automated cherry pick of #9066: feat(region): add wire level for preparing network
2020-12-04 14:53:10 +08:00
lvyangyang
66412faf96 feat(region): add bucket cloud tags support 2020-12-04 14:38:38 +08:00
lvyangyang
de67ee5a26 fix(region): fix modify tags log 2020-12-04 14:38:38 +08:00
rainzm
67788b1790 feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:32:19 +08:00
rainzm
aad9aba489 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:32:19 +08:00
rainzm
5a186dbb3c feat(region): add wire level for preparing network
There are three wire level for vmware: vcenter, datacenter and cluster.
According to different wire levels, the recommended network has a different structure.
2020-12-04 14:32:19 +08:00
Zexi Li
64b9355954 Merge pull request #9190 from rainzm/automated-cherry-pick-of-#9189-upstream-release-3.6
Automated cherry pick of #9189: fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:27 +08:00
Zexi Li
ef8de3f8ac Merge pull request #9173 from ioito/automated-cherry-pick-of-#9134-upstream-release-3.6
Automated cherry pick of #9134: fix(region): azure win os defualt user
2020-12-04 10:24:31 +08:00
Zexi Li
a3b8f9e1c4 Merge pull request #9145 from yousong/automated-cherry-pick-of-#9144-upstream-release-3.6
Automated cherry pick of #9144: Feature/yousong vpc md
2020-12-04 10:23:34 +08:00
Zexi Li
e93a047b43 Merge pull request #9185 from rainzm/automated-cherry-pick-of-#9183-upstream-release-3.6
Automated cherry pick of #9183: fix(region): inspect invalid guest template
2020-12-04 10:21:09 +08:00
Zexi Li
ca2bfb6f16 Merge pull request #9182 from tb365/automated-cherry-pick-of-#9180-upstream-release-3.6
Automated cherry pick of #9180: Bugfix/tb bugfix 1203
2020-12-04 10:18:48 +08:00
Zexi Li
477edc200b Merge pull request #9193 from swordqiu/automated-cherry-pick-of-#9192-upstream-release-3.6
Automated cherry pick of #9192: fix(apigateway): allow logout by get method
2020-12-04 10:16:33 +08:00
Zexi Li
e1c61f0aae Merge pull request #9187 from zexi/automated-cherry-pick-of-#9184-upstream-release-3.6
Automated cherry pick of #9184: Hotfix/scheduler tag nil
2020-12-04 10:15:37 +08:00
rainzm
216e11f291 fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:59:07 +08:00
Qiu Jian
ff24d4a3e3 fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:13:08 +08:00
Zexi Li
66eee7f72f fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:50 +08:00
rainzm
5602db8f5e fix(region): inspect invalid guest template
The glance service hangs and other external reasons may cause the guest template to be judged as invalid.
Therefore, health inspection should be performed on time for invalid guest templates.
2020-12-03 20:42:39 +08:00
TangBin
8db56d90f3 fix(region): huawei vnc protocal fix 2020-12-03 20:01:25 +08:00
TangBin
6e0acab93b feat(webconsole): add huawei vnc support 2020-12-03 20:01:25 +08:00
TangBin
69fa370b04 fix(region): elb cached acl sync 2020-12-03 20:01:25 +08:00
Zexi Li
a24d3c478b Merge pull request #9178 from zexi/automated-cherry-pick-of-#9176-upstream-release-3.6
Automated cherry pick of #9176: fix(scheduler): select resource unordered
2020-12-03 19:55:31 +08:00
Zexi Li
4a0aadae45 Merge pull request #9170 from lvyangyang/automated-cherry-pick-of-#9147-upstream-release-3.6
Automated cherry pick of #9147: feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:19 +08:00
Zexi Li
5b170650f8 fix(scheduler): select resource unordered 2020-12-03 18:43:16 +08:00
Qu Xuan
a823273884 fix(region): azure win os defualt user 2020-12-03 16:31:43 +08:00
lvyangyang
c9185a43c7 feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 15:22:58 +08:00
Zexi Li
edd10faaf8 Merge pull request #9136 from ioito/automated-cherry-pick-of-#9135-upstream-release-3.6
Automated cherry pick of #9135: feat(cloudid): notify clouduser created
2020-12-03 15:17:11 +08:00
Zexi Li
ced5217f55 Merge pull request #9162 from ioito/automated-cherry-pick-of-#9161-upstream-release-3.6
Automated cherry pick of #9161: feat(region): huawei recovery new rds
2020-12-03 14:44:18 +08:00
Zexi Li
f23fa030ed Merge pull request #9164 from wanyaoqi/automated-cherry-pick-of-#9163-upstream-release-3.6
Automated cherry pick of #9163: bugfix(region): fix list by srever type normal
2020-12-03 14:43:15 +08:00
Zexi Li
ac64afa6b3 Merge pull request #9139 from zhaoxiangchun/automated-cherry-pick-of-#9138-upstream-release-3.6
Automated cherry pick of #9138: fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:42:12 +08:00
zhaoxiangchun
96d0f0e63c fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 13:01:13 +08:00
wanyaoqi
3756993c98 bugfix(region): fix list by srever type normal
server list by normal shouldn't contains gpu and backup servers

cherrypick: release/3.4
2020-12-03 12:06:30 +08:00
Qu Xuan
551aa2f91f feat(region): huawei recovery new rds 2020-12-03 10:51:52 +08:00
Zexi Li
fb2a68bdb1 Merge pull request #9155 from wanyaoqi/automated-cherry-pick-of-#9154-upstream-release-3.6
Automated cherry pick of #9154: feat(region): add list filter server type
2020-12-03 09:33:24 +08:00
Zexi Li
311bc0f4d6 Merge pull request #9151 from ioito/automated-cherry-pick-of-#9150-upstream-release-3.6
Automated cherry pick of #9150: fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:14 +08:00
wanyaoqi
6c4ba17371 feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:30:41 +08:00
Qu Xuan
0c7adedaad fix(region): avoid qcloud sync local disk error 2020-12-02 20:27:07 +08:00
Yousong Zhou
7d0828410a feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:58 +08:00
Yousong Zhou
6a2136f6c2 refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:58 +08:00
Yousong Zhou
de7eb162fc refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:58 +08:00
Yousong Zhou
0f1fc0fa58 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:58 +08:00
Yousong Zhou
8f1f1f55c6 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:58 +08:00
Yousong Zhou
9288c2fd81 feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:58 +08:00
Zexi Li
45dbd119a4 Merge pull request #9141 from swordqiu/automated-cherry-pick-of-#9140-upstream-release-3.6
Automated cherry pick of #9140: fix(keystone): not allow to disable sql driver
2020-12-02 17:08:37 +08:00
Qiu Jian
695aa81f70 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:40:21 +08:00
Zexi Li
d8d4cbbdc7 Merge pull request #9062 from zhaoxiangchun/automated-cherry-pick-of-#9061-upstream-release-3.6
Automated cherry pick of #9061: fix(monitor): delete suggestConfig auto init data
2020-12-02 14:52:03 +08:00
Qu Xuan
618d07f456 feat(cloudid): notify clouduser created 2020-12-02 14:46:23 +08:00
zhaoxiangchun
815e16eca0 fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
2020-12-02 11:19:19 +08:00
Zexi Li
266aa51044 Merge pull request #9132 from ioito/automated-cherry-pick-of-#9131-upstream-release-3.6
Automated cherry pick of #9131: fix(cloudid): sync qcloud collaborators user
2020-12-01 21:08:00 +08:00
Zexi Li
58da48eb52 Merge pull request #9092 from tb365/automated-cherry-pick-of-#9091-upstream-release-3.6
Automated cherry pick of #9091: fix(region): reserved name checking while create redis account
2020-12-01 21:06:10 +08:00
Zexi Li
afa183c026 Merge pull request #9124 from ioito/automated-cherry-pick-of-#9123-upstream-release-3.6
Automated cherry pick of #9123: fix(region): allow delete resource which status is unknown
2020-12-01 21:04:56 +08:00
Zexi Li
c8ddc63b39 Merge pull request #9105 from rainzm/automated-cherry-pick-of-#9104-upstream-release-3.6
Automated cherry pick of #9104: fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:16 +08:00
Qu Xuan
82dc179074 fix(cloudid): sync qcloud collaborators user 2020-12-01 20:36:20 +08:00
Zexi Li
c2201a031f Merge pull request #9110 from yousong/automated-cherry-pick-of-#9109-upstream-release-3.6
Automated cherry pick of #9109: fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:32 +08:00
Zexi Li
0785c58286 Merge pull request #9121 from ioito/automated-cherry-pick-of-#9120-upstream-release-3.6
Automated cherry pick of #9120: fix(region): allow update rds account and database desc
2020-12-01 19:33:04 +08:00
Zexi Li
1cd298ba6a Merge pull request #9117 from rainzm/automated-cherry-pick-of-#9116-upstream-release-3.6
Automated cherry pick of #9116: fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:32:04 +08:00
rainzm
b1ef8865b8 fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 18:23:22 +08:00
Qu Xuan
f35be97569 fix(region): allow delete resource which status is unknown 2020-12-01 17:17:12 +08:00
Qu Xuan
e483d1901e fix(region): allow update rds account and database desc 2020-12-01 16:38:59 +08:00
rainzm
0edec40b22 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 16:02:16 +08:00
Yousong Zhou
428e3ab1f5 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:32:53 +08:00
yunion-ci-robot
9013ab785a Merge pull request #9101 from yousong/automated-cherry-pick-of-#9100-upstream-release-3.6
Automated cherry pick of #9100: Bugfix/yousong qcloud nic
2020-12-01 12:57:57 +08:00
Zexi Li
fb94e7fd28 Merge pull request #9103 from ioito/automated-cherry-pick-of-#9102-upstream-release-3.6
Automated cherry pick of #9102: fix(region): code gen api error
2020-12-01 11:59:41 +08:00
Qu Xuan
b6ace002d7 fix(region): code gen api error 2020-12-01 11:27:00 +08:00
Yousong Zhou
e8ef92ad23 multicloud: qcloud: fix instancenic 2020-12-01 11:17:13 +08:00
Yousong Zhou
5f1fd6c7f9 multicloud: qcloud: add ptr deref func 2020-12-01 11:17:13 +08:00
Yousong Zhou
0e0f8bfa94 multicloud: qcloud: add apiDomainByRegion 2020-12-01 11:17:13 +08:00
Yousong Zhou
1ab4d40497 multicloud: qcloud: add getVpcClient 2020-12-01 11:17:13 +08:00
Yousong Zhou
9dcd0d2db1 multicloud: qcloud: add getSdkClient 2020-12-01 11:17:13 +08:00
Yousong Zhou
4a45ca59df vendor: add tencentcloud-sdk-go vpc 2020-12-01 11:17:13 +08:00
Zexi Li
fef43d3567 Merge pull request #9097 from yousong/automated-cherry-pick-of-#9096-upstream-release-3.6
Automated cherry pick of #9096: Bugfix/yousong informer
2020-12-01 09:34:02 +08:00
Yousong Zhou
a51a0845b4 fix(taskman): SSubTask: set model manager 2020-11-30 23:12:25 +08:00
Yousong Zhou
73f434e034 fix(region): secgrouprule: set model manager 2020-11-30 23:12:25 +08:00
Zexi Li
a4575fa51d Merge pull request #9073 from ioito/automated-cherry-pick-of-#9072-upstream-release-3.6
Automated cherry pick of #9072: fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:22 +08:00
Zexi Li
3fa0f9d37c Merge pull request #9016 from tb365/automated-cherry-pick-of-#9015-upstream-release-3.6
Automated cherry pick of #9015: fix(region): huawei sync storages bugfix
2020-11-30 21:54:53 +08:00
Zexi Li
2a1d1a1cbc Merge pull request #9065 from ioito/automated-cherry-pick-of-#9064-upstream-release-3.6
Automated cherry pick of #9064: fix(region): apsara is private cloud
2020-11-30 21:53:25 +08:00
Zexi Li
f9080330e1 Merge pull request #9085 from yousong/automated-cherry-pick-of-#9084-upstream-release-3.6
Automated cherry pick of #9084: feat(region): networkaddresses: filter by guest ids
2020-11-30 21:52:45 +08:00
Zexi Li
7230c65f8d Merge pull request #9077 from rainzm/automated-cherry-pick-of-#9076-upstream-release-3.6
Automated cherry pick of #9076: Notify via contact skip receiver
2020-11-30 21:50:18 +08:00
Zexi Li
3226f99a33 Merge pull request #9080 from yousong/automated-cherry-pick-of-#9079-upstream-release-3.6
Automated cherry pick of #9079: feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:31 +08:00
Zexi Li
e62d3fb0be Merge pull request #9088 from rainzm/automated-cherry-pick-of-#9086-upstream-release-3.6
Automated cherry pick of #9086: fix(region): sort excludedNets correctly
2020-11-30 21:47:35 +08:00
yunion-ci-robot
0900860ca0 Merge pull request #9094 from ioito/automated-cherry-pick-of-#9075-upstream-release-3.6
Automated cherry pick of #9075: fix(region): optimized rds backup create
2020-11-30 21:30:08 +08:00
Qu Xuan
2a6421258a fix(region): optimized rds backup create 2020-11-30 20:00:24 +08:00
rainzm
474bd1440f feat(cloudcommon): add NotifyWithContact 2020-11-30 19:59:38 +08:00
rainzm
cff5b8b656 feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 19:59:38 +08:00
rainzm
cb663f460f feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 19:59:38 +08:00
TangBin
a924c9552b fix(region): reserved name checking while create redis account 2020-11-30 19:17:15 +08:00
rainzm
c1d95bc313 fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 19:05:19 +08:00
Yousong Zhou
b46d50ae3a feat(region): networkaddresses: filter by guest ids 2020-11-30 19:02:55 +08:00
Yousong Zhou
05c95295b3 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:29:55 +08:00
Yousong Zhou
d2e304bae0 fix(region): pass up error from InitializeData 2020-11-30 18:29:55 +08:00
Qu Xuan
b460a73b0d fix(cloudid): huawei saml provider create issue 2020-11-30 16:31:09 +08:00
Zexi Li
c8d4a33f45 Merge pull request #8996 from ioito/automated-cherry-pick-of-#8995-upstream-release-3.6
Automated cherry pick of #8995: fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:13:42 +08:00
Qu Xuan
21d9edcfa6 fix(region): apsara is private cloud 2020-11-30 10:40:52 +08:00
Zexi Li
e2833b0760 Merge pull request #9059 from ioito/automated-cherry-pick-of-#8434-upstream-release-3.6
Automated cherry pick of #8434: fix: add panic log for worker task
2020-11-27 20:41:33 +08:00
Zexi Li
012b0f2c6a Merge pull request #8969 from yousong/automated-cherry-pick-of-#8575-upstream-release-3.6
Automated cherry pick of #8575: vendor: bump yunion.io/x/sqlchemy
2020-11-27 20:18:33 +08:00
Qu Xuan
f05fc18941 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:17:42 +08:00
Zexi Li
74ca7830aa Merge pull request #9029 from ioito/automated-cherry-pick-of-#9021-upstream-release-3.6
Automated cherry pick of #9021: fix(region): auto sync cloudaccount resources
2020-11-27 20:13:55 +08:00
Zexi Li
bd101e19eb Merge pull request #9037 from yousong/automated-cherry-pick-of-#9036-upstream-release-3.6
Automated cherry pick of #9036: feat(region): search server by substr of ip or mac
2020-11-27 20:09:08 +08:00
Zexi Li
1d7e1938e6 Merge pull request #9055 from zhaoxiangchun/automated-cherry-pick-of-#9054-upstream-release-3.6
Automated cherry pick of #9054: fix(monitor): modify monitor nodata alert matching onecloud host func
2020-11-27 20:07:27 +08:00
Qu Xuan
e97cd02b5b fix: add panic log for worker task 2020-11-27 20:05:07 +08:00
Zexi Li
727c526d3d Merge pull request #9058 from lvyangyang/automated-cherry-pick-of-#9056-upstream-release-3.6
Automated cherry pick of #9056: fix(region): bucket get referer fix
2020-11-27 20:04:03 +08:00
lvyangyang
0174e686df fix(region): bucket get referer fix 2020-11-27 19:44:13 +08:00
zhaoxiangchun
2564f3c060 fix(monitor): modify monitor nodata alert matching onecloud host func 2020-11-27 19:07:12 +08:00
Zexi Li
b5dd92f042 Merge pull request #9050 from wanyaoqi/automated-cherry-pick-of-#9049-upstream-release-3.6
Automated cherry pick of #9049: fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:37 +08:00
wanyaoqi
c8ca855cbc fix(region,scheduler): fix netwrok predicate
1. Guest config to schedule input should include network exit propertites.
2. Guest migrate and create backup server should not check network count,
because of migrate and create backup server will not allocate new network to guest.

cherrypick: release/3.5
2020-11-27 18:17:15 +08:00
yunion-ci-robot
1e59cd4b84 Merge pull request #9047 from rainzm/automated-cherry-pick-of-#9046-upstream-release-3.6
Automated cherry pick of #9046: fix(region): get provider name via GetProviderName
2020-11-27 18:05:54 +08:00
rainzm
843534c298 fix(region): get provider name via GetProviderName 2020-11-27 17:34:47 +08:00
rainzm
1c475b0912 fix(region): get provider name via GetProviderName 2020-11-27 17:34:47 +08:00
Zexi Li
4ab73f0b1c Merge pull request #9035 from lvyangyang/automated-cherry-pick-of-#9033-upstream-release-3.6
Automated cherry pick of #9033: fix(region): fix set bucket referer
2020-11-27 16:29:56 +08:00
Yousong Zhou
ca21bcf564 feat(region): search server by substr of ip or mac 2020-11-27 15:16:08 +08:00
lvyangyang
9872a05be9 feat(region): set qcloud bucket policy 2020-11-27 14:50:17 +08:00
lvyangyang
6f3cabda6e fix(region): fix set bucket referer 2020-11-27 14:50:17 +08:00
yunion-ci-robot
23c4abedbb Merge pull request #9025 from ioito/automated-cherry-pick-of-#9024-upstream-release-3.6
Automated cherry pick of #9024: fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Qu Xuan
e056bb1028 fix(region): auto sync cloudaccount resources 2020-11-27 09:38:25 +08:00
yunion-ci-robot
5de39adaf7 Merge pull request #9023 from swordqiu/automated-cherry-pick-of-#9022-upstream-release-3.6
Automated cherry pick of #9022: fix(cloudcommon): adjust policy refresh to default 30 seconds
2020-11-26 21:58:32 +08:00
Zexi Li
3bfc6d928a Merge pull request #8999 from ioito/automated-cherry-pick-of-#8998-upstream-release-3.6
Automated cherry pick of #8998: fix(region): allow member user get saml auth addr
2020-11-26 21:39:43 +08:00
Qu Xuan
fd948b8cc5 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:38:50 +08:00
Zexi Li
c64d98f769 Merge pull request #9019 from ioito/automated-cherry-pick-of-#9018-upstream-release-3.6
Automated cherry pick of #9018: fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:21 +08:00
Zexi Li
22e2c2e3ef Merge pull request #9003 from ioito/automated-cherry-pick-of-#9002-upstream-release-3.6
Automated cherry pick of #9002: fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:36:38 +08:00
Qiu Jian
b9d30c08a2 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:33:15 +08:00
Zexi Li
7a2c8722d5 Merge pull request #9013 from ioito/automated-cherry-pick-of-#9012-upstream-release-3.6
Automated cherry pick of #9012: fix(region): qcloud request retry
2020-11-26 21:31:51 +08:00
Zexi Li
de624a5af9 Merge pull request #9006 from yousong/automated-cherry-pick-of-#9005-upstream-release-3.6
Automated cherry pick of #9005: Feature/yousong ovn encap ip
2020-11-26 21:29:50 +08:00
Zexi Li
fefbd436e0 Merge pull request #9010 from ioito/automated-cherry-pick-of-#9009-upstream-release-3.6
Automated cherry pick of #9009: fix(climc): replace ' -> "
2020-11-26 21:26:59 +08:00
Yousong Zhou
c3b4edae1b vpcagent: ovn: make aware of sub ips 2020-11-26 21:20:01 +08:00
Yousong Zhou
314f9fcc0f vpcagent: models: join network addresses 2020-11-26 21:20:01 +08:00
Yousong Zhou
f699f7cb55 vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:20:01 +08:00
Yousong Zhou
a3d6a039ac multicloud: aliyun: instancenic: handle InvalidOperation.Ipv4CountExceeded 2020-11-26 21:20:01 +08:00
Yousong Zhou
eec81e73e7 networkaddresses: handle cloudprovider.ErrAddressCountExceed 2020-11-26 21:20:01 +08:00
Yousong Zhou
444e666472 cloudprovider: add ErrAddressCountExceed 2020-11-26 21:20:01 +08:00
Yousong Zhou
159453eceb networkaddresses: do server sync for on premise servers 2020-11-26 21:20:01 +08:00
Yousong Zhou
05984b49a7 networkaddresses: disallow batch create for external resources 2020-11-26 21:20:01 +08:00
Yousong Zhou
7343be04b1 networkaddresses: cloudprovider support 2020-11-26 21:20:01 +08:00
Yousong Zhou
1b6275f803 multicloud: aws: subaddress management 2020-11-26 21:20:01 +08:00
Yousong Zhou
3159f6d6d7 multicloud: aws: instancenic: add interface id attribute 2020-11-26 21:20:01 +08:00
Yousong Zhou
0fe90abea8 multicloud: aliyun: instancenic: secondary address management 2020-11-26 21:20:01 +08:00
Yousong Zhou
47a2d07634 vendor: bump alibaba-cloud-sdk-go to v1.61.684
For commit [1]

 [1] 6313cc407e
2020-11-26 21:20:01 +08:00
Yousong Zhou
edbddb38b6 vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:20:01 +08:00
Yousong Zhou
9840d7cf77 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:20:01 +08:00
Yousong Zhou
2afa068d71 multicloud: ICloudNic: add GetId() 2020-11-26 21:20:01 +08:00
Yousong Zhou
956bc945a9 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:20:01 +08:00
Yousong Zhou
adb998ff55 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:20:01 +08:00
Yousong Zhou
0c8d8358e6 networkaddresses: add to nics field of guest desc 2020-11-26 21:20:01 +08:00
Yousong Zhou
87ed4e9a55 networkaddresses: add parent_type guestnetwork 2020-11-26 21:20:01 +08:00
Yousong Zhou
8ed18fbf34 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:20:01 +08:00
Yousong Zhou
1609496f9c networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:20:01 +08:00
Yousong Zhou
f54de809b2 networks: fix typo in log 2020-11-26 21:20:01 +08:00
Yousong Zhou
c389aaaeb7 db_dispatcher: allow batch create for models without name 2020-11-26 21:20:01 +08:00
Yousong Zhou
ed1999efaf db: interface: manager: add HasName() method 2020-11-26 21:20:01 +08:00
Yousong Zhou
c8ad511744 db: standalone_anon: empty result for name query 2020-11-26 21:20:01 +08:00
Yousong Zhou
c45550ef63 db: add standalone_anon 2020-11-26 21:20:00 +08:00
Yousong Zhou
b79915d407 schedtags: add ListItemExportKeys 2020-11-26 21:20:00 +08:00
Yousong Zhou
d8ab874ef2 db: add manager methods appliers 2020-11-26 21:20:00 +08:00
Yousong Zhou
f62dddda51 db_dispatcher: delay compute to where needed 2020-11-26 21:20:00 +08:00
Yousong Zhou
0c8ab90f7e db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:20:00 +08:00
Yousong Zhou
79120f3de3 db: virtualjoint: add FilterById on RowId 2020-11-26 21:20:00 +08:00
Yousong Zhou
0e0a394907 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:20:00 +08:00
Yousong Zhou
3b32ce56cc db: check funcs required by dispatcher 2020-11-26 21:20:00 +08:00
Yousong Zhou
d8cfba9217 region: networks: attach func use struct args 2020-11-26 21:20:00 +08:00
Yousong Zhou
f87d094580 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:20:00 +08:00
Yousong Zhou
9072a69aec multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:20:00 +08:00
Yousong Zhou
91fab12172 climc: helper: add BatchCreate helper 2020-11-26 21:20:00 +08:00
Yousong Zhou
f6f4fc125a climc: helper: create call as a standalone method 2020-11-26 21:20:00 +08:00
Yousong Zhou
9228b17928 climc: s/Keyworkd/Keyword/ 2020-11-26 21:20:00 +08:00
Yousong Zhou
46088408bc vendor: bump yunion.io/x/pkg 2020-11-26 21:20:00 +08:00
Yousong Zhou
f0fba9aa20 vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:20:00 +08:00
Qu Xuan
61d21d2b46 fix(cloudid): auto update saml provider metadata 2020-11-26 20:20:02 +08:00
TangBin
d5973135d2 fix(region): huawei sync storages bugfix 2020-11-26 19:34:49 +08:00
Qu Xuan
e52fb3260f fix(region): qcloud request retry 2020-11-26 19:03:39 +08:00
Qu Xuan
cb594298d4 fix(climc): replace ' -> " 2020-11-26 17:36:48 +08:00
Yousong Zhou
8db93257d6 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:11:38 +08:00
Yousong Zhou
e53bdd5f94 feat(netutils2): add MyIPTo 2020-11-26 17:11:38 +08:00
yunion-ci-robot
28ff7c29b2 Merge pull request #9001 from wanyaoqi/automated-cherry-pick-of-#8828-upstream-release-3.6
Automated cherry pick of #8828: feature: update cpu arch apis
2020-11-26 16:37:34 +08:00
Qu Xuan
061c5d6dd9 fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:17:42 +08:00
wanyaoqi
59102f2dda 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:33:40 +08:00
Qu Xuan
dea1f29aa1 fix(region): allow member user get saml auth addr 2020-11-26 15:02:49 +08:00
Zexi Li
b479f23a4f Merge pull request #8984 from swordqiu/automated-cherry-pick-of-#8968-upstream-release-3.6
Automated cherry pick of #8968: fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:09 +08:00
yunion-ci-robot
d974440dec Merge pull request #8992 from zexi/automated-cherry-pick-of-#8991-upstream-release-3.6
Automated cherry pick of #8991: fix(scheduler): clean expire cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
bcfb050193 fix(region): wire get vpc releated hosts is empty 2020-11-26 11:03:07 +08:00
Zexi Li
3c85ed11b9 fix(region): network clean schedule cache after real deleted 2020-11-26 11:03:07 +08:00
Zexi Li
a16899c9bf fix(scheduler): clean expire cache before schedule 2020-11-26 11:03:07 +08:00
yunion-ci-robot
761874423f Merge pull request #8931 from tb365/automated-cherry-pick-of-#8779-upstream-release-3.6
Automated cherry pick of #8779: 负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
4d4c84801f fix(region): climc add base projects options 2020-11-26 10:33:36 +08:00
TangBin
670a06d53d 负载均衡ACL&证书增加项目和共享 2020-11-26 10:33:36 +08:00
Zexi Li
8f9015475b Merge pull request #8938 from yousong/automated-cherry-pick-of-#8937-upstream-release-3.6
Automated cherry pick of #8937: fix(treewide): fix task error recording
2020-11-26 09:25:07 +08:00
Zexi Li
4891f16959 Merge pull request #8940 from rainzm/automated-cherry-pick-of-#8925-upstream-release-3.6
Automated cherry pick of #8925: feat(region): add SCloudregionResourceBase for SInstanceSnapshot
2020-11-25 22:04:33 +08:00
Zexi Li
3b7ef422ee Merge pull request #8967 from zhaoxiangchun/automated-cherry-pick-of-#8902-upstream-release-3.6
Automated cherry pick of #8902: feat(monitor): add nodata alert policy
2020-11-25 22:02:38 +08:00
Zexi Li
2e7d107232 Merge pull request #8976 from tb365/automated-cherry-pick-of-#8955-upstream-release-3.6
Automated cherry pick of #8955: fix(region): allow reset huawei system disk
2020-11-25 22:01:48 +08:00
Zexi Li
0676b48513 Merge pull request #8962 from ioito/automated-cherry-pick-of-#8961-upstream-release-3.6
Automated cherry pick of #8961: fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:30 +08:00
Zexi Li
84da1058b2 Merge pull request #8983 from zhaoxiangchun/automated-cherry-pick-of-#8977-upstream-release-3.6
Automated cherry pick of #8977: fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:57:21 +08:00
Zexi Li
a62d51a681 Merge pull request #8988 from rainzm/automated-cherry-pick-of-#8987-upstream-release-3.6
Automated cherry pick of #8987: fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:42 +08:00
rainzm
ed2a867748 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 20:47:10 +08:00
zhaoxiangchun
db565fe0cd fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:30:29 +08:00
Qiu Jian
197049dcb7 fix(region,esxiagent): allow host behind a nat
check host by ip may fail if host is behind a nat. ignore this case.
2020-11-25 20:14:09 +08:00
Zexi Li
ec803b3681 Merge pull request #8966 from zhaoxiangchun/automated-cherry-pick-of-#8965-upstream-release-3.6
Automated cherry pick of #8965: fix(monitor): suggestalert ignore throw err
2020-11-25 19:46:46 +08:00
Zexi Li
8e7b812e4f Merge pull request #8974 from ioito/automated-cherry-pick-of-#8973-upstream-release-3.6
Automated cherry pick of #8973: fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:46 +08:00
rainzm
4d13956bc6 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:26:30 +08:00
rainzm
6ea550d012 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:26:30 +08:00
rainzm
eb3da9369d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:26:29 +08:00
rainzm
727b89db5d fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:26:29 +08:00
rainzm
6d2e914391 fix(region): save when canceling pendingUsage 2020-11-25 18:26:29 +08:00
rainzm
8627818e14 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:26:29 +08:00
rainzm
23b1a2b143 feat(region): add instance_snapshot for regionquota 2020-11-25 18:26:29 +08:00
rainzm
1561d65395 fix(region): purge all instance snapshots when purging guest 2020-11-25 18:26:29 +08:00
rainzm
35fc62bbad feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:26:29 +08:00
TangBin
25eb67b373 fix(region): update translations 2020-11-25 18:18:49 +08:00
TangBin
3ed59afae4 fix(region): allow reset huawei system disk 2020-11-25 18:18:49 +08:00
Qu Xuan
2d7cdad8f2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:17:06 +08:00
Zexi Li
726a0817ac Merge pull request #8971 from ioito/automated-cherry-pick-of-#8970-upstream-release-3.6
Automated cherry pick of #8970: fix(cloudid): avoid empty auth url
2020-11-25 17:16:50 +08:00
Qu Xuan
869740775c fix(cloudid): avoid empty auth url 2020-11-25 17:07:09 +08:00
Zexi Li
5c448811eb Merge pull request #8959 from ioito/automated-cherry-pick-of-#8958-upstream-release-3.6
Automated cherry pick of #8958: fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:52 +08:00
zhaoxiangchun
7661189370 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-25 12:18:40 +08:00
zhaoxiangchun
81e4463abc fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:03:42 +08:00
Qu Xuan
8281411680 fix(region): valid qcloud hssd for system disk 2020-11-25 11:52:04 +08:00
Qu Xuan
a9ef8a1e37 fix(region): validate cloudaccount saml auth params 2020-11-25 11:35:05 +08:00
Zexi Li
f0abdb9e77 Merge pull request #8952 from ioito/automated-cherry-pick-of-#8895-upstream-release-3.6
Automated cherry pick of #8895: fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 10:06:10 +08:00
Qu Xuan
782372c35e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-25 09:54:51 +08:00
Zexi Li
da53fe1cf7 Merge pull request #8948 from yousong/automated-cherry-pick-of-#8947-upstream-release-3.6
Automated cherry pick of #8947: fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:28:05 +08:00
yunion-ci-robot
452d8e9caa Merge pull request #8943 from yousong/automated-cherry-pick-of-#8942-upstream-release-3.6
Automated cherry pick of #8942: feat(cloudcommon): db: jointbase: add list:"user" for RowId
2020-11-25 09:18:16 +08:00
Yousong Zhou
f33b9c7164 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:58:57 +08:00
Yousong Zhou
d1f1eda985 fix(vpcagent): models: guestnetworks: accomodate change_ipaddr
change_ipaddr does detach, then attach of network.  It's not solely an
update of ipaddr, but a combination of deletion then creation.
2020-11-24 21:55:30 +08:00
Yousong Zhou
53125e6ed1 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:30 +08:00
yunion-ci-robot
978677cc02 Merge pull request #8939 from zexi/automated-cherry-pick-of-#8930-upstream-release-3.6
Automated cherry pick of #8930: feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:30 +08:00
yunion-ci-robot
20d0cfb95e Merge pull request #8941 from zhaoxiangchun/automated-cherry-pick-of-#8926-upstream-release-3.6
Automated cherry pick of #8926: fix(monitor): modify suggestrule process influxdb data
2020-11-24 21:29:15 +08:00
zhaoxiangchun
ed13fe9e14 fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 21:13:52 +08:00
Yousong Zhou
d868347773 fix(treewide): fix task error recording 2020-11-24 20:38:20 +08:00
yunion-ci-robot
0a4ddb861e Merge pull request #8934 from ioito/automated-cherry-pick-of-#8933-upstream-release-3.6
Automated cherry pick of #8933: fix(region): avoid public ip bandwidth is zero
2020-11-24 20:25:31 +08:00
Zexi Li
a16b048f96 feat(region/schedtag): schedtag support set multi resources 2020-11-24 20:25:10 +08:00
Qu Xuan
5dea11952f fix(region): avoid public ip bandwidth is zero 2020-11-24 18:10:52 +08:00
yunion-ci-robot
3192b9a06f Merge pull request #8913 from tb365/feature/tb-support-aliyun-finance
feat(region): support aliyun finance cloud
2020-11-24 09:47:59 +08:00
Zexi Li
b394040657 Merge pull request #8920 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify notify alertInfo and alertOk detach resource
2020-11-24 09:33:41 +08:00
TangBin
85324cadf3 fix(region): aliyun zone name fix 2020-11-24 09:30:21 +08:00
TangBin
bb091a3cb8 fix(region): aliyun region name 2020-11-24 09:30:21 +08:00
TangBin
8682c71d94 fix(region): aliyun sync region fix 2020-11-24 09:30:21 +08:00
TangBin
2a1f9ecbcc feat(region): support aliyun finance cloud 2020-11-24 09:27:21 +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
Zexi Li
af6482576e Merge pull request #8917 from ioito/hotfix/qx-classic-vpc-name
fix(region): set classic vpc name to "-"
2020-11-23 21:25:13 +08:00
Zexi Li
0d537d158a Merge pull request #8912 from ioito/hotfix/qx-capability-saml-auth
fix(region): add saml auth for capability
2020-11-23 21:23:59 +08:00
Qu Xuan
db00c83555 fix(region): set classic vpc name to "-" 2020-11-23 17:42:34 +08:00
Zexi Li
8e50c94614 Merge pull request #8904 from ioito/hotfix/qx-azure-host-storage
fix(region): azure host with storage
2020-11-23 16:46:17 +08:00
Zexi Li
d8d486236c Merge pull request #8903 from ioito/hotfix/qx-capability-account
fix(region): add instance capability info(default account)
2020-11-23 16:45:36 +08:00
Qu Xuan
90709ab704 fix(region): add saml auth for capability 2020-11-23 16:25:55 +08:00
Zexi Li
d9f432c5c6 Merge pull request #8906 from swordqiu/feature/qj-filter-domain-user-by-idp-entity-id
feat(keystone): filter domain/user by idp_entity_id
2020-11-23 16:12:26 +08:00
Zexi Li
bc88082a21 Merge pull request #8911 from ioito/hotfix/qx-apsara-fix
fix(region): apsara account fix
2020-11-23 16:11:20 +08:00
Qu Xuan
ab58f0335f fix(region): apsara account fix 2020-11-23 15:42:13 +08:00
Zexi Li
7853ce4fa1 Merge pull request #8889 from wanyaoqi/bugfix/wyq/put-host-offline-util-success
bugfix: wait put host offline success
2020-11-23 13:04:48 +08:00
Qiu Jian
b27b086cce feat(keystone): filter domain/user by idp_entity_id
filter domain/user by idp_entity_id
2020-11-23 12:19:37 +08:00
Qu Xuan
8207a9c997 fix(region): azure host with storage 2020-11-23 11:26:20 +08:00
Qu Xuan
cfd7c5bd90 fix(region): add instance capability info(default account) 2020-11-23 10:05:19 +08:00
wanyaoqi
83c1073f68 fix(host): wait put host offline success
Unregister host wait for host offline success,
in case region is in upgrading.

cherrypick: release/3.4
2020-11-22 15:29:45 +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
Zexi Li
40db9ca0dd Merge pull request #8740 from lvyangyang/inter_vpcs_network
inter vpc network
2020-11-22 11:23:53 +08:00
Zexi Li
ec09ff6b49 Merge pull request #8892 from yousong/bugfix/yousong-i18n
Bugfix/yousong i18n
2020-11-22 10:59:55 +08:00
yunion-ci-robot
c2a2aebaf2 Merge pull request #8865 from swordqiu/hotfix/qj-allow-disk-attach-to-multiple-servers
fix: allow disk attach to multiple guests
2020-11-21 19:25:00 +08:00
Yousong Zhou
ab7ba83225 fix(region): elasticcache_instances: fix error fmt 2020-11-21 17:28:38 +08:00
Yousong Zhou
65571cc5e4 fix(locales): fix translation text 2020-11-21 17:28:38 +08:00
Zexi Li
0402f925bf Merge pull request #8887 from tb365/bugfix/tb-bugfix-1120
Bugfix/tb bugfix 1120
2020-11-20 19:56:39 +08:00
Zexi Li
8f19bc430d Merge pull request #8125 from ioito/feature/qx-apsara-sync
feature: add apsara support
2020-11-20 19:54:45 +08:00
TangBin
6391ef84d8 fix(region): create/update aliyun account bugfix 2020-11-20 18:38:42 +08:00
TangBin
96d2e24034 fix(region): purge account bugfix
忽略由于证书缓存与负载均衡监听关联导致purge账号失败的问题
2020-11-20 17:43:49 +08:00
spike.lv
eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
TangBin
767e06a1d0 fix(region): checking cloudenv while create/update aliyun cloud account
#6389
2020-11-20 17:24:44 +08:00
Zexi Li
56b038cd0e Merge pull request #8884 from ioito/hotfix/qx-aliyunfi-oss
fix(region): compatible aliyun fin oss
2020-11-20 16:35:44 +08:00
TangBin
c18d1f0e77 fix(region): create redis validate network and sku zone match 2020-11-20 16:15:22 +08:00
Qu Xuan
0feddb13af fix(region): compatible aliyun fin oss 2020-11-20 16:05:31 +08:00
TangBin
e5289f8a4c fix(region): delete aliyun account bugfix 2020-11-20 15:45:10 +08:00
TangBin
0bbba6d3f8 fix(region): redis create account add name validate
公有云redis不允许创建名为root的账号

#6398
2020-11-20 14:24:34 +08:00
Zexi Li
0344d7e4b2 Merge pull request #8881 from lvyangyang/fix/qcloud-bucket-cdn-domain
fix(region): get qcloud bucket cdn-domain
2020-11-20 11:17:41 +08:00
TangBin
4e811240e4 fix(region): ignore classic vpc checkout while add lb backend
阿里云公网EL属于经典网络,在添加后端服务器时,不需要LB VPC和服务器的vpc 完全匹配

#6040
#6404
2020-11-20 11:08:47 +08:00
lvyangyang
b5d50fdfcf fix(region): get qcloud bucket cdn-domain 2020-11-20 10:34:23 +08:00
Zexi Li
39bc3037d6 Merge pull request #8877 from ioito/hotfix/qx-huawei-rds-password
fix: 自动生成华为云rds密码
2020-11-20 10:05:11 +08:00
Zexi Li
00bbc57bd0 Merge pull request #8873 from ioito/hotfix/qx-guest-undeploy
optimized: server delete log and wait time
2020-11-20 10:04:18 +08:00
Zexi Li
a2081832ed Merge pull request #8876 from ioito/feat/qx-rds-create-by-backup
feat: rds recovery new instance from backup supported
2020-11-19 20:52:52 +08:00
Qu Xuan
fd4b544fbc feat: rds recovery new instance from backup supported 2020-11-19 20:06:36 +08:00
Qu Xuan
a08fb0044f fix: 自动生成华为云rds密码 2020-11-19 19:53:04 +08:00
Qu Xuan
1e160821e6 optimized: server delete log and wait time 2020-11-19 16:25:37 +08:00
Qu Xuan
b195f95bdf feature: add apsara support 2020-11-19 15:41:30 +08:00
yunion-ci-robot
c2446eab26 Merge pull request #8869 from lvyangyang/lyy/cdn_domain_enable
fix(region): qcloud bucket set cors
2020-11-19 15:03:12 +08:00
Zexi Li
7f799a1835 Merge pull request #7869 from ioito/hotfix/qx-cloudevent-doamin-filter
fix: 支持公有云域过滤操作日志
2020-11-19 14:44:31 +08:00
lvyangyang
f1b428be07 fix(region): qcloud bucket set cors 2020-11-19 14:36:55 +08:00
Zexi Li
36cc3d7399 Merge pull request #8856 from tb365/bugfix/tb-bugfix-111701
add redis and redis skus slave zone info & huawei aws supported stora…
2020-11-19 14:33:00 +08:00
Qiu Jian
0718da3d70 fix: allow disk attach to multiple guests 2020-11-19 13:21:28 +08:00
Zexi Li
4c8bacea0f Merge pull request #8838 from zhaoxiangchun/bugfix/zxc-commonalert
suggestAlert feature:
2020-11-19 12:55:16 +08:00
Zexi Li
ebd9a7517a Merge pull request #8531 from wanyaoqi/feature/wyq/check-block-replication-is-support
host: drive mirror check block replication is support
2020-11-19 12:53:55 +08:00
Zexi Li
24bbbb4b0a Merge pull request #8847 from wanyaoqi/bugfix/wyq/fix-order-init-host-service
host: fix order init host srevice
2020-11-19 12:50:07 +08:00
Zexi Li
7391c6e1f6 Merge pull request #8569 from ioito/hotfix/qx-azure-list
fix: 优化azure资源同步
2020-11-19 12:46:46 +08:00
Qu Xuan
06581ad1a5 fix: optimized jsonRequest 2020-11-19 12:02:55 +08:00
TangBin
1afaa2950a add getStorageType err log 2020-11-19 12:02:50 +08:00
Qu Xuan
0d85df52bf fix: 优化azure资源同步 2020-11-19 12:01:04 +08:00
Zexi Li
ec45faf972 Merge pull request #8841 from ioito/hotfix/qx-server-stop
fix: 支持关机不收费
2020-11-19 11:56:40 +08:00
Zexi Li
ce53dd01d0 Merge pull request #8792 from rainzm/esxi/storagetype
feat(esxi): use more specific storage types
2020-11-19 11:52:24 +08:00
zhaoxiangchun
2bae6c0bb6 suggestAlert feature:
1.支持由建议列表忽略一类建议信息
2.建议列表和忽略列表,展示名称的处理。同时后端返回资源名称。
3.优化建议规则的修改。后端支持climc修改周期period和时间范围配置
4.优化建议规则返回describe信息
5.去掉了后端自动对忽略列表的init动作

影响范围: 优化建议规则的展示;建议列表的展示
2020-11-19 11:22:31 +08:00
Zexi Li
7ee1655123 Merge pull request #8860 from swordqiu/hotfix/qj-add-cpu-total-memory-total-usage
fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:09 +08:00
Zexi Li
d745acc798 Merge pull request #8863 from ioito/hotfix/qx-saml-api-addr
fix: cloudid api addr
2020-11-19 11:02:11 +08:00
Qu Xuan
4592299ffa fix: cloudid api addr 2020-11-19 10:23:35 +08:00
Qiu Jian
bc5c74b1bd fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:23:05 +08:00
Zexi Li
6ff5653fa4 Merge pull request #8832 from wanyaoqi/feature/wyq/custom-cloudroot-home-dir
host-deployer: customize user cloudroot home dir
2020-11-18 23:50:22 +08:00
Zexi Li
7b1d35b50b Merge pull request #8844 from zhaoxiangchun/feature/zxc-alertdisable
detach AlertResource on alertDisable
2020-11-18 21:16:29 +08:00
Zexi Li
84f9591127 Merge pull request #8850 from swordqiu/hotfix/qj-add-host-joint-domain-resources
fix: add host-joint resources into domain level resources
2020-11-18 21:15:15 +08:00
Zexi Li
359c5a1221 Merge pull request #8858 from rainzm/fix/disk_resize
fix(hostdeployer): umount rootfs before resize partition
2020-11-18 21:13:33 +08:00
rainzm
27378f2c85 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:26:26 +08:00
yunion-ci-robot
f502c6722a Merge pull request #8849 from zhasm/feature/rex-cross-docker-buildx
docker 交叉编译规则更新
2020-11-18 16:35:09 +08:00
TangBin
2d15a7b977 add redis and redis skus slave zone info & huawei aws supported storage type update 2020-11-18 16:16:51 +08:00
Zhang Dongliang
c9ec30b5b3 docker 交叉编译规则更新 2020-11-18 15:55:39 +08:00
Qiu Jian
7fbe72ce5d fix: add host-joint resources into domain level resources 2020-11-18 15:19:50 +08:00
wanyaoqi
cbb801753b host: fix order init host srevice 2020-11-18 12:20:57 +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
11c3f6a6ef fix: 支持关机不收费 2020-11-17 20:44:16 +08:00
Zexi Li
63d1d27069 Merge pull request #8842 from lvyangyang/lyy/bucket_cdn_domain
add:get bucket cdn domain
2020-11-17 20:40:53 +08:00
yunion-ci-robot
23a12c5484 Merge pull request #8836 from ioito/hotfix/qx-secgroup-rule-import
fix: support import rules for secgroups
2020-11-17 18:30:08 +08:00
lvyangyang
9b627c10fb add:get bucket cdn domain 2020-11-17 18:24:04 +08:00
Qu Xuan
d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
Zexi Li
c75130fc44 Merge pull request #8827 from rainzm/fix/notifyRobot
Fixs of Notify
2020-11-17 17:51:57 +08:00
yunion-ci-robot
03c10e15b1 Merge pull request #8726 from rainzm/esxi/resizefs
Try to resizefs after resizing esxi disk
2020-11-17 16:44:09 +08:00
rainzm
36dec7baa0 fix: add err handler for notifyRobot 2020-11-17 16:34:12 +08:00
rainzm
a4dc42e69a feat(notify): enable watching user in keystone 2020-11-17 16:34:08 +08:00
rainzm
7ed99506a5 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 16:15:06 +08:00
Qu Xuan
cece2852aa fix: support import rules for secgroups 2020-11-17 15:31:09 +08:00
Zexi Li
3130e61a29 Merge pull request #8793 from rainzm/fix/esxi_snapshot
fix(region): chooseHostStorage
2020-11-17 15:21:17 +08:00
Zexi Li
9bbb738020 Merge pull request #8823 from ioito/hotfix/qx-aliyun-rds-backup
optimized: aliyun create rds backup
2020-11-17 14:52:15 +08:00
Zexi Li
920e257907 Merge pull request #8816 from zhaoxiangchun/bugfix/zxc-commonalert
modify  alertResource ws info
2020-11-17 14:51:20 +08:00
rainzm
8c17cdd5e2 feat(region): add RequestResizeDiskOnHost to SESXiHostDriver 2020-11-17 14:48:29 +08:00
rainzm
a1bc77a40e feat(esxiagent): try to resize partition after resizing disk 2020-11-17 14:48:29 +08:00
rainzm
22cec0964e feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:48:26 +08:00
Zexi Li
d15881355d Merge pull request #8803 from wanyaoqi/bugfix/wyq/host-reconnect-etcd
host: restart etcd session on keepalive failed
2020-11-17 14:20:11 +08:00
yunion-ci-robot
b237f36408 Merge pull request #8820 from tb365/bugfix/tb-qcloud-create-single-zone-elb-bugfix
qcloud create single zone elb bugfix
2020-11-17 10:02:06 +08:00
yunion-ci-robot
a683ea6ef2 Merge pull request #8830 from rainzm/scheduler/storagetype
feat(scheduler): support filtering storage via medium
2020-11-16 23:02:13 +08:00
yunion-ci-robot
c516faee7e Merge pull request #8817 from ioito/hotfix/qx-error-cause
fix: add error cause
2020-11-16 21:41:12 +08:00
wanyaoqi
6e66a129d6 host-deployer: customize user cloudroot home dir 2020-11-16 21:12:35 +08:00
rainzm
bf30c48eea feat(scheduler): support filtering storage via medium 2020-11-16 20:46:31 +08:00
Qu Xuan
aa5cbd0b0e optimized: aliyun create rds backup 2020-11-16 20:12:43 +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
lvyangyang
8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
TangBin
63eddd2194 qcloud create single zone elb bugfix 2020-11-16 15:12:21 +08:00
Qu Xuan
83f5ce4316 fix: add error cause 2020-11-16 14:54:03 +08:00
zhaoxiangchun
d02db0e401 modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-16 14:27:17 +08:00
yunion-ci-robot
2a54a139dc Merge pull request #8814 from swordqiu/hotfix/qj-qcloud-create-bucket-missing-appid
fix: qcloud create bucket without appId
2020-11-16 13:21:06 +08:00
Qiu Jian
38018080cc fix: qcloud create bucket without appId 2020-11-16 12:57:54 +08:00
lvyangyang
da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
yunion-ci-robot
b11b5a2b45 Merge pull request #8774 from rainzm/fix/esxisp
Fix for esxi instance snapshot
2020-11-16 11:02:03 +08:00
rainzm
7818709539 fix: creating esxi guest from instance snapshot 2020-11-16 10:39:12 +08:00
rainzm
a14b556f27 fix(region): start vm when 'auto_start' is true 2020-11-16 10:38:29 +08:00
rainzm
8ef1af0dbc fix: set isp's status as 'instance_snapshot_reset' when reseting guest from isp 2020-11-16 10:38:26 +08:00
Zexi Li
448ce6379e Merge pull request #8783 from tb365/bugfix/tb-aliyunfin-region-name
aliyun finance cloud region add suffix
2020-11-15 08:00:20 +08:00
Zexi Li
b81f658d49 Merge pull request #8780 from swordqiu/hotfix/qj-keystone-init-empty-catalogy-panic
fix: mcclient panic when keystone init empty service catalog
2020-11-15 07:59:01 +08:00
Zexi Li
61d37663ca Merge pull request #8806 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-15 07:54:59 +08:00
Zexi Li
2112926934 Merge pull request #8809 from swordqiu/hotfix/qj-baremetal-usage-exclude-converted-baremetal
fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:06 +08:00
Qiu Jian
8fcc85745d fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:39:42 +08:00
zhaoxiangchun
c39540d5ca commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:18:25 +08:00
wanyaoqi
7dc8f906c9 host: restart etcd session on keepalive failed 2020-11-14 15:24:40 +08:00
yunion-ci-robot
a525fabe47 Merge pull request #8800 from swordqiu/hotfix/qj-host-memory-usage-stats-incorrecct
fix: host memory usage status not correct
2020-11-14 11:22:04 +08:00
Qiu Jian
2a1b5f8a75 fix: mcclient panic when keystone init empty service catalog 2020-11-14 00:17:18 +08:00
yunion-ci-robot
75861efc77 Merge pull request #8796 from yousong/bugfix/yousong-jsonutils
vendor: update yunion.io/x/jsonutils
2020-11-14 00:10:02 +08:00
Qiu Jian
157fb1e488 fix: host memory usage status not correct 2020-11-13 23:55:33 +08:00
Yousong Zhou
854ff4079a vendor: update yunion.io/x/jsonutils
See yunionio/onecloud#8357
2020-11-13 18:44:12 +08:00
Zexi Li
353343072d Merge pull request #8790 from tb365/feature/tb-huawei-vm-support-vnc
huawei vm support vnc
2020-11-13 17:45:35 +08:00
rainzm
cfc58a3566 fix(region): chooseHostStorage
Setting options.Options.LockStorageFromCachedimage will trigger this bug.
2020-11-13 17:11:18 +08:00
rainzm
bb6af1e222 feat(esxi): use more specific storage types
Replace 'nas' with some specific types such as 'vsan', 'nfs' and 'cifs'.
2020-11-13 15:35:02 +08:00
Zexi Li
a2ffb6f33b Merge pull request #8786 from swordqiu/hotfix/qj-keystone-init-empty-catalog
fix: keystone init empty catalogy cause panic
2020-11-13 15:23:44 +08:00
TangBin
6b23c5c8fc huawei vm support vnc 2020-11-13 15:03:16 +08:00
Qiu Jian
b84f237961 fix: keystone init empty catalogy cause panic 2020-11-13 14:50:13 +08:00
TangBin
576120f153 aliyun finance cloud zone add suffix 2020-11-13 14:43:41 +08:00
TangBin
7360c544ff aliyun finance cloud region add suffix 2020-11-13 14:37:22 +08:00
Zexi Li
aa6a599c8f Merge pull request #8771 from swordqiu/feature/qj-allow-join-project-across-domain
feature: allow join project across domain
2020-11-13 10:39:38 +08:00
Zexi Li
45dc4bbd41 Merge pull request #8776 from zhaoxiangchun/bugfix/zxc-commonalert
suggestalet bugfix
2020-11-13 10:38:39 +08:00
zhaoxiangchun
922874936f suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
2020-11-12 21:31:54 +08:00
yunion-ci-robot
bcc857ab88 Merge pull request #8737 from lvyangyang/lyy/fix/sync_aws_lb_tag
add:aws lb tag
2020-11-12 21:01:01 +08:00
Qiu Jian
f10267b0fe feature: allow join project across domain 2020-11-12 19:40:23 +08:00
yunion-ci-robot
bb6882fb99 Merge pull request #8758 from ioito/hotfix/qx-server-create-params
fix: public ip and duration for create params
2020-11-12 19:34:02 +08:00
Zexi Li
83e97c11c9 Merge pull request #8760 from ioito/hotfix/qx-huawei-object-acl
fix: avoid panic
2020-11-12 19:31:18 +08:00
Zexi Li
7b77196054 Merge pull request #8756 from ioito/hotfix/qx-low-memeory-sku-create
fix: support create 512mb server sku
2020-11-12 18:52:11 +08:00
Zexi Li
bf3af4d717 Merge pull request #8764 from ioito/hotfix/qx-qcloud-hssd-disk
fix: support resize qcloud hssd disk
2020-11-12 18:51:22 +08:00
Qu Xuan
b8410be115 fix: support resize qcloud hssd disk 2020-11-12 16:46:15 +08:00
Qu Xuan
7a60225617 fix: avoid panic 2020-11-12 16:18:59 +08:00
Qu Xuan
d7ab5fdd14 fix: public ip and duration for create params 2020-11-12 16:00:35 +08:00
Qu Xuan
c7a6ec8e9d fix: support create 512mb server sku 2020-11-12 14:02:10 +08:00
yunion-ci-robot
49823078b1 Merge pull request #8753 from rainzm/fix/syncsdisk
fix(region): prevent infinite recursion
2020-11-12 11:53:04 +08:00
rainzm
d2ed191752 fix(region): prevent infinite recursion
When weekDays is [1,2,3,4,5,6,7] and timePoints is [0], It will recurse infinitely.
2020-11-12 11:38:23 +08:00
Zexi Li
4fe47fe405 Merge pull request #8747 from ioito/hotfix/qx-account-prob-log
fix: avoid check region log every time when account status is unknown
2020-11-12 00:51:05 +08:00
Zexi Li
c78636910e Merge pull request #8749 from ioito/hotfix/qx-rds-renew
fix: renew rds
2020-11-12 00:49:39 +08:00
Qu Xuan
98d20725aa fix: renew rds 2020-11-11 19:05:15 +08:00
Qu Xuan
c2c9edd9c6 fix: avoid check region log every time when account status is unknown 2020-11-11 15:25:37 +08:00
Zexi Li
7123a8fc28 Merge pull request #8744 from ioito/hotfix/qx-cron-job-ctx
fix: avoid lock reentry
2020-11-11 12:04:23 +08:00
Zexi Li
623d905900 Merge pull request #8743 from wanyaoqi/feature/wyq/qemu-arm-fix-cdrom-params
qemu-arm: fix cdrom params
2020-11-11 12:03:45 +08:00
Zexi Li
dbbbcee08f Merge pull request #8741 from swordqiu/hotfix/qj-role-policy-set-update
fix: role-set-policies support update only operation
2020-11-11 11:58:14 +08:00
Zexi Li
c5b60916af Merge pull request #8723 from tb365/bugfix/tb-bugfix-20111001
batch user create bugifx
2020-11-11 11:56:16 +08:00
Zexi Li
3bb643cc52 Merge pull request #8722 from wanyaoqi/feature/wyq/misc-1110
misc bugfix: add log note, show reserved memory, specific bash start guest
2020-11-11 11:55:39 +08:00
Zexi Li
5f926f2865 Merge pull request #8719 from tb365/bugfix/tb-bugfix-201110
huawei create disk bugfix
2020-11-11 11:54:01 +08:00
Qu Xuan
cfebba2557 fix: avoid lock reentry 2020-11-10 21:13:55 +08:00
wanyaoqi
cc7542cc6f qemu-arm: fix cdrom params 2020-11-10 20:55:41 +08:00
Qiu Jian
f1be0adf6e allow delete role-policy-binding 2020-11-10 20:30:27 +08:00
lvyangyang
910bec329b add:aws lb tag 2020-11-10 19:49:10 +08:00
Qiu Jian
d66ee1fd4b fix: role-set-policies support update only operation 2020-11-10 19:05:55 +08:00
Zexi Li
df82c0808f Merge pull request #8738 from ioito/hotfix/qx-rds-renew
fix: qcloud rds set renew flag
2020-11-10 19:05:18 +08:00
屈轩
c56ebfd043 fix: qcloud rds set renew flag 2020-11-10 18:56:27 +08:00
Zexi Li
b091a7d2ba Merge pull request #8735 from tb365/bugfix/tb-bugfix-20111003
redis set autorenew bugfix
2020-11-10 18:41:25 +08:00
TangBin
6ce5b1d509 redis set autorenew bugfix 2020-11-10 18:35:06 +08:00
Zexi Li
9a8bb46ff0 Merge pull request #8730 from ioito/hotfix/qx-rds-task
fix: rds task fix
2020-11-10 18:02:14 +08:00
Qu Xuan
0272c76950 fix: rds task fix 2020-11-10 18:00:00 +08:00
Zexi Li
097d1af288 Merge pull request #8728 from tb365/bugfix/tb-bugfix-20111002
redis set autorenew bugfix
2020-11-10 17:46:28 +08:00
TangBin
fe07cda1a9 redis set autorenew bugfix 2020-11-10 17:43:17 +08:00
TangBin
3ceec3aa1e batch user create bugifx 2020-11-10 16:46:40 +08:00
wanyaoqi
aa45e62cbd host: specifie bash for start guest 2020-11-10 16:06:48 +08:00
wanyaoqi
0b11854a8b usage: host show isolated dev reserved memory 2020-11-10 16:03:13 +08:00
TangBin
4e3e5b01a5 huawei create disk bugfix 2020-11-10 15:45:51 +08:00
yunion-ci-robot
e6de534916 Merge pull request #8709 from rainzm/esxi/snapshot
Esxi Instance snapshot
2020-11-10 15:37:20 +08:00
rainzm
f077f06021 feat(region): support automatic start vm after reseting isp 2020-11-10 15:19:30 +08:00
rainzm
bb109953df feat(region): add SExternalizedResourceBase, SManagedResourceBase to SInstanceSnapshot 2020-11-10 15:19:30 +08:00
rainzm
1e297dca12 feat: update locales 2020-11-10 15:19:30 +08:00
rainzm
6f6ea9e38f feat: support creating vm from instance snapshot 2020-11-10 15:19:26 +08:00
rainzm
2ed4534f48 feat: creat, delete, revert and sync operator for esxi instance snapshots 2020-11-10 15:17:57 +08:00
Zexi Li
338e1cb570 Merge pull request #8713 from ioito/hotfix/qx-rds-auto-renew
fix: support rds set auto renew
2020-11-10 12:55:19 +08:00
Zexi Li
aaa4dccea8 Merge pull request #8715 from ioito/hotfix/qx-aws-secgroup-rule
fix: aws secgroup out rule is deny any
2020-11-10 12:54:23 +08:00
Zexi Li
1ff8798698 Merge pull request #8711 from tb365/bugfix/tb-bugfix-201109
redis prepaid create autorenew bugfix
2020-11-10 12:53:18 +08:00
wanyaoqi
f464a904d1 add success note on guest start and stop 2020-11-10 11:50:03 +08:00
Qu Xuan
bc28c8bdfb fix: aws secgroup out rule is deny any 2020-11-10 11:03:49 +08:00
TangBin
dd2eb4b446 redis create bugfix 2020-11-10 10:56:36 +08:00
Qu Xuan
a7e832488e fix: support rds set auto renew 2020-11-09 20:12:07 +08:00
TangBin
3a44985557 redis prepaid create autorenew bugfix 2020-11-09 19:31:03 +08:00
Zexi Li
f344228b91 Merge pull request #8692 from swordqiu/hotfix/qj-scoped-policy-system-level
fix: change level of scopedpolicy to system
2020-11-09 18:20:33 +08:00
yunion-ci-robot
48849d044f Merge pull request #8698 from rainzm/build/faster_docker_build
Faster docker build
2020-11-09 14:23:37 +08:00
yunion-ci-robot
ef90b52498 Merge pull request #8649 from rainzm/network/filter_via_storage
feat(region): filter network via storage
2020-11-09 14:22:22 +08:00
rainzm
e11011ddb7 feat: add ICloudInstanceSnapshot & modify ICloudVM 2020-11-09 13:54:48 +08:00
rainzm
7bdcf95524 feat: support snapshot of esxi 2020-11-09 13:54:45 +08:00
yunion-ci-robot
ed75370e24 Merge pull request #8707 from tb365/feature/tb-qcloud-redis-support-autorenew
qcloud redis secgroup sync fix & qcloud add renew& auto_renew
2020-11-09 11:30:21 +08:00
Qiu Jian
79ad3c188f fix: change level of scopedpolicy to system 2020-11-09 11:11:03 +08:00
Zexi Li
6889061a7c Merge pull request #8705 from swordqiu/hotfix/qj-scoped-policy-binding-search-by-name
fix: search by name and order by scopedpolicy for scopedpolicybindings
2020-11-09 10:45:42 +08:00
Zexi Li
f28a196ac4 Merge pull request #8703 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-09 10:44:20 +08:00
Qiu Jian
73e117c6e4 fix: search by name and order by scopedpolicy for scopedpolicybindings 2020-11-09 00:22:26 +08:00
zhaoxiangchun
a9c3c5bfdc commonalert bugfix:
1. 报警消息中过滤onecloud信息
2. 报警记录中报警恢复match 信息根据alertingMatches进行过滤处理
2020-11-08 17:09:17 +08:00
Zexi Li
2920f44c70 Merge pull request #8694 from lvyangyang/lyy/fix/dns_recordname_check
fix:修复dns record name校验的问题
2020-11-07 18:40:31 +08:00
Zexi Li
c46e1f2346 Merge pull request #8700 from ioito/hotfix/qx-rds-dirty-data
fix: sync remove dirty rds accounts
2020-11-07 18:26:56 +08:00
TangBin
09145c3c1d qcloud redis secgroup sync fix & qcloud add renew& auto_renew 2020-11-06 22:32:04 +08:00
Qu Xuan
008fd554c6 fix: sync remove dirty rds accounts 2020-11-06 20:36:33 +08:00
rainzm
5ab362d05f feat(build): add DOCKER_BUILDKIT in docker_push.sh 2020-11-06 20:12:58 +08:00
rainzm
2b5014b847 feat(build): add .dockerignore 2020-11-06 20:12:31 +08:00
lvyangyang
089aea99d8 fix:修复dns record name校验的问题 2020-11-06 19:42:46 +08:00
yunion-ci-robot
4653e46ec9 Merge pull request #8689 from swordqiu/hotfix/qj-change-owner-update-quota-usages
fix: change owner should update quota usages
2020-11-06 15:11:19 +08:00
yunion-ci-robot
0ecff3e65e Merge pull request #8686 from rainzm/fix/GetIImageById
Fix for Esxi and GetIImage
2020-11-06 15:07:17 +08:00
yunion-ci-robot
a0a3394eb4 Merge pull request #8683 from ioito/hotfix/qx-aliyun-eip-api
fix: aliyun eip api
2020-11-06 15:04:20 +08:00
yunion-ci-robot
54b59d74d4 Merge pull request #8676 from lvyangyang/lyy/qcloud_routetable
add:qcloud routetable
2020-11-06 15:03:19 +08:00
Qiu Jian
1bd4b85bf5 fix: change owner should update quota usages 2020-11-06 14:32:04 +08:00
Zexi Li
74b129073f Merge pull request #8680 from ioito/hotfix/qx-server-sku-filter
fix: 支持多内存过滤套餐
2020-11-06 13:49:53 +08:00
Zexi Li
9290797435 Merge pull request #8677 from swordqiu/hotfix/qj-fix-order-by-extra-fields-missing-columns-error
fix: missing column error when order by extra fields
2020-11-06 13:49:28 +08:00
Zexi Li
bb4dc2f2ee Merge pull request #8672 from zexi/hotfix/scheduler-ignore-non-running
scheduler: ignore non running guests only exclude ready status
2020-11-06 13:48:05 +08:00
rainzm
be0e8d73b7 fix(esxi): don't specify spec.Identity when osName is empty 2020-11-06 11:46:36 +08:00
rainzm
7aa5b28b37 fix(esxi): add device after cloning vm 2020-11-06 11:45:54 +08:00
rainzm
936ea00406 refactor(region): faster GetIImageById 2020-11-06 11:44:46 +08:00
rainzm
42309b8a7b refactor(region): faster sync CapacityUsed for Storage
1. replace cronjob SyncCapacityUsedForStorage with
SyncCapacityUsedForEsxiStorage
2. do not sync capacityUsed for storage when deleting and creating vm
for now because of performance issues。
2020-11-06 11:41:29 +08:00
rainzm
dfc246ca5b feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 11:36:59 +08:00
Qu Xuan
cdead1c476 fix: aliyun eip api 2020-11-06 11:08:54 +08:00
lvyangyang
4569326322 add:qcloud routetable 2020-11-06 10:34:18 +08:00
Qu Xuan
25aed0a7ee fix: 支持多内存过滤套餐 2020-11-06 10:30:38 +08:00
Qiu Jian
03d17e6fba fix: missing column error when order by extra fields 2020-11-05 23:51:03 +08:00
yunion-ci-robot
c7a119e85a Merge pull request #8670 from swordqiu/feature/qj-name-pattern-offset
feature: allow specify offset in name pattern
2020-11-05 18:31:30 +08:00
yunion-ci-robot
86ed0a308a Merge pull request #8668 from zhaoxiangchun/feature/zxc-alert-resource-filter
add resource type
2020-11-05 18:28:12 +08:00
Zexi Li
b47b0dc863 scheduler: ignore non running guests only exclude ready status 2020-11-05 18:05:49 +08:00
Qiu Jian
0beee87db3 feature: allow specify offset in name pattern 2020-11-05 16:48:43 +08:00
Zexi Li
a8d17e9cb8 Merge pull request #8667 from tb365/bugfix/tb-bugfix-201105
qcloud release prepaid resource bugfix
2020-11-05 15:08:42 +08:00
Zexi Li
728c576ea7 Merge pull request #8654 from swordqiu/hotfix/qj-sso-status-in-cookie
fix: save sso login status in cookie
2020-11-05 13:10:51 +08:00
Zexi Li
93b4b7008c Merge pull request #8664 from swordqiu/hotfix/qj-update-vendor-jsonutils-20201104
update vendor for jsonutils
2020-11-05 13:10:22 +08:00
TangBin
3b7c925212 qcloud release prepaid resource bugfix 2020-11-05 12:00:08 +08:00
zhaoxiangchun
0a0b73406d add resource type
1.支持前端通过资源类型进行过滤分类
2020-11-05 11:46:14 +08:00
Qiu Jian
ca0e79effb update vendor for jsonutils 2020-11-05 11:28:37 +08:00
Zexi Li
97682f1716 Merge pull request #8661 from zexi/hotfix/scheduler-forecast-with-candidates
scheduler: forecast api with candidates result
2020-11-05 00:39:17 +08:00
Zexi Li
b60e19b1b0 Merge pull request #8662 from swordqiu/hotfix/qj-server-name-historically-unique
server generate name should be historically unique
2020-11-05 00:38:08 +08:00
Qiu Jian
4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Zexi Li
543770694c Merge branch 'master' into hotfix/scheduler-forecast-with-candidates 2020-11-04 23:02:20 +08:00
Zexi Li
56cf88ec76 Merge pull request #8659 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix
2020-11-04 23:01:44 +08:00
yunion-ci-robot
64bebb97e8 Merge pull request #8652 from yousong/feature/yousong-bgptype
Feature/yousong filter by bgptype
2020-11-04 21:11:10 +08:00
Zexi Li
0ed41b09e1 scheduler: forecast api with candidates result 2020-11-04 21:10:07 +08:00
yunion-ci-robot
d96f0486a0 Merge pull request #8658 from lshmouse/typo
Fix a typo: ProviderFactor -> ProviderFactory
2020-11-04 20:54:12 +08:00
yunion-ci-robot
d67ecae75e Merge pull request #8655 from lvyangyang/lyy/dns_record_name_validate
fix:域名正则校验dnsrecord name,同步中文域名取punycode
2020-11-04 18:41:09 +08:00
zhaoxiangchun
97ed340387 commonalert bugfix 2020-11-04 18:17:26 +08:00
Shaohui Liu
47d358ecb1 Fix a typo: ProviderFactor -> ProviderFactory 2020-11-04 18:10:03 +08:00
rainzm
f03d5af31f feat(region): filter network via storage 2020-11-04 17:17:55 +08:00
lvyangyang
73d750e1c7 fix:域名正则校验dnsrecord name,同步中文域名取punycode 2020-11-04 17:16:11 +08:00
Yousong Zhou
6464597c97 climc: network-list with multiple --bgp-type args 2020-11-04 16:48:22 +08:00
Yousong Zhou
51dafd29e7 networks: make filter by bgp types available 2020-11-04 16:48:22 +08:00
Yousong Zhou
d4469ffde4 networks: list: make bgp_type available 2020-11-04 16:48:22 +08:00
Qiu Jian
ae327021db fix: save sso login status in cookie 2020-11-04 16:40:57 +08:00
Zexi Li
45d8281e6e Merge pull request #8553 from swordqiu/feature/qj-keystone-sso-create-domain
feature: auto create domain for sso idp
2020-11-04 16:31:56 +08:00
Zexi Li
93d05ebd77 Merge pull request #8627 from lvyangyang/lyy/add_route
vpcPeeringConnection  add route
2020-11-04 16:26:20 +08:00
Zexi Li
5b334bfbe4 Merge pull request #8651 from swordqiu/hotfix/qj-policy-permission-data-incorrect
fix: auth permission result incorrect
2020-11-04 16:13:12 +08:00
lvyangyang
321e3c2f7c add route 2020-11-04 15:40:04 +08:00
Qiu Jian
4349cc7f98 fix: auth permission result incorrect 2020-11-04 12:04:45 +08:00
Zexi Li
e3a87410c5 Merge pull request #8647 from ioito/hotfix/qx-qcloud-rds-status-and-expired-time
fix: add rds status and expired time
2020-11-04 11:22:40 +08:00
Zexi Li
8631ca1a97 Merge pull request #8637 from tb365/bugfix/tb-qcloud-redis-bugfix-20201103
Bugfix/tb qcloud redis bugfix 20201103
2020-11-04 11:21:28 +08:00
Zexi Li
ab9e0ba184 Merge pull request #8633 from tb365/bugfix/tb-bugfix-20110201
Bugfix/tb bugfix 20110201
2020-11-04 11:19:42 +08:00
Zexi Li
37ee7fcf4e Merge pull request #8631 from zhaoxiangchun/bugfix/zxc-commonalert
modify monitor querycondition:
2020-11-04 11:07:50 +08:00
Zexi Li
5f163f64db Merge pull request #8628 from swordqiu/hotfix/qj-scoped-policy-filter-at-scope-project
fix: scopedpolicybindings filter by scope project
2020-11-04 10:59:27 +08:00
Zexi Li
b398ad99fc Merge pull request #8640 from rainzm/verify/template
fix(notify): customize the title of the verification email based on the copyright
2020-11-04 10:58:18 +08:00
yunion-ci-robot
acff2f6a09 Merge pull request #8643 from swordqiu/hotfix/qj-elasticcache-quota
fix: elasticcache quota not take effect
2020-11-04 10:54:46 +08:00
Qu Xuan
f47f2c51e4 fix: add rds status and expired time 2020-11-04 10:46:55 +08:00
zhaoxiangchun
d45c096390 modify monitor querycondition:
1.对于策略可以返回多个field value。供策略进行使用
2. 对于1种情况需要在commonalert种设置metadata属性
3. 修改alertresource get driver的判断逻辑
4. 针对host 相关的measurement 默认增加res_type 过滤filter
2020-11-04 10:43:47 +08:00
TangBin
c5a88b80b5 add option PrepaidDeleteExpireCheck 2020-11-04 09:57:30 +08:00
Qiu Jian
9f122f7452 fix: elasticcache quota not take effect 2020-11-04 00:56:28 +08:00
Qiu Jian
32fe10b001 fix: scopedpolicybindings filter by scope project 2020-11-03 23:12:30 +08:00
Zexi Li
6269097b3b Merge pull request #8636 from ioito/hotfix/qx-qcloud-sku-storage
fix: add qcloud hssd
2020-11-03 20:41:45 +08:00
rainzm
d3aae00092 fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:24:00 +08:00
Qu Xuan
5b4efddec6 fix: add qcloud hssd 2020-11-03 19:57:19 +08:00
TangBin
bbe362be2f qcloud delete prepaid redis bugfix 2020-11-03 19:33:41 +08:00
TangBin
4be09cfc0d qcloud create prepaid redis bugfix 2020-11-03 19:12:31 +08:00
TangBin
2f7781d152 lbcert cache delete bugfix 2020-11-03 17:55:43 +08:00
TangBin
0bf274f125 aws create bugfix 2020-11-03 17:55:43 +08:00
Yousong Zhou
f127253e3f Merge pull request #8629 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify go test error
2020-11-03 17:00:20 +08:00
yunion-ci-robot
4c3a251dd3 Merge pull request #8532 from zexi/feature/cloudresources-schedtag
feature: support cloudprovider, cloudregion and zone schedtag
2020-11-03 16:54:46 +08:00
zhaoxiangchun
72b9f2ec77 modify go test error 2020-11-03 15:22:26 +08:00
yunion-ci-robot
aa1a511c0f Merge pull request #8586 from zhaoxiangchun/feature/zxc-commonalert-dashboard
modify monitor dashboard save:
2020-11-03 14:28:46 +08:00
Zexi Li
3a29fda075 Merge pull request #8621 from rainzm/webhook/domain
NotifyWebhook for domain
2020-11-03 11:49:41 +08:00
Zexi Li
8f3cb2de67 Merge pull request #8625 from ioito/hotfix/qx-qcloud-rds-ro
fix: avoid not found cdbro- mysql instance
2020-11-03 11:48:54 +08:00
Qu Xuan
dc59a08721 fix: avoid not found cdbro- mysql instance 2020-11-03 11:05:50 +08:00
Zexi Li
dad884d481 Merge pull request #8619 from wanyaoqi/bugfix/wyq/fix-stream-disk
host: fix stream disk on add disk from snapshot
2020-11-03 10:39:36 +08:00
Zexi Li
2c070f8f9e Merge pull request #8616 from rainzm/fix/disksize
Fix for DiskSize of ESXi
2020-11-03 10:38:40 +08:00
Zexi Li
165abd4e6c Merge pull request #8618 from swordqiu/hotfix/qj-scopedpolicybinding-filter-error
fix: scopedpolicybinding filter by category sql error
2020-11-02 20:29:01 +08:00
rainzm
5a07858e1a feat(region): use NotifyWebhook when operating dnszone 2020-11-02 19:49:50 +08:00
rainzm
fd360b071e feat(region): add CloudCaches in DnsZoneDetails with GET 2020-11-02 19:25:31 +08:00
rainzm
6efb3fc12a fix(region): add SDnsZoneCache to DnsZoneCacheDetails 2020-11-02 19:22:03 +08:00
yunion-ci-robot
b727119845 Merge pull request #8613 from ioito/hotfix/qx-rds-zone-sync
optimized: rds zone sync
2020-11-02 19:07:46 +08:00
Qiu Jian
10a4d86d25 fix: scopedpolicybinding filter by category sql error 2020-11-02 18:21:01 +08:00
wanyaoqi
4a2613a66a fix stream disk on add disk from snapshot 2020-11-02 17:58:18 +08:00
Qu Xuan
d207d982e8 optimized: rds zone sync 2020-11-02 16:47:34 +08:00
rainzm
d01b6e1502 fix(esxi): return sumsize of disks fo template 2020-11-02 16:15:55 +08:00
rainzm
46e42724b7 fix(region): allow resize system disk of esxi 2020-11-02 16:15:32 +08:00
Zexi Li
c1c2b42145 Merge pull request #8599 from tb365/bugfix/tb-bugfix-20103001
qcloud create project not match bugfix
2020-11-02 15:51:11 +08:00
tangbin
bf1d8eccf5 goimport fix 2020-11-02 15:38:19 +08:00
Qiu Jian
178e1ab8fc feature: auto create domain for sso idp 2020-11-02 13:59:50 +08:00
yunion-ci-robot
b16e08f315 Merge pull request #8611 from zhaoxiangchun/bugfix/zxc-commonalert
deal return error info: tsdb
2020-11-02 10:25:47 +08:00
yunion-ci-robot
67f9e1c45e Merge pull request #8603 from rainzm/fix/snapshotsync
fix(region): compute NextSyncTime for snapshotpolicydisk
2020-11-02 01:42:45 +08:00
yunion-ci-robot
c2675d1547 Merge pull request #8608 from swordqiu/hotfix/qj-service-config-misc-bugfixes
fix: save service config changes may send invalid action log
2020-11-01 11:48:48 +08:00
Zexi Li
624759eb4f Merge pull request #8604 from zexi/hotfix/monitor-query-signature
monitor: query with signature
2020-11-01 11:48:09 +08:00
zhaoxiangchun
8df8e6ca26 deal return error info: tsdb 2020-10-31 23:29:18 +08:00
TangBin
f87c0e3972 clean duplicate cached certificated at initial 2020-10-31 23:29:09 +08:00
TangBin
9a43bb667d qcloud create project not match bugfix 2020-10-31 23:08:21 +08:00
Qiu Jian
354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
Zexi Li
3a5bde4a3b monitor: query with signature and support measurement without database 2020-10-31 17:17:24 +08:00
Rain Zheng
97f93e6a12 fix(region): compute NextSyncTime for snapshotpolicydisk
1. 如果计算出来的 NextSyncTime 和 base 相等,可以将 base 加1一个小时递归处理。
2. 对于 retentionday 有效的快照策略,比如某一个 snaphsotpolicy
是每周一生效,并且打的快照自动保留 3 天,那么,就应该在每周一(打快照)
和每周四(释放快照)进行快照的同步。
2020-10-31 15:48:56 +08:00
yunion-ci-robot
2994dbf915 Merge pull request #8601 from zexi/hotfix/apigateway-remove-influxdb-query-proxy
apigateway: disable influxdb service query proxy
2020-10-31 15:19:44 +08:00
Zexi Li
81da6c5775 apigateway: disable influxdb service query proxy 2020-10-31 12:44:53 +08:00
yunion-ci-robot
d7621317f2 Merge pull request #8596 from tb365/bugfix/tb-bugfix-201030
qcloud cert bugfix
2020-10-31 11:52:43 +08:00
yunion-ci-robot
850c37ab60 Merge pull request #8598 from swordqiu/hotfix/qj-scoped-policy-binding-filter-by-multiple-categories
fix: filter scopedpolicybindings with multiple categories
2020-10-30 19:39:45 +08:00
yunion-ci-robot
308896a29d Merge pull request #8593 from rainzm/fix/autosyncsnapshot
Detach snapshotpolicy when deletding disk
2020-10-30 19:38:46 +08:00
yunion-ci-robot
2caa1c2c5a Merge pull request #8590 from ioito/hotfix/qx-secgroup-cache-tenant-id
fix: secgroup cache tenant_id
2020-10-30 19:34:51 +08:00
yunion-ci-robot
a8e77968bd Merge pull request #8589 from swordqiu/hotfix/qj-enforce-response-charset
fix: enforce response charset
2020-10-30 19:33:44 +08:00
yunion-ci-robot
395c26ab04 Merge pull request #8567 from yousong/feature/yousong-guest-bgptype
Feature/yousong guest bgptype
2020-10-30 19:30:44 +08:00
Qiu Jian
56e5b177d0 fix: filter scopedpolicybindings with multiple categories 2020-10-30 17:20:15 +08:00
TangBin
6343e3f4ba qcloud certificate sync bugfix 2020-10-30 15:56:00 +08:00
TangBin
d6677d86d7 qcloud cert bugfix 2020-10-30 15:50:09 +08:00
rainzm
7582ead4c1 fix(region): clear dirty data of snapshotpolicydisks when start up 2020-10-30 15:20:48 +08:00
rainzm
e660946d25 fix(region): detach all snapshotpolicy when realdeleting disk 2020-10-30 14:47:44 +08:00
Qu Xuan
373166c506 fix: secgroup cache tenant_id 2020-10-30 14:37:02 +08:00
yunion-ci-robot
8628145762 Merge pull request #8587 from ioito/hotfix/qx-rds-vpc
fix: sync rds class vpc
2020-10-30 13:01:42 +08:00
Qiu Jian
9073461f99 fix: enforce response charset 2020-10-30 12:50:23 +08:00
屈轩
d9e72f78e7 fix: sync rds class vpc 2020-10-30 12:49:15 +08:00
zhaoxiangchun
d519be9ab1 modify monitor dashboard save:
1.panel和dashboard继承scoperesource。通过joint进行关联
2.dashboade 通过details
  参数控制是否返回所关联的panel信息。penel新建时需要此逻辑
3.依据scoperesource属性实现查询,创建的逻辑
2020-10-30 12:11:33 +08:00
yunion-ci-robot
6da9e1bb81 Merge pull request #8584 from ioito/hotfix/qx-rds-classic-vpc
fix: classic vpc for rds
2020-10-30 12:02:44 +08:00
rainzm
c6864e4ae6 fix(region): prevent dirty data when syncing snapshot 2020-10-30 11:58:43 +08:00
Zexi Li
17d90dccdc Merge pull request #8583 from zexi/hotfix/climc-k8s-machine-list
climc: k8s machine show resource_id
2020-10-30 11:37:49 +08:00
Qu Xuan
0f4114449f fix: classic vpc for rds 2020-10-30 11:12:46 +08:00
yunion-ci-robot
7bc24a357c Merge pull request #8580 from swordqiu/hotfix/qj-scoped-policy-binding-doc-keywords
fix: scopedpolicies and scopedpolicybindings swagger resource name
2020-10-30 11:12:42 +08:00
Zexi Li
0f25214872 climc: k8s machine show resource_id 2020-10-30 11:03:51 +08:00
Zexi Li
cc32bb39ef feature: support cloudprovider, cloudregion and zone schedtag 2020-10-30 10:58:34 +08:00
yunion-ci-robot
1de5147bf2 Merge pull request #8581 from swordqiu/hotfix/qj-support-qcloud-zonal-bucket
fix: compatible with qcloud zonal bucket
2020-10-30 09:12:42 +08:00
yunion-ci-robot
a89ca20f72 Merge pull request #8576 from rainzm/snapshotpolicy/fix
fix(region): sync automatically snapshot for external disk
2020-10-30 08:49:42 +08:00
yunion-ci-robot
7eea4105ae Merge pull request #8558 from zexi/hotfix/informer-context-cancelled
informer: ignore outside context cancel when worker run
2020-10-30 00:36:43 +08:00
Qiu Jian
3f568a63d1 fix: compatible with qcloud zonal bucket 2020-10-30 00:14:12 +08:00
yunion-ci-robot
7850511b6e Merge pull request #8573 from tb365/bugfix/tb-bugfix-2010293
qcloud elb cert duplicate fix
2020-10-29 23:28:43 +08:00
Qiu Jian
46fe31cbd8 fix: scopedpolicies and scopedpolicybindings swagger resource name 2020-10-29 22:55:15 +08:00
rainzm
f13c12d0c2 fix(region): sync automatically snapshot for external disk 2020-10-29 22:28:56 +08:00
TangBin
46e65d9e02 qcloud elb cert duplicate fix 2020-10-29 22:23:39 +08:00
yunion-ci-robot
b66497ac03 Merge pull request #8570 from tb365/bugfix/tb-bugfix-20102902
qcloud redis create missing project id bugfix
2020-10-29 20:58:47 +08:00
Zexi Li
ff53671a18 informer: ignore outside context cancel when worker run 2020-10-29 20:53:17 +08:00
TangBin
babed456d5 qcloud redis create missing project id bugfix 2020-10-29 20:46:12 +08:00
yunion-ci-robot
d1282ae516 Merge pull request #8564 from rainzm/cachedimage/vendor
update vendor
2020-10-29 20:08:43 +08:00
rainzm
e48616cdc0 update vendor 2020-10-29 17:22:19 +08:00
yunion-ci-robot
85f76fb8ed Merge pull request #8559 from tb365/bugfix/tb-bugfix-20102901
qcloud lb sync project bugfix
2020-10-29 17:18:42 +08:00
Yousong Zhou
4d895d6587 climc: servers: create with eip bgp type 2020-10-29 17:12:57 +08:00
Yousong Zhou
6bbf090494 guests: add bgp_type arg when create guest 2020-10-29 17:12:57 +08:00
Yousong Zhou
f514950480 elasticips: NewEipForVMOnHost: make args a struct 2020-10-29 17:12:57 +08:00
Yousong Zhou
774cfcbfaf regiondrivers: kvm: exact match bgp_type 2020-10-29 17:12:57 +08:00
yunion-ci-robot
61fd7e0e52 Merge pull request #8540 from swordqiu/hotfix/qj-set-customized-private-prefixes
fix: allow set customized private prefixes
2020-10-29 17:00:45 +08:00
yunion-ci-robot
c875ed5c7a Merge pull request #8544 from swordqiu/hotfix/qj-scheduler-option-manager
fix: use option manager for scheduler
2020-10-29 16:55:42 +08:00
yunion-ci-robot
295a46894d Merge pull request #8554 from tb365/bugfix/tb-bugfix-201029
Bugfix/tb bugfix 201029
2020-10-29 16:44:42 +08:00
TangBin
8589d67ac3 qcloud lb sync project bugfix 2020-10-29 16:43:20 +08:00
yunion-ci-robot
24af7a4b47 Merge pull request #8556 from wanyaoqi/bugfix/wyq/fix-generate-ifname
bugfix: retry generate ifname from random string
2020-10-29 15:14:49 +08:00
wanyaoqi
f71def645e retry generate ifname from random string 2020-10-29 14:56:01 +08:00
TangBin
02d0902d94 redis 2.8 reset password bugfix 2020-10-29 14:28:12 +08:00
TangBin
0a695c2dca add redis capabilty & lb purge 2020-10-29 14:07:05 +08:00
Yousong Zhou
5da75ae45b Merge pull request #8548 from swordqiu/hotfix/qj-fail-delete-public-ip
fix: fail to delete public_ip eip
2020-10-29 10:18:37 +08:00
yunion-ci-robot
18ca8e986d Merge pull request #8541 from ioito/hotfix/qx-rds-sync
fix: avoid sync part of rds
2020-10-29 00:55:44 +08:00
yunion-ci-robot
b51b13f801 Merge pull request #8551 from swordqiu/hotfix/qj-go-vet-error-20201028
fix: make test go vet error
2020-10-29 00:52:43 +08:00
yunion-ci-robot
eb59b41223 Merge pull request #8543 from tb365/bugfix/tb-qcloud-redis-bugfix-1028
Bugfix/tb qcloud redis bugfix 1028
2020-10-29 00:04:42 +08:00
yunion-ci-robot
5ae7003a30 Merge pull request #8545 from rainzm/wehook/lbrdsredis
Notify via webhook
2020-10-28 23:57:41 +08:00
Qiu Jian
08bb11db66 fix: make test go vet error 2020-10-28 23:53:11 +08:00
Qiu Jian
554ec88734 fix: fail to delete public_ip eip 2020-10-28 23:40:52 +08:00
tangbin
ac03debc97 redis delete bugfix 2020-10-28 22:13:35 +08:00
TangBin
ea497d077d qcloud elb auth mode bugfix 2020-10-28 21:57:52 +08:00
Qiu Jian
dcc689cc17 fix: allow set customized private prefixes 2020-10-28 21:50:19 +08:00
wanyaoqi
0389ec8048 ha guest misc fix 2020-10-28 21:14:57 +08:00
yunion-ci-robot
b9628c9421 Merge pull request #8538 from lvyangyang/lyy/qcloud_redis_tags
qcloud redis tags
2020-10-28 21:11:54 +08:00
rainzm
ce0c88d790 feat(region): call NotifyWebhook in when sonme tasks complete
dbinstace: create, delete, change_config;

elasticcache: create, delete, change_config;

loadbalancer, loadbalancer_backend_group,
loadbalancer_listener, loadbalancer_backend: create, delete
2020-10-28 21:08:37 +08:00
rainzm
0d36b3b749 refactor(region): remove return value of NotifyWebhook 2020-10-28 21:07:34 +08:00
Qiu Jian
8f2c514699 fix: use option manager for scheduler 2020-10-28 21:04:51 +08:00
Qu Xuan
a01cd0a81b fix: avoid sync part of rds 2020-10-28 20:21:08 +08:00
yunion-ci-robot
f7ee989c6b Merge pull request #8535 from rainzm/cachedimage/fasterlistpro
refactor(region): faster list for cachedimage
2020-10-28 17:58:43 +08:00
rainzm
de4f1579dd refactor(region): faster list for cachedimage
Pro version of #8440 with checking the necessity of id filtering
2020-10-28 15:21:23 +08:00
lvyangyang
cfbe92ed91 qcloud redis tags 2020-10-28 14:58:21 +08:00
yunion-ci-robot
ebfa86d45b Merge pull request #8533 from tb365/bugfix/tb-bugfix-20102701
Bugfix/tb bugfix 20102701
2020-10-28 12:37:41 +08:00
tangbin
399539b92d elb sync bugfix 2020-10-28 12:13:03 +08:00
wanyaoqi
980396f151 dirve mirror check block replication is support 2020-10-28 10:51:33 +08:00
yunion-ci-robot
b6cbf86d3b Merge pull request #8521 from swordqiu/hotfix/qj-adjust-default-policy-quota
fix: adjust default identity quota
2020-10-28 10:36:44 +08:00
tangbin
1eaf06d051 sync elb support classic vpc 2020-10-28 07:56:49 +08:00
yunion-ci-robot
62db4e8440 Merge pull request #8523 from tb365/feature/tb-qcloud-redis-support
qcloud redis support
2020-10-28 01:06:40 +08:00
yunion-ci-robot
57cacd0cd7 Merge pull request #8525 from rainzm/fix/esxi_saveimage
Fix for saving image in ESXi
2020-10-28 00:57:41 +08:00
yunion-ci-robot
de533cab6b Merge pull request #8512 from ioito/hotfix/qx-qcloud-project-sync
fix: avoid sync project panic
2020-10-28 00:46:42 +08:00
yunion-ci-robot
6b91b9ff86 Merge pull request #8443 from rainzm/cachedimage/fr
Respect multiple disks in VMware Template
2020-10-28 00:17:42 +08:00
yunion-ci-robot
d401bfcb62 Merge pull request #8509 from wanyaoqi/bugfix/wyq/fix-host-archs-capabilities
bugfix: fix get host archs capability
2020-10-28 00:12:43 +08:00
rainzm
26b1050b31 fix(esxi): filter vmdk item in lease.info 2020-10-27 21:25:32 +08:00
rainzm
6afa803050 fix(esxi): use correct device index
1. Sort devices via their Key.
2. There is no relationship between vdisk index and vnics length.
2020-10-27 21:20:58 +08:00
rainzm
d616b40044 fix(esxi): no callback in uploadHandler 2020-10-27 21:19:40 +08:00
TangBin
d7894776f3 qcloud redis support 2020-10-27 20:33:28 +08:00
yunion-ci-robot
81df94b277 Merge pull request #8435 from swordqiu/feature/qj-scoped-policy-manager
Feature/qj scoped policy manager
2020-10-27 18:19:40 +08:00
yunion-ci-robot
dd2a68496f Merge pull request #8510 from ioito/hotfix/qx-cloudaccount-climc
fix: optimized cloudaccount climc
2020-10-27 17:33:41 +08:00
Zexi Li
bfffcfecde Merge pull request #8517 from ioito/hotfix/qx-secgroup-status
fix: set secgroup status
2020-10-27 17:28:22 +08:00
yunion-ci-robot
e686a0aa49 Merge pull request #8505 from ioito/hotfix/qx-lb-lock
add: DisableDelete for lb
2020-10-27 17:05:40 +08:00
Qiu Jian
4d04059bcb fix: adjust default identity quota 2020-10-27 16:38:28 +08:00
yunion-ci-robot
099bc4a8ea Merge pull request #8504 from ioito/hotfix/qx-qcloud-instance-create
fix: qcloud server create
2020-10-27 16:19:41 +08:00
Qu Xuan
b6016939cb fix: set secgroup status 2020-10-27 16:16:54 +08:00
Qu Xuan
6ee94ab41c fix: avoid sync project panic 2020-10-27 16:11:20 +08:00
Qu Xuan
64740ff0fd fix: optimized cloudaccount climc 2020-10-27 15:27:44 +08:00
wanyaoqi
8d07a6308f fix get host archs capability 2020-10-27 12:12:03 +08:00
Qu Xuan
0e5835ffac fix: qcloud server create 2020-10-27 10:49:13 +08:00
Qiu Jian
1805be4d2f list support scope filter 2020-10-27 00:46:03 +08:00
Qiu Jian
48e40fa5a9 update api models 2020-10-26 23:58:02 +08:00
Qiu Jian
01d4c2a1c7 feature: support scoped policy that manage ui policies for
domains&projects
2020-10-26 23:58:02 +08:00
Qu Xuan
73e8080d42 add: DisableDelete for lb 2020-10-26 21:51:37 +08:00
yunion-ci-robot
f41ff021c7 Merge pull request #8499 from yousong/bugfix/yousong-lockman-test
lockman: test: add prefix setting
2020-10-26 21:22:39 +08:00
Yousong Zhou
cd5163eebb lockman: test: add prefix setting 2020-10-26 20:26:42 +08:00
yunion-ci-robot
42f3ad00fa Merge pull request #8496 from zhaoxiangchun/bugfix/zxc-commonalert
commalertUpdateInput increat param:
2020-10-26 19:55:48 +08:00
rainzm
5251304a47 feat(esxi): expand disk config from subimages when creating vm 2020-10-26 19:47:04 +08:00
rainzm
a174c32eae feat: respect params.Disks when cloning vm 2020-10-26 19:46:57 +08:00
rainzm
564c6cf45f feat: add SubImages in Image 2020-10-26 19:06:22 +08:00
zhaoxiangchun
10b273938d commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
2020-10-26 18:40:47 +08:00
yunion-ci-robot
85862c7f19 Merge pull request #8493 from rainzm/fix/cachedimagelist
fix(region): roll back the optimization of cachedimage list
2020-10-26 18:16:40 +08:00
rainzm
eef90b58e7 fix(region): roll back the optimization of cachedimage list 2020-10-26 17:34:54 +08:00
Zexi Li
2e4a06e77a Merge pull request #8492 from zexi/feature/k8s-fedres-update
Feature/k8s fedres update
2020-10-26 17:12:19 +08:00
Zexi Li
b0f73311d7 Merge pull request #8464 from wanyaoqi/bugfix/wyq/check-disk-is-in-reset-before-delete-snapshot
bugfix:check disk is in reset before delete snapshot
2020-10-26 17:03:00 +08:00
yunion-ci-robot
9d7a82401d Merge pull request #8487 from ioito/hotfix/qx-eip-sync
fix: avoid delete public ip when sync eip list
2020-10-26 17:02:41 +08:00
Zexi Li
ddf483bc0e climc: add k8s federated resource update subcommand 2020-10-26 16:57:06 +08:00
Qu Xuan
d60dee6a97 fix: avoid delete public ip when sync eip list 2020-10-26 16:17:15 +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
yunion-ci-robot
ca6c5ef3aa Merge pull request #8120 from swordqiu/feature/qj-policy-group-3.5
feature: policy group support
2020-10-25 20:17:42 +08:00
yunion-ci-robot
deb720d793 Merge pull request #8483 from swordqiu/hotfix/qj-vpc-create-climc-no-region
fix: climc vpc-create missing cloudregion_id
2020-10-25 10:53:38 +08:00
yunion-ci-robot
ec6f90ac4c Merge pull request #8484 from swordqiu/hotfix/qj-vm-usage-stats-not-correct
fix: server usage status not correct
2020-10-25 10:52:42 +08:00
Qiu Jian
ce06e078f0 fix: server usage status not correct 2020-10-25 08:34:51 +08:00
Qiu Jian
2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Qiu Jian
588fff60fc fix: climc vpc-create missing cloudregion_id 2020-10-24 22:40:39 +08:00
Zexi Li
167c672194 Merge pull request #8481 from ioito/hotfix/qx-qcloud-rds-create
fix: 避免参数异常
2020-10-24 13:11:17 +08:00
Zexi Li
107f7588cb Merge pull request #8470 from wanyaoqi/bugfix/wyq/fix-stream-disk-complete
bugfix: fix on stream disk complete snapshots refcount not update
2020-10-24 13:09:25 +08:00
Zexi Li
d011cbfc87 Merge pull request #8474 from zexi/hotfix/monitor-datasource-ep
monitor: set default influxdb datasource by endpoint type
2020-10-24 13:06:55 +08:00
Qu Xuan
9821f7fe9e fix: 避免参数异常 2020-10-24 12:58:59 +08:00
Zexi Li
2cdb173036 Merge pull request #8415 from ioito/hotfix/qx-rds-secgroup
fix: rds 支持多安全组
2020-10-24 12:10:31 +08:00
Qu Xuan
5cd26b297e fix: 支持多安全组 2020-10-24 11:44:31 +08:00
yunion-ci-robot
fd7348c7f0 Merge pull request #8460 from lvyangyang/lyy/create_with_tag
qcloud create lb,mysql with tags
2020-10-23 21:09:16 +08:00
yunion-ci-robot
ce178b01d7 Merge pull request #8478 from tb365/bugfix/tb-bugfix-20102301
Bugfix/tb bugfix 20102301
2020-10-23 21:00:15 +08:00
TangBin
44b40599a5 qcloud zone sync fix 2020-10-23 20:44:27 +08:00
TangBin
541a2d4e0d loadbalancer support batch create 2020-10-23 20:30:53 +08:00
yunion-ci-robot
8ea168a6e8 Merge pull request #8468 from ioito/hotfix/qx-rds-fix
fix: qcloud 5.5 single zone
2020-10-23 20:18:17 +08:00
Zexi Li
409c67e24b monitor: set default influxdb datasource by endpoint type 2020-10-23 20:07:15 +08:00
Qu Xuan
9a03bf17ce fix: 支持批量创建rds 2020-10-23 19:38:04 +08:00
wanyaoqi
4efbe27abc fix on stream disk complete snapshots refcount not update 2020-10-23 19:09:38 +08:00
Qu Xuan
cdd652c1ee fix: qcloud 5.5 single zone 2020-10-23 18:55:16 +08:00
yunion-ci-robot
9822abac3a Merge pull request #8412 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commalert
2020-10-23 18:35:17 +08:00
yunion-ci-robot
a4e3ddf78e Merge pull request #8461 from rainzm/guestimage/public
fix(glance): allow public and private operations of guestimage
2020-10-23 18:28:16 +08:00
wanyaoqi
e7ce3fd9d8 check disk is in reset before delete snapshot 2020-10-23 18:23:18 +08:00
yunion-ci-robot
3dba8ad4f4 Merge pull request #8450 from wanyaoqi/bugfix/wyq/misc-host-fix
host increase cpu mem max size
2020-10-23 18:18:19 +08:00
yunion-ci-robot
ceac46fdbd Merge pull request #8456 from rainzm/esxi/disksize
fix(esxi): resize root disk after cloning vm
2020-10-23 18:16:16 +08:00
yunion-ci-robot
110102c603 Merge pull request #8449 from tb365/bugfix/tb-bugfix-201023
Bugfix/tb bugfix 201023
2020-10-23 18:15:15 +08:00
yunion-ci-robot
5810e1d06f Merge pull request #8454 from rainzm/esix/disksizecreate
fix(esxi): resize root disk after creating vm
2020-10-23 18:14:15 +08:00
lvyangyang
2c043454a5 create with tags 2020-10-23 18:13:54 +08:00
Zexi Li
21e1ab4b00 Merge pull request #8447 from ioito/hotfix/qx-rds-fix
fix: sync rds account host info
2020-10-23 18:04:05 +08:00
zhaoxiangchun
b4a83dc15e bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:20 +08:00
rainzm
5824b7add0 fix(glance): allow public and private operations of guestimage
The public and private operations of the guest image depends on these operations of the subimage.
2020-10-23 17:46:49 +08:00
Qu Xuan
f159c73186 fix: add duration match 2020-10-23 17:15:40 +08:00
rainzm
bd014a6adf fix(esxi): resize root disk after cloning vm
The root disk size set when the machine is cloned does not take effect,
so set the root disk size after the machine is cloned.
2020-10-23 17:02:33 +08:00
rainzm
9daef7d97c fix(esxi): resize root disk after creating vm
The root disk size set when the machine is created does not take effect,
so set the root disk size after the machine is created.
2020-10-23 16:39:53 +08:00
TangBin
6f2a9d8b7c elb salve zone 1 external id bugfix 2020-10-23 16:22:42 +08:00
TangBin
94d3fa82af elb sync zone bugfix 2020-10-23 16:12:00 +08:00
Qu Xuan
fb7d22f675 fix: sync rds account host info 2020-10-23 15:44:39 +08:00
wanyaoqi
6b7a525734 host increase cpu mem max size 2020-10-23 15:13:17 +08:00
TangBin
1f17dcf680 add qcloud elb zone1 details 2020-10-23 12:04:22 +08:00
yunion-ci-robot
13f179d0b3 Merge pull request #8445 from swordqiu/lvyangyang-lyy/resource_tag
resource tags
2020-10-22 22:43:16 +08:00
lvyangyang
58737942ad resource tags 2020-10-22 22:20:53 +08:00
yunion-ci-robot
ae9d1b6ba6 Merge pull request #8440 from rainzm/cachedimage/fasterlist
refactor(region): faster list for cachedimage
2020-10-22 21:24:14 +08:00
yunion-ci-robot
963287b563 Merge pull request #8444 from yousong/bugfix/yousong-eip-varchar
Bugfix/yousong eip varchar
2020-10-22 21:16:18 +08:00
Yousong Zhou
4537cc3dba elasticips: charge_type: make it varchar column 2020-10-22 20:58:12 +08:00
Yousong Zhou
e61a85b7c1 elasticips: bgp_type: make the db column nullable
It's nullable previously, and alter table NOT NULL will error out on
NULL column value
2020-10-22 20:56:35 +08:00
yunion-ci-robot
7cc0ea74a9 Merge pull request #8410 from rainzm/esxi/copy_disk
feat(esxi): copy disk from image when creating vm
2020-10-22 20:33:15 +08:00
yunion-ci-robot
abeddc49cc Merge pull request #8426 from ioito/hotfix/qx-rds-expired-sync
fix: 避免冲掉设置的到期释放时间
2020-10-22 20:13:25 +08:00
yunion-ci-robot
3e1599b4dc Merge pull request #8416 from lvyangyang/fix/qcloud_dns_all_project
fix:get all project dns resource
2020-10-22 20:11:16 +08:00
yunion-ci-robot
e4be550a86 Merge pull request #8430 from tb365/feature/tb-qcloud-elb-support-multi-zones
Feature/tb qcloud elb support multi zones
2020-10-22 20:10:16 +08:00
yunion-ci-robot
ffcca38512 Merge pull request #8437 from rainzm/fix/snapshotpolicylist
SnapshotPolicy Display and Sync
2020-10-22 20:07:18 +08:00
rainzm
bd4851c9f9 refactor(region): faster list for cachedimage
修改之前:
诸如provider, zone, host_schedtag_id, valid
等过滤条件,是通过过滤出符合条件的 storagecachedimage 然后使用 cachedimage_id 来过滤 cachedimge,
问题是,每一个过滤条件都会独立的去执行上面的过程,这样同样的查询可能要经过很多次,并且如果遇到
弱的过滤条件,比如 valid ,过滤出来的 storagecachedimage
非常之多,然后在使用 cachedimage_id 去过滤 cachedimage,会非常慢。

修改之后:
过滤条件的相似的逻辑合并起来,只需要向 subQuery 中添加 filter,使用 subQuery 一次把 storagecachedimage
过滤出来,然后使用 cachedimage_id 过滤 cachedimage。
2020-10-22 20:05:49 +08:00
rainzm
213d495a3d fix: don't update NextSyncTime when snapshots that should be added has not 2020-10-22 19:35:19 +08:00
rainzm
a2d221685e fix(region): init NextSyncTimeiwhen create snapshotpolicydisks 2020-10-22 19:34:45 +08:00
rainzm
92d862b17d fix(region): add suffix 'display' for time_points and repeat_weekdays
TimePoints and RepeatWeekdays in SnapshotPolicyDetails is duplicated
with thess in SnapshotPolicy, which result in the fault of reponse for
request GET.
2020-10-22 19:33:55 +08:00
TangBin
f86dc52e90 qcloud elb supplort multi zones 2020-10-22 16:01:42 +08:00
TangBin
69e0ae9ded climc lb-create add parameter zone1 2020-10-22 15:51:32 +08:00
TangBin
e6af8ad2c4 qcloud elb support multi zones 2020-10-22 15:38:48 +08:00
Qu Xuan
98bd229b33 fix: 避免冲掉设置的到期释放时间 2020-10-22 15:37:54 +08:00
yunion-ci-robot
0d272fab28 Merge pull request #8407 from wanyaoqi/bugfix/wyq/fix-informer-backend
bugfix: fix informer set backend
2020-10-22 15:04:16 +08:00
yunion-ci-robot
45058b338c Merge pull request #8417 from ioito/hotfix/qx-secgroup-quota
fix: secgroup quota support
2020-10-22 14:56:13 +08:00
yunion-ci-robot
cbc967c965 Merge pull request #8419 from ioito/hotfix/qx-lb-quota
fix: add lb quota check
2020-10-22 14:45:14 +08:00
yunion-ci-robot
e7676f103b Merge pull request #8420 from ioito/hotfix/qx-rds-quota
fix: add rds quota check
2020-10-22 14:42:13 +08:00
yunion-ci-robot
23a69e36a7 Merge pull request #8423 from ioito/hotfix/qx-aliyun-region
fix: add aliyun new region
2020-10-22 14:31:17 +08:00
Qu Xuan
80b0ed3ccd fix: add aliyun new region 2020-10-22 11:50:53 +08:00
Qu Xuan
adcce7538d fix: secgroup quota support 2020-10-21 21:29:11 +08:00
Qu Xuan
f74e345b02 fix: add rds quota check 2020-10-21 21:24:50 +08:00
Qu Xuan
5e4cc33146 fix: add lb quota check 2020-10-21 21:18:29 +08:00
lvyangyang
efa5a8495a fix:get all project dns resource 2020-10-21 18:16:44 +08:00
rainzm
937bf4513b feat(esxi): copy disk from image when creating vm
Before, we use delta disk based on vmdk in image_cache when creating vm.
In theory, creating a machine like this is faster and occupies less storage.
However, it may also affect performance and definitely cannot change the
size of the system disk.

Now, we copy disk from vmdk in image_cache to solve above questions.
2020-10-21 14:14:24 +08:00
yunion-ci-robot
4e1e4e29fd Merge pull request #8404 from rainzm/notify/client
Verified webconsole and IntelliNotify
2020-10-21 10:51:14 +08:00
yunion-ci-robot
642ddcaba6 Merge pull request #8349 from ioito/hotfix/qx-huawei-clirc
fix: huawei clirc region not correct
2020-10-21 01:01:13 +08:00
rainzm
c12b276ea1 feat(notify): add IntelliNotify
IntelliNotify will try to create receiver nonexistent if createReceiver is set to true
2020-10-20 20:34:35 +08:00
rainzm
fbc951330c fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:29:21 +08:00
yunion-ci-robot
418e3e5990 Merge pull request #8193 from ioito/feature/qx-qcloud-rds
feature: add qcloud rds support
2020-10-20 18:58:12 +08:00
Zexi Li
135b080631 Merge pull request #8400 from wanyaoqi/bugfix/wyq/fix-fetch-customize-columns
bugfix: fix fetch customize columns
2020-10-20 18:52:29 +08:00
wanyaoqi
cb45349ec4 fix fetch customize columns 2020-10-20 18:42:39 +08:00
wanyaoqi
128ec17741 fix informer backend 2020-10-20 17:45:25 +08:00
Qu Xuan
f776054187 feature: add qcloud rds support 2020-10-20 17:40:53 +08:00
Zexi Li
1b967e9595 Merge pull request #8338 from tb365/feature/tb-add-aliyun-finance-env
add aliyun finance environment
2020-10-20 13:31:43 +08:00
yunion-ci-robot
bff1066744 Merge pull request #8258 from rainzm/snapshot/sync
feat: add a retry mechanism to AutoSyncExtDiskSnapshot
2020-10-20 13:31:13 +08:00
Zexi Li
a5872c0ab3 Merge pull request #8395 from tb365/bugfix/tb-bugfix-201020
lbcert delete bugfix
2020-10-20 13:28:21 +08:00
Zexi Li
9ec68e0b8d Merge pull request #8397 from zexi/hotfix/alert-resource
fix: monitor commonalert not detach alert resource
2020-10-20 13:26:38 +08:00
Zexi Li
06a30edcf8 fix: monitor commonalert not detach alert resource 2020-10-20 13:19:49 +08:00
Zexi Li
95bba5df0b Merge pull request #8392 from rainzm/fix/snapshotpolicy2
Fix of snapshotpolicy
2020-10-20 11:49:24 +08:00
rainzm
f6844e3c6d feat: use details data to cover obj data in FetchCustomizeColumns 2020-10-20 11:19:44 +08:00
TangBin
05f1900a26 lbcert delete bugfix 2020-10-20 11:19:41 +08:00
yunion-ci-robot
2bc39203ea Merge pull request #8227 from yousong/feature/yousong-eip-isp
Feature/yousong eip bgp type
2020-10-20 11:00:16 +08:00
yunion-ci-robot
e36936c4f5 Merge pull request #8381 from lvyangyang/lyy/update_metadata
set resource tags
2020-10-20 10:57:12 +08:00
lvyangyang
3a73eb9e30 resource tags 2020-10-20 10:16:38 +08:00
rainzm
2f6678f9a7 fix(region): compute binded disk count when deleting snapshotpolicy 2020-10-20 09:56:45 +08:00
yunion-ci-robot
bb1cc41b24 Merge pull request #8390 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix: commonalert
2020-10-19 23:18:12 +08:00
zhaoxiangchun
444ff1901d bugfix: commonalert
1.报警消息中取消返回sql信息
2.commonalert 中支持top bottom 结构influxdb 查询
2020-10-19 23:05:27 +08:00
yunion-ci-robot
018881d6c2 Merge pull request #8357 from zhaoxiangchun/bugfix/zxc-qcloud-pullmetric
bugfix: qcloud pull metric
2020-10-19 22:36:12 +08:00
yunion-ci-robot
14f5b471ba Merge pull request #8346 from zexi/feature/alert-resource
monitor: add alert resource
2020-10-19 22:12:12 +08:00
zhaoxiangchun
26965521f2 bugfix: qcloud pull metric
get请求中增加region参数
2020-10-19 22:10:33 +08:00
yunion-ci-robot
85d79721c8 Merge pull request #8379 from yousong/feature/yousong-logger-action
Feature/yousong logger action
2020-10-19 22:06:12 +08:00
Zexi Li
31cf935dac monitor: add alert resource 2020-10-19 22:05:39 +08:00
Zexi Li
6fcdc49832 Merge pull request #8388 from wanyaoqi/bugfix/wyq/remove-try-set-informer-backend
bugfix: remove try set informer backend
2020-10-19 22:02:35 +08:00
wanyaoqi
917a62c142 remove try set informer backend 2020-10-19 21:32:26 +08:00
Zexi Li
32cacf0f34 Merge pull request #8385 from wanyaoqi/bugfix/wyq/update-raid-state-to-lower-case
telegraf-raid-plugin: update raid state to lower case
2020-10-19 20:59:56 +08:00
yunion-ci-robot
6e6ebae520 Merge pull request #8383 from wanyaoqi/bugfix/wyq/keystone-init-etcd-backend
bugfix: keystone init etcd backend
2020-10-19 20:58:14 +08:00
yunion-ci-robot
06152cb590 Merge pull request #8382 from lvyangyang/fix/vpc_peer_error_wrap
fix:qcloud vpc peer  error  wrap
2020-10-19 20:10:11 +08:00
wanyaoqi
de03ab9397 telegraf-raid-plugin: update raid state to lower case 2020-10-19 20:09:46 +08:00
wanyaoqi
5f5090038b keystone init etcd backend 2020-10-19 20:03:02 +08:00
rainzm
5e82a7e506 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-19 20:01:51 +08:00
yunion-ci-robot
72ef0c5476 Merge pull request #8344 from rainzm/notify/webhook
Notify/webhook
2020-10-19 18:24:12 +08:00
Zexi Li
6526122f08 Merge pull request #8337 from swordqiu/hotfix/qj-cancel-pending-delete-should-add-quota-usages
fix: cancel pending-delete should increase resource quota usages
2020-10-19 17:43:55 +08:00
lvyangyang
bb4e09aee7 fix:qcloud vpc peer error wrap 2020-10-19 17:24:48 +08:00
yunion-ci-robot
53df123d4c Merge pull request #8340 from rainzm/fix/valid_cachedimage
feat: add valid filter for cachedimage list
2020-10-19 17:12:11 +08:00
rainzm
18fdfad79e feat: add valid filter for cachedimage list
Use the 'valid' switch to control whether to filter out
the cachedimage corresponding to invalid storage
2020-10-19 16:26:03 +08:00
Yousong Zhou
e4cef880a3 logger: actionlog: i18n for distinct-field 2020-10-19 16:21:36 +08:00
Yousong Zhou
c1468105f8 cloudcommon: db: GET: i18n for result of get property calls 2020-10-19 16:21:36 +08:00
Yousong Zhou
d639b0a84c cloudcommon: db: add man.GetI18N 2020-10-19 16:21:36 +08:00
Yousong Zhou
d6243fbc6a cloudcommon: db: modelbase: distinct-field: readability change 2020-10-19 16:21:36 +08:00
Yousong Zhou
d8887266ae logger: actionlog: readability change 2020-10-19 16:21:36 +08:00
Qiu Jian
2486aa3071 fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:02:50 +08:00
rainzm
541128d37b feat(region): call NotifyWebhook in the life cycle of guests 2020-10-19 16:00:16 +08:00
rainzm
264b9ef39f feat: add NotifyWebhook in notifyclient 2020-10-19 16:00:12 +08:00
yunion-ci-robot
0ffda5712a Merge pull request #8361 from swordqiu/hotfix/qj-not-lock-guest-after-lock-eip
fix: do not lock guest after lock eip, to prevent possible dead lock
2020-10-19 15:20:12 +08:00
yunion-ci-robot
785283e3f3 Merge pull request #8353 from swordqiu/hotfix/qj-reduce-change-config-logs
fix: reduce change config logs
2020-10-19 15:19:16 +08:00
yunion-ci-robot
cb93bdcb95 Merge pull request #8347 from swordqiu/hotfix/qj-remote-update-metadata-loop
fix: remote update metadata may cause metadata update loop
2020-10-19 15:18:18 +08:00
yunion-ci-robot
3b2f7ee30d Merge pull request #8350 from swordqiu/hotfix/qj-missing-authenticate-log
fix: missing authenticate action log for user web login
2020-10-19 15:17:12 +08:00
Zexi Li
c954f8223d Merge pull request #8366 from ioito/hotfix/qx-rds-usage
fix: add rds cpu and memory usage
2020-10-19 15:11:46 +08:00
Zexi Li
96e7c75746 Merge pull request #8373 from ioito/hotfix/qx-google-storage
fix: 新增google存储类型
2020-10-19 15:11:03 +08:00
Zexi Li
f6ce91c681 Merge pull request #8369 from ioito/hotfix/qx-worker-fix
fix: use correct worker
2020-10-19 15:09:52 +08:00
Qu Xuan
f7b16c592f fix: 新增google存储类型 2020-10-19 12:05:18 +08:00
yunion-ci-robot
93d682503e Merge pull request #8355 from wanyaoqi/feature/wyq/fix-sync-storage-info-duration
host: fix sync storage info duration'
2020-10-19 11:57:12 +08:00
rainzm
2e094a310a feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 11:56:50 +08:00
Qiu Jian
adbf513167 fix: missing authenticate action log for user web login 2020-10-19 11:53:26 +08:00
Qiu Jian
d681a148df fix: reduce change config logs 2020-10-19 11:51:04 +08:00
Qiu Jian
20f3feaabc fix: remote update metadata may cause metadata update loop 2020-10-19 11:45:44 +08:00
Qiu Jian
0466b2c805 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:42:28 +08:00
Qu Xuan
dc8086b3c2 fix: use correct worker 2020-10-19 11:41:25 +08:00
Qu Xuan
d7ae0eaa8d fix: add rds cpu and memory usage 2020-10-19 11:22:06 +08:00
Yousong Zhou
bc898e9e3b climc: eip ops by bgp type 2020-10-19 10:53:17 +08:00
Yousong Zhou
59dd8a0e29 eip: create by BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
258ceb7ba8 networks: add field BgpType 2020-10-19 10:53:17 +08:00
Yousong Zhou
b7c3959e04 vendor: update yunion.io/x/sqlchemy 2020-10-19 10:53:17 +08:00
yunion-ci-robot
db9872e9fa Merge pull request #8358 from yousong/bugfix/yousong-build
.circleci: build: make with parallel level 2
2020-10-19 10:50:17 +08:00
Yousong Zhou
47fd7fb27e .circleci: build: make with parallel level 2 2020-10-19 10:27:55 +08:00
wanyaoqi
4b09751f56 host: fix sync storage info duration' 2020-10-18 01:01:00 +08:00
Qu Xuan
3d70213220 fix: huawei clirc region not correct 2020-10-17 18:56:36 +08:00
yunion-ci-robot
fe2ecd15ca Merge pull request #8332 from rainzm/esxi/lockstorage
Feats for ESXi
2020-10-17 18:22:10 +08:00
rainzm
012d9b1588 feat(notify): support webhook contact type 2020-10-17 18:03:19 +08:00
rainzm
2679294529 refactor: find the most suitable storage 2020-10-17 17:38:39 +08:00
rainzm
93df31a97f feat(esxiagent): try to customize vm if deployfs failed 2020-10-17 17:38:39 +08:00
rainzm
10f0f07bdb feat: support lock storage from selected cachedimage 2020-10-17 17:38:37 +08:00
TangBin
2032e5f1d1 add aliyun finance environment 2020-10-17 17:22:35 +08:00
yunion-ci-robot
b43c3780b8 Merge pull request #8325 from wanyaoqi/feature/wyq/report-raid-info
telegraf raid plugin
2020-10-17 13:49:47 +08:00
wanyaoqi
225f3b21c1 telegraf raid plugin 2020-10-17 10:59:19 +08:00
Zexi Li
928f6c9c0b Merge pull request #8304 from swordqiu/feature/qj-qcloud-update-metadata-name
Feature/qj qcloud update metadata name
2020-10-16 23:43:53 +08:00
Qiu Jian
e967dd7d6a feature: remote update qcloud instance metadata and name 2020-10-16 21:40:35 +08:00
Qiu Jian
38abe9b45d feature: qcloud create VM with tags 2020-10-16 21:37:28 +08:00
yunion-ci-robot
d7d90af6b5 Merge pull request #8334 from rainzm/cachedimage/filter
fix(compute): filter cachedimage with health storage
2020-10-16 19:42:47 +08:00
rainzm
625bf23569 fix(compute): filter cachedimage with health storage 2020-10-16 18:29:02 +08:00
Zexi Li
50ee78cf6a Merge pull request #8330 from ioito/hotfix/qx-instance-hostname
fix: hostname for instance
2020-10-16 17:43:12 +08:00
Qu Xuan
65582cab95 fix: hostname for instance 2020-10-16 17:12:17 +08:00
yunion-ci-robot
cfbb8458ee Merge pull request #8323 from zhasm/hotfix/rex-clean-alpine-build-cache
remove alpine build cache before make image
2020-10-16 15:13:44 +08:00
yunion-ci-robot
d6734576a9 Merge pull request #8326 from zexi/hotfix/images-distinct-field
fix: get images distinct field
2020-10-16 14:31:34 +08:00
yunion-ci-robot
6be508b701 Merge pull request #8321 from ioito/hotfix/qx-dnszone-sync-records
fix: sync dns records after sync vpcs
2020-10-16 12:53:31 +08:00
Zhang Dongliang
0619d3566f remove alpine build cache before make image 2020-10-16 11:59:33 +08:00
Zexi Li
f14ec60a76 fix: get images distinct field 2020-10-16 11:59:23 +08:00
yunion-ci-robot
99dc8ce1fe Merge pull request #8319 from swordqiu/hotfix/qj-resolve-with-meta-filter-conflict
fix: resolve with_meta filter conflict
2020-10-16 11:38:32 +08:00
Qu Xuan
914b76069f fix: sync dns records after sync vpcs 2020-10-16 10:40:18 +08:00
yunion-ci-robot
70c755068c Merge pull request #8314 from rainzm/esxi/joindvpg
feat(esxi): do not specify portkey in NewVNIC
2020-10-16 10:38:35 +08:00
Qiu Jian
cc7423d558 fix: resolve with_meta filter conflict 2020-10-16 10:30:02 +08:00
rainzm
8553f90248 feat(esxi): do not specify portkey in NewVNIC 2020-10-16 08:22:05 +08:00
yunion-ci-robot
f9be2999c6 Merge pull request #8312 from swordqiu/feature/qj-filter-storage-by-image
feature: filter storages by image
2020-10-15 23:08:34 +08:00
yunion-ci-robot
ae005ea860 Merge pull request #8308 from ioito/hotfix/qx-secgroup-rule-sync
fix: 避免并发同步安全组导致规则混乱
2020-10-15 22:59:34 +08:00
Qiu Jian
6abd9b0e92 feature: filter storages by image 2020-10-15 22:51:56 +08:00
Qu Xuan
0e3f781003 fix: 避免并发同步安全组导致规则混乱 2020-10-15 22:26:23 +08:00
yunion-ci-robot
17ea4ddafe Merge pull request #8305 from zexi/hotfix/remove-utf8-stringutils
stringutils2: add RemoveUtf8Strings func
2020-10-15 21:44:32 +08:00
Zexi Li
f0cc1d3d1a stringutils2: add RemoveUtf8Strings func 2020-10-15 19:33:18 +08:00
Zexi Li
fc15772ab6 Merge pull request #8302 from swordqiu/hotfix/qj-filter-resource-by-metadata
fix: allwo filter resource by with-meta and with-user-meta filter
2020-10-15 15:17:02 +08:00
Zexi Li
8cfc2f32f1 Merge pull request #8299 from ioito/hotfix/qx-rds-sku-filter-by-provider
fix: support filter rds sku by provider
2020-10-15 15:15:54 +08:00
Qiu Jian
c4d30371ef fix: allwo filter resource by with-meta and with-user-meta filter 2020-10-15 14:46:08 +08:00
Qu Xuan
0dc485d589 fix: support filter rds sku by provider 2020-10-15 14:28:52 +08:00
yunion-ci-robot
ac6a7a9685 Merge pull request #8297 from swordqiu/hotfix/qj-filter-role-assignment-with-project-domains
fix: filter role assignments by project domains id or name
2020-10-15 14:25:33 +08:00
yunion-ci-robot
39ead9fb61 Merge pull request #8294 from ioito/hotfix/qx-huawei-disk-v2-api
fix: use new api
2020-10-15 14:24:34 +08:00
yunion-ci-robot
0c34fb9939 Merge pull request #8289 from lvyangyang/fix/openstack_lbb_backend
fix:openstack lb 后端ip无法映射到主机的异常处理
2020-10-15 14:22:37 +08:00
yunion-ci-robot
97fe7be808 Merge pull request #8265 from rainzm/esxi/template_hack
sync and use of ESXi template
2020-10-15 13:13:30 +08:00
Qiu Jian
e2e186a754 fix: filter project role with system=true 2020-10-15 13:06:45 +08:00
Qiu Jian
b2add97a0d fix: filter role assignments by project domains id or name 2020-10-15 13:01:00 +08:00
Qu Xuan
db6846aab0 fix: use new api 2020-10-15 11:30:27 +08:00
rainzm
7ab4decab3 feat: add 'vlan_id' param when creating network 2020-10-15 10:48:36 +08:00
rainzm
335c8eecc0 feat: change templateid as <providerId>/<uuid> in esxi 2020-10-15 10:48:36 +08:00
Rain
281d1c45df fix: support fake tempalte when searching template vm 2020-10-15 10:48:00 +08:00
yunion-ci-robot
02d97f652b Merge pull request #8290 from ioito/hotfix/qx-qcloud-secgroup
fix: 优化安全组规则同步
2020-10-15 09:09:30 +08:00
Qu Xuan
efa5978cf6 fix: 优化安全组规则同步 2020-10-14 21:04:18 +08:00
lvyangyang
415ef08661 fix:openstack lb 后端ip无法映射到主机的异常处理 2020-10-14 18:24:01 +08:00
yunion-ci-robot
f898079c11 Merge pull request #8284 from swordqiu/feature/qj-qcloud-creae-vm-with-tags
feature: qcloud create VM with tags
2020-10-14 17:50:29 +08:00
yunion-ci-robot
0816bb0fc4 Merge pull request #8287 from wanyaoqi/bugfix/wyq/distinguish-between-float32-and-float64-on-json-marshal
fix: replace NewFloat by NewFloat64 and NewFloat32
2020-10-14 16:52:32 +08:00
Qiu Jian
ddefc2ab34 feature: qcloud create VM with tags 2020-10-14 15:21:21 +08:00
wanyaoqi
1cfee7cf6c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:54:30 +08:00
wanyaoqi
63887337fd make mode 2020-10-14 11:39:04 +08:00
yunion-ci-robot
41542b7c98 Merge pull request #8281 from ioito/hotfix/qx-bucket-sync-project
fix: sync huawei bucket project info
2020-10-14 10:51:31 +08:00
yunion-ci-robot
5a969fcae3 Merge pull request #8264 from ioito/hotfix/qx-instance-public-ip
fix: support public ip create
2020-10-14 10:50:30 +08:00
yunion-ci-robot
454e453359 Merge pull request #8275 from lvyangyang/fix/aliyun_timeout_retry
fix:aliyun jsonRequest 增加i/o timeout retry
2020-10-14 10:47:29 +08:00
yunion-ci-robot
502bf73105 Merge pull request #8253 from ioito/hotfix/qx-qcloud-bandwidth
fix: qcloud eip with bandwidth attr
2020-10-14 10:44:30 +08:00
yunion-ci-robot
0d66d35ad2 Merge pull request #8231 from wanyaoqi/feature/wyq/add-interface-freeze-virtual-resource
region: add interface freeze virtual resource
2020-10-14 10:42:30 +08:00
Qu Xuan
4b1d914b83 fix: sync huawei bucket project info 2020-10-13 20:47:08 +08:00
Qu Xuan
02ec88ccc6 fix: support public ip create 2020-10-13 20:00:00 +08:00
Zexi Li
243f4af95f Merge pull request #8270 from ioito/hotfix/qx-qcloud-bandwidth-user
fix: 支持带宽包用户
2020-10-13 17:34:20 +08:00
Zexi Li
dd2ab45d11 Merge pull request #8267 from ioito/hotfix/qx-google-new-region
fix: trans google new region name
2020-10-13 17:34:02 +08:00
yunion-ci-robot
90b1d0a524 Merge pull request #8278 from wanyaoqi/bugfix/wyq/fix-host-deployer-base-image
update host-deployer base image
2020-10-13 17:09:30 +08:00
yunion-ci-robot
27a38b6c74 Merge pull request #8276 from zhasm/hotfix/rex-docker-push-mkdir
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 17:01:30 +08:00
wanyaoqi
bc26bdb8fb fix host-deployer base image 2020-10-13 16:57:48 +08:00
lvyangyang
93365de62e fix:aliyun jsonRequest 增加i/o timeout retry 2020-10-13 16:55:31 +08:00
Zhang Dongliang
4be578fc2f 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 16:46:29 +08:00
yunion-ci-robot
833e57bf95 Merge pull request #8273 from zhasm/hotfix/rex-rex-fix-root-ownership-dockerpush
在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 16:18:30 +08:00
Zhang Dongliang
1f7988ecd7 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 15:36:27 +08:00
Qu Xuan
f3c819299f fix: 支持带宽包用户 2020-10-13 15:32:40 +08:00
Qu Xuan
17ff08282b fix: trans google new region name 2020-10-13 14:14:05 +08:00
rainzm
e43c86586b fix(esxiagent): check whether regexp is nil 2020-10-13 13:02:17 +08:00
rainzm
d618f61c16 feat(esxiagent): keep data disks when cloning vm 2020-10-13 13:01:14 +08:00
Qu Xuan
b32c54f7cf fix: qcloud eip with bandwidth attr 2020-10-13 10:41:31 +08:00
yunion-ci-robot
8855dff371 Merge pull request #8188 from ioito/hotfix/qx-qcloud-secgroup-name
fix: avoid qcloud secgroup cache name not sync
2020-10-13 10:35:28 +08:00
Zexi Li
e8442294f4 Merge pull request #8228 from yousong/bugfix/yousong-eip-opslog
Bugfix/yousong eip opslog
2020-10-13 10:13:26 +08:00
yunion-ci-robot
db55ef3e04 Merge pull request #8242 from zexi/hotfix/baremetal-pxe-filter-network
baremetal: fix pxe filter network by guest_dhcp
2020-10-13 10:12:29 +08:00
Zexi Li
5018b091fb Merge pull request #8232 from rainzm/esxi/template_fix1
Fix for ESXi Template
2020-10-13 10:06:06 +08:00
Zexi Li
6c8505a736 Merge pull request #8210 from ioito/hotfix/qx-secgroup-purge
fix: validate secgroup purge condition
2020-10-13 10:02:54 +08:00
Zexi Li
ea62a72232 Merge pull request #8234 from swordqiu/feature/qj-session-level-auth-cookie
feature: allow session level yunion_auth cookie
2020-10-13 10:01:51 +08:00
Zexi Li
8035ea0d77 Merge pull request #8246 from swordqiu/hotfix/qj-output-details-wrong-project-id
fix: project_id in resource details not correct
2020-10-13 10:00:06 +08:00
Zexi Li
54f75d3890 Merge pull request #8248 from ioito/hotfix/qx-qcloud-instance-bandwidth
fix: qcloud instance with max bandwidth
2020-10-13 09:57:12 +08:00
yunion-ci-robot
9dd48de668 Merge pull request #8256 from zhasm/hotfix/rex-fix-root-ownership
解决编译之后 output 的 owerner 问题
2020-10-12 19:22:27 +08:00
Yousong Zhou
b44ac491c1 eip: NewEipForVMOnHost: add opslog 2020-10-12 18:23:20 +08:00
Yousong Zhou
83f5a38c2a eip: construct a pointer type 2020-10-12 18:23:20 +08:00
Zhang Dongliang
54f86817d1 解决编译之后 output 的 owerner 问题 2020-10-12 18:11:21 +08:00
rainzm
bffa601dc4 fix(esxi): use system disk of template only when cloning vm
1. Create a driver if necessary.
2. After cloning the virtual machine, remove all data disks.
3. Create new data disks.
2020-10-12 17:30:46 +08:00
rainzm
d4c9e6e562 fix(esxi): search template from whole vCenter 2020-10-12 17:30:46 +08:00
Qu Xuan
bb62c03923 fix: qcloud instance with max bandwidth 2020-10-12 16:28:57 +08:00
yunion-ci-robot
8e9617ac8c Merge pull request #8252 from lvyangyang/fix/vpc_peering_httperror
fix: vpc peering http error params
2020-10-12 16:24:27 +08:00
yunion-ci-robot
749dabc7ca Merge pull request #8237 from swordqiu/hotfix/qj-pass-make-test-20201011
fix: format errors that block make test
2020-10-12 16:09:23 +08:00
lvyangyang
db7d32cd17 fix: vpc peering http error params 2020-10-12 15:22:53 +08:00
yunion-ci-robot
11a56c10ff Merge pull request #8235 from swordqiu/hotfix/qj-clean-pending-domain-usage
fix: not clean pending domain usage
2020-10-12 15:04:21 +08:00
yunion-ci-robot
a8eb402687 Merge pull request #8126 from rainzm/esxi/ip
Feats for ESXi Manage
2020-10-12 15:01:18 +08:00
rainzm
a4527aec5d feat: add vlanId for suggested network 2020-10-12 14:24:24 +08:00
yunion-ci-robot
26b54923b9 Merge pull request #7952 from lvyangyang/vpc-peering-connection
Vpc peering connection
2020-10-12 14:21:18 +08:00
Qiu Jian
187dee690e fix: project_id in resource details not correct 2020-10-12 14:18:02 +08:00
yunion-ci-robot
95cd5d5d3a Merge pull request #8238 from swordqiu/hotfix/qj-ldap-sync-not-update-email-phone
fix: ldap sync not update user's phone and email
2020-10-12 11:54:19 +08:00
Zexi Li
129001dfb4 baremetal: fix pxe filter network by guest_dhcp 2020-10-12 11:34:30 +08:00
lvyangyang
bd22eb0b16 add: vpc peering connection 2020-10-12 10:34:23 +08:00
rainzm
48940c77ae feat(esxi): support fake template vm via regex filter 2020-10-12 10:12:58 +08:00
rainzm
e0aa673575 feat: filter esxi ip by CIDR 2020-10-12 10:12:55 +08:00
Qiu Jian
13fa3c2999 fix: ldap sync not update user's phone and email 2020-10-11 05:42:51 +08:00
Qiu Jian
5e5b0613f8 fix: format errors that block make test 2020-10-11 05:12:34 +08:00
Qiu Jian
624c4db06f fix: not clean pending domain usage 2020-10-11 04:33:08 +08:00
Qiu Jian
2a6445c31b feature: allow session level yunion_auth cookie 2020-10-11 03:09:11 +08:00
rainzm
fc6a30b209 feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-10 20:48:23 +08:00
rainzm
4b860cb43e feat: add 'ip-list' for esxicli 2020-10-10 20:48:20 +08:00
wanyaoqi
e64fe802e0 genreate api models 2020-10-10 20:07:22 +08:00
wanyaoqi
dcdf45d184 add interface freeze virtual resource 2020-10-10 20:07:11 +08:00
yunion-ci-robot
4e901bda63 Merge pull request #8194 from rainzm/esxiagent/fix_nil
fix(esxi): check nil value when NewVirtualMachine
2020-10-10 19:03:48 +08:00
yunion-ci-robot
ed522b4c8b Merge pull request #8214 from tb365/bugfix/tb-bugfix-101001
remove aws lbbg cache metedata
2020-10-10 18:54:19 +08:00
yunion-ci-robot
91a7e10e88 Merge pull request #8213 from zhaoxiangchun/bugfix/zxc-commonalert
Bugfix/zxc commonalert
2020-10-10 17:11:18 +08:00
yunion-ci-robot
d4b70586c2 Merge pull request #8225 from zhasm/hotfix/rex-esxi-agent-arm64-patch
esxi-agent 编译方式兼容 arm64
2020-10-10 16:20:46 +08:00
rex zhasm
343b718b5b Merge branch 'master' into hotfix/rex-esxi-agent-arm64-patch 2020-10-10 16:10:03 +08:00
yunion-ci-robot
7bebf9007a Merge pull request #8218 from yousong/bugfix/yousong-webconsole-ssh-compat
Bugfix/yousong webconsole ssh compat
2020-10-10 15:34:51 +08:00
Zhang Dongliang
eda8be1be8 esxi-agent 编译方式兼容 arm64 2020-10-10 14:56:59 +08:00
zhaoxiangchun
3d9923a7c0 Add web url to alarm template 2020-10-10 14:50:00 +08:00
zhaoxiangchun
c0eae040a8 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 14:50:00 +08:00
Yousong Zhou
aa6e45e4d9 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:39:02 +08:00
Yousong Zhou
cce2af5010 webconsole: ssh: each argument on its own line 2020-10-10 14:39:02 +08:00
TangBin
1ce5db7695 remove aws lbbg cache metedata 2020-10-10 14:17:19 +08:00
yunion-ci-robot
046e4e3d6c Merge pull request #8199 from rainzm/cloudaccount/pn_fix
Fix for cloudaccount PrepareNets
2020-10-10 13:44:11 +08:00
yunion-ci-robot
0fb262783d Merge pull request #8189 from wanyaoqi/feature/wyq/support-list-macs
region: guest detail add field macs
2020-10-10 12:15:08 +08:00
yunion-ci-robot
8b0217051d Merge pull request #8207 from ioito/hotfix/qx-instance-hostname
fix: qcloud set hostname for instance
2020-10-10 12:05:07 +08:00
yunion-ci-robot
970523ee15 Merge pull request #8183 from yousong/bugfix/yousong-ovn-dhcp-time
vpcagent: ovn: increase dhcp lease, renew, rebind time
2020-10-10 11:54:09 +08:00
Qu Xuan
6f23593290 fix: validate secgroup purge condition 2020-10-10 11:53:40 +08:00
rainzm
e010c5c1f6 fix: avoid slice out of bounds 2020-10-10 11:50:04 +08:00
Qu Xuan
aa7495c9a6 fix: qcloud set hostname for instance 2020-10-10 11:37:41 +08:00
yunion-ci-robot
1867c15d7b Merge pull request #8205 from swordqiu/hotfix/qj-cached-image-filter-by-host-schedtag
fix: filter cached images with host schedtag
2020-10-10 11:35:09 +08:00
yunion-ci-robot
3dc572ff56 Merge pull request #8202 from swordqiu/hotfix/qj-auto-index-start-from-1
fix: server name auto index should start from 1
2020-10-10 11:35:04 +08:00
rainzm
01ba4b9524 fix(esxi): check nil value when NewVirtualMachine 2020-10-10 11:19:24 +08:00
rainzm
e4217074c3 fix(esxi): filter linkLocalAddress 2020-10-10 10:31:30 +08:00
rainzm
3c59d7fece fix(esxi): check whether some fields of vm are nil 2020-10-10 10:31:25 +08:00
Qiu Jian
1c0c66fd41 fix: filter cached images with host schedtag 2020-10-10 06:54:05 +08:00
Qiu Jian
a08a779edf fix: server name auto index should start from 1 2020-10-10 06:21:09 +08:00
yunion-ci-robot
b11e472706 Merge pull request #8152 from zhasm/hotfix/rex-host-arm64-alpine-base-image
multi-arch 的镜像使用支持 arm64
2020-10-09 12:59:01 +08:00
wanyaoqi
54275ddcf5 region: guest detail add field macs 2020-10-09 11:46:03 +08:00
Qu Xuan
35e57a8336 fix: avoid qcloud secgroup cache name not sync 2020-10-09 10:46:59 +08:00
rex zhasm
86f28388bf Merge branch 'master' into hotfix/rex-host-arm64-alpine-base-image 2020-10-09 10:43:08 +08:00
yunion-ci-robot
65cfd4108f Merge pull request #8176 from zhaoxiangchun/bugfix/zxc-commonalert
modify suggest rule cli
2020-10-09 10:33:59 +08:00
Yousong Zhou
39f979398b vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:07:18 +08:00
yunion-ci-robot
d6d4724e2c Merge pull request #8178 from swordqiu/hotfix/qj-bucket-not-found-error
fix: error code of external bucket not found error should be 404
2020-10-09 09:11:59 +08:00
yunion-ci-robot
1892c37dd7 Merge pull request #8181 from swordqiu/hotfix/qj-network-merge-no-continuous
hotfix: 1. allow merge networks without continuous addresses 2. filter guest_ip_start and guest_ip_end with contains operator
2020-10-09 09:09:00 +08:00
Qiu Jian
6a55acafaf hotfix: 1. allow merge networks without continuous addresses 2. filter
guest_ip_start and guest_ip_end with contains operator
2020-10-07 23:28:12 +08:00
Qiu Jian
6a5fdc5d0d fix: error code of external bucket not found error should be 404 2020-09-30 17:39:55 +08:00
zhaoxiangchun
af9e911fd0 modify suggest rule cli
1.增加perform config方法,方便修改默认规则:执行周期,扫描窗口的属性
2020-09-30 17:15:28 +08:00
yunion-ci-robot
bc16b008c4 Merge pull request #8173 from yousong/bugfix/yousong-dns-strict-sub
dns: isMyDomain: match only strict subdomain of dns_domain
2020-09-30 16:32:48 +08:00
yunion-ci-robot
b43fa14f8e Merge pull request #8153 from lvyangyang/bugfix/dnsrecord_cname_dup
fix:允许cname record通过policy创建多值
2020-09-30 16:31:50 +08:00
yunion-ci-robot
ad56d53eaf Merge pull request #8168 from swordqiu/hotfix/qj-wire-sync-shared-info
fix: emulated wire not sync vpc shared info
2020-09-30 16:17:47 +08:00
Yousong Zhou
a67026dec0 dns: isMyDomain: match only strict subdomain of dns_domain 2020-09-30 16:14:23 +08:00
yunion-ci-robot
040efbc82d Merge pull request #8171 from ioito/hotfix/qx-dnszone-cache-policy
fix: 允许域管理员可以看到共享的dns zone cache列表
2020-09-30 16:13:47 +08:00
Qu Xuan
24fcccf5f5 fix: 允许域管理员可以看到共享的dns zone cache列表 2020-09-30 15:55:37 +08:00
Qiu Jian
c5cfceeb97 fix: emulated wire not sync vpc shared info 2020-09-30 15:52:05 +08:00
lvyangyang
68283ceedb fix:允许cname record通过policy多值 2020-09-30 12:17:38 +08:00
yunion-ci-robot
c379ab7615 Merge pull request #8163 from swordqiu/hotfix/qj-oidc-auth-response-user-info
fix: oidc response user's info
2020-09-30 12:11:47 +08:00
yunion-ci-robot
906909c0ac Merge pull request #8165 from swordqiu/hotfix/qj-revert-scoped-resource-filter-by-owner
fix: revert filter-by-owner changes of scoped resource
2020-09-30 12:07:51 +08:00
Qiu Jian
be4a76b253 fix: oidc response user's info 2020-09-30 11:54:57 +08:00
Qiu Jian
4e4ea5e6b5 fix: revert filter-by-owner changes of scoped resource 2020-09-30 11:32:06 +08:00
yunion-ci-robot
7b632e0105 Merge pull request #8159 from tb365/bugfix/tb-bugfix-092901
aliyun public elb region fix
2020-09-29 23:28:50 +08:00
yunion-ci-robot
47b2ae9435 Merge pull request #8151 from swordqiu/hotfix/qj-mcclient-readme-sample
add mcclient sample
2020-09-29 20:22:33 +08:00
yunion-ci-robot
fd95290d55 Merge pull request #8145 from lvyangyang/bugfix/public_domain_name_validate
fix:forbid top level public domain name
2020-09-29 20:19:09 +08:00
TangBin
44e9cf0491 aliyun public elb region fix 2020-09-29 20:01:55 +08:00
yunion-ci-robot
8fcc4f12f3 Merge pull request #8076 from zhaoxiangchun/bugfix/zxc-commonalert
bugfix:commonalert
2020-09-29 19:17:34 +08:00
Zhang Dongliang
0b3afa9ebe multi-arch 的镜像使用使用支持 arm64 2020-09-29 19:15:17 +08:00
Zexi Li
c0eb02fb1c Merge pull request #8154 from tb365/bugfix/tb-bugfix-092901
aliyun public elb brand fix
2020-09-29 18:19:25 +08:00
zhaoxiangchun
1c7deaf7b6 bugfix commalert 3.4
1.后端先隐藏rds,redis,oss等相关信息
2.报警通知中规则描述增加单位信息
3.调整优化建议规则相关逻辑
2020-09-29 18:07:59 +08:00
TangBin
d71a1f8670 aliyun public elb brand fix 2020-09-29 16:18:46 +08:00
Zhang Dongliang
65e3900ea4 multi-arch 的镜像使用使用支持 arm64 2020-09-29 14:37:25 +08:00
Qiu Jian
a4bedc7e2e add mcclient sample 2020-09-29 14:24:23 +08:00
yunion-ci-robot
ccb174bd2f Merge pull request #8149 from ioito/hotfix/qx-dns-record-list
fix: allow domain admin view shared dns zone records
2020-09-29 12:23:34 +08:00
yunion-ci-robot
827ba932f1 Merge pull request #8146 from ioito/hotfix/qx-dns-zone-cache-status
fix: avoid sync dns zone cache status is init
2020-09-29 12:20:33 +08:00
Qu Xuan
d45d48806b fix: allow domain admin view shared dns zone records 2020-09-29 11:19:49 +08:00
lvyangyang
4435255f44 fix:forbid top level public domain name 2020-09-29 11:02:39 +08:00
yunion-ci-robot
341ad0c19f Merge pull request #8101 from rainzm/cloudaccount/fix1
fix(region): set ownerId as userCred when can't FetchOwnerId
2020-09-29 10:41:39 +08:00
Qu Xuan
9d76c3e029 fix: avoid sync dns zone cache status is init 2020-09-29 10:38:18 +08:00
yunion-ci-robot
7be60e3314 Merge pull request #8143 from zexi/hotfix/k8s-fed-rolebinding-joint
mcclient modules: fix k8s fed rolebinding joint wrong resource manager
2020-09-29 10:35:36 +08:00
Zexi Li
c7e8287c67 mcclient modules: fix k8s fed rolebinding joint wrong resource manager 2020-09-29 08:25:48 +08:00
yunion-ci-robot
22013a0f36 Merge pull request #8141 from swordqiu/hotfix/qj-filter-storage-by-host-schedtag
fix: filter storages by host schedtag
2020-09-29 01:20:35 +08:00
Qiu Jian
69561b40f5 fix: filter storages by host schedtag 2020-09-29 00:14:06 +08:00
zhaoxiangchun
342706eb74 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 19:05:14 +08:00
yunion-ci-robot
586ed7a4fe Merge pull request #8139 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix :esxi 多机器环境下拉取监控超时
2020-09-28 18:27:33 +08:00
zhaoxiangchun
dd6167a1a4 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-commonalert 2020-09-28 18:17:26 +08:00
zhaoxiangchun
6154f46a64 bugfix :esxi 多机器环境下拉取监控超时
1.简化mo.virtualMachine 实体中的属性
2.批量获取cloudprovider下所有的虚拟机的监控信息
2020-09-28 18:07:22 +08:00
Zexi Li
0d6c825ee8 Merge pull request #8137 from zexi/hotfix/host-spec-model
region: host specs replace space char to '_'
2020-09-28 17:46:51 +08:00
Zexi Li
eb093a3459 region: host specs replace space char to '_' 2020-09-28 17:37:18 +08:00
Zexi Li
ed148ce20e Merge pull request #8135 from zexi/hotfix/spec-query-escape
specs: fix specKey url not escape
2020-09-28 17:01:40 +08:00
Zexi Li
bf682f5659 specs: fix specKey url not escape 2020-09-28 16:50:42 +08:00
yunion-ci-robot
459421efb5 Merge pull request #8133 from rainzm/scheduler/fix/instance_group
fix(scheduler): filter InstanceGroup whose enabled is false
2020-09-28 16:40:35 +08:00
yunion-ci-robot
bf90c7900d Merge pull request #8123 from rainzm/notifyclient/fix/template_cache_lang
fix: suffix template cache key
2020-09-28 16:30:33 +08:00
yunion-ci-robot
369dd17ff2 Merge pull request #8086 from lvyangyang/dns_recordset_fix
fix:/dnsrecordset 增加CNAME检查,dnsrecord update的重复检查
2020-09-28 16:28:34 +08:00
Zexi Li
f2b2a13ac0 Merge pull request #8129 from tb365/bugfix/tb-bugfix-092801
aliyun create public lb fix
2020-09-28 16:24:16 +08:00
Rain
ca58fb8d21 fix(scheduler): filter InstanceGroup whose enabled is false 2020-09-28 15:54:12 +08:00
TangBin
2de610a3a6 aliyun create public lb fix 2020-09-28 11:58:54 +08:00
yunion-ci-robot
b4c58ed9a1 Merge pull request #8121 from zexi/hotfix/spec-resource-include-details
region: fix query object by spec not include details
2020-09-27 22:10:37 +08:00
rainzm
5f10a9a39c fix: suffix template cache key 2020-09-27 21:07:11 +08:00
yunion-ci-robot
87fc96e01a Merge pull request #8116 from wanyaoqi/bugfix/wyq/host-storage
bugfix: nfs storage umount on detach
2020-09-27 21:03:36 +08:00
Zexi Li
88514a9fc2 region: fix query object by spec not include details 2020-09-27 20:46:56 +08:00
lvyangyang
ed99a69811 fix:/dnsrecordset重复检查,dnszonevpc数量 2020-09-27 20:21:54 +08:00
yunion-ci-robot
4617602e54 Merge pull request #8114 from swordqiu/hotfix/qj-filter-by-host-schedtag-id
fix: filter cloudprovider/network by host-schedtag-id
2020-09-27 19:56:37 +08:00
wanyaoqi
4ec1727d72 increase rbd check timeout 2020-09-27 18:30:53 +08:00
wanyaoqi
24eaf51210 umount nfs on detach storage 2020-09-27 18:30:17 +08:00
Qiu Jian
23a18a81f4 fix: filter cloudprovider/network by host-schedtag-id 2020-09-27 17:58:25 +08:00
Qu Xuan
ef3d74f4ea fix: 支持公有云域过滤操作日志 2020-09-27 16:53:02 +08:00
yunion-ci-robot
d7585cfdfe Merge pull request #8110 from ioito/hotfix/qx-dns-zonecache-owner
fix: dns zone cache owner info
2020-09-27 16:51:34 +08:00
yunion-ci-robot
41b028f047 Merge pull request #8087 from tb365/bugfix/tb-bugfix-092401
Bugfix/tb bugfix 092401
2020-09-27 15:09:32 +08:00
Zexi Li
d9ef31e424 Merge pull request #8084 from ioito/hotfix/qx-openstack-zone-emulate
fix: openstack zone not emulated
2020-09-27 14:46:49 +08:00
yunion-ci-robot
dbff0300b0 Merge pull request #8109 from swordqiu/hotfix/qj-vpc-schedtag-set-user-metadata
fix: add climc support vpc/schedtag user metadata
2020-09-27 14:46:32 +08:00
Zexi Li
e1793b4a7f Merge pull request #8088 from wanyaoqi/bugfix/wyq/set-stagefail-on-cleanfail
bugfix: set stagefail on clean  snapshot fail
2020-09-27 14:45:51 +08:00
yunion-ci-robot
be109073e6 Merge pull request #8099 from rainzm/esxi/fix5
Fix of Syncing Schedtag
2020-09-27 14:45:33 +08:00
yunion-ci-robot
a7330d1355 Merge pull request #8107 from ioito/hotfix/qx-disk-create-prefer-manager
fix: allow create disk prefer manager
2020-09-27 14:44:35 +08:00
Qu Xuan
a14b4e590e fix: dns zone cache owner info 2020-09-27 14:29:16 +08:00
Qu Xuan
74cb19cd88 fix: allow create disk prefer manager 2020-09-27 14:18:21 +08:00
Qiu Jian
bd122a01fd fix: add climc support vpc/schedtag user metadata 2020-09-27 12:00:23 +08:00
yunion-ci-robot
9c1c21e875 Merge pull request #8059 from ioito/hotfix/qx-batch-create-guest
fix: avoid serial vm creation
2020-09-26 23:18:33 +08:00
yunion-ci-robot
66c5fd4971 Merge pull request #8104 from zexi/hotfix/schedtag-remove-resoruce
region: fix schedtag joint resource master/slave field wrong order
2020-09-26 08:48:31 +08:00
Zexi Li
e3b25201ad Merge pull request #8095 from ioito/hotfix/qx-avoid-clean-storage
fix: avoid purge storages
2020-09-25 20:54:37 +08:00
Zexi Li
0113ec40c2 region: fix schedtag joint resource master/slave field wrong order 2020-09-25 20:49:05 +08:00
rainzm
dbb1d80729 fix(region): set ownerId as userCred when can't FetchOwnerId 2020-09-25 20:33:44 +08:00
rainzm
fc9b61c2a9 fix:(region) correct syncSchedtags
1.把extTagName存到metadata里面,这样就算修改tag的name,也能在metadata里面拿到。
2.已经创建的schedtag就不要重复创建了。
2020-09-25 20:26:46 +08:00
rainzm
370e7723ba fix(esxi): Guarantee the uniqueness of the schedtag for esxi host
Replace 'cluster:<clustername>' with
'cluster:/<cloudprovidername>/<dcname>/<clustername>'.
2020-09-25 20:26:46 +08:00
Qu Xuan
a8996ec9d1 fix: avoid purge storages 2020-09-25 19:14:59 +08:00
wanyaoqi
d13cc99495 set stagefail on clean fail 2020-09-25 18:38:54 +08:00
Zexi Li
96ecfde984 Merge pull request #8075 from ioito/upstream/qx-cross-domain-resource-sync
fix: allow cross doamin resource sync
2020-09-25 16:56:23 +08:00
ioito
a31339f687 fix: openstack zone not emulated 2020-09-25 16:14:12 +08:00
ioito
eaef5a7575 fix: allow cross doamin resource sync 2020-09-25 15:48:54 +08:00
Zexi Li
a88e2f8573 Merge pull request #8077 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-25 12:11:32 +08:00
Zexi Li
f7bb7be6cb Merge pull request #8017 from rainzm/esix/sta
Statistics AutualCapacityUsed for Storage
2020-09-25 12:08:25 +08:00
Zexi Li
e97a4b9e34 Merge pull request #8080 from zexi/hotfix/climc-k8s-sync
climc: add k8s fed resource sync action
2020-09-25 12:06:07 +08:00
TangBin
1d044f7126 huawei client request add throttling control 2020-09-25 12:05:59 +08:00
Zexi Li
594d2f434a Merge pull request #8002 from lvyangyang/openstack_vm_deleted_status
fix: disk delete error
2020-09-25 11:14:51 +08:00
yunion-ci-robot
aaab5c1bb5 Merge pull request #8054 from rainzm/esxi/cluster
Sync cluster for ESXi Host
2020-09-25 11:04:26 +08:00
ioito
8c0776c2ae fix: avoid account delete failed 2020-09-25 10:51:44 +08:00
zhaoxiangchun
6037c84a58 bugfix:commonalert
1.suggestrule cli 调整
2020-09-25 10:41:45 +08:00
rainzm
390cc11e7a feat(region): sync capacityUsed for storage after deploying or deleting guest 2020-09-25 10:33:45 +08:00
rainzm
0bd75b7bc0 feat(region): sync schedtags when syncing host 2020-09-25 10:28:57 +08:00
Zexi Li
1569422ed5 Merge pull request #8056 from ioito/hotfix/qx-google-attach-disk
fix: 仅在可用区故障时可强制挂载磁盘
2020-09-25 01:40:44 +08:00
Zexi Li
df08ea35fc Merge pull request #8013 from lvyangyang/error-info-fix
fix: dns 错误信息补全
2020-09-25 01:39:47 +08:00
Zexi Li
6830851925 Merge pull request #8068 from ioito/hotfix/qx-openstack-keypair
fix: avoid compare err with cloudprovider.ErrNotFound direct
2020-09-25 01:38:15 +08:00
Zexi Li
7561938c1c Merge pull request #8063 from rainzm/cloudaccount/fix/preparenet
fix(region): fetch correct ownerId in PerformPrepareNets
2020-09-24 21:21:37 +08:00
Zexi Li
09f742438f Merge pull request #8071 from ioito/hotfix/qx-sql-err
fix: sql err
2020-09-24 21:19:08 +08:00
ioito
1b91060323 fix: sql err 2020-09-24 20:20:14 +08:00
ioito
cb919f2880 fix: avoid compare err with cloudprovider.ErrNotFound direct 2020-09-24 20:13:44 +08:00
TangBin
d8832a1670 huawei elb get params log 2020-09-24 20:10:40 +08:00
rainzm
0bda9e7514 feat(region): sync CapacityUsed for Storage 2020-09-24 19:55:24 +08:00
rainzm
fd14e7b6c8 feat: add GetCapacityUsedMB for ICloudStorage 2020-09-24 19:55:24 +08:00
rainzm
56d24dfa99 refactor(region): replace 'ActualCapacity' with 'ActualCapacityUsed' 2020-09-24 19:55:24 +08:00
TangBin
35d1553362 qcloud elb create listener fix 2020-09-24 18:31:21 +08:00
Zexi Li
037fa814ff climc: add k8s fed resource sync action 2020-09-24 18:12:21 +08:00
rainzm
60490c75de fix(region): fetch correct ownerId in PerformPrepareNets 2020-09-24 17:22:22 +08:00
TangBin
faeb294d56 huawei snapshot delete fix 2020-09-24 17:02:24 +08:00
ioito
f7010a6d7b fix: avoid serial vm creation 2020-09-24 16:39:56 +08:00
ioito
0a4bd281de fix: 仅在可用区故障时可强制挂载磁盘 2020-09-24 15:31:54 +08:00
rainzm
1cb286080a feat(esxi): add GetSchedtags implementation for esxi.SHost 2020-09-24 15:18:57 +08:00
rainzm
c9039f9478 feat: add GetSchedtags for ICloudHost 2020-09-24 15:17:36 +08:00
yunion-ci-robot
9a7eae6e03 Merge pull request #8049 from zexi/hotfix/climc-k8s-opt
climc: refactor k8s sub command
2020-09-24 10:58:17 +08:00
yunion-ci-robot
392849b6e4 Merge pull request #8007 from rainzm/task/withLang
Fix & Feat of Notify or Lang
2020-09-24 10:43:19 +08:00
yunion-ci-robot
20009e74bc Merge pull request #8051 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix 3.4
2020-09-24 10:24:19 +08:00
lvyangyang
13823d41e1 wait deleted 2020-09-24 09:54:55 +08:00
Zexi Li
732a0a39f9 Merge pull request #8029 from ioito/hotfix/qx-account-delete
fix: avoid account delete failed
2020-09-23 23:51:18 +08:00
Zexi Li
f518d8e702 Merge pull request #8048 from swordqiu/hotfix/qj-scope-resource-filter-by-owner
fix: scope resource filter by owner
2020-09-23 23:49:17 +08:00
Zexi Li
e2604d5311 climc: refactor k8s sub command 2020-09-23 23:43:12 +08:00
yunion-ci-robot
b42280f4bf Merge pull request #8031 from wanyaoqi/feature/wyq/support-mutli-params
apigateway: support mutli params
2020-09-23 23:13:23 +08:00
zhaoxiangchun
475c81c58c commonalert bugfix 3.4 2020-09-23 21:41:13 +08:00
yunion-ci-robot
d3eb0666c6 Merge pull request #8024 from swordqiu/feature/qj-apigateway-userinfo-include-project-metadata
fix: apigateway userinfo includes project metadata
2020-09-23 21:22:22 +08:00
yunion-ci-robot
28a5043d6d Merge pull request #8014 from wanyaoqi/feature/wyq/support-search-ip
feature: search eip
2020-09-23 21:21:19 +08:00
Qiu Jian
4a27d49123 fix: scope resource filter by owner 2020-09-23 21:21:07 +08:00
rainzm
c5a78a9028 fix: use i18n.Table to handle Chinese-English conversion 2020-09-23 21:20:06 +08:00
rainzm
8eb420e42c feat: log err when sending notification via notifyclient 2020-09-23 21:20:06 +08:00
rainzm
43d45a1b4d fix(region): split brand as 'YunionCloud' and '云联壹云' when notify server event 2020-09-23 21:20:06 +08:00
rainzm
e45ddaeb99 feat: inherit lang from ctx fro Task 2020-09-23 21:19:57 +08:00
Zexi Li
08475105ae Merge pull request #8034 from swordqiu/hotfix/qj-role-assignment-filter-group-user
fix: role assignment filter by users not working for effective users in groups
2020-09-23 21:16:04 +08:00
Zexi Li
d8b21ef86d Merge pull request #8011 from ioito/hotfix/qx-cloud-user-sync
fix: 避免添加新账号后长时间未同步iam用户
2020-09-23 21:10:23 +08:00
yunion-ci-robot
92259b8895 Merge pull request #8030 from yousong/feature/yousong-i18n-monitor
Feature/yousong i18n monitor
2020-09-23 21:08:20 +08:00
yunion-ci-robot
365f92160a Merge pull request #8044 from lvyangyang/dnszone_zone_cache_fail
fix: error 值重叠
2020-09-23 21:05:18 +08:00
ioito
8be3cfd223 fix: avoid account delete failed 2020-09-23 20:58:07 +08:00
yunion-ci-robot
96ed797869 Merge pull request #8036 from rainzm/scalinggroup/panicfix
fix(region): add GetSlaveFieldName for ScalingGroupGuestManager
2020-09-23 20:51:31 +08:00
yunion-ci-robot
c32811920f Merge pull request #8026 from ioito/hotfix/qx-qcloud-network-interface
fix: 避免腾讯云同步虚拟机ip异常
2020-09-23 20:50:19 +08:00
yunion-ci-robot
bcb1d143a3 Merge pull request #8041 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix:esxi collect metric
2020-09-23 20:42:21 +08:00
yunion-ci-robot
44482df710 Merge pull request #8039 from zhasm/hotfix/rex-fix-esxi-agent-dockerfile-typo
fix esxi-agent dockerfile typo
2020-09-23 20:41:21 +08:00
lvyangyang
9b54d58a3d fix: error 值重叠 2020-09-23 20:05:30 +08:00
zhaoxiangchun
418540c79d bugfix:esxi collect metric 2020-09-23 19:45:46 +08:00
Zhang Dongliang
5db1fa686e fix esxi-agent dockerfile typo 2020-09-23 18:55:24 +08:00
Yousong Zhou
0ecdb5cd96 locales: monitor: add translations 2020-09-23 18:42:53 +08:00
Yousong Zhou
50eafd957d monitor: error fmt 2020-09-23 18:42:53 +08:00
rainzm
36f43fba93 fix(region): add GetSlaveFieldName for ScalingGroupGuest 2020-09-23 18:36:57 +08:00
Qiu Jian
6cbd811810 fix: role assignment filter by users not working for effective users in
groups
2020-09-23 17:53:58 +08:00
ioito
1466830595 fix: 避免腾讯云同步虚拟机ip异常 2020-09-23 17:37:35 +08:00
yunion-ci-robot
02446a2659 Merge pull request #8021 from yousong/bugfix/yousong-eip-autoalloc
elasticips: fix calling FilterByOwner
2020-09-23 17:27:18 +08:00
yunion-ci-robot
5480ecd4aa Merge pull request #8019 from zhasm/feature/make-with-arch
make with ARCH argument
2020-09-23 16:39:17 +08:00
Yousong Zhou
63c4818b8a elasticips: error when we have no usable eip network 2020-09-23 16:21:43 +08:00
Qiu Jian
06c1de7c1d fix: apigateway userinfo includes project metadata 2020-09-23 16:03:14 +08:00
Zhang Dongliang
bc6ac93cef make with ARCH argument 2020-09-23 15:49:37 +08:00
Yousong Zhou
382f628287 elasticips: fix calling FilterByOwner 2020-09-23 15:48:56 +08:00
lvyangyang
8f7a59894a fix: dns 错误信息补全 2020-09-23 15:32:25 +08:00
wanyaoqi
6d6e318134 support search ip 2020-09-23 14:24:50 +08:00
ioito
fadb52044c fix: 避免添加新账号后长时间未同步iam用户 2020-09-23 10:32:54 +08:00
yunion-ci-robot
651e12a2de Merge pull request #8009 from ioito/optimized/qx-clouduser-login-info
fix: 优化提取显示主账号名
2020-09-23 10:32:21 +08:00
ioito
9240536857 fix: 优化提取显示主账号名 2020-09-22 21:23:05 +08:00
yunion-ci-robot
9c53c7bf29 Merge pull request #8003 from tb365/bugfix/tb-bugfix-092201
regional network filter bugfix
2020-09-22 21:18:23 +08:00
yunion-ci-robot
12ce2ded4a Merge pull request #7990 from ioito/hotfix/qx-google-not-found
fix: avoid not reture cloudprovider.ErrNotFound error
2020-09-22 21:13:25 +08:00
yunion-ci-robot
ce37cef67a Merge pull request #7998 from ioito/hotfix/qx-eip-create-optimized
optimized: create eip params
2020-09-22 21:10:20 +08:00
rainzm
0879278714 fix(notify): modify name of notification to avoid duplication 2020-09-22 20:17:39 +08:00
rainzm
e47f8a8960 fix(notify): clean verifyNote when mark verified 2020-09-22 20:13:12 +08:00
rainzm
c522b45242 fix(notify): return correct value when sortContactType 2020-09-22 20:13:11 +08:00
TangBin
c8c022733c regional network filter bugfix 2020-09-22 19:58:49 +08:00
yunion-ci-robot
6ccfdfaf74 Merge pull request #7986 from zhaoxiangchun/bugfix/zxc-commonalert
common alert bugfix/3.4
2020-09-22 14:38:19 +08:00
Qu Xuan
17cf23b804 optimized: create eip params 2020-09-22 14:33:43 +08:00
yunion-ci-robot
51a4d9c255 Merge pull request #7991 from zhaoxiangchun/bugfix/zxc-tk-vmware-master
bugfix: collect esxi metric timout
2020-09-22 14:16:22 +08:00
yunion-ci-robot
258c100b5c Merge pull request #7994 from tb365/bugfix/tb-bugfix-0922
ctyun sync secgroup fix & cloudaccount delete fix
2020-09-22 14:07:16 +08:00
TangBin
95e058d062 ctyun sync secgroup fix & cloudaccount delete fix 2020-09-22 13:50:13 +08:00
zhaoxiangchun
f58bca93db common alert bugfix/3.4 2020-09-22 11:36:17 +08:00
zhaoxiangchun
ec3b5c09bd bugfix: collect esxi metric timout
1.增加批量获取esxi中metric的接口
2020-09-22 11:08:52 +08:00
Qu Xuan
37b87d1a50 fix: avoid not reture cloudprovider.ErrNotFound error 2020-09-22 10:41:32 +08:00
yunion-ci-robot
b398456ee6 Merge pull request #7916 from swordqiu/hotfix/qj-keystone-skip-nil-extra-fields
fix: keystone initialize data skip nil extra fields
2020-09-21 19:52:14 +08:00
yunion-ci-robot
378af3b7fa Merge pull request #7918 from swordqiu/hotfix/qj-lock-unlock-cleanup-20200915
fix: lock/unlock cleanup
2020-09-21 19:48:12 +08:00
yunion-ci-robot
cf1b5fb675 Merge pull request #7988 from wanyaoqi/bugfix/wyq/fix=host-deployer-base-image
bugfix: fix host deployer base image
2020-09-21 18:33:16 +08:00
wanyaoqi
1fc5bac7fa fix host deployer base image 2020-09-21 17:28:50 +08:00
yunion-ci-robot
ab388287aa Merge pull request #7980 from yousong/bugfix/yousong-opslog
Bugfix/yousong actionlog
2020-09-21 16:39:11 +08:00
Yousong Zhou
202ded8c9f logger: actionlog: add GetI18N 2020-09-21 15:20:46 +08:00
Yousong Zhou
fb28d96d5a logger: actionlog: remove redundant comments 2020-09-21 15:20:46 +08:00
Yousong Zhou
9fd0f3088f db: IModel: add GetI18N() method 2020-09-21 15:20:46 +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
642a90146e opslog: move const to separate file 2020-09-21 15:20:45 +08:00
Yousong Zhou
449c96ad5d i18n: add ITable 2020-09-21 15:20:45 +08:00
Yousong Zhou
1c1dcbde45 i18n: move out from httperrors pkg 2020-09-21 10:12:57 +08:00
Yousong Zhou
b075447f95 locales: update translation 2020-09-21 10:12:57 +08:00
Yousong Zhou
152eaa8c50 treewide: avoid variable fmt str 2020-09-21 10:12:57 +08:00
Yousong Zhou
ad52aae79a treewide: fmt error 2020-09-21 10:12:57 +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
yunion-ci-robot
75ae3f5c87 Merge pull request #7978 from swordqiu/hotfix/qj-user-reset-password
fix: reset user password without check
2020-09-21 10:11:13 +08:00
yunion-ci-robot
a109f68834 Merge pull request #7984 from swordqiu/hotfix/qj-scheduler-token-policy-support
fix: scheduler token not support policy
2020-09-21 10:09:13 +08:00
yunion-ci-robot
57c1b7ead1 Merge pull request #7982 from yousong/bugfix/yousong-i18n
locales: update translations
2020-09-20 00:22:15 +08:00
Yousong Zhou
69c7af840a locales: update translations 2020-09-19 23:41:42 +08:00
Qiu Jian
c516525dbb fix: scheduler token not support policy 2020-09-19 23:39:54 +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
yunion-ci-robot
d8bc3b35f5 Merge pull request #7970 from swordqiu/hotfix/qj-esxilci-vmrc-webmks-cmds
fix: add esxicli vmrc/webmks command
2020-09-18 21:06:40 +08:00
Zexi Li
076ec479cd Merge pull request #7966 from tb365/bugfix/tb-ctyun-0916
ctyun add region cn-bj1
2020-09-18 21:04:42 +08:00
yunion-ci-robot
d5daa20d9a Merge pull request #7973 from rainzm/notify/fix5
fix(notify): allow normal user create their receiver
2020-09-18 21:02:43 +08:00
rainzm
5bfc3128c3 fix(notify): allow normal user create their receiver 2020-09-18 17:14:21 +08:00
yunion-ci-robot
3583cb2763 Merge pull request #7927 from wanyaoqi/feature/wyq/host-sync-storage-size
feature: host sync storage actual size
2020-09-18 16:53:48 +08:00
Qiu Jian
5a8ee9d91c fix: add esxicli vmrc/webmks command 2020-09-18 14:35:33 +08:00
TangBin
4a36f82f73 ctyun add region cn-bj1 2020-09-18 14:15:54 +08:00
Zexi Li
c114a85d18 Merge pull request #7961 from zexi/hotfix/network-delete-schedtag
region: fix network schedtag not cleanup when network deleted
2020-09-18 10:43:00 +08:00
Zexi Li
b859f3ba3e region: fix network schedtag not cleanup when network deleted 2020-09-18 10:31:26 +08:00
wanyaoqi
f4c1a3ea59 support mutli params 2020-09-17 23:18:12 +08:00
Zexi Li
6e288c20f4 Merge pull request #7959 from zexi/feature/k8s-federated
climc: add k8s federated resource cmd
2020-09-17 15:39:22 +08:00
yunion-ci-robot
aba008bc75 Merge pull request #7954 from zexi/hotfix/joint-model-get
cloudcommon: get joint model should aware fieldname
2020-09-16 22:07:14 +08:00
yunion-ci-robot
0800ee7b90 Merge pull request #7941 from zhaoxiangchun/feature/zxc-suggest-3.4
suggest rule modify:
2020-09-16 21:42:20 +08:00
Zexi Li
3f80593611 Merge pull request #7953 from wanyaoqi/bugfix/wyq/host-cach-image
bugfix: fix set host image cache properties
2020-09-16 21:37:55 +08:00
Zexi Li
ffbbbb18ee Merge pull request #7912 from ioito/hotfix/qx-project-auto-rename
fix: 支持自动根据云上项目修改本地项目名称
2020-09-16 21:34:56 +08:00
Zexi Li
742e455717 climc: add k8s federated resource cmd 2020-09-16 21:30:43 +08:00
yunion-ci-robot
1bce1bab64 Merge pull request #7945 from wanyaoqi/bugfix/wyq/scheduler-isolated-device-fix
scheduler: fix fillter isolated device
2020-09-16 21:04:52 +08:00
yunion-ci-robot
40893c09a0 Merge pull request #7943 from lvyangyang/dns-duprecord
dup record process
2020-09-16 20:59:09 +08:00
yunion-ci-robot
9ecebc1671 Merge pull request #7948 from wanyaoqi/bugfix/wyq/update-image-status
glance: fix update image status after save failed
2020-09-16 20:56:11 +08:00
wanyaoqi
c6eecebed0 fix set host image cache properties 2020-09-16 20:50:12 +08:00
Zexi Li
1af48dc73d cloudcommon: get joint model should aware fieldname 2020-09-16 20:49:51 +08:00
Qu Xuan
466d961355 fix: feature: vpc peering connection support 2020-09-16 19:41:01 +08:00
wanyaoqi
686b639979 fix update image status after save failed 2020-09-16 19:00:31 +08:00
wanyaoqi
1f51af3a61 scheduler: fix fillter isolated device 2020-09-16 18:30:38 +08:00
lvyangyang
ff4bde696c dup record process 2020-09-16 18:13:33 +08:00
wanyaoqi
50a85b73ee host sync storage size 2020-09-16 17:53:32 +08:00
zhaoxiangchun
9a2267230d suggest rule modify:
1.规则由后端初始化,默认禁用
2.规则period默认为12h,扫描范围timeFrom默认为14d
3.增加notify相关的模版文件
4.更改消息重复发送的问题
2020-09-16 12:08:03 +08:00
Zexi Li
5e0a26eaa2 Merge pull request #7938 from zhaoxiangchun/bugfix/zxc-esxi-vm-mon
bugfix vmware monitor
2020-09-16 11:34:56 +08:00
Zexi Li
1185082f3b Merge pull request #7935 from swordqiu/hotfix/qj-disable-qcloud-verifyAppId
fix: disable qcloud verifyAppId temporarily
2020-09-16 11:33:48 +08:00
Zexi Li
240913649b Merge pull request #7909 from ioito/hotfix/qx-qcloud-doc
fix: add doc for qcloud
2020-09-16 11:33:03 +08:00
Zexi Li
0bcaeda09d Merge pull request #7910 from rainzm/notify/ti
Feat & Fix of Notify
2020-09-16 11:32:41 +08:00
Zexi Li
44a2cf1c16 Merge pull request #7925 from ioito/hotfix/qx-cloudgroup-dup-name
fix: 避免名称重复
2020-09-16 11:31:47 +08:00
Zexi Li
5d929e3a61 Merge pull request #7931 from swordqiu/hotfix/qj-omit-empty-fail-reason
fix: omit empty fail reason
2020-09-16 11:31:11 +08:00
yunion-ci-robot
eb8d62e6f3 Merge pull request #7929 from swordqiu/hotfix/qj-enable-generate-name-revisited
fix: enable generate name caused compability issue
2020-09-16 11:30:09 +08:00
Zexi Li
e689c561a4 Merge pull request #7921 from ioito/hotfix/qx-bucket-object-count
fix: bucket object cnt fix
2020-09-16 11:29:53 +08:00
zhaoxiangchun
0842b6f5f7 bugfix vmware monitor 2020-09-16 10:25:04 +08:00
Qiu Jian
01fe002dd7 fix: disable qcloud verifyAppId temporarily 2020-09-16 02:17:34 +08:00
Qiu Jian
b80fa64b6a fix: keystone initialize data skip nil extra fields 2020-09-16 01:58:52 +08:00
Qiu Jian
5a91ae8863 fix: omit empty fail reason 2020-09-16 01:53:29 +08:00
Qiu Jian
1a3acbd056 fix: enable generate name caused compability issue 2020-09-16 01:32:03 +08:00
Qu Xuan
1b3d3310dc fix: 避免名称重复 2020-09-15 19:27:03 +08:00
Qu Xuan
cbd08138b4 fix: bucket object cnt fix 2020-09-15 17:39:29 +08:00
Qiu Jian
41f932e381 fix: lock/unlock cleanup 2020-09-15 12:22:38 +08:00
yunion-ci-robot
e197ff815a Merge pull request #7915 from zexi/hotfix/joint-model-list
cloudcommon: joint model list should add field_name into query
2020-09-15 10:27:12 +08:00
yunion-ci-robot
bf0434804b Merge pull request #7905 from wanyaoqi/bugfix/wyq/webconsole-zombie-killer
webconsole: fix defer order to release zombie process
2020-09-15 10:26:10 +08:00
Zexi Li
a47553a7a2 cloudcommon: joint model list should add field_name into query 2020-09-14 21:32:31 +08:00
Qu Xuan
e86509a884 fix: 支持自动根据云上项目修改本地项目名称 2020-09-14 21:11:08 +08:00
rainzm
77bbb2cfd0 feat(notify): sort the returned contact type array 2020-09-14 20:33:42 +08:00
rainzm
acf1f12790 feat: notify user when failing to change config 2020-09-14 20:31:22 +08:00
rainzm
54c7069d9e feat: add NotifyError in notifyclient
NotifyError send error message to user from userCred.
2020-09-14 20:31:22 +08:00
rainzm
4b49bcec8f feat: add WithCtx version to notifyclient function 2020-09-14 20:31:17 +08:00
Qu Xuan
3c29402c10 fix: add doc for qcloud 2020-09-14 19:25:20 +08:00
wanyaoqi
4f8b80fcc1 webconsole: fix defer order to release zombie process 2020-09-14 18:19:30 +08:00
Zexi Li
4705eba9b3 Merge pull request #7902 from rainzm/cloudaccount/opt_fix
fix(esxi): return when host.Vm is empty
2020-09-14 16:27:59 +08:00
rainzm
08041d55d1 fix(esxi): return when host.Vm is empty 2020-09-14 16:24:31 +08:00
rainzm
ac438282a5 feat(region): divide notify templates into Chinese and English versions
Chinese version: content@cn, title@cn
English version: content@en, title@en
2020-09-14 15:30:20 +08:00
rainzm
654c517240 feat(region): replace 虚拟机 with 主机 or 云主机 2020-09-14 15:16:03 +08:00
yunion-ci-robot
ec769082ea Merge pull request #7899 from ioito/hotfix/qx-qcloud-cos-proxy
fix: cos use proxy
2020-09-14 14:01:08 +08:00
Zexi Li
58d2336a36 Merge pull request #7895 from wanyaoqi/bugfix/wyq/fix-guestdisk-renew
disk: check disk is need renew on guest set renew
2020-09-14 13:01:56 +08:00
Zexi Li
bebf3392d3 Merge pull request #7893 from swordqiu/hotfix/qj-host-assignable-revisited
fix: check host sharing status when considering whether a host is ass…
2020-09-14 13:01:45 +08:00
Zexi Li
2b90620ce1 Merge pull request #7887 from yousong/bugfix/yousong-eip-autoalloc
elasticips: filter by owner when doing auto allocation
2020-09-14 13:00:51 +08:00
Qu Xuan
bb7ad07c20 fix: cos use proxy 2020-09-14 13:00:02 +08:00
wanyaoqi
3ac63f537e disk: check disk is need renew on guest set renew 2020-09-14 12:05:58 +08:00
yunion-ci-robot
bb8ceb4451 Merge pull request #7890 from swordqiu/hotfix/qj-disable-webkms-for-esxi-older-than-6.5
fix: disable webkms for esxi older than 6.5
2020-09-12 23:55:15 +08:00
Qiu Jian
04f036ce2e fix: check host sharing status when considering whether a host is assignable 2020-09-12 19:21:41 +08:00
yunion-ci-robot
be55e9e8cd Merge pull request #7885 from zexi/hotfix/scheduler-specify-net
scheduler: ignore network type when specified
2020-09-12 17:29:01 +08:00
Yousong Zhou
5afbe831d9 elasticips: filter by owner when doing auto allocation 2020-09-12 17:10:19 +08:00
Qiu Jian
239797e33c fix: disable webkms for esxi older than 6.5 2020-09-12 17:05:49 +08:00
Zexi Li
e129d580bd scheduler: ignore network type when specified 2020-09-12 15:56:40 +08:00
Zexi Li
33a5422aed Merge pull request #7883 from rainzm/schedulertask/name
feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log
2020-09-11 21:06:31 +08:00
yunion-ci-robot
e51e2deaea Merge pull request #7876 from ioito/hotfix/qx-secgroup-optimized
fix: 默认不自动合并安全组
2020-09-11 21:05:58 +08:00
Zexi Li
fee902bb21 Merge pull request #7879 from ioito/hotfix/qx-resource-sync
fix: avoid sync natgateway eip panic
2020-09-11 21:03:31 +08:00
Zexi Li
55358e348e Merge pull request #7870 from rainzm/esxi/workercount
fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:26 +08:00
Zexi Li
15620a9425 Merge pull request #7836 from wanyaoqi/bugfix/wyq/fix-ceph-cache-iso-image
host: fix rbd storage cache iso image
2020-09-11 20:53:54 +08:00
Zexi Li
3c15744895 Merge pull request #7862 from ioito/hotfix/qx-dns-recordset-validate
fix: add dns recordset dns value check
2020-09-11 20:53:16 +08:00
rainzm
33a4f332cb feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log 2020-09-11 20:34:48 +08:00
Qu Xuan
8e39b7ccb4 fix: 默认不自动合并安全组 2020-09-11 19:21:23 +08:00
Qu Xuan
dab5b6e439 fix: avoid sync natgateway eip panic 2020-09-11 19:16:10 +08:00
rainzm
a0c34a044e fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:01:09 +08:00
yunion-ci-robot
6d076cf238 Merge pull request #7859 from ioito/hotfix/qx-migrate-image-data
fix: 平滑迁移数据
2020-09-10 21:37:55 +08:00
yunion-ci-robot
72c5d1f4c4 Merge pull request #7855 from ioito/hotfix/qx-qcloud-vm-keypair
Hotfix/qx qcloud vm keypair
2020-09-10 21:36:54 +08:00
Zexi Li
8ff5bb08b6 Merge pull request #7832 from rainzm/cloudaccount/opt
refactor(region): optimize preparenet of cloudaccount
2020-09-10 21:32:14 +08:00
Qu Xuan
fc8fb8af57 fix: add dns recordset dns value check 2020-09-10 19:07:42 +08:00
Qu Xuan
8284f7b294 fix: 平滑迁移数据 2020-09-10 17:38:32 +08:00
Qu Xuan
a2b9a79065 fix: 腾讯云不支持同时设置秘钥和密码,若设置秘钥,则将密码置空 2020-09-10 17:22:49 +08:00
Qu Xuan
f4ecde37c3 fix: optimized qcloud keypair 2020-09-10 16:30:47 +08:00
rainzm
ed484f4e21 refactor(region): optimize preparenet of cloudaccount
1. 从vcenter中获取host和vm的信息时,只需要获取网络相关的字段就可以了。
2. 每个host的vms,单独启用一个goroutine。
3. 优化了处理vms ip的逻辑,现在的时间复杂度是O(n)。
2020-09-10 15:37:58 +08:00
yunion-ci-robot
8bc444907b Merge pull request #7852 from rainzm/notify/fix4
fix(notify): pull contact for workwx, dingtalk and feishu
2020-09-10 15:18:02 +08:00
yunion-ci-robot
874398d039 Merge pull request #7834 from ioito/hotfix/qx-cachedimage
fix: uniform cachedimage active status
2020-09-10 14:36:02 +08:00
yunion-ci-robot
617407ba22 Merge pull request #7837 from ioito/hotfix/qx-clouduser-logininfo
fix: optimzed clouduser password
2020-09-10 14:33:54 +08:00
rainzm
1517ed79f2 fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:33:09 +08:00
yunion-ci-robot
9f138b6c2d Merge pull request #7843 from ioito/hotfix/qx-clouduser-opti
fix: optimzed clouduser
2020-09-10 09:49:24 +08:00
yunion-ci-robot
f397a04fdb Merge pull request #7841 from ioito/hotfix/qx-public-zone-create
fix: avoid create public zone failed
2020-09-10 09:47:56 +08:00
yunion-ci-robot
9e97115a4c Merge pull request #7838 from zhaoxiangchun/bugfix/zxc-monitor-alert
commonalert bugfix:
2020-09-10 09:46:54 +08:00
yunion-ci-robot
06db576236 Merge pull request #7831 from swordqiu/hotfix/qj-project-users-recode
fix: recode project-role rpc handle to support group role assignment
2020-09-10 09:44:53 +08:00
yunion-ci-robot
769ef5af83 Merge pull request #7845 from rainzm/esxi/templatefix1
Feat & Fix & Refactor for ESXi
2020-09-10 09:41:57 +08:00
rainzm
3fb175ba7d fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:43:29 +08:00
rainzm
5c209fe3dc fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:33:16 +08:00
rainzm
dcb6db0443 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:32:49 +08:00
rainzm
14c5e18c22 feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:20:13 +08:00
rainzm
0aa9dc6fb7 feat(esxi): support fetchVM form datacenter 2020-09-09 21:20:02 +08:00
rainzm
4d74a97786 refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 20:35:24 +08:00
Qu Xuan
7361da408a fix: optimzed clouduser 2020-09-09 20:11:23 +08:00
Qu Xuan
d9626e3100 fix: avoid create public zone failed 2020-09-09 19:53:56 +08:00
Qiu Jian
332ba04bd1 fix: recode project-role rpc handle to support group role assignment
results by user or project
2020-09-09 18:17:53 +08:00
zhaoxiangchun
a624625520 commonalet bugfix:
1.报警接受人通知渠道调整:由notify中解释发送到对应的channel
2.报警恢复增加对应的evalmatch,保存对应的metricvalue
3.报警记录中增加description相关信息
4.其他代码调整
2020-09-09 18:16:34 +08:00
Qu Xuan
a004470225 fix: optimzed clouduser password 2020-09-09 16:34:07 +08:00
wanyaoqi
9e0ce8722e host: fix rbd storage cache iso image 2020-09-09 15:52:12 +08:00
Qu Xuan
f09bb6682c fix: uniform cachedimage active status 2020-09-09 15:19:46 +08:00
yunion-ci-robot
6ea5995242 Merge pull request #7828 from swordqiu/hotfix/qj-wire-usage-incorrect
fix: wire usage stats incorrect
2020-09-08 20:28:55 +08:00
yunion-ci-robot
791e4ab9b5 Merge pull request #7821 from rainzm/esxi/fix_tem
fix(esxiagent): return image extid not id
2020-09-08 20:24:53 +08:00
yunion-ci-robot
118ae551af Merge pull request #7820 from swordqiu/hotfix/qj-redfish-power-on-ignore-409-error
fix: ignore 409 error when doing redfish power on
2020-09-08 20:23:55 +08:00
Qiu Jian
d7e330f9eb fix: wire usage stats incorrect 2020-09-08 16:39:57 +08:00
rainzm
5789c6dedd fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:23:12 +08:00
Qiu Jian
65141a277c fix: ignore 409 error when doing redfish power on 2020-09-08 15:19:30 +08:00
yunion-ci-robot
a6eb0c19fa Merge pull request #7802 from rainzm/scheduler/failInfo
Optimization of the scheduler
2020-09-08 14:59:55 +08:00
rainzm
81feadc13a fix(scheduler): more standardized testing 2020-09-08 14:27:31 +08:00
rainzm
9d18b94ad6 refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:27:31 +08:00
rainzm
57d8f991ab Add mock test for genericScheudler.Schedule 2020-09-08 14:27:26 +08:00
yunion-ci-robot
5dd7b7a1ee Merge pull request #7762 from lvyangyang/dns-fork-9.2-2
dns access
2020-09-08 12:57:52 +08:00
lvyangyang
25ddca8609 dns access 2020-09-08 10:28:27 +08:00
yunion-ci-robot
2eec0c64c8 Merge pull request #7810 from wanyaoqi/bugfix/wyq/fix-host-error-output
bugfix: fix host errors output
2020-09-08 10:03:17 +08:00
yunion-ci-robot
6c25384344 Merge pull request #7808 from swordqiu/hotfix/qj-check-assign-host
fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot
612a016b67 Merge pull request #7817 from wanyaoqi/bugfix/wyq/reenterable-colloct-isolated-deivces-info
bugfix: isolated devices info collect reenterable
2020-09-08 09:59:53 +08:00
wanyaoqi
945fac0a4b fix host error output 2020-09-07 21:06:59 +08:00
yunion-ci-robot
3391d77a1b Merge pull request #7814 from yousong/bugfix/yousong-i18n
treewide: DeleteFailReason as an object with translated details
2020-09-07 21:06:53 +08:00
yunion-ci-robot
5ca9e814b9 Merge pull request #7807 from rainzm/notify/fix3
fix(notify): break down permissions of notifyconfigs
2020-09-07 21:05:59 +08:00
yunion-ci-robot
035e2bf51e Merge pull request #7804 from yousong/bugfix/yousong-vpcagent
vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot
8e882cf3c9 Merge pull request #7798 from wanyaoqi/bugfix/wyq/guest-desc-add-backup
bugfix: guest short desc add backup host id
2020-09-07 21:03:50 +08:00
yunion-ci-robot
3897beba88 Merge pull request #7796 from ioito/hotfix/qx-cloudid-sync-groups
fix: sync groups for user
2020-09-07 21:01:51 +08:00
yunion-ci-robot
89c05901d9 Merge pull request #7789 from wanyaoqi/bugfix/wyq/fix-ubuntu-version
bugfix : fix get ubuntu version
2020-09-07 20:59:44 +08:00
yunion-ci-robot
aefcb1e3c2 Merge pull request #7811 from swordqiu/hotfix/qj-prevent-user-in-disabled-idp-login
fix: prevent users in disabled idp from login
2020-09-07 20:57:46 +08:00
yunion-ci-robot
8ce14d97c1 Merge pull request #7793 from ioito/hotfix/qx-aliyun-city
fix: aliyun wulanchabu region
2020-09-07 20:55:45 +08:00
wanyaoqi
641c71880b isolated devices info reenterable 2020-09-07 20:43:54 +08:00
rainzm
a9fafc4517 fix(notify): break down permissions of notifyconfigs
1. Only allow admin to create, list, update or delete.
2. Allow user to get types.
2020-09-07 18:55:19 +08:00
Yousong Zhou
6415de33d3 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:51:29 +08:00
Yousong Zhou
776ef9b8b5 httperrors: HTTPError: use Error type 2020-09-07 18:51:29 +08:00
Qiu Jian
9e1ff88195 fix: prevent users in disabled idp from login 2020-09-07 18:23:21 +08:00
Yousong Zhou
4d7eee4f2b httperrors: add Error type 2020-09-07 18:18:39 +08:00
Qiu Jian
4d5aadb64b fix: check assign-host previliges 2020-09-07 18:12:24 +08:00
Yousong Zhou
9168284d59 vpcagent: guard against foul eip records 2020-09-07 17:24:08 +08:00
wanyaoqi
09e568e14c guest short desc add backup host id 2020-09-07 16:58:26 +08:00
Qu Xuan
491efe5794 fix: sync groups for user 2020-09-07 16:34:45 +08:00
rainzm
0bd84dd4b0 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-07 16:14:28 +08:00
rainzm
4b4875cd70 feat: Add IResultHelper
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager

2. Add IResultHelper

3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-07 16:13:20 +08:00
Qu Xuan
46e6d37c2d fix: aliyun wulanchabu region 2020-09-07 16:09:36 +08:00
yunion-ci-robot
b85feb75f6 Merge pull request #7786 from rainzm/scheduler/igselect
fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:42 +08:00
yunion-ci-robot
f390723eaa Merge pull request #7782 from rainzm/notify/fix2
fix(notify): Replace String() with GetString()
2020-09-07 15:26:42 +08:00
yunion-ci-robot
43f47d96cb Merge pull request #7780 from swordqiu/hotfix/qj-user-idps-include-template
fix: user idps attributes includes template name
2020-09-07 15:24:42 +08:00
wanyaoqi
495d9174c9 fix get ubuntu version 2020-09-07 15:24:21 +08:00
rainzm
de1b5bc96e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:13:19 +08:00
rainzm
6509ed6e99 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:09:47 +08:00
Qiu Jian
383bdef224 fix: user idps attributes includes template name 2020-09-07 12:03:31 +08:00
Zexi Li
98812bc6f6 Merge pull request #7729 from ioito/hotfix/qx-cached-image-sync
optimized cachedimages sync
2020-09-07 11:55:22 +08:00
yunion-ci-robot
d10f7a6d7a Merge pull request #7769 from swordqiu/hotfix/qj-network-addresses-respect-priviliges
fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot
339aa9f3cb Merge pull request #7772 from swordqiu/hotfix/qj-skip-sync-objects-in-task
fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:47:42 +08:00
Zexi Li
8416e52ab8 Merge pull request #7776 from zexi/feature/k8s-componet-grafana
climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:42 +08:00
Zexi Li
930a726670 climc: k8s cluster grafana componet support subpath 2020-09-05 14:45:38 +08:00
Qiu Jian
9de29d9afd fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:27:12 +08:00
Qiu Jian
09944bc1b4 fix: network address list respect privilige of user 2020-09-05 11:56:53 +08:00
yunion-ci-robot
b9b7134262 Merge pull request #7767 from ioito/hotfix/qx-cloudid-fix
fix: cloudid optimized
2020-09-05 10:32:45 +08:00
Qu Xuan
7232695dfb fix: cloudid optimized 2020-09-04 20:21:07 +08:00
yunion-ci-robot
f64594d588 Merge pull request #7764 from tb365/feature/tb-pxe-register-template-update
pex register add optional column mac_access
2020-09-04 20:17:41 +08:00
yunion-ci-robot
8cb7bb99c3 Merge pull request #7739 from ioito/hotfix/qx-resource-update
fix: valid update name and update dns recordset
2020-09-04 20:11:38 +08:00
yunion-ci-robot
d79a961f50 Merge pull request #7760 from swordqiu/hotfix/qj-policy-aware-scheduler
fix: scheduler aware policy
2020-09-04 16:21:39 +08:00
TangBin
88838bb538 pex register add optional column mac_access 2020-09-04 15:54:01 +08:00
Qiu Jian
b8238d2059 fix: scheduler aware policy 2020-09-04 10:36:21 +08:00
Zexi Li
723a8a3547 Merge pull request #7751 from ioito/hotfix/qx-cloudid-optimized
Hotfix/qx cloudid optimized
2020-09-04 10:33:15 +08:00
Zexi Li
3f62936a5d Merge pull request #7748 from rainzm/esxi/net
feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:22 +08:00
Zexi Li
8bf7fd654c Merge pull request #7757 from swordqiu/hotfix/qj-support-VirtualDiskRawDiskMappingVer1BackingInfo
fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:12 +08:00
Zexi Li
57ceac5dda Merge pull request #7753 from swordqiu/hotfix/qj-remove-sso-redundant-authcookie
fix: remove redundant auth cookie in sso login
2020-09-04 10:30:41 +08:00
Zexi Li
81a8ae288b Merge pull request #7744 from wanyaoqi/bugfix/wyq/check-min-disk-size-on-update
glance: check min disk size on update
2020-09-04 10:29:43 +08:00
Zexi Li
dfa837a3ff Merge pull request #7741 from swordqiu/hotfix/qj-search-project-domain-by-chsname
fix: search by chs projectname or domainname
2020-09-04 10:28:55 +08:00
Zexi Li
7617fd3e52 Merge pull request #7740 from swordqiu/hotfix/qj-find-esxi-host-access-ip
fix: find correct esxi host access ip
2020-09-04 10:28:33 +08:00
Zexi Li
486adf60ae Merge pull request #7735 from rainzm/schedulertask/fix
fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:34 +08:00
Qiu Jian
a672c6b334 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:14:30 +08:00
yunion-ci-robot
835f60f584 Merge pull request #7730 from swordqiu/feature/qj-support-lenovo-huawei
fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-04 00:03:42 +08:00
Qiu Jian
ef138c05d4 fix: remove redundant auth cookie in sso login 2020-09-03 23:52:12 +08:00
Qiu Jian
053507c3e3 fix: find correct esxi host access ip 2020-09-03 22:17:04 +08:00
yunion-ci-robot
d7db832c6c Merge pull request #7733 from rainzm/notify/fix1
Feature & Fix for Notify
2020-09-03 21:54:52 +08:00
rainzm
0a9a73587e feat(notify): Allow use topic to filter notification 2020-09-03 21:15:38 +08:00
Qu Xuan
ce032ecf17 fix: optimzed sync 2020-09-03 21:10:29 +08:00
Qu Xuan
fd318a9cda fix: optimized cloudid 2020-09-03 20:29:37 +08:00
rainzm
3793387b66 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:22:21 +08:00
wanyaoqi
53d0914cd9 glance: check min disk size on update 2020-09-03 19:58:22 +08:00
Qiu Jian
64f5bc748c fix: search by chs projectname or domainname 2020-09-03 18:36:28 +08:00
Qu Xuan
80c75b19ae fix: valid update name and update dns recordset 2020-09-03 16:46:24 +08:00
rainzm
f11a1df3a5 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:20:20 +08:00
rainzm
f57a199cbd feat(notify): Add TNotifyChannel const of robot 2020-09-03 15:08:13 +08:00
rainzm
89ec96567b feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 15:08:13 +08:00
rainzm
e179191dd3 feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 15:08:13 +08:00
rainzm
3e982ab79a feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 15:08:13 +08:00
rainzm
bf12f5b57c feat(notify): break down error from UseridByMobile 2020-09-03 15:08:13 +08:00
rainzm
9af0fe1fe9 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 15:08:13 +08:00
rainzm
9029e98c2f fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 15:08:13 +08:00
rainzm
8a80f96d62 refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 15:08:13 +08:00
rainzm
2ea4138f3a fix(notify): Allow user list receivers 2020-09-03 15:08:13 +08:00
rainzm
9978f19542 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 15:08:13 +08:00
Qiu Jian
f6eb9fc195 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:55:22 +08:00
yunion-ci-robot
7a0eb06df9 Merge pull request #7725 from tb365/bugfix/tb-create-classic-vpc-fix
create classic vpc fix
2020-09-03 10:32:41 +08:00
Qu Xuan
dc1c6c754c optimized cachedimages sync 2020-09-02 22:00:14 +08:00
yunion-ci-robot
bb68d7f2c2 Merge pull request #7587 from ioito/feature/qx-dns-interface
feature: add dns interface
2020-09-02 18:01:08 +08:00
TangBin
6a22bf0e7b create classic vpc fix 2020-09-02 18:00:18 +08:00
Qu Xuan
5b3bfd1b3b fix: avoid nil panic 2020-09-02 17:26:38 +08:00
Qu Xuan
0cc0a19910 fix: avoid policy value not save 2020-09-02 17:08:13 +08:00
Qu Xuan
5eaece5516 fix: climc params 2020-09-02 16:57:07 +08:00
yunion-ci-robot
df37b58320 Merge pull request #7716 from zhaoxiangchun/bugfix/zxc-monitor-alert
alertrecords bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
2674f6a8ed Merge pull request #7718 from wanyaoqi/feature/wyq/vmware-support-lvm
feature: vmware disk support deploy lvm partition
2020-09-02 16:31:46 +08:00
Qu Xuan
f251559c39 feature: add dns interface 2020-09-02 16:30:05 +08:00
yunion-ci-robot
3608b58064 Merge pull request #7722 from wanyaoqi/bugfix/wyq/update-host-status-on-host-offline
hosts: update host status to unknown on host offline
2020-09-02 16:27:38 +08:00
Rain Zheng
1ed65ddd1a Feature & Fix for Notify (#7714)
* feat(notify): Add 'get-types' action for ConfigManager

The List interface is only open to administrators,
because we don't want anyone other than administrators
to see the details of the notify configuration.
To let general user to kown available notification channels,
add 'get-types' actions of ConfigManager.

* feat(notify): Check the availability of contact type before creating notification

Creating notification with unconfigured contact type will fail at
sending message. Now, prevent creation in advance.

* feat(notify): Add workwx for NotifyNormal/Important/Critical

* feat(notify): Add Notify about robot in notifyclient

* fix(notify): Init ParentContactType for SSubContact

1. ParentContactType of SSubContact with webconsole type is empty.
2. ParentContactType of others SSubContact is mobile.

* fix(notify): Unverify SSubContact when ParentContactType match

* fix(notify): When no data is initialized, exit directly
2020-09-02 16:10:06 +08:00
wanyaoqi
4a00c22297 update host status to unknown on host offline 2020-09-02 13:07:27 +08:00
zhaoxiangchun
138a161195 listfilter by alert_id 2020-09-01 20:46:16 +08:00
zhaoxiangchun
bb22fba257 alert record bugfix
1.return details fix
2020-09-01 20:46:15 +08:00
wanyaoqi
7dcb240940 vmware disk support deploy lvm partition 2020-09-01 20:43:55 +08:00
wanyaoqi
74c8c6bfe2 hostinfo: try create network add is_on_premise (#7706) 2020-09-01 20:09:48 +08:00
屈轩
416afb686a fix: add details for account delete (#7702)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:08:37 +08:00
Yousong Zhou
b314b66b71 Bugfix/yousong i18n (#7712)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:11:41 +08:00
Yousong Zhou
da64e4a267 httperrors: use existing details if id is not present (#7710) 2020-09-01 18:32:37 +08:00
Zexi Li
65c1f5afdb Merge pull request #7705 from zexi/feature/update-arch-img
README: update architecture img
2020-09-01 16:23:29 +08:00
Zexi Li
9fd99a22fd README: update architecture img 2020-09-01 16:19:54 +08:00
屈轩
8cf594785d fix: avoid delete aws iam user failed (#7664)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 11:35:36 +08:00
Jian Qiu
2ea855a425 fix: vmware esxi host detects vnic portgroup info (#7649)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:51:41 +08:00
Jian Qiu
0cbad8aea3 feature: emualated ssd support (#7701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:49:37 +08:00
Jian Qiu
8ba3f86b55 fix: apigateway user info add is_local attribtue (#7694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:48:37 +08:00
Rain Zheng
e393f3ee21 Fix problem of esxi (#7661)
* fix(esxi): Fetch full templates of datastoreImageCache

Datastore 和 DatastoreImageCache 是一对一的关系。
每一个 Datastore 可能有多个对应的 Host,所以 GetIIMages 里面获取
Templates 的逻辑应该尝试去获取所有 Host 的 Templates。

* fix(host-deployer): Exit correctly after mounting

MountRootfs的返回值为nil时,还是需要Umount的操作来正确退出(比如VDDK)。
VDDK的Mount分为两步,第一步会挂在remote
disk到fuse下,然后挂载fuse/xxx/flat
到块设备上。第一步成功,第二部失败也应该正确退出。

* fix(host-deployer): Kill process

* opt(host-deployer): Increase timeout of waiting mount

* opt(host-deployer): Add debug log print command to mount

* fix(esxi): Support multi agent in different zone
2020-09-01 10:47:39 +08:00
Zexi Li
cda8bd75d7 Merge pull request #7680 from wanyaoqi/feature/wyq/misc-20200831
feature: snapshot list by guest
2020-09-01 10:47:07 +08:00
Rain Zheng
74af85b8eb Fix for Notify (#7692)
* feat(notify): Support update for notify config

* fix(notify): Be compatible with the email configuration

Email config key text changed:
mail.username => username
mail.password => password
mail.smtp.hostname => hostname
mail.smtp.hostport => hostport

* fix(notify): Give users permission to operate receiver

* fix(notify): Allow negative update for receiver

Now, input.Email and input.Mobile can be empty which means
that do not update the corresponding field.

* feat(notify): Support for triggering validation on feishu, dingtalk and worwx

Triggering validation on these contact types means repulling a Contact about them.

* feat(notify): Adds validity period for verify

Verification beyond the expiration date will fail.

* fix(notify): SQuery of scopedomain in FilterByOwner
2020-09-01 10:45:36 +08:00
zhaoxiangchun
c66ea1145d monitor commonalert bugfix (#7667)
* 统一监控查询面板保存

* commonalert bugfix
2020-09-01 10:43:35 +08:00
Jian Qiu
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
Jian Qiu
3ccf78ae7d fix: server purge may fail (#7696)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:18:37 +08:00
屈轩
a5c3a34b7c fix: 不限制openstack系统盘类型 (#7674)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 01:21:35 +08:00
wanyaoqi
795a11fcea fix host get guests (#7682) 2020-09-01 01:06:39 +08:00
wanyaoqi
3dec0fdc60 fix get storage capacity on init' (#7686) 2020-09-01 00:59:37 +08:00
Yousong Zhou
ad6b38f68a vpcagent: respect guest src check settings (#7677)
mac   ip    dhcp    ping    xipping    xmacping
  on    on    y       y       n          n
  on    off   y       y       y          n
  off   off   y       y       y          y

external access depends on source routing, changing ip address will
fail that

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:31:37 +08:00
wanyaoqi
fb41d16c97 snapshot list by guest 2020-08-31 15:24:56 +08:00
Jian Qiu
7336ff732c fix: cleanup logic for nics of pending_deleted guests (#7668)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:32:34 +08:00
Zexi Li
afd5647c83 Merge pull request #7662 from wanyaoqi/host-deployer/update-base-image-version
feature: update host deployer base image version
2020-08-28 20:36:20 +08:00
wanyaoqi
70f953dee8 update host deployer base image version 2020-08-28 20:17:47 +08:00
wanyaoqi
75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi
f255e8fcd0 fix mount fetcher fs (#7656) 2020-08-28 12:06:33 +08:00
wanyaoqi
b0edff1d80 remove backup metadata on delete backup (#7653) 2020-08-28 12:01:37 +08:00
tb365
11f86bb290 eip & vpc manager match fix (#7650)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-28 11:59:38 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
wanyaoqi
bb0d81bc06 host campactable with arm64 2020-08-27 11:05:21 +08:00
wanyaoqi
cb036b8821 fix build baremetal agent image (#7646) 2020-08-27 11:00:32 +08:00
屈轩
21342005e0 fix: aovid truncated data (#7643)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:39:40 +08:00
Jian Qiu
cb573d340a fix: turn off some default project policies (#7636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:35 +08:00
Jian Qiu
585ba0ff58 fix: add keystone sync user debug info (#7633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:34 +08:00
屈轩
2716d4527d fix: avoid openstack image-list failed (#7640)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:34 +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
wanyaoqi
c1cf728995 fix github action workflow (#7635) 2020-08-26 13:21:34 +08:00
Jian Qiu
5b2b40d6ce fix: project role rpc returns policies info (#7632)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 10:47:33 +08:00
Zexi Li
10f7ed4a46 Merge pull request #7631 from swordqiu/hotfix/qj-keystone-sync-debug
fix: add keystone sync user debug info
2020-08-26 10:47:22 +08:00
Zexi Li
42118fc743 Merge pull request #7603 from wanyaoqi/feature/wyq/arm-build
feature: docker build support buildx and arm architecture
2020-08-26 10:45:51 +08:00
Qiu Jian
ccf55963ac fix: add keystone sync user debug info 2020-08-26 00:35:35 +08:00
Yousong Zhou
500e2edad7 vpcagent: ignore network without wire ids (#7629) 2020-08-25 23:31:32 +08:00
wanyaoqi
61214f2e2c separate guest doamin and dns (#7621) 2020-08-25 22:18:35 +08:00
Rain Zheng
707051ec0b fix: make old notify send SDK compatible (#7628) 2020-08-25 18:48:32 +08:00
屈轩
4593c1fb99 fix: avoid network-list --zone not work (#7619)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 18:31:32 +08:00
Jian Qiu
34ee80f011 feature: use informer to update endpoint, policy and service configs (#7596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 17:45:33 +08:00
wanyaoqi
2904364de2 fix gpfs check mountpoint (#7623) 2020-08-25 17:41:33 +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
wanyaoqi
6b944626b7 docker build support buildx and arm architecture 2020-08-25 16:13:57 +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
屈轩
ca2e8bece3 fix: ignore invalid zone sku for rds sku sync (#7617)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 10:31:32 +08:00
Jian Qiu
fea4a6b07b fix: oauth2 not support default_project_id and default_role_id (#7622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 09:57:31 +08:00
Jian Qiu
852a3bb13e fix: idp deletel logic cleanup (#7616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-24 22:19: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
Jian Qiu
7c3fa87ed6 fix: hide locked cloud policy by default (#7614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 20:20:30 +08:00
Qiu Jian
3762df8087 fix: GetDefaultClient always return a new http client instance 2020-08-22 20:07:09 +08:00
屈轩
c1a6b2db9f fix: avoid change user name for google (#7613)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 18:36:29 +08:00
Jian Qiu
a94f32ed56 fix: limit the length of error message when do idp redirect (#7612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 12:33:36 +08:00
屈轩
4555b00c35 fix: avoid storage=nil, dis can not delete (#7608)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:32:29 +08:00
Zexi Li
072e3ca490 Merge pull request #7607 from swordqiu/hotfix/qj-option-turn-off-domain-list
fix: apigateway option to turn off login domain list
2020-08-21 21:26:56 +08:00
Qiu Jian
fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
屈轩
5b898bbf6b fix: optimized for cloudid (#7604)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-21 20:50:29 +08:00
lvyangyang
46683b210b fix:wrap params (#7605)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-21 20:45:23 +08:00
Jian Qiu
777059648b fix: opslog filter by owner_project_ids and owner_domain_ids (#7600)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Jian Qiu
7bab39daf9 fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing (#7599)
sometimes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:53:17 +08:00
屈轩
a23a94714c fix: member user only can get user & domain resource (#7597)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 20:53:17 +08:00
屈轩
e70fe59bc7 fix: option for metadata path (#7595)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 15:00:13 +08:00
wanyaoqi
dcf8183c30 alter table guestcdrom_tbl modify column size bigint (#7593) 2020-08-20 13:09:58 +08:00
Zexi Li
8942d19717 Merge pull request #7594 from zexi/feature/climc-helper
climc: add cmd helper to reduce duplicate code
2020-08-20 10:51:02 +08:00
Zexi Li
32e6452add Merge pull request #7579 from swordqiu/feature/qj-cloudid-saml-support-phase1
feature: cloudid saml support phase1 -- framework and api
2020-08-20 10:25:27 +08:00
Zexi Li
aa8177f531 climc: add cmd helper to reduce duplicate code 2020-08-19 18:49:02 +08:00
Zexi Li
86253534d7 only notify watched resource (#7592) 2020-08-19 12:52:26 +08:00
Zexi Li
cc8c7b64a7 Merge pull request #7591 from ioito/hotfix/qx-cloudid-fix
fix: 修复cloudid用户同步及权限同步
2020-08-19 10:38:02 +08:00
Qu Xuan
8a78c54dc9 fix: 修复cloudid用户同步及权限同步 2020-08-18 20:42:30 +08:00
Zexi Li
918baf111d Merge pull request #7588 from swordqiu/hotfix/qj-dns-record-create-public
fix: dns record create ignore is_public field
2020-08-18 10:51:04 +08:00
Qiu Jian
92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Qiu Jian
016b65a4b1 fix: dns record create ignore is_public field 2020-08-18 01:06:08 +08:00
屈轩
d5524d1ea1 fix: 支持自定义权限 (#7565)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-17 10:59:53 +08:00
Jian Qiu
2b7586140a feature: do uniqueness check when create/update idp configs (#7584)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-17 10:58:57 +08:00
Rain Zheng
0ab75b52df fix: GetIImages correctly without 'image_cache' dir (#7575)
After creating vms, there is no dir named 'image_cache' exists in
storage of esxi. So handle this case to not affecte the synchronization of the
VMware Template.
2020-08-16 23:45:56 +08:00
Zexi Li
ce695849ca Merge pull request #7580 from swordqiu/hotfix/qj-allow-delete-shared-role-policy
fix: allow delete shared role and policy
2020-08-16 23:44:10 +08:00
Yousong Zhou
6dc007425c Bugfix/yousong vpc ext (#7585)
* apis: vpcs_ovn: alloc for interconnects

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

Link: https://github.com/yunionio/onecloud/issues/7583
2020-08-16 23:40:53 +08:00
Qiu Jian
4a0439da82 fix: allow delete shared role and policy 2020-08-15 20:54:22 +08:00
屈轩
196d3b3604 fix: aovid duplicate sku name (#7572)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 20:35:49 +08:00
Yousong Zhou
e01f0ce2a2 Bugfix/yousong hostman routes (#7563)
* netutils2: SNetInterface: add GetGatewayRoutes

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

* iproute2: route: RouteGetByDst: use RouteSpec as return value
2020-08-14 20:28:47 +08:00
wanyaoqi
29c0e53849 fix usage not set prefix (#7568) 2020-08-14 17:31:48 +08:00
Jian Qiu
cedfd6410e fix: init wire domain_id for local vpc (#7566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 17:30:49 +08:00
Zexi Li
6a57435f1c fix: json TAG_PREFIX invalid syntax (#7564) 2020-08-14 17:29:49 +08:00
屈轩
7cd419f78e fix: avoid virtual resource project id is empty when cloudaccount with no project (#7560)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 10:38:50 +08:00
Rain Zheng
098b4e5b55 fix: Merge the host network correctly when preparenet (#7557) 2020-08-14 10:36:52 +08:00
Jian Qiu
b898455840 fix: network port count stat recode (#7554)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 10:34:46 +08:00
lvyangyang
eb56fcf7bc add: openstack loadbalancer (#7497)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-14 10:29:50 +08:00
Zexi Li
7a08a60dbd scheduler: refactor network predicate (#7553) 2020-08-13 17:56:47 +08:00
Zexi Li
95130f8ef0 region: validate network auto alloc update data (#7559) 2020-08-13 17:55:45 +08:00
Jian Qiu
320d7cabcd fix: user with sso idp fail to login with password (#7552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-13 11:24:46 +08:00
Jian Qiu
a02611db12 fix: oidc auth callback url not complete (#7545)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:56:45 +08:00
Jian Qiu
59c026f0d9 fix: recode user project role list to include group info (#7544)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:55:44 +08:00
Zexi Li
c672521ce2 cloudcommon: remove query for fetchitem when not GET (#7551) 2020-08-11 19:46:44 +08:00
Zexi Li
f6da6c4f65 Merge pull request #7547 from wanyaoqi/feature/wyq/support-configure-usb-kbd
feautre: support diable usb kbd
2020-08-11 18:41:53 +08:00
Zexi Li
357a0cd541 Merge pull request #7541 from ioito/hotfix/qx-host-enabled-optimized
fix: separete enabled and status field
2020-08-11 18:39:08 +08:00
Zexi Li
88b990e2a0 Merge pull request #7550 from zexi/hotfix/scheduler-net-alloc
scheduler: fix network auto alloc logic
2020-08-11 18:33:26 +08:00
Zexi Li
6f2ddbd3ad scheduler: fix network auto alloc logic 2020-08-11 18:03:13 +08:00
Jian Qiu
e1bd01162d fix: change publicNetworkCount to autoAllocNetworkCount in Capability (#7546)
response

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 16:31:15 +08:00
wanyaoqi
df9e47cbfc support diable usb kbd 2020-08-11 15:30:10 +08:00
Qu Xuan
5b31ca8dad fix: separete enabled and status field 2020-08-11 14:53:19 +08:00
Zexi Li
156f983e67 Merge pull request #7530 from wanyaoqi/bugfix/wyq/fix-mount-xfs
bugfix: mount xfs lock uuid
2020-08-11 11:16:17 +08:00
wanyaoqi
aa483edeba fix usage get storage capbility (#7527) 2020-08-10 20:07:56 +08:00
wanyaoqi
cdaff21269 fix mount xfs 2020-08-10 19:54:28 +08:00
Zexi Li
9af25a2aa9 cloudcommon: remove unnecessary joint interface (#7524) 2020-08-10 16:16:46 +08:00
Jian Qiu
c277d492fc fix: update vendor (#7526)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-10 15:41:43 +08:00
wanyaoqi
54ff56c04e usage report reserved memory (#7525) 2020-08-10 15:40:43 +08:00
Zexi Li
5c4e157e8b Merge pull request #7523 from ioito/hotfix/qx-shell-optimized
fix: compatible for macOS
2020-08-10 15:38:58 +08:00
屈轩
930ca23ea8 fix: optimized huawei security group get and create operation (#7520)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 15:37:45 +08:00
Qu Xuan
a6bff94983 fix: compatible for macOS 2020-08-10 14:39:41 +08:00
wanyaoqi
cad24ac69b set disk status on disk detached (#7517) 2020-08-10 11:41:43 +08:00
屈轩
f343b071fa fix: 修复安全组合并导致重复计算虚拟机绑定安全组数量&优化安全组操作 (#7496)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 11:18:44 +08:00
zhaoxiangchun
b63d9b55d8 nodealert bugfix: (#7512)
1.重名判断:后端通过resType, nodeName, metric 限制前端可以创建相同metric的报警记录
2020-08-10 11:15:44 +08:00
zhaoxiangchun
22cd20c3f9 modify telegraf reporting tag (#7489)
1.取消platform字段,统一使用brand
2.telegraf
  conf中增加domain和project_domain信息,通过getDomainInfo()函数初始化
3.宿主机信息上报时,增加tenant和tenant_id信息
4.内存信息中增加内存使用率:used_percent field字段
2020-08-10 10:51:43 +08:00
屈轩
4696a3e475 fix: avoid nil pointer (#7508)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-10 10:26:45 +08:00
Jian Qiu
c98e72e6e9 fix: password authentication may choose wrong idp backend (#7513)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-10 10:23:43 +08:00
tb365
280039ab38 add image upload& s3 upload api (#7514)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-10 10:21:44 +08:00
Jian Qiu
b0505ba5fd Hotfix/qj password login wrong idp (#7511)
* fix: role assignment code to include group info for group users

* fix: password authentication may choose wrong idp backend

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-07 14:19:34 +08:00
Zexi Li
e8e5c3dbe5 Merge pull request #7506 from swordqiu/hotfix/qj-sso-preserve-state
fix: preserve state while doing sso redirect
2020-08-07 11:07:15 +08:00
Zexi Li
a8c0e8291a Merge pull request #7498 from ioito/hotfix/qx-azure-storage
fix: 隐藏auzre经典类型存储
2020-08-07 11:06:02 +08:00
Zexi Li
d03c576048 Merge pull request #7501 from ioito/hotfix/qx-zstack-optimized
fix: 提高zstack认证兼容性
2020-08-07 11:04:57 +08:00
Zexi Li
d61d4776a5 Merge pull request #7505 from rainzm/feishu/batch_send
feat: Add BatchSendMessage for feishu SDK
2020-08-07 11:04:32 +08:00
Qiu Jian
60eec6440b fix: preserve state while doing sso redirect 2020-08-06 21:49:16 +08:00
rainzm
aa364a3d74 feat: Add BatchSendMessage for feishu SDK 2020-08-06 20:52:51 +08:00
Qu Xuan
0850bd516e fix: 提高zstack认证兼容性 2020-08-06 19:23:54 +08:00
Qu Xuan
629a4e93d2 fix: 隐藏auzre经典类型存储 2020-08-06 18:00:09 +08:00
Jian Qiu
604b6b7fff feature: OpenID Connect provider support (#7490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 12:10:15 +08:00
屈轩
327b60baf6 fix: 增加openstack兼容性 (#7492)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-06 11:56:18 +08:00
Zexi Li
d988b41a39 Merge pull request #7491 from swordqiu/hotfix/qj-oidc-support-azure-ad-china
fix: support AzureAD oidc in china area
2020-08-06 11:53:04 +08:00
Jian Qiu
c63230f377 fix: do not search response key if empty json returned (#7495)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 11:51:16 +08:00
Jian Qiu
19b69de1dd fix: idp validate config not complete (#7488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-06 11:49:16 +08:00
Qiu Jian
12bbbc541a fix: support AzureAD oidc in china area 2020-08-05 15:35:20 +08:00
wanyaoqi
716f647f7a fix host info get sshkey (#7484) 2020-08-04 13:29:09 +08:00
Jian Qiu
0e775e68ec feature: OpenID Connect provider support (#7446)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:09:05 +08:00
Jian Qiu
d4a93f0dcd fix: capabilities get auto alloc network count (#7483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:04:03 +08:00
Jian Qiu
0a580b3c9c fix: unlink-user illegal mix of collations (#7482)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-04 13:03:35 +08:00
Zexi Li
74dd7f7618 Merge pull request #7479 from swordqiu/hotfix/qj-typo-running_guests
fix: typo running_geusts => running_guests
2020-08-03 16:58:23 +08:00
Zexi Li
f513f6f6e3 Merge pull request #7474 from ioito/hotfix/qx-typo
fix: typo
2020-08-03 16:57:32 +08:00
Jian Qiu
04eaf3de63 fix: filter public network count by zone and region (#7477)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 16:57:02 +08:00
Qiu Jian
eae229b35a fix: typo running_geusts => running_guests 2020-08-03 16:14:33 +08:00
Jian Qiu
1ba9715ec2 feature: add is_auto_alloc flag to networks (#7473)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 11:58:02 +08:00
Qu Xuan
9da8095f84 fix: typo 2020-08-03 10:56:24 +08:00
Jian Qiu
1929076fa5 fix: ignore bucket-set-acl not implemented error (#7470)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-03 09:25:04 +08:00
Zexi Li
5b3063086a Merge pull request #7447 from tb365/bugfix/tb-bugfix-200801
aws elb listener&rule name too long fix
2020-08-02 10:08:15 +08:00
Zexi Li
65e32b1efe Merge pull request #7453 from rainzm/scheduler/sort_optimization
opt(scheduler): better sort for hosts when selectHost
2020-08-02 10:05:48 +08:00
Zexi Li
da7342368e Merge pull request #7455 from swordqiu/hotfix/qj-avoid-duplicate-generated-performsetscope
fix: avoid generated codes having duplicate PerformSetScope methods
2020-08-02 10:04:22 +08:00
屈轩
a51f0271eb fix: avoid host globalid change (#7465)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-01 21:33:02 +08:00
wanyaoqi
a962db0e9a fix reauth condition on influxdb not found (#7456) 2020-08-01 21:27:05 +08:00
wanyaoqi
2cdfed2cab fix cache non lvm disks (#7459) 2020-08-01 21:10:02 +08:00
Qiu Jian
9bdf2c75e1 fix: avoid generated codes having duplicate PerformSetScope methods 2020-08-01 17:34:54 +08:00
rainzm
ed4847dffc opt(scheduler): better sort for hosts when selectHost 2020-08-01 17:28:22 +08:00
tangbin
ff4840b468 aws elb listener&rule name too long fix 2020-08-01 11:09:50 +08:00
Zexi Li
7e55869cad Merge pull request #7416 from rainzm/network/create
fix(region): Don't allow address conflicts under vpc
2020-08-01 11:05:22 +08:00
Zexi Li
04d7eaea71 Merge pull request #7435 from tb365/bugfix/tb-bugfix-0730
Bugfix/tb bugfix 0730
2020-08-01 10:57:37 +08:00
rainzm
47b9b91b88 fix(region): Don't allow address conflicts under vpc
Except for default vpc, vpc and wire have a one-to-one correspondence.
So prohibiting the address conflict of wire does not avoid
the address conflict of default vpc.
2020-08-01 10:51:00 +08:00
tangbin
e59e40d3b5 fix redis reset account password action log 2020-08-01 10:44:18 +08:00
tangbin
bd3d581f45 loadblancer listener modify name fix 2020-08-01 10:38:44 +08:00
Zexi Li
2842e18d17 Merge pull request #7438 from swordqiu/hotfix/qj-vpc-wire-share-status-sync
fix: sync share mode between vpc and wire
2020-08-01 10:37:54 +08:00
Zexi Li
ef7d456037 Merge pull request #7441 from wanyaoqi/bugfix/wyq/fix-deploy-admin-auth-key
bugfix: fix deploy admin auth key
2020-08-01 00:05:29 +08:00
wanyaoqi
9bc1cfe6fc fix deploy admin auth key 2020-07-31 23:20:37 +08:00
Zexi Li
b1603153e8 baremetal: fix hpssactl split last LV size out of limit (#7426) 2020-07-31 22:35:01 +08:00
Qiu Jian
9ea80725a4 fix: sync share mode between vpc and wire 2020-07-31 22:17:55 +08:00
屈轩
27168fc720 fix: upgrade aliyun sdk (#7432)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 20:43:00 +08:00
Zexi Li
4d143a9ee0 Merge pull request #7433 from zexi/hotfix/capability-public-network-count
capability: public network count filter by default vpc
2020-07-31 20:42:31 +08:00
Zexi Li
8dd25e01c5 capability: public network count filter by default vpc 2020-07-31 20:27:59 +08:00
Zexi Li
775c423441 Merge pull request #7417 from ioito/hotfix/qx-disk-create-sched
fix: avoid lost backend params
2020-07-31 18:07:31 +08:00
Zexi Li
7496a9742b Merge pull request #7413 from ioito/hotfix/qx-openstack-windows-user-data
fix: openstack win image user data need encode
2020-07-31 18:06:35 +08:00
Zexi Li
27a13009fc Merge pull request #7405 from ioito/hotfix/qx-account-sync-deadlock
fix: avoid account sync deadlock
2020-07-31 18:05:17 +08:00
Zexi Li
f010cd7328 Merge pull request #7400 from swordqiu/hotfix/qj-ignore-set-acl-not-implemented-error
fix: ignore general s3 set acl not implemented error
2020-07-31 18:03:56 +08:00
Yousong Zhou
d95584b116 Feature/yousong lblis names (#7395)
* apis: compute: move struct defs

* lblisteners: list: show certificate name

* lblisteners: list: show acl name

* lblisteners: remove unused acl_name field
2020-07-31 18:03:05 +08:00
屈轩
1244c170b7 fix: 避免glance metadata-list project scope无权限 (#7402)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 18:01:27 +08:00
wanyaoqi
ae0bd556ca fix host register info (#7401) 2020-07-31 18:01:01 +08:00
屈轩
fd2f1c0e36 fix: 优化openstack项目认证 (#7397)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:59:43 +08:00
屈轩
0cad2efd2c fix: 避免在仅调整虚拟机磁盘时opslog日志记录mem cpu异常 (#7392)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-31 17:57:42 +08:00
Qu Xuan
846f90d546 fix: avoid lost backend params 2020-07-31 17:18:22 +08:00
Qu Xuan
7816180231 fix: openstack win image user data need encode 2020-07-31 16:53:39 +08:00
wanyaoqi
d6fdf33614 fix panic on storage failed get host (#7390) 2020-07-31 16:44:01 +08:00
Qu Xuan
509ebb92c7 fix: avoid account sync deadlock 2020-07-31 16:31:01 +08:00
Qiu Jian
7f829f24f7 fix: ignore general s3 set acl not implemented error 2020-07-31 14:04:46 +08:00
Rain Zheng
0deb908ac7 fix(region): zone from guesttemplate's preferzone maybe nil (#7387) 2020-07-30 17:42:30 +08:00
Zexi Li
e5404d3564 Merge pull request #7300 from lshmouse/image
Add more tips for make image cmd
2020-07-30 16:32:37 +08:00
Zexi Li
080b7b752f Merge pull request #7318 from ioito/hotfix/qx-fix-openstack-project
fix: openstack多项目问题
2020-07-30 15:53:25 +08:00
Zexi Li
10661f7f31 Merge pull request #7384 from ioito/hotfix/qx-json-request-nil-fix
fix: avoid parse json err nil pointer
2020-07-30 15:15:14 +08:00
Zexi Li
6c31b524ae Merge pull request #7383 from ioito/hotfix/qx-task-nil-fix
fix: avoid nil pointer
2020-07-30 15:15:01 +08:00
Qu Xuan
859ab97175 fix: openstack多项目问题 2020-07-30 14:23:56 +08:00
Qu Xuan
598e8a9248 fix: avoid parse json err nil pointer 2020-07-30 11:30:38 +08:00
Qu Xuan
6477e0e140 fix: avoid nil pointer 2020-07-30 11:23:36 +08:00
Jian Qiu
f0f406c243 fix: adjust API input field names according to spec (#7382)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:51:00 +08:00
Jian Qiu
ba292dfedc fix: use json to store task error message (#7351)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-30 10:34:32 +08:00
屈轩
3df146ff6f fix: 添加阿里云rds备份恢复限制条件 (#7378)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-29 21:40:03 +08:00
Jian Qiu
984bfeb6e8 fix: change owner should check required domain list (#7375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-07-29 17:32:01 +08:00
Zexi Li
5ed67ee2a4 Merge pull request #7359 from ioito/bugfix/qx-dup-secgroup-for-guest
fix: 修复vm绑定重复安全组
2020-07-28 20:58:56 +08:00
Zexi Li
9f6459d40e Merge pull request #7371 from zexi/hotfix/sched-list-res-type
region: schedtag list support resource_types
2020-07-28 20:57:26 +08:00
屈轩
76f78cdda0 fix: 普通视图下,安全组仅统计可看到的vm count (#7358)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 20:54:59 +08:00
屈轩
d8f0463657 fix: 同步sku与磁盘类型关系 (#7368)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 20:48:58 +08:00
Zexi Li
48d982b39f region: schedtag list support resource_types 2020-07-28 20:35:47 +08:00
tb365
9acc8c629d make rpc handle exportable (#7367)
Co-authored-by: tangbin <tangbin@yunion.cn>
2020-07-28 19:53:57 +08:00
Zexi Li
f70da44fb5 Merge pull request #7364 from zexi/hotfix/adjust-sched-condition-width
adjust schedule resource condition width
2020-07-28 18:50:16 +08:00
屈轩
78a68bffd1 fix: 避免创建rds备份时对rds进行一些操作 (#7354)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-28 18:46:57 +08:00
Qu Xuan
8c31bba0aa fix: 修复vm绑定重复安全组 2020-07-28 18:11:30 +08:00
Zexi Li
59e4f7d61e adjust schedule resource condition width 2020-07-28 11:08:43 +08:00
Shaohui Liu
51cb278ae2 Add more tips for make image cmd 2020-07-27 20:54:17 +08:00
Zexi Li
2fb32d1faf Merge pull request #7348 from wanyaoqi/bugfix/wyq/fix-list-schedtag-output
bugfix :fix schedtag list output
2020-07-27 20:26:26 +08:00
wanyaoqi
0512050667 fix schedtag list output 2020-07-27 20:21:07 +08:00
Zexi Li
9b02f31771 Merge pull request #7338 from rainzm/secgroups/esxi_baram
fix(region): Remove default secgroup for esxi guest
2020-07-27 19:49:14 +08:00
Zexi Li
8da8c62efe Merge pull request #7343 from rainzm/gt/details
Modify detail for guesttemplate and scalinggroup
2020-07-27 19:48:11 +08:00
Zexi Li
cdeb6e76e7 Merge pull request #7346 from swordqiu/hotfix/qj-policy-default-perform-policy
fix: add default perform allow policy to sysadmin
2020-07-27 19:47:12 +08:00
Qiu Jian
757706db9d fix: add default perform allow policy to sysadmin 2020-07-27 18:53:47 +08:00
Zexi Li
e4a251e812 Merge pull request #7336 from yousong/bugfix/yousong-guests-for-eip
guests: guests with vpc nics are available for eip association
2020-07-27 15:54:49 +08:00
Zexi Li
3019ccd410 Merge pull request #7321 from swordqiu/hotfix/qj-s3-acl-candidate-list
fix: choose candidate list from the list returned from backend
2020-07-27 15:53:38 +08:00
Zexi Li
785c698f7f Merge pull request #7319 from ioito/hotfix/qx-account-update
fix: 单独添加更新账单文件日志
2020-07-27 15:52:42 +08:00
Zexi Li
cb104fa8c5 Merge pull request #7316 from zhaoxiangchun/bugfix/zxc-commonalert
修复统一报警bug
2020-07-27 15:51:45 +08:00
Zexi Li
26afa8b901 Merge pull request #7324 from swordqiu/hotfix/qj-schedtag-should-be-system-resources
fix: schedtag should be system resource
2020-07-27 15:49:52 +08:00
Zexi Li
b976ab4ddb Merge pull request #7342 from zexi/feature/k8s-climc-update
climc: update k8s resource list options
2020-07-27 15:49:06 +08:00
Zexi Li
06f2da22f5 Merge pull request #7330 from swordqiu/hotfix/qj-check-accessibility-when-dissociate-eip
fix: do accessibility check when dissociate eip from resource
2020-07-27 15:22:18 +08:00
rainzm
49e4e31dac Add metadata for GuestTempalte details 2020-07-27 15:16:32 +08:00
rainzm
45a3e08055 Add network info when list scalingGroup details 2020-07-27 15:16:25 +08:00
Zexi Li
360b48703d Merge pull request #7327 from tb365/bugfix/tb-huawei-client-fix
huawei fetch regions&projects fix
2020-07-27 15:14:46 +08:00
Zexi Li
7d49c4cb00 Merge pull request #7332 from swordqiu/hotfix/qj-cloud-account-delete-may-failed
fix: cloud account delete may fail due to inconsistent status
2020-07-27 15:12:49 +08:00
Zexi Li
cd25b4ac64 climc: update k8s resource list options 2020-07-27 15:03:32 +08:00
rainzm
68ba4361db fix(region): Remove default secgroup for esxi guest
1. InitializeData remove all secgroup_id of esxi guest from database
2. Set input.SecgroupId as empty for guest whose GetMaxSecurityGroupCount
return 0
2020-07-27 14:35:21 +08:00
Yousong Zhou
5c7ae23d85 guests: guests with vpc nics are available for eip association 2020-07-27 11:01:13 +08:00
屈轩
a67f3e5481 fix: 避免status_code>=400并且resp为空时err为nil (#7264)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-07-27 04:42:26 +08:00
yunion-ci-robot
59b85d1634 Merge pull request #7310 from ioito/hotfix/qx-rule-filter-by-projects
fix: 支持多项目安全组规则过滤
2020-07-25 23:55:42 +08:00
Qiu Jian
9f8f2b6c4c fix: cloud account delete may fail due to inconsistent status 2020-07-25 14:54:53 +08:00
yunion-ci-robot
57ce078669 Merge pull request #7302 from wanyaoqi/bugfix/wyq/fix-clone-clean-pending-usage
bugfix : fix clone clean pending usage
2020-07-24 22:49:46 +08:00
Qiu Jian
8451954400 fix: do accessibility check when dissociate eip from resource 2020-07-24 22:43:19 +08:00
zhaoxiangchun
5e0cb93199 修改报警消息模版:
1.模版中使用ftm.sprintf
  对float类型进行转换,避免消息中数值以十进制的指数次格式显示,提高可读性
2.增加text/tempalte,解决飞书等消息中消息内容被编码的问题
2020-07-24 22:35:24 +08:00
tangbin
1583da57fe go fmt 2020-07-24 18:14:39 +08:00
tangbin
d45ee2c0eb go fmt 2020-07-24 18:09:09 +08:00
tangbin
e660e25be9 host upload template check 2020-07-24 17:59:52 +08:00
rainzm
34e66ab2e3 fix: modify list details for guesttemplate 2020-07-24 17:02:08 +08:00
Qiu Jian
8f1b934721 fix: schedtag should be system resource 2020-07-24 17:00:00 +08:00
Qiu Jian
35da086ccf fix: choose candidate list from the list returned from backend 2020-07-24 16:48:13 +08:00
tangbin
0f24531894 huawei fetch regions&projects fix 2020-07-24 16:05:52 +08:00
Qu Xuan
c6df1944c8 fix: 单独添加更新账单文件日志 2020-07-24 14:29:05 +08:00
zhaoxiangchun
9214724557 修复统一报警bug
1.对系统内置的规则的处理,可以进行正确判断推送消息
2.一些初始化,validate的判断逻辑的修改
2020-07-24 11:06:52 +08:00
Zexi Li
d5f8855cc2 Merge pull request #7143 from wanyaoqi/feature/wyq/kvm-misc
auto switch to backup server
2020-07-24 10:48:02 +08:00
Zexi Li
f5b0fa369e Merge pull request #7314 from wanyaoqi/bugfix/wyq/rename-vgname-centos
rename vgname centos
2020-07-24 10:46:47 +08:00
yunion-ci-robot
1a8805cd47 Merge pull request #7293 from lshmouse/docker
Remove sudo before the docker cmd
2020-07-23 22:46:39 +08:00
wanyaoqi
3994889910 rename vgname centos 2020-07-23 21:31:39 +08:00
yunion-ci-robot
00b9ebf049 Merge pull request #7303 from swordqiu/hotfix/qj-domain-resource-default-share-to-system
fix: domain resource domain share to system when non_default_domain_projects off
2020-07-23 20:31:34 +08:00
Qu Xuan
b20cd13645 fix: 支持多项目安全组规则过滤 2020-07-23 20:18:26 +08:00
wanyaoqi
31c0d5a42c fix clone clean pending usage 2020-07-23 18:37:35 +08:00
wanyaoqi
64935a4656 capabilites add available host count 2020-07-23 18:10:58 +08:00
Qiu Jian
8d8acab903 fix: domain resource domain share to system when
non_default_domain_projects off
2020-07-23 16:51:02 +08:00
Zexi Li
e794a307bc Merge pull request #7301 from swordqiu/hotfix/qj-update-autogen-api-model
fix: update auto generate model api
2020-07-23 16:17:05 +08:00
Qiu Jian
208b69573c fix: update auto generate model api 2020-07-23 14:56:01 +08:00
Zexi Li
16d1c20d8c Merge pull request #7294 from wanyaoqi/bugfix/wyq/fix-snapshot-clean-pending-usage
bugfix: fix snapshot clean pending usage
2020-07-23 13:48:34 +08:00
yunion-ci-robot
3dbcd5b064 Merge pull request #7279 from rainzm/scheduler/instanceGroup
feat(scheduler): Change the action for guests with backup and instanceGroup
2020-07-23 13:43:29 +08:00
wanyaoqi
cd5d317632 fix snapshot clean pending usage 2020-07-23 11:33:26 +08:00
Shaohui Liu
96bb34ea01 Remove sudo before the docker cmd 2020-07-23 10:38:29 +08:00
Zexi Li
91888d8171 Merge pull request #7286 from tb365/bugfix/tb-bugfix-elb-0721
Bugfix/tb bugfix elb 0721
2020-07-22 21:43:34 +08:00
wanyaoqi
a677f24351 - add precheck for perform action
- auto switch to backup

- add sync cleand schedule cache

- add reconcile with backup

- add manual reconcile backup
2020-07-22 20:38:36 +08:00
tangbin
d10e15ed98 format fix 2020-07-22 17:47:56 +08:00
tangbin
d5591001cc fix empty else 2020-07-22 17:30:46 +08:00
tangbin
3ff402f4b6 fix host import 2020-07-22 17:22:57 +08:00
tangbin
94bb917165 fix huawei delete resource 2020-07-22 16:27:34 +08:00
tangbin
7fcc85f856 fix huawei elb disable healthcheck 2020-07-22 16:27:34 +08:00
tangbin
6d9a556381 lb sync project fix 2020-07-22 16:27:34 +08:00
tangbin
edc10b14da add more log 2020-07-22 16:27:34 +08:00
tangbin
cea0121625 apigateway host imports data validate 2020-07-22 16:27:33 +08:00
Zexi Li
3b624d8ba6 Merge pull request #7276 from ioito/hotfix/qx-rule-export
fix: 避免未能导出共享安全组规则
2020-07-22 13:55:34 +08:00
Zexi Li
ef835112ed Merge pull request #7273 from swordqiu/hotfix/qj-image-upload-not-clean-pending-usage
fix: image upload not clean pending usage
2020-07-22 13:54:30 +08:00
Zexi Li
13d58f9dc9 Merge pull request #7281 from rainzm/esxi/changedisk
fix(esxi): Select correct unitNumber for ide control when creating disk
2020-07-22 13:52:16 +08:00
rainzm
fa0450b454 feat(scheduler): Change the action for guests with backup and instanceGroup
1. 对于主机组的打散功能,放在调度的最后单独处理。
2. 主备机的调度,通过在主机和备机之间设置一个粒度为1的主机组来实现。
3. 虚拟机的调度默认打散,在打散的基础上,选择容量大的宿主机。
3. 主备机中,主机和备机的默认打散流程分散开,互不影响。
2020-07-21 20:29:47 +08:00
Qu Xuan
9a329453a7 fix: 避免未能导出共享安全组规则 2020-07-21 16:39:26 +08:00
yunion-ci-robot
3c5e2998f6 Merge pull request #7173 from swordqiu/feature/qj-unified-sso-login
feature: unified sso login framework
2020-07-21 16:28:24 +08:00
Qiu Jian
5d4efcc63a update vendor 2020-07-21 16:16:55 +08:00
Qiu Jian
0967843896 feature: unified sso login framework 2020-07-21 16:13:18 +08:00
yunion-ci-robot
b212973e17 Merge pull request #7270 from zexi/hotfix/baremetal-zone-not-set
baremetal: set zone when enable netif
2020-07-21 11:49:25 +08:00
Qiu Jian
587f533daa fix: image upload not clean pending usage 2020-07-21 01:38:00 +08:00
yunion-ci-robot
e7305936b4 Merge pull request #7267 from tb365/bugfix/tb-bugfix-20072001
fix GetOrCreateVpcForClassicNetwork
2020-07-20 20:49:27 +08:00
Zexi Li
52cdaa4e4c Merge pull request #7237 from tb365/bugfix/tb-huawei-eip-delete-fix
huawei eip delete fix
2020-07-20 20:47:16 +08:00
Zexi Li
c274331035 baremetal: set zone when enable netif 2020-07-20 20:40:50 +08:00
tangbin
a755d0d37e fix GetOrCreateVpcForClassicNetwork 2020-07-20 18:24:46 +08:00
yunion-ci-robot
e1f41aed25 Merge pull request #7238 from rainzm/vpc/private
fix: default vpc must be shared globally
2020-07-20 02:10:22 +08:00
Zexi Li
8caca4de4a Merge pull request #7225 from ioito/hotfix/qx-rds-recovery
fix: rds备份恢复优化
2020-07-20 02:07:06 +08:00
Zexi Li
ccd40b7da2 Merge pull request #7228 from wanyaoqi/bugfix/wyq/fix-sync-status
bugfix: fix server sync status
2020-07-20 02:06:13 +08:00
Zexi Li
2bee2b04d9 Merge pull request #7234 from ioito/hotfix/qx-global-vpc-share
fix: globalvpc跟随云账号共享
2020-07-20 02:05:00 +08:00
yunion-ci-robot
c25d168ffa Merge pull request #7256 from zhaoxiangchun/bugfix/zxc-suggest-mon
修复监控报警规则删除的问题
2020-07-20 02:04:22 +08:00
Zexi Li
9c26bca52c Merge pull request #7231 from tb365/bugfix/tb-lb-acl-delete-condition-fix
acl delete condition fix
2020-07-20 02:02:16 +08:00
zhaoxiangchun
bd80fa889d 修复监控报警规则删除的问题 2020-07-19 21:26:23 +08:00
Zexi Li
e6dd955d08 Merge pull request #7248 from wanyaoqi/bugfix/wyq/fix-error-ouput
hostman: fix error output
2020-07-19 20:53:39 +08:00
Zexi Li
01f4a3381b Merge pull request #7254 from zexi/hotfix/sched-storage-error
scheduler: fix storage filter duplicate error message
2020-07-19 20:52:47 +08:00
Zexi Li
9ed325b848 Merge pull request #7251 from swordqiu/hotfix/qj-disk-resize-not-update-usage
fix: quota usage not updated after disk resizing
2020-07-19 20:24:58 +08:00
Zexi Li
0957fee3d0 scheduler: fix storage filter duplicate error message 2020-07-19 20:23:35 +08:00
Qiu Jian
ce3d0906b0 fix: quota usage not updated after disk resizing 2020-07-19 13:16:07 +08:00
wanyaoqi
7f8be7d4b1 fix error output 2020-07-19 12:30:54 +08:00
Rain Zheng
5975887d5a fix(esxi): Select correct unitNumber for ide control when creating disk 2020-07-18 22:20:38 +08:00
Qu Xuan
8d85f04d86 fix: rds备份恢复优化 2020-07-18 20:36:10 +08:00
rainzm
d3741d9a45 fix: default vpc must be shared globally
1. For default vpc, prohibit private operation.
2. For default vpc, prohibit public operation without scope 'system'.
2020-07-18 19:37:15 +08:00
tangbin
081a3eabd0 huawei eip delete fix 2020-07-17 20:54:18 +08:00
tangbin
a74853db79 acl delete condition fix 2020-07-17 20:39:01 +08:00
Qu Xuan
3bf9b5b0d9 fix: globalvpc跟随云账号共享 2020-07-17 20:38:17 +08:00
Zexi Li
192a49a055 Merge pull request #7224 from ioito/hotfix/qx-eip-list-filter
fix: 过滤可用eip
2020-07-17 20:24:51 +08:00
wanyaoqi
41fcf38cff fix server sync status 2020-07-17 20:22:57 +08:00
Zexi Li
bc1b45d3aa Merge pull request #7221 from ioito/hotfix/qx-aliyun-endpoint
fix: 避免乌兰察布区域拉取资源异常
2020-07-17 19:41:10 +08:00
Qu Xuan
ecaa1ad454 fix: 过滤可用eip 2020-07-17 19:22:42 +08:00
yunion-ci-robot
739f508b2d Merge pull request #7220 from yousong/bugfix/yousong-lbagent-create
Bugfix/yousong lbagent create
2020-07-17 18:54:19 +08:00
Qu Xuan
8bd23cf3de fix: 避免乌兰察布区域拉取资源异常 2020-07-17 18:51:43 +08:00
Yousong Zhou
e5dd2409df region: lbagents: skip tls check for default influxdb endpoint url 2020-07-17 13:30:35 +08:00
Yousong Zhou
495a2d9954 region: lbagents: default vrrp vrid, priority
vrid: max(current_vrid)+1

priority: min(current_priority)-1
2020-07-17 13:30:33 +08:00
Yousong Zhou
4596f3f119 region: lbagents: use local params var
Instead of value type asserted from validator result
2020-07-17 13:30:33 +08:00
Yousong Zhou
746cb8679c region: lbagents: set some vrrp params to values of peers
For later members of a cluster, they should follow existing params in
the cluster

	VirtualRouterId
	AdvertInt
	Preempt
	Pass
2020-07-17 13:30:33 +08:00
Yousong Zhou
b0c39bfad6 region: lbagents: make vrrp interface default to eth0 2020-07-17 13:30:30 +08:00
Zexi Li
18d8b4b27a Merge pull request #7216 from rainzm/esxi/somefix
fix: prefetch image error when create guest with vmware template
2020-07-17 10:16:29 +08:00
Zexi Li
bd3123524f Merge pull request #7213 from tb365/bugfix/tb-bugfix-0716
sync classic redis fix
2020-07-17 10:15:43 +08:00
Zexi Li
7697e5faaf Merge pull request #7202 from yousong/bugfix/yousong-lbagent-deploy
Bugfix/yousong lbagent deploy
2020-07-17 10:15:03 +08:00
Zexi Li
c7e95a82f8 Merge pull request #7198 from yousong/bugfix/yousong-ansible
Bugfix/yousong ansible
2020-07-17 10:11:27 +08:00
Zexi Li
9848b517ab Merge pull request #7195 from ioito/bugfix/qx-rule-export
fix: sec rule export missing fields
2020-07-17 10:10:18 +08:00
Zexi Li
b89c769420 Merge pull request #7192 from wanyaoqi/bugfix/wyq/add-params-on-host-details
host details add params auto_migrate_on_host_down
2020-07-17 10:09:01 +08:00
Zexi Li
180bb92f70 Merge pull request #7210 from ioito/bugfix/qx-network-list-filter
fix: not work for network-list --zones
2020-07-17 10:08:09 +08:00
rainzm
2f1093a147 fix: prefetch image error when create guest with vmware template
1. Only need the corresponding vmware template in the vcenter where the host is
located.
2. Chose storagecache which cacheimage is ready before deploying.
2020-07-16 21:24:25 +08:00
tangbin
b9a45c8bb2 sync classic redis fix 2020-07-16 20:25:16 +08:00
yunion-ci-robot
0fd4a857ec Merge pull request #7201 from zexi/bugfix/webconsole-dual-session-close
webconsole: fix old session make new session closed
2020-07-16 20:13:17 +08:00
Qu Xuan
bf65a88163 fix: not work for network-list --zones 2020-07-16 19:04:30 +08:00
Yousong Zhou
afac0604db region: lbagents: turn off guest src check 2020-07-16 18:47:29 +08:00
Yousong Zhou
7926e59d78 region: loadbalanceragents: yum as the default method 2020-07-16 18:47:29 +08:00
Yousong Zhou
24379db85b mcclient: options: loadbalanceragents: yum as the default deploy method 2020-07-16 18:47:29 +08:00
Zexi Li
642d694277 webconsole: fix old session make new session closed 2020-07-16 18:47:27 +08:00
Yousong Zhou
28ad028d81 build: ansibleserver: use native alpine, include openssh 2020-07-16 17:59:12 +08:00
Yousong Zhou
1ae8c97861 ansibleserver: register metadata manager
To quash the following error in log

  [E 200716 15:20:40 db.(*SMetadataResourceBaseModelManager).FetchCustomizeColumns(metadataresource.go:136)] FetchQueryObjectsByIds metadata fail Error 1146: Table 'yunionansible.metadata_tbl' doesn't exist
2020-07-16 17:52:46 +08:00
Qu Xuan
3ddcaad3c7 fix: sec rule export missing fields 2020-07-16 17:13:42 +08:00
wanyaoqi
a39b0c87e5 add params auto_migrate_on_host_down 2020-07-16 15:00:13 +08:00
Zexi Li
bea60df494 Merge pull request #7171 from ioito/hotfix/qx-rbac-fix
fix: 修复cloudid get权限问题
2020-07-16 11:19:17 +08:00
Zexi Li
217433f06e Merge pull request #7174 from ioito/hotfix/qx-secgroup-rule-export
fix: 添加secgroup rule过滤参数
2020-07-16 11:18:40 +08:00
Zexi Li
540f103c83 Merge pull request #7186 from ioito/hotfix/qx-clouduser-fix
fix: clouduser's cloudgroups info
2020-07-16 11:18:02 +08:00
Zexi Li
6b713a4852 Merge pull request #7188 from ioito/hotfix/qx-azure-rebuild-root
fix: check azure image format when rebuild root
2020-07-16 11:09:22 +08:00
Zexi Li
71fb6f7043 Merge pull request #7177 from ioito/hotfix/qx-huawei-secgroup-rule-delete
fix: 避免华为云安全组规则删除失败
2020-07-16 10:15:25 +08:00
Qu Xuan
466a3f7285 fix: check azure image format when rebuild root 2020-07-15 18:46:21 +08:00
Zexi Li
c731d5b802 Merge pull request #7181 from wanyaoqi/bugfix/wyq/misc-bugfix-0715
bugfix: ha guest misc fix
2020-07-15 17:42:36 +08:00
Qu Xuan
cc948a4d54 fix: 避免华为云安全组规则删除失败 2020-07-15 17:13:15 +08:00
Qu Xuan
769dcae0e6 fix: clouduser's cloudgroups info 2020-07-15 17:07:36 +08:00
wanyaoqi
3e759a3a48 misc ha guest fix 2020-07-15 17:04:51 +08:00
Qu Xuan
6b591b455f fix: 添加secgroup rule过滤参数 2020-07-15 14:23:59 +08:00
Qu Xuan
34aa551141 fix: 修复cloudid get权限问题 2020-07-15 11:07:04 +08:00
Zexi Li
dc339045d9 Merge pull request #7168 from wanyaoqi/bugfix/wyq/fix-list-guests-on-host
bugfix: fix list guests on host
2020-07-15 10:45:52 +08:00
Zexi Li
fc7f0f2423 Merge pull request #7166 from ioito/hotfix/qx-cloudid-fix
Hotfix/qx cloudid fix
2020-07-15 10:35:49 +08:00
Zexi Li
fc7bb7327b Merge pull request #7158 from yousong/bugfix/yousong-iproute2-idempo
iproute2: address: make Exact idempotent
2020-07-15 10:34:23 +08:00
Zexi Li
764497f777 Merge pull request #7163 from tb365/bugfix/tb-cloudprovider-usable-filter-fix
cloudprovider usable filter with zone
2020-07-15 10:33:50 +08:00
yunion-ci-robot
2e21cef125 Merge pull request #7139 from lvyangyang/fix_openstack_routeble
fix:修复路由表映射到public网络的问题
2020-07-15 10:26:16 +08:00
wanyaoqi
f4ee70c0b5 fix list guests on host 2020-07-14 22:29:35 +08:00
Qu Xuan
4cd67270a1 fix: azure 支持权限 2020-07-14 21:22:15 +08:00
tangbin
22d000e73b cloudprovider usable filter with zone 2020-07-14 19:52:23 +08:00
Zexi Li
f985ab5d05 Merge pull request #7162 from zexi/feature/db-dispatcher-pass-query
db_dispatcher: pass query for fetchItem
2020-07-14 18:59:27 +08:00
Zexi Li
eb28aa0aa5 Merge pull request #7155 from ioito/hotfix/qx-webconsole-optimized
fix: 优化webconsole代码&bugfix
2020-07-14 17:52:58 +08:00
Zexi Li
c777793d96 db_dispatcher: pass query for fetchItem 2020-07-14 17:46:42 +08:00
Qu Xuan
dccf685f66 fix: 修复cloudid用户列表权限问题 2020-07-14 17:43:52 +08:00
Yousong Zhou
05b72a9d02 iproute2: address: make Exact idempotent
Idempotence against address not available for Exact is not a bad idea if
we look at the name of that func

This should accomodate the race condition where keepalived will remove
vips should the primary address used for vrrp comms is removed, causing
later addr del to fail with "cannot assign requested address"
2020-07-14 16:40:15 +08:00
Qu Xuan
dee1283c0f fix: 优化webconsole代码&bugfix 2020-07-14 15:07:50 +08:00
Zexi Li
b203286ce9 Merge pull request #7151 from wanyaoqi/bugfix/wyq/disable-procutils-print-error-info
bugfix: disable procutils print error info
2020-07-14 14:54:21 +08:00
Zexi Li
0ff9a5059a Merge pull request #7152 from zexi/feature/k8s-resource-refactor
climc: refactor k8s resource
2020-07-14 12:19:08 +08:00
Zexi Li
a6ea55c5b7 Merge pull request #7145 from rainzm/gt/validate_fix
fix guest template health check
2020-07-14 11:35:35 +08:00
wanyaoqi
66064a4c47 disable procutils print error info 2020-07-14 11:35:01 +08:00
Zexi Li
a68bae1591 Merge pull request #7147 from rainzm/esxi/template_fix
fix: mo.VirtualMachine's Config maybe nil
2020-07-14 11:34:36 +08:00
Zexi Li
e5bd6f26d5 climc: refactor k8s resource 2020-07-14 11:33:46 +08:00
Zexi Li
4845c79b58 Merge pull request #7135 from tb365/bugfix/tb-user-import-fix
user batch register bugfix
2020-07-13 21:28:34 +08:00
rainzm
014540e4df fix guest template health check 2020-07-13 21:27:51 +08:00
Zexi Li
c5a3cc0a80 Merge pull request #7138 from ioito/hotfix/qx-host-fix
fix: 优化减少对etcd组件依赖
2020-07-13 21:27:44 +08:00
Zexi Li
6241109c31 Merge pull request #7140 from ioito/hotfix/qx-aliyun-secgroup-rule
fix: 修复阿里云同步安全组规则异常问题
2020-07-13 21:24:17 +08:00
Qu Xuan
367c59117e fix: 修复阿里云同步安全组规则异常问题 2020-07-13 20:43:29 +08:00
lvyangyang
2d12d7898f fix:修复路由表映射到public网络的问题 2020-07-13 19:59:08 +08:00
Qu Xuan
9003d37027 fix: 优化减少对etcd组件依赖 2020-07-13 16:00:00 +08:00
rainzm
b6753af329 fix: mo.VirtualMachine's Config maybe nil 2020-07-13 15:04:52 +08:00
tangbin
c1e49d02ca user batch register bugfix 2020-07-13 14:41:28 +08:00
Zexi Li
421a294ab8 Merge pull request #7133 from zhaoxiangchun/feature/zxc-suggest-mon
新增优化建议
2020-07-11 14:59:08 +08:00
zhaoxiangchun
7cd1f1de5a 新增优化建议:
空闲的rds,redis,oss
安全组规则为all in 的主机
读写权限为开放读,写的对象存储
2020-07-10 20:24:32 +08:00
Zexi Li
3cb0ec6406 Merge pull request #7132 from bistuzx/feature/climc-cost-alert
add cost alert modules
2020-07-10 20:18:50 +08:00
Zexi Li
1c6e431622 Merge pull request #7130 from wanyaoqi/bugfix/wyq/update-josnutils-vendor
vendor update: update jsonutils
2020-07-10 20:18:02 +08:00
Zexi Li
28c934754a Merge pull request #7125 from wanyaoqi/bugfix/wyq/host-misc-fix
bugfix: add base lockman, fix local storage cache init lock man
2020-07-10 20:15:30 +08:00
Zexi Li
67dd1a13f3 Merge pull request #7134 from ioito/hotfix/qx-azure-account-optimized
fix: 优化azure订阅创建
2020-07-10 20:05:38 +08:00
Qu Xuan
3d9e8b8727 fix: 优化azure订阅创建 2020-07-10 19:47:59 +08:00
bistuzx@163.com
f24fd4aa1b fix format 2020-07-10 19:26:31 +08:00
bistuzx@163.com
f5a2215a9b add cost alert modules 2020-07-10 17:01:57 +08:00
Zexi Li
20f517bef4 Merge pull request #7111 from ioito/hotfix/qx-azure-subscription-create
fix: 支持azure创建订阅
2020-07-10 16:18:52 +08:00
wanyaoqi
2028dbabb6 vendor update: update jsonutils 2020-07-10 16:17:24 +08:00
wanyaoqi
e2043d6bcc - fix local storage init local man
- fix rbd set storage info
2020-07-10 14:41:59 +08:00
Qu Xuan
16f93d6658 fix: 支持azure创建订阅 2020-07-10 11:41:28 +08:00
Zexi Li
512da2103d Merge pull request #7123 from swordqiu/hotfix/qj-vpc-change-owner-with-wires
hotfix: vpc change owners with wire
2020-07-10 10:27:38 +08:00
Zexi Li
ef25efa071 Merge pull request #7121 from wanyaoqi/bugfix/wyq/misc-region-0709
region misc fix
2020-07-10 10:27:09 +08:00
Zexi Li
7f493389f7 Merge pull request #7119 from ioito/hotfix/qx-gcp-clouduser
fix: 避免google clouduser同步权限异常
2020-07-10 10:26:44 +08:00
Qiu Jian
5e721b9297 hotfix: vpc change owners with wire 2020-07-10 01:47:51 +08:00
wanyaoqi
04dfa48799 misc fix 2020-07-09 22:15:54 +08:00
Qu Xuan
169b13f160 fix: 避免google clouduser同步权限异常 2020-07-09 21:34:59 +08:00
Zexi Li
9b2a9133a5 Merge pull request #7116 from ioito/hotfix/qx-vpc-sync-fix
fix: 修复vpc同步异常问题
2020-07-09 21:23:05 +08:00
Zexi Li
fd94fc161d Merge pull request #7113 from ioito/bugfix/qx-disk-sync
fix: 避免越界访问
2020-07-09 21:20:48 +08:00
Zexi Li
81f659ec81 Merge pull request #7106 from wanyaoqi/bugfix/wyq/fix-set-storage-info-bind-mount
bugfix: fix set storage info bind mount
2020-07-09 21:19:20 +08:00
Qu Xuan
d7e16e3342 fix: 修复vpc同步异常问题 2020-07-09 20:52:36 +08:00
Qu Xuan
45f5bc526d fix: 避免越界访问 2020-07-09 20:23:44 +08:00
yunion-ci-robot
424a756318 Merge pull request #7087 from lvyangyang/add--region/sync_openstack_routetables
add: region/sync_openstack_routetables
2020-07-09 17:39:01 +08:00
yunion-ci-robot
37600e3574 Merge pull request #7049 from lvyangyang/feature/esxi-migrate
add:region/esxi  迁移接口
2020-07-09 17:38:01 +08:00
lvyangyang
eac0a797b6 add: region/sync openstack routetables 2020-07-09 17:23:03 +08:00
lvyangyang
c75b63eb7c add:region/esxi 迁移接口 2020-07-09 17:17:22 +08:00
yunion-ci-robot
4225eaed81 Merge pull request #7096 from tb365/feature/tb-update-vendor-0708
update vendor
2020-07-09 16:08:53 +08:00
wanyaoqi
e2ad0101e3 fix set storage info bind mount 2020-07-09 14:51:56 +08:00
Zexi Li
dd90c7c145 Merge pull request #7102 from swordqiu/hotfix/qj-opslog-show-operators-log-only
fix: opslog show the owners operation logs only
2020-07-09 14:18:34 +08:00
Zexi Li
7e85935094 Merge pull request #7100 from swordqiu/hotfix/qj-remove-storages-default-policy
fix: remove default allow policy for storages
2020-07-09 14:06:46 +08:00
Zexi Li
d4bbe7ddb1 Merge pull request #7098 from ioito/hotfix/qx-cloudid-policy
fix: cloudid 权限修复
2020-07-09 14:03:20 +08:00
tangbin
47bb16e517 update vendor 2020-07-09 13:23:00 +08:00
Zexi Li
30afc0d64d Merge pull request #7083 from ioito/hotfix/qx-cloudid-msic
fix: cloudid 异常修复
2020-07-09 11:46:55 +08:00
Qiu Jian
d59bff3361 fix: opslog show the owners operation logs only 2020-07-09 11:20:04 +08:00
Qiu Jian
6af7c59238 fix: remove default allow policy for storages 2020-07-09 11:12:36 +08:00
Qu Xuan
dc32fe42e7 fix: cloudid 权限修复 2020-07-09 10:45:45 +08:00
Zexi Li
d54d839e50 Merge pull request #7082 from zexi/feature/climc-update-release-create
climc: update k8s-release-create params
2020-07-08 21:27:15 +08:00
Zexi Li
4e38605935 Merge pull request #7093 from ioito/hotfix/qx-external-project-sync
fix: 修复资源组云上同步异常问题
2020-07-08 21:24:05 +08:00
Qu Xuan
4b0bfa7342 fix: cloudid 异常修复 2020-07-08 20:57:35 +08:00
Qu Xuan
b41eea1d80 fix: 修复资源组云上同步异常问题 2020-07-08 16:24:50 +08:00
Zexi Li
3b01a850b9 Merge pull request #7091 from ioito/bugfix/qx-qcloud-cloudid
fix: 修复qcloud同步权限组异常问题
2020-07-08 14:10:37 +08:00
Zexi Li
2ddd360a63 Merge pull request #7085 from ioito/hotfix/qx-aws-china-iam-fix
fix: 避免请求中国区iam异常
2020-07-08 14:10:12 +08:00
Zexi Li
d8b86d8466 Merge pull request #7079 from ioito/hotfix/qx-qcloud-event
fix: 修复腾讯云操作日志时间异常问题
2020-07-08 14:09:23 +08:00
Zexi Li
e29401659c Merge pull request #7088 from ioito/hotfix/qx-azure-resource-group-fix
fix: 修复azure 项目同步问题
2020-07-08 01:37:50 +08:00
Qu Xuan
bfc4145301 fix: 修复qcloud同步权限组异常问题 2020-07-07 19:46:58 +08:00
Qu Xuan
cb1ad2cf03 fix: 修复azure 项目同步问题 2020-07-07 18:42:37 +08:00
Qu Xuan
c82f307e46 fix: 避免请求中国区iam异常 2020-07-07 16:54:34 +08:00
Zexi Li
253dc22cf4 climc: update k8s-release-create params 2020-07-07 15:07:10 +08:00
Qu Xuan
9507a72094 fix: 修复腾讯云操作日志时间异常问题 2020-07-07 14:56:43 +08:00
Zexi Li
a6c8089674 Merge pull request #7058 from zhaoxiangchun/bugfix/zxc-suggest-amount-usage
suggestAlert cost:modify the  request param to meter
2020-07-07 14:53:57 +08:00
Zexi Li
f04a7c6a5c Merge pull request #7069 from swordqiu/hotfix/qj-vpc-private-fix-wires
fix: perform private on vpc will private all wires if no networks in wires
2020-07-07 14:50:02 +08:00
Zexi Li
72abdb2a5c Merge pull request #7054 from ioito/hotfix/qx-cloudprovider-sync
fix: 避免cloudprovider同步缺失
2020-07-07 14:48:52 +08:00
Zexi Li
a58e678e5e Merge pull request #7059 from ioito/hotfix/qx-cloud-policy-count
fix: cloud poilcy count
2020-07-07 14:48:09 +08:00
Zexi Li
1a68bde939 Merge pull request #7071 from swordqiu/hotfix/qj-orderedstring-improvements
fix: orderedstring add performance improvements
2020-07-07 14:47:49 +08:00
Zexi Li
12431d46a9 Merge pull request #7050 from ioito/hotfix/qx-gcp-rds-category-fix
fix: google rds regional and zonal
2020-07-07 14:45:34 +08:00
Zexi Li
87d9688f13 Merge pull request #7077 from ioito/hotfix/qx-elastic-cache-sku-sync-fix
fix: 修复elastic cache sku zone_id异常问题
2020-07-07 14:44:03 +08:00
Zexi Li
6646c70cd8 Merge pull request #7074 from ioito/hotfix/qx-secgroup-count
fix: 分开统计安全组关联虚拟机数量
2020-07-07 14:43:20 +08:00
Qu Xuan
862b926aa3 fix: 修复elastic cache sku zone_id异常问题 2020-07-07 12:10:26 +08:00
Qu Xuan
3db15d59f7 fix: 分开统计安全组关联虚拟机数量 2020-07-07 11:47:53 +08:00
Zexi Li
c540791e02 Merge pull request #7067 from swordqiu/hotfix/qj-remove-host-default-list-policy
fix: remove default host list policy
2020-07-07 11:14:36 +08:00
Zexi Li
103d96a26f Merge pull request #7056 from yousong/bugfix/yousong-vpcagent
vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests
2020-07-07 11:13:46 +08:00
Zexi Li
7a5fbcc51b Merge pull request #7061 from rainzm/feat/onecloud-base
Update docker image onecloud-base and its references
2020-07-07 11:12:31 +08:00
Zexi Li
c0cb12070c Merge pull request #7066 from ioito/hotfix/qx-json-request
fix: json request 支持自定义匹配err
2020-07-07 11:10:18 +08:00
Qu Xuan
5e50740b3f fix: json request 支持自定义匹配err 2020-07-07 10:16:05 +08:00
Qiu Jian
f0c3b96274 fix: orderedstring add performance improvements 2020-07-07 01:30:36 +08:00
Qiu Jian
0005cf868e fix: perform private on vpc will private all wires if no networks in
wires
2020-07-07 00:57:49 +08:00
Qiu Jian
87dc4743d3 fix: remove default host list policy 2020-07-06 21:34:25 +08:00
rainzm
81784aea3a Update docker image onecloud-base and its references 2020-07-06 20:53:36 +08:00
Zexi Li
8c7593d937 Merge pull request #7048 from swordqiu/hotfix/qj-apigateway-return-message-cleanup
fix: cleanup auth error message return by apigateway
2020-07-06 20:20:22 +08:00
Zexi Li
4506a8a33b Merge pull request #7045 from swordqiu/fix/qj-remove-apigateway-deps-on-sqlite
Fix/qj remove apigateway deps on sqlite
2020-07-06 20:20:00 +08:00
Qu Xuan
d2b9ba5bc6 fix: cloud poilcy count 2020-07-06 17:16:20 +08:00
zhaoxiangchun
a0dc332660 suggestAlert cost:modify the request param to meter
projectDomain ==> domainId
2020-07-06 17:13:30 +08:00
Qu Xuan
067b0ab760 fix: 避免cloudprovider同步缺失 2020-07-06 16:26:22 +08:00
Yousong Zhou
20f36afdc8 vpcagent: ClaimVpcGuestDnsRecords: guard against pending_deleted guests 2020-07-06 16:20:06 +08:00
yunion-ci-robot
57cbc8305b Merge pull request #7046 from zhaoxiangchun/feature/zxc-influxdb-tag-filter
增加influxdb的tag 的一些filter
2020-07-06 11:50:48 +08:00
Qu Xuan
718e36b327 fix: google rds regional and zonal 2020-07-06 11:17:20 +08:00
Qiu Jian
f1bfcfbd98 fix: cleanup auth error message return by apigateway 2020-07-04 19:32:23 +08:00
zhaoxiangchun
98d2e489ea 增加influxdb的tag 的一些filter 2020-07-04 19:23:40 +08:00
Qiu Jian
00d7ce83ed update vendor 2020-07-04 14:09:21 +08:00
Qiu Jian
27b3fb5d52 remove obsolete codes from apigateway 2020-07-04 13:49:39 +08:00
Zexi Li
1d5235dcdc Merge pull request #7042 from swordqiu/feature/qj-filter-jointable-project-for-user-group
feature: project filter that list jointable projects for user or group
2020-07-04 12:11:13 +08:00
Zexi Li
89ad61ba72 Merge pull request #7031 from ioito/hotfix/qx-azure-resource-group-sync
fix: 避免azure同步资源组异常
2020-07-04 12:10:25 +08:00
Zexi Li
c46b379aa0 Merge pull request #7034 from zhaoxiangchun/feature/zxc-jira-mcclient
itsm climc
2020-07-04 12:09:19 +08:00
Qiu Jian
eb4a252d08 feature: project filter that list jointable projects for user or group 2020-07-04 11:32:20 +08:00
Zexi Li
60cb128ab3 Merge pull request #7036 from swordqiu/hotfix/qj-cloud-account-sync-sync
fix: cloud account sync may block
2020-07-04 10:39:22 +08:00
zhaoxiangchun
36408ab4a0 itsm climc 2020-07-04 10:26:34 +08:00
Qiu Jian
1985aab894 fix: cloud account sync may block 2020-07-04 10:20:48 +08:00
yunion-ci-robot
cb8fcac618 Merge pull request #7035 from bistuzx/feature/bucket-huawei-gcp
add mcclient cloudaccount gcp&huawei bucket
2020-07-04 00:22:45 +08:00
bistuzx@163.com
6e9718d4ec add mcclient cloudaccount gcp&huawei bucket 2020-07-03 23:16:47 +08:00
Qu Xuan
be51f3b496 fix: 避免azure同步资源组异常 2020-07-03 20:48:35 +08:00
Zexi Li
7d876c3131 Merge pull request #7009 from ioito/hotfix/qx-lb-check
fix: 取消aliyun lb scheduler创建限制
2020-07-03 19:24:21 +08:00
Zexi Li
408c9993f8 Merge pull request #7029 from ioito/bugfix/qx-sku-sync
fix: 避免slave zoneid异常
2020-07-03 19:23:46 +08:00
Qu Xuan
cac7dc529a fix: 避免slave zoneid异常 2020-07-03 19:05:11 +08:00
Zexi Li
7cb2963557 Merge pull request #7025 from ioito/bugfix/qx-cloud-id-fix
Bugfix/qx cloud id fix
2020-07-03 18:43:28 +08:00
Zexi Li
aa69fdefcd Merge pull request #7024 from zhaoxiangchun/feature/zxc-suggest-amount
suggest cost API
2020-07-03 17:45:21 +08:00
yunion-ci-robot
ea88b9f628 Merge pull request #7027 from rainzm/ansibleserver/dockerfile
Update Dockerfile.ansibleserver
2020-07-03 17:41:40 +08:00
Zexi Li
9d6b015b68 Merge pull request #7020 from ioito/hotfix/qx-secgroup-rule-optimized
fix: 优化安全组list速度,并返回rule规则信息
2020-07-03 17:39:15 +08:00
rainzm
f909a1d2c0 Update Dockerfile.ansibleserver 2020-07-03 17:22:51 +08:00
Qu Xuan
2c17e6e66e fix: 同步不需要判断账号是否有iam权限 2020-07-03 17:08:25 +08:00
Qu Xuan
91a5e4ab77 fix: clouduser can_delete always be false 2020-07-03 16:54:14 +08:00
zhaoxiangchun
2fde317644 优化建议中增加费用统计接口 2020-07-03 16:49:33 +08:00
Zexi Li
6af2ff52b6 Merge pull request #6959 from swordqiu/feature/qj-keystone-oidc-client
Feature/qj keystone oidc client
2020-07-03 16:37:09 +08:00
yunion-ci-robot
486ef8293e Merge pull request #6986 from swordqiu/hotfix/qj-validate-ip-for-syncfixnics
fix: validate candiate ip for sync-fix-nics
2020-07-03 16:34:29 +08:00
yunion-ci-robot
45dabba465 Merge pull request #7023 from bistuzx/feature/amount-estimations
add meter modules amount_estimation&daily_bill
2020-07-03 16:29:27 +08:00
Qiu Jian
7ba3945d86 feature: apigateway store auth state in cookie instead of sqlite 2020-07-03 16:15:23 +08:00
Qiu Jian
182c96a160 update vendor 2020-07-03 16:15:23 +08:00
Qiu Jian
2183490a53 feature: keystone add support for OpenID Connection idp 2020-07-03 16:15:23 +08:00
张旭
70c07d4a82 add meter modules amount_estimation&daily_bill 2020-07-03 15:59:37 +08:00
Qu Xuan
8279f62c9a fix: 优化安全组list速度,并发挥rule规则信息 2020-07-03 15:51:54 +08:00
Zexi Li
f2db44c153 Merge pull request #6961 from ioito/hotfix/qx-sku-sync
fix: 优化sku同步逻辑
2020-07-03 11:40:04 +08:00
Zexi Li
9ab1caee86 Merge pull request #7017 from ioito/hotfix/qx-cloudid-sync
fix: 修复cloudid同步问题
2020-07-03 11:39:00 +08:00
Qu Xuan
02bf5b76d7 fix: 公有云子账号加域属性 2020-07-03 11:11:37 +08:00
Zexi Li
9067fb7cd3 Merge pull request #7018 from zexi/feature/suggest-alert-ignore
monitor: suggestsysalert add ignore action
2020-07-03 00:25:20 +08:00
Zexi Li
7aa3c9ddec monitor: suggestsysalert add ignore action 2020-07-02 21:19:14 +08:00
Qu Xuan
88e5119fdd fix: 修复cloudid同步问题 2020-07-02 20:45:49 +08:00
yunion-ci-robot
ba950198b8 Merge pull request #7000 from tb365/bugfix/tb-lb-create-cluster-id-input-fix
cluster_id required->optional
2020-07-02 20:28:26 +08:00
Zexi Li
df5e61ee7b Merge pull request #6998 from ioito/hotfix/qx-filter-by-external-id
fix: manager_id资源隔离获取
2020-07-02 20:20:00 +08:00
Zexi Li
c748244555 Merge pull request #7012 from zexi/hotfix/monitor-reduce-subscription-usage
monitor: reduce subscription mysql usage
2020-07-02 20:19:16 +08:00
Zexi Li
3fc67b466d Merge pull request #7006 from wanyaoqi/bugfix/wyq/bind-mount-nfs-storage
bugfix : bind mount nfs storage path
2020-07-02 17:35:19 +08:00
Zexi Li
cdf33052c1 monitor: reduce subscription mysql usage 2020-07-02 17:30:52 +08:00
Qu Xuan
933dddd8a1 fix: 取消aliyun lb scheduler创建限制 2020-07-02 15:43:11 +08:00
wanyaoqi
322117f6d9 bind mount nfs storage path 2020-07-02 14:32:32 +08:00
tangbin
63babfed85 cluster_d required->optional 2020-07-02 11:51:45 +08:00
Zexi Li
6018058d6c Merge pull request #6981 from zexi/feature/monitor-suggest-snapshot
monitor: support suggest rule alert config
2020-07-02 10:56:34 +08:00
Zexi Li
dd9ba9ede1 Merge pull request #6999 from zexi/feature/update-architecture
README: update architecture picture
2020-07-02 10:56:00 +08:00
Zexi Li
bb540ff10c README: update architecture picture 2020-07-02 10:54:56 +08:00
Zexi Li
fa2ce04517 Merge pull request #6994 from rainzm/fix/scalinggroup_guest
fix: Override Master and Slave for scalinggroup_guest
2020-07-02 10:34:44 +08:00
Zexi Li
d902523fed Merge pull request #6988 from rainzm/vendor/jsonutils
update jsonutils
2020-07-02 10:34:11 +08:00
Zexi Li
cb34ec62cd Merge pull request #6996 from tb365/feature/tb-copyright-add-license
copyright api update
2020-07-02 10:24:13 +08:00
Qu Xuan
9bb4eb5d44 fix: manager_id资源隔离获取 2020-07-02 10:17:38 +08:00
Zexi Li
7a9662c6f5 monitor: support suggest rule alert config and add snapshot_unused
driver
2020-07-01 19:31:50 +08:00
Zexi Li
9a19c2809f Merge pull request #6913 from lvyangyang/feature/openstack-migrate
add: region/openstack 迁移接入
2020-07-01 19:29:49 +08:00
Zexi Li
562db29994 Merge pull request #6990 from rainzm/fix/notify_#6643
fix the bug introduced in #6643
2020-07-01 19:26:16 +08:00
rainzm
ba2b1d9bd2 fix: Override Master and Slave for scalinggroup_guest 2020-07-01 17:18:11 +08:00
rainzm
17721c4d59 fix the bug introduced in #6643 2020-07-01 16:49:54 +08:00
Zexi Li
5e363dc748 Merge pull request #6903 from ioito/hotfix/qx-project-sync
fix: 修正项目映射同步
2020-07-01 16:29:34 +08:00
rainzm
ae3827f9a1 update jsonutils 2020-07-01 16:28:57 +08:00
lvyangyang
41a4188bbd add: region/openstack 迁移接入 2020-07-01 16:27:56 +08:00
tangbin
60c8c25c02 copyright api update 2020-07-01 15:00:59 +08:00
Zexi Li
af19ce06c9 Merge pull request #6982 from ioito/hotfix/qx-capability-cloudid
fix: capability for cloudid
2020-07-01 14:36:49 +08:00
Qiu Jian
f739c8ff0e fix: validate candiate ip for sync-fix-nics 2020-07-01 14:14:37 +08:00
Qu Xuan
0b4a562f0d fix: capability for cloudid 2020-07-01 11:09:53 +08:00
yunion-ci-robot
37abaa4abd Merge pull request #6929 from wanyaoqi/feature/wyq/report-host-error-info
feature: report host error info
2020-06-30 23:24:48 +08:00
Zexi Li
d76dd9171b Merge pull request #6972 from ioito/bugfix/qx-cloudid
fix: 修复cloudid问题
2020-06-30 23:07:45 +08:00
Zexi Li
1563e8bf89 Merge pull request #6975 from wanyaoqi/bugfix/wyq/fix-deploy-backup-server
bugfix: fix deploy backup server order
2020-06-30 23:07:17 +08:00
wanyaoqi
1d59ceb5d9 fix deploy backup server order 2020-06-30 22:00:34 +08:00
Qu Xuan
835261e9ea fix: 避免未本地缓存usercache 2020-06-30 21:08:50 +08:00
Qu Xuan
642af06ba9 fix: 修复cloudid问题 2020-06-30 15:07:22 +08:00
Zexi Li
cc65e9c5da Merge pull request #6942 from yousong/bugfix/yousong-log
Bugfix/yousong log
2020-06-30 12:10:07 +08:00
Zexi Li
0810f6f6c7 Merge pull request #6954 from wanyaoqi/bugfix/wyq/include-system-usage
feature: usage handler include system resource
2020-06-30 12:07:47 +08:00
Zexi Li
b203fbe061 Merge pull request #6962 from ioito/hotfix/qx-cloudid-sync-cloudaccount
fix: 避免同步不到其他域的云账号
2020-06-30 12:06:34 +08:00
Zexi Li
ca1cb29e1f Merge pull request #6966 from ioito/hotfix/qx-cloudid-policy-sync
fix: 修复权限组权限同步异常问题
2020-06-30 12:03:30 +08:00
Zexi Li
03d1a0f6d1 Merge pull request #6964 from swordqiu/hotfix/qj-totp-verification-overhead
fix: reduce totp verification overhead
2020-06-30 12:01:30 +08:00
Zexi Li
911f7e99d7 Merge pull request #6960 from yousong/bugfix/yousong-ci
Bugfix/yousong ci
2020-06-30 12:00:50 +08:00
Zexi Li
581c397df9 Merge pull request #6970 from yousong/bugfix/yousong-informer
cloudcommon: taskman: fix table insert
2020-06-30 11:59:49 +08:00
Yousong Zhou
de1e1b1008 cloudcommon: taskman: fix table insert
Fix the following error

	run error: reflect: NumField of non-struct type *taskman.STask

Fixes 08cd41b60d ("cloudcommon: taskman: SetModelManager")

Reported-by: Qu Xuan <quxuan@yunionyun.com>
2020-06-30 11:54:41 +08:00
Qu Xuan
ea518358c7 fix: 优化sku同步逻辑 2020-06-30 11:04:21 +08:00
wanyaoqi
dae606d289 keep input mem and cpu on create from instance snapshot 2020-06-30 11:03:24 +08:00
yunion-ci-robot
26b1d225ac Merge pull request #6917 from swordqiu/feature/qj-keystone-saml-sp
feature: 1. idp as domain resource 2. keystone support SAML IDP
2020-06-30 10:55:41 +08:00
Qu Xuan
24cbdf6736 fix: 修复权限组权限同步异常问题 2020-06-30 10:54:18 +08:00
Zexi Li
29cbe29ede Merge pull request #6947 from swordqiu/hotfix/qj-disable-domain-shareing-if-non-default-domain-project-turned-off
fix: disable domain sharing if non_default_domain_projects turned off
2020-06-30 10:48:03 +08:00
Qiu Jian
49cf94abb0 fix: reduce totp verification overhead 2020-06-30 02:28:02 +08:00
Qu Xuan
0a87b3101a fix: 避免同步不到其他域的云账号 2020-06-29 20:30:40 +08:00
Zexi Li
8ee5f442f8 Merge pull request #6957 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-06-29 19:36:49 +08:00
Zexi Li
d8a321b717 Merge pull request #6950 from wanyaoqi/bugfix/wyq/region-misc0628
bugfix: region list misc fix
2020-06-29 19:35:59 +08:00
yunion-ci-robot
ac6a3ece82 Merge pull request #6952 from rainzm/fix/cloudaccount_preparenet
fix: Error occurs when suitableWire exists or all suitableNetwork exist.
2020-06-29 19:28:41 +08:00
Yousong Zhou
e94d41558d build: use alpine-build:1.0-2 2020-06-29 16:19:13 +08:00
Yousong Zhou
e1e56eaa7d build: docker-centos-build: use centos-build:1.1-1 2020-06-29 16:19:13 +08:00
Yousong Zhou
8e9c587992 .travis.yml: use go1.14 2020-06-29 15:11:04 +08:00
Yousong Zhou
1152c3c24e .github: workflows: use go1.14 2020-06-29 15:11:04 +08:00
Yousong Zhou
2463396eff .github: bump backport hint to release/3.2 2020-06-29 15:11:04 +08:00
Yousong Zhou
4fc35f92cb cloudcommon: tablespec: informer: use %#v to log bad obj
Fixes 145c88f79b ("cloudcommon: tablespec: informer: log obj type")
2020-06-29 14:44:59 +08:00
Yousong Zhou
08cd41b60d cloudcommon: taskman: SetModelManager 2020-06-29 14:44:59 +08:00
wanyaoqi
38a05c4909 - add server pending deleted for host details
- host list by server networks

- guest networks return wire id
2020-06-29 11:35:21 +08:00
wanyaoqi
fabd3577a1 include system usage 2020-06-28 18:17:02 +08:00
rainzm
5f1cd20aa4 fix: Error occurs when suitableWire exists or all suitableNetwork exist. 2020-06-28 16:55:47 +08:00
Yousong Zhou
ffcea2ae56 cloudprovider: remove redundant error log
Mostly "Provider OneCloud not registered".  Error is returned and the
caller can do whatever it want
2020-06-28 14:49:38 +08:00
Yousong Zhou
2eeb45deda cloudcommon: etcd: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
7a3f241450 appsrv: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
4e16eaf212 vendor: update yunion.io/x/sqlchemy 2020-06-28 14:49:38 +08:00
Qiu Jian
e796437a3c fix: disable domain sharing if non_default_domain_projects turned off 2020-06-28 13:02:25 +08:00
Zexi Li
a6ec5e28d0 Merge pull request #6943 from yousong/bugfix/yousong-lb-add-clusterinfo
lb: include cluster name info in details
2020-06-28 09:01:15 +08:00
Yousong Zhou
7add764152 lb: include cluster name info in details 2020-06-24 18:52:33 +08:00
yunion-ci-robot
e60fa609b6 Merge pull request #6933 from wanyaoqi/feature/wyq/enable-upper-case-server-name
feature: server name enable upper case
2020-06-24 17:43:01 +08:00
Qiu Jian
889a35bc7a feature: 1. idp as domain resource 2. keystone support SAML IDP 2020-06-24 17:41:33 +08:00
Zexi Li
6d14f06a38 Merge pull request #6918 from ioito/hotfix/qx-azure-project-sync
fix: 避免azure同步项目失败
2020-06-24 12:57:26 +08:00
Zexi Li
b7d4a31304 Merge pull request #6926 from ioito/hotfix/qx-google-create
fix: google资源名称兼容处理
2020-06-23 23:29:21 +08:00
Zexi Li
b897ca7b66 Merge pull request #6936 from swordqiu/hotfix/qj-quota-list-sort-by-usage-rate
fix: sort quota list result by usage rate
2020-06-23 23:27:29 +08:00
Zexi Li
210c24967f Merge pull request #6931 from swordqiu/hotfix/qj-keystone-project-resource-count
fix: keystone project resource count not accurate
2020-06-23 23:26:20 +08:00
Qiu Jian
f3fa6f82b6 fix: sort quota list result by usage rate 2020-06-23 22:04:38 +08:00
Zexi Li
2a7b367c4f Merge pull request #6921 from swordqiu/hotfix/qj-simplify-forbidden-usr-login-msg
fix: simplify forbidden user login message
2020-06-23 21:25:42 +08:00
wanyaoqi
75588d00a2 server name enable upper case 2020-06-23 21:03:36 +08:00
Qiu Jian
95bde0a14e fix: keystone project resource count not accurate 2020-06-23 21:01:47 +08:00
Qu Xuan
26a3df33bf fix: google资源名称兼容处理 2020-06-23 20:29:10 +08:00
wanyaoqi
4e65120406 report host stat 2020-06-23 20:03:13 +08:00
Qu Xuan
4794b1606a fix: 支持同步project标签到本地资源 2020-06-23 17:46:21 +08:00
Qiu Jian
91f098430c fix: simplify forbidden user login message 2020-06-23 17:45:32 +08:00
Qu Xuan
1021bf1514 fix: 避免azure同步项目失败 2020-06-23 17:31:33 +08:00
Qu Xuan
4b16fac0ba fix: 修正项目映射同步 2020-06-23 15:13:01 +08:00
Zexi Li
f958c6ad85 Merge pull request #6904 from wanyaoqi/bugfix/wyq/fix-capabilities
bugfix: fix get storage capabilities with null field
2020-06-23 11:53:22 +08:00
Zexi Li
5d87f52e4f Merge pull request #6912 from ioito/hotfix/qx-secgroup-list-filter
optimized: 支持ip和端口过滤安全组
2020-06-23 11:52:11 +08:00
yunion-ci-robot
af3dbfdc82 Merge pull request #6906 from wanyaoqi/bugfix/wyq/kill-dhcp-process
bugfix: kill dhclient process
2020-06-22 23:41:03 +08:00
Qu Xuan
594f05d94b optimized: 支持ip和端口过滤安全组 2020-06-22 21:40:37 +08:00
wanyaoqi
c4d5da4405 disable dhclient 2020-06-22 21:27:31 +08:00
yunion-ci-robot
275ddce68e Merge pull request #6836 from swordqiu/feature/qj-saml-idp-support
feature: support SAML idp
2020-06-22 20:33:54 +08:00
Qiu Jian
c302622415 add known sp metadata xml 2020-06-22 20:09:36 +08:00
wanyaoqi
854bf59f8f fix get storage capabilities with null field 2020-06-22 19:58:02 +08:00
Qiu Jian
3b32f0a4d9 sp support 2020-06-22 09:52:58 +08:00
Qiu Jian
3b7a1e9467 feature: support SAML idp 2020-06-22 09:52:58 +08:00
Zexi Li
8d81393c03 Merge pull request #6893 from yousong/bugfix/yousong-keystone-cpu
Bugfix/yousong keystone cpu
2020-06-22 09:14:49 +08:00
Zexi Li
9967e90a4b Merge pull request #6899 from yousong/bugfix/yousong-keystone-informer
Bugfix/yousong keystone informer
2020-06-22 09:10:05 +08:00
Yousong Zhou
61cd611aac keystone: passwords: SetModelManager
To quash avoid informer error "virtual object is nil"
2020-06-21 18:43:19 +08:00
Yousong Zhou
29a3171a3a cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:33:08 +08:00
Yousong Zhou
6c9e8f1948 keystone: config: SetModelManager for whitelisted config
To quash avoid informer error "virtual object is nil"
2020-06-21 17:14:43 +08:00
Yousong Zhou
145c88f79b cloudcommon: tablespec: informer: log obj type 2020-06-21 17:14:43 +08:00
Yousong Zhou
d9f3dfbbfe cloudcommon: app: cosmetic change 2020-06-21 16:43:07 +08:00
4837 changed files with 492175 additions and 233944 deletions

View File

@@ -38,7 +38,7 @@ jobs:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make -j3 $targets
make -j2 $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}

View File

@@ -1,4 +1,7 @@
/.git
/vendor
/cmd
/pkg
_output/alpine-build/_cache
pkg
vendor
cmd
locales
docs
scripts

View File

@@ -11,5 +11,5 @@
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/3.1
- release/3.2
-->

View File

@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.12
go-version: 1.14
id: go
- name: Check out code into the Go module directory
@@ -30,17 +30,8 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
make cmd/apigateway cmd/climc cmd/keystone
make cmd/logger cmd/region cmd/scheduler cmd/webconsole
make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway
make cmd/ansibleserver cmd/cloudnet cmd/notify
make cmd/host-deployer && ./scripts/bundle_libraries.sh _output/bin/bundles/host-deployer _output/bin/host-deployer
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make cmd/cloudevent cmd/devtool cmd/cloudid
make cmd/*cli
make cmd/esxi-agent
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns'
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns make cmd/apigateway cmd/climc cmd/keystone make cmd/logger cmd/region cmd/scheduler cmd/webconsole make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway make cmd/ansibleserver cmd/cloudnet cmd/notify make cmd/host-deployer make cmd/cloudevent cmd/devtool cmd/cloudid make cmd/*cli make cmd/esxi-agent'
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:

4
.gitignore vendored
View File

@@ -31,9 +31,13 @@ _output
/structargtest
.idea
.vscode
intellij.yaml
GPATH
GRTAGS
GTAGS
pkg/generated
*.orig
# gotext extracted
out.gotext.json

View File

@@ -15,7 +15,7 @@ addons:
language: go
go:
- 1.12.x
- 1.14.x
go_import_path: yunion.io/x/onecloud
cache:
directories:

View File

@@ -6,10 +6,11 @@ ROOT_DIR := $(CURDIR)
BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
DEB_BUILD_SCRIPT := $(ROOT_DIR)/build/build_deb.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_BRANCH := $(shell git branch -r --contains | head -1 | sed -E -e "s%(HEAD ->|origin|upstream)/?%%g" | xargs)
GIT_VERSION := $(shell git describe --always --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_TREE_STATE := $(shell s=`git status --porcelain 2>/dev/null`; if [ -z "$$s" ]; then echo "clean"; else echo "dirty"; fi)
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
@@ -64,6 +65,7 @@ endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
debTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),deb/$(b)))
all: build
@@ -93,6 +95,9 @@ cmd/%: prepare_dir
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
deb/%: cmd/%
$(DEB_BUILD_SCRIPT) $*
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
@@ -102,6 +107,9 @@ build:
rpm:
$(MAKE) $(rpmTargets)
deb:
$(MAKE) $(debTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -126,6 +134,11 @@ clean:
fmt:
@git ls-files --exclude '*' '*.go' \
| grep -v '^vendor/' \
| while read f; do \
if ! grep -m1 -q '^// Code generated .* DO NOT EDIT\.$$' "$$f"; then \
echo "$$f"; \
fi ; \
done \
| xargs $(XARGS_FLAGS) gofmt -w
fmt-check: fmt
@@ -198,68 +211,6 @@ mod:
go mod tidy
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=1.0-1
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker-centos stop --time 0 onecloud-ci-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force onecloud-docker-alpine-build &>/dev/null || true
docker run --rm \
--name onecloud-docker-alpine-build \
-v $(CURDIR):/root/go/src/yunion.io/x/onecloud \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/onecloud/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-1 \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 onecloud-docker-alpine-build || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
define helpText
Build with docker
@@ -312,9 +263,13 @@ VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
mkdir -p $(ROOT_DIR)/_output
DEBUG=$(DEBUG) ARCH=$(ARCH) TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image
%:
@:
ModName:=yunion.io/x/onecloud
include $(CURDIR)/Makefile.common.mk

83
Makefile.common.mk Normal file
View File

@@ -0,0 +1,83 @@
ifeq ($(__inc_Makefile_common_mk),)
__inc_Makefile_common_mk:=1
ifeq ($(ModName),)
$(error ModName must be set, e.g. yunion.io/x/onecloud)
endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:1.0-5
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:1.1-4
EnvIf=$(if $($(1)),$(1)=$($(1)))
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force docker-centos-build-$(ModBaseName) &>/dev/null || true
docker run \
--rm \
--name docker-centos-build-$(ModBaseName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/centos-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/centos-build/_cache:/root/.cache \
$(DockerImageCentOSBuild) \
/bin/bash -c "$$dockerCentOSBuildCmd"
ls -lh _output/centos-build/bin
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker stop --time 0 docker-centos-build-$(ModBaseName) || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
$(call EnvIf,CGO_ENABLED) \
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force docker-alpine-build-$(ModBaseName) &>/dev/null || true
docker run \
--rm \
--name docker-alpine-build-$(ModBaseName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
$(DockerImageAlpineBuild) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 docker-alpine-build-$(ModBaseName) || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
endif # __inc_Makefile_common_mk

View File

@@ -41,7 +41,7 @@
## 架构
![architecture](./docs/architecture.png)
![architecture](https://www.yunion.cn/static/frame.png)
## 贡献

View File

@@ -44,7 +44,7 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
## Architecture
![architecture](./docs/architecture.png)
![architecture](https://www.yunion.cn/static/frame.png)
## Contribution

View File

@@ -13,6 +13,7 @@ SRC_BUILD=$ROOT_DIR/build
OUTPUT_DIR=$ROOT_DIR/_output/rpms
PKG=$1
BIN_PATH=${2:-/opt/yunion/bin}
if [ -z "$PKG" ]; then
echo "Usage: $0 <package>"
@@ -90,9 +91,9 @@ $DESCRIPTION
%build
%install
install -D -m 0755 $BIN \$RPM_BUILD_ROOT/opt/yunion/bin/$PKG
install -D -m 0755 $BIN \$RPM_BUILD_ROOT$BIN_PATH/$PKG
for bin in $EXTRA_BINS; do
install -D -m 0755 $SRC_BIN/\$bin \$RPM_BUILD_ROOT/opt/yunion/bin/\$bin
install -D -m 0755 $SRC_BIN/\$bin \$RPM_BUILD_ROOT$BIN_PATH/\$bin
done
if [ -d $ROOT/root ]; then
rsync -a $ROOT/root/ \$RPM_BUILD_ROOT
@@ -124,8 +125,8 @@ getent passwd %{owner} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d %{
%files
%doc
/opt/yunion/bin/$PKG
$(for b in $EXTRA_BINS; do echo /opt/yunion/bin/$b; done)
$BIN_PATH/$PKG
$(for b in $EXTRA_BINS; do echo $BIN_PATH/$b; done)
" > $SPEC_FILE
if [ -d $ROOT/root/ ]; then

76
build/build_deb.sh Executable file
View File

@@ -0,0 +1,76 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
pushd $(dirname $(readlink -f "$BASH_SOURCE")) > /dev/null
ROOT_DIR=$(cd .. && pwd)
popd > /dev/null
fi
SRC_BIN=$ROOT_DIR/_output/bin
SRC_BUILD=$ROOT_DIR/build
OUTPUT_DIR=$ROOT_DIR/_output/debs
PKG=$1
BIN_PATH=${2:-/opt/yunion/bin}
if [ -z "$PKG" ]; then
echo "Usage: $0 <package>"
exit 1
fi
BIN="$SRC_BIN/$PKG"
ROOT="$SRC_BUILD/$PKG"
if [ ! -x "$BIN" ]; then
echo "$BIN not exists"
exit 1
fi
if [ ! -x "$ROOT" ]; then
echo "$ROOT not exists"
exit 1
fi
. $ROOT/vars
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo 000000)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
fi
RELEASE=`date +"%y%m%d%H"`
FULL_VERSION=$VERSION-$RELEASE
BUILDROOT=$OUTPUT_DIR/yunion-$1-$FULL_VERSION
rm -rf $BUILDROOT
mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
cp -rf $BIN $BUILDROOT/$BIN_PATH
cp -rf $ROOT/root/* $BUILDROOT/
echo "Build root ${BUILDROOT}"
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
echo "Package: yunion-$1
Version: $FULL_VERSION
Section: base
Priority: optional
Architecture: $CURRENT_ARCH
Maintainer: wanyaoqi@yunionyun.com
Description: Yunion $1
" > $BUILDROOT/DEBIAN/control
chmod 0755 $BUILDROOT/DEBIAN/control
dpkg-deb --build $BUILDROOT

View File

@@ -1,6 +0,0 @@
# rbac for project owner, not allow for delete
roles:
- domain_admin
scope: domain
policy:
'*': allow

View File

@@ -1,9 +1,10 @@
# rbac for normal user, not allow for delete
scope: project
policy:
'*':
'*':
'*': allow
create: deny
update: deny
delete: deny
perform:
purge: deny
clone: deny
'*': allow

View File

@@ -0,0 +1,2 @@
policy:
'*': allow

View File

@@ -1,6 +0,0 @@
# rbac for project owner, not allow for delete
roles:
- project_owner
scope: project
policy:
'*': allow

View File

@@ -1,8 +0,0 @@
# rbac for sysadmin
projects:
- system
roles:
- admin
scope: system
policy:
'*': allow

View File

@@ -0,0 +1,6 @@
policy:
'*':
'*':
get: allow
list: allow
'*': deny

View File

@@ -0,0 +1,6 @@
公有云子账号创建成功
主账号:{{ .account }}<br>
名称:{{ .name }}<br>
密码:{{ .password }}<br>
登录地址: {{ .iam_login_url }}<br>
资源ID: {{ .id }}<br>

View File

@@ -0,0 +1,6 @@
Clouduser has been created successfully
Root Account: {{ .account }}<br>
Name{{ .name }}<br>
Password{{ .password }}<br>
IAM Login URL: {{ .iam_login_url }}<br>
Resource ID: {{ .id }}<br>

View File

@@ -0,0 +1 @@
公有云子账号 {{ .name }} 创建成功

View File

@@ -0,0 +1 @@
The clouduser {{ .name }} created successfully

View File

@@ -0,0 +1,47 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:alibaba:cloudcomputing">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDXjCCAkagAwIBAgIEXHToLjANBgkqhkiG9w0BAQsFADBwMQswCQYDVQQGEwJDTjERMA8GA1UE
CBMISGFuZ3pob3UxKTAnBgNVBAsTIEFsaWJhYmEgQ2xvdWQgQ29tcHV0aW5nIENvLiBMdGQuMSMw
IQYDVQQDExp1cm46YWxpYmFiYTpjbG91ZGNvbXB1dGluZzAgFw0xOTAyMjYwNzE4MDZaGA8yMTE5
MDIwMjA3MTgwNlowcDELMAkGA1UEBhMCQ04xETAPBgNVBAgTCEhhbmd6aG91MSkwJwYDVQQLEyBB
bGliYWJhIENsb3VkIENvbXB1dGluZyBDby4gTHRkLjEjMCEGA1UEAxMadXJuOmFsaWJhYmE6Y2xv
dWRjb21wdXRpbmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDDjD53ZENEHoYNXAOf
OIbVBJhj7SCWKmdjnbnxq8WAFWEeZtS6hZLPpWh1z7b0NjJkvCf5oFVqBJYbbW5kEKV+9CpV6VHZ
qOXmsIRlkvZB+Wnc3SduwiiiUR9JojSPxVQvSf4WLT+HDASlrBztuRV2vHj9utLbvy+6bgVBqF8g
emL9Pcif1robDH8HlqUcADXLAt18E4MbToldVoHjpFc6fAKUXujWH5feAL8g0CKlmf/JVlHLEtu4
vKPxBQ8sgkysk6EnrjXl6Q4a4t+vbPG5uczA1ouTkDupMCRlaWHIHaJL/AoDGabn8sVXdaVJUKC5
54FNkRznBhRQll+Nuc2rAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAE8k4S4HvOglthJwF3aMQXGi
LKW6Becs9SljA0/5VtZQDrDf2By/1BIMvWfZ/dFnO+MylDLVdS6XWvWat/DW0fOGxU4s1WNfshX7
DJDGR2G1XgtGoDZEYIDahUp5katAPypCkY57fGZlI0d3nq46/2qT/Zpne+pFE3DI/x8klZMniniw
YjNXbG96y/M4DYi1J7RR8mLIfVvz5o1SMGT4Ta2p/USE2M9F6O7/zc2j62dQgXiYa9OONo31RiXR
TmvGEUNuQoBZhVrFIvOnNjIfFT7Xd3CUowwJKP1floserrx4B5jScRAi9yK3x2a2lhfc+PksXfTs
aqIr5TQL4OorLEE=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.aliyun.com/saml-role/sso"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">Alibaba Cloud Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://www.aliyun.com/SAML-Role/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://www.aliyun.com/SAML-Role/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="https://www.aliyun.com/SAML-Role/Attributes/SessionDuration" FriendlyName="SessionDuration"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Alibaba Cloud Computing Co. Ltd.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AlibabaCloud</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://www.aliyun.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:amazon:webservices" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDbTCCAlWgAwIBAgIEFWIThjANBgkqhkiG9w0BAQsFADBnMR8wHQYDVQQDExZ1
cm46YW1hem9uOndlYnNlcnZpY2VzMSIwIAYDVQQKExlBbWF6b24gV2ViIFNlcnZp
Y2VzLCBJbmMuMRMwEQYDVQQIEwpXYXNoaW5ndG9uMQswCQYDVQQGEwJVUzAeFw0y
MDA2MDIwMDAwMDBaFw0yMTA2MDIwMDAwMDBaMGcxHzAdBgNVBAMTFnVybjphbWF6
b246d2Vic2VydmljZXMxIjAgBgNVBAoTGUFtYXpvbiBXZWIgU2VydmljZXMsIElu
Yy4xEzARBgNVBAgTCldhc2hpbmd0b24xCzAJBgNVBAYTAlVTMIIBIjANBgkqhkiG
9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwKA4yDh4wAjlkhjJoXARGX9DQWsGTgp9GzoX
NebntY+DjB8H6hIkYRR3++yEDY90qldbZzOaOKRm2jyL7i+MgNt+ktx6wYGD7HBg
e8Z0Zh6eHRIwKbvu4/heMLdqqu+hlXkrC15T4N/LqiwT5JhPTrO4V1KG3ljR1ONG
7aLblVH2aRENV+X9la/AVAPesUpCnoUcTkuCJrcwHrv6hqWmadW8pJy/ISCCM4Fe
JuOAJD0whxg0qRFvE6xcdnKBTWjR03VHqJnyYQGVUKXOlgj8HiKO0JaJkoUAs5ox
WCRBZwSQW+qbP1VKSUfFeBtTMx/TSg4nBRYHinego/e8O1mu6wIDAQABoyEwHzAd
BgNVHQ4EFgQUz1SuekLVxYNvvLpUDRXc/gp2WdAwDQYJKoZIhvcNAQELBQADggEB
AIkUzM9MXr11vp9gBOOXyqyj7sBgoUQHW3mEfKD3DkEOZWUPW5UI7NM9ZHvhdOwd
C1noUK/QMjLkTHp0QB2bxCIpgThXSNFDYNRxf1/aUqTfxQ8a+i0q7l/utRiWyY3p
kLOFx0n81a2bSNz+B0nPS338xNaBtuNjHedXjxN6BjUCUfFHFsQmg/y6ZbBRN/9P
+i2yy3CjLduh0yeD0Of3vAoIh19MuNgnIy1pMsK/H59E8bAaCFvND9fnsqAfH29W
ppmt9c8QaiAya5R7akl/C0Rx8khQrba+wMcSultqLU+6YVIAAEKZ/S/ZfN74wn5X
RXwSXp4MSmOKYqRWshvRegQ=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.aws.amazon.com/saml"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">AWS Management Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" FriendlyName="eduPersonAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" FriendlyName="eduPersonNickname"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" FriendlyName="eduPersonOrgDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" FriendlyName="eduPersonOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" FriendlyName="eduPersonPrimaryAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" FriendlyName="eduPersonPrincipalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" FriendlyName="eduPersonEntitlement"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" FriendlyName="eduPersonPrimaryOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" FriendlyName="eduPersonScopedAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" FriendlyName="eduPersonTargetedID"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" FriendlyName="eduPersonAssurance"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.2" FriendlyName="eduOrgHomePageURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.3" FriendlyName="eduOrgIdentityAuthNPolicyURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.4" FriendlyName="eduOrgLegalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.5" FriendlyName="eduOrgSuperiorURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.6" FriendlyName="eduOrgWhitePagesURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:2.5.4.3" FriendlyName="cn"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Amazon Web Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AWS</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://aws.amazon.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="urn:amazon:webservices:cn-north-1" validUntil="2021-05-13T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDfzCCAmegAwIBAgIEY1tz5jANBgkqhkiG9w0BAQsFADBwMSgwJgYDVQQDEx91
cm46YW1hem9uOndlYnNlcnZpY2VzOmNuLW5vcnRoMSIwIAYDVQQKExlBbWF6b24g
V2ViIFNlcnZpY2VzLCBJbmMuMRMwEQYDVQQIEwpXYXNoaW5ndG9uMQswCQYDVQQG
EwJVUzAeFw0yMDA1MTMwMDAwMDBaFw0yMTA1MTMwMDAwMDBaMHAxKDAmBgNVBAMT
H3VybjphbWF6b246d2Vic2VydmljZXM6Y24tbm9ydGgxIjAgBgNVBAoTGUFtYXpv
biBXZWIgU2VydmljZXMsIEluYy4xEzARBgNVBAgTCldhc2hpbmd0b24xCzAJBgNV
BAYTAlVTMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAm2HLuzEnEGVT
C5W215HWuwFLM54v3oHoNy52GGN79VLn7sxm2Z0K+AVijV/rxCbPaNxO6tm/MmN6
XJkU8g8p7ghT6p+EN/61WG+KgoXIHcl/aZBbkoNTKKPXRvR9EEcyAPdLDBJVJHF5
lgCkSMHBL3VcCcrpVxFCtUhW+vT3pie2KHLEVb5Ocpq9pO8dNvY2iM7TSIvRu0kL
IZWUbRF0bP4cpDIVoMEsSJ3gFBCD3yf53UfU2dxjp2mnMjphPucHwml3AcsXN3XT
Y5j2qksO5xXgFrCZz76l3P7emj5eHIvkxuieU/7u+cYu0HppP+4xszzqvUcoHFRA
1fC/eFFRAwIDAQABoyEwHzAdBgNVHQ4EFgQUZkQfgy0NWq7kAO8mTQPeSDayJ3Ew
DQYJKoZIhvcNAQELBQADggEBACmLLD2qBA+KCxv7CiCfznT8XWOLAVf9xP3YMk0N
WCnugpd30d0YzxtI2PA29cNB2pyuGbaVg+zGqpsfAznaBHvnnEx1fJHNyfXxhAry
0MdabmbvhMfJPUYRFx/7r6Km8d52e+nv28pP/WrbWs4I0Swm+Rwaj3t32EgCBxQS
8WWEkG+L00slRgSPkfY8OgOM4QkBThHjGgw0TKFTEvQNVqXOJKQREq0MejyarUSC
4am+OJeRcWKtPcRo1jUlGWG6eun0ybuw232ZEZHUv33B247aRMuvTgcRTz3s6tUE
7RoeaMpl3/Y1MKtB2qURiu0Cib27Rl1mckhmfdA+awl3s4s=</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.amazonaws.cn/saml"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">AWS Management Console Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/Role" FriendlyName="RoleEntitlement"/>
<RequestedAttribute isRequired="true" Name="https://aws.amazon.com/SAML/Attributes/RoleSessionName" FriendlyName="RoleSessionName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.1" FriendlyName="eduPersonAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.2" FriendlyName="eduPersonNickname"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.3" FriendlyName="eduPersonOrgDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.4" FriendlyName="eduPersonOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.5" FriendlyName="eduPersonPrimaryAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.6" FriendlyName="eduPersonPrincipalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.7" FriendlyName="eduPersonEntitlement"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.8" FriendlyName="eduPersonPrimaryOrgUnitDN"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.9" FriendlyName="eduPersonScopedAffiliation"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.10" FriendlyName="eduPersonTargetedID"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.1.1.11" FriendlyName="eduPersonAssurance"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.2" FriendlyName="eduOrgHomePageURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.3" FriendlyName="eduOrgIdentityAuthNPolicyURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.4" FriendlyName="eduOrgLegalName"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.5" FriendlyName="eduOrgSuperiorURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:1.3.6.1.4.1.5923.1.2.1.6" FriendlyName="eduOrgWhitePagesURI"/>
<RequestedAttribute isRequired="false" Name="urn:oid:2.5.4.3" FriendlyName="cn"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Amazon Web Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">AWS</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://aws.amazon.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="google.com" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://www.google.com/a/yunion-hk.com/acs"/>
<AttributeConsumingService index="1">
<RequestedAttribute isRequired="false" Name="user.email" FriendlyName="user.email"/>
</AttributeConsumingService>
</SPSSODescriptor>
</EntityDescriptor>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="google.com/a/yunion-hk.com" validUntil="2021-06-02T00:00:00Z">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>
</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://www.google.com/a/yunion-hk.com/acs"/>
<AttributeConsumingService index="1">
<RequestedAttribute isRequired="false" Name="user.email" FriendlyName="user.email"/>
</AttributeConsumingService>
</SPSSODescriptor>
</EntityDescriptor>

View File

@@ -0,0 +1,79 @@
<?xml version="1.0" encoding="UTF-8"?><md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" ID="M349b8f2417d474387360e922ef39baa" entityID="https://auth.huaweicloud.com/"><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/><ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/><ds:Reference URI="#M349b8f2417d474387360e922ef39baa"><ds:Transforms><ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/><ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/></ds:Transforms><ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/><ds:DigestValue>diBMwyuN633Q/kBf0M+SQZ4fNCI=</ds:DigestValue></ds:Reference></ds:SignedInfo><ds:SignatureValue>k6+6QX8T5+S5wEIWlxwvd5a48xLWmp4Jd0bcs33vNaQVQ93YiztGcroUUqnLYK8uqAsmk2ZP4NtKFL/MyqoznrStglSi7uycwX6X3fswMwvkHJ9UVhH6Gp2Txl2JQ9/0vXy/tlXjQNFbfqzLhqxKC/K/PmKd684XkPYXlkiEJa6nGibu0gse9rvP2hE0G9bDMfdiyQnanfBvN+oNRte3xyI3DWh2P/jDTAPJMYzGM76JIneS8jLPa4gKDz5KcumG/8JV7GUWTDTZZ4ftujsjEuUFdPzKqwMYogMXOnTt8wbisSF8ZlLSMH/TIj6xAO9aSkEAo8HtlHJbekYlVA5Tz5IamLLzfaPpf7+NghLSuATIwY8/pvBZ8qhY8PVOjzRCeoEZJUrlFOcZ2CvO9zVKYdkEa1JC3mUW7CgeQc7G2/9niub7Vu00eyp9AAd9nkPfLoiWam8/yg2TBPRRJ9VKsv2UMFuITWrcFJayjezlTzY3dI3tI8lfoIMEVRaEP1v1D8XbxnxiaiKZXsGQHtpTSLc1ZL441jeZDLa661raUJDlGA6mBc1QukJklEocGg+Q+FeU33MJCaN/rIZCGvrjIZNng3yKFw1+R7/CqeJJlFWw0hPJQGiy6wfrDYSmhwuXJ2vQn3dTHjlT3kWsniiZtuOUi2TjHbq8gVHqlxmPxSs=</ds:SignatureValue><ds:KeyInfo><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></ds:Signature><md:SPSSODescriptor AuthnRequestsSigned="true" WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol"><md:KeyDescriptor use="signing"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:KeyDescriptor use="encryption"><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:X509Data><ds:X509Certificate>MIIF6TCCA9GgAwIBAgIEPHSCijANBgkqhkiG9w0BAQsFADCBpDELMAkGA1UEBhMCQ04xEjAQBgNV
BAgTCUd1YW5nRG9uZzERMA8GA1UEBxMIU2hlblpoZW4xJTAjBgNVBAoTHEh1YXdlaSBUZWNobm9s
b2dpZXMgQ28uLCBMdGQxKDAmBgNVBAsTH1NlcnZpY2UgUHJvdmlkZXIgT3BlcmF0aW9uIERlcHQx
HTAbBgNVBAMTFGF1dGguaHVhd2VpY2xvdWQuY29tMB4XDTE4MDYyMTEzMjUwMFoXDTI4MDYxODEz
MjUwMFowgaQxCzAJBgNVBAYTAkNOMRIwEAYDVQQIEwlHdWFuZ0RvbmcxETAPBgNVBAcTCFNoZW5a
aGVuMSUwIwYDVQQKExxIdWF3ZWkgVGVjaG5vbG9naWVzIENvLiwgTHRkMSgwJgYDVQQLEx9TZXJ2
aWNlIFByb3ZpZGVyIE9wZXJhdGlvbiBEZXB0MR0wGwYDVQQDExRhdXRoLmh1YXdlaWNsb3VkLmNv
bTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAJisHObeLOPs2mJ4eJBcruMZl9FjvRQe
DmofxgOcIcmybt6qlDqAv7275JMMQfQFcEoxH3GqcCTYqvSaSnHPaJB1xljPIKAWtd7p1ymevcSy
F2HdCZ8gPJKg3Q6+ZjwTipKS/nZr7xmpUQ0WvwRkgZ7zfslAW+y5PCgkDrgmEjG92rLArj8iPhmu
jajXaTPQKVHuZMxBzS735uo4yjVwYE3+0mE4HTZjK+6n6Ffu+JhLzhcKGulmrT/6qHisMbIXAZyE
egBDavomb+5zu/CUQwii5IAPrRTwwegYpG4+uYJ2cHfrUdHqw9lSCSbQzu1yW1AS4zB16sjoHZdV
rxYyktlswNmJ1/MyRH5bO90e2kvVwV4l34Hi5HEFvFFjL8TAsbN4mGvA9fgohXp30x97UdPVV8Ji
NNAKZjdZSEdG9xqrTRfe4+LQg/hzLNSwsko3nDnH8qhCgtb8qIipQ3s7niCa53AQWYR82lEViols
/dbWU9qYeldVvGNAgJSqHLB7qLwcQW78+2V1446KhQqzqPeLI4ANGaLFKw8fGzgh85RKOjrIetb4
wAOZmhrrUJrRg47DYQQjNv3glDg53ijLPFunzRqUoqLphrZ1XpEA4y21OtTP6OMYAM0lSOj1gjvb
ubTDo8XOQs5YGtTOyHn4CQ4GR8NNo7UrwVEmoZHA+AKbAgMBAAGjITAfMB0GA1UdDgQWBBTt05QW
9dyXi7eMekKOH0bn4xKrkDANBgkqhkiG9w0BAQsFAAOCAgEACv9zgzUgxxQ8t9ldOXmirxzSOrHx
MCL8SKsu+c+Y4hoHma5LFjylv6x76NWTAFSE6GgqfuNI/gPj/2AWqObAvsHd8lsPjJ96ZoSaTmS8
NrtU6HuT1Lc+CmVfeGd3/G+KspQECjg2JeBrfyEw9B8KUAQV20DQukGfAHtKKQPOZmKm0Qm3ExWC
eXz1TR2KP+Lrhny/yG43g4iVUKq65HFHs5cRzRk0iR0/NLpggl5+Op0rxMxBn+bCrnJBi0n9/PIM
fWNhkEBl+B++EifPUQxQaOEsnxTgFo1O4ksK9hDFcLbr+1qCDgVIMkyC1xMBBikCgLvIdzy3SXBN
ndIEUq+QgOORxLlq1WqrfLFO22TxZm8XaB5g36UMk5PGoVHGnjALReAHjC0C5sIiKMJSgQOPd71X
mQSsw3G9NsMKf/H3xJXkq/b672ls/l1JBslm52DAk2k5UlLkf/1p4I7WHOfm5ZNpDjj1rTP6SiAc
tWLtqXIU28fLa2sA+zHXA5acDGOm6eIrMme5HpsV/KoUOW1MXGugK59zofeueCFDGRfbyoS2lj0S
W+CbJVa72CLf3xPh2nWH0cK9de+wyCx8uI0KGPyV4I9/XBLHhvkb3XPaUfnkzYkcrG/39cOaxuPF
z+haXwI1lvI964zvmTgwdDjdf/0asA09S7EEK2KyzXUREM4=</ds:X509Certificate></ds:X509Data></ds:KeyInfo></md:KeyDescriptor><md:ArtifactResolutionService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://auth.huaweicloud.com/authui/saml/SAMLAssertionConsumer" index="0" isDefault="true" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPRedirect" ResponseLocation="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPRedirectResponse" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPPost" ResponseLocation="https://auth.huaweicloud.com/authui/saml/LogoutServiceHTTPPostResponse" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPPost" ResponseLocation="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPPostResponse"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPRedirect" ResponseLocation="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceHTTPRedirectResponse"/><md:ManageNameIDService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://auth.huaweicloud.com/authui/saml/ManageNameIDServiceSOAP" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/><md:NameIDFormat xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata">urn:oasis:names:tc:SAML:2.0:nameid-format:transient</md:NameIDFormat><md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://auth.huaweicloud.com/authui/saml/SAMLAssertionConsumer" index="0" isDefault="true" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"/></md:SPSSODescriptor></md:EntityDescriptor>

View File

@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:saml="urn:oasis:names:tc:SAML:2.0:AssertionConsumerService" entityID="cloud.tencent.com" validUntil="2059-08-15T06:24:31Z">
<SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<ds:KeyInfo>
<ds:X509Data>
<ds:X509Certificate>MIIEWzCCA0OgAwIBAgIJAP2Wa/iz6Zn+MA0GCSqGSIb3DQEBBQUAMIHDMQswCQYDVQQGEwJDTjESMBAGA1UECAwJZ3Vhbmdkb25nMREwDwYDVQQHDAhzaGVuemhlbjE2MDQGA1UECgwtVGVuY2VudCBUZWNobm9sb2d5IChTaGVuemhlbikgQ29tcGFueSBMaW1pdGVkMRYwFAYDVQQLDA1UZW5jZW50IENsb3VkMRowGAYDVQQDDBFjbG91ZC50ZW5jZW50LmNvbTEhMB8GCSqGSIb3DQEJARYScWNsb3VkQHRlbmNlbnQuY29tMB4XDTE4MDgxNTA2MjQzMVoXDTE5MDgxNTA2MjQzMVowgcMxCzAJBgNVBAYTAkNOMRIwEAYDVQQIDAlndWFuZ2RvbmcxETAPBgNVBAcMCHNoZW56aGVuMTYwNAYDVQQKDC1UZW5jZW50IFRlY2hub2xvZ3kgKFNoZW56aGVuKSBDb21wYW55IExpbWl0ZWQxFjAUBgNVBAsMDVRlbmNlbnQgQ2xvdWQxGjAYBgNVBAMMEWNsb3VkLnRlbmNlbnQuY29tMSEwHwYJKoZIhvcNAQkBFhJxY2xvdWRAdGVuY2VudC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC7z2KMtR6GS4IzwfFYLSULCrKrr6iUVRlxUhn0y/CjpWXGg31nwvXYmJZaCwjUlorTd3pYDmStmd4xoL3xrGFnqX0xqKw7S+vbB9wo5tSHww15vkiYPanjsgeaiXihBBB6jvsV8+4iuVk8JA3x990/0wic/ZuKIhCI4mLCaQYLXbsYopUPQ5p+dwkCY9pYxP+zjOQathA0cjzKyzp9io2pcH2vtj7RzM+j4sLTsTC+OGfh7k9LQO5/fswQTQKr1B4tmtI8Cq7pUP0Fud1YLjMpod/NRVv1/xIF6cJFP8QARfmC45FPjHToORiXVUV8hii8l4EkXw2bAQO+wqodXJaZAgMBAAGjUDBOMB0GA1UdDgQWBBQ6e8nFUT7oKF+LbOYFH200WR5I0zAfBgNVHSMEGDAWgBQ6e8nFUT7oKF+LbOYFH200WR5I0zAMBgNVHRMEBTADAQH/MA0GCSqGSIb3DQEBBQUAA4IBAQBAIaZDjgCLkWq6fFpp/ViwdEBtLbKNNx2K28z91kTZNE+lepYagqWQIPpTGo69GmO9Qdf/mkspY3Y80Q3MpUO09V3gsiqXQBHD5ZfyRHwmqDjDudLA1SGzMjMT+48XuMq4fdonO1o5fyDh/My9w1LuRZzWw5ZE0JEpKgXq1ynQYz0uEip7KrUVUNoAS2n9jT8APfs16M4p5VRpIYlugnBwR9P2bZba+9fR/SPTa7FX4S8sU649wGPR+49uvic2kwc8FP6AXGurJZhd7mZ44j58q0M/LXm/6wiyUslZ/I0uGhxmRav0cTQz4T1dXKdh2pJZBwz8yMv2P6fuxcFlUeR6</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://cloud.tencent.com/login/saml" index="1" isDefault="true"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en"/>
<RequestedAttribute FriendlyName="RoleEntitlement" Name="https://cloud.tencent.com/SAML/Attributes/Role" isRequired="true"/>
<RequestedAttribute FriendlyName="RoleSessionName" Name="https://cloud.tencent.com/SAML/Attributes/RoleSessionName" isRequired="true"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Tencent Cloud Services, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">Tencent Cloud</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://cloud.tencent.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.2
ADD ./_output/bin/ansibleserver /opt/yunion/bin/ansibleserver
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,13 +1,12 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache tzdata git ansible ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add ansible \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/apigateway /opt/yunion/bin/apigateway
ADD ./_output/alpine-build/bin/apigateway /opt/yunion/bin/apigateway

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.0.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

@@ -1,3 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
RUN yum install -y https://iso.yunion.cn/3.6/rpms/packages/host/baremetal-pxerom-1.1.0-20072810.x86_64.rpm
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
@@ -5,35 +8,28 @@ MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY ./opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# add mkisofs with bundles libraries
ADD ./mkisofs /bin/mkisofs
ADD ./.mkisofs.bin /bin/.mkisofs.bin
ADD ./bundles/mkisofs /bin/bundles/mkisofs
# use GNU timeout command replace busybox timeout command
RUN rm /usr/bin/timeout
ADD ./timeout /bin/timeout
ADD ./.timeout.bin /bin/.timeout.bin
ADD ./bundles/timeout /bin/bundles/timeout
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal

View File

@@ -1,5 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:v20200308
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20200820
ADD ./build/climc/root/opt /opt
ADD ./_output/bin/climc ./_output/bin/*cli /opt/yunion/bin/
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/cloudevent /opt/yunion/bin/cloudevent
ADD ./_output/alpine-build/bin/cloudevent /opt/yunion/bin/cloudevent

View File

@@ -1,3 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/cloudid /opt/yunion/bin/cloudid
COPY ./build/cloudid/root/opt/ /opt/
ADD ./_output/alpine-build/bin/cloudid /opt/yunion/bin/cloudid

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/cloudnet /opt/yunion/bin/cloudnet
ADD ./_output/alpine-build/bin/cloudnet /opt/yunion/bin/cloudnet

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/devtool /opt/yunion/bin/devtool
ADD ./_output/alpine-build/bin/devtool /opt/yunion/bin/devtool

View File

@@ -1,4 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/esxi-agent/root/opt/ /opt/
ADD ./_output/bin/esxi-agent /opt/yunion/bin/esxi-agent
ADD ./_output/alpine-build/bin/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -1,6 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20200820
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/glance /opt/yunion/bin/glance
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -1,18 +0,0 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent && ./scripts/bundle-libraries.sh _output/bin/bundles/torrent _output/bin/torrent
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/torrent /opt/yunion/bin/torrent
ADD ./_output/bin/.torrent.bin /opt/yunion/bin/.torrent.bin
ADD ./_output/bin/bundles/torrent /opt/yunion/bin/bundles/torrent

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.2.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:v0.0.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:0.6
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
@@ -6,6 +6,4 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/host-deployer /opt/yunion/bin/host-deployer
ADD ./_output/bin/.host-deployer.bin /opt/yunion/bin/.host-deployer.bin
ADD ./_output/bin/bundles/host-deployer /opt/yunion/bin/bundles/host-deployer
ADD ./_output/centos-build/bin/host-deployer /opt/yunion/bin/host-deployer

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/keystone /opt/yunion/bin/keystone
ADD ./_output/alpine-build/bin/keystone /opt/yunion/bin/keystone

View File

@@ -0,0 +1,4 @@
FROM alpine:3.11
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk update && apk add kubectl && rm -rf /var/cache/apk/*

View File

@@ -1,4 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/logger /opt/yunion/bin/logger
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/alpine-build/bin/logger /opt/yunion/bin/logger

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/monitor /opt/yunion/bin/monitor
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/monitor/root/opt/ /opt/
ADD ./_output/alpine-build/bin/monitor /opt/yunion/bin/monitor

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/notify/root/opt/ /opt/
ADD ./_output/bin/notify /opt/yunion/bin/notify
ADD ./_output/alpine-build/bin/notify /opt/yunion/bin/notify

View File

@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM alpine:3.11
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
@@ -7,7 +7,7 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache tzdata ca-certificates && \
apk add --no-cache tzdata curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
COPY ./build/region/root/opt/ /opt/
ADD ./_output/bin/region /opt/yunion/bin/region
ADD ./_output/alpine-build/bin/region /opt/yunion/bin/region

View File

@@ -1,4 +1,4 @@
FROM alpine:3.11.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/region-dns /opt/yunion/bin/region-dns

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/s3gateway /opt/yunion/bin/s3gateway
ADD ./_output/alpine-build/bin/s3gateway /opt/yunion/bin/s3gateway

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/scheduler /opt/yunion/bin/scheduler
ADD ./_output/alpine-build/bin/scheduler /opt/yunion/bin/scheduler

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v1.0
ADD ./_output/bin/telegraf-raid-plugin /opt/yunion/bin/telegraf-raid-plugin

View File

@@ -0,0 +1,16 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/torrent /opt/yunion/bin/torrent

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.4-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.4-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:v0.2
ADD ./_output/bin/webconsole /opt/yunion/bin/webconsole
ADD ./_output/alpine-build/bin/webconsole /opt/yunion/bin/webconsole

View File

@@ -1,4 +1,4 @@
FROM yunion/kubectl:1.14.3
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

@@ -1,4 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/yunionconf /opt/yunion/bin/yunionconf
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/alpine-build/bin/yunionconf /opt/yunion/bin/yunionconf

View File

@@ -0,0 +1,18 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/host
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.3
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/host /opt/yunion/bin/host

View File

@@ -0,0 +1,2 @@
_output/alpine-build/_cache

View File

@@ -0,0 +1,25 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/torrent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/torrent /opt/yunion/bin/torrent

1
build/fetcherfs/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Fetcherfs Utility"

View File

@@ -0,0 +1,9 @@
{{.title}}
策略名称: {{.name}}
触发时间: {{.start_time}}
报警级别: {{.level}}
触发条件: {{.description | unescaped}}
资源数量:{{len .matches}}
资源名称:{{.resource_name}}
详情地址: {{.web_url}}

View File

@@ -0,0 +1,138 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{.Title}}</title>
</head>
<style>
.title {
height: 40px;
line-height: 40px;
width: 960px;
background-color: #4da1ff;
color: #fff;
font-size: 16px;
text-align: center;
margin: 0 auto;
}
.table {
width: 960px;
margin: 0 auto;
padding: 10px 30px 0px 30px;
font-family:'微软雅黑',Helvetica,Arial,sans-serif;
font-size:14px;
background-color: #fbfbfb;
}
.tr-title {
height: 10px;
border-left: 5px solid #4da1ff;
margin-left: 10px;
padding: 3px 8px;
font-weight: bold;
}
.td {
width: 80px;
padding-left: 20px;
height: 35px;
font-weight: 400;
}
.link {
text-decoration: none;
color: #3591FF;
}
.thead-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
background-color: #d7d7d7;
text-align: center;
}
.tbody-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
font-weight: 400;
text-align: center;
}
.pb-3 {
padding-bottom: 30px;
}
.resouce-table {
width: 98%;
color: #717171;
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
}
</style>
<body>
<h3 class="title">报警提醒</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
<tr><td colspan="4" class="tr-title">报警信息</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td class="td">报警策略:</td>
<td>{{.name}}</td>
</tr>
<tr>
<td class="td">报警级别:</td>
<td>{{.level}}</td>
</tr>
<tr>
<td class="td">报警时间:</td>
<td>{{.start_time}}</td>
</tr>
<tr>
<td class="td">策略详情:</td>
<td>{{.description}}</td>
</tr>
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">若要查看详情信息,<a class="link" target="_blank" href="{{.web_url}}
">请登录平台进行查看</a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table pb-3">
<tr><td colspan="4" class="tr-title">报警资源</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td colspan="4" style="padding: 10px 0 0 20px;">
<table cellspacing="0" cellpadding="0" class="resouce-table">
<thead>
<tr class="thead-tr">
<td>名称</td>
<td>IP</td>
<td>平台</td>
<td>触发值</td>
</tr>
</thead>
<tbody>
{{- range $i, $Matche := .matches}}
<tr class="tbody-tr">
<td>
{{- index .tags "name"}}
</td>
<td>
{{ index .tags "ip" }}
</td>
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
</tr>
{{end}}
</tbody>
</table>
</td>
</tr>
<tr><td style="height: 10px;"></td></tr>
</table>
<p style="width: 960px; height: 40px; line-height: 40px; margin: 0 auto; background-color: #4da1ff; color: #fff; font-size: 12px; text-align: center; ">本邮件由系统自动发送,请勿直接回复!</p>
</body>
</html>

View File

@@ -0,0 +1,9 @@
{{.title}}
AlertName: {{.name}}
Time: {{.start_time}}
Level: {{.level}}
TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}

View File

@@ -0,0 +1,145 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{.Title}}</title>
</head>
<style>
.title {
height: 40px;
line-height: 40px;
width: 960px;
background-color: #4da1ff;
color: #fff;
font-size: 16px;
text-align: center;
margin: 0 auto;
}
.table {
width: 960px;
margin: 0 auto;
padding: 10px 30px 0px 30px;
font-family:'微软雅黑',Helvetica,Arial,sans-serif;
font-size:14px;
background-color: #fbfbfb;
}
.tr-title {
height: 10px;
border-left: 5px solid #4da1ff;
margin-left: 10px;
padding: 3px 8px;
font-weight: bold;
}
.td {
width: 120px;
padding-left: 20px;
height: 35px;
font-weight: 400;
}
.link {
text-decoration: none;
color: #3591FF;
}
.thead-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
background-color: #d7d7d7;
text-align: center;
}
.tbody-tr td {
border-left: 1px solid #d7d7d7;
border-top: 1px solid #d7d7d7;
height: 32px;
font-size: 14px;
font-weight: 400;
text-align: center;
}
.pb-3 {
padding-bottom: 30px;
}
.resouce-table {
width: 98%;
color: #717171;
border-right: 1px solid #d7d7d7;
border-bottom: 1px solid #d7d7d7;
}
</style>
<body>
<h3 class="title">Alert</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
<tr><td colspan="4" class="tr-title">Alert info</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td class="td">Alarm strategy</td>
<td>{{.name}}</td>
</tr>
<tr>
<td class="td">Alarm level</td>
<td>{{.level}}</td>
</tr>
<tr>
<td class="td">Alarm time</td>
<td>{{.start_time}}</td>
</tr>
<tr>
<td class="td">Strategy details</td>
<td>{{.description}}</td>
</tr>
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">To view details<a class="link" target="_blank" href="{{.web_url}}
">Please login to the platform to view</a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table pb-3">
<tr><td colspan="4" class="tr-title">Alarm resources</td></tr>
<tr><td style="height: 10px;"></td></tr>
<tr>
<td colspan="4" style="padding: 10px 0 0 20px;">
<table cellspacing="0" cellpadding="0" class="resouce-table">
<thead>
<tr class="thead-tr">
<td>Name</td>
<td>IP</td>
<td>Brand</td>
<td>Trigger value</td>
</tr>
</thead>
<tbody>
{{- range $i, $Matche := .matches}}
<tr class="tbody-tr">
<td>
{{- index .tags "name"}}
</td>
<td>
{{ index .tags "ip" }}
</td>
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</td>
</tr>
{{end}}
</tbody>
</table>
</td>
</tr>
<tr><td style="height: 10px;"></td></tr>
</table>
<p style="width: 960px; height: 40px; line-height: 40px; margin: 0 auto; background-color: #4da1ff; color: #fff; font-size: 12px; text-align: center; ">This email is sent automatically by the system. Please do not reply directly</p>
</body>
</html>

View File

@@ -0,0 +1 @@
{{.title}}

View File

@@ -0,0 +1 @@
{{.title}}

View File

@@ -47,16 +47,13 @@
</td>
</tr>
<tr>
<td style="padding-bottom: 10px;">请点击下面的链接,完成用户邮箱的激活:</td>
</tr>
<tr>
<td style="padding-bottom: 30px;"><a href="{{.link}}">{{.link}}</a></td>
<td style="padding-bottom: 10px;">您正在验证邮箱,请在验证码输入框中输入:{{.code}},以完成验证。</td>
</tr>
</table>
</td>
</tr>
<tr style="width: 96%;">
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">*为了确保您的帐号安全该链接仅48小时内访问有效请勿直接回复此邮件。</td>
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">如非本人操作,请及时登录平台并修改密码以保证账户的安全</td>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>

View File

@@ -0,0 +1 @@
{{.os_type}} image {{.name}} upload completed

View File

@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table style="width: 650px; margin-bottom: 20px;" border="0" cellpadding="0" cellspacing="0" align="center">
<tr style="height: 50px; background: #333; overflow: hidden;">
<td>
<table style="margin-left: 20px;">
<tr>
<td>
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="" style="color: #fff; height: 32px; vertical-align: middle;">
</td>
</tr>
</table>
</td>
<td>
<table style="float: right;">
<tr>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Product</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Solution</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Service</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">Help and Documentation</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">About</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 100%;" colspan="2">
<table style="padding: 20px 10px; width: 100%;">
<tr>
<td style="padding-bottom: 13px;">
Dear {{.name}}
</td>
</tr>
<tr>
<td style="padding-bottom: 13px;">You are verifying your email, please enter the following code on the email verification page:</td>
</tr>
<tr>
<td style="padding-bottom: 10px; font-size: large">{{.code}}</td>
</tr>
</table>
</td>
</tr>
<tr style="width: 96%;">
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">If you are not operating by yourself, please log in to the platform in time and change your password to ensure the security of your account.</td>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">Copyrights © {{.copyright}}. All rights reserved.</td>
</tr>
</table>
</body>
</html>

View File

@@ -1 +0,0 @@
Yunion Verify

View File

@@ -0,0 +1 @@
{{.copyright}} Verify

View File

@@ -0,0 +1 @@
Image {{.name}} upload completed

View File

@@ -0,0 +1 @@
{{.copyright}} Verify

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}的套餐类型已经更改为 CPU:{{ index .flavor_info "cpu" }}核,内存:{{ index .flavor_info "memory" }}M数据盘:{{ index .flavor_info "datadisk" }}G带宽: {{ index .flavor_info "ebw" }}M。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}已经创建成功服务器IP地址为{{ .ips }}{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问ssh密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问云主机。

View File

@@ -1 +0,0 @@
项目{{ .tenant }}的{{ .brand }}主机{{ .name }}已经创建成功。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}已经删除。

View File

@@ -1 +0,0 @@
项目{{ .tenant }}的{{ .brand }}主机{{ .name }}已经删除。

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}系统崩溃了: {{ .reason }}

View File

@@ -1 +0,0 @@
您的{{ .brand }}主机{{ .name }}重装系统成功,{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问云主机。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}的套餐类型已经更改为 CPU:{{ index .flavor_info "cpu" }}核,内存:{{ index .flavor_info "memory" }}M数据盘:{{ index .flavor_info "datadisk" }}G带宽: {{ index .flavor_info "ebw" }}M。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}已经创建成功虚拟机IP地址为{{ .ips }}{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问ssh密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问虚拟机。

View File

@@ -0,0 +1 @@
项目{{ .tenant }}的{{ .brand }}虚拟机{{ .name }}已经创建成功。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}已经删除。

View File

@@ -0,0 +1 @@
项目{{ .tenant }}的{{ .brand }}虚拟机{{ .name }}已经删除。

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}系统崩溃了: {{ .reason }}

View File

@@ -0,0 +1 @@
您的{{ .brand }}虚拟机{{ .name }}重装系统成功,{{ if .account }}初始帐号为{{ .account }}{{ end }}{{ if .keypair }}访问密钥为{{ .keypair }}{{ end }}{{ if .password }}初始密码为{{ .password }}{{ end }}请使用{{ if .windows }}远程桌面连接器(RDC){{ else }}SSH{{ end }}或控制面板控制台访问虚拟机。

View File

@@ -0,0 +1 @@
The instance type of your {{ .brand }} virtual machine {{ .name }} has been changed to: {{ index .flavor_info "cpu" }}-core CPU, {{ index .flavor_info "memory" }}M memory, {{ index .flavor_info "datadisk" }}G data disk, {{ index .flavor_info "ebw" }}M bandwidth.

View File

@@ -0,0 +1 @@
Your {{ .brand }} virtual machine {{ .name }} has been created successfully. The VM's IP address is {{ .ips }}, {{ if .account }}initial account is {{ .account }}, {{ end }}{{ if .keypair }}the access ssh key is {{ .keypair }}, {{ end }}{{ if .password }}the initial password is {{ .password }}, {{ end }}and please use {{ if .windows }}Remote Desktop Connector (RDC){{ else }}SSH{{ end }} or the control panel console to access the VM.

Some files were not shown because too many files have changed in this diff Show More