Compare commits

..

1343 Commits

Author SHA1 Message Date
Zexi Li
9c2cc664f6 Merge pull request #8883 from ioito/hotfix/qx-rds-network-params
fix(region): compatible rds network params
2020-11-20 12:03:19 +08:00
Qu Xuan
42582043ee fix(region): compatible rds network params 2020-11-20 11:44:10 +08:00
Zexi Li
690aef8f4e Merge pull request #8875 from ioito/automated-cherry-pick-of-#8873-upstream-release-3.4
Automated cherry pick of #8873: optimized: server delete log and wait time
2020-11-20 10:04:32 +08:00
Zexi Li
eb7173085e Merge pull request #8880 from ioito/automated-cherry-pick-of-#8876-upstream-release-3.4
Automated cherry pick of #8876: feat: rds recovery new instance from backup supported
2020-11-19 20:53:14 +08:00
Qu Xuan
b6917c5604 feat: rds recovery new instance from backup supported 2020-11-19 20:39:56 +08:00
Qu Xuan
47349e71b9 optimized: server delete log and wait time 2020-11-19 16:27:18 +08:00
Zexi Li
b9565f288a Merge pull request #8862 from swordqiu/automated-cherry-pick-of-#8860-upstream-release-3.4
Automated cherry pick of #8860: fix: add host.memoty.total and host.cpu.total usage stats
2020-11-19 11:03:21 +08:00
Qiu Jian
6b0ae74acb fix: add host.memoty.total and host.cpu.total usage stats 2020-11-19 01:26:37 +08:00
Zexi Li
438a0cb0b7 Merge pull request #8846 from zhaoxiangchun/automated-cherry-pick-of-#8844-upstream-release-3.4
Automated cherry pick of #8844: detach AlertResource on alertDisable
2020-11-18 21:16:36 +08:00
Zexi Li
3fb97c99b6 Merge pull request #8852 from swordqiu/automated-cherry-pick-of-#8850-upstream-release-3.4
Automated cherry pick of #8850: fix: add host-joint resources into domain level resources
2020-11-18 21:15:07 +08:00
yunion-ci-robot
ad8459053f Merge pull request #8855 from zhasm/automated-cherry-pick-of-#8849-upstream-release-3.4
Automated cherry pick of #8849: docker 交叉编译规则更新
2020-11-18 16:36:13 +08:00
Zhang Dongliang
491a9ece55 docker 交叉编译规则更新 2020-11-18 16:14:31 +08:00
Qiu Jian
ba2a188f0d fix: add host-joint resources into domain level resources 2020-11-18 15:26:39 +08:00
zhaoxiangchun
ea793d9902 detach AlertResource on alertDisable
1. 报警规则禁用时,detach 关联的报警资源

影响范围:报警规则的禁用;logger日志服务i18n的日志展示
2020-11-18 12:21:25 +08:00
Zexi Li
4b4964e58e Merge pull request #8840 from rainzm/automated-cherry-pick-of-#8827-upstream-release-3.4
Automated cherry pick of #8827: fix(notify): be compatible with keystone's UsersV3.GetById
2020-11-17 17:52:11 +08:00
rainzm
4a06b38da8 fix: add err handler for notifyRobot 2020-11-17 17:13:15 +08:00
rainzm
96400124ba feat(notify): enable watching user in keystone 2020-11-17 17:13:15 +08:00
rainzm
aee0299d71 fix(notify): be compatible with keystone's UsersV3.GetById
Fill UsersV3.GetById with user's name, it will return user's info.
2020-11-17 17:13:15 +08:00
Zexi Li
cbea17b4c4 Merge pull request #8835 from ioito/automated-cherry-pick-of-#8823-upstream-release-3.4
Automated cherry pick of #8823: optimized: aliyun create rds backup
2020-11-17 14:52:30 +08:00
Zexi Li
4acb237f70 Merge pull request #8833 from zhaoxiangchun/automated-cherry-pick-of-#8816-upstream-release-3.4
Automated cherry pick of #8816: modify  alertResource ws info
2020-11-17 14:51:29 +08:00
Qu Xuan
3a8e998718 optimized: aliyun create rds backup 2020-11-17 14:30:42 +08:00
zhaoxiangchun
bef9af4c3b modify alertResource ws info
ignore_alert:ture 前端不再进行弹窗提示
2020-11-17 14:23:28 +08:00
Zexi Li
3e17ee7519 Merge pull request #8805 from wanyaoqi/automated-cherry-pick-of-#8803-upstream-release-3.4
Automated cherry pick of #8803: host: restart etcd session on keepalive failed
2020-11-17 14:20:24 +08:00
yunion-ci-robot
d3aba7285a Merge pull request #8819 from ioito/automated-cherry-pick-of-#8817-upstream-release-3.4
Automated cherry pick of #8817: fix: add error cause
2020-11-16 21:42:06 +08:00
Qu Xuan
43f4f5f946 fix: add error cause 2020-11-16 14:57:37 +08:00
Zexi Li
4d3c7f3059 Merge pull request #8785 from tb365/automated-cherry-pick-of-#8783-upstream-release-3.4
Automated cherry pick of #8783: aliyun finance cloud region add suffix
2020-11-15 08:00:55 +08:00
Zexi Li
fd26fc1947 Merge pull request #8808 from zhaoxiangchun/automated-cherry-pick-of-#8806-upstream-release-3.4
Automated cherry pick of #8806: commonalert bugfix:
2020-11-15 07:55:32 +08:00
Zexi Li
b74f61fe1d Merge pull request #8811 from swordqiu/automated-cherry-pick-of-#8809-upstream-release-3.4
Automated cherry pick of #8809: fix: baremetal usage should exclude converted hypervisor
2020-11-15 07:52:46 +08:00
Qiu Jian
dc19e7b035 fix: baremetal usage should exclude converted hypervisor 2020-11-15 01:42:32 +08:00
zhaoxiangchun
37272588fa commonalert bugfix:
1.修改消息模版内容:对matches信息进行聚合只返回对应的name信息。解决body消息超过限制
2.报警资源:每次以策略匹配的最新matches为标准。进行updateOrCreate 和
  delete操作。

