Commit Graph
3515 Commits
Author SHA1 Message Date
Yousong Zhou 8009857c8a cloudprovider: use ProviderConfig 2020-03-25 17:16:35 +08:00
Zexi Li 4ec48d5a66 Merge pull request #5568 from tb365/automated-cherry-pick-of-#5567-upstream-release-3.1
Automated cherry pick of #5567: ctyun bugfix
2020-03-20 19:39:58 +08:00
wanyaoqi c2a82bd9cd guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:10:47 +08:00
tangbin 26ac56c1a6 ctyun bugfix 2020-03-20 10:30:48 +08:00
Qu Xuan 6367d20757 fix: 避免dbinstance_sku.get 异常 2020-03-17 17:04:13 +08:00
Zexi Li ce7212a798 Merge pull request #5507 from swordqiu/automated-cherry-pick-of-#5506-upstream-release-3.1
Automated cherry pick of #5506: fix: recode cloudprovider usable filter
2020-03-17 11:39:47 +08:00
yunion-ci-robot e0c6ea920d Merge pull request #5530 from ioito/automated-cherry-pick-of-#5529-upstream-release-3.1
Automated cherry pick of #5529: fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:22:14 +08:00
yunion-ci-robot cafc8dedc7 Merge pull request #5524 from ioito/automated-cherry-pick-of-#5452-upstream-release-3.1
Automated cherry pick of #5452: fix: 优化rds sku同步逻辑
2020-03-16 15:25:14 +08:00
Zexi Li 5f168a76af Merge pull request #5518 from swordqiu/automated-cherry-pick-of-#5517-upstream-release-3.1
Automated cherry pick of #5517: fix: storage details missing capacity fields since 3.1
2020-03-16 13:00:59 +08:00
Qu Xuan 0570476c5c fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:29:44 +08:00
Qu Xuan 2d641b4e30 fix: 优化rds sku同步逻辑 2020-03-16 10:33:38 +08:00
Qu Xuan 4b472cfd30 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:12:44 +08:00
Qiu Jian 04e79b5140 fix: storage details missing capacity fields since 3.1 2020-03-14 22:02:29 +08:00
Qiu Jian d7fd2b7d8c fix: recode cloudprovider usable filter 2020-03-14 09:04:32 +08:00
wanyaoqi 9a3df26dc1 download handler set no timeout 2020-03-13 11:40:18 +08:00
yunion-ci-robot 49d73df622 Merge pull request #5469 from zexi/automated-cherry-pick-of-#5458-upstream-release-3.1
Automated cherry pick of #5458: region: baremetal convert host join as k8s node
2020-03-12 20:51:15 +08:00
wanyaoqi 51216bdc80 region misc fix 2020-03-12 16:49:22 +08:00
Zexi Li 3c7917425b region: baremetal convert host join as k8s node 2020-03-12 16:32:20 +08:00
Zexi Li 3b29ecb087 region: host update storage set enabled 2020-03-11 15:58:32 +08:00
yunion-ci-robot 0eb4468c79 Merge pull request #5430 from ioito/automated-cherry-pick-of-#5429-upstream-release-3.1
Automated cherry pick of #5429: fix: typo for sku sync
2020-03-10 11:15:58 +08:00
Qu Xuan 776438f682 fix: typo for sku sync 2020-03-09 19:58:42 +08:00
Rain 321e54def0 fix(esxi): Add two account with same account name 2020-03-09 17:59:25 +08:00
Qiu Jian 188662cd51 fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 16:06:26 +08:00
Yousong Zhou 2e0efc6c4a lbbackend: fix nil ref when getting details
Return arguments of lbbackend.getVpc() can be both nil

	[E 200224 10:13:18 httperrors.HTTPError(httperrors.go:53)] Send error {"fields":["runtime error: invalid memory address or nil pointer dereference"],"id":"Internal server error: {0}"}
	...
	panic(0x27da0c0, 0x57f4ff0)
		/usr/local/go/src/runtime/panic.go:522 +0x1b5
	yunion.io/x/onecloud/pkg/compute/models.(*SLoadbalancerBackend).GetExtraDetails(0xc0002af680, 0x33cde20, 0xc0010e61e0, 0x34246c0, 0xc008893de0, 0x341d940, 0xc012fe69d0, 0x1, 0x0, 0x0, ...)
		/data/git/yunion-build/work/go/src/yunion.io/x/onecloud/pkg/compute/models/loadbalancerbackends.go:314 +0x37c
	reflect.Value.call(0x2d87a00, 0xc0002af680, 0x8a13, 0x2db0aa8, 0x4, 0xc0044ad680, 0x4, 0x4, 0x2bd5d60, 0xc002a29cf0, ...)
		/usr/local/go/src/reflect/value.go:447 +0x461
	reflect.Value.Call(0x2d87a00, 0xc0002af680, 0x8a13, 0xc0044ad680, 0x4, 0x4, 0x2d87a00, 0xc0002af680, 0x16)
		/usr/local/go/src/reflect/value.go:308 +0xa4
	yunion.io/x/onecloud/pkg/cloudcommon/db.callFunc(0x2d87a00, 0xc0002af680, 0x8a13, 0xc000951688, 0x4, 0x4, 0xc0002af680, 0x8a13, 0x2dc0527, 0xb, ...)
		/data/git/yunion-build/work/go/src/yunion.io/x/onecloud/pkg/cloudcommon/db/caller.go:78 +0x397
	...
	[I 200224 10:13:18 appsrv.(*Application).ServeHTTP(appsrv.go:237)] MfQCvNyik-obRBzFjFZy5ARfXcE= 500 5c1d82 GET /loadbalancerbackends?backend_group=Yunion-Tools&details=true&limit=20&offset=0 (10.40.156.64:57606) 57.90ms

