Compare commits

..

3301 Commits

Author SHA1 Message Date
Zexi Li
e0acd0fc01 Merge pull request #12897 from ioito/automated-cherry-pick-of-#12893-upstream-release-3.5
Automated cherry pick of #12893: fix(region): openstack use proxy
2021-12-14 21:08:59 +08:00
ioito
c698cf6dfa fix(region): openstack use proxy 2021-12-14 14:35:05 +08:00
yunion-ci-robot
2842284c7d Merge pull request #12188 from ioito/automated-cherry-pick-of-#12184-upstream-release-3.5
Automated cherry pick of #12184: fix(region): qcloud database sync
2021-09-10 19:30:29 +08:00
Zexi Li
ae5cecb6f3 Merge pull request #12180 from ioito/automated-cherry-pick-of-#12176-upstream-release-3.5
Automated cherry pick of #12176: fix(region): huawei region id with project name
2021-09-10 19:09:27 +08:00
Qu Xuan
f93b4ef6fc fix(region): qcloud database sync 2021-09-10 18:35:39 +08:00
Qu Xuan
92503db52a fix(region): 不能通过华为云用户创建时间判断云账号注册时间 2021-09-10 17:19:30 +08:00
Qu Xuan
cd455545d2 fix(region): huawei region id with project name 2021-09-10 17:19:08 +08:00
Zexi Li
b86d0ceffd Merge pull request #12013 from ioito/automated-cherry-pick-of-#12009-upstream-release-3.5
Automated cherry pick of #12009: fix(region): aliyun rds network sync
2021-08-25 20:19:10 +08:00
Qu Xuan
fdb9e20c64 fix(region): aliyun rds network sync 2021-08-25 18:56:29 +08:00
Zexi Li
c7cc8181f2 Merge pull request #11957 from ioito/automated-cherry-pick-of-#11954-upstream-release-3.5
Automated cherry pick of #11954: fix(region): sync with multi worker
2021-08-19 16:12:08 +08:00
Qu Xuan
a52f90cf56 fix(region): sync with multi worker 2021-08-19 15:37:50 +08:00
Zexi Li
8e543365ed Merge pull request #11886 from ioito/automated-cherry-pick-of-#11883-upstream-release-3.5
Automated cherry pick of #11883: fix(region): azure vm disk size
2021-08-12 21:03:42 +08:00
Qu Xuan
76101bf1bd fix(region): azure vm disk size 2021-08-12 20:39:41 +08:00
Zexi Li
96448eb289 Merge pull request #11836 from ioito/automated-cherry-pick-of-#11832-upstream-release-3.5
Automated cherry pick of #11832: fix(region): sync openstack multi zone storages
2021-08-07 14:29:45 +08:00
Qu Xuan
53c65c317f fix(region): sync openstack multi zone storages 2021-08-06 16:16:45 +08:00
Zexi Li
f8618b8732 Merge pull request #11811 from ioito/automated-cherry-pick-of-#11808-upstream-release-3.5
Automated cherry pick of #11808: fix(region): avoid get openstack hostid panic
2021-08-05 17:18:41 +08:00
Qu Xuan
d2f5acc1ce fix(region): avoid get openstack hostid panic 2021-08-05 14:20:36 +08:00
Zexi Li
0e9f95358b Merge pull request #11764 from rainzm/automated-cherry-pick-of-#11761-upstream-release-3.5
Automated cherry pick of #11761: fix: avoid double counting when compute networks nic count
2021-07-31 11:38:44 +08:00
rainzm
74038e6afb fix: avoid double counting when compute networks nic count 2021-07-30 20:08:46 +08:00
Zexi Li
d967dc80af Merge pull request #11723 from ioito/automated-cherry-pick-of-#11720-upstream-release-3.5
Automated cherry pick of #11720: fix(region): openstack ip pre allocate
2021-07-26 18:44:09 +08:00
Qu Xuan
9d65c20acd fix(region): openstack ip pre allocate 2021-07-26 15:28:55 +08:00
Zexi Li
da8f024041 Merge pull request #11718 from ioito/automated-cherry-pick-of-#11715-upstream-release-3.5
Automated cherry pick of #11715: fix(region): cpu desc too long
2021-07-26 14:36:14 +08:00
Qu Xuan
e6f32bb362 fix(region): cpu desc too long 2021-07-26 10:06:49 +08:00
Zexi Li
6d02364baa Merge pull request #11710 from ioito/automated-cherry-pick-of-#11707-upstream-release-3.5
Automated cherry pick of #11707: fix(region): update qcloud secgroup rule
2021-07-23 18:22:36 +08:00
Qu Xuan
627fb431c3 fix(region): update qcloud secgroup rule 2021-07-23 17:36:04 +08:00
Zexi Li
35749863f1 Merge pull request #11704 from ioito/automated-cherry-pick-of-#11701-upstream-release-3.5
Automated cherry pick of #11701: fix(region): azure quota sync
2021-07-23 14:22:30 +08:00
Zexi Li
f3181c842e Merge pull request #11706 from ioito/hotfix/qx-sec-sync
fix(region): v3.5 sec group fix
2021-07-23 14:20:42 +08:00
Qu Xuan
9361d9e570 fix(region): v3.5 sec group fix 2021-07-23 14:11:52 +08:00
Qu Xuan
ab508e0377 fix(region): azure quota sync 2021-07-22 19:36:11 +08:00
Zexi Li
6a2183f0fd Merge pull request #11677 from ioito/automated-cherry-pick-of-#11674-upstream-release-3.5
Automated cherry pick of #11674: fix(region): rds network sync
2021-07-20 21:14:13 +08:00
Qu Xuan
5ce6350055 fix(region): return rds networks info 2021-07-19 17:31:16 +08:00
Qu Xuan
48430eb37c fix(region): rds network sync 2021-07-19 17:31:16 +08:00
Zexi Li
6de175f4d3 Merge pull request #11670 from ioito/automated-cherry-pick-of-#11667-upstream-release-3.5
Automated cherry pick of #11667: fix(keystone): avoid sql error
2021-07-19 14:22:10 +08:00
Qu Xuan
507967d6dd fix(keystone): avoid sql error 2021-07-19 14:06:32 +08:00
Zexi Li
504d57929f Merge pull request #11656 from ioito/automated-cherry-pick-of-#11274-upstream-release-3.5
Automated cherry pick of #11274: fix(region): disable public cloud ip pre allocate
2021-07-15 17:26:05 +08:00
Qu Xuan
adfa1431a7 fix(region): disable public cloud ip pre allocate 2021-07-15 17:06:28 +08:00
yunion-ci-robot
002e433298 Merge pull request #11533 from ioito/automated-cherry-pick-of-#11530-upstream-release-3.5
Automated cherry pick of #11530: fix(webconsole): aliyun vnc windows ctl+alt+del
2021-06-30 23:58:12 +08:00
Qu Xuan
d948d60262 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 21:04:59 +08:00
Zexi Li
aa491e1a03 Merge pull request #11512 from rainzm/automated-cherry-pick-of-#11509-upstream-release-3.5
Automated cherry pick of #11509: fix: get datacenter of host via GetDatacenter
2021-06-28 19:35:52 +08:00
rainzm
4d56241ddd fix: get datacenter of host via GetDatacenter 2021-06-28 18:18:10 +08:00
Zexi Li
4249aa3bdb Merge pull request #11497 from rainzm/automated-cherry-pick-of-#11496-upstream-release-3.5
Automated cherry pick of #11496: fix: Remove the nat gateway when computing network usage
2021-06-28 13:12:32 +08:00
rainzm
93fcbf0bf6 fix: Remove the nat gateway when computing network usage 2021-06-28 12:32:16 +08:00
Zexi Li
734df72154 Merge pull request #10971 from rainzm/automated-cherry-pick-of-#10970-upstream-release-3.5
Automated cherry pick of #10970: feat(scheduler): optimize the speed of network predicate
2021-06-25 18:28:02 +08:00
rainzm
c022bb2829 feat: add interface INetworkNicCountGetter 2021-06-25 16:00:19 +08:00
rainzm
4511fc39ba feat(scheduler): optimize the speed of network predicate 2021-06-25 16:00:19 +08:00
Zexi Li
2940581ea4 Merge pull request #11476 from rainzm/region/sync_faster_v3.5
Sync VMware resource faster For v3.5
2021-06-24 10:02:13 +08:00
rainzm
6aca7bfe12 feat(esxi): reduce the number of requests and the amount of data transferred 2021-06-23 17:10:47 +08:00
rainzm
4abe94dfc1 feat(region): add ProhibitRefreshingCloudImage for options 2021-06-23 17:10:47 +08:00
Zexi Li
982eed6d34 Merge pull request #11466 from ioito/automated-cherry-pick-of-#11463-upstream-release-3.5
Automated cherry pick of #11463: fix(hostman): show server status changed reason
2021-06-23 10:53:38 +08:00
Qu Xuan
4f4be386e5 fix(hostman): show server status changed reason 2021-06-22 17:57:16 +08:00
Zexi Li
a3c02cb76b Merge pull request #11405 from ioito/automated-cherry-pick-of-#11404-upstream-release-3.5
Automated cherry pick of #11404: fix(region): ignore qcloud bw pkg error
2021-06-16 20:09:53 +08:00
Zexi Li
35fdde9eb0 Merge pull request #11409 from yousong/automated-cherry-pick-of-#11406-upstream-release-3.5
Automated cherry pick of #11406: webconsole: wait zombies
2021-06-16 20:09:11 +08:00
Yousong Zhou
6d51dab0a3 webconsole: wait zombies 2021-06-16 19:34:42 +08:00
Yousong Zhou
a6d6155217 Merge pull request #11270 from yousong/automated-cherry-pick-of-#10849-upstream-release-3.5
Automated cherry pick of #10849: Feature/yousong zombie
2021-06-16 19:30:11 +08:00
Qu Xuan
3d0517fcee fix(region): ignore qcloud bw pkg error 2021-06-16 18:19:10 +08:00
Zexi Li
18bd3c02d2 Merge pull request #11395 from ioito/automated-cherry-pick-of-#11376-upstream-release-3.5
Automated cherry pick of #11376: fix(region): qcloud bandwidth pkg
2021-06-15 16:29:51 +08:00
Qu Xuan
c0674fd947 fix(region): qcloud bandwidth pkg 2021-06-11 19:18:35 +08:00
Zexi Li
5c1026c6ad Merge pull request #11344 from ioito/automated-cherry-pick-of-#11340-upstream-release-3.5
Automated cherry pick of #11340: fix(cloudid): huawei group role attach and detach
2021-06-08 23:15:23 +08:00
Zexi Li
38ff8d1ee1 Merge pull request #11352 from ioito/automated-cherry-pick-of-#11349-upstream-release-3.5
Automated cherry pick of #11349: fix(cloudid): avoid duplicate create saml provider
2021-06-08 23:14:08 +08:00
Zexi Li
767f9a84fc Merge pull request #11360 from ioito/automated-cherry-pick-of-#11359-upstream-release-3.5
Automated cherry pick of #11359: fix(region): avoid update storage conf not work
2021-06-08 23:09:50 +08:00
Zexi Li
e52ed0eb7a Merge pull request #11364 from ioito/automated-cherry-pick-of-#11361-upstream-release-3.5
Automated cherry pick of #11361: fix(region): validate disk status when create snapshot
2021-06-08 23:08:28 +08:00
Qu Xuan
81017e384d fix(region): validate disk status when create snapshot 2021-06-08 20:09:56 +08:00
Qu Xuan
3a6f4a18a7 fix(region): avoid update storage conf not work 2021-06-08 17:47:06 +08:00
Qu Xuan
315394dd26 fix(cloudid): avoid duplicate create saml provider 2021-06-08 14:20:18 +08:00
Qu Xuan
8a05092aff fix(cloudid): huawei group role attach and detach 2021-06-07 18:18:57 +08:00
Zexi Li
3e9c09ab73 Merge pull request #11302 from swordqiu/automated-cherry-pick-of-#11299-upstream-release-3.5
Automated cherry pick of #11299: fix: hpssacli should skip empty slots
2021-06-04 21:04:39 +08:00
Qiu Jian
bb8186c6f8 fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:37:29 +08:00
Zexi Li
2d10a913aa Merge pull request #11286 from ioito/hotfix/qx-avoid-region-restart
fix(region): avoid region service restart
2021-06-03 11:44:03 +08:00
Qu Xuan
4cc2a61412 fix(region): avoid region service restart 2021-06-02 19:59:17 +08:00
Zexi Li
a57471559a Merge pull request #11278 from swordqiu/automated-cherry-pick-of-#11268-upstream-release-3.5
Automated cherry pick of #11268: fix: windows resize file system
2021-06-01 11:55:20 +08:00
Qiu Jian
55ee0705ef fix: windows resize file system 2021-06-01 00:02:23 +08:00
Yousong Zhou
0b8988a1ff treewide: wait possible zombies 2021-05-31 10:16:31 +08:00
Yousong Zhou
941f502960 procutils: WaitZombieLoop: remove unneeded info request 2021-05-31 10:16:31 +08:00
Yousong Zhou
d7dcb74588 procutils: WaitZombieLoop: less verbose iota 2021-05-31 10:16:31 +08:00
Yousong Zhou
1273eff885 procutils: WaitZombieLoop: use const str "1" for my pid 2021-05-31 10:16:31 +08:00
Yousong Zhou
0a2f146916 procutils: add WaitZombieLoop 2021-05-31 10:16:31 +08:00
Zexi Li
a8fa976a66 Merge pull request #11248 from swordqiu/automated-cherry-pick-of-#11245-upstream-release-3.5
Automated cherry pick of #11245: fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:43 +08:00
Qiu Jian
fe0f75f4ad fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:40:47 +08:00
Zexi Li
3c72949d6c Merge pull request #11222 from ioito/automated-cherry-pick-of-#11219-upstream-release-3.5
Automated cherry pick of #11219: fix(host): avoid delete removed disk failed
2021-05-26 14:22:09 +08:00
Qu Xuan
3a65028e79 fix(host): avoid delete removed disk failed 2021-05-25 21:03:04 +08:00
Zexi Li
ecb9a97b0c Merge pull request #11204 from ioito/automated-cherry-pick-of-#11201-upstream-release-3.5
Automated cherry pick of #11201: fix(region): show azure deploy failed error
2021-05-25 19:09:02 +08:00
Qu Xuan
e3f8bf83be fix(region): show azure deploy failed error 2021-05-25 10:35:43 +08:00
Zexi Li
eeea4eaaa9 Merge pull request #11197 from ioito/automated-cherry-pick-of-#11196-upstream-release-3.5
Automated cherry pick of #11196: fix(cloudid): avoid location missing api-version
2021-05-24 18:17:33 +08:00
Qu Xuan
c7b53299cd fix(cloudid): avoid location missing api-version 2021-05-24 16:04:48 +08:00
Zexi Li
903e268164 Merge pull request #11182 from zhaoxiangchun/feature/zxc-tk-3.5
fix(monitor): 3.5 monitor query throw err when select domain or project
2021-05-24 10:16:11 +08:00
zhaoxiangchun
7521d164fa fix(monitor): 3.5 monitor query throw err when select domain or project 2021-05-21 12:33:49 +08:00
Zexi Li
c9be943a5f Merge pull request #11026 from zhaoxiangchun/automated-cherry-pick-of-#11025-upstream-release-3.5
Automated cherry pick of #11025: feat(monitor): add storage monitor metric
2021-05-20 09:54:18 +08:00
Zexi Li
eccc9d8556 Merge pull request #11163 from ioito/automated-cherry-pick-of-#11160-upstream-release-3.5
Automated cherry pick of #11160: fix(region): check sku request error
2021-05-19 23:31:43 +08:00
Qu Xuan
cfb951ad76 fix(region): check sku request error 2021-05-19 19:27:32 +08:00
Zexi Li
510a4a98e6 Merge pull request #11157 from ioito/automated-cherry-pick-of-#11154-upstream-release-3.5
Automated cherry pick of #11154: fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:31 +08:00
Qu Xuan
e8f8b88104 fix(region): avoid azure secgroup sync removed 2021-05-19 15:58:39 +08:00
Zexi Li
f44098a191 Merge pull request #11151 from rainzm/automated-cherry-pick-of-#11150-upstream-release-3.5
Automated cherry pick of #11150: feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:42 +08:00
rainzm
51a88c018d feat(ansible): add rolePublic and timeout options 2021-05-19 11:36:02 +08:00
Zexi Li
fd891c1a24 Merge pull request #11137 from ioito/automated-cherry-pick-of-#11134-upstream-release-3.5
Automated cherry pick of #11134: fix(cloudid): clouduser use default domain
2021-05-18 15:56:51 +08:00
Qu Xuan
ac2e3fbe9f fix(cloudid): clouduser use default domain 2021-05-18 15:20:47 +08:00
Zexi Li
c20b02f73e Merge pull request #11129 from rainzm/automated-cherry-pick-of-#11126-upstream-release-3.5
Automated cherry pick of #11126: fix(region): check whether the disks of the instance snapshot is empty when creating vm
2021-05-17 22:36:31 +08:00
rainzm
05aaf7d721 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:29:34 +08:00
Zexi Li
b5add4df46 Merge pull request #11104 from ioito/automated-cherry-pick-of-#11101-upstream-release-3.5
Automated cherry pick of #11101: fix(region): optimized server sku sku
2021-05-17 10:08:30 +08:00
Zexi Li
19cc8ae952 Merge pull request #11118 from rainzm/automated-cherry-pick-of-#11116-upstream-release-3.5
Automated cherry pick of #11116: webhook fix
2021-05-17 10:07:34 +08:00
Zexi Li
88f3218fb1 Merge pull request #11110 from rainzm/esxi/copydisk35
Automated cherry pick of #11107: fix(esxiagent): make the copied disk type as thin
2021-05-17 10:07:13 +08:00
rainzm
99e6bcee17 fix(region): send webhook when the creation task is completely completed 2021-05-14 17:06:33 +08:00
rainzm
6f36f27e2f fix(region): send webhook notification when delete dbinstance 2021-05-14 17:06:33 +08:00
rainzm
ab04d59e1c fix(esxiagent): make the copied disk type as thin …
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 15:16:49 +08:00
Qu Xuan
fdf9896ca6 fix(region): optimized server sku sku 2021-05-13 20:59:11 +08:00
Zexi Li
4e062ed64f Merge pull request #11100 from ioito/automated-cherry-pick-of-#11097-upstream-release-3.5
Automated cherry pick of #11097: fix(region): allow update sku status
2021-05-13 20:28:06 +08:00
Qu Xuan
fa901e3df4 fix(region): allow update sku status 2021-05-13 19:46:16 +08:00
Zexi Li
d8d9c22c84 Merge pull request #11035 from ioito/automated-cherry-pick-of-#11032-upstream-release-3.5
Automated cherry pick of #11032: fix(region): aliyun vpc endpoint
2021-05-13 18:51:56 +08:00
Zexi Li
a90de9a378 Merge pull request #11056 from ioito/automated-cherry-pick-of-#11053-upstream-release-3.5
Automated cherry pick of #11053: fix(region): optimized sku sched clear
2021-05-13 18:50:45 +08:00
Qu Xuan
bca779b703 fix(region): optimized sku sched clear 2021-05-13 11:09:06 +08:00
Qu Xuan
59a667e547 fix(region): aliyun vpc endpoint 2021-05-12 16:30:56 +08:00
Zexi Li
0e519a53a2 Merge pull request #11038 from rainzm/sp/context
fix(region): add context for syncCloudproviderRegions
2021-05-12 12:01:13 +08:00
rainzm
ae43080caa fix(region): add context for syncCloudproviderRegions 2021-05-11 18:05:08 +08:00
zhaoxiangchun
58ff997fff Delete alertquery_const.go 2021-05-10 16:35:33 +08:00
zhaoxiangchun
d1ca3922fd feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-10 16:31:28 +08:00
Zexi Li
fec84e57cb Merge pull request #10999 from rainzm/automated-cherry-pick-of-#10996-upstream-release-3.5
Automated cherry pick of #10996: fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot
2021-05-10 12:05:55 +08:00
Zexi Li
76119bf4e9 Merge pull request #11003 from ioito/automated-cherry-pick-of-#11000-upstream-release-3.5
Automated cherry pick of #11000: fix(region): wire sql fix
2021-05-08 16:10:25 +08:00
Qu Xuan
20d6881a87 fix(region): wire sql fix 2021-05-08 15:50:12 +08:00
rainzm
85233525d1 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:10:41 +08:00
Zexi Li
c279b90a3f Merge pull request #10959 from ioito/automated-cherry-pick-of-#10956-upstream-release-3.5
Automated cherry pick of #10956: fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:22 +08:00
Qu Xuan
13df278879 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:38:54 +08:00
Zexi Li
a218e1a385 Merge pull request #10946 from zexi/automated-cherry-pick-of-#10941-upstream-release-3.5
Automated cherry pick of #10941: fix(region): download cached image from source host before migrating
2021-04-27 20:09:30 +08:00
Zexi Li
b7305ad628 Merge pull request #10951 from ioito/automated-cherry-pick-of-#10944-upstream-release-3.5
Automated cherry pick of #10944: fix(region): tag list key case insensitive
2021-04-27 17:21:21 +08:00
Zexi Li
c1803b9ede fix(region): download cached image from source host before migrating 2021-04-27 17:15:37 +08:00
Qu Xuan
accb658173 fix(region): tag list key case insensitive 2021-04-27 14:07:03 +08:00
Zexi Li
473721ccfd Merge pull request #10931 from ioito/automated-cherry-pick-of-#10928-upstream-release-3.5
Automated cherry pick of #10928: fix(region): account arrears
2021-04-26 19:08:31 +08:00
Qu Xuan
f4910c477c fix(region): account arrears 2021-04-26 18:03:42 +08:00
Zexi Li
8b7dd45342 Merge pull request #10909 from rainzm/automated-cherry-pick-of-#10906-upstream-release-3.5
Automated cherry pick of #10906: fix(region): use special localtask to run time-consuming provider synchronization task
2021-04-23 17:39:30 +08:00
rainzm
8eb96c880f fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:04:18 +08:00
Zexi Li
f0c0171646 Merge pull request #10874 from rainzm/automated-cherry-pick-of-#10873-upstream-release-3.5
Automated cherry pick of #10873: Support direct detection and creation of network for vmware
2021-04-22 21:10:32 +08:00
Zexi Li
6aa4a81a11 Merge pull request #10896 from rainzm/automated-cherry-pick-of-#10893-upstream-release-3.5
Automated cherry pick of #10893: fix(region): allow owner to operate snapshotpolicy cache
2021-04-22 21:09:48 +08:00
Zexi Li
61cd35c9ce Merge pull request #10900 from rainzm/automated-cherry-pick-of-#10897-upstream-release-3.5
Automated cherry pick of #10897: fix(region): make SScheduledTaskLabel implement IJointModelManager
2021-04-22 21:08:44 +08:00
rainzm
153aa13508 fix(region): make SScheduledTaskLabel implement IJointModelManager 2021-04-22 18:22:48 +08:00
rainzm
e0f8f5a4b5 feat(region): support to specify zone for the created wire 2021-04-22 17:59:17 +08:00
rainzm
452ef870bd fix(region): Refuse to recommend the corresponding network for the ip that crosses the limit 2021-04-22 17:59:17 +08:00
rainzm
1176fcd902 feat(region): support creating a network with a native vmware network name 2021-04-22 17:59:17 +08:00
rainzm
959813e50c fix(region): allow owner to operate snapshotpolicy cache 2021-04-22 17:39:45 +08:00
Zexi Li
9bdcac51da Merge pull request #10887 from ioito/automated-cherry-pick-of-#10882-upstream-release-3.5
Automated cherry pick of #10882: fix(common): add debug info for lock
2021-04-22 16:51:44 +08:00
Qu Xuan
2559d50694 fix(common): add debug info for lock 2021-04-22 16:10:54 +08:00
Zexi Li
638e0e72ec Merge pull request #10870 from ioito/automated-cherry-pick-of-#10867-upstream-release-3.5
Automated cherry pick of #10867: fix(region): avoid network create failed when vpc is ok but wire not sync
2021-04-22 10:24:31 +08:00
Zexi Li
f773438c00 Merge pull request #10881 from ioito/automated-cherry-pick-of-#10878-upstream-release-3.5
Automated cherry pick of #10878: fix(region): add egress_mbps params for lb
2021-04-22 10:23:44 +08:00
Qu Xuan
1e59705f20 fix(region): add egress_mbps params for lb 2021-04-21 21:46:43 +08:00
Zexi Li
6f20210159 Merge pull request #10866 from rainzm/automated-cherry-pick-of-#10863-upstream-release-3.5
Automated cherry pick of #10863: fix(region): make cloudprovider sync worker configurable
2021-04-21 15:30:29 +08:00
Qu Xuan
aad0aba77a fix(region): avoid network create failed when vpc is ok but wire not sync 2021-04-21 14:57:32 +08:00
rainzm
e58efd40b6 fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:26:39 +08:00
Zexi Li
5235b01855 Merge pull request #10837 from zexi/automated-cherry-pick-of-#10833-upstream-release-3.5
Automated cherry pick of #10833: fix(region): fetch cached image from glance by default
2021-04-21 11:19:26 +08:00
Zexi Li
6ab7153c40 Merge pull request #10858 from swordqiu/automated-cherry-pick-of-#10855-upstream-release-3.5
Automated cherry pick of #10855: fix(baremetal): baremetal ipmi probe reset link up state
2021-04-21 10:13:00 +08:00
Zexi Li
48cc6d27c8 Merge pull request #10854 from rainzm/automated-cherry-pick-of-#10851-upstream-release-3.5
Automated cherry pick of #10851: fix(region): avoid using LocalTaskWorker in time-consuming synchronization of cloudaccount
2021-04-21 10:09:52 +08:00
Qiu Jian
506aba9f12 fix(baremetal): baremetal ipmi probe reset link up state 2021-04-20 21:38:36 +08:00
Zexi Li
8e8d708cfd Merge pull request #10848 from ioito/automated-cherry-pick-of-#10845-upstream-release-3.5
Automated cherry pick of #10845: fix(region): optimized vm account name code
2021-04-20 20:15:29 +08:00
rainzm
ee0bb3cbdc fix(region): avoid using LocalTaskworker in time-consuming synchronization of cloudaccount 2021-04-20 20:00:03 +08:00
Zexi Li
2091584a00 Merge pull request #10842 from ioito/automated-cherry-pick-of-#10839-upstream-release-3.5
Automated cherry pick of #10839: fix(region): avoid panic when sync aliyun networks
2021-04-20 18:51:32 +08:00
Zexi Li
851945a20d Merge pull request #10820 from rainzm/automated-cherry-pick-of-#10817-upstream-release-3.5
Automated cherry pick of #10817: fix(esxi): prevent fake template and real template from duplication
2021-04-20 18:45:59 +08:00
Qu Xuan
c6b9ceb1e2 fix(region): optimized vm account name code 2021-04-20 18:38:09 +08:00
Qu Xuan
407a51f405 fix(region): avoid panic when sync aliyun networks 2021-04-20 17:55:56 +08:00
Zexi Li
880963b3d2 fix(region): fetch cached image from glance by default 2021-04-20 17:53:05 +08:00
Zexi Li
cd2207b73c Merge pull request #10828 from ioito/automated-cherry-pick-of-#10825-upstream-release-3.5
Automated cherry pick of #10825: fix(region): avoid assign vm ip addr not effect
2021-04-20 17:16:46 +08:00
Qu Xuan
e51f75cfeb fix(region): avoid assign vm ip addr not effect 2021-04-20 16:31:20 +08:00
rainzm
b1eb8cfb9d fix(esxi): prevent fake template and real template from duplication 2021-04-20 10:40:08 +08:00
rainzm
795070f692 feat(region): increase the log for debugging when syncing cloudimage 2021-04-20 10:40:08 +08:00
Zexi Li
ea07ec23e9 Merge pull request #10799 from ioito/automated-cherry-pick-of-#10796-upstream-release-3.5
Automated cherry pick of #10796: fix: add region id params
2021-04-19 21:05:18 +08:00
Zexi Li
1c0d29f25d Merge pull request #10780 from tb365/automated-cherry-pick-of-#10776-upstream-release-3.5
Automated cherry pick of #10776: fix(region): qcloud redis sync fix
2021-04-19 16:18:23 +08:00
tangbin
985b644d36 fix(region): qcloud redis sync fix 2021-04-19 15:14:33 +08:00
Zexi Li
cc729a8569 Merge pull request #10783 from ioito/automated-cherry-pick-of-#10777-upstream-release-3.5
Automated cherry pick of #10777: fix: add options for pre allow ip add
2021-04-19 14:55:08 +08:00
Qu Xuan
c83cf93c65 fix: add region id params 2021-04-19 14:21:40 +08:00
Qu Xuan
5405ccc6e9 fix: add options for pre allow ip add 2021-04-16 17:21:40 +08:00
Zexi Li
219ce28315 Merge pull request #10768 from yousong/automated-cherry-pick-of-#10765-upstream-release-3.5
Automated cherry pick of #10765: ansibleserver: wait zombie subprocesses
2021-04-16 13:15:38 +08:00
Zexi Li
b93369e0c8 Merge pull request #10753 from yousong/automated-cherry-pick-of-#10750-upstream-release-3.5
Automated cherry pick of #10750: vpcagent: ovn: fix port match condition formation
2021-04-16 10:07:15 +08:00
Yousong Zhou
cf56908616 ansibleserver: wait zombie subprocesses 2021-04-16 09:56:20 +08:00
Yousong Zhou
40b6d6f5c1 vpcagent: ovn: fix port match condition formation 2021-04-15 16:09:59 +08:00
Zexi Li
b655ad9e7e Merge pull request #10749 from zexi/automated-cherry-pick-of-#10710-upstream-release-3.5
Automated cherry pick of #10710: fix(region): decouple region and etcd service
2021-04-15 15:43:08 +08:00
Zexi Li
877a81971f fix(region): decouple region and etcd service 2021-04-15 15:41:55 +08:00
Zexi Li
3df0330095 Merge pull request #10726 from ioito/automated-cherry-pick-of-#10723-upstream-release-3.5
Automated cherry pick of #10723: fix: aliyun lb charge type
2021-04-15 12:42:13 +08:00
Qu Xuan
0aee2db5cf fix: aliyun lb charge type 2021-04-14 18:06:25 +08:00
yunion-ci-robot
d40a4508b7 Merge pull request #10720 from zexi/automated-cherry-pick-of-#10718-upstream-release-3.5
Automated cherry pick of #10718: fix(baremetal): use command timeout context replace timeout command
2021-04-14 17:50:47 +08:00
Zexi Li
f383545f30 fix(baremetal): use command timeout context replace timeout command 2021-04-14 17:15:46 +08:00
Zexi Li
bb021a5899 Merge pull request #10708 from rainzm/automated-cherry-pick-of-#10705-upstream-release-3.5
Automated cherry pick of #10705: fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 16:56:19 +08:00
rainzm
15d1e850d0 fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:46:56 +08:00
Zexi Li
ede3e7af62 Merge pull request #10698 from rainzm/automated-cherry-pick-of-#10695-upstream-release-3.5
Automated cherry pick of #10695: feat(region): allow to update account with provider vmware
2021-04-13 10:25:58 +08:00
rainzm
e6b1f9424f feat(region): allow to update account with provider vmware 2021-04-12 15:59:22 +08:00
Zexi Li
7d80f4923c Merge pull request #10691 from ioito/automated-cherry-pick-of-#10688-upstream-release-3.5
Automated cherry pick of #10688: fix: actions domain filter by project doamin id
2021-04-12 13:17:16 +08:00
Zexi Li
123cc5ffac Merge pull request #10686 from swordqiu/automated-cherry-pick-of-#10683-upstream-release-3.5
Automated cherry pick of #10683: fix(baremetal-agent): baremetal will probe status in status unknown
2021-04-12 13:15:26 +08:00
Qu Xuan
fdf68040b8 fix: actions domain filter by project doamin id 2021-04-12 11:42:43 +08:00
Qiu Jian
c26b7792e8 fix(baremetal-agent): baremetal will probe status in status unknown 2021-04-12 00:23:57 +08:00
Zexi Li
34950d4a91 Merge pull request #10661 from swordqiu/automated-cherry-pick-of-#10531-upstream-release-3.5
Automated cherry pick of #10531: fix(region): show storage capacity to project users
2021-04-08 10:14:54 +08:00
Qiu Jian
6b193c9f33 fix(region): show storage capacity to project users 2021-04-08 01:34:36 +08:00
yunion-ci-robot
5fcb9822c3 Merge pull request #10641 from tb365/automated-cherry-pick-of-#10637-upstream-release-3.5
Automated cherry pick of #10637: fix(region): guest associate eip checking fix
2021-04-07 16:14:47 +08:00
tangbin
f12cffc5b6 fix(region): guest sync eip fix 2021-04-06 18:55:39 +08:00
tangbin
48f15c2251 fix(region): guest associate eip checking fix 2021-04-06 18:55:39 +08:00
Zexi Li
ce3d73d5ea Merge pull request #10636 from ioito/automated-cherry-pick-of-#10633-upstream-release-3.5
Automated cherry pick of #10633: fix: private cloud sku attached disk count
2021-04-06 17:08:48 +08:00
Qu Xuan
8436ed39ca fix: private cloud sku attached disk count 2021-04-06 15:06:16 +08:00
Zexi Li
4056dfa479 Merge pull request #10625 from swordqiu/automated-cherry-pick-of-#10622-upstream-release-3.5
Automated cherry pick of #10622: fix(keystone): role_assignment effective list ignore groups without user
2021-04-06 10:18:34 +08:00
Qiu Jian
14a8de240a fix(keystone): role_assignment effective list ignore groups without user 2021-04-05 17:22:01 +08:00
Zexi Li
590ee5a485 Merge pull request #10615 from swordqiu/automated-cherry-pick-of-#10612-upstream-release-3.5
Automated cherry pick of #10612: fix(region): add usage cache, speedup response
2021-04-05 00:55:34 +08:00
yunion-ci-robot
60fb1f339f Merge pull request #10611 from ioito/automated-cherry-pick-of-#10608-upstream-release-3.5
Automated cherry pick of #10608: fix: time sync duration
2021-04-04 20:12:46 +08:00
Qiu Jian
c9c99bc088 response scope-specific metrics 2021-04-04 20:09:02 +08:00
Qiu Jian
df686ce8dc fix(region): add usage cache, speedup response 2021-04-04 20:09:02 +08:00
Qu Xuan
f1e94e2dcf fix: time sync duration 2021-04-02 20:55:53 +08:00
Zexi Li
885988afe5 Merge pull request #10606 from zexi/automated-cherry-pick-of-#10603-upstream-release-3.5
Automated cherry pick of #10603: fix(baremetal): sas2iru parse line
2021-04-02 20:04:05 +08:00
Zexi Li
5f9b732beb Merge pull request #10584 from swordqiu/automated-cherry-pick-of-#10581-upstream-release-3.5
Automated cherry pick of #10581: fix(hostman): recycle local disk file when rebuilding root
2021-04-02 19:43:06 +08:00
Zexi Li
1015f5786f fix(baremetal): sas2iru parse line 2021-04-02 19:29:09 +08:00
Qiu Jian
4aadccc5a4 fix(hostman): recycle local disk file when rebuilding root 2021-04-02 02:26:31 +08:00
yunion-ci-robot
0424c3fe51 Merge pull request #10571 from ioito/automated-cherry-pick-of-#10568-upstream-release-3.5
Automated cherry pick of #10568: fix: avoid listener worker leak
2021-04-01 22:34:41 +08:00
Zexi Li
f8c4e74d3a Merge pull request #10560 from ioito/automated-cherry-pick-of-#10557-upstream-release-3.5
Automated cherry pick of #10557: fix: cloudaccount auto sync
2021-04-01 20:50:07 +08:00
Zexi Li
46b40ff7d5 Merge pull request #10564 from ioito/automated-cherry-pick-of-#10561-upstream-release-3.5
Automated cherry pick of #10561: fix: vendor update
2021-04-01 20:49:03 +08:00
Zexi Li
042535383b Merge pull request #10572 from rainzm/automated-cherry-pick-of-#10565-upstream-release-3.5
Automated cherry pick of #10565: fix(esxi): be compatible with disconnected host
2021-04-01 20:48:02 +08:00
rainzm
89f424e8b4 fix(esxi): be compatible with disconnected host 2021-04-01 17:35:12 +08:00
Qu Xuan
b2412aa031 fix: avoid listener worker leak 2021-04-01 17:27:22 +08:00
Qu Xuan
150ebfb4b4 fix: vendor update 2021-04-01 16:57:31 +08:00
Qu Xuan
fab06756c9 fix: cloudaccount auto sync 2021-04-01 16:19:59 +08:00
Zexi Li
da953d2442 Merge pull request #10524 from ioito/automated-cherry-pick-of-#10521-upstream-release-3.5
Automated cherry pick of #10521: fix: account auto sync time
2021-03-29 12:13:49 +08:00
Qu Xuan
c1c50994a6 fix: account auto sync time 2021-03-29 11:23:16 +08:00
yunion-ci-robot
c6e52cfc7f Merge pull request #10513 from ioito/automated-cherry-pick-of-#10510-upstream-release-3.5
Automated cherry pick of #10510: fix: sku zone
2021-03-26 17:27:53 +08:00
Qu Xuan
399578ff01 fix: sku zone 2021-03-26 16:46:35 +08:00
Zexi Li
f83216eac6 Merge pull request #10502 from yousong/automated-cherry-pick-of-#10499-upstream-release-3.5
Automated cherry pick of #10499: vpcagent: ovn: fix qos for eip upload
2021-03-26 15:18:20 +08:00
Zexi Li
bc57fafd7e Merge pull request #10508 from swordqiu/automated-cherry-pick-of-#10505-upstream-release-3.5
Automated cherry pick of #10505: fix(baremetal): megactl driver fail to find device by key
2021-03-26 15:16:53 +08:00
Yousong Zhou
60579269fa vpcagent: ovn: fix qos for eip upload 2021-03-26 10:28:41 +08:00
Qiu Jian
62050dc18d fix(baremetal): megactl driver fail to find device by key 2021-03-26 03:28:41 +08:00
Zexi Li
3952bc8016 Merge pull request #10484 from tb365/automated-cherry-pick-of-#10483-upstream-release-3.5
Automated cherry pick of #10483: (fix) region: qcloud elb https listener create fix
2021-03-24 18:51:33 +08:00
tangbin
c6ddfdf68b (fix) region: qcloud elb https listener create fix 2021-03-23 15:48:17 +08:00
Zexi Li
31720655b6 Merge pull request #10466 from rainzm/webhook/more5
feat(region): send webhook msg when changing ipaddr
2021-03-23 10:41:24 +08:00
Zexi Li
75f6c775e7 Merge pull request #10477 from yousong/automated-cherry-pick-of-#10474-release-3.5
Automated cherry pick of #10474: Bugfix/yousong guestnic
2021-03-23 10:39:49 +08:00
Yousong Zhou
81dd84d090 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:36:27 +08:00
Yousong Zhou
39128f8be8 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:35:30 +08:00
Zexi Li
81fd9053b6 Merge pull request #10465 from ioito/automated-cherry-pick-of-#10462-upstream-release-3.5
Automated cherry pick of #10462: fix: add index for image_type
2021-03-22 10:45:31 +08:00
Zexi Li
71606a83e2 Merge pull request #10458 from swordqiu/automated-cherry-pick-of-#10455-upstream-release-3.5
Automated cherry pick of #10455: fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:28 +08:00
rainzm
eba825ee22 feat(region): send webhook msg when changing ipaddr 2021-03-19 15:36:58 +08:00
Qu Xuan
c7383a1aec fix: add index for image_type 2021-03-19 14:31:17 +08:00
Qiu Jian
621b8b72bb fix(keystone): allow joint projects across domains by default 2021-03-19 00:04:26 +08:00
Zexi Li
ce44bc4713 Merge pull request #10440 from swordqiu/automated-cherry-pick-of-#10437-upstream-release-3.5
Automated cherry pick of #10437: fix(region): scoped policy filter by project id
2021-03-18 10:24:05 +08:00
Zexi Li
3970247398 Merge pull request #10444 from swordqiu/automated-cherry-pick-of-#10441-upstream-release-3.5
Automated cherry pick of #10441: fix(region): including domain info in project-role results
2021-03-18 10:23:35 +08:00
Zexi Li
72adfc5b80 Merge pull request #10436 from ioito/automated-cherry-pick-of-#10433-upstream-release-3.5
Automated cherry pick of #10433: fix: avoid stop or start vm failed
2021-03-18 10:17:36 +08:00
Qiu Jian
9c8f314b08 fix(region): including domain info in project-role results 2021-03-18 00:33:58 +08:00
Qiu Jian
93efca9650 fix(region): scoped policy filter by project id 2021-03-17 23:02:33 +08:00
Qu Xuan
2df06dc9d9 fix: avoid stop or start vm failed 2021-03-17 20:03:38 +08:00
Zexi Li
1fcf00cff2 Merge pull request #10428 from ioito/automated-cherry-pick-of-#10425-upstream-release-3.5
Automated cherry pick of #10425: fix: change rds config skip zone check
2021-03-17 11:43:24 +08:00
Zexi Li
c335b7e2db Merge pull request #10424 from ioito/automated-cherry-pick-of-#10421-upstream-release-3.5
Automated cherry pick of #10421: fix: qcloud bucket refer
2021-03-15 17:53:19 +08:00
Qu Xuan
94aaa5c69b fix: change rds config skip zone check 2021-03-15 17:43:47 +08:00
Qu Xuan
a3bbf766ff fix: qcloud bucket refer 2021-03-15 15:48:28 +08:00
yunion-ci-robot
a2839e096d Merge pull request #10417 from ioito/automated-cherry-pick-of-#10414-upstream-release-3.5
Automated cherry pick of #10414: fix: sync cloud tags when set tags
2021-03-14 01:25:31 +08:00
Qu Xuan
b63fb04a98 fix: sync cloud tags when set tags 2021-03-13 20:49:06 +08:00
yunion-ci-robot
b3277d1452 Merge pull request #10413 from ioito/automated-cherry-pick-of-#10410-upstream-release-3.5
Automated cherry pick of #10410: fix: skip zone check when rds change config
2021-03-13 19:21:24 +08:00
yunion-ci-robot
b4d2decc45 Merge pull request #10409 from ioito/automated-cherry-pick-of-#10407-upstream-release-3.5
Automated cherry pick of #10407: fix: tag sync
2021-03-13 19:02:25 +08:00
Qu Xuan
2a267e6b3a fix: skip zone check when rds change config 2021-03-13 19:01:05 +08:00
Qu Xuan
67ab932fbb fix: tag sync 2021-03-13 18:14:15 +08:00
Zexi Li
7280b3c869 Merge pull request #10405 from swordqiu/automated-cherry-pick-of-#10402-upstream-release-3.5
Automated cherry pick of #10402: fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:24 +08:00
Qiu Jian
f151bcf6b1 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:15:29 +08:00
Zexi Li
b9f2c230e7 Merge pull request #10390 from swordqiu/automated-cherry-pick-of-#10387-upstream-release-3.5
Automated cherry pick of #10387: fix(region): fail to update network gateway
2021-03-12 17:38:08 +08:00
Zexi Li
339f376546 Merge pull request #10394 from ioito/automated-cherry-pick-of-#10391-upstream-release-3.5
Automated cherry pick of #10391: fix: sync new project for azure resource group
2021-03-12 17:35:33 +08:00
Zexi Li
333e1239c9 Merge pull request #10398 from rainzm/automated-cherry-pick-of-#10395-upstream-release-3.5
Automated cherry pick of #10395: feat(esxi): update guest os info
2021-03-12 17:34:09 +08:00
rainzm
67593bdc68 feat(esxi): update guest os info 2021-03-11 16:44:52 +08:00
Qu Xuan
ead366cd0d fix: sync new project for azure resource group 2021-03-11 15:02:48 +08:00
Qiu Jian
76da80836c fix(region): fail to update network gateway 2021-03-11 14:54:51 +08:00
Zexi Li
19780ebfdc Merge pull request #10385 from swordqiu/automated-cherry-pick-of-#10382-upstream-release-3.5
Automated cherry pick of #10382: fix(region): cloud provider filter by domain
2021-03-11 11:39:24 +08:00
Zexi Li
dcc095c1f5 Merge pull request #10366 from rainzm/automated-cherry-pick-of-#10365-upstream-release-3.5
Automated cherry pick of #10365: feat(region): filter schedtags from cloudaccount_id
2021-03-11 11:37:12 +08:00
yunion-ci-robot
a7b384677a Merge pull request #10364 from tb365/automated-cherry-pick-of-#10357-upstream-release-3.5
Automated cherry pick of #10357: qcloud redis support multi zones
2021-03-11 10:22:24 +08:00
Qiu Jian
3fed503ba3 fix(region): cloud provider filter by domain 2021-03-11 01:08:48 +08:00
rainzm
33362c1faf feat(region): filter schedtags from cloudprovider_id 2021-03-10 19:45:46 +08:00
tangbin
990b70ab5e fix(region) qcloud multi zone instance sync account fix 2021-03-10 19:07:42 +08:00
tangbin
2d20890fa8 feat(region) qcloud redis support multi zones 2021-03-10 19:07:42 +08:00
Zexi Li
f8d87ddc9c Merge pull request #10354 from swordqiu/automated-cherry-pick-of-#10351-upstream-release-3.5
Automated cherry pick of #10351: fix(region): network eip stats not correct
2021-03-10 16:31:06 +08:00
Qiu Jian
e69937d822 fix: remove apsara in 3.5 2021-03-09 18:23:01 +08:00
Qiu Jian
0fd66b179a fix(region): network eip stats not correct 2021-03-09 18:06:56 +08:00
Zexi Li
e077e1dd0d Merge pull request #10283 from rainzm/automated-cherry-pick-of-#10282-upstream-release-3.5
Automated cherry pick of #10282: feat(region): increase the network number and host number limit when recommending the network
2021-03-08 15:06:53 +08:00
Zexi Li
16e4a3d62b Merge pull request #10343 from yousong/automated-cherry-pick-of-#10340-upstream-release-3.5
Automated cherry pick of #10340: etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:20:42 +08:00
Zexi Li
4ff75be1a2 Merge pull request #10332 from ioito/automated-cherry-pick-of-#10329-upstream-release-3.5
Automated cherry pick of #10329: fix: optimized bucket tag
2021-03-08 14:13:52 +08:00
Yousong Zhou
d0284522f1 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:30 +08:00
yunion-ci-robot
baaf91671e Merge pull request #10339 from rainzm/automated-cherry-pick-of-#10336-upstream-release-3.5
Automated cherry pick of #10336: fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
c64ec50f60 fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 03:03:15 +08:00
Qu Xuan
0f92d18755 fix: optimized bucket tag 2021-03-05 15:44:26 +08:00
rainzm
557a2de18d feat(region): increase the network number and host number limit when recommending the network 2021-03-05 11:17:42 +08:00
Zexi Li
ef5a23bdf2 Merge pull request #10325 from tb365/automated-cherry-pick-of-#10322-upstream-release-3.5
Automated cherry pick of #10322: copyright update brand_cn&brand_en fix
2021-03-05 10:15:45 +08:00
tangbin
9ca073bf10 copyright update brand_cn&brand_en fix 2021-03-05 10:00:58 +08:00
Zexi Li
e0f978d43f Merge pull request #10319 from rainzm/automated-cherry-pick-of-#10316-upstream-release-3.5
Automated cherry pick of #10316: fix(region): check whether guest is nil
2021-03-04 19:39:10 +08:00
rainzm
d228b226d1 fix(region): check whether guest is nil 2021-03-04 17:56:34 +08:00
Zexi Li
daad82f214 Merge pull request #10307 from tb365/automated-cherry-pick-of-#10305-upstream-release-3.5
Automated cherry pick of #10305: infos copyright add brand_en&brand_cn
2021-03-04 15:25:49 +08:00
tangbin
498a240919 infos copyright add brand_en&brand_cn 2021-03-04 11:20:31 +08:00
Zexi Li
42f0e6d43c Merge pull request #10273 from ioito/automated-cherry-pick-of-#10270-upstream-release-3.5
Automated cherry pick of #10270: fix(cloudevent): optimized cloudevent sql
2021-02-25 11:36:05 +08:00
Qu Xuan
67a8226c5a fix(cloudevent): optimized cloudevent sql 2021-02-25 11:34:33 +08:00
Zexi Li
bd4323a0f8 Merge pull request #10268 from ioito/automated-cherry-pick-of-#10265-upstream-release-3.5
Automated cherry pick of #10265: fix(region): add azure new region
2021-02-25 11:23:13 +08:00
Qu Xuan
352c32262b fix(region): add azure new region 2021-02-25 10:24:23 +08:00
Zexi Li
59843f3f54 Merge pull request #10230 from ioito/automated-cherry-pick-of-#10227-upstream-release-3.5
Automated cherry pick of #10227: fix(region): qcloud quota sync
2021-02-22 20:52:13 +08:00
Zexi Li
9741664109 Merge pull request #10237 from ioito/automated-cherry-pick-of-#10234-upstream-release-3.5
Automated cherry pick of #10234: fix(region): avoid not sync dns zone
2021-02-22 19:49:55 +08:00
Qu Xuan
1057c9701b fix(region): avoid not sync dns zone 2021-02-22 16:15:38 +08:00
Qu Xuan
cbe43cf073 fix(region): qcloud quota sync 2021-02-22 14:56:18 +08:00
Jian Qiu
d38a91e5eb fix(scheduler): storage medium type should not exact match (#10193)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:15:21 -03:00
yunion-ci-robot
12a39df931 Merge pull request #10187 from swordqiu/automated-cherry-pick-of-#10158-upstream-release-3.5
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
ea2365945f fix(apigateway): add enable_quota_check and return-domain-list attributes to fe params 2021-02-07 17:00:46 +08:00
Zexi Li
67fd064abc Merge pull request #10112 from ioito/automated-cherry-pick-of-#10109-upstream-release-3.5
Automated cherry pick of #10109: fix(region): avoid sync huawei unusable account
2021-02-02 22:07:00 +08:00
Zexi Li
78d21483d7 Merge pull request #10107 from ioito/automated-cherry-pick-of-#10104-upstream-release-3.5
Automated cherry pick of #10104: fix(region): delete virtual nics with network
2021-02-02 21:04:17 +08:00
Zexi Li
d8ccdfade9 Merge pull request #10120 from wanyaoqi/automated-cherry-pick-of-#10117-upstream-release-3.5
Automated cherry pick of #10117: fix(region): add option auto reconcile backup servers
2021-02-02 20:10:12 +08:00
Zexi Li
d14ea3817a Merge pull request #10125 from rainzm/automated-cherry-pick-of-#10122-upstream-release-3.5
Automated cherry pick of #10122: fix(region): check the global network situation when expanding the network
2021-02-02 20:08:31 +08:00
rainzm
6212f1461f fix(region): check the global network situation when expanding the network 2021-02-02 19:51:52 +08:00
wanyaoqi
46c9fec61d fix(region): add option auto reconcile backup servers 2021-02-02 18:35:42 +08:00
Qu Xuan
e66392307b fix(region): avoid sync huawei unusable account 2021-02-02 15:04:28 +08:00
Qu Xuan
25b1b555fd fix(region): delete virtual nics with network 2021-02-02 10:54:19 +08:00
Zexi Li
4540e5df0f Merge pull request #10076 from wanyaoqi/automated-cherry-pick-of-#10073-upstream-release-3.5
Automated cherry pick of #10073: fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:40:32 +08:00
wanyaoqi
0f217751f9 fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:58:19 +08:00
Zexi Li
a1bb1c6bbd Merge pull request #10047 from rainzm/automated-cherry-pick-of-#10042-upstream-release-3.5
Automated cherry pick of #10042: Optimize the error message when logging in
2021-01-28 20:48:19 +08:00
Zexi Li
196127250e Merge pull request #10058 from ioito/automated-cherry-pick-of-#10055-upstream-release-3.5
Automated cherry pick of #10055: fix(region): add aliyun credit amount check
2021-01-28 20:47:04 +08:00
Zexi Li
d81230ee95 Merge pull request #10062 from ioito/automated-cherry-pick-of-#10059-upstream-release-3.5
Automated cherry pick of #10059: fix(region): add huawei credit amount check
2021-01-28 20:46:19 +08:00
Zexi Li
a0341ddc32 Merge pull request #10066 from ioito/automated-cherry-pick-of-#10063-upstream-release-3.5
Automated cherry pick of #10063: fix(region): avoid stuck at http request
2021-01-28 20:04:09 +08:00
Qu Xuan
422cbd8d05 fix(region): avoid stuck at http request 2021-01-28 18:26:44 +08:00
Qu Xuan
93cee627c9 fix(region): add huawei credit amount check 2021-01-28 17:02:36 +08:00
Qu Xuan
44a97fa9d9 fix(region): add aliyun credit amount check 2021-01-28 16:02:10 +08:00
Zexi Li
4f6caff581 Merge pull request #10051 from ioito/automated-cherry-pick-of-#10048-upstream-release-3.5
Automated cherry pick of #10048: fix(region): secgroup priority fix
2021-01-28 15:12:19 +08:00
Qu Xuan
1f5dbebca5 fix(region): secgroup priority fix 2021-01-28 14:21:55 +08:00
rainzm
78a04c5ad8 feat(locale): update 2021-01-28 10:41:23 +08:00
rainzm
ab4f69cdfc feat(apigateway): differentiate error messages when logging in 2021-01-28 10:29:29 +08:00
rainzm
f96e17ea0f feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-28 10:29:29 +08:00
Zexi Li
e9e32c3b11 Merge pull request #10045 from rainzm/automated-cherry-pick-of-#9948-upstream-release-3.5
Automated cherry pick of #9948: feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-28 10:01:56 +08:00
rainzm
e9eadeccfb feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-28 10:00:17 +08:00
Zexi Li
87b5917b61 Merge pull request #9947 from rainzm/automated-cherry-pick-of-#9944-upstream-release-3.5
Automated cherry pick of #9944: fix(notify): add index fro receiver_notification
2021-01-27 09:06:50 +08:00
Zexi Li
21400fc532 Merge pull request #10028 from ioito/automated-cherry-pick-of-#10025-upstream-release-3.5
Automated cherry pick of #10025: fix(region): purge snapshot with not status check
2021-01-27 09:02:39 +08:00
Zexi Li
6fae969814 Merge pull request #10023 from ioito/automated-cherry-pick-of-#10018-upstream-release-3.5
Automated cherry pick of #10018: fix(region): optimized secgroup rule sync
2021-01-26 14:53:39 +08:00
Qu Xuan
b2156f356f fix(region): purge snapshot with not status check 2021-01-26 14:49:43 +08:00
Qu Xuan
43b2654c83 fix(region): optimized secgroup rule sync 2021-01-26 14:12:11 +08:00
Zexi Li
1a1490ec46 Merge pull request #10006 from wanyaoqi/automated-cherry-pick-of-#10003-upstream-release-3.5
Automated cherry pick of #10003: fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:05:52 +08:00
Zexi Li
c1a67c68e8 Merge pull request #10016 from swordqiu/automated-cherry-pick-of-#10013-upstream-release-3.5
Automated cherry pick of #10013: fix(keystone): user create without password can login with any password
2021-01-25 21:03:36 +08:00
Qiu Jian
1fae47d77a fix(keystone): user create without password can login with any password 2021-01-23 23:52:08 +08:00
yunion-ci-robot
a5fe8071e5 Merge pull request #9998 from ioito/automated-cherry-pick-of-#9995-upstream-release-3.5
Automated cherry pick of #9995: fix(region): aws not support create server with public ip
2021-01-23 22:45:37 +08:00
wanyaoqi
33c2041685 fix(host): fix wait time after mount fuse fs 2021-01-22 19:20:40 +08:00
yunion-ci-robot
f2cdd17909 Merge pull request #9972 from tb365/bugfix/tb-bugfix-012003
Bugfix/tb bugfix 012003
2021-01-22 17:11:05 +08:00
Qu Xuan
bec1477407 fix(region): aws not support create server with public ip 2021-01-22 10:46:27 +08:00
Zexi Li
db9468ea4d Merge pull request #9969 from ioito/automated-cherry-pick-of-#9966-upstream-release-3.5
Automated cherry pick of #9966: fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:43 +08:00
Zexi Li
324406d164 Merge pull request #9977 from yousong/automated-cherry-pick-of-#9974-upstream-release-3.5
Automated cherry pick of #9974: fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:47:23 +08:00
Zexi Li
1a73ce10ce Merge pull request #9987 from ioito/automated-cherry-pick-of-#9973-upstream-release-3.5
Automated cherry pick of #9973: fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:39:12 +08:00
Zexi Li
bf73ca6753 Merge pull request #9984 from rainzm/automated-cherry-pick-of-#9981-upstream-release-3.5
Automated cherry pick of #9981: fix(notify): send websocket messages according to language preference
2021-01-21 21:33:53 +08:00
Qu Xuan
d88074a437 fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:29:14 +08:00
rainzm
56ef83bd31 fix(notify): send websocket messages according to language preference 2021-01-21 19:53:30 +08:00
Yousong Zhou
317b626079 fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:30:41 +08:00
Qu Xuan
a0bc6700c0 fix(cloudevent): update aliyun lookupevent api 2021-01-21 15:18:59 +08:00
tangbin
a649d731c5 loadbalancer add lb purge validate 2021-01-20 21:59:02 +08:00
tangbin
cc0d9b0f68 fix(region): aws elb backendgroup sync bugfix 2021-01-20 21:58:44 +08:00
Zexi Li
6a7620048f Merge pull request #9937 from rainzm/automated-cherry-pick-of-#9934-upstream-release-3.5
Automated cherry pick of #9934: feat(notify): clean data for receiver_notifications
2021-01-20 03:18:40 +08:00
Zexi Li
33c22238b1 Merge pull request #9955 from ioito/automated-cherry-pick-of-#9952-upstream-release-3.5
Automated cherry pick of #9952: fix(region): fix zstack delete server with local disks
2021-01-20 02:25:40 +08:00
Qu Xuan
8c37b15aef fix(region): fix zstack delete server with local disks 2021-01-19 18:11:06 +08:00
rainzm
4dbbc52409 fix(notify): add index fro receiver_notification 2021-01-19 15:55:21 +08:00
yunion-ci-robot
11853981db Merge pull request #9941 from ioito/automated-cherry-pick-of-#9938-upstream-release-3.5
Automated cherry pick of #9938: fix(region): azure default subscription id
2021-01-18 21:41:22 +08:00
Qu Xuan
8631b5eaa4 fix(region): azure default subscription id 2021-01-18 21:26:00 +08:00
rainzm
dbc63d2196 feat(notify): clean data for receiver_notifications 2021-01-18 19:50:33 +08:00
Zexi Li
c6a1a5eb87 Merge pull request #9928 from rainzm/automated-cherry-pick-of-#9925-upstream-release-3.5
Automated cherry pick of #9925: Notify Optimization
2021-01-18 11:47:11 +08:00
rainzm
9feefb2eb6 fix(notify): add a time limit for resending notifications 2021-01-18 11:15:51 +08:00
rainzm
64547497b4 feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:15:51 +08:00
yunion-ci-robot
53fd4693b4 Merge pull request #9913 from ioito/automated-cherry-pick-of-#9910-upstream-release-3.5
Automated cherry pick of #9910: fix(region): avoid azure detach disk failed
2021-01-17 11:38:30 +08:00
Jian Qiu
3ccc28986c fix(cloudcommon): missing set_meta opslog (#9917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:33:45 +08:00
Qu Xuan
63fe479779 fix(region): avoid azure detach disk failed 2021-01-16 18:38:40 +08:00
Zexi Li
30e0362700 Merge pull request #9898 from ioito/automated-cherry-pick-of-#9895-upstream-release-3.5
Automated cherry pick of #9895: fix(region): update google latitude and langtitude
2021-01-14 23:50:09 +08:00
Qu Xuan
a8b2dfb1ca fix(region): update google latitude and langtitude 2021-01-14 20:53:39 +08:00
Zexi Li
42317c7344 Merge pull request #9887 from ioito/automated-cherry-pick-of-#9856-upstream-release-3.5
Automated cherry pick of #9856: fix(region): optimized azure reset linux pasword
2021-01-14 17:39:51 +08:00
Qu Xuan
e764fc0cd0 fix(region): optimized azure reset linux pasword 2021-01-14 14:44:50 +08:00
Zexi Li
5315194570 Merge pull request #9875 from swordqiu/automated-cherry-pick-of-#9872-upstream-release-3.5
Automated cherry pick of #9872: fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:39 +08:00
Qiu Jian
463ae2f104 fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:15:18 +08:00
Zexi Li
11b419b505 Merge pull request #9835 from ioito/automated-cherry-pick-of-#9833-upstream-release-3.5
Automated cherry pick of #9833: fix(cloudid): multi cloudaccount with saml user
2021-01-12 10:25:30 +08:00
Qu Xuan
e00a322109 fix(cloudid): multi cloudaccount with saml user 2021-01-10 20:01:09 +08:00
Zexi Li
43f4a86a47 Merge pull request #9828 from rainzm/automated-cherry-pick-of-#9825-upstream-release-3.5
Automated cherry pick of #9825: fix(notify): avoid duplication of notification names
2021-01-09 19:54:57 +08:00
rainzm
c81e584bd3 fix(notify): avoid duplication of notification names 2021-01-09 18:47:35 +08:00
Zexi Li
420709c1bf Merge pull request #9801 from ioito/automated-cherry-pick-of-#9798-upstream-release-3.5
Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:19 +08:00
Zexi Li
3b9f1196e0 Merge pull request #9816 from rainzm/automated-cherry-pick-of-#9813-upstream-release-3.5
Automated cherry pick of #9813: fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:57 +08:00
rainzm
e06dc3e0f7 fix(notify): loose phone number rules in updating receiver 2021-01-09 11:33:22 +08:00
Zexi Li
c4f06b6c75 Merge pull request #9805 from rainzm/automated-cherry-pick-of-#9802-upstream-release-3.5
Automated cherry pick of #9802: fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:41 +08:00
rainzm
341f24d24d fix(notify): loose mobile phone number matching rules 2021-01-08 12:04:07 +08:00
Qu Xuan
bbc6cc8e00 fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:40:31 +08:00
Zexi Li
fa27380c1f Merge pull request #9788 from yousong/automated-cherry-pick-of-#9785-upstream-release-3.5
Automated cherry pick of #9785: guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:45 +08:00
Yousong Zhou
7bf07345e7 guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:41:11 +08:00
Zexi Li
3df9bb5ffd Merge pull request #9781 from ioito/automated-cherry-pick-of-#9778-upstream-release-3.5
Automated cherry pick of #9778: fix(region): avoid auzre request timeout
2021-01-06 21:24:15 +08:00
Zexi Li
e95c200aae Merge pull request #9774 from ioito/automated-cherry-pick-of-#9771-upstream-release-3.5
Automated cherry pick of #9771: fix(region): avoid panic when register service not work
2021-01-06 21:22:17 +08:00
Qu Xuan
66270936c7 fix(region): avoid auzre request timeout 2021-01-06 15:34:56 +08:00
Qu Xuan
c85ca16d6c fix(region): avoid panic when register service not work 2021-01-05 21:20:51 +08:00
Zexi Li
cbe0097a8e Merge pull request #9765 from wanyaoqi/automated-cherry-pick-of-#9762-upstream-release-3.5
Automated cherry pick of #9762: feat(region): stop guest before freeze
2021-01-05 18:33:37 +08:00
wanyaoqi
cd6d1e394a feat(region): stop guest before freeze 2021-01-05 15:48:39 +08:00
Zexi Li
aa2bda1187 Merge pull request #9741 from ioito/automated-cherry-pick-of-#9727-upstream-release-3.5
Automated cherry pick of #9727: fix(region): rds list with secgorups info
2020-12-30 21:44:32 +08:00
Zexi Li
7581a5fad0 Merge pull request #9738 from wanyaoqi/automated-cherry-pick-of-#9731-upstream-release-3.5
Automated cherry pick of #9731: fix(region): server start check host memory is enough
2020-12-30 21:40:01 +08:00
Zexi Li
47d036a7b7 Merge pull request #9747 from rainzm/automated-cherry-pick-of-#9744-upstream-release-3.5
Automated cherry pick of #9744: fix(esxiagent): nicIndex should be incremented
2020-12-30 21:36:02 +08:00
rainzm
331f752f2f fix(esxiagent): nicIndex should be incremented 2020-12-30 19:03:26 +08:00
Qu Xuan
f3d117489d fix(region): rds list with secgorups info 2020-12-30 16:12:01 +08:00
wanyaoqi
d3183c8609 fix(region): server start check host memory is enough 2020-12-30 15:51:30 +08:00
Zexi Li
357c4db4c0 Merge pull request #9717 from wanyaoqi/automated-cherry-pick-of-#9711-upstream-release-3.5
Automated cherry pick of #9711: fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:43 +08:00
Zexi Li
d02da07355 Merge pull request #9713 from rainzm/automated-cherry-pick-of-#9693-upstream-release-3.5
Automated cherry pick of #9693: Solve the permission problem of notify to create receiver
2020-12-29 20:41:50 +08:00
Zexi Li
54df3c7990 Merge pull request #9709 from rainzm/automated-cherry-pick-of-#9706-upstream-release-3.5
Automated cherry pick of #9706: feat(region): multilingual timer description
2020-12-29 20:39:37 +08:00
wanyaoqi
1d775cda02 fix(region,host): sync status check block jobs 2020-12-29 15:36:22 +08:00
wanyaoqi
06f38212cd fix(host-deployer): add log line on blkid failed 2020-12-29 15:32:31 +08:00
wanyaoqi
8d605ca479 fix(climc): host add netif add params bridge/interface 2020-12-29 15:32:31 +08:00
rainzm
e7dfe494c0 feat(region): multilingual timer description 2020-12-29 15:24:24 +08:00
rainzm
57e864884d feat(db): progressive inspection when determining the required scope 2020-12-29 15:07:35 +08:00
rainzm
19e805bac7 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-29 15:07:35 +08:00
Zexi Li
795eaaf3d5 Merge pull request #9703 from swordqiu/automated-cherry-pick-of-#9701-upstream-release-3.5
Automated cherry pick of #9701: fix(region): omit vpc quota check if vpc created by owner
2020-12-29 09:35:58 +08:00
Qiu Jian
561ca368f6 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:20:39 +08:00
Zexi Li
59382467f3 Merge pull request #9542 from ioito/automated-cherry-pick-of-#9540-upstream-release-3.5
Automated cherry pick of #9540: fix(region): openstack network is regional
2020-12-28 10:20:35 +08:00
Zexi Li
d2e2705406 Merge pull request #9684 from rainzm/automated-cherry-pick-of-#9681-upstream-release-3.5
Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:06:18 +08:00
Zexi Li
d710b2c017 Merge pull request #9680 from ioito/automated-cherry-pick-of-#9677-upstream-release-3.5
Automated cherry pick of #9677: optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:01:13 +08:00
rainzm
92a374f38c feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:44:58 +08:00
Qu Xuan
155dbac527 optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:43:13 +08:00
Zexi Li
337dd90c3a Merge pull request #9665 from rainzm/automated-cherry-pick-of-#9660-upstream-release-3.5
Automated cherry pick of #9660: feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:42 +08:00
rainzm
5806575238 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 14:09:03 +08:00
Zexi Li
95405c3b1a Merge pull request #9651 from ioito/automated-cherry-pick-of-#9627-upstream-release-3.5
Automated cherry pick of #9627: fix(region): support rds secgroup operation
2020-12-26 12:20:15 +08:00
Zexi Li
eceef27d8d Merge pull request #9648 from lvyangyang/automated-cherry-pick-of-#9636-upstream-release-3.5
Automated cherry pick of #9636: fix(region): aws lb create tags param
2020-12-26 12:18:22 +08:00
Zexi Li
261b237ca6 Merge pull request #9646 from swordqiu/automated-cherry-pick-of-#9644-upstream-release-3.5
Automated cherry pick of #9644: feature(climc): policy save data into file
2020-12-26 12:09:28 +08:00
Zexi Li
d694756a21 Merge pull request #9656 from ioito/automated-cherry-pick-of-#9654-upstream-release-3.5
Automated cherry pick of #9654: fix(region): optimized azure rebuild root
2020-12-26 12:06:46 +08:00
Qu Xuan
1f2d4df530 fix(region): optimized azure rebuild root 2020-12-25 20:58:10 +08:00
Qu Xuan
8ece9d8772 fix(region): support rds secgroup operation 2020-12-25 19:14:41 +08:00
lvyangyang
b66535a272 fix(region): aws lb create tags param 2020-12-25 18:22:51 +08:00
Zexi Li
0877bce010 Merge pull request #9639 from ioito/automated-cherry-pick-of-#9637-upstream-release-3.5
Automated cherry pick of #9637: fix(cloudid): optimized system policy sync
2020-12-25 17:24:13 +08:00
Qiu Jian
9cfc42b3ca feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-25 17:02:28 +08:00
Qu Xuan
7dd6c0b065 fix(cloudid): optimized system policy sync 2020-12-25 15:04:42 +08:00
Zexi Li
d6e08e9166 Merge pull request #9635 from ioito/automated-cherry-pick-of-#9633-upstream-release-3.5
Automated cherry pick of #9633: fix(region): sku.meta use global proxy
2020-12-25 01:26:29 +08:00
Zexi Li
ae752c37b1 Merge pull request #9631 from ioito/automated-cherry-pick-of-#9629-upstream-release-3.5
Automated cherry pick of #9629: fix(region): optimized disk allocate sched failed log
2020-12-24 17:48:12 +08:00
Zexi Li
4287957c34 Merge pull request #9624 from ioito/automated-cherry-pick-of-#9622-upstream-release-3.5
Automated cherry pick of #9622: fix(region): avoid openstack change config error
2020-12-24 17:42:18 +08:00
Zexi Li
a563069f74 Merge pull request #9621 from ioito/automated-cherry-pick-of-#9619-upstream-release-3.5
Automated cherry pick of #9619: fix(region): avolid panic when list role's policies
2020-12-24 17:35:23 +08:00
Qu Xuan
b5cff01af0 fix(region): sku.meta use global proxy 2020-12-24 17:25:08 +08:00
Qu Xuan
0624768a5c fix(region): optimized disk allocate sched failed log 2020-12-24 17:01:19 +08:00
Qu Xuan
e6e12bbc5f fix(region): avolid panic when list role's policies 2020-12-24 15:31:52 +08:00
Qu Xuan
849b76ccb2 fix(region): avoid openstack change config error 2020-12-24 11:52:32 +08:00
Zexi Li
53b475569b Merge pull request #9601 from yousong/automated-cherry-pick-of-#9599-upstream-release-3.5
Automated cherry pick of #9599: Bugfix/yousong climc ssh
2020-12-23 22:13:06 +08:00
Zexi Li
6ee12bbe73 Merge pull request #9608 from zhaoxiangchun/automated-cherry-pick-of-#9597-upstream-release-3.5
Automated cherry pick of #9597: fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:10:20 +08:00
Zexi Li
6dfab1cfca Merge pull request #9615 from rainzm/automated-cherry-pick-of-#9613-upstream-release-3.5
Automated cherry pick of #9613: fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:35 +08:00
rainzm
49c8d212aa fix(notify): fit correctly when send notification via contact 2020-12-23 17:51:23 +08:00
Zexi Li
cd1fbf12cc Merge pull request #9606 from rainzm/automated-cherry-pick-of-#9603-upstream-release-3.5
Automated cherry pick of #9603: feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 15:16:15 +08:00
--global
4a0fd8d5a5 fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 15:01:37 +08:00
rainzm
40d0ef9fb6 feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:52:12 +08:00
Yousong Zhou
cb674c9097 fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:32:03 +08:00
Yousong Zhou
556cfe5de0 refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:32:03 +08:00
Yousong Zhou
49328f521c refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:32:03 +08:00
Yousong Zhou
7085ae1e5b refactor(webconsole): use structured response 2020-12-23 13:32:03 +08:00
Zexi Li
b3b0b8340a Merge pull request #9549 from tb365/automated-cherry-pick-of-#9548-upstream-release-3.5
Automated cherry pick of #9548: Bugfix/tb bugfix 121801
2020-12-23 09:48:02 +08:00
Zexi Li
f5efa1ce10 Merge pull request #9572 from ioito/automated-cherry-pick-of-#9570-upstream-release-3.5
Automated cherry pick of #9570: fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:56 +08:00
Zexi Li
f2b19f24ba Merge pull request #9575 from ioito/automated-cherry-pick-of-#9573-upstream-release-3.5
Automated cherry pick of #9573: fix(region): add huawei gpssd desc
2020-12-23 09:37:11 +08:00
Zexi Li
452669d9e2 Merge pull request #9581 from zhaoxiangchun/automated-cherry-pick-of-#9579-upstream-release-3.5
Automated cherry pick of #9579: fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:15 +08:00
Zexi Li
8d45dc3142 Merge pull request #9586 from rainzm/automated-cherry-pick-of-#9584-upstream-release-3.5
Automated cherry pick of #9584: more convenient debugging and role isolation
2020-12-23 09:10:06 +08:00
Zexi Li
c6a267e828 Merge pull request #9591 from swordqiu/automated-cherry-pick-of-#9589-upstream-release-3.5
Automated cherry pick of #9589: fix(cloudevent,devtool): missing metadata table
2020-12-23 09:07:26 +08:00
Qiu Jian
ec8f914959 fix(cloudevent,devtool): missing metadata table 2020-12-23 03:12:35 +08:00
rainzm
5caf52ddf9 feat: download the role to tmpdir not system role dir 2020-12-22 20:22:48 +08:00
rainzm
d177c0e885 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:22:48 +08:00
Qu Xuan
c7e8ed6c2a fix(region): openstack network is regional 2020-12-22 16:27:02 +08:00
--global
8d8c7a1458 fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:17:52 +08:00
Qu Xuan
a54480db19 fix(region): add huawei gpssd desc 2020-12-22 11:33:33 +08:00
Qu Xuan
cefc5cba7e fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:19:17 +08:00
TangBin
badc33c282 fix(region): change lbcert to sharable virtual resource 2020-12-22 10:29:45 +08:00
Zexi Li
7938630d36 Merge pull request #9568 from wanyaoqi/automated-cherry-pick-of-#9498-upstream-release-3.5
Automated cherry pick of #9498: server migrate misc fix
2020-12-22 10:06:15 +08:00
TangBin
c7b7819fb7 fix(region): goimports fix 2020-12-22 09:37:21 +08:00
yunion-ci-robot
2bcdd20ddf Merge pull request #9566 from zexi/automated-cherry-pick-of-#9564-upstream-release-3.5
Automated cherry pick of #9564: Hotfix/baremetal pxe net alloc
2020-12-21 23:49:39 +08:00
Zexi Li
7442a46321 Merge pull request #9546 from yousong/automated-cherry-pick-of-#9544-upstream-release-3.5
Automated cherry pick of #9544: fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:07:54 +08:00
wanyaoqi
7abb04f60a fix(host): add print migrate progress info 2020-12-21 21:07:20 +08:00
wanyaoqi
75547092c6 fix(region): do not change disk status on migrating 2020-12-21 21:07:20 +08:00
Zexi Li
693daf9a91 Merge pull request #9557 from ioito/automated-cherry-pick-of-#9555-upstream-release-3.5
Automated cherry pick of #9555: fix(region): fix openstack instance os type
2020-12-21 21:04:08 +08:00
Zexi Li
8e2751e27e Merge pull request #9563 from ioito/automated-cherry-pick-of-#9561-upstream-release-3.5
Automated cherry pick of #9561: fix(cloudid): add <br> for notify templete
2020-12-21 20:59:33 +08:00
Zexi Li
1103680a6e fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:49:35 +08:00
Zexi Li
7c0e264553 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:49:35 +08:00
Qu Xuan
a70db9bd44 fix(cloudid): add <br> for notify templete 2020-12-21 20:42:56 +08:00
Qu Xuan
4258ed3a86 fix(region): fix openstack instance os type 2020-12-21 19:50:32 +08:00
TangBin
a3a380c385 fix(region): lbacl &lbcert default share scope 2020-12-21 17:34:06 +08:00
TangBin
ce46d75aa5 fix(region): elb acl validate create data fix 2020-12-21 17:34:04 +08:00
TangBin
f31b8a6d63 fix(region): aliyun elb listener&lbbg sync project 2020-12-21 17:34:04 +08:00
TangBin
9b40059458 fix(region): cert&acl cache delete condition check 2020-12-21 17:34:04 +08:00
Yousong Zhou
c7a4808341 fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:52:19 +08:00
Zexi Li
cab0077d4a Merge pull request #9371 from ioito/automated-cherry-pick-of-#9360-upstream-release-3.5
Automated cherry pick of #9360: fix(region): sync servers
2020-12-21 10:40:51 +08:00
Zexi Li
9034d843b6 Merge pull request #9531 from swordqiu/automated-cherry-pick-of-#9529-upstream-release-3.5
Automated cherry pick of #9529: fix(taskman): use admin token if task userCred token expired
2020-12-20 02:06:53 +08:00
Qiu Jian
a2a13adf46 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 01:22:09 +08:00
yunion-ci-robot
96f2cc3916 Merge pull request #9523 from zexi/automated-cherry-pick-of-#9521-upstream-release-3.5
Automated cherry pick of #9521: Storage actual size filter
2020-12-20 00:01:02 +08:00
Zexi Li
b7f813512c fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 22:04:31 +08:00
Zexi Li
5b44cff65f Merge pull request #9526 from zexi/automated-cherry-pick-of-#9525-upstream-release-3.5
Automated cherry pick of #9525: fix(scheduler): remove unused k8s extender
2020-12-19 22:02:55 +08:00
Zexi Li
e88861f2c4 fix(scheduler): remove unused k8s extender 2020-12-19 21:48:10 +08:00
Zexi Li
0d67fcb4ce Merge pull request #9496 from wanyaoqi/automated-cherry-pick-of-#9494-upstream-release-3.5
Automated cherry pick of #9494: fix(region): guest to create input keep billing info
2020-12-19 20:05:59 +08:00
Zexi Li
52d767859e Merge pull request #9507 from ioito/automated-cherry-pick-of-#9159-upstream-release-3.5
Automated cherry pick of #9159: feat(region): add instance storage capability
2020-12-19 20:04:35 +08:00
Zexi Li
4af4c28b44 Merge pull request #9511 from ioito/automated-cherry-pick-of-#9509-upstream-release-3.5
Automated cherry pick of #9509: fix(region): azure async task
2020-12-19 20:02:43 +08:00
Zexi Li
e15f68b8ce Merge pull request #9514 from ioito/automated-cherry-pick-of-#9512-upstream-release-3.5
Automated cherry pick of #9512: fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:01:12 +08:00
Zexi Li
72b08e38fe Merge pull request #9518 from swordqiu/automated-cherry-pick-of-#9515-upstream-release-3.5
Automated cherry pick of #9515: fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:55 +08:00
Qiu Jian
ee16a43865 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:49 +08:00
Qu Xuan
6aeea0f9bd fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:49:35 +08:00
Qu Xuan
91f0785df3 fix(region): azure async task 2020-12-19 14:02:39 +08:00
Zexi Li
6883ba8fa5 Merge pull request #9504 from swordqiu/automated-cherry-pick-of-#9502-upstream-release-3.5
Automated cherry pick of #9502: fix(keystone): always upload&refresh service config whenever service …
2020-12-19 11:41:54 +08:00
Qu Xuan
c9fb6b45de fix(region): sync servers 2020-12-19 10:27:33 +08:00
Zexi Li
638b64867d Merge pull request #9504 from swordqiu/automated-cherry-pick-of-#9502-upstream-release-3.5
Automated cherry pick of #9502: fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:52 +08:00
Qiu Jian
5dbf470b10 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:54:25 +08:00
yunion-ci-robot
b39a45f903 Merge pull request #9492 from zexi/automated-cherry-pick-of-#9490-upstream-release-3.5
Automated cherry pick of #9490: Hotfix/baremetal pd makegood
2020-12-18 20:49:19 +08:00
Zexi Li
9890781c81 Merge pull request #9485 from rainzm/automated-cherry-pick-of-#9483-upstream-release-3.5
Automated cherry pick of #9483: Webhook better describe the life cycle of the guest
2020-12-18 20:38:06 +08:00
wanyaoqi
21ce2148a5 fix(region): guest to create input keep billing info 2020-12-18 16:20:46 +08:00
Zexi Li
d308afc537 fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:50:37 +08:00
rainzm
8000039659 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:12:06 +08:00
rainzm
1d73b39633 feat(region): distinguish between pending delete and delete notification 2020-12-18 13:12:06 +08:00
Zexi Li
3259503cc4 Merge pull request #9479 from yousong/automated-cherry-pick-of-#9458-upstream-release-3.5
Automated cherry pick of #9458: Bugfix/yousong eip ipaddr
2020-12-18 12:51:38 +08:00
Zexi Li
68e97d3195 Merge pull request #9474 from yousong/automated-cherry-pick-of-#9472-upstream-release-3.5
Automated cherry pick of #9472: Bugfix/yousong host mtu
2020-12-18 00:19:32 +08:00
Yousong Zhou
6efd36ff27 fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-17 22:01:22 +08:00
Yousong Zhou
58f389ce1b fix(region,climc): eips: rename arg name for requested eip addr 2020-12-17 22:01:22 +08:00
Yousong Zhou
75e2407c12 fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:51:42 +08:00
Yousong Zhou
09756f97df feat(region): networks: add getMtu method 2020-12-17 21:51:42 +08:00
Yousong Zhou
e255cbf222 feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:51:42 +08:00
Yousong Zhou
172d84d46f feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 21:51:42 +08:00
Yousong Zhou
da4cb8864c feat(host): startvm: add nic_mtu shell func 2020-12-17 21:51:42 +08:00
Yousong Zhou
54cf74c9e1 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:42 +08:00
Yousong Zhou
b8261f2107 refactor(host): startvm: nic_speed: use raw string 2020-12-17 21:51:42 +08:00
Yousong Zhou
fde96ae645 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 21:51:41 +08:00
Zexi Li
8d59105144 Merge pull request #9465 from rainzm/automated-cherry-pick-of-#9463-upstream-release-3.5
Automated cherry pick of #9463: fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:21:57 +08:00
Zexi Li
0fc37ffb42 Merge pull request #9468 from tb365/automated-cherry-pick-of-#9467-upstream-release-3.5
Automated cherry pick of #9467: fix(region): skus add cloudenv
2020-12-17 11:17:39 +08:00
TangBin
ec768fe2bd fix(region): skus add cloudenv 2020-12-17 11:04:36 +08:00
rainzm
f4cf22fee7 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:13:28 +08:00
Zexi Li
71b18716b4 Merge pull request #9456 from zexi/automated-cherry-pick-of-#9454-upstream-release-3.5
Automated cherry pick of #9454: fix(scheduler): fetch input network when specified
2020-12-16 18:24:53 +08:00
Zexi Li
42dc85463c fix(scheduler): fetch input network when specified 2020-12-16 17:51:15 +08:00
Zexi Li
c02c8c84fb Merge pull request #9451 from swordqiu/automated-cherry-pick-of-#9443-upstream-release-3.5
Automated cherry pick of #9443: Bugfix/tb bugfix 121501
2020-12-16 12:25:55 +08:00
Qiu Jian
59ad228f41 fix: backport routetable 2020-12-16 12:07:02 +08:00
TangBin
0947e9d1c8 fix(awscli): instance-rebuild-root fix 2020-12-16 11:31:04 +08:00
TangBin
ff70acf092 fix(region): vpc sync external access mode fix 2020-12-16 11:31:04 +08:00
TangBin
e42520d9de fix(region): vpc usable fix 2020-12-16 11:31:04 +08:00
TangBin
3b4dfd822b fix(region): aws create vpc with igw add defaultroute 2020-12-16 11:31:04 +08:00
TangBin
73221a3462 fix(region): aws delete vpc skipped delete main route table 2020-12-16 11:31:04 +08:00
TangBin
1f515eb9ff fix(region): aws vpc delete skip delete default secgroup 2020-12-16 11:31:04 +08:00
TangBin
b2071fa45b fix(region): aws vpc delete related route table & internet gateway 2020-12-16 11:31:04 +08:00
TangBin
e45bfdcd39 fix(region): sku list query print missing error info 2020-12-16 11:31:04 +08:00
TangBin
fd4dd4c822 fix(region): aws create storage type fix 2020-12-16 11:31:04 +08:00
TangBin
e7fd659b64 fix(region): aws create root device name fix 2020-12-16 11:28:31 +08:00
TangBin
0f7e66567a fix(region): vpc create validate cidr mask length 2020-12-16 11:28:31 +08:00
TangBin
d4e85e0c73 fix(region): aws detach igw before delete vpc 2020-12-16 11:28:31 +08:00
TangBin
f9f044a85f fix(region): vpc list usable fix 2020-12-16 11:23:12 +08:00
TangBin
63f5fdc76e feat(region): server list add parameter eip_associable 2020-12-16 11:23:12 +08:00
Zexi Li
c5ab620555 Merge pull request #9421 from zexi/automated-cherry-pick-of-#9418-upstream-release-3.5
Automated cherry pick of #9418: fix(region): baremetal post update related server
2020-12-16 10:40:59 +08:00
yunion-ci-robot
39f2f54621 Merge pull request #9437 from wanyaoqi/automated-cherry-pick-of-#9435-upstream-release-3.5
Automated cherry pick of #9435: fix(host): fix set windows password with escape charater
2020-12-15 20:51:19 +08:00
wanyaoqi
50b412a32b fix(host): fix set windows password with escape charater 2020-12-15 16:57:40 +08:00
Zexi Li
f53bb4ec24 Merge pull request #9433 from zexi/automated-cherry-pick-of-#9431-upstream-release-3.5
Automated cherry pick of #9431: Fix/climc server create desc
2020-12-15 11:54:32 +08:00
Zexi Li
ad1d819704 Merge pull request #9428 from yousong/automated-cherry-pick-of-#9426-upstream-release-3.5
Automated cherry pick of #9426: fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:45:17 +08:00
Zexi Li
1585ded64b fix(climc): server-create --desc not work 2020-12-15 11:36:25 +08:00
Yousong Zhou
a1055edbe4 fix(vpcagent): ovn: stable dns A record value 2020-12-15 11:09:26 +08:00
Zexi Li
d916028df7 Merge pull request #9422 from wanyaoqi/automated-cherry-pick-of-#9417-upstream-release-3.5
Automated cherry pick of #9417: fix(region,host): fix hot remove nic
2020-12-15 00:08:05 +08:00
Zexi Li
68d840b6ab Merge pull request #9425 from swordqiu/automated-cherry-pick-of-#9415-upstream-release-3.5
Automated cherry pick of #9415: fix(keystone): update user attributes whenever user login
2020-12-15 00:06:00 +08:00
Qiu Jian
2c40a424fc fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 22:29:53 +08:00
Zexi Li
0119597b9a fix(region): baremetal post update related server 2020-12-14 19:16:21 +08:00
wanyaoqi
34a6962947 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:46 +08:00
wanyaoqi
904e929d00 fix(host): fix check hugepage enabled 2020-12-14 19:01:46 +08:00
Zexi Li
41016a6521 Merge pull request #9413 from zexi/automated-cherry-pick-of-#9411-upstream-release-3.5
Automated cherry pick of #9411: fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:50 +08:00
Zexi Li
da070b541c fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 17:26:43 +08:00
Zexi Li
f66a245d6e Merge pull request #9406 from zexi/automated-cherry-pick-of-#9405-upstream-release-3.5
Automated cherry pick of #9405: Hotfix/webconsole trim url
2020-12-14 17:21:23 +08:00
Zexi Li
b998fb3e64 Merge pull request #9375 from rainzm/automated-cherry-pick-of-#9373-upstream-release-3.5
Automated cherry pick of #9373: feat(region): larger suggest network and more complete vlanid
2020-12-14 15:57:54 +08:00
Zexi Li
1185d17d16 Merge pull request #9396 from zexi/automated-cherry-pick-of-#9394-upstream-release-3.5
Automated cherry pick of #9394: fix(scheduler): get candidates error more info
2020-12-14 15:52:31 +08:00
Zexi Li
9b83ec21bb fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:47:27 +08:00
Zexi Li
2215431a4c Merge pull request #9401 from rainzm/automated-cherry-pick-of-#9399-upstream-release-3.5
Automated cherry pick of #9399: fix(notify): avoid deadlock
2020-12-14 15:45:46 +08:00
rainzm
003a1798e5 fix(notify): avoid deadlock 2020-12-14 15:06:23 +08:00
Zexi Li
43be5960b5 fix(scheduler): get candidates error more info 2020-12-14 14:40:19 +08:00
rainzm
aa4cce77d4 feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:18:36 +08:00
rainzm
f1ef6adc2d feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-14 14:18:36 +08:00
Zexi Li
5253e9d8f8 Merge pull request #9388 from tb365/automated-cherry-pick-of-#9386-upstream-release-3.5
Automated cherry pick of #9386: feat(region): support sync skus by cloudregion
2020-12-13 13:51:35 +08:00
tangbin
789933a4df feat(region): goimport fmt check fix 2020-12-13 13:09:24 +08:00
Zexi Li
2fd72dd157 Merge pull request #9392 from swordqiu/automated-cherry-pick-of-#9390-upstream-release-3.5
Automated cherry pick of #9390: fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:26 +08:00
Qiu Jian
d4b62af9d9 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:47:51 +08:00
TangBin
53441d5856 feat(region): support sync skus by cloudregion 2020-12-12 19:10:29 +08:00
Zexi Li
1078739bf0 Merge pull request #9377 from tb365/automated-cherry-pick-of-#9359-upstream-release-3.5
Automated cherry pick of #9359: Bugfix/tb bugfix cmb 1210
2020-12-12 18:28:58 +08:00
TangBin
bbfa072173 fix(region): goimports fix 2020-12-12 17:58:08 +08:00
TangBin
d2414c2131 feat(region): support sync skus by cloudregion 2020-12-12 17:27:37 +08:00
TangBin
5898ff51d3 fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:18:57 +08:00
Zexi Li
b95299beb5 Merge pull request #9365 from swordqiu/automated-cherry-pick-of-#9361-upstream-release-3.5
Automated cherry pick of #9361: fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:45 +08:00
Zexi Li
37bb9d8c24 Merge pull request #9368 from swordqiu/automated-cherry-pick-of-#9366-upstream-release-3.5
Automated cherry pick of #9366: fix(keystone): ignore service config update without changes
2020-12-12 00:13:53 +08:00
Qiu Jian
95ce8aae6b 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:22:16 +08:00
Qiu Jian
062a16ea89 fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:51:45 +08:00
Zexi Li
676f19193e Merge pull request #9358 from ioito/automated-cherry-pick-of-#9356-upstream-release-3.5
Automated cherry pick of #9356: fix(region): sku enabled
2020-12-11 19:37:36 +08:00
Qu Xuan
bce899df2d fix(region): sku enabled 2020-12-11 17:09:12 +08:00
yunion-ci-robot
847fef5b11 Merge pull request #9337 from zexi/automated-cherry-pick-of-#9335-upstream-release-3.5
Automated cherry pick of #9335: Hotfix/baremetal convert host
2020-12-11 13:32:22 +08:00
Zexi Li
88a88b6ace Merge pull request #9344 from ioito/automated-cherry-pick-of-#9339-upstream-release-3.5
Automated cherry pick of #9339: fix(region,yunionapi,glance): using global proxy
2020-12-11 11:40:53 +08:00
Zexi Li
1541307185 Merge pull request #9354 from zexi/automated-cherry-pick-of-#9352-upstream-release-3.5
Automated cherry pick of #9352: Bugfix/scheduler SKU net
2020-12-11 09:18:26 +08:00
Zexi Li
171969e457 fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:14:14 +08:00
Zexi Li
82172c153c Merge pull request #9333 from ioito/automated-cherry-pick-of-#9331-upstream-release-3.5
Automated cherry pick of #9331: fix(region): openstack hosts sync
2020-12-10 20:40:13 +08:00
Zexi Li
2557066c4b Merge pull request #9349 from swordqiu/automated-cherry-pick-of-#9347-upstream-release-3.5
Automated cherry pick of #9347: fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:38:08 +08:00
Zexi Li
984d429ff7 Merge pull request #9342 from ioito/automated-cherry-pick-of-#9340-upstream-release-3.5
Automated cherry pick of #9340: fix(region): import rule error hint
2020-12-10 20:33:32 +08:00
Qiu Jian
41159bddf7 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:49 +08:00
Qu Xuan
587dec7f89 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:34:50 +08:00
Qu Xuan
5d02e162f7 fix(region): import rule error hint 2020-12-10 18:29:56 +08:00
Zexi Li
e34e65fd08 Merge pull request #9328 from rainzm/automated-cherry-pick-of-#9325-upstream-release-3.5
Automated cherry pick of #9325: Try to repull contacts when changing notify config
2020-12-10 17:22:29 +08:00
Zexi Li
a464e7f8de Merge pull request #9300 from ioito/automated-cherry-pick-of-#9298-upstream-release-3.5
Automated cherry pick of #9298: fix(region): support openstack subnet allocation pools
2020-12-10 17:18:00 +08:00
Zexi Li
4b79bdab04 Merge pull request #9322 from swordqiu/automated-cherry-pick-of-#9320-upstream-release-3.5
Automated cherry pick of #9320: fix(cloudcommon): disable quota check by default
2020-12-10 17:08:45 +08:00
Zexi Li
1d15c4ceb0 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:59:06 +08:00
Qu Xuan
6c385596dd fix(region): openstack hosts sync 2020-12-10 16:56:32 +08:00
rainzm
e106d21931 fix(notify): repull subcontact after changing config 2020-12-10 10:39:47 +08:00
rainzm
a00cbeecb4 fix(notify): check for changes before updating config 2020-12-10 10:39:47 +08:00
rainzm
2b25237d6d refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:39:47 +08:00
Qiu Jian
804c8572da 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:25:18 +08:00
Zexi Li
cbae2619a8 Merge pull request #9294 from rainzm/automated-cherry-pick-of-#9292-upstream-release-3.5
Automated cherry pick of #9292: feat(notify): add intellij-get for receiver
2020-12-09 20:43:31 +08:00
Zexi Li
47bb9109ed Merge pull request #9261 from wanyaoqi/automated-cherry-pick-of-#9259-upstream-release-3.5
Automated cherry pick of #9259: fix(region): attach network on register baremetal server
2020-12-09 20:40:42 +08:00
Zexi Li
7cc33ea07e Merge pull request #9304 from ioito/automated-cherry-pick-of-#9302-upstream-release-3.5
Automated cherry pick of #9302: fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:37 +08:00
Zexi Li
3a24a9a38d Merge pull request #9306 from ioito/automated-cherry-pick-of-#9305-upstream-release-3.5
Automated cherry pick of #9305: fix(region): optimized openstack change config
2020-12-09 20:36:28 +08:00
Zexi Li
24f747959f Merge pull request #9310 from yousong/automated-cherry-pick-of-#9308-upstream-release-3.5
Automated cherry pick of #9308: Bugfix/yousong eip chargetype
2020-12-09 20:35:08 +08:00
Zexi Li
ae9cba42e8 Merge pull request #9317 from wanyaoqi/automated-cherry-pick-of-#9315-upstream-release-3.5
Automated cherry pick of #9315: fix(host): check lease living on restart etcd session
2020-12-09 20:33:19 +08:00
rainzm
3909beff7b feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:04:10 +08:00
rainzm
958d79e6d1 feat(notify): add intellij-get for receiver 2020-12-09 17:04:10 +08:00
wanyaoqi
56a93bed33 fix(host): check lease living on restart etcd session 2020-12-09 16:56:34 +08:00
Yousong Zhou
d15ed65c4e refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:17:10 +08:00
Yousong Zhou
f13bdc88a5 fix(region): sanitize eip charge type on all callsites 2020-12-09 12:17:10 +08:00
Yousong Zhou
a42675be8a feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:17:10 +08:00
Qu Xuan
4d9c70e649 fix(region): optimized openstack change config 2020-12-09 11:51:02 +08:00
Qu Xuan
0288f76464 fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:50:08 +08:00
Qu Xuan
aa15c582dd fix(region): support openstack subnet allocation pools 2020-12-09 10:30:26 +08:00
Zexi Li
d843dacb6f Merge pull request #9255 from ioito/automated-cherry-pick-of-#9253-upstream-release-3.5
Automated cherry pick of #9253: fix(region): temp url sign wrong
2020-12-08 21:39:51 +08:00
Zexi Li
1be41ba1e1 Merge pull request #9265 from ioito/automated-cherry-pick-of-#9263-upstream-release-3.5
Automated cherry pick of #9263: fix(region): azure instance data disk storage type
2020-12-08 21:38:54 +08:00
Zexi Li
e4d49c2e65 Merge pull request #9281 from ioito/automated-cherry-pick-of-#9266-upstream-release-3.5
Automated cherry pick of #9266: fix(region): openstack available zones
2020-12-08 21:37:50 +08:00
Zexi Li
3968509700 Merge pull request #9279 from wanyaoqi/automated-cherry-pick-of-#9277-upstream-release-3.5
Automated cherry pick of #9277: fix(region): validate isolated devices on migrate
2020-12-08 21:36:04 +08:00
Zexi Li
5f04d03ae2 Merge pull request #9284 from ioito/automated-cherry-pick-of-#9282-upstream-release-3.5
Automated cherry pick of #9282: fix(region): restore password validate condition
2020-12-08 21:35:18 +08:00
Zexi Li
a92eacf145 Merge pull request #9287 from ioito/automated-cherry-pick-of-#9285-upstream-release-3.5
Automated cherry pick of #9285: fix(region): sync account id
2020-12-08 21:34:22 +08:00
Zexi Li
c2a5bac00f Merge pull request #9290 from zhasm/automated-cherry-pick-of-#9288-upstream-release-3.5
Automated cherry pick of #9288: fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:40 +08:00
Zhang Dongliang
e28e9e8c79 fix(git,make): 更新获取 git branch 的规则 2020-12-08 18:00:55 +08:00
Qu Xuan
dbe031e85b fix(region): sync account id 2020-12-08 17:59:03 +08:00
Qu Xuan
dc3aaa91a9 fix(region): restore password validate condition 2020-12-08 17:46:44 +08:00
yunion-ci-robot
cc1402db32 Merge pull request #9274 from wanyaoqi/automated-cherry-pick-of-#9272-upstream-release-3.5
Automated cherry pick of #9272: fix(host-deployer): cancel rename centos vgname
2020-12-08 17:08:07 +08:00
Qu Xuan
7117033694 fix(region): openstack available zones 2020-12-08 17:01:58 +08:00
wanyaoqi
b75a0d7b3e fix(region): validate isolated devices on migrate 2020-12-08 16:51:38 +08:00
Zexi Li
540fe8d601 Merge pull request #9270 from zhasm/automated-cherry-pick-of-#9268-upstream-release-3.5
Automated cherry pick of #9268: fix(git,make): git branch 获取方式优化
2020-12-08 16:35:39 +08:00
wanyaoqi
b3e680b58d fix(host-deployer): cancel rename centos vgname 2020-12-08 16:30:10 +08:00
Zhang Dongliang
c26f136296 fix(git,make): git branch 获取方式优化 2020-12-08 15:52:16 +08:00
Qu Xuan
7b49f840f2 fix(region): azure instance data disk storage type 2020-12-08 15:03:39 +08:00
Zexi Li
320084261f Merge pull request #9257 from zhasm/automated-cherry-pick-of-#9230-upstream-release-3.5
Automated cherry pick of #9230: fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:50:57 +08:00
wanyaoqi
74dc7d8b6d fix(region): attach network on register baremetal server 2020-12-08 12:07:47 +08:00
Zhang Dongliang
7260430668 fix(git,make): 修正 gitbranch 变量的获取方式,允许外部传入,解决自动升级版本 tag 不统一的问题 2020-12-08 11:51:12 +08:00
Qu Xuan
756e30e1f4 fix(region): temp url sign wrong 2020-12-08 11:36:58 +08:00
Zexi Li
9f87f6a656 Merge pull request #9149 from ioito/automated-cherry-pick-of-#9146-upstream-release-3.5
Automated cherry pick of #9146: fix(keystone): allow refresh scope resource
2020-12-08 09:40:26 +08:00
Zexi Li
23294a3813 Merge pull request #9250 from swordqiu/automated-cherry-pick-of-#9248-upstream-release-3.5
Automated cherry pick of #9248: fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:29:05 +08:00
Qiu Jian
e162617236 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:59 +08:00
Zexi Li
108718c3e9 Merge pull request #9245 from ioito/automated-cherry-pick-of-#9243-upstream-release-3.5
Automated cherry pick of #9243: fix(region): azure reset windows os password
2020-12-07 22:19:03 +08:00
Zexi Li
89ff6d7c01 Merge pull request #9242 from ioito/automated-cherry-pick-of-#9240-upstream-release-3.5
Automated cherry pick of #9240: fix(region): avoid timeout for waiting azure async task
2020-12-07 20:41:25 +08:00
Zexi Li
501e8423b7 Merge pull request #9225 from tb365/automated-cherry-pick-of-#9224-upstream-release-3.5
Automated cherry pick of #9224: Bugfix/tb bugfix 1207
2020-12-07 20:37:16 +08:00
Qu Xuan
452759049c fix(region): azure reset windows os password 2020-12-07 20:20:26 +08:00
Zexi Li
6a7221db98 Merge pull request #9222 from ioito/automated-cherry-pick-of-#9220-upstream-release-3.5
Automated cherry pick of #9220: fix(region): region qcloud secgroup project id
2020-12-07 20:18:28 +08:00
Zexi Li
c84fab3bc4 Merge pull request #9229 from ioito/automated-cherry-pick-of-#9227-upstream-release-3.5
Automated cherry pick of #9227: fix(region): avoid resize azure disk error
2020-12-07 20:16:59 +08:00
Zexi Li
22a4157900 Merge pull request #9239 from rainzm/automated-cherry-pick-of-#9237-upstream-release-3.5
Automated cherry pick of #9237: feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:54 +08:00
Qu Xuan
de78bd5ce0 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:51:04 +08:00
rainzm
8f1378fd3f feat(notify): add webconsole in enabled contact types 2020-12-07 19:15:28 +08:00
TangBin
3b84b78bcf fix(region): lb listener filter by acl_id 2020-12-07 17:38:04 +08:00
TangBin
9d3e90a181 fix(region): redis master zone empty fix 2020-12-07 17:38:04 +08:00
TangBin
9f0c4ea53f fix(region): elastic cache name is empty fix
#6527
2020-12-07 17:38:04 +08:00
Qu Xuan
26052b9fe2 fix(region): avoid resize azure disk error 2020-12-07 15:27:39 +08:00
Zexi Li
b33b765c17 Merge pull request #9209 from ioito/automated-cherry-pick-of-#9205-upstream-release-3.5
Automated cherry pick of #9205: fix(region): validate invalid character for password
2020-12-07 10:52:13 +08:00
Qu Xuan
8b92f88159 fix(keystone): allow refresh scope resource 2020-12-07 10:48:34 +08:00
Qu Xuan
e43fbf4486 fix(region): region qcloud secgroup project id 2020-12-07 10:28:07 +08:00
Zexi Li
354dcbc41b Merge pull request #9206 from tb365/automated-cherry-pick-of-#9202-upstream-release-3.5
Automated cherry pick of #9202: Bugfix/tb bugfix 1204
2020-12-07 10:24:06 +08:00
Qu Xuan
830239c063 fix(region): validate invalid character for password 2020-12-07 10:08:27 +08:00
TangBin
cf00475987 fix(region): change dbinstance sku sync info log to warn 2020-12-07 10:00:41 +08:00
TangBin
3945ec37b5 fix(region): dbinstance skus sync log level fix 2020-12-07 10:00:41 +08:00
TangBin
c400796043 fix(region): server skus add cloud_env 2020-12-07 10:00:41 +08:00
Zexi Li
d827d5039a Merge pull request #9219 from ioito/automated-cherry-pick-of-#9217-upstream-release-3.5
Automated cherry pick of #9217: fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:38 +08:00
Qu Xuan
df8d24c228 fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:47:10 +08:00
Zexi Li
f5c8070d7e Merge pull request #9212 from ioito/automated-cherry-pick-of-#9210-upstream-release-3.5
Automated cherry pick of #9210: fix(region): azure metric request path
2020-12-04 18:00:57 +08:00
Qu Xuan
ab967f1e41 fix(region): azure metric request path 2020-12-04 17:14:40 +08:00
Zexi Li
132e49c5ea Merge pull request #9199 from lvyangyang/automated-cherry-pick-of-#9196-upstream-release-3.5
Automated cherry pick of #9196: feat(region): add bucket cloud tags support
2020-12-04 16:57:49 +08:00
Zexi Li
dc95b84860 Merge pull request #9198 from rainzm/automated-cherry-pick-of-#9066-upstream-release-3.5
Automated cherry pick of #9066: feat(region): add wire level for preparing network
2020-12-04 14:53:25 +08:00
lvyangyang
e469dd9694 feat(region): add bucket cloud tags support 2020-12-04 14:37:58 +08:00
lvyangyang
189ffd336c fix(region): fix modify tags log 2020-12-04 14:37:58 +08:00
rainzm
bd40fb97dc feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:32:51 +08:00
rainzm
d5a211983a feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:32:51 +08:00
rainzm
0c940bb734 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:51 +08:00
Zexi Li
8dcfa2e3c9 Merge pull request #9191 from rainzm/automated-cherry-pick-of-#9189-upstream-release-3.5
Automated cherry pick of #9189: fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:33 +08:00
Zexi Li
db4c0bbde4 Merge pull request #9186 from rainzm/automated-cherry-pick-of-#9183-upstream-release-3.5
Automated cherry pick of #9183: fix(region): inspect invalid guest template
2020-12-04 10:21:18 +08:00
Zexi Li
74854b6fd1 Merge pull request #9194 from swordqiu/automated-cherry-pick-of-#9192-upstream-release-3.5
Automated cherry pick of #9192: fix(apigateway): allow logout by get method
2020-12-04 10:16:37 +08:00
rainzm
9524fba27c fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:59:41 +08:00
Qiu Jian
5c66fe8431 fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:13:31 +08:00
rainzm
31fb63c736 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:43:40 +08:00
Zexi Li
e4e346b04a Merge pull request #9179 from zexi/automated-cherry-pick-of-#9176-upstream-release-3.5
Automated cherry pick of #9176: fix(scheduler): select resource unordered
2020-12-03 19:55:40 +08:00
Zexi Li
51a42b29c6 Merge pull request #9169 from lvyangyang/automated-cherry-pick-of-#9147-upstream-release-3.5
Automated cherry pick of #9147: feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:15 +08:00
Zexi Li
e69d3391c1 fix(scheduler): select resource unordered 2020-12-03 18:43:42 +08:00
Zexi Li
d57cea3ffe Merge pull request #9174 from yousong/automated-cherry-pick-of-#8483-upstream-release-3.5
Automated cherry pick of #8483: fix: climc vpc-create missing cloudregion_id
2020-12-03 18:33:42 +08:00
Qiu Jian
63fa0ec972 fix: climc vpc-create missing cloudregion_id 2020-12-03 18:18:27 +08:00
lvyangyang
71868ef2ef feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 15:22:12 +08:00
Zexi Li
0b946098d7 Merge pull request #9137 from ioito/automated-cherry-pick-of-#9135-upstream-release-3.5
Automated cherry pick of #9135: feat(cloudid): notify clouduser created
2020-12-03 15:17:19 +08:00
Zexi Li
b4cce1705c Merge pull request #9165 from wanyaoqi/automated-cherry-pick-of-#9163-upstream-release-3.5
Automated cherry pick of #9163: bugfix(region): fix list by srever type normal
2020-12-03 14:43:19 +08:00
Zexi Li
f640ca1189 Merge pull request #9167 from zhaoxiangchun/automated-cherry-pick-of-#9138-upstream-release-3.5
Automated cherry pick of #9138: fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:42:22 +08:00
zhaoxiangchun
2718630233 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 13:05:05 +08:00
wanyaoqi
2d4a5dd453 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:08:29 +08:00
Zexi Li
6fa21050fa Merge pull request #9156 from wanyaoqi/automated-cherry-pick-of-#9154-upstream-release-3.5
Automated cherry pick of #9154: feat(region): add list filter server type
2020-12-03 09:33:47 +08:00
Zexi Li
d5f7658e6b Merge pull request #9152 from ioito/automated-cherry-pick-of-#9150-upstream-release-3.5
Automated cherry pick of #9150: fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:19 +08:00
wanyaoqi
89254cac88 feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:31:12 +08:00
Qu Xuan
a11115559b fix(region): avoid qcloud sync local disk error 2020-12-02 20:27:32 +08:00
Zexi Li
dc98615a4a Merge pull request #9142 from swordqiu/automated-cherry-pick-of-#9140-upstream-release-3.5
Automated cherry pick of #9140: fix(keystone): not allow to disable sql driver
2020-12-02 17:08:43 +08:00
Qiu Jian
5abf887768 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:40:57 +08:00
Qu Xuan
546be36a4b feat(cloudid): notify clouduser created 2020-12-02 14:38:24 +08:00
Zexi Li
a638781cf2 Merge pull request #9133 from ioito/automated-cherry-pick-of-#9131-upstream-release-3.5
Automated cherry pick of #9131: fix(cloudid): sync qcloud collaborators user
2020-12-01 21:08:03 +08:00
Zexi Li
85f11e4939 Merge pull request #9125 from ioito/automated-cherry-pick-of-#9123-upstream-release-3.5
Automated cherry pick of #9123: fix(region): allow delete resource which status is unknown
2020-12-01 21:05:00 +08:00
Zexi Li
05f65660f5 Merge pull request #9106 from rainzm/automated-cherry-pick-of-#9104-upstream-release-3.5
Automated cherry pick of #9104: fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:23 +08:00
Qu Xuan
2b65e57f9f fix(cloudid): sync qcloud collaborators user 2020-12-01 20:37:25 +08:00
Zexi Li
6dccb3125a Merge pull request #9111 from yousong/automated-cherry-pick-of-#9109-upstream-release-3.5
Automated cherry pick of #9109: fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:38 +08:00
Zexi Li
c555c892f9 Merge pull request #9122 from ioito/automated-cherry-pick-of-#9120-upstream-release-3.5
Automated cherry pick of #9120: fix(region): allow update rds account and database desc
2020-12-01 19:33:09 +08:00
Zexi Li
e2a0d7c670 Merge pull request #9118 from rainzm/automated-cherry-pick-of-#9116-upstream-release-3.5
Automated cherry pick of #9116: fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:32:09 +08:00
rainzm
2e47ca7ed5 fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 18:24:24 +08:00
Qu Xuan
46b4bc58ae fix(region): allow delete resource which status is unknown 2020-12-01 17:18:18 +08:00
Qu Xuan
a4a0c971a8 fix(region): allow update rds account and database desc 2020-12-01 16:39:38 +08:00
rainzm
c4e4e35149 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 16:03:06 +08:00
Yousong Zhou
41afdb8ec7 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:33:12 +08:00
Zexi Li
0b0d1113dc Merge pull request #9098 from yousong/automated-cherry-pick-of-#9096-upstream-release-3.5
Automated cherry pick of #9096: Bugfix/yousong informer
2020-12-01 09:34:07 +08:00
Yousong Zhou
27f73c0388 fix(taskman): SSubTask: set model manager 2020-11-30 23:12:44 +08:00
Yousong Zhou
d7f14bb25e fix(region): secgrouprule: set model manager 2020-11-30 23:12:44 +08:00
Zexi Li
ce87224374 Merge pull request #9074 from ioito/automated-cherry-pick-of-#9072-upstream-release-3.5
Automated cherry pick of #9072: fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:28 +08:00
Zexi Li
77bd413e08 Merge pull request #9026 from ioito/automated-cherry-pick-of-#9024-upstream-release-3.5
Automated cherry pick of #9024: fix(cloudid): avoid use invalid character for role name
2020-11-30 21:54:01 +08:00
Zexi Li
6214917f0a Merge pull request #9078 from rainzm/automated-cherry-pick-of-#9076-upstream-release-3.5
Automated cherry pick of #9076: Notify via contact skip receiver
2020-11-30 21:50:23 +08:00
Zexi Li
1471e4e4b3 Merge pull request #9081 from yousong/automated-cherry-pick-of-#9079-upstream-release-3.5
Automated cherry pick of #9079: feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:24 +08:00
Zexi Li
df87d2c632 Merge pull request #9089 from rainzm/automated-cherry-pick-of-#9086-upstream-release-3.5
Automated cherry pick of #9086: fix(region): sort excludedNets correctly
2020-11-30 21:47:39 +08:00
Zexi Li
05c97d35e4 Merge pull request #9095 from ioito/automated-cherry-pick-of-#9075-upstream-release-3.5
Automated cherry pick of #9075: fix(region): optimized rds backup create
2020-11-30 21:31:56 +08:00
Qu Xuan
e59ac5cd6e fix(region): optimized rds backup create 2020-11-30 20:02:23 +08:00
rainzm
1c9e3a9c87 feat(cloudcommon): add NotifyWithContact 2020-11-30 20:01:27 +08:00
rainzm
8954700caf feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 20:01:27 +08:00
rainzm
88fcf9ef0b feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 20:01:27 +08:00
rainzm
74a10e799e fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 19:05:45 +08:00
Yousong Zhou
dc9c76b702 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:30:13 +08:00
Yousong Zhou
14f81747e8 fix(region): pass up error from InitializeData 2020-11-30 18:30:13 +08:00
Qu Xuan
b7450b3fd4 fix(cloudid): huawei saml provider create issue 2020-11-30 16:31:39 +08:00
Zexi Li
13834c9e21 Merge pull request #8997 from ioito/automated-cherry-pick-of-#8995-upstream-release-3.5
Automated cherry pick of #8995: fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:13:46 +08:00
Qu Xuan
da5f355051 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:18:03 +08:00
Zexi Li
d4fc510119 Merge pull request #9030 from ioito/automated-cherry-pick-of-#9021-upstream-release-3.5
Automated cherry pick of #9021: fix(region): auto sync cloudaccount resources
2020-11-27 20:14:00 +08:00
Zexi Li
1cb1eca69a Merge pull request #9057 from lvyangyang/automated-cherry-pick-of-#9056-upstream-release-3.5
Automated cherry pick of #9056: fix(region): bucket get referer fix
2020-11-27 20:04:19 +08:00
lvyangyang
dc4bce327d fix(region): bucket get referer fix 2020-11-27 19:43:32 +08:00
yunion-ci-robot
8dda8e0b5d Merge pull request #9038 from yousong/automated-cherry-pick-of-#9036-upstream-release-3.5
Automated cherry pick of #9036: feat(region): search server by substr of ip or mac
2020-11-27 18:46:35 +08:00
Zexi Li
188b0eee9d Merge pull request #9051 from wanyaoqi/automated-cherry-pick-of-#9049-upstream-release-3.5
Automated cherry pick of #9049: fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:57 +08:00
wanyaoqi
a4d4210b0d 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:55 +08:00
yunion-ci-robot
7463ce017e Merge pull request #9048 from rainzm/automated-cherry-pick-of-#9046-upstream-release-3.5
Automated cherry pick of #9046: fix(region): get provider name via GetProviderName
2020-11-27 17:59:33 +08:00
rainzm
13a210a849 fix(region): get provider name via GetProviderName 2020-11-27 17:35:18 +08:00
yunion-ci-robot
2adad66a10 Merge pull request #9045 from rainzm/automated-cherry-pick-of-#9043-upstream-release-3.5
Automated cherry pick of #9043: fix(region): get provider name via GetProviderName
2020-11-27 16:50:32 +08:00
Zexi Li
7d8f6d0178 Merge pull request #9034 from lvyangyang/automated-cherry-pick-of-#9033-upstream-release-3.5
Automated cherry pick of #9033: fix(region): fix set bucket referer
2020-11-27 16:29:51 +08:00
rainzm
c5c928517e fix(region): get provider name via GetProviderName 2020-11-27 16:12:53 +08:00
Yousong Zhou
28e50d3c06 feat(region): search server by substr of ip or mac 2020-11-27 15:16:28 +08:00
lvyangyang
f9983d45bf feat(region): set qcloud bucket policy 2020-11-27 14:49:12 +08:00
lvyangyang
81dfd941fa fix(region): fix set bucket referer 2020-11-27 14:49:12 +08:00
Zexi Li
9dcff87ee5 Merge pull request #9032 from zexi/automated-cherry-pick-of-#8930-upstream-release-3.5
Automated cherry pick of #8930: feat(region/schedtag): schedtag support set multi resources
2020-11-27 10:19:59 +08:00
Zexi Li
018e1a94e4 feat(region/schedtag): schedtag support set multi resources 2020-11-27 09:57:38 +08:00
Qu Xuan
2ad96ea6bb fix(region): auto sync cloudaccount resources 2020-11-27 09:40:08 +08:00
Zexi Li
9796462169 Merge pull request #9000 from ioito/automated-cherry-pick-of-#8998-upstream-release-3.5
Automated cherry pick of #8998: fix(region): allow member user get saml auth addr
2020-11-26 21:39:49 +08:00
Qu Xuan
3b85961a08 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:39:10 +08:00
Zexi Li
8f928ad9d6 Merge pull request #9020 from ioito/automated-cherry-pick-of-#9018-upstream-release-3.5
Automated cherry pick of #9018: fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:26 +08:00
Zexi Li
286af65835 Merge pull request #9004 from ioito/automated-cherry-pick-of-#9002-upstream-release-3.5
Automated cherry pick of #9002: fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:37:09 +08:00
yunion-ci-robot
947e490fda Merge pull request #9017 from tb365/automated-cherry-pick-of-#9015-upstream-release-3.5
Automated cherry pick of #9015: fix(region): huawei sync storages bugfix
2020-11-26 21:35:45 +08:00
Zexi Li
78eea679fb Merge pull request #9014 from ioito/automated-cherry-pick-of-#9012-upstream-release-3.5
Automated cherry pick of #9012: fix(region): qcloud request retry
2020-11-26 21:31:56 +08:00
Zexi Li
6eeae771c0 Merge pull request #9007 from yousong/automated-cherry-pick-of-#9005-upstream-release-3.5
Automated cherry pick of #9005: Feature/yousong ovn encap ip
2020-11-26 21:29:26 +08:00
Zexi Li
b105654f13 Merge pull request #9011 from ioito/automated-cherry-pick-of-#9009-upstream-release-3.5
Automated cherry pick of #9009: fix(climc): replace ' -> "
2020-11-26 21:27:12 +08:00
Qu Xuan
dadcabc112 fix(cloudid): auto update saml provider metadata 2020-11-26 20:20:24 +08:00
TangBin
f8f02a8e64 fix(region): huawei sync storages bugfix 2020-11-26 19:35:21 +08:00
Qu Xuan
e1ab78894f fix(region): qcloud request retry 2020-11-26 19:04:05 +08:00
Qu Xuan
de154ecd36 fix(climc): replace ' -> " 2020-11-26 17:37:08 +08:00
Yousong Zhou
159950ae7d feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:11:56 +08:00
Yousong Zhou
f0482cf652 feat(netutils2): add MyIPTo 2020-11-26 17:11:56 +08:00
Qu Xuan
f6985c100d fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:18:02 +08:00
Qu Xuan
bb906fd7ba fix(region): allow member user get saml auth addr 2020-11-26 15:03:57 +08:00
Zexi Li
80dc067a0f Merge pull request #8985 from swordqiu/automated-cherry-pick-of-#8968-upstream-release-3.5
Automated cherry pick of #8968: fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:12 +08:00
yunion-ci-robot
31e64f7f24 Merge pull request #8993 from zexi/automated-cherry-pick-of-#8991-upstream-release-3.5
Automated cherry pick of #8991: fix(scheduler): clean expire cache before schedule
2020-11-26 11:43:32 +08:00
Zexi Li
a0738f4676 fix(region): wire get vpc releated hosts is empty 2020-11-26 11:03:27 +08:00
Zexi Li
e48d2cdc6f fix(region): network clean schedule cache after real deleted 2020-11-26 11:03:27 +08:00
Zexi Li
348d2129f8 fix(scheduler): clean expire cache before schedule 2020-11-26 11:03:27 +08:00
Zexi Li
676b29fb52 Merge pull request #8929 from rainzm/automated-cherry-pick-of-#8925-upstream-release-3.5
Automated cherry pick of #8925: feat(region): add SCloudregionResourceBase for SInstanceSnapshot
2020-11-25 22:04:40 +08:00
Zexi Li
dc48e32cca Merge pull request #8957 from tb365/automated-cherry-pick-of-#8955-upstream-release-3.5
Automated cherry pick of #8955: fix(region): allow reset huawei system disk
2020-11-25 22:01:36 +08:00
Zexi Li
62a9a30dc6 Merge pull request #8963 from ioito/automated-cherry-pick-of-#8961-upstream-release-3.5
Automated cherry pick of #8961: fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:35 +08:00
Zexi Li
a3edeb31ec Merge pull request #8982 from zhaoxiangchun/automated-cherry-pick-of-#8977-upstream-release-3.5
Automated cherry pick of #8977: fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:57:16 +08:00
Zexi Li
add7fd42ae Merge pull request #8989 from rainzm/automated-cherry-pick-of-#8987-upstream-release-3.5
Automated cherry pick of #8987: fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:51 +08:00
rainzm
ebbedc135b 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:39 +08:00
zhaoxiangchun
6f1bf542ca fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:30:52 +08:00
Qiu Jian
039f6d5f05 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:18:19 +08:00
Zexi Li
540aeae3ad Merge pull request #8975 from ioito/automated-cherry-pick-of-#8973-upstream-release-3.5
Automated cherry pick of #8973: fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:42:09 +08:00
rainzm
1f90c2cff5 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:27:02 +08:00
rainzm
d46eedab9c fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:27:02 +08:00
rainzm
27949042c1 fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:27:02 +08:00
rainzm
0b64f30975 fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:27:02 +08:00
rainzm
99f1c96082 fix(region): save when canceling pendingUsage 2020-11-25 18:27:02 +08:00
rainzm
d6ae7ebed8 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:27:02 +08:00
rainzm
2246f08d8a feat(region): add instance_snapshot for regionquota 2020-11-25 18:27:02 +08:00
rainzm
b37ac26238 fix(region): purge all instance snapshots when purging guest 2020-11-25 18:27:02 +08:00
rainzm
7b93a784fd feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:27:02 +08:00
TangBin
d1a5cea457 fix(region): update translations 2020-11-25 18:18:24 +08:00
TangBin
a7d290b0db fix(region): allow reset huawei system disk 2020-11-25 18:18:23 +08:00
Qu Xuan
f1048fadba fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:17:26 +08:00
Zexi Li
1ca810c6a2 Merge pull request #8972 from ioito/automated-cherry-pick-of-#8970-upstream-release-3.5
Automated cherry pick of #8970: fix(cloudid): avoid empty auth url
2020-11-25 17:16:54 +08:00
Qu Xuan
0e5e044176 fix(cloudid): avoid empty auth url 2020-11-25 17:07:30 +08:00
Zexi Li
7d44c83040 Merge pull request #8960 from ioito/automated-cherry-pick-of-#8958-upstream-release-3.5
Automated cherry pick of #8958: fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:56 +08:00
Qu Xuan
24372aae95 fix(region): valid qcloud hssd for system disk 2020-11-25 11:52:36 +08:00
Qu Xuan
3d79d9bbe3 fix(region): validate cloudaccount saml auth params 2020-11-25 11:43:55 +08:00
Zexi Li
6cb8805435 Merge pull request #8953 from ioito/automated-cherry-pick-of-#8895-upstream-release-3.5
Automated cherry pick of #8895: fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 10:06:15 +08:00
Qu Xuan
dd9b989fe4 fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-25 09:55:11 +08:00
Zexi Li
2e9445ef50 Merge pull request #8949 from yousong/automated-cherry-pick-of-#8947-upstream-release-3.5
Automated cherry pick of #8947: fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:28:11 +08:00
yunion-ci-robot
da91c86404 Merge pull request #8944 from yousong/automated-cherry-pick-of-#8942-upstream-release-3.5
Automated cherry pick of #8942: feat(cloudcommon): db: jointbase: add list:"user" for RowId
2020-11-25 09:17:17 +08:00
Yousong Zhou
7c3796b217 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:59:15 +08:00
Yousong Zhou
97087fc329 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:47 +08:00
Yousong Zhou
0fc3c8c2b5 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:47 +08:00
yunion-ci-robot
fb575e264d Merge pull request #8928 from zhaoxiangchun/automated-cherry-pick-of-#8926-upstream-release-3.5
Automated cherry pick of #8926: fix(monitor): modify suggestrule  process influxdb data
2020-11-24 21:29:17 +08:00
yunion-ci-robot
c201b215a9 Merge pull request #8935 from ioito/automated-cherry-pick-of-#8933-upstream-release-3.5
Automated cherry pick of #8933: fix(region): avoid public ip bandwidth is zero
2020-11-24 20:25:27 +08:00
Qu Xuan
8dc3aca3eb fix(region): avoid public ip bandwidth is zero 2020-11-24 18:11:18 +08:00
zhaoxiangchun
989ca1fdae fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 17:48:36 +08:00
yunion-ci-robot
d35a07671a Merge pull request #8915 from tb365/automated-cherry-pick-of-#8913-upstream-release-3.5
Automated cherry pick of #8913: feat(region): support aliyun finance cloud
2020-11-24 09:47:59 +08:00
TangBin
6a15e02e34 fix(region): aliyun zone name fix 2020-11-24 09:37:43 +08:00
TangBin
f336467a79 fix(region): aliyun region name 2020-11-24 09:37:43 +08:00
TangBin
a415c97995 fix(region): aliyun sync region fix 2020-11-24 09:37:43 +08:00
TangBin
f31b97144e feat(region): support aliyun finance cloud 2020-11-24 09:35:48 +08:00
yunion-ci-robot
a53790cd04 Merge pull request #8921 from zhaoxiangchun/automated-cherry-pick-of-#8920-upstream-release-3.5
Automated cherry pick of #8920: fix(monitor): modify notify alertInfo and alertOk detach resource
2020-11-24 09:34:58 +08:00
Zexi Li
b0a85b5b20 Merge pull request #8918 from ioito/automated-cherry-pick-of-#8917-upstream-release-3.5
Automated cherry pick of #8917: fix(region): set classic vpc name to "-"
2020-11-23 21:25:09 +08:00
Zexi Li
43ca1978f0 Merge pull request #8916 from ioito/automated-cherry-pick-of-#8912-upstream-release-3.5
Automated cherry pick of #8912: fix(region): add saml auth for capability
2020-11-23 21:24:04 +08:00
zhaoxiangchun
2ba9275033 fix(monitor):fix 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:18:52 +08:00
Qu Xuan
4ff3529e1f fix(region): set classic vpc name to "-" 2020-11-23 17:45:50 +08:00
Qu Xuan
2baf238313 fix(region): add saml auth for capability 2020-11-23 17:15:19 +08:00
Zexi Li
ccd8af304f Merge pull request #8905 from ioito/automated-cherry-pick-of-#8904-upstream-release-3.5
Automated cherry pick of #8904: fix(region): azure host with storage
2020-11-23 16:46:28 +08:00
Zexi Li
49d69c144c Merge pull request #8907 from swordqiu/automated-cherry-pick-of-#8906-upstream-release-3.5
Automated cherry pick of #8906: feat(keystone): filter domain/user by idp_entity_id
2020-11-23 16:12:47 +08:00
Zexi Li
bb0a4d5028 Merge pull request #8901 from wanyaoqi/automated-cherry-pick-of-#8889-upstream-release-3.5
Automated cherry pick of #8889: fix(host): wait put host offline success
2020-11-23 13:04:36 +08:00
Qiu Jian
c76a845c27 feat(keystone): filter domain/user by idp_entity_id
filter domain/user by idp_entity_id
2020-11-23 12:25:56 +08:00
Qu Xuan
b8741a5b1a fix(region): azure host with storage 2020-11-23 11:28:36 +08:00
wanyaoqi
377adc0a92 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:31:49 +08:00
Zexi Li
ce55f91f6a Merge pull request #8897 from swordqiu/automated-cherry-pick-of-#8896-upstream-release-3.5
Automated cherry pick of #8896: fix: oidc data may be encapuslated in data field
2020-11-22 12:05:53 +08:00
Qiu Jian
8a6fe5ce64 fix(keystone): oidc data may be encapuslated in data field
兼容一些oidc实现,返回数据包裹在data字段里
2020-11-22 11:54:57 +08:00
Zexi Li
f499380abf Merge pull request #8893 from yousong/automated-cherry-pick-of-#8892-upstream-release-3.5
Automated cherry pick of #8892: fix(locales): fix translation text
2020-11-22 11:00:24 +08:00
yunion-ci-robot
0839361f71 Merge pull request #8866 from swordqiu/automated-cherry-pick-of-#8865-upstream-release-3.5
Automated cherry pick of #8865: fix: allow disk attach to multiple guests
2020-11-21 19:25:00 +08:00
Yousong Zhou
44bada6617 fix(region): elasticcache_instances: fix error fmt 2020-11-21 17:32:05 +08:00
Yousong Zhou
8e26bab0ee fix(locales): fix translation text 2020-11-21 17:32:05 +08:00
Zexi Li
2270e4c0e6 Merge pull request #8888 from tb365/automated-cherry-pick-of-#8887-upstream-release-3.5
Automated cherry pick of #8887: fix(region): ignore classic vpc checkout while add lb backend
2020-11-20 19:56:57 +08:00
TangBin
8996b7b96a fix(region): create/update aliyun account bugfix 2020-11-20 18:40:50 +08:00
TangBin
f33715feb7 fix(region): purge account bugfix
忽略由于证书缓存与负载均衡监听关联导致purge账号失败的问题
2020-11-20 18:40:50 +08:00
TangBin
b6ed945ae9 fix(region): checking cloudenv while create/update aliyun cloud account
#6389
2020-11-20 18:40:50 +08:00
TangBin
7d546d6340 fix(region): create redis validate network and sku zone match 2020-11-20 18:40:50 +08:00
TangBin
dd3c127e98 fix(region): delete aliyun account bugfix 2020-11-20 18:40:50 +08:00
TangBin
6875703929 fix(region): redis create account add name validate
公有云redis不允许创建名为root的账号

#6398
2020-11-20 18:40:50 +08:00
TangBin
bde10f338d fix(region): ignore classic vpc checkout while add lb backend
阿里云公网EL属于经典网络,在添加后端服务器时,不需要LB VPC和服务器的vpc 完全匹配

#6040
#6404
2020-11-20 18:40:50 +08:00
Zexi Li
fe7ee36aea Merge pull request #8885 from ioito/automated-cherry-pick-of-#8884-upstream-release-3.5
Automated cherry pick of #8884: fix(region): compatible aliyun fin oss
2020-11-20 16:35:38 +08:00
Qu Xuan
170a8398ac fix(region): compatible aliyun fin oss 2020-11-20 16:08:12 +08:00
Zexi Li
bffd7e1ba2 Merge pull request #8882 from lvyangyang/automated-cherry-pick-of-#8881-upstream-release-3.5
Automated cherry pick of #8881: fix(region): get qcloud bucket cdn-domain
2020-11-20 11:17:56 +08:00
lvyangyang
8ddbe31c35 fix(region): get qcloud bucket cdn-domain 2020-11-20 11:04:40 +08:00
Zexi Li
ed22502359 Merge pull request #8878 from ioito/automated-cherry-pick-of-#8877-upstream-release-3.5
Automated cherry pick of #8877: fix: 自动生成华为云rds密码
2020-11-20 10:05:18 +08:00
Zexi Li
03c5b89fe4 Merge pull request #8874 from ioito/automated-cherry-pick-of-#8873-upstream-release-3.5
Automated cherry pick of #8873: optimized: server delete log and wait time
2020-11-20 10:04:27 +08:00
Zexi Li
1de0b88b96 Merge pull request #8879 from ioito/automated-cherry-pick-of-#8876-upstream-release-3.5
Automated cherry pick of #8876: feat: rds recovery new instance from backup supported
2020-11-19 20:53:05 +08:00
Qu Xuan
17ca180439 feat: rds recovery new instance from backup supported 2020-11-19 20:15:08 +08:00
Qu Xuan
5d09808e10 fix: 自动生成华为云rds密码 2020-11-19 19:55:38 +08:00
Qu Xuan
346d9aa284 optimized: server delete log and wait time 2020-11-19 16:26:56 +08:00
Zexi Li
cebada3f3b Merge pull request #8870 from lvyangyang/automated-cherry-pick-of-#8869-upstream-release-3.5
Automated cherry pick of #8869: fix(region): qcloud bucket set cors
2020-11-19 15:14:37 +08:00
lvyangyang
62e75412c3 fix(region): qcloud bucket set cors 2020-11-19 15:01:43 +08:00
Zexi Li
8b44b8cfc1 Merge pull request #8857 from tb365/automated-cherry-pick-of-#8856-upstream-release-3.5
Automated cherry pick of #8856: add redis and redis skus slave zone info & huawei aws supported storage type update
2020-11-19 14:32:56 +08:00
TangBin
df0cc60e04 add getStorageType err log 2020-11-19 14:11:54 +08:00
TangBin
568016d7f2 add redis and redis skus slave zone info & huawei aws supported storage type update 2020-11-19 14:11:54 +08:00
Qiu Jian
0315cd33c1 fix: allow disk attach to multiple guests 2020-11-19 13:26:58 +08:00
Zexi Li
31552216dc Merge pull request #8646 from ioito/automated-cherry-pick-of-#8569-upstream-release-3.5
Automated cherry pick of #8569: fix: 优化azure资源同步
2020-11-19 12:48:00 +08:00
Qu Xuan
a64243a8a9 fix: optimized jsonRequest 2020-11-19 12:04:41 +08:00
Qu Xuan
bf5ea4ef83 fix: 优化azure资源同步 2020-11-19 12:03:28 +08:00
Zexi Li
2bc4e0db43 Merge pull request #8861 from swordqiu/automated-cherry-pick-of-#8860-upstream-release-3.5
Automated cherry pick of #8860: fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:17 +08:00
Zexi Li
21dcbf4bb1 Merge pull request #8864 from ioito/automated-cherry-pick-of-#8863-upstream-release-3.5
Automated cherry pick of #8863: fix: cloudid api addr
2020-11-19 11:02:21 +08:00
Qu Xuan
ef132b2146 fix: cloudid api addr 2020-11-19 10:52:51 +08:00
Qiu Jian
aa75175ff4 fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:26:14 +08:00
Zexi Li
4cb5011ad6 Merge pull request #8845 from zhaoxiangchun/automated-cherry-pick-of-#8844-upstream-release-3.5
Automated cherry pick of #8844: detach AlertResource on alertDisable
2020-11-18 21:16:32 +08:00
Zexi Li
f5a6d9c26f Merge pull request #8851 from swordqiu/automated-cherry-pick-of-#8850-upstream-release-3.5
Automated cherry pick of #8850: fix: add host-joint resources into domain level resources
2020-11-18 21:15:11 +08:00
yunion-ci-robot
39cbdb83b8 Merge pull request #8859 from rainzm/automated-cherry-pick-of-#8858-upstream-release-3.5
Automated cherry pick of #8858: fix(hostdeployer): umount rootfs before resize partition
2020-11-18 21:12:14 +08:00
rainzm
ed6fb4a241 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:28:02 +08:00
yunion-ci-robot
ebffe5e88c Merge pull request #8854 from zhasm/automated-cherry-pick-of-#8849-upstream-release-3.5
Automated cherry pick of #8849: docker 交叉编译规则更新
2020-11-18 16:36:13 +08:00
Zhang Dongliang
1e267f8fb1 docker 交叉编译规则更新 2020-11-18 16:10:50 +08:00
Qiu Jian
862a53d2f4 fix: add host-joint resources into domain level resources 2020-11-18 15:26:14 +08:00
zhaoxiangchun
7d4990cbd0 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:21:58 +08:00
yunion-ci-robot
55dd336482 Merge pull request #8769 from ioito/automated-cherry-pick-of-#8697-upstream-release-3.5
Automated cherry pick of #8697: feature: saml for cloudid
2020-11-18 11:22:07 +08:00
yunion-ci-robot
b37728d0ae Merge pull request #8843 from lvyangyang/automated-cherry-pick-of-#8842-upstream-release-3.5
Automated cherry pick of #8842: add:get bucket cdn domain
2020-11-17 20:40:06 +08:00
lvyangyang
807bcbb33a add:get bucket cdn domain 2020-11-17 19:55:54 +08:00
yunion-ci-robot
09fe0130f6 Merge pull request #8837 from ioito/automated-cherry-pick-of-#8836-upstream-release-3.5
Automated cherry pick of #8836: fix: support import rules for secgroups
2020-11-17 18:30:08 +08:00
Qu Xuan
f26076b48a feature: saml for cloudid 2020-11-17 18:05:06 +08:00
Zexi Li
5bee7e85f6 Merge pull request #8839 from rainzm/automated-cherry-pick-of-#8827-upstream-release-3.5
Automated cherry pick of #8827: fix(notify): be compatible with keystone's UsersV3.GetById
2020-11-17 17:52:07 +08:00
rainzm
e0f85de5ff fix: add err handler for notifyRobot 2020-11-17 17:12:04 +08:00
rainzm
4a908a58f0 feat(notify): enable watching user in keystone 2020-11-17 17:12:04 +08:00
rainzm
eec58eff8f 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 17:12:04 +08:00
yunion-ci-robot
56ef20b7ee Merge pull request #8727 from rainzm/automated-cherry-pick-of-#8726-upstream-release-3.5
Automated cherry pick of #8726: Try to resizefs after resizing esxi disk
2020-11-17 16:44:08 +08:00
Qu Xuan
30fc56e635 fix: support import rules for secgroups 2020-11-17 15:32:04 +08:00
Zexi Li
87384461e5 Merge pull request #8794 from rainzm/automated-cherry-pick-of-#8793-upstream-release-3.5
Automated cherry pick of #8793: fix(region): chooseHostStorage
2020-11-17 15:21:26 +08:00
Zexi Li
a55ac613e7 Merge pull request #8829 from ioito/automated-cherry-pick-of-#8823-upstream-release-3.5
Automated cherry pick of #8823: optimized: aliyun create rds backup
2020-11-17 14:52:25 +08:00
Zexi Li
54a4752301 Merge pull request #8834 from zhaoxiangchun/automated-cherry-pick-of-#8816-upstream-release-3.5
Automated cherry pick of #8816: modify  alertResource ws info
2020-11-17 14:51:35 +08:00
rainzm
a4ce1271c4 feat(region): add RequestResizeDiskOnHost to SESXiHostDriver 2020-11-17 14:50:17 +08:00
rainzm
1e286edfe5 feat(esxiagent): try to resize partition after resizing disk 2020-11-17 14:50:17 +08:00
rainzm
b3f9dbf34c feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:50:17 +08:00
yunion-ci-robot
f0478a46a7 Merge pull request #8775 from rainzm/automated-cherry-pick-of-#8774-upstream-release-3.5
Automated cherry pick of #8774: Fix for esxi instance snapshot
2020-11-17 14:39:07 +08:00
zhaoxiangchun
4f2070e640 modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-17 14:23:59 +08:00
Zexi Li
3319818699 Merge pull request #8804 from wanyaoqi/automated-cherry-pick-of-#8803-upstream-release-3.5
Automated cherry pick of #8803: host: restart etcd session on keepalive failed
2020-11-17 14:20:19 +08:00
Zexi Li
d58a2d79e2 Merge pull request #8831 from rainzm/automated-cherry-pick-of-#8830-upstream-release-3.5
Automated cherry pick of #8830: feat(scheduler): support filtering storage via medium
2020-11-17 10:44:51 +08:00
yunion-ci-robot
24aeecd48e Merge pull request #8821 from tb365/automated-cherry-pick-of-#8820-upstream-release-3.5
Automated cherry pick of #8820: qcloud create single zone elb bugfix
2020-11-17 10:04:06 +08:00
yunion-ci-robot
9ba917e885 Merge pull request #8818 from ioito/automated-cherry-pick-of-#8817-upstream-release-3.5
Automated cherry pick of #8817: fix: add error cause
2020-11-16 21:43:07 +08:00
rainzm
c9001e0dc3 feat(scheduler): support filtering storage via medium 2020-11-16 20:49:38 +08:00
Qu Xuan
78afd36b98 optimized: aliyun create rds backup 2020-11-16 20:14:08 +08:00
yunion-ci-robot
3d6b2c1ee5 Merge pull request #8822 from lvyangyang/automated-cherry-pick-of-#8795-upstream-release-3.5
Automated cherry pick of #8795: qcloud bucket task
2020-11-16 16:41:06 +08:00
lvyangyang
13040b7b26 add:bucket ops const i18n 2020-11-16 16:17:27 +08:00
lvyangyang
8a0710a0aa qcloud bucket task 2020-11-16 16:17:27 +08:00
TangBin
4ac1a1881c qcloud create single zone elb bugfix 2020-11-16 15:16:23 +08:00
Qu Xuan
57e1222d67 fix: add error cause 2020-11-16 14:55:40 +08:00
yunion-ci-robot
ee4a4938aa Merge pull request #8815 from swordqiu/automated-cherry-pick-of-#8814-upstream-release-3.5
Automated cherry pick of #8814: fix: qcloud create bucket without appId
2020-11-16 13:21:06 +08:00
Qiu Jian
20dcbdbb85 fix: qcloud create bucket without appId 2020-11-16 12:59:58 +08:00
rainzm
2ca05d60f4 fix: creating esxi guest from instance snapshot 2020-11-16 11:06:25 +08:00
rainzm
b687f22f90 fix(region): start vm when 'auto_start' is true 2020-11-16 11:06:25 +08:00
rainzm
bdc67d6c8b fix: set isp's status as 'instance_snapshot_reset' when reseting guest from isp 2020-11-16 11:06:25 +08:00
Zexi Li
9ff7be6849 Merge pull request #8784 from tb365/automated-cherry-pick-of-#8783-upstream-release-3.5
Automated cherry pick of #8783: aliyun finance cloud region add suffix
2020-11-15 08:00:37 +08:00
Zexi Li
0353d19866 Merge pull request #8807 from zhaoxiangchun/automated-cherry-pick-of-#8806-upstream-release-3.5
Automated cherry pick of #8806: commonalert bugfix:
2020-11-15 07:55:15 +08:00
Zexi Li
3270779b45 Merge pull request #8810 from swordqiu/automated-cherry-pick-of-#8809-upstream-release-3.5
Automated cherry pick of #8809: fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:29 +08:00
Qiu Jian
fe1c6aa7e0 fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:42:01 +08:00
zhaoxiangchun
a0d7abfbc7 commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:24:38 +08:00
wanyaoqi
b000e43832 host: restart etcd session on keepalive failed 2020-11-14 15:26:34 +08:00
yunion-ci-robot
92bc463b6e Merge pull request #8801 from swordqiu/automated-cherry-pick-of-#8800-upstream-release-3.5
Automated cherry pick of #8800: fix: host memory usage status not correct
2020-11-14 11:22:03 +08:00
yunion-ci-robot
268b3b9dd5 Merge pull request #8797 from yousong/automated-cherry-pick-of-#8796-upstream-release-3.5
Automated cherry pick of #8796: vendor: update yunion.io/x/jsonutils
2020-11-14 00:12:03 +08:00
Qiu Jian
477b375e2a fix: host memory usage status not correct 2020-11-13 23:59:21 +08:00
Yousong Zhou
93783d7f46 vendor: update yunion.io/x/jsonutils
See yunionio/onecloud#8357
2020-11-13 18:46:08 +08:00
Zexi Li
658d10135a Merge pull request #8789 from wanyaoqi/automated-cherry-pick-of-#8189-upstream-release-3.5
Automated cherry pick of #8189: region: guest detail add field macs
2020-11-13 17:47:34 +08:00
Zexi Li
7c6c4e4a21 Merge pull request #8791 from tb365/automated-cherry-pick-of-#8790-upstream-release-3.5
Automated cherry pick of #8790: huawei vm support vnc
2020-11-13 17:46:09 +08:00
rainzm
ea9145608c fix(region): chooseHostStorage
Setting options.Options.LockStorageFromCachedimage will trigger this bug.
2020-11-13 17:24:01 +08:00
Zexi Li
c5e198a753 Merge pull request #8787 from swordqiu/automated-cherry-pick-of-#8786-upstream-release-3.5
Automated cherry pick of #8786: fix: keystone init empty catalogy cause panic
2020-11-13 15:23:48 +08:00
TangBin
84a09e01b3 huawei vm support vnc 2020-11-13 15:08:36 +08:00
wanyaoqi
d61a93b904 region: guest detail add field macs 2020-11-13 15:05:02 +08:00
Qiu Jian
bfe2f33897 fix: keystone init empty catalogy cause panic 2020-11-13 14:55:21 +08:00
TangBin
2a68ec39e6 aliyun finance cloud zone add suffix 2020-11-13 14:45:38 +08:00
TangBin
515ac00855 aliyun finance cloud region add suffix 2020-11-13 14:45:38 +08:00
Zexi Li
5f721d3d43 Merge pull request #8772 from swordqiu/automated-cherry-pick-of-#8771-upstream-release-3.5
Automated cherry pick of #8771: feature: allow join project across domain
2020-11-13 10:39:43 +08:00
Zexi Li
cea06ed8e3 Merge pull request #8777 from zhaoxiangchun/automated-cherry-pick-of-#8776-upstream-release-3.5
Automated cherry pick of #8776: suggestalet bugfix
2020-11-13 10:39:08 +08:00
zhaoxiangchun
cb9a4d92f3 suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
2020-11-12 21:32:51 +08:00
Qiu Jian
b8921016c9 feature: allow join project across domain 2020-11-12 20:41:01 +08:00
yunion-ci-robot
848e3afc00 Merge pull request #8759 from ioito/automated-cherry-pick-of-#8758-upstream-release-3.5
Automated cherry pick of #8758: fix: public ip and duration for create params
2020-11-12 19:34:04 +08:00
Zexi Li
52b926dcc4 Merge pull request #8761 from ioito/automated-cherry-pick-of-#8760-upstream-release-3.5
Automated cherry pick of #8760: fix: avoid panic
2020-11-12 19:31:24 +08:00
Zexi Li
b8f96822ea Merge pull request #8757 from ioito/automated-cherry-pick-of-#8756-upstream-release-3.5
Automated cherry pick of #8756: fix: support create 512mb server sku
2020-11-12 18:52:18 +08:00
Zexi Li
75f2e5e0bc Merge pull request #8765 from ioito/automated-cherry-pick-of-#8764-upstream-release-3.5
Automated cherry pick of #8764: fix: support resize qcloud hssd disk
2020-11-12 18:51:34 +08:00
Zexi Li
8375a58927 Merge pull request #8768 from swordqiu/automated-cherry-pick-of-#8553-upstream-release-3.5
Automated cherry pick of #8553: feature: auto create domain for sso idp
2020-11-12 18:50:30 +08:00
Qiu Jian
1bf1eaa7ce feature: auto create domain for sso idp 2020-11-12 17:32:17 +08:00
Qu Xuan
3e8fe4ab94 fix: support resize qcloud hssd disk 2020-11-12 16:47:51 +08:00
Qu Xuan
360372290d fix: avoid panic 2020-11-12 16:19:55 +08:00
Qu Xuan
ff099ba2cc fix: public ip and duration for create params 2020-11-12 16:02:07 +08:00
Qu Xuan
66f890112a fix: support create 512mb server sku 2020-11-12 14:02:29 +08:00
yunion-ci-robot
9bd992bcfb Merge pull request #8754 from rainzm/automated-cherry-pick-of-#8753-upstream-release-3.5
Automated cherry pick of #8753: fix(region): prevent infinite recursion
2020-11-12 11:53:01 +08:00
rainzm
042579831e 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:39:05 +08:00
Zexi Li
4488a3ee3b Merge pull request #8748 from ioito/automated-cherry-pick-of-#8747-upstream-release-3.5
Automated cherry pick of #8747: fix: avoid check region log every time when account status is unknown
2020-11-12 00:52:53 +08:00
Zexi Li
09a67850bb Merge pull request #8750 from ioito/automated-cherry-pick-of-#8749-upstream-release-3.5
Automated cherry pick of #8749: fix: renew rds
2020-11-12 00:49:46 +08:00
Qu Xuan
f29678998c fix: renew rds 2020-11-11 19:07:00 +08:00
Qu Xuan
8bad131096 fix: avoid check region log every time when account status is unknown 2020-11-11 15:26:46 +08:00
Zexi Li
420554e8ab Merge pull request #8724 from tb365/automated-cherry-pick-of-#8723-upstream-release-3.5
Automated cherry pick of #8723: batch user create bugifx
2020-11-11 11:56:37 +08:00
Zexi Li
7fe1641a64 Merge pull request #8746 from wanyaoqi/automated-cherry-pick-of-#8722-upstream-release-3.5
Automated cherry pick of #8722: add success note on guest start and stop
2020-11-11 11:55:53 +08:00
Zexi Li
4c3108ec0c Merge pull request #8720 from tb365/automated-cherry-pick-of-#8719-upstream-release-3.5
Automated cherry pick of #8719: huawei create disk bugfix
2020-11-11 11:54:11 +08:00
wanyaoqi
bd4f684e3c host: specifie bash for start guest 2020-11-11 11:06:15 +08:00
wanyaoqi
03bd569c1e usage: host show isolated dev reserved memory 2020-11-11 11:06:15 +08:00
wanyaoqi
f17cd60bb0 add success note on guest start and stop 2020-11-11 11:06:15 +08:00
Zexi Li
12a542fd5b Merge pull request #8739 from ioito/automated-cherry-pick-of-#8738-upstream-release-3.5
Automated cherry pick of #8738: fix: qcloud rds set renew flag
2020-11-10 19:05:22 +08:00
屈轩
bd86606e8b fix: qcloud rds set renew flag 2020-11-10 18:59:15 +08:00
Zexi Li
12745031ee Merge pull request #8736 from tb365/automated-cherry-pick-of-#8735-upstream-release-3.5
Automated cherry pick of #8735: redis set autorenew bugfix
2020-11-10 18:41:29 +08:00
TangBin
48540ac0bf redis set autorenew bugfix 2020-11-10 18:38:25 +08:00
Zexi Li
a438a6a0b6 Merge pull request #8731 from ioito/automated-cherry-pick-of-#8730-upstream-release-3.5
Automated cherry pick of #8730: fix: rds task fix
2020-11-10 18:02:06 +08:00
Qu Xuan
6f43ea3184 fix: rds task fix 2020-11-10 18:00:51 +08:00
Zexi Li
fd15ad17d2 Merge pull request #8729 from tb365/automated-cherry-pick-of-#8728-upstream-release-3.5
Automated cherry pick of #8728: redis set autorenew bugfix
2020-11-10 17:46:44 +08:00
TangBin
0a9719a789 redis set autorenew bugfix 2020-11-10 17:45:02 +08:00
TangBin
ec64a3df7b batch user create bugifx 2020-11-10 16:49:27 +08:00
TangBin
f8391a5adb huawei create disk bugfix 2020-11-10 16:18:39 +08:00
Zexi Li
16191a0fd3 Merge pull request #8710 from rainzm/automated-cherry-pick-of-#8709-upstream-release-3.5
Automated cherry pick of #8709: feat: support snapshot of esxi
2020-11-10 15:46:52 +08:00
rainzm
ec57acafc0 feat(region): support automatic start vm after reseting isp 2020-11-10 15:25:14 +08:00
rainzm
46f37ff8ab feat(region): add SExternalizedResourceBase, SManagedResourceBase to SInstanceSnapshot 2020-11-10 15:25:14 +08:00
rainzm
8889be9786 feat: update locales 2020-11-10 15:25:14 +08:00
rainzm
77f997c073 feat: support creating vm from instance snapshot 2020-11-10 15:25:14 +08:00
rainzm
bdc16dc24e feat: creat, delete, revert and sync operator for esxi instance snapshots 2020-11-10 15:25:14 +08:00
rainzm
eaab61c08d feat: add ICloudInstanceSnapshot & modify ICloudVM 2020-11-10 15:25:14 +08:00
rainzm
afb551de76 feat: support snapshot of esxi 2020-11-10 15:25:14 +08:00
Zexi Li
6fe8d438a5 Merge pull request #8714 from ioito/automated-cherry-pick-of-#8713-upstream-release-3.5
Automated cherry pick of #8713: fix: support rds set auto renew
2020-11-10 12:55:24 +08:00
Zexi Li
cbe02c996b Merge pull request #8716 from ioito/automated-cherry-pick-of-#8715-upstream-release-3.5
Automated cherry pick of #8715: fix: aws secgroup out rule is deny any
2020-11-10 12:54:29 +08:00
Zexi Li
8f4bf68e66 Merge pull request #8712 from tb365/automated-cherry-pick-of-#8711-upstream-release-3.5
Automated cherry pick of #8711: redis prepaid create autorenew bugfix
2020-11-10 12:53:24 +08:00
Qu Xuan
b67b110525 fix: aws secgroup out rule is deny any 2020-11-10 11:04:40 +08:00
TangBin
ff0786034a redis create bugfix 2020-11-10 10:59:24 +08:00
TangBin
e909674e2f redis prepaid create autorenew bugfix 2020-11-10 10:59:24 +08:00
Qu Xuan
e62ff5d522 fix: support rds set auto renew 2020-11-09 20:13:04 +08:00
Zexi Li
a21b4879b5 Merge pull request #8693 from swordqiu/automated-cherry-pick-of-#8692-upstream-release-3.5
Automated cherry pick of #8692: fix: change level of scopedpolicy to system
2020-11-09 18:20:39 +08:00
yunion-ci-robot
58eee2defb Merge pull request #8708 from tb365/automated-cherry-pick-of-#8707-upstream-release-3.5
Automated cherry pick of #8707: qcloud redis secgroup sync fix & qcloud add renew& auto_renew
2020-11-09 17:22:21 +08:00
yunion-ci-robot
ae986d11dd Merge pull request #8699 from rainzm/automated-cherry-pick-of-#8698-upstream-release-3.5
Automated cherry pick of #8698: feat(build): add .dockerignore
2020-11-09 14:24:19 +08:00
yunion-ci-robot
533e0f4741 Merge pull request #8650 from rainzm/automated-cherry-pick-of-#8649-upstream-release-3.5
Automated cherry pick of #8649: feat(region): filter network via storage
2020-11-09 14:23:36 +08:00
Qiu Jian
6efdd681c6 fix: change level of scopedpolicy to system 2020-11-09 11:20:50 +08:00
Zexi Li
2db47f48dd Merge pull request #8706 from swordqiu/automated-cherry-pick-of-#8705-upstream-release-3.5
Automated cherry pick of #8705: fix: search by name and order by scopedpolicy for scopedpolicybindings
2020-11-09 10:45:47 +08:00
Zexi Li
7c8ba6ee4f Merge pull request #8704 from zhaoxiangchun/automated-cherry-pick-of-#8703-upstream-release-3.5
Automated cherry pick of #8703: commonalert bugfix:
2020-11-09 10:44:28 +08:00
TangBin
78769555bc qcloud redis secgroup sync fix & qcloud add renew& auto_renew 2020-11-09 10:42:38 +08:00
Qiu Jian
a0754e6d4c fix: search by name and order by scopedpolicy for scopedpolicybindings 2020-11-09 08:57:18 +08:00
zhaoxiangchun
af043fe119 commonalert bugfix:
1. 报警消息中过滤onecloud信息
2. 报警记录中报警恢复match 信息根据alertingMatches进行过滤处理
2020-11-08 17:14:30 +08:00
Zexi Li
d8d143574c Merge pull request #8696 from lvyangyang/automated-cherry-pick-of-#8694-upstream-release-3.5
Automated cherry pick of #8694: fix:修复dns record name校验的问题
2020-11-07 18:43:32 +08:00
Zexi Li
11e75b3c8a Merge pull request #8702 from ioito/automated-cherry-pick-of-#8700-upstream-release-3.5
Automated cherry pick of #8700: fix: sync remove dirty rds accounts
2020-11-07 18:27:06 +08:00
Qu Xuan
8b3f8fb1d8 fix: sync remove dirty rds accounts 2020-11-06 20:37:50 +08:00
rainzm
84f9d31760 feat(build): add DOCKER_BUILDKIT in docker_push.sh 2020-11-06 20:36:47 +08:00
rainzm
d8617bdbdb feat(build): add .dockerignore 2020-11-06 20:36:47 +08:00
lvyangyang
ec5027d65d fix:修复dns record name校验的问题 2020-11-06 19:59:02 +08:00
Zexi Li
8e462acdbd Merge pull request #8690 from swordqiu/automated-cherry-pick-of-#8689-upstream-release-3.5
Automated cherry pick of #8689: fix: change owner should update quota usages
2020-11-06 15:11:16 +08:00
yunion-ci-robot
177369cba5 Merge pull request #8687 from rainzm/automated-cherry-pick-of-#8686-upstream-release-3.5
Automated cherry pick of #8686: feat(region): add option NoCheckOsTypeForCachedImage
2020-11-06 15:07:18 +08:00
yunion-ci-robot
30bea718b7 Merge pull request #8684 from ioito/automated-cherry-pick-of-#8683-upstream-release-3.5
Automated cherry pick of #8683: fix: aliyun eip api
2020-11-06 15:04:20 +08:00
Qiu Jian
721477e899 fix: change owner should update quota usages 2020-11-06 14:48:06 +08:00
Zexi Li
168f3af326 Merge pull request #8681 from ioito/automated-cherry-pick-of-#8680-upstream-release-3.5
Automated cherry pick of #8680: fix: 支持多内存过滤套餐
2020-11-06 13:49:59 +08:00
Zexi Li
db2bb725b9 Merge pull request #8678 from swordqiu/automated-cherry-pick-of-#8677-upstream-release-3.5
Automated cherry pick of #8677: fix: missing column error when order by extra fields
2020-11-06 13:49:35 +08:00
Zexi Li
aae257127c Merge pull request #8673 from zexi/automated-cherry-pick-of-#8672-upstream-release-3.5
Automated cherry pick of #8672: scheduler: ignore non running guests only exclude ready status
2020-11-06 13:48:16 +08:00
rainzm
37c3da9e9f fix(esxi): don't specify spec.Identity when osName is empty 2020-11-06 11:54:45 +08:00
rainzm
dcd099e23d fix(esxi): add device after cloning vm 2020-11-06 11:54:45 +08:00
rainzm
d3dd1aced2 refactor(region): faster GetIImageById 2020-11-06 11:54:45 +08:00
rainzm
b89b24db0a 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:54:45 +08:00
rainzm
0eaf5a1059 feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 11:54:45 +08:00
Qu Xuan
42ced27941 fix: aliyun eip api 2020-11-06 11:10:03 +08:00
Qu Xuan
ac832b954c fix: 支持多内存过滤套餐 2020-11-06 10:31:53 +08:00
Qiu Jian
29a60005ea fix: missing column error when order by extra fields 2020-11-05 23:52:10 +08:00
yunion-ci-robot
2ffdb268ae Merge pull request #8671 from swordqiu/automated-cherry-pick-of-#8670-upstream-release-3.5
Automated cherry pick of #8670: feature: allow specify offset in name pattern
2020-11-05 18:32:16 +08:00
Zexi Li
8830b97487 scheduler: ignore non running guests only exclude ready status 2020-11-05 18:12:36 +08:00
Qiu Jian
cb4e20f71e feature: allow specify offset in name pattern 2020-11-05 16:49:31 +08:00
Zexi Li
fe2a1726c1 Merge pull request #8669 from tb365/automated-cherry-pick-of-#8667-upstream-release-3.5
Automated cherry pick of #8667: qcloud release prepaid resource bugfix
2020-11-05 15:08:52 +08:00
Zexi Li
f79f270bb9 Merge pull request #8665 from swordqiu/automated-cherry-pick-of-#8664-upstream-release-3.5
Automated cherry pick of #8664: update vendor for jsonutils
2020-11-05 13:10:27 +08:00
TangBin
1fa1d0f1e2 qcloud release prepaid resource bugfix 2020-11-05 12:01:54 +08:00
Qiu Jian
726a1acb8c update vendor for jsonutils 2020-11-05 11:31:38 +08:00
Zexi Li
d2cb9551f6 Merge pull request #8663 from swordqiu/automated-cherry-pick-of-#8662-upstream-release-3.5
Automated cherry pick of #8662: 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:38:50 +08:00
Qiu Jian
e3fe6c4351 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:27:33 +08:00
Zexi Li
b9b98acd5b Merge pull request #8660 from zhaoxiangchun/automated-cherry-pick-of-#8659-upstream-release-3.5
Automated cherry pick of #8659: commonalert bugfix
2020-11-04 23:02:07 +08:00
Zexi Li
4f1104c074 Merge pull request #8653 from yousong/automated-cherry-pick-of-#8652-upstream-release-3.5
Automated cherry pick of #8652: networks: make filter by bgp types available
2020-11-04 21:13:39 +08:00
yunion-ci-robot
3e578294d9 Merge pull request #8657 from lvyangyang/automated-cherry-pick-of-#8655-upstream-release-3.5
Automated cherry pick of #8655: fix:域名正则校验dnsrecord name,同步中文域名取punycode
2020-11-04 18:42:10 +08:00
zhaoxiangchun
37f4b2615b commonalert bugfix 2020-11-04 18:20:10 +08:00
lvyangyang
5e592586b7 fix:域名正则校验dnsrecord name,同步中文域名取punycode 2020-11-04 17:38:55 +08:00
rainzm
972fa8a5f9 feat(region): filter network via storage 2020-11-04 17:18:45 +08:00
Yousong Zhou
cdac5347a5 climc: network-list with multiple --bgp-type args 2020-11-04 16:48:48 +08:00
Yousong Zhou
3f15eda2d8 networks: make filter by bgp types available 2020-11-04 16:48:48 +08:00
Yousong Zhou
81fd1025db networks: list: make bgp_type available 2020-11-04 16:48:48 +08:00
Zexi Li
a9b04b2285 Merge pull request #8648 from ioito/automated-cherry-pick-of-#8647-upstream-release-3.5
Automated cherry pick of #8647: fix: add rds status and expired time
2020-11-04 11:22:45 +08:00
Zexi Li
0e3bfdd335 Merge pull request #8645 from tb365/automated-cherry-pick-of-#8637-upstream-release-3.5
Automated cherry pick of #8637: qcloud create prepaid redis bugfix
2020-11-04 11:21:40 +08:00
Zexi Li
fa20b3a777 Merge pull request #8635 from tb365/automated-cherry-pick-of-#8633-upstream-release-3.5
Automated cherry pick of #8633: aws create bugfix
2020-11-04 11:20:32 +08:00
Zexi Li
9cad7da41a Merge pull request #8632 from zhaoxiangchun/automated-cherry-pick-of-#8631-upstream-release-3.5
Automated cherry pick of #8631: modify monitor querycondition:
2020-11-04 11:07:28 +08:00
Zexi Li
2548ea9a08 Merge pull request #8630 from swordqiu/automated-cherry-pick-of-#8628-upstream-release-3.5
Automated cherry pick of #8628: fix: scopedpolicybindings filter by scope project
2020-11-04 10:59:39 +08:00
Zexi Li
c6656eb66c Merge pull request #8641 from rainzm/automated-cherry-pick-of-#8640-upstream-release-3.5
Automated cherry pick of #8640: fix(notify): customize the title of the verification email based on the copyright
2020-11-04 10:56:53 +08:00
yunion-ci-robot
7f9c392b9c Merge pull request #8644 from swordqiu/automated-cherry-pick-of-#8643-upstream-release-3.5
Automated cherry pick of #8643: fix: elasticcache quota not take effect
2020-11-04 10:55:48 +08:00
Qu Xuan
ef48ebe91a fix: add rds status and expired time 2020-11-04 10:51:01 +08:00
zhaoxiangchun
77165400a2 modify monitor querycondition:
1.对于策略可以返回多个field value。供策略进行使用
2. 对于1种情况需要在commonalert种设置metadata属性
3. 修改alertresource get driver的判断逻辑
4. 针对host 相关的measurement 默认增加res_type 过滤filter
2020-11-04 10:46:19 +08:00
TangBin
fe165b0df7 add option PrepaidDeleteExpireCheck 2020-11-04 09:58:09 +08:00
TangBin
3046a936b2 qcloud delete prepaid redis bugfix 2020-11-04 09:58:09 +08:00
TangBin
ff1536e14e qcloud create prepaid redis bugfix 2020-11-04 09:58:09 +08:00
Qiu Jian
9df47307ba fix: elasticcache quota not take effect 2020-11-04 00:58:25 +08:00
Qiu Jian
185d203e8a fix: scopedpolicybindings filter by scope project 2020-11-03 23:13:43 +08:00
Zexi Li
6048177cc6 Merge pull request #8638 from ioito/automated-cherry-pick-of-#8636-upstream-release-3.5
Automated cherry pick of #8636: fix: add qcloud hssd
2020-11-03 20:41:59 +08:00
rainzm
835a4c4fcb fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:26:24 +08:00
Qu Xuan
668015d819 fix: add qcloud hssd 2020-11-03 20:21:45 +08:00
TangBin
2e83412bb4 lbcert cache delete bugfix 2020-11-03 16:41:45 +08:00
TangBin
2e71b98996 aws create bugfix 2020-11-03 16:41:45 +08:00
Zexi Li
b5b1ce6358 Merge pull request #8622 from rainzm/automated-cherry-pick-of-#8621-upstream-release-3.5
Automated cherry pick of #8621: fix(region): add SDnsZoneCache to DnsZoneCacheDetails
2020-11-03 11:49:54 +08:00
Zexi Li
4c14cb9d31 Merge pull request #8626 from ioito/automated-cherry-pick-of-#8625-upstream-release-3.5
Automated cherry pick of #8625: fix: avoid not found cdbro- mysql instance
2020-11-03 11:48:59 +08:00
Qu Xuan
e7fb15ede7 fix: avoid not found cdbro- mysql instance 2020-11-03 11:06:50 +08:00
Zexi Li
5b55996302 Merge pull request #8624 from swordqiu/automated-cherry-pick-of-#8618-upstream-release-3.5
Automated cherry pick of #8618: fix: scopedpolicybinding filter by category sql error
2020-11-03 10:41:09 +08:00
Zexi Li
83a8ff8c2a Merge pull request #8620 from wanyaoqi/automated-cherry-pick-of-#8619-upstream-release-3.5
Automated cherry pick of #8619: fix stream disk on add disk from snapshot
2020-11-03 10:39:46 +08:00
Zexi Li
af8ea56248 Merge pull request #8617 from rainzm/automated-cherry-pick-of-#8616-upstream-release-3.5
Automated cherry pick of #8616: fix(region): allow resize system disk of esxi
2020-11-03 10:39:05 +08:00
Qiu Jian
78a73fcbd2 fix: scopedpolicybinding filter by category sql error 2020-11-02 21:34:27 +08:00
rainzm
101b707e6a feat(region): use NotifyWebhook when operating dnszone 2020-11-02 19:50:54 +08:00
rainzm
01b779fa81 feat(region): add CloudCaches in DnsZoneDetails with GET 2020-11-02 19:50:54 +08:00
rainzm
db40b0d0a8 fix(region): add SDnsZoneCache to DnsZoneCacheDetails 2020-11-02 19:50:54 +08:00
wanyaoqi
4a3d933946 fix stream disk on add disk from snapshot 2020-11-02 19:32:02 +08:00
Zexi Li
e754f9e276 Merge pull request #8614 from ioito/automated-cherry-pick-of-#8613-upstream-release-3.5
Automated cherry pick of #8613: optimized: rds zone sync
2020-11-02 19:12:24 +08:00
rainzm
92f7843e55 fix(esxi): return sumsize of disks fo template 2020-11-02 17:32:29 +08:00
rainzm
291e132423 fix(region): allow resize system disk of esxi 2020-11-02 17:32:29 +08:00
Qu Xuan
89ca832fcf optimized: rds zone sync 2020-11-02 16:51:44 +08:00
Zexi Li
beb0cb4c02 Merge pull request #8600 from tb365/automated-cherry-pick-of-#8599-upstream-release-3.5
Automated cherry pick of #8599: qcloud create project not match bugfix
2020-11-02 15:51:16 +08:00
tangbin
8c0fc94d27 goimport fix 2020-11-02 15:40:31 +08:00
TangBin
dc7204a917 clean duplicate cached certificated at initial 2020-11-02 15:40:31 +08:00
TangBin
1173399230 qcloud create project not match bugfix 2020-11-02 15:40:31 +08:00
yunion-ci-robot
f372a99a9e Merge pull request #8612 from zhaoxiangchun/automated-cherry-pick-of-#8611-upstream-release-3.5
Automated cherry pick of #8611: deal return error info: tsdb
2020-11-02 10:25:47 +08:00
yunion-ci-robot
21b0d466bd Merge pull request #8605 from rainzm/automated-cherry-pick-of-#8603-upstream-release-3.5
Automated cherry pick of #8603: fix(region): compute NextSyncTime for snapshotpolicydisk
2020-11-02 01:45:45 +08:00
yunion-ci-robot
e8b8876c9b Merge pull request #8609 from swordqiu/automated-cherry-pick-of-#8608-upstream-release-3.5
Automated cherry pick of #8608: fix: save service config changes may send invalid action log
2020-11-01 11:48:48 +08:00
Zexi Li
5daff05829 Merge pull request #8607 from zexi/automated-cherry-pick-of-#8604-upstream-release-3.5
Automated cherry pick of #8604: monitor: query with signature and support measurement without database
2020-11-01 11:48:25 +08:00
zhaoxiangchun
b464f15818 deal return error info: tsdb 2020-10-31 23:30:29 +08:00
Qiu Jian
4144614573 fix: save service config changes may send invalid action log 2020-10-31 19:01:39 +08:00
Zexi Li
58132f02b1 monitor: query with signature and support measurement without database 2020-10-31 17:25:41 +08:00
Rain Zheng
161f38a770 fix(region): compute NextSyncTime for snapshotpolicydisk
1. 如果计算出来的 NextSyncTime 和 base 相等,可以将 base 加1一个小时递归处理。
2. 对于 retentionday 有效的快照策略,比如某一个 snaphsotpolicy
是每周一生效,并且打的快照自动保留 3 天,那么,就应该在每周一(打快照)
和每周四(释放快照)进行快照的同步。
2020-10-31 15:49:32 +08:00
yunion-ci-robot
5bd503c270 Merge pull request #8602 from zexi/automated-cherry-pick-of-#8601-upstream-release-3.5
Automated cherry pick of #8601: apigateway: disable influxdb service query proxy
2020-10-31 15:20:45 +08:00
Zexi Li
aa41580fcc apigateway: disable influxdb service query proxy 2020-10-31 12:52:01 +08:00
yunion-ci-robot
9e373223ee Merge pull request #8568 from yousong/automated-cherry-pick-of-#8567-upstream-release-3.5
Automated cherry pick of #8567: regiondrivers: kvm: exact match bgp_type
2020-10-30 19:30:44 +08:00
yunion-ci-robot
124c758bb9 Merge pull request #8597 from tb365/automated-cherry-pick-of-#8596-upstream-release-3.5
Automated cherry pick of #8596: qcloud cert bugfix
2020-10-30 16:15:43 +08:00
yunion-ci-robot
497654544e Merge pull request #8594 from rainzm/automated-cherry-pick-of-#8593-upstream-release-3.5
Automated cherry pick of #8593: fix(region): prevent dirty data when syncing snapshot
2020-10-30 16:14:44 +08:00
yunion-ci-robot
069812ae96 Merge pull request #8591 from ioito/automated-cherry-pick-of-#8590-upstream-release-3.5
Automated cherry pick of #8590: fix: secgroup cache tenant_id
2020-10-30 16:12:42 +08:00
TangBin
a624cf71ba qcloud certificate sync bugfix 2020-10-30 16:03:41 +08:00
TangBin
56f3605ae4 qcloud cert bugfix 2020-10-30 16:03:41 +08:00
rainzm
c2797990f2 fix(region): clear dirty data of snapshotpolicydisks when start up 2020-10-30 15:24:30 +08:00
rainzm
5a10d6ea5c fix(region): detach all snapshotpolicy when realdeleting disk 2020-10-30 15:24:30 +08:00
rainzm
710f08326b fix(region): prevent dirty data when syncing snapshot 2020-10-30 15:24:30 +08:00
Qu Xuan
d1806bf27f fix: secgroup cache tenant_id 2020-10-30 15:04:03 +08:00
yunion-ci-robot
bea6019b8b Merge pull request #8588 from ioito/automated-cherry-pick-of-#8587-upstream-release-3.5
Automated cherry pick of #8587: fix: sync rds class vpc
2020-10-30 13:47:43 +08:00
屈轩
6717a2fbbb fix: sync rds class vpc 2020-10-30 12:51:00 +08:00
yunion-ci-robot
3c50d4a00d Merge pull request #8585 from ioito/automated-cherry-pick-of-#8584-upstream-release-3.5
Automated cherry pick of #8584: fix: classic vpc for rds
2020-10-30 12:02:44 +08:00
Qu Xuan
8bd7fdd338 fix: classic vpc for rds 2020-10-30 11:15:32 +08:00
yunion-ci-robot
7fd80be2fa Merge pull request #8582 from swordqiu/automated-cherry-pick-of-#8581-upstream-release-3.5
Automated cherry pick of #8581: fix: compatible with qcloud zonal bucket
2020-10-30 09:18:42 +08:00
yunion-ci-robot
d209503ec4 Merge pull request #8562 from zexi/automated-cherry-pick-of-#8558-upstream-release-3.5
Automated cherry pick of #8558: informer: ignore outside context cancel when worker run
2020-10-30 00:36:43 +08:00
Qiu Jian
55b28559c5 fix: compatible with qcloud zonal bucket 2020-10-30 00:16:37 +08:00
yunion-ci-robot
49c714fd70 Merge pull request #8577 from rainzm/automated-cherry-pick-of-#8576-upstream-release-3.5
Automated cherry pick of #8576: fix(region): sync automatically snapshot for external disk
2020-10-29 23:31:44 +08:00
yunion-ci-robot
af3727a4ad Merge pull request #8574 from tb365/automated-cherry-pick-of-#8573-upstream-release-3.5
Automated cherry pick of #8573: qcloud elb cert duplicate fix
2020-10-29 23:29:44 +08:00
rainzm
90c6c32993 fix(region): sync automatically snapshot for external disk 2020-10-29 22:31:43 +08:00
TangBin
12ad994edf qcloud elb cert duplicate fix 2020-10-29 22:27:40 +08:00
yunion-ci-robot
404d40d543 Merge pull request #8571 from tb365/automated-cherry-pick-of-#8570-upstream-release-3.5
Automated cherry pick of #8570: qcloud redis create missing project id bugfix
2020-10-29 21:06:45 +08:00
Zexi Li
67e1b9536b informer: ignore outside context cancel when worker run 2020-10-29 20:53:39 +08:00
TangBin
89a1ff8838 qcloud redis create missing project id bugfix 2020-10-29 20:49:58 +08:00
Yousong Zhou
fb2fa1bc9a Merge pull request #8565 from rainzm/automated-cherry-pick-of-#8564-upstream-release-3.5
Automated cherry pick of #8564: update vendor
2020-10-29 20:38:09 +08:00
Yousong Zhou
f0959c2850 climc: servers: create with eip bgp type 2020-10-29 17:50:52 +08:00
Yousong Zhou
c6c661855c guests: add bgp_type arg when create guest 2020-10-29 17:50:52 +08:00
Yousong Zhou
6713df1f52 elasticips: NewEipForVMOnHost: make args a struct 2020-10-29 17:50:51 +08:00
Yousong Zhou
7e62b2823f regiondrivers: kvm: exact match bgp_type 2020-10-29 17:50:51 +08:00
yunion-ci-robot
229f79d6e2 Merge pull request #8563 from yousong/automated-cherry-pick-of-#8227-upstream-release-3.5
Automated cherry pick of #8227: vendor: update yunion.io/x/sqlchemy
2020-10-29 17:48:42 +08:00
rainzm
7d466205f1 update vendor 2020-10-29 17:24:48 +08:00
Yousong Zhou
3c3743fbf5 climc: eip ops by bgp type 2020-10-29 17:22:11 +08:00
Yousong Zhou
952bea3951 eip: create by BgpType 2020-10-29 17:22:11 +08:00
Yousong Zhou
782f919f3b networks: add field BgpType 2020-10-29 17:22:11 +08:00
yunion-ci-robot
3ca223acc0 Merge pull request #8560 from tb365/automated-cherry-pick-of-#8559-upstream-release-3.5
Automated cherry pick of #8559: qcloud lb sync project bugfix
2020-10-29 17:18:42 +08:00
TangBin
d1e855aee5 qcloud lb sync project bugfix 2020-10-29 16:46:56 +08:00
yunion-ci-robot
f46bd2ba02 Merge pull request #8555 from tb365/automated-cherry-pick-of-#8554-upstream-release-3.5
Automated cherry pick of #8554: add redis capabilty & lb purge
2020-10-29 16:31:42 +08:00
yunion-ci-robot
ae6167b01f Merge pull request #8557 from wanyaoqi/automated-cherry-pick-of-#8556-upstream-release-3.5
Automated cherry pick of #8556: retry generate ifname from random string
2020-10-29 15:14:49 +08:00
wanyaoqi
4b6df1c6a9 retry generate ifname from random string 2020-10-29 15:03:29 +08:00
TangBin
c069b03096 redis 2.8 reset password bugfix 2020-10-29 14:29:01 +08:00
TangBin
c909d657a7 add redis capabilty & lb purge 2020-10-29 14:29:01 +08:00
yunion-ci-robot
d9aeb7ddc8 Merge pull request #8549 from swordqiu/automated-cherry-pick-of-#8548-upstream-release-3.5
Automated cherry pick of #8548: fix: fail to delete public_ip eip
2020-10-29 00:56:42 +08:00
yunion-ci-robot
48c87f7d92 Merge pull request #8542 from ioito/automated-cherry-pick-of-#8541-upstream-release-3.5
Automated cherry pick of #8541: fix: avoid sync part of rds
2020-10-29 00:55:42 +08:00
yunion-ci-robot
8df93ddd84 Merge pull request #8552 from swordqiu/automated-cherry-pick-of-#8551-upstream-release-3.5
Automated cherry pick of #8551: fix: make test go vet error
2020-10-29 00:52:43 +08:00
yunion-ci-robot
632ecd2d9c Merge pull request #8547 from tb365/automated-cherry-pick-of-#8543-upstream-release-3.5
Automated cherry pick of #8543: qcloud elb auth mode bugfix
2020-10-29 00:51:41 +08:00
yunion-ci-robot
739ad6822c Merge pull request #8546 from rainzm/automated-cherry-pick-of-#8545-upstream-release-3.5
Automated cherry pick of #8545: refactor(region): remove return value of NotifyWebhook
2020-10-28 23:58:43 +08:00
Qiu Jian
f896e020d2 fix: make test go vet error 2020-10-28 23:54:42 +08:00
Qiu Jian
56a423d826 fix: fail to delete public_ip eip 2020-10-28 23:45:47 +08:00
tangbin
c00402f670 redis delete bugfix 2020-10-28 22:14:08 +08:00
TangBin
f022fa1409 qcloud elb auth mode bugfix 2020-10-28 22:14:08 +08:00
rainzm
21e3f85c74 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:23:04 +08:00
rainzm
e4d1153ec6 refactor(region): remove return value of NotifyWebhook 2020-10-28 21:23:04 +08:00
yunion-ci-robot
f6ad813de7 Merge pull request #8539 from lvyangyang/automated-cherry-pick-of-#8538-upstream-release-3.5
Automated cherry pick of #8538: qcloud redis tags
2020-10-28 21:11:50 +08:00
Qu Xuan
778c42f811 fix: avoid sync part of rds 2020-10-28 20:21:32 +08:00
yunion-ci-robot
083fdb2d42 Merge pull request #8536 from rainzm/automated-cherry-pick-of-#8535-upstream-release-3.5
Automated cherry pick of #8535: refactor(region): faster list for cachedimage
2020-10-28 17:58:42 +08:00
lvyangyang
6632c604e7 qcloud redis tags 2020-10-28 16:09:25 +08:00
rainzm
ca5ae5f4fd refactor(region): faster list for cachedimage
Pro version of #8440 with checking the necessity of id filtering
2020-10-28 15:23:03 +08:00
yunion-ci-robot
4a006a0654 Merge pull request #8534 from tb365/automated-cherry-pick-of-#8533-upstream-release-3.5
Automated cherry pick of #8533: sync elb support classic vpc
2020-10-28 12:37:42 +08:00
tangbin
eca4dfca31 elb sync bugfix 2020-10-28 12:14:58 +08:00
tangbin
969d955348 sync elb support classic vpc 2020-10-28 12:14:58 +08:00
yunion-ci-robot
976741ad99 Merge pull request #8524 from tb365/automated-cherry-pick-of-#8523-upstream-release-3.5
Automated cherry pick of #8523: qcloud redis support
2020-10-28 01:07:40 +08:00
yunion-ci-robot
44163a9e01 Merge pull request #8526 from rainzm/automated-cherry-pick-of-#8525-upstream-release-3.5
Automated cherry pick of #8525: fix(esxi): no callback in uploadHandler
2020-10-28 01:02:41 +08:00
yunion-ci-robot
50dc66d142 Merge pull request #8513 from ioito/automated-cherry-pick-of-#8512-upstream-release-3.5
Automated cherry pick of #8512: fix: avoid sync project panic
2020-10-28 00:55:42 +08:00
yunion-ci-robot
a69da08b8d Merge pull request #8467 from rainzm/automated-cherry-pick-of-#8443-upstream-release-3.5
Automated cherry pick of #8443: Respect multiple disks in VMware Template
2020-10-28 00:17:42 +08:00
rainzm
762004154b fix(esxi): filter vmdk item in lease.info 2020-10-27 21:31:24 +08:00
rainzm
ea24f39d1d 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:31:24 +08:00
rainzm
99c8a0a32b fix(esxi): no callback in uploadHandler 2020-10-27 21:31:24 +08:00
TangBin
5c60e340a1 qcloud redis support 2020-10-27 20:37:24 +08:00
yunion-ci-robot
3850eaa815 Merge pull request #8507 from swordqiu/automated-cherry-pick-of-#8435-upstream-release-3.5
Automated cherry pick of #8435: feature: support scoped policy that manage ui policies for domains&projects
2020-10-27 18:19:40 +08:00
yunion-ci-robot
7e2293c0d2 Merge pull request #8511 from ioito/automated-cherry-pick-of-#8510-upstream-release-3.5
Automated cherry pick of #8510: fix: optimized cloudaccount climc
2020-10-27 17:33:41 +08:00
Zexi Li
0e9d55aaf9 Merge pull request #8518 from ioito/automated-cherry-pick-of-#8517-upstream-release-3.5
Automated cherry pick of #8517: fix: set secgroup status
2020-10-27 17:28:33 +08:00
yunion-ci-robot
00a6e147ab Merge pull request #8506 from ioito/automated-cherry-pick-of-#8505-upstream-release-3.5
Automated cherry pick of #8505: add: DisableDelete for lb
2020-10-27 17:05:40 +08:00
yunion-ci-robot
4ce9af0039 Merge pull request #8508 from ioito/automated-cherry-pick-of-#8504-upstream-release-3.5
Automated cherry pick of #8504: fix: qcloud server create
2020-10-27 16:19:41 +08:00
Qu Xuan
2d0c242fcc fix: set secgroup status 2020-10-27 16:18:43 +08:00
Qu Xuan
23dfe41158 fix: avoid sync project panic 2020-10-27 16:13:24 +08:00
Qu Xuan
29a147d2f8 fix: optimized cloudaccount climc 2020-10-27 15:35:14 +08:00
rainzm
330e54c3cb feat(esxi): expand disk config from subimages when creating vm 2020-10-27 10:50:14 +08:00
rainzm
f2adccd085 feat: respect params.Disks when cloning vm 2020-10-27 10:50:14 +08:00
rainzm
b5cd21b324 feat: add SubImages in Image 2020-10-27 10:50:14 +08:00
Qu Xuan
c022bd96eb fix: qcloud server create 2020-10-27 10:50:06 +08:00
Qiu Jian
12d196404b list support scope filter 2020-10-27 00:53:15 +08:00
Qiu Jian
513ddb266b update api models 2020-10-27 00:53:15 +08:00
Qiu Jian
9bf439c300 feature: support scoped policy that manage ui policies for domains&projects 2020-10-27 00:53:15 +08:00
Qu Xuan
c21f80333b add: DisableDelete for lb 2020-10-26 21:52:24 +08:00
yunion-ci-robot
5e20018348 Merge pull request #8500 from yousong/automated-cherry-pick-of-#8499-upstream-release-3.5
Automated cherry pick of #8499: lockman: test: add prefix setting
2020-10-26 21:23:40 +08:00
Yousong Zhou
00766e2648 lockman: test: add prefix setting 2020-10-26 20:36:11 +08:00
yunion-ci-robot
47e4e49031 Merge pull request #8497 from zhaoxiangchun/automated-cherry-pick-of-#8496-upstream-release-3.5
Automated cherry pick of #8496: commalertUpdateInput increat param:
2020-10-26 19:55:48 +08:00
zhaoxiangchun
5d67a1090f commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
2020-10-26 18:20:44 +08:00
yunion-ci-robot
5c2b498f86 Merge pull request #8495 from rainzm/automated-cherry-pick-of-#8493-upstream-release-3.5
Automated cherry pick of #8493: fix(region): roll back the optimization of cachedimage list
2020-10-26 18:16:41 +08:00
rainzm
afc3a44dc2 fix(region): roll back the optimization of cachedimage list 2020-10-26 17:38:29 +08:00
yunion-ci-robot
c492a8545d Merge pull request #8488 from ioito/automated-cherry-pick-of-#8487-upstream-release-3.5
Automated cherry pick of #8487: fix: avoid delete public ip when sync eip list
2020-10-26 17:02:41 +08:00
Qu Xuan
2ab871d37a fix: avoid delete public ip when sync eip list 2020-10-26 16:18:28 +08:00
yunion-ci-robot
81772388bc Merge pull request #8465 from wanyaoqi/automated-cherry-pick-of-#8464-upstream-release-3.5
Automated cherry pick of #8464: check disk is in reset before delete snapshot
2020-10-25 10:54:39 +08:00
yunion-ci-robot
8e39e5d178 Merge pull request #8485 from swordqiu/automated-cherry-pick-of-#8484-upstream-release-3.5
Automated cherry pick of #8484: fix: server usage status not correct
2020-10-25 10:52:41 +08:00
Qiu Jian
251be113b1 fix: server usage status not correct 2020-10-25 08:38:11 +08:00
Zexi Li
947493939a Merge pull request #8482 from ioito/automated-cherry-pick-of-#8481-upstream-release-3.5
Automated cherry pick of #8481: fix: 避免参数异常
2020-10-24 13:11:26 +08:00
Zexi Li
442f74f2ae Merge pull request #8471 from wanyaoqi/automated-cherry-pick-of-#8470-upstream-release-3.5
Automated cherry pick of #8470: fix on stream disk complete snapshots refcount not update
2020-10-24 13:09:34 +08:00
Zexi Li
a30adf1f65 Merge pull request #8475 from zexi/automated-cherry-pick-of-#8474-upstream-release-3.5
Automated cherry pick of #8474: monitor: set default influxdb datasource by endpoint type
2020-10-24 13:07:02 +08:00
Qu Xuan
c89ce678ab fix: 避免参数异常 2020-10-24 13:00:26 +08:00
Zexi Li
4432865f8f Merge pull request #8473 from ioito/automated-cherry-pick-of-#8415-upstream-release-3.5
Automated cherry pick of #8415: fix: 支持多安全组
2020-10-24 12:10:59 +08:00
Qu Xuan
ec7e2876b7 fix: 支持多安全组 2020-10-24 11:52:41 +08:00
yunion-ci-robot
eb3bffc406 Merge pull request #8480 from swordqiu/automated-cherry-pick-of-#8460-upstream-release-3.5
Automated cherry pick of #8460: create with tags
2020-10-23 21:15:15 +08:00
lvyangyang
2f1acf76a6 create with tags 2020-10-23 21:07:18 +08:00
yunion-ci-robot
e024906c25 Merge pull request #8479 from tb365/automated-cherry-pick-of-#8478-upstream-release-3.5
Automated cherry pick of #8478: loadbalancer support batch create
2020-10-23 21:01:16 +08:00
TangBin
2b13a33320 qcloud zone sync fix 2020-10-23 20:47:24 +08:00
TangBin
6aeed21b12 loadbalancer support batch create 2020-10-23 20:47:24 +08:00
yunion-ci-robot
38e8ad8a4c Merge pull request #8469 from ioito/automated-cherry-pick-of-#8468-upstream-release-3.5
Automated cherry pick of #8468: fix: qcloud 5.5 single zone
2020-10-23 20:18:17 +08:00
Zexi Li
2a59af0756 monitor: set default influxdb datasource by endpoint type 2020-10-23 20:09:44 +08:00
Qu Xuan
0c31e798ee fix: 支持批量创建rds 2020-10-23 20:01:50 +08:00
Qu Xuan
2e3cb33786 fix: qcloud 5.5 single zone 2020-10-23 20:01:50 +08:00
wanyaoqi
b21d440784 fix on stream disk complete snapshots refcount not update 2020-10-23 19:11:08 +08:00
yunion-ci-robot
33f055fa69 Merge pull request #8413 from zhaoxiangchun/automated-cherry-pick-of-#8412-upstream-release-3.5
Automated cherry pick of #8412: bugfix:
2020-10-23 18:35:17 +08:00
yunion-ci-robot
4e4f2f58cb Merge pull request #8462 from rainzm/automated-cherry-pick-of-#8461-upstream-release-3.5
Automated cherry pick of #8461: fix(glance): allow public and private operations of guestimage
2020-10-23 18:28:16 +08:00
wanyaoqi
91c2c2278b check disk is in reset before delete snapshot 2020-10-23 18:24:55 +08:00
yunion-ci-robot
7deb312771 Merge pull request #8451 from wanyaoqi/automated-cherry-pick-of-#8450-upstream-release-3.5
Automated cherry pick of #8450: host increase cpu mem max size
2020-10-23 18:18:19 +08:00
yunion-ci-robot
4287965824 Merge pull request #8457 from rainzm/automated-cherry-pick-of-#8456-upstream-release-3.5
Automated cherry pick of #8456: fix(esxi): resize root disk after cloning vm
2020-10-23 18:17:20 +08:00
yunion-ci-robot
4708b9f2f5 Merge pull request #8453 from tb365/automated-cherry-pick-of-#8449-upstream-release-3.5
Automated cherry pick of #8449: add qcloud elb zone1 details
2020-10-23 18:16:16 +08:00
yunion-ci-robot
04f9cee20e Merge pull request #8455 from rainzm/automated-cherry-pick-of-#8454-upstream-release-3.5
Automated cherry pick of #8454: fix(esxi): resize root disk after creating vm
2020-10-23 18:14:15 +08:00
Zexi Li
78b5b28cb8 Merge pull request #8448 from ioito/automated-cherry-pick-of-#8447-upstream-release-3.5
Automated cherry pick of #8447: fix: sync rds account host info
2020-10-23 18:03:56 +08:00
zhaoxiangchun
7d3bbc4609 bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:57:56 +08:00
rainzm
64ba4602c4 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:56:16 +08:00
Qu Xuan
a1c7d5e55a fix: add duration match 2020-10-23 17:16:32 +08:00
Qu Xuan
1c84dc2a46 fix: sync rds account host info 2020-10-23 17:16:32 +08:00
rainzm
d7b25da2ec 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:03:14 +08:00
rainzm
401b56c7a0 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:46:42 +08:00
TangBin
b795c271b1 elb salve zone 1 external id bugfix 2020-10-23 16:26:03 +08:00
TangBin
0e4c215ac0 elb sync zone bugfix 2020-10-23 16:26:03 +08:00
TangBin
00d028c68d add qcloud elb zone1 details 2020-10-23 16:26:03 +08:00
wanyaoqi
998909c397 host increase cpu mem max size 2020-10-23 15:15:23 +08:00
yunion-ci-robot
b033b6ce4a Merge pull request #8446 from swordqiu/automated-cherry-pick-of-#8445-upstream-release-3.5
Automated cherry pick of #8445: resource tags
2020-10-22 22:44:18 +08:00
lvyangyang
d6943563fe resource tags 2020-10-22 22:26:17 +08:00
yunion-ci-robot
f3d7590263 Merge pull request #8411 from rainzm/automated-cherry-pick-of-#8410-upstream-release-3.5
Automated cherry pick of #8410: feat(esxi): copy disk from image when creating vm
2020-10-22 21:28:14 +08:00
yunion-ci-robot
f3bdf0cd48 Merge pull request #8441 from rainzm/automated-cherry-pick-of-#8440-upstream-release-3.5
Automated cherry pick of #8440: refactor(region): faster list for cachedimage
2020-10-22 21:27:13 +08:00
rainzm
416919c664 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:17:50 +08:00
yunion-ci-robot
31e8ea973a Merge pull request #8427 from ioito/automated-cherry-pick-of-#8426-upstream-release-3.5
Automated cherry pick of #8426: fix: 避免冲掉设置的到期释放时间
2020-10-22 20:13:22 +08:00
yunion-ci-robot
cfbd9b2eb4 Merge pull request #8432 from lvyangyang/automated-cherry-pick-of-#8416-upstream-release-3.5
Automated cherry pick of #8416: fix:get all project dns resource
2020-10-22 20:11:16 +08:00
yunion-ci-robot
6443c595c1 Merge pull request #8431 from tb365/automated-cherry-pick-of-#8430-upstream-release-3.5
Automated cherry pick of #8430: qcloud elb support multi zones
2020-10-22 20:10:16 +08:00
yunion-ci-robot
a2ffb8f9e7 Merge pull request #8438 from rainzm/automated-cherry-pick-of-#8437-upstream-release-3.5
Automated cherry pick of #8437: fix(region): add suffix 'display' for time_points and repeat_weekdays
2020-10-22 20:07:17 +08:00
rainzm
89b5cccd5c fix: don't update NextSyncTime when snapshots that should be added has not 2020-10-22 19:41:37 +08:00
rainzm
df0b4e6650 fix(region): init NextSyncTimeiwhen create snapshotpolicydisks 2020-10-22 19:41:37 +08:00
rainzm
ac54c033e9 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:41:37 +08:00
lvyangyang
a96fbe41e2 fix:get all project dns resource 2020-10-22 16:23:48 +08:00
TangBin
6252c2683e qcloud elb supplort multi zones 2020-10-22 16:12:58 +08:00
TangBin
7f390ba432 climc lb-create add parameter zone1 2020-10-22 16:12:57 +08:00
TangBin
1661bdde3e qcloud elb support multi zones 2020-10-22 16:12:57 +08:00
Qu Xuan
ba3d66ba9b fix: 避免冲掉设置的到期释放时间 2020-10-22 15:40:42 +08:00
yunion-ci-robot
d79a69fbda Merge pull request #8408 from wanyaoqi/automated-cherry-pick-of-#8407-upstream-release-3.5
Automated cherry pick of #8407: fix informer backend
2020-10-22 15:04:18 +08:00
yunion-ci-robot
ad87648fb6 Merge pull request #8418 from ioito/automated-cherry-pick-of-#8417-upstream-release-3.5
Automated cherry pick of #8417: fix: secgroup quota support
2020-10-22 14:57:15 +08:00
yunion-ci-robot
50515c6d16 Merge pull request #8422 from ioito/automated-cherry-pick-of-#8419-upstream-release-3.5
Automated cherry pick of #8419: fix: add lb quota check
2020-10-22 14:44:17 +08:00
yunion-ci-robot
125fe6f1ef Merge pull request #8421 from ioito/automated-cherry-pick-of-#8420-upstream-release-3.5
Automated cherry pick of #8420: fix: add rds quota check
2020-10-22 14:43:14 +08:00
yunion-ci-robot
4770284309 Merge pull request #8424 from ioito/automated-cherry-pick-of-#8423-upstream-release-3.5
Automated cherry pick of #8423: fix: add aliyun new region
2020-10-22 14:31:18 +08:00
Qu Xuan
3e8aa83467 fix: add aliyun new region 2020-10-22 11:52:44 +08:00
Qu Xuan
5f0d12a60e fix: add lb quota check 2020-10-21 21:31:42 +08:00
Qu Xuan
d19207c81a fix: add rds quota check 2020-10-21 21:31:02 +08:00
Qu Xuan
979119d042 fix: secgroup quota support 2020-10-21 21:29:42 +08:00
rainzm
fc9272ede2 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:50:51 +08:00
wanyaoqi
a5a359075c fix informer backend 2020-10-21 10:53:44 +08:00
yunion-ci-robot
65d5c3cd6c Merge pull request #8405 from rainzm/automated-cherry-pick-of-#8404-upstream-release-3.5
Automated cherry pick of #8404: fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType
2020-10-21 10:49:13 +08:00
rainzm
7cfbb69950 feat(notify): add IntelliNotify
IntelliNotify will try to create receiver nonexistent if createReceiver is set to true
2020-10-20 20:37:54 +08:00
rainzm
8151e6fad7 fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:37:54 +08:00
yunion-ci-robot
b9d0a3f58e Merge pull request #8399 from ioito/automated-cherry-pick-of-#8193-upstream-release-3.5
Automated cherry pick of #8193: feature: add qcloud rds support
2020-10-20 18:59:12 +08:00
Zexi Li
53037744d8 Merge pull request #8401 from wanyaoqi/automated-cherry-pick-of-#8400-upstream-release-3.5
Automated cherry pick of #8400: fix fetch customize columns
2020-10-20 18:52:39 +08:00
wanyaoqi
6545f1ef84 fix fetch customize columns 2020-10-20 18:43:23 +08:00
Qu Xuan
b7953adbee feature: add qcloud rds support 2020-10-20 17:56:41 +08:00
Zexi Li
7438bcab23 Merge pull request #8339 from tb365/automated-cherry-pick-of-#8338-upstream-release-3.4
Automated cherry pick of #8338: add aliyun finance environment
2020-10-20 13:33:47 +08:00
yunion-ci-robot
e038eebeb7 Merge pull request #8263 from rainzm/automated-cherry-pick-of-#8258-upstream-release-3.4
Automated cherry pick of #8258: feat: add a retry mechanism to AutoSyncExtDiskSnapshot
2020-10-20 13:31:13 +08:00
Zexi Li
bd7d84aebd Merge pull request #8396 from tb365/automated-cherry-pick-of-#8395-upstream-release-3.4
Automated cherry pick of #8395: lbcert delete bugfix
2020-10-20 13:28:31 +08:00
Zexi Li
5f6f554464 Merge pull request #8398 from zexi/automated-cherry-pick-of-#8397-upstream-release-3.4
Automated cherry pick of #8397: fix: monitor commonalert not detach alert resource
2020-10-20 13:26:51 +08:00
Zexi Li
d99d93d046 fix: monitor commonalert not detach alert resource 2020-10-20 13:21:22 +08:00
Zexi Li
4a856ac688 Merge pull request #8393 from rainzm/automated-cherry-pick-of-#8392-upstream-release-3.4
Automated cherry pick of #8392: fix(region): compute binded disk count when deleting snapshotpolicy
2020-10-20 11:49:52 +08:00
TangBin
7da0a67af5 lbcert delete bugfix 2020-10-20 11:27:53 +08:00
rainzm
37c14d756d feat: use details data to cover obj data in FetchCustomizeColumns 2020-10-20 11:20:45 +08:00
rainzm
6f1417d268 fix(region): compute binded disk count when deleting snapshotpolicy 2020-10-20 11:20:45 +08:00
Zexi Li
b3105a05d3 Merge pull request #8322 from ioito/automated-cherry-pick-of-#8321-upstream-release-3.4
Automated cherry pick of #8321: fix: sync dns records after sync vpcs
2020-10-20 11:19:50 +08:00
rainzm
93ac3260a1 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-20 09:54:53 +08:00
yunion-ci-robot
3d39c20c91 Merge pull request #8391 from zhaoxiangchun/automated-cherry-pick-of-#8390-upstream-release-3.4
Automated cherry pick of #8390: bugfix: commonalert
2020-10-19 23:19:23 +08:00
zhaoxiangchun
8a0eeb7d67 bugfix: commonalert
1.报警消息中取消返回sql信息
2.commonalert 中支持top bottom 结构influxdb 查询
2020-10-19 23:06:29 +08:00
yunion-ci-robot
163be04dbb Merge pull request #8364 from zhaoxiangchun/automated-cherry-pick-of-#8357-upstream-release-3.4
Automated cherry pick of #8357: bugfix: qcloud pull metric
2020-10-19 22:34:14 +08:00
zhaoxiangchun
06db7339e4 bugfix: qcloud pull metric
get请求中增加region参数
2020-10-19 22:26:52 +08:00
yunion-ci-robot
e5b3f4673d Merge pull request #8387 from zexi/automated-cherry-pick-of-#8346-upstream-release-3.4
Automated cherry pick of #8346: monitor: add alert resource
2020-10-19 22:13:12 +08:00
yunion-ci-robot
3a6e910580 Merge pull request #8380 from yousong/automated-cherry-pick-of-#8379-upstream-release-3.4
Automated cherry pick of #8379: logger: actionlog: readability change
2020-10-19 22:07:12 +08:00
Zexi Li
0317fad04e Merge pull request #8389 from wanyaoqi/automated-cherry-pick-of-#8388-upstream-release-3.4
Automated cherry pick of #8388: remove try set informer backend
2020-10-19 22:02:39 +08:00
Zexi Li
af11737e79 monitor: add alert resource 2020-10-19 21:48:35 +08:00
wanyaoqi
15bd6bacd6 remove try set informer backend 2020-10-19 21:33:49 +08:00
Zexi Li
28ba60f630 Merge pull request #8386 from wanyaoqi/automated-cherry-pick-of-#8385-upstream-release-3.4
Automated cherry pick of #8385: telegraf-raid-plugin: update raid state to lower case
2020-10-19 21:00:06 +08:00
yunion-ci-robot
8799a0bcf9 Merge pull request #8384 from wanyaoqi/automated-cherry-pick-of-#8383-upstream-release-3.4
Automated cherry pick of #8383: keystone init etcd backend
2020-10-19 20:58:13 +08:00
wanyaoqi
6706c39f85 telegraf-raid-plugin: update raid state to lower case 2020-10-19 20:12:47 +08:00
wanyaoqi
8ce183eaf5 keystone init etcd backend 2020-10-19 20:04:42 +08:00
yunion-ci-robot
a5bec974f1 Merge pull request #8345 from rainzm/automated-cherry-pick-of-#8344-upstream-release-3.4
Automated cherry pick of #8344: feat(notify): support webhook contact type
2020-10-19 18:25:11 +08:00
Zexi Li
ac15981b5d Merge pull request #8377 from swordqiu/automated-cherry-pick-of-#8350-upstream-release-3.4
Automated cherry pick of #8350: fix: missing authenticate action log for user web login
2020-10-19 17:44:44 +08:00
Zexi Li
3c447a32f6 Merge pull request #8342 from swordqiu/automated-cherry-pick-of-#8337-upstream-release-3.4
Automated cherry pick of #8337: fix: cancel pending-delete should increase resource quota usages
2020-10-19 17:44:03 +08:00
yunion-ci-robot
3a8809e060 Merge pull request #8341 from rainzm/automated-cherry-pick-of-#8340-upstream-release-3.4
Automated cherry pick of #8340: feat: add valid filter for cachedimage list
2020-10-19 17:13:11 +08:00
Yousong Zhou
0964c6ad82 logger: actionlog: i18n for distinct-field 2020-10-19 16:42:24 +08:00
Yousong Zhou
5d0fd14cb3 cloudcommon: db: GET: i18n for result of get property calls 2020-10-19 16:42:24 +08:00
Yousong Zhou
cd123e007d cloudcommon: db: add man.GetI18N 2020-10-19 16:42:24 +08:00
Yousong Zhou
91736710ba cloudcommon: db: modelbase: distinct-field: readability change 2020-10-19 16:42:24 +08:00
Yousong Zhou
c2589e7352 logger: actionlog: readability change 2020-10-19 16:42:24 +08:00
rainzm
d454b0a792 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:28:04 +08:00
Qiu Jian
2a1a640f6b fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:03:26 +08:00
rainzm
9dee4c1b90 feat(region): call NotifyWebhook in the life cycle of guests 2020-10-19 16:02:55 +08:00
rainzm
0fd6481e4d feat: add NotifyWebhook in notifyclient 2020-10-19 16:02:55 +08:00
rainzm
d799a71fdb feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 16:02:55 +08:00
rainzm
436f1e5cb9 feat(notify): support webhook contact type 2020-10-19 16:02:55 +08:00
Qiu Jian
a92a0e2d05 fix: missing authenticate action log for user web login 2020-10-19 15:54:10 +08:00
yunion-ci-robot
0cafa996d7 Merge pull request #8362 from swordqiu/automated-cherry-pick-of-#8361-upstream-release-3.4
Automated cherry pick of #8361: fix: do not lock guest after lock eip, to prevent possible dead lock
2020-10-19 15:20:12 +08:00
yunion-ci-robot
2a10b72f98 Merge pull request #8348 from swordqiu/automated-cherry-pick-of-#8347-upstream-release-3.4
Automated cherry pick of #8347: fix: remote update metadata may cause metadata update loop
2020-10-19 15:19:16 +08:00
yunion-ci-robot
31c2b6270a Merge pull request #8354 from swordqiu/automated-cherry-pick-of-#8353-upstream-release-3.4
Automated cherry pick of #8353: fix: reduce change config logs
2020-10-19 15:18:18 +08:00
yunion-ci-robot
a6397d18c2 Merge pull request #8351 from swordqiu/automated-cherry-pick-of-#8350-upstream-release-3.4
Automated cherry pick of #8350: fix: missing authenticate action log for user web login
2020-10-19 15:17:12 +08:00
Zexi Li
203bf44639 Merge pull request #8367 from ioito/automated-cherry-pick-of-#8366-upstream-release-3.4
Automated cherry pick of #8366: fix: add rds cpu and memory usage
2020-10-19 15:11:56 +08:00
Zexi Li
d7a4e52b15 Merge pull request #8374 from ioito/automated-cherry-pick-of-#8373-upstream-release-3.4
Automated cherry pick of #8373: fix: 新增google存储类型
2020-10-19 15:11:08 +08:00
Zexi Li
7946dcef3f Merge pull request #8370 from ioito/automated-cherry-pick-of-#8369-upstream-release-3.4
Automated cherry pick of #8369: fix: use correct worker
2020-10-19 15:10:00 +08:00
Qu Xuan
f77bcd3bbf fix: 新增google存储类型 2020-10-19 14:16:51 +08:00
yunion-ci-robot
4841fbb843 Merge pull request #8356 from wanyaoqi/automated-cherry-pick-of-#8355-upstream-release-3.4
Automated cherry pick of #8355: host: fix sync storage info duration'
2020-10-19 11:57:12 +08:00
Qiu Jian
9b8758e191 fix: reduce change config logs 2020-10-19 11:51:38 +08:00
Qiu Jian
62f5355b11 fix: remote update metadata may cause metadata update loop 2020-10-19 11:46:20 +08:00
Qiu Jian
d774581a23 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:43:22 +08:00
Qu Xuan
062301f54a fix: use correct worker 2020-10-19 11:42:25 +08:00
Qu Xuan
16d13941ce fix: add rds cpu and memory usage 2020-10-19 11:23:21 +08:00
yunion-ci-robot
a10b1945f6 Merge pull request #8359 from yousong/automated-cherry-pick-of-#8358-upstream-release-3.4
Automated cherry pick of #8358: .circleci: build: make with parallel level 2
2020-10-19 10:50:16 +08:00
Yousong Zhou
3aadaf15b7 .circleci: build: make with parallel level 2 2020-10-19 10:29:50 +08:00
wanyaoqi
7a9b491d13 host: fix sync storage info duration' 2020-10-18 01:02:12 +08:00
Qiu Jian
ecbe76e9ff fix: missing authenticate action log for user web login 2020-10-17 22:09:55 +08:00
yunion-ci-robot
41bdfffd57 Merge pull request #8333 from rainzm/automated-cherry-pick-of-#8332-upstream-release-3.4
Automated cherry pick of #8332: feat: support lock storage from selected cachedimage
2020-10-17 18:23:10 +08:00
TangBin
a9c44ed304 add aliyun finance environment 2020-10-17 17:41:57 +08:00
rainzm
7a2c2b8047 refactor: find the most suitable storage 2020-10-17 17:40:08 +08:00
rainzm
a35a6f3c11 feat(esxiagent): try to customize vm if deployfs failed 2020-10-17 17:40:08 +08:00
rainzm
5a7876ae47 feat: support lock storage from selected cachedimage 2020-10-17 17:40:08 +08:00
yunion-ci-robot
31de731cbd Merge pull request #8336 from wanyaoqi/automated-cherry-pick-of-#8325-upstream-release-3.4
Automated cherry pick of #8325: telegraf raid plugin
2020-10-17 11:23:11 +08:00
wanyaoqi
8b2680ed56 telegraf raid plugin 2020-10-17 11:11:30 +08:00
yunion-ci-robot
39c35359aa Merge pull request #8329 from swordqiu/automated-cherry-pick-of-#8304-upstream-release-3.4
Automated cherry pick of #8304: feature: qcloud create VM with tags
2020-10-16 22:19:05 +08:00
Qiu Jian
a764a64696 feature: remote update qcloud instance metadata and name 2020-10-16 21:41:33 +08:00
Qiu Jian
f05a56aadd feature: qcloud create VM with tags 2020-10-16 21:41:33 +08:00
yunion-ci-robot
6cd69d3587 Merge pull request #8335 from rainzm/automated-cherry-pick-of-#8334-upstream-release-3.4
Automated cherry pick of #8334: fix(compute): filter cachedimage with health storage
2020-10-16 19:41:45 +08:00
rainzm
2a1bbfd574 fix(compute): filter cachedimage with health storage 2020-10-16 18:38:44 +08:00
Zexi Li
301006e213 Merge pull request #8331 from ioito/automated-cherry-pick-of-#8330-upstream-release-3.4
Automated cherry pick of #8330: fix: hostname for instance
2020-10-16 17:43:22 +08:00
Qu Xuan
950a2c29fb fix: hostname for instance 2020-10-16 17:12:40 +08:00
yunion-ci-robot
558872db27 Merge pull request #8324 from zhasm/automated-cherry-pick-of-#8323-upstream-release-3.4
Automated cherry pick of #8323: remove alpine build cache before make image
2020-10-16 15:14:46 +08:00
yunion-ci-robot
6386391bf4 Merge pull request #8327 from zexi/automated-cherry-pick-of-#8326-upstream-release-3.4
Automated cherry pick of #8326: fix: get images distinct field
2020-10-16 14:35:40 +08:00
Zexi Li
d298c75448 fix: get images distinct field 2020-10-16 12:01:01 +08:00
Zhang Dongliang
28cb75f41b remove alpine build cache before make image 2020-10-16 12:00:10 +08:00
yunion-ci-robot
560a68d379 Merge pull request #8320 from swordqiu/automated-cherry-pick-of-#8319-upstream-release-3.4
Automated cherry pick of #8319: fix: resolve with_meta filter conflict
2020-10-16 11:39:33 +08:00
Qu Xuan
11f8e4f71f fix: sync dns records after sync vpcs 2020-10-16 11:14:44 +08:00
yunion-ci-robot
9e597db90a Merge pull request #8315 from rainzm/automated-cherry-pick-of-#8314-upstream-release-3.4
Automated cherry pick of #8314: feat(esxi): do not specify portkey in NewVNIC
2020-10-16 10:38:34 +08:00
Qiu Jian
9c9cb17d32 fix: resolve with_meta filter conflict 2020-10-16 10:34:04 +08:00
rainzm
cc96c01c00 feat(esxi): do not specify portkey in NewVNIC 2020-10-16 08:22:58 +08:00
yunion-ci-robot
cb22077722 Merge pull request #8313 from swordqiu/automated-cherry-pick-of-#8312-upstream-release-3.4
Automated cherry pick of #8312: feature: filter storages by image
2020-10-15 23:10:33 +08:00
yunion-ci-robot
8e3c173373 Merge pull request #8309 from ioito/automated-cherry-pick-of-#8308-upstream-release-3.4
Automated cherry pick of #8308: fix: 避免并发同步安全组导致规则混乱
2020-10-15 23:02:32 +08:00
Qiu Jian
45e092bd2d feature: filter storages by image 2020-10-15 22:57:13 +08:00
Qu Xuan
4b2d67de42 fix: 避免并发同步安全组导致规则混乱 2020-10-15 22:26:54 +08:00
yunion-ci-robot
6677c30a5d Merge pull request #8306 from zexi/automated-cherry-pick-of-#8305-upstream-release-3.4
Automated cherry pick of #8305: stringutils2: add RemoveUtf8Strings func
2020-10-15 21:46:36 +08:00
Zexi Li
64593fc882 stringutils2: add RemoveUtf8Strings func 2020-10-15 19:37:00 +08:00
Zexi Li
0d7e1a2517 Merge pull request #8303 from swordqiu/automated-cherry-pick-of-#8302-upstream-release-3.4
Automated cherry pick of #8302: fix: allwo filter resource by with-meta and with-user-meta filter
2020-10-15 15:17:18 +08:00
Zexi Li
6fc835abb9 Merge pull request #8300 from ioito/automated-cherry-pick-of-#8299-upstream-release-3.4
Automated cherry pick of #8299: fix: support filter rds sku by provider
2020-10-15 15:16:04 +08:00
Zexi Li
44a9cc5adb Merge pull request #8293 from lvyangyang/automated-cherry-pick-of-#8289-upstream-release-3.4
Automated cherry pick of #8289: fix:openstack lb 后端ip无法映射到主机的异常处理
2020-10-15 15:15:09 +08:00
Qiu Jian
ff2b7eb345 fix: allwo filter resource by with-meta and with-user-meta filter 2020-10-15 14:46:48 +08:00
Qu Xuan
7b5d822373 fix: support filter rds sku by provider 2020-10-15 14:29:59 +08:00
yunion-ci-robot
f5a45fc16e Merge pull request #8298 from swordqiu/automated-cherry-pick-of-#8297-upstream-release-3.4
Automated cherry pick of #8297: fix: filter role assignments by project domains id or name
2020-10-15 14:24:33 +08:00
yunion-ci-robot
a583bbc74b Merge pull request #8295 from ioito/automated-cherry-pick-of-#8294-upstream-release-3.4
Automated cherry pick of #8294: fix: use new api
2020-10-15 14:22:37 +08:00
yunion-ci-robot
ece82cce42 Merge pull request #8266 from rainzm/automated-cherry-pick-of-#8265-upstream-release-3.4
Automated cherry pick of #8265: feat(esxiagent): sync and use of ESXi template
2020-10-15 13:14:31 +08:00
Qiu Jian
8042b9430c fix: filter project role with system=true 2020-10-15 13:10:54 +08:00
Qiu Jian
d1cbaead09 fix: filter role assignments by project domains id or name 2020-10-15 13:10:54 +08:00
Qu Xuan
1768d1e7db fix: use new api 2020-10-15 11:32:56 +08:00
rainzm
ff34e93862 feat: add 'vlan_id' param when creating network 2020-10-15 10:50:25 +08:00
rainzm
a891d1d876 feat: change templateid as <providerId>/<uuid> in esxi 2020-10-15 10:50:25 +08:00
Rain
c7d6bb7811 fix: support fake tempalte when searching template vm 2020-10-15 10:50:25 +08:00
rainzm
2076a75113 fix(esxiagent): check whether regexp is nil 2020-10-15 10:50:25 +08:00
rainzm
5d0d6d960b feat(esxiagent): keep data disks when cloning vm 2020-10-15 10:50:25 +08:00
lvyangyang
cf89e8a23a fix:openstack lb 后端ip无法映射到主机的异常处理 2020-10-15 10:09:53 +08:00
yunion-ci-robot
45994b59d5 Merge pull request #8291 from ioito/automated-cherry-pick-of-#8290-upstream-release-3.4
Automated cherry pick of #8290: fix: 优化安全组规则同步
2020-10-15 09:10:33 +08:00
Qu Xuan
d2d2934e80 fix: 优化安全组规则同步 2020-10-14 21:19:15 +08:00
yunion-ci-robot
0ec0c8e703 Merge pull request #8286 from lvyangyang/automated-cherry-pick-of-#8275-upstream-release-3.4
Automated cherry pick of #8275: fix:aliyun jsonRequest 增加i/o timeout retry
2020-10-14 17:53:30 +08:00
yunion-ci-robot
3347d6c1e1 Merge pull request #8285 from swordqiu/automated-cherry-pick-of-#8284-upstream-release-3.4
Automated cherry pick of #8284: feature: qcloud create VM with tags
2020-10-14 17:52:29 +08:00
yunion-ci-robot
dce9d5e4a1 Merge pull request #8288 from wanyaoqi/automated-cherry-pick-of-#8287-upstream-release-3.4
Automated cherry pick of #8287: make mode
2020-10-14 16:52:33 +08:00
Qiu Jian
ef9b64990e feature: qcloud create VM with tags 2020-10-14 15:22:30 +08:00
wanyaoqi
f19fe2178c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:56:49 +08:00
wanyaoqi
2265c9422f make mode 2020-10-14 11:56:49 +08:00
yunion-ci-robot
cf3717557a Merge pull request #8282 from ioito/automated-cherry-pick-of-#8281-upstream-release-3.4
Automated cherry pick of #8281: fix: sync huawei bucket project info
2020-10-14 10:51:30 +08:00
yunion-ci-robot
0bbdcb9278 Merge pull request #8280 from ioito/automated-cherry-pick-of-#8264-upstream-release-3.4
Automated cherry pick of #8264: fix: support public ip create
2020-10-14 10:50:30 +08:00
lvyangyang
d72081770e fix:aliyun jsonRequest 增加i/o timeout retry 2020-10-14 10:48:50 +08:00
yunion-ci-robot
0f874d8f07 Merge pull request #8254 from ioito/automated-cherry-pick-of-#8253-upstream-release-3.4
Automated cherry pick of #8253: fix: qcloud eip with bandwidth attr
2020-10-14 10:44:30 +08:00
yunion-ci-robot
dd5dd15a76 Merge pull request #8241 from wanyaoqi/automated-cherry-pick-of-#8231-upstream-release-3.4
Automated cherry pick of #8231: add interface freeze virtual resource
2020-10-14 10:42:30 +08:00
Qu Xuan
cb36572c1c fix: sync huawei bucket project info 2020-10-13 20:55:39 +08:00
Qu Xuan
2a210407a5 fix: support public ip create 2020-10-13 20:01:01 +08:00
Zexi Li
82c59154c5 Merge pull request #8268 from ioito/automated-cherry-pick-of-#8267-upstream-release-3.4
Automated cherry pick of #8267: fix: trans google new region name
2020-10-13 17:34:44 +08:00
Zexi Li
041ee6f904 Merge pull request #8271 from ioito/automated-cherry-pick-of-#8270-upstream-release-3.4
Automated cherry pick of #8270: fix: 支持带宽包用户
2020-10-13 17:34:35 +08:00
yunion-ci-robot
4317fac6da Merge pull request #8279 from wanyaoqi/automated-cherry-pick-of-#8278-upstream-release-3.4
Automated cherry pick of #8278: fix host-deployer base image
2020-10-13 17:04:29 +08:00
yunion-ci-robot
a022f99851 Merge pull request #8277 from zhasm/automated-cherry-pick-of-#8276-upstream-release-3.4
Automated cherry pick of #8276: 在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 17:01:30 +08:00
wanyaoqi
407251975e fix host-deployer base image 2020-10-13 16:59:24 +08:00
Zhang Dongliang
b7fd879e44 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 16:47:33 +08:00
yunion-ci-robot
0a7ccbe958 Merge pull request #8274 from zhasm/automated-cherry-pick-of-#8273-upstream-release-3.4
Automated cherry pick of #8273: 在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 16:18:31 +08:00
Zhang Dongliang
7efb85ba04 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 15:37:25 +08:00
Qu Xuan
84e8e4e6c8 fix: 支持带宽包用户 2020-10-13 15:34:03 +08:00
Qu Xuan
3fe15d2675 fix: trans google new region name 2020-10-13 14:18:09 +08:00
Qu Xuan
d574a823ba fix: qcloud eip with bandwidth attr 2020-10-13 10:42:25 +08:00
yunion-ci-robot
a2c8ad13ab Merge pull request #8191 from ioito/automated-cherry-pick-of-#8188-upstream-release-3.4
Automated cherry pick of #8188: fix: avoid qcloud secgroup cache name not sync
2020-10-13 10:41:31 +08:00
yunion-ci-robot
de8f57f625 Merge pull request #8243 from zexi/automated-cherry-pick-of-#8242-upstream-release-3.4
Automated cherry pick of #8242: baremetal: fix pxe filter network by guest_dhcp
2020-10-13 10:32:29 +08:00
Zexi Li
658159b18e Merge pull request #8229 from yousong/automated-cherry-pick-of-#8228-upstream-release-3.4
Automated cherry pick of #8228: eip: construct a pointer type
2020-10-13 10:13:49 +08:00
Zexi Li
67cc7b8747 Merge pull request #8259 from rainzm/automated-cherry-pick-of-#8232-upstream-release-3.4
Automated cherry pick of #8232: fix(esxi): search template from whole vCenter
2020-10-13 10:06:22 +08:00
Zexi Li
ce694ff638 Merge pull request #8247 from swordqiu/automated-cherry-pick-of-#8246-upstream-release-3.4
Automated cherry pick of #8246: fix: project_id in resource details not correct
2020-10-13 10:00:34 +08:00
Zexi Li
98702c2470 Merge pull request #8249 from ioito/automated-cherry-pick-of-#8248-upstream-release-3.4
Automated cherry pick of #8248: fix: qcloud instance with max bandwidth
2020-10-13 09:58:37 +08:00
yunion-ci-robot
9ac5265c07 Merge pull request #8257 from zhasm/automated-cherry-pick-of-#8256-upstream-release-3.4
Automated cherry pick of #8256: 解决编译之后 output 的 owerner 问题
2020-10-12 19:24:28 +08:00
Yousong Zhou
896bec8f43 eip: NewEipForVMOnHost: add opslog 2020-10-12 18:39:17 +08:00
Yousong Zhou
a8426482bf eip: construct a pointer type 2020-10-12 18:39:17 +08:00
Zhang Dongliang
d7316b26aa resolve conflict 2020-10-12 18:12:41 +08:00
rainzm
d16affc9a6 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:46:38 +08:00
rainzm
2259fe1195 fix(esxi): search template from whole vCenter 2020-10-12 17:46:38 +08:00
yunion-ci-robot
09e37de117 Merge pull request #8251 from swordqiu/automated-cherry-pick-of-#8237-upstream-release-3.4
Automated cherry pick of #8237: fix: format errors that block make test
2020-10-12 16:09:22 +08:00
Qu Xuan
715db28e3e fix: qcloud instance with max bandwidth 2020-10-12 15:09:09 +08:00
Qiu Jian
152ea54f36 fix: format errors that block make test 2020-10-12 15:06:44 +08:00
yunion-ci-robot
865b433bb0 Merge pull request #8236 from swordqiu/automated-cherry-pick-of-#8235-upstream-release-3.4
Automated cherry pick of #8235: fix: not clean pending domain usage
2020-10-12 15:04:21 +08:00
yunion-ci-robot
f04a37d0a3 Merge pull request #8233 from rainzm/automated-cherry-pick-of-#8126-upstream-release-3.4
Automated cherry pick of #8126: Feats for ESXi Manage
2020-10-12 15:02:18 +08:00
rainzm
7edcd151e3 feat: add vlanId for suggested network 2020-10-12 14:25:05 +08:00
rainzm
df90d99bc5 feat(esxi): support fake template vm via regex filter 2020-10-12 14:25:05 +08:00
rainzm
552ce3b2ea feat: filter esxi ip by CIDR 2020-10-12 14:25:05 +08:00
rainzm
91c852676a feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-12 14:25:05 +08:00
rainzm
8528d79817 feat: add 'ip-list' for esxicli 2020-10-12 14:25:05 +08:00
Qiu Jian
d2aacafa4c fix: project_id in resource details not correct 2020-10-12 14:20:22 +08:00
yunion-ci-robot
8714503087 Merge pull request #8239 from swordqiu/automated-cherry-pick-of-#8238-upstream-release-3.4
Automated cherry pick of #8238: fix: ldap sync not update user's phone and email
2020-10-12 11:54:19 +08:00
Zexi Li
d0d3d8e333 baremetal: fix pxe filter network by guest_dhcp 2020-10-12 11:36:56 +08:00
wanyaoqi
dee1aa26dc genreate api models 2020-10-12 10:45:50 +08:00
wanyaoqi
c973bf1632 add interface freeze virtual resource 2020-10-12 10:45:50 +08:00
Qiu Jian
1aa82ae950 fix: ldap sync not update user's phone and email 2020-10-11 05:44:53 +08:00
Qiu Jian
488e7e56a6 fix: not clean pending domain usage 2020-10-11 04:37:04 +08:00
yunion-ci-robot
6a2ebdc123 Merge pull request #8195 from rainzm/automated-cherry-pick-of-#8194-upstream-release-3.4
Automated cherry pick of #8194: fix(esxi): check nil value when NewVirtualMachine
2020-10-10 19:10:17 +08:00
yunion-ci-robot
4105284718 Merge pull request #8217 from tb365/automated-cherry-pick-of-#8214-upstream-release-3.4
Automated cherry pick of #8214: remove aws lbbg cache metedata
2020-10-10 18:55:20 +08:00
yunion-ci-robot
ac5f29bc0c Merge pull request #8226 from zhaoxiangchun/automated-cherry-pick-of-#8213-upstream-release-3.4
Automated cherry pick of #8213: bugfix:scoperesource FilterByOwner
2020-10-10 17:11:18 +08:00
zhaoxiangchun
58d52d947c Add web url to alarm template 2020-10-10 16:24:29 +08:00
zhaoxiangchun
c5ef564d35 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 16:24:29 +08:00
yunion-ci-robot
1cacf1068f Merge pull request #8219 from yousong/automated-cherry-pick-of-#8218-upstream-release-3.4
Automated cherry pick of #8218: webconsole: ssh: each argument on its own line
2020-10-10 15:34:49 +08:00
Yousong Zhou
63b0d0c071 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:43:39 +08:00
Yousong Zhou
39a45229af webconsole: ssh: each argument on its own line 2020-10-10 14:43:39 +08:00
TangBin
e82cf184f1 remove aws lbbg cache metedata 2020-10-10 14:28:27 +08:00
yunion-ci-robot
afa16944c0 Merge pull request #8211 from ioito/automated-cherry-pick-of-#8210-upstream-release-3.4
Automated cherry pick of #8210: fix: validate secgroup purge condition
2020-10-10 14:02:15 +08:00
yunion-ci-robot
8f953e41da Merge pull request #8200 from rainzm/automated-cherry-pick-of-#8199-upstream-release-3.4
Automated cherry pick of #8199: fix(esxi): check whether some fields of vm are nil
2020-10-10 12:53:09 +08:00
yunion-ci-robot
6e0180656d Merge pull request #8208 from ioito/automated-cherry-pick-of-#8207-upstream-release-3.4
Automated cherry pick of #8207: fix: qcloud set hostname for instance
2020-10-10 12:08:09 +08:00
yunion-ci-robot
718bf0d537 Merge pull request #8184 from yousong/automated-cherry-pick-of-#8183-upstream-release-3.4
Automated cherry pick of #8183: vpcagent: ovn: increase dhcp lease, renew, rebind time
2020-10-10 11:56:13 +08:00
Qu Xuan
9fbd4f0599 fix: validate secgroup purge condition 2020-10-10 11:54:38 +08:00
rainzm
078b1d635a fix: avoid slice out of bounds 2020-10-10 11:52:06 +08:00
rainzm
b8e0599e3f fix(esxi): filter linkLocalAddress 2020-10-10 11:52:06 +08:00
rainzm
27bd564d2d fix(esxi): check whether some fields of vm are nil 2020-10-10 11:52:06 +08:00
Qu Xuan
5b79ba5607 fix: qcloud set hostname for instance 2020-10-10 11:41:15 +08:00
yunion-ci-robot
c9d20d13f1 Merge pull request #8206 from swordqiu/automated-cherry-pick-of-#8205-upstream-release-3.4
Automated cherry pick of #8205: fix: filter cached images with host schedtag
2020-10-10 11:35:09 +08:00
yunion-ci-robot
779d4a9acf Merge pull request #8203 from swordqiu/automated-cherry-pick-of-#8202-upstream-release-3.4
Automated cherry pick of #8202: fix: server name auto index should start from 1
2020-10-10 11:35:04 +08:00
rainzm
1bc4b3cb90 fix(esxi): check nil value when NewVirtualMachine 2020-10-10 11:24:12 +08:00
Qiu Jian
49887e540a fix: filter cached images with host schedtag 2020-10-10 06:57:57 +08:00
Qiu Jian
7ce0d7b44b fix: server name auto index should start from 1 2020-10-10 06:26:31 +08:00
Qu Xuan
e8d737ff6c fix: avoid qcloud secgroup cache name not sync 2020-10-09 14:58:10 +08:00
yunion-ci-robot
fd954efcf2 Merge pull request #8177 from zhaoxiangchun/automated-cherry-pick-of-#8176-upstream-release-3.4
Automated cherry pick of #8176: modify suggest rule cli
2020-10-09 10:35:01 +08:00
Yousong Zhou
e9415ae49e vpcagent: ovn: increase dhcp lease, renew, rebind time 2020-10-09 10:24:55 +08:00
yunion-ci-robot
5b0afbdc6b Merge pull request #8179 from swordqiu/automated-cherry-pick-of-#8178-upstream-release-3.4
Automated cherry pick of #8178: fix: error code of external bucket not found error should be 404
2020-10-09 09:13:00 +08:00
yunion-ci-robot
ec393a6e3c Merge pull request #8182 from swordqiu/automated-cherry-pick-of-#8181-upstream-release-3.4
Automated cherry pick of #8181: 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
adccad3487 hotfix: 1. allow merge networks without continuous addresses 2. filter guest_ip_start and guest_ip_end with contains operator 2020-10-07 23:32:32 +08:00
Qiu Jian
76f794d1a2 fix: error code of external bucket not found error should be 404 2020-09-30 18:01:44 +08:00
zhaoxiangchun
bba2cf23fd modify suggest rule cli
1.增加perform config方法,方便修改默认规则:执行周期,扫描窗口的属性
2020-09-30 17:18:18 +08:00
yunion-ci-robot
b8f8c3bae4 Merge pull request #8174 from yousong/automated-cherry-pick-of-#8173-upstream-release-3.4
Automated cherry pick of #8173: dns: isMyDomain: match only strict subdomain of dns_domain
2020-09-30 16:31:49 +08:00
yunion-ci-robot
7f3c0103d0 Merge pull request #8167 from lvyangyang/automated-cherry-pick-of-#8153-upstream-release-3.4
Automated cherry pick of #8153: fix:允许cname record通过policy多值
2020-09-30 16:30:46 +08:00
yunion-ci-robot
499ddeba32 Merge pull request #8169 from swordqiu/automated-cherry-pick-of-#8168-upstream-release-3.4
Automated cherry pick of #8168: fix: emulated wire not sync vpc shared info
2020-09-30 16:17:47 +08:00
Yousong Zhou
7e191a503c dns: isMyDomain: match only strict subdomain of dns_domain 2020-09-30 16:15:59 +08:00
yunion-ci-robot
94eb72fb3c Merge pull request #8172 from ioito/automated-cherry-pick-of-#8171-upstream-release-3.4
Automated cherry pick of #8171: fix: 允许域管理员可以看到共享的dns zone cache列表
2020-09-30 16:13:47 +08:00
Qu Xuan
02bcce195c fix: 允许域管理员可以看到共享的dns zone cache列表 2020-09-30 15:57:51 +08:00
Qiu Jian
5c4423bcbe fix: emulated wire not sync vpc shared info 2020-09-30 15:54:34 +08:00
lvyangyang
9b7fbf33b8 fix:允许cname record通过policy多值 2020-09-30 15:50:13 +08:00
yunion-ci-robot
a7a8ad1931 Merge pull request #8164 from swordqiu/automated-cherry-pick-of-#8163-upstream-release-3.4
Automated cherry pick of #8163: fix: oidc response user's info
2020-09-30 12:11:46 +08:00
yunion-ci-robot
6c8b30e1be Merge pull request #8166 from swordqiu/automated-cherry-pick-of-#8165-upstream-release-3.4
Automated cherry pick of #8165: fix: revert filter-by-owner changes of scoped resource
2020-09-30 12:07:51 +08:00
Qiu Jian
8cdab93c15 fix: oidc response user's info 2020-09-30 11:57:21 +08:00
Qiu Jian
8a28d26271 fix: revert filter-by-owner changes of scoped resource 2020-09-30 11:34:56 +08:00
yunion-ci-robot
29fa258c6e Merge pull request #8162 from tb365/automated-cherry-pick-of-#8159-upstream-release-3.4
Automated cherry pick of #8159: aliyun public elb region fix
2020-09-29 23:28:41 +08:00
TangBin
7a61d77b06 aliyun public elb region fix 2020-09-29 22:05:47 +08:00
yunion-ci-robot
552dd2bfd1 Merge pull request #8148 from lvyangyang/automated-cherry-pick-of-#8145-upstream-release-3.4
Automated cherry pick of #8145: fix:forbid top level public domain name
2020-09-29 20:21:36 +08:00
yunion-ci-robot
60c42975a8 Merge pull request #8158 from zhaoxiangchun/automated-cherry-pick-of-#8076-upstream-release-3.4
Automated cherry pick of #8076: bugfix:commonalert
2020-09-29 19:17:34 +08:00
yunion-ci-robot
ad53ddd84b Merge pull request #8157 from tb365/automated-cherry-pick-of-#8154-upstream-release-3.4
Automated cherry pick of #8154: aliyun public elb brand fix
2020-09-29 18:19:33 +08:00
zhaoxiangchun
e87d2c0e86 bugfix commalert 3.4
1.后端先隐藏rds,redis,oss等相关信息
2.报警通知中规则描述增加单位信息
3.调整优化建议规则相关逻辑
2020-09-29 18:14:05 +08:00
zhaoxiangchun
a9c95cf363 bugfix:commonalert
1.suggestrule cli 调整
2020-09-29 18:14:05 +08:00
TangBin
540f4631f4 aliyun public elb brand fix 2020-09-29 16:49:41 +08:00
yunion-ci-robot
6db3ec81ea Merge pull request #8150 from ioito/automated-cherry-pick-of-#8149-upstream-release-3.4
Automated cherry pick of #8149: fix: allow domain admin view shared dns zone records
2020-09-29 12:23:33 +08:00
yunion-ci-robot
abc2be7e5e Merge pull request #8147 from ioito/automated-cherry-pick-of-#8146-upstream-release-3.4
Automated cherry pick of #8146: fix: avoid sync dns zone cache status is init
2020-09-29 12:20:34 +08:00
Qu Xuan
b0e1d0de23 fix: allow domain admin view shared dns zone records 2020-09-29 11:20:35 +08:00
lvyangyang
fba8349e84 fix:forbid top level public domain name 2020-09-29 11:04:10 +08:00
yunion-ci-robot
9bd70e3cb6 Merge pull request #8102 from rainzm/automated-cherry-pick-of-#8101-upstream-release-3.4
Automated cherry pick of #8101: fix(region): set ownerId as userCred when can't FetchOwnerId
2020-09-29 10:41:39 +08:00
Qu Xuan
f931deb41f fix: avoid sync dns zone cache status is init 2020-09-29 10:39:54 +08:00
yunion-ci-robot
324e7435ac Merge pull request #8144 from zexi/automated-cherry-pick-of-#8143-upstream-release-3.4
Automated cherry pick of #8143: mcclient modules: fix k8s fed rolebinding joint wrong resource manager
2020-09-29 10:35:36 +08:00
Zexi Li
1a1d7c70ad mcclient modules: fix k8s fed rolebinding joint wrong resource manager 2020-09-29 08:28:05 +08:00
yunion-ci-robot
3a773f87d3 Merge pull request #8142 from swordqiu/automated-cherry-pick-of-#8141-upstream-release-3.4
Automated cherry pick of #8141: fix: filter storages by host schedtag
2020-09-29 01:20:35 +08:00
Qiu Jian
11ea89795a fix: filter storages by host schedtag 2020-09-29 00:20:26 +08:00
yunion-ci-robot
288b9e02af Merge pull request #8140 from zhaoxiangchun/automated-cherry-pick-of-#8139-upstream-release-3.4
Automated cherry pick of #8139: bugfix :esxi 多机器环境下拉取监控超时
2020-09-28 18:27:33 +08:00
zhaoxiangchun
b88c114ba6 bugfix :esxi 多机器环境下拉取监控超时
1.简化mo.virtualMachine 实体中的属性
2.批量获取cloudprovider下所有的虚拟机的监控信息
2020-09-28 18:13:27 +08:00
Zexi Li
aa3ff8ac5b Merge pull request #8138 from zexi/automated-cherry-pick-of-#8137-upstream-release-3.4
Automated cherry pick of #8137: region: host specs replace space char to '_'
2020-09-28 17:46:58 +08:00
Zexi Li
3b0ba2caa9 region: host specs replace space char to '_' 2020-09-28 17:38:54 +08:00
Zexi Li
4dff79bdd0 Merge pull request #8136 from zexi/automated-cherry-pick-of-#8135-upstream-release-3.4
Automated cherry pick of #8135: specs: fix specKey url not escape
2020-09-28 17:01:44 +08:00
Zexi Li
a4d7b2b4b3 specs: fix specKey url not escape 2020-09-28 16:55:56 +08:00
yunion-ci-robot
f2b0fa1911 Merge pull request #8134 from rainzm/automated-cherry-pick-of-#8133-upstream-release-3.4
Automated cherry pick of #8133: fix(scheduler): filter InstanceGroup whose enabled is false
2020-09-28 16:40:35 +08:00
yunion-ci-robot
c1a963801f Merge pull request #8128 from lvyangyang/automated-cherry-pick-of-#8086-upstream-release-3.4
Automated cherry pick of #8086: fix:/dnsrecordset重复检查,dnszonevpc数量
2020-09-28 16:30:33 +08:00
yunion-ci-robot
95456e3e08 Merge pull request #8124 from rainzm/automated-cherry-pick-of-#8123-upstream-release-3.4
Automated cherry pick of #8123: fix: suffix template cache key
2020-09-28 16:28:35 +08:00
Zexi Li
41c84ca8ec Merge pull request #8132 from tb365/automated-cherry-pick-of-#8129-upstream-release-3.4
Automated cherry pick of #8129: aliyun create public lb fix
2020-09-28 16:24:36 +08:00
Rain
e6de7be7e1 fix(scheduler): filter InstanceGroup whose enabled is false 2020-09-28 16:06:17 +08:00
TangBin
3ddce26aa0 aliyun create public lb fix 2020-09-28 14:20:57 +08:00
lvyangyang
d94e55501a fix:/dnsrecordset重复检查,dnszonevpc数量 2020-09-28 11:08:41 +08:00
yunion-ci-robot
a9ca6e0a8a Merge pull request #8122 from zexi/automated-cherry-pick-of-#8121-upstream-release-3.4
Automated cherry pick of #8121: region: fix query object by spec not include details
2020-09-27 22:10:35 +08:00
rainzm
ad22483113 fix: suffix template cache key 2020-09-27 21:10:03 +08:00
yunion-ci-robot
4e9af39d73 Merge pull request #8117 from wanyaoqi/automated-cherry-pick-of-#8116-upstream-release-3.4
Automated cherry pick of #8116: umount nfs on detach storage
2020-09-27 21:03:37 +08:00
Zexi Li
a05f50dbf0 region: fix query object by spec not include details 2020-09-27 20:48:47 +08:00
wanyaoqi
adbe292f48 increase rbd check timeout 2020-09-27 20:19:50 +08:00
wanyaoqi
61cc180101 umount nfs on detach storage 2020-09-27 20:19:50 +08:00
yunion-ci-robot
1fd043c99b Merge pull request #8115 from swordqiu/automated-cherry-pick-of-#8114-upstream-release-3.4
Automated cherry pick of #8114: fix: filter cloudprovider/network by host-schedtag-id
2020-09-27 19:56:38 +08:00
Qiu Jian
82c0dcfb38 fix: filter cloudprovider/network by host-schedtag-id 2020-09-27 18:30:36 +08:00
yunion-ci-robot
ea5fbef0c2 Merge pull request #8111 from ioito/automated-cherry-pick-of-#8110-upstream-release-3.4
Automated cherry pick of #8110: fix: dns zone cache owner info
2020-09-27 16:51:34 +08:00
yunion-ci-robot
c1d66fc4e7 Merge pull request #8094 from tb365/automated-cherry-pick-of-#8087-upstream-release-3.4
Automated cherry pick of #8087: huawei snapshot delete fix
2020-09-27 15:11:32 +08:00
Zexi Li
b7423baf1f Merge pull request #8085 from ioito/automated-cherry-pick-of-#8084-upstream-release-3.4
Automated cherry pick of #8084: fix: openstack zone not emulated
2020-09-27 14:46:55 +08:00
Zexi Li
0ca3349d58 Merge pull request #8089 from wanyaoqi/automated-cherry-pick-of-#8088-upstream-release-3.4
Automated cherry pick of #8088: set stagefail on clean fail
2020-09-27 14:46:00 +08:00
yunion-ci-robot
8dde6a6ac4 Merge pull request #8100 from rainzm/automated-cherry-pick-of-#8099-upstream-release-3.4
Automated cherry pick of #8099: fix(esxi): Guarantee the uniqueness of the schedtag for esxi host
2020-09-27 14:45:34 +08:00
yunion-ci-robot
0d2d5b0728 Merge pull request #8108 from ioito/automated-cherry-pick-of-#8107-upstream-release-3.4
Automated cherry pick of #8107: fix: allow create disk prefer manager
2020-09-27 14:44:35 +08:00
Qu Xuan
da8529a00a fix: dns zone cache owner info 2020-09-27 14:35:49 +08:00
Qu Xuan
73aee11474 fix: allow create disk prefer manager 2020-09-27 14:18:44 +08:00
yunion-ci-robot
5229c06dfc Merge pull request #8060 from ioito/automated-cherry-pick-of-#8059-upstream-release-3.4
Automated cherry pick of #8059: fix: avoid serial vm creation
2020-09-26 23:18:33 +08:00
yunion-ci-robot
37b2b30af5 Merge pull request #8105 from zexi/automated-cherry-pick-of-#8104-upstream-release-3.4
Automated cherry pick of #8104: region: fix schedtag joint resource master/slave field wrong order
2020-09-26 08:48:31 +08:00
Zexi Li
7baaf23f84 Merge pull request #8096 from ioito/automated-cherry-pick-of-#8095-upstream-release-3.4
Automated cherry pick of #8095: fix: avoid purge storages
2020-09-25 20:54:42 +08:00
Zexi Li
1b6ac9bc48 region: fix schedtag joint resource master/slave field wrong order 2020-09-25 20:50:49 +08:00
rainzm
1215d723af fix(region): set ownerId as userCred when can't FetchOwnerId 2020-09-25 20:38:23 +08:00
rainzm
4586c82cb2 fix:(region) correct syncSchedtags
1.把extTagName存到metadata里面,这样就算修改tag的name,也能在metadata里面拿到。
2.已经创建的schedtag就不要重复创建了。
2020-09-25 20:28:27 +08:00
rainzm
5460f22444 fix(esxi): Guarantee the uniqueness of the schedtag for esxi host
Replace 'cluster:<clustername>' with
'cluster:/<cloudprovidername>/<dcname>/<clustername>'.
2020-09-25 20:28:27 +08:00
Qu Xuan
f5cf093e0f fix: avoid purge storages 2020-09-25 19:16:21 +08:00
TangBin
77865d894e huawei client request add throttling control 2020-09-25 19:07:41 +08:00
TangBin
454aabca75 huawei elb get params log 2020-09-25 19:07:41 +08:00
TangBin
c6d2149914 qcloud elb create listener fix 2020-09-25 19:07:41 +08:00
TangBin
ebee608109 huawei snapshot delete fix 2020-09-25 19:07:41 +08:00
wanyaoqi
7e2e7ade19 set stagefail on clean fail 2020-09-25 18:42:57 +08:00
Zexi Li
5d39338d60 Merge pull request #8083 from ioito/automated-cherry-pick-of-#8075-upstream-release-3.4
Automated cherry pick of #8075: fix: allow cross doamin resource sync
2020-09-25 16:56:36 +08:00
ioito
3903af786b fix: openstack zone not emulated 2020-09-25 16:15:34 +08:00
ioito
91cac5c217 fix: allow cross doamin resource sync 2020-09-25 15:49:57 +08:00
Zexi Li
12ef953b70 Merge pull request #8078 from ioito/automated-cherry-pick-of-#8077-upstream-release-3.4
Automated cherry pick of #8077: fix: avoid account delete failed
2020-09-25 12:11:43 +08:00
Zexi Li
d029dc22c0 Merge pull request #8018 from rainzm/automated-cherry-pick-of-#8017-upstream-release-3.4
Automated cherry pick of #8017: refactor(region): replace 'ActualCapacity' with 'ActualCapacityUsed'
2020-09-25 12:08:29 +08:00
Zexi Li
0deb8ea928 Merge pull request #8055 from rainzm/automated-cherry-pick-of-#8054-upstream-release-3.4
Automated cherry pick of #8054: feat: add GetSchedtags for ICloudHost
2020-09-25 12:07:13 +08:00
Zexi Li
1ffa6f5295 Merge pull request #8081 from zexi/automated-cherry-pick-of-#8080-upstream-release-3.4
Automated cherry pick of #8080: climc: add k8s fed resource sync action
2020-09-25 12:06:18 +08:00
Zexi Li
37b9a2e53d climc: add k8s fed resource sync action 2020-09-25 11:52:20 +08:00
yunion-ci-robot
f6a620ac46 Merge pull request #8067 from lvyangyang/automated-cherry-pick-of-#8002-upstream-release-3.4
Automated cherry pick of #8002: wait deleted
2020-09-25 11:13:30 +08:00
ioito
5f50314df6 fix: avoid account delete failed 2020-09-25 10:54:25 +08:00
rainzm
9ded6e43f1 feat(region): sync capacityUsed for storage after deploying or deleting guest 2020-09-25 10:35:01 +08:00
rainzm
547b2960b1 feat(region): sync CapacityUsed for Storage 2020-09-25 10:35:01 +08:00
rainzm
116d347c88 feat: add GetCapacityUsedMB for ICloudStorage 2020-09-25 10:35:01 +08:00
rainzm
e0c94daaf7 refactor(region): replace 'ActualCapacity' with 'ActualCapacityUsed' 2020-09-25 10:35:01 +08:00
rainzm
679ccb825a feat(region): sync schedtags when syncing host 2020-09-25 10:31:49 +08:00
rainzm
857e76ab78 feat(esxi): add GetSchedtags implementation for esxi.SHost 2020-09-25 10:31:49 +08:00
rainzm
0d05f9ee18 feat: add GetSchedtags for ICloudHost 2020-09-25 10:31:49 +08:00
Zexi Li
7e362cae3d Merge pull request #8057 from ioito/automated-cherry-pick-of-#8056-upstream-release-3.4
Automated cherry pick of #8056: fix: 仅在可用区故障时可强制挂载磁盘
2020-09-25 01:40:52 +08:00
Zexi Li
54ee77db03 Merge pull request #8066 from lvyangyang/automated-cherry-pick-of-#8013-upstream-release-3.4
Automated cherry pick of #8013: fix: dns 错误信息补全
2020-09-25 01:39:40 +08:00
Zexi Li
95b82d299d Merge pull request #8069 from ioito/automated-cherry-pick-of-#8068-upstream-release-3.4
Automated cherry pick of #8068: fix: avoid compare err with cloudprovider.ErrNotFound direct
2020-09-25 01:38:22 +08:00
Zexi Li
e4605d8c3b Merge pull request #8064 from rainzm/automated-cherry-pick-of-#8063-upstream-release-3.4
Automated cherry pick of #8063: fix(region): fetch correct ownerId in PerformPrepareNets
2020-09-24 21:22:00 +08:00
Zexi Li
652eb65252 Merge pull request #8072 from ioito/automated-cherry-pick-of-#8071-upstream-release-3.4
Automated cherry pick of #8071: fix: sql err
2020-09-24 21:19:26 +08:00
ioito
310baa266b fix: sql err 2020-09-24 20:22:39 +08:00
ioito
5f2c771f73 fix: avoid compare err with cloudprovider.ErrNotFound direct 2020-09-24 20:15:48 +08:00
lvyangyang
d90b661f7e wait deleted 2020-09-24 17:40:21 +08:00
lvyangyang
8d28bfc6d2 fix: dns 错误信息补全 2020-09-24 17:36:58 +08:00
rainzm
c7b8e84ffe fix(region): fetch correct ownerId in PerformPrepareNets 2020-09-24 17:26:17 +08:00
ioito
b5088230bf fix: avoid serial vm creation 2020-09-24 16:41:02 +08:00
ioito
4038bfb8a1 fix: 仅在可用区故障时可强制挂载磁盘 2020-09-24 15:39:09 +08:00
yunion-ci-robot
afb8924762 Merge pull request #8050 from zexi/automated-cherry-pick-of-#8049-upstream-release-3.4
Automated cherry pick of #8049: climc: refactor k8s sub command
2020-09-24 10:59:19 +08:00
yunion-ci-robot
796c3d1d48 Merge pull request #8008 from rainzm/automated-cherry-pick-of-#8007-upstream-release-3.4
Automated cherry pick of #8007: Fix & Feat of Notify or Lang
2020-09-24 10:43:19 +08:00
yunion-ci-robot
57a2258d94 Merge pull request #8053 from zhaoxiangchun/automated-cherry-pick-of-#8051-upstream-release-3.4
Automated cherry pick of #8051: commonalert bugfix 3.4
2020-09-24 10:24:20 +08:00
zhaoxiangchun
365e555c98 commonalert bugfix 3.4 2020-09-24 10:20:58 +08:00
Zexi Li
63603359e7 Merge pull request #8046 from ioito/automated-cherry-pick-of-#8029-upstream-release-3.4
Automated cherry pick of #8029: fix: avoid account delete failed
2020-09-23 23:51:44 +08:00
Zexi Li
fc3b794515 Merge pull request #8052 from swordqiu/automated-cherry-pick-of-#8048-upstream-release-3.4
Automated cherry pick of #8048: fix: scope resource filter by owner
2020-09-23 23:49:38 +08:00
Zexi Li
51020aac04 climc: refactor k8s sub command 2020-09-23 23:43:55 +08:00
yunion-ci-robot
32470e2ad3 Merge pull request #8032 from wanyaoqi/automated-cherry-pick-of-#8031-upstream-release-3.4
Automated cherry pick of #8031: support mutli params
2020-09-23 23:13:23 +08:00
Qiu Jian
975e7fb1e8 fix: scope resource filter by owner 2020-09-23 22:58:52 +08:00
rainzm
1c786a034b fix: use i18n.Table to handle Chinese-English conversion 2020-09-23 21:26:35 +08:00
rainzm
2d5055c908 feat: log err when sending notification via notifyclient 2020-09-23 21:26:35 +08:00
rainzm
471e2b4f13 fix(region): split brand as 'YunionCloud' and '云联壹云' when notify server event 2020-09-23 21:26:35 +08:00
rainzm
8da2d5ff7a feat: inherit lang from ctx fro Task 2020-09-23 21:26:35 +08:00
rainzm
043fdcfec2 fix(notify): modify name of notification to avoid duplication 2020-09-23 21:26:35 +08:00
rainzm
09bebcf5f4 fix(notify): clean verifyNote when mark verified 2020-09-23 21:26:35 +08:00
rainzm
d917e8e386 fix(notify): return correct value when sortContactType 2020-09-23 21:26:35 +08:00
yunion-ci-robot
7d163f63a1 Merge pull request #8025 from swordqiu/automated-cherry-pick-of-#8024-upstream-release-3.4
Automated cherry pick of #8024: fix: apigateway userinfo includes project metadata
2020-09-23 21:24:25 +08:00
yunion-ci-robot
8ce445487b Merge pull request #8015 from wanyaoqi/automated-cherry-pick-of-#8014-upstream-release-3.4
Automated cherry pick of #8014: support search ip
2020-09-23 21:22:21 +08:00
Zexi Li
6cff31add6 Merge pull request #8012 from ioito/automated-cherry-pick-of-#8011-upstream-release-3.4
Automated cherry pick of #8011: fix: 避免添加新账号后长时间未同步iam用户
2020-09-23 21:10:26 +08:00
Zexi Li
7698dcf506 Merge pull request #8010 from ioito/automated-cherry-pick-of-#8009-upstream-release-3.4
Automated cherry pick of #8009: fix: 优化提取显示主账号名
2020-09-23 21:08:35 +08:00
yunion-ci-robot
a7e537f4df Merge pull request #8045 from lvyangyang/automated-cherry-pick-of-#8044-upstream-release-3.4
Automated cherry pick of #8044: fix: error 值重叠
2020-09-23 21:08:22 +08:00
yunion-ci-robot
d23ffbb997 Merge pull request #8035 from swordqiu/automated-cherry-pick-of-#8034-upstream-release-3.4
Automated cherry pick of #8034: fix: role assignment filter by users not working for effective users in groups
2020-09-23 20:59:20 +08:00
ioito
c38cb271f8 fix: avoid account delete failed 2020-09-23 20:58:41 +08:00
yunion-ci-robot
c4c07c4e9d Merge pull request #8033 from yousong/automated-cherry-pick-of-#8030-upstream-release-3.4
Automated cherry pick of #8030: monitor: error fmt
2020-09-23 20:56:19 +08:00
yunion-ci-robot
682fa5e5bd Merge pull request #8037 from rainzm/automated-cherry-pick-of-#8036-upstream-release-3.4
Automated cherry pick of #8036: fix(region): add GetSlaveFieldName for ScalingGroupGuest
2020-09-23 20:52:19 +08:00
yunion-ci-robot
cefe057dc8 Merge pull request #8027 from ioito/automated-cherry-pick-of-#8026-upstream-release-3.4
Automated cherry pick of #8026: fix: 避免腾讯云同步虚拟机ip异常
2020-09-23 20:51:31 +08:00
yunion-ci-robot
1026b74e65 Merge pull request #8042 from zhaoxiangchun/automated-cherry-pick-of-#8041-upstream-release-3.4
Automated cherry pick of #8041: bugfix:esxi collect metric
2020-09-23 20:42:20 +08:00
yunion-ci-robot
ccce0a4be5 Merge pull request #8040 from zhasm/automated-cherry-pick-of-#8039-upstream-release-3.4
Automated cherry pick of #8039: fix esxi-agent dockerfile typo
2020-09-23 20:41:20 +08:00
lvyangyang
9a04238b77 fix: error 值重叠 2020-09-23 20:11:25 +08:00
zhaoxiangchun
a7198dc21b bugfix:esxi collect metric 2020-09-23 19:49:28 +08:00
Zhang Dongliang
78fc35d3a6 fix esxi-agent dockerfile typo 2020-09-23 18:56:28 +08:00
Yousong Zhou
70fd9dfb70 locales: monitor: add translations 2020-09-23 18:43:17 +08:00
Yousong Zhou
572e45968d monitor: error fmt 2020-09-23 18:43:17 +08:00
rainzm
35842df1bd fix(region): add GetSlaveFieldName for ScalingGroupGuest 2020-09-23 18:39:16 +08:00
Qiu Jian
b32eddce03 fix: role assignment filter by users not working for effective users in groups 2020-09-23 18:31:00 +08:00
wanyaoqi
8102e7ed00 support mutli params 2020-09-23 18:25:06 +08:00
ioito
f659ccd0d5 fix: 避免腾讯云同步虚拟机ip异常 2020-09-23 18:17:36 +08:00
yunion-ci-robot
27fe6bc38d Merge pull request #8022 from yousong/automated-cherry-pick-of-#8021-upstream-release-3.4
Automated cherry pick of #8021: elasticips: fix calling FilterByOwner
2020-09-23 17:27:19 +08:00
yunion-ci-robot
b118f341bc Merge pull request #8020 from zhasm/automated-cherry-pick-of-#8019-upstream-release-3.4
Automated cherry pick of #8019: make with ARCH argument
2020-09-23 16:38:18 +08:00
Yousong Zhou
59a5e9201e elasticips: error when we have no usable eip network 2020-09-23 16:22:49 +08:00
Yousong Zhou
430e9cd0fc elasticips: fix calling FilterByOwner 2020-09-23 16:22:49 +08:00
Qiu Jian
5b6b5eeb7d fix: apigateway userinfo includes project metadata 2020-09-23 16:07:00 +08:00
Zhang Dongliang
384e866649 make with ARCH argument 2020-09-23 15:57:49 +08:00
wanyaoqi
884e82a150 support search ip 2020-09-23 14:26:43 +08:00
ioito
b3c235fe30 fix: 避免添加新账号后长时间未同步iam用户 2020-09-23 10:34:04 +08:00
ioito
686df64ea9 fix: 优化提取显示主账号名 2020-09-22 21:24:33 +08:00
yunion-ci-robot
d8fa8a49fb Merge pull request #8006 from tb365/automated-cherry-pick-of-#8003-upstream-release-3.4
Automated cherry pick of #8003: regional network filter bugfix
2020-09-22 21:18:23 +08:00
yunion-ci-robot
1afeca5687 Merge pull request #8001 from ioito/automated-cherry-pick-of-#7990-upstream-release-3.4
Automated cherry pick of #7990: fix: avoid not reture cloudprovider.ErrNotFound error
2020-09-22 21:12:18 +08:00
yunion-ci-robot
304457a3b4 Merge pull request #7999 from ioito/automated-cherry-pick-of-#7998-upstream-release-3.4
Automated cherry pick of #7998: optimized: create eip params
2020-09-22 21:10:18 +08:00
TangBin
0bba6e63f0 regional network filter bugfix 2020-09-22 20:06:48 +08:00
Qu Xuan
bb3317cc32 fix: avoid not reture cloudprovider.ErrNotFound error 2020-09-22 16:49:38 +08:00
Qu Xuan
becf92f6bf optimized: create eip params 2020-09-22 16:47:42 +08:00
yunion-ci-robot
632ab6c2f9 Merge pull request #7987 from zhaoxiangchun/automated-cherry-pick-of-#7986-upstream-release-3.4
Automated cherry pick of #7986: common alert bugfix/3.4
2020-09-22 14:40:18 +08:00
yunion-ci-robot
cb0b0bea41 Merge pull request #7992 from zhaoxiangchun/automated-cherry-pick-of-#7991-upstream-release-3.4
Automated cherry pick of #7991: bugfix: collect esxi metric timout
2020-09-22 14:16:20 +08:00
yunion-ci-robot
6f324b0ea1 Merge pull request #7997 from tb365/automated-cherry-pick-of-#7994-upstream-release-3.4
Automated cherry pick of #7994: ctyun sync secgroup fix & cloudaccount delete fix
2020-09-22 14:08:19 +08:00
TangBin
0acbfc89f3 ctyun sync secgroup fix & cloudaccount delete fix 2020-09-22 13:58:22 +08:00
zhaoxiangchun
477d36f827 common alert bugfix/3.4 2020-09-22 11:37:14 +08:00
zhaoxiangchun
caa26b7567 bugfix: collect esxi metric timout
1.增加批量获取esxi中metric的接口
2020-09-22 11:13:25 +08:00
yunion-ci-robot
d0bb0afa2d Merge pull request #7933 from swordqiu/automated-cherry-pick-of-#7916-upstream-release-3.4
Automated cherry pick of #7916: fix: keystone initialize data skip nil extra fields
2020-09-21 19:54:14 +08:00
yunion-ci-robot
cb3884b1c5 Merge pull request #7919 from swordqiu/automated-cherry-pick-of-#7918-upstream-release-3.4
Automated cherry pick of #7918: fix: lock/unlock cleanup
2020-09-21 19:48:12 +08:00
yunion-ci-robot
10524ecc9a Merge pull request #7989 from wanyaoqi/automated-cherry-pick-of-#7988-upstream-release-3.4
Automated cherry pick of #7988: fix host deployer base image
2020-09-21 18:33:16 +08:00
wanyaoqi
33fb33a589 fix host deployer base image 2020-09-21 17:55:46 +08:00
yunion-ci-robot
a4b2af90c5 Merge pull request #7981 from yousong/automated-cherry-pick-of-#7980-upstream-release-3.4
Automated cherry pick of #7980: httputils: preserve format val types
2020-09-21 16:40:17 +08:00
Yousong Zhou
3f7155c39c logger: actionlog: add GetI18N 2020-09-21 15:22:06 +08:00
Yousong Zhou
b13d0f6035 logger: actionlog: remove redundant comments 2020-09-21 15:22:06 +08:00
Yousong Zhou
62c0c11c30 db: IModel: add GetI18N() method 2020-09-21 15:22:06 +08:00
Yousong Zhou
6bff7caf9b logclient: i18n: en for const 2020-09-21 15:22:06 +08:00
Yousong Zhou
27d0452faf logclient: i18n: cn for const 2020-09-21 15:22:06 +08:00
Yousong Zhou
b1a332fec1 logclient: convert const val to use latin chars 2020-09-21 15:22:06 +08:00
Yousong Zhou
bc066edc09 logclient: move ws list to separate file 2020-09-21 15:22:06 +08:00
Yousong Zhou
0b878134b6 logclient: separate lines 2020-09-21 15:22:06 +08:00
Yousong Zhou
986031fc97 opslog: move const to separate file 2020-09-21 15:22:06 +08:00
Yousong Zhou
8164854fd0 i18n: add ITable 2020-09-21 15:22:06 +08:00
Yousong Zhou
8dc1796768 i18n: move out from httperrors pkg 2020-09-21 15:22:06 +08:00
Yousong Zhou
a54d0e5920 locales: update translation 2020-09-21 15:22:06 +08:00
Yousong Zhou
822fae0095 treewide: avoid variable fmt str 2020-09-21 15:22:06 +08:00
Yousong Zhou
23b9991a7b treewide: fmt error 2020-09-21 15:22:06 +08:00
Yousong Zhou
4fb45676a4 httputils: preserve format val types 2020-09-21 15:22:06 +08:00
yunion-ci-robot
93e5f8ec97 Merge pull request #7977 from swordqiu/automated-cherry-pick-of-#7975-upstream-release-3.4
Automated cherry pick of #7975: fix: get jnlp xml from dell idrac6,7,9
2020-09-21 10:16:12 +08:00
yunion-ci-robot
29dde04145 Merge pull request #7979 from swordqiu/automated-cherry-pick-of-#7978-upstream-release-3.4
Automated cherry pick of #7978: fix: reset user password without check
2020-09-21 10:12:17 +08:00
yunion-ci-robot
b69d04ee20 Merge pull request #7985 from swordqiu/automated-cherry-pick-of-#7984-upstream-release-3.4
Automated cherry pick of #7984: fix: scheduler token not support policy
2020-09-21 10:09:12 +08:00
yunion-ci-robot
d0af7f9b23 Merge pull request #7983 from yousong/automated-cherry-pick-of-#7982-upstream-release-3.4
Automated cherry pick of #7982: locales: update translations
2020-09-20 00:22:14 +08:00
Qiu Jian
e444ab7a15 fix: scheduler token not support policy 2020-09-19 23:47:29 +08:00
Yousong Zhou
c4f4e7d30b locales: update translations 2020-09-19 23:45:19 +08:00
Qiu Jian
5f35bba0d0 fix: reset user password without check 2020-09-19 00:51:02 +08:00
Qiu Jian
760ac9900f fix: get jnlp xml from dell idrac6,7,9 2020-09-19 00:11:02 +08:00
Zexi Li
be00107c12 Merge pull request #7969 from tb365/automated-cherry-pick-of-#7966-upstream-release-3.4
Automated cherry pick of #7966: ctyun add region cn-bj1
2020-09-18 21:05:31 +08:00
yunion-ci-robot
17cd333b64 Merge pull request #7971 from swordqiu/automated-cherry-pick-of-#7970-upstream-release-3.4
Automated cherry pick of #7970: fix: add esxicli vmrc/webmks command
2020-09-18 21:04:11 +08:00
Zexi Li
346c8ec564 Merge pull request #7974 from rainzm/automated-cherry-pick-of-#7973-upstream-release-3.4
Automated cherry pick of #7973: fix(notify): allow normal user create their receiver
2020-09-18 21:04:08 +08:00
rainzm
aecf977801 fix(notify): allow normal user create their receiver 2020-09-18 17:17:38 +08:00
yunion-ci-robot
7a044d1ac1 Merge pull request #7947 from wanyaoqi/automated-cherry-pick-of-#7927-upstream-release-3.4
Automated cherry pick of #7927: host sync storage size
2020-09-18 16:53:48 +08:00
Qiu Jian
5f9088d240 fix: add esxicli vmrc/webmks command 2020-09-18 14:41:38 +08:00
TangBin
12bd187ec9 ctyun add region cn-bj1 2020-09-18 14:26:17 +08:00
Zexi Li
c1a0b8a8b5 Merge pull request #7962 from zexi/automated-cherry-pick-of-#7961-upstream-release-3.4
Automated cherry pick of #7961: region: fix network schedtag not cleanup when network deleted
2020-09-18 12:44:58 +08:00
Zexi Li
1d7ffc704e region: fix network schedtag not cleanup when network deleted 2020-09-18 10:38:33 +08:00
Zexi Li
ebdefa1f23 Merge pull request #7960 from zexi/automated-cherry-pick-of-#7959-upstream-release-3.4
Automated cherry pick of #7959: climc: add k8s federated resource cmd
2020-09-17 15:43:37 +08:00
Zexi Li
02dc68f20d climc: add k8s federated resource cmd 2020-09-17 15:29:55 +08:00
Zexi Li
9047c8de39 Merge pull request #7956 from zexi/automated-cherry-pick-of-#7954-upstream-release-3.4
Automated cherry pick of #7954: cloudcommon: get joint model should aware fieldname
2020-09-17 10:33:57 +08:00
yunion-ci-robot
ae3073da48 Merge pull request #7942 from zhaoxiangchun/automated-cherry-pick-of-#7941-upstream-release-3.4
Automated cherry pick of #7941: suggest rule modify:
2020-09-16 21:42:20 +08:00
Zexi Li
ab2567d17d Merge pull request #7955 from wanyaoqi/automated-cherry-pick-of-#7953-upstream-release-3.4
Automated cherry pick of #7953: fix set host image cache properties
2020-09-16 21:38:16 +08:00
Zexi Li
ba03954e50 Merge pull request #7949 from wanyaoqi/automated-cherry-pick-of-#7948-upstream-release-3.4
Automated cherry pick of #7948: fix update image status after save failed
2020-09-16 21:36:15 +08:00
Zexi Li
6c6b7bb6fa Merge pull request #7913 from ioito/automated-cherry-pick-of-#7912-upstream-release-3.4
Automated cherry pick of #7912: fix: 支持自动根据云上项目修改本地项目名称
2020-09-16 21:35:01 +08:00
yunion-ci-robot
b3f62ee186 Merge pull request #7944 from lvyangyang/automated-cherry-pick-of-#7943-upstream-release-3.4
Automated cherry pick of #7943: dup record process
2020-09-16 21:04:51 +08:00
yunion-ci-robot
bc66fd558a Merge pull request #7946 from wanyaoqi/automated-cherry-pick-of-#7945-upstream-release-3.4
Automated cherry pick of #7945: scheduler: fix fillter isolated device
2020-09-16 20:58:12 +08:00
Zexi Li
4164bf58c1 cloudcommon: get joint model should aware fieldname 2020-09-16 20:52:19 +08:00
wanyaoqi
5593b88e98 fix set host image cache properties 2020-09-16 20:51:52 +08:00
wanyaoqi
785da09d62 fix update image status after save failed 2020-09-16 19:14:07 +08:00
wanyaoqi
585ef58332 host sync storage size 2020-09-16 19:02:27 +08:00
wanyaoqi
8e0f47aa0c scheduler: fix fillter isolated device 2020-09-16 18:32:05 +08:00
lvyangyang
4487867f53 dup record process 2020-09-16 18:31:12 +08:00
zhaoxiangchun
9b12c675d2 suggest rule modify:
1.规则由后端初始化,默认禁用
2.规则period默认为12h,扫描范围timeFrom默认为14d
3.增加notify相关的模版文件
4.更改消息重复发送的问题
2020-09-16 12:56:58 +08:00
Zexi Li
a2d7bd16a2 Merge pull request #7940 from zhaoxiangchun/automated-cherry-pick-of-#7938-upstream-release-3.4
Automated cherry pick of #7938: bugfix vmware monitor
2020-09-16 11:35:06 +08:00
Zexi Li
10625a4b26 Merge pull request #7936 from swordqiu/automated-cherry-pick-of-#7935-upstream-release-3.4
Automated cherry pick of #7935: fix: disable qcloud verifyAppId temporarily
2020-09-16 11:33:53 +08:00
Zexi Li
e64ac81f87 Merge pull request #7911 from rainzm/automated-cherry-pick-of-#7910-upstream-release-3.4
Automated cherry pick of #7910: Feat & Fix of Notify
2020-09-16 11:32:46 +08:00
Zexi Li
e42afce6f3 Merge pull request #7926 from ioito/automated-cherry-pick-of-#7925-upstream-release-3.4
Automated cherry pick of #7925: fix: 避免名称重复
2020-09-16 11:31:52 +08:00
Zexi Li
ad0b9e3bd3 Merge pull request #7932 from swordqiu/automated-cherry-pick-of-#7931-upstream-release-3.4
Automated cherry pick of #7931: fix: omit empty fail reason
2020-09-16 11:31:20 +08:00
yunion-ci-robot
d4e2158caf Merge pull request #7930 from swordqiu/automated-cherry-pick-of-#7929-upstream-release-3.4
Automated cherry pick of #7929: fix: enable generate name caused compability issue
2020-09-16 11:30:09 +08:00
Zexi Li
a09932d8ac Merge pull request #7922 from ioito/automated-cherry-pick-of-#7921-upstream-release-3.4
Automated cherry pick of #7921: fix: bucket object cnt fix
2020-09-16 11:30:04 +08:00
zhaoxiangchun
2a680f99a7 bugfix vmware monitor 2020-09-16 10:28:59 +08:00
Qiu Jian
7601ca437a fix: disable qcloud verifyAppId temporarily 2020-09-16 02:21:22 +08:00
Qiu Jian
967d46bbf6 fix: keystone initialize data skip nil extra fields 2020-09-16 01:59:27 +08:00
Qiu Jian
a475a7b416 fix: omit empty fail reason 2020-09-16 01:56:02 +08:00
Qiu Jian
0d798412e1 fix: enable generate name caused compability issue 2020-09-16 01:36:33 +08:00
Qu Xuan
a1ba06a927 fix: 避免名称重复 2020-09-15 19:30:24 +08:00
Qu Xuan
cc5e0cd7ca fix: bucket object cnt fix 2020-09-15 19:13:38 +08:00
Qiu Jian
ada7352469 fix: lock/unlock cleanup 2020-09-15 12:26:47 +08:00
yunion-ci-robot
ef9dac1a86 Merge pull request #7917 from zexi/automated-cherry-pick-of-#7915-upstream-release-3.4
Automated cherry pick of #7915: cloudcommon: joint model list should add field_name into query
2020-09-15 10:27:12 +08:00
yunion-ci-robot
f71d26d2b2 Merge pull request #7906 from wanyaoqi/automated-cherry-pick-of-#7905-upstream-release-3.4
Automated cherry pick of #7905: webconsole: fix defer order to release zombie process
2020-09-15 10:26:10 +08:00
Zexi Li
82e38b8f51 cloudcommon: joint model list should add field_name into query 2020-09-14 23:38:11 +08:00
Qu Xuan
5c71349fe2 fix: 支持自动根据云上项目修改本地项目名称 2020-09-14 21:13:27 +08:00
rainzm
f24950da96 feat(notify): sort the returned contact type array 2020-09-14 20:35:12 +08:00
rainzm
0308ce2882 feat: notify user when failing to change config 2020-09-14 20:35:12 +08:00
rainzm
cee07e7861 feat: add NotifyError in notifyclient
NotifyError send error message to user from userCred.
2020-09-14 20:35:12 +08:00
rainzm
8eba2c369f feat: add WithCtx version to notifyclient function 2020-09-14 20:35:12 +08:00
rainzm
5a10f9dd9c 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 20:35:12 +08:00
rainzm
c542249c7c feat(region): replace 虚拟机 with 主机 or 云主机 2020-09-14 20:35:12 +08:00
wanyaoqi
fa2d8723a6 webconsole: fix defer order to release zombie process 2020-09-14 18:20:47 +08:00
Zexi Li
523b0d132f Merge pull request #7903 from rainzm/automated-cherry-pick-of-#7902-upstream-release-3.4
Automated cherry pick of #7902: fix(esxi): return when host.Vm is empty
2020-09-14 16:28:08 +08:00
rainzm
6bfca36cb7 fix(esxi): return when host.Vm is empty 2020-09-14 16:26:34 +08:00
yunion-ci-robot
e41c29e6d0 Merge pull request #7900 from ioito/automated-cherry-pick-of-#7899-upstream-release-3.4
Automated cherry pick of #7899: fix: cos use proxy
2020-09-14 14:03:14 +08:00
Zexi Li
6010b253f2 Merge pull request #7896 from wanyaoqi/automated-cherry-pick-of-#7895-upstream-release-3.4
Automated cherry pick of #7895: disk: check disk is need renew on guest set renew
2020-09-14 13:02:07 +08:00
Qu Xuan
0a5ee4ca67 fix: cos use proxy 2020-09-14 13:01:07 +08:00
wanyaoqi
77f479ce60 disk: check disk is need renew on guest set renew 2020-09-14 12:07:48 +08:00
yunion-ci-robot
f8b7d96c62 Merge pull request #7894 from swordqiu/automated-cherry-pick-of-#7893-upstream-release-3.4
Automated cherry pick of #7893: fix: check host sharing status when considering whether a host is assignable
2020-09-12 23:58:08 +08:00
yunion-ci-robot
fda5c3aaa5 Merge pull request #7891 from swordqiu/automated-cherry-pick-of-#7890-upstream-release-3.4
Automated cherry pick of #7890: fix: disable webkms for esxi older than 6.5
2020-09-12 23:55:21 +08:00
yunion-ci-robot
0e88ac81c3 Merge pull request #7888 from yousong/automated-cherry-pick-of-#7887-upstream-release-3.4
Automated cherry pick of #7887: elasticips: filter by owner when doing auto allocation
2020-09-12 23:54:09 +08:00
Qiu Jian
6b5339900b fix: check host sharing status when considering whether a host is assignable 2020-09-12 20:52:09 +08:00
yunion-ci-robot
60b1eddfd8 Merge pull request #7886 from zexi/automated-cherry-pick-of-#7885-upstream-release-3.4
Automated cherry pick of #7885: scheduler: ignore network type when specified
2020-09-12 17:34:08 +08:00
Qiu Jian
7cf5ad9133 fix: disable webkms for esxi older than 6.5 2020-09-12 17:29:50 +08:00
Yousong Zhou
8a0f940b38 elasticips: filter by owner when doing auto allocation 2020-09-12 17:14:41 +08:00
Zexi Li
a1c7a291d5 scheduler: ignore network type when specified 2020-09-12 15:59:17 +08:00
Zexi Li
891b7223f1 Merge pull request #7884 from rainzm/automated-cherry-pick-of-#7883-upstream-release-3.4
Automated cherry pick of #7883: feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log
2020-09-11 21:06:38 +08:00
yunion-ci-robot
9ef5a43513 Merge pull request #7877 from ioito/automated-cherry-pick-of-#7876-upstream-release-3.4
Automated cherry pick of #7876: fix: 默认不自动合并安全组
2020-09-11 21:05:58 +08:00
Zexi Li
490a0a7fe5 Merge pull request #7880 from ioito/automated-cherry-pick-of-#7879-upstream-release-3.4
Automated cherry pick of #7879: fix: avoid sync natgateway eip panic
2020-09-11 21:03:40 +08:00
Zexi Li
06c27791bb Merge pull request #7871 from rainzm/automated-cherry-pick-of-#7870-upstream-release-3.4
Automated cherry pick of #7870: fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:33 +08:00
Zexi Li
690c3b23a4 Merge pull request #7863 from wanyaoqi/automated-cherry-pick-of-#7836-upstream-release-3.4
Automated cherry pick of #7836: host: fix rbd storage cache iso image
2020-09-11 20:54:17 +08:00
Zexi Li
6bc6309253 Merge pull request #7868 from ioito/automated-cherry-pick-of-#7862-upstream-release-3.4
Automated cherry pick of #7862: fix: add dns recordset dns value check
2020-09-11 20:53:28 +08:00
rainzm
7b67554dcc feat(region): change fomat 'id' to 'name(id)' in scheduledtasks' log 2020-09-11 20:37:54 +08:00
Qu Xuan
ce777855a2 fix: 默认不自动合并安全组 2020-09-11 19:23:15 +08:00
Qu Xuan
9607420298 fix: avoid sync natgateway eip panic 2020-09-11 19:17:25 +08:00
rainzm
4e7e8a59dc fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:19:46 +08:00
Qu Xuan
2e93ee3d6d fix: add dns recordset dns value check 2020-09-11 14:26:01 +08:00
wanyaoqi
6a7cf0608d host: fix rbd storage cache iso image 2020-09-10 23:13:58 +08:00
yunion-ci-robot
5f7734b0c3 Merge pull request #7860 from ioito/automated-cherry-pick-of-#7859-upstream-release-3.4
Automated cherry pick of #7859: fix: 平滑迁移数据
2020-09-10 21:42:53 +08:00
yunion-ci-robot
413ba9ddd4 Merge pull request #7858 from lvyangyang/automated-cherry-pick-of-#7762-upstream-release-3.4
Automated cherry pick of #7762: dns access
2020-09-10 21:37:56 +08:00
yunion-ci-robot
0048507211 Merge pull request #7856 from ioito/automated-cherry-pick-of-#7855-upstream-release-3.4
Automated cherry pick of #7855: fix: optimized qcloud keypair
2020-09-10 21:34:33 +08:00
Qu Xuan
d6d490af6c fix: 平滑迁移数据 2020-09-10 17:39:40 +08:00
lvyangyang
70297e3130 dns access 2020-09-10 17:33:17 +08:00
Qu Xuan
5576819f01 fix: 腾讯云不支持同时设置秘钥和密码,若设置秘钥,则将密码置空 2020-09-10 17:25:32 +08:00
Qu Xuan
dc20313ef5 fix: optimized qcloud keypair 2020-09-10 17:25:32 +08:00
yunion-ci-robot
fb7b5d5a95 Merge pull request #7854 from rainzm/automated-cherry-pick-of-#7832-upstream-release-3.4
Automated cherry pick of #7832: refactor(region): optimize preparenet of cloudaccount
2020-09-10 16:04:55 +08:00
rainzm
3f77c01e6b refactor(region): optimize preparenet of cloudaccount
1. 从vcenter中获取host和vm的信息时,只需要获取网络相关的字段就可以了。
2. 每个host的vms,单独启用一个goroutine。
3. 优化了处理vms ip的逻辑,现在的时间复杂度是O(n)。
2020-09-10 15:41:13 +08:00
yunion-ci-robot
5ec2490be5 Merge pull request #7853 from rainzm/automated-cherry-pick-of-#7852-upstream-release-3.4
Automated cherry pick of #7852: fix(notify): pull contact for workwx, dingtalk and feishu
2020-09-10 15:18:01 +08:00
rainzm
dba92d4b0b fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:41:27 +08:00
yunion-ci-robot
6f77c22573 Merge pull request #7835 from ioito/automated-cherry-pick-of-#7834-upstream-release-3.4
Automated cherry pick of #7834: fix: uniform cachedimage active status
2020-09-10 14:36:02 +08:00
yunion-ci-robot
f653b36733 Merge pull request #7851 from ioito/automated-cherry-pick-of-#7837-upstream-release-3.4
Automated cherry pick of #7837: fix: optimzed clouduser password
2020-09-10 14:33:55 +08:00
Qu Xuan
aa26c6ec99 fix: optimzed clouduser password 2020-09-10 10:24:21 +08:00
yunion-ci-robot
0e0df0999b Merge pull request #7844 from ioito/automated-cherry-pick-of-#7843-upstream-release-3.4
Automated cherry pick of #7843: fix: optimzed clouduser
2020-09-10 09:49:23 +08:00
yunion-ci-robot
5f0b86950b Merge pull request #7842 from ioito/automated-cherry-pick-of-#7841-upstream-release-3.4
Automated cherry pick of #7841: fix: avoid create public zone failed
2020-09-10 09:47:56 +08:00
yunion-ci-robot
d1660c83a9 Merge pull request #7839 from swordqiu/automated-cherry-pick-of-#7831-upstream-release-3.4
Automated cherry pick of #7831: fix: recode project-role rpc handle to support group role assignment results by user or project
2020-09-10 09:46:54 +08:00
yunion-ci-robot
f302756eda Merge pull request #7840 from zhaoxiangchun/automated-cherry-pick-of-#7838-upstream-release-3.4
Automated cherry pick of #7838: commonalert bugfix:
2020-09-10 09:44:53 +08:00
yunion-ci-robot
90185c0074 Merge pull request #7846 from rainzm/automated-cherry-pick-of-#7845-upstream-release-3.4
Automated cherry pick of #7845: Feat & Fix & Refactor for ESXi
2020-09-10 09:41:58 +08:00
rainzm
55b2b29001 fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:53:51 +08:00
rainzm
ac69f8a590 fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:53:51 +08:00
rainzm
42faf34f15 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:53:51 +08:00
rainzm
3f8f9e6c56 feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:53:51 +08:00
rainzm
6b340264e4 feat(esxi): support fetchVM form datacenter 2020-09-09 21:53:51 +08:00
rainzm
ef8768fcef refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 21:53:51 +08:00
Qu Xuan
9281c54294 fix: optimzed clouduser 2020-09-09 20:12:40 +08:00
Qu Xuan
2ad1a4afe5 fix: avoid create public zone failed 2020-09-09 19:54:45 +08:00
zhaoxiangchun
1a323667ad commonalet bugfix:
1.报警接受人通知渠道调整:由notify中解释发送到对应的channel
2.报警恢复增加对应的evalmatch,保存对应的metricvalue
3.报警记录中增加description相关信息
4.其他代码调整
2020-09-09 18:32:56 +08:00
Qiu Jian
0268d95853 fix: recode project-role rpc handle to support group role assignment results by user or project 2020-09-09 18:19:36 +08:00
Qu Xuan
025eca548f fix: uniform cachedimage active status 2020-09-09 15:21:43 +08:00
yunion-ci-robot
4cea5a1c9f Merge pull request #7829 from swordqiu/automated-cherry-pick-of-#7828-upstream-release-3.4
Automated cherry pick of #7828: fix: wire usage stats incorrect
2020-09-08 20:28:56 +08:00
yunion-ci-robot
cb1c8d7961 Merge pull request #7827 from swordqiu/automated-cherry-pick-of-#7820-upstream-release-3.4
Automated cherry pick of #7820: fix: ignore 409 error when doing redfish power on
2020-09-08 20:26:52 +08:00
yunion-ci-robot
408f975f40 Merge pull request #7822 from rainzm/automated-cherry-pick-of-#7821-upstream-release-3.4
Automated cherry pick of #7821: fix(esxiagent): return image extid not id
2020-09-08 20:23:55 +08:00
Qiu Jian
621c2796d6 fix: wire usage stats incorrect 2020-09-08 16:41:48 +08:00
Qiu Jian
d10adf22d7 fix: ignore 409 error when doing redfish power on 2020-09-08 15:34:59 +08:00
rainzm
3ef91f92e5 fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:33:18 +08:00
yunion-ci-robot
e75e5a9b95 Merge pull request #7803 from rainzm/automated-cherry-pick-of-#7802-upstream-release-3.4
Automated cherry pick of #7802: Optimization of the scheduler
2020-09-08 14:59:53 +08:00
rainzm
348ca46a08 fix(scheduler): more standardized testing 2020-09-08 14:28:09 +08:00
rainzm
6000874b3c refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:28:09 +08:00
rainzm
89980b6267 Add mock test for genericScheudler.Schedule 2020-09-08 14:28:09 +08:00
rainzm
d086161a68 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-08 14:28:09 +08:00
rainzm
39fed764fe 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-08 14:28:09 +08:00
yunion-ci-robot
426699ada9 Merge pull request #7819 from wanyaoqi/automated-cherry-pick-of-#7810-upstream-release-3.4
Automated cherry pick of #7810: fix host error output
2020-09-08 10:03:18 +08:00
yunion-ci-robot
82d297eb77 Merge pull request #7809 from swordqiu/automated-cherry-pick-of-#7808-upstream-release-3.4
Automated cherry pick of #7808: fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot
92ecdb5f8d Merge pull request #7818 from wanyaoqi/automated-cherry-pick-of-#7817-upstream-release-3.4
Automated cherry pick of #7817: isolated devices info reenterable
2020-09-08 09:59:54 +08:00
wanyaoqi
ada6c870d8 fix host error output 2020-09-07 21:08:13 +08:00
yunion-ci-robot
86dd4804a3 Merge pull request #7816 from rainzm/automated-cherry-pick-of-#7807-upstream-release-3.4
Automated cherry pick of #7807: fix(notify): break down permissions of notifyconfigs
2020-09-07 21:06:03 +08:00
yunion-ci-robot
cecaa127ea Merge pull request #7805 from yousong/automated-cherry-pick-of-#7804-upstream-release-3.4
Automated cherry pick of #7804: vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot
4d68b5fb61 Merge pull request #7797 from ioito/automated-cherry-pick-of-#7796-upstream-release-3.4
Automated cherry pick of #7796: fix: sync groups for user
2020-09-07 21:03:50 +08:00
yunion-ci-robot
8a329b2b29 Merge pull request #7790 from wanyaoqi/automated-cherry-pick-of-#7789-upstream-release-3.4
Automated cherry pick of #7789: fix get ubuntu version
2020-09-07 21:01:53 +08:00
yunion-ci-robot
c50659a1e4 Merge pull request #7815 from yousong/automated-cherry-pick-of-#7814-upstream-release-3.4
Automated cherry pick of #7814: httperrors: add Error type
2020-09-07 20:59:46 +08:00
yunion-ci-robot
a30df54cb9 Merge pull request #7799 from wanyaoqi/automated-cherry-pick-of-#7798-upstream-release-3.4
Automated cherry pick of #7798: guest short desc add backup host id
2020-09-07 20:57:45 +08:00
yunion-ci-robot
b192e949de Merge pull request #7813 from swordqiu/automated-cherry-pick-of-#7811-upstream-release-3.4
Automated cherry pick of #7811: fix: prevent users in disabled idp from login
2020-09-07 20:55:43 +08:00
yunion-ci-robot
a33a21f712 Merge pull request #7794 from ioito/automated-cherry-pick-of-#7793-upstream-release-3.4
Automated cherry pick of #7793: fix: aliyun wulanchabu region
2020-09-07 20:55:14 +08:00
wanyaoqi
78f9db1ba0 isolated devices info reenterable 2020-09-07 20:46:26 +08:00
rainzm
72276d038d 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:56:59 +08:00
Yousong Zhou
f1995a46d8 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:53:07 +08:00
Yousong Zhou
918dce80e8 httperrors: HTTPError: use Error type 2020-09-07 18:53:07 +08:00
Yousong Zhou
12899ab007 httperrors: add Error type 2020-09-07 18:53:07 +08:00
Qiu Jian
e758c4aa97 fix: prevent users in disabled idp from login 2020-09-07 18:25:39 +08:00
Qiu Jian
623c71b143 fix: check assign-host previliges 2020-09-07 18:15:03 +08:00
Yousong Zhou
f0faf07b61 vpcagent: guard against foul eip records 2020-09-07 17:27:12 +08:00
wanyaoqi
8c4941ea70 guest short desc add backup host id 2020-09-07 17:05:34 +08:00
Qu Xuan
4cd73c16ca fix: sync groups for user 2020-09-07 16:35:47 +08:00
Qu Xuan
0a79d1d23e fix: aliyun wulanchabu region 2020-09-07 16:10:37 +08:00
wanyaoqi
d22676906c fix get ubuntu version 2020-09-07 15:40:33 +08:00
yunion-ci-robot
74b3bf2c6a Merge pull request #7787 from rainzm/automated-cherry-pick-of-#7786-upstream-release-3.4
Automated cherry pick of #7786: fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:43 +08:00
yunion-ci-robot
c94a90398e Merge pull request #7783 from rainzm/automated-cherry-pick-of-#7782-upstream-release-3.4
Automated cherry pick of #7782: fix(notify): Replace String() with GetString()
2020-09-07 15:28:41 +08:00
yunion-ci-robot
b57bbc66c7 Merge pull request #7781 from swordqiu/automated-cherry-pick-of-#7780-upstream-release-3.4
Automated cherry pick of #7780: fix: user idps attributes includes template name
2020-09-07 15:24:41 +08:00
rainzm
4f9c37239e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:18:51 +08:00
rainzm
8524fda7f8 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:10:54 +08:00
Qiu Jian
bfa4ce38e0 fix: user idps attributes includes template name 2020-09-07 13:01:23 +08:00
yunion-ci-robot
70d790187e Merge pull request #7778 from ioito/automated-cherry-pick-of-#7729-upstream-release-3.4
Automated cherry pick of #7729: optimized cachedimages sync
2020-09-07 11:08:42 +08:00
Qu Xuan
7095ea8f8b optimized cachedimages sync 2020-09-07 10:16:33 +08:00
yunion-ci-robot
4edff8ae34 Merge pull request #7770 from swordqiu/automated-cherry-pick-of-#7769-upstream-release-3.4
Automated cherry pick of #7769: fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot
fd750e0a9c Merge pull request #7773 from swordqiu/automated-cherry-pick-of-#7772-upstream-release-3.4
Automated cherry pick of #7772: fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:48:43 +08:00
Zexi Li
f0ae739747 Merge pull request #7777 from zexi/automated-cherry-pick-of-#7776-upstream-release-3.4
Automated cherry pick of #7776: climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:48 +08:00
Zexi Li
7f5124bdf2 climc: k8s cluster grafana componet support subpath 2020-09-05 14:47:04 +08:00
Qiu Jian
c5c2b4b699 fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:30:07 +08:00
Qiu Jian
29edf83293 fix: network address list respect privilige of user 2020-09-05 12:01:01 +08:00
yunion-ci-robot
1c3bbb70a3 Merge pull request #7768 from ioito/automated-cherry-pick-of-#7767-upstream-release-3.4
Automated cherry pick of #7767: fix: cloudid optimized
2020-09-05 10:32:46 +08:00
Qu Xuan
390d6f07e1 fix: cloudid optimized 2020-09-04 20:23:18 +08:00
yunion-ci-robot
41e2757973 Merge pull request #7766 from tb365/automated-cherry-pick-of-#7764-upstream-release-3.4
Automated cherry pick of #7764: pex register add optional column mac_access
2020-09-04 20:15:41 +08:00
yunion-ci-robot
a7160e7518 Merge pull request #7763 from ioito/automated-cherry-pick-of-#7739-upstream-release-3.4
Automated cherry pick of #7739: fix: valid update name and update dns recordset
2020-09-04 20:14:14 +08:00
yunion-ci-robot
01f07c6044 Merge pull request #7761 from swordqiu/automated-cherry-pick-of-#7760-upstream-release-3.4
Automated cherry pick of #7760: fix: scheduler aware policy
2020-09-04 16:20:40 +08:00
TangBin
24af17757d pex register add optional column mac_access 2020-09-04 15:57:38 +08:00
Qu Xuan
b4252c7c25 fix: valid update name and update dns recordset 2020-09-04 14:10:14 +08:00
Qiu Jian
4853883947 fix: scheduler aware policy 2020-09-04 11:10:36 +08:00
Zexi Li
82795f2daf Merge pull request #7752 from ioito/automated-cherry-pick-of-#7751-upstream-release-3.4
Automated cherry pick of #7751: fix: optimized cloudid
2020-09-04 10:33:20 +08:00
Zexi Li
cf056fe42a Merge pull request #7750 from rainzm/automated-cherry-pick-of-#7748-upstream-release-3.4
Automated cherry pick of #7748: feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:32 +08:00
Zexi Li
1aa16871eb Merge pull request #7755 from swordqiu/automated-cherry-pick-of-#7740-upstream-release-3.4
Automated cherry pick of #7740: fix: find correct esxi host access ip
2020-09-04 10:31:54 +08:00
Zexi Li
4dfd459b14 Merge pull request #7758 from swordqiu/automated-cherry-pick-of-#7757-upstream-release-3.4
Automated cherry pick of #7757: fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:17 +08:00
Zexi Li
3d1bce5f51 Merge pull request #7754 from swordqiu/automated-cherry-pick-of-#7753-upstream-release-3.4
Automated cherry pick of #7753: fix: remove redundant auth cookie in sso login
2020-09-04 10:30:47 +08:00
Zexi Li
5ff14eb618 Merge pull request #7745 from wanyaoqi/automated-cherry-pick-of-#7744-upstream-release-3.4
Automated cherry pick of #7744: glance: check min disk size on update
2020-09-04 10:29:49 +08:00
Zexi Li
57c0706d9e Merge pull request #7742 from swordqiu/automated-cherry-pick-of-#7741-upstream-release-3.4
Automated cherry pick of #7741: fix: search by chs projectname or domainname
2020-09-04 10:29:00 +08:00
Zexi Li
4dfa6f8b19 Merge pull request #7736 from rainzm/automated-cherry-pick-of-#7735-upstream-release-3.4
Automated cherry pick of #7735: fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:46 +08:00
Qiu Jian
0619da6f14 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:15:14 +08:00
yunion-ci-robot
f62912dd5b Merge pull request #7734 from rainzm/automated-cherry-pick-of-#7733-upstream-release-3.4
Automated cherry pick of #7733: Feature & Fix for Notify
2020-09-04 00:03:42 +08:00
Qiu Jian
29a3db9ff6 fix: find correct esxi host access ip 2020-09-03 23:56:30 +08:00
Qiu Jian
c50497090e fix: remove redundant auth cookie in sso login 2020-09-03 23:54:15 +08:00
yunion-ci-robot
47f5f9edc1 Merge pull request #7731 from swordqiu/automated-cherry-pick-of-#7730-upstream-release-3.4
Automated cherry pick of #7730: fix: compatiblity fixes with lenovo RD620 and huawei 2288 fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-03 21:54:51 +08:00
rainzm
ff52e00448 feat(notify): Allow use topic to filter notification 2020-09-03 21:25:05 +08:00
rainzm
7c6e053a08 feat(notify): Add TNotifyChannel const of robot 2020-09-03 21:25:05 +08:00
rainzm
8c6fdd1106 feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 21:25:05 +08:00
rainzm
beee6e2c9f feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 21:25:04 +08:00
rainzm
60412cf7e8 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 21:25:04 +08:00
rainzm
90b84e995b feat(notify): break down error from UseridByMobile 2020-09-03 21:25:04 +08:00
rainzm
851b2d4bb7 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 21:25:04 +08:00
rainzm
ab02e166e9 fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 21:25:04 +08:00
rainzm
10caff1d9c 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 21:25:04 +08:00
rainzm
82b7e659ad fix(notify): Allow user list receivers 2020-09-03 21:25:04 +08:00
rainzm
9e1a7c5e12 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 21:25:04 +08:00
Qu Xuan
5cc25ae10a fix: optimzed sync 2020-09-03 21:18:30 +08:00
Qu Xuan
cfd76b23a3 fix: optimized cloudid 2020-09-03 21:18:30 +08:00
rainzm
65ca3ace74 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:35:32 +08:00
wanyaoqi
00265fedda glance: check min disk size on update 2020-09-03 20:00:45 +08:00
Qiu Jian
976dbd7796 fix: search by chs projectname or domainname 2020-09-03 18:38:48 +08:00
rainzm
c050629ba2 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:24:03 +08:00
Qiu Jian
949e2ebed9 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:50:00 +08:00
yunion-ci-robot
dc19a10323 Merge pull request #7728 from tb365/automated-cherry-pick-of-#7725-upstream-release-3.4
Automated cherry pick of #7725: create classic vpc fix
2020-09-03 10:32:41 +08:00
TangBin
612ad9286b create classic vpc fix 2020-09-02 18:26:16 +08:00
yunion-ci-robot
32bc9b45a1 Merge pull request #7721 from ioito/automated-cherry-pick-of-#7587-upstream-release-3.4
Automated cherry pick of #7587: feature: add dns interface
2020-09-02 18:00:06 +08:00
Qu Xuan
03456eaaa9 fix: avoid nil panic 2020-09-02 17:27:24 +08:00
Qu Xuan
d03fddcd7d fix: avoid policy value not save 2020-09-02 17:27:24 +08:00
Qu Xuan
893085a2c6 fix: climc params 2020-09-02 17:27:24 +08:00
Qu Xuan
a85a1aecd4 feature: add dns interface 2020-09-02 17:27:24 +08:00
yunion-ci-robot
c3d7168622 Merge pull request #7717 from zhaoxiangchun/automated-cherry-pick-of-#7716-upstream-release-3.4
Automated cherry pick of #7716: alert record bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
06c0ada74c Merge pull request #7719 from wanyaoqi/automated-cherry-pick-of-#7718-upstream-release-3.4
Automated cherry pick of #7718: vmware disk support deploy lvm partition
2020-09-02 16:31:45 +08:00
yunion-ci-robot
6e5f5b2ea3 Merge pull request #7723 from wanyaoqi/automated-cherry-pick-of-#7722-upstream-release-3.4
Automated cherry pick of #7722: update host status to unknown on host offline
2020-09-02 16:28:40 +08:00
Rain Zheng
eb9d794fab Automated cherry pick of #7714: Feature & Fix for Notify (#7715)
* 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:38 +08:00
wanyaoqi
20b949091e update host status to unknown on host offline 2020-09-02 13:09:24 +08:00
wanyaoqi
43ce3b5455 vmware disk support deploy lvm partition 2020-09-01 21:15:22 +08:00
zhaoxiangchun
d95e64e593 listfilter by alert_id 2020-09-01 20:47:18 +08:00
zhaoxiangchun
06bd735f0b alert record bugfix
1.return details fix
2020-09-01 20:47:18 +08:00
wanyaoqi
607e3d8fdc hostinfo: try create network add is_on_premise (#7707) 2020-09-01 20:10:37 +08:00
屈轩
800dd26c60 fix: add details for account delete (#7703)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:09:47 +08:00
Yousong Zhou
77a5c1ff85 Automated cherry pick of #7712: httperrors: support setting lang with X-Yunion-Lang (#7713)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:52:38 +08:00
Yousong Zhou
bde5e1b96a httperrors: use existing details if id is not present (#7711) 2020-09-01 18:32:37 +08:00
Zexi Li
82942006b6 Merge pull request #7665 from ioito/automated-cherry-pick-of-#7664-upstream-release-3.4
Automated cherry pick of #7664: fix: avoid delete aws iam user failed
2020-09-01 12:19:25 +08:00
Jian Qiu
836151eee3 fix: vmware esxi host detects vnic portgroup info (#7660)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:51:41 +08:00
Jian Qiu
0566e1dec7 fix: apigateway user info add is_local attribtue (#7695)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:49:36 +08:00
Rain Zheng
b03c8ce506 Automated cherry pick of #7692: feat(notify): Support update for notify config (#7693)
* 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:48:37 +08:00
Rain Zheng
c914dafa75 Automated cherry pick of #7661: fix(host-deployer): Exit correctly after mounting (#7672)
* 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
6c30c1c789 Merge pull request #7681 from wanyaoqi/automated-cherry-pick-of-#7680-upstream-release-3.4
Automated cherry pick of #7680: snapshot list by guest
2020-09-01 10:47:14 +08:00
Zexi Li
adf8885a7a Merge pull request #7671 from zhaoxiangchun/automated-cherry-pick-of-#7667-upstream-release-3.4
Automated cherry pick of #7667: monitor commonalert bugfix
2020-09-01 10:46:24 +08:00
Jian Qiu
cca2267389 fix: server purge may fail (#7698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:33:06 +08:00
Jian Qiu
538bc873a0 fix: http error limit request body length fix: http error limit request body length (#7700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:18:36 +08:00
屈轩
9812864bce fix: 不限制openstack系统盘类型 (#7675)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 01:24:36 +08:00
wanyaoqi
4af4bcb963 fix host get guests (#7683) 2020-09-01 01:14:09 +08:00
wanyaoqi
b85fb98297 fix get storage capacity on init' (#7687) 2020-09-01 01:03:37 +08:00
Yousong Zhou
19ba4b9755 vpcagent: respect guest src check settings (#7678)
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:39:37 +08:00
wanyaoqi
438c1ced5f snapshot list by guest 2020-08-31 15:27:27 +08:00
zhaoxiangchun
be5bf11ebe commonalert bugfix 2020-08-31 10:28:23 +08:00
zhaoxiangchun
6cea2883ab 统一监控查询面板保存 2020-08-31 10:28:23 +08:00
Jian Qiu
5647a6842d fix: cleanup logic for nics of pending_deleted guests (#7669)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:33:35 +08:00
Zexi Li
fba76c6392 Merge pull request #7663 from wanyaoqi/automated-cherry-pick-of-#7662-upstream-release-3.4
Automated cherry pick of #7662: update host deployer base image version
2020-08-28 20:36:42 +08:00
Qu Xuan
6ed3a48333 fix: avoid delete aws iam user failed 2020-08-28 20:24:53 +08:00
wanyaoqi
53a6c40a8a update host deployer base image version 2020-08-28 20:19:15 +08:00
wanyaoqi
eee193165e baremetal colloct isolated devices info (#7658) 2020-08-28 12:10:34 +08:00
Zexi Li
5987b56297 Merge pull request #7652 from tb365/automated-cherry-pick-of-#7650-upstream-release-3.4
Automated cherry pick of #7650: eip & vpc manager match fix
2020-08-28 12:09:20 +08:00
wanyaoqi
8e83ab4768 fix mount fetcher fs (#7657) 2020-08-28 12:08:35 +08:00
wanyaoqi
b977641336 remove backup metadata on delete backup (#7654) 2020-08-28 12:01:37 +08:00
TangBin
132c583790 eip & vpc manager match fix 2020-08-28 10:20:24 +08:00
wanyaoqi
557240155d fix build baremetal agent image (#7647) 2020-08-27 11:02:34 +08:00
屈轩
3243e5a035 fix: aovid truncated data (#7644)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:45:34 +08:00
Jian Qiu
e3fe66e8eb fix: add keystone sync user debug info (#7639)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:37 +08:00
Jian Qiu
de80f17053 fix: turn off some default project policies (#7637)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:35 +08:00
屈轩
aef249ea8e fix: avoid openstack image-list failed (#7641)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:33 +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
Zexi Li
c991cdc76a Merge pull request #6823 from zhaoxiangchun/feature/zxc-unified-monitor
统一报警模块
2020-06-21 13:10:13 +08:00
Zexi Li
494893d717 Merge pull request #6001 from ioito/feature/qx-cloudid
Feature/qx cloudid
2020-06-21 13:09:48 +08:00
zhaoxiangchun
f20a87a5db Modify alert structure and inherit scoperesource 2020-06-21 12:18:22 +08:00
zhaoxiangchun
6c66185bd8 统一报警模块 2020-06-21 11:39:23 +08:00
Qu Xuan
a07b112be1 feature: CloudId服务支持 2020-06-21 11:30:01 +08:00
Zexi Li
b426505662 Merge pull request #6880 from swordqiu/feature/qj-allow-enabled-idp-synced-users
feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default
2020-06-21 11:24:03 +08:00
Zexi Li
83d906fae5 Merge pull request #6891 from yousong/bugfix/yousong-vpc-acl
vpcagent: different direction for l3 and l4 match
2020-06-21 11:23:44 +08:00
Zexi Li
ba8f52cfe2 Merge pull request #6864 from yousong/bugfix/yousong-lb-redirect
Bugfix/yousong lb redirect
2020-06-21 11:23:22 +08:00
yunion-ci-robot
32c34d2681 Merge pull request #6892 from zexi/hotfix/ignore-etcd-not-found-error
ignore common etcd endpoint not found error
2020-06-21 11:20:38 +08:00
Zexi Li
e9da1022b9 ignore common etcd endpoint not found error 2020-06-21 10:47:00 +08:00
yunion-ci-robot
fc8be0bb93 Merge pull request #6890 from wanyaoqi/feature/wyq/filter-by-cloudaccounts
feature: support filter by cloudaccounts
2020-06-20 23:56:23 +08:00
Yousong Zhou
97251c7cc9 vpcagent: different direction for l3 and l4 match 2020-06-19 19:42:58 +08:00
wanyaoqi
561d7b0cca support filter by cloudaccounts 2020-06-19 19:01:24 +08:00
Zexi Li
183180e178 Merge pull request #6879 from zexi/feature/lzx-suggest-refactor
monitor: refactor suggest code
2020-06-19 11:45:07 +08:00
yunion-ci-robot
2b18251a85 Merge pull request #6878 from yousong/bugfix/yousong-informer
opslog: LogEvent: set model manager
2020-06-19 10:23:23 +08:00
Zexi Li
995e5859ef monitor: refactor suggest code 2020-06-19 10:21:12 +08:00
Yousong Zhou
0038848609 mcclient: lb: allow empty string as arg for --redirect-{scheme,host,path} 2020-06-19 10:17:04 +08:00
Yousong Zhou
3fe10a7383 lb: onecloud: allow empty string for redirect_{scheme,host,path} 2020-06-19 10:17:04 +08:00
yunion-ci-robot
76014fbd7b Merge pull request #6865 from zexi/hotfix/disable-inform-not-init
informer: do not inform if backend not init
2020-06-19 10:08:20 +08:00
Yousong Zhou
4ce404dd8d vendor: update yunion.io/x/structarg 2020-06-19 10:06:58 +08:00
yunion-ci-robot
f08a9d748d Merge pull request #6883 from swordqiu/hotfix/qj-system-create-network-private
fix: network created by sysadmin should be shared by default
2020-06-19 09:50:14 +08:00
yunion-ci-robot
ca031b5913 Merge pull request #6885 from swordqiu/hotfix/qj-sync-disconnected-account
fix: wrong cloud provider status when sync disconnected cloud account
2020-06-19 09:49:08 +08:00
Qiu Jian
1d9a3f2731 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:17:34 +08:00
yunion-ci-robot
f4faaa37e6 Merge pull request #6859 from yousong/bugfix/yousong-cloudaccount-sync
cloudaccounts: one sync task in queue per cloudaccount
2020-06-18 23:06:03 +08:00
yunion-ci-robot
21e4ca3852 Merge pull request #6881 from wanyaoqi/bugfix/wyq/fix-reserved-ip-export-keys
bugfix: fix reserved ip export keys
2020-06-18 22:51:04 +08:00
Qiu Jian
5c53ccc3d8 fix: network created by sysadmin should be shared by default 2020-06-18 22:39:28 +08:00
wanyaoqi
6af753c819 fix reserved ip export keys 2020-06-18 21:44:30 +08:00
Qiu Jian
2cf49c37dc feature: 1. allow enable/disable idp-synced-users 2. turn off user's MFA by default 2020-06-18 20:22:47 +08:00
yunion-ci-robot
08154fd0b0 Merge pull request #6869 from rainzm/notify/email_fix
Notify/email fix
2020-06-18 20:13:02 +08:00
Yousong Zhou
4bbf7c0484 opslog: remove unneeded nil check 2020-06-18 19:18:48 +08:00
Yousong Zhou
50449ca014 opslog: group literal fields 2020-06-18 19:17:28 +08:00
Yousong Zhou
fbc48c792b opslog: readability change 2020-06-18 19:12:48 +08:00
Yousong Zhou
be46546ba5 opslog: LogEvent: set model manager
Fix informer warning "object xx virtual object is nil"
2020-06-18 19:10:31 +08:00
Zexi Li
cb51df9491 Merge pull request #6871 from ioito/hotfix/qx-rds-sync-remove
fix: 避免同步删除失败
2020-06-18 19:05:26 +08:00
rainzm
109bdc05d8 fix: Fix problems about sending verify email 2020-06-18 19:03:13 +08:00
Yousong Zhou
8f5c65b923 cloudaccounts: one sync task in queue per cloudaccount 2020-06-18 17:11:36 +08:00
yunion-ci-robot
acbafe5a1c Merge pull request #6875 from tb365/bugfix/tb-err-not-found-fix
replace err with errors.cause
2020-06-18 15:13:07 +08:00
tangbin
6b8e37c88f replace err with errors.cause 2020-06-18 14:26:55 +08:00
Qu Xuan
3c75119c50 fix: 避免同步删除失败 2020-06-18 14:25:36 +08:00
rainzm
8ed4148fbb fix: Fix the url of 'notify-template-delete' in climc 2020-06-18 11:38:52 +08:00
Zexi Li
7c61e9662e informer: do not inform if backend not init 2020-06-18 11:08:26 +08:00
Zexi Li
eb5e902257 Merge pull request #6854 from tb365/bugfix/tb-bugfix-0617
rds postpaid instance create fix
2020-06-17 18:51:41 +08:00
Zexi Li
e751b1d4d2 Merge pull request #6861 from tb365/bugfix/tb-bugfix-ctyun-0607
shuzhou to suzhou
2020-06-17 18:50:44 +08:00
Zexi Li
4eee2e54ad Merge pull request #6839 from zexi/hotfix/scheduler-overcommit
scheduler: fix memory over committed
2020-06-17 18:49:08 +08:00
Zexi Li
0876ac9a22 Merge pull request #6838 from wanyaoqi/feature/wyq/configureable-reload-telegraf-config
host: configureable reload telegraf config
2020-06-17 18:35:15 +08:00
tangbin
8514e19102 shuzhou to suzhou 2020-06-17 15:51:19 +08:00
tangbin
6ecebc5f2b rds postpaid instance create fix 2020-06-17 15:39:37 +08:00
yunion-ci-robot
41f97d32fb Merge pull request #6837 from yousong/bugfix/yousong-putback
Bugfix/yousong putback
2020-06-17 11:26:00 +08:00
Yousong Zhou
358f5d41af appsrv: rework TestRing 2020-06-17 10:52:14 +08:00
Yousong Zhou
e37f15cac2 appsrv: ring: release ring content on pop 2020-06-17 10:52:14 +08:00
Zexi Li
5fda7e88b7 Merge pull request #6849 from swordqiu/hotfix/qj-disable-policy-rule-compaction
Hotfix/qj disable policy rule compaction
2020-06-17 10:28:47 +08:00
Qiu Jian
2efb7fc9e6 fix: policy allow if one of the matching rules is allow 2020-06-16 23:06:30 +08:00
Qiu Jian
818d40c08b fix: disable policy rule compaction 2020-06-16 22:36:00 +08:00
Zexi Li
12fe6b1c2d Merge pull request #6844 from wanyaoqi/bugfix/wyq/fix-cpu-usage-metrics
bugfix: fix cpu usage metrics
2020-06-16 20:53:23 +08:00
wanyaoqi
25310ed922 fix cpu usage metrics 2020-06-16 20:41:11 +08:00
Zexi Li
b2c232f75b Merge pull request #6824 from wanyaoqi/bugfix/wyq/win10
bugfix: fix windows install regedit record
2020-06-16 20:12:07 +08:00
Zexi Li
4535f887bb Merge pull request #6822 from wanyaoqi/bugfix/wyq/minor-fix-061220
fix host set reserved resource func name
2020-06-16 19:21:24 +08:00
Zexi Li
d8d6e8c5b5 scheduler: fix memory over committed 2020-06-16 18:51:13 +08:00
yunion-ci-robot
723ac0aee3 Merge pull request #6835 from yousong/bugfix/yousong-circleci
scripts/coverage.sh: ignore packages without test files
2020-06-16 15:08:00 +08:00
wanyaoqi
714b87aa39 configureable reload telegraf config 2020-06-16 14:52:18 +08:00
Yousong Zhou
200029dfd2 scripts/coverage.sh: ignore packages without test files
We have vet and build check available, no need to repeat them here
2020-06-16 12:52:20 +08:00
Yousong Zhou
e27a12ec61 guestdrivers: rework test 2020-06-16 12:52:20 +08:00
yunion-ci-robot
55255ef61b Merge pull request #6833 from yousong/bugfix/yousong-circleci
.circleci: run tests faster
2020-06-15 22:31:43 +08:00
Yousong Zhou
bf1b1f48b0 .circleci: run tests parallelly 2020-06-15 18:56:33 +08:00
Yousong Zhou
d4f54af5ad multicloud: speed up objectstore test 2020-06-15 18:56:33 +08:00
yunion-ci-robot
6cedfa30ff Merge pull request #6832 from yousong/bugfix/yousong-vendor
vendor: update yunion.io/x/{jsonutils.pkg}
2020-06-15 17:38:33 +08:00
yunion-ci-robot
e53cfa6322 Merge pull request #6778 from rainzm/vmware/init_network
feat: Support suggest network config before creating vmware cloud account
2020-06-15 17:37:29 +08:00
Zexi Li
4248961f96 Merge pull request #6828 from yousong/bugfix/yousong-lblistener-cert
lblistener: rename filter name certificate{,_id}
2020-06-15 17:36:56 +08:00
Yousong Zhou
a2fda726d1 vendor: update yunion.io/x/{jsonutils.pkg} 2020-06-15 17:17:49 +08:00
Yousong Zhou
458bd0c7f7 sysutils: rework test 2020-06-15 17:17:49 +08:00
Yousong Zhou
0208314075 multicloud: huawei: rework responses_test
- use json object Equals method for comparison
 - t.Fatalf on unexpected errors
2020-06-15 17:03:46 +08:00
Yousong Zhou
2a32627b55 cloudcommon: cmdline: rework test
Compare JSONObject with Equals
2020-06-15 16:49:12 +08:00
Zexi Li
7f9fb8d763 Merge pull request #6830 from ioito/hotfix/qx-metdata-list-optimized
fix: 优化标签列表version问题
2020-06-15 14:11:09 +08:00
Qu Xuan
d296a18011 fix: 优化标签列表version问题 2020-06-15 11:54:44 +08:00
Yousong Zhou
0f953b8b23 lblistener: rename filter name certificate{,_id}
Previously we accept both, now with structured input we'd better choose
one and ignore the other.  Use certificate_id because that's the
console's choice
2020-06-15 11:04:12 +08:00
wanyaoqi
9372a7b9c4 fix windows install regedit record 2020-06-15 10:56:47 +08:00
rainzm
14f324ea4a feat: Support suggest network config before create vmware cloud account 2020-06-12 17:00:37 +08:00
wanyaoqi
413d292c22 fix host set reserved resource func name 2020-06-12 16:10:05 +08:00
yunion-ci-robot
f4b7044767 Merge pull request #6817 from yousong/bugfix/yousong-odds
Bugfix/yousong odds
2020-06-12 10:10:20 +08:00
Yousong Zhou
173448ee43 guestnetworks: reduce odds of collision seeded by epoch seconds 2020-06-11 21:19:16 +08:00
Yousong Zhou
6a63aa9429 guestnetworks: use math/rand instead of crypto/rand 2020-06-11 21:14:34 +08:00
Zexi Li
c55ae8e3bc Merge pull request #6774 from zexi/feature/add-service-usages
apigateway: expose identity/image/k8s usage rpc method
2020-06-11 18:07:37 +08:00
Zexi Li
33de484f3d Merge pull request #6808 from ioito/hotfix/qx-rds-sku-filter
fix: 避免sql erorr
2020-06-11 17:51:55 +08:00
Zexi Li
9c8b7b6237 Merge pull request #6810 from ioito/hotfix/qx-openstack-disk-sync
fix: 避免openstack磁盘和存储窜位
2020-06-11 17:51:38 +08:00
Zexi Li
984ea4cd31 Merge pull request #6811 from rainzm/scheduledtask/fix
Scheduledtask/fix
2020-06-11 17:51:09 +08:00
Zexi Li
6b4e5e3806 Merge pull request #6803 from zexi/hotfix/webconsole-misc-handlers
webconsole: fix version and others handler not handle
2020-06-11 17:49:56 +08:00
yunion-ci-robot
8853686624 Merge pull request #6816 from zexi/hotfix/heap-large-usage
fix informer worker heap large usage
2020-06-11 17:21:15 +08:00
Zexi Li
cc5f731fc3 fix informer worker heap large usage 2020-06-11 16:00:06 +08:00
rainzm
3e7a5acb9b fix: Support to set the label of scheduledtask to Chinese 2020-06-11 12:57:33 +08:00
rainzm
0dad8351d3 fix: Add zero padding in front of execution time for scheduledtask 2020-06-11 12:06:21 +08:00
Qu Xuan
4e48d33ecf fix: 避免openstack磁盘和存储窜位 2020-06-11 11:32:22 +08:00
Qu Xuan
aa0d05ccd4 fix: 避免sql erorr 2020-06-11 10:41:04 +08:00
Zexi Li
e49c11edb2 Merge pull request #6802 from rainzm/scheduledtask/filter
fix the tag filter and result record for scheduledtask
2020-06-10 17:26:09 +08:00
Zexi Li
d54f18541f Merge pull request #6797 from wanyaoqi/bugfix/wyq/fix-host-list-filter
fix host list servers filter
2020-06-10 17:05:29 +08:00
Zexi Li
e56152aa48 webconsole: fix version and others handler not handle 2020-06-10 16:57:28 +08:00
rainzm
5f2a91f2af fix the tag filter and result record for scheduledtask 2020-06-10 16:17:34 +08:00
wanyaoqi
1b055f24a9 fix host list servers filter 2020-06-10 14:05:33 +08:00
yunion-ci-robot
2f210ae41d Merge pull request #6765 from yousong/feature/yousong-default-params
Feature/yousong default params
2020-06-10 11:30:08 +08:00
Zexi Li
c7d011946d Merge pull request #6786 from rainzm/fix/syncclouddisks
fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk
2020-06-10 11:27:36 +08:00
yunion-ci-robot
8646141dff Merge pull request #6663 from ioito/hotfix/qx-secgroup-sync-optimized
fix: 优化安全组同步逻辑
2020-06-10 11:18:08 +08:00
Zexi Li
0fe9dd33d3 Merge pull request #6717 from yousong/feature/yousong-vpc-dns
Feature/yousong vpc dns
2020-06-10 11:16:10 +08:00
Zexi Li
ebee8b91a2 Merge pull request #6779 from ioito/hotfix/qx-huawei-cloudevent-succ
fix: 更正华为云操作成功判断
2020-06-10 10:45:46 +08:00
Zexi Li
c5958186f9 Merge pull request #6775 from yousong/bugfix/yousong-network
Bugfix/yousong network
2020-06-10 10:20:18 +08:00
Zexi Li
02fc819d09 Merge pull request #6782 from rainzm/notify/version
fix: Add '/version' handler for notify
2020-06-10 10:18:49 +08:00
Zexi Li
0b3afdd29c Merge pull request #6791 from swordqiu/hotfix/qj-policy-explain-rework
fix: policy-explain not working properly
2020-06-10 09:52:27 +08:00
Qiu Jian
5ebb18b691 fix: policy-explain not working properly 2020-06-09 22:17:35 +08:00
Yousong Zhou
07ae9c12ed lblisteners: list: filter with certificate ids 2020-06-09 20:08:25 +08:00
Yousong Zhou
b4ce651094 mcclient: options: lb: arg rename cluster{,_id}
Ref b0537773cd ("fxi: 修复lb 有些有vpc_id为空的问题")
2020-06-09 20:08:25 +08:00
Yousong Zhou
258aba2504 lbagents: add check on vrrp.advert_int 2020-06-09 20:08:25 +08:00
Yousong Zhou
57e29330be lbagents: params: add needsUpdatePeer() and updateBy() methods 2020-06-09 20:08:25 +08:00
Yousong Zhou
1dc312303c lbbackends: allow backends of the same region (vs. zone) 2020-06-09 20:08:25 +08:00
Yousong Zhou
333954add9 climc: lbagent-show-default-params: add --cluster option support 2020-06-09 20:08:25 +08:00
Yousong Zhou
71e9f99b65 lbagent: default-params: default vrrp params from peer lbagents 2020-06-09 20:08:25 +08:00
rainzm
4c6682617c fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk 2020-06-09 19:45:46 +08:00
rainzm
2cd2f3d029 fix: Add '/version' handler for notify 2020-06-09 18:45:54 +08:00
Qu Xuan
5837b696d7 fix: 更正华为云操作成功判断 2020-06-09 18:19:57 +08:00
yunion-ci-robot
f441306d80 Merge pull request #6691 from rainzm/scheduledtasks/init
Scheduledtasks/init
2020-06-09 17:06:07 +08:00
Zexi Li
a8e5759523 Merge pull request #6777 from zexi/feature/expose-tablespec-interface
cloudcommon: expose ITableSpec function
2020-06-09 16:19:23 +08:00
Zexi Li
10603b4f64 cloudcommon: expose ITableSpec function 2020-06-09 16:16:24 +08:00
Yousong Zhou
0280b6aa5e networks: validate that start, end, gateway ip are in the same subnet 2020-06-09 16:10:06 +08:00
Yousong Zhou
f4a001ad65 networks: validateUpdateData: eliminate intermediate vars 2020-06-09 16:09:48 +08:00
Yousong Zhou
927cbd4156 networks: decrease indent 2020-06-09 16:09:48 +08:00
Yousong Zhou
f27e177274 networks: sep check of masklen only for start,end type creation 2020-06-09 16:09:48 +08:00
rainzm
3ea4beeb8e feat: Add 'ScheduledTaskQueueSize' options 2020-06-09 15:54:35 +08:00
rainzm
8a69558c86 Add 'trigger' for ScheduledTask 2020-06-09 15:54:35 +08:00
rainzm
2b7bd7a123 feat: Add climc command for ScheduledTask and ScheduledTaskActivity 2020-06-09 15:54:35 +08:00
rainzm
8d30ef0ad9 feat: Detach ScheduledTask when pending delete guest 2020-06-09 15:54:35 +08:00
rainzm
d6c5c29c62 feat: Add handers and table for ScheduledTask... 2020-06-09 15:54:35 +08:00
rainzm
058cc4fdce feat: Add ScheduledTask, ScheduledTaskActivity and ScheduledTaskLabel 2020-06-09 15:54:32 +08:00
Zexi Li
686cc78247 apigateway: expose identity/image/k8s usage rpc method 2020-06-09 13:32:53 +08:00
Zexi Li
14910fc051 Merge pull request #6772 from swordqiu/hotfix/qj-disable-update-zone-id
fix: disable updating zone_id for host, storage, wire
2020-06-09 00:11:46 +08:00
Qiu Jian
1e4acedf25 fix: disable updating zone_id for host, storage, wire 2020-06-08 21:58:59 +08:00
yunion-ci-robot
5d17bf653a Merge pull request #6769 from zexi/hotfix/ensure-influxdb-endpoint
region: retry set influxdb policy until completed
2020-06-08 21:11:09 +08:00
rainzm
8a2e23fd45 feat: Extract STimer from SScalingTimer 2020-06-08 21:01:16 +08:00
rainzm
7e80ecf61b fix: Wait for ticker when get status is wrong 2020-06-08 21:01:16 +08:00
Zexi Li
8e51f627a6 region: retry set influxdb policy until completed 2020-06-08 19:05:30 +08:00
yunion-ci-robot
232077b09b Merge pull request #6764 from yousong/bugfix/yousong-vendoring
vendor: update yunion.io/x/sqlchemy
2020-06-08 16:22:07 +08:00
yunion-ci-robot
a4b44d040b Merge pull request #6629 from zhaoxiangchun/feature/zxc-unified-monitor
统一监控接口
2020-06-08 16:16:07 +08:00
Yousong Zhou
2e687997ae vendor: update yunion.io/x/sqlchemy 2020-06-08 16:13:09 +08:00
yunion-ci-robot
ec12f1916e Merge pull request #6756 from rainzm/caller/handler_error
fix: handler param.convert's error in caller.go
2020-06-08 16:09:07 +08:00
yunion-ci-robot
7e2ade11ee Merge pull request #6763 from swordqiu/hotfix/qj-explain-rpc-piggyback-owner-privilige
fix: explainPolicy piggyback owner's privilige
2020-06-08 16:07:08 +08:00
yunion-ci-robot
ed00dbbfdd Merge pull request #6760 from wanyaoqi/bugfix/wyq/image-support-generate-name
bugfix: image support generate name
2020-06-08 15:51:48 +08:00
yunion-ci-robot
734d7e9994 Merge pull request #6648 from zexi/feature/db-resource-informer
implement generic service informer
2020-06-08 14:58:49 +08:00
Qu Xuan
03a3dfcd73 fix: 优化安全组同步逻辑 2020-06-08 14:10:38 +08:00
Zexi Li
9f4d4a450e refactor ITableSpec signature with context 2020-06-08 11:31:00 +08:00
wanyaoqi
a3043520ec image support generate name 2020-06-08 11:25:20 +08:00
rainzm
c793746f0d fix: handler param.convert's error in caller.go 2020-06-08 10:44:26 +08:00
Qiu Jian
e7b198ab35 fix: explainPolicy piggyback owner's privilige 2020-06-08 10:23:40 +08:00
zhaoxiangchun
86e687015f 修改框架查询influxdb的时间单位
epoch=ms,与以前虚拟机监控时间单位进行统一
2020-06-08 10:06:00 +08:00
Zexi Li
7a1d504e82 Merge pull request #6750 from swordqiu/hotfix/qj-base64-decode-invalid-password
fix: base64 decode 12-bytes plain text password return nil
2020-06-08 09:13:04 +08:00
Zexi Li
d1d22453bc Merge pull request #6755 from yousong/feature/yousong-default-params
Feature/yousong default params
2020-06-06 12:22:21 +08:00
yunion-ci-robot
190ac44566 Merge pull request #6757 from swordqiu/hotfix/qj-remove-name-space
fix: remove spaces in name
2020-06-06 12:21:45 +08:00
Qiu Jian
a51d554d74 fix: base64 decode 12-bytes plain text password return nil 2020-06-06 11:06:52 +08:00
yunion-ci-robot
bc841680e0 Merge pull request #6692 from ioito/hotfix/qx-object-acl
fix: 返回object默认acl
2020-06-06 10:58:47 +08:00
Qiu Jian
06e19c494c fix: remove spaces in name 2020-06-06 10:51:48 +08:00
yunion-ci-robot
7bfd4b572a Merge pull request #6734 from tb365/feature/tb-cancel-condition-release
cancel condition release
2020-06-05 17:17:43 +08:00
Zexi Li
749e99b5f9 Merge pull request #6754 from swordqiu/hotfix/qj-oss-upload-set-acl
fix: oss-upload fail to set object acl
2020-06-05 17:14:48 +08:00
Yousong Zhou
e8b6803525 climc: add command lbagent-show-default-params 2020-06-05 16:43:34 +08:00
Yousong Zhou
d4416f614f mcclient: options: add EmptyOption 2020-06-05 16:43:34 +08:00
Yousong Zhou
2b98f75c75 lbagent: new API: GET /loadbalanceragents/default-params 2020-06-05 16:01:37 +08:00
yunion-ci-robot
655362b34f Merge pull request #6752 from lvyangyang/feature/implement-allowDisableWrapLine
climc:allow disable term line width
2020-06-05 15:57:44 +08:00
Yousong Zhou
ce741a24cd lb: onecloud: disallow creating lb with vpc network 2020-06-05 15:36:56 +08:00
Qiu Jian
d519a6584b fix: oss-upload fail to set object acl 2020-06-05 15:32:15 +08:00
root
0a0af5cfa2 climc:allow disable term line width 2020-06-05 14:15:34 +08:00
Qu Xuan
510eb101ec fix: 返回object默认acl 2020-06-05 10:58:46 +08:00
yunion-ci-robot
db91628f0b Merge pull request #6730 from yousong/feature/yousong-lbcluster
Feature/yousong lbcluster
2020-06-04 22:36:10 +08:00
Zexi Li
593b69e436 Merge pull request #6740 from swordqiu/hotfix/qj-xsky-recode-using-wrong-info
fix: xsky recode using endpoint as accesskey key
2020-06-04 21:40:50 +08:00
Zexi Li
e532f46f0d Merge pull request #6736 from rainzm/gt/sfguest/generate
fix: Support 'generate_name' when saving template from guest
2020-06-04 21:39:39 +08:00
Zexi Li
6d76cc2af4 Merge pull request #6737 from tb365/bugfix/tb-bugfix-0604
ctyun sync host wire fix
2020-06-04 21:39:05 +08:00
Zexi Li
a5d47f4513 Merge pull request #6744 from wanyaoqi/bugfix/wyq/bind-mount-local-image-path
bugfix: bind mount local image path to container path
2020-06-04 21:24:00 +08:00
Qiu Jian
de081a768d fix: xsky recode using endpoint as accesskey key 2020-06-04 19:02:21 +08:00
tangbin
7e95750408 cancel condition release 2020-06-04 18:56:13 +08:00
tangbin
f58a9305e5 ctyun sync host wire fix 2020-06-04 18:48:35 +08:00
rainzm
27f746eb26 fix: Support 'generate_name' when saving template from guest 2020-06-04 18:27:41 +08:00
Yousong Zhou
1a308442c5 climc: lb-update: add --cluster argument 2020-06-04 15:58:06 +08:00
Yousong Zhou
74e19af514 climc: lbcluster-create: mark --zone as required 2020-06-04 15:58:06 +08:00
Yousong Zhou
5395210873 lb: allow update cluster_id with PUT request 2020-06-04 15:58:06 +08:00
Zexi Li
0d759322af Merge pull request #6728 from ioito/hotfix/qx-openstack-session
fix: 避免openstack session==nil
2020-06-04 15:04:13 +08:00
wanyaoqi
8e4668213e bind mount local image path to container path 2020-06-04 14:51:48 +08:00
Qu Xuan
90aa834942 fix: 避免openstack session==nil 2020-06-04 11:23:19 +08:00
Zexi Li
d50acbf3dd Merge pull request #6722 from ioito/hotfix/qx-region-city
fix: 添加region翻译
2020-06-04 10:27:51 +08:00
Zexi Li
866da0e6b0 Merge pull request #6726 from swordqiu/hotfix/qj-default-user-fetcher
fix: keystone event list fail to find user
2020-06-04 10:26:46 +08:00
Qiu Jian
b917ea6a10 fix: keystone event list fail to find user 2020-06-04 07:56:56 +08:00
Qu Xuan
6ba9a8fae8 fix: 添加region翻译 2020-06-03 20:39:00 +08:00
Zexi Li
3e182fb89b Merge pull request #6720 from ioito/hotfix/qx-object-escape
fix: 修复gcp object编码问题
2020-06-03 20:07:36 +08:00
Yousong Zhou
ba0e41d995 vpcagent: ovn: claim dnsrecords for all vpcs 2020-06-03 18:48:24 +08:00
Yousong Zhou
583718014c vpcagent: models: include dnsrecords 2020-06-03 18:25:59 +08:00
Yousong Zhou
88095c6d82 vpcagent: ovn: dns records for guest names 2020-06-03 18:25:59 +08:00
Yousong Zhou
d51791396f vpcagent: ovn: mark and sweep dns records 2020-06-03 18:25:59 +08:00
Zexi Li
01f53df8c3 Merge pull request #6711 from ioito/hotfix/qx-azure-classic-vm
fix: 移除默认调度策略
2020-06-03 17:27:25 +08:00
Zexi Li
5f1801202d Merge pull request #6696 from tb365/feature/tb-add-enterprise-info-update-climc
add-enterprise-info-update-climc
2020-06-03 17:26:13 +08:00
Zexi Li
73bcfb4bb7 Merge pull request #6713 from wanyaoqi/bugfix/wyq/fix-find-no-such-file
bugfix: isolated device manager:
2020-06-03 17:25:02 +08:00
Zexi Li
39244cce50 Merge pull request #6364 from yousong/feature/yousong-eip
Feature/yousong eip
2020-06-03 17:23:24 +08:00
Zexi Li
059b9388bd Merge pull request #6701 from yousong/feature/yousong-lb-selective-redirect
Feature/yousong lb selective redirect
2020-06-03 17:23:07 +08:00
Qu Xuan
c706821a74 fix: 修复gcp object编码问题 2020-06-03 16:35:31 +08:00
wanyaoqi
44cbdd07a3 isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:46:25 +08:00
Qu Xuan
c2ce0460a2 fix: 移除默认调度策略 2020-06-03 15:03:20 +08:00
Zexi Li
7873fa5de3 Merge pull request #6708 from ioito/hotfix/qx-gcp-rds-err
fix: 转换gcp错误
2020-06-03 13:03:17 +08:00
Qu Xuan
9069814b17 fix: 转换gcp错误 2020-06-03 11:56:01 +08:00
Yousong Zhou
b6110fd3a1 lbbackend: kvm: allow adding 'host',"ip" backend type
For "host" type, as long as the requesting user can get access to it's
id and the validator plus userCred allows it
2020-06-03 11:34:29 +08:00
Yousong Zhou
97c5afda57 lbbackend: ValidateCreateLoadbalancerBackendData: use httperrors 2020-06-03 11:34:04 +08:00
Zexi Li
bbbc488a07 Merge pull request #6699 from rainzm/notify/verify
feat: Logo and copyright in verify email are same with these in company info
2020-06-03 10:17:34 +08:00
Zexi Li
bc02ef1992 Merge pull request #6702 from ioito/hotfix/qx-gcp-rds-user
fix: gcp默认创建允许所有地址访问的用户
2020-06-03 10:17:07 +08:00
Zexi Li
9de500f27c Merge pull request #6704 from ioito/hotfix/qx-vpc-create
fix: 允许gcp创建vpc时不指定cidr
2020-06-03 10:16:40 +08:00
Zexi Li
4fa1025329 Merge pull request #6706 from ioito/hotfix/qx-tenant-cache
fix: 避免越过tenantcache过期检查
2020-06-03 10:16:00 +08:00
yunion-ci-robot
d8eb8bc1d4 Merge pull request #6668 from swordqiu/hotfix/qj-get-property-support-rbac
fix: class method GetPropertyXXX should support rbac
2020-06-03 10:13:06 +08:00
Qu Xuan
8754ef2436 fix: 避免越过tenantcache过期检查 2020-06-02 22:17:28 +08:00
Qu Xuan
53d771025e fix: 允许gcp创建vpc时不指定cidr 2020-06-02 21:57:35 +08:00
Qu Xuan
f73b3ed03f fix: gcp默认创建允许所有地址访问的用户 2020-06-02 21:45:47 +08:00
Yousong Zhou
856310331f lblistenerrule: allow turning on/off redirect 2020-06-02 21:44:25 +08:00
Yousong Zhou
2cd6c85882 lblistenerrule: redirect: try avoid endless redirect 2020-06-02 21:44:25 +08:00
Yousong Zhou
471755103d lblistener: allow turning on/off redirect 2020-06-02 21:44:25 +08:00
Zexi Li
0d5be52f45 Merge pull request #6697 from swordqiu/hotfix/qj-esxiagent-service
fix: apigateway expose esxiagent service avaiability
2020-06-02 21:20:12 +08:00
Yousong Zhou
d3313eba42 lblistener: redirect: try avoid endless redirect 2020-06-02 21:17:20 +08:00
Yousong Zhou
d55af7af26 lblistenerrule: allow creation even for redirect listener 2020-06-02 21:17:17 +08:00
Yousong Zhou
ea8cd6d7e9 climc: lblistener-create: make --scheduler an optional arg 2020-06-02 21:17:17 +08:00
Yousong Zhou
473932311b lblistener: make scheduler an optional arg on creation 2020-06-02 21:17:17 +08:00
Yousong Zhou
3ae45d55eb lbagent: fix condition for "nothing to serve" 2020-06-02 21:17:17 +08:00
Yousong Zhou
7e2273bfbf lbagent: standalone rate control between listener and its rules 2020-06-02 21:17:17 +08:00
Yousong Zhou
3d58d51abe lbagent: decouple rule redirect from listener redirect 2020-06-02 21:17:17 +08:00
rainzm
156ef6bd2e feat: Logo and copyright in verify email are same with these in company
info
2020-06-02 20:52:06 +08:00
Qiu Jian
ddc483509a fix: apigateway expose esxiagent service avaiability 2020-06-02 20:30:07 +08:00
tangbin
bb808bd8aa add-enterprise-info-update-climc 2020-06-02 20:13:49 +08:00
yunion-ci-robot
0f9df3ed28 Merge pull request #6686 from ioito/bugfix/qx-secgroup
fix: 避免锁超时
2020-06-02 13:59:42 +08:00
Qu Xuan
a519a66122 fix: 避免锁超时 2020-06-02 11:10:01 +08:00
Zexi Li
e8d4655583 Merge pull request #6680 from ioito/hotfix/qx-s3-bucket-syncstatus
fix: sync s3 bucket status
2020-06-02 10:04:53 +08:00
Zexi Li
ad50e349f6 Merge pull request #6684 from ioito/hotfix/qx-google-object-acl
fix: gcp path escape for object
2020-06-02 10:04:34 +08:00
Zexi Li
7df836d0e8 Merge pull request #6666 from ioito/hotfix/qx-rule-project-id
fix: 安全组规则返回项目id信息
2020-06-02 10:03:08 +08:00
Zexi Li
dcb947cfa7 Merge pull request #6664 from zhaoxiangchun/feature/zxc-suggest-amount
在优化建议资源列表中增加费用信息
2020-06-02 10:02:26 +08:00
Zexi Li
0098d7ef41 Merge pull request #6675 from ioito/hotfix/qx-gcp-region
fix: add us-west4 for google region
2020-06-02 09:59:41 +08:00
Zexi Li
46266b392d Merge pull request #6670 from wanyaoqi/bugfix/wyq/get-snapshots-order-by-created-at
bugfix: get snapshots order by created at asc
2020-06-02 09:57:37 +08:00
Qu Xuan
23df2235e4 fix: gcp path escape for object 2020-06-01 19:57:07 +08:00
Qu Xuan
7cb40ec3c2 fix: sync s3 bucket status 2020-06-01 18:44:23 +08:00
Qu Xuan
1997e41ea6 fix: add us-west4 for google region 2020-06-01 18:25:35 +08:00
zhaoxiangchun
ecd4a94079 监控数据查询增加对任意时间范围的支持 2020-06-01 17:01:39 +08:00
zhaoxiangchun
3f63e4737a 统一监控接口
1.通过前端选择measurement等数据完成对influxdb指标的的查询
2.支持同时查询多个query。
2020-06-01 17:01:39 +08:00
Qiu Jian
a99deb6141 fix: class method GetPropertyXXX should support rbac 2020-06-01 15:52:58 +08:00
wanyaoqi
6e0f4a4947 get snapshots order by created at asc 2020-06-01 15:07:33 +08:00
Qu Xuan
61ff1544ec fix: 安全组规则返回项目id信息 2020-05-29 20:47:17 +08:00
Zexi Li
95a58cc606 implement generic service informer 2020-05-29 19:59:34 +08:00
zhaoxiangchun
585385f0cb 在优化建议资源列表中增加费用信息
另外,在资源进行处理时记录对应的status信息
2020-05-29 19:39:02 +08:00
Zexi Li
9307660d11 Merge pull request #6661 from rainzm/notify/remove_mobile_template
fix(notify): Remove default mobile template
2020-05-29 19:32:17 +08:00
Zexi Li
f5004eecc6 Merge pull request #6658 from ioito/hotfix/qx-bucket-fix
fix: byte size fix
2020-05-29 19:14:17 +08:00
rainzm
9374c65a8f fix(notify): Remove default mobile template 2020-05-29 18:48:02 +08:00
Qu Xuan
5ed624d15d fix: byte size fix 2020-05-29 16:58:56 +08:00
Zexi Li
f0a0eb4f54 Merge pull request #6564 from tb365/feature/tb-condition-release-2
redis&rds add postpaid duration
2020-05-29 14:21:58 +08:00
Zexi Li
10deea02d8 Merge pull request #6636 from swordqiu/hotfix/qj-get-matched-policysets
fix: ignore match weights when searching matched policysets
2020-05-29 14:20:13 +08:00
Zexi Li
581a5789cc Merge pull request #6650 from wanyaoqi/bugfix/wyq/fix-migrate-with-multi-storage
bugfix: fix migrate with multi local storage
2020-05-29 14:18:36 +08:00
wanyaoqi
4d404e09d0 fix migrate with multi local storage 2020-05-29 11:45:51 +08:00
Qiu Jian
0157028465 fix: ignore match weights when searching matched policysets 2020-05-29 10:01:20 +08:00
Zexi Li
4362927d23 Merge pull request #6642 from swordqiu/hotfix/qj-bucket-api-documentation
fix: generating bucket APIs
2020-05-29 01:39:49 +08:00
tangbin
346d558505 redis&rds add postpaid duration 2020-05-28 20:46:07 +08:00
yunion-ci-robot
61e56d5079 Merge pull request #6643 from rainzm/notify/domain
feat(notify): Support 'socpe:domain' when list contacts
2020-05-28 19:04:00 +08:00
yunion-ci-robot
83f5c3bb74 Merge pull request #6631 from swordqiu/hotfix/qj-host-convert-baremetal-sched-fail
fix: sysadmin cannot convert host in non-default domain
2020-05-28 19:02:00 +08:00
yunion-ci-robot
fde7f2dfa3 Merge pull request #6544 from zhaoxiangchun/bugfix/zxc-suggest-mon
类型是onecloud的notifier额外增加webconsole的alert
2020-05-28 18:59:00 +08:00
yunion-ci-robot
ab71537f5d Merge pull request #6646 from wanyaoqi/bugfix/wyq/minor-fix0528
bugfix: guesthandler declear variable and define
2020-05-28 18:46:59 +08:00
Qiu Jian
5e77a9682e fix: generating bucket APIs 2020-05-28 18:13:36 +08:00
Zexi Li
e7df5dba93 Merge pull request #6632 from zhaoxiangchun/bugfix/zxc-resource-mon
修复优化建议资源列表cloudenv过滤失效的问题
2020-05-28 18:06:55 +08:00
wanyaoqi
8fde0c62a4 declear variable and define 2020-05-28 18:04:46 +08:00
Zexi Li
e67aaa0585 Merge pull request #6637 from ioito/hotfix/qx-guest-create
fix: 避免因磁盘数量导致创建机器失败
2020-05-28 17:13:36 +08:00
Zexi Li
54309630c3 Merge pull request #6628 from wanyaoqi/feature/wyq/clean-network-scripts-on-init
host: clean network scripts on init
2020-05-28 16:17:23 +08:00
Yousong Zhou
e442e7a259 vpcagent: ovn: apply qos on eip 2020-05-28 15:51:21 +08:00
Yousong Zhou
4b44f21abf vpcagent: ovn: apply guestnetwork bw_limit
For kernel datapath, this requires at least openvswitch 2.10, or linux
4.15
2020-05-28 15:51:21 +08:00
Yousong Zhou
4b299846de vpcagent: ovn: use FindXxxReferrer_yyy 2020-05-28 15:51:21 +08:00
Yousong Zhou
5ad06097c1 vendor: update yunion.io/x/ovsdb 2020-05-28 15:51:21 +08:00
Yousong Zhou
2353396013 build: docker: use openvswitch:2.10.4-0 2020-05-28 15:51:21 +08:00
Yousong Zhou
df3c337bf6 elasticips: onecloud: support changing bandwidth 2020-05-28 15:51:21 +08:00
Yousong Zhou
91defab40f iproute2: route: add del funcs 2020-05-28 15:51:21 +08:00
Yousong Zhou
6900393095 iproute2: errors: add IsErrSrch() 2020-05-28 15:51:21 +08:00
Yousong Zhou
a5c253e129 iproute2: route: prepare for route del 2020-05-28 15:51:21 +08:00
Yousong Zhou
d714e450fb hostman: options: add option --ovn-underlay-mtu 2020-05-28 15:51:21 +08:00
Yousong Zhou
61659d7b28 hostman: options: add option --sdn-pid-file 2020-05-28 15:51:20 +08:00
Yousong Zhou
25d05899d4 hostman: options: knobs for enabling features in sdnagent 2020-05-28 15:51:20 +08:00
Yousong Zhou
2841e245e2 vpcagent: ovn: set underlay mtu size in config file 2020-05-28 15:51:20 +08:00
Yousong Zhou
83a44ce94c vpcagent: ovn: mix eipgw and distgw 2020-05-28 15:51:20 +08:00
Yousong Zhou
822ba58756 vpcagent: models: include elasticip 2020-05-28 15:51:20 +08:00
Yousong Zhou
22090a3790 vpcagent: ovn: add and use mac.HashVpcHostDistgwMac() 2020-05-28 15:51:20 +08:00
Yousong Zhou
eaa16f3335 climc: shell: networks: add eip to server type choices 2020-05-28 15:51:20 +08:00
Yousong Zhou
56c89ed577 climc: eip-create: make manager, region optional arguments 2020-05-28 15:51:20 +08:00
Yousong Zhou
7e02808c86 guests: support server-create-eip for onecloud guests and eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
df4d80fbd9 guests: list usable guests for specified eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
2390e352f8 elasticips: list usable eips for onecloud kvm guests 2020-05-28 15:51:20 +08:00
Yousong Zhou
18fe12a4a7 elasticips: onecloud: support sync and syncstatus 2020-05-28 15:51:20 +08:00
Yousong Zhou
74920a37e1 tasks: onecloud: support disassociate eip 2020-05-28 15:51:20 +08:00
Yousong Zhou
8b82d67b6d guestdrivers: kvm: eip associate 2020-05-28 15:51:20 +08:00
Yousong Zhou
ff6e3e2367 guestnetworks: add EipId field 2020-05-28 15:51:20 +08:00
Yousong Zhou
3254646244 elasticips: onecloud: create op 2020-05-28 15:51:20 +08:00
Yousong Zhou
fa833e6948 elasticips: onecloud: delete op for non-managed eip 2020-05-28 15:39:06 +08:00
Yousong Zhou
8e1b6ded3e elasticips: make manager, region arguments optional 2020-05-28 15:39:06 +08:00
Yousong Zhou
0bf41caa36 elasticips: only create eip of mode elastic_ip 2020-05-28 15:39:06 +08:00
Yousong Zhou
7720380244 networks: create eip network only in default vpc 2020-05-28 15:39:06 +08:00
Yousong Zhou
b62d41a835 apis: network: add NETWORK_TYPE_EIP 2020-05-28 15:39:06 +08:00
Yousong Zhou
a0b39cc7b2 climc: vpcs: add --external-access-mode argument 2020-05-28 15:39:06 +08:00
Yousong Zhou
eebd15e0d5 vpcs: add ExternalAccessMode field 2020-05-28 15:39:06 +08:00
Yousong Zhou
30844db326 apis: add const definitions for eip gateway ips 2020-05-28 15:39:06 +08:00
Yousong Zhou
8d824d2441 Revert "fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题"
This reverts commit 8cc8991372.

Use EipDissociateTask now that it can do lock management for the
associated model
2020-05-28 15:39:06 +08:00
Yousong Zhou
02ea7b4628 tasks: EipDissociateTask: lock associated model 2020-05-28 15:39:06 +08:00
rainzm
cfcaa50e22 feat(notify): Support 'socpe:domain' when list contacts
This is a temporary solution.
2020-05-28 15:27:26 +08:00
Zexi Li
035af9de0e Merge pull request #6640 from ioito/hotfix/qx-openstack-project
fix: typo
2020-05-28 15:26:12 +08:00
Zexi Li
0354a256dc Merge pull request #6641 from ioito/hotfix/qx-typo-fix
fix: typo
2020-05-28 15:26:02 +08:00
Qu Xuan
f9dcb2bb77 fix: typo 2020-05-28 14:38:20 +08:00
Qu Xuan
05012f0bac fix: typo 2020-05-28 14:11:16 +08:00
Zexi Li
568a16e025 Merge pull request #6592 from ioito/hotfix/qx-openstack-project
fix: 通用指定项目到云上创建资源
2020-05-28 13:50:57 +08:00
Qu Xuan
caf07c2561 fix: 避免因磁盘数量导致创建机器失败 2020-05-28 12:06:37 +08:00
zhaoxiangchun
00fb77e0c0 修复优化建议资源列表cloudenv过滤失效的问题 2020-05-27 22:12:38 +08:00
zhaoxiangchun
0a7b381cf6 类型是onecloud的notifier增加webconsole的alert 2020-05-27 22:10:33 +08:00
Qiu Jian
f54d633258 fix: sysadmin cannot convert host in non-default domain 2020-05-27 21:10:59 +08:00
Zexi Li
6c87cd3151 Merge pull request #6621 from wanyaoqi/bugfix/wyq/host-storage-misc-fix
host storage misc fix:
2020-05-27 18:03:47 +08:00
Zexi Li
dfe8700dca Merge pull request #6618 from swordqiu/hotfix/qj-host-convert-baremetal-previleges
fix: domain user no previleges to convert host
2020-05-27 18:02:49 +08:00
Zexi Li
1ec17dd5b0 Merge pull request #6609 from wanyaoqi/bugfix/wyq/fix-host-name-validator
bugfix: fix host name validator
2020-05-27 18:01:09 +08:00
Zexi Li
0d93c985fe Merge pull request #6605 from ioito/hotfix/qx-remove-azure-policy-sync
fix: 移除azure policy sync部分
2020-05-27 17:55:40 +08:00
Zexi Li
fce9d7dac9 Merge pull request #6613 from swordqiu/hotfix/qj-scheduler-test-ignore-quota
fix: scheduler test ignore quota limit
2020-05-27 17:54:39 +08:00
Zexi Li
4b719d229e Merge pull request #6616 from yousong/bugfix/yousong-vet
Bugfix/yousong vet
2020-05-27 17:53:17 +08:00
Zexi Li
a998e505c5 Merge pull request #6619 from ioito/hotfix/qx-azure-detach-disk
fix: 避免azure卸载磁盘失败
2020-05-27 17:51:46 +08:00
wanyaoqi
73297de60c clean network scripts on init 2020-05-27 17:11:32 +08:00
wanyaoqi
690a5f2fca host storage misc fix:
- add accessible timeout
- add force detach host storage
2020-05-27 15:54:37 +08:00
Qu Xuan
d4b16667de fix: 避免azure卸载磁盘失败 2020-05-27 15:54:19 +08:00
Qiu Jian
c563f021b0 fix: domain user no previleges to convert host 2020-05-27 15:46:53 +08:00
Yousong Zhou
e80c938bad .circleci: run with parallel level 3
Resources: 2CPU/4096MB
2020-05-27 15:18:18 +08:00
Yousong Zhou
8e40ff64f5 build: add vet-check 2020-05-27 15:13:50 +08:00
Yousong Zhou
fb26b0c389 vet: composite literal uses unkeyed fields 2020-05-27 15:08:02 +08:00
Zexi Li
d236823a0f Merge pull request #6580 from yousong/bugfix/yousong-k8scidr-default-off
hostman: options: remove k8s_cluster_cidr
2020-05-27 14:37:16 +08:00
Zexi Li
32617b7486 Merge pull request #6607 from yousong/bugfix/yousong-vpcagent
Bugfix/yousong vpcagent
2020-05-27 14:35:52 +08:00
Yousong Zhou
d25f92af8b vet: bad syntax for struct tag value 2020-05-27 14:35:48 +08:00
Yousong Zhou
b99157f646 vet: pairs not separated by spaces 2020-05-27 14:35:48 +08:00
Yousong Zhou
c18d347b0c vet: bad syntax for struct tag pair 2020-05-27 14:35:48 +08:00
Yousong Zhou
85d238cb5a vet: unreachable code 2020-05-27 14:35:48 +08:00
Zexi Li
149bbc3bc1 Merge pull request #6589 from swordqiu/hotfix/qj-baremetal-retry-ipmi-if-redfish-fails
fix: retry ipmi probe if redfish-api-probe fails
2020-05-27 14:35:02 +08:00
Qiu Jian
354a61632d fix: scheduler test ignore quota limit 2020-05-27 10:10:39 +08:00
wanyaoqi
ec2cb3113b fix host name validator 2020-05-26 23:16:41 +08:00
Zexi Li
cb8f5e8864 Merge pull request #6603 from ioito/hotfix/qx-sku-filter
fix: sku status filter
2020-05-26 18:23:46 +08:00
Yousong Zhou
68b7ecf83a hostman: options: remove k8s_cluster_cidr
Remove instead of deprecation.  No user of this option anymore
2020-05-26 17:55:26 +08:00
Qu Xuan
9e07cda2bd fix: 移除azure policy sync部分 2020-05-26 17:55:16 +08:00
Yousong Zhou
cbe5ef4161 hostman: options: fix default value spec 2020-05-26 17:50:41 +08:00
Yousong Zhou
146ab44fbd vpcagent: models: separate Copy() and CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
cb27b18052 vpcagent: apihelper: use CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
c4b3084896 vpcagent: models: add CopyJoined() 2020-05-26 17:50:41 +08:00
Yousong Zhou
8873c8905e vpcagent: remove unused code 2020-05-26 17:50:41 +08:00
Yousong Zhou
230f004f36 vpcagent: apihelper: use its own options 2020-05-26 17:50:41 +08:00
Zexi Li
3ce96aa193 Merge pull request #6598 from wanyaoqi/bugfix/wyq/fix-remotefile-fetch-image-properties
bugfix: fix remotefile fetch image properties
2020-05-26 17:15:15 +08:00
Zexi Li
28273e56db Merge pull request #6594 from ioito/hotfix/qx-bucket-fix
fix: bucket信息修正
2020-05-26 17:13:43 +08:00
Qu Xuan
95ae69c2ba fix: sku status filter 2020-05-26 17:08:07 +08:00
wanyaoqi
810de8a7ea fix remotefile fetch image propertites 2020-05-26 15:50:19 +08:00
Qu Xuan
f89be60e69 fix: bucket信息修正 2020-05-26 15:05:42 +08:00
Qu Xuan
893d77398b fix: tmp update 2020-05-26 14:31:50 +08:00
Qu Xuan
9916c99172 fix: 通用指定项目到云上创建资源 2020-05-25 20:16:47 +08:00
Zexi Li
c05e24371e Merge pull request #6533 from rainzm/gt/cf_guest
Feat/guest_template
2020-05-25 18:35:27 +08:00
Zexi Li
8e11ec367d Merge pull request #6587 from swordqiu/hotfix/qj-keystone-idp-missing-details
fix: identity_provider details missing fields
2020-05-25 18:34:12 +08:00
Zexi Li
632b482e36 Merge pull request #6548 from wanyaoqi/feature/wyq/isolate-device-add-attribute-reserved-resource
feature: isolated device add attribute reserved resource
2020-05-25 18:33:51 +08:00
Qiu Jian
3699a9b20f fix: retry ipmi probe if redfish-api-probe fails 2020-05-25 17:48:17 +08:00
Qiu Jian
f9bc5f6922 fix: identity_provider details missing fields 2020-05-25 17:33:06 +08:00
wanyaoqi
91ff1d7d84 isolated device add attribute reserved resource 2020-05-25 17:31:34 +08:00
Zexi Li
48fb78f403 Merge pull request #6543 from yousong/bugfix/yousong-vpcagent
vpcagent: models: remove now boilerplate code
2020-05-25 14:32:35 +08:00
Zexi Li
fa3a0b59cc Merge pull request #6572 from swordqiu/hotfix/qj-update-model-api
update for doc-gen
2020-05-25 13:09:02 +08:00
yunion-ci-robot
6d8a4af571 Merge pull request #6578 from zexi/hotfix/baremetal-init-lockman
baremetal: fix forget init lockman pkg
2020-05-25 12:49:55 +08:00
Zexi Li
edf4813fb7 Merge pull request #6573 from zhaoxiangchun/bugfix/zxc-zstack-mon
zstack宿主机监控中增加参数信息进行Unmarshal
2020-05-25 12:17:50 +08:00
Zexi Li
8ebabd6ae3 baremetal: fix forget init lockman pkg 2020-05-25 12:15:21 +08:00
zhaoxiangchun
47cac3c7be zstack宿主机监控中增加参数信息进行Unmarshal 2020-05-24 17:14:40 +08:00
Qiu Jian
8a77030823 update for doc-gen 2020-05-23 13:42:59 +08:00
Zexi Li
b859eea7e6 Merge pull request #6567 from swordqiu/hotfix/qj-default-policy-not-effective
fix: default policy not effective
2020-05-22 22:48:10 +08:00
Zexi Li
8380583934 Merge pull request #6565 from rainzm/notify/contactType
Notify/contact type
2020-05-22 22:47:00 +08:00
Zexi Li
0512de8f2b Merge pull request #6558 from ioito/hotfix/qx-openstack-boot-index
fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:11 +08:00
Qiu Jian
03477cbe72 fix: default policy not effective 2020-05-22 22:31:14 +08:00
rainzm
f73bcf8ad1 feat: Supports disabling of feishu and dingtalk notification 2020-05-22 20:50:13 +08:00
Qu Xuan
b31922a3b9 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:15:53 +08:00
rainzm
ee85dec1ce fix: Support filtering notification with contactType 2020-05-22 20:06:07 +08:00
Zexi Li
4561da4ea7 Merge pull request #6534 from ioito/hotfix/qx-azure-image
fix: 避免azure uefi重装系统失败
2020-05-22 19:39:00 +08:00
Zexi Li
03fa45da48 Merge pull request #6545 from rainzm/sg/export_keys
fix: Fix problem about exporting fields in scaling group
2020-05-22 19:34:50 +08:00
Zexi Li
7c8ade5e8d Merge pull request #6549 from ioito/hotfix/qx-secgroup-rule-tenant-id
fix: 返回项目信息
2020-05-22 19:33:46 +08:00
Zexi Li
5b8063bc46 Merge pull request #6551 from swordqiu/hotfix/qj-role-empty-match-polciies
fix: empty matched policies list for roles
2020-05-22 19:32:01 +08:00
Qiu Jian
728524fefc fix: empty matched policies list for roles 2020-05-22 18:47:57 +08:00
Qu Xuan
5cdeebb046 fix: 返回项目信息 2020-05-22 17:31:00 +08:00
Qu Xuan
0f2ff53847 fix: 加入Azure套餐和镜像的检查 2020-05-22 16:09:39 +08:00
rainzm
849628fe91 Fix the problem of field duplication when exporting fields 2020-05-22 15:50:54 +08:00
Qu Xuan
a9c0012006 fix: 避免azure uefi重装系统失败 2020-05-22 15:09:38 +08:00
Zexi Li
575f1c2d56 Merge pull request #6540 from ioito/hotfix/qx-azure-image-sync
fix: 避免因io问题导致同步镜像列表为空
2020-05-22 14:43:34 +08:00
rainzm
f9b7c7e571 feat(region): Check periodically whether Guest Template is valid 2020-05-22 13:57:37 +08:00
rainzm
1265e5d1e9 feat: Support vm to save server template 2020-05-22 13:57:25 +08:00
Qu Xuan
a7e1bdf6f5 fix: 避免因io问题导致同步镜像列表为空 2020-05-22 13:46:13 +08:00
Zexi Li
1e85456200 Merge pull request #6530 from ioito/hotfix/qx-rds-backup-create
fix: aliyun rds backup create fix
2020-05-22 12:37:58 +08:00
Yousong Zhou
3e09d4920b vpcagent: models: remove now boilerplate code 2020-05-22 11:10:11 +08:00
Yousong Zhou
c7fee7c760 vpcagent: apihelper: add interface IModelSetListOptionProvider
All modelsets do not need details at the moment
2020-05-22 11:10:11 +08:00
Zexi Li
5413d3c98f Merge pull request #6527 from rainzm/notify/email_verify
feat(notify): Change the format of verify email
2020-05-22 10:26:32 +08:00
Zexi Li
947d510951 Merge pull request #6531 from ioito/hotfix/qx-gcp-bucket-acl
fix: gcp bucket文件夹默认设为private
2020-05-22 10:25:55 +08:00
Zexi Li
5225aced10 Merge pull request #6525 from tb365/bugfix/tb-bugfix-0521
aws lbbg cache bugfix
2020-05-22 10:24:30 +08:00
Zexi Li
7a0a2fadfd Merge pull request #6511 from ioito/hotfix/qx-secgroup-sync
fix: 避免忽略本地allow any云上deny any安全组规则同步
2020-05-22 10:22:19 +08:00
Zexi Li
701c2bfc4c Merge pull request #6504 from yousong/bugfix/yousong-vpcagent
vpcagent: apihelper: 去除details=true查询
2020-05-22 10:21:47 +08:00
Zexi Li
a076aae248 Merge pull request #6509 from wanyaoqi/bugfix/wyq/fix-list-disk-attachable-servers
bugfix: fix list disk attachable servers
2020-05-22 10:20:17 +08:00
Zexi Li
815ef99319 Merge pull request #6535 from swordqiu/hotfix/qj-schedtag-usage
fix: usage for schetag not accurate
2020-05-22 10:19:15 +08:00
Zexi Li
ae51b32f59 Merge pull request #6528 from ioito/hotfix/qx-network-list-filter
fix: 避免regional network-list --zone导致返回结果为空
2020-05-22 10:17:55 +08:00
Zexi Li
cbd2355efc Merge pull request #6516 from swordqiu/hotfix/qj-login-without-system-privileges
fix: system privileges user cannot access system console
2020-05-22 10:15:07 +08:00
yunion-ci-robot
5612e6cf90 Merge pull request #6505 from ioito/hotfix/qx-image-upload
fix: 上传镜像为转换列表之外时,subformat状态异常
2020-05-21 23:03:50 +08:00
Qiu Jian
1dfef4dcfa fix: usage for schetag not accurate 2020-05-21 22:35:38 +08:00
Qu Xuan
ef25bf3282 fix: gcp bucket文件夹默认设为private 2020-05-21 20:53:05 +08:00
Qu Xuan
b260c04c39 fix: aliyun rds backup create fix 2020-05-21 20:36:09 +08:00
Qu Xuan
8bc4927d57 fix: 避免regional network-list --zone导致返回结果为空 2020-05-21 20:14:25 +08:00
rainzm
c706cfa272 feat(notify): Change the format of verify email 2020-05-21 19:12:52 +08:00
tangbin
d99ec57710 aws lbbg cache bugfix 2020-05-21 18:52:23 +08:00
Qiu Jian
29283ff118 fix: system privileges user cannot access system console 2020-05-21 18:36:42 +08:00
Qu Xuan
c8ba52c94a fix: 避免忽略本地allow any云上deny any安全组规则同步 2020-05-21 18:28:43 +08:00
wanyaoqi
df2e05b5b6 fix list disk attachable servers 2020-05-21 17:56:18 +08:00
Qu Xuan
1354270c51 fix: 上传镜像为转换列表之外时,subformat状态异常 2020-05-21 17:40:27 +08:00
Yousong Zhou
f5360264fe vpcagent: models: modelset: details=false for networks 2020-05-21 17:21:03 +08:00
Yousong Zhou
3a51985fcd vpcagent: models: include wires 2020-05-21 17:21:03 +08:00
Yousong Zhou
5fdd534f74 vpcagent: ovn: preparation: skip default vpc 2020-05-21 17:21:03 +08:00
Yousong Zhou
a7a3beae27 vpcagent: ovn: preparation: use network.Vpc.Id 2020-05-21 17:21:03 +08:00
Yousong Zhou
e0349f92b7 vpcagent: apihelper: use IModelSet.IncludeEmulated() 2020-05-21 17:21:03 +08:00
Yousong Zhou
5bf45ad65c vpcagent: models: modelset: add IncludeEmulated() method 2020-05-21 17:21:03 +08:00
Yousong Zhou
39a19d1c68 vpcagent: apihelper: use IModelSet.IncludeDetails() 2020-05-21 17:21:03 +08:00
Yousong Zhou
2a0cac9d49 vpcagent: models: modelset: add IncludeDetails() method 2020-05-21 17:21:03 +08:00
Yousong Zhou
9a47116a1d mcclient: options: remove implied details=true for pending_delete=all 2020-05-21 17:21:03 +08:00
Zexi Li
daf9db81dd Merge pull request #6499 from swordqiu/hotfix/qj-init-cloud-account-share-mode
fix: cloudaccount share_mode not initialized
2020-05-21 17:04:29 +08:00
Zexi Li
9b37c107c0 Merge pull request #6500 from zhaoxiangchun/bugfix/zxc-monitor-notify
Fix the problem that notify cannot be triggered when prestate = alerting and newstate = alerting
2020-05-21 16:37:48 +08:00
Zexi Li
b2f0e48b23 Merge pull request #6472 from zhaoxiangchun/bugfix/zxc-suggest-mon
suggestions  increase time screening range
2020-05-21 16:34:05 +08:00
Zexi Li
bd324238d2 Merge pull request #6487 from rainzm/fix/esxi
Fix/esxi
2020-05-21 16:32:46 +08:00
Zexi Li
b5ed7f8d74 Merge pull request #6497 from wanyaoqi/bugfix/wyq/storage-cache-image-use-lockman
bugfix: image cache use lockman
2020-05-21 16:31:40 +08:00
yunion-ci-robot
012631bb46 Merge pull request #6503 from rainzm/ansible/requirement
fix: 'requirements' in ansibleplaybookv2 should be optional
2020-05-21 15:22:43 +08:00
zhaoxiangchun
c8a0d77364 bugfix-优化建议
在删除资源列表的信息时,增加对应的状态值。如果删除失败记录相关日志
2020-05-21 15:16:45 +08:00
zhaoxiangchun
42ed0b1c5a 优化建议增加时间筛选范围
1.在时间范围内查询未使用的资源,对于存在解绑的操作,通过查询对应的日志来确定最近的使用时间
2.基于监控的优化建议,增加新的reducer,当有足够多的points时,再进行其他逻辑
2020-05-21 15:16:45 +08:00
rainzm
77e5801ad9 fix: 'requirements' in ansibleplaybookv2 should be optional 2020-05-21 14:20:48 +08:00
zhaoxiangchun
4a784c1d7f 修复当prestate=alerting,newstate=alerting的情况无法触发notify的问题 2020-05-21 13:06:22 +08:00
Qiu Jian
08eda0d44d fix: cloudaccount share_mode not initialized 2020-05-21 11:55:26 +08:00
rainzm
d710248496 fix(esxi): Modify the disk size correctly when creating vm 2020-05-21 10:49:21 +08:00
rainzm
9bb7320771 fix(esxi): Detach all disk first when deleting vm 2020-05-21 10:45:55 +08:00
rainzm
ff2fc74401 Kill processes in time & Add debug info 2020-05-21 10:45:43 +08:00
wanyaoqi
127bd0ff17 image cache use lockman 2020-05-21 10:42:32 +08:00
Zexi Li
899c31d8b4 Merge pull request #6485 from wanyaoqi/feature/wyq/add-guest-sys-usage
guest add sys usage
2020-05-21 10:02:23 +08:00
Zexi Li
0843439dba Merge pull request #6494 from yousong/bugfix/yousong-server-list-nics
guests: include vpc, network info in guest nics list
2020-05-21 10:00:19 +08:00
Yousong Zhou
b29c4b3869 guests: include vpc, network info in guest nics list 2020-05-20 22:45:16 +08:00
Zexi Li
4e64f38851 Merge pull request #6491 from zexi/hotfix/keystone-db-sync
keystone: fix db not sync
2020-05-20 17:32:10 +08:00
Zexi Li
9a6065fbf2 keystone: fix db not sync 2020-05-20 17:20:51 +08:00
rainzm
dae02ec019 fix(esxi): Remove 'Destory' operation that is unnecessary for VirtualDiskManager 2020-05-20 15:36:25 +08:00
rainzm
b6ce495d4f fix(esxi): Separate detach disk and delete disk when rebuilding.
In previous versions, set
`removeSpec.FileOperation = types.VirtualDeviceConfigSpecFileOperationDestroy'
to delete disk indirectly.

But, when its parent has only one child, the parent will be deleted along with it.
And the consequence is failure to reinstall the system.

Now, detach disk without deleteing backing file and then remove backing
2020-05-20 15:33:13 +08:00
wanyaoqi
844b865e2e add sys usage 2020-05-20 14:01:58 +08:00
Zexi Li
cd317817da Merge pull request #6481 from zexi/hotfix/region-resource-details-panic
region: fix get resource details panic
2020-05-20 14:00:05 +08:00
Zexi Li
0b70491ea0 region: fix get resource details panic 2020-05-20 13:26:10 +08:00
Zexi Li
d8d4c6f24e Merge pull request #6479 from yousong/bugfix/yousong-travis-badge
README.md: use travis-ci.com as badge target link
2020-05-20 12:54:04 +08:00
Zexi Li
b8871a4b22 Merge pull request #6474 from yousong/bugfix/yousong-region
Bugfix/yousong region
2020-05-20 12:52:59 +08:00
Zexi Li
e4e91ade65 Merge pull request #6473 from ioito/hotfix/qx-azure-resource-group
Hotfix/qx azure resource group
2020-05-20 12:52:42 +08:00
Yousong Zhou
ea373821d2 README.md: use travis-ci.com as badge target link 2020-05-20 11:55:58 +08:00
Zexi Li
a76427c3ae Merge pull request #6456 from swordqiu/hotfix/qj-cloud-provider-list-usable-filter
fix: cloudprovider list support filter by zone and cloudregion
2020-05-20 11:09:00 +08:00
Zexi Li
25a6da393d Merge pull request #6453 from ioito/hotfix/qx-azure-image-sync-optimized
fix: 优化azure image同步逻辑
2020-05-20 11:08:16 +08:00
Zexi Li
e445b22a44 Merge pull request #6434 from ioito/hotfix/qx-vhd-check
fix: 加入azure镜像vhd检查
2020-05-20 11:07:37 +08:00
Zexi Li
d4a9588335 Merge pull request #6427 from ioito/hotfix/qx-secgroup-sync-optimized
fix: 避免大范围安全组共享
2020-05-20 11:07:13 +08:00
yunion-ci-robot
adbaf6b6af Merge pull request #6461 from tb365/feature/tb-condition-release
redis&dbinstance add clean expired postpaids resources
2020-05-20 11:01:42 +08:00
Yousong Zhou
72c23e8776 networks: return HTTP 404 for sql.ErrNoRows 2020-05-20 11:00:36 +08:00
Yousong Zhou
d83a7dade5 wires: default to "default" vpc on creation
Wire creation request right now only makes sense in context of classic
network ("default" vpc)
2020-05-20 11:00:36 +08:00
Yousong Zhou
1d78510fab networks: eliminate a variable 2020-05-20 11:00:36 +08:00
Yousong Zhou
df2d98d8c2 guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE 2020-05-20 11:00:36 +08:00
Yousong Zhou
ef695acae0 cloudprovider: fix typo 2020-05-20 11:00:36 +08:00
Yousong Zhou
5499f35090 cloudcommon: rbac: fix typo 2020-05-20 11:00:36 +08:00
Zexi Li
0f9f4ec381 Merge pull request #6468 from zexi/hotfix/host-convert-docker-config
host convert inject dockerd config
2020-05-20 10:44:26 +08:00
Qu Xuan
f9b1466f44 fix: 支持公有云指定资源组 2020-05-20 10:26:32 +08:00
tangbin
0029b25f9a redis&dbinstance add clean expired postpaids resources 2020-05-19 19:42:14 +08:00
Qu Xuan
4b5f8b8d5c fix: 支持指定resource group 2020-05-19 19:33:29 +08:00
Zexi Li
9aff012b28 Merge pull request #6463 from tb365/bugfix/tb-network-ip-query-fix
add fuzzy ip matching
2020-05-19 19:15:23 +08:00
Zexi Li
6a907ec9e4 Merge pull request #6458 from ioito/hotfix/qx-zstack-windows-user-data
fix: 修复zstack使用win镜像时userdata base64加密问题
2020-05-19 19:13:41 +08:00
Zexi Li
fed036c209 Merge pull request #6462 from zexi/hotfix/server-create-params
region: fix server create params not include specified resource
2020-05-19 19:08:30 +08:00
Zexi Li
04b4e5713e host convert inject dockerd config 2020-05-19 19:07:44 +08:00
tangbin
f602979a23 add fuzzy ip matching 2020-05-19 17:39:13 +08:00
Zexi Li
4713312b32 region: fix server create params not include specified resource 2020-05-19 17:22:26 +08:00
Qu Xuan
f162ac46fe fix: 修复zstack使用win镜像时userdata base64加密问题 2020-05-19 16:45:32 +08:00
Qiu Jian
50f55c299c fix: cloudprovider list support filter by zone and cloudregion 2020-05-19 16:42:25 +08:00
Qu Xuan
b18035442e fix: 优化azure image同步逻辑 2020-05-19 16:23:37 +08:00
Zexi Li
d4217ff151 Merge pull request #6450 from zexi/feature/k8s-helm-cli
climc: update k8s resource cmd
2020-05-19 15:49:30 +08:00
Zexi Li
2a06b9f24c Merge pull request #6451 from swordqiu/hotfix/qj-ini-policy-create-fail
fix: policy create fail on initialization phrase
2020-05-19 15:48:17 +08:00
Zexi Li
9f0df58c95 climc: update k8s resource cmd 2020-05-19 15:26:02 +08:00
Qiu Jian
5b60c4fad8 fix: policy create fail on initialization phrase 2020-05-19 15:08:44 +08:00
Zexi Li
1bb2ef919c Merge pull request #6421 from ioito/hotfix/qx-metdata-list-optimized
fix: 优化标签列表过滤参数
2020-05-19 10:21:31 +08:00
Zexi Li
aa3cd307ba Merge pull request #6441 from swordqiu/hotfix/qj-fix-local-storage-ownership-sync
Hotfix/qj fix local storage ownership sync
2020-05-19 10:19:05 +08:00
Zexi Li
afa46799a1 Merge pull request #6443 from swordqiu/hotfix/qj-anonymous-user-may-list-resources
fix: anonymous user may list resources
2020-05-19 10:17:47 +08:00
Zexi Li
09381fdd73 Merge pull request #6436 from zexi/hotfix/baremetal-deploy-disable-cloud-init
baremetal: fix ssh put empty content file not created
2020-05-19 10:15:59 +08:00
Qiu Jian
f4a676575a fix: anonymous user may list resources 2020-05-19 01:13:00 +08:00
Qiu Jian
14abf05cf4 sync storage shared info when syncing local storage 2020-05-18 23:19:32 +08:00
Qiu Jian
6037f15145 update lisDescendent scope params 2020-05-18 21:58:24 +08:00
Qu Xuan
8f4e0a5e84 fix: 避免大范围安全组共享 2020-05-18 21:54:10 +08:00
Zexi Li
38c956bd10 Merge pull request #6418 from ioito/hotfix/qx-list-filter
Hotfix/qx list filter
2020-05-18 21:51:07 +08:00
Zexi Li
45ec40cac7 Merge pull request #6423 from ioito/hotfix/qx-cloudprovider-sync
fix: 避免仅同步一个region时,其余region状态变为准备中
2020-05-18 21:49:04 +08:00
Zexi Li
95ffe11c02 Merge pull request #6428 from ioito/hotfix/qx-guest-expired-time
fix: 避免设置自动释放后磁盘的expired_at失效
2020-05-18 21:47:40 +08:00
Zexi Li
ef9de2e4c1 Merge pull request #6432 from swordqiu/hotfix/qj-fix-permission-tags
fix: update fields permission tags
2020-05-18 21:47:12 +08:00
Zexi Li
541c72849a baremetal: fix ssh put empty content file not created 2020-05-18 21:43:36 +08:00
Qu Xuan
f9c794f745 fix: image-list --sub-format support 2020-05-18 21:20:33 +08:00
Qu Xuan
589a4678fa fix: 加入azure镜像vhd检查 2020-05-18 21:04:38 +08:00
Qiu Jian
d1fd245384 fix: update fields permission tags 2020-05-18 20:58:33 +08:00
Qu Xuan
3fe417c4f6 fix: 避免设置自动释放后磁盘的expired_at失效 2020-05-18 20:00:19 +08:00
Qu Xuan
33c2b5fa9d fix: 避免仅同步一个region时,其余region状态变为准备中 2020-05-18 19:36:46 +08:00
Qu Xuan
e306a4e23f fix: 优化标签列表过滤参数 2020-05-18 15:29:45 +08:00
Qu Xuan
888a5463ab 根据调度标签过滤网络和存储资源 2020-05-18 12:03:10 +08:00
Qu Xuan
6ea25e6fcc 可根据代理过滤云账号 2020-05-18 11:26:20 +08:00
Zexi Li
bbeb6be583 Merge pull request #6401 from swordqiu/hotfix/qj-permission-for-disabled-policy
fix: fail to explain permission for disabled policy
2020-05-17 14:22:15 +08:00
Zexi Li
ac67b19ae4 Merge pull request #6417 from swordqiu/feature/qj-billing-latest-last-start
feature: add functime get lastest last start time of a billing duration
2020-05-17 14:20:24 +08:00
Zexi Li
b3ca71e613 Merge pull request #6410 from zhaoxiangchun/bugfix/zxc-esxi-host-mon
Repair failed to get VMware host monitoring data
2020-05-17 14:16:38 +08:00
Zexi Li
d3cb3930a8 Merge pull request #6402 from swordqiu/hotfix/qj-disable-delete-standard-image
fix: disable delete standard image
2020-05-17 14:15:11 +08:00
Qiu Jian
81b6a766a9 feature: add functime get lastest last start time of a billing duration 2020-05-16 22:32:51 +08:00
yunion-ci-robot
03ee9901c9 Merge pull request #6408 from rainzm/vendor/update
update vendor for master
2020-05-16 22:07:08 +08:00
zhaoxiangchun
6ffb3653ae 修复无法获取vmware宿主机监控数据的问题 2020-05-16 21:15:52 +08:00
rainzm
d98b2b4053 update vendor 2020-05-16 21:02:15 +08:00
Zexi Li
d8560a0de5 Merge pull request #6394 from swordqiu/hotfix/qj-scope-system-for-agents
fix: xxx-agent should generally use scope=system to list resources
2020-05-16 17:45:42 +08:00
Zexi Li
42a55ce9b2 Merge pull request #6395 from swordqiu/hotfix/qj-server-sync-fix-nics
fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host
2020-05-16 17:44:19 +08:00
Zexi Li
b3c1b1eca5 Merge pull request #6375 from rainzm/fix/isinit
Fix/esxi
2020-05-16 17:41:24 +08:00
yunion-ci-robot
f91f381b8c Merge pull request #6388 from zexi/hotfix/baremetal-enable-public-netif
region: fix baremetal can't enable public baremetal type network
2020-05-16 17:31:07 +08:00
Qiu Jian
b312b5dacb fix: bugfixes 2020-05-16 01:04:12 +08:00
Qiu Jian
ed5463ca68 fix: disable delete standard image 2020-05-16 00:34:54 +08:00
Qiu Jian
54689d862b fix: fail to explain permission for disabled policy 2020-05-16 00:18:28 +08:00
Qiu Jian
605978a94e fix: server-sync-fix-nics should return errors if vnics ip is not
reachable on host
2020-05-15 22:14:20 +08:00
Qiu Jian
41125788fe fix: xxx-agent should generally use scope=system to list resources 2020-05-15 22:09:41 +08:00
rainzm
60a363a79a fix(esxi): Allow the creation of duplicate vcenter machines.
Create vm with name whose vlaue is localVM.Uuid and try to rename again.
2020-05-15 21:29:10 +08:00
rainzm
874ea4eb4a fix(esxi): Add usb to support mouse in vnc viewer 2020-05-15 20:58:39 +08:00
rainzm
81ffd582f6 fix(esxi): Fix GetDriver and add driver log for vdisk.
In GetDriver, return 'name' directly if driverMap is empty.
2020-05-15 20:38:45 +08:00
rainzm
33184357bf fix(esxi): Set 'WindowsDefaultAdminUser' as true when deploy vm.
'WindowsDefaultAdminUser' means that the default admin account is
'Administrator' when deploy windows vm.
2020-05-15 20:34:00 +08:00
rainzm
45305648d4 fix(region): Set default value if rootdisk's driver is empty. 2020-05-15 20:31:36 +08:00
rainzm
3530bca49f fix(esxi): Disable automatically add host to the dvs 2020-05-15 20:22:51 +08:00
Zexi Li
fe055916c3 Merge pull request #6386 from yousong/bugfix/yousong-vpcagent
Bugfix/yousong vpcagent
2020-05-15 19:59:15 +08:00
Zexi Li
80a405a8a0 region: fix baremetal can't enable public baremetal type network 2020-05-15 19:56:53 +08:00
Yousong Zhou
4d54972a9a vpcagent: ovnutil: destroy non root obj first
To avoid the following error

	/* Can't happen because of the database schema. */
	ctl_fatal("logical port %s is not part of any logical router",
		  ctx->argv[1]);
2020-05-15 16:28:17 +08:00
Yousong Zhou
6d788e052a vpcagent: ovn: cmp: generate clean args in a single batch 2020-05-15 16:28:17 +08:00
Zexi Li
66168cb8c5 Merge pull request #6379 from ioito/bugfix/qx-rds-backup-list
fix: 避免backup list未能正常显示rds信息
2020-05-15 15:29:32 +08:00
Zexi Li
cd17057364 Merge pull request #6381 from zexi/hotfix/scheduler-min-conters
scheduler: fix min counter get count not correct
2020-05-15 15:27:57 +08:00
Zexi Li
db65bf4ef0 scheduler: fix min counter get count not correct 2020-05-15 15:04:38 +08:00
Qu Xuan
d82cf4184b fix: 避免backup list未能正常显示rds信息 2020-05-15 14:29:14 +08:00
rainzm
2fe738b468 fix(esxi): Set 'IsInit' as true when rebuildroot
IsInit is true will cause cloudinit enable. When rebuilding root, if there is cloudinit service in the image, it will cover the initialization work we did on the rebuilding.
2020-05-15 11:15:39 +08:00
Zexi Li
aa254f927b Merge pull request #6346 from ioito/hotfix/qx-cloud-init
fix: 优化windows powershell userdata
2020-05-15 11:09:40 +08:00
Zexi Li
43fc7be0c0 Merge pull request #6363 from swordqiu/hotfix/qj-image-upload-public-scope
fix: set public_scope to system for image with is_public=true
2020-05-15 11:08:12 +08:00
Zexi Li
e73fb2cc31 Merge pull request #6352 from ioito/hotfix/qx-rds-sync-optimized
fix: 优化rds zone同步逻辑
2020-05-15 11:05:42 +08:00
Zexi Li
84fe0085a4 Merge pull request #6358 from zhaoxiangchun/bugfix/zxc-suggest-mon
modify the logic of queryCondition save the  evalMatch
2020-05-15 11:04:45 +08:00
zhaoxiangchun
387880164c modify the logic of queryCondition save the evalMatch 2020-05-15 10:11:16 +08:00
Qiu Jian
eb54f316c7 fix: set public_scope to system for image with is_public=true 2020-05-15 00:30:03 +08:00
Qu Xuan
fc4778f332 fix: 优化rds zone同步逻辑 2020-05-14 19:43:38 +08:00
Zexi Li
86fbbf5a65 Merge pull request #6353 from zexi/hotfix/scheduler-schedtag-empty-strategy
scheduler: filter disabled cloudprovider
2020-05-14 18:58:36 +08:00
Zexi Li
0d2ec73865 Merge pull request #6344 from tb365/bugfix/tb-bugfix-0514
allow delete paramter config
2020-05-14 18:20:41 +08:00
Zexi Li
3d74264385 Merge pull request #6338 from swordqiu/hotfix/qj-aoid-use-background-context
fix: avoid using background context
2020-05-14 18:18:21 +08:00
Zexi Li
31110901d2 Merge pull request #6336 from zhaoxiangchun/bugfix/zxc-suggest-mon
Modify the logic of rule change execution time
2020-05-14 18:17:45 +08:00
Zexi Li
2e93072691 scheduler: filter disabled cloudprovider 2020-05-14 18:09:26 +08:00
Zexi Li
811cdedc89 Merge pull request #6347 from zexi/hotfix/scheduler-schedtag-empty-strategy
scheduler: set schedtag default strategy if input empty
2020-05-14 17:49:00 +08:00
Zexi Li
e00b1fdc3b scheduler: set schedtag default strategy if input empty 2020-05-14 17:23:02 +08:00
Qu Xuan
5c6b016c2d fix: 优化windows powershell userdata 2020-05-14 16:48:30 +08:00
Qiu Jian
c35758dd08 fix: avoid using background context 2020-05-14 16:15:54 +08:00
tangbin
cbe5e88907 allow delete paramter config 2020-05-14 15:17:29 +08:00
zhaoxiangchun
e8a61b0352 修改规则执行时间
在将资源数据取到后更新执行时间
2020-05-14 14:57:21 +08:00
Zexi Li
893df7ba2b Merge pull request #6331 from tb365/bugfix/tb-bugfix-0514
clear yunionauth cookie
2020-05-14 13:02:11 +08:00
Zexi Li
17bb2398c5 Merge pull request #6333 from wanyaoqi/bugfix/wyq/rm-statefile-in-start-script
bugfix: remove statefile in start script
2020-05-14 13:01:34 +08:00
wanyaoqi
a5d2651fbf fix esxi disk disconnect 2020-05-14 12:27:41 +08:00
wanyaoqi
0fe396d5c1 remove statefile in start script 2020-05-14 12:07:21 +08:00
tangbin
75328cf081 clear yunionauth cookie 2020-05-14 11:34:02 +08:00
Zexi Li
4e75083306 Merge pull request #6140 from yousong/feature/yousong-vpc-secrules
Feature/yousong vpc secrules
2020-05-14 10:35:11 +08:00
Zexi Li
b2911d4bcd Merge pull request #6328 from swordqiu/hotfix/qj-status-resource-action-log-no-owner
fix: status-base resource's action log missing owner project/domain
2020-05-14 09:53:14 +08:00
Qiu Jian
9c26c04083 fix: status-base resource's action log missing owner project/domain 2020-05-14 01:14:40 +08:00
yunion-ci-robot
19ba882349 Merge pull request #6326 from zexi/hotfix/server-create-prefer-use-name
region: server create prefer resource fetch by name or id
2020-05-14 01:05:30 +08:00
Zexi Li
536be2ead7 region: server create prefer resource fetch by name or id 2020-05-14 00:40:20 +08:00
Zexi Li
246fe02a50 Merge pull request #6164 from zhaoxiangchun/bugfix/zxc-suggest-mon
bugfix-suggestrule cannot disable
2020-05-13 23:01:07 +08:00
Zexi Li
18e931424a Merge pull request #6087 from zhaoxiangchun/feature/zxc-influxdb-schema
在monitor的新增influxdb相关的功能
2020-05-13 22:59:41 +08:00
zhaoxiangchun
cc3f5ed196 基于监控数据的优化建议 2020-05-13 22:24:13 +08:00
zhaoxiangchun
6251d2da3f 在monitor的package中新增influxdb相关的功能
1.可以获取influxdb实例中的databases
2.可以获取指定database中的measurements
3.通过指定measurement获取其中的tags和fileds
2020-05-13 22:24:13 +08:00
Zexi Li
3f3089361c Merge pull request #6324 from swordqiu/hotfix/qj-hide-host-agent-menu
fix: host agent list use baremetalagents model
2020-05-13 21:20:53 +08:00
Qiu Jian
5c8081b6bf fix: host agent list use baremetalagents model 2020-05-13 21:04:44 +08:00
yunion-ci-robot
524a11cda8 Merge pull request #6319 from wanyaoqi/bugfix/wyq/do-close-worker-chan
bugfix: do not close appsrv worker chan
2020-05-13 20:16:03 +08:00
wanyaoqi
7bcedd41e8 do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 18:55:16 +08:00
Yousong Zhou
4962bdc7e1 vpcagent: ovn: use db.FindOneMatchByAnyIndex 2020-05-13 14:14:49 +08:00
Yousong Zhou
4f68026b84 vendor: update yunion.io/x/ovsdb 2020-05-13 14:14:49 +08:00
Yousong Zhou
579641a268 vpcagent: ovn: configure acl for lport 2020-05-13 14:14:49 +08:00
Yousong Zhou
53f3546125 vpcagent: ovnutil: OvnNbctlArgsDestroy: take into account ACL 2020-05-13 14:14:48 +08:00
Yousong Zhou
9f4daafee2 vpcagent: ovn: secgrouprules_acl 2020-05-13 14:14:48 +08:00
Yousong Zhou
1abdb4f136 vpcagent: models: sort security group rules 2020-05-13 14:14:48 +08:00
Yousong Zhou
7ba46e9289 vpcagent: models: include secgroup and rules 2020-05-13 14:14:48 +08:00
Yousong Zhou
f33a2e1770 vpcagent: apihelper: do not set details=true by default 2020-05-13 14:14:48 +08:00
Yousong Zhou
e8cbaee904 region: guests: include secgroup ids in listing 2020-05-13 14:14:48 +08:00
Yousong Zhou
654845fd49 vpcagent: ovnutil: remove old generated code 2020-05-13 14:14:48 +08:00
Yousong Zhou
cae9594da9 vpcagent: ovn: use yunion.io/x/ovsdb 2020-05-13 14:14:48 +08:00
Yousong Zhou
7c3d9d7f89 vendor: import yunion.io/x/ovsdb 2020-05-13 14:14:48 +08:00
Yousong Zhou
ffadb30c63 vendor: tidy and vendoring 2020-05-13 14:14:48 +08:00
Zexi Li
93a8f42f14 Merge pull request #6305 from swordqiu/hotfix/qj-cascade-change-owner-candidate-domain-list
fix: change-owner-candidate-domains not implemented for some resources
2020-05-13 12:46:07 +08:00
Zexi Li
38d86388aa Merge pull request #6302 from yousong/bugfix/yousong-vpcagent
vpcagent: ignore possible external subnets
2020-05-13 12:45:06 +08:00
Zexi Li
59837952e1 Merge pull request #6297 from ioito/hotfix/qx-cloudprovider-list-filter
fix: cloud-provider-list support filter by cloudregion
2020-05-13 12:43:52 +08:00
Zexi Li
7992804e47 Merge pull request #6241 from swordqiu/feature/qj-auto-login-highest-scope
feature: user login into project with highest privilege automatically
2020-05-13 12:43:20 +08:00
Zexi Li
e14a005d00 Merge pull request #6300 from ioito/bugfix/qx-manager-custom-field
fix: 避免provider错乱返回
2020-05-13 12:43:04 +08:00
Zexi Li
980e9adc18 Merge pull request #6306 from ioito/hotfix/qx-openstack-secgroup
fix: openstack 安全组规则同步
2020-05-13 12:41:26 +08:00
Zexi Li
ff10ff3769 Merge pull request #6315 from ioito/hotfix/qx-reservedips-release
fix: i-ps -> ips
2020-05-13 10:44:45 +08:00
Zexi Li
8bb53e6903 Merge pull request #6317 from swordqiu/hotfix/qj-reserved-ip-owner-filter
fix: reserved ip owner filter
2020-05-13 10:44:07 +08:00
Zexi Li
68e26f31cb Merge pull request #6292 from ioito/bugfix/qx-openstack-err
fix: 优化openstack错误处理
2020-05-13 10:42:28 +08:00
Qiu Jian
07766b7b44 fix: reserved ip owner filter 2020-05-12 21:10:56 +08:00
Qu Xuan
b0b45c4209 fix: i-ps -> ips 2020-05-12 20:26:16 +08:00
Yousong Zhou
218df2416c vpcagent: ignore possible external subnets 2020-05-12 18:05:48 +08:00
Qu Xuan
df5f5c9b9e fix: openstack 安全组规则同步 2020-05-12 17:52:33 +08:00
Qiu Jian
4a84beee0f fix: change-owner-candidate-domains not implemented for some resources 2020-05-12 17:29:52 +08:00
Qu Xuan
bd21b346a5 fix: 避免provider错乱返回 2020-05-12 17:02:08 +08:00
Zexi Li
600226fc2e Merge pull request #6280 from yousong/bugfix/yousong-elect
cloudcommon: elect: notifyOne on subscribe
2020-05-12 14:22:27 +08:00
Zexi Li
bc1c7d60bd Merge pull request #6277 from ioito/hotfix/service-metadata
fix: 支持访问其他服务的标签列表
2020-05-12 14:21:24 +08:00
Qu Xuan
2da49eb0dd fix: 优化openstack错误处理 2020-05-12 14:08:40 +08:00
Qu Xuan
d271ff69f0 fix: cloud-provider-list support filter by cloudregion 2020-05-12 14:05:25 +08:00
Zexi Li
c275e20894 Merge pull request #6224 from wanyaoqi/feature/wyq/guest-set-user
feature: guest set login account
2020-05-12 12:18:36 +08:00
Zexi Li
1ea74e089c Merge pull request #6287 from yousong/bugfix/yousong-lb-undeploy
region: lbagent: undeploy: make it idempotent
2020-05-12 11:49:54 +08:00
Zexi Li
fe7bf4b725 Merge pull request #6282 from yousong/bugfix/yousong-lb
region: lbagents: fix deleting pending_deleted objects
2020-05-12 11:43:30 +08:00
Yousong Zhou
f226d342e1 region: lbagent: undeploy: make it idempotent
Both the following three can result in the same error message "Could not
find the requested service yunion-xx: host"

  -m systemd -a 'name=yunion-xx enabled=no state=stopped daemon_reload=yes'
  -m systemd -a 'name=yunion-xx enabled=no state=stopped daemon_reload=yes force=yes'
  -m service -a 'name=yunion-xx enabled=no state=stopped'

Use of ansibleplaybookv2 is overkill and can break console expectation.
Just turn to shell module for now
2020-05-12 10:38:33 +08:00
Yousong Zhou
f890b2b180 region: lbagents: fix deleting pending_deleted objects
This was broken since the introduction of virtual object
2020-05-12 10:05:56 +08:00
Yousong Zhou
d845700cac cloudcommon: elect: notifyOne on subscribe 2020-05-11 23:26:58 +08:00
Qu Xuan
f01bed833d fix: 支持访问其他服务的标签列表 2020-05-11 21:39:32 +08:00
Zexi Li
51556009fa Merge pull request #6263 from ioito/hotfix/qx-vpc-count
fix: globalvpc count vpc
2020-05-11 21:09:29 +08:00
Zexi Li
53fce79ada Merge pull request #6265 from ioito/hotfix/qx-disk-detach
fix: 避免卸载完已删除的磁盘后,磁盘状态为ready
2020-05-11 21:09:04 +08:00
Zexi Li
e5363a2cbf Merge pull request #6270 from zexi/hotfix/scheduler-region-panic
scheduler: get region nil panic
2020-05-11 21:07:33 +08:00
Zexi Li
1603cfb2a6 Merge pull request #6275 from swordqiu/hotfix/qj-gpu-domain-filter
fix: isolated_devices domain filter not working
2020-05-11 21:06:59 +08:00
Qiu Jian
e9101ebc2e fix: isolated_devices domain filter not working 2020-05-11 20:45:14 +08:00
Zexi Li
8c3dc06cd0 Merge pull request #6257 from swordqiu/hotfix/qj-cloud-account-disabled
fix: create cloudaccount with disabled state
2020-05-11 18:18:46 +08:00
Zexi Li
3a5f3d0a4b Merge pull request #6268 from ioito/hotfix/qx-gcp-rds
fix: gcp rds 默认不使用vpc网络
2020-05-11 18:18:03 +08:00
Zexi Li
7f08417597 Merge pull request #6258 from ioito/hotfix/qx-disk-billing-type
fix: 避免aliyun磁盘计费类型多次转换
2020-05-11 18:16:43 +08:00
Qiu Jian
108613bd32 detect bmagent and hostagent service 2020-05-11 17:25:43 +08:00
Qu Xuan
8cfbf9a8fe fix: gcp rds 默认不使用vpc网络 2020-05-11 14:52:02 +08:00
Zexi Li
d049ac936e scheduler: get region nil panic 2020-05-11 14:40:21 +08:00
Qu Xuan
8a8d0f9005 fix: 避免卸载完已删除的磁盘后,磁盘状态为ready 2020-05-11 14:36:02 +08:00
Qu Xuan
b6ec2b406e fix: globalvpc count vpc 2020-05-11 14:17:09 +08:00
Qu Xuan
2560fa3457 fix: 避免aliyun磁盘计费类型多次转换 2020-05-11 14:00:32 +08:00
Qiu Jian
3b0bc38583 fix: create cloudaccount with disabled state 2020-05-11 12:44:23 +08:00
Zexi Li
1403fae69b Merge pull request #6219 from swordqiu/hotfix/qj-domain-sharing-bugfixes-20200508
fix: 1. vpc, cloudprovider should not violate the sharing limit of cl…
2020-05-11 12:37:31 +08:00
wanyaoqi
8144d2d2fb guest set login account 2020-05-11 10:48:39 +08:00
Zexi Li
70a4746afb Merge pull request #6252 from swordqiu/hotfix/qj-disk-no-valid-storage
fix: panic when disk has no valid storage_id
2020-05-11 10:00:45 +08:00
yunion-ci-robot
8bd0873c03 Merge pull request #6230 from tb365/bugfix/tb-bugfix-0508
Bugfix/tb bugfix 0508
2020-05-11 09:37:56 +08:00
yunion-ci-robot
f315557b5d Merge pull request #6237 from swordqiu/hotfix/qj-guestsecgroup-list-panic
fix: guestsecgroup-list panic
2020-05-11 03:07:52 +08:00
Qiu Jian
42171cb9c9 fix: panic when disk has no valid storage_id 2020-05-11 02:42:05 +08:00
Zexi Li
5be8df6a06 Merge pull request #6247 from wanyaoqi/bugfix/wyq/fix-import-from-libvirt
bugfix: fix import from libvirt
2020-05-10 21:34:29 +08:00
Zexi Li
e6be8f0167 Merge pull request #6232 from tb365/bugfix/tb-bugfix-0509
huawei network id fix
2020-05-10 21:33:15 +08:00
wanyaoqi
1ba2d92e66 fix import from libvirt 2020-05-10 20:41:37 +08:00
Zexi Li
2dd06d28cd Merge pull request #6200 from swordqiu/hotfix/qj-recode-cloud-sync-public-scope
Hotfix/qj recode cloud sync public scope
2020-05-10 19:50:05 +08:00
Zexi Li
a28646dea8 Merge pull request #6242 from yousong/bugfix/yousong-wording
disks: reword error message on bad DiskConfig struct
2020-05-10 11:28:44 +08:00
Yousong Zhou
749fd878bc disks: reword error message on bad DiskConfig struct 2020-05-10 00:15:14 +08:00
Qiu Jian
c209fdd97d feature: user login into project with highest privilege automatically 2020-05-09 23:52:52 +08:00
Qiu Jian
77f35bae2e fix: init sharing status of default vpc and default secgroup 2020-05-09 22:35:17 +08:00
Qiu Jian
bea90b4b19 fix: recode sync public_src of cloud resources 2020-05-09 21:26:01 +08:00
Qiu Jian
99ddc175ba fix: guestsecgroup-list panic 2020-05-09 21:18:32 +08:00
tangbin
002a618e79 huawei network id fix 2020-05-09 19:55:18 +08:00
tangbin
8c06b50ed9 new local lb backend fix 2020-05-09 19:21:39 +08:00
Zexi Li
ffd8ab638a Merge pull request #6221 from yousong/bugfix/yousong-proxysetting
multicloud: avoid changing transport of global default http client
2020-05-09 19:01:59 +08:00
Zexi Li
afeae6355d Merge pull request #6209 from swordqiu/hotfix/qj-domain-regional-cloud-resource-quota-keys
fix: missing methods for SDomainRegionalCloudResourceKeys
2020-05-09 18:59:57 +08:00
Zexi Li
38e22c3328 Merge pull request #6216 from swordqiu/hotfix/qj-export-bugfixes
fix: export missing keys && export panic
2020-05-09 18:58:52 +08:00
Zexi Li
41da2d94b8 Merge pull request #6213 from yousong/bugfix/yousong-vpcagent-route
vpcagent: ovn: explicitly include gateway route in classless routes
2020-05-09 18:56:58 +08:00
Zexi Li
7c8f37b441 Merge pull request #6211 from yousong/bugfix/yousong-vpcagent
vpcagent: models: ignore possible external guests
2020-05-09 18:55:28 +08:00
Zexi Li
0b6dea1d58 Merge pull request #6206 from wanyaoqi/bugfix/wyq/misc-fix-o5o8
bugfix: bm register use client token
2020-05-09 18:54:26 +08:00
Zexi Li
b9999687cf Merge pull request #6202 from rainzm/feat/ansible_playbook
Feat/ansible playbook
2020-05-09 18:54:10 +08:00
Rain
1fbfc7f220 feat/ansibleserver: Install git in Dockerfile.ansibleserver-base 2020-05-09 17:54:00 +08:00
Rain
cf514364eb feat/ansible_pb: Add climc operator for ansibleplaybooks_v2
1) ansibleplaybooksv2-run
2) ansibleplaybooksv2-stop
3) ansibleplaybooksv2-delete
2020-05-09 17:54:00 +08:00
Rain
faf32415fa feat/ansible_pb: Add IncludeRole implments 'ITask' in pkg/util/ansiblev2 2020-05-09 17:53:33 +08:00
Zexi Li
1cd7a34990 Merge pull request #6225 from yousong/bugfix/yousong-cloudnet
apigateway: handlers: register cloudnet modules
2020-05-09 17:52:30 +08:00
Zexi Li
453c7cde01 Merge pull request #6193 from zexi/hotfix/list-baremetal-scope-system
baremetal: find baremetal add scope system
2020-05-09 17:48:03 +08:00
Yousong Zhou
a70d17d6d0 apigateway: handlers: register cloudnet modules 2020-05-09 16:40:35 +08:00
Yousong Zhou
e711ae7648 multicloud: loader: guard against changing proxyFunc of default client 2020-05-09 11:59:34 +08:00
Yousong Zhou
fd3c9e5cd8 multicloud: avoid changing transport of global default http client 2020-05-09 11:28:10 +08:00
Yousong Zhou
a9061e5453 cloudprovider: add methods for getting http client
Prepare for following changes to avoid using and changing default
client settings
2020-05-09 11:27:50 +08:00
Qiu Jian
8bd0205bb6 fix: allow delete shared resource 2020-05-09 00:34:21 +08:00
Qiu Jian
f2e0fcf4e9 fix: 1. vpc, cloudprovider should not violate the sharing limit of cloud account 2.
sharing mode of host and attached local storage should be consistent. 3.
cannot change owner of shared resource
2020-05-08 23:27:28 +08:00
Qiu Jian
bfa8786767 fix: export missing keys && export panic 2020-05-08 17:25:17 +08:00
tangbin
4882a6bb2b lb acl cache add acl filter 2020-05-08 17:24:48 +08:00
Yousong Zhou
5caaccd43f vpcagent: ovn: explicitly include gateway route in classless routes 2020-05-08 16:29:14 +08:00
Yousong Zhou
4496a7bbcb vpcagent: models: ignore possible external guests 2020-05-08 15:35:23 +08:00
Qiu Jian
c7d58dee91 fix: missing methods for SDomainRegionalCloudResourceKeys 2020-05-08 14:08:31 +08:00
Zexi Li
0c45818c5c Merge pull request #6204 from tb365/bugfix/tb-apigateway-set-cookie-domain
set cookie domain
2020-05-08 11:57:18 +08:00
wanyaoqi
4f23ffb901 bm register use domain token 2020-05-08 11:56:40 +08:00
tangbin
f25bbee903 set cookie domain 2020-05-08 11:54:50 +08:00
Rain
331ba9bb37 feat/ansible_pb: Add support for requirements
You can declare the source info of the referenced role in requirements.
2020-05-08 11:08:32 +08:00
Zexi Li
068b9ec200 Merge pull request #6190 from tb365/feature/tb-apigateway-yunionauth-domain-setting
apigateway-yunionauth-domain-setting
2020-05-08 10:29:11 +08:00
Zexi Li
75fb380532 Merge pull request #6198 from swordqiu/hotfix/qj-fail-sync-share-state-for-on-premise
fix: fail to sync share state for on-premise storages
2020-05-08 10:18:16 +08:00
Zexi Li
2509a217ec Merge pull request #6194 from wanyaoqi/bugfix/wyq/minor-0507
bugfix: set host list scope system
2020-05-08 10:16:18 +08:00
Zexi Li
399c4ed874 Merge pull request #6196 from ioito/hotfix/qx-api-docs
fix: api doc(guests -> servers)
2020-05-08 10:15:57 +08:00
Qiu Jian
45b8494cdc fix: fail to sync share state for on-premise storages 2020-05-07 20:43:44 +08:00
zhaoxiangchun
cb13b2241c 修复规则无法禁用的问题 2020-05-07 20:35:55 +08:00
zhaoxiangchun
d874b52b0c bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-07 20:35:55 +08:00
Qu Xuan
6cff98f85b fix: api doc(guests -> servers) 2020-05-07 20:12:24 +08:00
wanyaoqi
6779db23f3 set host list scope system 2020-05-07 20:02:15 +08:00
Zexi Li
10f9188a5f Merge pull request #6185 from zhaoxiangchun/bugfix/zxc-gcp-monitor
修复谷歌监控无法获取的问题
2020-05-07 17:21:05 +08:00
Zexi Li
c179d84336 Merge pull request #6192 from swordqiu/feature/qj-reorganize-climc-codes
feature: reorganize climc codes
2020-05-07 17:20:10 +08:00
Qiu Jian
1843ba334d feature: reorganize climc codes 2020-05-07 16:48:37 +08:00
Zexi Li
cfc9fcedde baremetal: find baremetal add scope system 2020-05-07 13:27:36 +08:00
Zexi Li
618e721114 Merge pull request #6183 from swordqiu/hotfix/qj-missing-public-private-actionlog
fix: missing perform public/private actionlog
2020-05-07 11:38:31 +08:00
tangbin
4e9264cb22 apigateway-yunionauth-domain-setting 2020-05-07 11:33:03 +08:00
Zexi Li
1637d81aee Merge pull request #6173 from wanyaoqi/feature/wyq/support-custom-service-url
mcclient: support custom service url
2020-05-07 11:28:53 +08:00
Zexi Li
2150286e28 Merge pull request #6181 from swordqiu/hotfix/qj-shared-cloudprovided-not-accessible
fix: shared cloudprovider not accessible
2020-05-07 11:28:18 +08:00
zhaoxiangchun
d4531972dd 修复谷歌监控无法获取的问题
直接返回调用RestAPI的json格式数据
2020-05-07 11:26:15 +08:00
Zexi Li
4e325d02b2 Merge pull request #6167 from swordqiu/feature/qj-decouple-metadata-standalone-resource
feature: decouple metadata resource and standalone resource
2020-05-07 11:25:02 +08:00
Zexi Li
f4edfb9e04 Merge pull request #6168 from yousong/bugfix/yousong-dnsrecords
dnsrecords: allow updating only description …
2020-05-07 11:23:00 +08:00
Zexi Li
7d3c4af10c Merge pull request #6179 from swordqiu/hotfix/qj-shared-resource-should-not-be-deletable
fix: shared resource should not be deletable
2020-05-07 11:18:10 +08:00
Zexi Li
f0fbe90d3b Merge pull request #6174 from swordqiu/hotfix/qj-get-real-client-ip
fix: fail to fetch real client ip from httprequest
2020-05-07 11:16:11 +08:00
Qiu Jian
c473c9299e fix: missing perform public/private actionlog 2020-05-07 02:13:10 +08:00
Qiu Jian
a2a60245b2 fix: shared cloudprovider not accessible 2020-05-07 01:52:18 +08:00
Qiu Jian
6f3e18930e fix: shared resource should not be deletable 2020-05-07 01:37:41 +08:00
Qiu Jian
5ff4b9748b fix: fail to fetch real client ip from httprequest 2020-05-06 22:22:29 +08:00
wanyaoqi
26780e2c8b support custom service url 2020-05-06 22:13:58 +08:00
Yousong Zhou
2f056b9ef0 dnsrecords: allow updating only description
This commit includes the following changes

 - Eliminate unused arguments from validateModelData()
 - Remove "records" member of input data unconditionally
 - Allow updates to not include records related parameters, to allow
   updating only "description" without emitting "Empty record" error
2020-05-06 18:39:39 +08:00
Yousong Zhou
06abfccbbc dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager 2020-05-06 18:39:39 +08:00
yunion-ci-robot
68bcd4f6e5 Merge pull request #6158 from zhaoxiangchun/bugfix/zxc-paginate
bugfix mem paginate
2020-05-06 15:43:44 +08:00
Qiu Jian
722498bf9e feature: decouple metadata resource and standalone resource 2020-05-06 15:38:18 +08:00
zhaoxiangchun
7c0d704148 bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-06 11:01:16 +08:00
Zexi Li
d39d146258 Merge pull request #6153 from ioito/hotfix/qx-secgroup-cache-filter
fix: secgroupcache权限问题修复
2020-04-30 20:13:48 +08:00
Zexi Li
b4dd1d1eee Merge pull request #6151 from wanyaoqi/bugfix/wyq/minor-fix-0430
fix host details output
2020-04-30 19:08:15 +08:00
wanyaoqi
9652c97dce fix host init without etcd 2020-04-30 18:45:16 +08:00
Qu Xuan
10469342bb fix: secgroupcache权限问题修复 2020-04-30 15:31:36 +08:00
wanyaoqi
db2d02fe00 fix host details output 2020-04-30 15:04:59 +08:00
Zexi Li
8e55ffa23e Merge pull request #6147 from rainzm/fix/scaling_notification
fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify
2020-04-30 14:41:27 +08:00
Zexi Li
647aec25ce Merge pull request #6145 from wanyaoqi/hotfix/wyq/host-health-fix
host health check fix
2020-04-30 14:40:55 +08:00
Zexi Li
85fa63fab6 Merge pull request #6150 from wanyaoqi/bugfix/wyq/fix-update-input
bugfix: fix update input
2020-04-30 14:40:27 +08:00
wanyaoqi
7353622d23 fix update input 2020-04-30 11:38:15 +08:00
wanyaoqi
d727248929 fix host health 2020-04-30 11:32:16 +08:00
Rain
e67effaf3f fix/monitor: AutoScalingNotifier.ShouldNotify should call NotifierBase.ShouldNotify 2020-04-30 11:26:02 +08:00
Zexi Li
8c49248d02 Merge pull request #6123 from ioito/hotfix/qx-usage-optimized
fix: usage-handler 不统计虚拟的vpc wire
2020-04-30 10:36:02 +08:00
Zexi Li
b5d305d8bd Merge pull request #6137 from ioito/hotfix/qx-cloudaccount-create
fix: 云账号创建可以指定项目
2020-04-30 10:35:54 +08:00
Zexi Li
79fe55a600 Merge pull request #6141 from swordqiu/hotfix/qj-remove-cloud-account-sync-randomness
fix: remove cloudaccount autosync randomness
2020-04-30 10:35:30 +08:00
Zexi Li
d494c331c2 Merge pull request #6143 from swordqiu/hotfix/qj-list-lbbg-panic
fix: list lbbg panic
2020-04-30 10:35:00 +08:00
Qiu Jian
34aacdcde7 fix: list lbbg panic 2020-04-29 22:41:12 +08:00
Qiu Jian
0e03bfc275 fix: remove cloudaccount autosync randomness 2020-04-29 22:27:13 +08:00
Zexi Li
7a1f1ec922 Merge pull request #6120 from swordqiu/hotfix/qj-sysadmin-override-policy-violation
Hotfix/qj sysadmin override policy violation
2020-04-29 21:15:30 +08:00
Zexi Li
efafdbbd46 Merge pull request #6124 from tb365/feature/tb-apigateway-cookies-add-domain-setting
add cookie domain setting option
2020-04-29 21:13:24 +08:00
Zexi Li
76ede775b6 Merge pull request #6135 from zexi/feature/k8s-monitor-component
climc: k8s component add monitor options
2020-04-29 21:12:49 +08:00
Qu Xuan
c12c489e9f fix: 云账号创建可以指定项目 2020-04-29 20:04:53 +08:00
Zexi Li
ec8b24ed03 Merge pull request #6121 from zhaoxiangchun/bugfix/zxc-monitor-nodata-email
monitor服务:对于监控数据nodata情况,默认不发送邮件
2020-04-29 19:35:56 +08:00
Zexi Li
8df1559162 climc: k8s component add monitor options 2020-04-29 18:04:42 +08:00
Qiu Jian
b1647e7ebf fix: sysadmin can override policy violation check 2020-04-29 17:57:36 +08:00
tangbin
849d1d6699 add cookie domain setting option 2020-04-29 17:35:41 +08:00
Qu Xuan
d66197068d fix: usage-handler 不统计虚拟的vpc wire 2020-04-29 15:58:03 +08:00
zhaoxiangchun
e81334c0a7 monitor,对于监控数据nodata,默认不发送邮件 2020-04-29 15:17:54 +08:00
Zexi Li
4d1b93e29e Merge pull request #6118 from swordqiu/hotfix/qj-fix-cloud-account-usage-vpc
fix: cloud-account-usage vpc/storage not accurate
2020-04-29 13:11:31 +08:00
Zexi Li
1e6a4fce2f Merge pull request #6101 from rainzm/fix/auto_scaling10
Fix/Auto Scaling
2020-04-29 13:09:26 +08:00
Zexi Li
82c0de3ef4 Merge pull request #6095 from ioito/hotfix/qx-rds-password
fix: 普通用户可获取rds账号密码
2020-04-29 13:07:46 +08:00
Zexi Li
c11165ddb9 Merge pull request #6109 from ioito/hotfix/qx-gcp-os-mkdir
fix: 避免gcp创建创建文件夹失败
2020-04-29 13:07:23 +08:00
Zexi Li
d4c7e62add Merge pull request #6111 from swordqiu/hotfix/qj-prevent-policy-violation
fix: prevent policy violation
2020-04-29 13:07:04 +08:00
Zexi Li
d32cbd0088 Merge pull request #6116 from swordqiu/hotfix/qj-export-data-duplicate-key-error
fix: export files complain duplicate field name error
2020-04-29 13:06:28 +08:00
Qiu Jian
f39f838166 fix: cloud-account-usage vpc/storage not accurate 2020-04-29 01:14:29 +08:00
Qiu Jian
5c138b9199 fix: export files complain duplicate field name error 2020-04-29 00:53:44 +08:00
yunion-ci-robot
5fe7b53699 Merge pull request #6103 from ioito/bugfix/qx-openstack-storage-sync
fix: 修复openstack存储同步问题
2020-04-28 23:35:34 +08:00
Qiu Jian
ecb483b9be fix: prevent policy violation 2020-04-28 23:28:29 +08:00
Qu Xuan
b805d3495a fix: 避免gcp创建创建文件夹失败 2020-04-28 20:43:33 +08:00
Zexi Li
91e9f91c10 Merge pull request #6092 from wanyaoqi/feature/wyq/gpu-host-enable-hugepage
feature: gpu host enable huge page
2020-04-28 16:04:40 +08:00
Zexi Li
464d689697 Merge pull request #6034 from wanyaoqi/feature/wyq/enable-etcd-lock2
Feature/wyq/enable etcd lock2
2020-04-28 16:01:42 +08:00
Qu Xuan
e43af577b6 fix: 修复openstack存储同步问题 2020-04-28 14:45:26 +08:00
Rain
352e912c29 fix/as: Set ScalingPolicy's project as its ScalingGroup's project 2020-04-28 11:13:59 +08:00
Qu Xuan
0ff17ebeff fix: 普通用户可获取rds账号密码 2020-04-28 10:34:35 +08:00
wanyaoqi
5158a509ee enable etcd lock 2020-04-28 10:33:13 +08:00
wanyaoqi
38c1c70a27 host health check 2020-04-28 10:33:12 +08:00
yunion-ci-robot
0537897fb4 Merge pull request #6094 from zexi/bugfix/climc-completion
climc: remove stale zsh completion code
2020-04-27 22:05:33 +08:00
Zexi Li
16adec3a5b climc: remove stale zsh completion code 2020-04-27 21:07:34 +08:00
Zexi Li
b6562f1d27 Merge pull request #6085 from yousong/bugfix/yousong-proxysetting
region: cloudaccounts: re-validate only when proxysetting changed
2020-04-27 20:59:09 +08:00
Zexi Li
94cb6bc029 Merge pull request #6090 from yousong/bugfix/yousong-vpc-distgw
vpcagent: tmp replacement for db.FindByIndex()
2020-04-27 20:51:59 +08:00
Yousong Zhou
503735ebf5 vpcagent: ad-hoc replacement for db.FindByIndex() 2020-04-27 20:06:47 +08:00
wanyaoqi
98377116f3 gpu host enable huge page 2020-04-27 20:02:22 +08:00
Yousong Zhou
d716405eb9 region: cloudaccounts: re-validate only when proxysetting changed 2020-04-27 17:26:08 +08:00
Zexi Li
58d9018092 Merge pull request #6075 from yousong/bugfix/yousong-vpc-distgw
vpcagent: work around nics of pending deleted guest
2020-04-27 17:18:42 +08:00
Zexi Li
535b5a522f Merge pull request #6079 from ioito/hotfix/qx-gcp-region-status
fix: gcp fake region status
2020-04-27 17:17:36 +08:00
Zexi Li
8cd94f472c Merge pull request #6077 from swordqiu/hotfix/qj-cloud-account-usage-not-accurate
fix: cloudaccount usage region/zone count not accurate
2020-04-27 17:16:53 +08:00
Zexi Li
a426100b50 Merge pull request #6024 from zhaoxiangchun/feature/zxc-suggest-mon
lb 负载均衡优化建议
2020-04-27 17:16:09 +08:00
Zexi Li
75801db65b Merge pull request #6081 from wanyaoqi/bugfix/wyq/fix-esxi-convert-diskpath
bugfix: fix exsi convert disk path
2020-04-27 17:14:23 +08:00
Zexi Li
1f343877b9 Merge pull request #6083 from zexi/feature/k8s-monitor-component
climc: add k8s monitor component
2020-04-27 17:13:41 +08:00
Yousong Zhou
09cc38f962 vpcagent: models: allow guest to have multiple vpc nics 2020-04-27 17:08:21 +08:00
Yousong Zhou
11835889c0 vpcagent: work around nics of pending deleted guest 2020-04-27 16:56:44 +08:00
Rain
be5c539e94 fix/autoscaling: Chang the format of CoolingTime 2020-04-27 16:10:17 +08:00
Zexi Li
90618466b2 climc: add k8s monitor component 2020-04-27 16:08:39 +08:00
Zexi Li
5fdf202b40 Merge pull request #6068 from ioito/hotfix/qx-google-subaccount
fix: gcp use project name for cloudprovider
2020-04-27 16:03:04 +08:00
Qu Xuan
86251d1ca3 fix: gcp fake region status 2020-04-27 15:55:07 +08:00
wanyaoqi
9c4d3c62b3 fix exsi convert disk path 2020-04-27 15:54:17 +08:00
Qiu Jian
8d7bc247c9 fix: cloudaccount usage region/zone count not accurate 2020-04-27 15:52:47 +08:00
yunion-ci-robot
adc5138781 Merge pull request #6073 from rainzm/fix/eamil_verify_url
fix/notify: remove 'v2' from email verify url
2020-04-27 14:38:32 +08:00
Qu Xuan
139b9592c8 fix: gcp use project name for cloudprovider 2020-04-27 14:15:38 +08:00
Zexi Li
230ef05484 Merge pull request #5853 from wanyaoqi/feature/wyq/host-health2
host health check
2020-04-27 12:55:05 +08:00
Zexi Li
75a4d01a59 Merge pull request #6062 from rainzm/fix/notify_timeout
fix/notify: Add deadline for rpc client
2020-04-27 12:47:57 +08:00
yunion-ci-robot
cbab5be0cc Merge pull request #6041 from tb365/bugfix/tb-yunionapi-fix-0426
yunionapi reset password fix
2020-04-27 12:07:31 +08:00
Rain
9aa132cf37 fix/notify: remove 'v2' from email verify url 2020-04-27 11:30:35 +08:00
Zexi Li
7f96ad4844 Merge pull request #6059 from swordqiu/hotfix/qj-cloud-account-usage-fix
fix: cloud-account/provider usage not accurate
2020-04-27 10:55:06 +08:00
Zexi Li
f33f48ef43 Merge pull request #6052 from wanyaoqi/bugfix/wyq/minor-fix200426
region: fix host cmt bound, minor fix
2020-04-27 10:54:37 +08:00
Zexi Li
bc61d77f45 Merge pull request #6050 from swordqiu/feature/qj-baremetal-options-management
feature: make baremetal options managed by service config
2020-04-27 10:53:22 +08:00
Zexi Li
92cad6e8c8 Merge pull request #6054 from rainzm/fix/auto_scaling9
Fix/auto scaling & guest template
2020-04-27 10:52:03 +08:00
Rain
e1c63729d9 fix/notify: Add deadline for rpc client 2020-04-27 10:41:45 +08:00
Qiu Jian
912bf5c699 fix: cloud-account/provider usage not accurate 2020-04-27 02:10:23 +08:00
wanyaoqi
af6c6fee88 host health check 2020-04-26 21:44:02 +08:00
tangbin
32e4ae98ca yunionapi reset password fix 2020-04-26 21:34:32 +08:00
Qiu Jian
ee9289c231 feature: make baremetal options managed by service config 2020-04-26 21:24:21 +08:00
Zexi Li
bc12970351 Merge pull request #6042 from tb365/bugfix/tb-elb-bugfix-0426
Bugfix/tb elb bugfix 0426
2020-04-26 21:06:06 +08:00
Zexi Li
a781e95042 Merge pull request #6022 from yousong/bugfix/yousong-vpc-distgw
vpcagent: fend off non-onecloud-vpc guest nics
2020-04-26 21:04:25 +08:00
Zexi Li
96ec33d1cf Merge pull request #6020 from swordqiu/hotfix/qj-opslog-fetch-owner-id-fail
fix: opslog FetchOwnerId fail
2020-04-26 21:03:51 +08:00
Rain
09d7aaf392 fix/autoscaling: Change Sunday as 7 from 0 2020-04-26 20:59:50 +08:00
Rain
203bdb2dfb fix/guesttemplate: Change ResetPassword as true default 2020-04-26 20:59:50 +08:00
Rain
4d8e0ba1b4 fix/autoscaling: fix some problem
1. ScalingGroupGuestManger.Query 默认添加 NotEqual(...)
2. ScalingGroup.Scale 扩大锁的粒度,更新冷却时间也挪到这里面
3. climc 中增加 scaling-group-show
2020-04-26 20:59:44 +08:00
wanyaoqi
b05d22834f host fix cmt bound, minor fix 2020-04-26 20:52:42 +08:00
Zexi Li
d0fee09382 Merge pull request #6040 from tb365/bugfix/tb-ctyun-subnet-fix-0426
ctyun subnet create bugfix
2020-04-26 20:31:12 +08:00
tangbin
7b6f45789b aws elb health check type fix 2020-04-26 20:04:40 +08:00
Zexi Li
03824a1f22 Merge pull request #6013 from swordqiu/hotfix/qj-network-allocate-shared-ipaddr
fix: network allocation according to sharing status
2020-04-26 19:58:50 +08:00
yunion-ci-robot
95978b2f44 Merge pull request #6036 from swordqiu/hotfix/qj-proxysetting-domain-privilege
fix: proxysetting attributes should be domain-settable
2020-04-26 19:58:42 +08:00
Zexi Li
1b15eb51b2 Merge pull request #6038 from wanyaoqi/bugfix/wyq/minor-fix200426
region misc bugfix:
2020-04-26 19:57:36 +08:00
tangbin
b62727ae05 huawei elb cookie timeout fix 2020-04-26 19:53:13 +08:00
yunion-ci-robot
853d3a6a7e Merge pull request #6008 from swordqiu/hotfix/qj-get-on-premise-underlay-network
fix: GetOnPremiseNetworkOfIP should return underlay networks
2020-04-26 19:48:33 +08:00
tangbin
8618be1fd2 ctyun subnet create bugfix 2020-04-26 19:04:37 +08:00
Yousong Zhou
06ea1b1706 guestnetworks: try allocation of mapped addr on sync 2020-04-26 18:52:58 +08:00
Yousong Zhou
25d1c36932 region: vpcs_mapped_address: fix locking 2020-04-26 18:52:58 +08:00
Yousong Zhou
138b596ec4 region: vpcs_mapped_address: alloc guestnic mapped addr backwards 2020-04-26 18:52:58 +08:00
Yousong Zhou
64f269ac2f guests: simplify code 2020-04-26 18:52:58 +08:00
Yousong Zhou
0e16bf8ff4 hostman: options: pack up a Parse() func 2020-04-26 18:52:58 +08:00
Yousong Zhou
16ced399a5 vpcagent: fend off non-onecloud-vpc guest nics 2020-04-26 18:52:58 +08:00
wanyaoqi
9a7c7623cd misc bugfix:
- fix get details hosts
- save image enable generate_name
- network auto set dns
- fix servers filter by disk
2020-04-26 18:31:55 +08:00
Zexi Li
c7d5c761ac Merge pull request #6028 from ioito/bugfix/qx-openstack-sync
fix: json unmarshal
2020-04-26 18:19:00 +08:00
Qiu Jian
6faa4d91a1 make DIRECT proxysettting default share to system 2020-04-26 17:33:39 +08:00
Qiu Jian
1e81c79adf fix: proxysetting attributes should be domain-settable 2020-04-26 16:50:51 +08:00
Zexi Li
b1db63dae2 Merge pull request #6006 from swordqiu/hotfix/qj-gcp-account-project-id-name-conflict
Hotfix/qj gcp account project id name conflict
2020-04-26 16:36:03 +08:00
Qu Xuan
b48dbbc5c8 fix: json unmarshal 2020-04-26 15:50:32 +08:00
Qiu Jian
d4600430a5 fix: resolve parameter name conflict in google cloud account create
input
2020-04-26 11:42:18 +08:00
zhaoxiangchun
fc05c2d0e9 lb 负载均衡优化建议
通过判断是否包含后端服务器组和后端服务实例进行判断
2020-04-26 11:38:11 +08:00
Qiu Jian
1882232b4c fix: opslog FetchOwnerId fail 2020-04-26 11:35:59 +08:00
Qiu Jian
68c03778a2 fix: network allocation according to sharing status 2020-04-26 00:36:30 +08:00
yunion-ci-robot
74eef22025 Merge pull request #6014 from zexi/hotfix/scheduler-free-port
scheduler: fix network predicate get wrong free port
2020-04-26 00:28:32 +08:00
Zexi Li
f39c829595 scheduler: fix network predicate get wrong free port 2020-04-25 23:23:43 +08:00
Qiu Jian
2498af7c38 fix: GetOnPremiseNetworkOfIP should return underlay networks 2020-04-25 16:27:53 +08:00
Zexi Li
e7550b781d Merge pull request #6004 from swordqiu/hotfix/qj-name-validator-revisited
fix: dns name pattern revisited
2020-04-25 10:44:27 +08:00
Zexi Li
1ca876b163 Merge pull request #6007 from swordqiu/hotfix/qj-update-api-docs-url
fix: update README api docs url to v2
2020-04-25 10:42:54 +08:00
Qiu Jian
5f4f11bee4 fix: update README api docs url to v2 2020-04-24 23:33:26 +08:00
Qiu Jian
61051b843f fix: dns name pattern revisited 2020-04-24 21:52:09 +08:00
yunion-ci-robot
b75dcf6107 Merge pull request #5911 from yousong/feature/yousong-vpc-distgw
Feature/yousong vpc distgw
2020-04-24 21:08:29 +08:00
Zexi Li
0d79d42e28 Merge pull request #6002 from swordqiu/hotfix/qj-fix-document-gen-codes
fix: code autogen issues
2020-04-24 20:33:10 +08:00
Zexi Li
a725b53641 Merge pull request #5978 from rainzm/fix/auto_scaling8
Fix/Auto Scaling
2020-04-24 20:30:19 +08:00
Qiu Jian
7ab3a06b46 fix: code autogen issues 2020-04-24 20:19:43 +08:00
Rain
16226becf7 fix/autoscaling: Add 'scaling_group_id' for server-list result 2020-04-24 19:33:59 +08:00
Rain
32280e2145 fix/autoscaling: Add status 'pending_remove' for ScalingGroup_Guest
The status 'pending_remove' means that the guest described by
ScalingGroup_Guest has been pendingdeleted or deleted.
2020-04-24 19:33:46 +08:00
Yousong Zhou
f05e16bd1b hostman: let sdnagent do port cleanup
ovsutils.CleanHiddenPorts() is buggy in that it has no regards for
patch ports
2020-04-24 18:32:09 +08:00
Yousong Zhou
279e68ae09 hostman: options: add ovn_mapped_bridge 2020-04-24 18:32:09 +08:00
Yousong Zhou
5acbec4529 hostman: options: add allow_xx_vms 2020-04-24 18:32:09 +08:00
Yousong Zhou
d2c0ba4d5a vpcagent: ovn: use network.GuestDns when available 2020-04-24 18:32:09 +08:00
Yousong Zhou
05c38c8130 vpcagent: ovn: manage static routes 2020-04-24 18:32:08 +08:00
Yousong Zhou
0578d6c498 vpcagent: ovn: guestnetwork: guard against empty dhcpopt 2020-04-24 18:32:08 +08:00
Yousong Zhou
1c50ffb216 vpcagent: ovn: rename subnet, guestnetwork ovn obj names 2020-04-24 18:32:08 +08:00
Yousong Zhou
38354229b8 vpcagent: ovn: use cmp() when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
d8e419cfae vpcagent: ovn: use cmp() 2020-04-24 18:32:08 +08:00
Yousong Zhou
4d3eba9bac vpcagent: add cmp() for search and pre-cleanup 2020-04-24 18:32:08 +08:00
Yousong Zhou
e6bb3397d1 vpcagent: ovn: make host ls when claimVpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
e4ad3f4194 vpcagent: models: include guest, host 2020-04-24 18:32:08 +08:00
Yousong Zhou
ff2686689c guests: always include host_id in desc 2020-04-24 18:32:08 +08:00
Yousong Zhou
9990ad3bcc guestnetworks: add vpc id and mapped ip addr info to nic desc 2020-04-24 18:32:08 +08:00
Yousong Zhou
3142957f5b guestnetworks,hosts: add alloc mapped ip addr for use in onecloud vpc 2020-04-24 18:32:08 +08:00
Yousong Zhou
12639e027b apis: add ovn distgw const definitions 2020-04-24 18:32:08 +08:00
Zexi Li
fd82d1ed0f Merge pull request #5995 from yousong/bugfix/yousong-lb
lblistener: fix updating lblistener without backend_group field
2020-04-24 18:17:10 +08:00
Zexi Li
5be072b7c9 Merge pull request #5993 from yousong/bugfix/yousong-misc
cloudcommon: allow create:"domain" tag
2020-04-24 14:45:34 +08:00
Yousong Zhou
1224cd819f lblistener: fix updating lblistener without backend_group field
Fixes dd01610931 ("lblistener: allow setting http/https listener
backendgroup to empty")
2020-04-24 14:21:25 +08:00
Yousong Zhou
14389667a4 cloudcommon: allow create:"domain" tag
Fixes panic: model manager hosts: column manager_uri has invalid tag
create:"domain", expecting [required optional domain_required
domain_optional admin_required admin_optional]
2020-04-24 14:13:30 +08:00
Zexi Li
7688a13453 Merge pull request #5985 from ioito/hotfix/qx-rds-optimized
fix: 避免rds任务交叉运行
2020-04-24 14:10:48 +08:00
Qu Xuan
5754fe90c5 fix: 避免rds任务交叉运行 2020-04-24 11:27:38 +08:00
Zexi Li
69ae7cab65 Merge pull request #5971 from rainzm/fix/guest_disk
feat(region): Structured diskinfo and add 'Id', 'Name' field
2020-04-24 11:22:01 +08:00
Zexi Li
30bbae6979 Merge pull request #5982 from swordqiu/hotfix/qj-domain-resource-fields-use-domain-tags
fix: domain resources' field tags should changed to domain tags
2020-04-24 11:15:07 +08:00
Zexi Li
681cc963b2 Merge pull request #5984 from zexi/feature/climc-zsh-completion
climc: support zsh completion
2020-04-24 11:14:20 +08:00
Zexi Li
e884f4b6f0 climc: support zsh completion 2020-04-24 01:48:00 +08:00
Zexi Li
1ff15c33b9 Merge pull request #5960 from swordqiu/hotfix/qj-opslog-create-fail
Hotfix/qj opslog create fail
2020-04-24 01:37:18 +08:00
Zexi Li
0493932f94 Merge pull request #5975 from ioito/hotfix/cloud-event-filter
fix: 添加cloudevent过滤参数
2020-04-24 01:36:10 +08:00
Zexi Li
fef17c5106 Merge pull request #5979 from ioito/hotfix/qx-cloudevent-sync-optimized
fix: cloudevent使用代理优化
2020-04-24 01:35:04 +08:00
Qiu Jian
ee42b9c014 fix: domain resources' field tags should changed to domain tags 2020-04-23 22:10:22 +08:00
yunion-ci-robot
7ff622b740 Merge pull request #5973 from tb365/bugfix/tb-bugfix-0423
aliyun create elb listener fix
2020-04-23 20:23:53 +08:00
Rain
8c4b025dc3 feat(region): Structured diskinfo and add 'Id', 'Name' field 2020-04-23 18:01:30 +08:00
Qu Xuan
cea9cf95b5 fix: cloudevent使用代理优化 2020-04-23 17:52:43 +08:00
Rain
39d5603af8 fix/autoscaling: Change ScalingPolicy as VirtualResource 2020-04-23 17:23:45 +08:00
Rain
acb4d1cabe fix/autoscaling: Use UserCred's session but AdminSession to request monitor 2020-04-23 17:21:21 +08:00
Qu Xuan
a5b6e894b4 fix: 添加cloudevent过滤参数 2020-04-23 17:11:44 +08:00
tangbin
a06f7e7b50 aliyun create elb listener fix 2020-04-23 16:29:36 +08:00
yunion-ci-robot
8cbae70a50 Merge pull request #5915 from ioito/hotfix/qx-project-sync
fix: 自动创建项目
2020-04-23 13:39:51 +08:00
Qiu Jian
1b861a41f9 fix: opslog create fail 2020-04-23 11:07:05 +08:00
Zexi Li
cbf5ef8547 Merge pull request #5966 from swordqiu/feature/qj-redfish-supermicro-support
supermicro redfish support
2020-04-23 09:52:59 +08:00
Qiu Jian
98cec09a63 supermicro redfish support 2020-04-23 09:25:19 +08:00
Zexi Li
c34b27a563 Merge pull request #5928 from yousong/bugfix/yousong-lbagent
lbagent: fend off unexpected resources just in case
2020-04-23 00:06:48 +08:00
Zexi Li
4bf9112c99 Merge pull request #5958 from wanyaoqi/bugfix/wyq/fix-check-ca-cert
fix check ca cert
2020-04-23 00:05:30 +08:00
Zexi Li
7b8a098a61 Merge pull request #5944 from rainzm/fix/auto_scaling7
fix(region): Add implements about owner for ScalingPolicy and ScalingActivity
2020-04-23 00:04:07 +08:00
Zexi Li
231ffc2a6d Merge pull request #5921 from swordqiu/hotfix/qj-find-anonymous-struct-needs-pointer
fix: FindAnonymousStructPoint needs input as a pointer to struct
2020-04-23 00:02:22 +08:00
Zexi Li
f74a74c35b Merge pull request #5918 from ioito/hotfix/qx-huawei-project
fix: 修复华为云eneterprise-project-list异常问题
2020-04-23 00:01:40 +08:00
Zexi Li
e5d6479b46 Merge pull request #5919 from ioito/hotfix/qx-public-region-sync-name
fix: 非私有云同步region name
2020-04-22 23:59:29 +08:00
Zexi Li
fb0ccca7b4 Merge pull request #5956 from wanyaoqi/feature/wyq/add-sync-disk-snapshot-status
support sync disk snapshot status
2020-04-22 23:58:27 +08:00
Zexi Li
6f01d26471 Merge pull request #5931 from ioito/hotfix/qx-azure-vm-disk-sync
fix: 转换非标准存储类型到lrs
2020-04-22 23:57:08 +08:00
Zexi Li
4d95879a26 Merge pull request #5945 from tb365/bugfix/tb-bugfix-042201
huawei elb sync vpc
2020-04-22 23:55:24 +08:00
Zexi Li
a1fa14e62e Merge pull request #5961 from swordqiu/hotfix/qj-clean-validate-create-data-pending-usage
fix: clean pending usage caused by pre-validate-create-data
2020-04-22 23:54:09 +08:00
Zexi Li
53814a93cf Merge pull request #5951 from zexi/hotfix/baremetal-ipmi-reboot
baremetal: ensure power up add retries
2020-04-22 23:50:30 +08:00
Qiu Jian
2297c6e963 fix: clean pending usage caused by pre-validate-create-data 2020-04-22 23:38:08 +08:00
Zexi Li
5693ae05da baremetal: ensure power up add retries 2020-04-22 22:05:49 +08:00
wanyaoqi
cf0cf484ae fix check ca cert 2020-04-22 21:59:43 +08:00
wanyaoqi
54596fc429 support sync disk snapshot status 2020-04-22 20:53:12 +08:00
tangbin
bd0a8f709b huawei elb sync vpc 2020-04-22 20:26:55 +08:00
Rain
6e9366f569 fix(region): Add implements about owner for ScalingPolicy and ScalingActivity 2020-04-22 20:23:56 +08:00
Qiu Jian
f82543e236 fix: lb FetchCustomizedColumes fixes 2020-04-22 20:19:39 +08:00
yunion-ci-robot
5d4f7eabee Merge pull request #5927 from tb365/bugfix/tb-bugfix-0422
remove aws invalid backendgroup
2020-04-22 19:50:51 +08:00
Qu Xuan
0f2e997f6d fix: 转换非标准存储类型到lrs 2020-04-22 18:52:35 +08:00
Yousong Zhou
7f982d5b29 lbagent: fend off unexpected resources just in case
As resource we do not know whether they are bad, but surely we know
they are not what we expect
2020-04-22 18:46:18 +08:00
Qiu Jian
b7b496676e fix: is_managed filter is not accurate 2020-04-22 18:35:07 +08:00
tangbin
674764208c remove aws invalid backendgroup 2020-04-22 18:29:26 +08:00
Qiu Jian
ead8825dc2 fix: FindAnonymousStructPoint needs input as a pointer to struct 2020-04-22 18:04:04 +08:00
Qu Xuan
86087b9acb fix: 非私有云同步region name 2020-04-22 17:58:20 +08:00
Zexi Li
e55bb827a1 Merge pull request #5916 from rainzm/fix/host_tag
fix(host): No tag when tag's value is empty
2020-04-22 17:41:01 +08:00
Zexi Li
941e16659f Merge pull request #5913 from rainzm/fix/auto_scaling6
fix(region): Fix problems for Auto Scaling
2020-04-22 17:38:12 +08:00
yunion-ci-robot
0ad74a1d8f Merge pull request #5879 from wanyaoqi/feature/wyq/keystone-store-service-cert
keystone store service cert
2020-04-22 17:36:52 +08:00
Qu Xuan
4d71f7e2a3 fix: 修复华为云eneterprise-project-list异常问题 2020-04-22 16:57:22 +08:00
Rain
72716b8d5b fix(host): No tag when tag's value is empty 2020-04-22 16:46:09 +08:00
wanyaoqi
b682e1b44e keystone store service cert 2020-04-22 16:37:42 +08:00
Qu Xuan
72fb9a58d0 fix: 自动创建项目 2020-04-22 16:33:44 +08:00
Rain
4f27908fff fix(region): Fix problems for Auto Scaling
1. ScalingPolicyManager and ScalingActivityManager override ResourceScope.
2. Change 'tenant' as 'project_id' before requesting to forcast.
2020-04-22 16:30:46 +08:00
Zexi Li
087a2a1ef3 Merge pull request #5900 from ioito/hotfix/qx-google-retry
fix: 尽量避免因代理问题导致google request异常
2020-04-22 15:11:54 +08:00
Zexi Li
c45279ddd9 Merge pull request #5903 from ioito/hotfix/qx-resouce-group
fix: esxi disk project sync
2020-04-22 15:10:54 +08:00
Zexi Li
d868de668e Merge pull request #5904 from swordqiu/hotfix/qj-not-share-project-resource-by-default
fix: do not share porject resource by default
2020-04-22 15:10:25 +08:00
Zexi Li
5838b7ecc6 Merge pull request #5906 from swordqiu/hotfix/qj-blacklist-keystone-reset-admin-pass-option
fix: blacklist keystone reset admin password
2020-04-22 15:06:40 +08:00
Qiu Jian
7655f8e2a2 fix: blacklist keystone reset admin password 2020-04-22 15:00:18 +08:00
Qiu Jian
ea254c8ed8 fix: do not share porject resource by default 2020-04-22 11:50:33 +08:00
Qu Xuan
039644e89f fix: esxi disk project sync 2020-04-22 11:02:39 +08:00
Qu Xuan
f7bf34ee18 fix: 尽量避免因代理问题导致google request异常 2020-04-22 10:47:27 +08:00
Zexi Li
5256c0f5d7 Merge pull request #5890 from swordqiu/hotfix/qj-policy-details-updated-created-time
fix: policy details should carry updated_at and created_at fields
2020-04-22 10:34:20 +08:00
Zexi Li
548e36a140 Merge pull request #5895 from swordqiu/hotfix/qj-delete-idp-clean-users
fix: delete idp also delete users/groups in target domain
2020-04-22 10:33:37 +08:00
Zexi Li
a952d7f8e5 Merge pull request #5884 from ioito/hotfix/qx-external-project-sync
fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:17 +08:00
Zexi Li
fe68b9598f Merge pull request #5882 from swordqiu/feature/qj-climc-support-auth-by-token
feature: climc support auth by token
2020-04-22 10:31:56 +08:00
Zexi Li
931edc6e79 Merge pull request #5881 from ioito/hotfix/qx-resouce-group
Hotfix/qx resouce group
2020-04-22 10:31:40 +08:00
Qiu Jian
3118a1020f fix: delete idp also delete users/groups in target domain 2020-04-21 23:47:42 +08:00
Qiu Jian
4c313f5a26 fix: policy details should carry updated_at and created_at fields 2020-04-21 22:37:06 +08:00
Qu Xuan
1ef9a481c3 VMware resource pool同步 2020-04-21 21:17:14 +08:00
Qu Xuan
bf57b829ae fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:12:56 +08:00
Qiu Jian
7de51b9d70 feature: climc support auth by token 2020-04-21 18:37:04 +08:00
Qu Xuan
3a0b5c5e21 fix: 华为企业项目映射同步 2020-04-21 18:34:51 +08:00
Qu Xuan
f5ed692171 fix: 阿里云资源组同步 2020-04-21 16:17:40 +08:00
Zexi Li
d9575b2078 Merge pull request #5875 from swordqiu/hotfix/qj-list-item-export-recode
fix: list item export recode
2020-04-21 13:03:29 +08:00
Qiu Jian
880b0ecf4d fix: list item export recode 2020-04-21 11:45:36 +08:00
Zexi Li
3d70163ee9 Merge pull request #5873 from swordqiu/hotfix/qj-misc-bugfix-20200420
fix: cloudaccount is created as system shared by default
2020-04-21 10:27:42 +08:00
Zexi Li
6419d39f87 Merge pull request #5872 from rainzm/feat/eip_autoDellocate
feat(region): Add 'EipAutoDellocate' option when creating vm
2020-04-21 10:26:58 +08:00
Zexi Li
6578038158 Merge pull request #5877 from swordqiu/hotfix/qj-rip-gpu-adjust-scope
fix: adjust scope of isolated_device and reservedips
2020-04-21 10:24:49 +08:00
Qiu Jian
1c78817aba fix: adjust scope of isolated_device and reservedips 2020-04-21 00:36:55 +08:00
Qiu Jian
e0fc57bea1 fix: cloudaccount is created as system shared by default 2020-04-20 22:42:17 +08:00
Rain
7271544618 feat(region): Add 'EipAutoDellocate' option when creating vm
This option specify whether the eip created with vm will be released when deleting vm.
2020-04-20 21:53:26 +08:00
Zexi Li
a0f1bd0c3a Merge pull request #5856 from ioito/hotfix/qx-err-show
fix: show sql connection error
2020-04-20 20:55:13 +08:00
Zexi Li
1e78dfb21b Merge pull request #5854 from rainzm/fix/snapshotpolicy_display
fix(region): Add CustomizeListFilter for snapshotpolicy
2020-04-20 20:54:28 +08:00
Zexi Li
a63757d343 Merge pull request #5870 from rainzm/fix/auto_scaling5
fix(region): Fix problems for Auto Scaling
2020-04-20 20:53:29 +08:00
Zexi Li
4d772ef4d7 Merge pull request #5863 from zhaoxiangchun/bugfix/zxc-monitor-mail
Bugfix/zxc monitor mail
2020-04-20 20:52:56 +08:00
Zexi Li
de7c9c48a7 Merge pull request #5865 from tb365/bugfix/tb-bugfix-0420
lblis & lbbg & lbr & lbb create add fetch owner id
2020-04-20 20:50:47 +08:00
zhaoxiangchun
6c3daec4ce 优化邮件格式
1.邮件主题中的报警级别和web页面进行对应
2.向onecloud发送邮件时,通过html/template进行格式化
2020-04-20 20:34:52 +08:00
Rain
7d52e5de80 fix(region): Fix problems for Auto Scaling
1. 支持 scaling group 根据 enable 过滤
2. 周期策略返回开始时间
3. scaling controller 在创建机器之前先调用 scheduler 的 forcast 接口
4. 修复健康状态检查的一个问题
2020-04-20 19:31:43 +08:00
tangbin
c977fd02ce lblis & lbbg & lbr & lbb create add fetch owner id 2020-04-20 18:51:05 +08:00
Rain
a9b7ca5202 fix(region): Add CustomizeListFilter for snapshotpolicy 2020-04-20 17:33:40 +08:00
Qu Xuan
9cb2727bf1 fix: show sql connection error 2020-04-20 16:47:36 +08:00
3208 changed files with 301766 additions and 77548 deletions

View File

@@ -13,7 +13,7 @@ jobs:
- checkout
- run:
command: |
make check
make -j3 check
build:
requires:
- check
@@ -38,7 +38,7 @@ jobs:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make $targets
make -j2 $targets
ls -lh _output/bin/
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
@@ -55,6 +55,7 @@ jobs:
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
parallelism: 4
steps:
- checkout
- restore_cache:

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
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:
@@ -211,6 +202,16 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.cloudevent
- name: Image cloudid
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudid
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudid
- name: Image devtool
uses: elgohr/Publish-Docker-Github-Action@master
with:

6
.gitignore vendored
View File

@@ -31,7 +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

@@ -9,7 +9,7 @@ BUILD_SCRIPT := $(ROOT_DIR)/build/build.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')
@@ -163,9 +163,15 @@ goimports-check:
fi
.PHONY: goimports-check
vet-check:
./scripts/vet.sh gen
./scripts/vet.sh chk
.PHONY: vet-check
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
.PHONY: check
@@ -193,7 +199,7 @@ mod:
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=1.0-1
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-1
define dockerCentOSBuildCmd
set -o xtrace
@@ -209,11 +215,11 @@ docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:$(DOCKER_BUILD_IMAGE_VERSION) \
$(DOCKER_CENTOS_BUILD_IMAGE) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
@@ -221,11 +227,13 @@ docker-centos-build:
# 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
docker stop --time 0 onecloud-docker-centos-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
@@ -244,7 +252,7 @@ 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 \
$(DOCKER_ALPINE_BUILD_IMAGE) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
@@ -306,7 +314,8 @@ 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

View File

@@ -41,7 +41,7 @@
## 架构
![architecture](./docs/architecture.png)
![architecture](./docs/architecture.svg)
## 贡献

View File

@@ -1,7 +1,7 @@
# Yunion OneCloud
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.com/yunionio/onecloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
### [README in Chinese](./README-CN.md)
@@ -40,11 +40,11 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
- [Yunion OneCloud Documents](https://docs.yunion.io/)
- [Swagger API](https://docs.yunion.cn/api/)
- [Swagger API](https://docs.yunion.cn/apiv2/)
## Architecture
![architecture](./docs/architecture.png)
![architecture](./docs/architecture.svg)
## 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

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>

1
build/cloudid/vars Normal file
View File

@@ -0,0 +1 @@
DESCRIPTION="Yunion CloudId"

View File

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

View File

@@ -1,11 +1,12 @@
FROM alpine:3.11.6
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
# 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 ca-certificates \
&& 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:v0.1
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

@@ -5,13 +5,16 @@ 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
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# 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
@@ -27,13 +30,3 @@ 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
# 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

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:v0.1
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

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
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:v0.1
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:v0.1
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:v0.1
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.1.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:v0.5
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/alpine-build/bin/host-deployer /opt/yunion/bin/host-deployer

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.1
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:v0.1
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:v0.1
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:v0.1
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>"

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.1
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:v0.1
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:v0.1
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.9.6-1
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:v0.1
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,16 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3 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/esxi-agent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/build/esxi-agent/root/opt/ /opt/
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -0,0 +1,18 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3 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,25 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3 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}}/commonalerts

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}}/commonalerts
">请登录平台进行查看</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}}/commonalerts

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: 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">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}}/commonalerts
">Please log in 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

@@ -43,20 +43,17 @@
<table style="padding: 20px 10px; width: 100%;">
<tr>
<td style="padding-bottom: 20px;">
亲爱的{{.name}},您好:
尊敬的{{.name}},您好:
</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

@@ -1 +1 @@
Yunion Verify
{{.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.

View File

@@ -0,0 +1 @@
The {{ .brand }} virtual machine {{ .name }} of the project {{ .tenant }} has been created successfully.

View File

@@ -0,0 +1 @@
Your {{ .brand }} virtual machine {{ .name }} has been deleted.

View File

@@ -0,0 +1 @@
The {{ .brand }} virtual machine {{ .name }} of the project {{ .tenant }} has been deleted.

View File

@@ -0,0 +1 @@
Your {{ .brand }} virtual machine {{ .name }} system crashed: {{ .reason }}

View File

@@ -0,0 +1 @@
Your {{ .brand }} virtual machine {{ .name }} is successfully reinstalled. The VM's {{ if .account }}initial account is {{ .account }}, {{ end }}{{ if .keypair }}the access key is {{ .keypair }}, {{ end }}{{ if .password }}the initial password is {{ .password }}, {{ end }}and please use {{ if .windows }}remote desktop connection (RDC){{ else }}SSH{{ end }} or the control panel console to access the virtual machine.

View File

@@ -0,0 +1,6 @@
System error message
Resource: {{ .name}}
Resource ID: {{ .id }}
Event: {{ .event }}
Reason: {{ .reason }}
Time: {{ .created }}

View File

@@ -0,0 +1,6 @@
System warning message
Resource: {{ .name}}
Resource ID: {{ .id }}
Event: {{ .event }}
Reason: {{ .reason }}
Time: {{ .created }}

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 }}创建成功

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 }}系统崩溃了

View File

@@ -1 +0,0 @@
{{ .brand }}主机{{ .name }}重装系统成功

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