影响范围:消息模版、报警资源数量
2020-11-14 18:44:14 +08:00
wanyaoqi
029530ac34 host: restart etcd session on keepalive failed 2020-11-14 15:27:10 +08:00
yunion-ci-robot
c047d69a53 Merge pull request #8802 from swordqiu/automated-cherry-pick-of-#8800-upstream-release-3.4
Automated cherry pick of #8800: fix: host memory usage status not correct
2020-11-14 11:22:04 +08:00
yunion-ci-robot
6f76c5d670 Merge pull request #8798 from yousong/automated-cherry-pick-of-#8796-upstream-release-3.4
Automated cherry pick of #8796: vendor: update yunion.io/x/jsonutils
2020-11-14 00:11:06 +08:00
Qiu Jian
71ddac232d fix: host memory usage status not correct 2020-11-13 23:59:51 +08:00
Yousong Zhou
ca9859f126 vendor: update yunion.io/x/jsonutils
See yunionio/onecloud#8357
2020-11-13 18:46:27 +08:00
Zexi Li
7db6ad9a01 Merge pull request #8788 from swordqiu/automated-cherry-pick-of-#8786-upstream-release-3.4
Automated cherry pick of #8786: fix: keystone init empty catalogy cause panic
2020-11-13 15:24:09 +08:00
Qiu Jian
b545066e05 fix: keystone init empty catalogy cause panic 2020-11-13 14:56:24 +08:00
TangBin
befef016dc aliyun finance cloud zone add suffix 2020-11-13 14:44:30 +08:00
TangBin
c32ad0ac5b aliyun finance cloud region add suffix 2020-11-13 14:44:29 +08:00
Zexi Li
ecc75aa231 Merge pull request #8773 from swordqiu/automated-cherry-pick-of-#8771-upstream-release-3.4
Automated cherry pick of #8771: feature: allow join project across domain
2020-11-13 10:39:50 +08:00
Zexi Li
202e0bf266 Merge pull request #8778 from zhaoxiangchun/automated-cherry-pick-of-#8776-upstream-release-3.4
Automated cherry pick of #8776: suggestalet bugfix
2020-11-13 10:39:14 +08:00
zhaoxiangchun
c4d4700d26 suggestalet bugfix
1.安全组规则的in规则为全开放的主机 筛选逻辑修改
2.修复无法正确过滤用户所属资源的bug
2020-11-12 21:32:15 +08:00
Qiu Jian
1fce2ec30c feature: allow join project across domain 2020-11-12 20:41:27 +08:00
Zexi Li
dfe7661c61 Merge pull request #8762 from ioito/automated-cherry-pick-of-#8760-upstream-release-3.4
Automated cherry pick of #8760: fix: avoid panic
2020-11-12 19:31:31 +08:00
Zexi Li
5a28b3c13e Merge pull request #8766 from ioito/automated-cherry-pick-of-#8764-upstream-release-3.4
Automated cherry pick of #8764: fix: support resize qcloud hssd disk
2020-11-12 18:51:40 +08:00
Qu Xuan
27c8861b64 fix: support resize qcloud hssd disk 2020-11-12 16:48:17 +08:00
Qu Xuan
e9459b4a7d fix: avoid panic 2020-11-12 16:20:16 +08:00
yunion-ci-robot
5861a18051 Merge pull request #8755 from rainzm/automated-cherry-pick-of-#8753-upstream-release-3.4
Automated cherry pick of #8753: fix(region): prevent infinite recursion
2020-11-12 11:54:03 +08:00
rainzm
0bbe2e7590 fix(region): prevent infinite recursion
When weekDays is [1,2,3,4,5,6,7] and timePoints is [0], It will recurse infinitely.
2020-11-12 11:39:58 +08:00
Zexi Li
b93d695fe9 Merge pull request #8751 from ioito/automated-cherry-pick-of-#8749-upstream-release-3.4
Automated cherry pick of #8749: fix: renew rds
2020-11-12 00:49:52 +08:00
Qu Xuan
39fe8b2133 fix: renew rds 2020-11-11 20:20:25 +08:00
Zexi Li
c357d61add Merge pull request #8725 from tb365/automated-cherry-pick-of-#8723-upstream-release-3.4
Automated cherry pick of #8723: batch user create bugifx
2020-11-11 11:57:08 +08:00
Zexi Li
749ca9dc63 Merge pull request #8745 from wanyaoqi/automated-cherry-pick-of-#8722-upstream-release-3.4
Automated cherry pick of #8722: add success note on guest start and stop
2020-11-11 11:55:48 +08:00
Zexi Li
5aa0bbb091 Merge pull request #8721 from tb365/automated-cherry-pick-of-#8719-upstream-release-3.4
Automated cherry pick of #8719: huawei create disk bugfix
2020-11-11 11:54:17 +08:00
wanyaoqi
7d35397d50 host: specifie bash for start guest 2020-11-11 11:05:30 +08:00
wanyaoqi
30776fc707 usage: host show isolated dev reserved memory 2020-11-11 11:05:30 +08:00
wanyaoqi
ea70090f6b add success note on guest start and stop 2020-11-11 11:05:30 +08:00
TangBin
e9a4a6380e batch user create bugifx 2020-11-10 16:49:49 +08:00
TangBin
642b137332 huawei create disk bugfix 2020-11-10 16:18:05 +08:00
Zexi Li
ce60116ba3 Merge pull request #8717 from ioito/automated-cherry-pick-of-#8715-upstream-release-3.4
Automated cherry pick of #8715: fix: aws secgroup out rule is deny any
2020-11-10 12:54:34 +08:00
Qu Xuan
1ee8fd05b3 fix: aws secgroup out rule is deny any 2020-11-10 11:04:58 +08:00
Zexi Li
e1d1ef0dd8 Merge pull request #8695 from lvyangyang/automated-cherry-pick-of-#8694-upstream-release-3.4
Automated cherry pick of #8694: fix:修复dns record name校验的问题
2020-11-07 18:42:59 +08:00
lvyangyang
e108d17556 fix:修复dns record name校验的问题 2020-11-06 19:59:52 +08:00
yunion-ci-robot
fe6cb8a9cf Merge pull request #8691 from swordqiu/automated-cherry-pick-of-#8689-upstream-release-3.4
Automated cherry pick of #8689: fix: change owner should update quota usages
2020-11-06 15:11:19 +08:00
yunion-ci-robot
9a9f77c9d9 Merge pull request #8688 from rainzm/automated-cherry-pick-of-#8686-upstream-release-3.4
Automated cherry pick of #8686: feat(region): add option NoCheckOsTypeForCachedImage
2020-11-06 15:07:17 +08:00
yunion-ci-robot
35ac1f9fdd Merge pull request #8685 from ioito/automated-cherry-pick-of-#8683-upstream-release-3.4
Automated cherry pick of #8683: fix: aliyun eip api
2020-11-06 15:04:20 +08:00
Qiu Jian
6927652a65 fix: change owner should update quota usages 2020-11-06 14:48:29 +08:00
Zexi Li
c4afca7187 Merge pull request #8682 from ioito/automated-cherry-pick-of-#8680-upstream-release-3.4
Automated cherry pick of #8680: fix: 支持多内存过滤套餐
2020-11-06 13:50:07 +08:00
Zexi Li
a49d0b280c Merge pull request #8679 from swordqiu/automated-cherry-pick-of-#8677-upstream-release-3.4
Automated cherry pick of #8677: fix: missing column error when order by extra fields
2020-11-06 13:49:42 +08:00
Zexi Li
f797f062f8 Merge pull request #8674 from zexi/automated-cherry-pick-of-#8672-upstream-release-3.4
Automated cherry pick of #8672: scheduler: ignore non running guests only exclude ready status
2020-11-06 13:48:23 +08:00
rainzm
6f60f1a48b fix(esxi): don't specify spec.Identity when osName is empty 2020-11-06 12:58:51 +08:00
rainzm
c3b8e7bbd4 fix(esxi): add device after cloning vm 2020-11-06 12:57:19 +08:00
rainzm
edc651a308 refactor(region): faster GetIImageById 2020-11-06 12:01:41 +08:00
rainzm
76b1796c7e 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 12:01:41 +08:00
rainzm
b5201a352f feat(region): add option NoCheckOsTypeForCachedImage 2020-11-06 12:01:41 +08:00
Qu Xuan
fc4460fa39 fix: aliyun eip api 2020-11-06 11:10:32 +08:00
Qu Xuan
e975fc6713 fix: 支持多内存过滤套餐 2020-11-06 10:32:20 +08:00
Qiu Jian
c8ddd7653f fix: missing column error when order by extra fields 2020-11-05 23:52:32 +08:00
Zexi Li
827be9167e scheduler: ignore non running guests only exclude ready status 2020-11-05 18:23:51 +08:00
Zexi Li
f55022a26d Merge pull request #8666 from swordqiu/automated-cherry-pick-of-#8664-upstream-release-3.4
Automated cherry pick of #8664: update vendor for jsonutils
2020-11-05 13:10:35 +08:00
Qiu Jian
aae3da8c2b update vendor for jsonutils 2020-11-05 11:34:28 +08:00
yunion-ci-robot
e6828a1665 Merge pull request #8656 from lvyangyang/automated-cherry-pick-of-#8655-upstream-release-3.4
Automated cherry pick of #8655: fix:域名正则校验dnsrecord name,同步中文域名取punycode
2020-11-04 18:42:10 +08:00
lvyangyang
6bfff8b70d fix:域名正则校验dnsrecord name,同步中文域名取punycode 2020-11-04 17:38:27 +08:00
Zexi Li
a3753fc311 Merge pull request #8634 from tb365/automated-cherry-pick-of-#8633-upstream-release-3.4
Automated cherry pick of #8633: aws create bugfix
2020-11-04 11:19:57 +08:00
Zexi Li
2b7ba4df63 Merge pull request #8642 from rainzm/automated-cherry-pick-of-#8640-upstream-release-3.4
Automated cherry pick of #8640: fix(notify): customize the title of the verification email based on the copyright
2020-11-04 10:57:16 +08:00
Zexi Li
4fde5eab04 Merge pull request #8639 from ioito/automated-cherry-pick-of-#8636-upstream-release-3.4
Automated cherry pick of #8636: fix: add qcloud hssd
2020-11-03 20:41:32 +08:00
rainzm
58c5514a01 fix(notify): customize the title of the verification email based on the copyright 2020-11-03 20:26:52 +08:00
Qu Xuan
0c19c21efa fix: add qcloud hssd 2020-11-03 20:22:07 +08:00
TangBin
41dd48e8fa lbcert cache delete bugfix 2020-11-03 16:40:37 +08:00
TangBin
3ceb0e2dc1 aws create bugfix 2020-11-03 16:40:37 +08:00
Zexi Li
ab479aea26 Merge pull request #8623 from wanyaoqi/automated-cherry-pick-of-#8619-upstream-release-3.4
Automated cherry pick of #8619: fix stream disk on add disk from snapshot
2020-11-03 10:40:01 +08:00
wanyaoqi
82f5b9ccb0 fix stream disk on add disk from snapshot 2020-11-02 19:32:37 +08:00
Zexi Li
4d7b6ef36d Merge pull request #8615 from ioito/automated-cherry-pick-of-#8613-upstream-release-3.4
Automated cherry pick of #8613: optimized: rds zone sync
2020-11-02 19:12:44 +08:00
Qu Xuan
83d0a3ce0c optimized: rds zone sync 2020-11-02 16:52:08 +08:00
yunion-ci-robot
10b4ebfd01 Merge pull request #8606 from rainzm/automated-cherry-pick-of-#8603-upstream-release-3.4
Automated cherry pick of #8603: fix(region): compute NextSyncTime for snapshotpolicydisk
2020-11-02 01:43:45 +08:00
yunion-ci-robot
bc5f255bc7 Merge pull request #8610 from swordqiu/automated-cherry-pick-of-#8608-upstream-release-3.4
Automated cherry pick of #8608: fix: save service config changes may send invalid action log
2020-11-01 11:48:48 +08:00
Qiu Jian
c8138c291b fix: save service config changes may send invalid action log 2020-10-31 19:06:22 +08:00
Rain Zheng
f290aa5d58 fix(region): compute NextSyncTime for snapshotpolicydisk
1. 如果计算出来的 NextSyncTime 和 base 相等,可以将 base 加1一个小时递归处理。
2. 对于 retentionday 有效的快照策略,比如某一个 snaphsotpolicy
是每周一生效,并且打的快照自动保留 3 天,那么,就应该在每周一(打快照)
和每周四(释放快照)进行快照的同步。
2020-10-31 15:50:51 +08:00
yunion-ci-robot
a6f97fc759 Merge pull request #8595 from rainzm/automated-cherry-pick-of-#8593-upstream-release-3.4
Automated cherry pick of #8593: fix(region): prevent dirty data when syncing snapshot
2020-10-30 19:38:45 +08:00
yunion-ci-robot
dfeee78717 Merge pull request #8592 from ioito/automated-cherry-pick-of-#8590-upstream-release-3.4
Automated cherry pick of #8590: fix: secgroup cache tenant_id
2020-10-30 19:34:56 +08:00
rainzm
7460ea1461 fix(region): clear dirty data of snapshotpolicydisks when start up 2020-10-30 15:24:56 +08:00
rainzm
250ad41c7b fix(region): detach all snapshotpolicy when realdeleting disk 2020-10-30 15:24:56 +08:00
rainzm
a53a44cb2e fix(region): prevent dirty data when syncing snapshot 2020-10-30 15:24:56 +08:00
Qu Xuan
4cbe931635 fix: secgroup cache tenant_id 2020-10-30 15:04:25 +08:00
yunion-ci-robot
45fc6d0ff1 Merge pull request #8578 from rainzm/automated-cherry-pick-of-#8576-upstream-release-3.4
Automated cherry pick of #8576: fix(region): sync automatically snapshot for external disk
2020-10-30 09:11:44 +08:00
yunion-ci-robot
a1b72712ec Merge pull request #8561 from zexi/automated-cherry-pick-of-#8558-upstream-release-3.4
Automated cherry pick of #8558: informer: ignore outside context cancel when worker run
2020-10-30 00:37:44 +08:00
yunion-ci-robot
8e474c5961 Merge pull request #8579 from tb365/automated-cherry-pick-of-#8573-upstream-release-3.4
Automated cherry pick of #8573: qcloud elb cert duplicate fix
2020-10-29 23:28:43 +08:00
TangBin
8f2f78b4ed qcloud elb cert duplicate fix 2020-10-29 22:37:09 +08:00
rainzm
a3f01f1330 fix(region): sync automatically snapshot for external disk 2020-10-29 22:32:21 +08:00
Zexi Li
a0f495db93 informer: ignore outside context cancel when worker run 2020-10-29 20:54:00 +08:00
yunion-ci-robot
605f3fea26 Merge pull request #8566 from rainzm/automated-cherry-pick-of-#8564-upstream-release-3.4
Automated cherry pick of #8564: update vendor
2020-10-29 20:08:43 +08:00
rainzm
52a72952c9 update vendor 2020-10-29 17:25:58 +08:00
Yousong Zhou
4eb1292a2d Merge pull request #8550 from swordqiu/automated-cherry-pick-of-#8548-upstream-release-3.4
Automated cherry pick of #8548: fix: fail to delete public_ip eip
2020-10-29 10:18:33 +08:00
Qiu Jian
b1e91c1c27 fix: fail to delete public_ip eip 2020-10-28 23:46:20 +08:00
yunion-ci-robot
a1760d7b86 Merge pull request #8537 from rainzm/automated-cherry-pick-of-#8535-upstream-release-3.4
Automated cherry pick of #8535: refactor(region): faster list for cachedimage
2020-10-28 17:58:42 +08:00
rainzm
c456586860 refactor(region): faster list for cachedimage
Pro version of #8440 with checking the necessity of id filtering
2020-10-28 15:36:03 +08:00
yunion-ci-robot
71e759a032 Merge pull request #8527 from rainzm/automated-cherry-pick-of-#8525-upstream-release-3.4
Automated cherry pick of #8525: fix(esxi): no callback in uploadHandler
2020-10-28 00:59:42 +08:00
yunion-ci-robot
96ce64d5f0 Merge pull request #8514 from ioito/automated-cherry-pick-of-#8512-upstream-release-3.4
Automated cherry pick of #8512: fix: avoid sync project panic
2020-10-28 00:48:42 +08:00
rainzm
d31802c87b fix(esxi): filter vmdk item in lease.info 2020-10-27 21:32:21 +08:00
rainzm
d3964bf0d1 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:32:21 +08:00
rainzm
57dad6281a fix(esxi): no callback in uploadHandler 2020-10-27 21:32:21 +08:00
Zexi Li
b74130903e Merge pull request #8519 from ioito/automated-cherry-pick-of-#8517-upstream-release-3.4
Automated cherry pick of #8517: fix: set secgroup status
2020-10-27 17:28:39 +08:00
Qu Xuan
44046f2861 fix: set secgroup status 2020-10-27 16:20:06 +08:00
Qu Xuan
95f7600b67 fix: avoid sync project panic 2020-10-27 16:13:48 +08:00
yunion-ci-robot
749b819a62 Merge pull request #8501 from yousong/automated-cherry-pick-of-#8499-upstream-release-3.4
Automated cherry pick of #8499: lockman: test: add prefix setting
2020-10-26 21:24:40 +08:00
Yousong Zhou
f7f7c7be81 lockman: test: add prefix setting 2020-10-26 20:36:32 +08:00
yunion-ci-robot
6a221dbc1e Merge pull request #8498 from zhaoxiangchun/automated-cherry-pick-of-#8496-upstream-release-3.4
Automated cherry pick of #8496: commalertUpdateInput increat param:
2020-10-26 19:55:47 +08:00
zhaoxiangchun
002a2af272 commalertUpdateInput increat param:
1.处理operator对alertType == system的报警策略的update请求
2020-10-26 18:21:11 +08:00
yunion-ci-robot
1757d3d6a9 Merge pull request #8494 from rainzm/automated-cherry-pick-of-#8493-upstream-release-3.4
Automated cherry pick of #8493: fix(region): roll back the optimization of cachedimage list
2020-10-26 18:17:39 +08:00
rainzm
be5a6a93cc fix(region): roll back the optimization of cachedimage list 2020-10-26 17:37:59 +08:00
yunion-ci-robot
bbbe78dbef Merge pull request #8489 from ioito/automated-cherry-pick-of-#8487-upstream-release-3.4
Automated cherry pick of #8487: fix: avoid delete public ip when sync eip list
2020-10-26 17:02:42 +08:00
Qu Xuan
a851e01330 fix: avoid delete public ip when sync eip list 2020-10-26 16:18:46 +08:00
yunion-ci-robot
29d06d52dd Merge pull request #8466 from wanyaoqi/automated-cherry-pick-of-#8464-upstream-release-3.4
Automated cherry pick of #8464: check disk is in reset before delete snapshot
2020-10-25 10:54:39 +08:00
yunion-ci-robot
1a6d4d1035 Merge pull request #8486 from swordqiu/automated-cherry-pick-of-#8484-upstream-release-3.4
Automated cherry pick of #8484: fix: server usage status not correct
2020-10-25 10:52:41 +08:00
Qiu Jian
90d649aef9 fix: server usage status not correct 2020-10-25 08:38:48 +08:00
Zexi Li
23b99a6232 Merge pull request #8472 from wanyaoqi/automated-cherry-pick-of-#8470-upstream-release-3.4
Automated cherry pick of #8470: fix on stream disk complete snapshots refcount not update
2020-10-24 13:09:42 +08:00
Zexi Li
16c38fe6be Merge pull request #8476 from zexi/automated-cherry-pick-of-#8474-upstream-release-3.4
Automated cherry pick of #8474: monitor: set default influxdb datasource by endpoint type
2020-10-24 13:07:07 +08:00
Zexi Li
b43f8b3fac monitor: set default influxdb datasource by endpoint type 2020-10-23 20:10:08 +08:00
wanyaoqi
8e5b74a3f6 fix on stream disk complete snapshots refcount not update 2020-10-23 19:11:32 +08:00
yunion-ci-robot
b0cd3bf999 Merge pull request #8414 from zhaoxiangchun/automated-cherry-pick-of-#8412-upstream-release-3.4
Automated cherry pick of #8412: bugfix:
2020-10-23 18:35:17 +08:00
yunion-ci-robot
4a15284684 Merge pull request #8463 from rainzm/automated-cherry-pick-of-#8461-upstream-release-3.4
Automated cherry pick of #8461: fix(glance): allow public and private operations of guestimage
2020-10-23 18:29:15 +08:00
wanyaoqi
d78068d43a check disk is in reset before delete snapshot 2020-10-23 18:26:22 +08:00
yunion-ci-robot
80dce5eafb Merge pull request #8452 from wanyaoqi/automated-cherry-pick-of-#8450-upstream-release-3.4
Automated cherry pick of #8450: host increase cpu mem max size
2020-10-23 18:18:20 +08:00
yunion-ci-robot
950696ddb9 Merge pull request #8458 from rainzm/automated-cherry-pick-of-#8456-upstream-release-3.4
Automated cherry pick of #8456: fix(esxi): resize root disk after cloning vm
2020-10-23 18:17:20 +08:00
zhaoxiangchun
e7674116e1 bugfix:
1.资源报警增加websocket 消息通知:admin用户
2.统一influxdb中查询到的tag展示
2020-10-23 17:58:20 +08:00
rainzm
3fae388db5 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:57:48 +08:00
rainzm
8f3b8c7ff1 fix(esxi): resize root disk after cloning vm
The root disk size set when the machine is cloned does not take effect,
so set the root disk size after the machine is cloned.
2020-10-23 17:03:52 +08:00
wanyaoqi
a4b1d3952d host increase cpu mem max size 2020-10-23 15:15:55 +08:00
yunion-ci-robot
a5ef16243d Merge pull request #8442 from rainzm/automated-cherry-pick-of-#8440-upstream-release-3.4
Automated cherry pick of #8440: refactor(region): faster list for cachedimage
2020-10-22 21:25:14 +08:00
rainzm
b0823a09bb 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:18:40 +08:00
yunion-ci-robot
492920ac7c Merge pull request #8428 from ioito/automated-cherry-pick-of-#8426-upstream-release-3.4
Automated cherry pick of #8426: fix: 避免冲掉设置的到期释放时间
2020-10-22 20:13:22 +08:00
yunion-ci-robot
f96ac33175 Merge pull request #8433 from lvyangyang/automated-cherry-pick-of-#8416-upstream-release-3.4
Automated cherry pick of #8416: fix:get all project dns resource
2020-10-22 20:10:19 +08:00
yunion-ci-robot
1bc16d6f2e Merge pull request #8439 from rainzm/automated-cherry-pick-of-#8437-upstream-release-3.4
Automated cherry pick of #8437: fix(region): add suffix 'display' for time_points and repeat_weekdays
2020-10-22 20:07:17 +08:00
rainzm
0ba8cb7fbd fix: don't update NextSyncTime when snapshots that should be added has not 2020-10-22 19:42:26 +08:00
rainzm
93bb4022f2 fix(region): init NextSyncTimeiwhen create snapshotpolicydisks 2020-10-22 19:42:26 +08:00
rainzm
bbfb9db90a 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:42:26 +08:00
lvyangyang
66c81ee548 fix:get all project dns resource 2020-10-22 17:06:00 +08:00
Qu Xuan
8f3cb9cdbb fix: 避免冲掉设置的到期释放时间 2020-10-22 15:41:19 +08:00
yunion-ci-robot
1ac71d0016 Merge pull request #8409 from wanyaoqi/automated-cherry-pick-of-#8407-upstream-release-3.4
Automated cherry pick of #8407: fix informer backend
2020-10-22 15:04:16 +08:00
yunion-ci-robot
e8238a2cf5 Merge pull request #8425 from ioito/automated-cherry-pick-of-#8423-upstream-release-3.4
Automated cherry pick of #8423: fix: add aliyun new region
2020-10-22 14:31:17 +08:00
Qu Xuan
22349276d9 fix: add aliyun new region 2020-10-22 11:53:08 +08:00
wanyaoqi
d6a9b5dac2 fix informer backend 2020-10-21 10:54:14 +08:00
yunion-ci-robot
0e3aa96f77 Merge pull request #8406 from rainzm/automated-cherry-pick-of-#8404-upstream-release-3.4
Automated cherry pick of #8404: fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType
2020-10-21 10:51:16 +08:00
rainzm
5306add70a feat(notify): add IntelliNotify
IntelliNotify will try to create receiver nonexistent if createReceiver is set to true
2020-10-20 20:38:17 +08:00
rainzm
f367f1abef fix(notify): add AllOkContactTypes in where permanently enabled and verified ContactType 2020-10-20 20:38:17 +08:00
Zexi Li
93dc36134d Merge pull request #8402 from wanyaoqi/automated-cherry-pick-of-#8400-upstream-release-3.4
Automated cherry pick of #8400: fix fetch customize columns
2020-10-20 18:52:56 +08:00
wanyaoqi
f706d59ac5 fix fetch customize columns 2020-10-20 18:43:52 +08:00
Zexi Li
7438bcab23 Merge pull request #8339 from tb365/automated-cherry-pick-of-#8338-upstream-release-3.4
Automated cherry pick of #8338: add aliyun finance environment
2020-10-20 13:33:47 +08:00
yunion-ci-robot
e038eebeb7 Merge pull request #8263 from rainzm/automated-cherry-pick-of-#8258-upstream-release-3.4
Automated cherry pick of #8258: feat: add a retry mechanism to AutoSyncExtDiskSnapshot
2020-10-20 13:31:13 +08:00
Zexi Li
bd7d84aebd Merge pull request #8396 from tb365/automated-cherry-pick-of-#8395-upstream-release-3.4
Automated cherry pick of #8395: lbcert delete bugfix
2020-10-20 13:28:31 +08:00
Zexi Li
5f6f554464 Merge pull request #8398 from zexi/automated-cherry-pick-of-#8397-upstream-release-3.4
Automated cherry pick of #8397: fix: monitor commonalert not detach alert resource
2020-10-20 13:26:51 +08:00
Zexi Li
d99d93d046 fix: monitor commonalert not detach alert resource 2020-10-20 13:21:22 +08:00
Zexi Li
4a856ac688 Merge pull request #8393 from rainzm/automated-cherry-pick-of-#8392-upstream-release-3.4
Automated cherry pick of #8392: fix(region): compute binded disk count when deleting snapshotpolicy
2020-10-20 11:49:52 +08:00
TangBin
7da0a67af5 lbcert delete bugfix 2020-10-20 11:27:53 +08:00
rainzm
37c14d756d feat: use details data to cover obj data in FetchCustomizeColumns 2020-10-20 11:20:45 +08:00
rainzm
6f1417d268 fix(region): compute binded disk count when deleting snapshotpolicy 2020-10-20 11:20:45 +08:00
Zexi Li
b3105a05d3 Merge pull request #8322 from ioito/automated-cherry-pick-of-#8321-upstream-release-3.4
Automated cherry pick of #8321: fix: sync dns records after sync vpcs
2020-10-20 11:19:50 +08:00
rainzm
93ac3260a1 feat: add a retry mechanism to AutoSyncExtDiskSnapshot 2020-10-20 09:54:53 +08:00
yunion-ci-robot
3d39c20c91 Merge pull request #8391 from zhaoxiangchun/automated-cherry-pick-of-#8390-upstream-release-3.4
Automated cherry pick of #8390: bugfix: commonalert
2020-10-19 23:19:23 +08:00
zhaoxiangchun
8a0eeb7d67 bugfix: commonalert
1.报警消息中取消返回sql信息
2.commonalert 中支持top bottom 结构influxdb 查询
2020-10-19 23:06:29 +08:00
yunion-ci-robot
163be04dbb Merge pull request #8364 from zhaoxiangchun/automated-cherry-pick-of-#8357-upstream-release-3.4
Automated cherry pick of #8357: bugfix: qcloud pull metric
2020-10-19 22:34:14 +08:00
zhaoxiangchun
06db7339e4 bugfix: qcloud pull metric
get请求中增加region参数
2020-10-19 22:26:52 +08:00
yunion-ci-robot
e5b3f4673d Merge pull request #8387 from zexi/automated-cherry-pick-of-#8346-upstream-release-3.4
Automated cherry pick of #8346: monitor: add alert resource
2020-10-19 22:13:12 +08:00
yunion-ci-robot
3a6e910580 Merge pull request #8380 from yousong/automated-cherry-pick-of-#8379-upstream-release-3.4
Automated cherry pick of #8379: logger: actionlog: readability change
2020-10-19 22:07:12 +08:00
Zexi Li
0317fad04e Merge pull request #8389 from wanyaoqi/automated-cherry-pick-of-#8388-upstream-release-3.4
Automated cherry pick of #8388: remove try set informer backend
2020-10-19 22:02:39 +08:00
Zexi Li
af11737e79 monitor: add alert resource 2020-10-19 21:48:35 +08:00
wanyaoqi
15bd6bacd6 remove try set informer backend 2020-10-19 21:33:49 +08:00
Zexi Li
28ba60f630 Merge pull request #8386 from wanyaoqi/automated-cherry-pick-of-#8385-upstream-release-3.4
Automated cherry pick of #8385: telegraf-raid-plugin: update raid state to lower case
2020-10-19 21:00:06 +08:00
yunion-ci-robot
8799a0bcf9 Merge pull request #8384 from wanyaoqi/automated-cherry-pick-of-#8383-upstream-release-3.4
Automated cherry pick of #8383: keystone init etcd backend
2020-10-19 20:58:13 +08:00
wanyaoqi
6706c39f85 telegraf-raid-plugin: update raid state to lower case 2020-10-19 20:12:47 +08:00
wanyaoqi
8ce183eaf5 keystone init etcd backend 2020-10-19 20:04:42 +08:00
yunion-ci-robot
a5bec974f1 Merge pull request #8345 from rainzm/automated-cherry-pick-of-#8344-upstream-release-3.4
Automated cherry pick of #8344: feat(notify): support webhook contact type
2020-10-19 18:25:11 +08:00
Zexi Li
ac15981b5d Merge pull request #8377 from swordqiu/automated-cherry-pick-of-#8350-upstream-release-3.4
Automated cherry pick of #8350: fix: missing authenticate action log for user web login
2020-10-19 17:44:44 +08:00
Zexi Li
3c447a32f6 Merge pull request #8342 from swordqiu/automated-cherry-pick-of-#8337-upstream-release-3.4
Automated cherry pick of #8337: fix: cancel pending-delete should increase resource quota usages
2020-10-19 17:44:03 +08:00
yunion-ci-robot
3a8809e060 Merge pull request #8341 from rainzm/automated-cherry-pick-of-#8340-upstream-release-3.4
Automated cherry pick of #8340: feat: add valid filter for cachedimage list
2020-10-19 17:13:11 +08:00
Yousong Zhou
0964c6ad82 logger: actionlog: i18n for distinct-field 2020-10-19 16:42:24 +08:00
Yousong Zhou
5d0fd14cb3 cloudcommon: db: GET: i18n for result of get property calls 2020-10-19 16:42:24 +08:00
Yousong Zhou
cd123e007d cloudcommon: db: add man.GetI18N 2020-10-19 16:42:24 +08:00
Yousong Zhou
91736710ba cloudcommon: db: modelbase: distinct-field: readability change 2020-10-19 16:42:24 +08:00
Yousong Zhou
c2589e7352 logger: actionlog: readability change 2020-10-19 16:42:24 +08:00
rainzm
d454b0a792 feat: add valid filter for cachedimage list
Use the 'valid' switch to control whether to filter out
the cachedimage corresponding to invalid storage
2020-10-19 16:28:04 +08:00
Qiu Jian
2a1a640f6b fix: cancel pending-delete should increase resource quota usages 2020-10-19 16:03:26 +08:00
rainzm
9dee4c1b90 feat(region): call NotifyWebhook in the life cycle of guests 2020-10-19 16:02:55 +08:00
rainzm
0fd6481e4d feat: add NotifyWebhook in notifyclient 2020-10-19 16:02:55 +08:00
rainzm
d799a71fdb feat(notify): allow empty receivers for robot or webhook contact type 2020-10-19 16:02:55 +08:00
rainzm
436f1e5cb9 feat(notify): support webhook contact type 2020-10-19 16:02:55 +08:00
Qiu Jian
a92a0e2d05 fix: missing authenticate action log for user web login 2020-10-19 15:54:10 +08:00
yunion-ci-robot
0cafa996d7 Merge pull request #8362 from swordqiu/automated-cherry-pick-of-#8361-upstream-release-3.4
Automated cherry pick of #8361: fix: do not lock guest after lock eip, to prevent possible dead lock
2020-10-19 15:20:12 +08:00
yunion-ci-robot
2a10b72f98 Merge pull request #8348 from swordqiu/automated-cherry-pick-of-#8347-upstream-release-3.4
Automated cherry pick of #8347: fix: remote update metadata may cause metadata update loop
2020-10-19 15:19:16 +08:00
yunion-ci-robot
31c2b6270a Merge pull request #8354 from swordqiu/automated-cherry-pick-of-#8353-upstream-release-3.4
Automated cherry pick of #8353: fix: reduce change config logs
2020-10-19 15:18:18 +08:00
yunion-ci-robot
a6397d18c2 Merge pull request #8351 from swordqiu/automated-cherry-pick-of-#8350-upstream-release-3.4
Automated cherry pick of #8350: fix: missing authenticate action log for user web login
2020-10-19 15:17:12 +08:00
Zexi Li
203bf44639 Merge pull request #8367 from ioito/automated-cherry-pick-of-#8366-upstream-release-3.4
Automated cherry pick of #8366: fix: add rds cpu and memory usage
2020-10-19 15:11:56 +08:00
Zexi Li
d7a4e52b15 Merge pull request #8374 from ioito/automated-cherry-pick-of-#8373-upstream-release-3.4
Automated cherry pick of #8373: fix: 新增google存储类型
2020-10-19 15:11:08 +08:00
Zexi Li
7946dcef3f Merge pull request #8370 from ioito/automated-cherry-pick-of-#8369-upstream-release-3.4
Automated cherry pick of #8369: fix: use correct worker
2020-10-19 15:10:00 +08:00
Qu Xuan
f77bcd3bbf fix: 新增google存储类型 2020-10-19 14:16:51 +08:00
yunion-ci-robot
4841fbb843 Merge pull request #8356 from wanyaoqi/automated-cherry-pick-of-#8355-upstream-release-3.4
Automated cherry pick of #8355: host: fix sync storage info duration'
2020-10-19 11:57:12 +08:00
Qiu Jian
9b8758e191 fix: reduce change config logs 2020-10-19 11:51:38 +08:00
Qiu Jian
62f5355b11 fix: remote update metadata may cause metadata update loop 2020-10-19 11:46:20 +08:00
Qiu Jian
d774581a23 fix: do not lock guest after lock eip, to prevent possible dead lock 2020-10-19 11:43:22 +08:00
Qu Xuan
062301f54a fix: use correct worker 2020-10-19 11:42:25 +08:00
Qu Xuan
16d13941ce fix: add rds cpu and memory usage 2020-10-19 11:23:21 +08:00
yunion-ci-robot
a10b1945f6 Merge pull request #8359 from yousong/automated-cherry-pick-of-#8358-upstream-release-3.4
Automated cherry pick of #8358: .circleci: build: make with parallel level 2
2020-10-19 10:50:16 +08:00
Yousong Zhou
3aadaf15b7 .circleci: build: make with parallel level 2 2020-10-19 10:29:50 +08:00
wanyaoqi
7a9b491d13 host: fix sync storage info duration' 2020-10-18 01:02:12 +08:00
Qiu Jian
ecbe76e9ff fix: missing authenticate action log for user web login 2020-10-17 22:09:55 +08:00
yunion-ci-robot
41bdfffd57 Merge pull request #8333 from rainzm/automated-cherry-pick-of-#8332-upstream-release-3.4
Automated cherry pick of #8332: feat: support lock storage from selected cachedimage
2020-10-17 18:23:10 +08:00
TangBin
a9c44ed304 add aliyun finance environment 2020-10-17 17:41:57 +08:00
rainzm
7a2c2b8047 refactor: find the most suitable storage 2020-10-17 17:40:08 +08:00
rainzm
a35a6f3c11 feat(esxiagent): try to customize vm if deployfs failed 2020-10-17 17:40:08 +08:00
rainzm
5a7876ae47 feat: support lock storage from selected cachedimage 2020-10-17 17:40:08 +08:00
yunion-ci-robot
31de731cbd Merge pull request #8336 from wanyaoqi/automated-cherry-pick-of-#8325-upstream-release-3.4
Automated cherry pick of #8325: telegraf raid plugin
2020-10-17 11:23:11 +08:00
wanyaoqi
8b2680ed56 telegraf raid plugin 2020-10-17 11:11:30 +08:00
yunion-ci-robot
39c35359aa Merge pull request #8329 from swordqiu/automated-cherry-pick-of-#8304-upstream-release-3.4
Automated cherry pick of #8304: feature: qcloud create VM with tags
2020-10-16 22:19:05 +08:00
Qiu Jian
a764a64696 feature: remote update qcloud instance metadata and name 2020-10-16 21:41:33 +08:00
Qiu Jian
f05a56aadd feature: qcloud create VM with tags 2020-10-16 21:41:33 +08:00
yunion-ci-robot
6cd69d3587 Merge pull request #8335 from rainzm/automated-cherry-pick-of-#8334-upstream-release-3.4
Automated cherry pick of #8334: fix(compute): filter cachedimage with health storage
2020-10-16 19:41:45 +08:00
rainzm
2a1bbfd574 fix(compute): filter cachedimage with health storage 2020-10-16 18:38:44 +08:00
Zexi Li
301006e213 Merge pull request #8331 from ioito/automated-cherry-pick-of-#8330-upstream-release-3.4
Automated cherry pick of #8330: fix: hostname for instance
2020-10-16 17:43:22 +08:00
Qu Xuan
950a2c29fb fix: hostname for instance 2020-10-16 17:12:40 +08:00
yunion-ci-robot
558872db27 Merge pull request #8324 from zhasm/automated-cherry-pick-of-#8323-upstream-release-3.4
Automated cherry pick of #8323: remove alpine build cache before make image
2020-10-16 15:14:46 +08:00
yunion-ci-robot
6386391bf4 Merge pull request #8327 from zexi/automated-cherry-pick-of-#8326-upstream-release-3.4
Automated cherry pick of #8326: fix: get images distinct field
2020-10-16 14:35:40 +08:00
Zexi Li
d298c75448 fix: get images distinct field 2020-10-16 12:01:01 +08:00
Zhang Dongliang
28cb75f41b remove alpine build cache before make image 2020-10-16 12:00:10 +08:00
yunion-ci-robot
560a68d379 Merge pull request #8320 from swordqiu/automated-cherry-pick-of-#8319-upstream-release-3.4
Automated cherry pick of #8319: fix: resolve with_meta filter conflict
2020-10-16 11:39:33 +08:00
Qu Xuan
11f8e4f71f fix: sync dns records after sync vpcs 2020-10-16 11:14:44 +08:00
yunion-ci-robot
9e597db90a Merge pull request #8315 from rainzm/automated-cherry-pick-of-#8314-upstream-release-3.4
Automated cherry pick of #8314: feat(esxi): do not specify portkey in NewVNIC
2020-10-16 10:38:34 +08:00
Qiu Jian
9c9cb17d32 fix: resolve with_meta filter conflict 2020-10-16 10:34:04 +08:00
rainzm
cc96c01c00 feat(esxi): do not specify portkey in NewVNIC 2020-10-16 08:22:58 +08:00
yunion-ci-robot
cb22077722 Merge pull request #8313 from swordqiu/automated-cherry-pick-of-#8312-upstream-release-3.4
Automated cherry pick of #8312: feature: filter storages by image
2020-10-15 23:10:33 +08:00
yunion-ci-robot
8e3c173373 Merge pull request #8309 from ioito/automated-cherry-pick-of-#8308-upstream-release-3.4
Automated cherry pick of #8308: fix: 避免并发同步安全组导致规则混乱
2020-10-15 23:02:32 +08:00
Qiu Jian
45e092bd2d feature: filter storages by image 2020-10-15 22:57:13 +08:00
Qu Xuan
4b2d67de42 fix: 避免并发同步安全组导致规则混乱 2020-10-15 22:26:54 +08:00
yunion-ci-robot
6677c30a5d Merge pull request #8306 from zexi/automated-cherry-pick-of-#8305-upstream-release-3.4
Automated cherry pick of #8305: stringutils2: add RemoveUtf8Strings func
2020-10-15 21:46:36 +08:00
Zexi Li
64593fc882 stringutils2: add RemoveUtf8Strings func 2020-10-15 19:37:00 +08:00
Zexi Li
0d7e1a2517 Merge pull request #8303 from swordqiu/automated-cherry-pick-of-#8302-upstream-release-3.4
Automated cherry pick of #8302: fix: allwo filter resource by with-meta and with-user-meta filter
2020-10-15 15:17:18 +08:00
Zexi Li
6fc835abb9 Merge pull request #8300 from ioito/automated-cherry-pick-of-#8299-upstream-release-3.4
Automated cherry pick of #8299: fix: support filter rds sku by provider
2020-10-15 15:16:04 +08:00
Zexi Li
44a9cc5adb Merge pull request #8293 from lvyangyang/automated-cherry-pick-of-#8289-upstream-release-3.4
Automated cherry pick of #8289: fix:openstack lb 后端ip无法映射到主机的异常处理
2020-10-15 15:15:09 +08:00
Qiu Jian
ff2b7eb345 fix: allwo filter resource by with-meta and with-user-meta filter 2020-10-15 14:46:48 +08:00
Qu Xuan
7b5d822373 fix: support filter rds sku by provider 2020-10-15 14:29:59 +08:00
yunion-ci-robot
f5a45fc16e Merge pull request #8298 from swordqiu/automated-cherry-pick-of-#8297-upstream-release-3.4
Automated cherry pick of #8297: fix: filter role assignments by project domains id or name
2020-10-15 14:24:33 +08:00
yunion-ci-robot
a583bbc74b Merge pull request #8295 from ioito/automated-cherry-pick-of-#8294-upstream-release-3.4
Automated cherry pick of #8294: fix: use new api
2020-10-15 14:22:37 +08:00
yunion-ci-robot
ece82cce42 Merge pull request #8266 from rainzm/automated-cherry-pick-of-#8265-upstream-release-3.4
Automated cherry pick of #8265: feat(esxiagent): sync and use of ESXi template
2020-10-15 13:14:31 +08:00
Qiu Jian
8042b9430c fix: filter project role with system=true 2020-10-15 13:10:54 +08:00
Qiu Jian
d1cbaead09 fix: filter role assignments by project domains id or name 2020-10-15 13:10:54 +08:00
Qu Xuan
1768d1e7db fix: use new api 2020-10-15 11:32:56 +08:00
rainzm
ff34e93862 feat: add 'vlan_id' param when creating network 2020-10-15 10:50:25 +08:00
rainzm
a891d1d876 feat: change templateid as <providerId>/<uuid> in esxi 2020-10-15 10:50:25 +08:00
Rain
c7d6bb7811 fix: support fake tempalte when searching template vm 2020-10-15 10:50:25 +08:00
rainzm
2076a75113 fix(esxiagent): check whether regexp is nil 2020-10-15 10:50:25 +08:00
rainzm
5d0d6d960b feat(esxiagent): keep data disks when cloning vm 2020-10-15 10:50:25 +08:00
lvyangyang
cf89e8a23a fix:openstack lb 后端ip无法映射到主机的异常处理 2020-10-15 10:09:53 +08:00
yunion-ci-robot
45994b59d5 Merge pull request #8291 from ioito/automated-cherry-pick-of-#8290-upstream-release-3.4
Automated cherry pick of #8290: fix: 优化安全组规则同步
2020-10-15 09:10:33 +08:00
Qu Xuan
d2d2934e80 fix: 优化安全组规则同步 2020-10-14 21:19:15 +08:00
yunion-ci-robot
0ec0c8e703 Merge pull request #8286 from lvyangyang/automated-cherry-pick-of-#8275-upstream-release-3.4
Automated cherry pick of #8275: fix:aliyun jsonRequest 增加i/o timeout retry
2020-10-14 17:53:30 +08:00
yunion-ci-robot
3347d6c1e1 Merge pull request #8285 from swordqiu/automated-cherry-pick-of-#8284-upstream-release-3.4
Automated cherry pick of #8284: feature: qcloud create VM with tags
2020-10-14 17:52:29 +08:00
yunion-ci-robot
dce9d5e4a1 Merge pull request #8288 from wanyaoqi/automated-cherry-pick-of-#8287-upstream-release-3.4
Automated cherry pick of #8287: make mode
2020-10-14 16:52:33 +08:00
Qiu Jian
ef9b64990e feature: qcloud create VM with tags 2020-10-14 15:22:30 +08:00
wanyaoqi
f19fe2178c replace NewFloat by NewFloat64 and NewFloat32 2020-10-14 11:56:49 +08:00
wanyaoqi
2265c9422f make mode 2020-10-14 11:56:49 +08:00
yunion-ci-robot
cf3717557a Merge pull request #8282 from ioito/automated-cherry-pick-of-#8281-upstream-release-3.4
Automated cherry pick of #8281: fix: sync huawei bucket project info
2020-10-14 10:51:30 +08:00
yunion-ci-robot
0bbdcb9278 Merge pull request #8280 from ioito/automated-cherry-pick-of-#8264-upstream-release-3.4
Automated cherry pick of #8264: fix: support public ip create
2020-10-14 10:50:30 +08:00
lvyangyang
d72081770e fix:aliyun jsonRequest 增加i/o timeout retry 2020-10-14 10:48:50 +08:00
yunion-ci-robot
0f874d8f07 Merge pull request #8254 from ioito/automated-cherry-pick-of-#8253-upstream-release-3.4
Automated cherry pick of #8253: fix: qcloud eip with bandwidth attr
2020-10-14 10:44:30 +08:00
yunion-ci-robot
dd5dd15a76 Merge pull request #8241 from wanyaoqi/automated-cherry-pick-of-#8231-upstream-release-3.4
Automated cherry pick of #8231: add interface freeze virtual resource
2020-10-14 10:42:30 +08:00
Qu Xuan
cb36572c1c fix: sync huawei bucket project info 2020-10-13 20:55:39 +08:00
Qu Xuan
2a210407a5 fix: support public ip create 2020-10-13 20:01:01 +08:00
Zexi Li
82c59154c5 Merge pull request #8268 from ioito/automated-cherry-pick-of-#8267-upstream-release-3.4
Automated cherry pick of #8267: fix: trans google new region name
2020-10-13 17:34:44 +08:00
Zexi Li
041ee6f904 Merge pull request #8271 from ioito/automated-cherry-pick-of-#8270-upstream-release-3.4
Automated cherry pick of #8270: fix: 支持带宽包用户
2020-10-13 17:34:35 +08:00
yunion-ci-robot
4317fac6da Merge pull request #8279 from wanyaoqi/automated-cherry-pick-of-#8278-upstream-release-3.4
Automated cherry pick of #8278: fix host-deployer base image
2020-10-13 17:04:29 +08:00
yunion-ci-robot
a022f99851 Merge pull request #8277 from zhasm/automated-cherry-pick-of-#8276-upstream-release-3.4
Automated cherry pick of #8276: 在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 17:01:30 +08:00
wanyaoqi
407251975e fix host-deployer base image 2020-10-13 16:59:24 +08:00
Zhang Dongliang
b7fd879e44 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 16:47:33 +08:00
yunion-ci-robot
0a7ccbe958 Merge pull request #8274 from zhasm/automated-cherry-pick-of-#8273-upstream-release-3.4
Automated cherry pick of #8273: 在 docker push 脚本里创建_output 目录,以便容错
2020-10-13 16:18:31 +08:00
Zhang Dongliang
7efb85ba04 在 docker push 脚本里创建_output 目录,以便容错 2020-10-13 15:37:25 +08:00
Qu Xuan
84e8e4e6c8 fix: 支持带宽包用户 2020-10-13 15:34:03 +08:00
Qu Xuan
3fe15d2675 fix: trans google new region name 2020-10-13 14:18:09 +08:00
Qu Xuan
d574a823ba fix: qcloud eip with bandwidth attr 2020-10-13 10:42:25 +08:00
yunion-ci-robot
a2c8ad13ab Merge pull request #8191 from ioito/automated-cherry-pick-of-#8188-upstream-release-3.4
Automated cherry pick of #8188: fix: avoid qcloud secgroup cache name not sync
2020-10-13 10:41:31 +08:00
yunion-ci-robot
de8f57f625 Merge pull request #8243 from zexi/automated-cherry-pick-of-#8242-upstream-release-3.4
Automated cherry pick of #8242: baremetal: fix pxe filter network by guest_dhcp
2020-10-13 10:32:29 +08:00
Zexi Li
658159b18e Merge pull request #8229 from yousong/automated-cherry-pick-of-#8228-upstream-release-3.4
Automated cherry pick of #8228: eip: construct a pointer type
2020-10-13 10:13:49 +08:00
Zexi Li
67cc7b8747 Merge pull request #8259 from rainzm/automated-cherry-pick-of-#8232-upstream-release-3.4
Automated cherry pick of #8232: fix(esxi): search template from whole vCenter
2020-10-13 10:06:22 +08:00
Zexi Li
ce694ff638 Merge pull request #8247 from swordqiu/automated-cherry-pick-of-#8246-upstream-release-3.4
Automated cherry pick of #8246: fix: project_id in resource details not correct
2020-10-13 10:00:34 +08:00
Zexi Li
98702c2470 Merge pull request #8249 from ioito/automated-cherry-pick-of-#8248-upstream-release-3.4
Automated cherry pick of #8248: fix: qcloud instance with max bandwidth
2020-10-13 09:58:37 +08:00
yunion-ci-robot
9ac5265c07 Merge pull request #8257 from zhasm/automated-cherry-pick-of-#8256-upstream-release-3.4
Automated cherry pick of #8256: 解决编译之后 output 的 owerner 问题
2020-10-12 19:24:28 +08:00
Yousong Zhou
896bec8f43 eip: NewEipForVMOnHost: add opslog 2020-10-12 18:39:17 +08:00
Yousong Zhou
a8426482bf eip: construct a pointer type 2020-10-12 18:39:17 +08:00
Zhang Dongliang
d7316b26aa resolve conflict 2020-10-12 18:12:41 +08:00
rainzm
d16affc9a6 fix(esxi): use system disk of template only when cloning vm
1. Create a driver if necessary.
2. After cloning the virtual machine, remove all data disks.
3. Create new data disks.
2020-10-12 17:46:38 +08:00
rainzm
2259fe1195 fix(esxi): search template from whole vCenter 2020-10-12 17:46:38 +08:00
yunion-ci-robot
09e37de117 Merge pull request #8251 from swordqiu/automated-cherry-pick-of-#8237-upstream-release-3.4
Automated cherry pick of #8237: fix: format errors that block make test
2020-10-12 16:09:22 +08:00
Qu Xuan
715db28e3e fix: qcloud instance with max bandwidth 2020-10-12 15:09:09 +08:00
Qiu Jian
152ea54f36 fix: format errors that block make test 2020-10-12 15:06:44 +08:00
yunion-ci-robot
865b433bb0 Merge pull request #8236 from swordqiu/automated-cherry-pick-of-#8235-upstream-release-3.4
Automated cherry pick of #8235: fix: not clean pending domain usage
2020-10-12 15:04:21 +08:00
yunion-ci-robot
f04a37d0a3 Merge pull request #8233 from rainzm/automated-cherry-pick-of-#8126-upstream-release-3.4
Automated cherry pick of #8126: Feats for ESXi Manage
2020-10-12 15:02:18 +08:00
rainzm
7edcd151e3 feat: add vlanId for suggested network 2020-10-12 14:25:05 +08:00
rainzm
df90d99bc5 feat(esxi): support fake template vm via regex filter 2020-10-12 14:25:05 +08:00
rainzm
552ce3b2ea feat: filter esxi ip by CIDR 2020-10-12 14:25:05 +08:00
rainzm
91c852676a feat(region): make address recommendations more precise
1. 虚拟机的网络推荐不再是一整个C段网络,而是存在的连续IP组成的网段,
这样更准确,用户可以根据自己的需要,合并或者扩充建议的网段
2. 使用 DefaultNetworkGatewayAddressEsxi 来配置子网默认的网关地址。
2020-10-12 14:25:05 +08:00
rainzm
8528d79817 feat: add 'ip-list' for esxicli 2020-10-12 14:25:05 +08:00
Qiu Jian
d2aacafa4c fix: project_id in resource details not correct 2020-10-12 14:20:22 +08:00
yunion-ci-robot
8714503087 Merge pull request #8239 from swordqiu/automated-cherry-pick-of-#8238-upstream-release-3.4
Automated cherry pick of #8238: fix: ldap sync not update user's phone and email
2020-10-12 11:54:19 +08:00
Zexi Li
d0d3d8e333 baremetal: fix pxe filter network by guest_dhcp 2020-10-12 11:36:56 +08:00
wanyaoqi
dee1aa26dc genreate api models 2020-10-12 10:45:50 +08:00
wanyaoqi
c973bf1632 add interface freeze virtual resource 2020-10-12 10:45:50 +08:00
Qiu Jian
1aa82ae950 fix: ldap sync not update user's phone and email 2020-10-11 05:44:53 +08:00
Qiu Jian
488e7e56a6 fix: not clean pending domain usage 2020-10-11 04:37:04 +08:00
yunion-ci-robot
6a2ebdc123 Merge pull request #8195 from rainzm/automated-cherry-pick-of-#8194-upstream-release-3.4
Automated cherry pick of #8194: fix(esxi): check nil value when NewVirtualMachine
2020-10-10 19:10:17 +08:00
yunion-ci-robot
4105284718 Merge pull request #8217 from tb365/automated-cherry-pick-of-#8214-upstream-release-3.4
Automated cherry pick of #8214: remove aws lbbg cache metedata
2020-10-10 18:55:20 +08:00
yunion-ci-robot
ac5f29bc0c Merge pull request #8226 from zhaoxiangchun/automated-cherry-pick-of-#8213-upstream-release-3.4
Automated cherry pick of #8213: bugfix:scoperesource FilterByOwner
2020-10-10 17:11:18 +08:00
zhaoxiangchun
58d52d947c Add web url to alarm template 2020-10-10 16:24:29 +08:00
zhaoxiangchun
c5ef564d35 bugfix:scoperesource FilterByOwner
1.调度标签 和 优化建议 FilterByOwner 逻辑调整
2020-10-10 16:24:29 +08:00
yunion-ci-robot
1cacf1068f Merge pull request #8219 from yousong/automated-cherry-pick-of-#8218-upstream-release-3.4
Automated cherry pick of #8218: webconsole: ssh: each argument on its own line
2020-10-10 15:34:49 +08:00
Yousong Zhou
63b0d0c071 webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

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

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:19:46 +08:00
Qu Xuan
2e93ee3d6d fix: add dns recordset dns value check 2020-09-11 14:26:01 +08:00
wanyaoqi
6a7cf0608d host: fix rbd storage cache iso image 2020-09-10 23:13:58 +08:00
yunion-ci-robot
5f7734b0c3 Merge pull request #7860 from ioito/automated-cherry-pick-of-#7859-upstream-release-3.4
Automated cherry pick of #7859: fix: 平滑迁移数据
2020-09-10 21:42:53 +08:00
yunion-ci-robot
413ba9ddd4 Merge pull request #7858 from lvyangyang/automated-cherry-pick-of-#7762-upstream-release-3.4
Automated cherry pick of #7762: dns access
2020-09-10 21:37:56 +08:00
yunion-ci-robot
0048507211 Merge pull request #7856 from ioito/automated-cherry-pick-of-#7855-upstream-release-3.4
Automated cherry pick of #7855: fix: optimized qcloud keypair
2020-09-10 21:34:33 +08:00
Qu Xuan
d6d490af6c fix: 平滑迁移数据 2020-09-10 17:39:40 +08:00
lvyangyang
70297e3130 dns access 2020-09-10 17:33:17 +08:00
Qu Xuan
5576819f01 fix: 腾讯云不支持同时设置秘钥和密码,若设置秘钥,则将密码置空 2020-09-10 17:25:32 +08:00
Qu Xuan
dc20313ef5 fix: optimized qcloud keypair 2020-09-10 17:25:32 +08:00
yunion-ci-robot
fb7b5d5a95 Merge pull request #7854 from rainzm/automated-cherry-pick-of-#7832-upstream-release-3.4
Automated cherry pick of #7832: refactor(region): optimize preparenet of cloudaccount
2020-09-10 16:04:55 +08:00
rainzm
3f77c01e6b refactor(region): optimize preparenet of cloudaccount
1. 从vcenter中获取host和vm的信息时,只需要获取网络相关的字段就可以了。
2. 每个host的vms,单独启用一个goroutine。
3. 优化了处理vms ip的逻辑,现在的时间复杂度是O(n)。
2020-09-10 15:41:13 +08:00
yunion-ci-robot
5ec2490be5 Merge pull request #7853 from rainzm/automated-cherry-pick-of-#7852-upstream-release-3.4
Automated cherry pick of #7852: fix(notify): pull contact for workwx, dingtalk and feishu
2020-09-10 15:18:01 +08:00
rainzm
dba92d4b0b fix(notify): pull contact for workwx, dingtalk and feishu 2020-09-10 14:41:27 +08:00
yunion-ci-robot
6f77c22573 Merge pull request #7835 from ioito/automated-cherry-pick-of-#7834-upstream-release-3.4
Automated cherry pick of #7834: fix: uniform cachedimage active status
2020-09-10 14:36:02 +08:00
yunion-ci-robot
f653b36733 Merge pull request #7851 from ioito/automated-cherry-pick-of-#7837-upstream-release-3.4
Automated cherry pick of #7837: fix: optimzed clouduser password
2020-09-10 14:33:55 +08:00
Qu Xuan
aa26c6ec99 fix: optimzed clouduser password 2020-09-10 10:24:21 +08:00
yunion-ci-robot
0e0df0999b Merge pull request #7844 from ioito/automated-cherry-pick-of-#7843-upstream-release-3.4
Automated cherry pick of #7843: fix: optimzed clouduser
2020-09-10 09:49:23 +08:00
yunion-ci-robot
5f0b86950b Merge pull request #7842 from ioito/automated-cherry-pick-of-#7841-upstream-release-3.4
Automated cherry pick of #7841: fix: avoid create public zone failed
2020-09-10 09:47:56 +08:00
yunion-ci-robot
d1660c83a9 Merge pull request #7839 from swordqiu/automated-cherry-pick-of-#7831-upstream-release-3.4
Automated cherry pick of #7831: fix: recode project-role rpc handle to support group role assignment results by user or project
2020-09-10 09:46:54 +08:00
yunion-ci-robot
f302756eda Merge pull request #7840 from zhaoxiangchun/automated-cherry-pick-of-#7838-upstream-release-3.4
Automated cherry pick of #7838: commonalert bugfix:
2020-09-10 09:44:53 +08:00
yunion-ci-robot
90185c0074 Merge pull request #7846 from rainzm/automated-cherry-pick-of-#7845-upstream-release-3.4
Automated cherry pick of #7845: Feat & Fix & Refactor for ESXi
2020-09-10 09:41:58 +08:00
rainzm
55b2b29001 fix(region): add RequestSyncstatusOnHost for SESXiGuestDriver
esxi 平台 Guest 进行 syncstatus 和其他平台有所区别,Vcenter 可能会更改
 VM 所在的 Host,所以在 Host 上寻找 VM 可能会出现 ErrNotFound。此时,应该