Fixes 76d974f6d ("feature: api -> response struct")
2020-03-06 13:36:06 +08:00
wanyaoqi 608be69260 fix disk billing type on guest is postpaid 2020-03-05 20:33:19 +08:00
wanyaoqi 7f467ab3a7 enable network list filter by host show vpc networks 2020-03-05 19:33:17 +08:00
Zexi Li 112eb0d7ae Merge pull request #5325 from swordqiu/automated-cherry-pick-of-#5324-upstream-release-3.1
Automated cherry pick of #5324: fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:18 +08:00
Qiu Jian 60ef016f42 fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:12:49 +08:00
Qu Xuan e14a596d9f fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:09:13 +08:00
wanyaoqi 75e49ac8c6 fix get remote address because of request is proxyed by k8s 2020-02-28 22:27:16 +08:00
TangBin d34b00ddc4 vpc list add param vpc_usable 2020-02-28 12:10:54 +08:00
yunion-ci-robot e8dc05084a Merge pull request #5276 from ioito/automated-cherry-pick-of-#5275-upstream-release-3.1
Automated cherry pick of #5275: fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置
2020-02-28 09:34:19 +08:00
TangBin 7e7825a681 huawei secgroup default vpc id fix 2020-02-27 19:32:10 +08:00
Qu Xuan 4ec1fc58d9 fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置 2020-02-27 16:53:10 +08:00
yunion-ci-robot 54caca2d04 Merge pull request #5262 from tb365/automated-cherry-pick-of-#5261-upstream-release-3.1
Automated cherry pick of #5261: ctyun get vm by id fix
2020-02-27 07:19:13 +08:00
yunion-ci-robot 40773180fa Merge pull request #5239 from wanyaoqi/automated-cherry-pick-of-#5238-upstream-release-3.1
Automated cherry pick of #5238: fix host init set reserve memory
2020-02-26 23:13:13 +08:00
yunion-ci-robot 32411bf2ec Merge pull request #5237 from tb365/automated-cherry-pick-of-#5236-upstream-release-3.1
Automated cherry pick of #5236: huawei & ctyun security group sync fix
2020-02-26 21:04:13 +08:00
TangBin b1c4bc276f ctyun eip charge type fix 2020-02-26 17:40:56 +08:00
yunion-ci-robot b40be2608b Merge pull request #5232 from ioito/automated-cherry-pick-of-#5231-upstream-release-3.1
Automated cherry pick of #5231: fix: 添加磁盘回滚snapshot日志
2020-02-26 16:00:15 +08:00
Qiu Jian b395dc8cee fix: use globalEndpointType as default endpoint type 2020-02-25 20:47:15 +08:00
wanyaoqi 92129824c0 fix guest network get desc 2020-02-25 11:25:46 +08:00
TangBin 08f8ce1f7c huawei & ctyun security group sync fix 2020-02-24 20:15:48 +08:00
Qu Xuan 2c5234b97e fix: 添加磁盘回滚snapshot日志 2020-02-24 16:07:28 +08:00
yunion-ci-robot 177ba6cf2c Merge pull request #5225 from tb365/automated-cherry-pick-of-#5224-upstream-release-3.1
Automated cherry pick of #5224: network query by ip fix
2020-02-23 18:52:06 +08:00
TangBin 530b2a1422 network query by ip fix 2020-02-21 19:00:27 +08:00
wanyaoqi 1eba8b8a7e region misc fix:
- guest postpaid expire support set expire time
- list instance snapshot sub snapshot return size
2020-02-21 17:45:46 +08:00
Zexi Li b29d6d4f4e Merge pull request #5218 from rainzm/automated-cherry-pick-of-#5217-upstream-release-3.1
Automated cherry pick of #5217: fix: Storage filter not work for Esxi
2020-02-21 16:44:38 +08:00
Rain c727334bc4 fix: Storage filter not work for Esxi
1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
2020-02-21 15:13:18 +08:00
Qu Xuan f6df6d34e0 fix: gcp win os not support change config when vm running 2020-02-20 12:00:06 +08:00
yunion-ci-robot 4fafb8ae75 Merge pull request #5150 from tb365/automated-cherry-pick-of-#5145-upstream-release-3.1
Automated cherry pick of #5145: qcloud elb sync
2020-02-19 16:08:28 +08:00