Compare commits

...

5135 Commits

Author SHA1 Message Date
yunion-ci-robot
6ccfcbf0da Merge pull request #11312 from ioito/automated-cherry-pick-of-#11311-upstream-release-3.7
Automated cherry pick of #11311: fix(region): huawei disk tags
2021-06-08 10:50:26 +08:00
Zexi Li
22a5b36817 Merge pull request #11333 from ioito/automated-cherry-pick-of-#11332-upstream-release-3.7
Automated cherry pick of #11332: fix(region): validate attached disk size and backend
2021-06-07 17:43:48 +08:00
Zexi Li
8da358513a Merge pull request #11336 from zhaoxiangchun/automated-cherry-pick-of-#11335-upstream-release-3.7
Automated cherry pick of #11335: fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile
2021-06-07 17:42:38 +08:00
zhaoxiangchun
754c2e62ee fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile 2021-06-07 16:20:08 +08:00
Qu Xuan
c6e99bf802 fix(region): validate attached disk size and backend 2021-06-07 15:44:18 +08:00
Zexi Li
92d4e3cf7a Merge pull request #11327 from ioito/automated-cherry-pick-of-#11326-upstream-release-3.7
Automated cherry pick of #11326: fix(region): sync tags with new guest
2021-06-06 00:54:42 +08:00
Zexi Li
3efd579564 Merge pull request #11323 from zhaoxiangchun/automated-cherry-pick-of-#11320-upstream-release-3.7
Automated cherry pick of #11320: fix: 修复云账号和宿主机报警问题
2021-06-05 12:16:40 +08:00
Qu Xuan
4484a2082b fix(region): sync tags with new guest 2021-06-04 23:10:20 +08:00
Zexi Li
d2cfe35296 Merge pull request #11298 from tb365/automated-cherry-pick-of-#11297-upstream-release-3.7
Automated cherry pick of #11297: fix(region): lb local cert sync fix
2021-06-04 21:09:54 +08:00
Zexi Li
f548d76116 Merge pull request #11300 from swordqiu/automated-cherry-pick-of-#11299-upstream-release-3.7
Automated cherry pick of #11299: fix: hpssacli should skip empty slots
2021-06-04 21:04:26 +08:00
Zexi Li
fbcbe46a8e Merge pull request #11319 from ioito/automated-cherry-pick-of-#11318-upstream-release-3.7
Automated cherry pick of #11318: fix(region): avoid guest delete not with disks
2021-06-04 19:46:31 +08:00
zhaoxiangchun
1389d2176e fix: 修复云账号和宿主机报警问题
1.云账号报警时过滤掉已经禁用的云账号
2.修复宿主机报警时资源名称重复的问题
2021-06-04 19:24:36 +08:00
Qu Xuan
64a86f7ccd fix(region): avoid guest delete not with disks 2021-06-04 19:17:21 +08:00
Qu Xuan
5b5310c6ee fix(region): huawei disk tags 2021-06-04 14:37:13 +08:00
Qiu Jian
162dd766ff fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:35:53 +08:00
tb365
1c7c3e05bd fix(region): lb local cert sync fix 2021-06-03 18:51:37 +08:00
Zexi Li
5e59c6be73 Merge pull request #11290 from ioito/automated-cherry-pick-of-#11289-upstream-release-3.7
Automated cherry pick of #11289: fix(host): avoid panic when params is nil
2021-06-03 11:42:38 +08:00
Qu Xuan
41806c9388 fix(host): avoid panic when params is nil 2021-06-03 11:31:09 +08:00
Zexi Li
c498c6f22b Merge pull request #11285 from zexi/automated-cherry-pick-of-#11284-upstream-release-3.7
Automated cherry pick of #11284: fix(glance): add option of s3 image status check
2021-06-02 11:18:13 +08:00
Zexi Li
ec926f9b62 fix(glance): add option of s3 image status check 2021-06-02 10:46:34 +08:00
Zexi Li
43faf5a5bf Merge pull request #11281 from ioito/automated-cherry-pick-of-#11279-upstream-release-3.7
Automated cherry pick of #11279: fix(region): avoid deadlock when resize disk
2021-06-01 19:19:18 +08:00
Zexi Li
7243b4fd37 Merge pull request #11275 from ioito/automated-cherry-pick-of-#11274-upstream-release-3.7
Automated cherry pick of #11274: fix(region): disable public cloud ip pre allocate
2021-06-01 18:55:14 +08:00
Qu Xuan
767aa5c37a fix(region): avoid deadlock when resize disk 2021-06-01 14:29:53 +08:00
Zexi Li
01000d5334 Merge pull request #11276 from swordqiu/automated-cherry-pick-of-#11268-upstream-release-3.7
Automated cherry pick of #11268: fix: windows resize file system
2021-06-01 11:55:00 +08:00
Qiu Jian
4948869add fix: windows resize file system 2021-05-31 23:59:47 +08:00
Qu Xuan
fd94dc34da fix(region): disable public cloud ip pre allocate 2021-05-31 15:06:57 +08:00
Zexi Li
28b9460fb9 Merge pull request #11267 from ioito/automated-cherry-pick-of-#11266-upstream-release-3.7
Automated cherry pick of #11266: fix(region): fix aws json unmarshal error
2021-05-31 09:56:08 +08:00
Qu Xuan
35f7844c53 fix(region): fix aws json unmarshal error 2021-05-29 12:37:58 +08:00
Zexi Li
2e8c9ee159 Merge pull request #11265 from ioito/automated-cherry-pick-of-#11264-upstream-release-3.7
Automated cherry pick of #11264: fix(region): split provider tag sync
2021-05-28 20:36:26 +08:00
Qu Xuan
93a7f1b815 fix(region): split provider tag sync 2021-05-28 20:18:42 +08:00
Zexi Li
ac416cdfbc Merge pull request #11259 from zhaoxiangchun/automated-cherry-pick-of-#11258-upstream-release-3.7
Automated cherry pick of #11258: fix(host): raid status
2021-05-28 20:12:44 +08:00
zhaoxiangchun
daf14eb739 fix(host): raid status 2021-05-28 19:58:46 +08:00
Zexi Li
883cb64089 Merge pull request #11254 from tb365/automated-cherry-pick-of-#11253-upstream-release-3.7
Automated cherry pick of #11253: fix(region): lbcert cache clean duplicate data fix
2021-05-28 19:18:17 +08:00
Zexi Li
7b8303e9ab Merge pull request #11262 from ioito/automated-cherry-pick-of-#11249-upstream-release-3.7
Automated cherry pick of #11249: fix(region): optimized disk eip snapshot project sync
2021-05-28 19:17:09 +08:00
Qu Xuan
c7a9f726b8 fix(region): optimized disk eip snapshot project sync 2021-05-28 19:07:23 +08:00
tb365
55525a990c fix(region): lbcert cache clean duplicate data fix 2021-05-28 15:47:34 +08:00
Zexi Li
54d3962fb3 Merge pull request #11246 from swordqiu/automated-cherry-pick-of-#11245-upstream-release-3.7
Automated cherry pick of #11245: fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:32 +08:00
Zexi Li
c4685cf58f Merge pull request #11252 from ioito/automated-cherry-pick-of-#11251-upstream-release-3.7
Automated cherry pick of #11251: fix(region): project sync condition
2021-05-28 15:29:05 +08:00
Qu Xuan
e51e0a7ab4 fix(region): project sync condition 2021-05-28 15:15:45 +08:00
Qiu Jian
1dbe7b930a fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:39:53 +08:00
Zexi Li
071576111c Merge pull request #11218 from ioito/automated-cherry-pick-of-#11217-upstream-release-3.7
Automated cherry pick of #11217: fix(region): optimized aliyun qcloud tags sync
2021-05-27 20:33:12 +08:00
Zexi Li
37516c7b5d Merge pull request #11229 from ioito/automated-cherry-pick-of-#11228-upstream-release-3.7
Automated cherry pick of #11228: fix(region): translation errors
2021-05-27 19:50:02 +08:00
Zexi Li
3a299f0661 Merge pull request #11227 from tb365/automated-cherry-pick-of-#11226-upstream-release-3.7
Automated cherry pick of #11226: fix(region): lb cert name fix
2021-05-27 19:45:28 +08:00
Zexi Li
b4d784d283 Merge pull request #11241 from zexi/automated-cherry-pick-of-#11240-upstream-release-3.7
Automated cherry pick of #11240: fix(region): migrate use rescue mode
2021-05-27 19:43:32 +08:00
Zexi Li
95ef2bc51c Merge pull request #11243 from zexi/automated-cherry-pick-of-#11242-upstream-release-3.7
Automated cherry pick of #11242: Revert "fix(host): raid status fix"
2021-05-27 19:42:48 +08:00
Zexi Li
02a08bc6da Revert "fix(host): raid status fix"
This reverts commit 392f5ab237.
2021-05-27 19:41:42 +08:00
Zexi Li
10e574d389 Merge pull request #11235 from zhaoxiangchun/automated-cherry-pick-of-#11233-upstream-release-3.7
Automated cherry pick of #11233: fix(host): raid status fix
2021-05-27 19:36:23 +08:00
Zexi Li
644a9c1035 fix(region): migrate use rescue mode 2021-05-27 19:35:44 +08:00
zhaoxiangchun
12209ee0c7 fix(host): raid status fix
1. All status are online except offline.
2021-05-27 16:04:18 +08:00
Qu Xuan
e76c1d6c02 fix(region): optimized azure aliyun qcloud tags sync 2021-05-27 10:53:46 +08:00
Qu Xuan
018ef0d986 fix(region): translation errors 2021-05-27 10:48:15 +08:00
tb365
b71406e6ec fix(region): lb cert name fix 2021-05-26 19:58:54 +08:00
Zexi Li
a67bdedb45 Merge pull request #11220 from ioito/automated-cherry-pick-of-#11219-upstream-release-3.7
Automated cherry pick of #11219: fix(host): avoid delete removed disk failed
2021-05-26 14:21:55 +08:00
Qu Xuan
913757f138 fix(host): avoid delete removed disk failed 2021-05-25 21:01:46 +08:00
Zexi Li
8f41c4165a Merge pull request #11202 from ioito/automated-cherry-pick-of-#11201-upstream-release-3.7
Automated cherry pick of #11201: fix(region): show azure deploy failed error
2021-05-25 19:08:50 +08:00
Zexi Li
ec709234d7 Merge pull request #11213 from ioito/automated-cherry-pick-of-#11212-upstream-release-3.7
Automated cherry pick of #11212: fix(region): aws vpc network eip disk tags sync
2021-05-25 19:07:52 +08:00
Zexi Li
b264e3c074 Merge pull request #11211 from zexi/automated-cherry-pick-of-#11166-upstream-release-3.7
Automated cherry pick of #11166: feat(region): add server migration predication API
2021-05-25 18:25:13 +08:00
Qu Xuan
c73de5f64f fix(region): aws vpc network eip disk tags sync 2021-05-25 17:45:44 +08:00
Zexi Li
7c7687ae4d feat(region): add server migration predication API 2021-05-25 17:02:44 +08:00
Qu Xuan
88046eea10 fix(region): show azure deploy failed error 2021-05-25 10:34:50 +08:00
Zexi Li
d445b55d68 Merge pull request #11199 from ioito/automated-cherry-pick-of-#11198-upstream-release-3.7
Automated cherry pick of #11198: fix(region): restrict account project mapping
2021-05-24 18:16:42 +08:00
Zexi Li
122a07b96b Merge pull request #11192 from ioito/automated-cherry-pick-of-#11191-upstream-release-3.7
Automated cherry pick of #11191: fix(region): azure uniform tags
2021-05-24 17:23:31 +08:00
Qu Xuan
984790c18f fix(region): restrict account project mapping 2021-05-24 16:46:58 +08:00
Qu Xuan
1d4b2a04bd fix(region): azure uniform tags 2021-05-24 15:02:03 +08:00
Zexi Li
cb830ad8e3 Merge pull request #11179 from ioito/automated-cherry-pick-of-#11178-upstream-release-3.7
Automated cherry pick of #11178: fix(region): add project and domain info for project mapping rules
2021-05-24 10:16:22 +08:00
Zexi Li
9a69b8c0d2 Merge pull request #11181 from tb365/automated-cherry-pick-of-#11177-upstream-release-3.7
Automated cherry pick of #11177: feat(region): loadbalancer certificate add purge methods
2021-05-24 10:15:07 +08:00
TangBin
cf5dcc611f fix(region): gofmt fix 2021-05-21 11:02:23 +08:00
Qu Xuan
1456b93ec2 fix(region): check sku request error 2021-05-21 11:02:23 +08:00
Qu Xuan
b5fcfb5d16 fix(region): add project and domain info for project mapping rules 2021-05-20 20:41:25 +08:00
Zexi Li
dfee854fb4 Merge pull request #11169 from ioito/automated-cherry-pick-of-#11168-upstream-release-3.7
Automated cherry pick of #11168: fix(region): add host_id options for storage filter
2021-05-20 18:54:26 +08:00
Zexi Li
bba05e4702 Merge pull request #11171 from ioito/automated-cherry-pick-of-#11170-upstream-release-3.7
Automated cherry pick of #11170: fix(region): avoid aws session not assume role
2021-05-20 18:53:01 +08:00
Zexi Li
c93624a093 Merge pull request #11173 from zhaoxiangchun/automated-cherry-pick-of-#11172-upstream-release-3.7
Automated cherry pick of #11172: fix(monitor): fix storage tag
2021-05-20 18:51:42 +08:00
zhaoxiangchun
d1da58b42f fix(monitor): fix storage tag 2021-05-20 17:26:00 +08:00
Qu Xuan
78a9a1ea80 fix(region): avoid aws session not assume role 2021-05-20 16:42:04 +08:00
Qu Xuan
2fb095bc5b fix(region): add host_id options for storage filter 2021-05-20 14:39:42 +08:00
Zexi Li
00c58b79e5 Merge pull request #11093 from zhaoxiangchun/automated-cherry-pick-of-#11025-upstream-release-3.7
Automated cherry pick of #11025: feat(monitor): add storage monitor metric
2021-05-20 09:54:01 +08:00
Zexi Li
bb40ff8ebb Merge pull request #11161 from ioito/automated-cherry-pick-of-#11160-upstream-release-3.7
Automated cherry pick of #11160: fix(region): check sku request error
2021-05-19 23:31:02 +08:00
Qu Xuan
45d3b75211 fix(region): check sku request error 2021-05-19 19:26:51 +08:00
Zexi Li
b6654ce59e Merge pull request #11155 from ioito/automated-cherry-pick-of-#11154-upstream-release-3.7
Automated cherry pick of #11154: fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:20 +08:00
Zexi Li
af88fea62e Merge pull request #11153 from ioito/automated-cherry-pick-of-#11152-upstream-release-3.7
Automated cherry pick of #11152: fix(region): avoid index out of range panic
2021-05-19 17:40:10 +08:00
Qu Xuan
74847d573c fix(region): avoid azure secgroup sync removed 2021-05-19 15:57:55 +08:00
Qu Xuan
11a2f89f6c fix(region): avoid index out of range panic 2021-05-19 15:34:47 +08:00
Zexi Li
5a49a3b0b1 Merge pull request #11149 from rainzm/automated-cherry-pick-of-#11148-upstream-release-3.7
Automated cherry pick of #11148: feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:30 +08:00
Zexi Li
9f89d90bef Merge pull request #11147 from ioito/automated-cherry-pick-of-#11146-upstream-release-3.7
Automated cherry pick of #11146: fix(region): more accounts details for project mapping
2021-05-19 15:23:17 +08:00
Zexi Li
eed04e0569 Merge pull request #11140 from tb365/automated-cherry-pick-of-#11139-upstream-release-3.7
Automated cherry pick of #11139: fix(region): ctyun delete secgroup fix
2021-05-19 15:22:17 +08:00
rainzm
d6791e6074 feat(ansible): add rolePublic and timeout options 2021-05-19 11:29:07 +08:00
Qu Xuan
7cb4da8bda fix(region): more accounts details for project mapping 2021-05-18 17:56:46 +08:00
Zexi Li
14f3d77bf6 Merge pull request #11143 from zexi/automated-cherry-pick-of-#11142-upstream-release-3.7
Automated cherry pick of #11142: fix(glance): make image is_standard updatable
2021-05-18 17:18:30 +08:00
Zexi Li
31c1cbd4f7 fix(glance): make image is_standard updatable 2021-05-18 16:43:32 +08:00
TangBin
f53f9566bb fix(region): ctyun delete secgroup fix 2021-05-18 16:21:20 +08:00
Zexi Li
4cb42acc76 Merge pull request #11135 from ioito/automated-cherry-pick-of-#11134-upstream-release-3.7
Automated cherry pick of #11134: fix(cloudid): clouduser use default domain
2021-05-18 15:56:42 +08:00
Qu Xuan
e8b432a99c fix(cloudid): clouduser use default domain 2021-05-18 15:19:56 +08:00
Zexi Li
ae55af072f Merge pull request #11127 from rainzm/automated-cherry-pick-of-#11126-upstream-release-3.7
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:20 +08:00
rainzm
e40c98d602 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:26:36 +08:00
Zexi Li
28a99c1d53 Merge pull request #11102 from ioito/automated-cherry-pick-of-#11101-upstream-release-3.7
Automated cherry pick of #11101: fix(region): optimized server sku sku
2021-05-17 10:08:17 +08:00
Zexi Li
9e8da72d53 Merge pull request #11119 from rainzm/automated-cherry-pick-of-#11116-upstream-release-3.7
Automated cherry pick of #11116: webhook fix
2021-05-17 10:07:42 +08:00
Zexi Li
ab68eee123 Merge pull request #11108 from rainzm/automated-cherry-pick-of-#11107-upstream-release-3.7
Automated cherry pick of #11107: fix(esxiagent): make the copied disk type as thin
2021-05-17 10:07:02 +08:00
Zexi Li
f0ec3269f6 Merge pull request #11122 from rainzm/automated-cherry-pick-of-#11121-upstream-release-3.7
Automated cherry pick of #11121: fix(esxiagent): execute deploy operation by default in AgentDeployGuest
2021-05-17 10:06:09 +08:00
yunion-ci-robot
4165571c49 Merge pull request #11124 from ioito/automated-cherry-pick-of-#11123-upstream-release-3.7
Automated cherry pick of #11123: fix(region): project mapping optional
2021-05-16 16:08:57 +08:00
屈轩
a14a434952 fix(region): project mapping optional 2021-05-16 14:17:36 +08:00
rainzm
a0f7a5e7bc fix(esxiagent): execute deploy operation by default in AgentDeployGuest 2021-05-14 19:14:07 +08:00
Zexi Li
a2e3099ae3 Merge pull request #11113 from tb365/automated-cherry-pick-of-#11112-upstream-release-3.7
Automated cherry pick of #11112: fix(region): aws sync disk missing image id fix
2021-05-14 17:33:05 +08:00
rainzm
e65e38f50c fix(region): send webhook when the creation task is completely completed 2021-05-14 17:23:23 +08:00
rainzm
80f07d0675 fix(region): send webhook notification when delete dbinstance 2021-05-14 17:23:23 +08:00
TangBin
c3a11613d8 fix(region): aws sync disk missing image id fix 2021-05-14 15:59:22 +08:00
rainzm
f6bf63fa89 fix(esxiagent): make the copied disk type as thin
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 15:05:10 +08:00
Qu Xuan
1c19d1d9cb fix(region): optimized server sku sku 2021-05-13 20:57:48 +08:00
Zexi Li
c15375df27 Merge pull request #11098 from ioito/automated-cherry-pick-of-#11097-upstream-release-3.7
Automated cherry pick of #11097: fix(region): allow update sku status
2021-05-13 20:27:35 +08:00
Qu Xuan
29c77119f6 fix(region): allow update sku status 2021-05-13 19:45:36 +08:00
Zexi Li
9ecad8fc8b Merge pull request #11033 from ioito/automated-cherry-pick-of-#11032-upstream-release-3.7
Automated cherry pick of #11032: fix(region): aliyun vpc endpoint
2021-05-13 18:51:45 +08:00
Zexi Li
ec692eacf4 Merge pull request #11054 from ioito/automated-cherry-pick-of-#11053-upstream-release-3.7
Automated cherry pick of #11053: fix(region): optimized sku sched clear
2021-05-13 18:49:27 +08:00
Zexi Li
b49ff6f7ed Merge pull request #11096 from rainzm/automated-cherry-pick-of-#11095-upstream-release-3.7
Automated cherry pick of #11095: fix(region): use the previous method for guest notification instead of message subscription
2021-05-13 18:48:39 +08:00
rainzm
b3c8cf6cd7 fix(region): use the previous method for guest notification instead of message subscription 2021-05-13 17:42:25 +08:00
zhaoxiangchun
c501123b6e feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-13 15:27:54 +08:00
Zexi Li
04113d35f2 Merge pull request #11051 from rainzm/automated-cherry-pick-of-#11050-upstream-release-3.7
Automated cherry pick of #11050: fix(ansibleserver): correct playbook path and role path
2021-05-13 11:55:46 +08:00
Qu Xuan
16cfab47e6 fix(region): optimized sku sched clear 2021-05-13 11:06:54 +08:00
Qu Xuan
c2fbd90bc6 fix(region): aliyun vpc endpoint 2021-05-12 16:27:08 +08:00
rainzm
25db02f5d7 fix(ansibleserver): correct playbook path 2021-05-12 16:22:07 +08:00
Zexi Li
bc581509f4 Merge pull request #11049 from zexi/automated-cherry-pick-of-#11048-upstream-release-3.7
Automated cherry pick of #11048: fix(glance): set fail status when upload image to s3
2021-05-12 15:16:01 +08:00
Zexi Li
0c4c46b2fa fix(glance): set fail status when upload image to s3 2021-05-12 15:02:12 +08:00
Zexi Li
e5d4ad273b Merge pull request #11047 from zexi/automated-cherry-pick-of-#11045-upstream-release-3.7
Automated cherry pick of #11045: fix(baremetal): register baremetal name invalid
2021-05-12 14:52:57 +08:00
Zexi Li
a8312c5e2c fix(baremetal): register baremetal name invalid 2021-05-12 13:07:38 +08:00
Zexi Li
1f7081ed07 Merge pull request #11044 from rainzm/automated-cherry-pick-of-#11043-upstream-release-3.7
Automated cherry pick of #11043: maintain compatibility with previous webhooks
2021-05-12 12:19:46 +08:00
Zexi Li
f5ad6a75ff Merge pull request #11031 from rainzm/automated-cherry-pick-of-#11030-upstream-release-3.7
Automated cherry pick of #11030: fix(region): add RequestRemoteUpdate for ESXiGuestDriver
2021-05-12 12:01:58 +08:00
rainzm
780a024e74 fix(region): maintain compatibility with webhook notify 2021-05-12 10:41:03 +08:00
rainzm
15abea72a2 fix(cloudcommon): disable EventNotify for now
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:41:03 +08:00
Zexi Li
1c8170e71f Merge pull request #11037 from ioito/automated-cherry-pick-of-#11036-upstream-release-3.7
Automated cherry pick of #11036: fix(region): aliyun nas endpoint
2021-05-12 10:24:11 +08:00
Zexi Li
86096c55ca Merge pull request #11042 from swordqiu/automated-cherry-pick-of-#11041-upstream-release-3.7
Automated cherry pick of #11041: fix: resolve conflict of climc docker build
2021-05-12 09:34:45 +08:00
Qiu Jian
7db688a9ce fix: resolve conflict of climc docker build 2021-05-12 09:20:43 +08:00
Zexi Li
4e6433303b Merge pull request #11040 from zexi/automated-cherry-pick-of-#11039-upstream-release-3.7
Automated cherry pick of #11039: fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh
2021-05-11 18:18:06 +08:00
Zexi Li
01d2612abb fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh 2021-05-11 18:16:35 +08:00
Qu Xuan
b7b030fc2e fix(region): aliyun nas endpoint 2021-05-11 15:40:37 +08:00
rainzm
72bc3b8645 fix(region): add RequestRemoteUpdate for ESXiGuestDriver 2021-05-11 11:41:18 +08:00
Zexi Li
2f4bd11e34 Merge pull request #11021 from ioito/automated-cherry-pick-of-#11010-upstream-release-3.7
Automated cherry pick of #11010: fix(region): support project mapping
2021-05-11 10:10:30 +08:00
Yousong Zhou
5da591971c Merge pull request #11024 from yousong/automated-cherry-pick-of-#11023-upstream-release-3.7
Automated cherry pick of #11023: Bugfix/yousong cloudproxy
2021-05-11 09:53:04 +08:00
yunion-ci-robot
4fc53ac5af Merge pull request #11028 from rainzm/automated-cherry-pick-of-#11027-upstream-release-3.7
Automated cherry pick of #11027: fix for install agent for vm
2021-05-11 09:52:55 +08:00
rainzm
b5d4b30ddf fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:58:20 +08:00
rainzm
7a1ba77d93 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 19:58:20 +08:00
rainzm
8d7a991d62 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 19:58:20 +08:00
Yousong Zhou
50f0ca5290 guests: sshable: fix breaking out from wait loop 2021-05-10 17:12:10 +08:00
Yousong Zhou
cb35bc3067 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:12:10 +08:00
Yousong Zhou
96bcefd50b cloudproxy: agent: refresh every 11 seconds 2021-05-10 17:12:10 +08:00
Yousong Zhou
0a31365190 cloudproxy: agent: ssh: wait ssh conn state while passing it out 2021-05-10 17:12:10 +08:00
Qu Xuan
0b4e459e0a fix(region): support project mapping 2021-05-10 16:15:34 +08:00
Zexi Li
c1cf476f6f Merge pull request #11012 from rainzm/automated-cherry-pick-of-#11011-upstream-release-3.7
Automated cherry pick of #11011: fix(cloudproxy): correct fetch projectId from server for PE
2021-05-10 12:08:00 +08:00
Zexi Li
7430f82f8e Merge pull request #10997 from rainzm/automated-cherry-pick-of-#10996-upstream-release-3.7
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:44 +08:00
Zexi Li
4bf6f20710 Merge pull request #11017 from swordqiu/automated-cherry-pick-of-#11016-upstream-release-3.7
Automated cherry pick of #11016: fix: init cloud shell by apigateway
2021-05-10 12:02:45 +08:00
Zexi Li
a7d96eb382 Merge pull request #11014 from swordqiu/automated-cherry-pick-of-#11013-upstream-release-3.7
Automated cherry pick of #11013: fix: missing yunionconf log
2021-05-10 12:00:09 +08:00
Qiu Jian
d80d9f13b7 fix: init cloud shell by apigateway 2021-05-09 01:34:30 +08:00
rainzm
4ba3a26701 fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:26:08 +08:00
Qiu Jian
eda02abc94 fix: missing yunionconf log 2021-05-08 21:53:12 +08:00
Zexi Li
bbdbc7c209 Merge pull request #11007 from zhaoxiangchun/automated-cherry-pick-of-#11005-upstream-release-3.7
Automated cherry pick of #11005: fix(monitor): alertpanel update don't chcek  uniq name
2021-05-08 20:39:03 +08:00
Zexi Li
1c8a566f0f Merge pull request #11009 from yousong/automated-cherry-pick-of-#11008-upstream-release-3.7
Automated cherry pick of #11008: cloudproxy: test proxy endpoint connectivity and remote config
2021-05-08 20:38:40 +08:00
Yousong Zhou
50395f7f7b cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:31:05 +08:00
zhaoxiangchun
8bc086e8df fix(monitor): alertpanel update don't chcek uniq name 2021-05-08 17:50:43 +08:00
Zexi Li
0364e9a0d5 Merge pull request #11001 from ioito/automated-cherry-pick-of-#11000-upstream-release-3.7
Automated cherry pick of #11000: fix(region): wire sql fix
2021-05-08 16:10:15 +08:00
Qu Xuan
8b1b5c0f55 fix(region): wire sql fix 2021-05-08 15:49:16 +08:00
rainzm
eb049034c2 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:09:30 +08:00
Zexi Li
9edb75cb55 Merge pull request #10984 from zhaoxiangchun/automated-cherry-pick-of-#10983-upstream-release-3.7
Automated cherry pick of #10983: fix(monitor): monitor query : cloudaccount no data fix
2021-05-08 10:37:33 +08:00
Zexi Li
abb7197039 Merge pull request #10980 from rainzm/automated-cherry-pick-of-#10979-upstream-release-3.7
Automated cherry pick of #10979: fix for creating proxy endpoint
2021-05-08 10:36:57 +08:00
Zexi Li
d354f9c26f Merge pull request #10986 from ioito/automated-cherry-pick-of-#10985-upstream-release-3.7
Automated cherry pick of #10985: fix: add tag for databricks vm
2021-05-08 10:36:13 +08:00
Zexi Li
bf3fb8e4c6 Merge pull request #10989 from ioito/automated-cherry-pick-of-#10988-upstream-release-3.7
Automated cherry pick of #10988: fix: avoid return no data result
2021-05-08 10:35:31 +08:00
Zexi Li
ff3749c018 Merge pull request #10991 from rainzm/automated-cherry-pick-of-#10990-upstream-release-3.7
Automated cherry pick of #10990: fix for install monitor agent
2021-05-08 10:34:45 +08:00
yunion-ci-robot
7b5293e1d8 Merge pull request #10994 from yousong/automated-cherry-pick-of-#10993-upstream-release-3.7
Automated cherry pick of #10993: Bugfix/yousong cloudproxy wait on error
2021-05-08 10:29:40 +08:00
Qu Xuan
082d5a9d61 fix: add tag for databricks vm 2021-05-08 09:28:22 +08:00
Yousong Zhou
bfe665bbf6 guests: sshable: wait and retry for newly created forward 2021-05-07 19:43:15 +08:00
Yousong Zhou
b242af75f4 guests: sshable: log error should unmarshal fail 2021-05-07 19:43:15 +08:00
Yousong Zhou
20f04d2fc5 cloudproxy: agent: more verbose log for ssh connect failure 2021-05-07 19:43:15 +08:00
Yousong Zhou
2cfdb0a08a cloudproxy: agent: wait a while on connect error 2021-05-07 19:43:15 +08:00
Yousong Zhou
92a4bebb2e cloudproxy: forwards: show details for fwd returned from create-from-server 2021-05-07 19:43:15 +08:00
Yousong Zhou
2e82399204 db: add GetItemDetails 2021-05-07 19:43:15 +08:00
rainzm
f89f43d167 fix: update version of file-repo 2021-05-07 18:35:22 +08:00
rainzm
93af6514d3 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:35:22 +08:00
rainzm
73db546f58 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:35:22 +08:00
rainzm
93e1f48cbd fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:35:22 +08:00
rainzm
93dad50d72 fix(devtool): correct output error 2021-05-07 18:35:22 +08:00
Qu Xuan
8ba639bb4e fix: avoid return no data result 2021-05-07 17:35:58 +08:00
Zexi Li
20327d53b3 Merge pull request #10982 from zexi/automated-cherry-pick-of-#10981-upstream-release-3.7
Automated cherry pick of #10981: feat(region): host list order by server count
2021-05-07 10:34:32 +08:00
zhaoxiangchun
4f7ad853df fix(monitor): monitor query : cloudaccount no data fix
1.修复云账号余额监控查询无数据返回
2021-05-07 09:42:16 +08:00
Zexi Li
0cd7fdd8bb feat(region): host list order by server count 2021-05-06 20:54:06 +08:00
rainzm
835a311275 fix(region): allow domain admin to obtain ssh private keys 2021-05-06 16:52:51 +08:00
rainzm
de7ef8baaf fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:52:51 +08:00
Zexi Li
02d922b5a8 Merge pull request #10976 from zhasm/automated-cherry-pick-of-#10975-upstream-release-3.7
Automated cherry pick of #10975: feat(arm64,build): arm 编译时,不编译 rbdcli
2021-05-06 15:13:01 +08:00
Zhang Dongliang
31363d8d03 feat(arm64,build): arm 编译时,不编译 rbdcli 2021-05-06 11:46:41 +08:00
Zexi Li
970edbb8e7 Merge pull request #10973 from rainzm/automated-cherry-pick-of-#10972-upstream-release-3.7
Automated cherry pick of #10972: fix(notify): correctly filter those recipients who join the domain
2021-04-30 09:59:09 +08:00
rainzm
60f2dfed8a fix(notify): correctly filter those recipients who join the domain 2021-04-29 20:14:19 +08:00
Zexi Li
ba7e086b19 Merge pull request #10965 from tb365/automated-cherry-pick-of-#10964-upstream-release-3.7
Automated cherry pick of #10964: Bugfix/tb bugfix 042801
2021-04-29 09:46:48 +08:00
Zexi Li
f3cbf83fe1 Merge pull request #10968 from ioito/automated-cherry-pick-of-#10967-upstream-release-3.7
Automated cherry pick of #10967: fix(keystone): avoid panic when call logclient
2021-04-29 09:46:23 +08:00
Qu Xuan
7e35db1040 fix(keystone): avoid panic when call logclient 2021-04-28 19:36:35 +08:00
TangBin
22cc784a48 feat(region): add zone disk capability api 2021-04-28 18:17:33 +08:00
TangBin
71ee5d8519 feat(region): cloudregion add disk capability api 2021-04-28 18:17:33 +08:00
Zexi Li
6c5a8f6c41 Merge pull request #10957 from ioito/automated-cherry-pick-of-#10956-upstream-release-3.7
Automated cherry pick of #10956: fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:12 +08:00
yunion-ci-robot
423ab9f60d Merge pull request #10960 from swordqiu/automated-cherry-pick-of-#10940-upstream-release-3.7
Automated cherry pick of #10940: Hotfix/qj import user require password
2021-04-28 09:55:28 +08:00
Qiu Jian
a17c84613f fix: require password for imported user 2021-04-28 01:13:50 +08:00
Qu Xuan
251afc7d63 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:38:04 +08:00
Zexi Li
492fbe2341 Merge pull request #10933 from rainzm/automated-cherry-pick-of-#10932-upstream-release-3.7
Automated cherry pick of #10932: Correctly execute the ansible playbook with the specified private key
2021-04-27 20:12:52 +08:00
Zexi Li
99366d42af Merge pull request #10955 from zhaoxiangchun/automated-cherry-pick-of-#10954-upstream-release-3.7
Automated cherry pick of #10954: fix(monitor): alertdashboard setscope
2021-04-27 20:12:15 +08:00
Zexi Li
a447c2a696 Merge pull request #10953 from ioito/automated-cherry-pick-of-#10952-upstream-release-3.7
Automated cherry pick of #10952: fix: optimized rbd storage input and update
2021-04-27 20:11:51 +08:00
Zexi Li
3ec1ed6b9b Merge pull request #10949 from rainzm/automated-cherry-pick-of-#10948-upstream-release-3.7
Automated cherry pick of #10948: Makes the process of installing the agent more rigorous
2021-04-27 20:10:58 +08:00
Zexi Li
7549ccfb0b Merge pull request #10942 from zexi/automated-cherry-pick-of-#10941-upstream-release-3.7
Automated cherry pick of #10941: fix(region): download cached image from source host before migrating
2021-04-27 20:10:05 +08:00
Zexi Li
f6472ce1ce Merge pull request #10945 from ioito/automated-cherry-pick-of-#10944-upstream-release-3.7
Automated cherry pick of #10944: fix(region): tag list key case insensitive
2021-04-27 17:21:26 +08:00
Zexi Li
708db7b956 fix(region): download cached image from source host before migrating 2021-04-27 17:13:47 +08:00
zhaoxiangchun
c78defe39a fix(monitor): alertdashboard setscope
1.监控面板归属展示问题修复
2021-04-27 17:11:58 +08:00
Qu Xuan
fae6d333c2 fix: optimized rbd storage input and update 2021-04-27 15:42:57 +08:00
rainzm
769425f58a feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 12:01:35 +08:00
rainzm
630729ca84 fix(ansibleserver): be compatible with empty params 2021-04-27 12:01:35 +08:00
rainzm
fb1fb906fa feat(region): return forwardDetails when query server sshable 2021-04-27 12:01:35 +08:00
Qu Xuan
909eeeb782 fix(region): tag list key case insensitive 2021-04-27 11:55:33 +08:00
Zexi Li
72cac9aa15 Merge pull request #10938 from swordqiu/automated-cherry-pick-of-#10937-upstream-release-3.7
Automated cherry pick of #10937: fix(baremetal,esxiagent): no cloudroot user initialized
2021-04-27 10:17:19 +08:00
Zexi Li
b55f7e42d0 Merge pull request #10935 from swordqiu/automated-cherry-pick-of-#10934-upstream-release-3.7
Automated cherry pick of #10934: fix(region): add all.servers.any_pool/all.hosts.any_pool metrics
2021-04-27 10:16:26 +08:00
Qiu Jian
9ae991c153 fix(baremetal,esxiagent): no cloudroot user initialized 2021-04-27 02:00:04 +08:00
Qiu Jian
5bb3958547 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:49:28 +08:00
Zexi Li
8a9bace797 Merge pull request #10923 from ioito/automated-cherry-pick-of-#10922-upstream-release-3.7
Automated cherry pick of #10922: fix(keystone): tag list for keystone service
2021-04-26 19:10:57 +08:00
Zexi Li
54f1bf99de Merge pull request #10927 from zhaoxiangchun/automated-cherry-pick-of-#10926-upstream-release-3.7
Automated cherry pick of #10926: fix(monitor): alertpanel create fix; nodealert filterbyowner fix
2021-04-26 19:09:18 +08:00
Zexi Li
3732b44c6d Merge pull request #10929 from ioito/automated-cherry-pick-of-#10928-upstream-release-3.7
Automated cherry pick of #10928: fix(region): account arrears
2021-04-26 19:08:19 +08:00
rainzm
4088e47f92 fix(ansibleserver): add LF for privateKey if not 2021-04-26 18:59:44 +08:00
rainzm
7b0f45261d feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 2021-04-26 18:59:44 +08:00
rainzm
9502cfebf4 fix(ansibleserver): don't init privateKey for ansibleplaybook if it already have one 2021-04-26 18:59:44 +08:00
Qu Xuan
f68afc4aa6 fix(region): account arrears 2021-04-26 18:02:50 +08:00
zhaoxiangchun
1c8b54f117 fix(monitor): alertpanel create fix; nodealert filterbyowner fix
1.监控图表保存时取消重名检测,允许图表重名
2.虚拟机详情页设置报警时,不同视图下设置报警权限调整

https://bug.yunion.io/zentao/bug-view-7063.html
2021-04-26 16:18:22 +08:00
Qu Xuan
962e19bbd0 fix(keystone): tag list for keystone service 2021-04-26 11:40:25 +08:00
Zexi Li
ef9a9b2935 Merge pull request #10917 from rainzm/automated-cherry-pick-of-#10903-upstream-release-3.7
Automated cherry pick of #10903: feat(region): set metadata for guest with agent installed
2021-04-26 11:39:17 +08:00
Zexi Li
8928d5464f Merge pull request #10921 from ioito/automated-cherry-pick-of-#10920-upstream-release-3.7
Automated cherry pick of #10920: fix(region): avoid set multi resources tags failed
2021-04-26 11:38:58 +08:00
Qu Xuan
f9e2122544 fix(region): avoid set multi resources tags failed 2021-04-25 18:06:19 +08:00
yunion-ci-robot
62aa6867c6 Merge pull request #10912 from tb365/automated-cherry-pick-of-#10911-upstream-release-3.7
Automated cherry pick of #10911: fix ssh proxy endpoint&match query
2021-04-25 17:23:53 +08:00
yunion-ci-robot
46780051b7 Merge pull request #10914 from yousong/automated-cherry-pick-of-#10913-upstream-release-3.7
Automated cherry pick of #10913: hostman: ovn: do not set external_ids:iface-id for backup
2021-04-25 12:03:54 +08:00
rainzm
4ea9204664 feat(region): set metadata for guest with agent installed 2021-04-25 10:59:39 +08:00
Yousong Zhou
4e19feccc7 hostman: ovn: do not set external_ids:iface-id for backup 2021-04-23 20:26:59 +08:00
TangBin
e965d1d9e0 fix(cloudproxy): ssh proxy endpoint&match query 2021-04-23 19:39:07 +08:00
Zexi Li
4a00426705 Merge pull request #10907 from rainzm/automated-cherry-pick-of-#10906-upstream-release-3.7
Automated cherry pick of #10906: fix(region): use special localtask to run time-consuming provider synchronization task
2021-04-23 17:39:16 +08:00
rainzm
702133be51 fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:02:20 +08:00
yunion-ci-robot
8a89c8ca67 Merge pull request #10902 from yousong/automated-cherry-pick-of-#10901-upstream-release-3.7
Automated cherry pick of #10901: cloudproxy: proxy_endpoints: create-from-server: allow name as arg
2021-04-23 09:48:51 +08:00
Zexi Li
dfacbdd1d2 Merge pull request #10894 from rainzm/automated-cherry-pick-of-#10893-upstream-release-3.7
Automated cherry pick of #10893: fix(region): allow owner to operate snapshotpolicy cache
2021-04-22 21:09:36 +08:00
Zexi Li
5456cd3386 Merge pull request #10898 from rainzm/automated-cherry-pick-of-#10897-upstream-release-3.7
Automated cherry pick of #10897: fix(region): make SScheduledTaskLabel implement IJointModelManager
2021-04-22 21:08:25 +08:00
Yousong Zhou
f8b4d799ae cloudproxy: proxy_endpoints: create-from-server: allow specify name 2021-04-22 20:42:57 +08:00
Zexi Li
ec1d40097d Merge pull request #10892 from zhaoxiangchun/automated-cherry-pick-of-#10891-upstream-release-3.7
Automated cherry pick of #10891: feat(suggestion,mcclient): add suggestsysalert-delete climc
2021-04-22 20:25:30 +08:00
rainzm
8c07b3cb60 fix(region): make SScheduledTaskLabel implement IJointModelManager 2021-04-22 18:17:32 +08:00
rainzm
f642bc959c fix(region): allow owner to operate snapshotpolicy cache 2021-04-22 17:38:28 +08:00
zhaoxiangchun
eeb77e4c3a feat(suggestion,mcclient): add suggestsysalert-delete climc 2021-04-22 17:00:14 +08:00
Zexi Li
b1d5758575 Merge pull request #10886 from rainzm/automated-cherry-pick-of-#10885-upstream-release-3.7
Automated cherry pick of #10885: fix(region): admin update without verification
2021-04-22 16:55:36 +08:00
Zexi Li
7f05532204 Merge pull request #10889 from ioito/automated-cherry-pick-of-#10888-upstream-release-3.7
Automated cherry pick of #10888: fix(region): avoid panic when sync resources
2021-04-22 16:52:42 +08:00
Zexi Li
6c9b7a5793 Merge pull request #10883 from ioito/automated-cherry-pick-of-#10882-upstream-release-3.7
Automated cherry pick of #10882: fix(common): add debug info for lock
2021-04-22 16:51:33 +08:00
Qu Xuan
f3a514a41a fix(region): avoid panic when sync resources 2021-04-22 16:29:16 +08:00
Qu Xuan
5d88767c9b fix(common): add debug info for lock 2021-04-22 16:10:06 +08:00
rainzm
7e054ee0fe fix(region): admin update without verification 2021-04-22 11:45:59 +08:00
Zexi Li
883ad9c76a Merge pull request #10868 from ioito/automated-cherry-pick-of-#10867-upstream-release-3.7
Automated cherry pick of #10867: fix(region): avoid network create failed when vpc is ok but wire not sync
2021-04-22 10:24:21 +08:00
Zexi Li
d692f2908f Merge pull request #10879 from ioito/automated-cherry-pick-of-#10878-upstream-release-3.7
Automated cherry pick of #10878: fix(region): add egress_mbps params for lb
2021-04-22 10:23:33 +08:00
Zexi Li
e43855be74 Merge pull request #10877 from zexi/automated-cherry-pick-of-#10876-upstream-release-3.7
Automated cherry pick of #10876: fix(glance): image can't removed when size is 0
2021-04-21 22:41:00 +08:00
Qu Xuan
52f3b69384 fix(region): add egress_mbps params for lb 2021-04-21 21:45:14 +08:00
Zexi Li
61f06ee3ca fix(glance): image can't removed when size is 0 2021-04-21 20:59:08 +08:00
Zexi Li
0a72fc6fe4 Merge pull request #10864 from rainzm/automated-cherry-pick-of-#10863-upstream-release-3.7
Automated cherry pick of #10863: fix(region): make cloudprovider sync worker configurable
2021-04-21 15:30:19 +08:00
Qu Xuan
857cc0d2b9 fix(region): avoid network create failed when vpc is ok but wire not sync 2021-04-21 14:51:30 +08:00
rainzm
afbc3cc8db fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:23:27 +08:00
yunion-ci-robot
99994d929f Merge pull request #10824 from ioito/automated-cherry-pick-of-#10709-upstream-release-3.7
Automated cherry pick of #10709: Hotfix/qx secrule sync fix
2021-04-21 11:29:51 +08:00
Zexi Li
11e1701f23 Merge pull request #10835 from zexi/automated-cherry-pick-of-#10833-upstream-release-3.7
Automated cherry pick of #10833: fix(region): fetch cached image from glance by default
2021-04-21 11:19:15 +08:00
yunion-ci-robot
2341ed161b Merge pull request #10850 from yousong/automated-cherry-pick-of-#10849-upstream-release-3.7
Automated cherry pick of #10849: Feature/yousong zombie
2021-04-21 10:12:56 +08:00
Zexi Li
c97c363710 Merge pull request #10856 from swordqiu/automated-cherry-pick-of-#10855-upstream-release-3.7
Automated cherry pick of #10855: fix(baremetal): baremetal ipmi probe reset link up state
2021-04-21 10:12:49 +08:00
Zexi Li
fde4dc46be Merge pull request #10852 from rainzm/automated-cherry-pick-of-#10851-upstream-release-3.7
Automated cherry pick of #10851: fix(region): avoid using LocalTaskWorker in time-consuming synchronization of cloudaccount
2021-04-21 10:09:42 +08:00
Yousong Zhou
a8857a34ab treewide: wait possible zombies 2021-04-20 22:08:15 +08:00
Yousong Zhou
9da0b2e7db procutils: WaitZombieLoop: remove unneeded info request 2021-04-20 22:08:14 +08:00
Yousong Zhou
6acc3e8cca procutils: WaitZombieLoop: less verbose iota 2021-04-20 22:08:14 +08:00
Yousong Zhou
970aa949a7 procutils: WaitZombieLoop: use const str "1" for my pid 2021-04-20 22:08:14 +08:00
Yousong Zhou
26183d0de8 procutils: add WaitZombieLoop 2021-04-20 22:08:14 +08:00
Qiu Jian
c1868f1dde fix(baremetal): baremetal ipmi probe reset link up state 2021-04-20 21:37:29 +08:00
Zexi Li
819b60bffa Merge pull request #10846 from ioito/automated-cherry-pick-of-#10845-upstream-release-3.7
Automated cherry pick of #10845: fix(region): optimized vm account name code
2021-04-20 20:15:18 +08:00
rainzm
c41d974d0c fix(region): avoid using LocalTaskworker in time-consuming synchronization of cloudaccount 2021-04-20 19:58:16 +08:00
Zexi Li
80194f0369 Merge pull request #10840 from ioito/automated-cherry-pick-of-#10839-upstream-release-3.7
Automated cherry pick of #10839: fix(region): avoid panic when sync aliyun networks
2021-04-20 18:51:14 +08:00
Zexi Li
b4e90b7afa Merge pull request #10843 from rainzm/automated-cherry-pick-of-#10838-upstream-release-3.7
Automated cherry pick of #10838: feat(ansibleserver): update file_reop version in dockerfile
2021-04-20 18:50:22 +08:00
Zexi Li
f44779464b Merge pull request #10830 from ioito/automated-cherry-pick-of-#10829-upstream-release-3.7
Automated cherry pick of #10829: fix(region): vm list order by disk size
2021-04-20 18:49:28 +08:00
Zexi Li
7cd86c277f Merge pull request #10818 from rainzm/automated-cherry-pick-of-#10817-upstream-release-3.7
Automated cherry pick of #10817: fix(esxi): prevent fake template and real template from duplication
2021-04-20 18:45:49 +08:00
Qu Xuan
fe92804219 fix(region): optimized vm account name code 2021-04-20 18:36:03 +08:00
rainzm
bf839f9add feat(ansibleserver): update file_reop version in dockerfile 2021-04-20 18:01:02 +08:00
Qu Xuan
8a52933a87 fix(region): avoid panic when sync aliyun networks 2021-04-20 17:55:10 +08:00
Zexi Li
13800c5d91 fix(region): fetch cached image from glance by default 2021-04-20 17:52:33 +08:00
Zexi Li
a519886bfe Merge pull request #10826 from ioito/automated-cherry-pick-of-#10825-upstream-release-3.7
Automated cherry pick of #10825: fix(region): avoid assign vm ip addr not effect
2021-04-20 17:16:27 +08:00
Zexi Li
f3dd07cddd Merge pull request #10823 from rainzm/automated-cherry-pick-of-#10822-upstream-release-3.7
Automated cherry pick of #10822: feat(multicloud): add snapshots list for ecloud
2021-04-20 17:15:00 +08:00
Qu Xuan
f0fe752501 fix(region): vm list order by disk size 2021-04-20 16:52:54 +08:00
Qu Xuan
8a84c690ca fix(region): avoid assign vm ip addr not effect 2021-04-20 16:30:20 +08:00
Qu Xuan
c28f3f68aa fix(region): optimized peer secgroup 2021-04-20 15:23:41 +08:00
rainzm
e3be359237 feat(multicloud): add snapshots list for ecloud 2021-04-20 11:56:59 +08:00
Zexi Li
8154628011 Merge pull request #10816 from rainzm/automated-cherry-pick-of-#10794-upstream-release-3.7
Automated cherry pick of #10794: Devtool script optimization and fix
2021-04-20 10:45:20 +08:00
rainzm
63fd7e5891 fix(esxi): prevent fake template and real template from duplication 2021-04-20 10:29:11 +08:00
rainzm
74874d35dc feat(region): increase the log for debugging when syncing cloudimage 2021-04-20 10:29:11 +08:00
rainzm
377f9d00e5 fix(devtool): fix a bug that may trigger panic 2021-04-20 10:12:29 +08:00
rainzm
0078bde428 feat(devtool): add ScriptApplyId fro ScriptApplyRecord 2021-04-20 10:12:29 +08:00
Zexi Li
b076d2506f Merge pull request #10812 from ioito/automated-cherry-pick-of-#10811-upstream-release-3.7
Automated cherry pick of #10811: fix(region): wait more time for creating nas
2021-04-19 21:08:10 +08:00
Zexi Li
7230411565 Merge pull request #10805 from ioito/automated-cherry-pick-of-#10804-upstream-release-3.7
Automated cherry pick of #10804: fix: owner id fix
2021-04-19 21:07:52 +08:00
Zexi Li
413db0ec47 Merge pull request #10813 from zexi/automated-cherry-pick-of-#10810-upstream-release-3.7
Automated cherry pick of #10810: fix(multicloud): set isEmulated as false for ecloud vpc
2021-04-19 21:07:28 +08:00
rainzm
e96c43b21e fix(multicloud): set isEmulated as false for ecloud vpc 2021-04-19 21:07:00 +08:00
Zexi Li
63e0df1cb8 Merge pull request #10797 from ioito/automated-cherry-pick-of-#10796-upstream-release-3.7
Automated cherry pick of #10796: fix: add region id params
2021-04-19 21:05:07 +08:00
Qu Xuan
f514514eab fix(region): wait more time for creating nas 2021-04-19 19:59:44 +08:00
Zexi Li
bf749fe9d2 Merge pull request #10807 from ioito/automated-cherry-pick-of-#10806-upstream-release-3.7
Automated cherry pick of #10806: fix: ignore aliyun region not supported error
2021-04-19 18:50:38 +08:00
Zexi Li
c8aff6b022 Merge pull request #10809 from ioito/automated-cherry-pick-of-#10808-upstream-release-3.7
Automated cherry pick of #10808: fix(region): convert eip with same project with vm
2021-04-19 18:49:56 +08:00
Qu Xuan
1761b0fd6c fix(region): nas owner id fix 2021-04-19 18:00:58 +08:00
Qu Xuan
c79495dbfe fix(region): convert eip with same project with vm 2021-04-19 17:54:24 +08:00
Qu Xuan
ec2e51a721 fix(region): ignore aliyun region not supported error 2021-04-19 16:24:53 +08:00
Zexi Li
7c12d40453 Merge pull request #10782 from tb365/automated-cherry-pick-of-#10776-upstream-release-3.7
Automated cherry pick of #10776: fix(region): qcloud redis sync fix
2021-04-19 16:18:31 +08:00
tangbin
f93e9f1cdb fix(region): qcloud redis sync fix 2021-04-19 15:13:17 +08:00
Zexi Li
202e2e2989 Merge pull request #10778 from ioito/automated-cherry-pick-of-#10777-upstream-release-3.7
Automated cherry pick of #10777: fix: add options for pre allow ip add
2021-04-19 14:55:17 +08:00
Qu Xuan
cfba238f8c fix: add region id params 2021-04-19 14:20:17 +08:00
Zexi Li
f94149f761 Merge pull request #10791 from ioito/automated-cherry-pick-of-#10790-upstream-release-3.7
Automated cherry pick of #10790: fix: avoid panic
2021-04-19 13:16:02 +08:00
Zexi Li
25e710adc5 Merge pull request #10787 from yousong/automated-cherry-pick-of-#10786-upstream-release-3.7
Automated cherry pick of #10786: cloudproxy: agent: return when ctx is Done
2021-04-19 13:15:26 +08:00
Zexi Li
f476e2e101 Merge pull request #10795 from ioito/automated-cherry-pick-of-#10793-upstream-release-3.7
Automated cherry pick of #10793: avoid log loss when token expired fix #10738
2021-04-19 11:26:24 +08:00
Qu Xuan
84820637f5 avoid log loss when token expired fix #10738 2021-04-19 11:16:15 +08:00
Qu Xuan
7012a8cfba fix: avoid panic 2021-04-19 10:41:39 +08:00
Yousong Zhou
3407b98a8d cloudproxy: agent: return when ctx is Done 2021-04-19 10:38:33 +08:00
Zexi Li
fe148ec4a2 Merge pull request #10785 from yousong/automated-cherry-pick-of-#10784-upstream-release-3.7
Automated cherry pick of #10784: cloudproxy: agent: avoid stallment caused by client timeout
2021-04-17 21:14:25 +08:00
Yousong Zhou
2bda95c62b cloudproxy: agent: avoid stallment caused by client timeout 2021-04-16 19:44:04 +08:00
Qu Xuan
b8530c26d2 fix: add options for pre allow ip add 2021-04-16 17:09:51 +08:00
Zexi Li
2252316ba2 Merge pull request #10775 from yousong/automated-cherry-pick-of-#10774-upstream-release-3.7
Automated cherry pick of #10774: region: guests: sshable: more compact make-sshable-cmd
2021-04-16 16:53:47 +08:00
Yousong Zhou
c63e05d926 region: guests: sshable: more compact make-sshable-cmd 2021-04-16 16:32:39 +08:00
Zexi Li
c3552e1f04 Merge pull request #10728 from zhaoxiangchun/automated-cherry-pick-of-#10727-upstream-release-3.7
Automated cherry pick of #10727: feat(region): add ecloud monitor metric
2021-04-16 16:01:38 +08:00
Zexi Li
9d2352bf6d Merge pull request #10772 from ioito/automated-cherry-pick-of-#10771-upstream-release-3.7
Automated cherry pick of #10771: fix: add rbdcli commond for debug
2021-04-16 15:59:41 +08:00
Qu Xuan
83c108d48d fix: add rbdcli commond for debug 2021-04-16 15:28:24 +08:00
yunion-ci-robot
439bc78247 Merge pull request #10732 from yousong/automated-cherry-pick-of-#10713-upstream-release-3.7
Automated cherry pick of #10713: Feature/yousong make sshable
2021-04-16 13:16:48 +08:00
Zexi Li
cf858bed1e Merge pull request #10766 from yousong/automated-cherry-pick-of-#10765-upstream-release-3.7
Automated cherry pick of #10765: ansibleserver: wait zombie subprocesses
2021-04-16 13:15:29 +08:00
Zexi Li
1df7d49581 Merge pull request #10751 from yousong/automated-cherry-pick-of-#10750-upstream-release-3.7
Automated cherry pick of #10750: vpcagent: ovn: fix port match condition formation
2021-04-16 10:07:06 +08:00
Zexi Li
540c23d9a0 Merge pull request #10762 from rainzm/automated-cherry-pick-of-#10761-upstream-release-3.7
Automated cherry pick of #10761: fix(region): Remind that cloud account synchronization failed due to network synchronization failure
2021-04-16 10:06:32 +08:00
Zexi Li
bd0768e1b9 Merge pull request #10758 from rainzm/automated-cherry-pick-of-#10757-upstream-release-3.7
Automated cherry pick of #10757: Validate creating cloud account data about ecloud
2021-04-16 10:06:21 +08:00
Zexi Li
82e18f86df Merge pull request #10764 from rainzm/automated-cherry-pick-of-#10763-upstream-release-3.7
Automated cherry pick of #10763: fix(region): purge instancesnapshot when purging guest
2021-04-16 10:02:42 +08:00
Yousong Zhou
7f80003d24 ansibleserver: wait zombie subprocesses 2021-04-16 09:55:39 +08:00
rainzm
7b80435451 fix(region): purge instancesnapshot when purging guest
fix #10760
2021-04-15 19:01:21 +08:00
rainzm
d105e0556f fix(region): Remind that cloud account synchronization failed due to network synchronization failure 2021-04-15 18:33:40 +08:00
zhaoxiangchun
1883e72597 feat(region): add ecloud monitor metric 2021-04-15 18:11:41 +08:00
Yousong Zhou
51cd8bd2f6 climc: add commands server-make-sshable, server-make-sshable-cmd 2021-04-15 17:51:16 +08:00
Yousong Zhou
554e03fde8 region: guests: sshable: add GET /servers/<server-id>/make-sshable-cmd 2021-04-15 17:51:16 +08:00
Yousong Zhou
d4451640ae region: guests: sshable: add POST /servers/<server-id>/make-sshable 2021-04-15 17:51:16 +08:00
Yousong Zhou
db0e28434f region: guests: sshable: add field sshable_last_state 2021-04-15 17:51:16 +08:00
Yousong Zhou
4ab5c2c29a region: guests: sshable: refactor for reusability 2021-04-15 17:51:16 +08:00
Yousong Zhou
dfc1680176 regions: lbagents: move pb update/create as mcclient module method 2021-04-15 17:51:16 +08:00
Yousong Zhou
ea0523e02f build: ansibleserver: use ansibleserver-base:v1.0.3 2021-04-15 17:51:16 +08:00
Yousong Zhou
88311dacaa build: ansibleserver-base: v1.0.3: add sshpass
Required for using ansible with ansible_password
2021-04-15 17:51:16 +08:00
rainzm
507523a52f fix(region): remove useless Environment 2021-04-15 17:15:07 +08:00
rainzm
6bc4baa9bf fix(region): try to connect when new a SEcloudClient 2021-04-15 17:15:07 +08:00
Yousong Zhou
840273c189 vpcagent: ovn: fix port match condition formation 2021-04-15 16:08:34 +08:00
Zexi Li
1e05d5e997 Merge pull request #10747 from ioito/automated-cherry-pick-of-#10746-upstream-release-3.7
Automated cherry pick of #10746: fix wire status close #10737
2021-04-15 15:05:55 +08:00
Qu Xuan
3e16bf9d04 fix wire status close #10737 2021-04-15 14:46:49 +08:00
Zexi Li
1d7f40cad0 Merge pull request #10724 from ioito/automated-cherry-pick-of-#10723-upstream-release-3.7
Automated cherry pick of #10723: fix: aliyun lb charge type
2021-04-15 12:42:03 +08:00
Zexi Li
9918cb8a54 Merge pull request #10730 from rainzm/automated-cherry-pick-of-#10729-upstream-release-3.7
Automated cherry pick of #10729: fix(esxi): correctly set the imagePath outside the if block
2021-04-15 12:41:09 +08:00
Zexi Li
49896c7eec Merge pull request #10735 from zexi/automated-cherry-pick-of-#10734-upstream-release-3.7
Automated cherry pick of #10734: fix(cloudcommon): unify OS_ARCH constants
2021-04-15 12:21:43 +08:00
Zexi Li
e1816106aa fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:53:05 +08:00
rainzm
de8fd509d9 fix(esxi): correctly set the imagePath outside the if block 2021-04-14 19:03:48 +08:00
Qu Xuan
7730e87fc5 fix: aliyun lb charge type 2021-04-14 18:05:22 +08:00
yunion-ci-robot
15b08bf340 Merge pull request #10722 from zexi/automated-cherry-pick-of-#10718-upstream-release-3.7
Automated cherry pick of #10718: fix(baremetal): use command timeout context replace timeout command
2021-04-14 17:45:47 +08:00
Zexi Li
ce89455fff Merge pull request #10717 from ioito/automated-cherry-pick-of-#10716-upstream-release-3.7
Automated cherry pick of #10716: fix: nas misc
2021-04-14 17:28:58 +08:00
Zexi Li
85cbe33480 Merge pull request #10715 from ioito/automated-cherry-pick-of-#10714-upstream-release-3.7
Automated cherry pick of #10714: fix: openstack health should be normal
2021-04-14 17:23:57 +08:00
Zexi Li
6d5cd8ca89 fix(baremetal): use command timeout context replace timeout command 2021-04-14 17:16:23 +08:00
Qu Xuan
a874c2a758 fix: nas misc 2021-04-14 17:07:26 +08:00
Zexi Li
ceced723f9 Merge pull request #10711 from zexi/automated-cherry-pick-of-#10710-upstream-release-3.7
Automated cherry pick of #10710: fix(region): decouple region and etcd service
2021-04-14 16:58:48 +08:00
Qu Xuan
1e7cf0af4f fix: openstack health should be normal 2021-04-14 14:23:24 +08:00
Zexi Li
febd9b7f6f fix(region): decouple region and etcd service 2021-04-13 18:35:43 +08:00
Zexi Li
db6c137725 Merge pull request #10706 from rainzm/automated-cherry-pick-of-#10705-upstream-release-3.7
Automated cherry pick of #10705: fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 16:56:08 +08:00
Zexi Li
8cc2b6b7b1 Merge pull request #10703 from zexi/automated-cherry-pick-of-#10702-upstream-release-3.7
Automated cherry pick of #10702: fix(host-deployer): mkfs.ext4 add '-T largefile' option
2021-04-13 15:44:25 +08:00
rainzm
c8d1ac215a fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:45:46 +08:00
Zexi Li
ecaa035949 fix(host-deployer): mkfs.ext4 add '-T largefile' option 2021-04-13 11:49:48 +08:00
Zexi Li
d058b06dce Merge pull request #10670 from yousong/automated-cherry-pick-of-#10669-upstream-release-3.7
Automated cherry pick of #10669: region: guests: sshable: more friendly fail reason for proxy_forward
2021-04-13 11:44:42 +08:00
Zexi Li
92ebcc01dc Merge pull request #10696 from rainzm/automated-cherry-pick-of-#10695-upstream-release-3.7
Automated cherry pick of #10695: feat(region): allow to update account with provider vmware
2021-04-13 10:25:46 +08:00
Zexi Li
8b40fad185 Merge pull request #10701 from zexi/automated-cherry-pick-of-#10699-upstream-release-3.7
Automated cherry pick of #10699: feat(fetcherfs): make rpm and deb package
2021-04-13 10:25:12 +08:00
Zexi Li
d518257c3a feat(fetcherfs): make rpm and deb package 2021-04-12 21:31:27 +08:00
Yousong Zhou
042a572818 region: guests: sshable: only check sshable state when in running state 2021-04-12 17:35:03 +08:00
Yousong Zhou
188cac1fdb region: guests: sshable: return early on sshable=true 2021-04-12 17:35:03 +08:00
Yousong Zhou
59e224518a region: guests: sshable: more friendly fail reason for proxy_forward 2021-04-12 17:35:03 +08:00
rainzm
12d1aa805d feat(region): allow to update account with provider vmware 2021-04-12 15:56:42 +08:00
Zexi Li
fc62085cf9 Merge pull request #10672 from zhaoxiangchun/automated-cherry-pick-of-#10671-upstream-release-3.7
Automated cherry pick of #10671: fix(monitor): alertPanel add dumplicate name check
2021-04-12 13:17:54 +08:00
Zexi Li
15253f69fb Merge pull request #10689 from ioito/automated-cherry-pick-of-#10688-upstream-release-3.7
Automated cherry pick of #10688: fix: actions domain filter by project doamin id
2021-04-12 13:17:06 +08:00
Zexi Li
65865c9c07 Merge pull request #10693 from zexi/automated-cherry-pick-of-#10692-upstream-release-3.7
Automated cherry pick of #10692: fix(readme): rename OneCloud to YunionCloud
2021-04-12 13:15:55 +08:00
Zexi Li
3a66bfbe91 Merge pull request #10684 from swordqiu/automated-cherry-pick-of-#10683-upstream-release-3.7
Automated cherry pick of #10683: fix(baremetal-agent): baremetal will probe status in status unknown
2021-04-12 13:15:22 +08:00
Zexi Li
4c4c015626 fix(readme): rename OneCloud to YunionCloud 2021-04-12 13:14:30 +08:00
Qu Xuan
287d5a5554 fix: actions domain filter by project doamin id 2021-04-12 11:41:54 +08:00
Qiu Jian
32311f989f fix(baremetal-agent): baremetal will probe status in status unknown 2021-04-12 00:23:12 +08:00
Zexi Li
dccd9d8c26 Merge pull request #10682 from ioito/automated-cherry-pick-of-#10681-upstream-release-3.7
Automated cherry pick of #10681: fix: nas for huawei
2021-04-10 12:07:08 +08:00
Qu Xuan
19b617b1e4 fix: nas for huawei 2021-04-09 19:44:14 +08:00
Zexi Li
8c749f23d5 Merge pull request #10541 from rainzm/automated-cherry-pick-of-#10537-upstream-release-3.7
Automated cherry pick of #10537: Ecloud support
2021-04-09 17:55:37 +08:00
Zexi Li
d794650d40 Merge pull request #10679 from zexi/automated-cherry-pick-of-#10678-upstream-release-3.7
Automated cherry pick of #10678: fix(host): detect ovs version
2021-04-09 17:19:42 +08:00
Zexi Li
9e88d5bc0c Merge pull request #10668 from rainzm/automated-cherry-pick-of-#10667-upstream-release-3.7
Automated cherry pick of #10667: feat(notify): exempt the administrator to update the receiver verification
2021-04-09 17:03:20 +08:00
Zexi Li
d6d28cf01a fix(host): detect ovs version 2021-04-09 17:01:10 +08:00
Zexi Li
84d99ae8e6 Merge pull request #10677 from ioito/automated-cherry-pick-of-#10666-upstream-release-3.7
Automated cherry pick of #10666: feat: add nas sync
2021-04-09 11:19:38 +08:00
Qu Xuan
0343daa1fa feat: add nas sync 2021-04-09 10:44:40 +08:00
Zexi Li
8e8a2313ca Merge pull request #10676 from ioito/automated-cherry-pick-of-#10675-upstream-release-3.7
Automated cherry pick of #10675: fix: add trans info
2021-04-09 10:39:47 +08:00
Zexi Li
b66c2c78a6 Merge pull request #10674 from ioito/automated-cherry-pick-of-#10673-upstream-release-3.7
Automated cherry pick of #10673: fix: optimized aliyun error
2021-04-09 10:39:11 +08:00
zhaoxiangchun
9901f56b73 fix(monitor): set alertdashboard scope 2021-04-09 10:35:37 +08:00
zhaoxiangchun
383709d8e6 fix(monitor): alertPanel add dumplicate name check
1.重名自动+1
2021-04-09 10:35:37 +08:00
Qu Xuan
bc991fda78 fix: add trans info 2021-04-08 21:19:18 +08:00
Qu Xuan
3e984f1158 fix: optimized aliyun error 2021-04-08 20:54:39 +08:00
Zexi Li
3a5a7401a6 Merge pull request #10594 from zhaoxiangchun/automated-cherry-pick-of-#10592-upstream-release-3.7
Automated cherry pick of #10592: fix(host): update host metric tags when server or host  changeowner
2021-04-08 18:13:21 +08:00
rainzm
66b6a2f62c feat(notify): exempt the administrator to update the receiver verification 2021-04-08 17:21:53 +08:00
zhaoxiangchun
4661533639 fix(host): update host metric tags when server or host changeowner 2021-04-08 17:19:21 +08:00
rainzm
34cbe2d55b feat(region): support Ecloud (readonly) 2021-04-08 11:38:45 +08:00
rainzm
6a9f2a416f feat(region): disable synchronization of some special storage 2021-04-08 11:38:45 +08:00
Zexi Li
f84d8ca58a Merge pull request #10665 from ioito/automated-cherry-pick-of-#10664-upstream-release-3.7
Automated cherry pick of #10664: fix: qcloud eip bandwidth
2021-04-08 11:27:55 +08:00
Qu Xuan
c12125d864 fix: qcloud eip bandwidth 2021-04-08 11:12:46 +08:00
Zexi Li
b5823e6431 Merge pull request #10663 from rainzm/automated-cherry-pick-of-#10662-upstream-release-3.7
Automated cherry pick of #10662: fix(region): remove code about getting service url
2021-04-08 10:53:59 +08:00
rainzm
24be43090b fix(region): remove code about getting service url 2021-04-08 10:46:54 +08:00
Zexi Li
52213bf234 Merge pull request #10620 from swordqiu/automated-cherry-pick-of-#10619-upstream-release-3.7
Automated cherry pick of #10619: fix(region): remove i18n lock and logs
2021-04-08 10:34:15 +08:00
Zexi Li
82de3c04da Merge pull request #10587 from ioito/automated-cherry-pick-of-#10586-upstream-release-3.7
Automated cherry pick of #10586: fix: secgroup cache policy
2021-04-08 10:33:12 +08:00
Zexi Li
0766696681 Merge pull request #10659 from swordqiu/automated-cherry-pick-of-#10658-upstream-release-3.7
Automated cherry pick of #10658: fix(region): sync baremetal desc before do ipmi probing
2021-04-08 10:14:25 +08:00
Qu Xuan
f60e956414 fix: secgroup cache policy 2021-04-08 09:46:34 +08:00
Qiu Jian
39de7daaeb fix(region): sync baremetal desc before do ipmi probing 2021-04-08 01:29:32 +08:00
Zexi Li
18e7847b77 Merge pull request #10657 from ioito/automated-cherry-pick-of-#10656-upstream-release-3.7
Automated cherry pick of #10656: fix: validate secgroup references
2021-04-07 21:47:56 +08:00
Zexi Li
745164b4ec Merge pull request #10655 from rainzm/automated-cherry-pick-of-#10654-upstream-release-3.7
Automated cherry pick of #10654: fix(notify): exempt the administrator to create the receiver verification
2021-04-07 21:47:26 +08:00
Zexi Li
5fc53aef9c Merge pull request #10498 from yousong/automated-cherry-pick-of-#10497-upstream-release-3.7
Automated cherry pick of #10497: [rfc] Feature/yousong vpc route
2021-04-07 21:32:53 +08:00
Zexi Li
da55cc03c5 Merge pull request #10350 from rainzm/automated-cherry-pick-of-#9824-upstream-release-3.7
Automated cherry pick of #9824: Install monitor agent for VM
2021-04-07 21:22:11 +08:00
Qu Xuan
3e88e3093d fix: validate secgroup references 2021-04-07 21:01:18 +08:00
rainzm
3805119c4a fix(notify): exempt the administrator to create the receiver verification 2021-04-07 19:19:36 +08:00
rainzm
a1f508929f feat(devtool): check sshable before applying ansible playbook for server 2021-04-07 18:50:29 +08:00
rainzm
abd7771c78 feat(devtool): add script
Script in devtool is a program or configuration that can be applied to the target host,
currently only supports ansible playbook
2021-04-07 18:50:29 +08:00
rainzm
e671a218e9 feat(cloudcommon): set TaskNotifyUrl in GetTaskRequestHeader
To support cross-service task callbacks, you must set TaskNotifyUrl,
which is automatically added to TaskRequestHeader here
2021-04-07 18:50:29 +08:00
rainzm
c95f064d10 feat(ansibleserver): add reference and instance
Reference is a reference to a local or remote playbook without certain inventory
and its location is determined by playbookPath.
Instance is a complete playbook that can be executed directly, it is filled with inventory and config.
Instance ensures that the playbook is executed successfully as far as
possible without exceeding the maximum number of attempts
2021-04-07 18:50:29 +08:00
rainzm
c043af3ae2 feat(docker): inject playbook and telegraf installation packages 2021-04-07 18:50:29 +08:00
Zexi Li
96f1f35427 Merge pull request #10651 from rainzm/automated-cherry-pick-of-#10650-upstream-release-3.7
Automated cherry pick of #10650: feat(notify): filter receivers who join the project under the domain where the requester is currently located
2021-04-07 18:08:30 +08:00
Zexi Li
734e39d816 Merge pull request #10653 from rainzm/automated-cherry-pick-of-#10652-upstream-release-3.7
Automated cherry pick of #10652: fix(region): rigorously merge the network under wire
2021-04-07 18:07:47 +08:00
Zexi Li
ac83770ce8 Merge pull request #10645 from swordqiu/automated-cherry-pick-of-#10644-upstream-release-3.7
Automated cherry pick of #10644: fix(region): allow ipmi probe in status unknown
2021-04-07 17:55:52 +08:00
Zexi Li
30d3d69eea Merge pull request #10648 from rainzm/automated-cherry-pick-of-#10647-upstream-release-3.7
Automated cherry pick of #10647: fix(region): avoid refreshing when checking the image
2021-04-07 17:37:29 +08:00
rainzm
4ea6067307 fix(region): rigorously merge the network under wire
网络a和网络b能不能合并 = 网络a能不能合并到网络b || 网络b能不能合并到网络a
2021-04-07 16:58:59 +08:00
rainzm
c1ef5f28f2 feat(notify): filter receivers who join the project under the domain where the requester is currently located 2021-04-07 16:17:56 +08:00
yunion-ci-robot
9ccf73d668 Merge pull request #10643 from tb365/automated-cherry-pick-of-#10637-upstream-release-3.7
Automated cherry pick of #10637: fix(region): guest associate eip checking fix
2021-04-07 16:14:47 +08:00
rainzm
c24cb90920 fix(region): avoid refreshing when checking the image 2021-04-07 10:54:34 +08:00
Qiu Jian
79452d771a fix(region): allow ipmi probe in status unknown 2021-04-07 01:00:30 +08:00
tangbin
2f075de8cb fix(region): guest sync eip fix 2021-04-06 18:41:41 +08:00
tangbin
e728f62fdf fix(region): guest associate eip checking fix 2021-04-06 18:41:41 +08:00
Zexi Li
b1a7527e10 Merge pull request #10600 from yousong/automated-cherry-pick-of-#10599-upstream-release-3.7
Automated cherry pick of #10599: Feature/yousong sshable
2021-04-06 18:41:25 +08:00
Zexi Li
c00cd7016d Merge pull request #10630 from rainzm/automated-cherry-pick-of-#10629-upstream-release-3.7
Automated cherry pick of #10629: feat(region): virtually display the esxiagent of the cached image as a host
2021-04-06 18:39:44 +08:00
Zexi Li
f1c980f703 Merge pull request #10639 from rainzm/automated-cherry-pick-of-#10638-upstream-release-3.7
Automated cherry pick of #10638: feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验
2021-04-06 18:26:07 +08:00
rainzm
956850ae3d feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验 2021-04-06 17:21:25 +08:00
Zexi Li
99cf9d8eea Merge pull request #10632 from yousong/automated-cherry-pick-of-#10631-upstream-release-3.7
Automated cherry pick of #10631: apigateway: handler: add cloudproxy
2021-04-06 17:09:32 +08:00
Zexi Li
0f3754efab Merge pull request #10634 from ioito/automated-cherry-pick-of-#10633-upstream-release-3.7
Automated cherry pick of #10633: fix: private cloud sku attached disk count
2021-04-06 17:08:37 +08:00
Qu Xuan
295d4b993b fix: private cloud sku attached disk count 2021-04-06 15:02:51 +08:00
Yousong Zhou
f9cfee0554 climc: compute: add command server-sshable 2021-04-06 13:02:34 +08:00
Yousong Zhou
05545a0e45 region: guests: add GET /servers/<guest-id>/sshable 2021-04-06 13:02:34 +08:00
Yousong Zhou
ed061d0821 cloudproxy: agent: ssh: cancel on return from Start 2021-04-06 13:02:34 +08:00
Yousong Zhou
8701114f78 cloudproxy: add metadata model 2021-04-06 13:02:34 +08:00
Yousong Zhou
ba7fe6f544 cloudproxy: agent: fix possible invalid memory access 2021-04-06 13:02:33 +08:00
Yousong Zhou
4b01916e64 cloudproxy: agent: use yunion.io/x/onecloud/pkg/util/ssh 2021-04-06 13:02:33 +08:00
Yousong Zhou
148481f03e cloudproxy: forwards: more list filter conditional keys 2021-04-06 13:02:33 +08:00
Yousong Zhou
6ec27d22b5 cloudproxy: apis: add ForwardDetails definition 2021-04-06 13:02:33 +08:00
Yousong Zhou
e4662b77f1 util: ssh: add ConnectContext method for ClientConfig 2021-04-06 13:02:33 +08:00
Yousong Zhou
39c1695821 apigateway: handler: add cloudproxy 2021-04-06 11:55:58 +08:00
rainzm
791f942196 feat(region): virtually display the esxiagent of the cached image as a host 2021-04-06 11:33:57 +08:00
Zexi Li
f9357d30c1 Merge pull request #10623 from swordqiu/automated-cherry-pick-of-#10622-upstream-release-3.7
Automated cherry pick of #10622: fix(keystone): role_assignment effective list ignore groups without user
2021-04-06 10:18:22 +08:00
Zexi Li
0b4bba3ee3 Merge pull request #10628 from swordqiu/automated-cherry-pick-of-#10627-upstream-release-3.7
Automated cherry pick of #10627: feature: add a standalone dhcp relay service
2021-04-06 10:16:35 +08:00
Qiu Jian
baabc82903 feature: add a standalone dhcp relay service 2021-04-06 08:50:59 +08:00
Qiu Jian
128f895c5c fix(keystone): role_assignment effective list ignore groups without user 2021-04-05 17:21:21 +08:00
Qiu Jian
2749d2c708 fix(region): remove i18n lock and logs 2021-04-05 16:39:45 +08:00
Zexi Li
4b4349fe7d Merge pull request #10613 from swordqiu/automated-cherry-pick-of-#10612-upstream-release-3.7
Automated cherry pick of #10612: fix(region): add usage cache, speedup response
2021-04-05 00:55:18 +08:00
yunion-ci-robot
2e2f995d98 Merge pull request #10617 from ioito/automated-cherry-pick-of-#10616-upstream-release-3.7
Automated cherry pick of #10616: fix(region): new aws region
2021-04-04 20:15:44 +08:00
yunion-ci-robot
e86c71b4c2 Merge pull request #10609 from ioito/automated-cherry-pick-of-#10608-upstream-release-3.7
Automated cherry pick of #10608: fix: time sync duration
2021-04-04 20:12:46 +08:00
Qiu Jian
c2d3355ba6 response scope-specific metrics 2021-04-04 20:08:13 +08:00
Qiu Jian
3248f57253 fix(region): add usage cache, speedup response 2021-04-04 20:08:13 +08:00
Qu Xuan
bc1c1c20b6 fix: new aws region 2021-04-03 12:31:14 +08:00
Qu Xuan
67df9bb417 fix: time sync duration 2021-04-02 20:54:31 +08:00
Zexi Li
24bdba49fa Merge pull request #10602 from rainzm/automated-cherry-pick-of-#10601-upstream-release-3.7
Automated cherry pick of #10601: Fix the problem of hostwire producted by #9723
2021-04-02 20:04:43 +08:00
Zexi Li
5843a4a2e2 Merge pull request #10604 from zexi/automated-cherry-pick-of-#10603-upstream-release-3.7
Automated cherry pick of #10603: fix(baremetal): sas2iru parse line
2021-04-02 20:03:56 +08:00
Zexi Li
6f66566f41 Merge pull request #10579 from swordqiu/automated-cherry-pick-of-#10576-upstream-release-3.7
Automated cherry pick of #10576: fix(region): allow ipmi probe when probe fail
2021-04-02 19:44:37 +08:00
Zexi Li
5afefffadb Merge pull request #10582 from swordqiu/automated-cherry-pick-of-#10581-upstream-release-3.7
Automated cherry pick of #10581: fix(hostman): recycle local disk file when rebuilding root
2021-04-02 19:42:47 +08:00
Zexi Li
d4ca3e9ff6 Merge pull request #10591 from ioito/automated-cherry-pick-of-#10590-upstream-release-3.7
Automated cherry pick of #10590: fix: secgroup cache reference
2021-04-02 19:41:23 +08:00
Zexi Li
a881a955b5 Merge pull request #10596 from rainzm/automated-cherry-pick-of-#10595-upstream-release-3.7
Automated cherry pick of #10595: Fixes problem of Esxi Disk with iso creating
2021-04-02 19:40:13 +08:00
Zexi Li
20c041ec02 fix(baremetal): sas2iru parse line 2021-04-02 19:28:25 +08:00
rainzm
841ec1f251 fix(region): expand the bridge field
由于 esxi 中,bridge 是 dvs 的一个路径,长度为 16 字段会不够用
2021-04-02 19:23:22 +08:00
rainzm
052442ef66 fix(region): de-duplication when obtaining the number of hosts 2021-04-02 19:23:22 +08:00
rainzm
18bececcf2 fix(esxi): determine whether the disk is a root disk more reasonably
The order of the device is often sorted according to the size of the
key. The disk pointed to by the smallest key is not necessarily the
root disk or the first disk which often has the label of 'Hard disk 1'.
We try to find the label, if not, use the Key again to determine who
is the root disk.
2021-04-02 19:21:35 +08:00
rainzm
6cb91fdea0 feat(esxi): change parameters for NewDiskDev and avoid unnecessary deploy
1. The fields UnitNumber and Index should be independent
2. Avoid unnecessary deploy, such create vm with iso not image
2021-04-02 19:21:35 +08:00
rainzm
f8a822c5f3 fix(esxi): add ListPath for storage and use it to check iso
When remote iso file is used, CheckFile will failed.
2021-04-02 19:21:35 +08:00
Qu Xuan
2d57443765 fix: secgroup cache reference 2021-04-02 16:20:31 +08:00
Zexi Li
45538dc807 Merge pull request #10588 from swordqiu/automated-cherry-pick-of-#7047-upstream-release-3.7
Automated cherry pick of #7047: fix: adjust primary key length when sqlchemy utf8 default to utf8mb4
2021-04-02 15:10:47 +08:00
Qiu Jian
0c57a713e5 fix: adjust primary key length when sqlchemy utf8 default to utf8mb4 2021-04-02 15:06:19 +08:00
Qiu Jian
20c4dad4e1 fix(hostman): recycle local disk file when rebuilding root 2021-04-02 02:16:44 +08:00
yunion-ci-robot
6f5cdaa1e4 Merge pull request #10569 from ioito/automated-cherry-pick-of-#10568-upstream-release-3.7
Automated cherry pick of #10568: fix: avoid listener worker leak
2021-04-01 22:43:39 +08:00
Qiu Jian
14bd5ea08a fix(region): allow ipmi probe when probe fail 2021-04-01 22:38:30 +08:00
yunion-ci-robot
92d5ed4b7d Merge pull request #10575 from ioito/automated-cherry-pick-of-#10482-upstream-release-3.7
Automated cherry pick of #10482: fix: before insert
2021-04-01 22:27:42 +08:00
Qu Xuan
0c72b07c3a fix: before insert 2021-04-01 21:25:58 +08:00
Zexi Li
0e8cadc1e0 Merge pull request #10547 from zexi/automated-cherry-pick-of-#10546-upstream-release-3.7
Automated cherry pick of #10546: fix(host): arm vm virtio-net-pci without addr
2021-04-01 20:52:50 +08:00
Zexi Li
b4b7afa6b5 Merge pull request #10550 from swordqiu/automated-cherry-pick-of-#10549-upstream-release-3.7
Automated cherry pick of #10549: fix(image): update min_disk of iso image
2021-04-01 20:51:51 +08:00
Zexi Li
a26fd9ec3a Merge pull request #10553 from zhaoxiangchun/automated-cherry-pick-of-#10552-upstream-release-3.7
Automated cherry pick of #10552: fix(monitor):修复监控总览图标钻取后返回数据异常的问题
2021-04-01 20:51:03 +08:00
Zexi Li
e860d82907 Merge pull request #10556 from ioito/automated-cherry-pick-of-#10555-upstream-release-3.7
Automated cherry pick of #10555: fix: nat sku domain policy
2021-04-01 20:50:38 +08:00
Zexi Li
93eaa19c35 Merge pull request #10558 from ioito/automated-cherry-pick-of-#10557-upstream-release-3.7
Automated cherry pick of #10557: fix: cloudaccount auto sync
2021-04-01 20:49:56 +08:00
Zexi Li
32eb6d06b3 Merge pull request #10562 from ioito/automated-cherry-pick-of-#10561-upstream-release-3.7
Automated cherry pick of #10561: fix: vendor update
2021-04-01 20:48:47 +08:00
Zexi Li
b6c2f94232 Merge pull request #10566 from rainzm/automated-cherry-pick-of-#10565-upstream-release-3.7
Automated cherry pick of #10565: fix(esxi): be compatible with disconnected host
2021-04-01 20:47:53 +08:00
Zexi Li
a2d9bc7784 Merge pull request #10574 from ioito/automated-cherry-pick-of-#10573-upstream-release-3.7
Automated cherry pick of #10573: fix: avoid update protocol with any faild
2021-04-01 20:44:45 +08:00
Qu Xuan
71b0a4faeb fix: avoid update protocol with any faild 2021-04-01 17:36:45 +08:00
Qu Xuan
7b79a8e49a fix: avoid listener worker leak 2021-04-01 17:26:48 +08:00
rainzm
d9040773fd fix(esxi): be compatible with disconnected host 2021-04-01 17:18:07 +08:00
Qu Xuan
8e65757b90 fix: vendor update 2021-04-01 16:54:11 +08:00
Qu Xuan
15efe1933c fix: cloudaccount auto sync 2021-04-01 16:17:05 +08:00
Qu Xuan
263db9b8c2 fix: nat sku domain policy 2021-04-01 10:32:24 +08:00
zhaoxiangchun
36bdc18a8a fix(monitor):修复监控总览图标钻取后返回数据异常的问题 2021-04-01 10:05:15 +08:00
Qiu Jian
c23b169e1b fix(image): update min_disk of iso image 2021-03-31 23:21:23 +08:00
Zexi Li
45b6072f21 fix(host): arm vm virtio-net-pci without addr 2021-03-31 18:53:22 +08:00
Yousong Zhou
aaa3f23b98 Merge pull request #10544 from zhaoxiangchun/automated-cherry-pick-of-#10543-upstream-release-3.7
Automated cherry pick of #10543: fix(host): modification of netio collection field  of local virtual machine
2021-03-31 15:17:18 +08:00
yunion-ci-robot
19392394d2 Merge pull request #10539 from swordqiu/automated-cherry-pick-of-#10538-upstream-release-3.7
Automated cherry pick of #10538: fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week
2021-03-31 15:12:42 +08:00
zhaoxiangchun
83a8364116 fix(host): modification of netio collection field of local virtual machine
1.本地虚拟机指标保存时field存在转换关系
bits_recv
bits_sent
2021-03-31 10:33:18 +08:00
Qiu Jian
762664fd0e fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week 2021-03-31 03:38:51 +08:00
Zexi Li
9f4880b3d1 Merge pull request #10526 from ioito/automated-cherry-pick-of-#10525-upstream-release-3.7
Automated cherry pick of #10525: fix: peer secgroup rule fix
2021-03-30 19:47:50 +08:00
Zexi Li
62e5194522 Merge pull request #10530 from ioito/automated-cherry-pick-of-#10529-upstream-release-3.7
Automated cherry pick of #10529: fix: instance with eip charge type
2021-03-30 19:46:27 +08:00
Zexi Li
26a36febe2 Merge pull request #10528 from ioito/automated-cherry-pick-of-#10527-upstream-release-3.7
Automated cherry pick of #10527: fix: vpc public with nat
2021-03-30 19:45:31 +08:00
Zexi Li
6fe31c82ee Merge pull request #10536 from zhaoxiangchun/automated-cherry-pick-of-#10534-upstream-release-3.7
Automated cherry pick of #10534: fix(monitor): alertQuery fix
2021-03-30 19:44:20 +08:00
zhaoxiangchun
1b045d59c0 fix(monitor): alertQuery fix
1.兼容meter相关的监控数据查询
2.根据groupby
  确定resType,从而确定云管中对应的资源,然后进行属性填充,解决资源属性修改的问题
2021-03-30 18:24:15 +08:00
Zexi Li
6fb26dccd7 Merge pull request #10532 from swordqiu/automated-cherry-pick-of-#10531-upstream-release-3.7
Automated cherry pick of #10531: fix(region): show storage capacity to project users
2021-03-30 15:53:54 +08:00
Qiu Jian
a44eb70df1 fix(region): show storage capacity to project users 2021-03-30 12:28:41 +08:00
Qu Xuan
4f00223dfa fix: instance with eip charge type 2021-03-30 11:47:19 +08:00
Qu Xuan
aea94c0667 fix: vpc public with nat 2021-03-29 17:48:16 +08:00
Qu Xuan
14be7b8a04 fix: peer secgroup rule fix 2021-03-29 17:28:48 +08:00
Zexi Li
e04c481d33 Merge pull request #10517 from zhaoxiangchun/automated-cherry-pick-of-#10516-upstream-release-3.7
Automated cherry pick of #10516: fix(monitor): filter alertquery result according to onecloud resources
2021-03-29 17:15:54 +08:00
Zexi Li
fffe278371 Merge pull request #10515 from zhaoxiangchun/automated-cherry-pick-of-#10514-upstream-release-3.7
Automated cherry pick of #10514: fix(monitor): registry alertPanel in mcclient
2021-03-29 12:14:46 +08:00
Zexi Li
c79ad8ba35 Merge pull request #10522 from ioito/automated-cherry-pick-of-#10521-upstream-release-3.7
Automated cherry pick of #10521: fix: account auto sync time
2021-03-29 12:13:44 +08:00
Qu Xuan
0a81e8a54d fix: account auto sync time 2021-03-29 11:22:28 +08:00
Zexi Li
8eb81fdda9 Merge pull request #10520 from swordqiu/automated-cherry-pick-of-#10519-upstream-release-3.7
Automated cherry pick of #10519: fix(region): aws sts assume role fail break account initialization
2021-03-29 09:51:54 +08:00
Qiu Jian
51dfb8f733 fix(region): aws sts assume role fail break account initialization 2021-03-29 06:32:46 +08:00
zhaoxiangchun
4ad8729f7a fix(monitor): filter alertquery result according to onecloud resources
1.排除已经删除的资源
2.对已经删除的资源不再持续报警
2021-03-28 18:56:47 +08:00
zhaoxiangchun
23e44d83d3 fix(monitor): registry alertPanel in mcclient 2021-03-27 22:00:52 +08:00
yunion-ci-robot
7858f3e2f3 Merge pull request #10511 from ioito/automated-cherry-pick-of-#10510-upstream-release-3.7
Automated cherry pick of #10510: fix: sku zone
2021-03-26 17:31:38 +08:00
Qu Xuan
038faf7912 fix: sku zone 2021-03-26 16:45:24 +08:00
Zexi Li
871801da5f Merge pull request #10500 from yousong/automated-cherry-pick-of-#10499-upstream-release-3.7
Automated cherry pick of #10499: vpcagent: ovn: fix qos for eip upload
2021-03-26 15:18:08 +08:00
Zexi Li
62c8052b1f Merge pull request #10506 from swordqiu/automated-cherry-pick-of-#10505-upstream-release-3.7
Automated cherry pick of #10505: fix(baremetal): megactl driver fail to find device by key
2021-03-26 15:16:45 +08:00
Yousong Zhou
eee6e59b88 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:54 +08:00
Qiu Jian
6945b6250f fix(baremetal): megactl driver fail to find device by key 2021-03-26 03:20:03 +08:00
Yousong Zhou
0a929ed335 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:18:04 +08:00
Yousong Zhou
2ec4a1cec7 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:18:04 +08:00
Yousong Zhou
3c3cd4c59e vpcagent: models: annotate guest with guestnetworks 2021-03-24 20:18:04 +08:00
Yousong Zhou
f7c4e38e18 vpcagent: models: add route tables 2021-03-24 20:18:04 +08:00
Yousong Zhou
97433ccfab region: apis: route: add nexthop type "IP" 2021-03-24 20:18:04 +08:00
Zexi Li
0a844d088d Merge pull request #10495 from zhaoxiangchun/automated-cherry-pick-of-#10494-upstream-release-3.7
Automated cherry pick of #10494: fix(monitor): modify onecloud replacement code
2021-03-24 19:35:40 +08:00
Zexi Li
7efba1f0c5 Merge pull request #10493 from ioito/automated-cherry-pick-of-#10490-upstream-release-3.7
Automated cherry pick of #10490: fix: nat delete and create fix
2021-03-24 19:35:33 +08:00
Zexi Li
9a58806105 Merge pull request #10486 from tb365/automated-cherry-pick-of-#10483-upstream-release-3.7
Automated cherry pick of #10483: (fix) region: qcloud elb https listener create fix
2021-03-24 18:51:50 +08:00
zhaoxiangchun
fdafdeb8a5 fix(monitor): modify onecloud replacement code
1.增加copyright api查询逻辑
2021-03-24 18:09:21 +08:00
Qu Xuan
740937ff61 fix: nat delete and create fix 2021-03-24 14:09:26 +08:00
Zexi Li
f2613cfdfd Merge pull request #10488 from ioito/automated-cherry-pick-of-#10487-upstream-release-3.7
Automated cherry pick of #10487: fix: remove qcloud region and zone prefix
2021-03-24 12:22:23 +08:00
Zexi Li
9db0eb5a59 Merge pull request #10491 from zexi/fix/build-telegraf-raid-plugin
fix(build): build telegraf-raid-plugin
2021-03-24 12:21:33 +08:00
Zexi Li
183e9cfa5f fix(build): build telegraf-raid-plugin 2021-03-24 12:18:29 +08:00
Qu Xuan
82ac671238 fix: remove qcloud region and zone prefix 2021-03-23 17:43:54 +08:00
tangbin
07eea2f703 (fix) region: qcloud elb https listener create fix 2021-03-23 15:49:01 +08:00
Zexi Li
5a8aea333a Merge pull request #10475 from yousong/automated-cherry-pick-of-#10474-upstream-release-3.7
Automated cherry pick of #10474: Bugfix/yousong guestnic
2021-03-23 10:39:39 +08:00
Zexi Li
0bf0b0fa05 Merge pull request #10481 from zexi/automated-cherry-pick-of-#10479-upstream-release-3.7
Automated cherry pick of #10479: fix(host): ignore parted resize disk unknown partition table error
2021-03-23 10:38:36 +08:00
Zexi Li
fc1abe2ebf fix(host): ignore parted resize disk unknown partition table error 2021-03-23 10:00:44 +08:00
Yousong Zhou
1b07ee7987 region: fix setting nic index
When a guest has two nics, changing ip address of the 1st will cause
the new nic after detach then attach to be "1", colliding with the
original nic of index 1
2021-03-22 19:34:01 +08:00
Yousong Zhou
90fd8c868f region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:34:01 +08:00
Zexi Li
1d19289ccb Merge pull request #10469 from swordqiu/automated-cherry-pick-of-#10468-upstream-release-3.7
Automated cherry pick of #10468: fix(log): add filters to baremetal event logs
2021-03-22 16:09:12 +08:00
Zexi Li
7f4538d3fc Merge pull request #10472 from ioito/automated-cherry-pick-of-#10451-upstream-release-3.7
Automated cherry pick of #10451: fix: add qcloud get tags and remove unused interface
2021-03-22 14:02:17 +08:00
Zexi Li
31559d29c0 Merge pull request #10473 from swordqiu/automated-cherry-pick-of-#10471-upstream-release-3.7
Automated cherry pick of #10471: fix(apigateway): use info response service type of console endpoints
2021-03-22 14:00:32 +08:00
Qiu Jian
2990e5d478 fix(apigateway): use info response service type of console endpoints 2021-03-22 13:59:27 +08:00
Qu Xuan
cc8a400000 fix: add qcloud get tags and remove unused interface 2021-03-22 12:08:43 +08:00
Qiu Jian
1e4b1f3d37 fix(log): add filters to baremetal event logs 2021-03-22 10:53:10 +08:00
Zexi Li
92f4ccbe2c Merge pull request #10463 from ioito/automated-cherry-pick-of-#10462-upstream-release-3.7
Automated cherry pick of #10462: fix: add index for image_type
2021-03-22 10:45:20 +08:00
Zexi Li
a13a38e1eb Merge pull request #10461 from rainzm/automated-cherry-pick-of-#10460-upstream-release-3.7
Automated cherry pick of #10460: fix(notify): be compatible with robots and webhooks
2021-03-22 10:44:31 +08:00
Zexi Li
b7420826cf Merge pull request #10467 from zexi/automated-cherry-pick-of-#10449-upstream-release-3.7
Automated cherry pick of #10449: fix: nat sku env
2021-03-22 10:43:22 +08:00
Qu Xuan
22756d4952 fix: nat sku env 2021-03-22 10:42:55 +08:00
Zexi Li
c3c63b1b02 Merge pull request #10453 from ioito/automated-cherry-pick-of-#10452-upstream-release-3.7
Automated cherry pick of #10452: fix: avoid panic when use idc vpc
2021-03-22 10:40:38 +08:00
Zexi Li
cd7a65a993 Merge pull request #10456 from swordqiu/automated-cherry-pick-of-#10455-upstream-release-3.7
Automated cherry pick of #10455: fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:19 +08:00
Qu Xuan
1fd9bd5b2f fix: add index for image_type 2021-03-19 14:29:17 +08:00
rainzm
ad1d065ac6 fix(notify): be compatible with robots and webhooks 2021-03-19 11:11:27 +08:00
Qiu Jian
e6868d5d0f fix(keystone): allow joint projects across domains by default 2021-03-19 00:00:22 +08:00
Qu Xuan
1aeb8a9a80 fix: avoid panic when use idc vpc 2021-03-18 21:04:34 +08:00
Zexi Li
ea992cab10 Merge pull request #10447 from zexi/automated-cherry-pick-of-#10446-upstream-release-3.7
Automated cherry pick of #10446: feat(host): adjust qemu args to support aarch64
2021-03-18 15:22:44 +08:00
Zexi Li
1cd6cf50af feat(host): adjust qemu args to support aarch64 2021-03-18 14:59:43 +08:00
Zexi Li
5aaaebd028 Merge pull request #10432 from rainzm/automated-cherry-pick-of-#10431-upstream-release-3.7
Automated cherry pick of #10431: feat(region): add wire info in HostNetwork details
2021-03-18 10:24:37 +08:00
Zexi Li
27811c8de2 Merge pull request #10438 from swordqiu/automated-cherry-pick-of-#10437-upstream-release-3.7
Automated cherry pick of #10437: fix(region): scoped policy filter by project id
2021-03-18 10:23:55 +08:00
Zexi Li
c6d09a3e76 Merge pull request #10442 from swordqiu/automated-cherry-pick-of-#10441-upstream-release-3.7
Automated cherry pick of #10441: fix(region): including domain info in project-role results
2021-03-18 10:23:26 +08:00
Zexi Li
f474df27cf Merge pull request #10401 from ioito/automated-cherry-pick-of-#10162-upstream-release-3.7
Automated cherry pick of #10162: fix(region): struct input for detach server network
2021-03-18 10:18:28 +08:00
Zexi Li
60bd8f2dec Merge pull request #10400 from ioito/automated-cherry-pick-of-#10399-upstream-release-3.7
Automated cherry pick of #10399: fix: optimzed tag update and sync
2021-03-18 10:18:06 +08:00
Zexi Li
c9b3c00c4d Merge pull request #10434 from ioito/automated-cherry-pick-of-#10433-upstream-release-3.7
Automated cherry pick of #10433: fix: avoid stop or start vm failed
2021-03-18 10:17:26 +08:00
Zexi Li
607a451596 Merge pull request #10430 from ioito/automated-cherry-pick-of-#10429-upstream-release-3.7
Automated cherry pick of #10429: fix: optimized nat entry
2021-03-18 10:16:23 +08:00
Qiu Jian
3288fe9da2 fix(region): including domain info in project-role results 2021-03-18 00:33:16 +08:00
Qiu Jian
8ca6d176f0 fix(region): scoped policy filter by project id 2021-03-17 23:01:38 +08:00
Qu Xuan
e8b70d483c fix: avoid stop or start vm failed 2021-03-17 20:03:02 +08:00
rainzm
16e7346871 feat(region): add wire info in HostNetwork details 2021-03-17 15:46:46 +08:00
Zexi Li
5d35798300 Merge pull request #10426 from ioito/automated-cherry-pick-of-#10425-upstream-release-3.7
Automated cherry pick of #10425: fix: change rds config skip zone check
2021-03-17 11:43:15 +08:00
Qu Xuan
790366c938 fix: optimized nat entry 2021-03-17 11:27:40 +08:00
Zexi Li
3633e6fad2 Merge pull request #10420 from zhaoxiangchun/automated-cherry-pick-of-#10418-upstream-release-3.7
Automated cherry pick of #10418: fix(telegraf): megactl raid  add rebuild status
2021-03-15 18:46:04 +08:00
Zexi Li
ff3b43bef3 Merge pull request #10422 from ioito/automated-cherry-pick-of-#10421-upstream-release-3.7
Automated cherry pick of #10421: fix: qcloud bucket refer
2021-03-15 17:53:30 +08:00
Qu Xuan
dd55eae077 fix: change rds config skip zone check 2021-03-15 17:42:09 +08:00
Qu Xuan
7c2200c35d fix: qcloud bucket refer 2021-03-15 15:46:40 +08:00
zhaoxiangchun
85f971a21d fix(telegraf): megactl raid add rebuild status 2021-03-15 10:04:02 +08:00
yunion-ci-robot
82c01c7b85 Merge pull request #10415 from ioito/automated-cherry-pick-of-#10414-upstream-release-3.7
Automated cherry pick of #10414: fix: sync cloud tags when set tags
2021-03-14 01:26:23 +08:00
Qu Xuan
3b2c804e21 fix: sync cloud tags when set tags 2021-03-13 20:48:15 +08:00
yunion-ci-robot
42ec188c30 Merge pull request #10411 from ioito/automated-cherry-pick-of-#10410-upstream-release-3.7
Automated cherry pick of #10410: fix: skip zone check when rds change config
2021-03-13 19:23:23 +08:00
Qu Xuan
3ed28eea2b fix: skip zone check when rds change config 2021-03-13 19:00:18 +08:00
Zexi Li
0f4d76abb8 Merge pull request #10403 from swordqiu/automated-cherry-pick-of-#10402-upstream-release-3.7
Automated cherry pick of #10402: fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:15 +08:00
Qiu Jian
72e805ab92 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:14:41 +08:00
Zexi Li
a5613c8ed5 Merge pull request #10388 from swordqiu/automated-cherry-pick-of-#10387-upstream-release-3.7
Automated cherry pick of #10387: fix(region): fail to update network gateway
2021-03-12 17:37:58 +08:00
Zexi Li
5febc91df3 Merge pull request #10392 from ioito/automated-cherry-pick-of-#10391-upstream-release-3.7
Automated cherry pick of #10391: fix: sync new project for azure resource group
2021-03-12 17:35:22 +08:00
Zexi Li
103e00683d Merge pull request #10396 from rainzm/automated-cherry-pick-of-#10395-upstream-release-3.7
Automated cherry pick of #10395: feat(esxi): update guest os info
2021-03-12 17:33:58 +08:00
Qu Xuan
da4cf61cc3 fix(region): struct input for detach server network 2021-03-11 19:41:28 +08:00
Qu Xuan
a1820bc331 fix: optimzed tag update and sync 2021-03-11 19:27:04 +08:00
rainzm
37c1ba3636 feat(esxi): update guest os info 2021-03-11 16:43:55 +08:00
Qu Xuan
2b37418858 fix: sync new project for azure resource group 2021-03-11 15:01:14 +08:00
Qiu Jian
b92d3a93f8 fix(region): fail to update network gateway 2021-03-11 14:53:59 +08:00
Zexi Li
37a72cfccf Merge pull request #10371 from ioito/automated-cherry-pick-of-#10370-upstream-release-3.7
Automated cherry pick of #10370: Hotfix/qx prepaid change config
2021-03-11 11:45:20 +08:00
Zexi Li
50d0aea7ab Merge pull request #10375 from ioito/automated-cherry-pick-of-#10374-upstream-release-3.7
Automated cherry pick of #10374: fix: aliyun public ip bandwidth
2021-03-11 11:43:43 +08:00
Zexi Li
e68698bf3f Merge pull request #10379 from ioito/automated-cherry-pick-of-#10378-upstream-release-3.7
Automated cherry pick of #10378: fix: aliyun tag list api
2021-03-11 11:42:21 +08:00
Zexi Li
be52206d23 Merge pull request #10381 from ioito/automated-cherry-pick-of-#10380-upstream-release-3.7
Automated cherry pick of #10380: fix: add bucket tooltip
2021-03-11 11:41:41 +08:00
Zexi Li
58c60516ea Merge pull request #10383 from swordqiu/automated-cherry-pick-of-#10382-upstream-release-3.7
Automated cherry pick of #10382: fix(region): cloud provider filter by domain
2021-03-11 11:39:15 +08:00
Zexi Li
31b76513cf Merge pull request #10372 from rainzm/automated-cherry-pick-of-#10365-upstream-release-3.7
Automated cherry pick of #10365: feat(region): filter schedtags from cloudaccount_id
2021-03-11 11:37:35 +08:00
yunion-ci-robot
be232f5493 Merge pull request #10377 from tb365/automated-cherry-pick-of-#10357-upstream-release-3.7
Automated cherry pick of #10357: qcloud redis support multi zones
2021-03-11 10:22:24 +08:00
Qiu Jian
bb1e1382ad fix(region): cloud provider filter by domain 2021-03-11 01:07:58 +08:00
Qu Xuan
0cb8100ad9 fix: add bucket tooltip 2021-03-10 21:06:49 +08:00
Qu Xuan
a65b2f633a fix: optimize change vm config and prepaid change config 2021-03-10 20:35:40 +08:00
Qu Xuan
8ce4f109b5 fix: support prepaid instance change config 2021-03-10 20:35:40 +08:00
Qu Xuan
b63241b2f2 fix: aliyun tag list api 2021-03-10 20:32:46 +08:00
rainzm
6ec0b38b11 feat(region): filter schedtags from cloudprovider_id 2021-03-10 19:44:50 +08:00
tangbin
8d153bcf23 fix(region) qcloud multi zone instance sync account fix 2021-03-10 19:12:32 +08:00
tangbin
678bcf75cc feat(region) qcloud redis support multi zones 2021-03-10 19:12:32 +08:00
Qu Xuan
f853cc4c08 fix: aliyun public ip bandwidth 2021-03-10 17:31:41 +08:00
Zexi Li
31a9e77e82 Merge pull request #10352 from swordqiu/automated-cherry-pick-of-#10351-upstream-release-3.7
Automated cherry pick of #10351: fix(region): network eip stats not correct
2021-03-10 16:30:49 +08:00
Zexi Li
70e73735b4 Merge pull request #10368 from zexi/automated-cherry-pick-of-#10367-upstream-release-3.7
Automated cherry pick of #10367: fix(build): DOCKER_CLI_EXPERIMENTAL=enabled
2021-03-10 16:28:58 +08:00
Zexi Li
a083cc510a fix(build): DOCKER_CLI_EXPERIMENTAL=enabled 2021-03-10 16:27:39 +08:00
Zexi Li
77556e4906 Merge pull request #10359 from ioito/automated-cherry-pick-of-#10358-upstream-release-3.7
Automated cherry pick of #10358: fix: sync nat sku when sync cloudaccount
2021-03-09 18:08:08 +08:00
Zexi Li
31722db2e4 Merge pull request #10362 from swordqiu/automated-cherry-pick-of-#10361-upstream-release-3.7
Automated cherry pick of #10361: fix(keystone): update default role associated policy name
2021-03-09 18:06:38 +08:00
Qiu Jian
94f72124fe fix(keystone): update default role associated policy name 2021-03-09 17:50:09 +08:00
Qu Xuan
7b6cac88af fix: sync nat sku when sync cloudaccount 2021-03-09 15:29:38 +08:00
Zexi Li
102661f314 Merge pull request #10356 from zexi/automated-cherry-pick-of-#10189-upstream-release-3.7
Automated cherry pick of #10189: host 编译跨平台兼容
2021-03-09 10:25:15 +08:00
Zhang Dongliang
18d8292f13 host 编译跨平台兼容 2021-03-09 10:24:17 +08:00
Qiu Jian
4f474ad8b2 fix(region): network eip stats not correct 2021-03-09 02:47:50 +08:00
yunion-ci-robot
28ba68f4ff Merge pull request #10346 from zexi/automated-cherry-pick-of-#10345-upstream-release-3.7
Automated cherry pick of #10345: feat(build): make multi arch manifest docker image
2021-03-08 20:17:05 +08:00
Zexi Li
549feb4f68 Merge pull request #10341 from yousong/automated-cherry-pick-of-#10340-upstream-release-3.7
Automated cherry pick of #10340: etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:18:05 +08:00
Zexi Li
38244dfcc8 Merge pull request #10349 from ioito/automated-cherry-pick-of-#10348-upstream-release-3.7
Automated cherry pick of #10348: fix: add cancel expire action
2021-03-08 14:15:18 +08:00
Zexi Li
ee709538e7 Merge pull request #10330 from ioito/automated-cherry-pick-of-#10329-upstream-release-3.7
Automated cherry pick of #10329: fix: optimized bucket tag
2021-03-08 14:13:40 +08:00
Zexi Li
f4394a4895 Merge pull request #10335 from ioito/automated-cherry-pick-of-#10334-upstream-release-3.7
Automated cherry pick of #10334: fix: add nat sku policy
2021-03-08 14:10:40 +08:00
Zexi Li
7c6bc61dcb feat(build): make multi arch manifest docker image 2021-03-08 12:52:34 +08:00
Qu Xuan
e17fca6c4b fix: add cancel expire action 2021-03-08 12:13:10 +08:00
Yousong Zhou
b424a8f67d 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:55:46 +08:00
yunion-ci-robot
cdde5b31de Merge pull request #10337 from rainzm/automated-cherry-pick-of-#10336-upstream-release-3.7
Automated cherry pick of #10336: fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
fb6064fa2a fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 03:00:44 +08:00
Qu Xuan
8e2092e18e fix: add nat sku policy 2021-03-05 17:27:26 +08:00
Qu Xuan
84f8cc1b3d fix: optimized bucket tag 2021-03-05 15:37:38 +08:00
Zexi Li
887392fe6a Merge pull request #10328 from zexi/automated-cherry-pick-of-#10327-upstream-release-3.7
Automated cherry pick of #10327: fix(cloudcommon): add default domain of common options
2021-03-05 11:22:42 +08:00
Zexi Li
772579d3e8 fix(cloudcommon): add default domain of common options 2021-03-05 11:20:23 +08:00
Zexi Li
f5c1480a4f Merge pull request #10321 from ioito/automated-cherry-pick-of-#10320-upstream-release-3.7
Automated cherry pick of #10320: fix: add secgroup filter opts
2021-03-05 10:16:23 +08:00
Zexi Li
70d7bc3d3c Merge pull request #10323 from tb365/automated-cherry-pick-of-#10322-upstream-release-3.7
Automated cherry pick of #10322: copyright update brand_cn&brand_en fix
2021-03-05 10:15:19 +08:00
tangbin
43a879ccb2 copyright update brand_cn&brand_en fix 2021-03-05 10:00:09 +08:00
Zexi Li
3d5edb3628 Merge pull request #10315 from ioito/automated-cherry-pick-of-#10314-upstream-release-3.7
Automated cherry pick of #10314: fix: add nat sku provider filter
2021-03-04 21:00:33 +08:00
Zexi Li
7111e6fe4a Merge pull request #10313 from ioito/automated-cherry-pick-of-#10312-upstream-release-3.7
Automated cherry pick of #10312: fix: optimzed tag sync
2021-03-04 21:00:15 +08:00
Qu Xuan
1ae3fbc749 fix: add secgroup filter opts 2021-03-04 20:56:41 +08:00
Zexi Li
59fc9c2dea Merge pull request #10317 from rainzm/automated-cherry-pick-of-#10316-upstream-release-3.7
Automated cherry pick of #10316: fix(region): check whether guest is nil
2021-03-04 19:39:00 +08:00
rainzm
23328aa12b fix(region): check whether guest is nil 2021-03-04 17:54:52 +08:00
Qu Xuan
14246f4839 fix: add nat sku provider filter 2021-03-04 17:50:46 +08:00
Qu Xuan
d7be39edf8 fix: optimzed tag sync 2021-03-04 17:31:18 +08:00
Zexi Li
0f591c3a4f Merge pull request #10311 from zhaoxiangchun/automated-cherry-pick-of-#10310-upstream-release-3.7
Automated cherry pick of #10310: bugfix(monitor): 导出信息中添加全局字典配置
2021-03-04 16:54:29 +08:00
Zexi Li
9fc5f4134d Merge pull request #10309 from tb365/automated-cherry-pick-of-#10305-upstream-release-3.7
Automated cherry pick of #10305: infos copyright add brand_en&brand_cn
2021-03-04 15:25:57 +08:00
zhaoxiangchun
839df9025a bugfix(monitor): 导出信息中添加全局字典配置
1. 域信息中添加全局字典的域配置
2021-03-04 12:13:02 +08:00
tangbin
b5958bb6b9 infos copyright add brand_en&brand_cn 2021-03-04 11:21:15 +08:00
Zexi Li
2902530ff3 Merge pull request #10302 from zhaoxiangchun/automated-cherry-pick-of-#10301-upstream-release-3.7
Automated cherry pick of #10301: feat(mcclient,itsm): modify itsm mcclient rpc func
2021-03-04 10:01:10 +08:00
Zexi Li
f886366d15 Merge pull request #10304 from ioito/automated-cherry-pick-of-#10303-upstream-release-3.7
Automated cherry pick of #10303: feat(region): nat op support
2021-03-04 10:00:03 +08:00
Zexi Li
08241a52c8 Merge pull request #10300 from tb365/automated-cherry-pick-of-#10299-upstream-release-3.7
Automated cherry pick of #10299: redis update tags fix
2021-03-04 09:59:52 +08:00
Qu Xuan
9dd3bb2189 feat(region): nat op support 2021-03-03 21:27:17 +08:00
zhaoxiangchun
8881be5a24 feat(mcclient,itsm): modify itsm mcclient rpc func
1.统计返回技术支持工单信息
2021-03-03 17:50:59 +08:00
Zexi Li
648cf6b44a Merge pull request #10296 from zhaoxiangchun/automated-cherry-pick-of-#10295-upstream-release-3.7
Automated cherry pick of #10295: feat(monitor): alert policy filter by res_type
2021-03-03 10:27:24 +08:00
Zexi Li
ce1f86929e Merge pull request #10298 from ioito/automated-cherry-pick-of-#10297-upstream-release-3.7
Automated cherry pick of #10297: feat(region): nat op support
2021-03-03 10:26:41 +08:00
tangbin
6ae4883db2 redis update tags fix 2021-03-03 10:17:14 +08:00
Qu Xuan
18445ba433 feat(region): nat op support 2021-03-02 21:34:34 +08:00
zhaoxiangchun
3fa8520c5c feat(monitor): alert policy filter by res_type
1.增加资源类型的过滤处理
2.报警消息内容处理
2021-03-02 16:12:38 +08:00
Zexi Li
f2645a2045 Merge pull request #10293 from zhaoxiangchun/automated-cherry-pick-of-#10292-upstream-release-3.7
Automated cherry pick of #10292: fix(monitor): fix monitor export err
2021-03-02 14:29:45 +08:00
zhaoxiangchun
c068badd36 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:57:14 +08:00
Zexi Li
889755feae Merge pull request #10290 from swordqiu/automated-cherry-pick-of-#10289-upstream-release-3.7
Automated cherry pick of #10289: fix(keystone): adjust default system policy names
2021-03-02 10:16:59 +08:00
yunion-ci-robot
6d0f1ce7df Merge pull request #10287 from zexi/automated-cherry-pick-of-#10286-upstream-release-3.7
Automated cherry pick of #10286: fix(hostdeployer): windows rootfs umount leak
2021-03-02 10:11:21 +08:00
Zexi Li
c308bdbb0c fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:52:19 +08:00
yunion-ci-robot
81bc5e1f93 Merge pull request #10285 from yousong/automated-cherry-pick-of-#10284-upstream-release-3.7
Automated cherry pick of #10284: networks: server_type: do not allow update
2021-03-01 22:12:26 +08:00
Qiu Jian
b034a7a95d fix(keystone): adjust default system policy names 2021-03-01 21:30:24 +08:00
Yousong Zhou
c3fdda2ac1 networks: server_type: do not allow update
Transition between guest, baremetal, ipmi, eip, etc. all requires
sanity checks on relevant types allocated from the network
2021-03-01 19:09:44 +08:00
Zexi Li
f7f88db7b3 Merge pull request #10209 from rainzm/automated-cherry-pick-of-#10208-upstream-release-3.7
Automated cherry pick of #10208: fix(region): pull the network correctly
2021-03-01 11:39:47 +08:00
Zexi Li
41c3c0bbe3 Merge pull request #10279 from swordqiu/automated-cherry-pick-of-#10278-upstream-release-3.7
Automated cherry pick of #10278: fix(baremetal-agent): baremetal fail to stop due to power off soft failed
2021-03-01 10:13:34 +08:00
yunion-ci-robot
7d5f0ba84e Merge pull request #10277 from yousong/automated-cherry-pick-of-#10276-upstream-release-3.7
Automated cherry pick of #10276: Bugfix/yousong cloudproxy
2021-02-27 21:53:23 +08:00
Qiu Jian
d8b1a992ff fix(baremetal-agent): baremetal fail to stop due to power off soft failed 2021-02-27 21:50:24 +08:00
Yousong Zhou
4c2c0c3d24 cloudproxy: agent: refresh bindAddr, advertiseAddr when needed 2021-02-26 19:27:16 +08:00
Yousong Zhou
361e20c334 build: cloudproxy: add dockerfile 2021-02-26 19:27:16 +08:00
Zexi Li
9167eb1a67 Merge pull request #10271 from ioito/automated-cherry-pick-of-#10270-upstream-release-3.7
Automated cherry pick of #10270: fix(cloudevent): optimized cloudevent sql
2021-02-25 11:35:57 +08:00
Qu Xuan
ae90bbd203 fix(cloudevent): optimized cloudevent sql 2021-02-25 11:33:27 +08:00
Zexi Li
d4dfec36f3 Merge pull request #10263 from swordqiu/automated-cherry-pick-of-#10262-upstream-release-3.7
Automated cherry pick of #10262: fix(keystone): ensure comparing id with non-utf8 string
2021-02-25 11:24:17 +08:00
Zexi Li
c02d27ff58 Merge pull request #10266 from ioito/automated-cherry-pick-of-#10265-upstream-release-3.7
Automated cherry pick of #10265: fix(region): add azure new region
2021-02-25 11:23:05 +08:00
Qu Xuan
12e0b3c902 fix(region): add azure new region 2021-02-25 10:23:00 +08:00
Qiu Jian
601112dd7f fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:29:30 +08:00
yunion-ci-robot
49dc4dc292 Merge pull request #10212 from yousong/automated-cherry-pick-of-#10176-upstream-release-3.7
Automated cherry pick of #10176: Feature/yousong cloudproxy
2021-02-24 19:52:41 +08:00
Zexi Li
5a2ebb2b55 Merge pull request #10255 from ioito/automated-cherry-pick-of-#10254-upstream-release-3.7
Automated cherry pick of #10254: fix(region): aliyun request retry
2021-02-24 18:09:50 +08:00
Zexi Li
e6618b0653 Merge pull request #10257 from ioito/automated-cherry-pick-of-#10256-upstream-release-3.7
Automated cherry pick of #10256: fix(region): optimized qcloud error code
2021-02-24 16:52:53 +08:00
Zexi Li
eaab4bea55 Merge pull request #10259 from tb365/automated-cherry-pick-of-#10258-upstream-release-3.7
Automated cherry pick of #10258: fix(region): redis change spec bugfix
2021-02-24 16:06:31 +08:00
tangbin
a275b46a74 fix(region): redis change spec bugfix 2021-02-24 11:48:56 +08:00
Qu Xuan
195793c88d fix(region): optimized qcloud error code 2021-02-23 20:44:40 +08:00
Yousong Zhou
034bf55af7 climc: add commands for cloudproxy 2021-02-23 15:34:23 +08:00
Yousong Zhou
5eefa38f84 cloudproxy: initial version 2021-02-23 15:34:23 +08:00
Yousong Zhou
98fcdb2be5 apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:34:23 +08:00
Yousong Zhou
b7f2004670 mcclient: models: Server: add fields for eip and nics 2021-02-23 15:34:23 +08:00
Yousong Zhou
6de0b2e35d ansibleserver: use mcclient module method for fetching keypair info 2021-02-23 15:34:23 +08:00
Yousong Zhou
fc7fe4cca7 mcclient: Sshkeypairs: add FetchPrivateKey 2021-02-23 15:34:23 +08:00
Yousong Zhou
0440f4a303 mcclient: auth: add SessionCache 2021-02-23 15:34:23 +08:00
Yousong Zhou
9b13becd1d validators: set xx_id when possible 2021-02-23 15:34:23 +08:00
Qu Xuan
1c6d6c90f9 fix(region): aliyun request retry 2021-02-23 11:55:41 +08:00
Zexi Li
e0fd9e922f Merge pull request #10250 from zexi/automated-cherry-pick-of-#10223-upstream-release-3.7
Automated cherry pick of #10223: fix(host-deployer): mount may fail to lock /etc/mtab, add retrier
2021-02-23 10:36:37 +08:00
Qiu Jian
e35fa898ea fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-23 09:44:40 +08:00
Zexi Li
e131af782c Merge pull request #10225 from ioito/automated-cherry-pick-of-#10224-upstream-release-3.7
Automated cherry pick of #10224: fix(region): optimized aws cloudtrail sync
2021-02-22 21:25:26 +08:00
Zexi Li
c6d34e2733 Merge pull request #10248 from ioito/automated-cherry-pick-of-#10246-upstream-release-3.7
Automated cherry pick of #10246: [WIP]fix(region): more details for get aws region error
2021-02-22 21:14:23 +08:00
Zexi Li
d88cb2e81c Merge pull request #10232 from tb365/automated-cherry-pick-of-#10231-upstream-release-3.7
Automated cherry pick of #10231: Bugfix/tb bugfix 022202
2021-02-22 21:13:38 +08:00
Zexi Li
9d0817b9f0 Merge pull request #10247 from ioito/automated-cherry-pick-of-#10233-upstream-release-3.7
Automated cherry pick of #10233: fix(region): support peer secgroup
2021-02-22 21:12:07 +08:00
Zexi Li
abd1d45afc Merge pull request #10245 from ioito/automated-cherry-pick-of-#10244-upstream-release-3.7
Automated cherry pick of #10244: fix(region): fix rds tag set error
2021-02-22 21:05:59 +08:00
Qu Xuan
0ffa3e5144 fix(region): more details for get aws region error 2021-02-22 20:55:00 +08:00
Zexi Li
51f9d13663 Merge pull request #10228 from ioito/automated-cherry-pick-of-#10227-upstream-release-3.7
Automated cherry pick of #10227: fix(region): qcloud quota sync
2021-02-22 20:51:40 +08:00
Qu Xuan
73fe4866d7 fix(region): support peer secgroup 2021-02-22 20:41:37 +08:00
Qu Xuan
60b3e53866 fix(region): fix rds tag set error 2021-02-22 20:25:38 +08:00
Zexi Li
8e174c38ae Merge pull request #10239 from zexi/automated-cherry-pick-of-#9071-upstream-release-3.7
Automated cherry pick of #9071: feat(climc): k8s cluster addon add enable native ip alloc option
2021-02-22 19:51:11 +08:00
Zexi Li
298d09fa9b Merge pull request #10235 from ioito/automated-cherry-pick-of-#10234-upstream-release-3.7
Automated cherry pick of #10234: fix(region): avoid not sync dns zone
2021-02-22 19:49:28 +08:00
Zexi Li
bd9b11cf19 Merge pull request #10241 from tb365/automated-cherry-pick-of-#10240-upstream-release-3.7
Automated cherry pick of #10240: fix(region): set redis reboot timeout to 30 mins
2021-02-22 19:48:12 +08:00
tangbin
aa96cb748b fix(region): set redis reboot timeout to 30 mins 2021-02-22 18:50:26 +08:00
Zexi Li
347d9ad1ca feat(climc): k8s cluster addon add enable native ip alloc option 2021-02-22 18:23:48 +08:00
Qu Xuan
6677ae43b5 fix(region): avoid not sync dns zone 2021-02-22 16:14:42 +08:00
TangBin
a8ded06bac fix(region): aws rebuild instance os_arch mismatch fix 2021-02-22 15:07:14 +08:00
TangBin
f4e98cc717 aws change flavor fix 2021-02-22 15:07:14 +08:00
Qu Xuan
e760263fab fix(region): qcloud quota sync 2021-02-22 14:55:31 +08:00
Qu Xuan
be065ec826 fix(region): optimized aws cloudtrail sync 2021-02-22 11:41:08 +08:00
Zexi Li
ae6476c45e Merge pull request #10216 from swordqiu/automated-cherry-pick-of-#10213-upstream-release-3.7
Automated cherry pick of #10213: feature(region): support AWS organization
2021-02-22 09:45:37 +08:00
Zexi Li
43fa5f2ecf Merge pull request #10203 from swordqiu/automated-cherry-pick-of-#10202-upstream-release-3.7
Automated cherry pick of #10202: feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:22 +08:00
Qiu Jian
0d6c17e31a fix: add more organization command 2021-02-20 23:13:00 +08:00
Qiu Jian
2a3a85f3a3 fix: get region nil pointer error 2021-02-20 23:13:00 +08:00
Qiu Jian
2da59aa89f feature(region): support AWS organization 2021-02-20 23:12:59 +08:00
Zexi Li
7ee11117c5 Merge pull request #10215 from zhaoxiangchun/automated-cherry-pick-of-#10214-upstream-release-3.7
Automated cherry pick of #10214: feat(monitor): monitor add trigger value when send notify info
2021-02-20 19:32:34 +08:00
Zexi Li
011c2a50ec Merge pull request #10218 from tb365/automated-cherry-pick-of-#10217-upstream-release-3.7
Automated cherry pick of #10217: server create sku parameter fix
2021-02-20 19:31:49 +08:00
Zexi Li
0dbf5ede0a Merge pull request #10221 from ioito/automated-cherry-pick-of-#10220-upstream-release-3.7
Automated cherry pick of #10220: fix(region): set next stage for start vm
2021-02-20 19:30:11 +08:00
Qu Xuan
d56078d13a fix(region): set next stage for start vm 2021-02-20 16:45:09 +08:00
TangBin
cfaadc29c2 server create sku parameter fix 2021-02-19 19:45:43 +08:00
zhaoxiangchun
ab33ae6924 feat(monitor): monitor add trigger value when send notify info
1.监控消息中增加触发值
2021-02-19 10:33:21 +08:00
Zexi Li
ee779c0f94 Merge pull request #10211 from tb365/automated-cherry-pick-of-#10210-upstream-release-3.7
Automated cherry pick of #10210: change os_arch_arm to os_arch_aarch64
2021-02-18 15:01:21 +08:00
tangbin
bbaf32a47c change os_arch_arm to os_arch_aarch64 2021-02-18 12:05:40 +08:00
Zexi Li
976e710fdf Merge pull request #9906 from rainzm/automated-cherry-pick-of-#9904-upstream-release-3.7
Automated cherry pick of #9904: Notification Subscription
2021-02-18 11:53:07 +08:00
rainzm
1f8ed87249 feat(notify): remove disk's event notify for now 2021-02-18 11:45:15 +08:00
rainzm
15c506086d feat(notify): be compatible with mobile in event notify 2021-02-18 11:45:15 +08:00
rainzm
399bce619a feat(keystone): support filter 'project_domain_id' in role_assignments 2021-02-18 11:45:15 +08:00
rainzm
1ddebfff55 feat: change go version from 1.12 to 1.13 in go.mod 2021-02-18 11:45:15 +08:00
rainzm
d9229ef160 update vendor 2021-02-18 11:45:15 +08:00
rainzm
0de209502f fix(notify): get the receiver corresponding to the role correctly 2021-02-18 11:45:15 +08:00
rainzm
e991bc3452 feat: call EventNotify when event occurs 2021-02-18 11:45:15 +08:00
rainzm
755e00750a feat: support EventNotify 2021-02-18 11:45:15 +08:00
rainzm
f265be1c59 feat(notify): add local template 2021-02-18 11:45:15 +08:00
rainzm
50be5c5f77 feat(notify): add subscription in notify 2021-02-18 11:45:15 +08:00
rainzm
7dba32d990 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:45:15 +08:00
rainzm
ed8a88fc5c feat(util): support uint64 in bitmap
The bitmap feature of low-digit uint type can be implemented by this of uint64
2021-02-18 11:45:15 +08:00
Zexi Li
460f1c6b53 Merge pull request #10206 from swordqiu/automated-cherry-pick-of-#10205-upstream-release-3.7
Automated cherry pick of #10205: fix(region): host search by any ip
2021-02-18 11:17:12 +08:00
rainzm
3ad9cb0dac fix(region): pull the network correctly 2021-02-18 11:07:01 +08:00
Jian Qiu
058a0a0729 fix(keystone): policy name duplication (#10200)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-14 19:14:14 +08:00
Qiu Jian
06fb5ac5ec fix(region): host search by any ip 2021-02-13 23:13:21 +08:00
Qiu Jian
5660125893 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:33:32 +08:00
yunion-ci-robot
aac5020cfd Merge pull request #10198 from zhaoxiangchun/automated-cherry-pick-of-#10197-upstream-release-3.7
Automated cherry pick of #10197: fix(monitor): fix 报警静默期和未恢复告警策略的兼容
2021-02-09 13:13:01 +08:00
zhaoxiangchun
26721fc50d fix(monitor): fix 报警静默期和未恢复告警策略的兼容
1.处于告警静默期内的报警策略仍可以在未恢复告警策略中进行查询
2021-02-09 12:51:05 +08:00
Jian Qiu
e43bea673c fix(keystone): hide system scope policies in domain scope view (#10195)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:17:01 -03:00
Jian Qiu
7a37232aaa fix(scheduler): storage medium type should not exact match (#10191)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:14:48 -03:00
yunion-ci-robot
9f767ed4aa Merge pull request #10150 from wanyaoqi/automated-cherry-pick-of-#10149-upstream-release-3.7
Automated cherry pick of #10149: chore(utils): add deb build script
2021-02-08 05:51:59 +08:00
yunion-ci-robot
699dfdd5ad Merge pull request #10184 from zhaoxiangchun/automated-cherry-pick-of-#10183-upstream-release-3.7
Automated cherry pick of #10183: fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space  when query
2021-02-07 16:07:59 +08:00
zhaoxiangchun
c86dab4d6b fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:58:18 +08:00
Jian Qiu
31854889db fix(apigateway): add auth/stats api to retrieve system info (#10182)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-06 22:41:32 -03:00
yunion-ci-robot
a33c976446 Merge pull request #10180 from zhaoxiangchun/automated-cherry-pick-of-#10179-upstream-release-3.7
Automated cherry pick of #10179: fix(monitor): fix update alert duration fail
2021-02-06 20:49:34 +08:00
zhaoxiangchun
523cbab84b fix(monitor): fix update alert duration fail
1.修复无法更新报警持续周期的问题
2021-02-06 19:53:59 +08:00
Zexi Li
d568865571 Merge pull request #10178 from tb365/automated-cherry-pick-of-#10177-upstream-release-3.7
Automated cherry pick of #10177: imagetools NormalizeImageInfo update
2021-02-06 18:39:37 +08:00
Zexi Li
f04359bbcb Merge pull request #10167 from tb365/automated-cherry-pick-of-#10166-upstream-release-3.7
Automated cherry pick of #10166: warp aws err with errors.Wrap
2021-02-06 18:39:04 +08:00
yunion-ci-robot
f2fea0dde0 Merge pull request #10147 from zexi/automated-cherry-pick-of-#10146-upstream-release-3.7
Automated cherry pick of #10146: Feature/baremetal h3c oem
2021-02-06 13:32:24 +08:00
TangBin
80a235e3a7 imagetools NormalizeImageInfo update 2021-02-06 13:28:15 +08:00
Zexi Li
c4f04c8679 Merge pull request #10170 from zhaoxiangchun/automated-cherry-pick-of-#10169-upstream-release-3.7
Automated cherry pick of #10169: feat(monitor): alert record add silentPeriod info
2021-02-06 10:36:58 +08:00
Zexi Li
ed23e6acb7 Merge pull request #10174 from swordqiu/automated-cherry-pick-of-#10173-upstream-release-3.7
Automated cherry pick of #10173: fix(keystone): cas sso may create new project whenever user login
2021-02-06 10:35:52 +08:00
Zexi Li
48d756384c Merge pull request #10172 from swordqiu/automated-cherry-pick-of-#10171-upstream-release-3.7
Automated cherry pick of #10171: fix(keystone): idp filter by sso_domain returns domain's idp only
2021-02-06 10:35:12 +08:00
Qiu Jian
34e5a36b2c fix(keystone): cas sso may create new project whenever user login 2021-02-06 03:20:37 +08:00
Qiu Jian
1a24034c64 fix(keystone): idp filter by sso_domain returns domain's idp only 2021-02-06 02:56:31 +08:00
zhaoxiangchun
508c8b926b feat(monitor): alert record add silentPeriod info
1.报警记录中增加静默期等信息
2021-02-05 19:58:43 +08:00
Zexi Li
0af502936f Merge pull request #10134 from rainzm/automated-cherry-pick-of-#10133-upstream-release-3.7
Automated cherry pick of #10133: fix(region): init and change status
2021-02-05 17:29:43 +08:00
Zexi Li
183aea422e Merge pull request #10136 from ioito/automated-cherry-pick-of-#10135-upstream-release-3.7
Automated cherry pick of #10135: fix(region,scheduler): filter enabled skus
2021-02-05 14:55:35 +08:00
Zexi Li
bb4b315911 Merge pull request #10144 from swordqiu/automated-cherry-pick-of-#10143-upstream-release-3.7
Automated cherry pick of #10143: fix(baremetal): try channel 8 for default profile
2021-02-05 14:54:26 +08:00
Zexi Li
44dff768b2 Merge pull request #10155 from ioito/automated-cherry-pick-of-#10154-upstream-release-3.7
Automated cherry pick of #10154: fix(logger): distinct field optimized for logger
2021-02-05 14:53:41 +08:00
Zexi Li
cd3df2346b Merge pull request #10164 from ioito/automated-cherry-pick-of-#10163-upstream-release-3.7
Automated cherry pick of #10163: fix(cloudid): sync role policy
2021-02-05 14:36:12 +08:00
rainzm
cbca7e5183 fix(region): fetch wires correctly 2021-02-05 14:35:52 +08:00
rainzm
e54d1e1cb9 fix(wire): init and change status 2021-02-05 14:35:52 +08:00
Zexi Li
68782ac548 Merge pull request #10153 from rainzm/automated-cherry-pick-of-#10152-upstream-release-3.7
Automated cherry pick of #10152: To support domain notice
2021-02-05 14:35:26 +08:00
Qu Xuan
c0e3427dff fix(cloudid): sync role policy 2021-02-05 13:59:52 +08:00
TangBin
7b7a7a5615 warp aws err with errors.Wrap 2021-02-05 13:51:22 +08:00
Zexi Li
65b3674b27 Merge pull request #10157 from zhaoxiangchun/automated-cherry-pick-of-#10156-upstream-release-3.7
Automated cherry pick of #10156: fix(monitor): 3.7 nodata and alertOverview fix
2021-02-05 09:42:14 +08:00
Jian Qiu
739637b8f3 fix(keystone): add alertrecords to default dashboard permission (#10161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:58:03 +08:00
Jian Qiu
43e858265c fix(apigateway): add enable_quota_check and return-domain-list attributes to fe params (#10159)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:57:09 +08:00
Qu Xuan
14979480e3 fix(logger): distinct field optimized for logger 2021-02-04 21:15:02 +08:00
zhaoxiangchun
a43a4e617b fix(monitor): 3.7 nodata and alertOverview fix
1.nodata相关逻辑调整
2.监控总览视图穿透,报警数量不一致问题修复
2021-02-04 20:56:41 +08:00
rainzm
59218fa314 refactor(climc): use shell.NewResourceCmd for notice 2021-02-04 17:36:11 +08:00
rainzm
9f927922a4 fix(cloudcommon): use NewGeneralError to construct error 2021-02-04 17:36:11 +08:00
wanyaoqi
2d0b3c4527 chore(utils): add deb build script 2021-02-04 15:13:16 +08:00
Zexi Li
b5813e81b8 feat(baremetal): support H3C oem baremetal 2021-02-04 14:11:26 +08:00
yunion-ci-robot
038fd9669e Merge pull request #10141 from swordqiu/automated-cherry-pick-of-#10140-upstream-release-3.7
Automated cherry pick of #10140: fix(region): bucket size stats should not count invalid sizes of -1
2021-02-04 13:16:51 +08:00
Qiu Jian
50ad5a76b9 fix(baremetal): try channel 8 for default profile 2021-02-04 13:00:59 +08:00
Zexi Li
9e42a38bfb Merge pull request #10138 from ioito/automated-cherry-pick-of-#10137-upstream-release-3.7
Automated cherry pick of #10137: fix(region): delete not exist disk failed
2021-02-04 11:37:05 +08:00
Qiu Jian
607c10bbe4 fix(region): bucket size stats should not count invalid sizes of -1 2021-02-04 11:23:59 +08:00
Qu Xuan
70166a131d fix(region): delete not exist disk failed 2021-02-04 11:02:09 +08:00
Qu Xuan
646a6e3882 fix(region,scheduler): filter enabled skus 2021-02-03 21:12:24 +08:00
Zexi Li
b60213b116 Merge pull request #10131 from ioito/automated-cherry-pick-of-#10130-upstream-release-3.7
Automated cherry pick of #10130: fix(hostman): fix kvm create disk failed error
2021-02-03 20:38:35 +08:00
Qu Xuan
f5ed307598 fix(hostman): fix kvm create disk failed error 2021-02-03 20:16:09 +08:00
Zexi Li
38baa51ff7 Merge pull request #10128 from zhaoxiangchun/automated-cherry-pick-of-#10127-upstream-release-3.7
Automated cherry pick of #10127: feat(monitor): alert add silent period param
2021-02-03 18:20:29 +08:00
Zexi Li
415ad41da5 Merge pull request #9749 from rainzm/automated-cherry-pick-of-#9723-upstream-release-3.7
Automated cherry pick of #9723: Optimization of vmware network
2021-02-03 18:15:09 +08:00
Zexi Li
be197de84f Merge pull request #10072 from lvyangyang/automated-cherry-pick-of-#10041-upstream-release-3.7
Automated cherry pick of #10041: feat(region): aws elasticahe
2021-02-03 18:14:48 +08:00
Zexi Li
aba0709d74 Merge pull request #10129 from ioito/automated-cherry-pick-of-#10126-upstream-release-3.7
Automated cherry pick of #10126: fix(cloudevent): add distinct filed for cloudevent
2021-02-03 18:05:15 +08:00
Qu Xuan
53969f14e2 fix(cloudevent): add distinct filed for cloudevent 2021-02-03 17:50:10 +08:00
rainzm
68c6216167 feat(region): add host count when list wires 2021-02-03 14:40:54 +08:00
rainzm
c4dbd9bb55 feat(region): support merging mutli wires to a wire 2021-02-03 14:40:54 +08:00
rainzm
639e7b16f0 feat(esxiagent): determine vs by bridge and network when creating vm 2021-02-03 14:40:54 +08:00
rainzm
0aa5c2ef1c feat(region): support merging wire
1. support merging networks under a wire
2. auto merge networks under a wire when set 'merge_network' when merge
this wire
2021-02-03 14:40:54 +08:00
rainzm
f654636e5f feat(region): sync Esxi HostWire for esxi host 2021-02-03 14:40:54 +08:00
rainzm
d9e75aaa0e feat(region): support synchronize vmware's network configuration to the local
1. move prepare-nets in cloudaccounts_prepare.go
2. when creating vmware account, auto synchronize vmware's network and
synchronize cloudprovider
3. support actively triggering the synchronization of the vmware network
2021-02-03 14:40:54 +08:00
rainzm
51167aa8ca feat(esxi): fetch vmware network configuration info
1. vswitch and distributed vswitch info
2. ip, vlanId and vswitch of host and vm
2021-02-03 14:40:54 +08:00
zhaoxiangchun
be09fc0464 feat(monitor): alert add silent period param
1. 报警静默期支持
2021-02-03 13:08:30 +08:00
Zexi Li
f55dc40d74 Merge pull request #10097 from ioito/automated-cherry-pick-of-#10096-upstream-release-3.7
Automated cherry pick of #10096: fix(region): filter resource by classic vpc
2021-02-03 09:48:19 +08:00
Zexi Li
b925bc77f3 Merge pull request #10100 from ioito/automated-cherry-pick-of-#10099-upstream-release-3.7
Automated cherry pick of #10099: fix(hostman): avoid panic when disk is nil
2021-02-03 09:47:30 +08:00
Zexi Li
89305e1a24 Merge pull request #10110 from ioito/automated-cherry-pick-of-#10109-upstream-release-3.7
Automated cherry pick of #10109: fix(region): avoid sync huawei unusable account
2021-02-03 09:46:21 +08:00
Zexi Li
5291918e45 Merge pull request #10103 from rainzm/automated-cherry-pick-of-#10102-upstream-release-3.7
Automated cherry pick of #10102: feat(esxi): support iso when creating vm
2021-02-03 09:46:06 +08:00
yunion-ci-robot
da46b92ec7 Merge pull request #10092 from zhaoxiangchun/automated-cherry-pick-of-#10091-upstream-release-3.7
Automated cherry pick of #10091: fix(monitor): fix alert duration
2021-02-03 00:04:41 +08:00
zhaoxiangchun
36ed09cd15 feat(monitor): meter相关报警内容处理
1. meter 相关单位处理
2. 报警静默配置
3. meter 短信模版
2021-02-02 23:34:53 +08:00
zhaoxiangchun
1bce5eaa62 fix(monitor): fix alert duration
1.修改报警连续周期逻辑
2021-02-02 23:34:53 +08:00
Zexi Li
c3119e1a3e Merge pull request #10116 from yousong/automated-cherry-pick-of-#10114-upstream-release-3.7
Automated cherry pick of #10114: Bugfix/yousong usage
2021-02-02 22:06:55 +08:00
Zexi Li
c90f03f8e3 Merge pull request #10105 from ioito/automated-cherry-pick-of-#10104-upstream-release-3.7
Automated cherry pick of #10104: fix(region): delete virtual nics with network
2021-02-02 20:59:46 +08:00
Zexi Li
59eb3672e5 Merge pull request #10118 from wanyaoqi/automated-cherry-pick-of-#10117-upstream-release-3.7
Automated cherry pick of #10117: fix(region): add option auto reconcile backup servers
2021-02-02 20:09:32 +08:00
Zexi Li
ec463450e7 Merge pull request #10123 from rainzm/automated-cherry-pick-of-#10122-upstream-release-3.7
Automated cherry pick of #10122: fix(region): check the global network situation when expanding the network
2021-02-02 20:08:01 +08:00
Zexi Li
1091591e62 Merge pull request #10115 from rainzm/automated-cherry-pick-of-#10113-upstream-release-3.7
Automated cherry pick of #10113: feat(notify): verification email style optimization
2021-02-02 20:05:24 +08:00
rainzm
da89673f00 fix(region): check the global network situation when expanding the network 2021-02-02 19:46:20 +08:00
wanyaoqi
8f542beac1 fix(region): add option auto reconcile backup servers 2021-02-02 18:20:21 +08:00
Yousong Zhou
b2980ce2b4 region: usages: add [{all,domain}.]networks etc. 2021-02-02 16:23:13 +08:00
Yousong Zhou
7a498b88f4 region: wires: totalCountQ: filter networks by scope and owner 2021-02-02 16:23:13 +08:00
Yousong Zhou
098f99314d region: usages: fix field name of vpcs for system scope 2021-02-02 16:23:13 +08:00
rainzm
304248ce18 feat(notify): verification email style optimization 2021-02-02 16:19:14 +08:00
Qu Xuan
9cad6163d3 fix(region): avoid sync huawei unusable account 2021-02-02 14:36:26 +08:00
Qu Xuan
80d9f50cf9 fix(region): delete virtual nics with network 2021-02-02 10:53:24 +08:00
rainzm
dd75241222 feat(esxi): support iso when creating vm 2021-02-02 10:44:13 +08:00
Qu Xuan
24928469fe fix(hostman): avoid panic when disk is nil 2021-02-01 22:02:28 +08:00
Zexi Li
d15039d697 Merge pull request #10094 from ioito/automated-cherry-pick-of-#10093-upstream-release-3.7
Automated cherry pick of #10093: fix(region): avoid update tags task loop
2021-02-01 20:34:44 +08:00
Qu Xuan
de96f6e18f fix(region): filter resource by classic vpc 2021-02-01 20:15:56 +08:00
Qu Xuan
0b324945de fix(region): avoid update tags task loop 2021-02-01 19:57:50 +08:00
Zexi Li
409e00a470 Merge pull request #10078 from wanyaoqi/automated-cherry-pick-of-#9901-upstream-release-3.7
Automated cherry pick of #9901: feat(glance): support backend storage s3
2021-02-01 09:56:45 +08:00
Zexi Li
4352926737 Merge pull request #10068 from swordqiu/automated-cherry-pick-of-#10067-upstream-release-3.7
Automated cherry pick of #10067: fix(keystone): SSO created user name may be duplicated
2021-01-30 10:41:56 +08:00
Zexi Li
dbf251f7da Merge pull request #10074 from wanyaoqi/automated-cherry-pick-of-#10073-upstream-release-3.7
Automated cherry pick of #10073: fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:40:11 +08:00
Zexi Li
a81e1a7443 Merge pull request #10080 from zhaoxiangchun/automated-cherry-pick-of-#10079-upstream-release-3.7
Automated cherry pick of #10079: fix(monitor): modify nodata feishu notifyinfo; fix send email err
2021-01-30 10:38:45 +08:00
Zexi Li
adc3cbdd99 Merge pull request #10082 from rainzm/automated-cherry-pick-of-#10081-upstream-release-3.7
Automated cherry pick of #10081: feat(notify): add default area code for mobile
2021-01-30 10:37:32 +08:00
Zexi Li
2731e04e66 Merge pull request #10084 from zhaoxiangchun/automated-cherry-pick-of-#10083-upstream-release-3.7
Automated cherry pick of #10083: fix(monitor): fix alert notify info do not contain resourceName
2021-01-30 10:37:11 +08:00
Zexi Li
36444a6461 Merge pull request #10090 from rainzm/automated-cherry-pick-of-#10086-upstream-release-3.7
Automated cherry pick of #10086: fix(notify): be compatible with member's permission changes
2021-01-30 10:36:32 +08:00
Zexi Li
78501a8f1d Merge pull request #10088 from rainzm/automated-cherry-pick-of-#10087-upstream-release-3.7
Automated cherry pick of #10087: fix(keystone): avoid repeated abnormal login notifications
2021-01-30 10:35:59 +08:00
rainzm
d8b92dd97a fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:13:36 +08:00
rainzm
c4c3b925b8 fix(keystone): avoid repeated abnormal login notifications 2021-01-29 20:12:07 +08:00
zhaoxiangchun
7fd2b865e4 fix(monitor): fix alert notify info do not contain resourceName 2021-01-29 18:17:21 +08:00
rainzm
5f9cee49b0 feat(notify): add default area code for mobile 2021-01-29 16:43:27 +08:00
zhaoxiangchun
92fbf93cbb fix(monitor): modify nodata feishu notifyinfo; fix send email err
1.修改nodata报警消息内容
2.修复发送邮件数量异常的bug
2021-01-29 13:10:18 +08:00
wanyaoqi
6e2894df25 feat(glance): support backend storage s3 2021-01-29 12:00:29 +08:00
wanyaoqi
645cf64b92 fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:56:49 +08:00
lvyangyang
336135b663 feat(region): aws elasticahe 2021-01-28 22:20:06 -05:00
Jian Qiu
f5f02b5e09 fix(apigateway): ignore fetch IDP errors in getRegions (#10071)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-29 02:35:01 +08:00
Qiu Jian
9342987aa3 fix(keystone): SSO created user name may be duplicated 2021-01-28 23:38:58 +08:00
Zexi Li
0f02856287 Merge pull request #10036 from ioito/automated-cherry-pick-of-#10035-upstream-release-3.7
Automated cherry pick of #10035: fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:21 +08:00
Zexi Li
94a9a3956e Merge pull request #10038 from zhaoxiangchun/automated-cherry-pick-of-#10037-upstream-release-3.7
Automated cherry pick of #10037: feat(monitor): monitor alert policy add mobile notify
2021-01-28 20:49:38 +08:00
Zexi Li
924785f8d7 Merge pull request #10040 from yousong/automated-cherry-pick-of-#10039-upstream-release-3.7
Automated cherry pick of #10039: feat(cloudcommon): opslog: log joint models
2021-01-28 20:48:50 +08:00
Zexi Li
ee41e439a4 Merge pull request #10043 from rainzm/automated-cherry-pick-of-#10042-upstream-release-3.7
Automated cherry pick of #10042: Optimize the error message when logging in
2021-01-28 20:48:07 +08:00
Zexi Li
b80f005b04 Merge pull request #10054 from yousong/automated-cherry-pick-of-#10053-upstream-release-3.7
Automated cherry pick of #10053: feat(hostman): options: add sdn_allow_conntrack_invalid
2021-01-28 20:47:14 +08:00
Zexi Li
2912a9deed Merge pull request #10056 from ioito/automated-cherry-pick-of-#10055-upstream-release-3.7
Automated cherry pick of #10055: fix(region): add aliyun credit amount check
2021-01-28 20:46:51 +08:00
Zexi Li
c3b7f30bc4 Merge pull request #10060 from ioito/automated-cherry-pick-of-#10059-upstream-release-3.7
Automated cherry pick of #10059: fix(region): add huawei credit amount check
2021-01-28 20:46:09 +08:00
Zexi Li
e152e6c952 Merge pull request #10064 from ioito/automated-cherry-pick-of-#10063-upstream-release-3.7
Automated cherry pick of #10063: fix(region): avoid stuck at http request
2021-01-28 20:04:00 +08:00
Qu Xuan
f9f0716dac fix(region): avoid stuck at http request 2021-01-28 18:23:45 +08:00
Zexi Li
c978f99ed3 Merge pull request #10009 from rainzm/automated-cherry-pick-of-#10008-upstream-release-3.7
Automated cherry pick of #10008: [wip]feat(notify): support international mobile
2021-01-28 17:25:07 +08:00
Qu Xuan
d144b893f2 fix(region): add huawei credit amount check 2021-01-28 16:21:14 +08:00
Qu Xuan
5fe6909c36 fix(region): add aliyun credit amount check 2021-01-28 16:01:22 +08:00
Yousong Zhou
bf9ecdfd19 feat(hostman): options: add sdn_allow_conntrack_invalid 2021-01-28 15:29:57 +08:00
Zexi Li
82d953345f Merge pull request #10049 from ioito/automated-cherry-pick-of-#10048-upstream-release-3.7
Automated cherry pick of #10048: fix(region): secgroup priority fix
2021-01-28 15:12:08 +08:00
Qu Xuan
2d5f1a982f fix(region): secgroup priority fix 2021-01-28 14:20:47 +08:00
zhaoxiangchun
df7afc852a feat(monitor): monitor alert policy add mobile notify
1.报警策略增加短信通知
2021-01-28 11:01:47 +08:00
rainzm
851b36d74b feat(locale): update 2021-01-27 19:58:42 +08:00
rainzm
4762afc32b feat(apigateway): differentiate error messages when logging in 2021-01-27 19:58:42 +08:00
rainzm
46a1312336 feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-27 19:58:42 +08:00
Yousong Zhou
45bef2f640 Merge pull request #10033 from yousong/automated-cherry-pick-of-#10032-upstream-release-3.7
Automated cherry pick of #10032: Feature/yousong wire bw filter
2021-01-27 18:54:11 +08:00
Yousong Zhou
456ed5f746 feat(cloudcommon): opslog: log joint models 2021-01-27 18:49:47 +08:00
Qu Xuan
199a7d678e fix(region): avoid worker discarded after state unchanged 2021-01-27 14:58:58 +08:00
Zexi Li
05cac2ff65 Merge pull request #10001 from lvyangyang/automated-cherry-pick-of-#9963-upstream-release-3.7
Automated cherry pick of #9963: feat(region): azure rds
2021-01-27 14:38:18 +08:00
Yousong Zhou
9844d1c29f feat(climc): wires: allow filter by bandwidth 2021-01-27 10:33:29 +08:00
Yousong Zhou
104e5c5c07 feat(region): wire: allow filter by bandwidth 2021-01-27 10:33:29 +08:00
Zexi Li
1fb28e3dc5 Merge pull request #9945 from rainzm/automated-cherry-pick-of-#9944-upstream-release-3.7
Automated cherry pick of #9944: fix(notify): add index fro receiver_notification
2021-01-27 09:05:55 +08:00
Zexi Li
e92d8a7345 Merge pull request #10020 from zhaoxiangchun/automated-cherry-pick-of-#10019-upstream-release-3.7
Automated cherry pick of #10019: fix(monitor): modify alertrecord list input
2021-01-27 09:04:59 +08:00
Zexi Li
cf2e07bbdd Merge pull request #10029 from lvyangyang/automated-cherry-pick-of-#10002-upstream-release-3.7
Automated cherry pick of #10002: fix(region): vpcpeering error message translation
2021-01-27 09:03:53 +08:00
Zexi Li
50999cc5e5 Merge pull request #10026 from ioito/automated-cherry-pick-of-#10025-upstream-release-3.7
Automated cherry pick of #10025: fix(region): purge snapshot with not status check
2021-01-27 09:02:14 +08:00
Zexi Li
34b2edd6cd Merge pull request #10031 from ioito/automated-cherry-pick-of-#10030-upstream-release-3.7
Automated cherry pick of #10030: fix(cloudid): fix azure saml provider delete error
2021-01-27 09:00:07 +08:00
Qu Xuan
9ff20ed93d fix(cloudid): fix azure saml provider delete error 2021-01-26 16:49:30 +08:00
lvyangyang
d4878cc7af fix(region): vpcpeering error message translation 2021-01-26 03:17:55 -05:00
Zexi Li
ed2d44ec2e Merge pull request #10021 from ioito/automated-cherry-pick-of-#10018-upstream-release-3.7
Automated cherry pick of #10018: fix(region): optimized secgroup rule sync
2021-01-26 14:53:30 +08:00
Qu Xuan
b9c344e3df fix(region): purge snapshot with not status check 2021-01-26 14:48:35 +08:00
Qu Xuan
633734719f fix(region): optimized secgroup rule sync 2021-01-26 11:58:27 +08:00
zhaoxiangchun
e8a8d121fb fix(monitor): modify alertrecord list input
1.修改资源类型查询参数
2021-01-26 10:25:04 +08:00
Zexi Li
bc90431ef7 Merge pull request #10011 from swordqiu/automated-cherry-pick-of-#10010-upstream-release-3.7
Automated cherry pick of #10010: fix(region): exported number of vpcs less than listed
2021-01-25 21:06:20 +08:00
Zexi Li
3c79e384c9 Merge pull request #10004 from wanyaoqi/automated-cherry-pick-of-#10003-upstream-release-3.7
Automated cherry pick of #10003: fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:04:54 +08:00
Zexi Li
46c4521011 Merge pull request #10014 from swordqiu/automated-cherry-pick-of-#10013-upstream-release-3.7
Automated cherry pick of #10013: fix(keystone): user create without password can login with any password
2021-01-25 21:03:26 +08:00
Qiu Jian
bc0a4a7b6f fix(keystone): user create without password can login with any password 2021-01-23 23:50:59 +08:00
yunion-ci-robot
732f4756a0 Merge pull request #9996 from ioito/automated-cherry-pick-of-#9995-upstream-release-3.7
Automated cherry pick of #9995: fix(region): aws not support create server with public ip
2021-01-23 22:48:39 +08:00
Qiu Jian
298fe5d908 fix(region): exported number of vpcs less than listed 2021-01-23 20:11:02 +08:00
rainzm
bdb6df6e4d feat(notify): support international mobile 2021-01-22 20:04:15 +08:00
wanyaoqi
ad2d472d0d fix(host): fix wait time after mount fuse fs 2021-01-22 19:18:51 +08:00
lvyangyang
378b7d39b1 feat(region): azure rds 2021-01-22 04:32:45 -05:00
yunion-ci-robot
9e7cb17c01 Merge pull request #10000 from swordqiu/automated-cherry-pick-of-#9999-upstream-release-3.7
Automated cherry pick of #9999: fix(apigateway): recover remove apigateway locale messages
2021-01-22 11:21:03 +08:00
yunion-ci-robot
53d5b53a70 Merge pull request #9994 from swordqiu/automated-cherry-pick-of-#9993-upstream-release-3.7
Automated cherry pick of #9993: fix(apigateway): getRegions return value of api_server
2021-01-22 11:20:04 +08:00
Qiu Jian
e65d6cdf26 fix(apigateway): recover remove apigateway locale messages 2021-01-22 10:49:26 +08:00
Qu Xuan
c49ceb0b93 fix(region): aws not support create server with public ip 2021-01-22 10:44:15 +08:00
Qiu Jian
6549d886c9 fix(apigateway): getRegions return value of api_server 2021-01-22 10:26:24 +08:00
Zexi Li
c2565b2053 Merge pull request #9967 from ioito/automated-cherry-pick-of-#9966-upstream-release-3.7
Automated cherry pick of #9966: fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:32 +08:00
Zexi Li
8b12f19ce9 Merge pull request #9990 from swordqiu/automated-cherry-pick-of-#9989-upstream-release-3.7
Automated cherry pick of #9989: fix(keystone): allow delete sso imported non-local user
2021-01-22 02:49:28 +08:00
Zexi Li
7ccaa6b12e Merge pull request #9992 from swordqiu/automated-cherry-pick-of-#9991-upstream-release-3.7
Automated cherry pick of #9991: fix(cloudid): saml navigation template support i18n
2021-01-22 02:48:34 +08:00
Zexi Li
80605166a8 Merge pull request #9975 from yousong/automated-cherry-pick-of-#9974-upstream-release-3.7
Automated cherry pick of #9974: fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:47:57 +08:00
Qiu Jian
e3fb7729dd fix(cloudid): saml navigation template support i18n
saml navigation template support i18n
2021-01-22 00:54:40 +08:00
Zexi Li
2d9b6a3691 Merge pull request #9985 from ioito/automated-cherry-pick-of-#9973-upstream-release-3.7
Automated cherry pick of #9973: fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:38:53 +08:00
Qiu Jian
6428ca9a15 fix(keystone): allow delete sso imported non-local user
allow delete SSO imported non-local users
2021-01-21 23:50:49 +08:00
Zexi Li
366aa025d4 Merge pull request #9982 from rainzm/automated-cherry-pick-of-#9981-upstream-release-3.7
Automated cherry pick of #9981: fix(notify): send websocket messages according to language preference
2021-01-21 21:33:06 +08:00
Zexi Li
7d6b04b726 Merge pull request #9980 from rainzm/automated-cherry-pick-of-#9979-upstream-release-3.7
Automated cherry pick of #9979: Send SMS notification for abnormal login
2021-01-21 21:20:55 +08:00
Qu Xuan
18ba99747a fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:20:35 +08:00
rainzm
4f4538834a fix(notify): send websocket messages according to language preference 2021-01-21 19:47:35 +08:00
rainzm
15cd898080 fix(notify): choose template in NotifyFilter 2021-01-21 18:57:40 +08:00
rainzm
bab03027c1 feat(cloudcommon): send message with mobile in NotifyWithTag 2021-01-21 18:57:40 +08:00
Yousong Zhou
2940c350c2 fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:28:56 +08:00
Qu Xuan
22a41fb055 fix(cloudevent): update aliyun lookupevent api 2021-01-21 15:18:00 +08:00
Zexi Li
be0317f5f6 Merge pull request #9959 from ioito/automated-cherry-pick-of-#9958-upstream-release-3.7
Automated cherry pick of #9958: fix(cloudid): add en-US html templte
2021-01-21 14:43:26 +08:00
Zexi Li
3a969b8d36 Merge pull request #9951 from zhaoxiangchun/automated-cherry-pick-of-#9950-upstream-release-3.7
Automated cherry pick of #9950: feat(monitor): Lists the records that are currently alarting
2021-01-21 14:31:55 +08:00
zhaoxiangchun
7e9dfe0f9a feat(monitor): Lists the records that are currently alarting 2021-01-21 12:52:11 +08:00
Zexi Li
bd1ef35b51 Merge pull request #9961 from zhaoxiangchun/automated-cherry-pick-of-#9960-upstream-release-3.7
Automated cherry pick of #9960: fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info
2021-01-21 12:45:11 +08:00
Zexi Li
3f9982ecd1 Merge pull request #9949 from rainzm/automated-cherry-pick-of-#9948-upstream-release-3.7
Automated cherry pick of #9948: feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-20 20:05:58 +08:00
Zexi Li
7ef1b39a48 Merge pull request #9965 from yousong/automated-cherry-pick-of-#9964-upstream-release-3.7
Automated cherry pick of #9964: climc: costreports: fix bad struct tag
2021-01-20 18:47:28 +08:00
Yousong Zhou
229c024729 climc: costreports: fix bad struct tag
panic: Invalid structTag: help:"period of cost report send, example:"month/week/day" json:"period_type"

Fixes b803de0705 ("add cost report module")
2021-01-20 16:28:52 +08:00
zhaoxiangchun
5c12f9e1fe fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info 2021-01-20 11:51:04 +08:00
Qu Xuan
49c90a3814 fix(cloudid): add en-US html templte 2021-01-20 10:33:48 +08:00
Zexi Li
6468091fca Merge pull request #9935 from rainzm/automated-cherry-pick-of-#9934-upstream-release-3.7
Automated cherry pick of #9934: feat(notify): clean data for receiver_notifications
2021-01-20 03:19:06 +08:00
Zexi Li
e71e7c695f Merge pull request #9943 from ioito/automated-cherry-pick-of-#9942-upstream-release-3.7
Automated cherry pick of #9942: fix(cloudid): azure saml confirm
2021-01-20 03:08:00 +08:00
Zexi Li
b9bedffd6a Merge pull request #9953 from ioito/automated-cherry-pick-of-#9952-upstream-release-3.7
Automated cherry pick of #9952: fix(region): fix zstack delete server with local disks
2021-01-20 02:25:30 +08:00
yunion-ci-robot
711300efa3 Merge pull request #9957 from swordqiu/automated-cherry-pick-of-#9956-upstream-release-3.7
Automated cherry pick of #9956: fix(keystone): allow filter identity_providers with name of ssoDomain
2021-01-20 02:23:33 +08:00
Qiu Jian
db7a921785 fix(keystone): allow filter identity_providers with name of ssoDomain
allow filter identity_providers with name of ssoDomain
2021-01-20 01:05:57 +08:00
Qu Xuan
9d93ddf9aa fix(region): fix zstack delete server with local disks 2021-01-19 18:09:54 +08:00
rainzm
9c4fd94d7a feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-19 17:33:24 +08:00
rainzm
3063a7fdff fix(notify): add index fro receiver_notification 2021-01-19 15:50:20 +08:00
Qu Xuan
f00bc6d19f fix(cloudid): azure saml confirm 2021-01-19 03:34:23 +08:00
yunion-ci-robot
8615a710d9 Merge pull request #9939 from ioito/automated-cherry-pick-of-#9938-upstream-release-3.7
Automated cherry pick of #9938: fix(region): azure default subscription id
2021-01-18 21:40:20 +08:00
Qu Xuan
8eb682c4bc fix(region): azure default subscription id 2021-01-18 21:24:18 +08:00
rainzm
b292982fc5 feat(notify): clean data for receiver_notifications 2021-01-18 19:47:21 +08:00
Zexi Li
d505dd7e13 Merge pull request #9931 from rainzm/automated-cherry-pick-of-#9930-upstream-release-3.7
Automated cherry pick of #9930: fix(keystone): don't send the administrator’s message to the party
2021-01-18 18:04:39 +08:00
Zexi Li
55b49c71d7 Merge pull request #9932 from ioito/automated-cherry-pick-of-#9919-upstream-release-3.7
Automated cherry pick of #9919: Hotfix/qx azure saml
2021-01-18 18:03:39 +08:00
Qu Xuan
0752512581 feat(cloudid): add azure saml 2021-01-18 15:10:13 +08:00
rainzm
c5fd651604 fix(keystone): don't send the administrator’s message to the party 2021-01-18 14:58:26 +08:00
yunion-ci-robot
373da788d3 Merge pull request #9921 from rainzm/automated-cherry-pick-of-#9920-upstream-release-3.7
Automated cherry pick of #9920: feat(keystone): add options to set admin and domain admin role to notify
2021-01-18 12:11:24 +08:00
Zexi Li
575f4d6e5f Merge pull request #9926 from rainzm/automated-cherry-pick-of-#9925-upstream-release-3.7
Automated cherry pick of #9925: Notify Optimization
2021-01-18 11:47:01 +08:00
rainzm
75b375bc78 fix(notify): add a time limit for resending notifications 2021-01-18 11:13:57 +08:00
rainzm
094b85773f feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:13:57 +08:00
Zexi Li
8cbd07a7ef Merge pull request #9923 from rainzm/automated-cherry-pick-of-#9922-upstream-release-3.7
Automated cherry pick of #9922: fix(notify): remote 'lang' filter when contact type is 'mobile'
2021-01-18 10:24:16 +08:00
rainzm
97e9be3b27 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 20:55:59 +08:00
rainzm
988c90e8f6 fix(keystone): correctly pass domain id to role-assignments 2021-01-17 20:52:18 +08:00
rainzm
1b96a290d0 feat(keystone): add options to set admin and domain admin role to notify 2021-01-17 20:52:18 +08:00
yunion-ci-robot
dcb7beddda Merge pull request #9911 from ioito/automated-cherry-pick-of-#9910-upstream-release-3.7
Automated cherry pick of #9910: fix(region): avoid azure detach disk failed
2021-01-17 11:40:31 +08:00
Jian Qiu
2f3a3766c5 fix(cloudcommon): missing set_meta opslog (#9915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:33:09 +08:00
Qu Xuan
8d75e55b43 fix(region): avoid azure detach disk failed 2021-01-16 18:37:05 +08:00
yunion-ci-robot
04c074c453 Merge pull request #9908 from zhaoxiangchun/automated-cherry-pick-of-#9907-upstream-release-3.7
Automated cherry pick of #9907: feat(monitor): influxQuery add P95 reduce
2021-01-16 12:38:30 +08:00
zhaoxiangchun
2b22f227a6 feat(monitor): query reduce percentile
1.增加reduce.type == percentile ,进行对应数值处理
2021-01-16 12:00:27 +08:00
Zexi Li
6d8bb9fe5d Merge pull request #9903 from bistuzx/automated-cherry-pick-of-#9902-upstream-release-3.7
Automated cherry pick of #9902: feat(meter): add cost report module
2021-01-15 18:19:36 +08:00
bistuzx@163.com
cc175615f5 add cost report module 2021-01-15 18:02:58 +08:00
Zexi Li
83f0ba6abb Merge pull request #9892 from rainzm/automated-cherry-pick-of-#9891-upstream-release-3.7
Automated cherry pick of #9891: Repair of abnormal login notification
2021-01-15 10:31:23 +08:00
Zexi Li
58d4518514 Merge pull request #9889 from ioito/automated-cherry-pick-of-#9888-upstream-release-3.7
Automated cherry pick of #9888: fix(cloudid): optimized saml sso
2021-01-15 09:08:10 +08:00
Zexi Li
f4cb599b2c Merge pull request #9878 from ioito/automated-cherry-pick-of-#9877-upstream-release-3.7
Automated cherry pick of #9877: fix(cloudevent): optimized cloudevent sync
2021-01-14 23:56:42 +08:00
Zexi Li
9ad12ffaf3 Merge pull request #9894 from rainzm/automated-cherry-pick-of-#9893-upstream-release-3.7
Automated cherry pick of #9893: refactor(climc): remove dependence for `yunion.io/x/pkg/cloudcommon/db`
2021-01-14 23:51:49 +08:00
Zexi Li
b5c8bc746f Merge pull request #9896 from ioito/automated-cherry-pick-of-#9895-upstream-release-3.7
Automated cherry pick of #9895: fix(region): update google latitude and langtitude
2021-01-14 23:49:56 +08:00
Zexi Li
f2c4c3fa75 Merge pull request #9900 from yousong/automated-cherry-pick-of-#9899-upstream-release-3.7
Automated cherry pick of #9899: feat(vpcs): list: add order_by_network_count
2021-01-14 23:47:28 +08:00
Yousong Zhou
3b9412056b feat(vpcs): list: add order_by_network_count 2021-01-14 22:04:18 +08:00
Qu Xuan
dd3da3c4c9 fix(region): update google latitude and langtitude 2021-01-14 20:52:49 +08:00
rainzm
8e128a9863 refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:14:13 +08:00
rainzm
b31f69926c feat(notify): show only users under the domain in the recipient details of the message 2021-01-14 18:25:51 +08:00
rainzm
c891169384 fix(notify): be compatible with webconsole type hack 2021-01-14 18:25:51 +08:00
rainzm
9c630dc313 fix(keystone): clear failed auth when enable user 2021-01-14 18:25:51 +08:00
rainzm
6976851993 fix(keystone): send to the admin and the party separately when Abnormal login occurs 2021-01-14 18:25:51 +08:00
rainzm
06634a63ab fix(build): chage template of 'Abnormal Login' 2021-01-14 18:25:51 +08:00
rainzm
87a8bc1a03 feat(cloudcommon): send it directly if there is no template corresponding to the topic 2021-01-14 18:25:51 +08:00
rainzm
cafe1d7b53 feat(notify): mandatory update of VERIFY and USER_LOGIN_EXCEPTION templates 2021-01-14 18:25:51 +08:00
Qu Xuan
0165d83915 fix(cloudid): optimized saml sso 2021-01-14 18:14:04 +08:00
Zexi Li
4278c23583 Merge pull request #9885 from ioito/automated-cherry-pick-of-#9856-upstream-release-3.7
Automated cherry pick of #9856: fix(region): optimized azure reset linux pasword
2021-01-14 17:39:40 +08:00
Zexi Li
8080368233 Merge pull request #9883 from rainzm/automated-cherry-pick-of-#9882-upstream-release-3.7
Automated cherry pick of #9882: Fix Notifition about Panic_Error Send too much
2021-01-14 14:50:02 +08:00
Qu Xuan
9aa8a3ab69 fix(region): optimized azure reset linux pasword 2021-01-14 14:43:27 +08:00
rainzm
d28a12d6e7 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:25:35 +08:00
rainzm
8c717e1ae6 fix(notify): update receiver's lang when update event occurs 2021-01-14 14:25:35 +08:00
rainzm
36853a6cf2 fix(notify): panic for err 2021-01-14 14:25:35 +08:00
Zexi Li
25e95ac392 Merge pull request #9881 from zhaoxiangchun/automated-cherry-pick-of-#9879-upstream-release-3.7
Automated cherry pick of #9879: feat(monitor): influxQuery add P95 reduce
2021-01-14 11:05:34 +08:00
zhaoxiangchun
1b71ba64b7 feat(monitor): influxQuery add P95 reduce 2021-01-14 10:50:56 +08:00
Qu Xuan
a5834180fd fix(cloudevent): optimized cloudevent sync 2021-01-14 09:51:58 +08:00
Zexi Li
09438f56dd Merge pull request #9869 from rainzm/automated-cherry-pick-of-#9868-upstream-release-3.7
Automated cherry pick of #9868: Send notification when abnormal login occurs
2021-01-14 09:38:23 +08:00
Zexi Li
5242dc672d Merge pull request #9871 from swordqiu/automated-cherry-pick-of-#9870-upstream-release-3.7
Automated cherry pick of #9870: feature(climc): add policy-clone command
2021-01-14 09:37:35 +08:00
Zexi Li
1246fbc9a4 Merge pull request #9873 from swordqiu/automated-cherry-pick-of-#9872-upstream-release-3.7
Automated cherry pick of #9872: fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:24 +08:00
Qiu Jian
52e2051dfc fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:12:13 +08:00
Qiu Jian
c03325975d feature(climc): add policy-clone command 2021-01-14 03:31:43 +08:00
Zexi Li
c474123090 Merge pull request #9866 from zhaoxiangchun/automated-cherry-pick-of-#9865-upstream-release-3.7
Automated cherry pick of #9865: feat(monitor): support monitor overview influxdb query pass through
2021-01-13 21:12:07 +08:00
rainzm
f41c840d85 feat(keystone): support alertNotify when abnormal login occur 2021-01-13 20:01:13 +08:00
rainzm
c22f221898 feat(keystone): add GetDefaultAdminSession 2021-01-13 20:01:12 +08:00
rainzm
afbb4a0470 feat(keystone): support projectDomainId in SAssignmentManager.FetchAll 2021-01-13 20:01:12 +08:00
rainzm
80092443a7 feat(cloudcommon): expand notifyclient
1. support new params in creating notification
2. adapt keystone because `auth.GetAdminSession` doesn't work in keystone
2021-01-13 20:01:12 +08:00
rainzm
f9fa70d32a feat(notify): add params for create notification
1. tag, usually used to filter
2. metadata
3. ignore_nonexistent_receiver
2021-01-13 20:01:12 +08:00
rainzm
1669947a54 feat(notify): add template about topic USER_LOGIN_EXCEPTION 2021-01-13 20:01:12 +08:00
zhaoxiangchun
3f51fa67ec feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
2021-01-13 16:19:13 +08:00
Zexi Li
fca98383c0 Merge pull request #9863 from rainzm/automated-cherry-pick-of-#9862-upstream-release-3.7
Automated cherry pick of #9862: fix(notify): set status after sending
2021-01-13 16:10:42 +08:00
rainzm
9a9c9acb8e fix(notify): set status after sending 2021-01-13 15:48:44 +08:00
Zexi Li
9097d32d33 Merge pull request #9861 from lvyangyang/automated-cherry-pick-of-#9860-upstream-release-3.7
Automated cherry pick of #9860: fix(region): update tags status
2021-01-13 15:19:42 +08:00
Zexi Li
20bb86cf43 Merge pull request #9858 from rainzm/automated-cherry-pick-of-#9857-upstream-release-3.7
Automated cherry pick of #9857: fix(notify): set ModelManager in Receiver()
2021-01-13 14:41:31 +08:00
lvyangyang
fa9e5fd840 fix(region): update tags status 2021-01-13 01:18:56 -05:00
rainzm
bb7b179c4e fix(notify): set ModelManager in Receiver() 2021-01-13 09:55:46 +08:00
Zexi Li
5df3bde1f0 Merge pull request #9854 from ioito/automated-cherry-pick-of-#9690-upstream-release-3.7
Automated cherry pick of #9690: fix(region): optimized secgroup rule sync
2021-01-12 21:38:03 +08:00
Zexi Li
3b6291092b Merge pull request #9855 from lvyangyang/automated-cherry-pick-of-#9829-upstream-release-3.7
Automated cherry pick of #9829: fix(region): tag bugs fix
2021-01-12 21:37:22 +08:00
lvyangyang
9a10a34601 fix(region): tag bugs fix -azure tags replace/refresh -tags action logs -忽略创建中主机的metadate同步任务 2021-01-12 04:10:49 -05:00
Qu Xuan
6eec828ee3 fix(region): optimized secgroup rule sync 2021-01-12 10:37:03 +08:00
Zexi Li
defe42892f Merge pull request #9848 from rainzm/automated-cherry-pick-of-#9847-upstream-release-3.7
Automated cherry pick of #9847: feat(notify): send notifications of different templates according to language
2021-01-12 10:29:41 +08:00
Zexi Li
58f599ebe8 Merge pull request #9840 from ioito/automated-cherry-pick-of-#9839-upstream-release-3.7
Automated cherry pick of #9839: fix(cloudevent): add aws cloudevent
2021-01-12 10:27:44 +08:00
Zexi Li
99da7238cb Merge pull request #9837 from swordqiu/automated-cherry-pick-of-#9836-upstream-release-3.7
Automated cherry pick of #9836: fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:26 +08:00
Zexi Li
e63735f999 Merge pull request #9842 from tb365/automated-cherry-pick-of-#9841-upstream-release-3.7
Automated cherry pick of #9841: server skus filter by mem size fix
2021-01-11 22:37:30 +08:00
Zexi Li
aa89db8a6c Merge pull request #9845 from yousong/automated-cherry-pick-of-#9844-upstream-release-3.7
Automated cherry pick of #9844: Feature/yousong i18n apigateway
2021-01-11 22:27:39 +08:00
Zexi Li
49f3814145 Merge pull request #9853 from zhaoxiangchun/automated-cherry-pick-of-#9851-upstream-release-3.7
Automated cherry pick of #9851: fix(monitor): monitor overview throw err
2021-01-11 22:25:45 +08:00
zhaoxiangchun
23f80dced4 fix(monitor): monitor overview throw err 2021-01-11 21:26:43 +08:00
rainzm
ebc32e693d feat(notify): send notifications of different templates according to language 2021-01-11 19:43:18 +08:00
Yousong Zhou
1d1a5c327a apigateway: try return httperrors 2021-01-11 17:50:13 +08:00
Yousong Zhou
8a922ad81f locales: generate 2021-01-11 17:50:13 +08:00
Yousong Zhou
ac1232f94e locales: zh-CN: add some translations 2021-01-11 17:50:13 +08:00
Yousong Zhou
583d1889f7 apigateway: reword error messages 2021-01-11 17:50:12 +08:00
Yousong Zhou
a012496cbb keystone: reword error messages 2021-01-11 17:50:12 +08:00
Yousong Zhou
9766594dac build: y18n: add apigateway 2021-01-11 17:50:12 +08:00
tangbin
9c7d6f54da server skus filter by mem size fix 2021-01-11 14:41:24 +08:00
Qu Xuan
e91b5dbc32 fix(cloudevent): add aws cloudevent 2021-01-11 14:25:23 +08:00
Qiu Jian
5ef93ed03c fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:07:20 +08:00
Zexi Li
f6f975709a Merge pull request #9797 from ioito/automated-cherry-pick-of-#9796-upstream-release-3.7
Automated cherry pick of #9796: fix(region): allowed to manually refresh cloudimage
2021-01-09 20:32:24 +08:00
Zexi Li
33346e396e Merge pull request #9823 from ioito/automated-cherry-pick-of-#9822-upstream-release-3.7
Automated cherry pick of #9822: fix(apigateway): count city servers
2021-01-09 20:11:54 +08:00
Zexi Li
fe916c1d03 Merge pull request #9832 from tb365/automated-cherry-pick-of-#9830-upstream-release-3.7
Automated cherry pick of #9830: loadbalancer add lb purge validate
2021-01-09 19:58:35 +08:00
Zexi Li
bf91a5b6b3 Merge pull request #9794 from tb365/automated-cherry-pick-of-#9793-upstream-release-3.7
Automated cherry pick of #9793: feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:10 +08:00
Zexi Li
af07843325 Merge pull request #9819 from zhaoxiangchun/automated-cherry-pick-of-#9817-upstream-release-3.7
Automated cherry pick of #9817: fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:56:11 +08:00
Zexi Li
469fbc0868 Merge pull request #9826 from rainzm/automated-cherry-pick-of-#9825-upstream-release-3.7
Automated cherry pick of #9825: fix(notify): avoid duplication of notification names
2021-01-09 19:54:24 +08:00
tangbin
f6a6652600 loadbalancer add lb purge validate 2021-01-09 19:21:00 +08:00
rainzm
78c16bfc03 fix(notify): avoid duplication of notification names 2021-01-09 18:45:50 +08:00
yunion-ci-robot
8b373f2d57 Merge pull request #9821 from bistuzx/automated-cherry-pick-of-#9820-upstream-release-3.7
Automated cherry pick of #9820: fix(meter): add budget set alert log
2021-01-09 18:41:08 +08:00
Qu Xuan
34b12241f9 fix(apigateway): count city servers 2021-01-09 17:06:44 +08:00
yunion-ci-robot
b8d2d82227 Merge pull request #9809 from tb365/automated-cherry-pick-of-#9808-upstream-release-3.7
Automated cherry pick of #9808: fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:40:13 +08:00
bistuzx@163.com
54d4356d33 add budget set alert log 2021-01-09 16:16:05 +08:00
tangbin
6c24640476 fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:12:17 +08:00
zhaoxiangchun
107c1745d2 fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:33:36 +08:00
Zexi Li
bc3ecca942 Merge pull request #9799 from ioito/automated-cherry-pick-of-#9798-upstream-release-3.7
Automated cherry pick of #9798: fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:09 +08:00
Zexi Li
6f7f63a2ec Merge pull request #9812 from ioito/automated-cherry-pick-of-#9811-upstream-release-3.7
Automated cherry pick of #9811: fix(region): avoid cachedimage never be in sync when it deleted
2021-01-09 15:31:56 +08:00
Zexi Li
f4020ad95a Merge pull request #9814 from rainzm/automated-cherry-pick-of-#9813-upstream-release-3.7
Automated cherry pick of #9813: fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:46 +08:00
rainzm
9503546d0d fix(notify): loose phone number rules in updating receiver 2021-01-09 11:31:53 +08:00
Qu Xuan
b9f3e329a1 fix(region): avoid cachedimage never be in sync when it deleted 2021-01-08 20:56:37 +08:00
Zexi Li
8228a32e6b Merge pull request #9803 from rainzm/automated-cherry-pick-of-#9802-upstream-release-3.7
Automated cherry pick of #9802: fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:46 +08:00
rainzm
50c8636cec fix(notify): loose mobile phone number matching rules 2021-01-08 12:02:22 +08:00
Qu Xuan
5e418ab66b fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:22:08 +08:00
tangbin
0ac88cfe0a feat(region): server sku os_arch & cpu_arch checking 2021-01-08 10:35:46 +08:00
Qu Xuan
b056c0ce72 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:38:39 +08:00
Zexi Li
24e8152161 Merge pull request #9791 from wanyaoqi/automated-cherry-pick-of-#9790-upstream-release-3.7
Automated cherry pick of #9790: fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:07 +08:00
Zexi Li
b9ec6f76dd Merge pull request #9786 from yousong/automated-cherry-pick-of-#9785-upstream-release-3.7
Automated cherry pick of #9785: guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:34 +08:00
Zexi Li
f7d8416cd8 Merge pull request #9783 from zhaoxiangchun/automated-cherry-pick-of-#9782-upstream-release-3.7
Automated cherry pick of #9782: fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
2021-01-07 21:14:42 +08:00
wanyaoqi
4841fbdb12 fix(host-deployer): add retry on check is vgactived 2021-01-07 19:27:15 +08:00
Yousong Zhou
827c298bc5 guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:37:50 +08:00
zhaoxiangchun
73ab024df8 fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
2021-01-06 21:31:02 +08:00
Zexi Li
77227ca67f Merge pull request #9779 from ioito/automated-cherry-pick-of-#9778-upstream-release-3.7
Automated cherry pick of #9778: fix(region): avoid auzre request timeout
2021-01-06 21:23:22 +08:00
Zexi Li
e12a3efd18 Merge pull request #9776 from ioito/automated-cherry-pick-of-#9775-upstream-release-3.7
Automated cherry pick of #9775: fix(cloudevent): default policy
2021-01-06 21:23:01 +08:00
Zexi Li
4630e15da5 Merge pull request #9772 from ioito/automated-cherry-pick-of-#9771-upstream-release-3.7
Automated cherry pick of #9771: fix(region): avoid panic when register service not work
2021-01-06 21:22:12 +08:00
Qu Xuan
d3a5317245 fix(region): avoid auzre request timeout 2021-01-06 15:33:32 +08:00
Qu Xuan
0ff3997a21 fix(cloudevent): default policy 2021-01-06 11:45:36 +08:00
Zexi Li
28fe044afc Merge pull request #9770 from ioito/automated-cherry-pick-of-#9767-upstream-release-3.7
Automated cherry pick of #9767: fix(region): aliyun support public ip
2021-01-05 21:36:36 +08:00
Zexi Li
1957800096 Merge pull request #9769 from ioito/automated-cherry-pick-of-#9768-upstream-release-3.7
Automated cherry pick of #9768: fix(region): sync cachedimage info
2021-01-05 21:28:39 +08:00
Qu Xuan
da35a63586 fix(region): avoid panic when register service not work 2021-01-05 21:19:07 +08:00
Qu Xuan
54ba8cfe43 fix(region): aliyun support public ip 2021-01-05 20:37:49 +08:00
Qu Xuan
124f280fef fix(region): sync cachedimage info 2021-01-05 20:31:54 +08:00
Zexi Li
b7901c2834 Merge pull request #9763 from wanyaoqi/automated-cherry-pick-of-#9762-upstream-release-3.7
Automated cherry pick of #9762: feat(region): stop guest before freeze
2021-01-05 18:32:42 +08:00
Zexi Li
0e272e57d2 Merge pull request #9761 from lvyangyang/automated-cherry-pick-of-#9760-upstream-release-3.7
Automated cherry pick of #9760: fix(region): replace cloud tags
2021-01-05 18:31:24 +08:00
wanyaoqi
3c7f2ff16d feat(region): stop guest before freeze 2021-01-05 15:15:40 +08:00
lvyangyang
499f4624b4 fix(region): replace cloud tags 2021-01-05 14:48:46 +08:00
Zexi Li
857c9f2278 Merge pull request #9759 from zhaoxiangchun/automated-cherry-pick-of-#9757-upstream-release-3.7
Automated cherry pick of #9757: fix(monitor): modify totalrecord query
2021-01-04 15:57:13 +08:00
zhaoxiangchun
5e054a25ad fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:41:26 +08:00
Jian Qiu
7e60397c15 Automated cherry pick of #9752: feature(region): sync cloud tags to local user tags (#9753)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:18:24 +08:00
Zexi Li
52ad3d961c Merge pull request #9755 from zhaoxiangchun/automated-cherry-pick-of-#9754-upstream-release-3.7
Automated cherry pick of #9754: feat(monitor): get today alerting resource info
2020-12-31 20:23:22 +08:00
zhaoxiangchun
376d18e5eb feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:06:01 +08:00
Zexi Li
894835907c Merge pull request #9688 from ioito/automated-cherry-pick-of-#9686-upstream-release-3.7
Automated cherry pick of #9686: fix(region): skip cloud image sync error
2020-12-30 21:44:10 +08:00
Zexi Li
0ffbb8cc6e Merge pull request #9737 from zhaoxiangchun/automated-cherry-pick-of-#9735-upstream-release-3.7
Automated cherry pick of #9735: fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:11 +08:00
Zexi Li
415b95dc88 Merge pull request #9732 from ioito/automated-cherry-pick-of-#9730-upstream-release-3.7
Automated cherry pick of #9730: fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:27 +08:00
Zexi Li
1c8f957152 Merge pull request #9728 from ioito/automated-cherry-pick-of-#9727-upstream-release-3.7
Automated cherry pick of #9727: fix(region): rds list with secgorups info
2020-12-30 21:41:44 +08:00
Zexi Li
1538cf3a02 Merge pull request #9733 from wanyaoqi/automated-cherry-pick-of-#9731-upstream-release-3.7
Automated cherry pick of #9731: fix(region): server start check host memory is enough
2020-12-30 21:39:42 +08:00
Zexi Li
3daa440db9 Merge pull request #9745 from rainzm/automated-cherry-pick-of-#9744-upstream-release-3.7
Automated cherry pick of #9744: fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:51 +08:00
rainzm
02931f509f fix(esxiagent): nicIndex should be incremented 2020-12-30 19:01:26 +08:00
Zexi Li
7ff4879ee3 Merge pull request #9726 from zhaoxiangchun/automated-cherry-pick-of-#9724-upstream-release-3.7
Automated cherry pick of #9724: feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:48 +08:00
Zexi Li
85de670c3b Merge pull request #9743 from rainzm/automated-cherry-pick-of-#9742-upstream-release-3.7
Automated cherry pick of #9742: fix(region): obtain ProviderFactory correctly
2020-12-30 18:53:38 +08:00
rainzm
b7b903ff67 fix(region): obtain ProviderFactory correctly
The provider of the region is not necessarily the same as the resource
2020-12-30 16:29:08 +08:00
zhaoxiangchun
d88ec4c39c fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 15:51:09 +08:00
wanyaoqi
678f2b3dd4 fix(region): server start check host memory is enough 2020-12-30 15:48:09 +08:00
Qu Xuan
84b9e1fb00 fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:47:37 +08:00
Qu Xuan
5e736e1838 fix(region): rds list with secgorups info 2020-12-30 14:18:18 +08:00
zhaoxiangchun
b0293b11f6 feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:06:36 +08:00
Zexi Li
7c3b6cd52a Merge pull request #9705 from bistuzx/automated-cherry-pick-of-#9675-upstream-release-3.7
Automated cherry pick of #9675: feat(meter): add meter budget&event module
2020-12-29 23:18:31 +08:00
bistuzx@163.com
66d2820f01 fix reservation columns 2020-12-29 22:47:43 +08:00
bistuzx@163.com
fe1e9ff936 add cost&prepaid_cost to reservation 2020-12-29 22:47:43 +08:00
bistuzx@163.com
802f2d9f4d fix budget import format 2020-12-29 22:47:43 +08:00
bistuzx@163.com
2fbe01505d fix reservation import format 2020-12-29 22:47:43 +08:00
bistuzx@163.com
3d82632e96 add meter budget&event&reservation module 2020-12-29 22:47:43 +08:00
Zexi Li
37d1c7f55d Merge pull request #9721 from swordqiu/automated-cherry-pick-of-#9701-upstream-release-3.7
Automated cherry pick of #9701: fix(region): omit vpc quota check if vpc created by owner
2020-12-29 21:34:13 +08:00
Zexi Li
5c2cc0b9ee Merge pull request #9722 from swordqiu/automated-cherry-pick-of-#9719-upstream-release-3.7
Automated cherry pick of #9719: fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:28 +08:00
Qiu Jian
658c59327a fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 21:02:03 +08:00
Zexi Li
71eb869549 Merge pull request #9715 from wanyaoqi/automated-cherry-pick-of-#9711-upstream-release-3.7
Automated cherry pick of #9711: fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:30 +08:00
Zexi Li
5704ae496d Merge pull request #9710 from rainzm/automated-cherry-pick-of-#9693-upstream-release-3.7
Automated cherry pick of #9693: Solve the permission problem of notify to create receiver
2020-12-29 20:40:55 +08:00
Zexi Li
390b78a57c Merge pull request #9707 from rainzm/automated-cherry-pick-of-#9706-upstream-release-3.7
Automated cherry pick of #9706: feat(region): multilingual timer description
2020-12-29 20:39:26 +08:00
Qiu Jian
9081b5dc4f 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 20:28:08 +08:00
wanyaoqi
5bbf364f2b fix(region,host): sync status check block jobs 2020-12-29 15:30:58 +08:00
wanyaoqi
550159af7c fix(host-deployer): add log line on blkid failed 2020-12-29 15:30:58 +08:00
wanyaoqi
447882a003 fix(climc): host add netif add params bridge/interface 2020-12-29 15:30:58 +08:00
rainzm
377177cfd2 feat(region): multilingual timer description 2020-12-29 15:23:05 +08:00
rainzm
167a65cd0e feat(db): progressive inspection when determining the required scope 2020-12-29 15:01:34 +08:00
rainzm
ac8f20ca18 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-29 15:01:34 +08:00
Zexi Li
de6468782e Merge pull request #9699 from zhaoxiangchun/automated-cherry-pick-of-#9698-upstream-release-3.7
Automated cherry pick of #9698: fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:34:58 +08:00
--global
333c83778f fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:41:50 +08:00
Zexi Li
d293b182f9 Merge pull request #9696 from zhaoxiangchun/automated-cherry-pick-of-#9694-upstream-release-3.7
Automated cherry pick of #9694: fix(monitor): add resType   filter
2020-12-28 21:22:32 +08:00
Zexi Li
ce3a8b2872 Merge pull request #9692 from lvyangyang/automated-cherry-pick-of-#9691-upstream-release-3.7
Automated cherry pick of #9691: feat(region): add tags implement
2020-12-28 21:21:16 +08:00
--global
ee00fd3196 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 18:30:50 +08:00
lvyangyang
66009c3325 feat(region): add tags implement 2020-12-28 16:26:44 +08:00
Zexi Li
51e01d8cae Merge pull request #9685 from ioito/automated-cherry-pick-of-#9108-upstream-release-3.7
Automated cherry pick of #9108: Hotfix/qx guest delete
2020-12-28 16:01:24 +08:00
Zexi Li
b64d3d53ad Merge pull request #9689 from zhasm/automated-cherry-pick-of-#9687-upstream-release-3.7
Automated cherry pick of #9687: fix(make,buildx): 使用 buildx 编译时,拉镜像到本地
2020-12-28 14:56:21 +08:00
Zhang Dongliang
7b6ce2b054 fix(make,buildx): 使用 buildx 编译时,拉镜像到本地 2020-12-28 14:35:11 +08:00
Qu Xuan
e08f9a8f78 fix(region): skip cloud image sync error 2020-12-28 14:32:50 +08:00
Qu Xuan
6081595adf feat(region): disks and eip delete with server 2020-12-28 11:29:44 +08:00
Qu Xuan
ffc1dd2cb3 feat(region): add server delete options 2020-12-28 11:29:44 +08:00
Zexi Li
13cacee382 Merge pull request #9673 from ioito/automated-cherry-pick-of-#9540-upstream-release-3.7
Automated cherry pick of #9540: fix(region): openstack network is regional
2020-12-28 10:51:02 +08:00
Qu Xuan
e3b9757132 fix(region): openstack network is regional 2020-12-28 10:22:49 +08:00
Zexi Li
27f07529a5 Merge pull request #9682 from rainzm/automated-cherry-pick-of-#9681-upstream-release-3.7
Automated cherry pick of #9681: feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:06:05 +08:00
Zexi Li
8f7c5db3f7 Merge pull request #9678 from ioito/automated-cherry-pick-of-#9677-upstream-release-3.7
Automated cherry pick of #9677: optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:00:50 +08:00
Zexi Li
b58dffd13f Merge pull request #9661 from tb365/automated-cherry-pick-of-#9587-upstream-release-3.7
Automated cherry pick of #9587: fix(region): cloudregion&zone add namei18n
2020-12-26 18:43:24 +08:00
rainzm
ebb29b21e0 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:41:58 +08:00
Qu Xuan
addf12f43d optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:42:25 +08:00
TangBin
1cca1b5685 fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 17:35:42 +08:00
TangBin
7178a2d3c7 fix(region): aws sync vpc access mode bugfix 2020-12-26 17:35:42 +08:00
TangBin
d097679e47 fix(region): cloudregion&zone add namei18n 2020-12-26 17:35:42 +08:00
Zexi Li
516892ed6f Merge pull request #9674 from lvyangyang/automated-cherry-pick-of-#9628-upstream-release-3.7
Automated cherry pick of #9628: Refact tags interface
2020-12-26 16:26:34 +08:00
lvyangyang
66b97aa112 refact(region): resource tags 2020-12-26 16:13:06 +08:00
Zexi Li
82b71528a7 Merge pull request #9663 from rainzm/automated-cherry-pick-of-#9660-upstream-release-3.7
Automated cherry pick of #9660: feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:37 +08:00
Zexi Li
d1fd9cb26e Merge pull request #9672 from zexi/automated-cherry-pick-of-#9627-upstream-release-3.7
Automated cherry pick of #9627: fix(region): support rds secgroup operation
2020-12-26 12:20:19 +08:00
Qu Xuan
dddfdbd5b2 fix(region): support rds secgroup operation 2020-12-26 12:19:21 +08:00
Zexi Li
9cf77bba40 Merge pull request #9667 from lvyangyang/automated-cherry-pick-of-#9636-upstream-release-3.7
Automated cherry pick of #9636: fix(region): aws lb create tags param
2020-12-26 12:18:34 +08:00
Zexi Li
1608a1fbe8 Merge pull request #9671 from zexi/automated-cherry-pick-of-#9640-upstream-release-3.7
Automated cherry pick of #9640: fix(region): purge private cloud sku
2020-12-26 12:15:28 +08:00
Qu Xuan
1d320035b1 fix(region): purge private cloud sku 2020-12-26 12:14:46 +08:00
Zexi Li
d5132a0602 Merge pull request #9670 from zexi/automated-cherry-pick-of-#9642-upstream-release-3.7
Automated cherry pick of #9642: fix(region): apsara optimized
2020-12-26 12:13:55 +08:00
Qu Xuan
ca578cbb27 fix(region): apsara optimized 2020-12-26 12:13:24 +08:00
Zexi Li
3a74aafa08 Merge pull request #9664 from yousong/automated-cherry-pick-of-#9625-upstream-release-3.7
Automated cherry pick of #9625: Feature/yousong y18n check
2020-12-26 12:11:35 +08:00
Zexi Li
9eb0c4c163 Merge pull request #9669 from zexi/automated-cherry-pick-of-#9644-upstream-release-3.7
Automated cherry pick of #9644: feature(climc): policy save data into file
2020-12-26 12:10:01 +08:00
Qiu Jian
56d583e90b feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-26 12:08:06 +08:00
Zexi Li
067c9397a6 Merge pull request #9668 from zexi/automated-cherry-pick-of-#9654-upstream-release-3.7
Automated cherry pick of #9654: fix(region): optimized azure rebuild root
2020-12-26 12:07:08 +08:00
Qu Xuan
7fb008c50b fix(region): optimized azure rebuild root 2020-12-26 12:06:02 +08:00
Zexi Li
5626f7a8ed Merge pull request #9666 from swordqiu/automated-cherry-pick-of-#9652-upstream-release-3.7
Automated cherry pick of #9652: fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:51 +08:00
lvyangyang
50bc20b2a2 fix(region): aws lb create tags param 2020-12-26 11:53:59 +08:00
Qiu Jian
e12eea6799 fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-26 11:51:24 +08:00
yunion-ci-robot
b5574e365b Merge pull request #9659 from zhaoxiangchun/automated-cherry-pick-of-#9657-upstream-release-3.7
Automated cherry pick of #9657: fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:29:52 +08:00
Yousong Zhou
7042f97cd9 build: skip y18n-check for now
CircleCI is likely not happy with the memory usage

	/bin/sh: line 1:  4553 Killed                  y18n -chdir /root/go/src/yunion.io/x/onecloud -dir ./locales/ -out ./locales/locales.go -lang en-US,zh-CN yunion.io/x/onecloud/cmd/keystone yunion.io/x/onecloud/cmd/monitor yunion.io/x/onecloud/cmd/region yunion.io/x/onecloud/cmd/yunionconf
	make: *** [y18n-check] Error 137

Link: https://app.circleci.com/pipelines/github/yunionio/onecloud/25085/workflows/6efec9d0-cdd5-45eb-bb1e-f62849e22b76/jobs/55153
2020-12-26 11:10:53 +08:00
Yousong Zhou
eb6be534e7 locales: regenerate locales.go 2020-12-26 11:10:53 +08:00
Yousong Zhou
719f919021 locales: zh-CN: regenerate messages.gotext.json 2020-12-26 11:10:53 +08:00
Yousong Zhou
c786a56efa build: add y18n-check, y18n-gen 2020-12-26 11:10:53 +08:00
Yousong Zhou
f31a2175c5 .circleci: use centos-build:1.1-4
- place the code in canonical GOPATH when GO111MODULE can be off
 - always set ONECLOUD_CI_BUILD, including the test step
2020-12-26 11:10:53 +08:00
Yousong Zhou
139740613f build: use centos-build:1.1-4
y18n support in 1.1-4
2020-12-26 11:10:53 +08:00
Yousong Zhou
87e08c49de build: docker: add ModName 2020-12-26 11:10:53 +08:00
Yousong Zhou
7a01f72d64 build: docker: move to Makefile.common.mk 2020-12-26 11:10:53 +08:00
Yousong Zhou
ac713700ac scripts/docker_push.sh: minor polishments
- removed bundled baremetal-agent before building new to avoid go
   error for refusing to overwrite a text file
 - use docker buildx build no mater what
 - check existence of dockerfile before calling general_build to avoid
   error by cmd/chksum
2020-12-26 11:10:53 +08:00
Yousong Zhou
e778b99b78 scripts/docker_push.sh: use toplevel Makefile target 2020-12-26 11:10:53 +08:00
Yousong Zhou
d7804f6da7 build: docker: align centos variant with the alpine one 2020-12-26 11:10:53 +08:00
Yousong Zhou
3d7e5aaf92 build: docker: make target GOARCH/GOOS/CGO_ENABLED aware 2020-12-26 11:10:53 +08:00
Yousong Zhou
6c7a124481 build: docker: remove GOFLAGS export 2020-12-26 11:10:53 +08:00
Yousong Zhou
57b4cec5d4 scripts/coverage.sh: detect use of "-mod vendor" 2020-12-26 11:10:53 +08:00
Yousong Zhou
a90a26a4ec region: fix error msg for invalid wire_level_for_vmware 2020-12-26 11:10:53 +08:00
rainzm
17f04c3388 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:10:09 +08:00
--global
2f11e60123 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 11:04:59 +08:00
Zexi Li
ef30d23bbd Merge pull request #9637 from ioito/hotfix/qx-cloudid-sync-optimized
fix(cloudid): optimized system policy sync
2020-12-25 17:23:59 +08:00
Qu Xuan
7760e0c3a2 fix(cloudid): optimized system policy sync 2020-12-25 14:55:17 +08:00
Zexi Li
43495f8a00 Merge pull request #9633 from ioito/hotfix/qx-global-proxy
fix(region): sku.meta use global proxy
2020-12-25 01:26:12 +08:00
Zexi Li
35056c89a2 Merge pull request #9629 from ioito/hotfix/qx-disk-allocate-failed-log
fix(region): optimized disk allocate sched failed log
2020-12-24 17:47:51 +08:00
Zexi Li
b76d36f90f Merge pull request #9622 from ioito/hotfix/qx-openstack-change-config
fix(region): avoid openstack change config error
2020-12-24 17:42:07 +08:00
Zexi Li
2c3d7f1e55 Merge pull request #9593 from ioito/hotfix/qx-private-cloud-sku
fix(region): private cloud sku create
2020-12-24 17:41:03 +08:00
Zexi Li
8358ecfe9c Merge pull request #9619 from ioito/hotfix/qx-aws-role
fix(region): avolid panic when list role's policies
2020-12-24 17:35:10 +08:00
Zexi Li
35293ec9c3 Merge pull request #9609 from wanyaoqi/bugfix/wyq/fix-list-image-by-os-arch
fix(glance): list image by os arch use startwith
2020-12-24 17:34:23 +08:00
Qu Xuan
a8cc140b52 fix(region): sku.meta use global proxy 2020-12-24 17:22:43 +08:00
Qu Xuan
d78f4a98b1 fix(region): optimized disk allocate sched failed log 2020-12-24 16:58:05 +08:00
Qu Xuan
a75e6c906a fix(region): avolid panic when list role's policies 2020-12-24 15:24:19 +08:00
Zexi Li
9868addd4d Merge pull request #9596 from lvyangyang/azure-resourcetags
feat(region): azure tags
2020-12-24 14:33:05 +08:00
Qu Xuan
78ef400b1f fix(region): avoid openstack change config error 2020-12-24 11:45:49 +08:00
Zexi Li
ccf89de75c Merge pull request #9616 from swordqiu/hotfix/qj-fix-policy-role-description-i18n
fix(keystone): add i18n description for policy and role
2020-12-24 02:13:55 +08:00
Qiu Jian
7c84554587 fix(keystone): add i18n description for policy and role
Add i18n support for descriptions of system policy and role
2020-12-23 23:34:21 +08:00
Zexi Li
ca74828539 Merge pull request #9594 from wanyaoqi/wyq/update-centos-build-version
chore(util): update centos build version to 1.1-3
2020-12-23 22:15:21 +08:00
Zexi Li
4514635995 Merge pull request #9597 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(cloudmon): deal cannot get  azure metric
2020-12-23 22:14:21 +08:00
Zexi Li
9a378dc9ba Merge pull request #9599 from yousong/bugfix/yousong-climc-ssh
Bugfix/yousong climc ssh
2020-12-23 22:12:45 +08:00
Zexi Li
49509f1ec1 Merge pull request #9605 from zhaoxiangchun/bugfix/zxc-nodata-resource
fix(monitor): fix nodata alertresource list
2020-12-23 22:10:09 +08:00
Zexi Li
d6f9e09a4c Merge pull request #9613 from rainzm/notify/webconsole
fix(notify): fit correctly when send notification via contact
2020-12-23 22:03:24 +08:00
Qu Xuan
09a039eb6e fix(region): private cloud sku create 2020-12-23 20:36:24 +08:00
Zexi Li
1e65309b52 Merge pull request #9611 from rainzm/notify/lang
feat(cloudcommon): determine the notification template based on the user’s language preference
2020-12-23 20:32:48 +08:00
rainzm
4f386fea1a fix(notify): fit correctly when send notification via contact 2020-12-23 17:46:48 +08:00
rainzm
2eebef810f feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:07:25 +08:00
wanyaoqi
8386506560 fix(glance): list image by os arch use startwith 2020-12-23 16:23:43 +08:00
Zexi Li
72d5aea49c Merge pull request #9603 from rainzm/lb/webhook
feat(webhook): send webhook notification when c/d loadbalancerlisterrule
2020-12-23 15:16:09 +08:00
rainzm
93f98d55ad feat(webhook): send webhook notification when c/d loadbalancerlisterrule 2020-12-23 14:49:28 +08:00
lvyangyang
351e2cc38a feat(region): azure tags 2020-12-23 14:47:14 +08:00
--global
f408ef0275 fix(monitor): fix nodata alertresource list
1.修复nodata报警资源列表无法根据nodata策略正确刷新和删除
2020-12-23 14:44:11 +08:00
Yousong Zhou
b06be9ea5c fix(mcclient): options: webconsole: fix passing ssh port 2020-12-23 13:29:22 +08:00
Yousong Zhou
db8307822f refactor(climc): webconsole: use helper methods of response struct 2020-12-23 13:29:17 +08:00
Yousong Zhou
4cd1d4ba7c refactor(webconsole): api: add helper methods for response struct 2020-12-23 13:29:11 +08:00
Yousong Zhou
c7d099b6fb refactor(webconsole): use structured response 2020-12-23 13:29:06 +08:00
--global
369872f7ab fix(cloudmon): deal cannot get azure metric
1.azure重构代码导致监控uri路径出错
2020-12-23 13:13:47 +08:00
Zexi Li
8b4f01e02e Merge pull request #9319 from lvyangyang/bucket-uploadings
feat(region) :bucket list uploads
2020-12-23 11:20:48 +08:00
wanyaoqi
84d64df0c9 chore(util): update centos build version to 1.1-3 2020-12-23 11:07:56 +08:00
lvyangyang
ef9d2df3ce feat(region): bucket list uploads 2020-12-23 09:53:05 +08:00
Zexi Li
a85fda415d Merge pull request #9548 from tb365/bugfix/tb-bugfix-121801
Bugfix/tb bugfix 121801
2020-12-23 09:47:43 +08:00
Zexi Li
3be6296f1c Merge pull request #9577 from zhaoxiangchun/feature/zxc-alerthistory-master
feat(monitor): add global alertrecord
2020-12-23 09:45:53 +08:00
Zexi Li
b27dc38605 Merge pull request #9570 from ioito/hotfix/qx-to-network-config
fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空
2020-12-23 09:41:45 +08:00
Zexi Li
c2a809221a Merge pull request #9573 from ioito/hotfix/qx-huawei-gpssd
fix(region): add huawei gpssd desc
2020-12-23 09:36:59 +08:00
Zexi Li
e685c0b942 Merge pull request #9579 from zhaoxiangchun/bugfix/zxc-commonalert-usedby-master
fix(monitor): other servier create alert add used_by param as a agreement
2020-12-23 09:35:03 +08:00
Zexi Li
8ab4ae1f23 Merge pull request #9584 from rainzm/ansibleserver/role
more convenient debugging and role isolation
2020-12-23 09:09:30 +08:00
Zexi Li
941e6feb8e Merge pull request #9589 from swordqiu/hotfix/qj-cloudevent-devtools-missing-metadata-tbl
fix(cloudevent,devtool): missing metadata table
2020-12-23 09:06:16 +08:00
Qiu Jian
ba08d9d465 fix(cloudevent,devtool): missing metadata table 2020-12-23 03:10:04 +08:00
rainzm
6d7764550e feat: download the role to tmpdir not system role dir 2020-12-22 20:16:34 +08:00
rainzm
cfa426bc18 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:14:48 +08:00
yunion-ci-robot
31a0fb76fd Merge pull request #9583 from yousong/feature/yousong-bump-ovs
build: docker: use openvswitch 2.10.5-1
2020-12-22 18:07:49 +08:00
Yousong Zhou
ce86ed8161 build: docker: use openvswitch 2.10.5-1 2020-12-22 17:27:12 +08:00
--global
c39e6778e6 feat(monitor): add global alertrecord
1.支持时间、资源类型、报警级别、报警状态的过滤
2.报警记录删除时,删除关联的报警记录
2020-12-22 16:21:39 +08:00
--global
7526604501 fix(monitor): other servier create alert add used_by param as a agreement
1.解决notify,meter中创建的对应的策略也展示在统一报警策略页面。通过used_by
  进行区分
2020-12-22 16:10:31 +08:00
Qu Xuan
b5a25b9c60 fix(region): add huawei gpssd desc 2020-12-22 11:31:53 +08:00
Qu Xuan
61c25a597a fix(region): 避免从云上同步下来的主机,创建相同配置时network_id为空 2020-12-22 11:17:25 +08:00
Zexi Li
159c1bcb89 Merge pull request #9498 from wanyaoqi/bugfix/wyq/migrate-misc-fix
server migrate misc fix
2020-12-22 10:06:27 +08:00
yunion-ci-robot
ab76faeba3 Merge pull request #9564 from zexi/hotfix/baremetal-pxe-net-alloc
Hotfix/baremetal pxe net alloc
2020-12-21 23:47:39 +08:00
Zexi Li
f2b1c42644 Merge pull request #9544 from yousong/bugfix/yousong-no-lbagent-error
fix(region): lbbackend: better error reporting for finding influxdb info
2020-12-21 21:07:46 +08:00
Zexi Li
d3c8c33014 Merge pull request #9555 from ioito/hotfix/qx-openstack-os-type
fix(region): fix openstack instance os type
2020-12-21 21:01:52 +08:00
Zexi Li
7751cd216f Merge pull request #9559 from rainzm/docker/build_kit
feat(scripts): add export DOCKER_BUILDKIT=1
2020-12-21 21:00:21 +08:00
Zexi Li
31f62225b1 Merge pull request #9561 from ioito/hotfix/qx-notify-temp
fix(cloudid): add <br> for notify templete
2020-12-21 20:59:13 +08:00
Zexi Li
e2201a80f3 fix(region,baremetal): choose candidate network not according by types 2020-12-21 20:42:38 +08:00
Qu Xuan
21820fe2d8 fix(cloudid): add <br> for notify templete 2020-12-21 20:41:02 +08:00
Zexi Li
2c7f8d93f6 fix(region,baremetal): pxe net reuse converted server access ip 2020-12-21 20:34:57 +08:00
rainzm
e52da6ca5f feat(scripts): add export DOCKER_BUILDKIT=1 2020-12-21 19:52:15 +08:00
Qu Xuan
5674b5e5f2 fix(region): fix openstack instance os type 2020-12-21 19:42:19 +08:00
TangBin
b52a7d019c fix(region): lbacl &lbcert default share scope 2020-12-21 17:32:31 +08:00
Yousong Zhou
754359b955 fix(region): lbbackend: better error reporting for finding influxdb info 2020-12-21 16:41:25 +08:00
Zexi Li
331e60e100 Merge pull request #9360 from ioito/bugfix/qx-server-sync
fix(region): sync servers
2020-12-21 10:40:29 +08:00
Zexi Li
ae5e28c58c Merge pull request #9538 from swordqiu/hotfix/qj-splitable-modify-query-string
fix(cloudcommon): query string may be modified in listItemQuery
2020-12-21 01:31:29 +08:00
Zexi Li
82990d2992 Merge pull request #9536 from swordqiu/hotfix/qj-match-policy-skip-deleted-policies
fix(keystone): ignore deleted policies when matching policies
2020-12-21 01:30:27 +08:00
Qiu Jian
abbcac09ab fix(cloudcommon): query filter ineffective for splitable
query string may be modified in listItemQuery routine, which cause some query
filter is removed and hence ineffective when query over splitable
2020-12-20 20:29:55 +08:00
Qiu Jian
234c37c490 fix(keystone): ignore deleted policies when matching policies
ignore deleted policies when matching policies
2020-12-20 14:12:59 +08:00
Zexi Li
b300d5e4e6 Merge pull request #9534 from swordqiu/hotfix/qj-rbac-policy-refresh-internal-seconds
fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:30 +08:00
Zexi Li
972f7f4ab4 Merge pull request #9527 from swordqiu/hotfix/qj-split-table-empty-panic
fix(cloudcommon): panic when query an empty splitable model manager
2020-12-20 02:07:45 +08:00
Zexi Li
260e92b109 Merge pull request #9529 from swordqiu/hotfix/qj-host-task-use-admin-token-if-task-token-expired
fix(taskman): use admin token if task userCred token expired
2020-12-20 02:05:48 +08:00
Qiu Jian
792bfe533c fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
Add new option rbac_policy_refresh_interval_seconds to control the
valid duration of a policy cache. The option is introduced at 3.6.
Replace option rbac_policy_sync_period_seconds.
2020-12-20 01:31:54 +08:00
Qiu Jian
4043cd8342 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 00:43:34 +08:00
Qiu Jian
d01f89a2c8 fix(cloudcommon): panic when query an empty splitable model manager
fix panic when querying an empty splitable model manager, e.g. action-show
2020-12-20 00:25:15 +08:00
yunion-ci-robot
d819989bc2 Merge pull request #9521 from zexi/storage-actual-size-filter
Storage actual size filter
2020-12-19 23:46:05 +08:00
Zexi Li
ae107e334b Merge pull request #9494 from wanyaoqi/bugfix/wyq/guest-to-create-input
fix(region): guest to create input keep billing info
2020-12-19 20:05:55 +08:00
Zexi Li
0ce19160d0 Merge pull request #9501 from swordqiu/feature/qj-user-add-lang-attribute
feature(keystone): user add language attribute
2020-12-19 20:05:21 +08:00
Zexi Li
52559cd3f9 Merge pull request #9509 from ioito/hotfix/qx-azure-async-task
fix(region): azure async task
2020-12-19 20:02:26 +08:00
Zexi Li
1a9454fa43 Merge pull request #9512 from ioito/hotfix/qx-azure-security-group-rule
fix(region): azure secgroup rule not allow with same priority and dir…
2020-12-19 20:00:54 +08:00
Zexi Li
bdd112e80b fix(scheduler): storage predicate add actualCapacity filter 2020-12-19 19:56:26 +08:00
Zexi Li
7a246b6878 Merge pull request #9515 from swordqiu/hotfix/qj-telegraf-use-local-ipv4-address-explicitly
fix(host): telegraf listen on local ipv4 address explicitly
2020-12-19 18:11:34 +08:00
Qiu Jian
89df588448 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 17:16:05 +08:00
Qu Xuan
bd99ad2199 fix(region): azure secgroup rule not allow with same priority and direction 2020-12-19 14:47:03 +08:00
Qu Xuan
f60c1835d1 fix(region): azure async task 2020-12-19 14:01:00 +08:00
yunion-ci-robot
3eb25e6dd1 Merge pull request #9446 from yousong/feature/yousong-vpc-fwd
Feature/yousong vpc fwd
2020-12-19 10:39:06 +08:00
Qu Xuan
ae060f2347 fix(region): sync servers 2020-12-19 10:25:28 +08:00
Zexi Li
9579d87953 Merge pull request #9502 from swordqiu/hotfix/qj-refresh-service-config
fix(keystone): always upload&refresh service config whenever service …
2020-12-19 09:32:36 +08:00
Qiu Jian
5cf5576e09 feature(keystone): user add language attribute
User add language attribute, notify and alarm will use this attribute to
send message in proper language
2020-12-19 09:18:17 +08:00
Qiu Jian
80229fa1e0 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:49:32 +08:00
yunion-ci-robot
0f2913b081 Merge pull request #9490 from zexi/hotfix/baremetal-pd-makegood
Hotfix/baremetal pd makegood
2020-12-18 20:45:02 +08:00
Zexi Li
1f40f2bd1c Merge pull request #9483 from rainzm/webhook/pending_delete
Webhook better describe the life cycle of the guest
2020-12-18 20:37:43 +08:00
wanyaoqi
8161d86dfd fix(host): add print migrate progress info 2020-12-18 18:25:28 +08:00
wanyaoqi
97864f96eb fix(region): do not change disk status on migrating 2020-12-18 18:24:32 +08:00
TangBin
4cdd768cec fix(region): elb acl validate create data fix 2020-12-18 18:19:37 +08:00
TangBin
e19a022f6d fix(region): aliyun elb listener&lbbg sync project 2020-12-18 18:15:30 +08:00
TangBin
d91c7a62dc fix(region): cert&acl cache delete condition check 2020-12-18 17:07:08 +08:00
Zexi Li
c51dbaaa7b Merge pull request #9488 from tb365/bugfix/tb-bugfix-121702
Bugfix/tb bugfix 121702
2020-12-18 16:36:17 +08:00
Zexi Li
d5ec32534c Merge pull request #9459 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): add alert slience time and modify scoperesource FetchUniqValues func
2020-12-18 16:33:45 +08:00
Zexi Li
14660138fc Merge pull request #9486 from wanyaoqi/bugfix/wyq/change-config-forecast
fix(region): fix change config forecast
2020-12-18 16:31:10 +08:00
Zexi Li
31fe97fbfe Merge pull request #9481 from wanyaoqi/bugfix/wyq/service-config-ignore-deploy-socket-path
fix(keystone): service config ignore deploy server socket path
2020-12-18 16:29:44 +08:00
wanyaoqi
36102e97d9 fix(region): guest to create input keep billing info 2020-12-18 16:15:16 +08:00
Zexi Li
77e4c806f3 fix(baremetal): clear jbod disks do PDMakeGood 2020-12-18 15:48:58 +08:00
wanyaoqi
2dc5b47915 fix(region): fix change config forecast 2020-12-18 14:57:20 +08:00
TangBin
3f19bb1efc fix(region): remove unnecessary vpc validate create date error wrap 2020-12-18 14:51:54 +08:00
--global
54271b78ad feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func

1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:39:02 +08:00
TangBin
f3c8bede52 fix(region): network create mask length validate 2020-12-18 14:29:49 +08:00
rainzm
bf378452a4 feat(region): send webhook server_create when canceling pending delete 2020-12-18 13:06:08 +08:00
rainzm
81588c92ae feat(region): distinguish between pending delete and delete notification 2020-12-18 13:05:24 +08:00
Zexi Li
15e1058519 Merge pull request #9458 from yousong/bugfix/yousong-eip-ipaddr
Bugfix/yousong eip ipaddr
2020-12-18 12:51:12 +08:00
wanyaoqi
c2978b8202 fix(keystone): service config ignore deploy server socket path 2020-12-18 12:50:41 +08:00
TangBin
72321d011f fix(region): vpc create data cird validate 2020-12-18 12:01:18 +08:00
TangBin
c50c47d653 fix(region): ctyun delete server bugfix
6642
2020-12-18 09:39:00 +08:00
Zexi Li
f1c2c9773c Merge pull request #9472 from yousong/bugfix/yousong-host-mtu
Bugfix/yousong host mtu
2020-12-18 00:21:00 +08:00
Zexi Li
76f571d538 Merge pull request #9476 from wanyaoqi/bugfix/wyq/fix-get-image-image
fix(host-deployer): probe image info umount rootfs first
2020-12-18 00:17:34 +08:00
Yousong Zhou
44b6391a62 fix(region): guestnetworks: use net calculated mtu 2020-12-17 21:38:11 +08:00
Yousong Zhou
a0ad627114 feat(region): networks: add getMtu method 2020-12-17 21:38:11 +08:00
Yousong Zhou
e201573d61 feat(apis): add const VPC_OVN_ENCAP_COST 2020-12-17 21:38:11 +08:00
TangBin
e2f1e5548d fix(region): create vm with eip task fix 2020-12-17 19:20:12 +08:00
wanyaoqi
37b036ed37 fix(host-deployer): probe image info umount rootfs first 2020-12-17 19:19:30 +08:00
Yousong Zhou
319d2cc563 feat(host): startvm: set vpc nic mtu
Windows DHCP client does not respect DHCP MTU option
2020-12-17 19:05:54 +08:00
Yousong Zhou
0139611d14 feat(host): startvm: add nic_mtu shell func 2020-12-17 19:00:41 +08:00
Yousong Zhou
52c3e93af7 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 19:00:41 +08:00
Yousong Zhou
d4093e2155 refactor(host): startvm: nic_speed: use raw string 2020-12-17 19:00:41 +08:00
Yousong Zhou
dae06cb500 refactor(host): startvm: add QEMU_CMD_KVM_ARG 2020-12-17 19:00:41 +08:00
Zexi Li
c6df981054 Merge pull request #9470 from ioito/hotfix/qx-apsara-metrics
fix(region): apsara metrics fix
2020-12-17 16:03:24 +08:00
Qu Xuan
edae255a04 fix(region): apsara metrics fix 2020-12-17 15:58:30 +08:00
Zexi Li
0a80d6d4a9 Merge pull request #9463 from rainzm/vmware/vswitch
fix(region): exclude network recommended for host when suggesting net…
2020-12-17 11:21:26 +08:00
Zexi Li
cba71b4043 Merge pull request #9467 from tb365/bugfix/tb-bugfix-121701
fix(region): skus add cloudenv
2020-12-17 11:17:35 +08:00
TangBin
cfc5fe9f20 fix(region): skus add cloudenv 2020-12-17 10:57:57 +08:00
rainzm
c91ad4a705 fix(region): exclude network recommended for host when suggesting network for guest 2020-12-17 10:08:56 +08:00
Zexi Li
c1f21ffba4 Merge pull request #9441 from wanyaoqi/bugfix/wyq/fix-change-config
bugfix(region): server change config rebase to sched task
2020-12-17 09:50:42 +08:00
Zexi Li
a0712c24a1 Merge pull request #9454 from zexi/hotfix/scheduler-fetch-input
fix(scheduler): fetch input network when specified
2020-12-16 18:24:29 +08:00
wanyaoqi
999cc74bde bugfix(region): server change config rebase to sched task 2020-12-16 18:03:54 +08:00
Zexi Li
03fc799067 Merge pull request #9452 from swordqiu/hotfix/qj-invalid-token-fetch-policy-panic
fix(keystone): panic if request with an invalid token
2020-12-16 17:57:26 +08:00
Zexi Li
870db8e879 fix(scheduler): fetch input network when specified 2020-12-16 17:48:53 +08:00
Yousong Zhou
719a9608c7 fix(region): eip_allocate_task: set eip status allocate_fail on task failure 2020-12-16 17:42:58 +08:00
Yousong Zhou
4a8eee0db3 fix(region,climc): eips: rename arg name for requested eip addr 2020-12-16 17:35:04 +08:00
Qiu Jian
0eaf20da26 fix(keystone): panic if request with an invalid token
service report nil pointer panic if request with an invalid token string
2020-12-16 16:43:24 +08:00
yunion-ci-robot
7b5b8ccd69 Merge pull request #9449 from yousong/bugfix/yousong-climc
fix(climc): use printObjectRecursive for PerformXxx calls
2020-12-16 13:01:14 +08:00
Zexi Li
cd34509aaf Merge pull request #9443 from tb365/bugfix/tb-bugfix-121501
Bugfix/tb bugfix 121501
2020-12-16 12:25:32 +08:00
Zexi Li
b03da9c2ea Merge pull request #9418 from zexi/hotfix/baremetal-update-related-server
fix(region): baremetal post update related server
2020-12-16 10:40:44 +08:00
Yousong Zhou
d6463f955a fix(climc): use printObjectRecursive for PerformXxx calls
Original

	+----------+-----------------------------------------------------------------------------------------------------+
	|  Field   |                                                Value                                                |
	+----------+-----------------------------------------------------------------------------------------------------+
	| forwards | [{"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":33908}, |
	|          | {"addr":"192.168.2.252","port":22,"proto":"tcp","proxy_addr":"10.168.222.196","proxy_port":45490}]  |
	+----------+-----------------------------------------------------------------------------------------------------+

After

	+-----------------------+----------------+
	|         Field         |     Value      |
	+-----------------------+----------------+
	| forwards.0.addr       | 192.168.2.252  |
	| forwards.0.port       | 22             |
	| forwards.0.proto      | tcp            |
	| forwards.0.proxy_addr | 10.168.222.196 |
	| forwards.0.proxy_port | 33908          |
	| forwards.1.addr       | 192.168.2.252  |
	| forwards.1.port       | 22             |
	| forwards.1.proto      | tcp            |
	| forwards.1.proxy_addr | 10.168.222.196 |
	| forwards.1.proxy_port | 45490          |
	+-----------------------+----------------+
2020-12-16 10:35:58 +08:00
Yousong Zhou
1709aa2e14 chore(host): options: use rundir /var/run/onecloud for sdnagent 2020-12-16 10:00:38 +08:00
Zexi Li
d34464f86e Merge pull request #9447 from swordqiu/hotfix/qj-action-log-post-fail
fix(log): fail to submit action log
2020-12-16 09:32:50 +08:00
Zexi Li
5e4d0758bd Merge pull request #9439 from zhaoxiangchun/feature/zxc-commonalert-setnodata-master
feat(monitor): support create nodata alert from web
2020-12-16 09:27:14 +08:00
Qiu Jian
b01a3c1539 fix(log): fail to submit action log
Because splitable not implement InsertOrMethod method, fail to submit
action log
2020-12-16 00:12:52 +08:00
Yousong Zhou
a290a6a49d fix(build): fmt: ignore auto-generated files 2020-12-15 22:17:48 +08:00
Yousong Zhou
549ae15a44 feat(climc): servers: add server forward commands 2020-12-15 22:17:48 +08:00
Yousong Zhou
1427d1b3a6 feat(region): guest: add {open,close,list}-forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
8f54866272 feat(region): guest: add fetchGuestNICs method 2020-12-15 22:12:23 +08:00
Yousong Zhou
4dd3945804 feat(region): guestdrivers: guest forward open, close, list methods 2020-12-15 22:12:23 +08:00
Yousong Zhou
447770dfc6 feat(apis): region: names for guest forward API 2020-12-15 22:12:23 +08:00
Yousong Zhou
daf863bd44 feat(host): guestman: add {Open,Close,List}Forward handler 2020-12-15 22:12:23 +08:00
Yousong Zhou
eb6febcc16 feat(host): kvm: add GetVpcNIC 2020-12-15 22:12:23 +08:00
Yousong Zhou
7b55e756ed feat(host): options: add option SdnSocketPath 2020-12-15 22:12:23 +08:00
Yousong Zhou
50e6810643 refactor(host): hostdhcp: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
1e4c294fd9 refactor(host): host_health: do not import guestman 2020-12-15 22:12:23 +08:00
Yousong Zhou
e7f618228b feat(apis): add host forward request/response struct 2020-12-15 22:12:23 +08:00
Yousong Zhou
665de6d56e chore(vendor): update google.golang.org/grpc@v1.29.1
It's the last version with google.golang.org/grpc/naming

yunion.io/x/onecloud/pkg/multicloud/google imports
        cloud.google.com/go/storage imports
        google.golang.org/api/option imports
        google.golang.org/api/internal imports
        google.golang.org/grpc/naming: module google.golang.org/grpc@latest found (v1.34.0), but does not contain package google.golang.org/grpc/naming
2020-12-15 22:04:15 +08:00
Yousong Zhou
925cc31b44 feat(host): forwarder: add NewClient func 2020-12-15 22:04:15 +08:00
Yousong Zhou
e8ec0718cf feat(host): go generate forwarder api 2020-12-15 21:45:18 +08:00
Yousong Zhou
d07bece954 feat(host): add forwarder.proto 2020-12-15 21:45:18 +08:00
Yousong Zhou
2acca1a70f fix(host): guestman: variable name typo 2020-12-15 21:45:18 +08:00
TangBin
5d6c8c7611 fix(awscli): instance-rebuild-root fix 2020-12-15 21:02:23 +08:00
yunion-ci-robot
ab47e7d404 Merge pull request #9435 from wanyaoqi/bugfix/wyq/fix-windows-set-passwd
fix(host): fix set windows password with escape charater
2020-12-15 20:51:20 +08:00
TangBin
5d20bf2800 fix(region): vpc sync external access mode fix 2020-12-15 20:48:17 +08:00
TangBin
982db46e8f fix(region): vpc usable fix 2020-12-15 18:57:26 +08:00
TangBin
d37ec27d7d fix(region): aws create vpc with igw add defaultroute 2020-12-15 18:40:09 +08:00
TangBin
1cb6980b1c fix(region): aws delete vpc skipped delete main route table 2020-12-15 17:49:16 +08:00
TangBin
52ef2c2d5b fix(region): aws vpc delete skip delete default secgroup 2020-12-15 17:31:33 +08:00
TangBin
6aa2fc5817 fix(region): aws vpc delete related route table & internet gateway 2020-12-15 17:17:58 +08:00
zhaoxiangchun
805ea5c0f5 feat(monitor): support create nodata alert from web
1.支持从前端页面创建nodata报警策略,对于nodata的情况给出对应的resource
2020-12-15 17:17:31 +08:00
wanyaoqi
1d8879ef7b fix(host): fix set windows password with escape charater 2020-12-15 16:54:53 +08:00
TangBin
687deac242 fix(region): sku list query print missing error info 2020-12-15 14:49:05 +08:00
TangBin
208adf8a02 fix(region): aws create storage type fix 2020-12-15 14:42:17 +08:00
TangBin
fc64ea3252 fix(region): aws create root device name fix 2020-12-15 13:58:42 +08:00
TangBin
6591c5a750 fix(region): vpc create validate cidr mask length 2020-12-15 13:18:40 +08:00
TangBin
80c3f6b2c5 fix(region): aws detach igw before delete vpc 2020-12-15 11:48:09 +08:00
Zexi Li
657e3d3c3c Merge pull request #9431 from zexi/fix/climc-server-create-desc
Fix/climc server create desc
2020-12-15 11:46:08 +08:00
Zexi Li
c62ef9531a Merge pull request #9426 from yousong/bugfix/yousong-vpcagent-dns
fix(vpcagent): ovn: stable dns A record value
2020-12-15 11:44:42 +08:00
TangBin
dbc1c7cdfb fix(region): vpc list usable fix 2020-12-15 11:36:46 +08:00
Zexi Li
6acf96e87b fix(climc): server-create --desc not work 2020-12-15 11:35:12 +08:00
TangBin
2d19d961c7 feat(region): server list add parameter eip_associable 2020-12-15 11:05:02 +08:00
Yousong Zhou
25cd808840 fix(vpcagent): ovn: stable dns A record value 2020-12-15 10:41:43 +08:00
Zexi Li
573893edcd Merge pull request #9417 from wanyaoqi/bugfix/wyq/host-misc-1214
fix(region,host): fix hot remove nic
2020-12-15 00:07:42 +08:00
Zexi Li
e1066ea39c Merge pull request #9415 from swordqiu/hotfix/qj-keystone-sso-update-user-attributes
fix(keystone): update user attributes whenever user login
2020-12-15 00:05:42 +08:00
Zexi Li
9cd2cb7790 fix(region): baremetal post update related server 2020-12-14 19:15:29 +08:00
wanyaoqi
d9137720ab fix(region,host): fix hot remove nic
- region: check is hot remove nic enable
- host: del qemu device after del netdev
2020-12-14 18:59:52 +08:00
Qiu Jian
a0350d0537 fix(keystone): update user attributes whenever user login
update user attribtues whenever user login
2020-12-14 18:15:48 +08:00
wanyaoqi
97d96aa328 fix(host): fix check hugepage enabled 2020-12-14 18:02:54 +08:00
Zexi Li
836a9a66ff Merge pull request #9411 from zexi/hotfix/scheduler-region-sku
fix(scheduler): sku filter check zone if only prefer region specified
2020-12-14 17:56:33 +08:00
yunion-ci-robot
20421f98d6 Merge pull request #9409 from wanyaoqi/feature/wyq/export-tags
feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
Zexi Li
dad3d995da Merge pull request #9405 from zexi/hotfix/webconsole-trim-url
Hotfix/webconsole trim url
2020-12-14 17:20:49 +08:00
Zexi Li
c87c2b384b fix(scheduler): sku filter check zone if only prefer region specified 2020-12-14 16:44:10 +08:00
yunion-ci-robot
976539f253 Merge pull request #9373 from rainzm/vmware/vswitch_wire
feat(region): larger suggest network and more complete vlanid
2020-12-14 15:58:05 +08:00
wanyaoqi
2675f75c80 feat(region): export user tags support virtual resources 2020-12-14 15:55:05 +08:00
Zexi Li
650df302aa Merge pull request #9394 from zexi/hotfix/scheduler-candidate-error
fix(scheduler): get candidates error more info
2020-12-14 15:52:23 +08:00
Zexi Li
511ec56f16 Merge pull request #9403 from wanyaoqi/bugfix/wyq/fix-list-by-os-arch
fix(region,glance): list by os arch adapt to empty strings
2020-12-14 15:50:51 +08:00
Zexi Li
859e2078a2 fix(webconsole): trim api_server url if end with slashes 2020-12-14 15:46:34 +08:00
Zexi Li
77aa03f5bc Merge pull request #9399 from rainzm/notify/repull
fix(notify): avoid deadlock
2020-12-14 15:45:29 +08:00
wanyaoqi
8a82407f90 fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:10:57 +08:00
rainzm
54ed4b6194 fix(notify): avoid deadlock 2020-12-14 15:02:19 +08:00
Zexi Li
7d836f77a6 fix(scheduler): get candidates error more info 2020-12-14 14:39:27 +08:00
rainzm
292716b269 feat(region): add test for CloudaccountManger.PerformPrepareNets 2020-12-14 14:16:52 +08:00
Zexi Li
408e768a62 Merge pull request #9386 from tb365/feature/tb-support-sync-skus-by-cloudregion
feat(region): support sync skus by cloudregion
2020-12-13 13:51:23 +08:00
Zexi Li
0c4ed830e1 Merge pull request #9351 from ioito/hotfix/qx-aliyun-saml-auth
feat(cloudid): support aliyun saml auth
2020-12-13 12:13:38 +08:00
Zexi Li
cf8167dd0c Merge pull request #9384 from ioito/hotfix/qx-server-stop
fix(region): optimized server stop code
2020-12-13 12:12:21 +08:00
Zexi Li
cdc16b7a6b Merge pull request #9390 from swordqiu/hotfix/qj-network-reserved-ip-count-error
fix(region): network reserved ip count not consider expiration of reserved ips
2020-12-13 12:09:17 +08:00
Qiu Jian
b581c6dabd 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:28:24 +08:00
TangBin
04fa96d9c8 feat(region): support sync skus by cloudregion 2020-12-12 18:55:24 +08:00
Qu Xuan
7c6d4fddf3 fix(region): optimized server stop code 2020-12-12 18:49:35 +08:00
Zexi Li
369866d5d6 Merge pull request #9359 from tb365/bugfix/tb-bugfix-cmb-1210
Bugfix/tb bugfix cmb 1210
2020-12-12 18:28:42 +08:00
rainzm
fee218c59c feat(region): larger suggest network and more complete vlanid
1. 抓取标准 PortGroup 的 vlanid,以前只有分布式 PortGroup 的 vlanid
2. 提供的建议网络会尽可能的大
2020-12-12 18:04:09 +08:00
TangBin
c862f06996 feat(region): support sync skus by cloudregion 2020-12-12 17:06:11 +08:00
TangBin
b26249811a fix(region): server login info& keypair import input parameter trimspace 2020-12-12 17:01:20 +08:00
Zexi Li
5ddbf86edc Merge pull request #9313 from zhaoxiangchun/feat/zxc-suggestion-master
feat(monitor): add metric description
2020-12-12 00:17:48 +08:00
Zexi Li
95d67b040b Merge pull request #9361 from swordqiu/hotfix/qj-domain-unlink-action
fix(keystone): allow unlink a domain from an IDP
2020-12-12 00:16:22 +08:00
Zexi Li
983acaaf3d Merge pull request #9362 from swordqiu/feature/qj-event-log-splitable
fix(util): update vendor for log
2020-12-12 00:15:13 +08:00
Zexi Li
25402013a6 Merge pull request #9366 from swordqiu/hotfix/qj-ignore-unchanged-service-config
fix(keystone): ignore service config update without changes
2020-12-12 00:13:37 +08:00
Qiu Jian
1d7b7057a7 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:10:49 +08:00
Qiu Jian
076fa5498a fix(keystone): allow unlink a domain from an IDP
allow unlink a domain from an IDP
2020-12-11 21:50:15 +08:00
zhaoxiangchun
33074ba818 feat(monitor): add metric description
1.添加oss、rds、redis、vm_netio metric description
2.修改hostmetrics vm_netio 指标:
  bits_sent ==> bps_sent
  bits_recv ==> bps_recv
3.对metric中field进行排序

https://bug.yunion.io/zentao/task-view-2358.html
2020-12-11 20:16:42 +08:00
Qiu Jian
4895175a53 update vendor 2020-12-11 20:02:53 +08:00
Zexi Li
2b2ea4872f Merge pull request #9356 from ioito/hotfix/qx-sku-enabled
fix(region): sku enabled
2020-12-11 19:36:45 +08:00
Zexi Li
096115ce5e Merge pull request #9160 from swordqiu/feature/qj-event-log-splitable
feature(cloudcommon): split opslog table
2020-12-11 19:31:06 +08:00
Qu Xuan
3cf6d2f326 feat(cloudid): support aliyun saml auth 2020-12-11 17:31:26 +08:00
Qu Xuan
be63b02b9f fix(region): sku enabled 2020-12-11 17:07:08 +08:00
yunion-ci-robot
ba53f41ccd Merge pull request #9335 from zexi/hotfix/baremetal-convert-host
Hotfix/baremetal convert host
2020-12-11 13:35:10 +08:00
Zexi Li
2782b3d94f Merge pull request #9339 from ioito/hotfix/qx-global-proxy
fix(region,yunionapi,glance): using global proxy
2020-12-11 11:39:45 +08:00
Zexi Li
4157d3b225 Merge pull request #9352 from zexi/bugfix/scheduler-sku-net
Bugfix/scheduler SKU net
2020-12-11 09:18:18 +08:00
Zexi Li
a78c565d4f fix(scheduler): sku by region and fill onecloud vpc networks 2020-12-10 21:12:06 +08:00
Zexi Li
7e2f3b9ab9 Merge pull request #9331 from ioito/hotfix/qx-openstack-host
fix(region): openstack hosts sync
2020-12-10 20:40:02 +08:00
Zexi Li
2bfb026144 Merge pull request #9347 from swordqiu/hotfix/qj-perform-public-scope-check
fix(cloudcommon): perform public should check the sharing scope of
2020-12-10 20:37:43 +08:00
Zexi Li
4648845124 Merge pull request #9340 from ioito/hotfix/qx-rule-import-hint
fix(region): import rule error hint
2020-12-10 20:33:23 +08:00
Zexi Li
e0a8fc8e27 Merge pull request #9345 from wanyaoqi/bugfix/wyq/fix-gpu-server-change-config-fail
fix(region): gpu server change config use reserved resources
2020-12-10 20:32:18 +08:00
Qiu Jian
faf00d8d67 fix(cloudcommon): perform public should check the sharing scope of
resource

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +08:00
wanyaoqi
9c04a7bf37 fix(region): gpu server change config use reserved resources 2020-12-10 18:38:35 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qu Xuan
ed9675a90f fix(region): import rule error hint 2020-12-10 18:28:38 +08:00
Zexi Li
84f02c1f76 Merge pull request #9329 from ioito/hotfix/qx-aws-default-user
fix(region): aws default account
2020-12-10 17:23:33 +08:00
Zexi Li
3f194b4ccf Merge pull request #9325 from rainzm/notify/config_change
Try to repull contacts when changing notify config
2020-12-10 17:22:06 +08:00
Zexi Li
a3a99743d8 Merge pull request #9324 from zexi/feature/k8s-component-climc
Feature/k8s component climc
2020-12-10 17:20:16 +08:00
Zexi Li
e14371a821 Merge pull request #9298 from ioito/hotfix/qx-openstack-network
fix(region): support openstack subnet allocation pools
2020-12-10 17:17:29 +08:00
yunion-ci-robot
097ffba0f4 Merge pull request #9172 from ioito/hotfix/qx-save-image
feat(region): save image for public cloud
2020-12-10 17:17:09 +08:00
Zexi Li
fc10483072 Merge pull request #9320 from swordqiu/hotfix/qj-disable-quota-check-by-default
fix(cloudcommon): disable quota check by default
2020-12-10 17:08:32 +08:00
Zexi Li
8cc0b63c86 fix(baremetal): convert to host failed
- convert schedule should include converting status
- auto register name should lowercase
- finish convert set host name by guest
2020-12-10 16:58:02 +08:00
Qu Xuan
77f515a932 fix(region): openstack hosts sync 2020-12-10 16:54:20 +08:00
Qu Xuan
b511db2e0a fix(region): aws default account 2020-12-10 16:23:52 +08:00
Zexi Li
2c56715459 feat(climc): add k8s component minio and thanos operate subcmd 2020-12-10 12:04:10 +08:00
rainzm
75998a132b fix(notify): repull subcontact after changing config 2020-12-10 10:15:19 +08:00
rainzm
5bc847f052 fix(notify): check for changes before updating config 2020-12-10 10:11:22 +08:00
rainzm
aabb200585 refactor(notify): add StartSubcontactPullTask for receiver 2020-12-10 10:09:41 +08:00
Qiu Jian
0a7513cce4 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:19:06 +08:00
Qiu Jian
e31abb6f0d update vendor 2020-12-09 21:12:55 +08:00
Qiu Jian
ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
Zexi Li
87521a6ed8 Merge pull request #9159 from ioito/hotfix/qx-storage-capability
feat(region): add instance storage capability
2020-12-09 21:03:52 +08:00
Zexi Li
152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li
997f1d9d49 Merge pull request #9292 from rainzm/receiver/intelij_get
feat(notify): add intellij-get for receiver
2020-12-09 20:43:07 +08:00
Zexi Li
6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
Zexi Li
a77cc2f5ee Merge pull request #9259 from wanyaoqi/bugfix/wyq/attach-network-on-registerd-baremetal-server
fix(region): attach network on register baremetal server
2020-12-09 20:39:53 +08:00
Zexi Li
c354e820df Merge pull request #9302 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized qcloud prepaid instance delete
2020-12-09 20:37:26 +08:00
Zexi Li
ca89a13622 Merge pull request #9305 from ioito/hotfix/qx-openstack-change-config
fix(region): optimized openstack change config
2020-12-09 20:36:41 +08:00
Zexi Li
aea45b2cd2 Merge pull request #9308 from yousong/bugfix/yousong-eip-chargetype
Bugfix/yousong eip chargetype
2020-12-09 20:34:55 +08:00
Zexi Li
feb81db1b8 Merge pull request #9315 from wanyaoqi/bugfix/wyq/restart-session-check-lease-living
fix(host): check lease living on restart etcd session
2020-12-09 20:33:08 +08:00
rainzm
e8a085a947 feat(notify): user cmdline helpler for climc notify-receiver-xxx 2020-12-09 17:02:17 +08:00
wanyaoqi
92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
rainzm
6ed0b5e9fa feat(notify): add intellij-get for receiver 2020-12-09 16:45:23 +08:00
Yousong Zhou
a48d0ab7fb refactor(apis): compute: remove EIP_CHARGE_TYPE_DEFAULT
The default is now cloud provider specific
2020-12-09 12:16:20 +08:00
Yousong Zhou
82e297a551 fix(region): sanitize eip charge type on all callsites 2020-12-09 12:16:19 +08:00
Yousong Zhou
5550803667 feat(region): regiondriver: add methods on eip charge type 2020-12-09 12:04:19 +08:00
Qu Xuan
20ca72cd43 fix(region): optimized openstack change config 2020-12-09 11:47:36 +08:00
Qu Xuan
691a5fc775 fix(region): optimized qcloud prepaid instance delete 2020-12-09 11:14:54 +08:00
Qu Xuan
792b4cdd83 fix(region): support openstack subnet allocation pools 2020-12-09 10:29:25 +08:00
Qiu Jian
fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +08:00
Zexi Li
516f5ab0d3 Merge pull request #9253 from ioito/hotfix/qx-azure-storageaccount-temp-url
fix(region): temp url sign wrong
2020-12-08 21:39:39 +08:00
Zexi Li
434ab6b82a Merge pull request #9263 from ioito/hotfix/qx-azure-instance-storage-type
fix(region): azure instance data disk storage type
2020-12-08 21:38:41 +08:00
Zexi Li
b9deee3060 Merge pull request #9266 from ioito/hotfix/qx-openstack-zone
fix(region): openstack available zones
2020-12-08 21:36:59 +08:00
Zexi Li
46e7d87b25 Merge pull request #9277 from wanyaoqi/bugfix/wyq/fix-validate-migrate-guests
fix(region): validate isolated devices on migrate
2020-12-08 21:35:51 +08:00
Zexi Li
6207523696 Merge pull request #9282 from ioito/hotfix/qx-guest-password
fix(region): restore password validate condition
2020-12-08 21:35:03 +08:00
Zexi Li
ee3219c9ab Merge pull request #9285 from ioito/hotfix/qx-cloud-account-sync
fix(region): sync account id
2020-12-08 21:34:04 +08:00
Zexi Li
3edef59d25 Merge pull request #9288 from zhasm/hotfix/rex-git-branch-minor
fix(git,make): 更新获取 git branch 的规则
2020-12-08 18:11:18 +08:00
Zhang Dongliang
eb7372263b fix(git,make): 更新获取 git branch 的规则 2020-12-08 17:59:24 +08:00
Qu Xuan
561f642675 fix(region): sync account id 2020-12-08 17:54:54 +08:00
wanyaoqi
948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Qu Xuan
06207c4a37 fix(region): restore password validate condition 2020-12-08 17:43:36 +08:00
yunion-ci-robot
3ba67a1c96 Merge pull request #9272 from wanyaoqi/bugfix/wyq/fix-vgrename-centos
fix(host-deployer): cancel rename centos vgname
2020-12-08 17:07:40 +08:00
wanyaoqi
97a542890d fix(region): validate isolated devices on migrate 2020-12-08 16:48:50 +08:00
Zexi Li
20e0fdcfb9 Merge pull request #9268 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): git branch 获取方式优化
2020-12-08 16:35:18 +08:00
Qu Xuan
9ddf207441 fix(region): openstack available zones 2020-12-08 16:18:33 +08:00
wanyaoqi
c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
wanyaoqi
92727def00 fix(region): attach network on register baremetal server 2020-12-08 15:53:17 +08:00
Zhang Dongliang
71e63e2ed1 fix(git,make): git branch 获取方式优化 2020-12-08 15:49:50 +08:00
Qu Xuan
38507661fb fix(region): azure instance data disk storage type 2020-12-08 14:56:07 +08:00
Zexi Li
18c919399a Merge pull request #9230 from zhasm/hotfix/rex-gitbranch-fix
fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题
2020-12-08 12:50:41 +08:00
Zhang Dongliang
0b2aed858a fix(git,make): 修正 gitbranch 变量的获取方式,解决自动升级版本 tag 不统一的问题 2020-12-08 11:52:33 +08:00
Qu Xuan
3a7d6fb140 fix(region): temp url sign wrong 2020-12-08 11:35:08 +08:00
Zexi Li
c8a237886e Merge pull request #9146 from ioito/hotfix/qx-keystone-refresh-scope-resource
fix(keystone): allow refresh scope resource
2020-12-08 09:39:48 +08:00
Zexi Li
0fb9c59fb7 Merge pull request #9246 from wanyaoqi/bugfix/wyq/fix-backup-server-start
fix(region): fix backup server start task
2020-12-08 09:35:20 +08:00
Zexi Li
b498c9b8da Merge pull request #9251 from swordqiu/hotfix/qj-filter-role-policies-panic
fix(keystone): rolepolicies list panic if filter by domain scope
2020-12-08 09:34:16 +08:00
Zexi Li
072a8aa367 Merge pull request #9248 from swordqiu/hotfix/qj-oidc-turn-on-debug
fix(keystone): oidc driver turn on debug mode if log-level is debug
2020-12-08 09:28:55 +08:00
Qiu Jian
4411c4e5bb fix(keystone): rolepolicies list panic if filter by domain scope
rolepolicies list panic if filter by scope=domain
2020-12-08 03:12:42 +08:00
Qiu Jian
57a0e8d63e 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:49:09 +08:00
Zexi Li
7ef268ee15 Merge pull request #9243 from ioito/hotfix/qx-azure-windows-reset-password
fix(region): azure reset windows os password
2020-12-07 22:18:52 +08:00
Qu Xuan
a1a025eec9 feat(region): save image for public cloud 2020-12-07 21:13:21 +08:00
wanyaoqi
d2a3d200fe fix(region): fix backup server start task 2020-12-07 21:05:41 +08:00
Zexi Li
653ef8abcd Merge pull request #9240 from ioito/hotfix/qx-azure-resp
fix(region): avoid timeout for waiting azure async task
2020-12-07 20:40:57 +08:00
Zexi Li
4fd198be2d Merge pull request #9224 from tb365/bugfix/tb-bugfix-1207
Bugfix/tb bugfix 1207
2020-12-07 20:37:01 +08:00
Qu Xuan
2d46a73d4d fix(region): azure reset windows os password 2020-12-07 20:19:05 +08:00
Zexi Li
b5600f21cb Merge pull request #9220 from ioito/hotfix/qx-qcloud-secgroup-project-id
fix(region): region qcloud secgroup project id
2020-12-07 20:18:07 +08:00
Zexi Li
6de57d90a7 Merge pull request #9227 from ioito/hotfix/qx-azure-disk-size
fix(region): avoid resize azure disk error
2020-12-07 20:16:42 +08:00
Zexi Li
67d177e54c Merge pull request #9231 from wanyaoqi/bugfix/wyq/adapter-telegraf-to-container-environment
fix(host): update telegraf conf adapter to container environment
2020-12-07 19:59:08 +08:00
Zexi Li
dbcffccdfc Merge pull request #9237 from rainzm/notify/webconsole
feat(notify): add webconsole in enabled contact types
2020-12-07 19:57:35 +08:00
Qu Xuan
ab8d1238c2 fix(region): avoid timeout for waiting azure async task 2020-12-07 19:49:35 +08:00
rainzm
8aeda8f841 feat(notify): add webconsole in enabled contact types 2020-12-07 19:10:30 +08:00
TangBin
2dcc1d610e fix(region): lbcert&lbacl releated listener count bugfix 2020-12-07 17:36:41 +08:00
wanyaoqi
38a9218e9e fix(host): update telegraf conf adapter to container environment 2020-12-07 17:11:38 +08:00
TangBin
b3736ab20d fix(region): lb listener filter by acl_id 2020-12-07 15:26:05 +08:00
Qu Xuan
64849240b2 fix(region): avoid resize azure disk error 2020-12-07 15:25:34 +08:00
TangBin
485cf8b3c8 fix(region): redis master zone empty fix 2020-12-07 14:54:11 +08:00
TangBin
db20769cf2 fix(region): elastic cache name is empty fix
#6527
2020-12-07 14:08:02 +08:00
Zexi Li
54759842b8 Merge pull request #9205 from ioito/hotfix/qx-passord-validate
fix(region): validate invalid character for password
2020-12-07 10:52:03 +08:00
Qu Xuan
c14b245fad fix(keystone): allow refresh scope resource 2020-12-07 10:46:58 +08:00
Qu Xuan
d9d3fe26bd fix(region): region qcloud secgroup project id 2020-12-07 10:26:19 +08:00
Zexi Li
36e3a684e9 Merge pull request #9202 from tb365/bugfix/tb-bugfix-1204
Bugfix/tb bugfix 1204
2020-12-07 10:23:44 +08:00
Qu Xuan
c9ca2c8755 fix(region): validate invalid character for password 2020-12-07 10:07:14 +08:00
TangBin
f6abe165b5 fix(region): change dbinstance sku sync info log to warn 2020-12-07 09:57:38 +08:00
Zexi Li
416e6b7c8e Merge pull request #9217 from ioito/bugfix/qx-qcloud-secgroup-sync
fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project
2020-12-04 20:31:24 +08:00
yunion-ci-robot
f99ba966c2 Merge pull request #9215 from zhaoxiangchun/feat/zxc-suggestion-master
chore(monitor): delete suggestion files
2020-12-04 20:26:28 +08:00
zhaoxiangchun
ad0c063fb9 chore(monitor): delete suggestion files
1. 移除优化建议相关内容
2. mcclient中新增baseManager:SuggestionManager,修改优化建议相关的manager
2020-12-04 19:28:23 +08:00
Qu Xuan
6183f39168 fix(region): optimized qcloud secgroup sync, only redis need secgroup be in same project 2020-12-04 19:24:56 +08:00
Zexi Li
b2255754c9 Merge pull request #9210 from ioito/hotfix/qx-azure-metric
fix(region): azure metric request path
2020-12-04 18:00:47 +08:00
Zexi Li
57278dc4d9 Merge pull request #9213 from zexi/hotfix/remove-k8s-extend-scheduler
refactor(scheduler): remove unused k8s predicates code
2020-12-04 17:58:48 +08:00
Zexi Li
dbfd5a8e5d refactor(scheduler): remove unused k8s predicates code 2020-12-04 17:18:51 +08:00
Qu Xuan
9c7145fd53 fix(region): azure metric request path 2020-12-04 17:13:15 +08:00
Zexi Li
599bf4e622 Merge pull request #9196 from lvyangyang/fix-tag-log
feat(region): add bucket cloud tags support
2020-12-04 16:57:36 +08:00
Zexi Li
eb3c87b2fa Merge pull request #9204 from zexi/hotfix/remove-kubernetes-depend
Hotfix/remove kubernetes depend
2020-12-04 16:53:51 +08:00
Zexi Li
c025944d17 fix(go.mod): remove k8s.io/kubernetes dependency 2020-12-04 16:45:25 +08:00
TangBin
43d4ddd82d fix(region): dbinstance skus sync log level fix 2020-12-04 15:30:35 +08:00
TangBin
8dcd685e46 fix(region): server skus add cloud_env 2020-12-04 15:25:52 +08:00
Zexi Li
ddf7e8b729 Merge pull request #9066 from rainzm/esxi/createnets
feat(region): add wire level for preparing network
2020-12-04 14:52:42 +08:00
rainzm
9d048f8f9b feat(climc): add cloud-account-preparenets-vmware command 2020-12-04 14:27:51 +08:00
rainzm
9a23c9da67 feat(region): allow prepare nets for existed cloudaccounts
纳管云账号 -> 合并网段 -> 为vmware集群添加新的宿主机 ->
如何获取网络信息?

如果重新纳管,那么合并网段的工作又得做一次,很不方便。
最好的方法是,preparenets 接口支持已经存在的 cloudaccount,这样
就可以根据推荐的网络手动设置新设备的网络。
2020-12-04 14:27:51 +08:00
rainzm
a7eadb54e6 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:27:46 +08:00
Zexi Li
7f3c0d5fed Merge pull request #9052 from ioito/hotfix/qx-cloud-image-sync
feat(region): optimized public image sync
2020-12-04 10:59:12 +08:00
Zexi Li
1bc52e34df Merge pull request #9189 from rainzm/guest/medium
fix(region): remove default value of diskConfig.Medium
2020-12-04 10:41:14 +08:00
Zexi Li
68b9147ce1 Merge pull request #9083 from zexi/feature/climc-print-jsonobj
feat(climc): print json object support array
2020-12-04 10:24:06 +08:00
Zexi Li
beb7661b9f Merge pull request #9144 from yousong/feature/yousong-vpc-md
Feature/yousong vpc md
2020-12-04 10:23:25 +08:00
Zexi Li
670e3843ea Merge pull request #9183 from rainzm/gt/health_check
fix(region): inspect invalid guest template
2020-12-04 10:21:02 +08:00
Zexi Li
f510018dd8 Merge pull request #9180 from tb365/bugfix/tb-bugfix-1203
Bugfix/tb bugfix 1203
2020-12-04 10:18:41 +08:00
Zexi Li
6b08260f53 Merge pull request #9192 from swordqiu/hotfix/qj-allow-logout-by-get
fix(apigateway): allow logout by get method
2020-12-04 10:16:27 +08:00
Zexi Li
84a9f2357f Merge pull request #9184 from zexi/hotfix/scheduler-tag-nil
Hotfix/scheduler tag nil
2020-12-04 10:15:29 +08:00
lvyangyang
2edde62fca feat(region): add bucket cloud tags support 2020-12-04 10:11:25 +08:00
rainzm
4f8d86cb19 fix(region): remove default value of diskConfig.Medium
#8830 中,对调度器增加了通过请求磁盘的介质类型过滤存储的功能。

如果使用 climc 创建虚拟机且不要求磁盘有固定的介质类型,将
只能分配到 hybrid 的存储;进一步,如果没有 hybrid 的存储,将会调度失败。
2020-12-04 09:57:52 +08:00
Qiu Jian
d2caac95df fix(apigateway): allow logout by get method
All visit logout URL by GET method
2020-12-04 01:10:53 +08:00
Zexi Li
a7e40d36c5 fix(scheduler): check candidate tag resource is nil 2020-12-03 20:43:10 +08:00
rainzm
797039a399 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:35:17 +08:00
lvyangyang
d2e5329f33 fix(region): fix modify tags log 2020-12-03 20:00:29 +08:00
TangBin
4b171e1630 fix(region): huawei vnc protocal fix 2020-12-03 20:00:17 +08:00
Zexi Li
553747b7c5 Merge pull request #9176 from zexi/hotfix/scheduler-select-unorder
fix(scheduler): select resource unordered
2020-12-03 19:55:18 +08:00
Zexi Li
2fbf4cb0f2 Merge pull request #9147 from lvyangyang/bucket-access-multicloud
feat(region): 多云 bucket  website.cors,referer 配置
2020-12-03 19:00:12 +08:00
Zexi Li
6a80a12664 fix(scheduler): select resource unordered 2020-12-03 18:41:04 +08:00
TangBin
5129296744 feat(webconsole): add huawei vnc support 2020-12-03 16:00:55 +08:00
Zexi Li
1f41cd9d71 Merge pull request #9135 from ioito/hotfix/qx-cloud-user-notify
feat(cloudid): notify clouduser created
2020-12-03 15:17:05 +08:00
Zexi Li
f9da585433 Merge pull request #9161 from ioito/hotfix/qx-recovery-new-rds
feat(region): huawei recovery new rds
2020-12-03 14:44:10 +08:00
Zexi Li
1908326fd0 Merge pull request #9163 from wanyaoqi/bugfix/wyq/fix-list-by-server-type
bugfix(region): fix list by srever type normal
2020-12-03 14:43:09 +08:00
Zexi Li
ef9cc03d46 Merge pull request #9138 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify influxdbSuggestDriver query err
2020-12-03 14:41:51 +08:00
zhaoxiangchun
df6a2634f7 fix(monitor): modify influxdbSuggestDriver query err
1.修复influxdb相关的建议规则查询数据失败的问题
2020-12-03 12:59:27 +08:00
wanyaoqi
23e4a483dc 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:03:59 +08:00
lvyangyang
8a9ec04f9f feat(region): 多云 bucket website.cors,referer 配置 2020-12-03 11:31:51 +08:00
Qu Xuan
1f91cc0f15 feat(region): huawei recovery new rds 2020-12-03 10:47:14 +08:00
TangBin
11d12ca7db fix(region): elb cached acl sync 2020-12-03 10:02:24 +08:00
Zexi Li
456a232ae2 Merge pull request #9134 from ioito/hotfix/qx-azure-win-account
fix(region): azure win os defualt user
2020-12-03 09:35:06 +08:00
Zexi Li
65be30fb4d Merge pull request #9154 from wanyaoqi/feature/wyq/add-filter-server-type
feat(region): add list filter server type
2020-12-03 09:32:59 +08:00
Qu Xuan
f4df3223bb feat(region): add instance storage capability 2020-12-02 21:21:29 +08:00
Zexi Li
9ff1846154 Merge pull request #9150 from ioito/hotfix/qx-qcloud-localdisk-sync
fix(region): avoid qcloud sync local disk error
2020-12-02 21:05:02 +08:00
wanyaoqi
64e844425a feat(region): add list filter server type
list server by specific server type: normal, gpu, backup

cherrypick: release/3.4
2020-12-02 20:27:01 +08:00
Qu Xuan
39d86735f5 fix(region): avoid qcloud sync local disk error 2020-12-02 20:24:59 +08:00
Yousong Zhou
771824d307 feat(appsrv): Application: add Stop method for shutdown behaviour 2020-12-02 18:04:31 +08:00
Yousong Zhou
6dce7d8ebc refactor(hostman): metadata: eliminate import of guestman 2020-12-02 18:04:31 +08:00
Yousong Zhou
38b6e011ef refactor(hostman): use metadata.DescGetterFunc 2020-12-02 18:04:31 +08:00
Yousong Zhou
de2f1ec3b4 refactor(host): metadata: eliminate ref of guestNic 2020-12-02 18:04:31 +08:00
Yousong Zhou
43215c2ad2 feat(host): metadata: make vpc aware metadata handler 2020-12-02 18:04:31 +08:00
Yousong Zhou
65220a6f5a feat(vpcagent): export subnet mac gen funcs 2020-12-02 18:04:31 +08:00
Zexi Li
7a2f64cc7d Merge pull request #9140 from swordqiu/hotfix/qj-not-allow-disable-sql-driver
fix(keystone): not allow to disable sql driver
2020-12-02 17:08:27 +08:00
Qiu Jian
ef648b5b87 fix(keystone): not allow to disable sql driver
not allow to disable default SQL identity_provider driver
2020-12-02 16:39:23 +08:00
Zexi Li
6cb7a60d93 Merge pull request #9061 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): delete suggestConfig auto Initialized data
2020-12-02 14:52:00 +08:00
Qu Xuan
fc0f05286f feat(cloudid): notify clouduser created 2020-12-02 14:28:14 +08:00
zhaoxiangchun
2a7f9ab516 fix(monitor): delete suggestConfig auto init data
1.删除忽略列表之前逻辑初始化生成的配置config
2.忽略列表默认查询ignore=true的数据
3.修复建议列表 忽略一类建议不生效的问题
2020-12-02 11:18:13 +08:00
Qu Xuan
794e7494bc fix(region): azure win os defualt user 2020-12-02 09:51:58 +08:00
Zexi Li
5a5d5cc0c5 Merge pull request #9131 from ioito/hotfix/qx-qcloud-cam-user
fix(cloudid): sync qcloud collaborators user
2020-12-01 21:07:57 +08:00
Zexi Li
85c48b469c Merge pull request #9091 from tb365/bugfix/tb-bugfix-1130
fix(region): reserved name checking while create redis account
2020-12-01 21:06:16 +08:00
Zexi Li
51501fd205 Merge pull request #9123 from ioito/hotfix/qx-bucket-delete-condition
fix(region): allow delete resource which status is unknown
2020-12-01 21:04:52 +08:00
Zexi Li
5d63c907cf Merge pull request #9104 from rainzm/notify/second_try
fix(notify): return the result of the second attempt to execute the rpc call
2020-12-01 21:03:11 +08:00
Qu Xuan
f841fd85ad fix(cloudid): sync qcloud collaborators user 2020-12-01 20:34:16 +08:00
Zexi Li
0eb08f10ce Merge pull request #9109 from yousong/bugfix/yousong-hostman
fix(host): make sure it won't match vpc guests by accident
2020-12-01 20:13:15 +08:00
Zexi Li
7c4dc7e7e4 Merge pull request #9120 from ioito/hotfix/qx-rds-account-desc
fix(region): allow update rds account and database desc
2020-12-01 19:32:57 +08:00
yunion-ci-robot
07d863e388 Merge pull request #9116 from rainzm/sg/detach_guest
fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask
2020-12-01 19:31:45 +08:00
Qu Xuan
b7ed3a683c fix(region): allow delete resource which status is unknown 2020-12-01 17:15:44 +08:00
Qu Xuan
b14f6be828 fix(region): allow update rds account and database desc 2020-12-01 16:37:42 +08:00
rainzm
6f92fef698 fix(region): delete guest without 'purge' in GuestDetachScalingGroupTask 2020-12-01 15:52:48 +08:00
Yousong Zhou
6db7503474 fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:29:39 +08:00
rainzm
4135b3729b fix(notify): return the result of the second attempt to execute the rpc call 2020-12-01 14:35:04 +08:00
Zexi Li
47a2f5a9d9 feat(climc): print json object support array 2020-12-01 13:01:18 +08:00
yunion-ci-robot
760854ba91 Merge pull request #9100 from yousong/bugfix/yousong-qcloud-nic
Bugfix/yousong qcloud nic
2020-12-01 12:57:57 +08:00
Zexi Li
cd007d9fdb Merge pull request #9102 from ioito/hotfix/qx-code-gen-api
fix(region): code gen api error
2020-12-01 11:59:30 +08:00
Qu Xuan
54537e65c3 fix(region): code gen api error 2020-12-01 11:26:34 +08:00
Yousong Zhou
d7a11d1abf multicloud: qcloud: fix instancenic 2020-12-01 11:16:21 +08:00
Yousong Zhou
77af00ec7d multicloud: qcloud: add ptr deref func 2020-12-01 11:16:21 +08:00
Yousong Zhou
cd4d0a27b2 multicloud: qcloud: add apiDomainByRegion 2020-12-01 11:16:21 +08:00
Yousong Zhou
101abde5ae multicloud: qcloud: add getVpcClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
68b8b7f7cd multicloud: qcloud: add getSdkClient 2020-12-01 11:16:21 +08:00
Yousong Zhou
00da68cb1f vendor: add tencentcloud-sdk-go vpc 2020-12-01 11:16:21 +08:00
Zexi Li
d0a2f43484 Merge pull request #9096 from yousong/bugfix/yousong-informer
Bugfix/yousong informer
2020-12-01 09:33:55 +08:00
Yousong Zhou
da4c2dcaa4 fix(taskman): SSubTask: set model manager 2020-11-30 23:09:55 +08:00
Yousong Zhou
3a0303df6f fix(region): secgrouprule: set model manager 2020-11-30 23:09:53 +08:00
Zexi Li
1115f6856d Merge pull request #9072 from ioito/hotfix/qx-huawei-saml-mapping
fix(cloudid): huawei saml provider create issue
2020-11-30 21:56:15 +08:00
Zexi Li
90416984b1 Merge pull request #9064 from ioito/hotfix/qx-apsara-fix
fix(region): apsara is private cloud
2020-11-30 21:53:20 +08:00
Zexi Li
1495f3b334 Merge pull request #9084 from yousong/feature/yousong-nas-filter
feat(region): networkaddresses: filter by guest ids
2020-11-30 21:52:39 +08:00
Zexi Li
bb005efe11 Merge pull request #9076 from rainzm/notify/spec_receiver
Notify via contact skip receiver
2020-11-30 21:50:06 +08:00
Zexi Li
53da87ad0b Merge pull request #9079 from yousong/feature/yousong-options-vpc-ea
feat(region): options: allow setting default vpc external access mode
2020-11-30 21:49:03 +08:00
Zexi Li
cbb8e3eca3 Merge pull request #9086 from rainzm/cp/sort_excludednet
fix(region): sort excludedNets correctly
2020-11-30 21:47:28 +08:00
Zexi Li
08f8149f25 Merge pull request #9075 from ioito/hotfix/qx-backup-create-optimized
fix(region): optimized rds backup create
2020-11-30 21:31:47 +08:00
rainzm
66f373d073 feat(cloudcommon): add NotifyWithContact 2020-11-30 19:58:49 +08:00
TangBin
1cf8bfb0a1 fix(region): reserved name checking while create redis account 2020-11-30 19:14:51 +08:00
Yousong Zhou
9dfea3835b feat(region): networkaddresses: filter by guest ids 2020-11-30 19:01:50 +08:00
rainzm
517390395b fix(region): sort excludedNets correctly
之前,excludedNets 内部表示起始 IP 的字段是 string 类型,直接使用 <
比较是错误的。
现在,把 excludedNets 表示起始 IP 的字段改为了
netutils.IPV4Addr,这样就可以正确地进行比较排序了。
2020-11-30 18:57:33 +08:00
Yousong Zhou
984dc84239 feat(region): options: allow setting default vpc external access mode 2020-11-30 18:27:25 +08:00
Yousong Zhou
d5a8158346 fix(region): pass up error from InitializeData 2020-11-30 18:27:25 +08:00
rainzm
a8ea8b10cc feat(cloudcommon): allways send webconsole notification via contacts
For notification with webconsole type, receiverId is same with contacts.
2020-11-30 17:45:52 +08:00
rainzm
3ba52355b8 feat(notify): permit admin sending notification via contact
In this way, you can easily send notification to non-existent receiver.
2020-11-30 17:45:48 +08:00
Qu Xuan
4ab1fe75c0 fix(region): optimized rds backup create 2020-11-30 17:45:21 +08:00
Qu Xuan
7bac9144ef feat(region): optimized public image sync 2020-11-30 17:23:51 +08:00
Qu Xuan
5f84614618 fix(cloudid): huawei saml provider create issue 2020-11-30 16:29:11 +08:00
Zexi Li
3a6713a5d5 Merge pull request #8995 from ioito/hotfix/qx-cloudid-policy-sync
fix(cloudid): avoid new public account sync system policy delay 1 day
2020-11-30 14:12:45 +08:00
Zexi Li
9a4ff2747a Merge pull request #9063 from rainzm/feat/hub_version
feat(scripts): add prompt of `hub` version
2020-11-30 12:09:11 +08:00
Qu Xuan
f27ab3cc7c fix(region): apsara is private cloud 2020-11-30 10:39:11 +08:00
rainzm
d6d1082042 feat(scripts): add prompt of hub version
The flag `hub pr show -f ...` as used in cherry_pick_pull.sh was
permited since version 2.13.0.

close #9027
2020-11-30 10:09:53 +08:00
Zexi Li
103d72bfae Merge pull request #8575 from yousong/feature/yousong-nas
Feature/yousong  networkaddresses
2020-11-27 20:18:22 +08:00
Qu Xuan
3b0710d982 fix(cloudid): avoid new public account sync system policy delay 1 day 2020-11-27 20:17:16 +08:00
Zexi Li
e1c4885aed Merge pull request #9021 from ioito/hotfix/qx-cloud-account-auto-sync
fix(region): auto sync cloudaccount resources
2020-11-27 20:13:46 +08:00
yunion-ci-robot
d1245f63f7 Merge pull request #8434 from ioito/hotfix/qx-panic-log
fix: add panic log for worker task
2020-11-27 20:09:47 +08:00
Zexi Li
fb79e1ad42 Merge pull request #9054 from zhaoxiangchun/bugfix/zxc-nodata-master
fix(monitor): modify monitor nodata alert matching onecloud host func
2020-11-27 20:07:24 +08:00
Zexi Li
e95a667bdd Merge pull request #9056 from lvyangyang/bucket_refer_fix
fix(region): bucket get referer fix
2020-11-27 20:03:44 +08:00
Qu Xuan
5cba23d8cf fix: add panic log for worker task 2020-11-27 19:36:44 +08:00
lvyangyang
ad4c3a38e3 fix(region): bucket get referer fix 2020-11-27 19:04:19 +08:00
zhaoxiangchun
73ec2db41b fix(monitor): modify monitor nodata alert matching onecloud host func 2020-11-27 19:03:49 +08:00
yunion-ci-robot
3c47d38367 Merge pull request #9036 from yousong/feature/yousong-guest-search
feat(region): search server by substr of ip or mac
2020-11-27 18:46:36 +08:00
Zexi Li
fbfa6e0c81 Merge pull request #9049 from wanyaoqi/bugfix/wyq/fix-scheduler-network-predicate2
fix(region,scheduler): fix netwrok predicate
2020-11-27 18:43:32 +08:00
wanyaoqi
ff9d051fab 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:14:46 +08:00
yunion-ci-robot
0908b81e23 Merge pull request #9046 from rainzm/isp/fix_provider_1
fix(region): get provider name via GetProviderName
2020-11-27 17:58:31 +08:00
rainzm
c6592cadc4 fix(region): get provider name via GetProviderName 2020-11-27 17:31:36 +08:00
Zexi Li
24592f0641 Merge pull request #9033 from lvyangyang/bucket_acl
feat(region): set qcloud bucket policy
2020-11-27 16:29:43 +08:00
rainzm
83f017a07b fix(region): get provider name via GetProviderName 2020-11-27 16:11:09 +08:00
lvyangyang
1591f0ab81 feat(region): set qcloud bucket policy 2020-11-27 14:33:58 +08:00
Yousong Zhou
639d05dd43 feat(region): search server by substr of ip or mac 2020-11-27 14:33:14 +08:00
Zexi Li
6e58db6b12 Merge pull request #9022 from swordqiu/hotfix/qj-adjust-keystone-policy-sync-period
fix(cloudcommon): adjust policy refresh to default 30 seconds
2020-11-27 14:22:02 +08:00
yunion-ci-robot
21c716d2ba Merge pull request #9024 from ioito/hotfix/qx-cloudid-role-name
fix(cloudid): avoid use invalid character for role name
2020-11-27 09:51:35 +08:00
Zexi Li
f0f4e54c21 Merge pull request #8998 from ioito/hotfix/qx-saml-policy
fix(region): allow member user get saml auth addr
2020-11-26 21:39:37 +08:00
Zexi Li
1fa7da126a Merge pull request #9018 from ioito/hotfix/qx-saml-provider-update
fix(cloudid): auto update saml provider metadata
2020-11-26 21:38:09 +08:00
Qu Xuan
1e5014aa41 fix(cloudid): avoid use invalid character for role name 2020-11-26 21:36:59 +08:00
Zexi Li
65496e636d Merge pull request #9002 from ioito/hotfix/qx-aliyun-fin-bucket-objects
fix(region): avolid aliyun fin bucket list objects error
2020-11-26 21:36:44 +08:00
yunion-ci-robot
2d3de92eea Merge pull request #9015 from tb365/bugfix/tb-huawei-sync-storage-bugfix
fix(region): huawei sync storages bugfix
2020-11-26 21:36:30 +08:00
Zexi Li
d16f7d9803 Merge pull request #9012 from ioito/hotfix/qx-qcloud-request-limit
fix(region): qcloud request retry
2020-11-26 21:31:38 +08:00
Zexi Li
af2448f63a Merge pull request #9005 from yousong/feature/yousong-ovn-encap-ip
Feature/yousong ovn encap ip
2020-11-26 21:29:12 +08:00
Zexi Li
30cfb4f931 Merge pull request #9009 from ioito/hotfix/qx-climc-clirc
fix(climc): replace ' -> "
2020-11-26 21:26:32 +08:00
Yousong Zhou
929fa87c5f vpcagent: ovn: make aware of sub ips 2020-11-26 21:18:59 +08:00
Yousong Zhou
be478c4430 vpcagent: models: join network addresses 2020-11-26 21:18:59 +08:00
Yousong Zhou
d96d51603e vpcagent: apihelper: filter by cloud_env=onpremise 2020-11-26 21:18:59 +08:00
Yousong Zhou
d14a35fa2c multicloud: aliyun: instancenic: handle InvalidOperation.Ipv4CountExceeded 2020-11-26 21:18:59 +08:00
Yousong Zhou
18ac0205b3 networkaddresses: handle cloudprovider.ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
325623a70e cloudprovider: add ErrAddressCountExceed 2020-11-26 21:18:59 +08:00
Yousong Zhou
374b96553c networkaddresses: do server sync for on premise servers 2020-11-26 21:18:59 +08:00
Yousong Zhou
b0f958e8ab networkaddresses: disallow batch create for external resources 2020-11-26 21:18:59 +08:00
Yousong Zhou
4c04e48ac0 networkaddresses: cloudprovider support 2020-11-26 21:18:58 +08:00
Yousong Zhou
8042a74295 multicloud: aws: subaddress management 2020-11-26 21:18:58 +08:00
Yousong Zhou
f656504587 multicloud: aws: instancenic: add interface id attribute 2020-11-26 21:18:58 +08:00
Yousong Zhou
33fdcda955 multicloud: aliyun: instancenic: secondary address management 2020-11-26 21:18:58 +08:00
Yousong Zhou
fe6714b287 vendor: bump alibaba-cloud-sdk-go to v1.61.684
For commit [1]

 [1] 6313cc407e
2020-11-26 21:18:58 +08:00
Yousong Zhou
3bbaedaa7f vendor: add github.com/aliyun/alibaba-cloud-sdk-go/services/ecs 2020-11-26 21:18:58 +08:00
Yousong Zhou
d0f64150c2 cloudprovider: ICloudNic: add methods for secondary addresses 2020-11-26 21:18:58 +08:00
Yousong Zhou
ab7ad856b5 multicloud: ICloudNic: add GetId() 2020-11-26 21:18:58 +08:00
Yousong Zhou
1569966aa3 multicloud: ICloudNic: fix GetMAC() 2020-11-26 21:18:58 +08:00
Yousong Zhou
9f31365416 hostman: metadata: add handler for /local-sub-ipv4s 2020-11-26 21:18:58 +08:00
Yousong Zhou
e3b55426aa networkaddresses: add to nics field of guest desc 2020-11-26 21:18:58 +08:00
Yousong Zhou
1476f59130 networkaddresses: add parent_type guestnetwork 2020-11-26 21:18:58 +08:00
Yousong Zhou
2306fbb6f5 networks: usedAddressQuery: rename with baseq, ownerq, retq 2020-11-26 21:18:58 +08:00
Yousong Zhou
4ec791f031 networks: split getUsedAddressQuery as method of each manager 2020-11-26 21:18:57 +08:00
Yousong Zhou
10042037ab networks: fix typo in log 2020-11-26 21:18:57 +08:00
Yousong Zhou
b271ab4631 db_dispatcher: allow batch create for models without name 2020-11-26 21:18:57 +08:00
Yousong Zhou
1d25083bfe db: interface: manager: add HasName() method 2020-11-26 21:18:57 +08:00
Yousong Zhou
8e2c8feabf db: standalone_anon: empty result for name query 2020-11-26 21:18:57 +08:00
Yousong Zhou
3d53f8dabe db: add standalone_anon 2020-11-26 21:18:57 +08:00
Yousong Zhou
cc00e58f58 schedtags: add ListItemExportKeys 2020-11-26 21:18:57 +08:00
Yousong Zhou
6bf5be5b0b db: add manager methods appliers 2020-11-26 21:18:57 +08:00
Yousong Zhou
a57a63bf58 db_dispatcher: delay compute to where needed 2020-11-26 21:18:57 +08:00
Yousong Zhou
fd98674c92 db_dispatcher: remove unused GetExtraDetails call 2020-11-26 21:18:57 +08:00
Yousong Zhou
6c65eb1ea6 db: virtualjoint: add FilterById on RowId 2020-11-26 21:18:57 +08:00
Yousong Zhou
89361aee27 db: modelbase: BatchCreateValidateCreateData: return orig data 2020-11-26 21:18:57 +08:00
Yousong Zhou
805002005f db: check funcs required by dispatcher 2020-11-26 21:18:57 +08:00
Yousong Zhou
97dbd1899f region: networks: attach func use struct args 2020-11-26 21:18:57 +08:00
Yousong Zhou
7444234981 region: networkresource: fix signature of GetExtraDetails 2020-11-26 21:18:57 +08:00
Yousong Zhou
ff525a9595 multicloud: aliyun: make getSdkClient proxy aware 2020-11-26 21:18:57 +08:00
Yousong Zhou
027817f565 climc: helper: add BatchCreate helper 2020-11-26 21:18:57 +08:00
Yousong Zhou
85aa05f1f7 climc: helper: create call as a standalone method 2020-11-26 21:18:57 +08:00
Yousong Zhou
a56aca9cbe climc: s/Keyworkd/Keyword/ 2020-11-26 21:18:53 +08:00
Yousong Zhou
02315bdd85 vendor: bump yunion.io/x/pkg 2020-11-26 21:17:07 +08:00
Yousong Zhou
d67eeac5dd vendor: bump yunion.io/x/sqlchemy 2020-11-26 21:17:07 +08:00
Qiu Jian
ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
Qu Xuan
b574323cba fix(region): auto sync cloudaccount resources 2020-11-26 20:53:27 +08:00
Qu Xuan
ac146af36b fix(cloudid): auto update saml provider metadata 2020-11-26 20:18:13 +08:00
TangBin
797101e6ca fix(region): huawei sync storages bugfix 2020-11-26 19:25:25 +08:00
Qu Xuan
bd8cf2453d fix(region): qcloud request retry 2020-11-26 19:02:41 +08:00
Qu Xuan
5c64f32f08 fix(climc): replace ' -> " 2020-11-26 17:35:15 +08:00
Yousong Zhou
bbc511f6d1 feat(host): add option OvnEncapIpDetectionMethod can-reach:xx 2020-11-26 17:01:08 +08:00
Yousong Zhou
1c39030edb feat(netutils2): add MyIPTo 2020-11-26 16:53:39 +08:00
yunion-ci-robot
219b591252 Merge pull request #8828 from wanyaoqi/feature/wyq/update-arm-apis
feature: update cpu arch apis
2020-11-26 16:37:33 +08:00
Qu Xuan
5a82bffebd fix(region): avolid aliyun fin bucket list objects error 2020-11-26 16:15:51 +08:00
wanyaoqi
3f8e469438 feat(region/glance): update cpu arch apis
add multi arch resourcebase manager
update multi arch resource list apis

cherrypick: release/3.6
2020-11-26 15:14:03 +08:00
Qu Xuan
880e09ee34 fix(region): allow member user get saml auth addr 2020-11-26 15:01:09 +08:00
Zexi Li
d7c096db0f Merge pull request #8968 from swordqiu/hotfix/qj-esxi-host-bebind-nat
fix(region,esxiagent): allow host behind a nat
2020-11-26 12:11:05 +08:00
yunion-ci-robot
e567d6a552 Merge pull request #8991 from zexi/hotfix/scheduler-sync
fix(scheduler): cleanup exipre cache before schedule
2020-11-26 11:44:39 +08:00
Zexi Li
b7a8b37f7d fix(region): wire get vpc releated hosts is empty 2020-11-26 10:59:39 +08:00
yunion-ci-robot
66c200cd3f Merge pull request #8779 from tb365/feature/tb-loadbalancer-project-optimization
负载均衡ACL&证书增加项目和共享
2020-11-26 10:47:34 +08:00
TangBin
8686b77b87 fix(region): climc add base projects options 2020-11-26 10:24:41 +08:00
Zexi Li
aaef2778e3 Merge pull request #8937 from yousong/bugfix/yousong-task-err
fix(treewide): fix task error recording
2020-11-26 09:24:55 +08:00
Zexi Li
99a8f99e1d Merge pull request #8886 from rainzm/feat/cp_pr_title
feat(scripts): add more reasonable title for cherry pick PR
2020-11-25 22:05:28 +08:00
Zexi Li
180cb4fabf Merge pull request #8925 from rainzm/isp/quota
Fixs for InstanceSnapshot
2020-11-25 22:04:18 +08:00
Zexi Li
0743852fab Merge pull request #8902 from zhaoxiangchun/feature/zxc-nodata-master
feat(monitor): add nodata alert policy
2020-11-25 22:02:44 +08:00
Zexi Li
40d7135dc2 Merge pull request #8955 from tb365/bugfix/tb-bugfix-1125
fix(region): allow reset huawei system disk
2020-11-25 22:01:07 +08:00
Zexi Li
ae06501b4e Merge pull request #8961 from ioito/hotfix/qx-qcloud-hssd
fix(region): valid qcloud hssd for system disk
2020-11-25 21:59:17 +08:00
Zexi Li
8a74b3e3fa Merge pull request #8977 from zhaoxiangchun/bugfix/zxc-monitor-servicetype-master
fix(monitor): modify monitor serviceType in StartService()
2020-11-25 21:56:50 +08:00
Zexi Li
f4d1ca4667 Merge pull request #8987 from rainzm/fix/sci_delete
fix(region): allow delete storagecachedimage with 'cache_failed' status
2020-11-25 21:55:26 +08:00
Zexi Li
b7835f9796 fix(region): network clean schedule cache after real deleted 2020-11-25 21:50:14 +08:00
Zexi Li
c0da4cc524 fix(scheduler): clean expire cache before schedule 2020-11-25 21:50:14 +08:00
zhaoxiangchun
dcdf3a1281 fix(monitor): modify monitor serviceType in StartService()
1.修改monitor服务在service代码中注册的serviceType:
   alerter ===> monitor
2020-11-25 20:29:49 +08:00
Zexi Li
69d712a1b4 Merge pull request #8965 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): suggestalert ignore throw err
2020-11-25 19:45:52 +08:00
Zexi Li
453541393b Merge pull request #8973 from ioito/hotfix/qx-qcloud-instance-delete-timeout
fix(region): set qcloud instance del timeout to 20m
2020-11-25 19:37:04 +08:00
rainzm
da03a979f8 fix(region): ignore params.Disks when cloning vm from snapshot 2020-11-25 18:23:14 +08:00
rainzm
be76d1eb47 fix(region): add size and storageType for VMware InstanceSnapshot 2020-11-25 18:23:14 +08:00
rainzm
b9e983787d fix(esxiagent): add humanized tips when searching vm failed 2020-11-25 18:23:14 +08:00
rainzm
e6c908da2e fix(region): make project of instance snapshot be consistent with the instance 2020-11-25 18:23:14 +08:00
rainzm
b4011db917 fix(region): save when canceling pendingUsage 2020-11-25 18:23:14 +08:00
rainzm
4b73139763 feat(region): set pendingUsage before creating instance snapshots 2020-11-25 18:23:12 +08:00
rainzm
d1ed0ec679 feat(region): add instance_snapshot for regionquota 2020-11-25 18:22:29 +08:00
rainzm
33a702617f fix(region): purge all instance snapshots when purging guest 2020-11-25 18:22:23 +08:00
rainzm
e4cd054b74 feat(region): add SCloudregionResourceBase for SInstanceSnapshot
理论上,可以通过
SInstanceSnapshot->SGuest->SHost->SZone->SCloudregionResourceBase
拿到 cloudregion_id, 但是这样的效率太低了
2020-11-25 18:21:14 +08:00
TangBin
a537c0e396 fix(region): update translations 2020-11-25 18:10:32 +08:00
TangBin
332f752ae3 fix(region): allow reset huawei system disk 2020-11-25 18:06:41 +08:00
rainzm
052a10f635 fix(region): allow delete storagecachedimage with 'cache_failed' status
Having status 'cache_failed' means this storagecachedimage does not actually exist.
2020-11-25 17:43:39 +08:00
Zexi Li
319a7ab2a2 Merge pull request #8970 from ioito/hotfix/qx-saml-auth-url
fix(cloudid): avoid empty auth url
2020-11-25 17:16:40 +08:00
Qu Xuan
bd9f961bd2 fix(region): set qcloud instance del timeout to 20m 2020-11-25 17:16:15 +08:00
Qu Xuan
79ea27170f fix(cloudid): avoid empty auth url 2020-11-25 17:05:59 +08:00
Zexi Li
5a4b95f1a5 Merge pull request #8958 from ioito/hotfix/qx-saml-auth
fix(region): validate cloudaccount saml auth params
2020-11-25 16:06:41 +08:00
Qiu Jian
a5327c3cec 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 12:17:13 +08:00
zhaoxiangchun
e10d9b698e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-nodata-master 2020-11-25 12:06:28 +08:00
zhaoxiangchun
b8c008a8a1 fix(monitor): suggestalert ignore throw err
1.修复优化建议忽略操作报错
2020-11-25 12:01:05 +08:00
Qu Xuan
c5c77b4062 fix(region): valid qcloud hssd for system disk 2020-11-25 11:50:49 +08:00
Qu Xuan
c05b75385f fix(region): validate cloudaccount saml auth params 2020-11-25 11:33:50 +08:00
yunion-ci-robot
4a8eafbc0a Merge pull request #8895 from ioito/hotfix/qx-password-check
fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过
2020-11-25 09:58:15 +08:00
Zexi Li
693201b803 Merge pull request #8947 from yousong/bugfix/yousong-vm-changeip-eip
fix(region): change_ipaddr: retain eip_id on detach and attach
2020-11-25 09:27:59 +08:00
yunion-ci-robot
01a46ea458 Merge pull request #8942 from yousong/bugfix/yousong-vm-changeip
Bugfix/yousong vm changeip
2020-11-25 09:16:16 +08:00
Yousong Zhou
2c8c3b7907 fix(region): change_ipaddr: retain eip_id on detach and attach 2020-11-24 21:57:27 +08:00
Yousong Zhou
9beb3706ed 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:04 +08:00
Yousong Zhou
64dc5219f7 feat(cloudcommon): db: jointbase: add list:"user" for RowId 2020-11-24 21:55:04 +08:00
yunion-ci-robot
75331fe417 Merge pull request #8930 from zexi/feature/schedtag-set-resource
feat(region/schedtag): schedtag support set multi resources
2020-11-24 21:33:17 +08:00
yunion-ci-robot
6c00313a01 Merge pull request #8926 from zhaoxiangchun/bugfix/zxc-suggest-timefromj-master
fix(monitor): modify suggestrule  process influxdb data
2020-11-24 21:28:14 +08:00
Yousong Zhou
c6970e9a25 fix(treewide): fix task error recording 2020-11-24 20:36:14 +08:00
yunion-ci-robot
dc3e2a7b24 Merge pull request #8933 from ioito/hotfix/qx-eip-bw
fix(region): avoid public ip bandwidth is zero
2020-11-24 20:24:17 +08:00
TangBin
18a185aec9 负载均衡ACL&证书增加项目和共享 2020-11-24 19:44:49 +08:00
Qu Xuan
e6b75b8537 fix(region): avoid public ip bandwidth is zero 2020-11-24 18:09:34 +08:00
zhaoxiangchun
91d1f64eff fix(monitor): modify suggestrule process influxdb data
1. 调整与监控相关的时间范围的判断逻辑:不再要求时间范围内必须都有数据
2020-11-24 17:45:47 +08:00
Zexi Li
3edf8c1d08 feat(region/schedtag): schedtag support set multi resources 2020-11-24 15:01:02 +08:00
yunion-ci-robot
3192b9a06f Merge pull request #8913 from tb365/feature/tb-support-aliyun-finance
feat(region): support aliyun finance cloud
2020-11-24 09:47:59 +08:00
Zexi Li
b394040657 Merge pull request #8920 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify notify alertInfo and alertOk detach resource
2020-11-24 09:33:41 +08:00
TangBin
85324cadf3 fix(region): aliyun zone name fix 2020-11-24 09:30:21 +08:00
TangBin
bb091a3cb8 fix(region): aliyun region name 2020-11-24 09:30:21 +08:00
TangBin
8682c71d94 fix(region): aliyun sync region fix 2020-11-24 09:30:21 +08:00
TangBin
2a1f9ecbcc feat(region): support aliyun finance cloud 2020-11-24 09:27:21 +08:00
zhaoxiangchun
68dfa8a8c8 fix(monitor): modify notify alertInfo and alertOk detach resource
1.修复报警信息中>等被转义的问题
2.针对:host_raid.adapter和smart_device.exit_status
  只能出现alerting和nodata
两种报警状态。在queryCondition的查询逻辑下,nodata情况也进行detach操作
3.修复报警记录中报警策略翻译异常的问题
2020-11-23 21:32:15 +08:00
Zexi Li
af6482576e Merge pull request #8917 from ioito/hotfix/qx-classic-vpc-name
fix(region): set classic vpc name to "-"
2020-11-23 21:25:13 +08:00
Zexi Li
0d537d158a Merge pull request #8912 from ioito/hotfix/qx-capability-saml-auth
fix(region): add saml auth for capability
2020-11-23 21:23:59 +08:00
Qu Xuan
db00c83555 fix(region): set classic vpc name to "-" 2020-11-23 17:42:34 +08:00
Zexi Li
8e50c94614 Merge pull request #8904 from ioito/hotfix/qx-azure-host-storage
fix(region): azure host with storage
2020-11-23 16:46:17 +08:00
Zexi Li
d8d486236c Merge pull request #8903 from ioito/hotfix/qx-capability-account
fix(region): add instance capability info(default account)
2020-11-23 16:45:36 +08:00
Qu Xuan
90709ab704 fix(region): add saml auth for capability 2020-11-23 16:25:55 +08:00
Zexi Li
d9f432c5c6 Merge pull request #8906 from swordqiu/feature/qj-filter-domain-user-by-idp-entity-id
feat(keystone): filter domain/user by idp_entity_id
2020-11-23 16:12:26 +08:00
Zexi Li
bc88082a21 Merge pull request #8911 from ioito/hotfix/qx-apsara-fix
fix(region): apsara account fix
2020-11-23 16:11:20 +08:00
lvyangyang
6a480937b8 fix(region): fix set bucket referer 2020-11-23 16:08:50 +08:00
Qu Xuan
ab58f0335f fix(region): apsara account fix 2020-11-23 15:42:13 +08:00
Zexi Li
7853ce4fa1 Merge pull request #8889 from wanyaoqi/bugfix/wyq/put-host-offline-util-success
bugfix: wait put host offline success
2020-11-23 13:04:48 +08:00
Qiu Jian
b27b086cce feat(keystone): filter domain/user by idp_entity_id
filter domain/user by idp_entity_id
2020-11-23 12:19:37 +08:00
Qu Xuan
8207a9c997 fix(region): azure host with storage 2020-11-23 11:26:20 +08:00
zhaoxiangchun
4888f7d819 feat(monitor): add nodata alert policy
1.add queryConditon子类:nodataQueryCondition处理nodata类型策略
2.遍历Onecloud类型宿主机,得到nodata宿主机信息
2020-11-23 10:10:14 +08:00
Qu Xuan
cfd7c5bd90 fix(region): add instance capability info(default account) 2020-11-23 10:05:19 +08:00
wanyaoqi
83c1073f68 fix(host): wait put host offline success
Unregister host wait for host offline success,
in case region is in upgrading.

cherrypick: release/3.4
2020-11-22 15:29:45 +08:00
Zexi Li
415ab23f9d Merge pull request #8896 from swordqiu/hotfix/qj-oidc-get-data-from-body
fix: oidc data may be encapuslated in data field
2020-11-22 12:05:30 +08:00
Qiu Jian
95db19f104 fix(keystone): oidc data may be encapuslated in data field
兼容一些oidc实现,返回数据包裹在data字段里
2020-11-22 11:51:01 +08:00
Zexi Li
40db9ca0dd Merge pull request #8740 from lvyangyang/inter_vpcs_network
inter vpc network
2020-11-22 11:23:53 +08:00
Zexi Li
ec09ff6b49 Merge pull request #8892 from yousong/bugfix/yousong-i18n
Bugfix/yousong i18n
2020-11-22 10:59:55 +08:00
Qu Xuan
0da66b071e fix(region): 避免OneCloud密码校验通过,公有云厂商密码校验不通过 2020-11-21 23:58:25 +08:00
yunion-ci-robot
c2a2aebaf2 Merge pull request #8865 from swordqiu/hotfix/qj-allow-disk-attach-to-multiple-servers
fix: allow disk attach to multiple guests
2020-11-21 19:25:00 +08:00
Yousong Zhou
ab7ba83225 fix(region): elasticcache_instances: fix error fmt 2020-11-21 17:28:38 +08:00
Yousong Zhou
65571cc5e4 fix(locales): fix translation text 2020-11-21 17:28:38 +08:00
Zexi Li
0402f925bf Merge pull request #8887 from tb365/bugfix/tb-bugfix-1120
Bugfix/tb bugfix 1120
2020-11-20 19:56:39 +08:00
Zexi Li
8f19bc430d Merge pull request #8125 from ioito/feature/qx-apsara-sync
feature: add apsara support
2020-11-20 19:54:45 +08:00
TangBin
6391ef84d8 fix(region): create/update aliyun account bugfix 2020-11-20 18:38:42 +08:00
TangBin
96d2e24034 fix(region): purge account bugfix
忽略由于证书缓存与负载均衡监听关联导致purge账号失败的问题
2020-11-20 17:43:49 +08:00
rainzm
c5f94e13a3 feat(scripts): add more reasonable title for cherry pick PR
Before that, we used the first commit title of the main PRs and spliced
them to become the title of the cherry pick PR.

Obviously, it is more reasonable to use the titles of the main PRs and
splicing to become the title of the cherry pick PR.
2020-11-20 17:36:17 +08:00
spike.lv
eb91e8fcd1 feat(region): inter vpc network 2020-11-20 17:35:12 +08:00
TangBin
767e06a1d0 fix(region): checking cloudenv while create/update aliyun cloud account
#6389
2020-11-20 17:24:44 +08:00
Zexi Li
56b038cd0e Merge pull request #8884 from ioito/hotfix/qx-aliyunfi-oss
fix(region): compatible aliyun fin oss
2020-11-20 16:35:44 +08:00
TangBin
c18d1f0e77 fix(region): create redis validate network and sku zone match 2020-11-20 16:15:22 +08:00
Qu Xuan
0feddb13af fix(region): compatible aliyun fin oss 2020-11-20 16:05:31 +08:00
TangBin
e5289f8a4c fix(region): delete aliyun account bugfix 2020-11-20 15:45:10 +08:00
TangBin
0bbba6d3f8 fix(region): redis create account add name validate
公有云redis不允许创建名为root的账号

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

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

影响范围: 优化建议规则的展示;建议列表的展示
2020-11-19 11:22:31 +08:00
Zexi Li
7ee1655123 Merge pull request #8860 from swordqiu/hotfix/qj-add-cpu-total-memory-total-usage
fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:09 +08:00
Zexi Li
d745acc798 Merge pull request #8863 from ioito/hotfix/qx-saml-api-addr
fix: cloudid api addr
2020-11-19 11:02:11 +08:00
Qu Xuan
4592299ffa fix: cloudid api addr 2020-11-19 10:23:35 +08:00
Qiu Jian
bc5c74b1bd fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:23:05 +08:00
Zexi Li
6ff5653fa4 Merge pull request #8832 from wanyaoqi/feature/wyq/custom-cloudroot-home-dir
host-deployer: customize user cloudroot home dir
2020-11-18 23:50:22 +08:00
Zexi Li
7b1d35b50b Merge pull request #8844 from zhaoxiangchun/feature/zxc-alertdisable
detach AlertResource on alertDisable
2020-11-18 21:16:29 +08:00
Zexi Li
84f9591127 Merge pull request #8850 from swordqiu/hotfix/qj-add-host-joint-domain-resources
fix: add host-joint resources into domain level resources
2020-11-18 21:15:15 +08:00
Zexi Li
359c5a1221 Merge pull request #8858 from rainzm/fix/disk_resize
fix(hostdeployer): umount rootfs before resize partition
2020-11-18 21:13:33 +08:00
rainzm
27378f2c85 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:26:26 +08:00
yunion-ci-robot
f502c6722a Merge pull request #8849 from zhasm/feature/rex-cross-docker-buildx
docker 交叉编译规则更新
2020-11-18 16:35:09 +08:00
TangBin
2d15a7b977 add redis and redis skus slave zone info & huawei aws supported storage type update 2020-11-18 16:16:51 +08:00
Zhang Dongliang
c9ec30b5b3 docker 交叉编译规则更新 2020-11-18 15:55:39 +08:00
Qiu Jian
7fbe72ce5d fix: add host-joint resources into domain level resources 2020-11-18 15:19:50 +08:00
wanyaoqi
cbb801753b host: fix order init host srevice 2020-11-18 12:20:57 +08:00
zhaoxiangchun
357dd4e698 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:19:34 +08:00
yunion-ci-robot
d3b892d728 Merge pull request #8697 from ioito/feature/qx-saml-support
feature: saml for cloudid
2020-11-18 11:21:08 +08:00
Qu Xuan
11c3f6a6ef fix: 支持关机不收费 2020-11-17 20:44:16 +08:00
Zexi Li
63d1d27069 Merge pull request #8842 from lvyangyang/lyy/bucket_cdn_domain
add:get bucket cdn domain
2020-11-17 20:40:53 +08:00
yunion-ci-robot
23a12c5484 Merge pull request #8836 from ioito/hotfix/qx-secgroup-rule-import
fix: support import rules for secgroups
2020-11-17 18:30:08 +08:00
lvyangyang
9b627c10fb add:get bucket cdn domain 2020-11-17 18:24:04 +08:00
Qu Xuan
d4edbbb610 feature: saml for cloudid 2020-11-17 18:02:37 +08:00
Zexi Li
c75130fc44 Merge pull request #8827 from rainzm/fix/notifyRobot
Fixs of Notify
2020-11-17 17:51:57 +08:00
yunion-ci-robot
03c10e15b1 Merge pull request #8726 from rainzm/esxi/resizefs
Try to resizefs after resizing esxi disk
2020-11-17 16:44:09 +08:00
rainzm
36dec7baa0 fix: add err handler for notifyRobot 2020-11-17 16:34:12 +08:00
rainzm
a4dc42e69a feat(notify): enable watching user in keystone 2020-11-17 16:34:08 +08:00
rainzm
7ed99506a5 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 16:15:06 +08:00
Qu Xuan
cece2852aa fix: support import rules for secgroups 2020-11-17 15:31:09 +08:00
Zexi Li
3130e61a29 Merge pull request #8793 from rainzm/fix/esxi_snapshot
fix(region): chooseHostStorage
2020-11-17 15:21:17 +08:00
Zexi Li
9bbb738020 Merge pull request #8823 from ioito/hotfix/qx-aliyun-rds-backup
optimized: aliyun create rds backup
2020-11-17 14:52:15 +08:00
Zexi Li
920e257907 Merge pull request #8816 from zhaoxiangchun/bugfix/zxc-commonalert
modify  alertResource ws info
2020-11-17 14:51:20 +08:00
rainzm
8c17cdd5e2 feat(region): add RequestResizeDiskOnHost to SESXiHostDriver 2020-11-17 14:48:29 +08:00
rainzm
a1bc77a40e feat(esxiagent): try to resize partition after resizing disk 2020-11-17 14:48:29 +08:00
rainzm
22cec0964e feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:48:26 +08:00
Zexi Li
d15881355d Merge pull request #8803 from wanyaoqi/bugfix/wyq/host-reconnect-etcd
host: restart etcd session on keepalive failed
2020-11-17 14:20:11 +08:00
yunion-ci-robot
b237f36408 Merge pull request #8820 from tb365/bugfix/tb-qcloud-create-single-zone-elb-bugfix
qcloud create single zone elb bugfix
2020-11-17 10:02:06 +08:00
yunion-ci-robot
a683ea6ef2 Merge pull request #8830 from rainzm/scheduler/storagetype
feat(scheduler): support filtering storage via medium
2020-11-16 23:02:13 +08:00
yunion-ci-robot
c516faee7e Merge pull request #8817 from ioito/hotfix/qx-error-cause
fix: add error cause
2020-11-16 21:41:12 +08:00
wanyaoqi
6e66a129d6 host-deployer: customize user cloudroot home dir 2020-11-16 21:12:35 +08:00
rainzm
bf30c48eea feat(scheduler): support filtering storage via medium 2020-11-16 20:46:31 +08:00
Qu Xuan
aa5cbd0b0e optimized: aliyun create rds backup 2020-11-16 20:12:43 +08:00
yunion-ci-robot
a3f1f77496 Merge pull request #8795 from lvyangyang/lyy/bucket_task
qcloud bucket task
2020-11-16 16:44:05 +08:00
lvyangyang
8c29c53961 add:bucket ops const i18n 2020-11-16 15:28:37 +08:00
TangBin
63eddd2194 qcloud create single zone elb bugfix 2020-11-16 15:12:21 +08:00
Qu Xuan
83f5ce4316 fix: add error cause 2020-11-16 14:54:03 +08:00
zhaoxiangchun
d02db0e401 modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-16 14:27:17 +08:00
yunion-ci-robot
2a54a139dc Merge pull request #8814 from swordqiu/hotfix/qj-qcloud-create-bucket-missing-appid
fix: qcloud create bucket without appId
2020-11-16 13:21:06 +08:00
Qiu Jian
38018080cc fix: qcloud create bucket without appId 2020-11-16 12:57:54 +08:00
lvyangyang
da4150e5ca qcloud bucket task 2020-11-16 12:06:32 +08:00
yunion-ci-robot
b11b5a2b45 Merge pull request #8774 from rainzm/fix/esxisp
Fix for esxi instance snapshot
2020-11-16 11:02:03 +08:00
rainzm
7818709539 fix: creating esxi guest from instance snapshot 2020-11-16 10:39:12 +08:00
rainzm
a14b556f27 fix(region): start vm when 'auto_start' is true 2020-11-16 10:38:29 +08:00
rainzm
8ef1af0dbc fix: set isp's status as 'instance_snapshot_reset' when reseting guest from isp 2020-11-16 10:38:26 +08:00
Zexi Li
448ce6379e Merge pull request #8783 from tb365/bugfix/tb-aliyunfin-region-name
aliyun finance cloud region add suffix
2020-11-15 08:00:20 +08:00
Zexi Li
b81f658d49 Merge pull request #8780 from swordqiu/hotfix/qj-keystone-init-empty-catalogy-panic
fix: mcclient panic when keystone init empty service catalog
2020-11-15 07:59:01 +08:00
Zexi Li
61d37663ca Merge pull request #8806 from zhaoxiangchun/bugfix/zxc-commonalert
commonalert bugfix:
2020-11-15 07:54:59 +08:00
Zexi Li
2112926934 Merge pull request #8809 from swordqiu/hotfix/qj-baremetal-usage-exclude-converted-baremetal
fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:06 +08:00
Qiu Jian
8fcc85745d fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:39:42 +08:00
zhaoxiangchun
c39540d5ca commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

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

elasticcache: create, delete, change_config;

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

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

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

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

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

2. Add IResultHelper

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

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

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

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

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

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

* fix(notify): Init ParentContactType for SSubContact

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

* fix(notify): Unverify SSubContact when ParentContactType match

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

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

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

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

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

* fix(host-deployer): Kill process

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

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

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

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

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

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

* fix(notify): Allow negative update for receiver

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

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

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

* feat(notify): Adds validity period for verify

Verification beyond the expiration date will fail.

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

* commonalert bugfix
2020-09-01 10:43:35 +08:00
Jian Qiu
d0842c62cc fix: http error limit request body length (#7699)
fix: http error limit request body length

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

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

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:31:37 +08:00
wanyaoqi
fb41d16c97 snapshot list by guest 2020-08-31 15:24:56 +08:00
Jian Qiu
7336ff732c fix: cleanup logic for nics of pending_deleted guests (#7668)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:32:34 +08:00
Zexi Li
afd5647c83 Merge pull request #7662 from wanyaoqi/host-deployer/update-base-image-version
feature: update host deployer base image version
2020-08-28 20:36:20 +08:00
wanyaoqi
70f953dee8 update host deployer base image version 2020-08-28 20:17:47 +08:00
wanyaoqi
75cd041d79 baremetal colloct isolated devices info (#7357) 2020-08-28 12:10:34 +08:00
wanyaoqi
f255e8fcd0 fix mount fetcher fs (#7656) 2020-08-28 12:06:33 +08:00
wanyaoqi
b0edff1d80 remove backup metadata on delete backup (#7653) 2020-08-28 12:01:37 +08:00
tb365
11f86bb290 eip & vpc manager match fix (#7650)
Co-authored-by: TangBin <tangbin@yunion.cn>
2020-08-28 11:59:38 +08:00
wanyaoqi
e510ed1969 add host cpu archs capabilitie 2020-08-27 11:07:50 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
wanyaoqi
bb0d81bc06 host campactable with arm64 2020-08-27 11:05:21 +08:00
wanyaoqi
cb036b8821 fix build baremetal agent image (#7646) 2020-08-27 11:00:32 +08:00
屈轩
21342005e0 fix: aovid truncated data (#7643)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:39:40 +08:00
Jian Qiu
cb573d340a fix: turn off some default project policies (#7636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:35 +08:00
Jian Qiu
585ba0ff58 fix: add keystone sync user debug info (#7633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:34 +08:00
屈轩
2716d4527d fix: avoid openstack image-list failed (#7640)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:34 +08:00
zhaoxiangchun
dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

1.初始化influxdb measurement和field到本地
2.更新measurement和field的display_name,以及unit等信息

description api modify:

3.增加初始化json文件
4.统一查询的list接口信息增加description信息,并为description子集
5.增加measurement的权限的过滤

* 统一监控功能:

1.模版调整:
 1)修改email template
 2)格式化消息结构中的报警value,增加单位,同时可以转换为合适的单位
 3)简化消息体中的tag信息:name,ip,brand,value

2.增加报警历史记录
 1)记录每条报警规则的,报警信息
2020-08-26 13:44:34 +08:00
wanyaoqi
c1cf728995 fix github action workflow (#7635) 2020-08-26 13:21:34 +08:00
Jian Qiu
5b2b40d6ce fix: project role rpc returns policies info (#7632)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 10:47:33 +08:00
Zexi Li
10f7ed4a46 Merge pull request #7631 from swordqiu/hotfix/qj-keystone-sync-debug
fix: add keystone sync user debug info
2020-08-26 10:47:22 +08:00
Zexi Li
42118fc743 Merge pull request #7603 from wanyaoqi/feature/wyq/arm-build
feature: docker build support buildx and arm architecture
2020-08-26 10:45:51 +08:00
Qiu Jian
ccf55963ac fix: add keystone sync user debug info 2020-08-26 00:35:35 +08:00
Yousong Zhou
500e2edad7 vpcagent: ignore network without wire ids (#7629) 2020-08-25 23:31:32 +08:00
wanyaoqi
61214f2e2c separate guest doamin and dns (#7621) 2020-08-25 22:18:35 +08:00
Rain Zheng
707051ec0b fix: make old notify send SDK compatible (#7628) 2020-08-25 18:48:32 +08:00
屈轩
4593c1fb99 fix: avoid network-list --zone not work (#7619)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 18:31:32 +08:00
Jian Qiu
34ee80f011 feature: use informer to update endpoint, policy and service configs (#7596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 17:45:33 +08:00
wanyaoqi
2904364de2 fix gpfs check mountpoint (#7623) 2020-08-25 17:41:33 +08:00
Rain Zheng
853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00
wanyaoqi
6b944626b7 docker build support buildx and arm architecture 2020-08-25 16:13:57 +08:00
Yousong Zhou
c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
屈轩
ca2e8bece3 fix: ignore invalid zone sku for rds sku sync (#7617)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 10:31:32 +08:00
Jian Qiu
fea4a6b07b fix: oauth2 not support default_project_id and default_role_id (#7622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 09:57:31 +08:00
Jian Qiu
852a3bb13e fix: idp deletel logic cleanup (#7616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-24 22:19:31 +08:00
Zexi Li
479d7e2be1 Merge pull request #7615 from swordqiu/hotfix/qj-get-default-http-client-always-new-instance
fix: GetDefaultClient always return a new http client instance
2020-08-24 22:17:41 +08:00
wanyaoqi
a4b27a3cf3 feature:host image fetcher fs (#7606)
* temp

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

remove temp code
2020-08-24 22:09:33 +08:00
Jian Qiu
7c3fa87ed6 fix: hide locked cloud policy by default (#7614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 20:20:30 +08:00
Qiu Jian
3762df8087 fix: GetDefaultClient always return a new http client instance 2020-08-22 20:07:09 +08:00
屈轩
c1a6b2db9f fix: avoid change user name for google (#7613)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 18:36:29 +08:00
Jian Qiu
a94f32ed56 fix: limit the length of error message when do idp redirect (#7612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 12:33:36 +08:00
屈轩
4555b00c35 fix: avoid storage=nil, dis can not delete (#7608)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:32:29 +08:00
Zexi Li
072e3ca490 Merge pull request #7607 from swordqiu/hotfix/qj-option-turn-off-domain-list
fix: apigateway option to turn off login domain list
2020-08-21 21:26:56 +08:00
Qiu Jian
fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
屈轩
5b898bbf6b fix: optimized for cloudid (#7604)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-21 20:50:29 +08:00
lvyangyang
46683b210b fix:wrap params (#7605)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-21 20:45:23 +08:00
Jian Qiu
777059648b fix: opslog filter by owner_project_ids and owner_domain_ids (#7600)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Jian Qiu
7bab39daf9 fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing (#7599)
sometimes

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

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

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

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

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

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

* fix: password authentication may choose wrong idp backend

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

* lblisteners: list: show certificate name

* lblisteners: list: show acl name

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

- add sync cleand schedule cache

- add reconcile with backup

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

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

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

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

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

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

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

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

- guest networks return wire id
2020-06-29 11:35:21 +08:00
wanyaoqi
fabd3577a1 include system usage 2020-06-28 18:17:02 +08:00
rainzm
5f1cd20aa4 fix: Error occurs when suitableWire exists or all suitableNetwork exist. 2020-06-28 16:55:47 +08:00
Yousong Zhou
ffcea2ae56 cloudprovider: remove redundant error log
Mostly "Provider OneCloud not registered".  Error is returned and the
caller can do whatever it want
2020-06-28 14:49:38 +08:00
Yousong Zhou
2eeb45deda cloudcommon: etcd: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
7a3f241450 appsrv: quash low-value debug log lines 2020-06-28 14:49:38 +08:00
Yousong Zhou
4e16eaf212 vendor: update yunion.io/x/sqlchemy 2020-06-28 14:49:38 +08:00
Qiu Jian
e796437a3c fix: disable domain sharing if non_default_domain_projects turned off 2020-06-28 13:02:25 +08:00
Zexi Li
a6ec5e28d0 Merge pull request #6943 from yousong/bugfix/yousong-lb-add-clusterinfo
lb: include cluster name info in details
2020-06-28 09:01:15 +08:00
Yousong Zhou
7add764152 lb: include cluster name info in details 2020-06-24 18:52:33 +08:00
yunion-ci-robot
e60fa609b6 Merge pull request #6933 from wanyaoqi/feature/wyq/enable-upper-case-server-name
feature: server name enable upper case
2020-06-24 17:43:01 +08:00
Qiu Jian
889a35bc7a feature: 1. idp as domain resource 2. keystone support SAML IDP 2020-06-24 17:41:33 +08:00
Zexi Li
6d14f06a38 Merge pull request #6918 from ioito/hotfix/qx-azure-project-sync
fix: 避免azure同步项目失败
2020-06-24 12:57:26 +08:00
Zexi Li
b7d4a31304 Merge pull request #6926 from ioito/hotfix/qx-google-create
fix: google资源名称兼容处理
2020-06-23 23:29:21 +08:00
Zexi Li
b897ca7b66 Merge pull request #6936 from swordqiu/hotfix/qj-quota-list-sort-by-usage-rate
fix: sort quota list result by usage rate
2020-06-23 23:27:29 +08:00
Zexi Li
210c24967f Merge pull request #6931 from swordqiu/hotfix/qj-keystone-project-resource-count
fix: keystone project resource count not accurate
2020-06-23 23:26:20 +08:00
Qiu Jian
f3fa6f82b6 fix: sort quota list result by usage rate 2020-06-23 22:04:38 +08:00
Zexi Li
2a7b367c4f Merge pull request #6921 from swordqiu/hotfix/qj-simplify-forbidden-usr-login-msg
fix: simplify forbidden user login message
2020-06-23 21:25:42 +08:00
wanyaoqi
75588d00a2 server name enable upper case 2020-06-23 21:03:36 +08:00
Qiu Jian
95bde0a14e fix: keystone project resource count not accurate 2020-06-23 21:01:47 +08:00
Qu Xuan
26a3df33bf fix: google资源名称兼容处理 2020-06-23 20:29:10 +08:00
wanyaoqi
4e65120406 report host stat 2020-06-23 20:03:13 +08:00
Qu Xuan
4794b1606a fix: 支持同步project标签到本地资源 2020-06-23 17:46:21 +08:00
Qiu Jian
91f098430c fix: simplify forbidden user login message 2020-06-23 17:45:32 +08:00
Qu Xuan
1021bf1514 fix: 避免azure同步项目失败 2020-06-23 17:31:33 +08:00
Qu Xuan
4b16fac0ba fix: 修正项目映射同步 2020-06-23 15:13:01 +08:00
Zexi Li
f958c6ad85 Merge pull request #6904 from wanyaoqi/bugfix/wyq/fix-capabilities
bugfix: fix get storage capabilities with null field
2020-06-23 11:53:22 +08:00
Zexi Li
5d87f52e4f Merge pull request #6912 from ioito/hotfix/qx-secgroup-list-filter
optimized: 支持ip和端口过滤安全组
2020-06-23 11:52:11 +08:00
yunion-ci-robot
af3dbfdc82 Merge pull request #6906 from wanyaoqi/bugfix/wyq/kill-dhcp-process
bugfix: kill dhclient process
2020-06-22 23:41:03 +08:00
Qu Xuan
594f05d94b optimized: 支持ip和端口过滤安全组 2020-06-22 21:40:37 +08:00
wanyaoqi
c4d5da4405 disable dhclient 2020-06-22 21:27:31 +08:00
yunion-ci-robot
275ddce68e Merge pull request #6836 from swordqiu/feature/qj-saml-idp-support
feature: support SAML idp
2020-06-22 20:33:54 +08:00
Qiu Jian
c302622415 add known sp metadata xml 2020-06-22 20:09:36 +08:00
wanyaoqi
854bf59f8f fix get storage capabilities with null field 2020-06-22 19:58:02 +08:00
Qiu Jian
3b32f0a4d9 sp support 2020-06-22 09:52:58 +08:00
Qiu Jian
3b7a1e9467 feature: support SAML idp 2020-06-22 09:52:58 +08:00
Zexi Li
8d81393c03 Merge pull request #6893 from yousong/bugfix/yousong-keystone-cpu
Bugfix/yousong keystone cpu
2020-06-22 09:14:49 +08:00
Zexi Li
9967e90a4b Merge pull request #6899 from yousong/bugfix/yousong-keystone-informer
Bugfix/yousong keystone informer
2020-06-22 09:10:05 +08:00
Yousong Zhou
61cd611aac keystone: passwords: SetModelManager
To quash avoid informer error "virtual object is nil"
2020-06-21 18:43:19 +08:00
Yousong Zhou
29a3171a3a cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:33:08 +08:00
Yousong Zhou
6c9e8f1948 keystone: config: SetModelManager for whitelisted config
To quash avoid informer error "virtual object is nil"
2020-06-21 17:14:43 +08:00
Yousong Zhou
145c88f79b cloudcommon: tablespec: informer: log obj type 2020-06-21 17:14:43 +08:00
Yousong Zhou
d9f3dfbbfe cloudcommon: app: cosmetic change 2020-06-21 16:43:07 +08:00
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
Zexi Li
76ee769eaf Merge pull request #5852 from rainzm/fix/auto_scaling4
fix(region): Fix some problem for Auto Scaling
2020-04-18 16:28:22 +08:00
Zexi Li
b48ee44462 Merge pull request #5850 from swordqiu/hotfix/qj-project-domain-name-revisit
fix: allow any character in project/domain name, giveup displayname
2020-04-18 16:27:35 +08:00
Qiu Jian
eef113b927 fix: allow any character in project/domain name, giveup displayname 2020-04-18 15:33:53 +08:00
Rain
03868d28b5 fix(region): Fix some problem for Auto Scaling
1. 主机组的 vpc 和 backendgroup 可以为空,修复了使用 brand
过滤出现的问题
2. ScalingPolicy 的执行,区分手动和非手动
3. 拒绝执行或者执行失败的 ScalingAvtivity 不刷新冷却时间
4. 告警策略增加 Cycle 的检查和默认值
5. 修复 monitor 的一个数组越界问题
2020-04-18 14:13:43 +08:00
Zexi Li
d4f2639eff Merge pull request #5845 from swordqiu/hotfix/qj-cloud-provider-sync-region-nopanic
fix: cloudproviderregion sync ignore panic
2020-04-18 12:01:36 +08:00
Zexi Li
bcb6ff032f Merge pull request #5844 from rainzm/fix/vmware_template
feat(esxi): Set MinRawSize as 0 for vmware template
2020-04-18 12:00:58 +08:00
Zexi Li
4830476680 Merge pull request #5840 from tb365/bugfix/tb-bugfix-0417
Bugfix/tb bugfix 0417
2020-04-18 11:59:24 +08:00
yunion-ci-robot
579ae25a38 Merge pull request #5839 from swordqiu/hotfix/qj-proxy-seting-minor-fix
fix: proxy setting input minor bugfix
2020-04-17 22:25:03 +08:00
Qiu Jian
242d59d7f5 fix: cloudproviderregion sync ignore panic 2020-04-17 21:59:43 +08:00
Rain
d73654aec3 feat(esxi): Set MinRawSize as 0 for vmware template 2020-04-17 20:47:55 +08:00
TangBin
3314b22390 huawei oss client bugfix 2020-04-17 20:33:21 +08:00
TangBin
b17fb2c94c huawei oss client fix & huawei client init fix 2020-04-17 19:50:46 +08:00
tangbin
ab59e425df aws elb create bugfix 2020-04-17 18:05:10 +08:00
Qiu Jian
2e45711ce2 fix: proxy setting input minor bugfix 2020-04-17 11:15:53 +08:00
Zexi Li
729f8f175f Merge pull request #5838 from swordqiu/hotfix/qj-decouple-climc-webconsole
fix: decouple climc and webconsole, make climc windows buildable
2020-04-17 10:28:35 +08:00
Qiu Jian
7eae94d0c1 fix: decouple climc and webconsole, make climc windows buildable 2020-04-17 01:15:29 +08:00
Zexi Li
470f7a3750 Merge pull request #5815 from ioito/hotfix/qx-cloudprovider-quota-details
fix: 订阅配额详情返回
2020-04-17 00:07:40 +08:00
Zexi Li
8f97c68063 Merge pull request #5832 from yousong/bugfix/yousong-vpcagent
cloudcommon: resourcebase: allow list fields "deleted"
2020-04-17 00:07:08 +08:00
Zexi Li
5212241fa3 Merge pull request #5817 from swordqiu/hotfix/qj-remove-notify-verify-email-url-path
fix: remove notify option VerifyEmailUrlPath
2020-04-17 00:06:43 +08:00
Zexi Li
adae2b8fe0 Merge pull request #5823 from ioito/hotfix/qx-rds-zone
fix: 添加rds zone name详情
2020-04-17 00:06:26 +08:00
Zexi Li
5a658a9bb8 Merge pull request #5818 from swordqiu/hotfix/qj-non-redfish-jnlp-console
fix: non-redfish baremetal might support jnlp console
2020-04-17 00:04:31 +08:00
Zexi Li
ce0e4ce0c6 Merge pull request #5825 from ioito/hotfix/qx-secgroup-dup-name
fix: 尽量避免secgroup重名问题
2020-04-17 00:02:25 +08:00
Zexi Li
743529edf9 Merge pull request #5831 from zhaoxiangchun/bugfix/zxc-mon-azure
修复azure获取不到监控数据的问题
2020-04-17 00:00:45 +08:00
Zexi Li
a533f0c1f9 Merge pull request #5836 from swordqiu/hotfix/qj-cas-project-name-regexp-issue
fix: cas auto create project fetch failure
2020-04-16 23:59:33 +08:00
Zexi Li
bafda507dd Merge pull request #5791 from swordqiu/hotfix/qj-server-list-provider-filter
Hotfix/qj server list provider filter
2020-04-16 23:58:53 +08:00
Qiu Jian
98fcd1df0f fix: deprecated-by => yunion:deprecated-by 2020-04-16 23:24:56 +08:00
Qiu Jian
5651805eb0 update vendor 2020-04-16 23:23:55 +08:00
Qiu Jian
cdd239eab5 fix: server-list filter by provider VMware returns no results and update
vendor
2020-04-16 23:23:24 +08:00
yunion-ci-robot
d0bf11a345 Merge pull request #5811 from yousong/bugfix/yousong-lbagent
region: lbagents: default to using public type endpoint of influxdb
2020-04-16 23:21:04 +08:00
Qiu Jian
d5b3ae9f98 fix: cas auto create project fetch failure 2020-04-16 22:19:10 +08:00
Yousong Zhou
fed8b386b8 cloudcommon: resourcebase: allow list fields "deleted"
Required for deriving deleted event

Fixes 3c9b368c43 ("feature: fix region list filters round 3")
2020-04-16 19:50:57 +08:00
zhaoxiangchun
8fe0865719 修复azure获取不到监控数据的问题 2020-04-16 18:47:48 +08:00
Zexi Li
b62f6feb74 Merge pull request #5805 from ioito/hotfix/qx-rds-sku-list-optimized
fix: 优化rds sku list查询速度
2020-04-16 18:01:05 +08:00
Zexi Li
8628c4113c Merge pull request #5711 from zhaoxiangchun/feature/zxc-suggest-mon
优化建议
2020-04-16 17:58:09 +08:00
Zexi Li
b16d545e84 Merge pull request #5824 from zexi/feature/add-swagger-site
makefile: add swagger-site
2020-04-16 16:41:30 +08:00
Qu Xuan
466e8ff8d7 fix: 尽量避免secgroup重名问题 2020-04-16 16:39:20 +08:00
Zexi Li
a7b7a97aac makefile: add swagger-site 2020-04-16 16:38:11 +08:00
zhaoxiangchun
89640938f0 新加diskunused的监控
1.suggestsys_const.go 中定义规则和资源列表中涉及到一些常量
2.suggestsysalart.go 1)新增一些列来匹配重用过滤;2)
进行删除相关操作时,通过task处理;
3.driverconfig.go 中包含目前driver中可以共用的函数
4.suggestsysruledrivers.go 调整driver interface 涉及的函数
2020-04-16 16:37:46 +08:00
Qu Xuan
db12cd0c3e fix: 添加rds zone name详情 2020-04-16 16:12:27 +08:00
Qiu Jian
309addc00a fix: non-redfish baremetal might support jnlp console 2020-04-15 23:35:12 +08:00
Qiu Jian
068ea26c8d fix: remove notify option VerifyEmailUrlPath 2020-04-15 23:02:59 +08:00
yunion-ci-robot
1284538005 Merge pull request #5804 from ioito/bugfix/qx-capability-storage-vcapability
fix: 修复vcapability计算错误
2020-04-15 20:33:01 +08:00
yunion-ci-robot
f7235c3316 Merge pull request #5810 from ioito/hotfix/qx-doc-joint-filter
fix: api文档描述更正
2020-04-15 20:26:02 +08:00
yunion-ci-robot
886b903407 Merge pull request #5816 from ioito/bugfix/qx-guest-auto-renew
fix: 设置自动续费任务异常
2020-04-15 20:21:57 +08:00
Qu Xuan
4cb3381c04 fix: 设置自动续费任务异常 2020-04-15 20:04:00 +08:00
Qu Xuan
bb87ac5771 fix: 订阅配额详情返回 2020-04-15 19:45:57 +08:00
yunion-ci-robot
16d179240d Merge pull request #5814 from tb365/feature/tb-add-host-node-sum-api
hosts add node count api
2020-04-15 19:24:54 +08:00
tangbin
673364ae48 hosts add node count api 2020-04-15 18:19:00 +08:00
Qu Xuan
cf533816b9 fix: 优化rds sku list查询速度 2020-04-15 18:01:18 +08:00
Yousong Zhou
6b0a97c6fb region: buckets: use identity_apis.EndpointInterfacePublic 2020-04-15 17:59:11 +08:00
Yousong Zhou
59b143f905 image: use identity_apis.EndpointInterfacePublic 2020-04-15 17:59:11 +08:00
Yousong Zhou
babb7ae742 region: lbagents: default to using public type endpoint of influxdb 2020-04-15 17:59:11 +08:00
Qu Xuan
345b8f3f9d fix: api文档描述更正 2020-04-15 17:35:08 +08:00
Qu Xuan
f0960b4b35 fix: 修复vcapability计算错误 2020-04-15 17:05:31 +08:00
yunion-ci-robot
78e24ccd25 Merge pull request #5799 from rainzm/fix/auto_scaling3
Fix & Feature: Auto Scaling
2020-04-15 11:02:54 +08:00
Zexi Li
54fb6fabc0 Merge pull request #5800 from swordqiu/hotfix/qj-share-misc-bugfixes-20200414
fix: misc bugs about resource sharing
2020-04-15 10:34:59 +08:00
Zexi Li
dee12f94be Merge pull request #5794 from rainzm/fix/disk_snapshotpolicies
fix(region): Fix the snapshotpolicy info in DiskDetails
2020-04-14 22:41:21 +08:00
Zexi Li
6ec5d96d8b Merge pull request #5798 from zexi/feature/k8s-3.2-cli
climc: support k8s service v3.2
2020-04-14 22:40:42 +08:00
Qiu Jian
021ef662bb fix: misc bugs about resource sharing 2020-04-14 22:23:23 +08:00
Rain
b75b636901 feat: Add tag 'vm_scaling_group_id' for vm's monitor record 2020-04-14 20:51:03 +08:00
Rain
fbfff507dd fix(region): Fix problems of AutoScaling
1. Add List dispaly Params 'brand' and List filter Params 'brand' for
GuestTemplate and ScalingGroup.
2. ScalingActivity's list elem should be sorted in order by StartTime and EndTime
3. HealthCheckCycle and HealthCheckGov in ScalingGroup work now
4. Detach all ScalingGroup when pending delete Guest
5. If the scaling behavior of the scaling group fails n(n is 3 for now) times consecutively,
the controller will automatically disablet this group
6. Timer will trigger ScalingPolicy throught request but func call
2020-04-14 20:50:07 +08:00
Zexi Li
0b62292cd4 climc: support k8s service v3.2 2020-04-14 17:26:29 +08:00
Rain
de329f4a80 fix(region): Fix the snapshotpolicy info in DiskDetails 2020-04-14 15:38:08 +08:00
zhaoxiangchun
a42e9c9462 优化建议功能-未使用的eip
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作

deal with comments

gencopyright

climc for SuggestSysRule and SuggestSysAlert

monitor: fix sysrule related models not generated

eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
Zexi Li
9ff7f481b7 Merge pull request #5793 from swordqiu/feature/qj-cas-user-join-project-revisited
feature: cas user auto join designated project
2020-04-14 15:14:19 +08:00
Qiu Jian
57898da085 fixes: idp driver validate config support 2020-04-14 14:51:28 +08:00
Qiu Jian
9c498b2924 feature: cas user auto join designated project 2020-04-14 11:04:47 +08:00
Zexi Li
dd1149ded3 Merge pull request #5789 from yousong/bugfix/yousong-proxysetting
proxysetting: fix validating delete condition
2020-04-14 10:45:38 +08:00
Zexi Li
65553b03d3 Merge pull request #5785 from ioito/hotfix/qx-aliyun-err-optimized
fix: 避免aliyun access key不可用时返回NotFoundError错误
2020-04-14 10:44:50 +08:00
Zexi Li
a93b52d86f Merge pull request #5792 from swordqiu/feature/qj-cas-user-join-project
feature: cas user auto join designated project
2020-04-14 10:44:07 +08:00
Qiu Jian
8300ac3c08 feature: cas user auto join designated project 2020-04-14 08:27:00 +08:00
Qu Xuan
18106dce3a fix: 避免aliyun access key不可用时返回NotFoundError错误 2020-04-13 18:47:30 +08:00
Yousong Zhou
51d633c956 proxysetting: fix validating delete condition 2020-04-13 16:29:12 +08:00
Zexi Li
266a3bd043 Merge pull request #5757 from swordqiu/hotfix/qj-sync-resource-share-state
fix: sync resource's share state
2020-04-13 15:44:57 +08:00
yunion-ci-robot
991dc11a56 Merge pull request #5756 from swordqiu/hotfix/qj-proxy-setting-fixes
fix: 1. allow share proxysetting 2. claim proxsetting as domain resource
2020-04-13 15:33:52 +08:00
Qiu Jian
0a9eb7bdbe fix: 1. allow share proxysetting 2. claim proxsetting as domain resources 2020-04-13 15:13:15 +08:00
Zexi Li
ed3a51084d Merge pull request #5769 from wanyaoqi/bugfix/wyq/fix-generate-network-config
fix host init generate network config
2020-04-13 11:28:43 +08:00
Zexi Li
a3f3a43a81 Merge pull request #5759 from tb365/bugfix/tb-bugfix-0409
aws elb bugfix
2020-04-13 11:27:18 +08:00
Zexi Li
7523c7445c Merge pull request #5784 from rainzm/fix/auto_scaling2
fix: Fix problems about health check in auto scaling
2020-04-13 11:18:40 +08:00
Zexi Li
7a4da75323 Merge pull request #5773 from rainzm/feat/send_feishu
feat(notify): Add TNotifyChannel 'feishu'
2020-04-13 11:18:16 +08:00
Rain
1266fb5a16 fix: Fix problems about health check in auto scaling
1. Detach Guest with ScalingGroup
2. Health Check
2020-04-13 10:35:56 +08:00
tangbin
5faf0b53ac aws elb bugfix 2020-04-13 10:25:14 +08:00
Zexi Li
3da821172e Merge pull request #5749 from ioito/feautre/qx-policy
fix: support azure policy
2020-04-13 09:50:13 +08:00
Zexi Li
961ce14436 Merge pull request #5758 from ioito/hotfix/qx-network-delete-optimized
fix: 允许删除有预留ip的network
2020-04-13 09:49:59 +08:00
Zexi Li
5c77d047a2 Merge pull request #5780 from swordqiu/hotfix/qj-host-jnlp-request
fix: host jnlp request fail for idrac9
2020-04-13 09:49:01 +08:00
Qiu Jian
c8ff16471d fix: host jnlp request fail for idrac9 2020-04-12 23:17:59 +08:00
yunion-ci-robot
e0b9daa51a Merge pull request #5774 from ioito/hotfix/qx-azure-rebuild-root
fix: azure重装系统删除不必要的参数
2020-04-12 00:32:45 +08:00
Qu Xuan
3ebcee07eb fix: 允许删除有预留ip的network 2020-04-11 15:49:27 +08:00
Qu Xuan
c6a474e036 fix: support azure policy 2020-04-11 15:43:06 +08:00
Qu Xuan
9aec3a2769 fix: azure重装系统删除不必要的参数 2020-04-11 15:08:45 +08:00
Zexi Li
ae05100dd9 Merge pull request #5745 from swordqiu/feature/qj-idrac9-support
feature: redfish support IDRAC9 baremetal
2020-04-11 13:12:01 +08:00
Zexi Li
379cf65e89 Merge pull request #5746 from yousong/bugfix/yousong-proxysetting
proxysetting: add class level test action
2020-04-11 13:07:02 +08:00
Zexi Li
4945867f6c Merge pull request #5765 from yousong/bugfix/yousong-lbagent
region: lbagent: vrrp.advert_int must be the same inside cluster
2020-04-11 13:04:25 +08:00
Qiu Jian
f6f1917e1f feature: redfish support IDRAC9 baremetal 2020-04-11 12:59:55 +08:00
Qiu Jian
b9a239bd65 fix: sync sharing state 2020-04-11 06:50:48 +08:00
Qiu Jian
7bfdc0dce4 fix: cascading sharing problems 2020-04-11 06:49:55 +08:00
Qiu Jian
8e0bfac771 Makefile do not complain describe no tags 2020-04-11 06:49:13 +08:00
Qiu Jian
60a3de9d73 feature: make bucket sharable virtual resource 2020-04-11 06:49:13 +08:00
Qiu Jian
7a6cdc6e02 fix: sync resource's share state 2020-04-11 06:49:13 +08:00
Rain
2a72f35138 feat(notify): Add TNotifyChannel 'feishu' 2020-04-10 20:14:48 +08:00
Zexi Li
524ccc5c5f Merge pull request #5772 from swordqiu/hotfix/qj-conflict-username-error
fix: keystone username duplicate error should return 409
2020-04-10 17:46:13 +08:00
Zexi Li
22a8e3065c Merge pull request #5722 from ioito/hotfix/qx-metadata-deleted-count
fix: 不再统计已删除资源的标签数量
2020-04-10 17:45:43 +08:00
Yousong Zhou
74ceaa70e4 region: lbagent: vrrp.advert_int must be the same inside cluster 2020-04-10 15:53:19 +08:00
Qiu Jian
2eb748fb02 fix: keystone username duplicate error should return 409 2020-04-10 15:51:24 +08:00
wanyaoqi
df7c2ae84e fix host init generate network config 2020-04-10 15:48:26 +08:00
Zexi Li
14accd7731 Merge pull request #5764 from zexi/hotfix/swagger-for-monitor
codegen: add monitor
2020-04-10 15:48:00 +08:00
Zexi Li
b4ebd80d4c codegen: add monitor 2020-04-10 15:45:30 +08:00
Zexi Li
4c85b2e77e Merge pull request #5748 from ioito/hotfix/qx-storage-list
fix: storage-list 返回关联的host信息
2020-04-10 14:10:29 +08:00
Zexi Li
a850d070d5 Merge pull request #5750 from ioito/hotfix/qx-region-capability-optimized
fix: 优化region-capability速度
2020-04-10 14:09:53 +08:00
Zexi Li
204dbcad10 Merge pull request #5752 from rainzm/fix/auto_scaling1
fix(region): Fix some problem about auto scaling
2020-04-10 14:05:49 +08:00
yunion-ci-robot
2f993f664f Merge pull request #5760 from wanyaoqi/bugfix/wyq/is-public-add-create-optional-tah
is public add create optional tag
2020-04-10 14:01:42 +08:00
wanyaoqi
3c588b8be5 is public add create optional tag 2020-04-10 13:45:07 +08:00
yunion-ci-robot
e05e167e9d Merge pull request #5751 from rainzm/fix/guest_image
fix(glance): Fix the return value after creating guest image
2020-04-10 11:44:41 +08:00
Qu Xuan
9c5b27ce45 fix: 优化region-capability速度 2020-04-10 11:05:08 +08:00
yunion-ci-robot
bdb2705ea6 Merge pull request #5740 from yousong/bugfix/yousong-misc
region: lbagents: fix returning error when glob has no match
2020-04-10 09:51:41 +08:00
Rain
45865571c9 fix(region): Fix some problem about auto scaling
1. Add status 'creating' for ScalingPolicy.
2. Do nothing when call ScalingGroup.Scale when ScalingGroup is disable.
3. Change the obj about GuestDetachScalingGroupTask from Guest to
ScalingGroup.
4. Fix some problem about ScalingTimer and add test for its Update func.
5. Fix problem when ScalingTimer work in controller.
2020-04-09 21:43:21 +08:00
Rain
99bb00948b fix(glance): Fix the return value after creating guest image 2020-04-09 21:10:59 +08:00
Yousong Zhou
80f2fb3f99 proxysetting: add class level test action 2020-04-09 17:33:24 +08:00
Qu Xuan
de48dfd6c1 fix: storage-list 返回关联的host信息 2020-04-09 16:23:01 +08:00
yunion-ci-robot
de4ef97fd6 Merge pull request #5744 from ioito/hotfix/qx-capabilit-optimized
fix: 简化公有云存储信息返回
2020-04-09 14:51:43 +08:00
Qu Xuan
e7ef75bb5d fix: 简化公有云存储信息返回 2020-04-09 11:30:52 +08:00
Yousong Zhou
20e9b050bf region: lbagents: fix returning error when glob has no match 2020-04-09 11:06:11 +08:00
yunion-ci-robot
81fcf57570 Merge pull request #5720 from rainzm/fix/display_server_template
fix(region): Fix some display params about guest template
2020-04-09 10:56:41 +08:00
Zexi Li
a232321c18 Merge pull request #5729 from ioito/hotfix/qx-typo
fix: typo
2020-04-09 10:21:20 +08:00
Zexi Li
1b89dc07a4 Merge pull request #5739 from wanyaoqi/bugfix/wyq/fix-deployer-sigtrap-function
deployer: os.exit replace return on sigtrap
2020-04-09 10:21:02 +08:00
Zexi Li
fbdafd4ae2 Merge pull request #5737 from rainzm/fix/auto_scaling
fix(region): Fix problems about Auto Scaling
2020-04-09 10:20:20 +08:00
wanyaoqi
92940dae11 os.exit replace return on sigtrap 2020-04-08 23:01:54 +08:00
yunion-ci-robot
b3eb5fdb5c Merge pull request #5738 from wanyaoqi/bugfix/wyq/fix-deployer-sigtrap-function
fix deployer sigtrap funciton
2020-04-08 22:16:40 +08:00
Rain
e0cc7bf04f fix(region): Check and update ScalingActivities when controller init 2020-04-08 22:11:34 +08:00
wanyaoqi
a20daa1c11 fix deployer sigtrap funciton 2020-04-08 22:05:57 +08:00
Zexi Li
5c156297c7 Merge pull request #5726 from tb365/bugfix/tb-bugfix-0408
huawei&qcloud&huawei elb bugfix
2020-04-08 21:53:39 +08:00
Zexi Li
19c72ec786 Merge pull request #5731 from wanyaoqi/feature/wyq/optimize-capabilities
optimize capabilities
2020-04-08 21:52:34 +08:00
Zexi Li
b274871f7c Merge pull request #5733 from swordqiu/hotfix/qj-idp-log-event
fix: idp log connected/disconnected event
2020-04-08 21:51:36 +08:00
Zexi Li
62d1c0729b Merge pull request #5732 from swordqiu/hotfix/qj-service-config-show-self-config
fix: service-config-show shows service's own config
2020-04-08 21:49:06 +08:00
Rain
09797e3abe fix(region): Fix problems about Auto Scaling
1. Alarm 的创建统一使用 AdminSession
2. ScalingTimer 的更新有些问题
3. 创建的主机名称不应该包含大写字母
4. ScalingTimer 的描述有些问题
5. 绑定LB的时候少传递了一个参数
2020-04-08 21:47:56 +08:00
Qiu Jian
528decfa90 fix: idp log connected/disconnected event 2020-04-08 21:23:55 +08:00
Qiu Jian
1a9c0efc2d fix: service-config-show shows service's own config 2020-04-08 20:39:25 +08:00
wanyaoqi
d80f0baf04 optimize capabilities 2020-04-08 20:30:03 +08:00
Qu Xuan
fe5f3a0ed5 fix: typo 2020-04-08 20:12:21 +08:00
Zexi Li
3860e635e6 Merge pull request #5723 from swordqiu/hotfix/qj-list-details-missing-shared-attributes
fix: shared resource list details missing shared projects/domains attributes
2020-04-08 19:46:19 +08:00
Zexi Li
0b6eda9bb1 Merge pull request #5724 from yousong/bugfix/yousong-misc
db_dispatcher: default action log for create & update
2020-04-08 19:45:21 +08:00
Zexi Li
e012f21d00 Merge pull request #5721 from swordqiu/hotfix/qj-update-model-api-gen-20200408
model api gen
2020-04-08 19:44:14 +08:00
tangbin
0c0980d3f9 huawei&qcloud&huawei elb bugfix 2020-04-08 19:32:51 +08:00
Yousong Zhou
2bc16d6f05 climc: networks: remove stale dns related commands 2020-04-08 18:04:57 +08:00
Qiu Jian
fbf9d635c7 fix: shared resource list details missing shared projects/domains
attributes
2020-04-08 18:02:27 +08:00
Yousong Zhou
a10443975a climc: fix router-route-xx command description 2020-04-08 18:02:00 +08:00
Yousong Zhou
cd17d74933 climc: add command proxysetting-test 2020-04-08 18:00:39 +08:00
Yousong Zhou
805b1e189f proxysetting: add test api 2020-04-08 18:00:37 +08:00
Yousong Zhou
d2aae60bd1 apis: proxy: fix sanitizing empty proxy string 2020-04-08 17:08:27 +08:00
Yousong Zhou
2afb0f1854 climc: proxysetting-update: fix update option 2020-04-08 17:05:10 +08:00
Yousong Zhou
884a052070 db_dispatcher: default action log for create & update 2020-04-08 17:00:28 +08:00
Qiu Jian
88e3bb6e87 model api gen 2020-04-08 16:44:02 +08:00
Yousong Zhou
7366815163 lbagents: deploy: deploy public type auth_url 2020-04-08 16:36:02 +08:00
Qu Xuan
86383b5a5d fix: 不再统计已删除资源的标签数量 2020-04-08 16:28:16 +08:00
Rain
cbe9f84b6b fix(region): Fix some display params about guest template
1. GuestTemplate's brand is from its hypervisor.
2. GuestTemplate's secgroups is a array which from input.secgroups.
2020-04-08 14:54:07 +08:00
Zexi Li
8b9688a711 Merge pull request #5718 from swordqiu/hotfix/qj-role-policy-filter-by-owner-missing
fix: role/policy missing FilterByOwner implementation
2020-04-08 12:12:13 +08:00
Qiu Jian
4a3749d3f9 fix: role/policy missing FilterByOwner implementation 2020-04-08 02:32:05 +08:00
Zexi Li
b4aa398cf6 Merge pull request #5714 from swordqiu/hotfix/qj-decouple-apigateway-userinfo-from-capabilities
fix: decouple getUserInfo at apigateway from capabilities call
2020-04-08 02:25:49 +08:00
Qiu Jian
f11a978209 fix: decouple getUserInfo at apigateway from capabilities call 2020-04-08 00:02:14 +08:00
Zexi Li
ec21477786 Merge pull request #5710 from yousong/bugfix/yousong-build
build: fix "mod" target on darwin
2020-04-07 21:47:28 +08:00
Zexi Li
e6b9eaea79 Merge pull request #5709 from swordqiu/feature/qj-change-owner-candiate-domains
feature: add API to retrieve resource's change owner candidate domains
2020-04-07 21:46:50 +08:00
Zexi Li
7df56bade8 Merge pull request #5713 from swordqiu/hotfix/qj-parameter-duplicate-error
fix: 1. parameter duplicate error due to missing name filter 2.infras_quota setKeys error
2020-04-07 21:46:23 +08:00
Qiu Jian
8fad5086f0 fix: 1. parameter duplicate error due to missing name filter 2.
infras_quota setKeys error
2020-04-07 20:54:18 +08:00
Yousong Zhou
81334744e8 build: fix "mod" target on darwin
We do not need to build and install binaries when updating modules

	go get: cannot install cross-compiled binaries when GOBIN is set
2020-04-07 18:29:50 +08:00
Qiu Jian
d99c4776e9 feature: add API to retrieve resource's change owner candidate domains 2020-04-07 16:22:51 +08:00
Zexi Li
9472050e20 Merge pull request #5708 from swordqiu/hotfix/qj-is-domain-field-default-value-not-consistent
fix: default value of is_domain field is not consistent between projects and domains
2020-04-07 14:34:04 +08:00
Qiu Jian
c758167e86 fix: default value of is_domain field is not consistent between
projects and domains
2020-04-07 14:14:54 +08:00
Zexi Li
dd0a52a696 Merge pull request #5698 from swordqiu/hotfix/qj-service-config-change-not-effective
fix: service config changes not effective
2020-04-07 10:38:04 +08:00
Zexi Li
ea629a53ae Merge pull request #5702 from swordqiu/hotfix/qj-remove-obsolete-policy-definitons
fix: remove obsolete policy definitions
2020-04-07 10:37:58 +08:00
Zexi Li
6b32911980 Merge pull request #5703 from swordqiu/hotfix/qj-domain-resource-usage
fix: add domain-level compute resource usage
2020-04-07 10:37:52 +08:00
Zexi Li
879e0229e9 Merge pull request #5704 from wanyaoqi/bugfix/wyq/fix-migrate-cache-cdrom
fix migrate cache cdrom
2020-04-07 10:37:04 +08:00
wanyaoqi
d44fa08ac3 fix migrate cache cdrom 2020-04-06 23:15:12 +08:00
Qiu Jian
5536dda530 fix: add domain-level compute resource usage 2020-04-06 18:07:14 +08:00
Qiu Jian
cada2d607c fix: remove obsolete policy definitions 2020-04-06 16:37:38 +08:00
Qiu Jian
adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +08:00
Zexi Li
1f1e6240f9 Merge pull request #5666 from rainzm/feature/auto_scaling
Feature/auto scaling
2020-04-05 13:54:11 +08:00
Zexi Li
c3ecbe04b6 Merge pull request #5694 from swordqiu/hotfix/qj-usage-misc-bugfix-20200404
fix: misc bugs in usage data
2020-04-05 13:51:45 +08:00
Qiu Jian
9b0e464c1f fix: misc bugs in usage data 2020-04-04 23:11:09 +08:00
Rain
d595a6a61f fix: fix based on reviewer's and tester's suggestions
1. ScalingPolicy's CoolingTime will limit ScalingPolicy with 'alarm' TriggerType
2. Health Check will remove instance that has been shut down for 3 minutes.
3. If TargetNumer > SG.MaxInstanceNumber or TargetNumber < SG.MinInstanceNumber,
ScalingActivity's status will be set to 'part_success'.
4. When you want to increase the DesireInstanceNumber that has reached the maximum value,
or decrease the this that has reached the minimum value, the ScalingActivity is rejected.
5. ScalingPolicy.PostCreate and PostDelete asynchronous execution.
2020-04-04 21:45:12 +08:00
Rain
d1c92c689a fix: fmt's format string 2020-04-04 21:10:57 +08:00
Rain
7eb38704d1 feature: Add instance health check 2020-04-04 21:10:57 +08:00
Rain
6d77bb11f6 update generated model 2020-04-04 21:10:57 +08:00
Rain
690fb0c95d Add copyright and format code 2020-04-04 21:10:57 +08:00
Rain
b9ed3c1bc2 feature: scaling_group support alert 2020-04-04 21:10:51 +08:00
Rain
01999fafa0 update generated model for compute 2020-04-04 21:03:36 +08:00
Rain
f0a8d60dbd feature: autoscaling controller finished 2020-04-04 21:03:28 +08:00
Zexi Li
c776ec6907 Merge pull request #5691 from rainzm/fix/esxi-cache-image
fix(region): Fix some question of CheckAndSetCacheImage.
2020-04-03 19:45:36 +08:00
Zexi Li
9e9dcac496 Merge pull request #5684 from swordqiu/feature/qj-domain-level-quotas
feature: domain resource quota
2020-04-03 19:44:56 +08:00
Zexi Li
4777636133 Merge pull request #5686 from ioito/hotfix/qx-rebuild-root-fix
fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:11 +08:00
Zexi Li
b838aafef5 Merge pull request #5671 from ioito/hotfix/qx-huawei-rds-fix
fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:33 +08:00
Zexi Li
4c381c2130 Merge pull request #5586 from wanyaoqi/feature/wyq/esxi2kvm-migration
feature: copy esxi guest to kvm
2020-04-03 19:41:03 +08:00
Rain
3e10786e0c fix(esxi): Fix some question of CheckAndSetCacheImage.
1. If there is storagecachedimage in this host's storagecache, use is
instead of another host's one.
2. SrcStorage should be found from srcHost instead host.
2020-04-03 14:30:31 +08:00
Zexi Li
86addd6e59 Merge pull request #5685 from swordqiu/feature/qj-idp-config-update
feature: identity provider improvements
2020-04-03 11:38:52 +08:00
Zexi Li
b6ae386c2f Merge pull request #5682 from ioito/hotfix/qx-zone-info
fix: typo
2020-04-03 11:36:05 +08:00
Qu Xuan
93ffbd47d9 fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:31:06 +08:00
Qiu Jian
d1346771aa feature: domain resource quota 2020-04-03 02:03:55 +08:00
Qiu Jian
c1c9aa300d feature: identity provider improvements 2020-04-03 01:54:07 +08:00
Rain
e8eadc24ce feature: Controller and some api 2020-04-02 20:42:47 +08:00
Qu Xuan
cc28924fb5 fix: typo 2020-04-02 20:21:23 +08:00
Zexi Li
193d014034 Merge pull request #5676 from wanyaoqi/feature/wyq/host-set-hostname
host do not set hostname
2020-04-02 19:06:53 +08:00
yunion-ci-robot
1b333cd3e2 Merge pull request #5679 from ioito/hotfix/qx-typo
fix: typo
2020-04-02 18:54:51 +08:00
yunion-ci-robot
796ca2db8e Merge pull request #5667 from ioito/hotfix/qx-qcloud-sdk
fix: 修复更新qcloud sdk引出的不兼容问题
2020-04-02 18:51:50 +08:00
Qu Xuan
92604fca04 fix: typo 2020-04-02 18:25:23 +08:00
wanyaoqi
cf58fefea1 host do not set hostname 2020-04-02 18:09:55 +08:00
yunion-ci-robot
66de34794a Merge pull request #5669 from zexi/hotfix/k8s-remove-registrysecret
climc: k8s remove registrysecret create command
2020-04-02 18:07:50 +08:00
wanyaoqi
cc3a2da1a8 fix host-deployer base 2020-04-02 18:02:32 +08:00
wanyaoqi
92e88f2a97 - copy esxi guest to kvm 2020-04-02 17:56:50 +08:00
Qu Xuan
9e1693e443 fix: 华为云rds使用自身的存储类型 2020-04-02 17:28:22 +08:00
Zexi Li
5c55c98021 climc: k8s remove registrysecret create command 2020-04-02 16:29:29 +08:00
Qu Xuan
16b4ed0bda fix: 修复更新qcloud sdk引出的不兼容问题 2020-04-02 15:56:16 +08:00
Rain
a776f21762 feat(scaling): Auto scaling group 2020-04-02 14:57:37 +08:00
Zexi Li
8adc5ed0d9 Merge pull request #5631 from tb365/bugfix/tb-bugfix-0331
elb bugfix
2020-04-02 12:47:11 +08:00
Zexi Li
1a6d5975f8 Merge pull request #5662 from swordqiu/hotfix/qj-disk-nics-usage-exclude-pending-delete
fix: disk/nics usage should exclude those pending_deleted
2020-04-02 12:45:27 +08:00
Zexi Li
0fc5cd5a84 Merge pull request #5658 from swordqiu/feature/qj-keystone-too-many-failed-attempts
feature: keystone lock user returns ErrTooManyAttempts
2020-04-02 12:44:46 +08:00
Zexi Li
b68feeb8af Merge pull request #5652 from yousong/bugfix/yousong-multicloud-proxyfunc
Bugfix/yousong multicloud proxyfunc
2020-04-02 12:43:53 +08:00
Zexi Li
b32ddfa504 Merge pull request #5659 from wanyaoqi/bugfix/wyq/host-use-internal-endpoint
host session use internal endpoint
2020-04-02 12:43:06 +08:00
Qiu Jian
02671840b5 fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:40:38 +08:00
tangbin
0fa0e9b7f4 elb bugfix 2020-04-01 20:16:52 +08:00
wanyaoqi
f9490b5c56 host session use internal endpoint 2020-04-01 19:59:58 +08:00
Qiu Jian
faa507b3ad feature: keystone lock user returns ErrTooManyAttempts 2020-04-01 19:50:25 +08:00
Zexi Li
ff73856573 Merge pull request #5653 from swordqiu/hotfix/qj-allow-list-cloudprovider-by-default
fix: allow list cloudprovider by default
2020-04-01 18:13:30 +08:00
Yousong Zhou
e27638f8c2 proxysetting: validate create/update data 2020-04-01 18:11:54 +08:00
Yousong Zhou
54e2aee119 apis: proxy: add input validation 2020-04-01 18:11:54 +08:00
Yousong Zhou
43acd28952 cloudproviders: provide proxysetting id, name 2020-04-01 18:11:54 +08:00
Yousong Zhou
73fca07287 cloudaccount: provide proxysetting details 2020-04-01 18:11:53 +08:00
Yousong Zhou
aa36903031 proxysetting: forbid deletion of DIRECT setting 2020-04-01 18:11:53 +08:00
Zexi Li
ffdaa413f3 Merge pull request #5648 from swordqiu/hotfix/qj-cancel-quota-no-save-usage
fix: cancel pending usage might not need to update usage
2020-04-01 18:05:41 +08:00
Qiu Jian
ae7cf00283 fix: allow list cloudprovider by default 2020-04-01 17:28:07 +08:00
Qiu Jian
fbb5b9f07f fix: cancel pending usage might not need to update usage 2020-04-01 16:42:32 +08:00
Zexi Li
b074f4f121 Merge pull request #5646 from ioito/hotfix/qx-bucket-status
修复: 默认存在的bucket状态为ready
2020-04-01 16:41:19 +08:00
Qu Xuan
8a6c8b9d5f 修复: 默认存在的bucket状态为ready 2020-04-01 15:17:06 +08:00
Zexi Li
96615f6eaa Merge pull request #5644 from zexi/feature/alert-pause
monitor: add paused api
2020-04-01 13:45:39 +08:00
Zexi Li
395f2af41d monitor: add paused api 2020-04-01 13:18:37 +08:00
Zexi Li
edd328d4ac Merge pull request #5634 from yousong/bugfix/yousong-multicloud-proxyfunc
cloudcommon: proxysetting: make it infra resource
2020-04-01 10:24:13 +08:00
Zexi Li
a7a18b74e5 Merge pull request #5640 from swordqiu/hotfix/qj-apigateway-upgrade-cause-restart
fix: changes to request_work_count cause apigateway restart
2020-04-01 10:23:18 +08:00
Qiu Jian
81242c1025 fix: changes to request_work_count cause apigateway restart 2020-04-01 10:16:03 +08:00
Zexi Li
d877e4d09b Merge pull request #5632 from zexi/feature/monitor-alert-params
monitor: support support extra params in alertnotification joint object
2020-03-31 18:36:01 +08:00
Yousong Zhou
b22e77b1f4 cloudcommon: proxysetting: make it infra resource 2020-03-31 18:22:18 +08:00
Zexi Li
1db65092ef monitor: support support extra params in alertnotification joint object 2020-03-31 17:54:44 +08:00
Zexi Li
4a796f066a Merge pull request #5629 from zexi/feature/monitor-config-helper
monitor: add alert config helper
2020-03-31 16:45:38 +08:00
Zexi Li
6016eee0c6 Merge pull request #5624 from wanyaoqi/feature/wyq/guest-detach-networks
misc bugfix
2020-03-31 16:24:36 +08:00
Zexi Li
56976a8b0d monitor: add alert config helper 2020-03-31 16:17:12 +08:00
yunion-ci-robot
967203d7cb Merge pull request #5623 from swordqiu/hotfix/qj-worker-channel-blocking
fix: worker may block by worker_chan
2020-03-31 10:01:14 +08:00
wanyaoqi
4c63739221 vm online detach network 2020-03-30 21:26:10 +08:00
wanyaoqi
5f3b4e6198 - add check disk is enable delete
- vm enable detach network on running state
- add menu on boot from iso
- misc fix
2020-03-30 21:17:18 +08:00
Zexi Li
1f5bf13ba1 Merge pull request #5590 from ioito/feature/qx-public-cloud-quota
fix: 支持同步云平台配额信息
2020-03-30 20:02:54 +08:00
Zexi Li
88ffe53ce8 Merge pull request #5615 from swordqiu/hotfix/qj-service-config-change-detection
fix: refine service-config change detection
2020-03-30 20:02:26 +08:00
Zexi Li
7f54e1f04b Merge pull request #5614 from swordqiu/feature/qj-reorgnize-cloudcommon-policy
feature: recode cloudcommon policy default/resource codes
2020-03-30 20:00:59 +08:00
Qiu Jian
09bc348c66 feature: recode cloudcommon policy default/resource codes 2020-03-30 19:35:55 +08:00
Qiu Jian
c29f4011e6 fix: worker may block by worker_chan 2020-03-30 19:25:00 +08:00
Zexi Li
6d31c95b71 Merge pull request #5616 from swordqiu/hotfix/qj-increase-apigateway-default-worker-count
fix: increase apigateway default worker count to 32
2020-03-30 19:22:33 +08:00
yunion-ci-robot
39e9bec655 Merge pull request #5619 from swordqiu/hotfix/qj-webconsole-api-server-option-common
feature: make webconsole's api_server option common
2020-03-30 17:08:44 +08:00
Qiu Jian
3b5d34ccd8 fix: refine service-config change detection 2020-03-30 16:03:21 +08:00
Qiu Jian
5e6070d809 feature: make webconsole's api_server option common 2020-03-30 15:29:58 +08:00
yunion-ci-robot
d8ca68b35e Merge pull request #5617 from zexi/feature/docker-image-region-dns
action: add region dns image
2020-03-30 15:09:42 +08:00
Zexi Li
14c1f1e5bd action: add region dns image 2020-03-30 14:49:03 +08:00
Qu Xuan
8723164a1d fix: 支持同步云平台配额信息 2020-03-30 10:24:05 +08:00
Qiu Jian
26bd5a2487 fix: increase apigateway default worker count to 32 2020-03-30 09:39:29 +08:00
Zexi Li
b5455ece19 Merge pull request #5613 from swordqiu/hotfix/qj-capability-domain-filter-update
fix: capability domain filter should be updated for domainized system resources
2020-03-29 12:35:21 +08:00
Qiu Jian
904ce90586 fix: capability domain filter should be updated for domainized system
resources
2020-03-28 11:05:51 +08:00
yunion-ci-robot
d239f99282 Merge pull request #5600 from ioito/hotfix/qx-guest-enhance
fix: 支持publicip to eip转换
2020-03-28 10:35:38 +08:00
Zexi Li
f5a2f5458b Merge pull request #5606 from yousong/bugfix/yousong-lbagent-systemd
region: lbagent: move systemd service unit file to system dir
2020-03-28 10:29:10 +08:00
yunion-ci-robot
ab9b32e734 Merge pull request #5605 from ioito/hotfix/qx-capability-optimized
fix: 简化capability 接口中storage数据
2020-03-28 09:49:39 +08:00
yunion-ci-robot
acaa70c7e8 Merge pull request #5608 from swordqiu/hotfix/qj-add-loadbalancer-cluster-default-list
fix: allow list loadbalancer cluster by default
2020-03-28 09:09:38 +08:00
Qiu Jian
944c90fcff fix: allow list loadbalancer cluster by default 2020-03-28 08:53:59 +08:00
Qu Xuan
7f47e88267 fix: 实现设置自动续费功能 2020-03-27 19:30:06 +08:00
Yousong Zhou
5c2b91b9fa region: lbagent: move systemd service unit file to system dir 2020-03-27 15:30:42 +08:00
Qu Xuan
c7c52041a5 fix: 支持publicip to eip转换 2020-03-27 15:22:40 +08:00
yunion-ci-robot
39b5dadab4 Merge pull request #5587 from swordqiu/feature/qj-system-resource-domainize
Feature/qj system resource domainize
2020-03-27 14:50:36 +08:00
Qu Xuan
d742b25de9 fix: 简化capability 接口中storage数据 2020-03-27 11:20:00 +08:00
Qiu Jian
d663fcea78 fix: auto gen api error 2020-03-27 01:20:31 +08:00
Qiu Jian
2536686a95 fix: update generated model api 2020-03-27 01:20:31 +08:00
Qiu Jian
859177c85e fix: replace deprecated fields 2020-03-27 01:20:30 +08:00
Qiu Jian
329edbae22 minor fixes 2020-03-27 01:20:30 +08:00
Qiu Jian
d0e4cec332 update vendor 2020-03-27 01:20:30 +08:00
Qiu Jian
8b1b6b94f9 fix: update cloudaccount update proxy setting 2020-03-27 01:20:30 +08:00
Qiu Jian
a687d49181 fix: add scheduler support 2020-03-27 01:20:30 +08:00
Qiu Jian
193ca8e4ac fix: hide host prepare fail reason 2020-03-27 01:20:30 +08:00
Qiu Jian
258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian
7072f80442 fix: account share_mode bugs 2020-03-27 01:20:29 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
yunion-ci-robot
50ea3b8eda Merge pull request #5599 from ioito/hotfix/qx-account-detail
fix: 避免cloud-provider-show brand返回异常
2020-03-26 22:46:36 +08:00
Zexi Li
545d021ce7 Merge pull request #5601 from ioito/hotfix/qx-gcp-prepaid-not-support
fix: 修正gcp不支持预付费资源
2020-03-26 20:32:59 +08:00
Qu Xuan
8a87f86199 fix: 修正gcp不支持预付费资源 2020-03-26 20:00:02 +08:00
Zexi Li
77280b0810 Merge pull request #5575 from ioito/hotfix/qx-rds-sku-filter
fix: rds sku 支持zone过滤
2020-03-26 17:37:25 +08:00
Qu Xuan
f96605f7a9 fix: 避免cloud-provider-show brand返回异常 2020-03-26 16:34:18 +08:00
Zexi Li
29238189a1 Merge pull request #5589 from bistuzx/feature/bill_tasks
add bill tasks
2020-03-26 10:40:49 +08:00
Zexi Li
8188200aec Merge pull request #5588 from yousong/bugfix/yousong-multicloud-proxyfunc
Bugfix/yousong multicloud proxyfunc
2020-03-26 10:34:26 +08:00
张旭
476144f346 add bill task example 2020-03-25 17:15:32 +08:00
张旭
8663387be5 add bill tasks 2020-03-25 15:54:16 +08:00
Yousong Zhou
df25370799 climc: add cloud-account-update-google 2020-03-25 12:30:11 +08:00
Yousong Zhou
a378c94b27 cloudaccounts: fix checking update data 2020-03-25 12:01:04 +08:00
Yousong Zhou
a39bc093ba mcclient: cloudaccounts: allow updating proxysetting 2020-03-25 11:59:05 +08:00
Zexi Li
84083c300b Merge pull request #5554 from yousong/feature/yousong-multicloud-proxyfunc
Feature/yousong multicloud proxyfunc
2020-03-25 11:12:05 +08:00
yunion-ci-robot
af929fe349 Merge pull request #5585 from ioito/hotfix/qx-lb-manager-id
fxi: 修复lb 有些有vpc_id为空的问题
2020-03-24 22:59:33 +08:00
yunion-ci-robot
e0b1b19d6b Merge pull request #5560 from ioito/hotfix/qx-metdata-update
fix: 避免update标签失效问题
2020-03-24 21:14:33 +08:00
Qu Xuan
b0537773cd fxi: 修复lb 有些有vpc_id为空的问题 2020-03-24 20:53:52 +08:00
Qu Xuan
391018c8b4 fix: 避免update标签失效问题 2020-03-24 10:28:45 +08:00
Zexi Li
20810d4fab Merge pull request #5581 from yousong/bugfix/yousong-httperrors
httperrors: fix passing "params" argument
2020-03-23 21:13:59 +08:00
Yousong Zhou
a6b8477785 httperrors: fix passing "params" argument 2020-03-23 16:40:31 +08:00
Yousong Zhou
1d5d2276d6 webconsole: typo fix accessable -> accessible 2020-03-23 16:35:04 +08:00
Zexi Li
f7a5dd2032 Merge pull request #5561 from ioito/hotfix/qx-sync-status
fix: 统一后端同步状态字段-> sync_status
2020-03-23 11:26:57 +08:00
Qu Xuan
8f3d0cee00 fix: 统一后端同步状态字段-> sync_status 2020-03-23 10:59:54 +08:00
Zexi Li
2b6dc9d4ff Merge pull request #5569 from yousong/bugfix/yousong-build
build: cache-aware docker-xxx-build
2020-03-23 10:52:22 +08:00
Zexi Li
979407decd Merge pull request #5577 from zexi/feature/k8s-csi-storageclass
climc: k8s storageclass support
2020-03-23 10:48:10 +08:00
Zexi Li
77b11af608 climc: k8s storageclass support 2020-03-23 10:36:31 +08:00
Zexi Li
d3746bb6ca Merge pull request #5576 from yousong/bugfix/yousong-pr-template
.github: 添加pr检查点checklist
2020-03-23 10:24:28 +08:00
Yousong Zhou
7cf7960b4a .github: 添加pr检查点checklist 2020-03-23 10:23:00 +08:00
Zexi Li
3c81f6749a Merge pull request #5564 from ioito/hotfix/qx-metadata-list-optimized
fix: 优化标签列表查询速度
2020-03-23 09:42:51 +08:00
Zexi Li
031b3caa7e Merge pull request #5553 from ioito/hotfix/qx-storage-capability
fix: capability接口返回storage详情
2020-03-23 09:42:13 +08:00
Yousong Zhou
64001045c3 mcclient: add proxysettings manager 2020-03-22 19:36:46 +08:00
Yousong Zhou
d7d16a1f37 cloudevent: use cloudprovider proxysetting 2020-03-22 19:36:46 +08:00
Yousong Zhou
67fc22fc13 cloudproviders: show proxysettings in details 2020-03-22 19:36:46 +08:00
Yousong Zhou
342dfdcfba region: refer to proxySetting 2020-03-22 19:36:46 +08:00
Yousong Zhou
19b46891f0 cloudcommon: proxysetting: referrerMen 2020-03-22 19:36:45 +08:00
Yousong Zhou
881f0fb6dd cloudevent: add proxy.ProxySettingManager 2020-03-22 19:36:45 +08:00
Yousong Zhou
a310005f16 s3gateway: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
7d9cc08f40 region: add cloudaccount.ProxySettingId 2020-03-22 19:36:45 +08:00
Yousong Zhou
6ac9e64ebb cloudprovider: add TestProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
e30840dd42 objectstore: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
03987e8f78 objectstore: use ObjectStoreClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
4dca8bf4c9 esxi: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
10e08c1c46 esxi: use ESXiClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
ac5847a992 openstack: use cpcfg.ProxyFunc 2020-03-22 19:36:45 +08:00
Yousong Zhou
583f770fcd mcclient: add SetHttpTransportProxyFunc() 2020-03-22 19:36:45 +08:00
Yousong Zhou
0ff96ace44 openstack: use OpenstackClientConfig 2020-03-22 19:36:45 +08:00
Yousong Zhou
a3f9e185ac zstack: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
fb54124eff zstack: use ZstackClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
c496092faa zstack: remove sessionID field 2020-03-22 19:36:44 +08:00
Yousong Zhou
ce34f4b370 ucloud: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
bd228b2e5b ucloud: use UcloudClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
e277ed65ad qcloud: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
cd24b380ae qcloud: use QcloudClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
c6e90f32ff vendor: update github.com/tencentcloud/tencentcloud-sdk-go 2020-03-22 19:36:44 +08:00
Yousong Zhou
d5e664edf5 huawei: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
b59208b24e huawei: client: add SBaseManager.SetHttpClient() 2020-03-22 19:36:44 +08:00
Yousong Zhou
604b58204e huawei: use HuaweiClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
41deb33849 azure: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
56b707b669 azure: use AzureClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
da0b043317 aws: use cpcfg.ProxyFunc 2020-03-22 19:36:44 +08:00
Yousong Zhou
e96cebbd71 aws: use AwsClientConfig 2020-03-22 19:36:44 +08:00
Yousong Zhou
97cce7ca04 ctyun: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
9ab4043088 ctyun: use CtyunClientConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
b3bd866239 google: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
554e2e88dc google: use GoogleClientConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
ce0e9dd689 aliyun: use cpcfg.ProxyFunc 2020-03-22 19:36:43 +08:00
Yousong Zhou
361cbd7454 aliyun clientcfg 2020-03-22 19:36:43 +08:00
Yousong Zhou
55eb57fd60 httputils: add SetClientProxyFunc(client, proxyFunc) 2020-03-22 19:36:43 +08:00
Yousong Zhou
944e57e572 cloudprovider: use ProviderConfig 2020-03-22 19:36:43 +08:00
Yousong Zhou
1e08ef5441 cloudcommon: add ProxySetting 2020-03-22 19:36:43 +08:00
Yousong Zhou
b425cd7194 cloudproviders: fix getting account details 2020-03-22 18:12:24 +08:00
Qu Xuan
21f7e66bb9 fix: rds sku 支持zone过滤 2020-03-20 20:56:18 +08:00
Zexi Li
6ef40ae0b1 Merge pull request #5567 from tb365/bugfix/tb-ctyun-bugfix-0318
ctyun bugfix
2020-03-20 19:39:45 +08:00
Zexi Li
f24f4864f1 Merge pull request #5571 from wanyaoqi/hotfix/wyq/guest-add-metadata-cpu-mode
guest add metadata cpu mode
2020-03-20 19:38:24 +08:00
yunion-ci-robot
4ccc2d5564 Merge pull request #5478 from ioito/feature/qx-gcp-rds
feature: gcp rds sync
2020-03-20 18:31:21 +08:00
Qu Xuan
3b0a437a12 feature: gcp rds sync 2020-03-20 18:05:57 +08:00
wanyaoqi
f4d86b4fb2 guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:04:46 +08:00
Zexi Li
2bb601f3ce Merge pull request #5563 from rainzm/fix/list_notification
fix & feat(notify): Notification and template
2020-03-20 14:44:44 +08:00
Yousong Zhou
68861d9711 scripts: remove host_find_libraries.sh
Not needed after we switch to using native alpine image
2020-03-20 14:40:59 +08:00
Yousong Zhou
8a4c20c088 build: cache-aware docker-xxx-build 2020-03-20 14:40:59 +08:00
tangbin
afcfdce7dc ctyun bugfix 2020-03-20 10:26:26 +08:00
yunion-ci-robot
64698288ec Merge pull request #5565 from ioito/bugfix/qx-secgroup-rule-list
fix: 修复secgrouprule-list 500错误
2020-03-19 20:04:19 +08:00
Qu Xuan
28b838e00f fix: 优化标签列表查询速度 2020-03-19 19:50:44 +08:00
Qu Xuan
4ea96848cb fix: 修复secgrouprule-list 500错误 2020-03-19 19:11:52 +08:00
Rain
5fdf9846f7 feat: Unified template 2020-03-19 15:57:48 +08:00
Rain
006ac48d6e fix(notify): Compatible with changes about list in schema 2020-03-19 14:23:58 +08:00
Zexi Li
78688a8ba2 Merge pull request #5550 from tb365/feature/tb-policy-AppendDefaultPolicies
auth policy append default policies
2020-03-19 10:08:49 +08:00
Zexi Li
bb3f66065a Merge pull request #5555 from rainzm/feat/notify_v1.0.0
feat(notify): Compatibility and repair
2020-03-19 10:03:34 +08:00
yunion-ci-robot
d982b2d2f5 Merge pull request #5490 from ioito/hotfix/qx-check-create-data
fix: class action 统一使用keywords包裹
2020-03-19 08:44:20 +08:00
Rain
0cb0ba6f1b feat(notify): Compatibility and repair 2020-03-18 20:51:20 +08:00
Zexi Li
0c995ce925 Merge pull request #5535 from ioito/hotfix/qx-unified-syncstatus
unified syncstatus action
2020-03-18 20:12:50 +08:00
Qu Xuan
4fbb12b527 fix: capability接口返回storage详情 2020-03-18 20:01:51 +08:00
Qu Xuan
691ecc3a9a unified syncstatus action 2020-03-18 16:30:20 +08:00
TangBin
a93358a932 get spec return jsonclient err 2020-03-18 15:46:58 +08:00
Zexi Li
f03993286c Merge pull request #5552 from swordqiu/hotfix/qj-order-by-not-effective
fix: list order by not effective
2020-03-18 13:48:44 +08:00
TangBin
a1e3ea9095 auth policy append default policies 2020-03-18 12:02:31 +08:00
Qiu Jian
300f399f43 fix: list order by not effective 2020-03-18 11:21:44 +08:00
Zexi Li
98af93bea3 Merge pull request #5545 from swordqiu/hotfix/qj-policy-fetch-not-retry
fix: policy fetcher not retry after initial failure
2020-03-18 10:52:44 +08:00
Qu Xuan
8b468e3ad3 fix: class action 统一使用keywords包裹 2020-03-17 18:43:11 +08:00
yunion-ci-robot
0d7ad9e175 Merge pull request #5540 from ioito/hotfix/qx-account-delete
fix: 修复删除账号失败问题
2020-03-17 18:39:15 +08:00
Qiu Jian
e915d7d55b fix: policy fetcher not retry after initial failure 2020-03-17 18:27:17 +08:00
yunion-ci-robot
f82a4d20c1 Merge pull request #5543 from ioito/hotfix/qx-extra-detail
fix: 避免dbinstance_sku.get 异常
2020-03-17 17:20:20 +08:00
Qu Xuan
4f5d78b392 fix: 避免dbinstance_sku.get 异常 2020-03-17 16:22:59 +08:00
Zexi Li
783c3cd09f Merge pull request #5541 from zexi/hotfix/monitor-alert-disable
monitor: fix meteralert update status
2020-03-17 14:59:11 +08:00
Zexi Li
1db89913cf monitor: fix meteralert update status 2020-03-17 14:43:59 +08:00
Qu Xuan
aad83ec565 fix: 修复删除账号失败问题 2020-03-17 11:58:05 +08:00
yunion-ci-robot
ae1557626d Merge pull request #5529 from ioito/hotfix/qx-guest-rebuild-root
fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:19:14 +08:00
yunion-ci-robot
4dd4a0391d Merge pull request #5536 from ioito/hotfix/qx-gcp-storage-info
fix: 修复谷歌云 cloud-provider-clirc 显示错误问题
2020-03-17 08:11:14 +08:00
Qu Xuan
824d50d1b0 fix: 修复谷歌云 cloud-provider-clirc 显示错误问题 2020-03-16 20:08:27 +08:00
yunion-ci-robot
12a29acb7b Merge pull request #5452 from ioito/hotfix/qx-rds-sku-sync-optimized
fix: 优化rds sku同步逻辑
2020-03-16 15:18:14 +08:00
yunion-ci-robot
99cbd18b81 Merge pull request #5534 from swordqiu/hotfix/qj-list-get-field-filter-not-working
fix: list/get field filter not working properly
2020-03-16 13:46:14 +08:00
Qiu Jian
284f68b48f fix: list/get field filter not working properly 2020-03-16 13:29:34 +08:00
Zexi Li
eff67b5e27 Merge pull request #5517 from swordqiu/hotfix/qj-storage-details-missing-capacity
fix: storage details missing capacity fields since 3.1
2020-03-16 13:00:47 +08:00
Zexi Li
4d06232da1 Merge pull request #5506 from swordqiu/hotfix/qj-cloud-provider-usable-filter-recode
fix: recode cloudprovider usable filter
2020-03-16 12:59:50 +08:00
Zexi Li
a31d4fc266 Merge pull request #5483 from yousong/feature/yousong-multi-instances
cloudcommon: elect support
2020-03-16 12:59:20 +08:00
Zexi Li
8488f50e65 Merge pull request #5496 from zhaoxiangchun/feature/zxc-all
vmware 宿主机监控信息获取
2020-03-16 12:57:21 +08:00
Zexi Li
b9fea28dad Merge pull request #5505 from swordqiu/feature/qj-cloud-provider-region-capability
feature: capability of a cloudprovider in a region
2020-03-16 12:57:09 +08:00
Qu Xuan
36b2c2267b fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:26:37 +08:00
yunion-ci-robot
e032ebfe52 Merge pull request #5528 from yousong/bugfix/yousong-log-go1.14
gomod: update yunion.io/x/log and refresh vendor
2020-03-16 11:11:12 +08:00
Yousong Zhou
f5f3f4f916 gomod: update yunion.io/x/log and refresh vendor
The code change for yunion.io/x/{pkg.sqlchemy} is a remedy for
yunionio/onecloud#5402
2020-03-16 10:49:44 +08:00
yunion-ci-robot
70c0bdd044 Merge pull request #5519 from ioito/bugfix/qx-secgroup-rule-update
fix: 避免未传递prority参数导致校验未通过
2020-03-16 01:10:08 +08:00
Qu Xuan
effa0ac4e7 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:11:11 +08:00
Qiu Jian
e1ad22ec3a fix: storage details missing capacity fields since 3.1 2020-03-14 22:24:37 +08:00
Zexi Li
bce6ad8e9a Merge pull request #5516 from rainzm/feat/feishu_webhook
feat: Add SendWebhookRobotMessage for feishu driver
2020-03-14 20:45:27 +08:00
Rain
8918664f2e feat: Add SendWebhookRobotMessage for feishu driver 2020-03-14 19:21:42 +08:00
yunion-ci-robot
fc55cfb96f Merge pull request #5511 from zexi/bugfix/scheduler-disk-assign
scheduler: fix disk allocated not balanced
2020-03-14 17:50:05 +08:00
Zexi Li
ae557d217d Merge pull request #5498 from swordqiu/hotfix/qj-keystone-file-list-support-array
fix: keystone resources list filter should support array
2020-03-14 16:52:59 +08:00
Zexi Li
4f3d7c2c32 scheduler: fix disk allocated not balanced 2020-03-14 16:39:26 +08:00
Qiu Jian
866f5ef4ae fix: recode cloudprovider usable filter 2020-03-14 09:00:56 +08:00
Qiu Jian
ea73f5a9a4 feature: capability of a cloudprovider in a region 2020-03-14 01:35:27 +08:00
Zexi Li
9a3edfc6bf Merge pull request #5501 from zexi/hotfix/check-is-authed
auth: check isAuthed if nil
2020-03-13 19:18:05 +08:00
Zexi Li
c6be259900 auth: check isAuthed if nil 2020-03-13 19:03:53 +08:00
Qiu Jian
569f1b204d fix: keystone resources list filter should support array 2020-03-13 17:19:16 +08:00
yunion-ci-robot
e5ed2aaf10 Merge pull request #5454 from rainzm/fix/subimage_createdat
fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:33:01 +08:00
Yousong Zhou
be5322d530 region: start cronman with electObj 2020-03-13 15:15:36 +08:00
Yousong Zhou
0f7ff65a46 cronman: add Start2() for working with electObj 2020-03-13 15:15:36 +08:00
Yousong Zhou
1d8fa1a1f2 cronman: use context for start, stop 2020-03-13 15:15:36 +08:00
zhaoxiangchun
b0981354de vmware 宿主机监控信息获取 2020-03-13 15:02:13 +08:00
Zexi Li
35f750705f Merge pull request #5402 from swordqiu/feature/qj-metadata-cleanup
Feature/qj metadata cleanup
2020-03-13 13:41:21 +08:00
yunion-ci-robot
0d1e41a99d Merge pull request #5484 from wanyaoqi/bugfix/wyq/downloadhandler-not-set-timeout
bugfix:download handler set no timeout
2020-03-13 13:22:17 +08:00
Qiu Jian
e11ceb4c4b feature: allow list/export/sort/distict metadata 2020-03-13 13:12:45 +08:00
Zexi Li
4fa1001792 Merge pull request #5479 from rainzm/fix/scheduler_provider
fix(scheduler): Candidater's CloudProvider maybe nil
2020-03-13 11:28:25 +08:00
Zexi Li
6fb6a1faa4 Merge pull request #5480 from rainzm/fix/vmware_vlan_range
fix(esxi): VlanID '1' is default value
2020-03-13 11:11:05 +08:00
wanyaoqi
8ca4ecada3 download handler set no timeout 2020-03-13 11:01:30 +08:00
Zexi Li
fc94e90e58 Merge pull request #5472 from zhaoxiangchun/bugfix/zxc-meteralart
修复meteralartbug
2020-03-13 00:43:57 +08:00
Yousong Zhou
48a0bb420b cloudcommon: elect support 2020-03-13 00:20:16 +08:00
yunion-ci-robot
05d7efa5b6 Merge pull request #5463 from swordqiu/hotfix/qj-fix-region-list-filters3
feature: fix region list filters
2020-03-12 21:11:17 +08:00
Qiu Jian
3c9b368c43 feature: fix region list filters round 3 2020-03-12 20:55:22 +08:00
Rain
258a03e138 fix(esxi): VlanID '1' is default value 2020-03-12 20:55:12 +08:00
Rain
84f3798322 fix(scheduler): Candidater's CloudProvider maybe nil
Candidater(Host) in Provider Onecloud doesn't have CloudProvider.
2020-03-12 20:17:46 +08:00
yunion-ci-robot
b8df371c17 Merge pull request #5458 from zexi/feature/k8s-baremetal-host-convert
region: baremetal convert host join as k8s node
2020-03-12 19:47:15 +08:00
Rain
e185bf9d7e fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:25:28 +08:00
Yousong Zhou
20f3c775d7 cloudcommon: reword help text for IsSlaveNode 2020-03-12 18:55:58 +08:00
Yousong Zhou
411bff8301 cloudcommon: remove default value for etcd lock prefix 2020-03-12 18:55:58 +08:00
Yousong Zhou
487b7e189b cloudcommon: options: add constants for lock method 2020-03-12 18:55:58 +08:00
yunion-ci-robot
79cf558a13 Merge pull request #5457 from ioito/hotfix/qx-cloudaccount-test-connectivity
hotfix: 支持更新云账号密码时测试账号连通性
2020-03-12 18:08:16 +08:00
yunion-ci-robot
12c6576ef6 Merge pull request #5470 from wanyaoqi/wyq/bugfix/region-misc-fix200311
region misc fix
2020-03-12 17:31:18 +08:00
zhaoxiangchun
10d0066a61 修复meteralartbug
1.设置消费日提醒时,提示名称重复。
2.查询信息时MeterAlertDetails的一些字段没有回显。
2020-03-12 16:50:29 +08:00
wanyaoqi
72f165985d region misc fix 2020-03-12 16:46:37 +08:00
Zexi Li
643a3c7e4b Merge pull request #5459 from bistuzx/master
add bucket connection test
2020-03-12 16:17:54 +08:00
Zexi Li
cf61b1eb41 region: baremetal convert host join as k8s node 2020-03-12 16:14:43 +08:00
Zexi Li
e88a520aa5 Merge pull request #5464 from rainzm/feat/vendor_update
feat: Update Vendor
2020-03-12 11:49:49 +08:00
Rain
dfdfe1e872 feat: Update Vendor 2020-03-12 11:38:25 +08:00
张旭
8f69e245b2 change climc bucket options import 2020-03-12 10:44:23 +08:00
yunion-ci-robot
eed8441013 Merge pull request #5444 from rainzm/fix/esxi_disk
fix(esxi): UnitNumber 7 is unavailable for scsi controller
2020-03-12 02:51:03 +08:00
yunion-ci-robot
f2b312e83a Merge pull request #5439 from rainzm/fix/esxi_network_vlan
fix(esxi): Fix bugs when using network with vlanID
2020-03-12 02:46:02 +08:00
yunion-ci-robot
5a0769f83d Merge pull request #5455 from wanyaoqi/bugfix/wyq/fix-host-storage-outpu
bugfix :fix structure host storage output: storagecache_id
2020-03-12 02:44:00 +08:00
张旭
677737215e add bucket connection test 2020-03-11 21:04:20 +08:00
Qu Xuan
b47ee82112 hotfix: 支持更新云账号密码时测试账号连通性 2020-03-11 18:38:16 +08:00
wanyaoqi
41ddd6c452 fix structure host storage output: storagecache_id 2020-03-11 18:03:36 +08:00
Rain
31f623dd30 fix(esxi): UnitNumber 7 is unavailable for scsi controller
By default, the virtual SCSI controller is assigned to virtual device node (z:7),
so that device node is unavailable for hard disks or other devices.
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5872D173-A076-42FE-8D0B-9DB0EB0E7362.html
2020-03-11 17:33:35 +08:00
yunion-ci-robot
0a4171bd6a Merge pull request #5453 from rainzm/fix/format_5433
fix: Resolve format issues caused by pr#5443
2020-03-11 17:26:01 +08:00
Rain
6dda9d8a3f fix: Resolve format issues caused by pr#5433 2020-03-11 17:09:26 +08:00
Qu Xuan
d5a691ffe3 fix: 优化rds sku同步逻辑 2020-03-11 16:49:18 +08:00
Zexi Li
f7be83aa23 Merge pull request #5447 from zexi/hotfix/host-storage-update-enabled
region: host update storage set enabled
2020-03-11 15:58:58 +08:00
Zexi Li
fd6ea93cb0 region: host update storage set enabled 2020-03-11 15:56:38 +08:00
Zexi Li
4ba4e636f6 Merge pull request #5442 from zexi/hotfix/baremetal-zone-not-updated
baremetal: zone_id not been updated
2020-03-11 14:37:23 +08:00
Zexi Li
eb8ccf66f7 Merge pull request #5443 from swordqiu/hotfix/qj-fix-region-list-filters2
fix region list filters round 2
2020-03-11 14:37:03 +08:00
Zexi Li
854dd25aaa baremetal: zone_id not been updated 2020-03-11 14:28:47 +08:00
Rain
7db5ae4d16 fix(esxi): Fix bugs when using network with vlanID 2020-03-11 10:56:50 +08:00
Zexi Li
2a2c0a558f Merge pull request #5435 from yousong/bugfix/yousong-build
build: github: build region, host, host-deployer images first
2020-03-10 18:51:43 +08:00
yunion-ci-robot
c1ef2fdc4d Merge pull request #5437 from zexi/feature/climc-ssh-terminal
climc: add server and host ssh terminal util
2020-03-10 18:50:58 +08:00
yunion-ci-robot
0b742b9b11 Merge pull request #5436 from swordqiu/hotfix/qj-remove-manager-cloudregion-id
fix: sql query errors for missing manager_id and cloudregion_id
2020-03-10 18:25:58 +08:00
Qiu Jian
1169dfe24c fix region list filters round 2 2020-03-10 18:23:45 +08:00
Zexi Li
49725a3af2 climc: add server and host ssh terminal util 2020-03-10 18:19:09 +08:00
Qiu Jian
79b6def3c3 fix: sql query errors for missing manager_id and cloudregion_id 2020-03-10 18:01:58 +08:00
Yousong Zhou
3e8e20dc5f build: github: build region, host, host-deployer images first 2020-03-10 16:38:52 +08:00
yunion-ci-robot
a9e9666989 Merge pull request #5434 from swordqiu/hotfix/qj-get-details-zero-numbers
fix: resource details contains zero numbers
2020-03-10 16:00:58 +08:00
Qiu Jian
550a1674ca fix: resource details contains zero numbers 2020-03-10 15:40:56 +08:00
yunion-ci-robot
3d37f3e5d9 Merge pull request #5433 from swordqiu/hotfix/qj-fix-region-list-filters
fix: fix region list fitlers, round 1
2020-03-10 14:45:59 +08:00
Zexi Li
1786c02e82 Merge pull request #5419 from swordqiu/hotfix/qj-fail-to-find-esxi-host-access-ip
fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:44:53 +08:00
yunion-ci-robot
d777f510f6 Merge pull request #5429 from ioito/bugfix/qx-cloud-sku-sync
fix: typo for sku sync
2020-03-10 11:13:59 +08:00
yunion-ci-robot
df8200a400 Merge pull request #5424 from rainzm/fix/esxi_account
fix(esxi): Add two account with same account name
2020-03-10 11:02:00 +08:00
yunion-ci-robot
0868741842 Merge pull request #5413 from ioito/hotfix/qx-rds-sku-detail
fix: rds sku 返回region name
2020-03-10 10:42:57 +08:00
yunion-ci-robot
d5e1c6ff3a Merge pull request #5281 from ioito/hotfix/qx-gcp-os-sync
Hotfix/qx gcp os sync
2020-03-10 10:31:57 +08:00
Qiu Jian
da4dd2333a fix format 2020-03-10 09:44:43 +08:00
Qiu Jian
f127e258b4 fix: fix region list fitlers, round 1 2020-03-10 03:26:01 +08:00
Qu Xuan
0a47c90d89 fix: typo for sku sync 2020-03-09 19:57:37 +08:00
Rain
396f997cf4 fix(esxi): Add two account with same account name 2020-03-09 17:51:24 +08:00
Qiu Jian
fe93b90745 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 15:44:19 +08:00
Zexi Li
f0481b747c Merge pull request #5414 from zexi/feature/opslog-notes-text
opslog: notes use text column
2020-03-09 12:36:10 +08:00
Zexi Li
947fb13acc Merge pull request #5403 from swordqiu/hotfix/qj-cloud-provider-perform-enable-should-enable-account
fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:15 +08:00
Zexi Li
e5106a9db1 opslog: notes use text column 2020-03-09 12:29:47 +08:00
Qu Xuan
ddbaba6f1a fix: rds sku 返回region name 2020-03-09 12:07:43 +08:00
Zexi Li
284c777db4 Merge pull request #5412 from swordqiu/hotfix/qj-adjust-two-options-default
fix: two default option changes: 1. do not convert vhd by default 2.sync purge server by default
2020-03-09 09:30:58 +08:00
Zexi Li
6ec5304436 Merge pull request #5398 from swordqiu/hotfix/qj-not-check-domain-quota-if-non-default-domain-project-off
fix: not check domain quota if non_default_domain_project is off
2020-03-09 09:29:55 +08:00
Zexi Li
af6d44aead Merge pull request #5411 from swordqiu/hotfix/qj-missing-keystone-glance-list-filter
fix: complete keystone/glance list filter
2020-03-09 09:29:20 +08:00
Zexi Li
ab4947d687 Merge pull request #5408 from swordqiu/feature/qj-climc-image-add-vim
feature: climc docker image add vim
2020-03-09 09:27:41 +08:00
Qiu Jian
fa9349c191 fix import group format error 2020-03-09 01:38:25 +08:00
Qiu Jian
63f5d40208 fix: two default option changes: 1. do not convert vhd by default 2.
sync purge server by default
2020-03-09 01:32:27 +08:00
Qiu Jian
57933d2497 fix: complete keystone/glance list filter 2020-03-09 01:20:25 +08:00
Qiu Jian
e0aae90d58 feature: climc docker image add vim 2020-03-08 22:44:25 +08:00
Qiu Jian
9bfca626b7 fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 15:50:06 +08:00
Qiu Jian
3a34543e4f fix: not check domain quota if non_default_domain_project is off 2020-03-07 18:08:38 +08:00
Zexi Li
ecc0679eb1 Merge pull request #5365 from swordqiu/hotfix/qj-monitor-details
fix: implements details and list for monitor service
2020-03-07 15:52:09 +08:00
Zexi Li
ff4d99012d Merge pull request #5392 from swordqiu/hotfix/qj-scoped-resource-miss-fetch-owner
fix: scoped resource should override FetchOwnerId
2020-03-07 15:50:55 +08:00
Qiu Jian
6b183bac94 fix: scoped resource should override FetchOwnerId 2020-03-07 15:35:35 +08:00
Zexi Li
27027b498d Merge pull request #5388 from swordqiu/hotfix/qj-keystone-prefer-internal-endpoint-type
fix: keystone prefers internal endpoint type
2020-03-06 22:22:41 +08:00
Zexi Li
af9bcd23ac Merge pull request #5387 from swordqiu/hotfix/qj-service-filter-by-type
fix: add keystone service type filter
2020-03-06 22:22:10 +08:00
Qiu Jian
1b5456944b fix: keystone prefers internal endpoint type 2020-03-06 21:41:52 +08:00
Qiu Jian
e68bbf6fb9 fix: add keystone service type filter 2020-03-06 21:37:03 +08:00
Zexi Li
cf4d2e3374 Merge pull request #5335 from swordqiu/hotfix/qj-fix-details-list-recode-bugs
fix: 1. image header details should skip "properties" field 2.cloudprovider details nil pointer panic
2020-03-06 19:57:36 +08:00
Zexi Li
4917f11bfd Merge pull request #5358 from swordqiu/hotfix/qj-update-status-eventlog
fix: corrent update status logclient event type
2020-03-06 19:57:16 +08:00
yunion-ci-robot
60b74247a3 Merge pull request #5378 from rainzm/fix/usercache
fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
2020-03-06 18:42:50 +08:00
Zexi Li
fad6cbcb30 Merge pull request #5372 from swordqiu/hotfix/qj-no-scope-schedtag-visible-to-all
fix: no scope shcedtag should be visible to all
2020-03-06 18:32:14 +08:00
yunion-ci-robot
f387c6c37b Merge pull request #5379 from tb365/bugfix/tb-bugfix-0306
Bugfix/tb bugfix 0306
2020-03-06 18:10:50 +08:00
Rain
f8642421de fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
1. Query 'scope=system' and 'system=true' is neccessary when fetching all users
   or groups from Keystone.
   Without these, users and groups in other domains (non-caller domains),
   as well as system-level users, cannot be detected.
2. Query 'scope=system' is neccessary when fetching all project from Keystone.
2020-03-06 17:10:58 +08:00
TangBin
b7b2807fbd ctyun region name fix 2020-03-06 16:46:03 +08:00
TangBin
1096edad61 huawei reset password bugfix 2020-03-06 16:20:22 +08:00
Zexi Li
6fe428832a Merge pull request #5361 from swordqiu/hotfix/qj-adjust-user-list-privilege-level
fix: allow project do user-list, group-list, returns current project user and group
2020-03-06 13:03:18 +08:00
Zexi Li
ab83c71cdb Merge pull request #5366 from rainzm/fix/notify_resend
fix/notify: Fix the resend mechanism
2020-03-06 12:45:55 +08:00
yunion-ci-robot
061e974503 Merge pull request #5363 from wanyaoqi/bugfix/wyq/fix-postpaid-disk
bugfix: fix disk billing type on guest is postpaid
2020-03-06 12:29:50 +08:00
Rain
22bf66642d fix/notify: Fix the resend mechanism 2020-03-06 11:09:41 +08:00
Qiu Jian
4b311a8264 fix: implements details and list for monitor service 2020-03-06 00:53:20 +08:00
wanyaoqi
0631ad51f8 fix disk billing type on guest is postpaid 2020-03-05 20:32:03 +08:00
Qiu Jian
a9ed2da099 fix: allow project do user-list, group-list, returns current
project user and group
2020-03-05 20:06:38 +08:00
yunion-ci-robot
b2975c8bb4 Merge pull request #5359 from wanyaoqi/bugfix/wyq/network-list-filter-by-host
bugfix: enable network list filter by host show vpc networks
2020-03-05 20:00:49 +08:00
wanyaoqi
dfe1dc4324 enable network list filter by host show vpc networks 2020-03-05 19:31:26 +08:00
yunion-ci-robot
5eab1ce5ef Merge pull request #5353 from rainzm/feature/notify_feishu
feature(notify): Add query and return value for contact UPDATE interface
2020-03-05 19:03:51 +08:00
Qiu Jian
e344b1cc52 fix: corrent update status logclient event type 2020-03-05 17:53:15 +08:00
Qiu Jian
2fcf30109d fix: no scope shcedtag should be visible to all 2020-03-05 17:43:26 +08:00
Rain
f876aed69f feature(notify): Add query and return value for contact UPDATE interface
1. Add same return value with contact GET interface when updating
2. Add pull params for query to pull subcontact by mobile number.
   For example, pull user_id from dingtalk throught user's mobile
   number.
3. Add corresponding feature based on above for climc.
4. UserCache will try FetchByName if there is no id matched user when
   fetching users from KeyStone.
2020-03-05 17:01:29 +08:00
Zexi Li
9ed9de4f91 Merge pull request #5330 from rainzm/feature/feishu_single_user
feat: Add useridByMobile and accessToken cache for feishu
2020-03-05 14:17:41 +08:00
yunion-ci-robot
29658849d3 Merge pull request #5351 from swordqiu/hotfix/qj-turn-on-default-column-filter
fix: turn on default column filter ONLY if query variable starts with @
2020-03-05 14:11:16 +08:00
Rain
3dd84620c3 feat: Add useridByMobile and accessToken cache for feishu 2020-03-05 14:10:22 +08:00
Zexi Li
f283ad3d02 Merge pull request #5342 from swordqiu/hotfix/qj-update-auto-gen-api-struct
fix: update auto-gent struct field json name
2020-03-05 14:07:33 +08:00
Qiu Jian
a32afca7df fix: turn on default column filter ONLY if query variable starts with @ 2020-03-05 12:18:55 +08:00
yunion-ci-robot
1b407cc0c0 Merge pull request #5349 from zexi/feature/monitor-service
monitor: fix alert update not work
2020-03-04 22:49:14 +08:00
Zexi Li
9d7b47aca1 monitor: fix alert update not work 2020-03-04 21:16:19 +08:00
Qiu Jian
748641ec83 autogen structs add commentlines 2020-03-04 21:15:12 +08:00
yunion-ci-robot
af85309c80 Merge pull request #5343 from ioito/hotfix/qx-aws-rds-sync
fix: 支持aws rds sync
2020-03-04 20:49:13 +08:00
Qiu Jian
9b5f0b02e9 fix: update auto-gent struct field json name 2020-03-04 20:47:00 +08:00
yunion-ci-robot
0e50ec7bb2 Merge pull request #5333 from yousong/bugfix/yousong-host
hostman: default ovn options from environment
2020-03-04 20:17:08 +08:00
Qu Xuan
aac2b83945 fix: 支持aws rds sync 2020-03-04 20:09:19 +08:00
yunion-ci-robot
ece5524fb0 Merge pull request #5340 from zexi/feature/monitor-service
alert notification use joint model
2020-03-04 19:58:08 +08:00
Zexi Li
36e1f387dc Merge pull request #5331 from yousong/bugfix/yousong-build
build: docker-centos-build: run as root
2020-03-04 19:16:50 +08:00
Zexi Li
e9b0d828d7 Merge pull request #5336 from swordqiu/hotfix/qj-keystone-history-check-skip-system-account
fix: keystone user password history check should skip system account
2020-03-04 19:16:11 +08:00
Zexi Li
1b54766c9c alert notification use joint model 2020-03-04 19:12:48 +08:00
Qiu Jian
75a8981bf1 fix: 1. image header details should skip "properties" field 2.
cloudprovider details nil pointer panic
2020-03-04 18:58:07 +08:00
Qiu Jian
0ca6b0175a fix: keystone user password history check should skip system account 2020-03-04 18:34:46 +08:00
Yousong Zhou
1b5672fde7 hostman: default ovn options from environment 2020-03-04 16:42:06 +08:00
Yousong Zhou
67f0da7534 build: docker-centos-build: run as root
so that output file ownership can be properly changed

The Dockerfile was moved to a separate repo for maintenance
2020-03-04 15:04:12 +08:00
yunion-ci-robot
1401cfd032 Merge pull request #5289 from swordqiu/feature/qj-recode-details-list-struct
Feature/qj recode details list struct
2020-03-04 14:52:04 +08:00
Qiu Jian
cf5498ac24 feature: recode structuralized GetExtraDetails and ListItemFilter 2020-03-04 14:01:25 +08:00
Zexi Li
c81a004878 Merge pull request #5328 from zexi/hotfix/uncomment-docker-push
fix: docker_push uncomment build bin
2020-03-03 16:15:37 +08:00
Zexi Li
37691e616d fix: docker_push uncomment build bin 2020-03-03 16:14:57 +08:00
Qu Xuan
c2a65ba1f5 add uploadpart for google 2020-03-03 14:36:11 +08:00
Qu Xuan
9287468153 fix: 谷歌云对象存储支持 2020-03-03 14:36:11 +08:00
Zexi Li
76059e8d51 Merge pull request #5324 from swordqiu/hotfix/qj-clean-upload-object-region-quota
fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:08 +08:00
yunion-ci-robot
4668ce625a Merge pull request #5315 from ioito/hotfix/qx-rds-sync
fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:18:43 +08:00
Qiu Jian
90620503da fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:08:55 +08:00
yunion-ci-robot
e42b4588a6 Merge pull request #5322 from zexi/feature/monitor-service
add monitor service
2020-03-02 20:50:43 +08:00
Zexi Li
5645e4e15a add monitor service 2020-03-02 20:00:08 +08:00
yunion-ci-robot
bbf23e2a55 Merge pull request #5320 from yousong/bugfix/yousong-build
build: docker: chown _output dir to current user:group
2020-03-02 17:47:38 +08:00
Yousong Zhou
7ef61f0b93 build: docker: chown _output dir to current user:group 2020-03-02 17:33:57 +08:00
Qu Xuan
0ee6febfe8 fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:07:46 +08:00
Zexi Li
37d991be4b Merge pull request #5297 from swordqiu/hotfix/qj-fix-approve-all-linux
fix: approve_all fail to pull all cherry-pick PRs
2020-03-02 09:37:46 +08:00
Zexi Li
9fe96537ed Merge pull request #5312 from wanyaoqi/bugfix/wyq/fix-bm-register
fix bm register get remote address
2020-02-28 23:57:10 +08:00
wanyaoqi
aea493c29a fix get remote address because of request is proxyed by k8s 2020-02-28 22:16:52 +08:00
yunion-ci-robot
fcda35dc71 Merge pull request #5268 from zhaoxiangchun/feature/zxc-gcpMon
谷歌云multicloud监控
2020-02-28 22:10:30 +08:00
yunion-ci-robot
7b63c63722 Merge pull request #5307 from ioito/hotfix/qx-aliyun-permission
修复aliyun没有权限获取余额问题
2020-02-28 21:57:22 +08:00
yunion-ci-robot
150ecff786 Merge pull request #5305 from yousong/feature/yousong-vpcagent
build: github: build vpcagent image
2020-02-28 21:47:20 +08:00
yunion-ci-robot
c6d6a725eb Merge pull request #5286 from wanyaoqi/bugfix/wyq/host-register-use-default-vpc
host register use default vpc
2020-02-28 21:32:20 +08:00
yunion-ci-robot
c2fba0a8b3 Merge pull request #5255 from wanyaoqi/bugfix/wyq/fix-nic-get-addr
fix nic get addr on attach multi isolated device
2020-02-28 21:03:19 +08:00
Qu Xuan
1eac67abce 修复aliyun没有权限获取余额问题 2020-02-28 19:54:33 +08:00
wanyaoqi
87f7ca81d7 host register use default vpc 2020-02-28 18:36:21 +08:00
Yousong Zhou
c41cd012ff hostman: disable services on host system when running in container 2020-02-28 18:17:45 +08:00
Yousong Zhou
472e4a1602 build: github: build vpcagent image 2020-02-28 17:28:44 +08:00
Zexi Li
0ab02b6446 Merge pull request #5303 from yousong/feature/yousong-vpcagent
build: github: add back ceph devel deps for baremetal-agent
2020-02-28 16:13:10 +08:00
Yousong Zhou
0b06e970b1 build: github: add back ceph devel deps for baremetal-agent 2020-02-28 16:09:01 +08:00
yunion-ci-robot
3fefcea828 Merge pull request #5301 from yousong/feature/yousong-vpcagent
build: github: build host with docker-alpine-build
2020-02-28 15:51:20 +08:00
Yousong Zhou
5670e2401b build: github: build host with docker-alpine-build 2020-02-28 15:26:30 +08:00
Yousong Zhou
6ef4eb9954 build: add docker-alpine-build 2020-02-28 15:26:30 +08:00
Yousong Zhou
f6d172da46 build: rename docker-build to docker-centos-build 2020-02-28 15:23:27 +08:00
zhaoxiangchun
d25a6443c2 谷歌云multicloud监控
monitor.go文件中GetMonitorData函数:
 1)首先组装参数信息
 2)通过external_id获取相关id信息,根据restAPI文档中的resource格式拼装完成monitoring相关的resource信息
 3)然后通过monitorList函数获取相关的监控信息

更新go.mod google.golang.org所依赖的google.golang.org/api版本
2020-02-28 15:01:06 +08:00
yunion-ci-robot
a5dc5b0e90 Merge pull request #5295 from tb365/bugfix/tb-bugfix-0228
vpc list add param vpc_usable
2020-02-28 14:17:21 +08:00
yunion-ci-robot
eac4dcdba4 Merge pull request #5290 from ioito/hotfix/qx-azure-region-city
添加azure region city信息
2020-02-28 13:11:19 +08:00
Zexi Li
d734da1988 Merge pull request #5266 from yousong/feature/yousong-vpcagent
vpcagent: as k8s container
2020-02-28 11:57:34 +08:00
Qu Xuan
f9def6c196 添加azure region city信息 2020-02-28 11:35:46 +08:00
TangBin
48a28a6adb vpc list add param vpc_usable 2020-02-28 11:34:49 +08:00
yunion-ci-robot
b2317f07d0 Merge pull request #5275 from ioito/hotfix/qx-gcp-change-config
fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置
2020-02-28 09:33:19 +08:00
Qiu Jian
bb8107c129 fix: approve_all fail to pull all cherry-pick PRs 2020-02-27 22:30:20 +08:00
wanyaoqi
ae84c339d9 fix nic get pci address 2020-02-27 22:19:42 +08:00
yunion-ci-robot
0a25dfef7a Merge pull request #5277 from ioito/hotfix/qx-gcp-region-trans
fix: 新加gcp region 翻译
2020-02-27 22:05:17 +08:00
yunion-ci-robot
98854ed37b Merge pull request #5269 from tb365/bugfix/tb-bugfix-0227
huawei secgroup default vpc id fix
2020-02-27 20:52:16 +08:00
yunion-ci-robot
dcf3709b42 Merge pull request #5282 from yousong/bugfix/yousong-winbuild
vendor: bump pkg, executor module version
2020-02-27 20:08:17 +08:00
Yousong Zhou
c4397e572d build: host: adjust build method
- new host-base for native alpine utilities
 - build host with native alpine toolchain
2020-02-27 20:00:00 +08:00
Yousong Zhou
a9c4a10ac2 build: build vpcagent container 2020-02-27 20:00:00 +08:00
Yousong Zhou
bc89e8ab67 hostman: use "uname -m" for for fetch processor type
"uname -p" command from native busybox, coreutils may return "unknown".
CentOS coreutils has a patch fallback to using uts.machine if sysinfo
syscall is not available

Use "uname -m" for maximum compatibility
2020-02-27 20:00:00 +08:00
Yousong Zhou
694dab1e75 hostman: work with ovn-controller already in container 2020-02-27 20:00:00 +08:00
Yousong Zhou
7b41ac0fb2 sysutils: use remote executor for hostnamectl as far as possible
So that hostnamectl can be omitted in host-base container image
2020-02-27 20:00:00 +08:00
Yousong Zhou
7506f3f1ed vpcagent: resolve ovn db address at args validation time
Until we find a reliable way to get k8s svc dns name
2020-02-27 20:00:00 +08:00
Yousong Zhou
d6dca0d846 hostman: resolve ovn db address before setting it into ovsdb 2020-02-27 19:59:43 +08:00
Yousong Zhou
095a6b3f8b ovsutils: add NormalizeDbHost 2020-02-27 19:59:43 +08:00
Yousong Zhou
4d1e1ed6a4 vendor: bump pkg, executor module version 2020-02-27 19:39:38 +08:00
Qu Xuan
25ebd367d4 fix: 新加gcp region 翻译 2020-02-27 18:53:32 +08:00
TangBin
439d2a316e huawei secgroup default vpc id fix 2020-02-27 17:49:21 +08:00
Qu Xuan
e46609bebc fix: 谷歌云建议关机下调整配置,部分linux开机也调整不了配置 2020-02-27 16:51:35 +08:00
yunion-ci-robot
d4417f8027 Merge pull request #5261 from tb365/bugfix/tb-bugfix-0226
ctyun get vm by id fix
2020-02-27 07:18:13 +08:00
yunion-ci-robot
a2aa1c84f5 Merge pull request #5263 from rainzm/bugfix/esxi_publickey
fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-27 07:11:14 +08:00
yunion-ci-robot
d9b0f2b1e9 Merge pull request #5260 from yousong/bugfix/yousong-winbuild
[RFC] Bugfix/yousong winbuild
2020-02-27 01:13:16 +08:00
yunion-ci-robot
562f6b6e8a Merge pull request #5238 from wanyaoqi/bugfix/wyq/fix-host-init-set-reserve-memory
miscfix : host init set reserve memory
2020-02-26 23:00:15 +08:00
yunion-ci-robot
86fd8959ca Merge pull request #5236 from tb365/bugfix/tb-bugfix-0224
huawei & ctyun security group sync fix
2020-02-26 21:03:18 +08:00
wanyaoqi
4eceefdb04 makesure /etc/ceph created before connect 2020-02-26 20:42:04 +08:00
Rain
769143ca26 fix(esxiagent): SSHKey was not unmarshalled correctly 2020-02-26 20:09:38 +08:00
TangBin
bce284a4c4 ctyun vpc create fix 2020-02-26 17:36:52 +08:00
TangBin
5140a0f7a6 ctyun eip charge type fix 2020-02-26 16:31:29 +08:00
yunion-ci-robot
50b846ef5a Merge pull request #5231 from ioito/hotfix/qx-disk-reset-log
fix: 添加磁盘回滚snapshot日志
2020-02-26 15:55:14 +08:00
TangBin
5c3ba45f4d ctyun attach disk fix 2020-02-26 14:41:03 +08:00
Yousong Zhou
1fd6db15d6 build: set GOOS=linux by default 2020-02-26 11:36:48 +08:00
Yousong Zhou
f3558f7b91 appsrv: use signalutils.SetDumpStackSignal() 2020-02-26 11:36:48 +08:00
Yousong Zhou
1e283efa78 fileutils: platform specific Writable() 2020-02-26 11:36:48 +08:00
Yousong Zhou
0127b3872e procutils: exec.Cmd setsid only for linux 2020-02-26 11:36:48 +08:00
Yousong Zhou
02de12ae5b vendor: executor: add platform specific constructor for WaitStatus 2020-02-26 11:36:48 +08:00
Yousong Zhou
c41bf6f104 vendor: pkg: signalutils: add platform specific SetDumpStackSignal() 2020-02-26 11:36:48 +08:00
TangBin
c08f35b9f8 ctyun get vm by id fix 2020-02-26 11:16:42 +08:00
Zexi Li
7d2e410503 Merge pull request #5252 from swordqiu/hotfix/qj-global-endpoint-type
fix: use globalEndpointType as default endpoint type
2020-02-26 10:37:25 +08:00
yunion-ci-robot
c779ca3fd9 Merge pull request #5242 from ioito/bugfix/qx-openstack-flavor-sync
fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-25 21:12:10 +08:00
yunion-ci-robot
e13a47ade7 Merge pull request #5247 from ioito/hotfix/qx-azure-change-config-error
fix: 返回azure api 错误信息
2020-02-25 20:57:12 +08:00
Qiu Jian
abfac074c3 fix: use globalEndpointType as default endpoint type 2020-02-25 20:27:59 +08:00
Qu Xuan
6e1b5ceae7 fix: 返回azure api 错误信息 2020-02-25 19:30:37 +08:00
Qu Xuan
336819c802 fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:36:19 +08:00
TangBin
667a9985de huawei & ctyun security group sync fix 2020-02-24 20:07:03 +08:00
wanyaoqi
7863fc7f8a fix host register get network filter: add server_type baremetal 2020-02-24 16:36:44 +08:00
wanyaoqi
f5a0aaa8f0 fix guest network get desc 2020-02-24 16:00:55 +08:00
Qu Xuan
6b1e929a49 fix: 添加磁盘回滚snapshot日志 2020-02-24 15:58:07 +08:00
yunion-ci-robot
28249f615c Merge pull request #5186 from rainzm/feature/notify_validate
feature(notify): Validate config
2020-02-24 14:37:07 +08:00
yunion-ci-robot
8824457ab8 Merge pull request #5226 from yousong/bugfix/yousong-lbbackend-details
lbbackend: fix nil ref when getting details
2020-02-24 14:33:08 +08:00
Rain
a81004254f feature(notify): Validate config 2020-02-24 14:09:18 +08:00
wanyaoqi
914062d765 fix host init set reserve memory 2020-02-24 13:02:50 +08:00
Yousong Zhou
aad7dddabb lbbackend: fix nil ref when getting details
Return arguments of lbbackend.getVpc() can be both nil

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

Fixes 76d974f6d ("feature: api -> response struct")
2020-02-24 10:22:56 +08:00
yunion-ci-robot
c056778290 Merge pull request #5224 from tb365/bugfix/tb-bugfix-0221
network query by ip fix
2020-02-23 18:51:02 +08:00
yunion-ci-robot
f769129780 Merge pull request #5222 from wanyaoqi/bugfix/wyq/misc-20200220
region misc fix:
2020-02-21 23:36:59 +08:00
TangBin
1b72c387d1 network query by ip fix 2020-02-21 18:53:20 +08:00
wanyaoqi
981222867f region misc fix:
- guest postpaid expire support set expire time
- list instance snapshot sub snapshot return size
2020-02-21 17:17:30 +08:00
Zexi Li
dac8452cc9 Merge pull request #5217 from rainzm/bugfix/host_storage_size
fix: Storage filter not work for Esxi
2020-02-21 16:44:13 +08:00
yunion-ci-robot
0f6ccc126c Merge pull request #5199 from tb365/bugfix/tb-bugfix-0220
Bugfix/tb bugfix 0220
2020-02-21 15:52:35 +08:00
yunion-ci-robot
6a5bc9fbdf Merge pull request #5196 from ioito/hotfix/qx-gcp-win-change-config
fix: gcp win os not support change config when vm running
2020-02-21 15:44:33 +08:00
Rain
2262cb0123 fix: Storage filter not work for Esxi
1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
2020-02-21 15:03:08 +08:00
yunion-ci-robot
9a623e2d93 Merge pull request #5213 from ioito/hotfix/qx-gcp-trans
fix: 添加gcp region中文翻译
2020-02-20 21:13:32 +08:00
yunion-ci-robot
909bc80d37 Merge pull request #5198 from ioito/hotfix/qx-azure-longitude-fix
fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 20:57:32 +08:00
yunion-ci-robot
26d1b8a9f1 Merge pull request #5208 from swordqiu/hotfix/qj-reset-limit-default-2048
fix: reset paging limit to 2048 from 20
2020-02-20 20:01:28 +08:00
Qu Xuan
1829b87c33 fix: 添加gcp region中文翻译 2020-02-20 17:37:00 +08:00
yunion-ci-robot
7c16abcc8b Merge pull request #5191 from ioito/hotfix/qx-aliyun-new-region
fix: add aliyun new region info
2020-02-20 16:14:29 +08:00
yunion-ci-robot
d66469a4ca Merge pull request #5187 from ioito/hotfix/qx-gcp-disk-format
fix: 填充gcp disk_format字段
2020-02-20 15:26:28 +08:00
Qiu Jian
b8b1740366 fix: reset paging limit to 2048 from 20 2020-02-20 15:16:01 +08:00
Qu Xuan
53c976ae11 fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:54:05 +08:00
TangBin
e022bf52c1 huawei cloud create bugfix 2020-02-20 14:47:15 +08:00
TangBin
b2a0fba5ac cloud region city list add default limit 2048 2020-02-20 14:14:32 +08:00
Qu Xuan
2015dc4764 fix: gcp win os not support change config when vm running 2020-02-20 11:57:03 +08:00
Qu Xuan
d8460a321f fix: add aliyun new region info 2020-02-20 11:04:22 +08:00
Qu Xuan
f026980f96 fix: 填充gcp disk_format字段 2020-02-20 10:44:26 +08:00
yunion-ci-robot
d64a36c96a Merge pull request #5181 from tb365/bugfix/tb-bugfix-0219
Bugfix/tb bugfix 0219
2020-02-19 19:17:26 +08:00
tangbin
b24c48a8c2 huawei http listener sync fix 2020-02-19 18:45:03 +08:00
tangbin
619cc17dd4 aws rebuild root fix 2020-02-19 18:18:19 +08:00
yunion-ci-robot
eefe71add4 Merge pull request #5178 from rainzm/bugfix/create_disk_for_vmware
fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
2020-02-19 17:49:26 +08:00
tangbin
1b86d6300a aws listener sync fix 2020-02-19 17:09:53 +08:00
Rain
df3b77b764 fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
parascsi 是 vmware 中一种高性能的 scsi 控制器。

在此之前,scsi 只包括 "lsilogic", "lsilogicsas", "buslogic"; 而别名为 pvscsi
的 parascsi 没有被包含进来;并且,一个 pci controller只能挂一个 scsi controller,
这会导致如果在一个拥有 pvscsi 的机器上添加普通scsi驱动类型的磁盘,就会替换驱动;
反之亦然。这会导致驱动的 key 不是我们指定的key,并且在添加磁盘的时候替换驱动的
类型有些随意。再者,我们的驱动类型的选择其实并没有暴露给前端。

所以,在寻找相应的controller时,将 parascsi 也纳入 scsi 类型。
尽量避免在创建磁盘的时候做硬件的改动,所以在创建磁盘的时候不区分 scsi
还是 pvscsi,如果两种 controller 均没有,就按照请求的类型创建一个。

此外,在 CloneVM 的时候,如果支持,优先使用 parascsi。
2020-02-19 16:35:15 +08:00
yunion-ci-robot
c0eb4d1e29 Merge pull request #5145 from tb365/bugfix/tb-elb-bugfix-0114
qcloud elb sync
2020-02-19 16:03:27 +08:00
Yousong Zhou
893f336a55 Merge pull request #5173 from swordqiu/hotfix/qj-sync-provider-with-account-status-change
fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:30 +08:00
yunion-ci-robot
231c124caf Merge pull request #5097 from rainzm/feature/create_vm_by_provider
feature: Specify cloud provider when creating vm
2020-02-19 14:49:26 +08:00
yunion-ci-robot
17f8e2a69a Merge pull request #5162 from tb365/bugfix/tb-bugfix-0218
huawei elb backend vpc validate fix
2020-02-19 13:34:26 +08:00
yunion-ci-robot
d82bd40601 Merge pull request #5167 from ioito/hotfix/qx-openstack-port-sync
fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:34:28 +08:00
yunion-ci-robot
692a4481e1 Merge pull request #5159 from yousong/bugfix/yousong-lbagent
region: lbagent: deploy: use 'public' endpoint type
2020-02-19 12:03:26 +08:00
Qiu Jian
aafec107fb fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 11:44:24 +08:00
yunion-ci-robot
1e328ab028 Merge pull request #5156 from swordqiu/hotfix/qj-add-climc-helper-scripts
fix: add climc helper scripts into docker images
2020-02-19 02:40:26 +08:00
Zexi Li
8b17168154 Merge pull request #5151 from swordqiu/hotfix/qj-adjust-some-default
fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20
2020-02-19 02:29:30 +08:00
Yousong Zhou
65a99551c2 lbagent: fix config for sticky session cookie
- account for user specific cookie name for insert mode
 - dont tamper cache instructions from backend server for server mode
2020-02-18 20:54:12 +08:00
Yousong Zhou
8090a3fab4 region: lbagent: deploy: use 'public' endpoint type 2020-02-18 20:54:12 +08:00
Qu Xuan
082fe1e764 fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:36:20 +08:00
yunion-ci-robot
b621135c35 Merge pull request #5138 from ioito/hotfix/qx-guest-filter
fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:38:40 +08:00
tangbin
4d79b9612e huawei elb backend vpc validate fix 2020-02-18 14:11:37 +08:00
yunion-ci-robot
86cc07162c Merge pull request #5132 from zhaoxiangchun/feature/zxc-zstackMon
zstack监控功能
2020-02-18 12:05:40 +08:00
Rain
5170778767 feature: Specify cloud provider when creating vm
Specifying the eip is equivalent to specifying the cloudprovider when
creating vm.
2020-02-18 11:33:13 +08:00
zhaoxiangchun
6a54c88d29 gencopyright信息 2020-02-18 11:32:21 +08:00
zhaoxiangchun
288670c1b7 zstack监控功能
monitor.go中GetMonitorData函数通过传入的参数拼装请求参数,然后调用zstack.go中的getMonitor(),通过GET请求,获取相应的指标监控数据
2020-02-18 11:32:21 +08:00
Qiu Jian
d4c557b64d fix: add climc helper scripts into docker images 2020-02-18 10:14:51 +08:00
yunion-ci-robot
ee65ebd77d Merge pull request #5136 from yousong/bugfix/yousong-ocvpc-del
regiondrivers: kvm: dummy impl for RequestDeleteVpc
2020-02-18 09:44:39 +08:00
yunion-ci-robot
7eafebd63b Merge pull request #5143 from wanyaoqi/bugfix/wyq/misc-fix-200217
misc bugfix: check scsi driver on add disk
2020-02-18 09:39:38 +08:00
Qiu Jian
e9ce04699b fix: 1. adjust default response header timer to 30 seconds 2. set
default paging limit to 20
2020-02-18 08:52:23 +08:00
yunion-ci-robot
5035ff7338 Merge pull request #5130 from tb365/bugfix/tb-bugfix-021501
Bugfix/tb bugfix 021501
2020-02-18 08:14:38 +08:00
TangBin
18cad47a00 qcloud elb sync 2020-02-17 22:15:08 +08:00
wanyaoqi
9daf86778d check scsi driver on add disk 2020-02-17 21:57:15 +08:00
yunion-ci-robot
dfaadc0999 Merge pull request #5128 from tb365/bugfix/tb-bugfix-0215
huawei userdata fix
2020-02-17 21:52:37 +08:00
Qu Xuan
cb0ff34740 fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:50:02 +08:00
Yousong Zhou
4dbea204a8 regiondrivers: kvm: dummy impl for RequestDeleteVpc
Regression since 4a6a4c594a ("feature:
google云操作支持")

	Feb 17 15:53:12 titan-10-168-222-196 region[20940]: [I 200217 15:53:12 appsrv.(*Application).ServeHTTP(appsrv.go:237)] Ao9tyX8XY4DXa3tBiUyXgPm_ipc= 200 f7a73c DELETE /vpcs/vpc1 (10.168.222.196:46354) 723.91ms
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [E 200217 15:53:13 tasks.(*VpcDeleteTask).taskFailed(vpc_delete_task.go:41)] vpc delete task fail: RequestDeleteVpc: Not implement RequestDeleteVpc
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [I 200217 15:53:13 taskman.(*STask).SetStageFailed(tasks.go:636)] XXX TASK VpcDeleteTask failed: RequestDeleteVpc: Not implement RequestDeleteVpc on stage OnDeleteVpcComplete
	Feb 17 15:53:13 titan-10-168-222-196 region[20940]: [I 200217 15:53:13 taskman.(*STask).NotifyParentTaskComplete(tasks.go:648)] notify_parent_task_complete: VpcDeleteTask params {"__failed_reason":"RequestDeleteVpc: Not implement RequestDeleteVpc","__request_context":{"request_id":"f7a73c","service_name":"compute_v2","trace":{"debug":true,"duration":0,"id":"0","kind":"SERVER","local_endpoint":{"port":0,"service_name":"compute_v2"},"name":"delete","remote_endpoint":{"addr":"10.168.222.196","port":46354,"service_name":"(unknown_service)"},"shared":false,"tags":{"resource":"vpcs"},"timestamp":"2020-02-17T07:53:12.052219Z","trace_id":"5cf3e014"}},"__stages":[{"complete_at":"2020-02-17T15:53:12Z","name":"on_init"},{"complete_at":"2020-02-17T15:53:13Z","name":"OnDeleteVpcComplete"}]}
2020-02-17 16:18:59 +08:00
tangbin
137712ffa3 ctyun custom image create bugfix 2020-02-15 17:29:48 +08:00
tangbin
5f2beae099 ctyun sync fix 2020-02-15 16:55:30 +08:00
tangbin
8174145cd2 huawei sync fix 2020-02-15 15:51:08 +08:00
tangbin
b7737c41d1 huawei userdata fix 2020-02-15 12:55:53 +08:00
yunion-ci-robot
22745cfbf5 Merge pull request #5126 from ioito/hotfix/qx-metdata-detail
fix: 添加host标签返回值
2020-02-15 07:57:05 +08:00
yunion-ci-robot
28a5c76611 Merge pull request #5115 from tb365/bugfix/tb-bugfix-0213
aws userdata bugfix
2020-02-15 00:01:07 +08:00
Qu Xuan
f8694ea0c0 fix: 添加host标签返回值 2020-02-14 20:45:30 +08:00
tangbin
9b489c260f aws userdata bugfix 2020-02-14 19:34:55 +08:00
yunion-ci-robot
a117f1d748 Merge pull request #5124 from ioito/bugfix/qx-guest-detail
fix: disks_info typo
2020-02-14 18:21:06 +08:00
Qu Xuan
6bd97ef144 fix: disks_info typo 2020-02-14 17:50:25 +08:00
yunion-ci-robot
b3628c78fd Merge pull request #5121 from rainzm/bugfix/vmware_save_image
fix(esxiagent): Delete image backup file after saving to glance instead of before
2020-02-14 17:41:07 +08:00
Rain
df737c5559 fix(esxiagent): Delete image backup file after saving to glance instead of before 2020-02-14 17:15:32 +08:00
yunion-ci-robot
e862f1fb6a Merge pull request #5117 from ioito/hotfix/qx-gcp-region
fix: 谷歌新加region翻译
2020-02-14 15:39:04 +08:00
Qu Xuan
e1e21608b1 fix: 谷歌新加region翻译 2020-02-14 14:42:54 +08:00
yunion-ci-robot
e8c445f567 Merge pull request #5106 from rainzm/bugfix/template_init
fix(notify): Set some default template
2020-02-14 12:19:03 +08:00
yunion-ci-robot
27f65c37ab Merge pull request #5111 from zexi/feature/server-list-by-sn
region: server list by host sn
2020-02-14 12:06:04 +08:00
Zexi Li
53184acbce region: server list by host sn 2020-02-13 21:06:49 +08:00
Rain
0fe4f5ca1c fix(notify): Set some default template 2020-02-13 16:50:10 +08:00
yunion-ci-robot
1ee2038cc5 Merge pull request #5087 from rainzm/bugfix/esxi_storage_cache
fix(esxi): Create one if no suitable driver exists when creating disk
2020-02-13 14:36:04 +08:00
yunion-ci-robot
059c535c04 Merge pull request #5083 from tb365/bugfix/tb-bugfix-0211
Bugfix/tb bugfix 0211
2020-02-13 12:16:03 +08:00
tangbin
3642f9360d ctyun vm create fix 2020-02-13 11:43:28 +08:00
yunion-ci-robot
746c43e8d7 Merge pull request #5092 from bistuzx/master
update account bucket options
2020-02-13 03:47:01 +08:00
yunion-ci-robot
080b44229a Merge pull request #5085 from zexi/feature/webconsole-b64-encode
webconsole: use base64 encode connect_params
2020-02-12 22:13:01 +08:00
张旭
71f87ba109 update account bucket options 2020-02-12 18:03:23 +08:00
Rain
57f9dd38e6 fix(esxi): Create one if no suitable driver when creating disk 2020-02-12 15:23:03 +08:00
yunion-ci-robot
141bcc4d91 Merge pull request #5061 from zhaoxiangchun/feature/zxc-esxiMon
multicloud的vmware监控功能
2020-02-12 15:21:01 +08:00
Zexi Li
0b3ef91083 webconsole: use base64 encode connect_params 2020-02-12 11:42:52 +08:00
tangbin
e2ca8e4188 add more log 2020-02-11 20:09:36 +08:00
tangbin
cdba3af5e8 eip dissociate bugfixC 2020-02-11 19:23:19 +08:00
tangbin
73b4f028e0 fix create sys disk snapshot 2020-02-11 19:22:25 +08:00
yunion-ci-robot
c83becd67b Merge pull request #5081 from rainzm/bugfix/for_pr_4921
fix: Fix the bug introduced by pr #4921
2020-02-11 19:14:58 +08:00
yunion-ci-robot
0714781338 Merge pull request #5077 from ioito/bugfix/qx-gcp-rule-sync
fix: 修复gcp出方向规则同步问题
2020-02-11 17:38:02 +08:00
yunion-ci-robot
c848bae7c5 Merge pull request #5072 from ioito/hotfix/qx-metadata-rbac-check
fix: 忽略无权限的资源标签
2020-02-11 17:19:58 +08:00
Rain
762fcd90cf fix: Fix the bug introduced by pr #4921
1. The display problem of contact and notification in notify.
2. The display problem of snat's network info.
2020-02-11 16:49:36 +08:00
tangbin
bbc855c85e fix ctyun os version 2020-02-11 16:40:48 +08:00
zhaoxiangchun
07adad86ca multicloud的vmware监控功能
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:38:42 +08:00
Qu Xuan
1fb8a20a61 fix: 修复gcp出方向规则同步问题 2020-02-10 18:43:47 +08:00
Qu Xuan
685b27c020 fix: 忽略无权限的资源标签 2020-02-10 16:43:43 +08:00
Zexi Li
b463203902 Merge pull request #5050 from ioito/hotfix/qx-model-detail
统一 details -> isList
2020-02-10 11:12:21 +08:00
yunion-ci-robot
dcb89df2f8 Merge pull request #5052 from swordqiu/hotfix/qj-progressive-update-image-size
fix: progressively update image size while uploading
2020-02-10 10:33:59 +08:00
yunion-ci-robot
8974d4a742 Merge pull request #5065 from swordqiu/hotfix/qj-host-deployer-windows-empty-domain
fix: allow empty domain for windows deployment
2020-02-10 10:31:56 +08:00
Qiu Jian
4e474e9482 fix: progressively update image size while uploading 2020-02-10 09:28:45 +08:00
Qiu Jian
4cfc2da970 fix: allow empty domain for windows deployment 2020-02-10 09:19:10 +08:00
yunion-ci-robot
bc099768c9 Merge pull request #5054 from swordqiu/hotfix/qj-no-sync-created-at-for-servers
fix: createdAt should not be synced when update
2020-02-09 22:08:58 +08:00
Qiu Jian
558d4c2019 fix: createdAt should not be synced when update 2020-02-08 21:04:38 +08:00
Qu Xuan
366cbd4e36 统一 details -> isList 2020-02-07 17:54:48 +08:00
yunion-ci-robot
1aa17be179 Merge pull request #5048 from ioito/hotfix/qx-google-validate-create
fix: google e2不支持本地盘
2020-02-07 16:42:51 +08:00
Qu Xuan
9bd5f3a424 fix: google e2不支持本地盘 2020-02-07 16:05:40 +08:00
yunion-ci-robot
1d8990f7fa Merge pull request #5044 from ioito/hotfix/qx-guest-keypair
fix: guest创建兼容keypair参数
2020-02-07 15:59:52 +08:00
Qu Xuan
c93d16db59 fix: guest创建兼容keypair参数 2020-02-07 15:08:20 +08:00
Zexi Li
091e116c53 Merge pull request #5007 from swordqiu/feature/qj-customize-api-docs-auth-quota
feature: fix customized API documents for authenticate and quota
2020-02-07 13:11:09 +08:00
Zexi Li
3bba4a11e8 Merge pull request #5042 from wanyaoqi/feature/wyq/baremetal-register-add-update
bm register support update baremetal
2020-02-07 13:04:07 +08:00
Zexi Li
805d0bf18d Merge pull request #5026 from swordqiu/hotfix/qj-api-rpc-redundant-response
fix: api gateway rpc handler redundant response
2020-02-07 13:03:11 +08:00
yunion-ci-robot
978e1439d9 Merge pull request #5038 from ioito/hotfix/qx-cloud-account-create-check
fix: 避免因tenantcache未缓存tenant导致创建云账号失败
2020-02-07 04:53:51 +08:00
yunion-ci-robot
d064882903 Merge pull request #5032 from tb365/bugfix/tb-bugfix-0206
aws create with eip fix
2020-02-07 04:49:50 +08:00
wanyaoqi
49b9557d23 bm register support update baremetal 2020-02-06 22:22:38 +08:00
Qu Xuan
3d68e95a9f fix: 避免因tenantcache未缓存tenant导致创建云账号失败 2020-02-06 18:27:14 +08:00
yunion-ci-robot
fe49fcb016 Merge pull request #5029 from ioito/bugfix/qx-gcp-secgrp-sync
fix: 修复gcp安全组同步问题
2020-02-06 17:51:50 +08:00
tangbin
4dfeb6cb30 aws create with eip fix 2020-02-06 17:47:01 +08:00
Qu Xuan
5ec366f5fd fix: 修复gcp安全组同步问题 2020-02-06 17:01:45 +08:00
Qiu Jian
03f1d3cf33 fix: api gateway rpc handler redudant response 2020-02-06 16:57:47 +08:00
yunion-ci-robot
3bb24c8173 Merge pull request #5021 from ioito/upstream/qx-linux-userdata
fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:48:51 +08:00
Qu Xuan
8937347bc9 fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:00:14 +08:00
yunion-ci-robot
95cf064d44 Merge pull request #5014 from swordqiu/hotfix/qj-support-empty-dns-domain
fix: support empty dns domain
2020-02-06 09:38:48 +08:00
yunion-ci-robot
53c2fab0c1 Merge pull request #5012 from swordqiu/hotfix/qj-network-update-fix
fix: network update error caused by vpc feature
2020-02-06 09:33:48 +08:00
Qiu Jian
a30e0d4586 fix: support empty dns domain 2020-02-06 03:23:28 +08:00
Qiu Jian
679845080b fix: network update error caused by vpc feature 2020-02-06 03:07:52 +08:00
yunion-ci-robot
a79b0d81df Merge pull request #5010 from yousong/bugfix/yousong-vpc
vpcagent: ignore external stub guestnetworks
2020-02-06 01:49:53 +08:00
Qiu Jian
91711a1321 feature: fix customized API documents for authenticate and quota 2020-02-06 01:45:15 +08:00
Yousong Zhou
a18e246363 vpcagent: ignore external stub guestnetworks 2020-02-05 11:27:41 +08:00
yunion-ci-robot
98df377b4d Merge pull request #5008 from yousong/bugfix/yousong-vpc
hostman: fix hostinfo init interrupted by ovn chassis setup
2020-02-05 10:22:47 +08:00
Yousong Zhou
b40e0d9de7 hostman: fix hostinfo init interrupted by ovn chassis setup
Causing sysinfo.SSystemInfo not initialized

[E 200205 09:45:49 timeutils2.AddTimeout.func1.1(timeutils.go:31)] runtime error: invalid memory address or nil pointer dereference
goroutine 405 [running]:
runtime/debug.Stack(0x551210, 0xc0000de1c0, 0x0)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:24 +0x9d
runtime/debug.PrintStack()
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/debug/stack.go:16 +0x22
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1.1()
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:32 +0x96
panic(0x1b208e0, 0x3bd1880)
        /opt/hostedtoolcache/go/1.12.16/x64/src/runtime/panic.go:522 +0x1b5
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).updateHostRecord(0xc0009a8a80, 0xc000aff3b0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:866 +0xbba
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getHostInfo(0xc0009a8a80, 0xc00099a510, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:782 +0x37d
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).getZoneInfo(0xc0009a8a80, 0xc00099a4b0, 0x24, 0x0)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:760 +0x55c
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).onGetWireId(0xc0009a8a80, 0xc000aff2f0, 0x24)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:734 +0x16a
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).fetchAccessNetworkInfo(0xc0009a8a80)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:719 +0x3ee
yunion.io/x/onecloud/pkg/hostman/hostinfo.(*SHostInfo).register(...)
        /home/runner/work/onecloud/onecloud/pkg/hostman/hostinfo/hostinfo.go:662
yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout.func1(0x77359400, 0xc000925520)
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:37 +0x6b
created by yunion.io/x/onecloud/pkg/util/timeutils2.AddTimeout
        /home/runner/work/onecloud/onecloud/pkg/util/timeutils2/timeutils.go:28 +0x49
2020-02-05 10:06:33 +08:00
yunion-ci-robot
d6f6ce5251 Merge pull request #5005 from yousong/bugfix/yousong-vpc
hostman: skip setting up ovn chassis when env support is not ready
2020-02-05 02:14:45 +08:00
yunion-ci-robot
26fe4abe85 Merge pull request #4996 from zhaoxiangchun/feature/zxc-azureMon
azure的主机监控信息的获取
2020-02-05 01:50:49 +08:00
Yousong Zhou
0c258408e1 hostman: skip setting up ovn chassis when env support is not ready 2020-02-04 17:12:25 +08:00
Yousong Zhou
985326a7ad hostman: fix detection of ovn controller version 2020-02-04 17:12:25 +08:00
Zexi Li
7a0ea299b8 Merge pull request #4921 from ioito/feature/qx-extra-detail
Feature/qx extra detail
2020-02-04 15:55:44 +08:00
zhaoxiangchun
b474ee30de modify files by github comments 2020-02-04 10:23:09 +08:00
zhaoxiangchun
7adcab4c63 azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-03 21:18:03 +08:00
Qu Xuan
76d974f6d8 feature: api -> response struct 2020-02-03 10:22:44 +08:00
7507 changed files with 1121836 additions and 335288 deletions

View File

@@ -1,38 +0,0 @@
FROM centos:7
MAINTAINER Yousong Zhou <zhouyousong@yunion.cn>
RUN true \
&& yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum install -y git wget \
&& yum groupinstall -y "Development Tools" \
&& : ceph for cmd/host \
&& rpm --import 'https://download.ceph.com/keys/release.asc' \
&& yum install -y https://download.ceph.com/rpm-luminous/el7/noarch/ceph-release-1-1.el7.noarch.rpm \
&& yum install -y libcephfs-devel librbd-devel librados-devel \
&& yum clean all
WORKDIR /opt
RUN true \
&& wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz \
&& tar xzf go1.13.3.linux-amd64.tar.gz \
&& rm -vf go1.13.3.linux-amd64.tar.gz \
&& true
ENV GOROOT="/opt/go"
ENV PATH="/opt/go/bin:${PATH}"
RUN useradd -c "OneCloud Builder" --create-home --home-dir /home/build --shell /bin/bash build
ENV HOME /home/build
WORKDIR /home/build
USER build
ENV GOPATH="/home/build/go"
ENV PATH="${GOPATH}/bin:${PATH}"
RUN true \
&& mkdir -p "$GOPATH" \
&& d="$GOPATH/src/golang.org/x/tools" \
&& mkdir -p "$d" \
&& git clone --branch yun --depth 8 https://github.com/yousong/tools "$d" \
&& cd "$d" \
&& go install ./cmd/goimports \
&& true

View File

@@ -5,20 +5,20 @@ version: 2
jobs:
check:
docker:
- image: yunionio/onecloud-ci:v1.0.3
- image: yunionio/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /home/build/go/src/yunion.io/x/onecloud
working_directory: /root/go/src/yunion.io/x/onecloud
steps:
- checkout
- run:
command: |
make check
make -j3 check
build:
requires:
- check
docker:
- image: yunionio/onecloud-ci:v1.0.2
- image: yunionio/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
@@ -26,24 +26,24 @@ jobs:
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /home/build/go/src/yunion.io/x/onecloud
working_directory: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout
- restore_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.cache/go-build
- /root/.cache/go-build
- run:
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" }}
paths:
- /home/build/.cache/go-build
- /root/.cache/go-build
- store_artifacts:
path: _output/
@@ -51,16 +51,17 @@ jobs:
requires:
- check
docker:
- image: yunionio/onecloud-ci:v1.0.2
- image: yunionio/centos-build:1.1-4
environment:
GO111MODULE: "on"
working_directory: /home/build/go/src/yunion.io/x/onecloud
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout
- restore_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.cache/go-build
- /root/.cache/go-build
- run:
name: unit_test
command: |
@@ -68,7 +69,7 @@ jobs:
- save_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /home/build/.cache/go-build
- /root/.cache/go-build
workflows:
version: 2

View File

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

View File

@@ -1,9 +1,15 @@
**这个 PR 实现什么功能/修复什么问题**:
<!--
- [ ] 功能、bugfix描述
- [ ] 冒烟测试
- [ ] 单元测试编写
-->
**是否需要 backport 到之前的 release 分支**:
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/2.8.0
- release/2.6.0
- 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
@@ -29,17 +29,38 @@ jobs:
- name: Build
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev
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 && ./scripts/bundle_libraries.sh _output/bin/bundles/host _output/bin/host && ./scripts/host_find_libraries.sh _output/bin/bundles/host
make cmd/host-deployer && ./scripts/bundle_libraries.sh _output/bin/bundles/host-deployer _output/bin/host-deployer
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
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 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:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image baremetal-agent
uses: elgohr/Publish-Docker-Github-Action@master
@@ -61,6 +82,16 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.esxi-agent
- name: Image vpcagent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/vpcagent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.vpcagent
- name: Image climc
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -91,16 +122,6 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.logger
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image scheduler
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -171,26 +192,6 @@ jobs:
snapshot: true
dockerfile: build/docker/Dockerfile.notify
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image cloudevent
uses: elgohr/Publish-Docker-Github-Action@master
with:
@@ -201,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:
@@ -210,3 +221,13 @@ jobs:
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.devtool
- name: Image region DNS
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region-dns
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region-dns

7
.gitignore vendored
View File

@@ -30,7 +30,14 @@ _output
/relay
/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:

149
Makefile
View File

@@ -6,11 +6,12 @@ ROOT_DIR := $(CURDIR)
BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
DEB_BUILD_SCRIPT := $(ROOT_DIR)/build/build_deb.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_VERSION := $(shell git describe --tags --abbrev=14 $(GIT_COMMIT)^{commit})
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')
else
@@ -51,6 +52,7 @@ ifdef LIBQEMUIO_PATH
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
export CGO_LDFLAGS = ${X_CGO_LDFLAGS}
@@ -63,6 +65,7 @@ endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
debTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),deb/$(b)))
all: build
@@ -75,7 +78,7 @@ install: prepare_dir
gencopyright:
@sh scripts/gencopyright.sh pkg cmd
@bash scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
@@ -86,21 +89,45 @@ vet:
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/fetcherfs: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: prepare_dir
$(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
deb/%: cmd/%
$(DEB_BUILD_SCRIPT) $*
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
rpm/fetcherfs: cmd/fetcherfs
docker run --rm \
--name docker-centos-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 \
/bin/bash -c "VERSION=3.6 /data/build/build.sh fetcherfs /opt/yunion/fetchclient/bin"
deb/fetcherfs: rpm/fetcherfs
#VERSION=3.6 $(DEB_BUILD_SCRIPT) fetcherfs /opt/yunion/fetchclient/bin
docker run --rm \
--name docker-debian-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 \
/data/build/convert_rpm2deb.sh
build:
$(MAKE) $(cmdTargets)
rpm:
$(MAKE) $(rpmTargets)
deb:
$(MAKE) $(debTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -125,6 +152,11 @@ clean:
fmt:
@git ls-files --exclude '*' '*.go' \
| grep -v '^vendor/' \
| while read f; do \
if ! grep -m1 -q '^// Code generated .* DO NOT EDIT\.$$' "$$f"; then \
echo "$$f"; \
fi ; \
done \
| xargs $(XARGS_FLAGS) gofmt -w
fmt-check: fmt
@@ -162,9 +194,58 @@ goimports-check:
fi
.PHONY: goimports-check
vet-check:
./scripts/vet.sh gen
./scripts/vet.sh chk
.PHONY: vet-check
comma:=,
space:=$(space) $(space)
# NOTE: keep y18n-packages in alphabetical order
y18n-src-lang := en-US
y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
define y18n-gen
set -o errexit; \
set -o pipefail; \
export GO111MODULE=off; \
y18n \
-chdir $(CURDIR) \
-dir ./locales/ \
-out ./locales/locales.go \
-lang $(y18n-lang) \
$(y18n-packages) \
; \
$(foreach lang,$(filter-out $(y18n-src-lang),$(subst $(comma), ,$(y18n-lang))),cp ./locales/$(lang)/{out,messages}.gotext.json;) \
endef
y18n-gen:
$(y18n-gen)
$(y18n-gen)
.PHONY: y18n-gen
y18n-check:
$(y18n-gen)
if git status --short ./locales | sed 's/^/$@: /' | grep .; then \
echo "$@: Locales content needs care" >&2 ; \
false; \
fi
.PHONY: y18n-check
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: y18n-check
.PHONY: check
@@ -187,48 +268,20 @@ dep:
@$(MAKE) mod
mod:
go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go mod tidy
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=latest
define dockerBuildCmd
set -o errexit
set -o pipefail
cd /home/build/onecloud
export GOFLAGS=-mod=vendor
make $(1)
endef
docker-build: export dockerBuildCmd:=$(call dockerBuildCmd,$(F))
docker-build:
echo "$$dockerBuildCmd"
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--rm \
--volume $(CURDIR):/home/build/onecloud \
yunionio/onecloud-ci:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-build-stop:
docker stop --time 0 onecloud-ci-build || true
.PHONY: docker-build
.PHONY: docker-build-stop
define helpText
Build with docker
make docker-build F='-j4'
make docker-build F='-j4 cmd/region cmd/climc'
make docker-build-stop
make docker-centos-build F='-j4'
make docker-centos-build F='-j4 cmd/region cmd/climc'
make docker-centos-build-stop
make docker-alpine-build F='-j4'
make docker-alpine-build F='-j4 cmd/host cmd/host-deployer'
make docker-alpine-build-stop
Tidy up go modules and vendor directory
@@ -256,19 +309,31 @@ gen-swagger: gen-swagger-check
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
swagger-serve: gen-swagger
swagger-serve-only:
$(ROOT_DIR)/scripts/codegen.py swagger-serve
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve
swagger-serve: gen-model-api gen-swagger swagger-serve-only
swagger-site: gen-model-api gen-swagger
$(ROOT_DIR)/scripts/codegen.py swagger-site
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve swagger-site
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
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
image-telegraf-raid-plugin:
VERSION=release-1.6.1 ARCH=all make image telegraf-raid-plugin
%:
@:
ModName:=yunion.io/x/onecloud
include $(CURDIR)/Makefile.common.mk

83
Makefile.common.mk Normal file
View File

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

View File

@@ -1,12 +1,12 @@
# Yunion OneCloud (云联融合云)
# Yunion Cloud (云联融合云)
[![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)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.org/yunionio/yunioncloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
## 什么是云联融合云?
云联融合云Yunion OneCloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
云联融合云Yunion Cloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计。
@@ -18,18 +18,18 @@
- 内置私有云
OneCloud内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
YunionCloud 内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
- 为多云Kubernetes提供运行环境
OneCloud自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
YunionCloud 自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
欢迎安装部署云联融合云,期待大家的反馈!
## 部署
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 OneCloud 集群。
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 YunionCloud 集群。
## 文档
@@ -41,7 +41,7 @@
## 架构
![architecture](./docs/architecture.png)
![architecture](https://www.yunion.cn/static/frame.png)
## 贡献
@@ -51,4 +51,4 @@
## License
OneCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE) 。
YunionCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE) 。

View File

@@ -1,22 +1,22 @@
# Yunion OneCloud
# Yunion Cloud
[![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)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/yunioncloud.svg?style=svg)](https://circleci.com/gh/yunionio/yunioncloud)
[![Build Status](https://travis-ci.com/yunionio/yunioncloud.svg?branch=master)](https://travis-ci.com/yunionio/yunioncloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/yunioncloud)](https://goreportcard.com/report/github.com/yunionio/yunioncloud)
### [README in Chinese](./README-CN.md)
## What is Yunion OneCloud?
## What is Yunion Cloud?
Yunion OneCloud is an open source unified-IaaS cloud platform.
Yunion Cloud is an open source unified-IaaS cloud platform.
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion OneCloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion Cloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion OneCloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion Cloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
Many may consider Yunion OneCloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
Many may consider Yunion Cloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
Yunion OneCloud is working on abstracting APIs for the following resources:
Yunion Cloud is working on abstracting APIs for the following resources:
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
@@ -30,7 +30,7 @@ over the following many cloud providers:
* Private clouds, including OpenStack, etc.
* Public clouds, including Aliyun, AWS, Azure, Tencent Cloud, Huawei Cloud, etc.
You are welcome to install and try Yunion OneCloud. Looking forward to your feedback.
You are welcome to install and try Yunion Cloud. Looking forward to your feedback.
## Installation
@@ -38,13 +38,13 @@ Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (cur
## Documentations
- [Yunion OneCloud Documents](https://docs.yunion.io/)
- [Yunion Cloud 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](https://www.yunion.cn/static/frame.png)
## Contribution

View File

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

76
build/build_deb.sh Executable file
View File

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

View File

@@ -0,0 +1,3 @@
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"
echo ""

View File

@@ -0,0 +1,10 @@
policy:
'*':
'*':
'*': allow
create: deny
delete: deny
perform:
purge: deny
clone: deny
'*': allow

View File

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

View File

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

View File

@@ -0,0 +1,42 @@
#!/bin/bash
set -e
pushd $(dirname $BASH_SOURCE) > /dev/null
CUR_DIR=$(pwd -P)
popd > /dev/null
ACCOUNT=$1
if [ -z "$ACCOUNT" ]; then
echo "Usage: $0 <cloud-acount-id-or-name>"
exit 1
fi
ACCOUNT_ID=$(climc cloud-account-show $ACCOUNT | grep -w " id " | awk '{print $4}')
ACCOUNT_NAME=$(climc cloud-account-show $ACCOUNT | grep -w " name " | awk '{print $4}')
if [ -z "$ACCOUNT_ID" ]; then
echo "Cloud account $ACCOUNT not found"
exit 1
fi
echo "Ready to clean cloud account $ACCOUNT_NAME($ACCOUNT_ID)..."
echo "1. Disable cloud account $ACCOUNT_NAME($ACCOUNT_ID) ..."
climc cloud-account-disable $ACCOUNT_ID
echo "2. Clean all providers ..."
for provider_id in $(climc cloud-provider-list --account $ACCOUNT_ID --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
echo "### to clean cloud provider $provider_id ..."
$CUR_DIR/clean_provider.sh $provider_id
done
echo "3. Delete cloud account ..."
climc cloud-account-delete $ACCOUNT_ID

View File

@@ -0,0 +1,27 @@
#/bin/bash
set -e
EIP=$1
if [ -z "$EIP" ]; then
echo "Usage: $0 <eip_id_or_name>"
exit 1
fi
EIP_NAME=$(climc eip-show $EIP | grep -w " name " | awk '{print $4}')
EIP_ID=$(climc eip-show $EIP | grep -w " id " | awk '{print $4}')
if [ -z "$EIP_ID" ]; then
echo "Cannot find eip $EIP_ID"
exit 1
fi
echo "To clean eip $EIP_NAME($EIP_ID)..."
clean_eip() {
local EID=$1
climc eip-purge $EID
}
clean_eip $EIP_ID

View File

@@ -0,0 +1,80 @@
#!/bin/bash
set -e
HOST=$1
if [ -z "$HOST" ]; then
echo "Usage: $0 <host_id_or_name>"
exit 1
fi
error_exit() {
echo "Error: $1"
exit 1
}
HOSTID=$(climc host-show $HOST | grep -w " id " | awk '{print $4}')
HOSTNAME=$(climc host-show $HOST | grep -w " name " | awk '{print $4}')
if [ -z "$HOSTNAME" ]; then
error_exit "Cannot find host $HOST"
fi
if [ -z "$HOSTID" ]; then
error_exit "Cannot find host $HOST"
fi
echo "Ready to purge host $HOSTNAME($HOSTID)..."
echo "1. Disable $HOSTNAME($HOSTID)"
if ! climc host-disable $HOSTID > /dev/null; then
error_exit "Fail to disable $HOST"
fi
echo "2. Clean servers on $HOSTNAME($HOSTID)"
for i in $(climc server-list --host $HOSTID --admin --limit 2048 --system | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-update --delete enable $i > /dev/null
climc server-purge $i > /dev/null
done
for i in $(climc server-list --host $HOSTID --admin --limit 2048 --pending-delete --system | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-purge $i > /dev/null
done
echo "3. Clean disks on $HOSTNAME($HOSTID)"
for storageid in $(climc host-storage-list --host $HOSTID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')
do
STORAGENAME=$(climc storage-show $storageid | grep -w " name " | awk '{print $4}')
STORAGE_TYPE=$(climc storage-show $storageid | grep -w " storage_type " | awk '{print $4}')
if [ "$STORAGE_TYPE" == "local" ]; then
for diskid in $(climc disk-list --admin --system --details --search $storageid --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $diskid > /dev/null
done
for diskid in $(climc disk-list --admin --system --details --search $storageid --pending-delete --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $diskid > /dev/null
done
fi
done
echo "4. Remove host $HOSTNAME($HOSTID)"
BAREMETAL=$(climc host-show $HOSTID | grep -w " is_baremetal " | awk '{print $4}')
HOSTTYPE=$(climc host-show $HOSTID | grep -w " host_type " | awk '{print $4}')
if [ "$BAREMETAL" == "true" ] && [ "$HOSTTYPE" != "baremetal" ]; then
climc host-update --host-type baremetal $HOSTID > /dev/null
fi
climc host-delete $HOSTID > /dev/null
echo "DONE."

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB=$1
if [ -z "$LB" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_ID=$(climc lb-show $LB | grep -w " id " | awk '{print $4}')
LB_NAME=$(climc lb-show $LB | grep -w " name " | awk '{print $4}')
if [ -z "$LB_ID" ]; then
echo "Loadbalancer $LB not found"
exit 1
fi
echo "Ready to remove loadbalancer $LB_NAME($LB_ID) ..."
clean_loadbalancer() {
local LID=$1
climc lb-purge $LID
}
clean_loadbalancer $LB_ID

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB_ACL=$1
if [ -z "$LB_ACL" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_ACL_ID=$(climc lbacl-show $LB_ACL | grep -w " id " | awk '{print $4}')
LB_ACL_NAME=$(climc lbacl-show $LB_ACL | grep -w " name " | awk '{print $4}')
if [ -z "$LB_ACL_ID" ]; then
echo "Loadbalancer ACL $LB_ACL_ID not found"
exit 1
fi
echo "Ready to remove loadbalancer acl $LB_ACL_NAME($LB_ACL_ID) ..."
clean_loadbalancer_acl() {
local LID=$1
climc lbacl-purge $LID
}
clean_loadbalancer_acl $LB_ACL_ID

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB_CERT=$1
if [ -z "$LB_CERT" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_CERT_ID=$(climc lbcert-show $LB_CERT | grep -w " id " | awk '{print $4}')
LB_CERT_NAME=$(climc lbcert-show $LB_CERT | grep -w " name " | awk '{print $4}')
if [ -z "$LB_CERT_ID" ]; then
echo "Loadbalancer certificate $LB_CERT_ID not found"
exit 1
fi
echo "Ready to remove loadbalancer certificate $LB_CERT_NAME($LB_CERT_ID) ..."
clean_loadbalancer_cert() {
local LID=$1
climc lbcert-purge $LID
}
clean_loadbalancer_cert $LB_CERT_ID

View File

@@ -0,0 +1,96 @@
#!/bin/bash
set -e
pushd $(dirname $BASH_SOURCE) > /dev/null
CUR_DIR=$(pwd -P)
popd > /dev/null
PROVIDER=$1
if [ -z "$PROVIDER" ]; then
echo "Usage: $0 <cloud-provider-id-or-name>"
exit 1
fi
PROVIDER_ID=$(climc cloud-provider-show $PROVIDER | grep -w " id " | awk '{print $4}')
PROVIDER_NAME=$(climc cloud-provider-show $PROVIDER | grep -w " name " | awk '{print $4}')
if [ -z "$PROVIDER_ID" ]; then
echo "Cloud provider $PROVIDER not found"
exit 1
fi
echo "Ready to clean cloud provider $PROVIDER_NAME($PROVIDER_ID)..."
echo "1. Disable cloud provider $PROVIDER_NAME($PROVIDER_ID) ..."
climc cloud-provider-disable $PROVIDER_ID
echo "2. Clean all hosts ..."
for hostid in $(climc host-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_host.sh $hostid
done
echo "3. Clean all loadbalancer ..."
for lbid in $(climc lb-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer.sh $lbid
done
echo "4. Clean all loadbalancer acl ..."
for lbaclid in $(climc lbacl-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer_acl.sh $lbaclid
done
echo "5. Clean all loadbalancer certificate ..."
for lbcertid in $(climc lbcert-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer_certificate.sh $lbcertid
done
echo "6. Clean all vpc ..."
for vpcid in $(climc vpc-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_vpc.sh $vpcid
done
echo "7. Clean all eips ..."
for eipid in $(climc eip-list --admin --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_eip.sh $eipid
done
echo "8. Clean all snapshots ..."
for snapid in $(climc snapshot-list --admin --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
echo "to clean snapshot $snapid ..."
$CUR_DIR/clean_snapshot.sh $snapid
done
echo "9. Clean all storagecache ..."
for cacheid in $(climc storage-cache-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_storagecache.sh $cacheid
done
echo "10. Clean all storages ..."
for storeid in $(climc storage-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_storage.sh $storeid
done
echo "Delete cloud provider ..."
climc cloud-provider-delete $PROVIDER_ID

View File

@@ -0,0 +1,27 @@
#/bin/bash
set -e
SNAPSHOT=$1
if [ -z "$SNAPSHOT" ]; then
echo "Usage: $0 <snapshot_id_or_name>"
exit 1
fi
SNAPSHOT_NAME=$(climc snapshot-show $SNAPSHOT | grep -w " name " | awk '{print $4}')
SNAPSHOT_ID=$(climc snapshot-show $SNAPSHOT | grep -w " id " | awk '{print $4}')
if [ -z "$SNAPSHOT_ID" ]; then
echo "Cannot find snapshot $SNAPSHOT_ID"
exit 1
fi
echo "To clean snapshot $SNAPSHOT_NAME($SNAPSHOT_ID)..."
clean_snapshot() {
local SNAP_ID=$1
climc snapshot-purge $SNAP_ID > /dev/null
}
clean_snapshot $SNAPSHOT_ID

View File

@@ -0,0 +1,34 @@
#!/bin/bash
set -e
STORAGE=$1
if [ -z "$STORAGE" ]; then
echo "Usage: $0 <storage_id_or_name>"
exit 1
fi
STORAGE_ID=$(climc storage-show $STORAGE | grep -w " id " | awk '{print $4}')
STORAGE_NAME=$(climc storage-show $STORAGE | grep -w " name " | awk '{print $4}')
if [ -z "$STORAGE_ID" ]; then
echo "Storage $STORAGE not found"
exit 1
fi
echo "Clean disks on storage $STORAGE_NAME($STORAGE_ID) ..."
for disk_id in $(climc disk-list --admin --storage $STORAGE_ID --show-emulated --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $disk_id > /dev/null
done
for disk_id in $(climc disk-list --admin --storage $STORAGE_ID --show-emulated --pending-delete --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $disk_id > /dev/null
done
# CACHE_ID=$(climc storage-show $STORAGE_ID | grep -w " storagecache_id " | awk '{print $4}')
climc storage-delete $STORAGE_ID > /dev/null

View File

@@ -0,0 +1,28 @@
#!/bin/bash
set -e
CACHE=$1
if [ -z "$CACHE" ]; then
echo "Usage: $0 <storage_cache_id_or_name>"
exit 1
fi
CACHE_ID=$(climc storage-cache-show $CACHE | grep -w " id " | awk '{print $4}')
CACHE_NAME=$(climc storage-cache-show $CACHE | grep -w " name " | awk '{print $4}')
if [ -z "$CACHE_ID" ]; then
echo "Storage cache $CACHE not found"
exit 1
fi
echo "Ready to remove storagecache $CACHE_NAME($CACHE_ID) ..."
for imgid in $(climc storage-cached-image-list --storagecache $CACHE_ID --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')
do
climc storagecache-uncache-image $CACHE_ID $imgid --force # > /dev/null
done
climc storage-cache-delete $CACHE_ID > /dev/null

View File

@@ -0,0 +1,55 @@
#/bin/bash
set -e
VPC=$1
if [ -z "$VPC" ]; then
echo "Usage: $0 <vpc_id_or_name>"
exit 1
fi
VPC_NAME=$(climc vpc-show $VPC | grep -w " name " | awk '{print $4}')
VPC_ID=$(climc vpc-show $VPC | grep -w " id " | awk '{print $4}')
if [ -z "$VPC_ID" ]; then
echo "Cannot find vpc $VPC"
exit 1
fi
echo "To clean vpc $VPC_NAME($VPC_ID)..."
clean_network() {
climc network-purge $1 > /dev/null
}
clean_wire() {
local WIRE_ID=$1
for net_id in $(climc network-list --admin --wire $WIRE_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
clean_network $net_id
done
climc wire-delete $wire_id > /dev/null
}
clean_vpc() {
local VPC_ID=$1
climc vpc-purge $VPC_ID > /dev/null
}
echo "1. Clean wires ..."
for wire_id in $(climc wire-list --vpc $VPC_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
clean_wire $wire_id
done
echo "2. Clean route tables ..."
for routetable_id in $(climc routetable-list --vpc $VPC_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc routetable-purge $routetable_id >/dev/null
done
echo "3. clean vpc ..."
clean_vpc $VPC_ID

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,60 @@
<?xml version="1.0" encoding="utf-8"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" ID="_1e55eaf7-5cb9-4601-b557-e322fdfb2baf" entityID="urn:federation:MicrosoftOnline">
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="#_1e55eaf7-5cb9-4601-b557-e322fdfb2baf">
<Transforms>
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>fA33hUaj24/8F8bArDIkH6CpX0k=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>p/rlVWxLRIYiHozzWUgsjmQ5ItMZ/ITeEOg/edeo50l7qU8wLM9JD55EHoLpVvxImBcCfY1CxKdq3s1o9Up1jvEcH9KjfYZea1q8hzTkQdt7F2XvxoqDFRLvVwyHHJjygaEvFRXXxml7IDgDx9ScSRhQeGUlTGhI9eAFSaGkChM/FPnmekZ3ngSwbVf4FsTLIArxMqEnV0lXNMTr5NHQ6VL5wZ/cHLNCkkBoY0qWyv2hnYiZiXa4TKjpAN+8QF5GDPv/0ExJwe+aoRAQhdBzhBUICQdQd+v3Rb5SuX++iVfmf4IPMqj8CK4uK7iYXNLCGEO8oFR2KlK/zBpHzw6yCQ==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
<SPSSODescriptor WantAssertionsSigned="true" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQF9xAVqfHt7dNSOnsMKYLDjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMTkwNjE4MDAwMDAwWhcNMjEwNjE4MDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLwL+mOk+zhgjHPFiZuDaU7coCOMkYyJyWS2B2KWYx7BMmy+SBSlFvvDHIiMXeLnv9DiUnQXtjClZXNqEo2amM/KdXfnCUlwdnqGa89TbB8kM6aBQKCh5Up7vejD+KRpPcOK7DqxWnm037zNKH+6liwRMUD/+lkBODoG1/ThuBVM0Kr1Oowfnkb4JYeF5xZk+2+ThR2dcQzdsz8dBW1GpGopdoM5G1amVhoRPBeNlYUqf0JUPE36Dx0iCmeXX00HTR2gd+/DJFVe34l/VxL4cqufmRcqWHy7axonbpt8svjAervGgueF5W/BVGcO4eVwFzFfnAz7bSaH/zbsNnQkFtAgMBAAGjITAfMB0GA1UdDgQWBBQlxmu/Hj1qB2A306p0Sz9up711AjANBgkqhkiG9w0BAQsFAAOCAQEAEhb+i+J69DvzCTfmC0Mn+uSGzBaW0ksMZNjM8/p/RFueytNo8/DY6TUb9W8l/HSVON782iGG7hIsG68RUIZ5q+/WAB9iBvKkKv5aGZ0bK/eD5boHwBwMa3udTjU68Vkai0A7naISEh22h+lQPvKiftCEzK1x9j2FoAXEMhACnpTwRrrj3SsJXCsMaOKcVw7sCmM4/4wD5I1+dfMSe85rSEzzUCDcCMEg67sBKdO2CFK1GoH21ttrz1CV+xt8Pn9a488kgsp2ZyU+yixS59CrM7onEzt1R4miXWAJAtydNHAmmbgKrTxqf67fEXFcrlFAHexi6vvINZWZPD6+J+q6xg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<KeyDescriptor use="signing">
<KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
<X509Data>
<X509Certificate>MIIC/TCCAeWgAwIBAgIQbgDHfi3t1JNGVqwD5/7lmjANBgkqhkiG9w0BAQsFADApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwHhcNMjAxMjIxMDAwMDAwWhcNMjUxMjIxMDAwMDAwWjApMScwJQYDVQQDEx5MaXZlIElEIFNUUyBTaWduaW5nIFB1YmxpYyBLZXkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDFT0/0/2qQurnYa0LbJHF9YYozhEH6r9mCxVDBYbewSG4tGgrWpsewQ/96pcczGMQctMvU+h2eX38Hx/f9JAIDbuRQzQlsPhQS7DDZ6WlTXU+t8d/g2C7fpSoLs4KVdJih4xyjLUWj+BK/ijsRjBt4Riw9VbJH/DdWKyoSMbECEiE+s1RtLP/eYoMmNfxyQGqWirCNqVNBTlqzYQp4dgF0foYy4ktoxwmQOVoTcIMFYp1I4pFPI7CxuMLkfK0X7aTbM7YGphvMfJxJkjrQdyI7G5d1t4DNi3zkEbBT7FGAr6qPt3Kn9ralpqJKHdpEBA9N0vNwQo5XTYIhUbPQ16IRAgMBAAGjITAfMB0GA1UdDgQWBBRs7tPmfkksSr67KtElHjYZbeaCTjANBgkqhkiG9w0BAQsFAAOCAQEAJqwMZSjQJ36x+1sty6EeLKQLQewQwPaEC47Zut+8bXed6Q8jMZ0bfa/MM7XquEcabaMZLQuKLft44YXwXXQOfQrI2qjQr3eToJFlDT9hR0rfp9wQqttDxd6Aa6RWwDTgo5oKUQCTKLHhEy8uWzScK0eGt2d7TWTaDXjRSwNq6tM7fRhZs07tKBV3xfi9EQy/mlavAMFRBVm86NSo7AsOG1IOMq03U3ooCWAXh9PdvvHNfHhH19futAnC/HeOjwRF1Qc527aBMphYFQLdiThfmfmiE/AhQqCwZ2oE7uCJhBtR+Kb1ZGhjI35pHfsSqGiFa7Kr+5ave822PDcke89Mvg==</X509Certificate>
</X509Data>
</KeyInfo>
</KeyDescriptor>
<SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf"/>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:mace:shibboleth:1.0:nameIdentifier</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://login.microsoftonline.com/login.srf" index="0" isDefault="true"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST-SimpleSign" Location="https://login.microsoftonline.com/login.srf" index="1"/>
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:PAOS" Location="https://login.microsoftonline.com/login.srf" index="2"/>
</SPSSODescriptor>
<Extensions>
<alg:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<alg:SigningMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
</Extensions>
</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"

23
build/convert_rpm2deb.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
set -e
if [ -z "$ROOT_DIR" ]; then
ROOT_DIR=$(dirname $(dirname $(readlink -f "$BASH_SOURCE")))
fi
RPMS_DIR=$ROOT_DIR/_output/rpms
DEBS_DIR=$ROOT_DIR/_output/debs
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
esac
mkdir -p $DEBS_DIR && cd $DEBS_DIR
find $RPMS_DIR -type f -name *.rpm -exec alien --target=$CURRENT_ARCH {} \;

View File

@@ -0,0 +1,3 @@
INTERFACE=""
INTERFACE_IP=""
RELAY=""

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Yunion Cloud DHCP Relay Agent
Documentation=https://docs.yunion.cn
After=network-online.target
Wants=network-online.target
After=network.target
[Service]
Type=simple
EnvironmentFile=-/etc/sysconfig/yunion_dhcprelay
User=root
Group=root
ExecStart=/opt/yunion/bin/dhcprelay --interface "$INTERFACE" --ip "$IP" --relay "$RELAY"
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

2
build/dhcprelay/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Tiny DHCP Relay Server"
SERVICE="yes"

View File

@@ -1,3 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.3
ADD ./_output/bin/ansibleserver /opt/yunion/bin/ansibleserver
# install playbook and telegraf install pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.1.2 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.1.2 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210508
ADD ./_output/bin/climc ./_output/bin/*cli /opt/yunion/bin/
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
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>"
@@ -6,7 +6,9 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates && \
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool kubectl && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

@@ -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:latest
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
ADD ./_output/bin/cloudnet /opt/yunion/bin/cloudnet
ADD ./_output/alpine-build/bin/cloudnet /opt/yunion/bin/cloudnet

View File

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

View File

@@ -0,0 +1,9 @@
# registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0
FROM debian:10
RUN apt update && apt install -y alien
RUN apt-get clean autoclean && \
apt-get autoremove --yes && \
rm -rf /var/lib/{apt,dpkg,cache,log}/

View File

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

View File

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

View File

@@ -0,0 +1,22 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Rain Zheng <zhengyu@yunion.com>"
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add git \
&& rm -rf /var/cache/apk/*
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://dl.influxdata.com/telegraf/releases/telegraf-1.17.0-1.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://dl.influxdata.com/telegraf/releases/telegraf-1.17.0-1.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://dl.influxdata.com/telegraf/releases/telegraf-1.17.0_windows_amd64.zip -P /opt/yunion/ansible-install-pkg
Run wget https://dl.influxdata.com/telegraf/releases/telegraf_1.17.0-1_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://dl.influxdata.com/telegraf/releases/telegraf_1.17.0-1_arm64.deb -P /opt/yunion/ansible-install-pkg
Run mkdir -p /opt/yunion/playbook
Run mkdir /opt/yunion/playbook/monitor-agent
Run git clone https://github.com/yunionio/monitor-agent.git /opt/yunion/playbook/monitor-agent --recurse-submodules

View File

@@ -1,6 +1,7 @@
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 apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
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,11 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.0.1
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/host /opt/yunion/bin/host
ADD ./_output/bin/.host.bin /opt/yunion/bin/.host.bin
ADD ./_output/bin/bundles/host /opt/yunion/bin/bundles/host
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunion-rootfs:v1.0
ADD ./_output/centos-build/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

@@ -0,0 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.5-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/vpcagent /opt/yunion/bin/vpcagent

View File

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

View File

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

View File

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

7
build/docker/Makefile Normal file
View File

@@ -0,0 +1,7 @@
debian10-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 -f ./Dockerfile.debian-base .
climc-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/climc-base:$(VERSION) -f ./Dockerfile.climc-base .

View File

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

View File

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

View File

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

1
build/fetcherfs/vars Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}已经成功{{ .action_display }}

View File

@@ -0,0 +1,64 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}已经创建成功
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
,服务地址为{{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
IP地址为{{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
IP范围为{{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}
{{- end -}}
{{- if $d.account -}}
,初始帐号为{{ $d.account }}
{{- end -}}
{{- if $d.password -}}
,初始密码为{{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
访问ssh密钥为{{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
,证书域名为{{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
,过期时间为{{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
,请使用
{{- if $d.windows -}}
远程桌面连接器(RDC)
{{- else -}}
SSH
{{- end -}}
或控制面板控制台访问虚拟机。
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
,更多信息请前往控制台查看。
{{- end -}}

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}还有{{ .advance_days }}天就要到期释放,如需续期使用,请尽快前往控制台处理

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的弹性伸缩组{{ $d.scaling_group }}中的{{ $d.trigger_type_display }}类型伸缩策略{{ $d.name }}满足触发条件,成功{{ $d.action_display }}{{ $d.number }}{{ $d.unit_display }}实例

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的定时任务执行成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的自动快照策略{{ $d.name }}为硬盘{{ $d.disk }}创建快照成功

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