主动去整个 datacenter 中寻找 VM,然后更改 Host,进行同步。
2020-09-09 21:53:51 +08:00
rainzm
ac69f8a590 fix(esxi): fetch templatevm from datacenter before clone vm
这里应该和image_cache那里保持一直,对template的获取应该从datacenter
中获取,而不是host。
2020-09-09 21:53:51 +08:00
rainzm
42faf34f15 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:53:51 +08:00
rainzm
3f8f9e6c56 feat(esxicli): better vm operator
现在,可以通过Datacenter来获取vm,不一定要指定HostIp,
Datacenter和HostIp必须指定一个。
2020-09-09 21:53:51 +08:00
rainzm
6b340264e4 feat(esxi): support fetchVM form datacenter 2020-09-09 21:53:51 +08:00
rainzm
ef8768fcef refactor(esxi): fetchVms and fetchHardwareInfo
1. fetchHardwareInfo 只有一种error,原因是moVM的某些字段为nil,这种情况下,完全可以打印日志直接返回。
2. fetchVms 现在只返回[]*SVirtualMachine, 进一步的过滤(是不是template)交给调用者。
2020-09-09 21:53:51 +08:00
Qu Xuan
9281c54294 fix: optimzed clouduser 2020-09-09 20:12:40 +08:00
Qu Xuan
2ad1a4afe5 fix: avoid create public zone failed 2020-09-09 19:54:45 +08:00
zhaoxiangchun
1a323667ad commonalet bugfix:
1.报警接受人通知渠道调整:由notify中解释发送到对应的channel
2.报警恢复增加对应的evalmatch,保存对应的metricvalue
3.报警记录中增加description相关信息
4.其他代码调整
2020-09-09 18:32:56 +08:00
Qiu Jian
0268d95853 fix: recode project-role rpc handle to support group role assignment results by user or project 2020-09-09 18:19:36 +08:00
Qu Xuan
025eca548f fix: uniform cachedimage active status 2020-09-09 15:21:43 +08:00
yunion-ci-robot
4cea5a1c9f Merge pull request #7829 from swordqiu/automated-cherry-pick-of-#7828-upstream-release-3.4
Automated cherry pick of #7828: fix: wire usage stats incorrect
2020-09-08 20:28:56 +08:00
yunion-ci-robot
cb1c8d7961 Merge pull request #7827 from swordqiu/automated-cherry-pick-of-#7820-upstream-release-3.4
Automated cherry pick of #7820: fix: ignore 409 error when doing redfish power on
2020-09-08 20:26:52 +08:00
yunion-ci-robot
408f975f40 Merge pull request #7822 from rainzm/automated-cherry-pick-of-#7821-upstream-release-3.4
Automated cherry pick of #7821: fix(esxiagent): return image extid not id
2020-09-08 20:23:55 +08:00
Qiu Jian
621c2796d6 fix: wire usage stats incorrect 2020-09-08 16:41:48 +08:00
Qiu Jian
d10adf22d7 fix: ignore 409 error when doing redfish power on 2020-09-08 15:34:59 +08:00
rainzm
3ef91f92e5 fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:33:18 +08:00
yunion-ci-robot
e75e5a9b95 Merge pull request #7803 from rainzm/automated-cherry-pick-of-#7802-upstream-release-3.4
Automated cherry pick of #7802: Optimization of the scheduler
2020-09-08 14:59:53 +08:00
rainzm
348ca46a08 fix(scheduler): more standardized testing 2020-09-08 14:28:09 +08:00
rainzm
6000874b3c refactor(scheduler): make forcast result clearer
forcast 的返回值包括:
1. CanCreate: 是否可以创建
2. FilteredCandidate: 被过滤掉的candidate(宿主机),并记录了
   过滤其的 filter 的名字以及给出的原因。
3. ReqCount: 请求的机器数量
4. AllowCount: 允许的机器数量
5. NotAllowReasons: 不允许的原因,每一个不被允许的都会被列出原因。
2020-09-08 14:28:09 +08:00
rainzm
89980b6267 Add mock test for genericScheudler.Schedule 2020-09-08 14:28:09 +08:00
rainzm
d086161a68 feat: Add method 'Sku' to CandidatePropertyGetter 2020-09-08 14:28:09 +08:00
rainzm
39fed764fe feat: Add IResultHelper
1. Adjust the package structure about pkg/scheduler/core and
pkg/scheduler/manager

2. Add IResultHelper

3. Change the signature of genericScheduler.Schedule
func (*Unit, []Candidater) (*SchedResultItemList, error) ==>
func (*Unit, []Candidater, IResultHelper) (*ScheduleResult, error)
2020-09-08 14:28:09 +08:00
yunion-ci-robot
426699ada9 Merge pull request #7819 from wanyaoqi/automated-cherry-pick-of-#7810-upstream-release-3.4
Automated cherry pick of #7810: fix host error output
2020-09-08 10:03:18 +08:00
yunion-ci-robot
82d297eb77 Merge pull request #7809 from swordqiu/automated-cherry-pick-of-#7808-upstream-release-3.4
Automated cherry pick of #7808: fix: check assign-host previliges
2020-09-08 10:01:56 +08:00
yunion-ci-robot
92ecdb5f8d Merge pull request #7818 from wanyaoqi/automated-cherry-pick-of-#7817-upstream-release-3.4
Automated cherry pick of #7817: isolated devices info reenterable
2020-09-08 09:59:54 +08:00
wanyaoqi
ada6c870d8 fix host error output 2020-09-07 21:08:13 +08:00
yunion-ci-robot
86dd4804a3 Merge pull request #7816 from rainzm/automated-cherry-pick-of-#7807-upstream-release-3.4
Automated cherry pick of #7807: fix(notify): break down permissions of notifyconfigs
2020-09-07 21:06:03 +08:00
yunion-ci-robot
cecaa127ea Merge pull request #7805 from yousong/automated-cherry-pick-of-#7804-upstream-release-3.4
Automated cherry pick of #7804: vpcagent: guard against foul eip records
2020-09-07 21:05:46 +08:00
yunion-ci-robot
4d68b5fb61 Merge pull request #7797 from ioito/automated-cherry-pick-of-#7796-upstream-release-3.4
Automated cherry pick of #7796: fix: sync groups for user
2020-09-07 21:03:50 +08:00
yunion-ci-robot
8a329b2b29 Merge pull request #7790 from wanyaoqi/automated-cherry-pick-of-#7789-upstream-release-3.4
Automated cherry pick of #7789: fix get ubuntu version
2020-09-07 21:01:53 +08:00
yunion-ci-robot
c50659a1e4 Merge pull request #7815 from yousong/automated-cherry-pick-of-#7814-upstream-release-3.4
Automated cherry pick of #7814: httperrors: add Error type
2020-09-07 20:59:46 +08:00
yunion-ci-robot
a30df54cb9 Merge pull request #7799 from wanyaoqi/automated-cherry-pick-of-#7798-upstream-release-3.4
Automated cherry pick of #7798: guest short desc add backup host id
2020-09-07 20:57:45 +08:00
yunion-ci-robot
b192e949de Merge pull request #7813 from swordqiu/automated-cherry-pick-of-#7811-upstream-release-3.4
Automated cherry pick of #7811: fix: prevent users in disabled idp from login
2020-09-07 20:55:43 +08:00
yunion-ci-robot
a33a21f712 Merge pull request #7794 from ioito/automated-cherry-pick-of-#7793-upstream-release-3.4
Automated cherry pick of #7793: fix: aliyun wulanchabu region
2020-09-07 20:55:14 +08:00
wanyaoqi
78f9db1ba0 isolated devices info reenterable 2020-09-07 20:46:26 +08:00
rainzm
72276d038d fix(notify): break down permissions of notifyconfigs
1. Only allow admin to create, list, update or delete.
2. Allow user to get types.
2020-09-07 18:56:59 +08:00
Yousong Zhou
f1995a46d8 treewide: DeleteFailReason as an object with translated details 2020-09-07 18:53:07 +08:00
Yousong Zhou
918dce80e8 httperrors: HTTPError: use Error type 2020-09-07 18:53:07 +08:00
Yousong Zhou
12899ab007 httperrors: add Error type 2020-09-07 18:53:07 +08:00
Qiu Jian
e758c4aa97 fix: prevent users in disabled idp from login 2020-09-07 18:25:39 +08:00
Qiu Jian
623c71b143 fix: check assign-host previliges 2020-09-07 18:15:03 +08:00
Yousong Zhou
f0faf07b61 vpcagent: guard against foul eip records 2020-09-07 17:27:12 +08:00
wanyaoqi
8c4941ea70 guest short desc add backup host id 2020-09-07 17:05:34 +08:00
Qu Xuan
4cd73c16ca fix: sync groups for user 2020-09-07 16:35:47 +08:00
Qu Xuan
0a79d1d23e fix: aliyun wulanchabu region 2020-09-07 16:10:37 +08:00
wanyaoqi
d22676906c fix get ubuntu version 2020-09-07 15:40:33 +08:00
yunion-ci-robot
74b3bf2c6a Merge pull request #7787 from rainzm/automated-cherry-pick-of-#7786-upstream-release-3.4
Automated cherry pick of #7786: fix(scheduler): fix array out of bounds when sorting hosts
2020-09-07 15:31:43 +08:00
yunion-ci-robot
c94a90398e Merge pull request #7783 from rainzm/automated-cherry-pick-of-#7782-upstream-release-3.4
Automated cherry pick of #7782: fix(notify): Replace String() with GetString()
2020-09-07 15:28:41 +08:00
yunion-ci-robot
b57bbc66c7 Merge pull request #7781 from swordqiu/automated-cherry-pick-of-#7780-upstream-release-3.4
Automated cherry pick of #7780: fix: user idps attributes includes template name
2020-09-07 15:24:41 +08:00
rainzm
4f9c37239e fix(scheduler): fix array out of bounds when sorting hosts 2020-09-07 15:18:51 +08:00
rainzm
8524fda7f8 fix(notify): Replace String() with GetString()
The String() of jsonutils.JSONObject will add a pair of
double quotes around the content. The GetString() will
get a clean content.
2020-09-07 15:10:54 +08:00
Qiu Jian
bfa4ce38e0 fix: user idps attributes includes template name 2020-09-07 13:01:23 +08:00
yunion-ci-robot
70d790187e Merge pull request #7778 from ioito/automated-cherry-pick-of-#7729-upstream-release-3.4
Automated cherry pick of #7729: optimized cachedimages sync
2020-09-07 11:08:42 +08:00
Qu Xuan
7095ea8f8b optimized cachedimages sync 2020-09-07 10:16:33 +08:00
yunion-ci-robot
4edff8ae34 Merge pull request #7770 from swordqiu/automated-cherry-pick-of-#7769-upstream-release-3.4
Automated cherry pick of #7769: fix: network address list respect privilige of user
2020-09-05 15:50:42 +08:00
yunion-ci-robot
fd750e0a9c Merge pull request #7773 from swordqiu/automated-cherry-pick-of-#7772-upstream-release-3.4
Automated cherry pick of #7772: fix: skup syncing lb, rds, redis instances in tasks
2020-09-05 15:48:43 +08:00
Zexi Li
f0ae739747 Merge pull request #7777 from zexi/automated-cherry-pick-of-#7776-upstream-release-3.4
Automated cherry pick of #7776: climc: k8s cluster grafana componet support subpath
2020-09-05 15:37:48 +08:00
Zexi Li
7f5124bdf2 climc: k8s cluster grafana componet support subpath 2020-09-05 14:47:04 +08:00
Qiu Jian
c5c2b4b699 fix: skup syncing lb, rds, redis instances in tasks 2020-09-05 14:30:07 +08:00
Qiu Jian
29edf83293 fix: network address list respect privilige of user 2020-09-05 12:01:01 +08:00
yunion-ci-robot
1c3bbb70a3 Merge pull request #7768 from ioito/automated-cherry-pick-of-#7767-upstream-release-3.4
Automated cherry pick of #7767: fix: cloudid optimized
2020-09-05 10:32:46 +08:00
Qu Xuan
390d6f07e1 fix: cloudid optimized 2020-09-04 20:23:18 +08:00
yunion-ci-robot
41e2757973 Merge pull request #7766 from tb365/automated-cherry-pick-of-#7764-upstream-release-3.4
Automated cherry pick of #7764: pex register add optional column mac_access
2020-09-04 20:15:41 +08:00
yunion-ci-robot
a7160e7518 Merge pull request #7763 from ioito/automated-cherry-pick-of-#7739-upstream-release-3.4
Automated cherry pick of #7739: fix: valid update name and update dns recordset
2020-09-04 20:14:14 +08:00
yunion-ci-robot
01f07c6044 Merge pull request #7761 from swordqiu/automated-cherry-pick-of-#7760-upstream-release-3.4
Automated cherry pick of #7760: fix: scheduler aware policy
2020-09-04 16:20:40 +08:00
TangBin
24af17757d pex register add optional column mac_access 2020-09-04 15:57:38 +08:00
Qu Xuan
b4252c7c25 fix: valid update name and update dns recordset 2020-09-04 14:10:14 +08:00
Qiu Jian
4853883947 fix: scheduler aware policy 2020-09-04 11:10:36 +08:00
Zexi Li
82795f2daf Merge pull request #7752 from ioito/automated-cherry-pick-of-#7751-upstream-release-3.4
Automated cherry pick of #7751: fix: optimized cloudid
2020-09-04 10:33:20 +08:00
Zexi Li
cf056fe42a Merge pull request #7750 from rainzm/automated-cherry-pick-of-#7748-upstream-release-3.4
Automated cherry pick of #7748: feat(esxi): correctly judge whether inet is nil
2020-09-04 10:32:32 +08:00
Zexi Li
1aa16871eb Merge pull request #7755 from swordqiu/automated-cherry-pick-of-#7740-upstream-release-3.4
Automated cherry pick of #7740: fix: find correct esxi host access ip
2020-09-04 10:31:54 +08:00
Zexi Li
4dfd459b14 Merge pull request #7758 from swordqiu/automated-cherry-pick-of-#7757-upstream-release-3.4
Automated cherry pick of #7757: fix: support VirtualDiskRawDiskMappingVer1BackingInfo
2020-09-04 10:31:17 +08:00
Zexi Li
3d1bce5f51 Merge pull request #7754 from swordqiu/automated-cherry-pick-of-#7753-upstream-release-3.4
Automated cherry pick of #7753: fix: remove redundant auth cookie in sso login
2020-09-04 10:30:47 +08:00
Zexi Li
5ff14eb618 Merge pull request #7745 from wanyaoqi/automated-cherry-pick-of-#7744-upstream-release-3.4
Automated cherry pick of #7744: glance: check min disk size on update
2020-09-04 10:29:49 +08:00
Zexi Li
57c0706d9e Merge pull request #7742 from swordqiu/automated-cherry-pick-of-#7741-upstream-release-3.4
Automated cherry pick of #7741: fix: search by chs projectname or domainname
2020-09-04 10:29:00 +08:00
Zexi Li
4dfa6f8b19 Merge pull request #7736 from rainzm/automated-cherry-pick-of-#7735-upstream-release-3.4
Automated cherry pick of #7735: fix(compute): return InputParameterError while ValidateCreateData
2020-09-04 10:27:46 +08:00
Qiu Jian
0619da6f14 fix: support VirtualDiskRawDiskMappingVer1BackingInfo 2020-09-04 00:15:14 +08:00
yunion-ci-robot
f62912dd5b Merge pull request #7734 from rainzm/automated-cherry-pick-of-#7733-upstream-release-3.4
Automated cherry pick of #7733: Feature & Fix for Notify
2020-09-04 00:03:42 +08:00
Qiu Jian
29a3db9ff6 fix: find correct esxi host access ip 2020-09-03 23:56:30 +08:00
Qiu Jian
c50497090e fix: remove redundant auth cookie in sso login 2020-09-03 23:54:15 +08:00
yunion-ci-robot
47f5f9edc1 Merge pull request #7731 from swordqiu/automated-cherry-pick-of-#7730-upstream-release-3.4
Automated cherry pick of #7730: fix: compatiblity fixes with lenovo RD620 and huawei 2288 fix: compatiblity fixes with lenovo RD620 and huawei 2288
2020-09-03 21:54:51 +08:00
rainzm
ff52e00448 feat(notify): Allow use topic to filter notification 2020-09-03 21:25:05 +08:00
rainzm
7c6e053a08 feat(notify): Add TNotifyChannel const of robot 2020-09-03 21:25:05 +08:00
rainzm
8c6fdd1106 feat(notify): replace VerifiedContactTypes with VerifiedInfos in ReceiverDetails
VerifiedInfos will provide Note to display.
2020-09-03 21:25:05 +08:00
rainzm
beee6e2c9f feat(notify): Support trigger-verify for feishu, dingtalk and workwx 2020-09-03 21:25:04 +08:00
rainzm
60412cf7e8 feat(notify): Add VerifiedNote for SSubContact
VerifiedNote will be 'ok' if SSubContact verified successfully.
Otherwise, there will be there value for VerifiedNote:
1. no such mobile: mobile is not exist, change and try again.
2. incomplete config: tell admin to improve the configuration.
3. service exceptions: try again or connect to admin.
2020-09-03 21:25:04 +08:00
rainzm
90b84e995b feat(notify): break down error from UseridByMobile 2020-09-03 21:25:04 +08:00
rainzm
851b2d4bb7 fix(notify): Set default priority 'normal' when creating notification 2020-09-03 21:25:04 +08:00
rainzm
ab02e166e9 fix(notify): Mark verified not enabled in MarkContactTypeVerified 2020-09-03 21:25:04 +08:00
rainzm
10caff1d9c refactor(notify): hide SSunContact webconsole
Every receiver has webconsole type contact that is equal with
receiverid.
Now, make webconsole invisible, and it does exist.
2020-09-03 21:25:04 +08:00
rainzm
82b7e659ad fix(notify): Allow user list receivers 2020-09-03 21:25:04 +08:00
rainzm
9e1a7c5e12 fix(notify): use AfterSend for contact with succuessful sending 2020-09-03 21:25:04 +08:00
Qu Xuan
5cc25ae10a fix: optimzed sync 2020-09-03 21:18:30 +08:00
Qu Xuan
cfd76b23a3 fix: optimized cloudid 2020-09-03 21:18:30 +08:00
rainzm
65ca3ace74 feat(esxi): correctly judge whether inet is nil 2020-09-03 20:35:32 +08:00
wanyaoqi
00265fedda glance: check min disk size on update 2020-09-03 20:00:45 +08:00
Qiu Jian
976dbd7796 fix: search by chs projectname or domainname 2020-09-03 18:38:48 +08:00
rainzm
c050629ba2 fix(compute): return InputParameterError while ValidateCreateData 2020-09-03 15:24:03 +08:00
Qiu Jian
949e2ebed9 fix: compatiblity fixes with lenovo RD620 and huawei 2288 2020-09-03 11:50:00 +08:00
yunion-ci-robot
dc19a10323 Merge pull request #7728 from tb365/automated-cherry-pick-of-#7725-upstream-release-3.4
Automated cherry pick of #7725: create classic vpc fix
2020-09-03 10:32:41 +08:00
TangBin
612ad9286b create classic vpc fix 2020-09-02 18:26:16 +08:00
yunion-ci-robot
32bc9b45a1 Merge pull request #7721 from ioito/automated-cherry-pick-of-#7587-upstream-release-3.4
Automated cherry pick of #7587: feature: add dns interface
2020-09-02 18:00:06 +08:00
Qu Xuan
03456eaaa9 fix: avoid nil panic 2020-09-02 17:27:24 +08:00
Qu Xuan
d03fddcd7d fix: avoid policy value not save 2020-09-02 17:27:24 +08:00
Qu Xuan
893085a2c6 fix: climc params 2020-09-02 17:27:24 +08:00
Qu Xuan
a85a1aecd4 feature: add dns interface 2020-09-02 17:27:24 +08:00
yunion-ci-robot
c3d7168622 Merge pull request #7717 from zhaoxiangchun/automated-cherry-pick-of-#7716-upstream-release-3.4
Automated cherry pick of #7716: alert record bugfix
2020-09-02 16:33:42 +08:00
yunion-ci-robot
06c0ada74c Merge pull request #7719 from wanyaoqi/automated-cherry-pick-of-#7718-upstream-release-3.4
Automated cherry pick of #7718: vmware disk support deploy lvm partition
2020-09-02 16:31:45 +08:00
yunion-ci-robot
6e5f5b2ea3 Merge pull request #7723 from wanyaoqi/automated-cherry-pick-of-#7722-upstream-release-3.4
Automated cherry pick of #7722: update host status to unknown on host offline
2020-09-02 16:28:40 +08:00
Rain Zheng
eb9d794fab Automated cherry pick of #7714: Feature & Fix for Notify (#7715)
* feat(notify): Add 'get-types' action for ConfigManager

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

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

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

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

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

* fix(notify): Init ParentContactType for SSubContact

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

* fix(notify): Unverify SSubContact when ParentContactType match

* fix(notify): When no data is initialized, exit directly
2020-09-02 16:10:38 +08:00
wanyaoqi
20b949091e update host status to unknown on host offline 2020-09-02 13:09:24 +08:00
wanyaoqi
43ce3b5455 vmware disk support deploy lvm partition 2020-09-01 21:15:22 +08:00
zhaoxiangchun
d95e64e593 listfilter by alert_id 2020-09-01 20:47:18 +08:00
zhaoxiangchun
06bd735f0b alert record bugfix
1.return details fix
2020-09-01 20:47:18 +08:00
wanyaoqi
607e3d8fdc hostinfo: try create network add is_on_premise (#7707) 2020-09-01 20:10:37 +08:00
屈轩
800dd26c60 fix: add details for account delete (#7703)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 20:09:47 +08:00
Yousong Zhou
77a5c1ff85 Automated cherry pick of #7712: httperrors: support setting lang with X-Yunion-Lang (#7713)
* httperrors: support setting lang with X-Yunion-Lang

* mcclient: session: set lang
2020-09-01 19:52:38 +08:00
Yousong Zhou
bde5e1b96a httperrors: use existing details if id is not present (#7711) 2020-09-01 18:32:37 +08:00
Zexi Li
82942006b6 Merge pull request #7665 from ioito/automated-cherry-pick-of-#7664-upstream-release-3.4
Automated cherry pick of #7664: fix: avoid delete aws iam user failed
2020-09-01 12:19:25 +08:00
Jian Qiu
836151eee3 fix: vmware esxi host detects vnic portgroup info (#7660)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:51:41 +08:00
Jian Qiu
0566e1dec7 fix: apigateway user info add is_local attribtue (#7695)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:49:36 +08:00
Rain Zheng
b03c8ce506 Automated cherry pick of #7692: feat(notify): Support update for notify config (#7693)
* feat(notify): Support update for notify config

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

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

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

* fix(notify): Allow negative update for receiver

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

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

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

* feat(notify): Adds validity period for verify

Verification beyond the expiration date will fail.

* fix(notify): SQuery of scopedomain in FilterByOwner
2020-09-01 10:48:37 +08:00
Rain Zheng
c914dafa75 Automated cherry pick of #7661: fix(host-deployer): Exit correctly after mounting (#7672)
* fix(esxi): Fetch full templates of datastoreImageCache

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

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

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

* fix(host-deployer): Kill process

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

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

* fix(esxi): Support multi agent in different zone
2020-09-01 10:47:39 +08:00
Zexi Li
6c30c1c789 Merge pull request #7681 from wanyaoqi/automated-cherry-pick-of-#7680-upstream-release-3.4
Automated cherry pick of #7680: snapshot list by guest
2020-09-01 10:47:14 +08:00
Zexi Li
adf8885a7a Merge pull request #7671 from zhaoxiangchun/automated-cherry-pick-of-#7667-upstream-release-3.4
Automated cherry pick of #7667: monitor commonalert bugfix
2020-09-01 10:46:24 +08:00
Jian Qiu
cca2267389 fix: server purge may fail (#7698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:33:06 +08:00
Jian Qiu
538bc873a0 fix: http error limit request body length fix: http error limit request body length (#7700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-09-01 10:18:36 +08:00
屈轩
9812864bce fix: 不限制openstack系统盘类型 (#7675)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-09-01 01:24:36 +08:00
wanyaoqi
4af4bcb963 fix host get guests (#7683) 2020-09-01 01:14:09 +08:00
wanyaoqi
b85fb98297 fix get storage capacity on init' (#7687) 2020-09-01 01:03:37 +08:00
Yousong Zhou
19ba4b9755 vpcagent: respect guest src check settings (#7678)
mac   ip    dhcp    ping    xipping    xmacping
  on    on    y       y       n          n
  on    off   y       y       y          n
  off   off   y       y       y          y

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

note dst mac address of reply packet when changing only mac address
with vpc ip remains the same
2020-08-31 16:39:37 +08:00
wanyaoqi
438c1ced5f snapshot list by guest 2020-08-31 15:27:27 +08:00
zhaoxiangchun
be5bf11ebe commonalert bugfix 2020-08-31 10:28:23 +08:00
zhaoxiangchun
6cea2883ab 统一监控查询面板保存 2020-08-31 10:28:23 +08:00
Jian Qiu
5647a6842d fix: cleanup logic for nics of pending_deleted guests (#7669)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-31 09:33:35 +08:00
Zexi Li
fba76c6392 Merge pull request #7663 from wanyaoqi/automated-cherry-pick-of-#7662-upstream-release-3.4
Automated cherry pick of #7662: update host deployer base image version
2020-08-28 20:36:42 +08:00
Qu Xuan
6ed3a48333 fix: avoid delete aws iam user failed 2020-08-28 20:24:53 +08:00
wanyaoqi
53a6c40a8a update host deployer base image version 2020-08-28 20:19:15 +08:00
wanyaoqi
eee193165e baremetal colloct isolated devices info (#7658) 2020-08-28 12:10:34 +08:00
Zexi Li
5987b56297 Merge pull request #7652 from tb365/automated-cherry-pick-of-#7650-upstream-release-3.4
Automated cherry pick of #7650: eip & vpc manager match fix
2020-08-28 12:09:20 +08:00
wanyaoqi
8e83ab4768 fix mount fetcher fs (#7657) 2020-08-28 12:08:35 +08:00
wanyaoqi
b977641336 remove backup metadata on delete backup (#7654) 2020-08-28 12:01:37 +08:00
TangBin
132c583790 eip & vpc manager match fix 2020-08-28 10:20:24 +08:00
wanyaoqi
557240155d fix build baremetal agent image (#7647) 2020-08-27 11:02:34 +08:00
屈轩
3243e5a035 fix: aovid truncated data (#7644)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 21:45:34 +08:00
Jian Qiu
e3fe66e8eb fix: add keystone sync user debug info (#7639)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:42:37 +08:00
Jian Qiu
de80f17053 fix: turn off some default project policies (#7637)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-26 18:41:35 +08:00
屈轩
aef249ea8e fix: avoid openstack image-list failed (#7641)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-26 18:33:33 +08:00
zhaoxiangchun
dd8a07f364 metric describe 接口 (#7381)
* metric describe 接口

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

description api modify:

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

* 统一监控功能:

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

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

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

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

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

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

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

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

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

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

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

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

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

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

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

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

* fix: password authentication may choose wrong idp backend

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

* lblisteners: list: show certificate name

* lblisteners: list: show acl name

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

- add sync cleand schedule cache

- add reconcile with backup

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

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

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

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

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

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

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

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

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

View File

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

View File

@@ -1,4 +0,0 @@
/.git
/vendor
/cmd
/pkg

View File

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

View File

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

3
.gitignore vendored
View File

@@ -37,3 +37,6 @@ GTAGS
pkg/generated
*.orig
# gotext extracted
out.gotext.json

View File

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

View File

@@ -199,7 +199,7 @@ mod:
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=1.0-1
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-1
define dockerCentOSBuildCmd
set -o xtrace
@@ -215,11 +215,11 @@ docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:$(DOCKER_BUILD_IMAGE_VERSION) \
$(DOCKER_CENTOS_BUILD_IMAGE) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
@@ -227,11 +227,13 @@ docker-centos-build:
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker-centos stop --time 0 onecloud-ci-build || true
docker stop --time 0 onecloud-docker-centos-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
@@ -250,7 +252,7 @@ docker-alpine-build:
-v $(CURDIR):/root/go/src/yunion.io/x/onecloud \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/onecloud/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-1 \
$(DOCKER_ALPINE_BUILD_IMAGE) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
@@ -312,7 +314,8 @@ VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
mkdir -p $(ROOT_DIR)/_output
DEBUG=$(DEBUG) ARCH=$(ARCH) TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM alpine:3.11.6
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"

View File

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

View File

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

View File

@@ -5,13 +5,16 @@ MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY ./opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
@@ -27,13 +30,3 @@ COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# add mkisofs with bundles libraries
ADD ./mkisofs /bin/mkisofs
ADD ./.mkisofs.bin /bin/.mkisofs.bin
ADD ./bundles/mkisofs /bin/bundles/mkisofs
# use GNU timeout command replace busybox timeout command
RUN rm /usr/bin/timeout
ADD ./timeout /bin/timeout
ADD ./.timeout.bin /bin/.timeout.bin
ADD ./bundles/timeout /bin/bundles/timeout

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM frolvlad/alpine-glibc:glibc-2.28
FROM alpine:3.11
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,16 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-3 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/esxi-agent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/build/esxi-agent/root/opt/ /opt/
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/esxi-agent /opt/yunion/bin/esxi-agent

View File

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

View File

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

1
build/fetcherfs/vars Normal file
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +1 @@
Yunion Verify
{{.copyright}} Verify

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +0,0 @@
{{ .brand }}主机{{ .Name }}创建成功

View File

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

View File

@@ -1 +0,0 @@
{{ .brand }}主机{{ .name }}删除通知

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1 @@
{{ .brand }}虚拟机{{ .Name }}创建成功

View File

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

View File

@@ -0,0 +1 @@
{{ .brand }}虚拟机{{ .name }}删除通知

View File

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

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