Compare commits

..

3240 Commits

Author SHA1 Message Date
屈轩
dd50edcbee fix(region): sync cloud project log (#17199) 2023-05-30 22:58:19 +08:00
wanyaoqi
a86d650129 fix(host): miss return on syncDiskConf (#17201)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 22:57:37 +08:00
Zexi Li
becfedcf7a fix(climc): release upgrade method (#17196) 2023-05-30 22:57:19 +08:00
Zexi Li
cf13801f44 Merge pull request #17181 from ioito/automated-cherry-pick-of-#17180-upstream-release-3.10
Automated cherry pick of #17180: fix(region): vpc purge
2023-05-30 17:41:50 +08:00
Zexi Li
6a67d88c23 Merge pull request #17188 from swordqiu/automated-cherry-pick-of-#17187-upstream-release-3.10
Automated cherry pick of #17187: fix: apigateway endpoint empty error
2023-05-30 17:40:55 +08:00
Zexi Li
5d9e4a53a0 Merge pull request #17192 from wanyaoqi/automated-cherry-pick-of-#17191-upstream-release-3.10
Automated cherry pick of #17191: fix(region): isolated device model add properties hot pluggable
2023-05-30 17:40:27 +08:00
Zexi Li
3becea76c7 Merge pull request #17185 from ioito/automated-cherry-pick-of-#17184-upstream-release-3.10
Automated cherry pick of #17184: fix(region): server list filter by ips
2023-05-30 17:39:27 +08:00
wanyaoqi
070db4887e fix(region): isolated device model add properties hot pluggable
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 15:23:35 +08:00
Qiu Jian
9a6069a96b fix: apigateway endpoint empty error 2023-05-30 11:19:35 +08:00
ioito
12f94559f1 fix(region): server list filter by ips 2023-05-29 20:31:34 +08:00
ioito
c755f3d40d fix(region): vpc purge 2023-05-29 16:46:06 +08:00
Zexi Li
a2c05f5f90 Merge pull request #17172 from wanyaoqi/automated-cherry-pick-of-#17171-upstream-release-3.10
Automated cherry pick of #17171: fix(host): adapt arm host no l3 cache but has l1/l2
2023-05-29 11:31:48 +08:00
Zexi Li
2755623ca8 Merge pull request #17174 from wanyaoqi/automated-cherry-pick-of-#17173-upstream-release-3.10
Automated cherry pick of #17173: fix(region): request host set auto migrate use hostId
2023-05-29 11:31:08 +08:00
Zexi Li
a6b15244d7 Merge pull request #17176 from wanyaoqi/automated-cherry-pick-of-#17175-upstream-release-3.10
Automated cherry pick of #17175: fix(region): check host update cmtbound on hugepage host
2023-05-29 11:30:34 +08:00
wanyaoqi
91947a5c16 fix(region): check host update cmtbound on hugepage host
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-29 11:13:56 +08:00
wanyaoqi
9303c35719 fix(region): request host set auto migrate use hostId 2023-05-29 10:23:27 +08:00
wanyaoqi
3876ab0f82 fix(host): adapt arm host no l3 cache but has l1/l2
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-26 22:59:43 +08:00
Jian Qiu
0fc89fad85 fix: resource short desc for elasticcache and natgateway (#17170)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 18:55:48 +08:00
Jian Qiu
a804818f82 fix: make cron day job happen earlier (#17167)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:02:17 +08:00
Jian Qiu
cf5833be81 fix: resource short desc (#17165)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:01:20 +08:00
Zexi Li
63b9933da6 Merge pull request #17161 from wanyaoqi/automated-cherry-pick-of-#17160-upstream-release-3.10
Automated cherry pick of #17160: fix(host): get pci controller type
2023-05-26 15:23:57 +08:00
wanyaoqi
7881393fb5 fix(host): get pci controller type
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 20:45:42 +08:00
Zexi Li
b636cf0f71 Merge pull request #17157 from gouqi11/automated-cherry-pick-of-#17156-upstream-release-3.10
Automated cherry pick of #17156: fix(keystone): fix refreshScopeResourceCount timeout
2023-05-25 20:12:19 +08:00
马鸿飞
61396da15e fix(keystone): fix refreshScopeResourceCount timeout 2023-05-25 15:24:43 +08:00
wanyaoqi
18719d3df1 fix(host): arm cdrom hotplug (#17151)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 06:47:32 +08:00
Zexi Li
1a0ddef9f0 feat(climc): make cloud-provider-clirc supports output format (#17147) 2023-05-24 19:01:17 +08:00
Zexi Li
e6b87c3d29 feat(climc): support output yaml format (#17145) 2023-05-24 19:00:52 +08:00
wanyaoqi
dd8ca4b919 fix(host): compatible host no l3 cache (#17121)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-24 06:25:55 +08:00
屈轩
d3ca7d2c1c fix(region): support shutdown mode (#17138) 2023-05-24 06:25:01 +08:00
wanyaoqi
97de8772c0 fix(host): hotplug pcie device use pcie root port (#17130) 2023-05-24 06:24:36 +08:00
Zexi Li
6519ad3e7b Merge pull request #17141 from ioito/automated-cherry-pick-of-#17140-upstream-release-3.10
Automated cherry pick of #17140: fix(region): support aws assign public ip with network
2023-05-24 00:05:32 +08:00
ioito
724ef6d16a fix(region): support aws assign public ip with network 2023-05-23 23:33:13 +08:00
Zexi Li
1669e4d542 Merge pull request #17136 from ioito/automated-cherry-pick-of-#17135-upstream-release-3.10
Automated cherry pick of #17135: fix(region): aws tag sync
2023-05-23 21:16:48 +08:00
ioito
6b67c52fdd fix(region): aws tag sync 2023-05-23 19:44:29 +08:00
Zexi Li
b03081dda2 Merge pull request #17126 from ioito/automated-cherry-pick-of-#17125-upstream-release-3.10
Automated cherry pick of #17125: fix(region): index order
2023-05-23 11:24:50 +08:00
ioito
1a2d2bafb0 fix(region): index order 2023-05-23 11:00:03 +08:00
gzericlee
47f04f296f feat(bingocloud): add bingoiam for oauth2 (#17084)
Co-authored-by: 李锐 <lirui@bingosoft.net>
2023-05-20 02:13:09 +08:00
wanyaoqi
e847b90566 fix(host): record live migrate resume task (#17093)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:12:47 +08:00
Jian Qiu
a7284d3cde fix: lbagent fail to start due to empty prioty and interface (#17117)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-20 02:11:19 +08:00
wanyaoqi
7b05bc3c92 fix(host): pciroot not assigned in switch case (#17102)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:10:25 +08:00
wanyaoqi
6769987981 fix(host): don't init pcie to pci bridge on pci extend disabled (#17115)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:10:03 +08:00
Zexi Li
bed1649474 fix(baremetal): skip running sysinit.sh when arch is aarch64 (#17104) 2023-05-19 17:34:36 +08:00
Zexi Li
7cf9a5e810 Merge pull request #17109 from gouqi11/automated-cherry-pick-of-#17108-upstream-release-3.10
Automated cherry pick of #17108: fxi(scheduledtask): skip task when scheduledtask.labels is empty
2023-05-19 17:30:41 +08:00
马鸿飞
4d111925df fxi(scheduledtask): skip task when scheduledtask.labels is empty 2023-05-19 15:51:39 +08:00
Zexi Li
960be32bec Merge pull request #17100 from gouqi11/automated-cherry-pick-of-#17098-upstream-release-3.10
Automated cherry pick of #17098: fix(keystone): user pwd expired notify bug fix
2023-05-19 12:06:34 +08:00
马鸿飞
016593d4c2 fix(keystone): user pwd expired notify bug fix 2023-05-19 12:03:19 +08:00
Zexi Li
9a51ce72c0 Merge pull request #17097 from ioito/automated-cherry-pick-of-#17096-upstream-release-3.10
Automated cherry pick of #17096: fix(climc): notify v2
2023-05-19 11:28:56 +08:00
ioito
a37149ecc9 fix(climc): notify v2 2023-05-19 11:09:12 +08:00
Zexi Li
d939a0bc5a Merge pull request #17078 from ioito/automated-cherry-pick-of-#17077-upstream-release-3.10
Automated cherry pick of #17077: fix(apigateway): image upload with properties
2023-05-19 10:49:41 +08:00
Zexi Li
e40e00b0b2 Merge pull request #17091 from ioito/automated-cherry-pick-of-#17090-upstream-release-3.10
Automated cherry pick of #17090: fix(region): openstack disk reset
2023-05-19 10:49:15 +08:00
Zexi Li
9e8da7b9cf Merge pull request #17064 from wanyaoqi/automated-cherry-pick-of-#17037-upstream-release-3.10
Automated cherry pick of #17037: feat(region,host): custom pci device type
2023-05-19 10:42:13 +08:00
ioito
533c761a2f fix(region): openstack disk reset 2023-05-18 19:35:25 +08:00
Jian Qiu
57bd0b059c fix: allow bootstrap role policy assignment without violation check (#17088)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-18 19:29:15 +08:00
Zexi Li
ce97fd0a65 Merge pull request #17076 from ioito/automated-cherry-pick-of-#17075-upstream-release-3.10
Automated cherry pick of #17075: fix(region): disable ping debug
2023-05-18 18:07:59 +08:00
Zexi Li
ad4722ecf5 Merge pull request #17081 from ioito/automated-cherry-pick-of-#17080-upstream-release-3.10
Automated cherry pick of #17080: fix(region): validate delete region
2023-05-18 18:07:02 +08:00
Zexi Li
321ec38d5d Merge pull request #17058 from gouqi11/automated-cherry-pick-of-#17057-upstream-release-3.10
Automated cherry pick of #17057: fix(region): snapshot code tidy
2023-05-18 18:06:25 +08:00
Zexi Li
0599ad6e6d Merge pull request #17086 from gouqi11/automated-cherry-pick-of-#17085-upstream-release-3.10
Automated cherry pick of #17085: fix(notify): fix feishu getAccessTokenFailed err
2023-05-18 18:05:18 +08:00
马鸿飞
10e0b1007e fix(notify): fix feishu getAccessTokenFailed err 2023-05-18 17:34:36 +08:00
ioito
873b2d58c4 fix(region): validate delete region 2023-05-18 16:09:37 +08:00
ioito
a190dbd8dd fix(apigateway): image upload with properties 2023-05-18 15:09:38 +08:00
ioito
6524a4864c fix(region): disable ping debug 2023-05-18 11:19:05 +08:00
Zexi Li
de84c4b8ad Merge pull request #17074 from gouqi11/automated-cherry-pick-of-#17060-upstream-release-3.10
Automated cherry pick of #17060: fix(notify): add func to get recevier subscription
2023-05-18 11:00:33 +08:00
马鸿飞
7a35416cd3 fix(notify): add func to get recevier subscription 2023-05-18 10:37:11 +08:00
Zexi Li
06fdb33e67 Merge pull request #17073 from wanyaoqi/automated-cherry-pick-of-#17072-upstream-release-3.10
Automated cherry pick of #17072: fix(host): fix arm topo lib ghw
2023-05-18 10:32:53 +08:00
wanyaoqi
dcdc7696a2 fix(region): list normal guests 2023-05-18 10:19:04 +08:00
wanyaoqi
56de7bd206 fix(host): fix arm topo lib ghw
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 10:09:34 +08:00
Zexi Li
0f0a5f34e4 Merge pull request #17067 from swordqiu/automated-cherry-pick-of-#17066-upstream-release-3.10
Automated cherry pick of #17066: fix: disable policy update when enable three member system
2023-05-18 02:17:31 +08:00
Zexi Li
6570552a10 Merge pull request #17070 from wanyaoqi/automated-cherry-pick-of-#17069-upstream-release-3.10
Automated cherry pick of #17069: fix(host): support arm host tcg qemu
2023-05-18 02:17:06 +08:00
Zexi Li
423c3a228e Merge pull request #17053 from wanyaoqi/automated-cherry-pick-of-#17052-upstream-release-3.10
Automated cherry pick of #17052: fix(region): guest restart network task params
2023-05-18 02:16:14 +08:00
wanyaoqi
88a4a835d5 fix(host): support arm host tcg qemu
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 00:32:33 +08:00
Qiu Jian
cb131ebf7d fix: disable policy update when enable three member system 2023-05-17 23:36:37 +08:00
wanyaoqi
b961ac5aee feat(region,host): custom pci device type 2023-05-17 17:24:54 +08:00
马鸿飞
4b46b483ab fix(region): snapshot code tidy 2023-05-17 10:52:13 +08:00
Zexi Li
3848411984 Merge pull request #17056 from gouqi11/automated-cherry-pick-of-#17055-upstream-release-3.10
Automated cherry pick of #17055: fix(excelutils): 取消负数标红
2023-05-16 19:38:47 +08:00
马鸿飞
def6a08c13 fix(excelutils): 取消负数标红 2023-05-16 19:36:25 +08:00
wanyaoqi
f827889d4d fix(region): guest restart network task params
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-16 15:03:29 +08:00
Zexi Li
40d691f497 Merge pull request #17046 from gouqi11/automated-cherry-pick-of-#17041-upstream-release-3.10
Automated cherry pick of #17041: fix(notify): add some template translate
2023-05-16 11:35:11 +08:00
Zexi Li
9a9dce85a0 Merge pull request #17048 from swordqiu/automated-cherry-pick-of-#17047-upstream-release-3.10
Automated cherry pick of #17047: fix: prevent policy violate when assigning policy to roles
2023-05-16 11:12:20 +08:00
屈轩
2838fdceb3 fix(region): secgroup rule sync with lock (#17051) 2023-05-16 10:55:06 +08:00
Qiu Jian
6d6cdbddbc fix: prevent policy violate when assigning policy to roles 2023-05-15 21:19:03 +08:00
马鸿飞
4a603c5d12 fix(notify): add some template translate 2023-05-15 21:10:12 +08:00
Zexi Li
388d000310 Merge pull request #17045 from ioito/automated-cherry-pick-of-#17044-upstream-release-3.10
Automated cherry pick of #17044: fix(region): vendor update
2023-05-15 20:11:54 +08:00
ioito
375d63103f fix(region): vendor update 2023-05-15 20:00:41 +08:00
Zexi Li
eda5d3223f feat(apimap): fetch vpcagent net topo info from DB (#17023) 2023-05-15 14:47:27 +08:00
Jian Qiu
f8734e4ab6 fix: options of the maximal number of roles of a user in project (#17034)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-05-14 08:35:09 +08:00
屈轩
9d54a1cfa7 fix(region): optimized snapshot list (#17014) 2023-05-13 07:53:09 +08:00
wanyaoqi
78fd4cb0d4 fix(host): guest sync update cdrom bootindex (#17026)
generate qemu cmdline check cdrom path before generate bootindex params

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:52:12 +08:00
wanyaoqi
8c27227d9a fix(host): check disk pci device is nil on init disks addrs (#17031)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:51:52 +08:00
屈轩
8408ac8383 fix(region): optimized sku sync (#17029) 2023-05-13 07:51:03 +08:00
Zexi Li
24e04ba84c Merge pull request #17017 from wanyaoqi/automated-cherry-pick-of-#17016-upstream-release-3.10
Automated cherry pick of #17016: fix(host): guest name has space
2023-05-12 10:32:33 +08:00
wanyaoqi
fa7934cc96 fix(host): guest name has space 2023-05-11 17:48:26 +08:00
Zexi Li
6fc152b653 Merge pull request #17013 from gouqi11/automated-cherry-pick-of-#17011-upstream-release-3.10
Automated cherry pick of #17011: fix(notify): fix notify webconsole
2023-05-11 16:18:05 +08:00
Zexi Li
df3b70b263 Merge pull request #17012 from gouqi11/automated-cherry-pick-of-#17008-upstream-release-3.10
Automated cherry pick of #17008: fix(region): add cleanSnapshotDate option
2023-05-11 16:17:21 +08:00
马鸿飞
9fceb5e521 fix(region): add cleanSnapshotDate option 2023-05-11 15:52:45 +08:00
马鸿飞
f5b8b5a476 fix(notify): fix notify webconsole 2023-05-11 14:15:53 +08:00
屈轩
cf2404a9e0 fix(region): show host info when cache image (#16999) 2023-05-11 11:03:25 +08:00
wanyaoqi
a5739a6597 fix(host): check running guest kvm off option (#16989) 2023-05-11 11:02:40 +08:00
Jian Qiu
d446886437 fix: policy tag filters not effect for shared resources (#17005)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-11 11:00:36 +08:00
gouqi11
cdd616a67c fix(region): add cronjob to cleaning snapshot (#17006)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-05-11 10:59:46 +08:00
Zexi Li
d598c6d710 Merge pull request #16992 from wanyaoqi/automated-cherry-pick-of-#16991-upstream-release-3.10
Automated cherry pick of #16991: fix(region): set sku maxmem size 1024G
2023-05-10 18:05:10 +08:00
Zexi Li
d1be28b740 Merge pull request #16994 from zexi/monitor-query-timeout
fix(monitor): adjust query timeout to 5 mins
2023-05-10 18:01:37 +08:00
Zexi Li
82f312ebb6 fix(monitor): adjust query timeout to 5 mins 2023-05-10 13:00:25 +08:00
wanyaoqi
da181bc3ca fix(region): set sku maxmem size 1024G
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-10 10:53:57 +08:00
Zexi Li
49f1c4f418 Merge pull request #16975 from ioito/automated-cherry-pick-of-#16973-upstream-release-3.10
Automated cherry pick of #16973: fix(region): optimized vpc-list
2023-05-10 09:58:37 +08:00
wanyaoqi
fa7fc2fbe5 fix(host): hide kvm only gpu guests (#16977)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-09 14:45:44 +08:00
Zexi Li
b4ed622c48 Merge pull request #16980 from ioito/automated-cherry-pick-of-#16979-upstream-release-3.10
Automated cherry pick of #16979: fix(region): elastic cache purge
2023-05-09 09:20:09 +08:00
Zexi Li
df6d93d285 Merge pull request #16984 from swordqiu/automated-cherry-pick-of-#16983-upstream-release-3.10
Automated cherry pick of #16983: fix: usage handler nil check revisit
2023-05-09 09:19:26 +08:00
Qiu Jian
f0379dc515 fix: usage handler nil check revisit 2023-05-08 20:50:17 +08:00
ioito
0380aef8ec fix(region): elastic cache purge 2023-05-08 16:05:24 +08:00
ioito
c5c59032bf fix(region): optimized vpc-list 2023-05-08 15:11:37 +08:00
Zexi Li
db5bcf94fa Merge pull request #16970 from swordqiu/automated-cherry-pick-of-#16969-upstream-release-3.10
Automated cherry pick of #16969: fix: three member policy adjustment 20230507
2023-05-08 10:29:15 +08:00
Zexi Li
fd5fc30c63 Merge pull request #16963 from ioito/automated-cherry-pick-of-#16962-upstream-release-3.10
Automated cherry pick of #16962: fix(glance): support filter image by os archs
2023-05-08 10:28:18 +08:00
Zexi Li
92652eab1d Merge pull request #16958 from wanyaoqi/automated-cherry-pick-of-#16957-upstream-release-3.10
Automated cherry pick of #16957: fix(host): don't return error on disk snap chain params miss
2023-05-08 10:26:29 +08:00
Zexi Li
1eafde7f91 Merge pull request #16967 from swordqiu/automated-cherry-pick-of-#16966-upstream-release-3.10
Automated cherry pick of #16966: fix: domain tag filter not working
2023-05-08 10:25:17 +08:00
Qiu Jian
ad1cc70909 fix: three member policy adjustment 20230507 2023-05-08 03:16:59 +08:00
Qiu Jian
edbcb92088 fix: domain tag filter not working 2023-05-08 02:25:19 +08:00
ioito
5ea9c26677 fix(glance): support filter image by os archs 2023-05-06 15:23:16 +08:00
wanyaoqi
a99bcd13f1 fix(host): don't return error on disk snap chain miss 2023-05-06 14:17:22 +08:00
Zexi Li
a673906288 Merge pull request #16954 from ioito/automated-cherry-pick-of-#16953-upstream-release-3.10
Automated cherry pick of #16953: fix(region): skip empty resource metric pull
2023-05-06 12:15:19 +08:00
ioito
db976a6512 fix(region): skip empty resource metric pull 2023-05-06 10:57:11 +08:00
Zexi Li
3e78208328 Merge pull request #16951 from wanyaoqi/automated-cherry-pick-of-#16950-upstream-release-3.10
Automated cherry pick of #16950: fix(region,host): migrate with out chain snapshots
2023-05-06 10:16:01 +08:00
wanyaoqi
bd4f9dd2cf fix(region,host): migrate with out chain snapshots
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-06 01:39:58 +08:00
Zexi Li
aed854edf6 Merge pull request #16949 from ioito/automated-cherry-pick-of-#16948-upstream-release-3.10
Automated cherry pick of #16948: fix(region): host status
2023-05-05 21:24:50 +08:00
ioito
9a290f12c1 fix(region): host status 2023-05-05 20:20:17 +08:00
Zexi Li
794e0b151c Merge pull request #16945 from ioito/automated-cherry-pick-of-#16944-upstream-release-3.10
Automated cherry pick of #16944: fix(region): allow query capabilities
2023-05-05 17:12:25 +08:00
Zexi Li
87f36191e1 Merge pull request #16941 from ioito/automated-cherry-pick-of-#16940-upstream-release-3.10
Automated cherry pick of #16940: fix(region): cloudpods secgroup rule
2023-05-05 17:11:57 +08:00
Zexi Li
853d7caf9d Merge pull request #16931 from ioito/automated-cherry-pick-of-#16930-upstream-release-3.10
Automated cherry pick of #16930: fix(region): optimized guest and cachedimage list speed
2023-05-05 17:10:55 +08:00
Zexi Li
920fc94f91 Merge pull request #16946 from ioito/hotfix/qx-aws-redis-tag
fix(region): vendor update for aws redis tag
2023-05-05 17:02:39 +08:00
ioito
e363f729ac fix(region): vendor update for aws redis tag 2023-05-05 17:00:33 +08:00
ioito
7adefec371 fix(region): allow query capabilities 2023-05-05 16:20:17 +08:00
Zexi Li
426071aa54 Merge pull request #16943 from zexi/automated-cherry-pick-of-#16936-upstream-release-3.10
Automated cherry pick of #16936: feat(climc): create k8s cluster v1.22.9
2023-05-05 16:13:33 +08:00
Zexi Li
c780616e43 feat(climc): create k8s cluster v1.22.9 2023-05-05 16:13:00 +08:00
wanyaoqi
b53926b8a6 fix(region): get cdrom details (#16928) 2023-05-05 15:07:43 +08:00
Zexi Li
f9c71874b6 fix(monitor): truncated JSONObject of alert model (#16934) 2023-05-05 14:43:14 +08:00
屈轩
c1285be160 fix(region): aws redis tags (#16938) 2023-05-05 14:42:22 +08:00
ioito
420ad0bcc1 fix(region): cloudpods secgroup rule 2023-05-05 11:44:58 +08:00
ioito
bad28dc7fd fix(region): optimized guest and cachedimage list speed 2023-05-04 14:22:23 +08:00
Jian Qiu
84b6b97ba8 fix: vm desc missing cdrom config (#16926)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-01 23:02:12 +08:00
Zexi Li
5e4abf5708 Merge pull request #16924 from swordqiu/automated-cherry-pick-of-#16923-upstream-release-3.10
Automated cherry pick of #16923: fix: do not init keystone project admin user
2023-04-28 15:32:07 +08:00
Qiu Jian
693244ad93 fix: do not init keystone admin user 2023-04-28 15:17:08 +08:00
Zexi Li
d94bfa6bbb Merge pull request #16922 from gouqi11/automated-cherry-pick-of-#16899-upstream-release-3.10
Automated cherry pick of #16899: fix(notify): refresh workwx token
2023-04-28 14:40:20 +08:00
马鸿飞
574c10ef49 fix(notify): refresh workwx token 2023-04-28 14:38:04 +08:00
Zexi Li
cf9351ec7c Merge pull request #16921 from ioito/automated-cherry-pick-of-#16920-upstream-release-3.10
Automated cherry pick of #16920: fix(region): secgroup sync
2023-04-28 13:56:59 +08:00
ioito
f9178f77c5 fix(region): secgroup sync 2023-04-28 13:28:58 +08:00
Zexi Li
22fa5923dc feat(README): update installation content (#16916) 2023-04-28 12:00:54 +08:00
Zexi Li
b4e00dec25 Merge pull request #16911 from swordqiu/automated-cherry-pick-of-#16907-upstream-release-3.10
Automated cherry pick of #16907: fix: auth getStats should ignore no permission error
2023-04-28 10:28:27 +08:00
屈轩
54bb667932 fix(region): optimized storage-list (#16910) 2023-04-27 23:06:46 +08:00
Qiu Jian
ff8ea8a4cb fix: auth getStats should ignore no permission error 2023-04-27 21:36:58 +08:00
Zexi Li
149040ce97 Merge pull request #16863 from wanyaoqi/automated-cherry-pick-of-#16845-upstream-release-3.10
Automated cherry pick of #16845: feat(region,host): storage backend lvm and nvme
2023-04-27 21:07:39 +08:00
Zexi Li
8b79cbec9d Merge pull request #16892 from ioito/automated-cherry-pick-of-#16891-upstream-release-3.10
Automated cherry pick of #16891: fix(region): vendor update
2023-04-27 21:06:47 +08:00
Zexi Li
a5544675f0 Merge pull request #16904 from zexi/monitor-list-debug
fix(monitor,apihelper): list storages without details
2023-04-27 19:37:09 +08:00
Zexi Li
080fa90d70 fix(monitor,apihelper): list storages without details 2023-04-27 19:21:05 +08:00
Zexi Li
56baabffdc Merge pull request #16898 from gouqi11/automated-cherry-pick-of-#16879-upstream-release-3.10
Automated cherry pick of #16879: fix(notify): add mobile accept ext
2023-04-27 16:16:23 +08:00
马鸿飞
2f17482e4f fix(notify): add mobile accept ext 2023-04-27 15:11:25 +08:00
gouqi11
b74df1913a fix(cloudcommon): add crud note (#16877)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-04-27 14:35:07 +08:00
屈轩
138d248aa0 fix(region): add table index (#16895) 2023-04-27 14:34:02 +08:00
ioito
42e855c5aa fix(region): vendor update 2023-04-27 10:07:13 +08:00
Zexi Li
7da3e98ca3 Merge pull request #16874 from wanyaoqi/automated-cherry-pick-of-#16873-upstream-release-3.10
Automated cherry pick of #16873: fix(host): compatible ouler
2023-04-27 09:37:41 +08:00
Zexi Li
48470f0cc1 Merge pull request #16889 from zexi/automated-cherry-pick-of-#16888-upstream-release-3.10
Automated cherry pick of #16888: fix(scheduler): skip load esxi network free-port cache
2023-04-27 09:36:11 +08:00
Zexi Li
027bde1f51 fix(scheduler): skip load esxi network free-port cache 2023-04-27 09:26:36 +08:00
Jian Qiu
874b0f5134 fix: project set admin user (#16876)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-26 08:20:59 +08:00
wanyaoqi
f52d361b2a fix(host): compatible with python3
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-25 22:47:26 +08:00
wanyaoqi
a16f1177ba fix(host): check subgroup enabled on cgroup init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-25 22:47:26 +08:00
Zexi Li
c0920a4993 Merge pull request #16860 from zexi/monitor-stats-panic
fix(monitor): panic of StatisticHandler
2023-04-25 10:03:07 +08:00
Zexi Li
9be1984aee Merge pull request #16858 from zexi/automated-cherry-pick-of-#16857-upstream-release-3.10
Automated cherry pick of #16857: fix(region): handle probe-isolated-device error
2023-04-25 10:02:43 +08:00
wanyaoqi
c9b35bd9fd feat(region,host): lvm storage backend
support use lvm volume group as storage backend.

host config example:
lvm_volume_groups:
- storage1
2023-04-25 00:34:40 +08:00
wanyaoqi
392ec553ec feat(region,host): nvme device passthrough 2023-04-25 00:34:40 +08:00
Zexi Li
c5ae2647d5 fix(monitor): panic of StatisticHandler 2023-04-24 19:58:34 +08:00
Zexi Li
a18313cd2e fix(region): handle probe-isolated-device error 2023-04-24 19:52:30 +08:00
Zexi Li
3c7da64f41 Merge pull request #16853 from gouqi11/automated-cherry-pick-of-#16852-upstream-release-3.10
Automated cherry pick of #16852: fix(notify): fix email verify empty error
2023-04-24 17:15:05 +08:00
马鸿飞
75c546d788 fix(notify): fix email verify empty error 2023-04-24 16:53:45 +08:00
Zexi Li
54e598a548 Merge pull request #16849 from wanyaoqi/automated-cherry-pick-of-#16848-upstream-release-3.10
Automated cherry pick of #16848: fix(region):  check disk purge  get host error is sql.ErrNoRows
2023-04-24 15:21:10 +08:00
wanyaoqi
c5d61a8c35 fix(region): check disk purge get host error is sql.ErrNoRows
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-24 10:51:17 +08:00
Zexi Li
5830716205 Merge pull request #16843 from ioito/automated-cherry-pick-of-#16842-upstream-release-3.10
Automated cherry pick of #16842: fix(cloudmon): h3c rds monitor
2023-04-21 18:29:18 +08:00
ioito
7790332fe0 fix(cloudmon): h3c rds monitor 2023-04-21 17:38:51 +08:00
Zexi Li
1653936d88 Merge pull request #16836 from wanyaoqi/automated-cherry-pick-of-#16835-upstream-release-3.10
Automated cherry pick of #16835: fix(host): arm node failed get numa architecture use ghw lib
2023-04-21 10:04:16 +08:00
wanyaoqi
f5f3dfd315 fix(host): arm node failed get numa architecture use ghw lib
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 23:37:05 +08:00
Zexi Li
f33fc03c33 Merge pull request #16834 from gouqi11/automated-cherry-pick-of-#16833-upstream-release-3.10
Automated cherry pick of #16833: fix(notify): add subcontact fail details
2023-04-20 20:47:11 +08:00
马鸿飞
99c78ee38b fix(notify): add subcontact fail details 2023-04-20 20:32:11 +08:00
Zexi Li
31680b205b Merge pull request #16826 from ioito/automated-cherry-pick-of-#16825-upstream-release-3.10
Automated cherry pick of #16825: fix(region): log with account disconnect reason
2023-04-20 13:24:25 +08:00
Zexi Li
a46fcf7de5 Merge pull request #16821 from wanyaoqi/automated-cherry-pick-of-#16820-upstream-release-3.10
Automated cherry pick of #16820: fix(host): fix machine type before generate cpu desc
2023-04-20 13:23:28 +08:00
Zexi Li
1e650da2ce Merge pull request #16829 from ioito/automated-cherry-pick-of-#16828-upstream-release-3.10
Automated cherry pick of #16828: fix(region): vendor update for aws region
2023-04-20 13:22:53 +08:00
ioito
78978ee207 fix(region): vendor update for aws region 2023-04-20 11:29:28 +08:00
ioito
1cfe1537ba fix(region): log with account disconnect reason 2023-04-20 10:37:56 +08:00
wanyaoqi
4cb10b405f fix(host): fix machine type before generate cpu desc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 09:28:23 +08:00
Zexi Li
bf5e09c649 Merge pull request #16819 from ioito/automated-cherry-pick-of-#16818-upstream-release-3.10
Automated cherry pick of #16818: fix(region): proxmox host ip
2023-04-19 11:37:10 +08:00
ioito
d0fa493fdc fix(region): proxmox host ip 2023-04-19 11:28:17 +08:00
Zexi Li
7ae029e16b Merge pull request #16814 from zexi/monitor-disable-query-sig
fix(monitor): disable query signature defaultly
2023-04-19 10:08:54 +08:00
Zexi Li
cd410ba27e fix(monitor): disable query signature defaultly 2023-04-19 10:05:17 +08:00
Zexi Li
c9428031d0 Merge pull request #16807 from ioito/automated-cherry-pick-of-#16791-upstream-release-3.10
Automated cherry pick of #16791: fix(cloudmon): support skip pull azure memory and disk usage metric
2023-04-18 15:28:05 +08:00
Zexi Li
b1c1763386 Merge pull request #16811 from gouqi11/automated-cherry-pick-of-#16809-upstream-release-3.10
Automated cherry pick of #16809: fix(notify): fix receiver create bug
2023-04-18 15:27:30 +08:00
马鸿飞
450571268c fix(notify): fix receiver create bug 2023-04-18 15:25:22 +08:00
ioito
da4b222537 fix(cloudmon): support skip pull azure memory and disk usage metric 2023-04-18 13:47:49 +08:00
Zexi Li
f9b87906ee Merge pull request #16742 from zexi/update-vendor-0417
fix(vendor): update vendor for v3.10
2023-04-17 23:37:26 +08:00
Zexi Li
3c877e90a5 fix(vendor): update vendor for v3.10 2023-04-17 23:33:52 +08:00
Zexi Li
14e25e4be0 Merge pull request #16480 from ioito/automated-cherry-pick-of-#16463-upstream-release-3.10
Automated cherry pick of #16463: fix: avoid panic when sync vmware host
2023-04-17 23:18:14 +08:00
ioito
15d9468102 fix: avoid panic when sync vmware host 2023-04-17 10:06:53 +08:00
Zexi Li
442634c971 Merge pull request #16472 from wanyaoqi/automated-cherry-pick-of-#16471-upstream-release-3.10
Automated cherry pick of #16471: fix(host): update cpudesc on cpu hotpluged
2023-04-14 19:34:17 +08:00
wanyaoqi
392ad723c9 fix(host): update cpudesc on cpu hotpluged
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-14 17:43:27 +08:00
Jian Qiu
025848d1fa Automated cherry pick of #16467: fix: update vendor 20230413 (#16468)
* fix: update vendor 20230413

* fix: update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-14 02:41:26 +08:00
Zexi Li
421f030eb3 Merge pull request #16462 from gouqi11/automated-cherry-pick-of-#16461-upstream-release-3.10
Automated cherry pick of #16461: fix(region): fixModelarts
2023-04-13 17:41:54 +08:00
mhf
36925b058b fix(region): fixModelarts 2023-04-13 16:40:33 +08:00
Zexi Li
c4d7faa11c Merge pull request #16459 from zexi/automated-cherry-pick-of-#16458-upstream-release-3.10
Automated cherry pick of #16458: fix(monitor): wrong tag filter when get metric measurement
2023-04-13 11:56:47 +08:00
Zexi Li
e1cb09c25f fix(monitor): wrong tag filter when get metric measurement 2023-04-13 11:39:41 +08:00
Zexi Li
2c51c7709e Merge pull request #16436 from zexi/automated-cherry-pick-of-#16434-upstream-release-3.10
Automated cherry pick of #16434: feat(region): set kvm storage instance capability
2023-04-13 10:09:07 +08:00
Zexi Li
ba2d24709f Merge pull request #16448 from wanyaoqi/automated-cherry-pick-of-#16447-upstream-release-3.10
Automated cherry pick of #16447: fix(host): set default live migrate bandwidth unlimited
2023-04-13 10:08:03 +08:00
Zexi Li
e371724257 Merge pull request #16449 from ioito/automated-cherry-pick-of-#16440-upstream-release-3.10
Automated cherry pick of #16440: fix(glance): support esxi glance debug on macos
2023-04-13 10:07:41 +08:00
Zexi Li
3a0149a2e5 Merge pull request #16445 from ioito/automated-cherry-pick-of-#16444-upstream-release-3.10
Automated cherry pick of #16444: fix(region): support import private k8s
2023-04-12 20:47:37 +08:00
Zexi Li
e6903eaec6 Merge pull request #16442 from ioito/automated-cherry-pick-of-#16441-upstream-release-3.10
Automated cherry pick of #16441: fix(region): sync purge vpc
2023-04-12 20:46:19 +08:00
Zexi Li
92de0f5a26 Merge pull request #16452 from gouqi11/automated-cherry-pick-of-#16451-upstream-release-3.10
Automated cherry pick of #16451: fix(excelutils): 添加千位分隔常量
2023-04-12 19:13:17 +08:00
mhf
d14ec18df3 fix(excelutils): 添加千位分隔常量 2023-04-12 19:06:11 +08:00
ioito
bd9b5a0f25 fix(glance): support esxi glance debug on macos 2023-04-12 17:52:00 +08:00
wanyaoqi
b94b3a9397 fix(host): set default live migrate bandwidth unlimited
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-12 17:23:10 +08:00
ioito
757fc19cad fix(region): support import private k8s 2023-04-12 16:36:34 +08:00
ioito
17fab36c48 fix(region): sync purge vpc 2023-04-12 15:27:14 +08:00
Jian Qiu
d8a30ac2d9 fix: clickhouse parttion expression of divide inconstent 3.9 (#16438)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-12 12:04:10 +08:00
Zexi Li
33d3620526 feat(region): set kvm storage instance capability 2023-04-12 10:18:10 +08:00
Zexi Li
a86265c642 Merge pull request #16430 from ioito/automated-cherry-pick-of-#16429-upstream-release-3.10
Automated cherry pick of #16429: fix: only request error show time
2023-04-11 22:17:24 +08:00
ioito
a70a144a5b fix: only request error show time 2023-04-11 22:03:17 +08:00
Zexi Li
9625de44ba Merge pull request #16425 from ioito/automated-cherry-pick-of-#16424-upstream-release-3.10
Automated cherry pick of #16424: fix(common): show request time with rfc3339
2023-04-11 21:15:10 +08:00
Zexi Li
08cfdfaea5 Merge pull request #16402 from gouqi11/automated-cherry-pick-of-#16401-upstream-release-3.10
Automated cherry pick of #16401: feature(region): add resource order
2023-04-11 21:05:20 +08:00
Zexi Li
6dba362a79 Merge pull request #16428 from gouqi11/automated-cherry-pick-of-#16423-upstream-release-3.10
Automated cherry pick of #16423: fix(excelutils): 添加按列修改单元格格式方法
2023-04-11 21:04:03 +08:00
mhf
fdd0cd900f fix(excelutils): 添加按列修改单元格格式方法 2023-04-11 21:01:54 +08:00
ioito
2990e604a1 fix(common): show request time with rfc3339 2023-04-11 20:55:39 +08:00
Zexi Li
45a5af600a Merge pull request #16422 from ioito/automated-cherry-pick-of-#16421-upstream-release-3.10
Automated cherry pick of #16421: fix: vendor update
2023-04-11 19:57:27 +08:00
ioito
c2b68bb26b fix: vendor update 2023-04-11 19:47:25 +08:00
Zexi Li
75b0ff52a5 Merge pull request #16418 from ioito/automated-cherry-pick-of-#16417-upstream-release-3.10
Automated cherry pick of #16417: fix(common): log time zone and format
2023-04-11 18:28:15 +08:00
ioito
7c2ea8fa4b fix(common): log time zone and format 2023-04-11 17:24:34 +08:00
Zexi Li
e1b29f7de9 Merge pull request #16415 from ioito/automated-cherry-pick-of-#16414-upstream-release-3.10
Automated cherry pick of #16414: fix(common): log time with time zone
2023-04-11 15:02:06 +08:00
Zexi Li
50a1004d19 Merge pull request #16409 from ioito/automated-cherry-pick-of-#16408-upstream-release-3.10
Automated cherry pick of #16408: fix(common): show exception with remote addr and duration
2023-04-11 14:59:56 +08:00
Zexi Li
bc3941e737 Merge pull request #16412 from ioito/automated-cherry-pick-of-#16411-upstream-release-3.10
Automated cherry pick of #16411: fix(keystone): avoid panic when sync scope reosurce
2023-04-11 14:57:52 +08:00
Zexi Li
69a0f05063 Merge pull request #16404 from ioito/automated-cherry-pick-of-#16403-upstream-release-3.10
Automated cherry pick of #16403: fix(region): optimized cloudprovider list
2023-04-11 14:55:25 +08:00
ioito
2840d5d5c3 fix(common): log time with time zone 2023-04-11 14:36:18 +08:00
ioito
a6ca50a105 fix(common): show exception with remote addr and duration 2023-04-11 13:44:47 +08:00
ioito
ee5f6d3c53 fix(keystone): avoid panic when sync scope reosurce 2023-04-11 10:50:26 +08:00
Jian Qiu
3ac9e04874 fix: lbagent ovn options shoule not in common (#16407)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-11 09:34:33 +08:00
ioito
c81c0017b8 fix(region): optimized cloudprovider list 2023-04-10 19:13:11 +08:00
mhf
6ef4f9db91 feature(region): add resource order 2023-04-10 18:04:58 +08:00
Zexi Li
4662794e9c Merge pull request #16396 from ioito/automated-cherry-pick-of-#16395-upstream-release-3.10
Automated cherry pick of #16395: fix(region): remove useless server sku
2023-04-10 17:17:33 +08:00
Zexi Li
3aa2076f9c Merge pull request #16398 from zexi/devtool-panic
fix(devtool): panic occurred cause of nil ctx
2023-04-10 17:16:48 +08:00
Zexi Li
67ff54f6b5 fix(devtool): panic occurred cause of nil ctx 2023-04-10 17:10:38 +08:00
Zexi Li
26c942c792 Merge pull request #16390 from wanyaoqi/automated-cherry-pick-of-#16389-upstream-release-3.10
Automated cherry pick of #16389: fix(host): recover page size on hugepage disabled
2023-04-10 10:53:16 +08:00
ioito
c3ed398eec fix(region): remove useless server sku 2023-04-10 10:51:51 +08:00
wanyaoqi
c3611f0dc3 fix(host): recover page size on hugepage disabled 2023-04-08 13:02:32 +08:00
Zexi Li
8e4dd0867c Merge pull request #16388 from ioito/automated-cherry-pick-of-#16387-upstream-release-3.10
Automated cherry pick of #16387: fix: vendor update
2023-04-07 19:27:20 +08:00
ioito
5ee5647513 fix: vendor update 2023-04-07 18:58:15 +08:00
Zexi Li
fbdbacbaa4 Merge pull request #16385 from ioito/automated-cherry-pick-of-#16384-upstream-release-3.10
Automated cherry pick of #16384: fix(region): vendor update for openstack nic
2023-04-07 18:45:05 +08:00
Zexi Li
817928d712 Merge pull request #16382 from ioito/automated-cherry-pick-of-#16381-upstream-release-3.10
Automated cherry pick of #16381: fix(webconsole): avoid panic when send stats request
2023-04-07 18:20:10 +08:00
Zexi Li
a78c18d8a1 Merge pull request #16378 from zexi/automated-cherry-pick-of-#16377-upstream-release-3.10
Automated cherry pick of #16377: fix(region): not set default data when batch creating disks
2023-04-07 18:19:36 +08:00
ioito
fa7eb5026f fix(region): vendor update for openstack nic 2023-04-07 17:58:41 +08:00
ioito
c987d3f5f0 fix(webconsole): avoid panic when send stats request 2023-04-07 17:14:49 +08:00
Zexi Li
99314f4c6e fix(region): not set default data when batch creating disks 2023-04-07 11:03:28 +08:00
Zexi Li
5f1a10f583 Merge pull request #16375 from ioito/automated-cherry-pick-of-#16374-upstream-release-3.10
Automated cherry pick of #16374: fix(region): openstack keypair
2023-04-07 10:59:05 +08:00
ioito
b43881a51d fix(region): openstack keypair 2023-04-07 10:23:00 +08:00
Zexi Li
49fa6a5470 Merge pull request #16372 from ioito/automated-cherry-pick-of-#16371-upstream-release-3.10
Automated cherry pick of #16371: fix(region): azure china user create
2023-04-07 01:01:18 +08:00
Zexi Li
d923dfb146 Merge pull request #16363 from zexi/automated-cherry-pick-of-#16358-upstream-release-3.10
Automated cherry pick of #16358: fix(baremetal): panic occured when using SSD as raid PD
2023-04-07 01:00:57 +08:00
Zexi Li
152a186c1f Merge pull request #16366 from ioito/automated-cherry-pick-of-#16311-upstream-release-3.10
Automated cherry pick of #16311: fix(region): support fast sync cloud resources
2023-04-07 01:00:15 +08:00
ioito
c0f131bb40 fix(region): azure china user create 2023-04-06 22:02:21 +08:00
屈轩
1dd0be9591 fix(region): vender update (#16368) 2023-04-06 20:39:47 +08:00
ioito
d2d92f845a fix(region): support fast sync cloud resources 2023-04-06 18:51:22 +08:00
Zexi Li
9d01ba9719 fix(baremetal): panic occured when using SSD as raid PD 2023-04-06 18:02:27 +08:00
Zexi Li
136c26d40d Merge pull request #16361 from ioito/automated-cherry-pick-of-#16360-upstream-release-3.10
Automated cherry pick of #16360: fix(cloudmon): bingo metric
2023-04-06 18:02:04 +08:00
ioito
33cebbbd34 fix(cloudmon): bingo metric 2023-04-06 17:49:38 +08:00
Zexi Li
ab408e0ed9 Merge pull request #16354 from ioito/automated-cherry-pick-of-#16353-upstream-release-3.10
Automated cherry pick of #16353: fix(cloudmon): esxi disk usage
2023-04-06 16:24:52 +08:00
ioito
10f9c6ba5a fix(cloudmon): esxi disk usage 2023-04-06 15:31:01 +08:00
Zexi Li
db20ba8f22 Merge pull request #16339 from ioito/automated-cherry-pick-of-#16334-upstream-release-3.10
Automated cherry pick of #16334: Automated cherry pick of #16311: fix(region): support fast sync cloud resources
2023-04-06 15:22:09 +08:00
Zexi Li
b438efc138 Merge pull request #16334 from ioito/automated-cherry-pick-of-#16311-upstream-release-3.10
Automated cherry pick of #16311: fix(region): support fast sync cloud resources
2023-04-06 15:21:55 +08:00
Zexi Li
a1923658bd Merge pull request #16349 from swordqiu/automated-cherry-pick-of-#16348-upstream-release-3.10
Automated cherry pick of #16348: fix: allow set project-id auto-crate-project of cloudaccount
2023-04-06 11:17:52 +08:00
Zexi Li
7223f948fb Merge pull request #16352 from swordqiu/automated-cherry-pick-of-#16351-upstream-release-3.10
Automated cherry pick of #16351: fix: allow async setup brvpc mtu
2023-04-06 11:17:02 +08:00
Qiu Jian
b3d83671fb fix: allow async setup brvpc mtu 2023-04-06 00:10:28 +08:00
Qiu Jian
d180b3165a fix: allow set project-id auto-crate-project of cloudaccount 2023-04-05 16:41:17 +08:00
Zexi Li
436928ca6d Merge pull request #16342 from swordqiu/automated-cherry-pick-of-#16340-upstream-release-3.10
Automated cherry pick of #16340: fix: distinct field with subquery
2023-04-05 11:18:51 +08:00
Zexi Li
f23b7e5a6e Merge pull request #16344 from swordqiu/automated-cherry-pick-of-#16343-upstream-release-3.10
Automated cherry pick of #16343: fix: send email queue to cc
2023-04-05 11:18:09 +08:00
Zexi Li
d4a4ce9f79 Merge pull request #16347 from swordqiu/automated-cherry-pick-of-#16346-upstream-release-3.10
Automated cherry pick of #16346: fix: auth context with service name
2023-04-05 11:17:06 +08:00
Zexi Li
88a4630c52 Merge pull request #16345 from gouqi11/automated-cherry-pick-of-#16341-upstream-release-3.10
Automated cherry pick of #16341:  fix(region): fix modelarts createFailed
2023-04-05 11:16:27 +08:00
Qiu Jian
0123c0a8e8 fix: auth context with service name 2023-04-04 20:46:06 +08:00
mhf
27ffebdc6f fix(region): fix modelarts createFailed 2023-04-04 19:14:30 +08:00
Qiu Jian
6737a72701 fix: send email queue to cc 2023-04-04 18:49:58 +08:00
Qiu Jian
d0027a9808 fix: distinct field with subquery 2023-04-04 17:48:28 +08:00
ioito
4300328e57 fix(region): support fast sync cloud resources 2023-04-04 14:36:55 +08:00
屈轩
295a8cd5ec fix(region): sync esxi disk access path (#16336) 2023-04-04 09:51:27 +08:00
ioito
b5cf895dee fix(region): support fast sync cloud resources 2023-04-03 16:27:55 +08:00
Zexi Li
9dcbeecd94 Merge pull request #16331 from zexi/monitor-server-api
fix(monitor): eip fields are missed in details
2023-04-03 14:45:41 +08:00
Zexi Li
649ead2c32 fix(monitor): eip fields are missed in details 2023-04-03 14:14:20 +08:00
Zexi Li
f8a871f8fb Merge pull request #16328 from swordqiu/automated-cherry-pick-of-#16327-upstream-release-3.10
Automated cherry pick of #16327: fix: host remove netif also remove baremnetal server netif
2023-04-03 13:33:36 +08:00
Qiu Jian
b264eb38d4 fix: host remove netif also remove baremnetal server netif 2023-04-03 11:24:54 +08:00
Jian Qiu
c43b39e6ad fix: minor fixes 20230403 (#16325)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-03 09:28:13 +08:00
Zexi Li
2c47afeb7c Merge pull request #16323 from gouqi11/automated-cherry-pick-of-#16322-upstream-release-3.10
Automated cherry pick of #16322: fix(cloudmon): add slb key
2023-04-01 11:01:29 +08:00
mhf
8546ac3466 fix(cloudmon): add slb key 2023-04-01 10:19:08 +08:00
Zexi Li
62706fa3a3 Merge pull request #16307 from wanyaoqi/automated-cherry-pick-of-#16306-upstream-release-3.10
Automated cherry pick of #16306: fix(host): set desc nics queues and vectors on live migrate
2023-03-31 01:42:25 +08:00
Zexi Li
a70c9c3542 Merge pull request #16315 from zexi/k8s-blacklist-opt
fix(keystone): add kubeserver running_mode option to blacklist
2023-03-31 01:41:43 +08:00
Zexi Li
5ebc18478a Merge pull request #16302 from wanyaoqi/automated-cherry-pick-of-#16301-upstream-release-3.10
Automated cherry pick of #16301: fix(region): delete gpu device only on guest pending delete
2023-03-31 01:41:33 +08:00
Zexi Li
86ac9f6869 fix(keystone): add kubeserver running_mode option to blacklist 2023-03-31 01:39:22 +08:00
Zexi Li
1c5a2a5db3 Merge pull request #16313 from gouqi11/automated-cherry-pick-of-#16312-upstream-release-3.10
Automated cherry pick of #16312: fix(base): add modulebase unmarshal err
2023-03-29 23:02:25 +08:00
mhf
ef35c464fa fix(base): add modulebase unmarshal err 2023-03-29 22:56:56 +08:00
Zexi Li
925124866f Merge pull request #16304 from swordqiu/automated-cherry-pick-of-#16303-upstream-release-3.10
Automated cherry pick of #16303: fix: simplify i18n table
2023-03-29 19:20:48 +08:00
Zexi Li
838fd36eea Merge pull request #16310 from gouqi11/automated-cherry-pick-of-#16309-upstream-release-3.10
Automated cherry pick of #16309: fix(cloudmon): add Slb metrics
2023-03-29 19:19:31 +08:00
mhf
1092af760c fix(cloudmon): add Slb metrics 2023-03-29 17:23:40 +08:00
wanyaoqi
a0d0b7249e fix(host): set desc nics queues and vectors on live migrate 2023-03-29 13:39:47 +08:00
Qiu Jian
06901ecb52 fix: simplify i18n table 2023-03-29 00:49:43 +08:00
wanyaoqi
060770b3c0 fix(region): delete gpu device only on guest pending delete
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-28 23:24:39 +08:00
Zexi Li
e6088c4c6a Merge pull request #16300 from ioito/automated-cherry-pick-of-#16299-upstream-release-3.10
Automated cherry pick of #16299: fix(cloudmon): h3c monitor
2023-03-28 17:41:33 +08:00
ioito
14da255469 fix(cloudmon): h3c monitor 2023-03-28 17:31:18 +08:00
Zexi Li
68d72a758b Merge pull request #16296 from zexi/fix-test
fix(cloudmon): import format
2023-03-28 10:00:23 +08:00
Zexi Li
d31b4c576f fix(cloudmon): import format 2023-03-28 09:58:09 +08:00
Zexi Li
ec11d6beaf Merge pull request #16295 from ioito/automated-cherry-pick-of-#16294-upstream-release-3.10
Automated cherry pick of #16294: fix(cloudmon): support h3c metric pull
2023-03-28 09:55:35 +08:00
ioito
77955cfdc1 fix(cloudmon): support h3c metric pull 2023-03-27 22:29:42 +08:00
Zexi Li
7685e8252f Merge pull request #16291 from zexi/automated-cherry-pick-of-#16290-upstream-release-3.10
Automated cherry pick of #16290: fix(monitor): update rds tags
2023-03-27 12:21:20 +08:00
Zexi Li
18f12109d7 fix(monitor): update rds tags 2023-03-27 12:20:07 +08:00
Jian Qiu
73a1d13ec3 fix: minor fixes (#16288)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-27 00:56:04 +08:00
Zexi Li
5f0f938216 Merge pull request #16286 from ioito/automated-cherry-pick-of-#16285-upstream-release-3.10
Automated cherry pick of #16285: fix(region): h3c regional network
2023-03-26 23:38:00 +08:00
ioito
18336e1957 fix(region): h3c regional network 2023-03-26 19:30:28 +08:00
gouqi11
32dbed23c8 fix(region): add guest description (#16283) 2023-03-23 21:35:38 +08:00
Zexi Li
4291479ea0 Merge pull request #16278 from ioito/automated-cherry-pick-of-#16277-upstream-release-3.10
Automated cherry pick of #16277: fix(cloudmon): add apsara eip metric
2023-03-23 15:04:34 +08:00
ioito
b7e78352e4 fix(cloudmon): add apsara eip metric 2023-03-23 14:22:50 +08:00
Zexi Li
b759b7b3ae Merge pull request #16274 from ioito/automated-cherry-pick-of-#16273-upstream-release-3.10
Automated cherry pick of #16273: fix(region): hcs url
2023-03-22 20:41:08 +08:00
Zexi Li
baf747b553 Merge pull request #16276 from gouqi11/automated-cherry-pick-of-#16275-upstream-release-3.10
Automated cherry pick of #16275: fix(notify): fix notify email double send
2023-03-22 20:38:53 +08:00
mhf
c9bae1db4e fix(notify): fix notify email double send 2023-03-22 20:33:23 +08:00
ioito
6362787f5a fix(region): hcs url 2023-03-22 17:51:56 +08:00
Zexi Li
222d267da7 Merge pull request #16270 from zexi/automated-cherry-pick-of-#16269-upstream-release-3.10
Automated cherry pick of #16269: feat(monitor): add extral server tags
2023-03-22 14:01:02 +08:00
Zexi Li
26d7ccecd1 feat(monitor): add extral server tags 2023-03-22 12:27:46 +08:00
Zexi Li
3bc29ba695 Merge pull request #16254 from wanyaoqi/automated-cherry-pick-of-#16253-upstream-release-3.10
Automated cherry pick of #16253: fix(region,host): block jobs progress refactor
2023-03-21 01:59:53 +08:00
gouqi11
00a0797f77 fix(region): addModelartsDeleteLoaclTask (#16262) 2023-03-20 23:52:53 +08:00
Zexi Li
b205b930ce Merge pull request #16250 from swordqiu/automated-cherry-pick-of-#16249-upstream-release-3.10
Automated cherry pick of #16249: fix(region): not sync update netinterface wire_id when merge wires
2023-03-20 10:13:33 +08:00
Zexi Li
7da424a525 Merge pull request #16256 from wanyaoqi/automated-cherry-pick-of-#16255-upstream-release-3.10
Automated cherry pick of #16255: fix(region): get catalog data by region id
2023-03-20 10:12:03 +08:00
Zexi Li
80f2fa16e8 Merge pull request #16259 from wanyaoqi/automated-cherry-pick-of-#16258-upstream-release-3.10
Automated cherry pick of #16258: fix(vpcagent): import ovn package in vpcagent service.go
2023-03-20 10:11:23 +08:00
wanyaoqi
f029eccbf9 fix(vpcagent): import ovn package in vpcagent service.go
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-20 10:00:28 +08:00
wanyaoqi
38bcbd8a53 fix(region): get catalog data by region id
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:53:46 +08:00
wanyaoqi
3bc7f732de fix(region,host): block jobs progress refactor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:23:05 +08:00
Qiu Jian
fd4f83a8b5 fix(region): not sync update netinterface wire_id when merge wires 2023-03-17 22:23:45 +08:00
Jian Qiu
fa82d0643a fix: avoid dup sync table revisit (#16247)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-16 22:22:51 +08:00
wanyaoqi
230a914f5d fix(host): kvm detect and iommu probe (#16244)
- use lsmod check kvm modules on /dev/kvm exist
- don't check grub params "intel_iommu=on" on kvm_intel not loaded

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-16 22:20:36 +08:00
Zexi Li
20e6a62397 Merge pull request #16239 from zexi/automated-cherry-pick-of-#16238-upstream-release-3.10
Automated cherry pick of #16238: fix(monitor): set wrong resType when query
2023-03-16 16:03:50 +08:00
Zexi Li
b62e098d93 fix(monitor): set wrong resType when query 2023-03-15 20:26:56 +08:00
Zexi Li
2e6a3b75fa Merge pull request #16236 from gouqi11/automated-cherry-pick-of-#16235-upstream-release-3.10
Automated cherry pick of #16235: fix(notify): fixEmailQueueBug
2023-03-15 16:38:31 +08:00
mhf
8b6eccf56a fix(notify): fixEmailQueueBug 2023-03-15 16:36:26 +08:00
Zexi Li
2196d27835 Merge pull request #16221 from bingocmp/automated-cherry-pick-of-#16220-upstream-release-3.10
Automated cherry pick of #16220: feat:support for setting custom resource-id
2023-03-15 10:25:42 +08:00
Zexi Li
7c7a7787dd Merge pull request #16226 from swordqiu/automated-cherry-pick-of-#16225-upstream-release-3.10
Automated cherry pick of #16225: fix: fail to create vm with guest_image
2023-03-15 10:12:41 +08:00
Zexi Li
ca203fffe3 Merge pull request #16232 from wanyaoqi/automated-cherry-pick-of-#16231-upstream-release-3.10
Automated cherry pick of #16231: fix(host): download sparse file truncate first
2023-03-15 10:11:58 +08:00
屈轩
e50290b3c5 fix(region): vender update (#16229) 2023-03-14 21:56:23 +08:00
wanyaoqi
59567c3b15 fix(host-health): simplify host health main.go (#16223)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 21:53:35 +08:00
wanyaoqi
a803ee1e75 fix(host): download sparse file truncate first
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:56:21 +08:00
Qiu Jian
b3b9ea2b3f fix: fail to create vm with guest_image 2023-03-14 20:16:25 +08:00
Zexi Li
90673698e9 Merge pull request #16217 from wanyaoqi/automated-cherry-pick-of-#16189-upstream-release-3.10
Automated cherry pick of #16189: fix(region,host): host health misc fix
2023-03-14 12:33:45 +08:00
李锐
3c5a26c7a2 feat:support for setting custom resource-id 2023-03-14 11:21:56 +08:00
Zexi Li
5495489ab0 Merge pull request #16218 from gouqi11/automated-cherry-pick-of-#16216-upstream-release-3.10
Automated cherry pick of #16216: fix(notify): aliyunSmsdriver
2023-03-13 17:51:14 +08:00
mhf
28d9bb77ad fix(notify): aliyunSmsdriver 2023-03-13 17:41:16 +08:00
wanyaoqi
8d18ede79d fix(region,host): host health misc fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-13 17:28:32 +08:00
Zexi Li
82391fba04 Merge pull request #16210 from ioito/automated-cherry-pick-of-#16209-upstream-release-3.10
Automated cherry pick of #16209: fix(region): aws dns zone name
2023-03-13 14:55:21 +08:00
Zexi Li
99c08dae39 Merge pull request #16213 from swordqiu/automated-cherry-pick-of-#16212-upstream-release-3.10
Automated cherry pick of #16212: fix: minor fixes 20230313
2023-03-13 14:54:16 +08:00
Qiu Jian
08f76f5320 fix: minor fixes 20230313 2023-03-13 12:48:02 +08:00
ioito
06e07f6a18 fix(region): aws dns zone name 2023-03-13 11:26:31 +08:00
Jian Qiu
d1e6b14778 fix: add vm integrity check notify (#16206)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:59:44 +08:00
Jian Qiu
8d3e3e970b fix: prevent duplicate table sync (#16203)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:08:11 +08:00
Zexi Li
84d851be11 Merge pull request #16201 from wanyaoqi/automated-cherry-pick-of-#16200-upstream-release-3.10
Automated cherry pick of #16200: fix(host): set medium type on storage create
2023-03-12 23:21:45 +08:00
Zexi Li
152189283c Merge pull request #16191 from swordqiu/automated-cherry-pick-of-#16190-upstream-release-3.10
Automated cherry pick of #16190: fix: storecli missing lv device name
2023-03-12 23:20:51 +08:00
Zexi Li
72e950284f Merge pull request #16194 from swordqiu/automated-cherry-pick-of-#16193-upstream-release-3.10
Automated cherry pick of #16193: fix: refine dashboard policy
2023-03-12 23:20:00 +08:00
Zexi Li
507b1486a0 Merge pull request #16197 from swordqiu/automated-cherry-pick-of-#16196-upstream-release-3.10
Automated cherry pick of #16196: feature: compose guest image with existing images
2023-03-12 23:19:12 +08:00
wanyaoqi
75ad656f9d fix(host): set medium type on storage create
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-12 22:47:29 +08:00
Qiu Jian
639f197ceb fix: refine dashboard policy 2023-03-12 15:54:58 +08:00
Qiu Jian
45ce33b553 feature: compose guest image with existing images 2023-03-12 15:28:59 +08:00
Qiu Jian
ab17488711 fix: storecli missing lv device name 2023-03-11 08:43:50 +08:00
Zexi Li
cd07ea1541 Merge pull request #16187 from ioito/automated-cherry-pick-of-#16186-upstream-release-3.10
Automated cherry pick of #16186: fix(region): add h3c
2023-03-10 13:40:02 +08:00
ioito
fb39f6e2fc fix(region): add h3c 2023-03-09 15:49:16 +08:00
Zexi Li
bf68f83c6e Merge pull request #16185 from gouqi11/automated-cherry-pick-of-#16183-upstream-release-3.10
Automated cherry pick of #16183: fix(cloudmon): hcso monitor make mod
2023-03-09 14:54:40 +08:00
Zexi Li
4c1b53f087 Merge pull request #16182 from gouqi11/automated-cherry-pick-of-#16169-upstream-release-3.10
Automated cherry pick of #16169: fix(nofiy): mobileAndEmailBug
2023-03-09 14:54:12 +08:00
mhf
d67a496203 fix(cloudmon): hcso monitor make mod 2023-03-09 14:52:02 +08:00
mhf
f35abb4d7b fix(nofiy): mobileAndEmailBug 2023-03-09 12:01:28 +08:00
Jian Qiu
773cac165c feature: allow network update wire_id (#16125)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-09 11:08:22 +08:00
Zexi Li
b18544a4b2 Merge pull request #16159 from ioito/automated-cherry-pick-of-#16158-upstream-release-3.10
Automated cherry pick of #16158: fix(region): apsara projects sync
2023-03-09 00:08:55 +08:00
Zexi Li
883b8687eb Merge pull request #16176 from ioito/automated-cherry-pick-of-#16175-upstream-release-3.10
Automated cherry pick of #16175: fix(notify): attachment name
2023-03-08 13:13:05 +08:00
Zexi Li
b39235140d Merge pull request #16177 from zexi/sched-forecast-reason
fix(scheduler): storage failed reason isn't showed in forecast result
2023-03-08 13:06:09 +08:00
Zexi Li
41125025db fix(scheduler): storage failed reason isn't showed in forecast result 2023-03-08 13:01:25 +08:00
ioito
3af8d74d92 fix(notify): attachment name 2023-03-08 11:58:49 +08:00
Zexi Li
601b56da74 Merge pull request #16130 from swordqiu/automated-cherry-pick-of-#16129-upstream-release-3.10
Automated cherry pick of #16129: fix: logclient request add service name context
2023-03-08 11:16:05 +08:00
Zexi Li
af644e548e Merge pull request #16168 from ioito/automated-cherry-pick-of-#16167-upstream-release-3.10
Automated cherry pick of #16167: fix(region): lb project id
2023-03-08 11:15:39 +08:00
Zexi Li
d80f855a86 Merge pull request #16163 from zexi/automated-cherry-pick-of-#16161-upstream-release-3.10
Automated cherry pick of #16161: fix(baremetal): not update hypervisor host's status
2023-03-08 11:14:56 +08:00
Jian Qiu
91bc94ac34 fix: zero clean disk add logs (#16172)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-08 09:41:22 +08:00
wanyaoqi
314d2d18d7 fix(host): tls live migrate disable mulitfd (#16156)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-08 04:37:01 +08:00
ioito
045f95cf80 fix(region): lb project id 2023-03-07 17:55:28 +08:00
Zexi Li
67ae249c0d fix(baremetal): not update hypervisor host's status 2023-03-07 16:30:59 +08:00
ioito
0503097df4 fix(region): apsara projects sync 2023-03-07 14:47:43 +08:00
Zexi Li
a04d29983f Merge pull request #16153 from zexi/automated-cherry-pick-of-#16152-upstream-release-3.10
Automated cherry pick of #16152: fix(monitor): balancer pair ignored error
2023-03-07 14:05:08 +08:00
Zexi Li
9251140e17 fix(monitor): balancer pair ignored error 2023-03-07 13:48:52 +08:00
Zexi Li
0d2ff98dd8 Merge pull request #16148 from wanyaoqi/automated-cherry-pick-of-#16147-upstream-release-3.10
Automated cherry pick of #16147: chore: update host and lbagent base image
2023-03-07 10:23:39 +08:00
Zexi Li
3d9afec64a Merge pull request #16146 from gouqi11/automated-cherry-pick-of-#16144-upstream-release-3.10
Automated cherry pick of #16144: fix(cloudmon): add HCSO base monitor
2023-03-07 10:22:37 +08:00
Zexi Li
c70dbd8261 Merge pull request #16150 from wanyaoqi/automated-cherry-pick-of-#16149-upstream-release-3.10
Automated cherry pick of #16149: chore: update ovsdb go mod vendor
2023-03-07 10:22:04 +08:00
wanyaoqi
350a6e8681 chore: update ovsdb go mod vendor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-07 10:11:37 +08:00
wanyaoqi
d6e7851e7a chore: update host and lbagent base image
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-06 21:35:44 +08:00
mhf
f08db366d5 fix(cloudmon): add HCSO base monitor 2023-03-06 20:02:08 +08:00
Zexi Li
fdd708afad Merge pull request #16133 from ioito/automated-cherry-pick-of-#16132-upstream-release-3.10
Automated cherry pick of #16132: fix(keystone): support user filter by role project
2023-03-06 16:41:01 +08:00
Zexi Li
5bd9a0331a Merge pull request #16135 from gouqi11/automated-cherry-pick-of-#16134-upstream-release-3.10
Automated cherry pick of #16134: fix(notify): alert notification
2023-03-06 16:40:31 +08:00
Zexi Li
e990f0cf03 Merge pull request #16138 from zexi/automated-cherry-pick-of-#16136-upstream-release-3.10
Automated cherry pick of #16136: fix(mcclient): add FetchKeypairBySession method
2023-03-06 16:26:37 +08:00
Zexi Li
b49188e065 fix(mcclient): add FetchKeypairBySession method 2023-03-06 16:25:14 +08:00
mhf
45a1303595 fix(notify): alert notification 2023-03-06 10:57:58 +08:00
ioito
533e6d1d18 fix(keystone): support user filter by role project 2023-03-06 10:30:59 +08:00
QIU Jian
c3f94b60ec fix: logclient request add service name context 2023-03-05 02:42:38 +08:00
Jian Qiu
bb5c1b06c2 fix: hostman StartService() (#16127)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-04 01:44:36 +08:00
Zexi Li
71fd37a7ad Merge pull request #16123 from wanyaoqi/automated-cherry-pick-of-#16122-upstream-release-3.10
Automated cherry pick of #16122: fix(region): set disk default cache mode none
2023-03-03 17:16:42 +08:00
Zexi Li
f17aa2c5be Merge pull request #16120 from ioito/automated-cherry-pick-of-#16118-upstream-release-3.10
Automated cherry pick of #16118: fix(cloudmon): support collect history metric
2023-03-03 17:16:03 +08:00
wanyaoqi
f647e10a6b fix(region): set disk default cache mode none
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-03 15:56:48 +08:00
ioito
89737bc808 fix(cloudmon): support collect history metric 2023-03-03 14:54:55 +08:00
Zexi Li
435d6b7d5a Merge pull request #16097 from ioito/automated-cherry-pick-of-#16096-upstream-release-3.10
Automated cherry pick of #16096: fix(region): openstack compute api version
2023-03-03 10:49:06 +08:00
Zexi Li
17998f248f Merge pull request #16094 from wanyaoqi/automated-cherry-pick-of-#16093-upstream-release-3.10
Automated cherry pick of #16093: fix(host): check shared file storage mount point
2023-03-03 10:44:45 +08:00
Zexi Li
b63d9a5077 Merge pull request #16102 from wanyaoqi/automated-cherry-pick-of-#16101-upstream-release-3.10
Automated cherry pick of #16101: fix(host): dest guest load pci addresses on live migrate
2023-03-03 10:43:33 +08:00
Zexi Li
9891fa1df8 Merge pull request #16111 from wanyaoqi/automated-cherry-pick-of-#16103-upstream-release-3.10
Automated cherry pick of #16103: fix(host): load existing guests desc
2023-03-03 10:42:56 +08:00
Zexi Li
bb0ecb1d61 Merge pull request #16109 from ioito/automated-cherry-pick-of-#16108-upstream-release-3.10
Automated cherry pick of #16108: fix(keystone): filter users by role assignment domain
2023-03-03 10:30:23 +08:00
Zexi Li
069b94c004 Merge pull request #16113 from wanyaoqi/automated-cherry-pick-of-#16112-upstream-release-3.10
Automated cherry pick of #16112: fix(host): start daemon guest on guest not running
2023-03-03 10:30:01 +08:00
Zexi Li
aa05145df1 Merge pull request #16115 from gouqi11/automated-cherry-pick-of-#16114-upstream-release-3.10
Automated cherry pick of #16114: fix(notify):fixInitSubscriberData
2023-03-03 10:29:27 +08:00
mhf
918a6c75b6 fix(notify):fixInitSubscriberData 2023-03-02 20:08:06 +08:00
wanyaoqi
557e576865 fix(host): start daemon guest on guest not running
Check guest status on Start daemon server.
StartGuest on guest status running will restart guest.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-02 17:53:28 +08:00
wanyaoqi
e0eb120670 fix(host): load existing guests desc
init device desc after load pci infos

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-02 16:07:35 +08:00
ioito
5c44a3586e fix(keystone): filter users by role assignment domain 2023-03-02 14:33:50 +08:00
ioito
ef207237d0 fix(region): openstack compute api version 2023-03-02 11:01:43 +08:00
Jian Qiu
412a5cba64 fix: three member policy system violation check (#16105)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-02 08:58:23 +08:00
wanyaoqi
4ba0c694ff fix(host): dest guest load pci addresses on live migrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 23:21:54 +08:00
wanyaoqi
84d0a0f122 fix(host): check shared file storage mount point
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 17:39:06 +08:00
Zexi Li
2b433e7a0a Merge pull request #16088 from zexi/monitor-query-page
fix(monitor): rewrite slimit and soffset logic
2023-03-01 17:36:07 +08:00
Zexi Li
5bde56fae6 fix(monitor): rewrite slimit and soffset logic 2023-03-01 17:23:00 +08:00
Zexi Li
58935a0789 Merge pull request #16082 from gouqi11/automated-cherry-pick-of-#16081-upstream-release-3.10
Automated cherry pick of #16081: fix(notify): addMissingActionTranslate
2023-03-01 16:32:02 +08:00
Zexi Li
9f13bbb62c Merge pull request #16080 from gouqi11/automated-cherry-pick-of-#16062-upstream-release-3.10
Automated cherry pick of #16062: fix(notify): bugFix
2023-03-01 16:30:58 +08:00
Zexi Li
999aa1c53b Merge pull request #16086 from zexi/automated-cherry-pick-of-#16085-upstream-release-3.10
Automated cherry pick of #16085: fix(monitor): skip check series options
2023-03-01 16:02:44 +08:00
Zexi Li
1bc52997aa fix(monitor): skip check series options 2023-03-01 15:51:33 +08:00
mhf
fdd23693b7 fix(notify): addMissingActionTranslate 2023-03-01 14:58:31 +08:00
Zexi Li
3fbc48b2d5 Merge pull request #16078 from swordqiu/automated-cherry-pick-of-#16077-upstream-release-3.10
Automated cherry pick of #16077: fix: better prompt info for user failed auth due to invalid idp status
2023-03-01 10:12:08 +08:00
mhf
8a51904875 fix(notify): bugFix 2023-03-01 10:10:40 +08:00
Zexi Li
6a1741baab Merge pull request #16076 from swordqiu/automated-cherry-pick-of-#16075-upstream-release-3.10
Automated cherry pick of #16075: fix: allow add esxi as onecloud lb backend
2023-03-01 10:10:32 +08:00
Qiu Jian
7f165e84a8 fix: better prompt info for user failed auth due to invalid idp status 2023-03-01 01:42:24 +08:00
Qiu Jian
635b0f292c fix: allow add esxi as onecloud lb backend 2023-03-01 00:42:45 +08:00
Zexi Li
e1375a0a10 fix(monitor): query resources according by listing region resources (#16073) 2023-03-01 00:03:44 +08:00
Zexi Li
6b58717024 Merge pull request #16067 from ioito/automated-cherry-pick-of-#16066-upstream-release-3.10
Automated cherry pick of #16066: fix(region): vmware template image size
2023-02-28 23:45:04 +08:00
Zexi Li
f91eb3bdc7 Merge pull request #16064 from wanyaoqi/automated-cherry-pick-of-#16063-upstream-release-3.10
Automated cherry pick of #16063: feat(region): vga gpus
2023-02-28 23:44:27 +08:00
Zexi Li
3fe01318d6 Merge pull request #16070 from wanyaoqi/automated-cherry-pick-of-#16069-upstream-release-3.10
Automated cherry pick of #16069: fix(region): guest change storage
2023-02-28 23:43:23 +08:00
wanyaoqi
36d871aaf9 fix(region): guest change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 21:44:51 +08:00
ioito
61d5f7301a fix(region): vmware template image size 2023-02-28 19:49:10 +08:00
wanyaoqi
db2b860a55 feat(region): vga gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 18:17:02 +08:00
Zexi Li
0a43a363bf Merge pull request #16060 from gouqi11/automated-cherry-pick-of-#16059-upstream-release-3.10
Automated cherry pick of #16059: fix(notify):fix topic of ChecksumTestFailed Result
2023-02-28 15:18:51 +08:00
mhf
f0e14646e7 fix(notify):fix topic of ChecksumTestFailed Result 2023-02-28 15:13:49 +08:00
屈轩
2542b7a328 fix(region): azure rebuild root error (#16050) 2023-02-27 22:30:08 +08:00
Zexi Li
c0b93022ca fix(climc): add list monitorresource cmd (#16047) 2023-02-27 22:00:56 +08:00
Jian Qiu
595ff8ee5b fix: monitor delete resource panic (#16053)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-27 21:57:24 +08:00
wanyaoqi
7a85e55651 fix(host): resume suspend guest (#16056)
- check guest status inmigrate
- fix guest launch python script

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-27 21:56:15 +08:00
Zexi Li
c3e359d957 Merge pull request #16036 from gouqi11/automated-cherry-pick-of-#15577-upstream-release-3.10
Automated cherry pick of #15577: fix(notify): refactor notify
2023-02-27 14:37:41 +08:00
Zexi Li
d0d14e5b7a Merge pull request #16038 from swordqiu/automated-cherry-pick-of-#16037-upstream-release-3.10
Automated cherry pick of #16037: fix: climc lbagent create params
2023-02-27 13:46:23 +08:00
Zexi Li
41dc84e987 Merge pull request #16040 from swordqiu/automated-cherry-pick-of-#16039-upstream-release-3.10
Automated cherry pick of #16039: fix: apihelper sync ignore instancegroups without guets
2023-02-27 13:45:43 +08:00
Zexi Li
76806a4b2d Merge pull request #16043 from swordqiu/automated-cherry-pick-of-#16042-upstream-release-3.10
Automated cherry pick of #16042: fix: set eipid after successful eip association
2023-02-27 13:44:38 +08:00
Qiu Jian
b0589bac8c fix: set eipid after successful eip association 2023-02-26 09:15:04 +08:00
Qiu Jian
3436fd52b3 fix: apihelper sync ignore instancegroups without guets 2023-02-26 01:08:58 +08:00
QIU Jian
0ad5158c68 fix: climc lbagent create params 2023-02-24 21:25:35 +08:00
mhf
027f449720 fix notify 2023-02-24 18:39:00 +08:00
Zexi Li
38df9418de Merge pull request #16033 from ioito/automated-cherry-pick-of-#16032-upstream-release-3.10
Automated cherry pick of #16032: fix(region): vm bill type sync
2023-02-24 16:44:55 +08:00
Zexi Li
a070c7d83f Merge pull request #16031 from wanyaoqi/automated-cherry-pick-of-#16030-upstream-release-3.10
Automated cherry pick of #16030: fix(host): disable floppy on machine type isn't pc
2023-02-24 16:44:28 +08:00
ioito
8a20e93a78 fix(region): vm bill type sync 2023-02-24 11:53:01 +08:00
wanyaoqi
9410829f99 fix(host): disable floppy on machine type isn't pc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-23 22:53:24 +08:00
Zexi Li
2635787341 Merge pull request #15993 from ioito/automated-cherry-pick-of-#15839-upstream-release-3.10
Automated cherry pick of #15839: Feature/implement bingocloud
2023-02-23 19:53:43 +08:00
Jian Qiu
e340e00dad fix: ovn options missing eip and brmapped (#16029)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-23 17:14:10 +08:00
Zexi Li
5e3813845d Merge pull request #16026 from ioito/automated-cherry-pick-of-#16025-upstream-release-3.10
Automated cherry pick of #16025: fix(region): aliyun lb tag sync
2023-02-23 00:37:18 +08:00
ioito
81af43cbdf fix(region): aliyun lb tag sync 2023-02-22 16:48:14 +08:00
Zexi Li
47c5fcf021 Merge pull request #16022 from swordqiu/automated-cherry-pick-of-#16021-upstream-release-3.10
Automated cherry pick of #16021: fix: add disable_local_vpc option and auto config ovn for lbagent and host
2023-02-22 15:09:05 +08:00
Qiu Jian
f0a6f56c08 fix: add disable_local_vpc option and auto config ovn for lbagent and host 2023-02-22 14:43:39 +08:00
Zexi Li
f389ef10a0 fix(baremetal): update baremetal base image to support ice module (#16017) 2023-02-21 19:03:48 +08:00
Zexi Li
317ca7db32 Merge pull request #16014 from swordqiu/automated-cherry-pick-of-#16012-upstream-release-3.10
Automated cherry pick of #16012: fix: gen policy extra override policy
2023-02-21 11:25:21 +08:00
Qiu Jian
32f7423dcc fix: gen policy extra override policy 2023-02-20 23:15:31 +08:00
Zexi Li
90b46cb2e1 Merge pull request #16010 from wanyaoqi/automated-cherry-pick-of-#16009-upstream-release-3.10
Automated cherry pick of #16009: fix(esxi-agent): disk temp files recycle
2023-02-20 19:35:04 +08:00
Zexi Li
5f9394956b Merge pull request #16007 from ioito/automated-cherry-pick-of-#16006-upstream-release-3.10
Automated cherry pick of #16006: fix(cloudmon): apsara monitor
2023-02-20 19:33:56 +08:00
Zexi Li
a793ab90fb Merge pull request #16004 from wanyaoqi/automated-cherry-pick-of-#16003-upstream-release-3.10
Automated cherry pick of #16003: fix(region): esxi to kvm nic driver fix
2023-02-20 19:31:33 +08:00
wanyaoqi
bc8b7010ce fix(esxi-agent): disk temp files recycle
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:34:19 +08:00
ioito
fcefdb8cea fix(cloudmon): apsara monitor 2023-02-20 18:16:53 +08:00
wanyaoqi
6ced09166b fix(region): esxi to kvm nic driver fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:00:24 +08:00
Jian Qiu
b730fb4752 fix: sms login not verify captchar (#15996)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 18:27:35 +08:00
Jian Qiu
85d784b71e build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 (#15994)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 17:54:33 +08:00
Jian Qiu
15c2413aa6 fix: 1. allow remove current user from current project. 2. reset recovery-questions when resetting MFA (#15986)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 13:04:49 +08:00
Jian Qiu
5ff1ba7517 build(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 (#15992)
Bumps [github.com/apache/thrift](https://github.com/apache/thrift) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/thrift/compare/v0.12.0...v0.13.0)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:03:30 +08:00
Jian Qiu
e7ee4ff4d8 build(deps): bump github.com/Masterminds/goutils from 1.1.0 to 1.1.1 (#15990)
Bumps [github.com/Masterminds/goutils](https://github.com/Masterminds/goutils) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/Masterminds/goutils/releases)
- [Changelog](https://github.com/Masterminds/goutils/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Masterminds/goutils/compare/v1.1.0...v1.1.1)

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:03:01 +08:00
李锐
39277c5235 feat(bingocloud):changed some abilities of bingocloud 2023-02-18 12:17:56 +08:00
Jian Qiu
04ab4afd70 fix: hostman setup tuned-adm profile virtual-host (#15989)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 08:53:56 +08:00
屈轩
86b0106e75 fix(region): vender update for gcp storage (#15981) 2023-02-18 08:51:40 +08:00
屈轩
6be6000183 fix(region): clean storage db (#15946) 2023-02-18 08:49:06 +08:00
wanyaoqi
3821e42484 feat(region,host): support ovs offload. (#15924)
Cloudpods Ovs offload implemention base on SR-IOV support.
IsolatedDevices add field `OvsOffloadInterface`.

Host config add `ovs_offload_nics` to specify which nic enable ovs
offload, and removed flag `disable_sriov_nics` add flag `sriov_nics` to
configure sriov nics.

Tested Hardware: Mellanox ConnectX-5 NICs
2023-02-18 08:48:27 +08:00
Zexi Li
b27dd48214 Merge pull request #15977 from wanyaoqi/automated-cherry-pick-of-#15976-upstream-release-3.10
Automated cherry pick of #15976: fix(region): esxi to kvm clean sched desc disk.storage
2023-02-17 11:56:25 +08:00
wanyaoqi
16c56641b1 fix(region): esxi to kvm clean sched desc disk.storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-17 10:04:04 +08:00
Zexi Li
aa8f682998 feat(monitor): add DisableQuerySignatureCheck option (#15975) 2023-02-16 23:57:47 +08:00
Zexi Li
fecf8a340f Merge pull request #15952 from zexi/bm-status-probe
fix(baremetal): only do status probe job when host_type is hypervisor
2023-02-16 22:47:22 +08:00
Zexi Li
9d41757e30 Merge pull request #15957 from zexi/automated-cherry-pick-of-#15955-upstream-release-3.10
Automated cherry pick of #15955: fix(climc): add measurements and databases api of unifiedmonitor
2023-02-16 22:46:44 +08:00
Zexi Li
18933f4db4 Merge pull request #15969 from gouqi11/automated-cherry-pick-of-#15961-upstream-release-3.10
Automated cherry pick of #15961: fix(notify): 添加消息来源
2023-02-16 22:45:45 +08:00
Zexi Li
504deb4728 Merge pull request #15971 from ioito/automated-cherry-pick-of-#15970-upstream-release-3.10
Automated cherry pick of #15970: fix(region): gcp image sync
2023-02-16 18:12:53 +08:00
ioito
9555d1ddf0 fix(region): gcp image sync 2023-02-16 17:18:52 +08:00
mhf
e2a39fe87d fix(notify): 添加消息来源 2023-02-16 15:24:48 +08:00
Zexi Li
119ffcd626 Merge pull request #15967 from zexi/automated-cherry-pick-of-#15966-upstream-release-3.10
Automated cherry pick of #15966: feat(mcclient): allow set default authenticate source
2023-02-16 14:53:15 +08:00
Zexi Li
c2f8cd5bbf feat(mcclient): allow set default authenticate source 2023-02-16 14:38:14 +08:00
Zexi Li
6cde822071 Merge pull request #15959 from wanyaoqi/automated-cherry-pick-of-#15958-upstream-release-3.10
Automated cherry pick of #15958: fix(region): kvm convert to esxi
2023-02-16 13:58:35 +08:00
Zexi Li
db41bf8687 Merge pull request #15963 from wanyaoqi/automated-cherry-pick-of-#15962-upstream-release-3.10
Automated cherry pick of #15962: fix(region): guest change disk storage
2023-02-16 13:57:31 +08:00
wanyaoqi
93d10c4083 fix(region): guest change disk storage
new disk use src disk driver and cache mode.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 13:48:16 +08:00
wanyaoqi
cc99df4d51 fix(region): kvm convert to esxi
complete kvm guest meta info

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 11:11:15 +08:00
Zexi Li
d168c059a8 fix(climc): add measurements and databases api of unifiedmonitor 2023-02-15 17:09:11 +08:00
Zexi Li
c5c1f10c36 fix(baremetal): only do status probe job when host_type is hypervisor 2023-02-15 12:44:29 +08:00
Zexi Li
6b2f5f8d0d Merge pull request #15934 from swordqiu/automated-cherry-pick-of-#15933-upstream-release-3.10
Automated cherry pick of #15933: fix: usage filter by policy tags revisit2
2023-02-15 10:09:11 +08:00
Zexi Li
8cfb123fd7 Merge pull request #15949 from wanyaoqi/automated-cherry-pick-of-#15948-upstream-release-3.10
Automated cherry pick of #15948: fix(host-deployer): revert linux efi check
2023-02-15 10:07:45 +08:00
wanyaoqi
1278f76e14 fix(host-deployer): revert linux efi check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-14 23:21:40 +08:00
Zexi Li
bd2fe6a7f9 Merge pull request #15943 from ioito/automated-cherry-pick-of-#15942-upstream-release-3.10
Automated cherry pick of #15942: fix(region): aws s3 upload failed
2023-02-14 18:03:53 +08:00
ioito
1209a3f38a fix(region): aws s3 upload failed 2023-02-14 17:19:58 +08:00
Zexi Li
da033cf581 Merge pull request #15940 from ioito/automated-cherry-pick-of-#15939-upstream-release-3.10
Automated cherry pick of #15939: fix(cloudmon): huawei read only check
2023-02-14 12:22:30 +08:00
Zexi Li
58fe80e9ee Merge pull request #15937 from zexi/automated-cherry-pick-of-#15936-upstream-release-3.10
Automated cherry pick of #15936: fix(baremetal): duplicate argument task-worker-count
2023-02-14 12:20:14 +08:00
ioito
38c5e67c87 fix(cloudmon): huawei read only check 2023-02-14 12:04:14 +08:00
Zexi Li
b27ba68a8f fix(baremetal): duplicate argument task-worker-count 2023-02-14 11:56:55 +08:00
Qiu Jian
1626e4038c fix: usage filter by policy tags revisit2 2023-02-14 09:32:57 +08:00
Zexi Li
986abb1c4c fix(region): start LoadBalancerBackendSyncTask when needed (#15931) 2023-02-14 01:40:11 +08:00
Zexi Li
f645e89bf9 fix(region): start LoadBalancerBackendSyncTask when needed (#15930) 2023-02-14 01:39:41 +08:00
Zexi Li
df3ae2dc86 Merge pull request #15929 from zexi/automated-cherry-pick-of-#15928-upstream-release-3.10
Automated cherry pick of #15928: fix(build): lbagent-base image
2023-02-13 21:56:03 +08:00
Zexi Li
052fb80ad2 fix(build): lbagent-base image 2023-02-13 21:50:29 +08:00
Zexi Li
671984ece2 Merge pull request #15926 from wanyaoqi/automated-cherry-pick-of-#15925-upstream-release-3.10
Automated cherry pick of #15925: fix(host,baremetal): deploy content action not marshaled
2023-02-13 15:36:53 +08:00
Zexi Li
b8d02146f9 Merge pull request #15923 from ioito/automated-cherry-pick-of-#15922-upstream-release-3.10
Automated cherry pick of #15922: fix(region): change cdn to virtual resource
2023-02-13 15:35:53 +08:00
wanyaoqi
4bf597c338 fix(host,baremetal): deploy content action not marshaled
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-13 12:13:52 +08:00
ioito
c7ae577618 fix(region): change cdn to virtual resource 2023-02-13 10:31:30 +08:00
Zexi Li
18e12ccea0 Merge pull request #15921 from swordqiu/automated-cherry-pick-of-#15920-upstream-release-3.10
Automated cherry pick of #15920: feature: project admin user
2023-02-13 10:01:38 +08:00
Qiu Jian
2577c4faf4 feature: project admin user 2023-02-13 03:44:15 +08:00
Jian Qiu
6475a653d1 fix: tablespec add sync method (#15914)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-09 22:39:16 +08:00
Zexi Li
537ce1e524 Merge pull request #15912 from zexi/automated-cherry-pick-of-#15909-upstream-release-3.10
Automated cherry pick of #15909: fix(region): update kube cluster to kubeserver
2023-02-08 14:02:08 +08:00
Zexi Li
683e2d0faf fix(region): update kube cluster to kubeserver 2023-02-08 13:51:24 +08:00
Zexi Li
ee19e764ee Merge pull request #15908 from swordqiu/automated-cherry-pick-of-#15907-upstream-release-3.10
Automated cherry pick of #15907: fix: lbagent containerize issues
2023-02-08 11:03:16 +08:00
Qiu Jian
9ea346f38a fix: lbagent containerize issues 2023-02-08 10:52:20 +08:00
Zexi Li
fdfc330145 Merge pull request #15903 from ioito/automated-cherry-pick-of-#15902-upstream-release-3.10
Automated cherry pick of #15902: fix(region): cdn domain config
2023-02-06 23:40:03 +08:00
ioito
aecd28db8e fix(region): cdn domain config 2023-02-06 14:03:00 +08:00
wanyaoqi
d06fe13c34 fix(host-metrics): bytes sent overflow (#15900)
bytes_sent recount unexpected, discard the count before new round.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-02-05 21:53:29 +08:00
屈轩
1cb2c04aa7 fix(region): fake server generate (#15897) 2023-02-03 23:26:24 +08:00
Jian Qiu
65b9b9624e feature: lbagent register (#15895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-03 23:25:56 +08:00
Zexi Li
42579c3681 Merge pull request #15892 from ioito/automated-cherry-pick-of-#15891-upstream-release-3.10
Automated cherry pick of #15891: fix(region): usage with policy tags
2023-02-02 17:14:13 +08:00
Zexi Li
49ea410829 Merge pull request #15886 from ioito/automated-cherry-pick-of-#15885-upstream-release-3.10
Automated cherry pick of #15885: fix(region): dns recordset details
2023-02-02 17:13:23 +08:00
Zexi Li
09a29873d3 Merge pull request #15882 from ioito/automated-cherry-pick-of-#15881-upstream-release-3.10
Automated cherry pick of #15881: fix(cloudmon): project tags for metric
2023-02-02 17:12:10 +08:00
Zexi Li
316c13388b Merge pull request #15880 from ioito/automated-cherry-pick-of-#15879-upstream-release-3.10
Automated cherry pick of #15879: fix(region): lb listener
2023-02-02 17:11:15 +08:00
ioito
54fd5d14dc fix(region): usage with policy tags 2023-02-02 16:36:15 +08:00
ioito
61619fd0b5 fix(region): dns recordset details 2023-02-02 10:56:19 +08:00
ioito
9399a32117 fix(cloudmon): project tags for metric 2023-02-01 19:46:44 +08:00
Zexi Li
49c3027100 optimized(scheduler): reduce sql query of mysql (#15877) 2023-01-31 19:30:37 +08:00
ioito
9cabeb8130 fix(region): lb listener 2023-01-31 18:04:22 +08:00
Zexi Li
b403cd2bf7 Merge pull request #15863 from ioito/automated-cherry-pick-of-#15862-upstream-release-3.10
Automated cherry pick of #15862: fix(region): 避免创建相同配置时使用当前实例的hostname
2023-01-30 22:12:43 +08:00
Zexi Li
d4e42456df Merge pull request #15875 from swordqiu/automated-cherry-pick-of-#15874-upstream-release-3.10
Automated cherry pick of #15874: fix: usage filter by policy tags
2023-01-30 22:12:05 +08:00
Qiu Jian
ce43e74087 fix: usage filter by policy tags 2023-01-30 21:54:13 +08:00
Jian Qiu
58e24266cb fix: climc logs-splitable support monitor notify (#15869)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 17:44:55 +08:00
Jian Qiu
ec166b6b39 fix: vmemsize error prompt (#15866)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 16:24:23 +08:00
rex zhasm
b218b9626b feat(build,test): 新增 dry_run 模式以便夜间测试 (#15861)
Co-authored-by: Zhang Dongliang <zhangdongliang@yunion.cn>
2023-01-30 16:23:35 +08:00
屈轩
ba599353e1 fix(cloudevent): default disable cloudevent sync (#15852) 2023-01-30 16:09:48 +08:00
ioito
3b726f007f fix(region): 避免创建相同配置时使用当前实例的hostname 2023-01-30 15:22:42 +08:00
Zexi Li
52cad64576 Merge pull request #15858 from zexi/automated-cherry-pick-of-#15857-upstream-release-3.10
Automated cherry pick of #15857: fix(codegen): update apis generated by models
2023-01-30 12:23:08 +08:00
Zexi Li
ad48807686 fix(codegen): update apis generated by models 2023-01-30 11:31:11 +08:00
Zexi Li
fcdb8c6077 Merge pull request #15853 from wanyaoqi/fix/host-metrics-panic
fix(host): panic on report diskio
2023-01-30 11:23:53 +08:00
Zexi Li
09baf69847 Merge pull request #15856 from ioito/automated-cherry-pick-of-#15855-upstream-release-3.10
Automated cherry pick of #15855: fix(region): codegen
2023-01-30 11:23:29 +08:00
ioito
9e9b0c9d62 fix(region): codegen 2023-01-30 09:42:22 +08:00
wanyaoqi
0e4ada7e74 fix(host): panic on report diskio
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 23:20:35 +08:00
Zexi Li
1c1551aaba Merge pull request #15849 from ioito/automated-cherry-pick-of-#15848-upstream-release-3.10
Automated cherry pick of #15848: fix(region): vm created with public ip
2023-01-29 18:32:11 +08:00
ioito
6797aa58b8 fix(region): vm created with public ip 2023-01-29 16:04:44 +08:00
Jian Qiu
bd03d1647c fix: cloudmon/lbagent api request with app name (#15845)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:45:12 +08:00
屈轩
85b4aa3492 fix(region): clirc with region (#15843) 2023-01-29 01:40:51 +08:00
wanyaoqi
7ffefdef8f fix(host): structure guest metrics (#15846)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 01:39:55 +08:00
Jian Qiu
4d162294c9 fix: disable metadata server monitor for SR-IOV (#15838)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:36:12 +08:00
Jian Qiu
47f5d4cd58 fix: webconsole ssh user/pass prompt backspace hanlding (#15835)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:35:25 +08:00
Jian Qiu
7ccd57bd6a fix: prepare esxi host network revisit (#15833)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:34:39 +08:00
Jian Qiu
64b0dcdc3e fix: parameter get or create rpc (#15831)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-28 22:31:45 +08:00
Zexi Li
4287c3cd95 feat(climc): add action of k8s-cluster-deploy (#15821) 2023-01-18 23:59:57 +08:00
Jian Qiu
999c30dccb fix: clean pending usage when dry run validate_create_data (#15823)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-18 23:37:24 +08:00
屈轩
1ef85f209e fix(esxi): rebuild root by template (#15827) 2023-01-18 23:36:05 +08:00
gouqi11
469b99bc58 fix(notify): add server_panic topic (#15828) 2023-01-18 23:34:32 +08:00
Zexi Li
ea4bf2f79b Merge pull request #15801 from ioito/automated-cherry-pick-of-#15800-upstream-release-3.10
Automated cherry pick of #15800: fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败
2023-01-17 17:51:10 +08:00
Zexi Li
07743d7457 Merge pull request #15812 from gouqi11/automated-cherry-pick-of-#15811-upstream-release-3.10
Automated cherry pick of #15811: fix(keystone): serviceAbnormal token fix
2023-01-17 15:07:15 +08:00
Zexi Li
006b5f1a9d Merge pull request #15817 from gouqi11/automated-cherry-pick-of-#15816-upstream-release-3.10
Automated cherry pick of #15816: fix(notify): fix topic enable bug
2023-01-17 15:06:43 +08:00
mhf
429d43d8a6 fix(notify): fix topic enable bug 2023-01-17 14:40:56 +08:00
Zexi Li
51123c531a Merge pull request #15814 from ioito/automated-cherry-pick-of-#15811-upstream-release-3.10
Automated cherry pick of #15811: fix(keystone): serviceAbnormal token fix
2023-01-17 10:46:42 +08:00
mhf
796f3ecf6d fix(keystone): serviceAbnormal token fix 2023-01-17 10:31:02 +08:00
Zexi Li
78fe9fbe08 Merge pull request #15798 from swordqiu/automated-cherry-pick-of-#15797-upstream-release-3.10
Automated cherry pick of #15797: fix: notify sync receivers from keystone
2023-01-16 16:56:16 +08:00
Zexi Li
cd4ae93455 Merge pull request #15806 from ioito/automated-cherry-pick-of-#15805-upstream-release-3.10
Automated cherry pick of #15805: fix(region): vmware migrate vnc
2023-01-16 16:55:04 +08:00
Zexi Li
94e52c7d85 Merge pull request #15777 from gouqi11/automated-cherry-pick-of-#15770-upstream-release-3.10
Automated cherry pick of #15770: fix(notify): 对所有通知默认加入系统管理员接收人
2023-01-16 16:53:21 +08:00
mhf
0914791bba fix(keystone): serviceAbnormal token fix 2023-01-16 16:45:56 +08:00
Zexi Li
aea2ea174c Merge pull request #15808 from gouqi11/automated-cherry-pick-of-#15799-upstream-release-3.10
Automated cherry pick of #15799: fix(notify): 对服务异常添加消息通知
2023-01-16 16:02:20 +08:00
mhf
0ed048a2df fix(notify): 对服务异常添加消息通知 2023-01-16 15:51:05 +08:00
ioito
27128949b5 fix(region): vmware migrate vnc 2023-01-16 15:11:56 +08:00
ioito
93ed1c408c fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败 2023-01-16 14:28:59 +08:00
Qiu Jian
866063a7ed fix: notify sync receivers from keystone 2023-01-15 23:08:36 +08:00
屈轩
9a24dd5191 fix(region): unified name sync options (#15741) 2023-01-15 14:50:40 +08:00
wanyaoqi
80332a6e23 fix(region): update guest status on backup guest start complete (#15795)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-15 13:50:48 +08:00
屈轩
3948f6915d fix(notify): send msg with custom brand (#15792) 2023-01-15 13:48:51 +08:00
屈轩
ae78af3a3e fix(region): optimized capability (#15788) 2023-01-15 13:47:22 +08:00
Zexi Li
b1ba088ba6 Merge pull request #15785 from gouqi11/automated-cherry-pick-of-#15780-upstream-release-3.10
Automated cherry pick of #15780: fix(notify): Add topic result
2023-01-14 17:03:20 +08:00
Zexi Li
af2f2ab6a0 Merge pull request #15784 from ioito/automated-cherry-pick-of-#15783-upstream-release-3.10
Automated cherry pick of #15783: fix(region): vender update for vmware timeout
2023-01-14 16:57:25 +08:00
Zexi Li
05d7823d3f Merge pull request #15776 from wanyaoqi/automated-cherry-pick-of-#15773-upstream-release-3.10
Automated cherry pick of #15773: fix(region): qga set password status on failed
2023-01-14 16:56:36 +08:00
mhf
fb89651888 fix(notify): fix server/create bug 2023-01-14 16:23:37 +08:00
ioito
5e78857c9c fix(region): vender update for vmware timeout 2023-01-14 16:23:23 +08:00
Zexi Li
0a0ec6ba5a Merge pull request #15772 from ioito/automated-cherry-pick-of-#15771-upstream-release-3.10
Automated cherry pick of #15771: fix(common): service exception
2023-01-14 11:55:49 +08:00
ioito
0fac7dfebe fix(common): service exception 2023-01-14 10:23:37 +08:00
mhf
e8e125c4b7 fix(notify): 对所有通知默认加入系统管理员接收人 2023-01-13 16:26:08 +08:00
Zexi Li
b8f12b7541 Merge pull request #15775 from ioito/automated-cherry-pick-of-#15774-upstream-release-3.10
Automated cherry pick of #15774: fix(cloudmon): cloudpods load
2023-01-13 15:29:42 +08:00
wanyaoqi
75d7f518a7 fix(region): qga set password status 2023-01-13 15:28:15 +08:00
ioito
89dee93ff3 fix(cloudmon): cloudpods load 2023-01-13 15:24:26 +08:00
Zexi Li
b63858e555 Merge pull request #15769 from ioito/automated-cherry-pick-of-#15768-upstream-release-3.10
Automated cherry pick of #15768: fix(region): vender update for qcloud lb listener
2023-01-13 10:27:53 +08:00
ioito
ea5054eb5b fix(region): vender update for qcloud lb listener 2023-01-12 18:31:55 +08:00
Zexi Li
19da84ad05 Merge pull request #15754 from wanyaoqi/fix/isolated-device-hot-plgu
fix(host): isolated_deivce hotplug check addr
2023-01-12 18:05:54 +08:00
Zexi Li
74160bfce8 Merge pull request #15757 from wanyaoqi/automated-cherry-pick-of-#15756-upstream-release-3.10
Automated cherry pick of #15756: fix(region): network_ip_macs allow update ip and mac
2023-01-12 18:05:34 +08:00
Zexi Li
c6265114d8 Merge pull request #15760 from wanyaoqi/automated-cherry-pick-of-#15759-upstream-release-3.10
Automated cherry pick of #15759: fix(region): auto switch to backup on host down
2023-01-12 18:04:50 +08:00
Zexi Li
701db10083 Merge pull request #15765 from wanyaoqi/automated-cherry-pick-of-#15763-upstream-release-3.10
Automated cherry pick of #15763: fix(region): network_ip_mac update check
2023-01-12 18:02:09 +08:00
wanyaoqi
51762b856e fix(region): network_ip_macs rbac and guestnetwork assign
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-12 17:53:45 +08:00
wanyaoqi
d36f6200ed fix(region): network_ip_mac update 2023-01-12 11:53:29 +08:00
wanyaoqi
2db88dada9 fix(region): auto switch to backup on host down 2023-01-11 21:42:42 +08:00
wanyaoqi
dc6ba455f5 fix(region): network_ip_macs allow update ip and mac
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 19:50:49 +08:00
wanyaoqi
946a9fe064 fix(host): isolated_deivce hotplug check addr
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 18:02:03 +08:00
Zexi Li
d8ce42f34c Merge pull request #15748 from ioito/automated-cherry-pick-of-#15747-upstream-release-3.10
Automated cherry pick of #15747: fix(region): qcloud lb backend create
2023-01-11 10:37:19 +08:00
Zexi Li
6eee398d0b Merge pull request #15751 from ioito/automated-cherry-pick-of-#15750-upstream-release-3.10
Automated cherry pick of #15750: fix(region): vender update
2023-01-11 10:36:37 +08:00
Zexi Li
c82571930d Merge pull request #15753 from wanyaoqi/automated-cherry-pick-of-#15749-upstream-release-3.10
Automated cherry pick of #15749: feat(region): bind network ip macs
2023-01-11 10:36:07 +08:00
ioito
0ec59d847f fix(region): vender update 2023-01-10 19:03:44 +08:00
wanyaoqi
15dd695506 feat(region): bind network ip macs
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-10 18:16:39 +08:00
ioito
285399afb3 fix(region): qcloud lb backend create 2023-01-10 14:32:29 +08:00
Zexi Li
5822275000 Merge pull request #15738 from ioito/automated-cherry-pick-of-#15737-upstream-release-3.10
Automated cherry pick of #15737: fix(region): hostname validate
2023-01-09 14:31:44 +08:00
Zexi Li
db530f7e42 Merge pull request #15743 from wanyaoqi/automated-cherry-pick-of-#15742-upstream-release-3.10
Automated cherry pick of #15742: fix(host-deployer): windows 2008 Out-File IOException
2023-01-09 14:30:57 +08:00
wanyaoqi
5cb759276d fix(host-deployer): windows 2008 Out-File IOException
debug log cause windows 2008 IOException, multi process open log file.
2023-01-09 14:03:14 +08:00
ioito
b6cdd0fd9e fix(region): hostname validate 2023-01-09 11:17:17 +08:00
Jian Qiu
676c385b94 fix: simplify and accelerate query of notification (#15735)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-08 09:30:02 +08:00
wanyaoqi
4173c51796 feat(host): kvm vcpus bind cpuset on numa nodes and cpu dies (#15733)
- alloc cpuset on guest startup, try to alloc on one numa or cpu die
- fix guest startup task not clean
- fix cgrup tasks not clean
2023-01-08 09:29:25 +08:00
gouqi11
e5b0dad51e add excelutils func (#15736) 2023-01-08 09:28:39 +08:00
屈轩
15865f8d54 fix(region): optimzed zone-list speed (#15730) 2023-01-07 20:56:33 +08:00
Zexi Li
0dde5e7d61 Merge pull request #15726 from ioito/automated-cherry-pick-of-#15725-upstream-release-3.10
Automated cherry pick of #15725: fix(region): vmware migrate
2023-01-06 17:55:58 +08:00
ioito
84d18a0610 fix(region): vmware migrate 2023-01-06 17:45:39 +08:00
Zexi Li
a333e39197 Merge pull request #15722 from ioito/automated-cherry-pick-of-#15721-upstream-release-3.10
Automated cherry pick of #15721: fix(region): vender update
2023-01-06 15:32:12 +08:00
Zexi Li
abd3ce39a4 Merge pull request #15719 from ioito/automated-cherry-pick-of-#15709-upstream-release-3.10
Automated cherry pick of #15709: fix(region): account sync status
2023-01-06 15:31:32 +08:00
ioito
8034d2bc2e fix(region): vender update 2023-01-06 11:21:04 +08:00
ioito
9316432c65 fix(region): account sync status 2023-01-06 10:31:26 +08:00
Jian Qiu
edd4695dbd fix: need more args in CustomizedTotalCount (#15718)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-06 03:33:53 +08:00
wanyaoqi
e11a1a83b3 fix(worker): policy and task worker count configurable (#15714) 2023-01-05 22:58:32 +08:00
Zexi Li
0708093356 Merge pull request #15711 from swordqiu/automated-cherry-pick-of-#15710-upstream-release-3.10
Automated cherry pick of #15710: fix: init shceduler schedinfo project and domain
2023-01-05 17:04:32 +08:00
Qiu Jian
d6b7050991 fix: init shceduler schedinfo project and domain 2023-01-05 16:06:08 +08:00
Zexi Li
0404b5195a fix(notify): update MYSQL_OUT_OF_SYNC template (#15706) 2023-01-05 15:39:05 +08:00
wanyaoqi
9d2697c69a Automated cherry pick of #15690: feat(host): sriov nic monitor (#15691)
* feat(host): sriov nic monitor

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix(host): host metrics check int64 value overflow

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-04 22:09:56 +08:00
Zexi Li
90c540354c Merge pull request #15702 from ioito/automated-cherry-pick-of-#15701-upstream-release-3.10
Automated cherry pick of #15701: fix(region): vender update
2023-01-04 20:01:48 +08:00
ioito
0f66e4bc78 fix(region): vender update 2023-01-04 19:47:54 +08:00
Zexi Li
355b65a631 Merge pull request #15700 from ioito/automated-cherry-pick-of-#15699-upstream-release-3.10
Automated cherry pick of #15699: fix(keystone): avoid panic
2023-01-04 15:44:31 +08:00
Zexi Li
954b7c2803 Merge pull request #15689 from ioito/automated-cherry-pick-of-#15688-upstream-release-3.10
Automated cherry pick of #15688: fix(region): redis sync error optimized
2023-01-04 15:14:13 +08:00
ioito
4e87d4004d fix(keystone): avoid panic 2023-01-04 15:05:36 +08:00
Zexi Li
18be93628a Merge pull request #15693 from ioito/automated-cherry-pick-of-#15692-upstream-release-3.10
Automated cherry pick of #15692: fix(region): aws lb optimized
2023-01-03 23:37:40 +08:00
屈轩
12c02e2b25 fix(keystone): project-show by name with not found error (#15698) 2023-01-03 21:26:23 +08:00
Zexi Li
3900a91bfc Merge pull request #15695 from zexi/automated-cherry-pick-of-#15694-upstream-release-3.10
Automated cherry pick of #15694: fix(scheduler): do migrate checking when hypervisor is not esxi
2023-01-03 18:35:41 +08:00
Zexi Li
1e77fc5617 fix(scheduler): do migrate checking when hypervisor is not esxi 2023-01-03 18:17:09 +08:00
ioito
f08bedbd31 fix(region): aws lb optimized 2023-01-03 18:05:44 +08:00
ioito
05eec11c90 fix(region): redis sync error optimized 2023-01-03 11:36:11 +08:00
Jian Qiu
6a4d0a8624 fix: get user ids by role ids in scope (#15687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:45:23 +08:00
Jian Qiu
98c1b5e7db fix: make cloudaccount options visbile in list (#15685)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:45:12 +08:00
Jian Qiu
89e05503fd feature: list results carry extra total stats (#15683)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 14:39:00 +08:00
gouqi11
edee04fcc7 fix(notify): add some template and notification (#15669) 2023-01-02 12:00:39 +08:00
wanyaoqi
732db665d1 Automated cherry pick of #15618: fix(host): use drive backup sync backup disks (#15664)
* fix(host): use drive backup sync backup disks

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix(region,host): guest backup backend use fetcherfs

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:59:56 +08:00
wanyaoqi
7577705b60 fix(region): sriov vfio-pci driver manual deploy nic (#15679)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:59:13 +08:00
Zexi Li
af7c4f5e23 Merge pull request #15677 from ioito/automated-cherry-pick-of-#15676-upstream-release-3.10
Automated cherry pick of #15676: fix(region): system disk storage type
2022-12-30 16:18:37 +08:00
ioito
08b43deb3b fix(region): system disk storage type 2022-12-30 16:06:15 +08:00
Zexi Li
e4f6722621 Merge pull request #15672 from wanyaoqi/automated-cherry-pick-of-#15671-upstream-release-3.10
Automated cherry pick of #15671: fix(host): detect qemu caps
2022-12-30 15:02:44 +08:00
Zexi Li
c6e2f99691 Merge pull request #15641 from silence934/automated-cherry-pick-of-#15639-upstream-release-3.10
Automated cherry pick of #15639 upstream release 3.10
2022-12-30 15:01:42 +08:00
Zexi Li
e16d51a773 Merge pull request #15674 from zexi/automated-cherry-pick-of-#15673-upstream-release-3.10
Automated cherry pick of #15673: fix(scheduler): reduce calculation of storage's free_capacity
2022-12-30 14:52:56 +08:00
Zexi Li
5d22a4584d fix(scheduler): reduce calculation of storage's free_capacity 2022-12-30 12:40:26 +08:00
wanyaoqi
9e98750429 fix(host): detect qemu caps
ingnore pmemclean output on qemu version 2.12.1

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-30 12:06:29 +08:00
Jian Qiu
d92ad0b358 fix: project duplicate fix2 (#15667)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-30 00:27:26 +08:00
Jian Qiu
edc700ccb3 fix: project duplciate name (#15663)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-29 23:36:41 +08:00
屈轩
1aa3f63b6c fix(region): duplicate project sync (#15661) 2022-12-29 23:19:50 +08:00
屈轩
85670ce5f6 fix(region): hostname sync (#15658) 2022-12-29 23:19:26 +08:00
屈轩
5918d17f7b fix(region): qcloud cdn create (#15656) 2022-12-29 23:18:53 +08:00
Zexi Li
8dc56273b4 Merge pull request #15650 from ioito/automated-cherry-pick-of-#15649-upstream-release-3.10
Automated cherry pick of #15649: fix(region): aliyun redis create
2022-12-29 16:26:28 +08:00
Zexi Li
00cd582502 Merge pull request #15652 from zexi/automated-cherry-pick-of-#15651-upstream-release-3.10
Automated cherry pick of #15651: fix(webconsole): not get pod info when fetchK8sEnv
2022-12-29 16:06:56 +08:00
Zexi Li
bad38b83b9 fix(webconsole): not get pod info when fetchK8sEnv 2022-12-29 15:47:59 +08:00
ioito
b5291d3b2a fix(region): aliyun redis create 2022-12-29 15:32:03 +08:00
屈轩
a801882077 fix(region): external project sync (#15648) 2022-12-29 14:57:19 +08:00
Jian Qiu
db3363a356 fix: climc panic 20221228 (#15645)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-29 11:35:36 +08:00
Zexi Li
d33903571a Merge pull request #15637 from swordqiu/automated-cherry-pick-of-#15635-upstream-release-3.10
Automated cherry pick of #15635: fix: limit roles that a user join a project
2022-12-29 10:45:17 +08:00
silence
517647dda3 feat(region):sync kafka tag
fmt
2022-12-28 17:51:20 +08:00
silence
ae0de28ae1 feat(region): sync resource tag 2022-12-28 17:51:20 +08:00
屈轩
89dfa83dda fix(region): vender update (#15634) 2022-12-28 15:37:28 +08:00
Qiu Jian
fbd34228fe fix: limit roles that a user join a project 2022-12-28 15:20:25 +08:00
Zexi Li
06d294b441 Merge pull request #15632 from ioito/automated-cherry-pick-of-#15631-upstream-release-3.10
Automated cherry pick of #15631: fix(region): remove migrate check
2022-12-27 21:01:13 +08:00
Zexi Li
8f81e74900 Merge pull request #15626 from ioito/automated-cherry-pick-of-#15625-upstream-release-3.10
Automated cherry pick of #15625: fix(region): external project sync
2022-12-27 21:00:47 +08:00
Zexi Li
33f51662ea Merge pull request #15628 from ioito/automated-cherry-pick-of-#15627-upstream-release-3.10
Automated cherry pick of #15627: fix(region): lb cert sync
2022-12-27 21:00:07 +08:00
ioito
2b1daa4362 fix(region): remove migrate check 2022-12-27 17:27:26 +08:00
wanyaoqi
ad99d8657a fix(region,host): migrate use source desc file. (#15629) 2022-12-27 16:50:56 +08:00
ioito
ddcc5fa3d0 fix(region): lb cert sync 2022-12-27 15:44:26 +08:00
ioito
448b788f54 fix(region): external project sync 2022-12-27 15:16:51 +08:00
Jian Qiu
38e7b60e06 Automated cherry pick of #15621: fix: remove mutual dependency of cloudmux on onecloud (#15622)
* fix: remove mutual dependency of cloudmux on onecloud

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 08:26:25 +08:00
屈轩
ae78a0bb6c fix(region): usage for host storage (#15620) 2022-12-27 01:20:53 +08:00
Jian Qiu
1ce4462ed1 fix: remove dependency of appctx on i18n (#15616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 23:45:02 +08:00
Jian Qiu
2b550a8532 fix: guests short desc add status (#15613)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 19:23:13 +08:00
wanyaoqi
6ffa3de191 fix(region): sriov typo (#15610) 2022-12-23 00:58:13 +08:00
屈轩
edf0b00020 fix(region): tags for project mapping (#15606) 2022-12-22 18:42:21 +08:00
Zexi Li
019145df89 Merge pull request #15565 from wanyaoqi/automated-cherry-pick-of-#15473-upstream-release-3.10
Automated cherry pick of #15473: fix(region,host): backup guest
2022-12-22 10:17:29 +08:00
Zexi Li
60bea8872a Merge pull request #15603 from gouqi11/automated-cherry-pick-of-#15602-upstream-release-3.10
Automated cherry pick of #15602: fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO
2022-12-21 17:40:39 +08:00
mhf
53fc76a72f fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO 2022-12-21 16:46:53 +08:00
Zexi Li
321fb8208e optimize(scheduler): reduce calculation of network free address (#15596)
- only calculate non-emulated host's network on building
- calculate emulated host's network on scheduling
2022-12-20 20:54:42 +08:00
Zexi Li
17f646d742 fix(baremetal): update base image to v0.3.9 (#15599)
ref: https://github.com/yunionio/yunionos/pull/27
2022-12-20 20:40:27 +08:00
wanyaoqi
9c767d97ef fix(host): don't hide kvm cpu feature on nested virt (#15579) 2022-12-20 20:38:57 +08:00
Jian Qiu
fe80cc2f45 fix: prefer id over name when fetching owner id (#15591)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-20 20:37:10 +08:00
Zexi Li
89efac5644 Merge pull request #15584 from ioito/automated-cherry-pick-of-#15583-upstream-release-3.10
Automated cherry pick of #15583: fix(cloudmon): ignore empty metric error
2022-12-20 12:59:29 +08:00
Zexi Li
36cfd67119 Merge pull request #15581 from ioito/automated-cherry-pick-of-#15580-upstream-release-3.10
Automated cherry pick of #15580: fix(region): vender update
2022-12-20 12:58:38 +08:00
ioito
e780547c13 fix(cloudmon): ignore empty metric error 2022-12-19 17:12:20 +08:00
ioito
b3420191dc fix(region): vender update 2022-12-19 14:48:17 +08:00
屈轩
d417aee230 fix(region): vender update (#15560) 2022-12-17 17:27:10 +08:00
屈轩
5888dc6f88 fix(region): sync vm hostname with ascii (#15563) 2022-12-16 16:07:09 +08:00
Zexi Li
5d8b9f86bd Merge pull request #15558 from silence934/automated-cherry-pick-of-#15557-upstream-release-3.10
Automated cherry pick of #15557: fix(cloudmon): collectStatsMetrics ret is nil
2022-12-15 17:02:08 +08:00
Zexi Li
ff9fbbb2ce Merge pull request #15572 from zexi/automated-cherry-pick-of-#15569-upstream-release-3.10
Automated cherry pick of #15569: fix(baremetal): mac address of BMC not found
2022-12-15 16:54:15 +08:00
Zexi Li
965bab1588 Merge pull request #15575 from gouqi11/automated-cherry-pick-of-#15574-upstream-release-3.10
Automated cherry pick of #15574: fix(region): fix sync project bug and add climc choices
2022-12-15 16:50:30 +08:00
mhf
9d3f29a0d7 fix(region): fix sync project bug and add climc choices 2022-12-15 15:25:19 +08:00
Zexi Li
43a885c172 Merge pull request #15570 from gouqi11/automated-cherry-pick-of-#15568-upstream-release-3.10
Automated cherry pick of #15568: fix(cloudmon): remotefile metrice bugfix
2022-12-15 11:48:15 +08:00
Zexi Li
4b39ae2386 fix(baremetal): mac address of BMC not found 2022-12-15 11:32:56 +08:00
mhf
0da3d8b8eb fix(cloudmon): remotefile metrice bugfix 2022-12-15 11:28:52 +08:00
wanyaoqi
b9565408e1 fix(region,host): backup guest refactor 2022-12-14 23:56:49 +08:00
silence
29d6490ff8 fix(cloudmon): collectStatsMetrics ret is nil 2022-12-14 15:40:24 +08:00
Zexi Li
50f6e6d687 Merge pull request #15551 from swordqiu/automated-cherry-pick-of-#15550-upstream-release-3.10
Automated cherry pick of #15550: fix: usb tablet not function for windows 10 guest
2022-12-14 15:33:27 +08:00
Zexi Li
2551bc9e2c Merge pull request #15555 from ioito/automated-cherry-pick-of-#15545-upstream-release-3.10
Automated cherry pick of #15545: fix(region): vender update
2022-12-14 15:31:25 +08:00
ioito
1cf4c3441f fix(region): vender update 2022-12-14 15:01:43 +08:00
Qiu Jian
94b7cdcc2b fix: usb tablet not function for windows 10 guest 2022-12-14 12:08:46 +08:00
wanyaoqi
65295e5bec fix(region): use qcow2 format on raw disk cache image (#15548) 2022-12-13 18:32:39 +08:00
Zexi Li
c17edd7829 Merge pull request #15524 from gouqi11/automated-cherry-pick-of-#15514-upstream-release-3.10
Automated cherry pick of #15514: fix(cloudmon):add cloudpods metric GetDelayDuration
2022-12-12 14:50:33 +08:00
Zexi Li
7d26409efc Merge pull request #15543 from gouqi11/automated-cherry-pick-of-#15541-upstream-release-3.10
Automated cherry pick of #15541: fix(climc): add server option cloudpods
2022-12-12 14:48:36 +08:00
mhf
10e9692ab8 fix(climc): add server option cloudpods 2022-12-12 14:07:05 +08:00
Zexi Li
392118a7ba Merge pull request #15539 from swordqiu/automated-cherry-pick-of-#15537-upstream-release-3.10
Automated cherry pick of #15537: fix: host init before auth
2022-12-12 09:41:57 +08:00
屈轩
fbe892a424 fix(common): optimized metadata list (#15530) 2022-12-11 18:10:29 +08:00
Qiu Jian
9d1996e544 fix: host init before auth 2022-12-11 17:47:30 +08:00
Zexi Li
5d18eded05 Merge pull request #15518 from wanyaoqi/automated-cherry-pick-of-#15509-upstream-release-3.10
Automated cherry pick of #15509: fix(region,host): fix some bugs of server disk change storage
2022-12-09 11:45:26 +08:00
Zexi Li
335fe5d7aa Merge pull request #15527 from ioito/automated-cherry-pick-of-#15526-upstream-release-3.10
Automated cherry pick of #15526: fix(common): limit request
2022-12-09 11:44:06 +08:00
Zexi Li
be5ff80381 Merge pull request #15533 from ioito/automated-cherry-pick-of-#15532-upstream-release-3.10
Automated cherry pick of #15532: fix(cloudmon): storage metric
2022-12-09 11:42:13 +08:00
ioito
5dfe1ae004 fix(cloudmon): storage metric 2022-12-09 11:28:12 +08:00
ioito
79e348688a fix(common): limit request 2022-12-08 15:54:47 +08:00
wanyaoqi
5323898ee1 fix(host): convert migrate set downtime value to float64 (#15475)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

Qemu will send `STOP` event on start last time migration, but this
moment migration not completed. So we need wait magration complete.
Configurable Auto converge max cpu throttle.
2022-12-08 15:40:44 +08:00
wanyaoqi
8d5ceb0b73 Automated cherry pick of #15475: fix(host): convert migrate set downtime value to float64 (#15476)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

Qemu will send `STOP` event on start last time migration, but this
moment migration not completed. So we need wait magration complete.
Configurable Auto converge max cpu throttle.
2022-12-08 14:45:53 +08:00
wanyaoqi
5c15d23c5e fix(host): don't set ovs interface external id on migrating (#15498)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-08 14:43:32 +08:00
屈轩
24d369a7d2 fix(cloudid): support custom saml user name (#15512) 2022-12-08 14:42:09 +08:00
wanyaoqi
dbd5e03406 fix(host): ceph util timeout (#15516) 2022-12-08 14:41:09 +08:00
wanyaoqi
37966f32e1 fix(region,host): fix some bugs of server disk change storage 2022-12-08 12:07:10 +08:00
Zexi Li
8bd34fda3d Merge pull request #15510 from ioito/automated-cherry-pick-of-#15508-upstream-release-3.10
Automated cherry pick of #15508: feat(region): support hcsop
2022-12-08 10:53:49 +08:00
ioito
55f7404d36 feat(region): support hcsop 2022-12-08 10:44:14 +08:00
Zexi Li
13e2749eb0 Merge pull request #15506 from ioito/automated-cherry-pick-of-#15505-upstream-release-3.10
Automated cherry pick of #15505: fix(cloudid): huawei saml user name
2022-12-07 22:35:48 +08:00
ioito
4f9e08d988 fix(cloudid): huawei saml user name 2022-12-07 11:22:31 +08:00
wanyaoqi
bcbcbdf867 fix(host): update host wire with mac addr (#15501) 2022-12-07 02:20:52 +08:00
Zexi Li
c241dec916 Merge pull request #15495 from ioito/automated-cherry-pick-of-#15494-upstream-release-3.10
Automated cherry pick of #15494: fix(cloudid): vender update
2022-12-07 00:12:55 +08:00
ioito
0d16a97748 fix(cloudid): vender update 2022-12-06 18:28:30 +08:00
Jian Qiu
5fe3ffbf94 fix: notify send email with duplicate attachments (#15493)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-06 15:20:31 +08:00
Zexi Li
4c5ed8b537 Merge pull request #15484 from swordqiu/automated-cherry-pick-of-#15483-upstream-release-3.10
Automated cherry pick of #15483: fix: trigger vpcagent update when starting guest
2022-12-06 01:46:42 +08:00
Jian Qiu
7794cedd1c fix: allow baremetal to specify external tftp server and file (#15490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-05 23:41:14 +08:00
Zexi Li
600dc0bb9e Merge pull request #15481 from swordqiu/automated-cherry-pick-of-#15480-upstream-release-3.10
Automated cherry pick of #15480: fix: host disable gso for specific nics
2022-12-05 18:19:25 +08:00
Zexi Li
fccccb3c79 Merge pull request #15486 from swordqiu/automated-cherry-pick-of-#15485-upstream-release-3.10
Automated cherry pick of #15485: feature: allow update hostname
2022-12-05 18:16:45 +08:00
Qiu Jian
ad2a12eb31 feature: allow update hostname 2022-12-05 16:16:31 +08:00
Qiu Jian
7fa8c24fb1 fix: trigger vpcagent update when starting guest 2022-12-04 03:00:05 +08:00
Qiu Jian
553c987069 fix: host disable gso for specific nics 2022-12-04 00:55:55 +08:00
屈轩
750818041f fix(region): hcs vpc emulated (#15479) 2022-12-02 10:09:21 +08:00
Jian Qiu
c774bd2ca3 fix: lbagent switch to backup (#15466)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 01:23:51 +08:00
屈轩
37196c0f3d fix(common): http request timeout (#15467) 2022-12-01 01:23:22 +08:00
Zexi Li
58201ccf85 fix(scheduler): consider storage backend and mediumType size (#15470) 2022-12-01 01:22:23 +08:00
屈轩
eb6322cd4f fix(cloudmon): hcs metric (#15472) 2022-12-01 01:21:56 +08:00
Zexi Li
803f3648fb Merge pull request #15463 from swordqiu/automated-cherry-pick-of-#15462-upstream-release-3.10
Automated cherry pick of #15462: fix: aws sync os_arch
2022-11-30 17:53:50 +08:00
Qiu Jian
16430d8ef7 fix: aws sync os_arch 2022-11-30 01:36:32 +08:00
Zexi Li
f72b903533 Merge pull request #15461 from ioito/automated-cherry-pick-of-#15460-upstream-release-3.10
Automated cherry pick of #15460: fix(region): vender update
2022-11-29 19:37:53 +08:00
ioito
94e3dbad41 fix(region): vender update 2022-11-29 18:43:21 +08:00
gouqi11
e10434ff77 fix(region): fix modelarts create task setStatus (#15456) 2022-11-28 23:58:30 +08:00
gouqi11
1365007ed1 fix(region): add guest power states (#15454) 2022-11-28 23:57:43 +08:00
Zexi Li
5f48c736f8 Merge pull request #15448 from swordqiu/automated-cherry-pick-of-#15439-upstream-release-3.10
Automated cherry pick of #15439: Feature/qj vpcagent sync handler
2022-11-28 19:16:54 +08:00
Zexi Li
2026943c36 Merge pull request #15446 from swordqiu/automated-cherry-pick-of-#15445-upstream-release-3.10
Automated cherry pick of #15445: fix: vmware convert to kvm need check network configuration
2022-11-28 19:16:08 +08:00
Jian Qiu
18d341ea15 fix: lbagent master fixes (#15449)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-28 13:09:23 +08:00
Qiu Jian
f8ddb4a211 feature: vpcagent sync handler 2022-11-28 02:28:28 +08:00
Qiu Jian
f8e596fdd6 fix: vmware convert to kvm need check network configuration 2022-11-28 02:20:50 +08:00
Zexi Li
7d4ca95df4 Merge pull request #15443 from gouqi11/automated-cherry-pick-of-#15438-upstream-release-3.10
Automated cherry pick of #15438: fix(region): delete modelart Sku purgeAll.managerId
2022-11-25 20:38:21 +08:00
mhf
40eb0075ec fix(region): delete modelart Sku purgeAll.managerId 2022-11-25 20:33:30 +08:00
Zexi Li
59a1b03d97 Merge pull request #15441 from gouqi11/automated-cherry-pick-of-#15440-upstream-release-3.10
Automated cherry pick of #15440: fix(region): add modelarts sku policy
2022-11-25 15:49:48 +08:00
mhf
06470f23e7 fix(region): add modelarts sku policy 2022-11-25 15:39:47 +08:00
Jian Qiu
c2812f4a5e fix: keep schedtask_label table name (#15435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-25 15:38:44 +08:00
Zexi Li
aae19e7563 Merge pull request #15431 from ioito/automated-cherry-pick-of-#15430-upstream-release-3.10
Automated cherry pick of #15430: fix(region): hcs image import
2022-11-24 10:43:36 +08:00
ioito
1cfb56b087 fix(region): hcs image import 2022-11-24 10:16:59 +08:00
Zexi Li
774b14fbbe Merge pull request #15429 from ioito/automated-cherry-pick-of-#15428-upstream-release-3.10
Automated cherry pick of #15428: fix(region): hcs misc fix
2022-11-23 16:20:08 +08:00
ioito
0c2b5a48aa fix(region): hcs misc fix 2022-11-23 16:05:55 +08:00
Zexi Li
cd9c54128a Merge pull request #15427 from ioito/hotfix/qx-vender-update-lb
fix(region): vender update
2022-11-22 22:22:58 +08:00
ioito
ee265af062 fix(region): vender update 2022-11-22 21:53:09 +08:00
Zexi Li
16c56e1c0c Merge pull request #15426 from ioito/hotfix/qx-hcs-vm-disk
fix(region): hcs vm disk attach
2022-11-22 17:00:50 +08:00
ioito
166b7d873d fix(region): hcs vm disk attach 2022-11-22 16:14:04 +08:00
Zexi Li
ebe6465292 Merge pull request #15395 from gouqi11/fix/modelartsSkuForMaster
fix(region): fix modelarts sku and cidr
2022-11-22 15:22:25 +08:00
mhf
873bdc223b fix(region): fix modelarts sku and cidr 2022-11-22 14:07:24 +08:00
Zexi Li
3431f985c3 Merge pull request #15394 from seraphico/bugfix/baremetal-mac
fix(baremetal): Physical server installation OS optimization
2022-11-22 13:13:38 +08:00
屈轩
ecf21f2351 fix(region): refactor lb (#15284) 2022-11-22 12:28:36 +08:00
wanyaoqi
434f487e4f fix(region,host): live migrate quickly converge (#15419) 2022-11-22 12:26:08 +08:00
Jian Qiu
b20e1aa5e8 fix: filter projects by idp (#15399)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:24:17 +08:00
Jian Qiu
dc50a4b980 fix: fail to delete guest due to guestdisk inconsistency (#15402)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:23:38 +08:00
屈轩
0cdd383139 fix(region): ceph df size (#15410) 2022-11-22 12:22:54 +08:00
wanyaoqi
62eb073374 Fix/migrate (#15383)
* fix(region): ask host offline on rescue mode migration

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix(host): desc add is_volatile_host

Is volatile host tell sdn agent guest is not final state running on this
host, and do not bind port and report chassis right now.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-22 12:20:45 +08:00
Zexi Li
d60ea269fc fix(host): filter usb hub devices (#15413) 2022-11-21 17:21:28 +08:00
Zexi Li
15d7ecd330 Merge pull request #15405 from ioito/hotfix/qx-vender-update-hcs-vm
fix(region): vender update
2022-11-21 17:00:25 +08:00
Zexi Li
d1f5335973 Merge pull request #15407 from wanyaoqi/fix/cephutils
fix(host): ceph utils command add timeout
2022-11-21 15:26:13 +08:00
ioito
a289cf2e92 fix(region): vender update 2022-11-21 15:04:02 +08:00
wanyaoqi
17ef436d0e fix(host): ceph utils command add timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-21 14:59:57 +08:00
屈轩
354028952b fix(region): cloudpods self manage check (#15398) 2022-11-20 17:11:43 +08:00
Zexi Li
77acab1572 Merge pull request #15396 from ioito/hotfix/qx-hcs-storage-type
fix(region): hcs storage type width
2022-11-18 16:08:21 +08:00
ioito
808db9d872 fix(region): hcs storage type width 2022-11-18 15:56:50 +08:00
seraphico
9403a90b9a fix(baremetal): When the mac address in nics_standby does not have Index or nic_type, it will cause a panic, which will cause the physical server to fail to switch to bare metal 2022-11-18 11:02:23 +08:00
屈轩
bac71bf2a0 fix(cloudmon): add process stats metric (#15392) 2022-11-17 20:40:08 +08:00
Zexi Li
a805af5564 feat(climc): k8s cluster extra config (#15390) 2022-11-17 18:41:21 +08:00
屈轩
a0dea0ccf2 fix(region): hcs vender update (#15391) 2022-11-17 18:40:04 +08:00
屈轩
dab4598dde fix(cloudmon): collect system metric (#15385) 2022-11-17 18:39:35 +08:00
Zexi Li
282e46ddb8 Merge pull request #15382 from swordqiu/hotfix/qj-separate-region-cloudmux-import
feature: separate region and cloudmux
2022-11-17 14:21:50 +08:00
wanyaoqi
15ef8028da feat(region,climc): server set boot index (#15369) 2022-11-16 23:20:54 +08:00
屈轩
3c90ef7532 fix(common): show version when action not found (#15370) 2022-11-16 22:30:10 +08:00
wanyaoqi
f1d8299e54 fix(host): virito-blk pci addr dup prefix (#15374)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-16 22:28:11 +08:00
Qiu Jian
a6c7832021 feature: separate region and cloudmux 2022-11-16 20:49:27 +08:00
屈轩
ba4c37b206 fix(region): account clean host cache (#15375) 2022-11-16 15:50:39 +08:00
Jian Qiu
fa6b33884a fix: vpc secgroup should deny any ingress traffic be default (#15355)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:16:58 +08:00
Zexi Li
bec38d9a16 feat(climc): k8s cluster force deploy (#15372) 2022-11-16 10:12:54 +08:00
Zexi Li
0728ffd474 Merge pull request #15365 from swordqiu/hotfix/qj-set-disk-ssd-according-to-storage-medium-type
fix: automatically set disk is_ssd according to storage medium_type
2022-11-15 23:45:16 +08:00
Zexi Li
1c4ca698da Merge pull request #15368 from ioito/hotfix/qx-request-retry
fix(region): add retry for request
2022-11-15 23:44:58 +08:00
ioito
4085667cf3 fix(region): add retry for request 2022-11-15 12:46:36 +08:00
Zexi Li
c260a102aa Merge pull request #15358 from swordqiu/hotfix/qj-not-detect-vm-ips-when-manage-vmware
fix: do not detect vm ips when managing vmware
2022-11-15 10:39:41 +08:00
wanyaoqi
ad3f592747 fix(scheduler): ignore fetch disk image failed (#15361) 2022-11-15 00:49:46 +08:00
wanyaoqi
83f72c9e2f fix(region): dead lock on batch migrate (#15363)
New parallel task will lock Model Manager.
If guests hosts count bigger than one will stuck on Lock
Guest Model Manager.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-15 00:48:54 +08:00
Qiu Jian
1d0f715843 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:14:33 +08:00
wanyaoqi
d68fd533e4 fix(host-deployer): os arch and uefi detect (#15351) 2022-11-13 18:18:01 +08:00
wanyaoqi
70755a9a1b feat(region,host): sriov nic support (#15342)
Support sriov nic passthrough to kvm guest.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-13 18:17:30 +08:00
Qiu Jian
856db39a58 fix: do not detect vm ips when managing vmware 2022-11-12 22:10:41 +08:00
Zexi Li
beb2951523 Merge pull request #15348 from swordqiu/hotfix/qj-scheduler-ignore-storage-capacity-constraint-if-migrating
fix: scheduler ignore storage capacity constraint if migrating
2022-11-12 18:40:52 +08:00
Zexi Li
5552cf8b28 Merge pull request #15353 from swordqiu/hotfix/qj-excel-output-pretty-float
fix: make excel output floating number pretty
2022-11-12 18:39:54 +08:00
Qiu Jian
09f8cbbef7 fix: make excel output floating number pretty 2022-11-11 22:16:00 +08:00
屈轩
079be4492d fix(region): task panic (#15345) 2022-11-11 19:51:37 +08:00
Qiu Jian
4fe9dcec16 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 19:49:57 +08:00
Zexi Li
66f01d043b Merge pull request #15344 from ioito/hotfix/qx-vender-update-hcso
fix(region): vender update
2022-11-11 11:22:08 +08:00
ioito
02875a31e6 fix(region): vender update 2022-11-11 11:05:50 +08:00
wanyaoqi
6173bffe87 fix(host): set max cpus for virt machine type (#15339) 2022-11-11 08:29:20 +08:00
Zexi Li
a15f1736de feat(glance): precise_match option of image list input (#15341) 2022-11-11 08:27:48 +08:00
Zexi Li
b22af4a4b5 Merge pull request #15338 from ioito/hotfix/qx-region-sync
fix(region): region geo info sync
2022-11-10 16:49:07 +08:00
Zexi Li
af0dcee9e3 fix(scheduler): check capacity of disk_schedtag_predicate (#15336)
* only check free_capacity when not migrating or non schared storage

* only check actual_free_capacity when storage is local
2022-11-10 11:42:38 +08:00
ioito
6aad6487a7 fix(region): region geo info sync 2022-11-10 11:10:03 +08:00
Zexi Li
7df7b672ab Merge pull request #15333 from swordqiu/automated-cherry-pick-of-#15332-upstream-master
Automated cherry pick of #15332: fix: image osinfo nil panic
2022-11-09 23:06:46 +08:00
Zexi Li
4b2baaac3f Merge pull request #15334 from wanyaoqi/fix/remove-pcie-extend-bus-check
fix(host): remove has pcie extend bus check
2022-11-09 23:06:19 +08:00
wanyaoqi
929770264d fix(host): remove has pcie extend bus check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-09 21:55:42 +08:00
Qiu Jian
10155cdae9 fix: image osinfo nil panic 2022-11-09 14:49:41 +08:00
屈轩
aa9492578f fix(region): 避免i18n重复删除再创建 (#15324) 2022-11-09 00:09:44 +08:00
Jian Qiu
b04cdba24b fix: format version for rpm spec (#15328)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-09 00:08:46 +08:00
wanyaoqi
4a36afc4c5 fix(region): add power states check in some cases (#15323) 2022-11-09 00:08:21 +08:00
wanyaoqi
c66cbb72b7 fix(host-deployer): check /etc/network dir is esixt (#15314) 2022-11-08 11:42:54 +08:00
Zexi Li
456e03d1d9 Merge pull request #15321 from ioito/hotfix/qx-delete-status
fix(common): avoid return invalid delete status
2022-11-08 10:20:08 +08:00
ioito
236353fc09 fix(common): avoid return invalid delete status 2022-11-07 17:34:54 +08:00
Zexi Li
e95b39a11a Merge pull request #15320 from ioito/hotfix/qx-vender-update-remove-dependency
fix(region: remove dependency
2022-11-07 17:17:22 +08:00
ioito
4b1410d5b2 fix(region: remove dependency 2022-11-07 16:39:25 +08:00
Zexi Li
b77d652ee6 Merge pull request #15317 from gouqi11/fix/modelartsRefresh
fix(cloudmux): modelarts refresh status
2022-11-07 15:25:57 +08:00
mhf
ef380ba3fa fix(cloudmux): modelarts refresh status 2022-11-07 15:05:21 +08:00
Jian Qiu
5d9d253328 fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:24 +08:00
Jian Qiu
488be6b7fb fix: choose available storage by server_id (#15306)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:18:59 +08:00
wanyaoqi
d9c016c62a fix(region,host): disconnect esxi disk on disk delete (#15298) 2022-11-07 02:18:30 +08:00
Zexi Li
53161cb0f9 fix(monitor): only query enabled host for alerting (#15301) 2022-11-07 02:17:59 +08:00
Jian Qiu
f472e7aa57 fix: generate ssh host keys for linux guest (#15303)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:16:25 +08:00
Jian Qiu
fea06ca2d2 fix: secgroup peer secgroup constraint (#15111)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-07 02:15:43 +08:00
wanyaoqi
ec53faee26 fix(region): set power status on guest status ready (#15308) 2022-11-06 21:10:56 +08:00
屈轩
0302043fcd fix: vender update (#15302) 2022-11-06 20:39:49 +08:00
Zexi Li
4fcc109256 Merge pull request #15294 from ioito/hotfix/qx-vender-update-rf
fix: vender update
2022-11-04 17:45:10 +08:00
Zexi Li
ea09efe2b0 Merge pull request #15295 from gouqi11/fix/modelartsTimeout
fix(region):modelartsTimeout
2022-11-04 17:42:51 +08:00
mhf
3ed5fd30b2 fix(region):modelartsTimeout 2022-11-04 15:58:04 +08:00
ioito
eba93fe354 fix: vender update 2022-11-04 15:35:57 +08:00
Zexi Li
112991ea85 Merge pull request #15292 from gouqi11/fix/modelartsStatus
fix(region):modelarts task
2022-11-04 15:27:15 +08:00
mhf
0bc94edd81 fix/modelarts task 2022-11-04 14:32:39 +08:00
Zexi Li
b3ea6fbf13 Merge pull request #15257 from ioito/hotfix/qx-optimized-project-list
fix(keystone): optimzed project list
2022-11-04 14:29:19 +08:00
Zexi Li
1f08aa0a50 Merge pull request #15266 from swordqiu/hotfix/qj-allow-duplicate-id-when-sync-vms
fix: allow duplicate vm ids when sync
2022-11-04 12:27:23 +08:00
Zexi Li
2c8bceaed0 Merge pull request #15280 from swordqiu/hotfix/qj-allow-upload-image-via-apigateway-proxy
fix: allow upload image via apigateway backend proxy
2022-11-04 12:26:19 +08:00
Zexi Li
a40dec2c8a Merge pull request #15286 from wanyaoqi/hotfix/deploy-telegraf-error-info
fix(host-deployer): add deploy telegraf error info
2022-11-04 12:16:06 +08:00
Zexi Li
410e2563c3 Merge pull request #15288 from wanyaoqi/fix/remove-debug-log
fix(host): remove debug log
2022-11-04 12:15:44 +08:00
wanyaoqi
8db0974ef3 fix(host): remove debug log 2022-11-03 20:46:10 +08:00
wanyaoqi
d29be7d253 fix(host-deployer): add deploy telegraf error info 2022-11-03 20:40:28 +08:00
Zexi Li
59eee8f222 Merge pull request #15276 from wanyaoqi/fix/disk-change-storage-failed
fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed
2022-11-03 15:29:21 +08:00
Zexi Li
2f2aa4e79c Merge pull request #15272 from wanyaoqi/fix/host-offline
fix(region): panic on host offline and update health status is nil
2022-11-03 15:21:13 +08:00
Zexi Li
fbea11ec40 Merge pull request #15268 from swordqiu/hotfix/qj-save-unsynced-ip-metadata
fix: save unsynced ip to metadata
2022-11-03 15:18:00 +08:00
Zexi Li
c17d2bc72f Merge pull request #15281 from gouqi11/fix/modelartsStatus
fix/modelarts status
2022-11-03 15:17:27 +08:00
mhf
ed97cf2039 fix/modelarts status 2022-11-03 14:56:36 +08:00
Qiu Jian
47b0be0efd fix: allow upload image via apigateway backend proxy 2022-11-02 20:32:18 +08:00
wanyaoqi
fad56e8785 fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed 2022-11-02 17:32:29 +08:00
wanyaoqi
1a7683c056 fix(region): panic on host offline and update health status is nil 2022-11-01 20:48:31 +08:00
Zexi Li
5ffe1c3506 feat(region): no_bmc option of host create api (#15270) 2022-11-01 17:38:42 +08:00
Zexi Li
1bad4c75ba Merge pull request #15271 from ioito/hotfix/qx-hcs-obs
fix(region): hcs obs
2022-11-01 17:23:35 +08:00
ioito
26bfd8ee58 fix(region): hcs obs 2022-11-01 17:01:52 +08:00
Qiu Jian
24bba7e0e3 fix: sync unsynced ip to metadata 2022-11-01 01:54:30 +08:00
Qiu Jian
9d262fd949 fix: allow duplicate vm ids when sync 2022-10-31 23:14:41 +08:00
Zexi Li
9418bdf6be Merge pull request #15262 from ioito/hotfix/qx-account-balance
fix(region): account balance
2022-10-31 12:23:32 +08:00
Zexi Li
2ce7e1b107 Merge pull request #15264 from zexi/codegen-py3
feat(misc): use python3 for scripts/codegen.py
2022-10-31 12:22:53 +08:00
Zexi Li
2436c51811 Merge pull request #15229 from wanyaoqi/feat/bootindex
feat(region,host): support assign bootindex for cdrom or disks
2022-10-31 12:18:08 +08:00
Zexi Li
fe46ac0ad5 feat(misc): use python3 for scripts/codegen.py 2022-10-31 12:10:50 +08:00
Zexi Li
5fdb06b9a7 Merge pull request #15247 from ioito/hotfix/qx-lb-validate
fix(region): lb validate
2022-10-31 12:08:52 +08:00
ioito
8303f123e2 fix(region): account balance 2022-10-31 12:06:48 +08:00
ioito
8778ce4229 fix(region): lb validate create 2022-10-31 11:56:30 +08:00
Zexi Li
5ade02f00c Merge pull request #15261 from zexi/sync-cloudmux-const
fix(region): use cloudmux consts
2022-10-31 11:32:18 +08:00
Zexi Li
64618a74f0 Merge pull request #15228 from ioito/hotfix/qx-hcs-vpc
fix(region): hcs vpc create
2022-10-31 11:30:26 +08:00
Zexi Li
4e51e654a0 fix(region): use cloudmux consts 2022-10-31 11:16:13 +08:00
ioito
33b7639b7d fix(webconsole): hcs webconsole 2022-10-31 10:58:29 +08:00
ioito
cdc912ff8c fix(keystone): optimzed project list 2022-10-31 10:42:14 +08:00
wanyaoqi
ab1e535e0f feat(region,host): support assign bootindex for cdrom or disks
If bootindex is assigned, legacy boot order cdn/dcn will be disabled.
each device bootindex is accquire uniqued. default bootindex -1 is mean
bootindex not assign. If all of the devices not assigned bootindex,
guest will use the legacy boot order.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-31 10:20:17 +08:00
Zexi Li
6f67a46d06 Merge pull request #15234 from wanyaoqi/fix/maxcpus
fix(host): x86 machine max cpus
2022-10-31 10:16:05 +08:00
Zexi Li
7bc5f649bc Merge pull request #15253 from wanyaoqi/feat/isolated-device-hotplug
feat(gpus): add hotplug support of gpu devices
2022-10-31 10:15:47 +08:00
Jian Qiu
fa96a1943b feature: enable monitor proxy at host metadata server (#15244)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-29 18:31:01 +08:00
Zexi Li
2d2f2ec2c2 fix(baremetal): panic occured when get server ssh client (#15249) 2022-10-29 06:20:34 +08:00
Zexi Li
0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
wanyaoqi
23a172b082 feat(gpus): add hotplug support of gpu devices
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-28 10:49:52 +08:00
Zexi Li
72c7fe038c Merge pull request #15246 from gouqi11/cloudpodsMonitor
fix(cloudmon):cloudpodsMonitor
2022-10-27 19:34:13 +08:00
mhf
41dbc51fea cloudpodsMonitor 2022-10-27 18:56:40 +08:00
Zexi Li
228ca7ed0f Merge pull request #15233 from gouqi11/controlMetricsGoroutineCount
controlMetricsGoroutineCount
2022-10-27 18:54:34 +08:00
wanyaoqi
c727ad0b1e fix(host): assign vfio dev pci address (#15243)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-26 23:06:26 +08:00
屈轩
9dea6d2a7d fix(region): skip disk sync by system tags (#15231) 2022-10-26 02:10:38 +08:00
屈轩
3fb8b7d879 fix(region): aliyun sync by resource group (#15191) 2022-10-26 02:08:50 +08:00
Jian Qiu
724deb5f5e feature: google shell support query bigquery (#15213)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:08:13 +08:00
Jian Qiu
b20091bd99 fix: force reset expired password (#15224)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:55 +08:00
Jian Qiu
53519e3425 feature: automatically purge expired splitables (#15225)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:45 +08:00
Jian Qiu
13fbbe371a fix: ignore secgroup sync error (#15236)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:05:53 +08:00
mhf
d25ed28504 controlMetricsGoroutineCount 2022-10-25 19:25:28 +08:00
wanyaoqi
ac6b6716ce fix(host): x86 machine max cpus
if max cpux exceed 255, machine requires Extended Interrupt Mode
enabled.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-25 19:01:13 +08:00
Jian Qiu
73aa71d7df fix: access backend service by specific region/zone (#15223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-25 17:05:30 +08:00
Zexi Li
85edf1a21b Merge pull request #14929 from ioito/feat/qx-hcs
feat(region): hcs
2022-10-25 15:00:18 +08:00
ioito
11cf497268 support hcs 2022-10-25 14:48:20 +08:00
wanyaoqi
630f31912b fix(host): alloc numa node for guest (#15212)
mem backend file is relay on numa node init

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:45:05 +08:00
wanyaoqi
47fcc088bb feat(host): add hyperv cpu features for kernel 5.4 (#15221)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:44:35 +08:00
wanyaoqi
0d701003e3 fix(region): multi cdrom interface not compatible (#15222)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-24 05:42:49 +08:00
Zexi Li
214b51298c Merge pull request #15219 from gouqi11/fixModelarts
fixModelartsNodeCount nullable
2022-10-21 18:56:41 +08:00
mhf
70047bbed3 fixModelartsNodeCount nullable 2022-10-21 18:48:26 +08:00
Zexi Li
7b00932d1e Merge pull request #15182 from ioito/hotfix/qx-vnc-cmd
fix(climc): origin vnc
2022-10-21 17:30:02 +08:00
屈轩
8888393da1 fix(region): incloudsphere vm nic with ip (#15209) 2022-10-21 17:17:12 +08:00
Zexi Li
8696c5e504 Merge pull request #15215 from zexi/automated-cherry-pick-of-#15214-upstream-master
Automated cherry pick of #15214: fix(scheduler): do free capacity check when storage filter enabled
2022-10-20 16:36:39 +08:00
Zexi Li
141ebfc399 Merge pull request #15217 from gouqi11/fix/remoteFileReturnBug
fix/remoteFileReturnBug
2022-10-20 16:36:11 +08:00
mhf
10f5eb13c1 fix/remoteFileReturnBug 2022-10-20 16:06:37 +08:00
Zexi Li
8d28143a80 fix(scheduler): do free capacity check when storage filter enabled 2022-10-20 14:57:01 +08:00
Zexi Li
906e9f7150 Merge pull request #15207 from ioito/hotfix/qx-cloudmon-delay-time
fix(cloudmon): default delay time for 6 minutes
2022-10-20 00:30:45 +08:00
Zexi Li
586ccdd2cd Merge pull request #15210 from ioito/hotfix/qx-disk-short-desc
fix(region): add disk_type for disk short desc
2022-10-19 18:45:35 +08:00
ioito
6395e077f3 fix(region): add disk_type for disk short desc 2022-10-19 18:18:00 +08:00
Zexi Li
bec3300bac Merge pull request #15202 from ioito/hotfix/qx-incloudsphere-misc
fix(region): incloudshpere reset password
2022-10-18 11:20:03 +08:00
ioito
d2a7f43f61 fix(cloudmon): default delay time for 6 minutes 2022-10-18 10:59:55 +08:00
Zexi Li
8a650bd639 Merge pull request #15205 from zexi/automated-cherry-pick-of-#15204-upstream-master
Automated cherry pick of #15204: fix(ansibleserver): force sleep 50s before running
2022-10-18 10:49:20 +08:00
Zexi Li
4a5c7bfd3c fix(ansibleserver): force sleep 50s before running 2022-10-18 10:43:25 +08:00
Zexi Li
9555a789f7 Merge pull request #15203 from swordqiu/hotfix/qj-update-model-api-20221017
fix: update auto-gen model api 20221017
2022-10-17 18:01:43 +08:00
ioito
efae12b727 fix(region): incloudshpere reset password 2022-10-17 18:00:32 +08:00
Qiu Jian
340790d894 fix: update auto-gen model api 20221017 2022-10-17 17:12:18 +08:00
Jian Qiu
df373cdaf6 feature: api for sending emails with attachments (#15201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-17 14:30:03 +08:00
屈轩
bc8b181d9f fix(websonsole): vnc query (#15195) 2022-10-15 22:05:14 +08:00
屈轩
2ab93e71c3 fix(glance): esxi vmdk requre streamOptimized (#14995) 2022-10-15 22:03:27 +08:00
Zexi Li
cc7b591f4a Merge pull request #15185 from gouqi11/fix/remotefile
fix/remotefile guest
2022-10-14 21:13:00 +08:00
Zexi Li
d16069e1b1 Merge pull request #15198 from gouqi11/fix/huawei-aksk-createdAt
fix/huawei-aksk-createdAt
2022-10-14 21:12:26 +08:00
Zexi Li
c98cfb0c1c Merge pull request #15196 from ioito/hotfix/qx-incloudsphere-image-sync
fix(reigon): incloudsphere image sync
2022-10-14 18:49:35 +08:00
mhf
c94fb33c32 fix/remotefile guest 2022-10-14 18:20:30 +08:00
mhf
b546f875fe fix/huawei-aksk-createdAt 2022-10-14 18:18:50 +08:00
ioito
15642769fc fix(reigon): incloudsphere image sync 2022-10-14 16:29:19 +08:00
Zexi Li
daa8912644 Merge pull request #15190 from ioito/hotfix/qx-incloudsphere-list
fix(region): incloudsphere list items
2022-10-14 16:17:57 +08:00
Zexi Li
32cce3cbd5 Merge pull request #15194 from zexi/automated-cherry-pick-of-#15192-upstream-master
Automated cherry pick of #15192: fix(scheduler): check free capacity of each storage
2022-10-14 13:33:14 +08:00
Zexi Li
053944c265 fix(scheduler): check free capacity of each storage 2022-10-14 12:42:16 +08:00
ioito
223898bbe1 fix(region): incloudsphere list items 2022-10-14 10:53:48 +08:00
Zexi Li
4985c7cad8 Merge pull request #15186 from ioito/hotfix/qx-incloudsphere-vm-ip
fix(region): incloudsphere vm ip
2022-10-14 10:36:10 +08:00
Zexi Li
89b2a1c7b3 Merge pull request #15187 from ioito/hotfix/qx-sku-vm-cnt
fix(region): optimized sku list
2022-10-14 10:35:05 +08:00
Zexi Li
290cc4cdb5 Merge pull request #15183 from ioito/hotfix/qx-skip-account-check
fix(region): skip account check
2022-10-14 10:33:43 +08:00
Zexi Li
03cccd2029 Merge pull request #15189 from wanyaoqi/fix/hugepage-update
fix(region): hugepage validate mem update
2022-10-14 10:33:14 +08:00
wanyaoqi
b2e1c0b2d9 fix(region): hugepage validate mem update 2022-10-14 10:15:20 +08:00
ioito
f066df45ef fix(region): optimized sku list 2022-10-13 18:10:23 +08:00
ioito
81915cd658 fix(region): incloudsphere vm ip 2022-10-13 17:15:01 +08:00
ioito
2e017dbffe fix(region): skip account check 2022-10-13 16:59:18 +08:00
ioito
f1d2bbd18a fix(climc): origin vnc 2022-10-13 16:54:32 +08:00
Zexi Li
7c9e7aaa85 Merge pull request #15179 from ioito/hotfix/qx-skip-duplicate-account-check
fix(region): skip duplicate account check
2022-10-13 12:14:19 +08:00
ioito
3e81bc3ed1 fix(region): skip duplicate account check 2022-10-13 11:49:13 +08:00
Zexi Li
bcf52f3db4 Merge pull request #15177 from swordqiu/hotfix/qj-disk-fallocate-support
fix: disk fallocate support
2022-10-13 09:47:38 +08:00
Zexi Li
9952c9ad8d Merge pull request #15168 from wanyaoqi/fix/hugepages
feat(region,host): hugepage optimize
2022-10-13 09:47:18 +08:00
Zexi Li
fadec7480b Merge pull request #15163 from swordqiu/hotfix/qj-ssd-flag-for-scsi-hd-only
fix: ssd(rotation_rate=1) option only applicable to scsi-hd device
2022-10-13 09:46:22 +08:00
Zexi Li
ea4750d1c5 Merge pull request #15156 from ioito/hotfix/qx-openstack-vnc
fix(region): openstack vnc
2022-10-13 09:45:45 +08:00
Zexi Li
fb55bd34a1 Merge pull request #15170 from ioito/hotfix/qx-purge-vm-by-tags
fix(region): purge vm by tags
2022-10-13 09:45:12 +08:00
Zexi Li
25e0e5ae98 Merge pull request #15172 from ioito/hotfix/qx-cloudmon-err
fix(cloudmon): show unmarshal error
2022-10-13 09:44:47 +08:00
Jian Qiu
35cb0f8131 fix: no etcd watching if endpoint type is not internal (#15174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-13 09:36:41 +08:00
Qiu Jian
a38d0e2d05 fix: disk fallocate support 2022-10-13 02:35:53 +08:00
ioito
865d078b41 fix(cloudmon): show unmarshal error 2022-10-12 17:40:30 +08:00
ioito
964a1a4d7c fix(region): purge vm by tags 2022-10-12 16:35:31 +08:00
Zexi Li
f1050571d7 Merge pull request #15165 from ioito/hotfix/qx-google-vm
fix(region): avoid panic
2022-10-12 16:32:32 +08:00
ioito
da932145c9 fix(region): avoid panic 2022-10-12 15:13:48 +08:00
wanyaoqi
3d0c09195e feat(region,host): hugepage optimize
- host agent will not allocate hugepage on init
- except hugepage, the remaining memory update to reserved memory
- default hugepage size 1024M
- host model add page size field

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:57:13 +08:00
屈轩
871000141e fix: climc image cache (#15152) 2022-10-12 14:55:36 +08:00
wanyaoqi
6d3a592833 fix(region): only kvm use qgs set password in guest running status (#15158)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:55:03 +08:00
Qiu Jian
7a15734768 fix: ssd(rotation_rate=1) option only applicable to scsi-hd device 2022-10-12 14:21:00 +08:00
Jian Qiu
9f65fd6abb fix: debian 11 support missing at release/3.8 (#15160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-11 21:18:03 +08:00
Zexi Li
8382486550 Merge pull request #15108 from wanyaoqi/feat/qemu-kvm-caps
Feat/qemu kvm caps
2022-10-11 20:12:54 +08:00
wanyaoqi
e83b167e43 feat(host): qemu kvm cpu caps 2022-10-11 18:34:38 +08:00
ioito
f83e0894a2 fix(region): openstack vnc 2022-10-11 16:50:03 +08:00
Zexi Li
c8a39cdc79 Merge pull request #15150 from wanyaoqi/hotfix/host-image-remove-auth
fix(host-image): cancel auth host-image http requests
2022-10-11 10:45:19 +08:00
Zexi Li
209564526a Merge pull request #15147 from ioito/hotfix/qx-python-sdk-generage
fix(climc): python sdk generage
2022-10-11 10:44:52 +08:00
Zexi Li
530dc36c4d Merge pull request #15137 from ioito/hotfix/qx-snappolicy-tz
fix(region): snapshot time zone
2022-10-11 10:43:45 +08:00
Zexi Li
6360bbacf2 Merge pull request #15134 from swordqiu/hotfix/qj-override-os-info-meta
fix: override valid os info in metadata
2022-10-11 10:42:25 +08:00
Zexi Li
38c5cecbd5 Merge pull request #15133 from ioito/hotfix/qx-incloudsphere-network
fix(region): incloudsphere network
2022-10-11 10:41:45 +08:00
Zexi Li
46425949ab Merge pull request #15138 from ioito/hotfix/qx-lb-panic
fix(region): lb sync panic
2022-10-11 10:40:49 +08:00
Zexi Li
8159e0318e Merge pull request #15154 from ioito/hotfix/qx-aliyun-oss
fix(region): oss permission
2022-10-11 10:38:51 +08:00
ioito
b0185d7708 fix(region): oss permission 2022-10-10 19:14:06 +08:00
Zexi Li
bc2eb0a998 Merge pull request #15148 from ioito/hotfix/qx-apsara-endpoint
fix(region): apsara region endpoint
2022-10-10 15:50:37 +08:00
ioito
0227503d76 fix(region): apsara region endpoint 2022-10-10 10:36:28 +08:00
wanyaoqi
865ff6953f fix(region): recover code remove by #14996 (#15144)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:53:31 +08:00
wanyaoqi
c1975bf563 fix(host): marshal cycle struct guest (#15143)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:48:50 +08:00
Qiu Jian
f278a7860e fix: override valid os info in metadata 2022-10-09 22:58:35 +08:00
ioito
61b7ce6fdb fix(climc): python sdk generage 2022-10-09 18:54:19 +08:00
ioito
9ea371eb2d fix(region): lb sync panic 2022-10-09 15:45:28 +08:00
Zexi Li
eddbbdc1df Merge pull request #15102 from ioito/hotfix/qx-azure-resourcegroup
fix(region): azure resource group
2022-10-09 15:35:55 +08:00
ioito
8193c4b8cb fix(region): snapshot time zone 2022-10-09 15:09:07 +08:00
Zexi Li
c2ef03353c Merge pull request #15131 from ioito/hotfix/qx-short-desc
fix(region): add project tag short desc
2022-10-09 00:26:07 +08:00
Zexi Li
537438270d Merge pull request #15125 from ioito/hotfix/qx-api-gen
fix(region): api gen
2022-10-09 00:25:45 +08:00
Zexi Li
06225f9d83 Merge pull request #15128 from ioito/hotfix/qx-aliyun-saml-name
fix(cloudid): aliyun saml provider name
2022-10-09 00:25:07 +08:00
ioito
e8bb88247d fix(region): azure resource group 2022-10-08 21:27:52 +08:00
Zexi Li
48bd8d72d3 Automated cherry pick of #15120: optimize(scheduler): global cache for schedtag (#15121)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:38 +08:00
ioito
f17910bf78 fix(region): incloudsphere network 2022-10-08 20:03:21 +08:00
ioito
c7952084b9 fix(region): add project tag short desc 2022-10-08 18:20:25 +08:00
wanyaoqi
35303d97f2 fix(host-image): cancel auth host-image http requests 2022-10-08 15:37:10 +08:00
ioito
c323d1e505 fix(cloudid): aliyun saml provider name 2022-10-08 15:37:04 +08:00
ioito
484a3ae6cb fix(region): api gen 2022-10-08 15:05:03 +08:00
Zexi Li
617a6702e4 Merge pull request #15122 from ioito/hotfix/qx-modelarts-change-config
fix(region): modelarts change config
2022-10-08 14:45:47 +08:00
ioito
9273266789 fix(region): modelarts change config 2022-10-08 14:25:33 +08:00
Zexi Li
4fc9bbf029 Merge pull request #15118 from zexi/automated-cherry-pick-of-#15117-upstream-master
Automated cherry pick of #15117: fix(monitor): monitor error message
2022-10-08 12:03:36 +08:00
Zexi Li
4fca491f73 fix(monitor): monitor error message 2022-10-08 11:54:21 +08:00
Jian Qiu
fd6e54c8b8 fix: preserve os info of instance (#15114)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:19:41 +08:00
Jian Qiu
6df42c5275 update vendor wireguard 20221005 (#15112)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-05 17:17:42 +08:00
Zexi Li
e6385c142c Merge pull request #15109 from gouqi11/fixModelartsStatus
fix modelarts status bug
2022-09-30 11:53:23 +08:00
mhf
20f1decf63 fix modelarts status bug 2022-09-30 11:25:01 +08:00
Zexi Li
92da2889f9 Merge pull request #15105 from swordqiu/hotfix/qj-not-resize-partion-unsupported-fs
fix: do not resize partition of unsupported fs
2022-09-29 10:07:49 +08:00
Qiu Jian
11d734f2d0 fix: do not resize partition of unsupported fs 2022-09-28 23:03:10 +08:00
屈轩
7b530f9387 fix(region): support remote file (#15054) 2022-09-28 20:46:21 +08:00
Zexi Li
a64bc62b2d Merge pull request #15100 from ioito/hotfix/qx-metric-metadata
fix(cloudmon): remove cloudmon metadata tag
2022-09-28 19:31:19 +08:00
ioito
48436a7d3c fix(cloudmon): remove cloudmon metadata tag 2022-09-28 18:14:07 +08:00
Zexi Li
f9b5ed223d Merge pull request #15098 from zexi/automated-cherry-pick-of-#15097-upstream-master
Automated cherry pick of #15097: fix(ansibleserver): force sleep 15s before running playbook
2022-09-28 17:38:58 +08:00
Zexi Li
e9f892875d fix(ansibleserver): force sleep 15s before running playbook 2022-09-28 17:23:29 +08:00
Zexi Li
73eea36e0a Merge pull request #15094 from gouqi11/addNodeCount
add modelarts nodecount
2022-09-28 15:51:34 +08:00
mhf
9c5402f15c add modelarts nodecount 2022-09-28 15:35:43 +08:00
wanyaoqi
893bf12cf7 fix(region): check migration bandwidth is nil (#15082) 2022-09-28 15:27:53 +08:00
屈轩
7e2f2e8ada fix(cloudid): azure cloudgroup (#15092) 2022-09-28 15:27:17 +08:00
屈轩
7d772ff1e4 fix(monitor): rename tags to tag_pairs (#15087) 2022-09-28 15:26:29 +08:00
wanyaoqi
fc0702d90c fix(host): rbd snap delete (#15074) 2022-09-28 15:25:07 +08:00
wanyaoqi
59fd4f61be fix(region): host health use sync map (#15067)
* fix(region): host health use sync map

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix auto migrate on host shutdown

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 14:12:46 +08:00
Zexi Li
5e6935bc3a fix(cloudcommon): notify event of specific resources (#15091) 2022-09-28 13:01:03 +08:00
wanyaoqi
2785f49cf9 fix(region,host): guest add power states (#15031)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 07:55:45 +08:00
Zexi Li
3fcd994743 fix(host): out of range when list GPU devices (#15080) 2022-09-28 07:53:08 +08:00
屈轩
a3297e71c2 fix(climc): add debug for esxicli (#15059) 2022-09-27 21:20:34 +08:00
Davidzkeng
bbaaf2da7e Feature/floppy (#15008)
* feat(region,host): add floppy,mult cdrom

* fix floppy-device

Co-authored-by: huangzekeng <huangzekeng@grgbanking.com>
2022-09-27 21:15:52 +08:00
Zexi Li
3a9f2de4ee fix(monitor): not depend taskman to execute async task (#15065) 2022-09-27 21:14:41 +08:00
Zexi Li
ecd7e81887 fix(cloudcommon): invoke model.PostUpdate when differences exist (#15070) 2022-09-27 21:11:26 +08:00
屈轩
6e1d1bd4a6 fix(cloudid): azure clouduser (#15068) 2022-09-27 21:09:01 +08:00
屈轩
9d2cb819de fix(region): secgroup rule sync (#15075) 2022-09-27 21:07:41 +08:00
屈轩
71fcf3ee88 fix(cloudmon): remove special characters (#15062) 2022-09-27 21:03:52 +08:00
Zexi Li
f0d381bc25 Merge pull request #15053 from wanyaoqi/feat/windows-setup-telegraf
feat(host): deploy telegraf in windows guest
2022-09-27 11:29:46 +08:00
wanyaoqi
3c7ddc7f53 fix(host): usb kbd command line (#15056)
add machine usb command first

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-27 09:27:41 +08:00
wanyaoqi
23803968c9 feat(host): deploy telegraf in windows guest
depends on telegraf service install command.
2022-09-26 18:08:31 +08:00
Zexi Li
b475d3c8c9 Merge pull request #15033 from wanyaoqi/fix/migrate-forecase-add-rescue-mode
fix(region): migrate forecase add rescue mode
2022-09-26 15:22:21 +08:00
Zexi Li
df9b0bb679 Merge pull request #15044 from ioito/hotfix/qx-proxmox-feat
fix(climc): feature config
2022-09-26 15:21:55 +08:00
Zexi Li
0a372612dd Merge pull request #15051 from zexi/automated-cherry-pick-of-#15050-upstream-master
Automated cherry pick of #15050: feat(region): is_baremetal option for storage list
2022-09-26 15:20:13 +08:00
Zexi Li
28f8dd886d feat(region): is_baremetal option for storage list 2022-09-26 15:12:44 +08:00
Zexi Li
7397d23c4e Merge pull request #15048 from ioito/hotfix/qx-influx-query
fix(monitor): influx query
2022-09-26 15:04:44 +08:00
ioito
3f7e684ddc fix(monitor): influx query 2022-09-26 15:01:03 +08:00
Zexi Li
aa84e7894d Merge pull request #15046 from ioito/hotfix/qx-monitor-misc
Hotfix/qx monitor misc
2022-09-26 14:05:57 +08:00
小林仔
52fa73a631 support simple query 2022-09-26 13:27:49 +08:00
ioito
d69c691f13 fix(climc): feature config 2022-09-23 18:04:26 +08:00
Zexi Li
3b8bacf83c Merge pull request #15041 from ioito/hotfix/qx-cloud-group-role
fix(cloudid): role obs iam
2022-09-23 17:05:55 +08:00
ioito
7e891276c0 fix(cloudid): role obs iam 2022-09-23 16:47:22 +08:00
Zexi Li
66b6ee8d85 Merge pull request #15039 from swordqiu/hotfix/qj-host-cpu-architecture
fix: ihost add cpu_architecture interface
2022-09-23 16:07:31 +08:00
QIU Jian
cc48804901 fix: ihost add cpu_architecture interface 2022-09-23 14:47:18 +08:00
wanyaoqi
79dfa27ca5 fix(host): live migrate optimize (#14996)
- support set live migrate bandwidth
- support cancel migrate
- live migrate enable multifd
- cancel set live migrate max downtime in init live migrate
- save and sync guest desc and start script on sync config
- init machine pci addresses on load guest desc
- load memory devices for guests not init pci addresses
- attach network set upscript and downscript
- add a guest launcher for redirect qemu stdout/stderr
- start monitor on guest script start
- fix guest hotplug cpu and mem not update desc
2022-09-23 14:09:33 +08:00
Jian Qiu
8d077e2a88 fix: splitable duplicate records (#15032)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-23 14:09:00 +08:00
屈轩
194ab2dc89 fix(region): avoid panic when show dns zone (#15035) 2022-09-23 13:52:36 +08:00
wanyaoqi
cf7e733326 fix(region): migrate forecase add rescue mode
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-09-23 10:50:09 +08:00
Zexi Li
8fa37ac7e3 Merge pull request #15022 from swordqiu/hotfix/qj-esxi-save-image-failed
fix: esxi save image fail
2022-09-23 10:12:37 +08:00
Zexi Li
c18c4f71ac Merge pull request #15028 from ioito/hotfix/qx-huawei-obs-iam
fix(cloudid): obs iam
2022-09-23 10:10:53 +08:00
ioito
b36fca2c92 fix(cloudid): obs iam 2022-09-22 22:57:03 +08:00
Zexi Li
b7863c882c Merge pull request #15024 from gouqi11/hcso-modelarts-monitor
HCSO modelarts monitor
2022-09-22 20:42:25 +08:00
mhf
17169e9d0d delete huaweiClient 2022-09-22 18:35:27 +08:00
Qiu Jian
cd535f73d1 fix: esxi save image fail 2022-09-22 02:07:51 +08:00
Zexi Li
7036382854 Merge pull request #15018 from gouqi11/hcso-modelarts
add hcso modelarts
2022-09-21 20:56:18 +08:00
mhf
7b3eabfd39 resert endpoint 2022-09-21 17:48:56 +08:00
Zexi Li
c2d505f1c5 Merge pull request #15013 from ioito/hotfix/qx-system-tags
fix(region): qcloud and google system tag
2022-09-21 14:25:29 +08:00
mhf
bac407a65c add hcso modelarts 2022-09-21 13:56:46 +08:00
屈轩
5730d98511 fix(region): hcso duplicate role (#14999) 2022-09-20 22:43:33 +08:00
Zexi Li
c2c9ce8ccf Merge pull request #15011 from gouqi11/addAKSK
add hcso aksk
2022-09-20 20:25:53 +08:00
mhf
0268e73569 add hcso aksk 2022-09-20 20:13:50 +08:00
Zexi Li
dab6ffde65 Merge pull request #15015 from ioito/hotfix/qx-vm-host-metric
fix(hostman): host and vm metric id
2022-09-20 18:41:27 +08:00
Zexi Li
30b8168343 Merge pull request #15009 from ioito/hotfix/qx-cloudid-error
fix(cloudid): clear cloudid error
2022-09-20 18:39:59 +08:00
ioito
7ff1c4c3fd fix(hostman): host and vm metric id 2022-09-20 18:03:01 +08:00
ioito
db75092c22 fix(region): qcloud and google system tag 2022-09-20 17:54:08 +08:00
ioito
0f2c5f12a4 fix(cloudid): clear cloudid error 2022-09-20 14:44:37 +08:00
Zexi Li
eb712a088f Merge pull request #15006 from zexi/automated-cherry-pick-of-#15005-upstream-master
Automated cherry pick of #15005: fix(climc): always net vlan_id to 1 when updating network
2022-09-20 10:46:36 +08:00
Zexi Li
5aac03c01c fix(climc): always net vlan_id to 1 when updating network 2022-09-20 10:45:38 +08:00
Zexi Li
a7daf2065f Merge pull request #15003 from zexi/automated-cherry-pick-of-#15002-upstream-master
Automated cherry pick of #15002: feat(baremetal,region): support disable_image_cache for baremetalagent
2022-09-20 10:29:43 +08:00
Zexi Li
ecf61f6ea0 feat(baremetal,region): support disable_image_cache for baremetalagent 2022-09-20 10:04:54 +08:00
屈轩
fc563cc540 fix(cloudmon): unified metric id with resource id (#14997) 2022-09-19 22:53:41 +08:00
Zexi Li
eaf2294bf7 Merge pull request #14954 from wanyaoqi/feat/check-gpfs-mountpoint-is-local
feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:28:50 +08:00
Zexi Li
f762132f47 Merge pull request #14987 from gouqi11/modelartsCreateFix
fix modelarts create bug
2022-09-19 21:23:17 +08:00
mhf
a31ed4d14b fix modelarts create bug 2022-09-19 19:42:23 +08:00
Zexi Li
7e660c60a1 Merge pull request #14889 from IxaKylin/support-pve2
support pve
2022-09-19 10:33:20 +08:00
屈轩
213dfd87e4 fix(region): cloudaccount options (#14990) 2022-09-17 19:38:06 +08:00
Mig Yang
fb39a8aaf1 support pve 2022-09-17 09:43:19 +08:00
wanyaoqi
dd38722779 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-16 18:27:00 +08:00
Zexi Li
ac3b54d7b3 Automated cherry pick of #14979: fix(monitor,region,climc): use commonalert api for scaling policy (#14986)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:34:52 +08:00
Zexi Li
b793051b36 Merge pull request #14974 from ioito/hotfix/qx-azure-win-disk-usage
fix(cloudmon): azure windows disk usage
2022-09-16 03:06:14 +08:00
Zexi Li
159942ceb1 Merge pull request #14985 from swordqiu/hotfix/qj-update-readme-with-heml-installation
fix: update README for helm installation
2022-09-16 03:05:32 +08:00
Qiu Jian
63d33c49b3 fix: update README for helm installation 2022-09-15 23:14:46 +08:00
wanyaoqi
8ac6004b84 fix(host): get gpu qemu params (#14981)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-15 22:48:06 +08:00
Zexi Li
7faa32dfa7 Merge pull request #14983 from gouqi11/modelartsBugFix
bugfix(modelarts)
2022-09-15 21:41:56 +08:00
mhf
dea296172a modelartsBugFix 2022-09-15 21:22:40 +08:00
Zexi Li
c6b99377eb Merge pull request #14980 from zexi/hostmetrics-nic
fix(host): hostmetrics nics
2022-09-15 01:25:39 +08:00
Zexi Li
7977d78898 fix(host): hostmetrics nics 2022-09-15 01:24:56 +08:00
Zexi Li
33a9cc1d1c fix(host): no vm_scaling_group_id in hostmetrics (#14977) 2022-09-15 01:16:35 +08:00
ioito
153d43348d fix(cloudmon): azure windows disk usage 2022-09-14 19:40:25 +08:00
Zexi Li
6c7de082fd Merge pull request #14972 from gouqi11/modelarts-t
modelarts
2022-09-14 16:00:38 +08:00
Zexi Li
4b9f32e03f Merge pull request #14962 from ioito/hotfix/qx-azure-disk-used-percent
fix(region): azure win disk usage percent
2022-09-14 10:11:59 +08:00
Zexi Li
cfdb90b84e Merge pull request #14949 from wanyaoqi/fix/generate-pci-address
fix(host): generate pci address for guests created
2022-09-14 10:10:34 +08:00
Zexi Li
4d70b3d5ec Merge pull request #14965 from zexi/automated-cherry-pick-of-#14964-upstream-master
Automated cherry pick of #14964: fix(monitor): alert resource not recorverd
2022-09-14 10:05:41 +08:00
Zexi Li
c50b494d01 Merge pull request #14967 from swordqiu/hotfix/qj-set-vfs-cache-pressure
fix: set vfs_cache_pressure to 350
2022-09-14 01:05:42 +08:00
mhf
4f1a1f67b0 modelarts 2022-09-13 20:07:55 +08:00
Qiu Jian
6db8d62834 fix: set vfs_cache_pressure to 350 2022-09-13 16:18:24 +08:00
Zexi Li
ce27f26404 fix(monitor): alert resource not recorverd 2022-09-13 13:44:58 +08:00
ioito
46725d8ba1 fix(region): azure win disk usage percent 2022-09-13 10:34:16 +08:00
Zexi Li
5fd3cad876 Merge pull request #14959 from swordqiu/hotfix/qj-remove-irrelevant-common-options
fix: remove irrelevant common options
2022-09-13 08:56:46 +08:00
Zexi Li
b764f55c43 Merge pull request #14961 from swordqiu/feature/qj-climc-parallel-test
feature(climc): climc parallel test tools
2022-09-13 08:55:22 +08:00
Qiu Jian
d266863d17 feature(climc): climc parallel test tools 2022-09-13 01:49:44 +08:00
Qiu Jian
8654a70876 fix: remove irrelevant common options 2022-09-12 18:22:18 +08:00
Zexi Li
58568f4ddc fix(baremetal): clean UEFI info for baremetal host (#14957) 2022-09-12 18:20:03 +08:00
Zexi Li
1fa3ba7e4f Merge pull request #14952 from wanyaoqi/fix/check-existing-path
fix(region): format and check existing path
2022-09-09 10:01:05 +08:00
Zexi Li
ade6cb6c03 Merge pull request #14950 from wanyaoqi/fix/qga-set-password
fix(region): check qga set password username is equal login_account
2022-09-09 10:00:45 +08:00
wanyaoqi
9459ad7e61 fix(host): generate pci address for guests created
Generate pci addresses for guests create before structure desc.
Read guest pci info from qmp query-pci command and fill guest
description.
Guest desc add field AnonymousPCIDevs to save unidentified pci devices
address.
2022-09-08 20:36:42 +08:00
wanyaoqi
494e13d68a fix(region): format and check existing path
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 20:22:11 +08:00
wanyaoqi
9f38fced2c fix(region): check qga set password username is equal login_account
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 18:00:58 +08:00
Zexi Li
5b8d97c8f3 Merge pull request #14947 from zexi/automated-cherry-pick-of-#14946-upstream-master
Automated cherry pick of #14946: fix(region): gpu_models in capabilities' response
2022-09-08 14:05:38 +08:00
Zexi Li
9b14edfc9c fix(region): gpu_models in capabilities' response 2022-09-08 13:04:46 +08:00
Zexi Li
fd1e30f4fc Merge pull request #14927 from wanyaoqi/feat/set-password
feat(region): set password use same interface
2022-09-07 10:48:25 +08:00
Zexi Li
8f73e2c19d fix(scheduler): testing failed (#14943) 2022-09-07 10:47:54 +08:00
Zexi Li
1e8368a568 Merge pull request #14922 from ioito/hotfix/qx-secgroup-rule
fix(region): secgroup rule sync
2022-09-07 10:47:17 +08:00
Zexi Li
ae98c15b68 Merge pull request #14933 from swordqiu/hotfix/qj-fail-to-create-ceph-disk
fix: fail to create ceph disk, missing disk credential
2022-09-07 10:38:28 +08:00
Zexi Li
0a25ef8fe2 Merge pull request #14930 from ioito/hotfix/qx-cloudprovider-project-id
fix(region): cloudprovider tenant id
2022-09-07 10:37:48 +08:00
Zexi Li
caebf1e37c Merge pull request #14935 from swordqiu/hotfix/qj-agent-pull-system-scope
fix: agent pull list with system scope
2022-09-07 10:36:54 +08:00
Zexi Li
0fc852c543 Merge pull request #14939 from swordqiu/hotfix/qj-add-hsts-header-if-tls-enabled
fix: add HSTS (RFC 6797) header if TLS enabled
2022-09-07 10:36:17 +08:00
Qiu Jian
7a0a3a47f7 fix: add HSTS (RFC 6797) header if TLS enabled
https://www.tenable.com/plugins/nessus/142960
2022-09-07 07:48:41 +08:00
Qiu Jian
4fdf5b91fc fix: agent pull list with system scope 2022-09-07 00:43:15 +08:00
Qiu Jian
3c5eb43504 fix: fail to create ceph disk, missing disk credential 2022-09-07 00:37:18 +08:00
ioito
24c35579f2 fix(region): cloudprovider tenant id 2022-09-06 20:25:48 +08:00
Zexi Li
f78a9a7fb7 Merge pull request #14925 from zexi/automated-cherry-pick-of-#14924-upstream-master
Automated cherry pick of #14924: fix(scheduler): fill storage and network results
2022-09-06 19:59:53 +08:00
wanyaoqi
10bf6e574f feat(region): set password use same interface
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-06 15:51:29 +08:00
Zexi Li
33e70266b0 fix(scheduler): fill storage and network results 2022-09-06 12:04:23 +08:00
wanyaoqi
a4e9f86c2a feat(region,host): deploy telegraf (#14915)
Support deploy telegraf on server deploy.
Add start telegraf on guest reboot crontab in guest os.
2022-09-06 00:13:20 +08:00
Zexi Li
05af5310a6 Merge pull request #14920 from ioito/hotfix/qx-aliyun-redis-metric
fix(cloudmon): aliyun redis metric
2022-09-05 17:08:50 +08:00
ioito
f4f932210f fix(cloudmon): aliyun redis metric 2022-09-05 16:28:36 +08:00
Zexi Li
df4113bf1d Merge pull request #14916 from swordqiu/hotfix/qj-ldap-search-with-pagination
fix(keystone): ldap search with pagination
2022-09-05 16:16:39 +08:00
Zexi Li
07d6ae5d5c Merge pull request #14691 from ykdh/feature/implement-dnszonefile
feat(region): dns records convert to zone file
2022-09-05 16:15:06 +08:00
ioito
99e96ad80e fix(region): secgroup rule sync 2022-09-05 16:03:33 +08:00
Qiu Jian
c4343673e5 fix(keystone): ldap search with pagination 2022-09-04 19:11:54 +08:00
Jian Qiu
13d882d8d9 feature: webhook support notification of user update (#14912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:11 +08:00
ykdh
d8c758bdf4 feat(region): dns records convert to zone file 2022-09-03 10:46:52 +08:00
Zexi Li
20ea3d5e78 Merge pull request #14910 from ioito/hotfix/qx-metric-tag
fix(cloudmon): server metric tag
2022-09-02 18:08:51 +08:00
ioito
63e2e1fa4e fix(cloudmon): server metric tag 2022-09-02 18:02:07 +08:00
Zexi Li
f02b6c17ae Merge pull request #14908 from ioito/hotfix/qx-incloudsphere-host-type
fix(region): incloudsphere host type
2022-09-02 12:13:08 +08:00
Zexi Li
568920f8e4 Merge pull request #14903 from ioito/hotfix/qx-alert-history
fix(cloudmon): alert history
2022-09-02 12:11:27 +08:00
Zexi Li
e6f7954831 Merge pull request #14901 from ioito/hotfix/qx-qcloud-redis-metric
fix(cloudmon): qcloud redis metric
2022-09-02 10:45:31 +08:00
ioito
98161827ba fix(region): incloudsphere host type 2022-09-02 10:13:11 +08:00
Jian Qiu
d19c394d14 fix: allow update server pending deleted at (#14905)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:05:11 +08:00
bqyang
5b92f78518 test(radix_test.go): refactor TestRadixNode func make it more tidy (#14885) 2022-09-01 20:32:34 +08:00
ioito
fab139fa33 fix(cloudmon): alert history 2022-09-01 19:26:26 +08:00
ioito
43da1a140b fix(cloudmon): qcloud redis metric 2022-09-01 15:39:23 +08:00
Jian Qiu
598d0800dd fix: support huawei sms service (#14895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:17 +08:00
Zexi Li
05bbb3d135 Merge pull request #14897 from ioito/hotfix/qx-distinct-sku
fix(region): support distinct sku by name
2022-09-01 12:07:40 +08:00
Zexi Li
d2abdee42c Merge pull request #14899 from ioito/hotfix/qx-metric-desc
fix(cloudmon): 添加监控指标描述信息
2022-09-01 12:03:00 +08:00
ioito
ce1edbabd9 fix(cloudmon): 添加监控指标描述信息 2022-09-01 11:54:26 +08:00
ioito
5dd040dd2d fix(region): support distinct sku by name 2022-09-01 10:31:45 +08:00
Zexi Li
fa3de0b117 Merge pull request #14891 from ioito/hotfix/qx-aws-error
fix(region): aws not found error
2022-08-31 20:59:54 +08:00
Zexi Li
3f1327c034 Merge pull request #14893 from ioito/hotfix/qx-aliyun-k8s-metric
fix(cloudmon): k8s metric
2022-08-31 20:59:09 +08:00
ioito
01cf4864b4 fix(cloudmon): k8s metric 2022-08-31 17:44:17 +08:00
Jian Qiu
85ec1ef5d8 feature(host-deployer): support neokylin (#14886)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-31 11:21:11 +08:00
ioito
4c141520e1 fix(region): aws not found error 2022-08-31 10:02:20 +08:00
Zexi Li
117a8674a8 Merge pull request #14883 from ioito/hotfix/qx-bucket-redis-metric
fix(cloudmon): bucket and redis metric
2022-08-30 19:42:08 +08:00
ioito
725442b68e fix(cloudmon): bucket and redis metric 2022-08-30 19:17:13 +08:00
Jian Qiu
811da33f20 fix(notify): fail to create deleted contacts (#14881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-30 17:59:23 +08:00
Zexi Li
8b52a4a577 Merge pull request #14879 from ioito/hotfix/qx-qcloud-k8s-metric
fix(cloudmon): qcloud k8s metric
2022-08-30 17:34:16 +08:00
ioito
53557b09fb fix(cloudmon): qcloud k8s metric 2022-08-30 17:20:38 +08:00
Zexi Li
47ff4eb2b7 Merge pull request #14877 from ioito/hotfix/qx-azure-win-metric
fix(cloudmon): azure windows metric
2022-08-30 14:24:07 +08:00
Zexi Li
6c9326ad96 Merge pull request #14869 from ioito/hotfix/qx-hw-provider-desc
fix(region): show huawei cloudprovider with region name
2022-08-30 14:19:46 +08:00
ioito
e3ccad74c2 fix(cloudmon): azure windows metric 2022-08-30 12:38:40 +08:00
Zexi Li
52b536164e Merge pull request #14854 from wanyaoqi/fix/host-get-free-pots
fix(host): get unused port
2022-08-30 11:37:14 +08:00
Zexi Li
b4c3c40112 Merge pull request #14841 from wanyaoqi/feat/qga
feat(region,host): qga set user password
2022-08-30 11:35:53 +08:00
Zexi Li
4b5bd303c6 Merge pull request #14867 from ioito/hotfix/qx-cloudid-redirect-url
fix(cloudid): support redirect url for qcloud aliyun and aws
2022-08-30 11:35:12 +08:00
Zexi Li
bd7a744042 Merge pull request #14855 from ioito/hotfix/qx-aws-enable-monitor-agent
fix(region): support enable aws monitor agent
2022-08-30 11:34:38 +08:00
Zexi Li
2aa1dfe76b Merge pull request #14873 from swordqiu/hotfix/qj-policy-cache-aotmic-ops
fix: policy cache get/set with atomic ops
2022-08-30 11:33:47 +08:00
Zexi Li
a0a24ce1ee Merge pull request #14875 from ioito/hotfix/qx-hw-metric
fix(cloudmon): huawei metric pull
2022-08-30 11:33:21 +08:00
ioito
62852c25bf fix(cloudmon): huawei metric pull 2022-08-30 11:10:01 +08:00
Qiu Jian
60a2a3aa9d fix: policy cache get/set with atomic ops 2022-08-30 07:31:00 +08:00
ioito
04e0334b5e fix(region): show huawei cloudprovider with region name 2022-08-29 20:28:58 +08:00
ioito
a185c5d8b5 fix(cloudid): support redirect url for qcloud aliyun and aws 2022-08-29 19:56:43 +08:00
屈轩
ee14c4e1d2 fix(region): jdcloud misc (#14863) 2022-08-29 18:09:34 +08:00
Jian Qiu
f3ecde64cf fix: add password info to server vnc info (#14861)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 18:08:51 +08:00
wanyaoqi
a4413b92e1 fix(host): compare desc cdrom (#14860)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-29 17:23:04 +08:00
Jian Qiu
872feb5484 feature: verify user with sms code (#14858)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 15:39:18 +08:00
Zexi Li
5261a80df5 Merge pull request #14851 from swordqiu/feature/qj-auth-with-sms
feature: auth user with sms code
2022-08-29 10:50:21 +08:00
ioito
0f45253a3b fix(region): support enable aws monitor agent 2022-08-29 10:46:11 +08:00
wanyaoqi
525daa0e53 fix(host): get unused port
add sync map avoid use the same port repeatedly.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 23:00:30 +08:00
wanyaoqi
1570b17eb3 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:52:25 +08:00
wanyaoqi
b4a347f237 feat(qga): add server-qga-command
usage:
climc server-qga-command <ID> <QGA_RAW_COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
wanyaoqi
63b30cef60 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
Qiu Jian
be2c26ad99 feature: verify user with sms code 2022-08-28 12:28:24 +08:00
wanyaoqi
354b9c49dc fix(host): fix panic on change cdrom succ (#14842)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:54 +08:00
wanyaoqi
d3a6f033f4 fix(region): update host cpu_reserved on reserve cpus (#14847)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:15 +08:00
Zexi Li
b8fe67cf8e Merge pull request #14752 from ioito/feat/qx-metric-refactor
refactor(cloudmon): metric collect
2022-08-26 19:39:57 +08:00
ioito
2e94335a2f refactor(cloudmon): metric collect 2022-08-26 19:28:07 +08:00
Zexi Li
1a5a82653b Merge pull request #14844 from wanyaoqi/feature/usb-controller-type-ehci
feat(region,host): custom usb controller type
2022-08-26 17:10:16 +08:00
wanyaoqi
89a04fc125 feat(region,host): custom usb controller type
support usb controller type: qemu-xhci, usb-ehci.
qemu-xhci is much more virtualization-friendly when compared to EHCI and UHCI.
but guest supports XHCI which should be the case for any operating system
released around 2010 or later.
So sometimes wo need use usb controller type EHCI.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-26 11:58:44 +08:00
Zexi Li
7f244f9d36 Merge pull request #14839 from ioito/hotfix/qx-k8s-version
fix(region): api version for k8s
2022-08-25 14:27:12 +08:00
ioito
9d200d5805 fix(region): api version for k8s 2022-08-25 14:16:42 +08:00
Zexi Li
9b5fa4d2c3 Merge pull request #14836 from swordqiu/hotfix/qj-remove-apiversion-param
fix: remove apiversion param from session
2022-08-25 10:24:57 +08:00
Zexi Li
78a8cff7a5 Merge pull request #14828 from ioito/hotfix/qx-billing-cycle
fix(region): billing cycle
2022-08-25 10:23:17 +08:00
Zexi Li
e19aa4bb0a Merge pull request #14831 from ioito/hotfix/qx-k8s-cluster-purge
fix(region): k8s purge when deleted
2022-08-25 10:22:43 +08:00
Zexi Li
802673912f Merge pull request #14834 from ioito/hotfix/qx-apsara-instance-id
fix(region): apsara instance id
2022-08-25 10:22:03 +08:00
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
ioito
724ea55e74 fix(region): apsara instance id 2022-08-24 19:39:13 +08:00
Zexi Li
c6f557fd68 Merge pull request #14833 from gouqi11/automated-cherry-pick-of-#14713-upstream-master
Automated cherry pick of #14713: 添加mongodb最大链接数、所用磁盘占比等、、、
2022-08-24 18:42:44 +08:00
mhf
389ddfd995 添加mongodb最大链接数、所用磁盘占比等、、、 2022-08-24 17:39:30 +08:00
wanyaoqi
48ce4b31cd feat(host): describe pci controller and devices in guest desc (#14826)
- describe pci controller and devices in guest desc.
- extend pcie bus and pcie-to-pci bridge and root ports, disks and
nics default attach to pci-bridge for support hotplug.
- generate pci address on guest starts
- live guest desc for running guest, and save source desc

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-08-24 16:33:42 +08:00
ioito
031b768216 fix(region): k8s purge when deleted 2022-08-24 16:03:59 +08:00
ioito
f221184bbf fix(region): billing cycle 2022-08-24 11:19:37 +08:00
Zexi Li
a971f89849 Merge pull request #14817 from swordqiu/hotfix/qj-disable-cloud-mon-ping-probe
fix(cloudmon): allow disable ping probe
2022-08-22 17:09:01 +08:00
Zexi Li
7b88abf859 Merge pull request #14822 from ioito/hotfix/qx-cloud-env-filter
fix: cloud_env options
2022-08-22 17:03:28 +08:00
ioito
137282cae8 fix: cloud_env options 2022-08-19 17:05:29 +08:00
Zexi Li
1e1084a7d8 Merge pull request #14820 from zexi/automated-cherry-pick-of-#14819-upstream-master
Automated cherry pick of #14819: fix(region): choose storage when no medium specified
2022-08-19 14:42:28 +08:00
Zexi Li
dec7d6cc38 fix(region): choose storage when no medium specified 2022-08-19 14:41:23 +08:00
Qiu Jian
bfdcfce287 fix(cloudmon): allow disable ping probe 2022-08-19 10:38:00 +08:00
Zexi Li
abce3a980d Merge pull request #14811 from swordqiu/hotfix/qj-host-mem-commit-bound-typo
fix: host mem_commit_bound typo
2022-08-18 17:14:09 +08:00
Zexi Li
fc5cb6f829 Merge pull request #14814 from gouqi11/orderbyguest
order-by-guest-count
2022-08-18 11:10:12 +08:00
mhf
53388d08a3 order-by-guest-count 2022-08-18 09:49:18 +08:00
QIU Jian
6c45b3788b fix: host mem_commit_bound typo 2022-08-18 01:38:38 +08:00
Zexi Li
24679a56ee Merge pull request #14807 from ioito/hotfix/qx-climc-options
fix(climc): options for network address
2022-08-17 16:16:20 +08:00
ioito
ab894cee43 fix(climc): options for network address 2022-08-17 16:13:44 +08:00
Zexi Li
26531e4504 Merge pull request #14801 from swordqiu/feature/qj-oidc-sp-init-logout-support
feature(apigateway): SP-initiated logout
2022-08-17 10:40:28 +08:00
Zexi Li
e6ad9f62a0 Merge pull request #14766 from ioito/hotfix/qx-onpremise-filter-options
fix(region): add cloud_env filter options for network address
2022-08-17 10:40:03 +08:00
Zexi Li
2eddb76f66 Merge pull request #14805 from gouqi11/privateConnection
阿里云内网connectionStr
2022-08-17 10:39:35 +08:00
Jian Qiu
8f2d7a2cfa fix: add host-type-count climc subcommand (#14798)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:04:44 +08:00
Jian Qiu
4ccf115bb2 fix: allow start vm on raspberry pi 4 (#14762)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:03:56 +08:00
mhf
919cf2d397 阿里云内网connectionStr 2022-08-16 11:50:31 +08:00
Qiu Jian
faf204c01c feature(apigateway): SP-initiated logout 2022-08-16 00:41:53 +08:00
Zexi Li
6a7a70faf3 Merge pull request #14788 from ioito/feat/qx-metric-interface
fix(region): add interface for metric
2022-08-12 08:48:29 +08:00
Zexi Li
ae4e38d2a0 Merge pull request #14787 from ioito/hotfix/qx-incloudsphere-resize-disk
fix(region): incloudsphere resize disk
2022-08-12 08:47:19 +08:00
Zexi Li
d95869552e Merge pull request #14782 from ioito/hotfix/qx-huawei-lb-rule-sync
fix(region): huawei lb rule sync
2022-08-12 08:46:15 +08:00
Zexi Li
4f56d8f3a2 Merge pull request #14792 from ioito/hotfix/qx-secgroup-sync-rule
fix(region): secgroup rule sync
2022-08-12 08:45:31 +08:00
Zexi Li
feffbce440 Merge pull request #14795 from gouqi11/add-guestSourt
虚拟机、磁盘排序与过滤
2022-08-12 08:44:55 +08:00
mhf
ae92b25707 虚拟机、磁盘排序与过滤 2022-08-11 19:23:10 +08:00
ioito
f550c229db fix(region): secgroup rule sync 2022-08-11 18:32:39 +08:00
wanyaoqi
82d5be2096 feat(region): add virtio vga type support (#14785)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-11 18:00:17 +08:00
Jian Qiu
5b26125806 feature: model manager dispatcher (#14780)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-11 14:30:04 +08:00
ioito
ec1635b57b fix(region): add interface for metric 2022-08-11 14:28:35 +08:00
ioito
45f05bdfa3 fix(region): incloudsphere resize disk 2022-08-11 11:34:59 +08:00
ioito
f621e23cd4 fix(region): huawei lb rule sync 2022-08-11 09:47:10 +08:00
wanyaoqi
61263ce585 fix(host): host desc missing security rulers (#14779)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-10 00:43:21 +08:00
Zexi Li
9ccfdec444 Merge pull request #14763 from swordqiu/feature/qj-parameter-edit-util
feature: parameter edit util
2022-08-09 12:08:46 +08:00
Zexi Li
27e9818afc Merge pull request #14770 from gouqi11/UsedTimeFixed
修改getYears,getMonth顺序bug
2022-08-09 12:07:04 +08:00
Jian Qiu
48a9d0e5d3 fix: no log for storage enable/disable (#14768)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-08-09 08:58:53 +08:00
wanyaoqi
af2e65a5c2 fix(host): uefi boot firmwaire use pflash options (#14756)
option '-bios OVMF.fd' accidental hang on uefi boot.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-08 22:41:04 +08:00
Zexi Li
3c14a6c7a1 Merge pull request #14767 from Davidzkeng/fix/oidc_redirect
fix(apigateway): edit http redirect code 301 to 302
2022-08-08 19:55:56 +08:00
mhf
17b74ddae4 修改getYears,getMonth顺序bug 2022-08-08 17:32:57 +08:00
huangzekeng
3230ad06a9 fix(apigateway): edit http redirect code 301 to 302 2022-08-08 13:50:16 +08:00
Zexi Li
932c1a4b3b Merge pull request #14765 from ioito/hotfix/qx-incloudsphere-image-size
fix(region): incloudsphere create image size
2022-08-08 11:48:22 +08:00
ioito
71d675d510 fix(region): incloudsphere create image size 2022-08-08 11:34:00 +08:00
ioito
321b31b797 fix(region): add cloud_env filter options for network address 2022-08-08 10:48:45 +08:00
Qiu Jian
fdfebf2710 feature: parameter edit util 2022-08-07 17:47:51 +08:00
Jian Qiu
ad8b7308d4 fix: opsadmin no log permission (#14759)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-07 11:56:20 +08:00
Zexi Li
5887141998 Merge pull request #14753 from wanyaoqi/fix/disk-attach-driver
fix(region): use virtio replace ide on diskattach
2022-08-05 17:52:11 +08:00
wanyaoqi
41904cc217 fix(region): use virtio replace ide on diskattach
If disk driver not assign, default use previous disk driver.
Bus windows server can't recognize hot attached 'ide' disk,
use 'virtio' replace 'ide' driver on diskattach.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-05 12:24:27 +08:00
Zexi Li
98844526f8 Merge pull request #14750 from swordqiu/hotfix/qj-dmidecode-not-working
fix: allow dmidecode not working for hostman
2022-08-05 11:41:31 +08:00
Qiu Jian
774ae6c906 fix: allow dmidecode not working for hostman 2022-08-05 01:30:35 +08:00
Zexi Li
223275d5d8 Merge pull request #14732 from ioito/hotifx/qx-apsara-bucket-size
fix(region): 避免缺失department信息导致获取bucket容量失败
2022-08-02 09:51:12 +08:00
Zexi Li
73e8ce538d Merge pull request #14743 from wanyaoqi/fix/fuse-mount-on-guest-start
fix(region,host): mount fusefs on guest start
2022-08-02 09:48:48 +08:00
Zexi Li
eaf43fbf57 Merge pull request #14734 from swordqiu/hotfix/qj-choose-host-storage-ignore-capacity
fix: choose host storage without considering storage capacity
2022-08-02 09:47:35 +08:00
Zexi Li
3ef2559c66 Merge pull request #14737 from swordqiu/hotfix/qj-climc-detach-disk-keep-disk
fix: climc detach disk ignore keep_disk param
2022-08-02 09:44:37 +08:00
Zexi Li
f36a5dbfc1 Merge pull request #14747 from ioito/hotfix/qx-incloudsphere-image
fix(region): incloudsphere image
2022-08-02 09:43:58 +08:00
ioito
de798267b6 fix(region): incloudsphere image 2022-08-01 19:35:27 +08:00
Zexi Li
989f4fd6a2 Merge pull request #14745 from zexi/automated-cherry-pick-of-#14744-upstream-master
Automated cherry pick of #14744: fix(region): sync domain_id to kubeserver
2022-08-01 13:08:12 +08:00
Zexi Li
a781b79913 fix(region): sync domain_id to kubeserver 2022-08-01 10:54:44 +08:00
wanyaoqi
b96721fc58 fix(region,host): mount fusefs on guest start
In case of host shutdown, fusefs will not mount on host reboot.
Add check and mount fusefs on guest start.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-01 10:28:57 +08:00
wanyaoqi
597adce302 fix(host): dhcp server panic on unmarshal route (#14741)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-31 11:21:18 +08:00
Qiu Jian
4b85109f36 fix: clicm detach disk ignore keep_disk param 2022-07-29 22:37:55 +08:00
Qiu Jian
f4433eb928 fix: choose host storage without considering storage capacity 2022-07-29 22:03:22 +08:00
ioito
8dbe85425a fix(region): 避免缺失department信息导致获取bucket容量失败 2022-07-29 19:54:16 +08:00
Zexi Li
85ca060ef2 Merge pull request #14731 from ioito/hotfix/qx-incloudsphere-hypervisor
fix(region): incloudsphere hypervisor
2022-07-29 18:58:46 +08:00
ioito
bebb278583 fix(region): incloudsphere hypervisor 2022-07-29 16:01:06 +08:00
Zexi Li
a5b18b51db Merge pull request #14728 from ioito/hotfix/qx-aliyun-local-storage
fix(region): sync aliyun local disk
2022-07-29 10:12:07 +08:00
Zexi Li
9b7daf0603 Merge pull request #14726 from wanyaoqi/fix/host-deployer-mount-rootfs
fix(host-deployer): mount kvm rootfs
2022-07-29 10:11:37 +08:00
Zexi Li
1283fc94d8 Merge pull request #14724 from wanyaoqi/fix/disk-change-storage
fix(region,host): disk live change storage
2022-07-29 10:10:27 +08:00
Zexi Li
f7a949b6b3 Merge pull request #14719 from wanyaoqi/fix/recode-desc2
feature(host): structure guest description
2022-07-29 10:09:45 +08:00
Zexi Li
22433c07f6 Merge pull request #14711 from wanyaoqi/feat/migrate-forecast-convert-to-kvm
feat(region): migrate forecast add convert support
2022-07-28 21:19:42 +08:00
Zexi Li
526ff3e2da Merge pull request #14723 from ioito/hotfix/qx-incloudsphere-capacity
fix(region): incloudsphere capacity
2022-07-28 21:18:58 +08:00
ioito
c545538862 fix(region): sync aliyun local disk 2022-07-28 20:52:08 +08:00
wanyaoqi
37390fc095 fix(host-deployer): mount kvm rootfs
NewAggregate return nil when len(errs) == 0.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 20:48:38 +08:00
wanyaoqi
08c65cc89f fix(region,host): disk change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 18:33:54 +08:00
wanyaoqi
d4248017ae featue(host): structure guest description
Structure guest description and fix typo with json method.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 17:46:07 +08:00
ioito
615ba79edb fix(region): incloudsphere capacity 2022-07-28 17:32:38 +08:00
Zexi Li
35d4364ba4 Merge pull request #14720 from zexi/baremetal-ping
fix(region): baremetal host ping forbidden
2022-07-28 16:37:56 +08:00
Zexi Li
46c555cbe9 fix(region): baremetal host ping forbidden 2022-07-28 14:44:52 +08:00
Jian Qiu
07c012f929 remove circle cache (#14716)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 22:43:58 +08:00
Jian Qiu
6dcaa631e7 feature: add syslog webservice apis (#14714)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 00:19:33 +08:00
Zexi Li
2c0f701826 Merge pull request #14712 from ioito/feat/qx-incloudsphere-op
feat(region): incloudsphere operation
2022-07-26 23:03:48 +08:00
wanyaoqi
fb758a1aff chore(build): add memclean pkg required files (#14707)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 22:41:00 +08:00
ioito
3239bcf074 feat(region): incloudsphere operation 2022-07-26 19:07:52 +08:00
wanyaoqi
9c105c269e feat(region): migrate forecast add convert support
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 11:38:38 +08:00
屈轩
c5c6d55f95 fix(region): vm user data (#14705) 2022-07-26 07:28:55 +08:00
Jian Qiu
014d11e463 fix: remove circle ci store artifacts (#14708)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-26 07:28:19 +08:00
Jian Qiu
fc1a949c50 feat(region,host): mem clean after guest exited. (#14703)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:43 +08:00
Jian Qiu
55c198982a fix: logger syslog format update (#14700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 12:40:42 +08:00
Jian Qiu
b2674489e9 fix: verbose vpcagent sync error (#14698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 11:21:48 +08:00
Zexi Li
29486fd50b fix(monitor): sync cache when migrated successfully (#14697) 2022-07-23 11:21:35 +08:00
屈轩
99aac9c1fb fix(region): mark cachedimage deleted (#14692) 2022-07-23 11:20:25 +08:00
Zexi Li
2a2f9bde4e Merge pull request #14645 from gouqi11/addField
对mongodb、磁盘添加IPOS字段
2022-07-22 19:10:23 +08:00
mahongfei
7a735d15b6 对mongodb、磁盘添加IPOS字段 2022-07-22 10:56:00 +08:00
Jian Qiu
7d79c4462f fix: minor fixes for creating disks from exisint file (#14686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-20 22:16:49 +08:00
Zexi Li
98be503164 Merge pull request #14688 from ioito/hotfix/qx-huawei-idp-sso
fix(cloudid): 华为云idp sso跳转指定页面
2022-07-20 20:55:48 +08:00
ioito
ce9e45bdda fix(cloudid): 华为云idp sso跳转指定页面 2022-07-20 20:05:45 +08:00
Zexi Li
ed1e87470c Merge pull request #14680 from ioito/hotfix/qx-mobile-typo
fix(keystone): mobile typo
2022-07-20 11:45:11 +08:00
Zexi Li
efb73544bc Merge pull request #14683 from ioito/hotfix/qx-monitor
fix(monitor): avoid panic
2022-07-20 11:43:04 +08:00
ioito
3c284bc739 fix(monitor): avoid panic 2022-07-20 10:23:21 +08:00
ioito
a6de1d2c44 fix(keystone): mobile typo 2022-07-20 10:00:03 +08:00
wanyaoqi
c8c5a28675 feat(region,host): create disk from existing path (#14677)
Server create disk from existing path.

Usage:

climc server-create --disk storage=<storage>:existing_path=<path> ...
climc disk-create storage=<storage>:existing_path=<path> DISKNAME

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-19 20:02:10 +08:00
Zexi Li
c98e584641 feat(climc): k8s grafana db configuration (#14672) 2022-07-19 20:01:57 +08:00
Zexi Li
c7e367112f Merge pull request #14678 from zexi/update-mcclient-readme
fix(mcclient): update readme
2022-07-19 17:52:50 +08:00
Zexi Li
62acbe6752 fix(mcclient): update readme 2022-07-19 17:51:43 +08:00
Zexi Li
2c217db010 Merge pull request #14675 from ioito/hotfix/qx-default-account-cloud-init
fix(region): 默认用户注入
2022-07-19 17:09:25 +08:00
ioito
ab40285828 fix(region): 默认用户注入 2022-07-19 16:12:32 +08:00
Zexi Li
31332f7dc9 Merge pull request #14670 from zexi/automated-cherry-pick-of-#14669-upstream-master
Automated cherry pick of #14669: fix(ansibleserver): update base image to v1.1.1
2022-07-19 11:29:58 +08:00
Zexi Li
7d7e04a454 fix(ansibleserver): update base image to v1.1.1 2022-07-19 11:27:25 +08:00
Zexi Li
8ebfe45946 Merge pull request #14658 from wanyaoqi/fix/unmarshal-cpuset
fix(host): fix set cgroup unmarshal cpuset
2022-07-19 00:13:47 +08:00
屈轩
6ec1ff09ad fix(cloudid): huawei saml provider (#14664) 2022-07-18 23:03:15 +08:00
Zexi Li
7020256481 Merge pull request #14661 from ioito/hotfix/qx-azure-rds-metric
fix(cloudmon): azure rds metric
2022-07-18 21:02:37 +08:00
Zexi Li
f4a6302975 Merge pull request #14659 from ioito/hotfix/qx-azure-readonly-auth
fix(region): azure account read only
2022-07-18 20:59:06 +08:00
ioito
cb0977d6fb fix(cloudmon): azure rds metric 2022-07-18 17:00:18 +08:00
ioito
00d9b5fa59 fix(region): azure account read only 2022-07-18 15:29:02 +08:00
wanyaoqi
7c425950ed fix(host): fix set cgroup unmarshal cpuset
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-18 13:51:28 +08:00
Zexi Li
2fd04feb06 Merge pull request #14657 from zexi/automated-cherry-pick-of-#14656-upstream-master
Automated cherry pick of #14656: update baremetal base image
2022-07-17 13:42:24 +08:00
Zexi Li
1bec4ec045 update baremetal base image 2022-07-17 13:41:01 +08:00
屈轩
1bf29f002c fix(region): hw eip associate type (#14651) 2022-07-16 13:40:31 +08:00
Jian Qiu
e12414e300 fix: make sure to call virtual functions (#14653)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-16 13:40:10 +08:00
Zexi Li
d5fbca1e4f feat(baremetal): update base image to support lvm (#14650) 2022-07-16 12:26:35 +08:00
Zexi Li
60d1fc2ca7 Merge pull request #14646 from ioito/hotfix/qx-join-filter
fix(common): pretty error msg for invalid joint filter
2022-07-15 14:59:16 +08:00
Zexi Li
8dd5478ce3 Merge pull request #14639 from wanyaoqi/feat/server-batch-convert-to-kvm
feat(climc): server batch convert to kvm
2022-07-15 10:55:27 +08:00
Zexi Li
e2c4626709 Merge pull request #14638 from wanyaoqi/feature/server-monitor-support-qmp
feat(region,host): server-monitor support qmp
2022-07-15 10:54:33 +08:00
Zexi Li
5aa2cf645a Merge pull request #14627 from wanyaoqi/fix/disable-ping-task-on-host-health-checker-enabled
fix(region): disable ping detect task
2022-07-15 10:52:12 +08:00
Zexi Li
ae4461dc1e Merge pull request #14644 from zexi/automated-cherry-pick-of-#14642-upstream-master
Automated cherry pick of #14642: fix(monitor): onecloud notifiers role_ids validation
2022-07-14 21:27:17 +08:00
ioito
69ad3c12e2 fix(common): pretty error msg for invalid joint filter 2022-07-14 20:31:42 +08:00
lzx
1122aeaa16 fix(monitor): onecloud notifiers role_ids validation 2022-07-14 18:16:21 +08:00
Zexi Li
93ea09c967 Merge pull request #14640 from ioito/hotfix/qx-google-retry
fix(region): google request retry
2022-07-14 17:41:25 +08:00
ioito
1ccee097ab fix(region): google request retry 2022-07-14 17:10:27 +08:00
wanyaoqi
7d601ebaa8 feat(climc): server batch convert to kvm
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-14 16:34:04 +08:00
wanyaoqi
e26ea2ebb3 feat(region,host): server-monitor support qmp
server-montior add qmp option, default is hmp.

usage:
    climc server-monitor --qmp <ID> <COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-14 16:17:53 +08:00
Zexi Li
0ec0a182c0 fix(monitor): balancer source specified host (#14637) 2022-07-14 12:21:51 +08:00
Jian Qiu
f214ae8913 fix: not detect arm physical nics (#14635)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:52:39 +08:00
Jian Qiu
8774311d26 fix: allow set splitable max duration (#14633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:51:25 +08:00
Zexi Li
55d4335540 Merge pull request #14618 from ioito/hotfix/qx-apsara-storage-type
fix(region): apsara storage type
2022-07-13 18:08:04 +08:00
Zexi Li
2fbbe46409 Merge pull request #14624 from zexi/automated-cherry-pick-of-#14623-upstream-master
Automated cherry pick of #14623: feat(appsrv): pprof handler with prefix
2022-07-13 18:06:06 +08:00
Zexi Li
64a79c3d74 Merge pull request #14622 from zexi/automated-cherry-pick-of-#14621-upstream-master
Automated cherry pick of #14621: feat(monitor): common alert notify by role scope
2022-07-13 18:05:21 +08:00
Zexi Li
b6a41d9570 Merge pull request #14620 from ioito/hotfix/qx-secgroup-rule-sync
fix(region): 默认安全组规则同步问题修复
2022-07-13 18:00:08 +08:00
Zexi Li
ed2a5ea586 feat(monitor): common alert notify by role scope 2022-07-13 17:53:37 +08:00
wanyaoqi
8ff808d782 fix(region): disable ping detect task
disable ping detect host task on health checker enabled

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-13 11:09:19 +08:00
Jian Qiu
0928e67f11 fix: do not migrate memory snapshot in rescue mode (#14625)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-13 07:02:42 +08:00
Zexi Li
757f703879 feat(appsrv): pprof handler with prefix 2022-07-12 21:50:47 +08:00
ioito
50f2beb554 fix(region): 默认安全组规则同步问题修复 2022-07-12 16:39:21 +08:00
wanyaoqi
d9c042252a fix(region,host): host health reconnect etcd add timeout (#14610)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 10:38:17 +08:00
ioito
a328ce5d3d fix(region): apsara storage type 2022-07-12 10:33:52 +08:00
Jian Qiu
9fbbe05c6a fix: misc fixes 20220712 (#14614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:00:57 +08:00
屈轩
9fe38b157c fix(region): huawei prepaid instance params (#14611) 2022-07-12 07:40:40 +08:00
wanyaoqi
2b8b78df76 feat(host): qemu process add threads name (#14607)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-12 06:59:22 +08:00
Zexi Li
2c1042c6bb feat(log,notify): notification of action log exceed count (#14606) 2022-07-12 06:58:46 +08:00
Jian Qiu
07997efbaa fix: add inmemory lock test for PR#14555 (#14570)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-07-08 21:54:35 +08:00
屈轩
532922d98a fix(region): apsara bucket acl (#14601) 2022-07-08 21:54:04 +08:00
Jian Qiu
5b4dcf4486 fix: recover opslog roles definition (#14603)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 21:53:19 +08:00
Zexi Li
01a46913e5 fix(cloudcommon): record checksum in list (#14600) 2022-07-08 21:49:05 +08:00
wanyaoqi
2a07fc1ecb fix(host): prepare guest config on state paused (#14597)
run onGuestPrelaunch on guest state paused

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-08 21:35:50 +08:00
Zexi Li
d8f9bb3d96 Merge pull request #14594 from swordqiu/hotfix/qj-host-duplicate-enable-remote-executor-option
fix: remote duplicate enable_remote_executor option
2022-07-08 11:27:33 +08:00
Zexi Li
f6f79226bb Merge pull request #14592 from zexi/automated-cherry-pick-of-#14588-upstream-master
Automated cherry pick of #14588: fix(baremetal): best effort to disable/enable serial
2022-07-08 11:03:40 +08:00
Jian Qiu
b9ed7ce58a fix: fail to sync metadata table for splitable (#14593)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:58:00 +08:00
Zexi Li
825d5cc965 Merge pull request #14590 from zexi/automated-cherry-pick-of-#14589-upstream-master
Automated cherry pick of #14589: fix(monitor): no metrics of baremetal server
2022-07-08 09:36:22 +08:00
Qiu Jian
dbda136ddc fix: remote duplicate enable_remote_executor option 2022-07-08 09:32:17 +08:00
Zexi Li
b0273b0065 fix(baremetal): best effort to disable/enable serial 2022-07-07 22:51:17 +08:00
Zexi Li
a30680fac6 fix(monitor): no metrics of baremetal server 2022-07-07 22:43:23 +08:00
wanyaoqi
02a9d84d6e fix(region, host): misc fix host health checker (#14575)
- hostagent remove option enable host health, default enabled,
  its rely on etcd endpoint register.
- add option auto migrate on host shutdown.
- fix hostman check network is available.
- use hostname instead hostId as etcd key
- init health checker before host instace init.
- refector host_health checker.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-07 10:28:27 +08:00
Zexi Li
8e3b09a1e2 Merge pull request #14586 from swordqiu/feature/qj-opslog-misc
fix: log admin action logs in separate logs
2022-07-07 09:36:31 +08:00
Qiu Jian
4476b9f701 fix: log admin action logs in separate logs 2022-07-07 07:36:08 +08:00
Zexi Li
5164a34a60 Merge pull request #14585 from zexi/automated-cherry-pick-of-#14584-upstream-master
Automated cherry pick of #14584: fix(notify): adjust email width of receiver to 128
2022-07-06 16:10:48 +08:00
Zexi Li
022a522a21 fix(notify): adjust email width of receiver to 128 2022-07-06 16:10:21 +08:00
Zexi Li
6a590f123e fix(host): aarch64 cpu info (#14581) 2022-07-05 16:33:00 +08:00
Jian Qiu
c7e22c7b8a fix: update vendor 20220705 (#14578)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-05 16:15:16 +08:00
Zexi Li
3b2c482764 Merge pull request #14573 from zhasm/hotfix/rex-image-tmp-name-with-timestamp
fix: add timestamp for temp docker container name during compilation
2022-07-04 16:44:00 +08:00
Zhang Dongliang
004b5e5acd fix: add timestamp for temp docker container name during compilation 2022-07-04 16:26:37 +08:00
Jian Qiu
0b11c57eca update vendor for sqlchemy update master 20220703 (#14571)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-03 12:51:23 +08:00
wanyaoqi
d51d7599d2 feat(region,host): refector guests cgroups (#14558)
* feat(region,host): refector guests cgroups

hostagent will create a root group cloudpods.hostagent at init.
guests group under cloudpods.hostagent. Qemu start params add '-S'
option freeze guest at first, after guest set cgroup or other initialize
hostagent will resume guest.

host support reserve cpus. if has reserved cpus, hostagent will create a
group cloudpods.hostagent.reserved, one thing to note is set host
reserved cpus must ensure host no guests running.

climc usage:
  climc host-reserve-cpus --cpus '2-3,32-33' --mems '0-1' \
    --disable-sched-load-balance <IDS>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:00:48 +08:00
屈轩
182970ca66 fix(region): 修复同步dns解析不生效问题 (#14560) 2022-07-02 17:59:55 +08:00
屈轩
63933bbec4 fix(region): redis attr and disk iops (#14544) 2022-07-02 17:59:23 +08:00
Jian Qiu
e51dfc470e update vendor master 20220702 (#14568)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:32:09 +08:00
Jian Qiu
bf781bb1db fix: convert clickhouse connection string with auth info (#14566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:13:20 +08:00
Jian Qiu
7ea8d33841 fix: convert clickhouse sqlstr from v1 to v2 (#14553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 07:57:05 +08:00
Jian Qiu
5b0338f543 fix: preserve aws root account name (#14551)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 22:36:05 +08:00
Jian Qiu
8aecc4e547 fix: update vendor master 20220701 (#14563)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 21:11:47 +08:00
Jian Qiu
dfcba16fda fix: update vendor 20220701 (#14556)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 15:50:52 +08:00
Jian Qiu
898fd2e2c8 fix: update vendor master 20220630 (#14549)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-30 21:32:20 +08:00
Zexi Li
1f951a9415 Merge pull request #14546 from zexi/automated-cherry-pick-of-#14545-upstream-master
Automated cherry pick of #14545: fix(host): use alpine-build:3.16.0-go-1.18.2-0
2022-06-30 14:23:28 +08:00
Zexi Li
787f2e8dcf fix(host): use alpine-build:3.16.0-go-1.18.2-0 2022-06-30 14:22:47 +08:00
Zexi Li
966be1b1cb Merge pull request #14542 from swordqiu/hotfix/qj-fix-typo-clickhouse-db
fix: typo of clickhouse_db
2022-06-29 11:26:57 +08:00
QIU Jian
0e8f4d010e fix: typo of clickhouse_db 2022-06-29 09:38:15 +08:00
屈轩
f69e878c50 fix(region): incloudsphere host info (#14538) 2022-06-28 20:34:31 +08:00
Zexi Li
6b31de01cf fix(monitor): cpu usage score (#14540) 2022-06-28 20:34:12 +08:00
Zexi Li
dbd63bd016 Merge pull request #14537 from zexi/automated-cherry-pick-of-#14536-upstream-master
Automated cherry pick of #14536: fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecl…
2022-06-28 12:13:45 +08:00
Zexi Li
a303fcc37a fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecloud' is owned by someone else) 2022-06-28 11:51:09 +08:00
Jian Qiu
26089ffde0 fix: make condition eval compatible with go 1.18 (#14534)
* fix: make condition eval compatible with go 1.18

* fix: update circle-ci image to yunion/centos-build:go-1.18.3-0

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:29:56 +08:00
Jian Qiu
4ad382a7bd fix: update build image (#14533)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-27 16:01:43 +08:00
Zexi Li
6794f2fdcd Merge pull request #14530 from ioito/hotfix/qx-azure-region-city
fix(region): azure region city
2022-06-27 11:34:48 +08:00
Zexi Li
6c2935cf34 Merge pull request #14529 from ioito/hotfix/qx-incloud-sphere-error
fix(region): incloudsphere error
2022-06-27 11:34:21 +08:00
ioito
c3f6b96629 fix(region): azure region city 2022-06-27 10:59:06 +08:00
ioito
2766769314 fix(region): incloudsphere error 2022-06-27 10:14:05 +08:00
Jian Qiu
84cdeff92b fix: update vendor for clickhouse v2 (#14520)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:52:15 +08:00
Jian Qiu
2e3b1f47d7 Updated config.yml 2022-06-25 08:16:22 +08:00
Jian Qiu
2a47105af3 fix: upgrade go version to 1.16 for build docker images (#14526)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 02:21:27 +08:00
屈轩
236c2a2ed6 feat(region): Support InCloud Sphere (#14502)
* feat(region): Support InCloud Sphere

* add: 支持认证及账号录入

* add: 支持region,zone,host资源同步

* add: 实例信息同步

* add: 存储和磁盘同步

* add: 网络信息同步
2022-06-25 00:06:37 +08:00
wanyaoqi
c7f5feca7e host_health: auto migrate on host shutdown (#14523)
Before this patch, host guests will not migrate on host manual shutdown.
This patch from k8s node status check host still on line, if node status
not ready, region will migrate guests on host.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-25 00:05:29 +08:00
Zexi Li
22de7780f5 Merge pull request #14517 from zexi/update-telegraf-raid-plugin
fix(telegraf-raid-plugin): release-1.6.4 image
2022-06-24 01:18:47 +08:00
Zexi Li
b739637691 fix(telegraf-raid-plugin): release-1.6.4 image 2022-06-24 00:35:11 +08:00
Zexi Li
8b009591f2 Merge pull request #14494 from ioito/hotfix/qx-cloud-init
fix(region): user data fix
2022-06-23 17:01:20 +08:00
Zexi Li
11e89f6ce2 Merge pull request #14493 from zexi/monitor-lb-migrate
feat(monitor): VMs of host loadbalance
2022-06-23 17:00:43 +08:00
Zexi Li
a409b04fa3 Merge pull request #14513 from swordqiu/hotfix/qj-host-detect-physical-nics
fix: fail to detect host physical nics
2022-06-23 16:58:09 +08:00
wanyaoqi
dc92f09d95 fix(region,host): auto migrate on host down (#14497)
* fix(region,host): auto migrate on host down

This patch fix source servers not shutdown on network unreachable.
Restart etcd session add timeout, and shutdown servers add force
option incase host stuck on scriptStop.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

* host_health: add check network available

On host etcd keep alive failed, add check networks is available.
If networks available, may be is the etcd not work, in this case
we will net shutdowns servers and wait for etcd ready.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:18 +08:00
Qiu Jian
ecd35d3678 fix: fail to detect host physical nics 2022-06-23 13:31:39 +08:00
Zexi Li
e5f01ad535 feat(monitor): VMs of host loadbalance 2022-06-23 00:25:03 +08:00
Jian Qiu
8b2a5d13ee fix: migrate failure for encrypted local vm (#14508)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-22 23:10:45 +08:00
Jian Qiu
9e099cf451 fix: cleanup tap flows and services for deleted guest and host (#14503)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:10:07 +08:00
Jian Qiu
cb58c16f59 fix: imageinfo.OsInfo empty (#14505)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:09:09 +08:00
Jian Qiu
91483a5028 fix: splitable auto_incremental steps should be more than 1 (in case of (#14499)
HA setup)

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:36:05 +08:00
Jian Qiu
df4321d934 fix: clickhouse set max idle connections (#14496)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:35:33 +08:00
ioito
8cdd9c77eb fix(region): user data fix 2022-06-21 20:06:06 +08:00
Jian Qiu
daf40a1481 fix(region): not delete groupnetwork when deleting guest (#14488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:56 +08:00
Jian Qiu
2dfe607fbb fix: climc create aksk not return access_key (#14483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:24 +08:00
Jian Qiu
ee61887eac fix: nas support create from encrypted snapshot (#14481)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:21:15 +08:00
屈轩
85bb1f0c4f feat(region): add tablestore sync (#14472) 2022-06-18 10:18:22 +08:00
Zexi Li
70214488a9 Merge pull request #14480 from swordqiu/hotfix/qj-scheduler-options-not-update
fix: scheduler options not updated by OptionManager
2022-06-17 23:32:56 +08:00
Qiu Jian
1aee43ab03 fix: scheduler options not updated by OptionManager 2022-06-17 23:10:00 +08:00
Jian Qiu
b6f80536c7 fix: tap flow check duplicity (#14478)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 14:15:41 +08:00
Jian Qiu
dc3c08e8fe Hotfix/qj tap service mirrorfixes2 (#14476)
* fix: no details for net_tap_flows

* fix: tap support bugfixes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 02:56:18 +08:00
屈轩
5e3059d3bf fix(region): show more statistic info (#14474) 2022-06-16 02:48:25 +08:00
Zexi Li
ca19a927c7 fix(baremetal): EnableSerialConsole of UOS (#14471) 2022-06-16 02:47:20 +08:00
Jian Qiu
14e7e9603c feature: support tap service phase 2 (#14466)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:43 +08:00
Zexi Li
cc48edf555 feat(baremetal): wrap pxe error (#14463) 2022-06-15 04:46:49 +08:00
Zexi Li
0c2762da7f feat(climc): server-list --os-arch (#14465) 2022-06-15 04:46:23 +08:00
Jian Qiu
f1e616a671 feature: tap service support (#14433)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:23:52 +08:00
屈轩
d8b97722a4 fix(cloudmon): aliyun rds metric debug log (#14444) 2022-06-14 02:38:58 +08:00
wanyaoqi
edeffed5fe feat(region,host): support multiqueues on vhost network (#14455)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:38:09 +08:00
屈轩
01399a698e fix(region): custom user data (#14449) 2022-06-14 01:51:59 +08:00
Jian Qiu
44a5951048 fix: fail to update billingresourcecheck_tbl (#14456)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 01:50:15 +08:00
屈轩
e2411b63ea fix(cloudevent): allow disable sync cloudevent (#14446) 2022-06-14 00:46:34 +08:00
屈轩
b99b392167 fix(region): eip sync (#14453) 2022-06-14 00:45:45 +08:00
屈轩
a6a36cb74d fix(region): aliyun readonly (#14451) 2022-06-14 00:44:33 +08:00
Jian Qiu
94319b514c fix: add CreateByInsertOrUpdate flag (#14442)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:22 +08:00
Jian Qiu
f6c4bb7f21 fix: keystoen cronman use uninitialized admin token (#14439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 00:00:24 +08:00
Jian Qiu
6aa32e5bf5 fix: splitable add index should modify base spec (#14434)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-12 20:34:39 +08:00
Zexi Li
3bacecf00c Merge pull request #14431 from swordqiu/hotfix/qj-host-common-options-20220611
fix: move hostoptions of qemu_version and host_cpu_passthrough to base options
2022-06-11 19:34:38 +08:00
Qiu Jian
87f84477f1 fix: move hostoptions of qemu_version and host_cpu_passthrough to base
options
2022-06-11 19:23:21 +08:00
Jian Qiu
58a53d9df5 fix: manage_ntp_configuration not effective (#14426)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:45 +08:00
Jian Qiu
5b81fa4367 fix: update vendor 20220611 master (#14429)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:21 +08:00
Zexi Li
aa51950271 fix(baremetal): storcli set sysblock rotational of SSD logical volume (#14424) 2022-06-10 18:22:12 +08:00
Zexi Li
b5a95f25f4 Merge pull request #14423 from zexi/automated-cherry-pick-of-#14421-upstream-master
Automated cherry pick of #14421: fix(host): Telegraf 1.19.2 conf
2022-06-09 15:13:51 +08:00
Zexi Li
39dc05e3b0 fix(host): Telegraf 1.19.2 conf 2022-06-09 12:57:23 +08:00
Zexi Li
7b036fb497 Merge pull request #14419 from zexi/automated-cherry-pick-of-#14418-upstream-master
Automated cherry pick of #14418: fix(scheduler): check if chached image supports UEFI
2022-06-08 16:57:48 +08:00
Zexi Li
d2907bf5bf fix(scheduler): check if chached image supports UEFI 2022-06-08 16:48:41 +08:00
Zexi Li
fedaa1ebec Merge pull request #14415 from ioito/hotfix/qx-ceph-pool-size
fix(host): ceph pool size
2022-06-07 21:53:27 +08:00
ioito
f824010431 fix(host): ceph pool size 2022-06-07 17:09:09 +08:00
Zexi Li
6b5099e903 Merge pull request #14413 from ioito/hotfix/qx-climc-http-proxy
fix(climc): support proxy for climc
2022-06-07 07:57:11 +08:00
Zexi Li
1faf3d2d75 Merge pull request #14410 from ioito/hotfix/qx-api-doc-tab
fix(region): api doc replace tab to space
2022-06-06 14:37:37 +08:00
ioito
8fed88af8d fix(climc): support proxy for climc 2022-06-06 14:18:53 +08:00
ioito
6f6f9590da fix(region): api doc replace tab to space 2022-06-06 11:30:44 +08:00
Zexi Li
0c8a285882 Merge pull request #14406 from swordqiu/feature/qj-endpoint-type-apigateway
feature: support apigatewa type of endpoint
2022-06-05 22:27:20 +08:00
Qiu Jian
f0609fe9fb feature: support apigatewa type of endpoint 2022-06-05 19:00:22 +08:00
Jian Qiu
05e3e95554 update vendor master 20220605 (#14407)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-05 18:36:25 +08:00
Sjhu
9d0721abf6 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 (#14396)
guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL)

Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:10:32 +08:00
Jian Qiu
29ddc5e0e3 update vendor master 20220604 (#14399)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 23:41:24 +08:00
Jian Qiu
43d04043a5 feature: fetch options of an application via api (#14398)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:31 +08:00
Zexi Li
6f5c0a6962 fix(host): openvswitch service name on UOS (#14394) 2022-06-03 01:50:28 +08:00
屈轩
7a986b764d fix(region): eip allocate (#14389) 2022-06-03 01:49:22 +08:00
wanyaoqi
f163690191 feat(host,region): suport live change disk storage (#14342)
Guest start drive mirror job to copy full disk to target, after drive
mirror job ready, guest reopen target disk to replace source disk.
Qemu must support block reopen image feature.

Supported storage: local, ceph

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-03 01:47:48 +08:00
Zexi Li
8b1e083c6e Merge pull request #14387 from ioito/hotfix/qx-bucket-size
fix(region): apsara bucket limit size
2022-06-02 16:31:49 +08:00
Zexi Li
832b1204d6 Merge pull request #14385 from ioito/hotfix/qx-image-tool
optimize(region): add more image dist
2022-06-02 16:31:20 +08:00
Zexi Li
0ffc6cbbe8 Merge pull request #14383 from ioito/hotfix/qx-api-doc
fix(region): api doc
2022-06-02 16:24:56 +08:00
ioito
e1e623f502 optimize(region): add more image dist 2022-06-02 16:20:20 +08:00
ioito
44ff87d215 fix(region): apsara bucket limit size 2022-06-02 16:06:18 +08:00
ioito
872c742801 fix(region): api doc 2022-06-02 15:39:04 +08:00
Zexi Li
f137eb4e54 Merge pull request #14367 from ioito/hotfix/qx-lb-api
fix(region): lb eip api fix
2022-06-02 10:21:02 +08:00
Zexi Li
541e5d647a Merge pull request #14372 from ioito/hotfix/qx-tag-lock
fix(region): 避免加锁导致设置标签超时
2022-06-02 10:20:40 +08:00
Zexi Li
f327100c64 Merge pull request #14377 from ioito/hotfix/qx-disk-save-task
fix(region): disk save task
2022-06-02 10:19:43 +08:00
Zexi Li
1fb1af17bb Merge pull request #14380 from ioito/hotfix/qx-clean-vm-misc-options
fix(region): clean vm misc options
2022-06-02 10:18:41 +08:00
ioito
250c7fdb91 fix(region): clean vm misc options 2022-06-02 10:11:39 +08:00
Zexi Li
1bbf719d91 Merge pull request #14375 from swordqiu/hotfix/qj-remove-virtio-blk-num-queues
fix: remove virtio-blk num-queues param
2022-06-01 23:48:55 +08:00
ioito
cda56a4cef fix(region): disk save task 2022-06-01 15:47:29 +08:00
Qiu Jian
1fbb5bd944 fix: remove virtio-blk num-queues param 2022-06-01 12:23:54 +08:00
ioito
1e12c1d5ca fix(region): 避免加锁导致设置标签超时 2022-06-01 12:00:24 +08:00
Zexi Li
d5ceb1e425 Merge pull request #14371 from swordqiu/hotfix/qj-add-notes-for-identity-models
fix: add comments for identity models
2022-06-01 10:01:40 +08:00
Zexi Li
62d1e0ba14 Merge pull request #14364 from ioito/hotfix/qx-aliyun-bucket-access-url
fix(region): aliyun bucket access url
2022-06-01 09:39:15 +08:00
Zexi Li
2fc0c132e3 Merge pull request #14369 from swordqiu/automated-cherry-pick-of-#14368-upstream-master
Automated cherry pick of #14368: Hotfix/qj disable disk io multiqueue
2022-06-01 09:38:31 +08:00
Qiu Jian
3198c2f7d7 fix: add comments for identity models 2022-06-01 00:12:56 +08:00
Qiu Jian
0fe34202b7 add options to set disk driver and cachemode 2022-05-31 21:25:20 +08:00
Qiu Jian
5b1b083642 fix: disable disk multi-queue 2022-05-31 21:25:20 +08:00
ioito
fcd33468aa fix(region): lb eip api fix 2022-05-31 12:15:06 +08:00
Zexi Li
f655f0a222 Merge pull request #14359 from swordqiu/hotfix/qj-wrong-hyperviro-kvm-vnc-info
fix: wrong hypervisor in kvm vnc info
2022-05-31 11:03:51 +08:00
ioito
c0e82aa075 fix(region): aliyun bucket access url 2022-05-31 10:49:43 +08:00
Jian Qiu
2563303d1d fix: more detailed log for server hange_config (#14358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-31 09:42:50 +08:00
Qiu Jian
275d905a0c fix: wrong hypervisor in kvm vnc info 2022-05-31 01:05:31 +08:00
Zexi Li
c3327501a8 Merge pull request #14348 from ioito/hotfix/qx-user-data
fix(region): public cloud user data
2022-05-30 23:48:10 +08:00
Zexi Li
9384b23e18 Merge pull request #14354 from swordqiu/hotfix/qj-update-vendor-master-20220530
update vendor master 20220530
2022-05-30 23:45:32 +08:00
Zexi Li
de8c8495c8 Merge pull request #14351 from ioito/hotfix/qx-aliyun-disk
fix(region): aliyun disk external id
2022-05-30 23:43:00 +08:00
Zexi Li
6caa9389af Merge pull request #14345 from swordqiu/hotfix/qj-maintenance-empty-host-status-recovery
fix: recover host status if maintain an empty host
2022-05-30 23:40:56 +08:00
Zexi Li
b0d5717b68 Merge pull request #14344 from swordqiu/hotfix/qj-set-pagination-order
fix: allow set pagination order
2022-05-30 23:39:37 +08:00
Qiu Jian
6aafe7a393 update vendor master 20220530 2022-05-30 21:05:21 +08:00
ioito
f76df16a0f fix(region): aliyun disk external id 2022-05-30 16:02:17 +08:00
ioito
8d654de641 fix(region): public cloud user data 2022-05-30 14:52:34 +08:00
Qiu Jian
be7a583084 fix: recover host status if maintain an empty host 2022-05-30 14:39:01 +08:00
Qiu Jian
79f6d28888 fix: allow set pagination order 2022-05-30 11:46:36 +08:00
Jian Qiu
ea5f72563b fix: vpc eip misc fixes: 1. eip filter 2. lb filter 3. create eip when (#14343)
lb creating

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 23:51:28 +08:00
Jian Qiu
01a90bad17 fix: lb apis for create-eip/associate-eip/dissociate-eip (#14338)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:24:18 +08:00
Jian Qiu
618e88c51a fix: backup pack missing encrypt_key_id (#14333)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:47 +08:00
Jian Qiu
9ebdd84ff3 fix: server associate eip check (#14339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:01 +08:00
屈轩
e978f4084b fix(region): vpc lb with eip (#14332) 2022-05-28 20:29:58 +08:00
Jian Qiu
94f509a524 fix: hide server rtc_change event log (#14334)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-28 09:07:22 +08:00
Zexi Li
a0f326eb95 Merge pull request #14330 from ioito/hotfix/qx-huawei-lb-eip
fix(region): huawei lb eip sync
2022-05-27 02:30:03 +08:00
Zexi Li
a50c28a7b5 Merge pull request #14328 from ioito/hotfix/qx-apsara-bucket-limit
fix(region): apsara bucket limit
2022-05-27 02:29:29 +08:00
Zexi Li
f75c9fdd5d Merge pull request #14326 from ioito/hotfix/qx-eip-filter
fix(region): add filter for eip
2022-05-27 02:28:55 +08:00
ioito
1cbe2732c3 fix(region): huawei lb eip sync 2022-05-26 19:56:16 +08:00
ioito
b59ce09ab7 fix(region): apsara bucket limit 2022-05-26 19:17:38 +08:00
ioito
c66cb07e3f fix(region): add filter for eip 2022-05-26 18:59:26 +08:00
Jian Qiu
671c755fc5 fix: add widget-settings (#14325)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-26 17:39:34 +08:00
Zexi Li
6feb11e759 Merge pull request #14318 from swordqiu/hotfix/qj-server-is-daemon-permission
fix: make server is_daemon an admin attribute
2022-05-26 12:13:38 +08:00
Qiu Jian
fa880ee9e6 fix: make server is_daemon an admin attribute 2022-05-26 08:12:31 +08:00
Zexi Li
fea98bc723 Merge pull request #14312 from ioito/hotfix/aliyun-oss-https
fix(region): aliyun oss https
2022-05-25 18:41:05 +08:00
ioito
0cd2ffb077 fix(region): aliyun oss https 2022-05-25 16:53:01 +08:00
Zexi Li
3c36c496a1 Merge pull request #14308 from ioito/hotfix/qx-azure-disk
fix(region): azure disk status
2022-05-25 14:44:45 +08:00
Zexi Li
7da5f16d2a Merge pull request #14310 from ioito/hotfix/qx-eip-update
fix(region): eip update
2022-05-25 14:44:29 +08:00
ioito
3a6da3766f fix(region): eip update 2022-05-25 12:17:00 +08:00
ioito
398c7e2b0c fix(region): azure disk status 2022-05-25 11:43:38 +08:00
Zexi Li
ef4a321a1f Merge pull request #14295 from ioito/hotfix/qx-prob-lock
fix(region): account probe lock
2022-05-25 10:17:11 +08:00
Zexi Li
afbcfec2ae Merge pull request #14293 from zexi/toggle-feature
feat(climc): feature configuration
2022-05-25 10:09:27 +08:00
Zexi Li
49e36851b5 Merge pull request #14304 from swordqiu/feature/qj-daemon-server-support
feature: daemon server support
2022-05-25 10:03:33 +08:00
Zexi Li
5be2d0135d feat(climc): feature configuration 2022-05-25 10:00:46 +08:00
Zexi Li
a69b0fe2b3 Merge pull request #14300 from ioito/hotfix/qx-eip-associate-type
fix(region): eip associate type
2022-05-25 09:53:53 +08:00
Qiu Jian
15395555d8 feature: daemon server support 2022-05-25 05:03:15 +08:00
Zexi Li
650e2669e1 Merge pull request #14301 from ioito/hotfix/qx-huawei-object-temp-url
fix(region): huawei object temp url
2022-05-24 18:26:48 +08:00
ioito
a4b9ce513a fix(region): huawei object temp url 2022-05-24 16:26:43 +08:00
ioito
0e41cc13c9 fix(region): eip associate type 2022-05-24 15:51:52 +08:00
Zexi Li
954d4205e5 Merge pull request #14297 from ioito/hotfix/qx-qcloud-cert-panic
fix(region): avoid panic with qcloud sync
2022-05-24 14:16:52 +08:00
ioito
ae9ade5754 fix(region): avoid panic with qcloud sync 2022-05-24 11:37:55 +08:00
ioito
7f90d38e5f fix(region): account probe lock 2022-05-24 11:28:11 +08:00
Zexi Li
37fdcec5c4 Merge pull request #14291 from ioito/hotfix/qx-apsara-org-id
fix(region): input apsara organization id
2022-05-23 19:27:27 +08:00
ioito
8ba89c272d fix(region): input apsara organization id 2022-05-23 18:50:21 +08:00
Zexi Li
26cbbbccad Merge pull request #14288 from ioito/hotfix/qx-disk-resize
fix(host): optimized disk resize
2022-05-23 14:51:14 +08:00
ioito
197ba296bc fix(host): optimized disk resize 2022-05-23 11:01:09 +08:00
Zexi Li
e6c069f3f4 Merge pull request #14283 from swordqiu/hotfix/qj-fail-to-convert-vmdk-image
fix: fail to recogonize vmdk image
2022-05-22 22:01:35 +08:00
Zexi Li
8e233d4bce Merge pull request #14280 from swordqiu/hotfix/qj-force-image-cache-invalid-early
fix: force invalidate cached image early
2022-05-22 22:00:44 +08:00
屈轩
974ced404e fix(host-deployer): ignore root fs mount error (#14285) 2022-05-22 17:18:52 +08:00
Qiu Jian
0f80bc05f4 fix: fail to recogonize vmdk image 2022-05-21 17:50:33 +08:00
Qiu Jian
b720171ee0 fix: force invalidate cached image early 2022-05-21 02:53:40 +08:00
Zexi Li
7a784c94ff Merge pull request #14278 from ioito/hotfix/qx-cloudmon-metric
fix(cloudmon): report influxdb data
2022-05-20 19:13:25 +08:00
ioito
4e856edafa fix(monitor): vm_disk userd_percent 2022-05-20 18:35:13 +08:00
ioito
5b26d491b7 fix(cloudmon): report influxdb data 2022-05-19 14:36:43 +08:00
Zexi Li
286cf83864 Merge pull request #14275 from swordqiu/hotfix/qj-fail-to-update-usb-devs
fix: fail to update isolated_devices of type USB
2022-05-19 10:03:25 +08:00
Qiu Jian
364d9ce109 fix: fail to update isolated_devices of type USB 2022-05-19 01:58:50 +08:00
屈轩
037f75815c fix(region): add log for set expire time (#14266) 2022-05-19 01:22:30 +08:00
Zexi Li
63bb93a89b fix(region): GPU device type update supported (#14271) 2022-05-19 01:21:54 +08:00
Zexi Li
d30cd018c6 Merge pull request #14272 from ioito/hotfix/qx-is-gpu
fix(region): check is gpu by server sku
2022-05-18 23:11:38 +08:00
ioito
6d67e7fe6e fix(region): check is gpu by server sku 2022-05-18 21:21:59 +08:00
屈轩
2a0deea6e9 fix(common): data resp (#14264) 2022-05-17 16:36:52 +08:00
Zexi Li
4a00dbb18c Merge pull request #14262 from swordqiu/hotfix/qj-kvm-resume
fix: kvm resume should be treated as start
2022-05-16 10:49:52 +08:00
Zexi Li
51a54dd738 Merge pull request #14260 from swordqiu/hotfix/qj-adjust-logger-events
fix: adjust logger events
2022-05-16 10:34:21 +08:00
Qiu Jian
16e28195f4 fix: kvm resume should be treated as start 2022-05-16 02:18:15 +08:00
Qiu Jian
07e4c2897e fix: adjust logger events 2022-05-16 01:49:48 +08:00
Jian Qiu
1c2a4ed9d4 fix: host ping piggyback storage info (#14257)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-16 00:34:50 +08:00
wanyaoqi
913aec9f7f feat(host): create disk from encrypted snapshot (#14256)
support create disk from encrypted snapshot, new disk encrypt info must
same with snapshot, and should used with libqemuio2.12.

area: host,host-image,fetcherfs
Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-05-16 00:34:37 +08:00
Zexi Li
68b517b1ab Merge pull request #14249 from Davidzkeng/hotfix/oidc_id_token
fix(apigateway): 修复oidc认证中,返回的id_token为空
2022-05-15 15:08:49 +08:00
Zexi Li
dae5d10e76 Merge pull request #14246 from zexi/climc-devtool-script-apply
feat(climc): SERVERIDS of devtool batch apply
2022-05-13 17:35:27 +08:00
屈轩
01d7d82ad9 fix(reigon): ecloud sign time (#14250) 2022-05-13 17:28:06 +08:00
Zexi Li
e4d1f4bbd0 Merge pull request #14240 from ioito/hotfix/qx-secgroup-guest-cnt
fix(region): secgroup guest cnt
2022-05-13 15:23:20 +08:00
huangzekeng
5b506b3917 fix(apigateway): 修复oidc认证中,返回的id_token为空
修复odic认证返回的id_token为空
2022-05-13 14:34:33 +08:00
Zexi Li
bf01361d3d feat(climc): SERVERIDS of devtool batch apply 2022-05-13 13:38:25 +08:00
Zexi Li
60e24ee2c5 Merge pull request #14243 from swordqiu/hotfix/qj-set-exec-env-lang
fix: set procutils execution LANG env
2022-05-13 10:04:47 +08:00
Qiu Jian
5a022246be fix: set procutils execution LANG env 2022-05-12 18:45:59 +08:00
ioito
f31c005528 fix(region): secgroup guest cnt 2022-05-12 18:02:37 +08:00
Zexi Li
e238f31df4 fix(region): get spec of baremetal in ready status (#14233) 2022-05-11 08:29:38 +08:00
Zexi Li
c0074bc6a5 fix(cloudcommon): update splittable checksum (#14232) 2022-05-11 08:29:26 +08:00
Zexi Li
0c9eecde54 Merge pull request #14238 from ioito/hotfix/qx-json-field
fix(region): json name
2022-05-10 16:59:28 +08:00
ioito
a830ed904e fix(region): json name 2022-05-10 16:53:22 +08:00
Zexi Li
6fe2bd9347 Merge pull request #14236 from ioito/hotfix/qx-topology-storage
fix(region): return storage info with topology
2022-05-10 14:02:02 +08:00
ioito
b577c5d41f fix(region): return storage info with topology 2022-05-10 13:51:36 +08:00
Zexi Li
765ee46145 Merge pull request #14225 from ioito/hotfix/qx-rds-ip-filter
fix(regoon): search rds by ip addr
2022-05-10 09:18:23 +08:00
Zexi Li
77f3c98f36 Merge pull request #14229 from swordqiu/hotfix/qj-adjust-opsadmin-policy
fix: adjust opsadmin and secadmin policy
2022-05-10 09:17:59 +08:00
Zexi Li
8ebb34fbb2 Merge pull request #14227 from swordqiu/hotfix/qj-fix-host-sync-wire-class-metadata
fix: host sync wire class metadata
2022-05-10 09:17:37 +08:00
Qiu Jian
f3905b69ef fix: adjust opsadmin and secadmin policy 2022-05-10 00:16:44 +08:00
Qiu Jian
e2ffb087a1 fix: host sync wire class metadata 2022-05-09 22:16:34 +08:00
ioito
1a2f2deda4 fix(regoon): search rds by ip addr 2022-05-09 22:16:19 +08:00
Jian Qiu
029e27b826 fix: adjust syslog format (#14223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-09 08:00:59 +08:00
Jian Qiu
69b4901bb6 fix: ignore no partition error for initial deployment (#14220)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:29 +08:00
Jian Qiu
6d1067a0de fix: adjust secadmin and opsadmin policies (#14218)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:05 +08:00
屈轩
caeea77878 fix(region): remove metadata (#14214) 2022-05-07 20:07:24 +08:00
yunion-ci-robot
565ae863d8 Merge pull request #14213 from zexi/automated-cherry-pick-of-#14211-upstream-master
Automated cherry pick of #14211: Server usb filter
2022-05-07 19:34:45 +08:00
Zexi Li
39da24facf fix(region): server usb filter 2022-05-07 19:23:05 +08:00
Jian Qiu
2289dca066 fix: adjust opsadmin policy (#14207)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-07 01:19:26 +08:00
Yousong Zhou
37fc897a11 Feature/yousong vpc elb (#11423)
* regiondrivers: kvm: lb: make "network" an optional argument

* loadbalancernetworks: add MacAddr field for lb with eip

* apis: compute: add LOADBALANCER to EIP_ASSOCIATE_VALID_TYPES

* regiondrivers: fix typo RequestAssociat{,e}Eip

* regiondrivers: kvm: RequestAssociatEip: standalone func for each type

* regiondrivers: kvm: RequestAssociateEip: support loadbalancer

* tasks: EipAssociateTask: add support for loadbalancer

* tasks: EipAssociateTask: allow using name for referring to instance

* elasticips: PerformAssociate: validate loadbalancer condition

* tasks: EipDissociateTask: support non-managed loadbalancer

* loadbalancers: add StartSyncstatus method for EipAssociateTask

* regiondrivers: kvm: allow creation of vpc lb

* loadbalanceragents: add timestamp fields for network objects

* climc: eips: add associate type loadbalancer

* mcclient: loadbalancernetworks: add Mac_Addr column

* vpcagent: models: add loadbalancernetworks

* vpcagent: ovn: route back vpc cidr block instead of all rest

* vpcagent: ovn: add ClaimLoadbalancerNetwork()

* mcclient: models: add LoadbalancerNetwork

* mcclient: models: add Network

* lbagent: models: use IBaseManager to accomodate joint manager

* lbagent: models: add {,Loadbalancer}Networks

* lbagent: models: export a few fields

* lbagent: models: add fields for vpc lb models

* iproute2: add NewAddressEx constructor

* lbagent: add worker for vpc lb

* vendor: add github.com/coreos/go-iptables

* lbagent: apihelper: use ovn worker

* lbagent: models: use pkg/compute/models

* mcclient: models: remove lb models

* lbagent: api: use pkg/apihelper

* vpcagent: models: add lblisteners and lbacls

* vpcagent: ovn: add lbacl support
2022-05-06 23:22:50 +08:00
Zexi Li
fae360cc1d fix(build): model api gen updated (#14205) 2022-05-06 23:22:09 +08:00
Zexi Li
04460ea5a3 Merge pull request #14203 from ioito/hotfix/qx-rds-ip
fix(region): rds ip addr
2022-05-05 20:09:53 +08:00
Zexi Li
f00ad0151a Merge pull request #14201 from ioito/hotfix/qx-apsara-bucket
fix(region): apsara bucket capacity
2022-05-05 20:09:08 +08:00
ioito
2592a2913f fix(region): apsara bucket capacity 2022-05-05 18:43:44 +08:00
ioito
d3fc59ed45 fix(region): rds ip addr 2022-05-05 18:41:22 +08:00
Jian Qiu
1831f63ef1 fix: backup recover failure (#14199)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:28:26 +08:00
Jian Qiu
27ef061862 fix: disk reset encrypted disks (#14195)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:09:14 +08:00
Jian Qiu
fc12bdcf2e fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14197)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:41 +08:00
Jian Qiu
a48392073b fix: live migrate encrypted server (#14194)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 01:19:21 +08:00
Jian Qiu
3f9be08fa3 Feature/qj encryption support snapshot backup (#14191)
* feature: encryption support snapshot and backup

* fix: encrypted snapshot create

* fix issues with backup encryption

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-03 11:39:55 +08:00
Jian Qiu
a393b65903 fix: save guest image with empty partition fail (#14189)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 16:29:27 +08:00
Jian Qiu
4375bad382 fix: deploy encrypted disk (#14187)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:07:03 +08:00
Jian Qiu
ba77386fba fix: add image set class metadata climc (#14185)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:40 +08:00
Jian Qiu
2b292f121e fix: adaptively enable NetworkManager (#14183)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:16 +08:00
Zexi Li
dbe828cdee fix(baremetal): try clear jbod devices before create (#14182) 2022-05-01 21:36:11 +08:00
Jian Qiu
e9f4c131c2 fix: clean temp server when migrate prepare dest fail (#14174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-29 08:10:53 +08:00
wanyaoqi
6f29f7d87a fix(host): fix get disk pci addr (#14171)
Fix hot-plug virtio disk failed.
after add usb and rng deivce, available pci address should update.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-29 02:45:46 +08:00
Rain Zheng
c708e4ac11 Windows monitor agent (#14062)
* feat: add pywinrm to ansibleserver-base

* feat(devtool,ansibleserver): support install monitor agent to windows

* feat: modify Dockerfil.file-repo

Co-authored-by: rain <mac@Rains-MBP.lan>
2022-04-29 00:38:24 +08:00
Zexi Li
15ba212828 Merge pull request #14165 from ioito/hotfix/qx-qcloud-read-only
fix(region): qcloud account read only
2022-04-28 20:46:43 +08:00
Zexi Li
b0282920a7 Merge pull request #14169 from ioito/hotfix/qx-account-sync-pre-check
fix(region): remove account sync pre check
2022-04-28 20:43:42 +08:00
ioito
c94c629b72 fix(region): remove account sync pre check 2022-04-28 20:40:10 +08:00
Jian Qiu
9410f3165a fix: cleanup s3 mount directory before glance start (#14167)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 16:49:57 +08:00
ioito
7f69b0fc96 fix(region): qcloud account read only 2022-04-28 14:42:19 +08:00
Zexi Li
3a4f2b4183 Merge pull request #14156 from swordqiu/hotfix/qj-apigateway-response-encrypt-passwd
fix: apigateway sends encrypt_passwd to indicate passwd encryption
2022-04-28 09:45:39 +08:00
Zexi Li
efc8f27647 Merge pull request #14160 from swordqiu/hotfix/qj-logclient-i18n-for-backup-ops
fix: logclient i18n for backup ops
2022-04-28 09:45:14 +08:00
Zexi Li
228fdbadb8 Merge pull request #14162 from swordqiu/hotfix/qj-guest-vdi-override
fix: guest vdi spec override image spec
2022-04-28 09:44:42 +08:00
Zexi Li
76ac710037 fix(baremetal): disable use perccli temporarily (#14146) 2022-04-28 09:42:44 +08:00
Jian Qiu
2dd1aeb8aa fix: mount disk readonly (#13152)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 09:26:45 +08:00
Qiu Jian
a72849d261 fix: guest vdi spec override image spec 2022-04-27 20:56:19 +08:00
Qiu Jian
abc7083bc7 fix: logclient i18n for backup ops 2022-04-27 20:41:53 +08:00
Zexi Li
8d9a5d67fd Merge pull request #14158 from swordqiu/hotfix/qj-glance-convert-vmdk-fail
fix: glance convert vmdk fail
2022-04-27 14:33:40 +08:00
Qiu Jian
8364e5b0d2 fix: glance convert vmdk fail 2022-04-27 14:03:56 +08:00
Qiu Jian
1e97ea3693 fix: apigateway sends encrypt_passwd to indicate passwd encryption 2022-04-27 13:01:30 +08:00
Zexi Li
9cf08e804c Merge pull request #14155 from zexi/readme-subscription
feat(readme): add subsciption link
2022-04-27 12:59:34 +08:00
Zexi Li
37b17f6bac feat(readme): add subsciption link 2022-04-27 12:58:41 +08:00
Zexi Li
e4df9aa6b0 Merge pull request #14135 from ioito/hotfix/qx-account-probe-time
fix(region): account probe time
2022-04-27 08:58:25 +08:00
Zexi Li
a1c01d42ef Merge pull request #14136 from ioito/hotfix/qx-ipv6-purge
fix(region): ipv6 gateway purge
2022-04-26 10:25:01 +08:00
Zexi Li
311be8e995 Merge pull request #14139 from ioito/hotfix/qx-openstack-nic
fix(region): openstack vm nic
2022-04-26 10:21:22 +08:00
Zexi Li
a9d7144051 fix(baremetal): bond network not config and chage not found (#14147) 2022-04-26 02:49:35 +08:00
Zexi Li
ef1ebc6f92 Merge pull request #14141 from swordqiu/hotfix/qj-fail-delete-storage-with-fake-deleted-snapshots
fix: fail to delete storages with fake-deleted snapshots
2022-04-26 02:25:41 +08:00
Qiu Jian
ee48584c47 fix: fail to delete storages with fake-deleted snapshots 2022-04-25 22:40:57 +08:00
ioito
64de2775e2 fix(region): openstack vm nic 2022-04-25 16:58:21 +08:00
ioito
4ab0e1ebbc fix(region): ipv6 gateway purge 2022-04-25 14:29:52 +08:00
ioito
6f142548f2 fix(region): account probe time 2022-04-25 10:15:48 +08:00
Zexi Li
4d92a21957 Merge pull request #14133 from ioito/hotfix/qx-hw-request
fix(region): hw request api
2022-04-24 19:21:48 +08:00
Zexi Li
c41a517513 Merge pull request #14111 from ioito/hotfix/qx-aws-sku
fix(region): aws sku list
2022-04-24 19:21:24 +08:00
Zexi Li
b4f1ef35e7 Merge pull request #14130 from ioito/hotfix/qx-vdi-check
fix(region): vdi check
2022-04-24 19:19:58 +08:00
ioito
0103839940 fix(region): hw request api 2022-04-24 17:53:35 +08:00
ioito
153216f3a2 fix(region): vdi check 2022-04-24 17:11:30 +08:00
Zexi Li
f6f826e8d2 Merge pull request #14120 from ioito/hotfix/qx-mount-disk
fix(host): mount disk error
2022-04-24 15:05:14 +08:00
Zexi Li
ff49cd4642 Merge pull request #14128 from zexi/automated-cherry-pick-of-#14123-upstream-master
Automated cherry pick of #14123: fix(region): make access_ip of host updatable
2022-04-24 14:29:49 +08:00
Zexi Li
6dad0ef967 fix(region): make access_ip of host updatable 2022-04-24 11:53:17 +08:00
ioito
9c7a1fe72e fix(region): aws sku list 2022-04-24 11:23:36 +08:00
ioito
96b98e9746 fix(host): mount disk error 2022-04-24 11:22:23 +08:00
Zexi Li
37ee6e6ed4 Merge pull request #14121 from zexi/fix-ssh-log
fix(webconsole): record command input and ps1
2022-04-24 10:26:15 +08:00
Zexi Li
a5a098b751 fix(webconsole): record command input and ps1 2022-04-23 23:23:18 +08:00
Jian Qiu
ea7c6cf213 feature: uos guest support (#14117)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:22:06 +08:00
Jian Qiu
88c2db1fb6 fix: imags peripherals missing id (#14114)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:21:33 +08:00
Zexi Li
f27262706a fix(webconsole): ssh command log with login user (#14112) 2022-04-23 19:21:04 +08:00
Zexi Li
c86ffe7055 Merge pull request #14072 from zexi/webconsole-ssh-log
feat(webconsole): ssh command log
2022-04-22 14:33:35 +08:00
Zexi Li
06e440c6fc Merge pull request #14105 from ioito/hotfix/qx-avoid-panic
fix(region): avoid panic
2022-04-22 14:20:20 +08:00
Zexi Li
2f53f7a7a5 Merge pull request #14108 from ioito/hotfix/qx-secgroup-create-time
fix(region): secgroup created time
2022-04-22 14:19:02 +08:00
ioito
600ba79ab1 fix(region): secgroup created time 2022-04-22 14:06:43 +08:00
Zexi Li
52a3e53e79 feat(webconsole): ssh command log 2022-04-22 11:51:33 +08:00
Zexi Li
f1bd610627 Merge pull request #14102 from zhaoxiangchun/feature/zxc-bingo-master
fix(cloudmon): add apsarea diskusage metric
2022-04-22 11:41:13 +08:00
ioito
af5455813d fix(region): avoid panic 2022-04-22 11:01:07 +08:00
zhaoxiangchun
63cbd8e240 fix(cloudmon): add apsarea diskusage metric 2022-04-21 20:24:23 +08:00
Zexi Li
6cd3549b0c Merge pull request #14100 from ioito/hotfix/qx-res-created-time
fix(region): sync resource created time
2022-04-21 20:08:05 +08:00
ioito
afbee642a7 fix(region): sync resource created time 2022-04-21 19:46:36 +08:00
Zexi Li
c5c389bd4a Merge pull request #14093 from ioito/hotfix/qx-sql-err
fix(region): avoid panic
2022-04-21 19:06:13 +08:00
Zexi Li
ae124774de Merge pull request #14096 from ioito/hotfix/qx-vm-sync-name
fix(region): sync vm name
2022-04-21 19:05:37 +08:00
Zexi Li
9c0c160360 Merge pull request #14098 from ioito/feat/qx-ipv6-gateway
feat(region): ipv6 gateway sync for apsara
2022-04-21 19:04:27 +08:00
ioito
c3e80baef4 feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:13 +08:00
ioito
018d21c09b fix(region): avoid panic 2022-04-21 17:09:05 +08:00
ioito
6477749eb1 fix(region): sync vm name 2022-04-21 17:03:06 +08:00
Zexi Li
8d685ba266 Merge pull request #14091 from ioito/hotfix/qx-apsara-oss
fix(region): apsara oss to asapi
2022-04-20 21:57:12 +08:00
ioito
4fa6fe457a fix(region): apsara oss to asapi 2022-04-20 20:31:09 +08:00
Jian Qiu
38bd88aa26 fix: always recycle disk files (#14066)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:29:30 +08:00
Jian Qiu
4ce81999b4 fix: arm support spice (#14089)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:27:46 +08:00
Jian Qiu
5402c68551 fix: adjust opsadmin permission (#14086)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:52 +08:00
Jian Qiu
b4ab2de962 fix: make notify template example field nullable (#14083)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:06 +08:00
Jian Qiu
89225090ab fix: cached image fail to refresh (#14081)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:00:35 +08:00
Zexi Li
8d5457b79b Merge pull request #14076 from ioito/hotfix/qx-account-sync
fix(region): account sync
2022-04-19 19:43:31 +08:00
Zexi Li
826794d747 Merge pull request #14079 from ioito/hotfix/qx-huawei-eip-api
fix(region): refactor huawei eip api
2022-04-19 19:43:11 +08:00
ioito
9e76d9616f fix(region): refactor huawei eip api 2022-04-19 18:52:34 +08:00
ioito
e99a0de489 fix(region): account sync 2022-04-19 16:46:35 +08:00
Zexi Li
96e501b310 Merge pull request #14069 from ioito/hotfix/qx-enable-log
fix(region): enable and disable log for provider regions
2022-04-19 16:21:51 +08:00
Zexi Li
aaf6079301 Merge pull request #14074 from ioito/hotfix/qx-apsara-credential-update
fix(region): apsara credential update
2022-04-19 16:21:24 +08:00
ioito
7a9810761a fix(region): apsara credential update 2022-04-19 16:08:45 +08:00
ioito
2df3423734 fix(region): enable and disable log for provider regions 2022-04-19 11:41:50 +08:00
Zexi Li
56a7a119c8 Merge pull request #14036 from ioito/hotfix/qx-hw-lb
fix(region): huawei lb api
2022-04-18 18:30:59 +08:00
ioito
95c8b69be8 fix(region): huawei lb api 2022-04-18 17:59:55 +08:00
Zexi Li
38df762fa5 Merge pull request #14055 from swordqiu/hotfix/qj-user-reset-credential
feature: user reset credential
2022-04-18 16:29:42 +08:00
Zexi Li
1b20524fce Merge pull request #14060 from zhasm/hotfix/zhengyu-notify-template-update
fix(notify): 通知模板更新
2022-04-18 15:58:02 +08:00
Zhang Dongliang
633726e48f fix(notify): 通知模板更新 2022-04-18 15:47:17 +08:00
Zexi Li
8b07286332 Merge pull request #14057 from ioito/hotfix/qx-apigateway-export-timeout
fix(apigateway): log export timeout
2022-04-18 14:39:31 +08:00
Zexi Li
32cd3b4977 Merge pull request #14058 from dong0320/ui-0418
feat:add screenshots
2022-04-18 14:33:05 +08:00
ioito
4f5894d061 fix(apigateway): log export timeout 2022-04-18 14:23:22 +08:00
董丽萍
5ad51327a4 feat:add screenshots 2022-04-18 14:21:46 +08:00
Qiu Jian
1021814404 feature: user reset credential 2022-04-18 00:16:29 +08:00
Jian Qiu
9902e39374 fix: user project lists with metadata (#14053)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-18 00:01:21 +08:00
Jian Qiu
82627e7c84 fix: extend guest disk attributes (#14050)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:31 +08:00
Jian Qiu
675a5c2634 fix: allow opsadmin view logs (#14048)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:03 +08:00
Jian Qiu
0d67701fc7 fix: guest backup bufixes (#14046)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:07:33 +08:00
Zexi Li
e1c26d9192 Merge pull request #14030 from ioito/hotfix/qx-qcloud-bw
fix(region): qcloud bandwidth and networkinterface
2022-04-17 12:39:01 +08:00
Zexi Li
9100fa8196 Merge pull request #14011 from ioito/hotfix/qx-external-project-create
feat(region): external project create
2022-04-17 00:35:16 +08:00
Zexi Li
ad7e2ea427 Merge pull request #14033 from ioito/hotfix/qx-azure-created-time
fix(region): azure created time sync
2022-04-17 00:33:48 +08:00
Zexi Li
ed574dd866 Merge pull request #13858 from zhaoxiangchun/feature/zxc-bingo-master
feat(cloudmon): support bingo cloud metric pull
2022-04-17 00:32:33 +08:00
Jian Qiu
f44168407e fix: log auth fail event (#14043)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 18:35:08 +08:00
Jian Qiu
16c74db9c8 fix: guest save image inherit projects of guest (#14041)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 09:34:33 +08:00
Zexi Li
b36786220d Merge pull request #14039 from swordqiu/hotfix/qj-fix-permission-20220416
fix permission 20220416
2022-04-16 03:55:57 +08:00
Zexi Li
543db56d71 Merge pull request #14037 from swordqiu/hotfix/qj-sync-domain-default-project
fix: sync IDP domain default project
2022-04-16 03:37:28 +08:00
Qiu Jian
d2fa031a5c fix permission 20220416 2022-04-16 02:32:12 +08:00
Qiu Jian
69418d1a37 fix: sync IDP domain default project 2022-04-16 00:21:31 +08:00
ioito
1fc005397c fix(region): azure created time sync 2022-04-15 17:33:54 +08:00
ioito
814c46c93e fix(region): qcloud bandwidth and networkinterface 2022-04-15 16:08:59 +08:00
Zexi Li
b641b485b6 Merge pull request #14025 from ioito/hotfix/qx-apsara-resource-group
fix(region): apsara resource groups
2022-04-15 11:35:07 +08:00
Zexi Li
6c297037c3 Merge pull request #14027 from ioito/hotfix/qx-eip-climc
fix(climc): eip change bw cli
2022-04-15 11:33:53 +08:00
ioito
a719b01ff5 fix(climc): eip change bw cli 2022-04-15 11:13:30 +08:00
Zexi Li
10641d4085 Merge pull request #14023 from ioito/hotfix/qx-log-export-timeout
fix(logger): action log export timeout
2022-04-14 20:40:52 +08:00
ioito
fdf937eb5e fix(region): apsara resource groups 2022-04-14 20:38:09 +08:00
ioito
d8774daadb fix(logger): action log export timeout 2022-04-14 14:41:40 +08:00
zhaoxiangchun
7f62bcfc10 feat(cloudmon): support bingo cloud metric pull 2022-04-14 12:45:54 +08:00
Jian Qiu
25062f802a fix: encrypt by user id (#14021)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 07:54:56 +08:00
Jian Qiu
e0af65c776 fix: log roles support utf8 (#14017)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 00:49:25 +08:00
Zexi Li
9b4d4eb16b Merge pull request #14020 from zexi/readme-with-ui
fix(readme): bad link image url
2022-04-14 00:16:47 +08:00
Zexi Li
0e5d64f3bd fix(readme): bad link image url 2022-04-14 00:14:44 +08:00
Zexi Li
2a1057e245 Merge pull request #14019 from zexi/readme-with-ui
feat(readme): update summary with UI image
2022-04-13 23:46:47 +08:00
Zexi Li
35f0a49449 feat(readme): update summary with UI image 2022-04-13 23:45:42 +08:00
Jian Qiu
536407bcdd fix: use user owner key to create user (#14015)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 23:15:45 +08:00
屈轩
e898322b07 fix(keystone): remove notify (#14013) 2022-04-13 23:15:12 +08:00
ioito
0461ff0eb1 feat(region): external project create 2022-04-13 17:10:04 +08:00
Zexi Li
558bd1d00d Merge pull request #14007 from ioito/hotfix/qx-export-dup-tag-key
fix(region): avoid export duplicate tag key
2022-04-13 16:20:52 +08:00
Zexi Li
af93c5e57f Merge pull request #14005 from rainzm/notify/topic_1_1_notification
feat(notify): add topic_type in notification details
2022-04-13 16:20:25 +08:00
ioito
d944c8ae3a fix(region): avoid export duplicate tag key 2022-04-13 16:08:19 +08:00
rainzm
c3d1caa1e6 feat(notify): add topic_type in notification details 2022-04-13 15:58:12 +08:00
Zexi Li
c1728c89a3 Merge pull request #14002 from ioito/hotfix/qx-host-order-by-commit-rate
fix(region): host order by commit rate
2022-04-13 12:18:47 +08:00
ioito
03e5ca2100 fix(region): host order by commit rate 2022-04-13 11:28:02 +08:00
Jian Qiu
76c26458ac fix: backup bugifxes: 1. not inherit projects of disk. 2. class not (#14000)
inherit by disk 3. fail to creat guest image

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 01:39:36 +08:00
Zexi Li
6d8c326103 Merge pull request #13984 from zexi/automated-cherry-pick-of-#13981-upstream-master
Automated cherry pick of #13981: fix(region): multi disk created after instance snapshot
2022-04-13 00:56:44 +08:00
Zexi Li
f64b550817 Merge pull request #13998 from swordqiu/hotfix/qj-adjust-admin-default-permissions
fix: adjust admin default permissions
2022-04-13 00:55:21 +08:00
Zexi Li
ef9bc82db3 Merge pull request #13996 from swordqiu/hotfix/qj-migrate-set-downtime-2
fix: migrate set down time
2022-04-13 00:54:44 +08:00
Qiu Jian
37abf8aa2d fix: adjust admin default permissions 2022-04-12 20:43:48 +08:00
Qiu Jian
2cd805ead6 fix: migrate set down time 2022-04-12 20:17:08 +08:00
Zexi Li
929e41233a Merge pull request #13987 from ioito/hotfix/qx-huawei-api
fix(region): huawei api
2022-04-12 16:45:22 +08:00
ioito
20e5fc584b fix(region): huawei api 2022-04-12 15:57:26 +08:00
Zexi Li
5460c7c381 Merge pull request #13989 from ioito/hotfix/qx-esxi-wire-update
fix(region): avoid panic
2022-04-12 15:05:46 +08:00
ioito
f87e624270 fix(region): avoid panic 2022-04-12 14:55:38 +08:00
Zexi Li
83e6442514 Merge pull request #13988 from zexi/readme-ocboot-branch
fix(README): ocboot use branch release/3.8
2022-04-12 14:54:07 +08:00
Zexi Li
76e8170d92 fix(README): ocboot use branch release/3.8 2022-04-12 14:49:29 +08:00
Zexi Li
ce1b4cdd3a Merge pull request #13979 from swordqiu/hotfix/qj-change-qemu-default-version-to-4.2.0
fix: change qemu default version to 4.2.0
2022-04-12 14:38:05 +08:00
Zexi Li
e651ec6cdd Merge pull request #13985 from rainzm/notify/topic_1_1_notification
feat(notify): filter notification by topic_type
2022-04-12 14:37:44 +08:00
Zexi Li
fd5c39a418 fix(region): multi disk created after instance snapshot 2022-04-12 13:59:27 +08:00
rainzm
68bb344201 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 13:52:55 +08:00
Jian Qiu
ef2b3cd7fc fix: more detailed privilege hint (#13975)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:09:18 +08:00
Qiu Jian
c5e0158ea6 fix: change qemu default version to 4.2.0 2022-04-12 12:06:35 +08:00
Jian Qiu
ad811a43b2 fix: encrypt server cannot attach disk with conflict encrypt key (#13973)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:12:12 +08:00
Jian Qiu
52af0c0672 fix: disk create input preserve encrypt info (#13971)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:11:31 +08:00
Jian Qiu
37148224d2 fix: schduler not sync cached image class metadata (#13969)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:34 +08:00
Zexi Li
21e6cd6ffc Merge pull request #13967 from swordqiu/hotfix/qj-create-table-missing-indexes
fix: create table missing indexes
2022-04-11 22:59:20 +08:00
Qiu Jian
68bda2b1a0 fix: create table missing indexes 2022-04-11 22:08:42 +08:00
Zexi Li
1dddfea823 Merge pull request #13962 from ioito/hotfix/qx-aws-regions
fix(region): aws all regions
2022-04-11 20:46:08 +08:00
ioito
1515e5b636 fix(region): aws all regions 2022-04-11 19:59:24 +08:00
Zexi Li
65a39df83a Merge pull request #13960 from zexi/get-qemu-info
feat(region): kvm qemu version and cmdline info
2022-04-11 18:56:55 +08:00
Zexi Li
6e8da20bc0 Merge pull request #13958 from ioito/hotfix/qx-permission
fix(region): cloud lake of permissions
2022-04-11 18:56:00 +08:00
Zexi Li
371568c2aa Merge pull request #13954 from zhaoxiangchun/fix/zxc-master
fix(region): app replace backgroud ctx
2022-04-11 18:37:51 +08:00
Zexi Li
917bb9a337 feat(region): kvm qemu version and cmdline info 2022-04-11 17:49:37 +08:00
ioito
0feb31c29d fix(region): cloud lake of permissions 2022-04-11 16:47:06 +08:00
Jian Qiu
06bd541153 fix: disable lock ctx check (#13956)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:56:03 +08:00
zhaoxiangchun
f82803f29d fix(region): app replace backgroud ctx 2022-04-11 14:51:36 +08:00
Jian Qiu
a68799579d fix: support create encrypt key on create (#13950)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:41:16 +08:00
Zexi Li
a359b228c4 Merge pull request #13940 from ioito/hotfix/qx-google-label
fix(region): google label encode
2022-04-11 09:53:02 +08:00
Zexi Li
7e5e5a30f8 Merge pull request #13952 from swordqiu/hotfix/qj-fangde-desktop
fix: fangde desktop
2022-04-11 09:51:24 +08:00
Qiu Jian
dd3e9b1565 fix: fangde desktop 2022-04-11 09:29:49 +08:00
Jian Qiu
b77aa834e3 fix: keystone issues: 1. add no_policy_violation_check (#13948)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 06:39:08 +08:00
Zexi Li
d700f89877 Merge pull request #13941 from rainzm/esxi_prepare_network/config_nil
fix(region): exclude the host whose config or config.network is nil
2022-04-09 14:31:59 +08:00
Zexi Li
664d080049 Merge pull request #13946 from ioito/hotfix/qx-readonly-fix
fix(region): read only fix
2022-04-08 20:11:09 +08:00
ioito
d7562dd88d fix(region): read only fix 2022-04-08 19:49:48 +08:00
ioito
f7cd042c5a fix(region): google label encode 2022-04-08 17:54:17 +08:00
rainzm
39e542a731 fix(region): exclude the host whose config or config.network is nil 2022-04-08 17:46:36 +08:00
Zexi Li
8d80b4d48b Merge pull request #13938 from zexi/notify-lock-panic
fix(notify): lock panic when InitializeData
2022-04-08 15:20:20 +08:00
Zexi Li
8f921c3385 fix(notify): lock panic when InitializeData 2022-04-08 15:09:35 +08:00
Zexi Li
cc3dc07b92 Merge pull request #13922 from ioito/hotfix/qx-account-read-only
fix(region): account read only
2022-04-08 09:58:09 +08:00
Zexi Li
0f385c6a56 Merge pull request #13936 from zexi/onecloud-base-3-15-4
feat(build): add onecloud-base:v3.15.4-0 image build file
2022-04-08 09:40:53 +08:00
屈轩
6fda826deb fix(region): qcloud client no need fetch bucket (#13880) 2022-04-08 01:35:47 +08:00
wanyaoqi
2e7faba76c host: fix isImportFromLibvirt (#13933)
should check __origin_id not getOriginId

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-08 01:30:05 +08:00
Zexi Li
ab25e87431 feat(build): add onecloud-base:v3.15.4-0 image build file 2022-04-08 01:07:42 +08:00
Zexi Li
3e368eb93d Merge pull request #13901 from swordqiu/hotfix/qj-scheduler-missing-context
fix: scheduler add missing context
2022-04-07 22:07:21 +08:00
ioito
a6dc0a24e6 fix(region): account read only 2022-04-07 18:32:01 +08:00
Zexi Li
89a6af1a8c Merge pull request #13928 from ioito/hotfix/qx-aws-storage
fix(region): aws storage type sync
2022-04-07 17:46:08 +08:00
Zexi Li
9224441f57 Merge pull request #13923 from ioito/hotfix/qx-cloudpods-misc-fix
fix(region): cloudpods misc fix
2022-04-07 17:30:08 +08:00
Zexi Li
fb88c1bb64 Merge pull request #13924 from ioito/hotfix/qx-ctx-lock
fix(region): ctx lock panic
2022-04-07 17:29:25 +08:00
ioito
13c17a579e fix(region): aws storage type sync 2022-04-07 17:24:45 +08:00
ioito
4bcf2cf99b fix(region): ctx lock panic 2022-04-07 14:54:29 +08:00
ioito
bb8896fc10 fix(region): cloudpods misc fix 2022-04-06 16:19:51 +08:00
Zexi Li
cae88170ca Merge pull request #13910 from swordqiu/hotfix/qj-migrate-set-downtime
fix: migrate set downtime
2022-04-06 12:49:05 +08:00
Zexi Li
eeb8ecc080 Merge pull request #13888 from swordqiu/hotfix/qj-panic-on-locking-default-context
fix: panic when locking on Background or TODO context
2022-04-06 12:20:23 +08:00
Jian Qiu
aee2d78186 feature: event log add severity and kind fields (#13919)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 06:57:44 +08:00
Jian Qiu
094c643dd0 fix: logout event log (#13916)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 01:30:22 +08:00
Jian Qiu
3b7a12c3e5 fix: typos in predefined policy yaml (#13914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:15:26 +08:00
Jian Qiu
d6438171aa fix: chage parameter not compatible with fangde OS (#13907)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:14:27 +08:00
Jian Qiu
58743308b8 fix: save image for aarch64 os show os_arch of x86_64 (#13903)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:12:15 +08:00
Jian Qiu
0f7d5469ae fix: update vendor for sqlchemy (#13912)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:11:39 +08:00
Qiu Jian
df5bb58318 fix: migrate set downtime 2022-04-05 15:16:46 +08:00
Qiu Jian
24c83d6f9a fix: scheduler add missing context 2022-04-05 11:29:30 +08:00
屈轩
2697e61340 fix(region): sync aliyun remark to cloud (#13846) 2022-04-05 11:21:26 +08:00
屈轩
c5b068e8bb fix(region): optimized disk-list (#13874) 2022-04-05 11:20:19 +08:00
Jian Qiu
ce745224a5 fix: cloudaccounts getMoreDetails should pass ctx (#13884)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:21 +08:00
Jian Qiu
6771d4e983 fix: better handling of network not avaiable on host error (#13890)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:17:18 +08:00
Jian Qiu
f7376c905f fix: make temporary snapshots invisible (#13881)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:16:31 +08:00
Jian Qiu
243f2a0987 fix: opsadmin should have project list and get permission (#13894)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:15:05 +08:00
Jian Qiu
87a7d4efe0 fix: host inherit class metadata from wire (#13896)
* fix: host inherit class metadata from wire

* deal with host delete exit

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:28 +08:00
Jian Qiu
2215f3d760 fix: make test format errors (#13898)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:13:40 +08:00
Qiu Jian
fde185d93e fix: panic when locking on Background or TODO context 2022-04-05 00:07:04 +08:00
Zexi Li
eeb076c45d Merge pull request #13863 from ioito/hotfix/qx-service-err
fix(apigateway): convert net err to service error
2022-04-03 10:54:00 +08:00
Zexi Li
4c45a3c126 Merge pull request #13877 from rainzm/notify/websocket
fix(notify): enable websocket notifications defaultly for event notify
2022-04-02 18:59:27 +08:00
rainzm
75aeacef8e fix(notify): enable websocket notifications defaultly for event notify 2022-04-02 18:50:21 +08:00
Zexi Li
7154da3225 Merge pull request #13865 from rainzm/notify/checksum
Security notify
2022-04-02 18:11:51 +08:00
Zexi Li
544e1aa500 Merge pull request #13872 from rainzm/backupstroage/offline
feat(region): add reason when syning status for backup storage
2022-04-02 18:02:32 +08:00
Zexi Li
7301471ada Merge pull request #13869 from ioito/hotfix/qx-public-ip-sync
fix(region): vm public ip sync
2022-04-02 14:55:35 +08:00
rainzm
0b303e9fad feat(region): add reason when syning status for backup storage 2022-04-02 14:34:15 +08:00
Zexi Li
fe709d601e Merge pull request #13839 from ioito/hotfix/qx-qcloud-dns-api
fix(region): qcloud use new dns api
2022-04-02 14:14:47 +08:00
ioito
64ba649576 fix(region): qcloud use new dns api 2022-04-02 14:08:32 +08:00
ioito
a9b792b0ae fix(region): vm public ip sync 2022-04-02 11:53:15 +08:00
Zexi Li
47e34bd065 Merge pull request #13867 from swordqiu/hotfix/qj-qemu-img-backing-file-json
fix: support qemu backing file with json format
2022-04-01 23:06:55 +08:00
Zexi Li
0e4792cc9b Merge pull request #13860 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix gcp metric pull
2022-04-01 23:03:50 +08:00
Qiu Jian
cb89eae95e fix: support qemu backing file with json format 2022-04-01 21:08:39 +08:00
Zexi Li
a19e367d80 Merge pull request #13848 from ioito/hotfix/qx-account-permission
fix(region): show account lake of permission
2022-04-01 19:48:09 +08:00
rainzm
b38148c2d6 feat(climc): add notify-event-send 2022-04-01 19:00:59 +08:00
rainzm
53ec0d052e feat(keystone): call event notify when user is locked 2022-04-01 19:00:59 +08:00
rainzm
33475733f6 feat(host): notify when snapshot memory checksum test fail 2022-04-01 19:00:59 +08:00
rainzm
419a33958c feat(image): notify when image checksum test fail 2022-04-01 19:00:56 +08:00
rainzm
f5d58cdee9 feat(cloudcommon): notify when the checksum of db table record test fail
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 18:50:40 +08:00
rainzm
0713624f0c feat(cloudcommon): add SystemEventNotify and SystemExceptionNotifyWithResult 2022-04-01 18:50:39 +08:00
rainzm
64d685ca07 feat(notify): add topic 'checksum test faile' and 'user lock' 2022-04-01 18:50:34 +08:00
ioito
b2c4aafe46 fix(apigateway): convert net err to service error 2022-04-01 15:39:23 +08:00
zhaoxiangchun
5fd96046ad fix(cloudmon): fix gcp metric pull
1. external_id format
2022-04-01 14:49:43 +08:00
Jian Qiu
8da40d66ee fix: fail to snapshot and clone due to mismatch class metadata (#13856)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:19:03 +08:00
Jian Qiu
c9697d39fe fix: cloudshell use dynamic keystone endpoint (#13853)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:14:47 +08:00
Zexi Li
8fbace1af7 Merge pull request #13852 from zexi/automated-cherry-pick-of-#13851-upstream-master
Automated cherry pick of #13851: fix(host): arm ovmf not injected
2022-04-01 12:29:01 +08:00
Zexi Li
f3f1bd6613 fix(host): arm ovmf not injected 2022-04-01 11:52:46 +08:00
ioito
142ebcac66 fix(region): show account lake of permission 2022-04-01 11:40:58 +08:00
Jian Qiu
df6f118542 fix: aarch64 ensure UEFI (#13844)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 18:15:57 +08:00
Zexi Li
4e689b1aa0 Merge pull request #13842 from swordqiu/hotfix/qj-wrong-region-reference
fix: region should be refered by consts.GetRegion()
2022-03-31 17:01:50 +08:00
Qiu Jian
4f1f4cbb0f fix: region should be refered by consts.GetRegion() 2022-03-31 16:48:29 +08:00
Jian Qiu
2ff9be6e1d feature: add webconsole enabled user the default webconsole policy (#13837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:33 +08:00
Jian Qiu
2a4191c23a fix: image may missing os_arch and checksum (#13835)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:05 +08:00
屈轩
9f539a4bce fix(apigateway): export timeout (#13827) 2022-03-31 12:57:06 +08:00
Zexi Li
41f928841f Merge pull request #13824 from ioito/hotfix/qx-vender-update
fix(region): curl vender update
2022-03-30 16:55:53 +08:00
Zexi Li
5ad235d914 Merge pull request #13831 from rainzm/glance/inits3_checkimage
fix(glance): check image after initializing s3
2022-03-30 16:53:10 +08:00
rainzm
54abd2f1d3 fix(glance): check image after initializing s3 2022-03-30 16:00:49 +08:00
ioito
03a494194b fix(region): curl vender update 2022-03-30 11:02:40 +08:00
Zexi Li
391a56e720 Merge pull request #13821 from swordqiu/hotfix/qj-remote-tmp-file-not-move
fix: remote file not move
2022-03-30 10:14:29 +08:00
Zexi Li
14305741ba fix(telegraf-raid-plugin): zombies recycle (#13817) 2022-03-30 07:41:41 +08:00
Qiu Jian
c0dfabbafa fix: remote file not move 2022-03-30 07:32:54 +08:00
Zexi Li
c761768f36 Merge pull request #13813 from ioito/hotfix/qx-report
fix(apigateway): report data for cloudpods
2022-03-29 22:38:03 +08:00
ioito
3c8d635ce7 fix(apigateway): report data for cloudpods 2022-03-29 18:17:49 +08:00
Zexi Li
04330dbeee Merge pull request #13811 from swordqiu/hotfix/qj-arm-default-machine-virt
fix: change arm default machine virt
2022-03-29 13:27:32 +08:00
Qiu Jian
36649e2bc3 fix: change arm default machine virt 2022-03-29 12:43:59 +08:00
Zexi Li
33fa44ff92 Merge pull request #13808 from ioito/hotfix/qx-cloudprovider-distinct
fix(region): cloudprovider distinct
2022-03-29 11:53:41 +08:00
Zexi Li
e48a0eb3ad Merge pull request #13803 from ioito/hotfix/qx-host-order-by-storage
fix(region): order by host storage
2022-03-29 11:53:10 +08:00
ioito
6aec7a076d fix(region): cloudprovider distinct 2022-03-29 09:50:53 +08:00
Zexi Li
0cdc33a923 feat(keystone): config option db record checksum (#13806) 2022-03-28 12:40:33 +08:00
ioito
ea20e64d51 fix(region): order by host storage 2022-03-28 11:32:10 +08:00
Jian Qiu
2553a85a03 fix: predefined ops/sec/adt manager roles (#13801)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 22:49:22 +08:00
Jian Qiu
79affb7c81 fix: add GetEncryptKeysRpc (#13799)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 14:49:00 +08:00
wanyaoqi
a5c27565d5 region/host: fix reset ceph root disk after rebuild root (#13794)
Ceph storage disk rebuild root will rename origin disk to backing
disk, so we need use backing disk reset snapshot.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-27 11:34:35 +08:00
Zexi Li
4a13598189 fix(logger): SActionlog should return ActionLogManager (#13795) 2022-03-27 11:01:30 +08:00
Zexi Li
0d5b4f43e4 feat(vendor): update vendor for master (#13792) 2022-03-27 11:00:59 +08:00
Zexi Li
3b315d7656 Merge pull request #13788 from taigrr/master
update ghw dependency
2022-03-26 19:03:04 +08:00
Zexi Li
35b04c9476 Merge pull request #13780 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): cloudmon fix
2022-03-26 19:01:08 +08:00
Zexi Li
53ef65d79c Merge pull request #13789 from swordqiu/hotfix/qj-aes-decrypt-fail
fix: aes decrypt failure
2022-03-26 19:00:47 +08:00
Zexi Li
26d2f73325 Merge pull request #13785 from swordqiu/hotfix/qj-assoicate-eip-with-vpc-instance-group
fix: instance group with classic network cannot associate with eip
2022-03-26 19:00:14 +08:00
Qiu Jian
742a9b54aa fix: aes decrypt failure 2022-03-26 15:18:25 +08:00
Jian Qiu
ce836b3f77 feature: qemu encryption support (#13733)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:42 +08:00
Tai Groot
bb0bb4eba9 update vendor modules 2022-03-25 20:54:39 -07:00
Tai Groot
6235b23f9c update ghw dependency 2022-03-25 20:49:31 -07:00
Qiu Jian
79d4d01606 fix: instance group with classic network cannot associate with eip 2022-03-26 03:24:27 +08:00
Zexi Li
afc48bac82 fix(host-deployer): chage for exists cloudroot user (#13782) 2022-03-25 20:10:09 +08:00
zhaoxiangchun
e31cc0144d fix(cloudmon): cloudmon fix
1. 增加account tag
2. aws region pull metric add lock
2022-03-25 16:29:15 +08:00
Zexi Li
e6b80262ed Merge pull request #13777 from ioito/hotfix/qx-cpu-int
fix(region): cpu float to int
2022-03-25 11:45:12 +08:00
ioito
72e5c303e0 fix(region): cpu float to int 2022-03-25 11:29:51 +08:00
Zexi Li
92b16936e1 Merge pull request #13772 from ioito/hotfix/qx-bingo-attr
fix(region): bingo node attr
2022-03-24 21:25:15 +08:00
Zexi Li
c91a6e0139 Merge pull request #13769 from ioito/hotfix/qx-cloudpods-misc
fix(region): cloudpods misc fix
2022-03-24 21:24:17 +08:00
Zexi Li
2f782ddeba Merge pull request #13774 from ioito/hotfix/qx-aes-256
fix(region): add seclib aes
2022-03-24 18:53:53 +08:00
ioito
d76f2d20fb fix(region): add seclib aes 2022-03-24 18:07:28 +08:00
ioito
9ee7ace482 fix(region): bingo node attr 2022-03-24 17:04:02 +08:00
ioito
d7f197a033 fix(region): cloudpods misc fix 2022-03-24 14:33:20 +08:00
Zexi Li
17c17aa3a0 Merge pull request #13767 from swordqiu/hotfix/qj-host-deploy-mkdir-chmod
fix: host deploy chmod after mkdir to ensure permission
2022-03-23 23:45:16 +08:00
Zexi Li
87a325c7e1 Merge pull request #13753 from ioito/hotfix/qx-cached-image
fix(region): clean glance image cache
2022-03-23 23:44:09 +08:00
Qiu Jian
e8ce9e1271 fix: host deploy chmod after mkdir to ensure permission 2022-03-23 20:34:19 +08:00
Zexi Li
8b5abae087 Merge pull request #13764 from rainzm/appevr/lock
fix(region): release lock in SyncAppEnvironments
2022-03-23 16:38:38 +08:00
rainzm
aae6131b20 fix(region): release lock in SyncAppEnvironments 2022-03-23 16:31:12 +08:00
Zexi Li
ce1c9363e6 Merge pull request #13762 from ioito/hotfix/qx-bingo-fix
fix(region): bingocloud sync fix
2022-03-23 15:58:18 +08:00
ioito
9e7f2c8446 fix(region): bingocloud sync fix 2022-03-23 15:47:00 +08:00
Zexi Li
a329b555a7 Merge pull request #13749 from ioito/hotfix/qx-vmware-sec
fix(region): vmware no need secgroup
2022-03-23 10:59:50 +08:00
Zexi Li
d8ad6f96b2 Merge pull request #13757 from ioito/hotfix/qx-sched-tag-sync
fix(region): host sched tag sync
2022-03-23 00:28:02 +08:00
Zexi Li
fa62b2dabd Merge pull request #13760 from swordqiu/hotfix/qj-add-more-set-class-metadata
fix: add more set class metadata commands
2022-03-23 00:27:15 +08:00
Qiu Jian
e60e1cd60e fix: add more set class metadata commands 2022-03-22 21:52:34 +08:00
ioito
b174c23663 fix(region): host sched tag sync 2022-03-22 18:53:41 +08:00
ioito
2e9edfb334 fix(region): clean glance image cache 2022-03-22 17:29:35 +08:00
ioito
01e820fd5c fix(region): vmware no need secgroup 2022-03-21 20:07:54 +08:00
Zexi Li
117e81a4d9 Merge pull request #13747 from zexi/host-check-vm-cpuset
fix(region): add host cpuset used cores
2022-03-21 18:39:49 +08:00
Zexi Li
b456f585bb fix(region): add host cpuset used cores 2022-03-21 18:18:14 +08:00
Zexi Li
29e3f22422 Merge pull request #13687 from ioito/hotfix/qx-log-export
fix(region): log export
2022-03-21 18:17:34 +08:00
Zexi Li
c72c370765 Merge pull request #13732 from zexi/memory-snapshot-checksum
feat(region,host): memory snapshot checksum
2022-03-21 18:17:05 +08:00
Zexi Li
a569b0046e feat(region,host): memory snapshot checksum 2022-03-21 17:14:26 +08:00
Zexi Li
b3e1f4a78e Merge pull request #13738 from ioito/hotfix/qx-redis-public-connection
fix(region): elastic search public connection
2022-03-21 16:40:58 +08:00
Zexi Li
0693a16f24 Merge pull request #13744 from zexi/host-check-vm-cpuset
fix(region): guest and host cpuset one-to-one validate
2022-03-21 16:40:19 +08:00
Zexi Li
ec9e3bd338 feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13736)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:23 +08:00
Zexi Li
a882054889 fix(region): guest and host cpuset one-to-one validate 2022-03-21 12:52:51 +08:00
Zexi Li
1eb838c08c Merge pull request #13739 from ioito/hotfix/qx-sku-init-2
fix(region): sku init
2022-03-21 12:52:07 +08:00
Zexi Li
e363c1f625 Merge pull request #13721 from zhaoxiangchun/fix/zxc-master
fix(host): fix guest nicStat  Metric in host
2022-03-21 12:51:03 +08:00
ioito
616f4b2958 fix(region): elastic search public connection 2022-03-21 12:09:14 +08:00
ioito
aefa35fd0a fix(region): sku init 2022-03-21 11:45:55 +08:00
Zexi Li
8eb752933d Merge pull request #13727 from ioito/hotfix/qx-sku-name
fix(region): sku name
2022-03-21 11:38:33 +08:00
Zexi Li
accda613aa Merge pull request #13734 from rainzm/ib/recovery_project
fix(region): get project id correctly when recovery guest
2022-03-21 11:26:32 +08:00
rainzm
48fb4e7c43 fix(region): get project id correctly when recovery guest 2022-03-21 11:03:09 +08:00
Zexi Li
6430db2fee Merge pull request #13730 from rainzm/ib/recovery_info
fix(region): use ServerCreateInput as instanceBackup.ServerConfig
2022-03-18 19:33:51 +08:00
rainzm
1082bcc6d6 fix(region): use ServerCreateInput as instanceBackup.ServerConfig 2022-03-18 19:21:25 +08:00
ioito
9ad9d99197 fix(region): sku name 2022-03-18 18:07:25 +08:00
Rain Zheng
b0e5edeaf2 fix(region): use original project to recovery from instance backup (#13725) 2022-03-18 17:08:45 +08:00
zhaoxiangchun
2bb35769e2 fix(host): fix guest nicStat Metric in host 2022-03-18 15:36:18 +08:00
Zexi Li
29162af90c Merge pull request #13718 from ioito/hotfix/qx-vpc-topology-schetags
fix(region): host schedtags with topology
2022-03-18 14:36:32 +08:00
ioito
c225b5b258 fix(region): host schedtags with topology 2022-03-18 14:10:37 +08:00
Zexi Li
67b8457682 Merge pull request #13715 from ioito/hotfix/qx-sku-init
fix(region): sku init
2022-03-18 11:51:53 +08:00
ioito
3f1814dd6e fix(region): sku init 2022-03-18 10:00:10 +08:00
Zexi Li
d942a19250 Merge pull request #13708 from ioito/hotfix/qx-gcp-sec
fix(region): google gcp and label
2022-03-17 21:25:50 +08:00
Zexi Li
1d86e03eb2 Merge pull request #13711 from swordqiu/hotfix/qj-host-deploy-dir-permission
fix: host deploy mkdir permission
2022-03-17 21:24:50 +08:00
Qiu Jian
dea8d03d96 fix: host deploy mkdir permission 2022-03-17 16:30:35 +08:00
ioito
03a248e8b7 fix(region): google gcp and label 2022-03-17 16:24:37 +08:00
Zexi Li
caa80f2cbb Merge pull request #13702 from ioito/hotfix/qx-cloudimage-sync
fix(region): sync with storagecachedimage status
2022-03-16 18:10:13 +08:00
Zexi Li
89e4147bb5 Merge pull request #13696 from ioito/hotfix/qx-cloudpods-err
fix(region): cloudpods error
2022-03-16 17:45:59 +08:00
Zexi Li
84138697dd Merge pull request #13699 from ioito/hotfix/qx-sync-owner-id
fix(region): sync owner id
2022-03-16 17:36:46 +08:00
Zexi Li
d951726c34 Merge pull request #13705 from rainzm/vmware/storage
feat(region,esxiagent): support specifying storage when creating a data disk
2022-03-16 17:36:10 +08:00
rainzm
cbee639b5c feat(region,esxiagent): support specifying storage when creating a data disk 2022-03-16 14:42:29 +08:00
ioito
191753a3a0 fix(region): sync with storagecachedimage status 2022-03-16 14:41:48 +08:00
ioito
b765110fd5 fix(region): sync owner id 2022-03-15 21:34:26 +08:00
ioito
a42fd8ca05 fix(region): cloudpods error 2022-03-15 20:19:58 +08:00
Zexi Li
218f36d996 Merge pull request #13693 from ioito/hotfix/qx-redis-project-sync
fix(region): redis project sync
2022-03-15 20:00:56 +08:00
ioito
1932844f22 fix(region): redis project sync 2022-03-15 19:50:27 +08:00
Zexi Li
ad30742a1c Merge pull request #13691 from zexi/db-checksum
Db checksum
2022-03-15 14:23:36 +08:00
Zexi Li
6756e49a8c fix(keystone): db_checksum_skip_init blacklist 2022-03-15 11:33:41 +08:00
wanyaoqi
c2c88f5ef8 fix(host/region): fix import servers from libvirt (#13681)
make servers_import_from_libvirt workable in container environment.
bindmount libvirt monitor dir to host container and use procutils read
guest xml configure.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-15 00:51:09 +08:00
屈轩
6a0ecc2940 fix(host): upload storage info with zone id (#13559) 2022-03-15 00:50:39 +08:00
Zexi Li
575d7fac7c feat(cloudcommon): db record checksum for consistency (#13679) 2022-03-14 23:30:11 +08:00
ioito
4b552395da fix(region): log export 2022-03-14 15:20:38 +08:00
Zexi Li
2450eba412 Merge pull request #13683 from ioito/hotfix/qx-random-sync
fix(region): remove random sync
2022-03-14 15:11:23 +08:00
ioito
ef0b7c2f12 fix(region): remove random sync 2022-03-14 10:32:47 +08:00
屈轩
2aa0d9fa03 fix(keystone): auth token error (#13061) 2022-03-12 16:52:55 +08:00
Zexi Li
5f6d180a11 Merge pull request #13677 from swordqiu/hotfix/qj-server-inherit-image-vdi-property
fix: server inherit the vdi_protocol of image property
2022-03-11 21:09:16 +08:00
Qiu Jian
43f9e6a19b fix: server inherit the vdi_protocol of image property 2022-03-11 19:45:39 +08:00
屈轩
844377b7f3 fix(glance): image save (#13673) 2022-03-11 16:16:10 +08:00
屈轩
50e93fd336 fix(region): google disk name (#13670) 2022-03-11 16:15:14 +08:00
Zexi Li
b9bae4245a Merge pull request #13643 from ioito/hotfix/qx-bingo-client-proxy
fix(region): bingo cloud request proxy
2022-03-11 10:18:40 +08:00
屈轩
4565337fac fix(climc): add purge splitable for action and cloudevent (#13663) 2022-03-10 23:41:34 +08:00
Zexi Li
6d038f7033 Merge pull request #13645 from ioito/hotfix/qx-nullable-colume-tag
fix(region): remove nullable tag
2022-03-10 19:36:46 +08:00
Zexi Li
85d3ba9887 Merge pull request #13659 from swordqiu/hotfix/qj-aws-s3-remove-leading-slash
fix: aws s3 object with leading slash
2022-03-10 18:50:59 +08:00
Zexi Li
adc2df368d Merge pull request #13667 from rainzm/host/image_lock
fix(host): avoid deadlock when fetch image fails
2022-03-10 18:50:19 +08:00
rainzm
ea47164a4d fix(host): avoid deadlock when fetch image fails 2022-03-10 18:36:27 +08:00
Qiu Jian
a9c9d01dcb fix: aws s3 object with leading slash 2022-03-10 10:59:39 +08:00
Zexi Li
0bb5d074e4 Merge pull request #13641 from rainzm/secret/network
optimization for class metadata and instance backup
2022-03-10 01:12:38 +08:00
Zexi Li
43d6bc0665 Merge pull request #13657 from ioito/hotfix/qx-host-guests
fix(region): host guest cnt for deleted
2022-03-10 01:11:06 +08:00
ioito
a147095bc2 fix(region): host guest cnt for deleted 2022-03-09 15:56:02 +08:00
Zexi Li
383f363e05 Merge pull request #13647 from ioito/hotfix/qx-hw-storage
fix(region): huawei storage type
2022-03-09 14:58:19 +08:00
Zexi Li
c54b921abc Merge pull request #13652 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): 3.9 release add Usage pull func
2022-03-09 14:57:55 +08:00
Zexi Li
7c68a59fe3 Merge pull request #13651 from rainzm/scheduler/init
fix(scheduler): init db after init auth
2022-03-09 14:57:11 +08:00
ioito
9da2e0e4a5 fix(region): huawei storage type 2022-03-09 14:45:28 +08:00
rainzm
ca4bdef869 fix(scheduler): init db after init auth 2022-03-09 14:30:14 +08:00
zhaoxiangchun
0103c1a81d fix(cloudmon): 3.9 release add Usage pull func 2022-03-09 14:27:08 +08:00
ioito
3dfdcd18fc fix(region): remove nullable tag 2022-03-09 11:49:59 +08:00
屈轩
e3b53ccf42 fix(region): show guest cnt for host (#13639) 2022-03-09 10:07:10 +08:00
ioito
ecf65ef6e7 fix(region): bingo cloud request proxy 2022-03-08 20:49:04 +08:00
rainzm
e2e19ba771 feat(region): try to restore to the original project when the instance backup is recoveryed 2022-03-08 19:04:18 +08:00
rainzm
af1f721f50 fix(region): get mountpoint from guestdisk not disk's metadata 2022-03-08 19:02:48 +08:00
rainzm
0dc3525091 feat(scheduler): class metadata ignore public system image 2022-03-08 14:49:28 +08:00
Zexi Li
68507a55f1 Merge pull request #13569 from ioito/feat/qx-bingocloud-op
feat(region): support bingocloud sync
2022-03-08 14:47:37 +08:00
Zexi Li
b55dd44e48 Merge pull request #13636 from rainzm/scalinggroup/create_fix
fix(region): add generate_name if not before validate guest creating data
2022-03-08 13:04:05 +08:00
Zexi Li
5ddc807737 Merge pull request #13638 from zexi/update-etcd-package-master
feat(vendor): update etcd package for master
2022-03-08 13:03:28 +08:00
Zexi Li
1c2a76cc76 feat(vendor): update etcd package for master 2022-03-08 10:52:23 +08:00
Zexi Li
23add10153 Merge pull request #13629 from zexi/isp-with-memory-filter
feat(region): instance snapshot with_memory filter
2022-03-08 10:40:47 +08:00
Zexi Li
58c3921a45 Merge pull request #13631 from rainzm/instancebackup/force_delete
Instancebackup force delete
2022-03-08 10:40:15 +08:00
Zexi Li
2945dab96e Merge pull request #13633 from ioito/hotfix/qx-skip-server
fix(region): allow skip server sync by system tags
2022-03-08 10:34:02 +08:00
rainzm
8ea28d77f4 fix(region): add generate_name if not before validate guest creating data 2022-03-07 18:39:43 +08:00
ioito
93f9784d02 fix(region): allow skip server sync by system tags 2022-03-07 17:44:07 +08:00
rainzm
7270d0f19b feat(region): support for forced deletion of instance backups 2022-03-07 17:38:41 +08:00
rainzm
c2be07be27 feat(climc): add DeleteWithParam 2022-03-07 17:16:52 +08:00
rainzm
1dac86a231 feat(region): check backup storage status before making backup 2022-03-07 17:15:59 +08:00
Zexi Li
30f2d41309 Merge pull request #13606 from swordqiu/hotfix/qj-disable-cache-for-oidc-auth-callback
fix: disable cache for oidc auth callback
2022-03-07 16:00:58 +08:00
Zexi Li
af5c427d65 Merge pull request #13620 from ioito/hotfix/qx-qcloud-disk-range
fix(region): qcloud disk range changed
2022-03-07 16:00:07 +08:00
Zexi Li
3b5989d264 Merge pull request #13624 from zexi/telgraf-raid-plugin-update
feat(telegraf-raid-plugin): update rootfs and image version
2022-03-07 15:59:15 +08:00
Zexi Li
35f631745a feat(region): instance snapshot with_memory filter 2022-03-07 15:58:31 +08:00
Zexi Li
046b37fafd feat(telegraf-raid-plugin): update rootfs and image version 2022-03-07 11:52:55 +08:00
ioito
13a61d0b79 fix(region): qcloud disk range changed 2022-03-07 11:12:35 +08:00
Rain Zheng
e11d9acbc9 Instancebackup/syncstatus (#13618)
* feat(region): add status in snapshot or save phase for instancebackup

* feat(region): add sync_status for instancebackup

* fix(region): ignore uefi support check when related property is empty

* feat(region): add syncstatus for backup storage

* fix(region): correct stage for InstanceBackupDeleteTask

* feat(climc): add syncstatus for backupstorage and instancebackup
2022-03-07 09:52:23 +08:00
ioito
885faa5020 feat(region): support bingocloud sync 2022-03-06 17:28:19 +08:00
Rain Zheng
7072e1798b fix(scheduledtask): treat hour and minute as utc time (#13610) 2022-03-06 17:07:49 +08:00
屈轩
004e4de0ce fix(region): rds project sync (#13613) 2022-03-06 17:07:04 +08:00
Zexi Li
2be3d48604 Merge pull request #13603 from ioito/hotfix/qx-lb-info
fix(region): expend length lb info
2022-03-06 11:07:09 +08:00
ioito
5d6a1f33ab fix(region): expend length lb info 2022-03-06 11:04:53 +08:00
Zexi Li
0571eda577 Merge pull request #13582 from ioito/hotfix/qx-project-role-metadata
fix(keystone, apigateway): project role with metadata
2022-03-06 10:20:51 +08:00
Zexi Li
3827b5c5d8 Merge pull request #13600 from ioito/hotfix/qx-azure-lb
fix(region): remote useless info of azure lb
2022-03-06 10:20:01 +08:00
ioito
8a02a0897a fix(region): remote useless info of azure lb 2022-03-06 10:02:25 +08:00
Qiu Jian
2204530dec fix: disable cache for oidc auth callback 2022-03-05 10:31:06 +08:00
Zexi Li
5f55625a23 Merge pull request #13596 from rainzm/ansible/requirements
fix(ansible): use the correct length value 'text'
2022-03-04 22:00:18 +08:00
rainzm
093353316e fix(ansible): use the correct length value 'text' 2022-03-04 16:05:09 +08:00
Zexi Li
1b0d4e4dfd Merge pull request #13593 from ioito/hotfix/qx-filter-by-manager
fix(region): external project filter by manager id
2022-03-04 12:28:19 +08:00
ioito
e31319e08c fix(region): external project filter by manager id 2022-03-04 12:02:40 +08:00
Zexi Li
54c5bb8bb2 Merge pull request #13577 from zexi/qemu-mem-snapshot
feat(host): server instance snapshot with memory
2022-03-04 10:17:11 +08:00
Zexi Li
5dc14f14eb Merge pull request #13573 from rainzm/secret/network
class metadata limit for vpc, wire and network
2022-03-03 21:01:15 +08:00
Zexi Li
36b02eaeae Merge pull request #13589 from rainzm/agentinstall/sshport
fix(region,devtool): get ssh port from 'servers/<id>/sshport' api
2022-03-03 21:00:06 +08:00
Zexi Li
540371495c Merge pull request #13584 from ioito/hotfix/qx-secgroup-merge
fix(region): not allow merge default secgroup
2022-03-03 20:59:14 +08:00
rainzm
842851dbaf fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 16:42:51 +08:00
Zexi Li
ef4653c18f Merge pull request #13578 from zexi/kvm-net-addr
fix(host): remove addr of qemu nic option
2022-03-03 16:25:22 +08:00
Zexi Li
74008ce998 Merge pull request #13581 from zexi/instance-snapshot-reset-validate
fix(region): instance snapshot reset should match self guest
2022-03-03 16:18:40 +08:00
ioito
01f289be04 fix(region): not allow merge default secgroup 2022-03-03 15:47:48 +08:00
ioito
229313d2d4 fix(keystone, apigateway): project role with metadata 2022-03-03 15:31:26 +08:00
Zexi Li
e5d801657b fix(region): instance snapshot reset should match self guest 2022-03-03 15:05:13 +08:00
Zexi Li
c0a0121d2b feat(host): server instance snapshot with memory 2022-03-03 13:53:11 +08:00
Zexi Li
a1355a8717 Merge pull request #13575 from swordqiu/hotfix/qj-host-update-sn
fix: host update sn
2022-03-03 09:29:38 +08:00
Zexi Li
49a742bfcf fix(host): remove addr of qemu nic option 2022-03-03 09:27:44 +08:00
Qiu Jian
0ae246f01d fix: host update sn 2022-03-02 18:57:02 +08:00
rainzm
ff02e8c3ea fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:26:49 +08:00
rainzm
59c32ff7d6 feat(region): increase classmetadata limit for vpc, wire, network and host
host will inherit wire's classmetadata when adding netif and netif is
admin type
2022-03-02 17:25:29 +08:00
Zexi Li
0558a305d6 Merge pull request #13570 from ioito/hotfix/qx-rbd-disk-path
fix(host): rbd disk path
2022-03-02 12:00:56 +08:00
ioito
b751b72c35 fix(host): rbd disk path 2022-03-02 11:41:35 +08:00
Zexi Li
f0d14fce4f Merge pull request #13566 from ioito/hotfix/qx-notify-panic
fix(notify): add panic notify
2022-03-01 19:18:42 +08:00
Zexi Li
f6bbd05a30 Merge pull request #13563 from rainzm/notify/release
fix(region): expiration notification works for resources after renewal
2022-03-01 19:06:39 +08:00
rainzm
bdf71b228a fix(region): expiration notification works for resources after renewal 2022-03-01 17:22:01 +08:00
ioito
6f32a0281a fix(notify): add panic notify 2022-03-01 17:17:29 +08:00
Zexi Li
6b8c4147b6 Merge pull request #13555 from ioito/hotfix/qx-user-info-totp
fi(apigateway): user info with totp
2022-03-01 11:15:04 +08:00
Zexi Li
8120401da2 Merge pull request #13561 from ioito/hotfix/qx-global-vpc-delete-cmd
fix(climc): add cmd for global vpc
2022-03-01 11:07:49 +08:00
Zexi Li
1d471a5eff Merge pull request #13552 from ioito/hotfix/qx-reset-password-base64
fix(yunionapi): reset password with base64
2022-03-01 11:04:13 +08:00
ioito
80f5b7d8d5 fix(climc): add cmd for global vpc 2022-02-28 15:24:52 +08:00
Zexi Li
10b1d9bdd3 Merge pull request #13529 from ioito/feat/qx-aws-rds
fix(region): aws rds create
2022-02-28 15:14:36 +08:00
ioito
a6e495e552 fi(apigateway): user info with totp 2022-02-28 11:15:09 +08:00
ioito
d74d1803bf fix(yunionapi): reset password with base64 2022-02-28 10:52:55 +08:00
Zexi Li
5056a90185 Merge pull request #13293 from rainzm/bugfix/template_create
fix(glance): convert image in s3 storage
2022-02-28 10:48:20 +08:00
Zexi Li
bee17fc674 Merge pull request #13551 from swordqiu/hotfix/qj-update-README-ssh-key-no-passphrase
fix: update README indicate that ssh private key without passphrase
2022-02-28 09:58:14 +08:00
Zexi Li
d95f9ddfaa feat(region): add server-cpuset-cores cmd to get pinned and usable cores (#13548) 2022-02-26 21:43:51 +08:00
Qiu Jian
27989e2ab8 fix: update README indicate that ssh private key without passphrase 2022-02-26 16:43:25 +08:00
屈轩
142b36bbd0 fix(region): project tags filter for usages (#13471) 2022-02-26 14:28:04 +08:00
rainzm
71baf8268f fix(glance): re-convert as long as subformat is not active
之前的写法会导致saving或者save_fail状态的subformat,不会再次
转换。而且镜像是否需要转换,由ImageCheckTask决定了,ImageConvertTask
只需要注意不重新转换active的subformat就好了,save失败的subformat
也应该设置状态为save_fail。
2022-02-25 18:49:29 +08:00
ioito
3b93455076 fix(region): aws rds create 2022-02-25 18:31:46 +08:00
Zexi Li
47bde1987c Merge pull request #13536 from ioito/hotfix/qx-nutanix-nic-sync
fix(region): nutanix nic sync
2022-02-25 16:39:11 +08:00
Zexi Li
9bfd62325b Merge pull request #13543 from zexi/arm-duplicate-video0
fix(host): arm kvm duplicate video0 device
2022-02-25 10:14:11 +08:00
Zexi Li
00b201482f Merge pull request #13539 from ioito/hotfix/qx-cli-help
fix(climc): add --help for other cli
2022-02-24 23:48:48 +08:00
Zexi Li
6346b500cc fix(host): arm kvm duplicate video0 device 2022-02-24 23:16:54 +08:00
Zexi Li
226d2d5161 Merge pull request #13541 from rainzm/virtual/postcreate
fix(region): call parent's PostCreate in virtualResourceBase.PostCreate
2022-02-24 19:08:37 +08:00
rainzm
a7f6a1f3df fix(region): call parent's PostCreate in virtualResourceBase.PostCreate 2022-02-24 18:50:44 +08:00
ioito
c1d963dcc4 fix(climc): add --help for other cli 2022-02-24 16:15:12 +08:00
rainzm
b7a7ded193 fix(glance): convert image in s3 storage 2022-02-24 15:56:21 +08:00
ioito
7fc78f0dc0 fix(region): nutanix nic sync 2022-02-24 14:34:49 +08:00
Zexi Li
e3ac849f1f Merge pull request #13510 from swordqiu/hotfix/qj-allow-idp-initiated-saml-login
fix: allow IDP initiated SAML login
2022-02-24 11:53:31 +08:00
Zexi Li
ce13a7a11b Merge pull request #13480 from ioito/hotfix/qx-climc-help
fix(climc): support --help args
2022-02-24 11:53:14 +08:00
ioito
8354483e59 fix(climc): support --help args 2022-02-24 11:14:10 +08:00
Zexi Li
49979bafcc Merge pull request #13531 from rainzm/scalinggroup/opt
fix(region): init scalinggroup controller in correct order
2022-02-24 10:17:58 +08:00
rainzm
3645328503 fix(region): init scalinggroup controller in correct order 2022-02-23 20:13:18 +08:00
Zexi Li
b5d8522f37 feat(region,host): server cpuset supported (#13527)
* feat(region,host): server cpuset supported

* feat(region,host): cpuset remove
2022-02-23 16:07:01 +08:00
Qiu Jian
af6e968980 fix: allow IDP initiated SAML login 2022-02-23 15:28:30 +08:00
Zexi Li
06e3c9cc81 Merge pull request #13525 from rainzm/instancebackup/import_export
feat(region,host): support packing and unpacking instancebackup
2022-02-23 14:54:33 +08:00
rainzm
77ea86fafe feat(region,host): support packing and unpacking instancebackup 2022-02-23 10:04:07 +08:00
Zexi Li
fef3222dc0 Merge pull request #13518 from ioito/hotfix/qx-vm-nic-sync
fix(region): vm nic sync with network
2022-02-22 19:23:10 +08:00
Rain Zheng
1af62d9c18 fix(region): delete disk actually when cleaning disks (#13521) 2022-02-22 17:58:51 +08:00
Zexi Li
df2b0bc711 Merge pull request #13515 from ioito/hotfix/qx-host-info
fix(host): host register
2022-02-22 15:53:14 +08:00
ioito
2ba4cac402 fix(host): host register 2022-02-22 15:29:06 +08:00
Zexi Li
7857ccae6c Merge pull request #13511 from ioito/hotfix/qx-ceph-df
fix(host): ceph df with total_bytes
2022-02-22 11:03:51 +08:00
ioito
63b02556bc fix(host): ceph df with total_bytes 2022-02-22 09:47:16 +08:00
ioito
7daaac743d fix(region): vm nic sync with network 2022-02-22 09:40:44 +08:00
Zexi Li
b8ec34ad7a fix(region): live migrate skip_kernel_check api (#13508) 2022-02-21 21:22:17 +08:00
Zexi Li
56224527a9 Merge pull request #13496 from ioito/hotfix/qx-host-log
fix(host): add host online offline log
2022-02-21 18:11:13 +08:00
Zexi Li
7bc3f83bf2 Merge pull request #13493 from zexi/host-image-build-flags
fix(host-image): update build flags
2022-02-21 18:10:10 +08:00
Zexi Li
92baa395ab Merge pull request #13499 from swordqiu/feature/qj-time-limited-policy
feature: policy limited by time range
2022-02-21 18:09:45 +08:00
Zexi Li
aebf274c8e Merge pull request #13502 from ioito/hotfix/qx-log-purge
fix(climc): log purge
2022-02-21 18:09:13 +08:00
Zexi Li
5cabe11265 Merge pull request #13504 from swordqiu/hotfix/qj-create-local-user-nil-pointer-error
fix: user create user nil pointer error
2022-02-21 16:53:15 +08:00
Qiu Jian
7d776f37ae fix: user create user nil pointer error 2022-02-21 12:08:47 +08:00
ioito
4be6e1bd00 fix(climc): log purge 2022-02-21 10:46:25 +08:00
Qiu Jian
5f322b440e feature: policy limited by time range 2022-02-20 01:18:22 +08:00
ioito
7b4702ec97 fix(host): add host online offline log 2022-02-18 18:30:05 +08:00
Zexi Li
201d4c3ca2 fix(host-image): update build flags 2022-02-18 10:51:54 +08:00
Zexi Li
9ce60bb405 Merge pull request #13489 from rainzm/backupstorage/public
feat(climc): add public and private for backupstorage
2022-02-18 09:50:24 +08:00
Zexi Li
95734c554b Merge pull request #13478 from ioito/hotfix/qx-server-create-with-disk-desc
fix(climc): server create with disk desc
2022-02-18 09:49:53 +08:00
Zexi Li
af7480d08f Merge pull request #13485 from zexi/update-baremetal-base-img
fix(baremetal): update baremetal-base image version
2022-02-18 09:48:00 +08:00
Zexi Li
9eb83b4a86 fix(baremetal): update baremetal-base image version 2022-02-17 22:07:52 +08:00
rainzm
004917bac3 feat(climc): add public and private for backupstorage 2022-02-17 19:22:24 +08:00
Zexi Li
924fd39ea9 Merge pull request #13486 from rainzm/guest/real_delete
fix(region): send SERVER_DELETE event notify when guest is actually deleted
2022-02-17 17:55:06 +08:00
rainzm
7d7700f6e3 fix(region): send SERVER_DELETE event notify when guest is actually deleted 2022-02-17 17:42:36 +08:00
Zexi Li
5088248482 Merge pull request #13475 from swordqiu/hotfix/qj-not-init-bios-input
fix: not initialize input BIOS
2022-02-17 11:58:53 +08:00
Zexi Li
55c3fe52ae Merge pull request #13481 from rainzm/secret/resource
Fix for secret/resource
2022-02-16 20:24:46 +08:00
rainzm
6de3e63cb5 fix: add common Inherit 2022-02-16 20:14:49 +08:00
rainzm
6761c7de9a fix(image): add independent PerformChangeOwner for image 2022-02-16 20:13:19 +08:00
Zexi Li
807459a49d Merge pull request #13371 from rainzm/secret/resource
Classification of resources
2022-02-16 17:51:51 +08:00
rainzm
338ecead35 fix(scheduler): add GetAllClassMedata in mock test 2022-02-16 17:44:32 +08:00
rainzm
5bec11dc85 feat: add GetAllClassMetadata for tenantcache 2022-02-16 17:31:15 +08:00
ioito
75a4c042b2 fix(climc): server create with disk desc 2022-02-16 16:23:38 +08:00
Qiu Jian
5d7be16df1 fix: not initialize input BIOS 2022-02-16 14:22:54 +08:00
Zexi Li
0364119116 Merge pull request #13474 from zexi/server-create-count
fix(region): swagger server create count ignore
2022-02-16 13:25:03 +08:00
Zexi Li
c615156040 fix(region): swagger server create count ignore 2022-02-16 13:17:58 +08:00
Zexi Li
1af7b772da Merge pull request #13468 from ioito/hotfix/qx-image-statistics
fix(glance): image statistics
2022-02-16 10:27:09 +08:00
Zexi Li
ce005e93d8 Merge pull request #13457 from ioito/hotfix/qx-ldap-sync-log
fix(keyston): add sync log for ldap
2022-02-15 19:04:15 +08:00
Zexi Li
b66541db9b Merge pull request #13463 from ioito/hotfix/qx-tag-export
fix(region): tag key export
2022-02-15 19:02:38 +08:00
Zexi Li
c64f7749a7 fix(baremetal): grub msdos partition detected (#13466) 2022-02-15 18:58:01 +08:00
ioito
86e7c2b661 fix(glance): image statistics 2022-02-15 18:47:24 +08:00
rainzm
42a8eb837b feat: add project with class metadata 2022-02-15 18:22:01 +08:00
ioito
ee6f40bd83 fix(region): tag key export 2022-02-15 18:15:50 +08:00
Zexi Li
7e5b3c890f Merge pull request #13460 from ioito/hotfix/qx-tdsql-tag
fix(region): qcloud tdsql tags
2022-02-15 17:54:26 +08:00
ioito
bc3bfc75de fix(region): qcloud tdsql tags 2022-02-15 17:30:16 +08:00
ioito
2a2c38fb8a fix(keyston): add sync log for ldap 2022-02-15 15:46:28 +08:00
Zexi Li
5ea56b08c9 Merge pull request #13451 from swordqiu/hotfix/qj-classic-network-mtu-issue
fix: class network mtu should consider default_mtu
2022-02-15 15:25:07 +08:00
Zexi Li
73c456b31c Merge pull request #13454 from zexi/host-arm-usb1
fix(host): aarch64 vm usb id duplicated
2022-02-15 15:24:17 +08:00
Zexi Li
16571c758c fix(host): aarch64 vm usb id duplicated 2022-02-15 11:34:30 +08:00
Qiu Jian
14ebb3427c fix: class network mtu should consider default_mtu 2022-02-15 09:55:55 +08:00
Zexi Li
d5e0ffe2ce Merge pull request #13442 from swordqiu/hotfix/qj-filter-server-by-vip
fix: filter server by vip or eip of vip
2022-02-15 09:52:25 +08:00
Qiu Jian
ff58d7c677 fix: filter server by vip or eip of vip 2022-02-15 03:10:29 +08:00
Zexi Li
070dae3464 Merge pull request #13446 from ioito/hotfix/qx-qemu-arg
fix(host): arm qemu remove -no-kvm
2022-02-14 21:31:43 +08:00
Zexi Li
a832e0ba0b Merge pull request #13443 from ioito/hotfix/qx-s3-object-acl
fix(region): minio s3 object set acl error
2022-02-14 18:59:04 +08:00
ioito
39b05a5264 fix(host): arm qemu remove -no-kvm 2022-02-14 17:46:53 +08:00
ioito
6ecd4d78fd fix(region): minio s3 object set acl error 2022-02-14 15:20:36 +08:00
Zexi Li
70e4d6f604 Merge pull request #13439 from swordqiu/hotfix/qj-delete-disk-skip-recycle
fix: delete disk skip recycle_bin
2022-02-14 09:59:33 +08:00
Zexi Li
9078134e34 Merge pull request #13409 from ioito/hotfix/qx-external-project-manager-id
fix(region): associate manager with external project
2022-02-14 09:58:51 +08:00
Qiu Jian
1ad4f9e7d0 fix: delete disk skip recycle_bin 2022-02-13 20:45:55 +08:00
Zexi Li
b591275698 Merge pull request #13426 from swordqiu/hotfix/qj-delay-block-stream
fix: delay block stream after server start
2022-02-12 21:15:14 +08:00
Zexi Li
ca55915711 Merge pull request #13430 from swordqiu/feature/qj-need-reset-password
feature: local user add need_reset_password field
2022-02-12 21:14:34 +08:00
Zexi Li
15a9bdf7ba Merge pull request #13433 from swordqiu/feature/qj-customizable-totp-issuer
feature: customizable totp issuer string
2022-02-12 21:14:00 +08:00
Zexi Li
fe9497a000 Merge pull request #13436 from swordqiu/hotfix/qj-missing-instance-type-for-cloned-server
fix: missing instance type for cloned server
2022-02-12 21:13:31 +08:00
Qiu Jian
314af41466 fix: missing instance type for cloned server 2022-02-12 06:17:06 +08:00
Qiu Jian
b14c447752 feature: local user add need_reset_password field 2022-02-12 02:20:54 +08:00
Qiu Jian
134d2821b6 feature: customizable totp issuer string 2022-02-12 02:16:00 +08:00
Qiu Jian
410efc1bc3 fix: delay block stream after server start 2022-02-12 00:32:28 +08:00
Zexi Li
d00dc04897 Merge pull request #13422 from ioito/feat/qx-bingo-cloud
feat(region): bingo cloud cli
2022-02-11 20:13:42 +08:00
ioito
af57c8cc1f feat(region): bingo cloud cli 2022-02-11 18:25:33 +08:00
Zexi Li
3e3ce71c60 fix(region): vm_sync_isolated_device i18n (#13419) 2022-02-11 12:16:14 +08:00
Zexi Li
9a2e657c59 feat(baremetal): grub http boot initrd and kernel (#13414) 2022-02-11 12:14:34 +08:00
Zexi Li
af7a28233b Merge pull request #13415 from ioito/hotfix/qx-action-log
fix(region): action log
2022-02-11 11:37:54 +08:00
ioito
db461d037b fix(region): action log 2022-02-11 11:11:25 +08:00
Zexi Li
fe406b7a06 Merge pull request #13406 from ioito/hotfix/qx-waf-rule-sync
fix(region): skip first sync waf rule
2022-02-10 18:26:37 +08:00
Zexi Li
fc5fcdf390 Merge pull request #13411 from swordqiu/feature/qj-policy-import-export
feature: policy import/export utils
2022-02-10 18:25:39 +08:00
Qiu Jian
40dfc281f0 feature: policy import/export utils 2022-02-10 18:13:19 +08:00
ioito
bb8df2b6ea fix(region): associate manager with external project 2022-02-10 17:16:33 +08:00
ioito
3f62f676cf fix(region): skip first sync waf rule 2022-02-10 16:23:01 +08:00
Zexi Li
814f7117a8 fix(baremetal): add boot_loader syslinux and grub option (#13401) 2022-02-09 20:36:22 +08:00
Zexi Li
da5b825458 Merge pull request #13404 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix  Apsara elb metric
2022-02-09 17:40:24 +08:00
Zexi Li
13b4ecfccf Merge pull request #13398 from ioito/hotfix/qx-hw-routetable
fix(region): huawei routetable
2022-02-09 17:35:29 +08:00
zhaoxiangchun
495cdd240f fix(cloudmon): fix Apsara elb metric 2022-02-09 17:25:59 +08:00
rainzm
d502c574b4 feat(climc): add (set-)class-metadata 2022-02-09 15:26:42 +08:00
rainzm
73f8987d02 fix(region): remove secret level resource 2022-02-09 15:26:42 +08:00
rainzm
4ba8d257ba feat(region): add class-metadata for standaloneAnonResource 2022-02-09 15:26:42 +08:00
rainzm
a75d5f3099 feat(region): check class_metadate when attach disk to guest 2022-02-09 15:26:42 +08:00
rainzm
e037738700 feat(region,image): inherit between resources
host -> guest -> disk -> image/backup/snapshot
          |
instance image/backup/snapshot -> image/backup/snapshot
2022-02-09 15:26:42 +08:00
rainzm
a97341a42e feat(scheduler): add class_metadata predicate 2022-02-09 15:26:42 +08:00
rainzm
9a2348e918 feat(region,image): cachedimage inherits the class metadata of image 2022-02-09 15:26:42 +08:00
rainzm
27d70e9a30 feat(region,image): add SecretResourceBase 2022-02-09 15:26:42 +08:00
rainzm
eaa03232d9 feat(region): add metadata prefix 'cls'
Such tags have inherited and isolated properties
2022-02-09 15:26:42 +08:00
ioito
b09109e671 fix(region): huawei routetable 2022-02-09 14:07:09 +08:00
Zexi Li
6d615bad96 Merge pull request #13396 from ioito/hotfix/qx-sparse-file
fix(host): sparse file seek
2022-02-09 10:40:10 +08:00
ioito
9fec1e478b fix(host): sparse file seek 2022-02-09 10:30:55 +08:00
Zexi Li
af5595dba3 Merge pull request #13392 from zexi/fix-host-migrate-remove-tls-obj
fix(host): make tls-creds empty when no tls migrate
2022-02-08 16:44:51 +08:00
Zexi Li
c525dfd2c5 fix(host): make tls-creds empty when no tls migrate 2022-02-08 16:18:59 +08:00
Zexi Li
1a94fe73db Merge pull request #13389 from zexi/batch-migrate-tls-opt
fix(region): batch migrate use enable_tls_migration option
2022-02-08 16:13:04 +08:00
Zexi Li
0418e5f3a5 fix(region): batch migrate use enable_tls_migration option 2022-02-08 15:10:18 +08:00
Zexi Li
ac268bf260 Merge pull request #13388 from zexi/automated-cherry-pick-of-#13386-upstream-master
Automated cherry pick of #13386: fix(host): dist prepare migrate_certs
2022-02-08 12:36:09 +08:00
Zexi Li
47691fae67 fix(host): dist prepare migrate_certs 2022-02-08 12:31:04 +08:00
Zexi Li
d8e3cb0e56 Merge pull request #13382 from swordqiu/hotfix/qj-qemu-img-force-share
fix: qemu-img info force share (-U)
2022-02-08 10:09:38 +08:00
Qiu Jian
a7fc6a287e fix: qemu-img info force share (-U) 2022-02-08 02:25:42 +08:00
Zexi Li
0f039e866e feat(region,keystone): add enable_tls_migration config (#13379) 2022-02-07 15:24:21 +08:00
Zexi Li
5350cf6c5b Merge pull request #13376 from swordqiu/feature/qj-native-hugepage-cleanup
feature: cleanup native hugepage codes
2022-02-07 14:19:52 +08:00
Qiu Jian
97866bfee0 feature: cleanup native hugepage codes 2022-02-06 17:58:16 +08:00
Jian Qiu
2c45629b50 feature: baremetal tftp send customized files according to a file map (#13374)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-02-03 21:21:17 +08:00
Rain Zheng
1aaa8ad1b0 fix(host): judge whether the resource exists correctly (#13368) 2022-01-29 00:58:04 +08:00
屈轩
72a5e80a8d fix(region): optimized public image sync (#13355) 2022-01-29 00:56:31 +08:00
Jian Qiu
d66b1c125d fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:17 +08:00
屈轩
acc30d02d4 fix(region): update go mod (#13364) 2022-01-28 15:28:26 +08:00
屈轩
a7c2c251bf fix(common): tenant cache name (#13366) 2022-01-28 15:28:05 +08:00
屈轩
25c75187ce fix(host,region): add action log (#13302) 2022-01-28 11:17:40 +08:00
屈轩
ce83a5319c fix(region): set sys disk index to 0 (#13322) 2022-01-28 11:16:32 +08:00
屈轩
1475e23270 fix(region): 支持同时指定项目切自动创建项目 (#13359) 2022-01-28 11:13:13 +08:00
Zexi Li
b213be0ede Merge pull request #13341 from ioito/feat/qx-spare-file
feat(host): transfer sparse file over network
2022-01-27 15:33:41 +08:00
Zexi Li
f74410129f Merge pull request #13348 from ioito/hotfix/qx-vm-secgroup
fix(region): clear vm secgroup
2022-01-27 15:28:47 +08:00
Zexi Li
51590f3bd2 Merge pull request #13339 from zexi/tls-migration
Tls migration
2022-01-27 15:28:11 +08:00
ioito
a73e530cc1 feat(host): transfer sparse file over network 2022-01-27 14:07:16 +08:00
Zexi Li
1cdafb1ded Merge pull request #13345 from ioito/hotfix/qx-nutanix-disk
fix(region): nutanix disk
2022-01-27 12:25:28 +08:00
ioito
ae1956f0a9 fix(region): clear vm secgroup 2022-01-27 11:16:27 +08:00
Zexi Li
6a71444b27 feat(region,host): tls live migrating 2022-01-27 10:32:54 +08:00
ioito
b078e4b278 fix(region): nutanix disk 2022-01-27 10:16:20 +08:00
Zexi Li
105b0d2381 Merge pull request #13342 from swordqiu/feature/qj-support-fangde-os
feature: support fangde OS
2022-01-27 01:37:01 +08:00
Qiu Jian
791a9fb371 feature: support fangde OS 2022-01-26 23:27:01 +08:00
Zexi Li
4264d8774f feat(util): add tls util 2022-01-26 19:22:57 +08:00
Zexi Li
993f09e652 Merge pull request #13336 from ioito/hotfix/qx-huawei-rtb
fix(region): huawei rtb name
2022-01-26 19:07:59 +08:00
Zexi Li
daa1c802a9 Merge pull request #13332 from ioito/hotfix/qx-nutanix-image
fix(region): nutanix image and vpc vlan id
2022-01-26 18:38:32 +08:00
Zexi Li
6cf7d69c2a Merge pull request #13327 from rainzm/scheduledtask/timezone
fix(scheduledtask): format time from utc_offset
2022-01-26 17:48:28 +08:00
ioito
c3d37c7f5f fix(region): huawei rtb name 2022-01-26 16:05:01 +08:00
ioito
f5119fe743 fix(region): nutanix image and vpc vlan id 2022-01-26 15:48:11 +08:00
Zexi Li
5b8341550c Merge pull request #13330 from swordqiu/hotfix/qj-qemu-4.2.0-compat
fix: support qemu 4.2.0
2022-01-26 13:56:20 +08:00
Qiu Jian
d9a2c291b5 fix: support qemu 4.2.0 2022-01-26 13:45:10 +08:00
rainzm
260af5090c fix(scheduledtask): format time from utc_offset 2022-01-26 12:01:41 +08:00
Zexi Li
3f39b3175e Merge pull request #13314 from ioito/hotfix/qx-org-switch
fix(keystone): add global setting
2022-01-26 10:47:24 +08:00
Zexi Li
d75509f887 Merge pull request #13325 from rainzm/bugfix/bakcup
Bugfix/bakcup
2022-01-26 10:46:55 +08:00
Zexi Li
3b31abdc66 Merge pull request #13319 from ioito/hotfix/qx-nutanix-disk-type
fix(region): nutanix disk type
2022-01-26 10:29:47 +08:00
rainzm
8d684d3758 fix(region): marshall correctly SDiskBackup.DiskConfig 2022-01-25 17:51:17 +08:00
rainzm
55e0220d46 fix(host): init local backup dir 2022-01-25 17:05:06 +08:00
ioito
e914b035c1 fix(region): nutanix disk type 2022-01-25 16:51:28 +08:00
Zexi Li
5e405af576 Merge pull request #13316 from ioito/hotfix/qx-nutanix-vcpu
fix(region): nutanix instance vcpu
2022-01-25 14:57:50 +08:00
ioito
41fd940a44 fix(region): nutanix instance vcpu 2022-01-25 14:45:53 +08:00
ioito
00628a0757 fix(keystone): add global setting 2022-01-25 14:15:02 +08:00
Zexi Li
992ca0d49d Merge pull request #13308 from swordqiu/hotfix/qj-log-allow-view-events-of-owner-project
fix: allow view events of owner objects
2022-01-25 11:17:53 +08:00
Zexi Li
897d98f056 Merge pull request #13311 from ioito/hotfix/qx-nutanix-misc
fix(region): nutanix misc fix
2022-01-25 11:17:18 +08:00
ioito
96b24245b3 fix(region): nutanix misc fix 2022-01-25 11:10:00 +08:00
Qiu Jian
93d611b4a2 fix: allow view events of owner objects 2022-01-25 02:06:13 +08:00
Zexi Li
a870550831 Merge pull request #13299 from ioito/hotfix/qx-nutanix-net-vlan-id
fix(region): nutanix duplicate vlan id
2022-01-24 23:29:46 +08:00
Zexi Li
0faa403ce1 Merge pull request #13305 from swordqiu/hotfix/qj-rng-device-use-urandom
fix: rng device should use urandom instead of random
2022-01-24 23:26:44 +08:00
Qiu Jian
02725606d9 fix: rng device should use urandom instead of random 2022-01-24 23:01:10 +08:00
Zexi Li
6b9af1730d Merge pull request #13239 from rainzm/vmbackup/init
Instance/Disk Backup Support
2022-01-24 18:13:38 +08:00
ioito
70de3f4127 fix(region): nutanix duplicate vlan id 2022-01-24 14:17:38 +08:00
Zexi Li
e6b222072a Merge pull request #13290 from swordqiu/hotfix/qj-baremetal-match-by-empty-uuid
fix: baremetal mismatch with empty Guid
2022-01-24 10:46:39 +08:00
Qiu Jian
072beffe2f fix: baremetal mismatch with empty Guid 2022-01-22 18:50:58 +08:00
Zexi Li
bb2a7c979f Merge pull request #13216 from ioito/feat/qx-nutanix-op
feat(region): support nutanix
2022-01-22 18:23:42 +08:00
Zexi Li
bd914db5a6 Merge pull request #13288 from rainzm/bugfix/template_create
fix(region): add generate_name before validate creating data
2022-01-22 16:42:41 +08:00
rainzm
745d8123d4 fix(region): optimize codes
1. do not ignore err
2. replace jsonutils.JSONObject with specific structure
3. delete redundant code
4. fix edge problems
2022-01-22 15:35:04 +08:00
Zexi Li
397362db45 Merge pull request #13282 from ioito/hotfix/qx-list-result
fix(common): always return next_marker
2022-01-22 12:19:37 +08:00
Zexi Li
ac3cf07fb7 Merge pull request #13285 from swordqiu/hotfix/qj-arm-image-default-uefi
fix: arm image support UEFI by default
2022-01-22 12:18:56 +08:00
Qiu Jian
bac734f548 fix: arm image support UEFI by default 2022-01-21 19:04:04 +08:00
ioito
4e4e471b47 fix(common): always return next_marker 2022-01-21 18:43:42 +08:00
ioito
9f708cec0c feat(region): support nutanix 2022-01-21 14:04:06 +08:00
Zexi Li
b65e3eb512 fix(host): enable qemu log (#13278) 2022-01-21 13:19:35 +08:00
Zexi Li
9e71dd0f0f Merge pull request #12901 from zexi/qemu-4.0.1
feat(host): qemu 4.0.1 supported
2022-01-21 11:58:03 +08:00
Zexi Li
b9a6158460 Merge pull request #13274 from zexi/qemu-cmdline-out-range
fix(hostman): cmdline option range panic
2022-01-21 11:51:00 +08:00
Zexi Li
acb31312af fix(hostman): cmdline option range panic 2022-01-21 11:45:24 +08:00
Zexi Li
b5676cc249 fix(host): qmpmon typo 2022-01-21 11:41:01 +08:00
Zexi Li
43f4800cb8 fix(hostman): cmdline option range panic 2022-01-21 11:40:25 +08:00
Zexi Li
b932984ba6 feat(host): qemu 4.0.1 supported 2022-01-21 11:15:25 +08:00
Zexi Li
e81b7b6a62 Merge pull request #13265 from swordqiu/hotfix/qj-batch-migrate-in-parrallel
fix: batch migrate in parrallel
2022-01-21 10:12:40 +08:00
Zexi Li
1b54ec53c7 Merge pull request #13269 from swordqiu/feature/qj-log-to-syslog-server
feature: support log to remote syslog server
2022-01-21 10:12:05 +08:00
Zexi Li
6eb6584bc7 Merge pull request #13268 from zexi/qemu-migrate-args
Qemu migrate args
2022-01-21 09:55:46 +08:00
Zexi Li
78f186371c feat(host,region): unify target qemu commandline from source 2022-01-21 00:37:32 +08:00
Qiu Jian
85913affc6 feature: support log to remote syslog server 2022-01-21 00:08:45 +08:00
Qiu Jian
4ee2ffafb7 fix: batch migrate in parrallel 2022-01-20 21:40:20 +08:00
Zexi Li
555e071aa8 Merge pull request #13260 from rainzm/bugfix/isolated-device
fix(host): Stop the retry of purge when the target does not exist
2022-01-20 21:09:06 +08:00
Zexi Li
559331564c Merge pull request #13263 from zhaoxiangchun/fix/zxc-master
fix(cloudmon): fix cloudmon GetResourceByOperator
2022-01-20 21:08:42 +08:00
zhaoxiangchun
902755cf5e fix(cloudmon): fix cloudmon GetResourceByOperator 2022-01-20 19:00:30 +08:00
rainzm
a063376f86 fix(host): Stop the retry of purge when the target does not exist 2022-01-20 18:03:50 +08:00
Zexi Li
5bf99cc9a3 Merge pull request #13257 from ioito/hotfix/qx-tag-cc
fix(common): metadata update key
2022-01-20 17:43:37 +08:00
ioito
cb9bcd9586 fix(common): metadata update key 2022-01-20 15:16:43 +08:00
rainzm
e2017f1f75 fix(region): add generate_name before validate creating data 2022-01-20 15:00:56 +08:00
Zexi Li
1808fbf69a Merge pull request #13243 from rainzm/notify/autorenew
feat(notify): judge whether to enable automatic renewal when the expiration notice is given
2022-01-20 09:53:59 +08:00
Zexi Li
313912cfab Merge pull request #13226 from swordqiu/hotfix/qj-policy-tag-filter-usages
fix: usages should be filtered by policy tags
2022-01-20 09:45:18 +08:00
Zexi Li
f1f9b8f6cf Merge pull request #13240 from swordqiu/hotfix/qj-fix-web-security-defects
fix: add header x-xss-protection
2022-01-20 09:44:28 +08:00
Zexi Li
0c6c85227c Merge pull request #13253 from swordqiu/hotfix/qj-vpcagent-nil-pointer-panic2
fix: vpcagent nil pointer panic
2022-01-20 09:43:45 +08:00
Zexi Li
14a17af189 fix(baremetal): raid ssd disk as firstly root disk (#13246) 2022-01-20 00:41:49 +08:00
Zexi Li
8967db0624 Merge pull request #13249 from ioito/hotfix/qx-region-info
fix(apigateway): add is forget login user option
2022-01-19 20:06:14 +08:00
ioito
9a67cf837e fix(apigateway): add is forget login user option 2022-01-19 20:00:03 +08:00
Qiu Jian
8f4243adfd fix: vpcagent nil pointer panic 2022-01-19 19:17:13 +08:00
rainzm
6893749dde fix(region,notify): add create, delete and sync notification of loadbalancerbackendgroup 2022-01-19 19:17:01 +08:00
rainzm
3b5186127f feat(notify): judge whether to enable automatic renewal when the expiration notice is given 2022-01-19 17:16:49 +08:00
rainzm
d8611811b5 fix(region): set status creating for instance backup when creating 2022-01-19 14:48:17 +08:00
Qiu Jian
ead9115b6f fix: add header x-xss-protection 2022-01-19 12:55:51 +08:00
rainzm
342a220a2d feat(climc): add climc command for instance/disk backup 2022-01-19 12:04:34 +08:00
rainzm
3502a8074f feat(region): support instance backup
Instance backup is a logical collection of multiple disk backups
2022-01-19 12:04:34 +08:00
rainzm
5c6ba0d750 feat(region, host): support disk backup
1. create backup for disk
2. create disk from backup
3. recovery disk directly
4. delete backup
2022-01-19 12:04:27 +08:00
rainzm
3c2b1a45d1 fix(cloudcommon): splice notifyurl correctly 2022-01-19 11:35:30 +08:00
Zexi Li
444e530683 Merge pull request #13235 from ioito/hotfix/qx-vpc-tag
fix(region): vpc tag sync
2022-01-19 11:01:14 +08:00
ioito
5bcf3acccc fix(region): vpc tag sync 2022-01-19 10:57:43 +08:00
Zexi Li
88823c092f Merge pull request #13232 from ioito/hotfix/qx-lb-bandwidth-fix
fix(region): qcloud lb bandwidth
2022-01-19 00:43:41 +08:00
ioito
424f52a6c8 fix(region): qcloud lb bandwidth 2022-01-18 22:13:25 +08:00
Zexi Li
310defe8b4 Merge pull request #13227 from swordqiu/hotfix/qj-list-joint-nil-pointer
fix: list join resource nil pointer access
2022-01-18 16:56:36 +08:00
Zexi Li
99415746af Merge pull request #13231 from zexi/automated-cherry-pick-of-#13229-upstream-master
Automated cherry pick of #13229: feat(build): make glance-base image
2022-01-18 16:46:57 +08:00
Zexi Li
fdd64fbda9 feat(build): make glance-base image 2022-01-18 16:22:55 +08:00
Qiu Jian
70cc42963d fix: list join resource nil pointer access 2022-01-18 09:16:17 +08:00
Zexi Li
dc621cd2c5 fix(hostman): config BONDING_OPTS for ifcfg-bondx (#13223) 2022-01-18 02:46:38 +08:00
Qiu Jian
8dbf972f17 fix: usages should be filered by policy tags 2022-01-18 02:45:49 +08:00
Zexi Li
8a71fccdd7 Merge pull request #13217 from swordqiu/feature/qj-full-sync-project-domain-meta
fix: full sync of project and domain metadata
2022-01-18 00:32:31 +08:00
Qiu Jian
d6476c6374 fix: full sync of project and domain metadata 2022-01-17 21:54:57 +08:00
Zexi Li
8887389c70 Merge pull request #13219 from ioito/hotfix/qx-vpc-network-tags
fix(region): sync tags for vpc and network
2022-01-17 20:39:54 +08:00
ioito
ada6d9c179 fix(region): sync tags for vpc and network 2022-01-17 20:36:19 +08:00
Zexi Li
6e19e6fe6e Merge pull request #13213 from zexi/wire-create-bw
fix(region): create wire input bw deprecated
2022-01-17 18:38:46 +08:00
Zexi Li
2ce7a52e28 fix(region): create wire input bw deprecated 2022-01-17 14:49:14 +08:00
Zexi Li
f4375a5d14 Merge pull request #13203 from ioito/hotfix/qx-cidr-filter
fix(region): add cidr filter for route table
2022-01-17 10:09:42 +08:00
Zexi Li
8f431806ee Merge pull request #13208 from swordqiu/automated-cherry-pick-of-#13207-upstream-master
Automated cherry pick of #13207: fix: handle exception that qemu quit or cancel migrate during migration
2022-01-17 10:09:14 +08:00
Zexi Li
50d33b8f74 Merge pull request #13209 from swordqiu/feature/qj-support-dhcp-option-82
feature: support dhcp relay information option 82
2022-01-17 10:08:10 +08:00
Qiu Jian
14f0abb0c3 feature: support dhcp relay information option 82 2022-01-17 01:05:54 +08:00
Qiu Jian
e18da15479 fix: handle exception that qemu quit or cancel migrate during migration 2022-01-16 15:33:37 +08:00
ioito
4a576f1323 fix(region): add cidr filter for route table 2022-01-15 16:12:31 +08:00
Zexi Li
4935993b85 Merge pull request #13200 from zhaoxiangchun/fix/zxc-master
fix(common): ListItemFilter func exec in the end
2022-01-15 10:41:52 +08:00
zhaoxiangchun
032750b0e8 fix(common): ListItemFilter func exec in the end
1.ListItemFilter 中如果有group by 操作(meter服务),如果使用框架解析filter参数,
会把filter 解析加入到 having结构中。
2022-01-15 10:24:17 +08:00
Zexi Li
29b8b123a5 Merge pull request #13196 from zhaoxiangchun/fix/zxc-master
fix(monitor): alerting resourece filter by scope
2022-01-14 10:33:12 +08:00
Zexi Li
385c8d6092 Merge pull request #13193 from ioito/feat/qx-nutanix
feat(region): add nutanix sync
2022-01-13 19:09:12 +08:00
zhaoxiangchun
7d56ec2a17 fix(monitor): alerting resourece filter by scope 2022-01-13 18:44:18 +08:00
ioito
e43caa33b4 feat(region): add nutanix sync 2022-01-13 18:07:34 +08:00
Zexi Li
f914400c34 Merge pull request #13187 from zhaoxiangchun/fix/zxc-master
fix(s3gateway): delete dbinit
2022-01-13 10:34:37 +08:00
Zexi Li
5d5890a1e5 Merge pull request #13168 from ioito/hotfix/qx-worker-task-list
fix(region): show worker and tasks list by service type
2022-01-13 10:28:52 +08:00
Zexi Li
f789ded902 Merge pull request #13188 from ioito/hotfix/qx-wire-manager
fix(region): wire statusinfras
2022-01-13 10:27:59 +08:00
ioito
2630c21802 fix(region): wire statusinfras 2022-01-13 10:04:22 +08:00
zhaoxiangchun
b4ab87c861 fix(s3gateway): delete dbinit 2022-01-12 18:25:58 +08:00
Zexi Li
a8f5517f2e Merge pull request #13185 from zexi/bm-megaraid-perccli
fix(baremetal): perccli image update
2022-01-11 18:51:02 +08:00
Zexi Li
2ef2ebb365 fix(baremetal): perccli image update 2022-01-11 18:23:09 +08:00
Zexi Li
a2e6abcfed Merge pull request #13167 from zexi/bm-megaraid-perccli
[WIP] feat(baremetal): megaraid perccli supported
2022-01-11 17:28:48 +08:00
Zexi Li
e35fdb266b feat(baremetal): megaraid perccli supported 2022-01-11 17:27:52 +08:00
Zexi Li
5474f9b390 Merge pull request #13183 from zexi/automated-cherry-pick-of-#13180-upstream-master
Automated cherry pick of #13180: feat(scheduler): log CheckDisksAllocable skipped storage
2022-01-11 11:21:33 +08:00
Zexi Li
d6db54f9e1 feat(scheduler): log CheckDisksAllocable skipped storage 2022-01-11 11:20:43 +08:00
Zexi Li
b2d513b1f1 Merge pull request #13170 from swordqiu/automated-cherry-pick-of-#13169-upstream-master
Automated cherry pick of #13169: fix: guest sync status persistent block_stream status
2022-01-11 10:31:56 +08:00
Zexi Li
a9eec346f7 Merge pull request #13176 from swordqiu/hotfix/qj-snapshot-and-clone-event-notes
fix: add snapshot_and_clone event notes
2022-01-11 10:30:56 +08:00
Qiu Jian
d81d6cc368 fix: guest sync status persistent block_stream status 2022-01-11 10:20:57 +08:00
ioito
5633e3778b fix(region): show worker and tasks list by service type 2022-01-11 09:49:12 +08:00
Zexi Li
c9bdb3a9e6 Merge pull request #13125 from zexi/migrate-kernel-check
fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:28 +08:00
Qiu Jian
425f7c5f91 fix: add snapshot_and_clone event notes 2022-01-11 09:28:41 +08:00
Zexi Li
29d1b3eaa6 Merge pull request #13139 from zexi/schedulder-bm-uefi
feat(scheduler): baremetal uefi image filter
2022-01-11 09:26:37 +08:00
Zexi Li
35c9a7653a Merge pull request #13171 from swordqiu/hotfix/qj-ceph-clone-across-pool
fix: ceph clone image across pool should use pool of target image
2022-01-11 09:23:04 +08:00
Qiu Jian
9eb91a4b95 fix: ceph clone image across pool should use pool of target image 2022-01-11 02:56:21 +08:00
Zexi Li
037fc1cd5a Merge pull request #13165 from rainzm/restartnetwork/blockstream
fix(region): reset status to block_stream after restarting network
2022-01-10 15:35:13 +08:00
rainzm
0d5642ea72 fix(region): reset status to block_stream after restarting network 2022-01-10 15:28:58 +08:00
Zexi Li
f232e8e90c Merge pull request #13158 from ioito/hotfix/qx-vm-remove-update
fix(region): kvm vm no need remote update
2022-01-10 15:08:38 +08:00
Zexi Li
748aacb65e Merge pull request #13163 from rainzm/restartnetwork/blockstream
feat(region): allow restart network when guest in block stream status
2022-01-10 14:55:46 +08:00
rainzm
1d4a7445f9 feat(region): allow restart network when guest in block stream status 2022-01-10 14:44:55 +08:00
ioito
447240cb5a fix(region): kvm vm no need remote update 2022-01-10 11:06:27 +08:00
Zexi Li
8777eb2b60 feat(scheduler): baremetal uefi image filter 2022-01-10 10:43:19 +08:00
Jian Qiu
d1a270baaa fix: not using MarshalAll for output jsonobject (#13156)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:30 +08:00
Jian Qiu
a8f3d54259 fix: vpcagent access group panic (#13146)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:42 +08:00
Zexi Li
07d25018c7 Merge pull request #13153 from swordqiu/hotfix/qj-windows-hostname-limited-to-15-chars
fix: windows server name cannot be longer than 15 chars
2022-01-09 21:30:35 +08:00
Qiu Jian
a229cc3cec fix: windows server name cannot be longer than 15 chars 2022-01-09 19:37:41 +08:00
Zexi Li
eac221344c Merge pull request #13148 from swordqiu/feature/qj-perform-image-probe
feature: add API for image perform probe
2022-01-09 14:37:12 +08:00
Zexi Li
ec26a562d9 Merge pull request #13150 from swordqiu/hotfix/qj-spice-args-fix
fix: usb id in spice command args conflict with usb-xhci
2022-01-09 14:36:21 +08:00
Qiu Jian
0859eded3f fix: usb id in spice command args conflict with usb-xhci 2022-01-08 02:28:43 +08:00
Qiu Jian
140b1ee005 feature: add API for image perform probe 2022-01-08 02:01:00 +08:00
Zexi Li
5764f631cb Merge pull request #13143 from ioito/hotfix/qx-cloudevent-ski-init-data
fix(cloudevent): skip cloudevent init data
2022-01-07 22:42:13 +08:00
ioito
3928a4c228 fix(cloudevent): skip cloudevent init data 2022-01-07 19:33:16 +08:00
Zexi Li
e9016592f8 Merge pull request #13141 from zexi/batch-migrate-cpu-check
refix(region): skip_cpu_check for batch migrate api
2022-01-07 16:31:12 +08:00
Zexi Li
39885b6cb0 fix(region): skip_cpu_check for batch migrate api 2022-01-07 15:48:26 +08:00
Zexi Li
b3a633b2f8 Merge pull request #13136 from swordqiu/hotfix/qj-detach-network-i18n
fix: add detach network i18n
2022-01-06 18:52:29 +08:00
Qiu Jian
92e3b1dba5 fix: add detach network i18n 2022-01-06 11:24:41 +08:00
Zexi Li
78ae625c5e Merge pull request #13132 from swordqiu/hotfix/qj-fetch-iso-img-properties
fix: fetch image properties from iso properly
2022-01-05 22:06:41 +08:00
Zexi Li
98b2534614 Merge pull request #13129 from ioito/hotfix/qx-image-not-found-err-details
fix(region): image not found details error
2022-01-05 22:05:13 +08:00
Zexi Li
476e853ca4 Merge pull request #13134 from zexi/isolated-device-purge
fix(host): purge isolated_device not work
2022-01-05 17:59:10 +08:00
Zexi Li
10e460c39d fix(host): purge isolated_device not work 2022-01-05 17:34:40 +08:00
Qiu Jian
548d6a900f fix: fetch image properties from iso properly 2022-01-05 16:40:11 +08:00
ioito
4fb6833502 fix(region): image not found details error 2022-01-05 11:55:38 +08:00
Zexi Li
b704adce55 Merge pull request #13126 from zexi/isodev-probe
fix(host): unplugged isolated devices probe not deleted
2022-01-05 10:42:17 +08:00
Zexi Li
a79b8bb73e fix(host): qemu usb passthrough option convert to int 2022-01-04 20:28:12 +08:00
Zexi Li
7492da80c3 fix(region,scheduler): live migrate target host kernel version check 2022-01-04 18:42:20 +08:00
Zexi Li
4158671cc5 fix(host): unplugged isolated devices probe not deleted 2022-01-04 18:36:35 +08:00
Zexi Li
be9c1760cd Merge pull request #13123 from ioito/hotfix/qx-qemu-block-dev
Hotfix/qx qemu block dev
2022-01-04 17:09:30 +08:00
ioito
2bfdc5fe75 fix(host): migrate progress 2022-01-04 15:58:36 +08:00
Zexi Li
ea9728502c Merge pull request #13120 from rainzm/guest_create/eip
fix(region): check whether ipProvider is nil
2022-01-04 14:35:10 +08:00
rainzm
0a52b0e373 fix(region): check whether ipProvider is nil 2022-01-04 11:45:30 +08:00
Zexi Li
c43dc47748 Merge pull request #13117 from swordqiu/hotfix/qj-set-default-gc-thresh
fix: host tune system set default arp gc threshold
2022-01-04 11:44:58 +08:00
Qiu Jian
c0ddbbac83 fix: host tune system set default arp gc threshold 2022-01-04 11:00:05 +08:00
Zexi Li
2d222700df Merge pull request #13113 from swordqiu/hotfix/qj-qemu-img-convert-hang
fix: qemu-img convert may hang on aarach64
2022-01-04 09:35:44 +08:00
Zexi Li
62c79877b8 Merge pull request #13115 from swordqiu/hotfix/qj-fix-vpc-mtu
fix: automatic set ovsbridge MTU, consistent MTU settings
2022-01-04 09:35:13 +08:00
Zexi Li
098f06a46c Merge pull request #13111 from swordqiu/hotfix/qj-migrate-change-host-id
fix: update server desc host_id after migration
2022-01-04 09:34:13 +08:00
Qiu Jian
2a5e04abed fix: automatic set ovsbridge MTU, consistent MTU settings 2022-01-04 00:19:02 +08:00
Qiu Jian
ca10cc1bef fix: qemu-img convert may hang on aarach64 2022-01-03 02:52:57 +08:00
Qiu Jian
690bc4c3d1 fix: update server desc host_id after migration 2022-01-02 12:28:30 +08:00
Jian Qiu
9fa6696e3c feature: vip support (#13020)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:32 +08:00
Zexi Li
3555090f41 Merge pull request #13109 from ioito/hotfix/qx-glance-progress
fix(glance): add progress for image save
2022-01-01 13:49:22 +08:00
Zexi Li
3f34f18a6c Merge pull request #13107 from ioito/hotfix/qx-lb-bandwidth
fix(region): qcloud lb support bandwidth
2022-01-01 13:48:40 +08:00
ioito
1a828d1d87 fix(glance): add progress for image save 2021-12-31 18:10:21 +08:00
ioito
244d643680 fix(host): qemu block device 2021-12-31 17:36:40 +08:00
ioito
d5a19885ca fix(region): qcloud lb support bandwidth 2021-12-31 15:46:16 +08:00
Zexi Li
6176260927 Merge pull request #13103 from swordqiu/feature/qj-climc-add-storage-ceph-run
feature: climc add storage-ceph-run to ease ceph diag
2021-12-31 12:28:30 +08:00
Zexi Li
9bcc8f195f Merge pull request #13104 from ioito/hotfix/qx-migrate-complete-set-progress
fix(host): clean progress when migrate complete
2021-12-31 10:30:17 +08:00
ioito
6bcb02f098 fix(host): clean progress when migrate complete 2021-12-31 10:25:51 +08:00
Rain Zheng
9b6278b5e0 fix(yunionconf): register metadata model (#13100) 2021-12-31 06:09:42 +08:00
屈轩
9f92441349 fix(host): add progress for migrate (#13101) 2021-12-31 06:09:16 +08:00
Qiu Jian
b96960d5ae feature: climc add storage-ceph-run to ease ceph diag 2021-12-31 06:07:26 +08:00
Zexi Li
71c646128a Merge pull request #13081 from ioito/hotfix/qx-storage-status
fix(region): storage add unmount status
2021-12-30 17:47:50 +08:00
Zexi Li
95f70c4160 Merge pull request #13098 from ioito/hotfix/qx-block-complete
fix(host): guest clone progress complete
2021-12-30 16:58:41 +08:00
ioito
ef7c263bb2 fix(host): guest clone progress complete 2021-12-30 16:52:09 +08:00
Zexi Li
f2bcc85772 Merge pull request #13093 from zexi/isolated-dev-list
feat(region): isolated devices filter by guest_id
2021-12-30 13:36:06 +08:00
Zexi Li
4cb791c352 Merge pull request #13095 from swordqiu/hotfix/qj-start-block-stream-detach-startup-task
fix: start block stream detach qemu startup task
2021-12-30 13:19:14 +08:00
Qiu Jian
0dbc69c617 fix: start block stream detach qmu startup task 2021-12-30 12:48:16 +08:00
Zexi Li
0107c9e8c1 Merge pull request #12773 from zexi/baremetal-grub
feat(baremetal): aarch64 supported and grub as bootloader
2021-12-30 12:00:17 +08:00
Zexi Li
67e5fd618b feat(region): isolated devices filter by guest_id 2021-12-30 11:46:38 +08:00
Zexi Li
6bcacb67c6 Merge pull request #13091 from zexi/guest-isolated-dev
feat(compute): server probe isolated devices supported
2021-12-30 11:27:12 +08:00
Zexi Li
d9c9057813 feat(compute): server probe isolated devices supported 2021-12-30 11:05:34 +08:00
Zexi Li
5b23f4c1bf Merge pull request #13071 from ioito/hotfix/qx-keystone-policy
fix(region): keystone default policy
2021-12-30 10:45:24 +08:00
Zexi Li
9ebe178778 Merge pull request #13049 from ioito/hotfix/qx-sync-by-resource
fix(region): sync resource by network
2021-12-30 10:42:33 +08:00
Zexi Li
9a4a02078c Merge pull request #13089 from zexi/isolated-dev-typo
fix(region): isolated device reserved memory default typo
2021-12-30 10:27:13 +08:00
Zexi Li
2ba910b27d fix(region): isolated device reserved memory default typo 2021-12-30 10:25:41 +08:00
Zexi Li
de1d23514d Merge pull request #13085 from zexi/migrate-status
fix(region): not override migrating status when manually sync status
2021-12-30 10:04:21 +08:00
Zexi Li
0d00627bed Merge pull request #13087 from swordqiu/hotfix/qj-migration-improvements-20211229
fix: several improvements on qemu migration:
2021-12-30 10:04:01 +08:00
Qiu Jian
41ca44f02e fix: several improvements on qemu migration: 1. enable qemu debug log if
host log_level is debug. 2. disable rng device by default. 3. handle
resume fail post migration
2021-12-30 02:02:35 +08:00
Zexi Li
56cf35fa4d Merge pull request #13078 from ioito/hotfix/qx-server-template-validate
fix(region): server templete validate
2021-12-30 01:07:01 +08:00
Zexi Li
7e38f44a04 fix(region): not override migrating status when manually sync status 2021-12-29 23:15:15 +08:00
Zexi Li
72f14851a7 Merge pull request #13073 from ioito/hotfix/qx-lb-filter-by-owner
fix(region): lb filter by owner
2021-12-29 19:24:51 +08:00
Zexi Li
f2645bd1e3 Merge pull request #13063 from rainzm/guestimage/fix
fix(region): distinguish guests_ Root and data of image sub image
2021-12-29 19:23:07 +08:00
Zexi Li
72baf16c7e Merge pull request #13083 from zexi/isolated-dev-hotplug
fix(region,host): sync usb isolated device error not display
2021-12-29 17:42:27 +08:00
Zexi Li
afd5f0f220 fix(region,host): sync usb isolated device error not display 2021-12-29 17:38:56 +08:00
Zexi Li
f78e4696ac Merge pull request #13076 from ioito/hotfix/qx-wire-topology-name
fix(region): wire topology name
2021-12-29 17:38:05 +08:00
Zexi Li
cf3037b8f6 Merge pull request #13079 from swordqiu/hotfix/qj-empty-disk-storage-type
fix: fail to fetch disk storage_type
2021-12-29 17:36:59 +08:00
ioito
9781a06bc3 fix(region): storage add unmount status 2021-12-29 17:30:21 +08:00
Qiu Jian
e8c684ecfb fix: fail to fetch disk storage_type 2021-12-29 17:23:32 +08:00
ioito
e090460c20 fix(region): server templete validate 2021-12-29 17:17:23 +08:00
ioito
c07b865ad5 fix(region): wire topology name 2021-12-29 16:36:04 +08:00
ioito
f9ce860436 fix(region): lb filter by owner 2021-12-29 14:50:48 +08:00
ioito
16d2ed2924 fix(region): keystone default policy 2021-12-29 11:20:57 +08:00
Zexi Li
889c94196c Merge pull request #13056 from ioito/hotfix/qx-sku-sync-zone-id
fix(region): ignore invalid zone id skus
2021-12-29 11:13:29 +08:00
Zexi Li
4e18752fa9 Merge pull request #13067 from ioito/hotfix/qx-vpc-topology-owner-status
fix(region): add owner status for vpc topology
2021-12-28 19:48:09 +08:00
Zexi Li
3de7e2e1f5 Merge pull request #13069 from zexi/device-model-len
fix(region): set isolated_device model 512 length
2021-12-28 19:42:43 +08:00
Zexi Li
0052e9db83 fix(region): set isolated_device model 512 length 2021-12-28 19:41:07 +08:00
ioito
0b67893d92 fix(region): add owner status for vpc topology 2021-12-28 19:40:39 +08:00
Zexi Li
78466d5a06 Merge pull request #13026 from zexi/usb-passthrough
feat(region,host): usb passthrough
2021-12-28 19:21:29 +08:00
Zexi Li
8423aa9e63 feat(region,host): usb passthrough 2021-12-28 19:05:42 +08:00
rainzm
af7b675b42 fix(region): distinguish guests_ Root and data of image sub image 2021-12-28 18:28:51 +08:00
Zexi Li
ad587af395 Merge pull request #13059 from ioito/hotfix/qx-vpc-topology-scope
fix(region): vpc topology scope with system
2021-12-28 16:27:51 +08:00
ioito
25f71da5ec fix(region): vpc topology scope with system 2021-12-28 16:19:05 +08:00
ioito
767e0ffa36 fix(region): ignore invalid zone id skus 2021-12-28 14:39:20 +08:00
Zexi Li
2184959ef2 Merge pull request #13050 from ioito/hotfix/qx-aws-secgroup-name
fix(region): aws security group name generate
2021-12-28 10:56:23 +08:00
Zexi Li
cac10f815a Merge pull request #13008 from ioito/hotfix/qx-secgroup-purge
fix(region): secgroup purge with cloudaccount deleted
2021-12-28 10:55:33 +08:00
Zexi Li
ce403aea25 Merge pull request #13053 from ioito/hotfix/qx-json-to-string
fix(region): json to string fix
2021-12-28 10:53:51 +08:00
ioito
ec453b0413 fix(region): json to string fix 2021-12-28 10:41:26 +08:00
ioito
9006e0225c fix(region): aws security group name generate 2021-12-28 09:56:09 +08:00
ioito
21ad3c093b fix(region): sync resource by network 2021-12-27 17:49:42 +08:00
Zexi Li
c974692962 Merge pull request #13047 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): vpc topology data fix
2021-12-27 15:57:24 +08:00
ioito
ad68340d63 fix(region): vpc topology data fix 2021-12-27 15:30:23 +08:00
Zexi Li
f29426fc4d Merge pull request #13042 from swordqiu/hotfix/qj-migrate-progress-update
Hotfix/qj migrate progress update
2021-12-27 12:16:59 +08:00
Zexi Li
2e56910e4d Merge pull request #13031 from rainzm/email/delete_config
fix(notify): real delete for email and mobile
2021-12-27 12:14:01 +08:00
Zexi Li
94e446af7b Merge pull request #13010 from ioito/hotfix/qx-vm-stop-status
fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新
2021-12-27 12:12:49 +08:00
Zexi Li
00bd35904a Merge pull request #13036 from swordqiu/hotfix/qj-enable-kvm-pv-eoi-by-default
fix: enable kvm_pv_eoi by default
2021-12-27 12:10:20 +08:00
Zexi Li
4596e92fe0 Merge pull request #13040 from swordqiu/hotfix/qj-hostinfo-onfail-not-return
fix: hostinfo onfail should return immediately
2021-12-27 12:08:53 +08:00
Zexi Li
9b9187bd83 Merge pull request #13045 from ioito/hotfix/qx-vpc-topology-for-host
fix(region): add vpc host topology
2021-12-27 11:08:02 +08:00
ioito
8433fc5ffb fix(region): add vpc host topology 2021-12-27 10:48:39 +08:00
屈轩
67a0073b2f fix(region): host name validate with generate name (#12980) 2021-12-26 09:02:28 +08:00
Qiu Jian
255be9e2c3 fix: add migrate progress metrics 2021-12-26 00:15:16 +08:00
Qiu Jian
c367780fd1 feature: migrate progress update 2021-12-25 15:47:19 +08:00
yunion-ci-robot
5c8b9b0215 Merge pull request #13033 from ioito/hotfix/qx-vm-clone-speed
fix(host): add vm clonse progress and mbps
2021-12-25 15:32:39 +08:00
Qiu Jian
34aeb755d1 fix: hostinfo onfail should return immediately 2021-12-25 14:47:54 +08:00
yunion-ci-robot
c004bc0748 Merge pull request #13030 from swordqiu/hotfix/qj-arm-supported-max-cpu-64
fix: arm supported maxcpu<64
2021-12-24 21:58:41 +08:00
Qiu Jian
71eb0fd87a fix: enable kvm_pv_eoi by default 2021-12-24 21:45:22 +08:00
ioito
db981a146b fix(host): add vm clonse progress and mbps 2021-12-24 20:03:31 +08:00
rainzm
021fc5647e fix(notify): real delete for email and mobile 2021-12-24 18:52:23 +08:00
Zexi Li
b3eafddcf2 Merge pull request #13018 from swordqiu/hotfix/qj-hide-systemd-detection-logs
fix: hide systemd detection logs
2021-12-24 18:24:07 +08:00
Zexi Li
6e79c52195 Merge pull request #13027 from ioito/hotfix/qx-google-secgroup
fix(region): google security group fix
2021-12-24 18:23:05 +08:00
Zexi Li
96b86c83c7 Merge pull request #13015 from ioito/hotfix/qx-vpc-tags
fix(region): vpc create with tags
2021-12-24 18:11:06 +08:00
Zexi Li
1a37eb70bf Merge pull request #13024 from zexi/automated-cherry-pick-of-#13022-upstream-master
Automated cherry pick of #13022: fix(region): gpu fuzzy match model name exactly
2021-12-24 18:10:02 +08:00
Zexi Li
a3078c79f4 Merge pull request #13013 from ioito/hotfix/qx-vpc-peer-connection-sync
fix(region): 对等连接同步状态恢复对端id
2021-12-24 18:09:22 +08:00
Qiu Jian
e9d0ffa102 fix: arm supported maxcpu<64 2021-12-24 17:58:21 +08:00
ioito
3f51296ae7 fix(region): google security group fix 2021-12-24 17:36:50 +08:00
Zexi Li
c8ba25b154 fix(region): gpu fuzzy match model name exactly 2021-12-24 14:54:10 +08:00
Qiu Jian
e4bf8dc3ab fix: hide systemd detection logs 2021-12-23 20:30:21 +08:00
ioito
f4b7c31653 fix(region): vpc create with tags 2021-12-23 19:38:15 +08:00
ioito
595fd8b3a9 fix(region): 对等连接同步状态恢复对端id 2021-12-23 18:27:49 +08:00
ioito
e1615e42ac fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新 2021-12-23 18:02:36 +08:00
Zexi Li
dfda9d51b0 Merge pull request #13005 from ioito/hotfix/qx-server-sku-scheduler-sync
fix(region): sku scheduler sync
2021-12-23 16:19:27 +08:00
ioito
0cdda0c629 fix(region): secgroup purge with cloudaccount deleted 2021-12-23 16:18:05 +08:00
ioito
0685c2f737 fix(region): sku scheduler sync 2021-12-23 14:50:17 +08:00
Zexi Li
97f7220a7d Merge pull request #13003 from rainzm/network/restart_fix
Fixex for restart network
2021-12-23 14:45:55 +08:00
rainzm
9737f52387 fix(region): Make function calls to the region instead of API calls in task
The mechanism of task resource locking will lead to the blocking and blocking of API calls
2021-12-23 14:36:45 +08:00
rainzm
d7f1fb242f feat(region, host): allow open forward with specified remote addr 2021-12-23 14:31:50 +08:00
Zexi Li
ab4d1b863f feat(baremetal): support aarch64 and use grub as bootloader 2021-12-23 14:07:11 +08:00
Zexi Li
277bf5f611 Merge pull request #12987 from ioito/hotfix/qx-auto-switch-server-sku
fix(region): auto switch server sku when create vm fail
2021-12-23 10:33:29 +08:00
Zexi Li
7fcd5699dc Merge pull request #13001 from swordqiu/hotfix/qj-migrate-no-event-notes
fix: migrate no event notes
2021-12-23 09:59:27 +08:00
Zexi Li
8b603dd723 Merge pull request #12998 from swordqiu/hotfix/qj-fix-migrate-timeout-error
fix: migrate timeout error
2021-12-23 09:58:51 +08:00
Zexi Li
1da7ac8f97 Merge pull request #12995 from swordqiu/hotfix/qj-migrate-timeout-error
fix: 1. migration timeout applicable to shared storage migrate only
2021-12-23 09:58:21 +08:00
Qiu Jian
8d53a3d8e2 fix: migrate no event notes 2021-12-23 07:58:24 +08:00
Qiu Jian
54d0b2bff7 fix: migrate timeout error 2021-12-23 07:54:18 +08:00
Qiu Jian
9856331086 fix: 1. migration timeout applicable to shared storage migrate only
2. migration timeout logic error
3. cancel host download handler timeout
4. add enable_vm_uuid option
5. add migrate event log notes
2021-12-23 01:34:30 +08:00
Zexi Li
dc2e97f8ae Merge pull request #12993 from rainzm/webhook/fix_2
fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc
2021-12-22 22:31:33 +08:00
rainzm
664fe61a4e fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc 2021-12-22 21:38:55 +08:00
Zexi Li
a11ed2275f Merge pull request #12991 from rainzm/webhook/fix_1
Webhook fix for notify
2021-12-22 19:45:36 +08:00
rainzm
a100d4f245 feat(notify): add topic 'resource release due 30 day' 2021-12-22 19:21:33 +08:00
rainzm
0a4f087786 fix(notify): add missing webhook notification 2021-12-22 19:21:30 +08:00
Zexi Li
7f28a5db2b Merge pull request #12986 from zexi/webconsole-interface-cast
fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo
2021-12-22 17:07:07 +08:00
ioito
9e0bb622b0 fix(region): auto switch server sku when create vm fail 2021-12-22 17:05:25 +08:00
Zexi Li
a655cd723f fix(webconsole): ISessionData convert to *session.RemoteConsoleInfo 2021-12-22 17:02:21 +08:00
Zexi Li
f04fdf10f0 Merge pull request #12969 from rainzm/network/restart
feat(region): restart network after change ipaddr for guest
2021-12-22 16:56:33 +08:00
Zexi Li
412e2cfea0 Merge pull request #12981 from ioito/hotfix/qx-vpc-peer-connection
fix(region): qcloud vpc peer connection
2021-12-22 15:52:22 +08:00
Zexi Li
beaa15cd11 Merge pull request #12984 from ioito/hotfix/qx-vpc-topology
fix(region): add vpc topology
2021-12-22 15:51:45 +08:00
Zexi Li
b8c73a1d77 Merge pull request #12983 from zexi/build-host-image
feat(host-image): build host-image
2021-12-22 15:36:21 +08:00
ioito
ae5dbb19c6 fix(region): add vpc topology 2021-12-22 15:09:09 +08:00
Zexi Li
1b34d8c102 feat(host-image): build host-image 2021-12-22 15:08:39 +08:00
ioito
0cc1da8552 fix(region): qcloud vpc peer connection 2021-12-22 14:17:30 +08:00
Zexi Li
96c8776ef4 Merge pull request #12978 from zexi/build-baremetal-base
fix(build): move librbd librados to baremetal-agent-base image
2021-12-22 11:15:10 +08:00
Zexi Li
f447dde7e5 fix(build): move librbd librados to baremetal-agent-base image 2021-12-22 11:11:49 +08:00
rainzm
7aaf6aee3b feat(region): restart network after change ipaddr for guest 2021-12-22 11:07:45 +08:00
Zexi Li
c748418975 Merge pull request #12958 from ioito/hotfix/qx-qcloud-secgroup-rule-sync
fix(region): qcloud secgroup rule sync
2021-12-22 10:36:18 +08:00
Zexi Li
95f5ed6ed1 Merge pull request #12961 from ioito/hotfix/qx-aws-capability
fix(region): aws capability
2021-12-22 10:28:52 +08:00
Zexi Li
0bc5eab42f Merge pull request #12965 from ioito/hotfix/qx-disabled-brands-empty-array
fix(region): show empty array disabled brands
2021-12-22 10:27:40 +08:00
Zexi Li
9401545bc0 Merge pull request #12963 from ioito/hotfix/qx-vmware-fix-ip
fix(region): vmware sync fix ip
2021-12-22 10:26:04 +08:00
Zexi Li
aeaec0c1e7 Merge pull request #12967 from ioito/hotfix/qx-aws-eip-dissociate
fix(region): aws eip dissociate
2021-12-22 10:25:24 +08:00
Zexi Li
39b6a502fd Merge pull request #12971 from ioito/hotfix/qx-secgroup-filter
fix(region): security group cache filter
2021-12-22 10:24:31 +08:00
Zexi Li
ab4d88587b Merge pull request #12956 from swordqiu/hotfix/qj-system-server-no-vpc-network
fix: system server randomly lose connectivity in vpc network
2021-12-22 10:24:14 +08:00
Qiu Jian
bb193f7941 fix: system server randomly lose connectivity in vpc network 2021-12-22 02:43:23 +08:00
Zexi Li
54e0c33047 fix(host): update vlan (#12974) 2021-12-22 00:59:03 +08:00
Zexi Li
5fd55d9008 optimize(host-image,fetcherfs): download disk speed too slow (#12976) 2021-12-22 00:56:49 +08:00
ioito
34a031938d fix(region): security group cache filter 2021-12-21 21:26:01 +08:00
ioito
9e5229bc53 fix(region): aws eip dissociate 2021-12-21 19:39:46 +08:00
ioito
a7db932c28 fix(region): vmware sync fix ip 2021-12-21 16:35:16 +08:00
ioito
82fa2676e3 fix(region): show empty array disabled brands 2021-12-21 16:06:43 +08:00
ioito
f92d775382 fix(region): aws capability 2021-12-21 14:31:59 +08:00
ioito
ec1695a48c fix(region): qcloud secgroup rule sync 2021-12-21 14:20:03 +08:00
Zexi Li
ea59c62d6a Merge pull request #12909 from ioito/hotfix/qx-block-job-speed
fix(host): add speed info for block-job
2021-12-20 15:59:18 +08:00
ioito
d62d6abf7a fix(host): add speed info for block-job 2021-12-20 15:52:45 +08:00
Zexi Li
9e71aef9dd Merge pull request #12929 from ioito/hotfix/qx-secgroup-name-generate
fix(region): security group name generate for every cloud platform
2021-12-20 13:02:53 +08:00
Zexi Li
56ac545396 Merge pull request #12941 from zhaoxiangchun/feature/zxc-cloudmon-master
fix(cloudmon): 飞天云监控中拉取metadata信息
2021-12-20 13:02:25 +08:00
Zexi Li
a0d16b5ade Merge pull request #12955 from swordqiu/hotfix/qj-show-ovn-mapped-ip-in-host-list
fix: show host ovn_mapped_ip_addr
2021-12-20 13:02:03 +08:00
Zexi Li
7207464d78 Merge pull request #12942 from ioito/hotfix/qx-scope-resource-count
fix(keystone): scope resource count
2021-12-20 13:00:33 +08:00
Qiu Jian
a6d2770055 fix: show host ovn_mapped_ip_addr 2021-12-20 01:49:56 +08:00
Zexi Li
e1c2833fd1 Merge pull request #12938 from swordqiu/hotfix/qj-server-migrate-failed-due-to-stop-event
fix: server migration halted by an unexpected STOP event
2021-12-19 18:33:13 +08:00
Qiu Jian
c67f1bde5b fix: server migration halted by an unexpected STOP event 2021-12-18 22:00:06 +08:00
Zexi Li
386caa0f9d Merge pull request #12946 from ioito/hotfix/qx-dns-zone-cache-purge
fix(region): dns zone cache purge
2021-12-18 01:05:43 +08:00
Zexi Li
e04dd2a356 Merge pull request #12951 from ioito/hotfix/qx-eip-name-with-pinyin
fix(region): eip name with pinyin
2021-12-18 01:05:29 +08:00
Zexi Li
8c04f718df Merge pull request #12950 from ioito/hotfix/qx-zstack-vm-name-cn-messy-code
fix(region): avoid vm name messy code with zhCN for zstack
2021-12-18 01:05:12 +08:00
ioito
4d55056c9b fix(region): eip name with pinyin 2021-12-17 18:33:22 +08:00
ioito
9d98d8d016 fix(region): avoid vm name messy code with zhCN for zstack 2021-12-17 18:23:01 +08:00
ioito
65ca022d49 fix(region): dns zone cache purge 2021-12-17 18:05:59 +08:00
ioito
d70decfd4f fix(keystone): scope resource count 2021-12-17 16:09:34 +08:00
Zexi Li
888099b52b Merge pull request #12884 from rainzm/resizefs
feat(hostdeployer): use resizepart directly
2021-12-17 15:36:08 +08:00
Zexi Li
db257d7c4f Merge pull request #12933 from ioito/hotfix/qx-eip-bandwidth-storage-usage
fix(region): add eip and disk usage
2021-12-17 14:34:21 +08:00
Zexi Li
b99c19b2f8 Merge pull request #12939 from zexi/vm-start-failed-log
fix(region): vm start failed stage not invoked
2021-12-17 11:24:00 +08:00
zhaoxiangchun
488f7d30b2 fix(cloudmon): 飞天云监控中拉取metadata信息 2021-12-17 11:22:49 +08:00
Zexi Li
7135ebbfd2 fix(region): vm start failed stage not invoked 2021-12-17 11:19:11 +08:00
Zexi Li
4eb1f866f0 Merge pull request #12827 from zhaoxiangchun/feature/zxc-k8s-cloudmon-master
feat(cloudmon): aliyun,qcloud,azure k8s monitor metric
2021-12-17 11:06:45 +08:00
屈轩
efa89ad2e0 fix(region): merge input and output json (#12920) 2021-12-16 21:18:42 +08:00
Zexi Li
aeb5b4655d fix(host): more readable error info of GetWireOfIp (#12935) 2021-12-16 21:13:33 +08:00
ioito
be997f90df fix(region): add eip and disk usage 2021-12-16 16:34:40 +08:00
Zexi Li
1706a0408a Merge pull request #12914 from rainzm/disk/disk_type
feat(region): support detach disk with disk_type 'sys'
2021-12-16 15:16:14 +08:00
rainzm
54907dd4d8 feat(region): support detach disk with disk_type 'sys' 2021-12-16 15:06:17 +08:00
ioito
e9c3a244d9 fix(region): security group name generate for every cloud platform 2021-12-16 14:26:33 +08:00
Zexi Li
35704864bc Merge pull request #12913 from ioito/hotfix/qx-vpc-peer-fix
fix(region): vpc sync misc fix
2021-12-16 10:50:49 +08:00
Zexi Li
40144353c6 Merge pull request #12885 from ioito/feat/qx-aws-nat-read
feat(region): aws nat gateway read
2021-12-16 10:40:54 +08:00
Zexi Li
6ea79d03a4 Merge pull request #12925 from swordqiu/hotfix/qj-lbagent-pull-onecloud-only
fix: lbagent pull resources of OneCloud only
2021-12-16 10:39:56 +08:00
Qiu Jian
533b10f4c2 fix: lbagent pull resources of OneCloud only 2021-12-15 22:41:02 +08:00
Zexi Li
9f956bbcff Merge pull request #12922 from zexi/cold-migrate-disk-removed
fix(host): cold migration disk removed
2021-12-15 19:12:07 +08:00
Zexi Li
14dfea8450 fix(host): cold migration disk removed 2021-12-15 18:24:16 +08:00
ioito
7d9ca023a1 fix(region): vpc sync misc fix 2021-12-15 16:39:41 +08:00
Zexi Li
e45a0bd85d Merge pull request #12916 from zexi/x86-file-locking
fix(host): enable file.locking=off option for local disk
2021-12-15 16:28:57 +08:00
Zexi Li
4a787ee982 fix(host): enable file.locking=off option for local disk 2021-12-15 16:20:32 +08:00
Zexi Li
a5a3c19706 Merge pull request #12911 from zexi/fix-migrate-target-storage-id
fix(region): live migrate target_storage_id quoted
2021-12-15 15:09:30 +08:00
Zexi Li
810edac622 fix(region): live migrate target_storage_id quoted 2021-12-15 14:57:50 +08:00
Rain Zheng
fc087f03b5 feat(region): add storage_id in GuestDiskInfo (#12881) 2021-12-15 04:17:11 +08:00
Zexi Li
939ebc8030 Merge pull request #12902 from zexi/qemu-uuid
feat(host): qemu add uuid option
2021-12-14 21:25:36 +08:00
Zexi Li
0bd53ce5ff Merge pull request #12906 from rainzm/snapshot/disk
fix(region): respect disk's snapshotId in disk_batch_create_task
2021-12-14 21:23:54 +08:00
rainzm
50c95b66f1 fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:15:34 +08:00
Zexi Li
10c57ecb07 Merge pull request #12891 from ioito/hotfix/qx-aliyun-trans
fix(region): aliyun error translation
2021-12-14 21:11:25 +08:00
Zexi Li
2dcd7fc045 Merge pull request #12898 from ioito/hotfix/qx-image-upload-progress
fix(climc): add progress for image upload
2021-12-14 21:11:03 +08:00
Zexi Li
ac30fbc5b5 Merge pull request #12893 from ioito/hotfix/qx-openstack-proxy
fix(region): openstack use proxy
2021-12-14 21:08:31 +08:00
Zexi Li
d4f8482f7f feat(host): qemu add uuid option 2021-12-14 21:02:25 +08:00
ioito
2b916f7c40 fix(climc): add progress for image upload 2021-12-14 14:41:50 +08:00
ioito
311243b9a3 fix(region): openstack use proxy 2021-12-14 14:32:08 +08:00
ioito
da454317d9 fix(region): aliyun error translation 2021-12-14 11:41:13 +08:00
Zexi Li
c2c013cc1e Merge pull request #12887 from ioito/hotfix/qx-global-vpc-filter
fix(region): add filter for global vpc
2021-12-13 22:55:11 +08:00
Zexi Li
b877709289 Merge pull request #12889 from ioito/hotfix/qx-cloudprovider-region-enabled-set
fix(region): set cloudproviderregions enabled status
2021-12-13 22:54:38 +08:00
Zexi Li
ab8357de0d Merge pull request #12869 from ioito/hotfix/qx-vpc-filter
fix(region): vpc filter params
2021-12-13 17:15:43 +08:00
Zexi Li
28c311fa21 Merge pull request #12861 from rainzm/storagentcacheimage/active
fix(hostman): update storagecacheimage status from 'ready' to 'avtive'
2021-12-13 17:15:01 +08:00
Zexi Li
e308f1938f Merge pull request #12856 from ioito/hotfix/qx-google-disk
fix(region): google vm disk attach
2021-12-13 17:14:31 +08:00
Zexi Li
2c0dfb49bb Merge pull request #12853 from swordqiu/hotfix/qj-fail-to-start-arm-vm
fix: fail to start arm vm
2021-12-13 17:14:03 +08:00
Zexi Li
8d9f000997 Merge pull request #12848 from ioito/hotfix/qx-auto-renew-duration
fix(region): set auto renew with duration
2021-12-13 17:13:02 +08:00
ioito
98ff5fcb28 fix(region): set cloudproviderregions enabled status 2021-12-13 17:11:51 +08:00
ioito
31ca83d091 fix(region): add filter for global vpc 2021-12-13 16:54:30 +08:00
ioito
dbaab28274 feat(region): aws nat gateway read 2021-12-13 16:37:35 +08:00
Zexi Li
511326239d Merge pull request #12873 from ioito/hotfix/qx-vpc-peer-connection-panic
fix(region): avoid panic when sync vpc peer connection
2021-12-13 16:23:22 +08:00
Zexi Li
8c3a3d7ff9 Merge pull request #12871 from ioito/hotfix/qx-global-vpc-details
fix(region): show more global vpc details
2021-12-13 16:22:37 +08:00
rainzm
5fe399bfdd feat(region): use resizepart directly 2021-12-13 14:21:01 +08:00
Zexi Li
a74893506b fix(region): inject OsArch to scheduler input when change config 2021-12-13 12:19:46 +08:00
Jian Qiu
5f58994459 fix: cloudevent not initialize cloudevents_tbl in clickhouse (#12880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-12 15:59:56 +08:00
Zexi Li
9b623b4cd8 Merge pull request #12875 from swordqiu/feature/qj-suppor-galaxy-kylin-os
feature: support galaxy kylin guest OS
2021-12-12 12:12:40 +08:00
Zexi Li
f8c9a502e3 Merge pull request #12855 from swordqiu/feature/qj-ops-log-use-clickhouse
feature: use clickhouse as opslog storage
2021-12-12 12:11:28 +08:00
Qiu Jian
ff9fcbb121 feature: support galaxy kylin guest OS 2021-12-11 13:20:33 +08:00
ioito
c7e8beb9a6 fix(region): avoid panic when sync vpc peer connection 2021-12-10 17:51:43 +08:00
ioito
324fbf121d fix(region): show more global vpc details 2021-12-10 17:31:45 +08:00
ioito
cac3d1d2fb fix(region): vpc filter params 2021-12-10 17:26:42 +08:00
Zexi Li
9de50ae887 Merge pull request #12850 from ioito/hotfix/qx-time-format
fix(region): format time output
2021-12-10 16:59:26 +08:00
Zexi Li
1dc5a47499 Merge pull request #12847 from ioito/hotfix/qx-deployer--hostname
fix(hostdeployer): deployer hostname
2021-12-10 16:58:31 +08:00
Zexi Li
a0c3cfaf63 Merge pull request #12858 from ioito/hotfix/qx-zstack-auth
fix(region): zstack time zone auth
2021-12-10 16:57:22 +08:00
Zexi Li
d91c7679bb Merge pull request #12864 from ioito/hotfix/qx-aliyun-route-table-sync
fix(region): aliyun route table sync
2021-12-10 16:54:50 +08:00
Zexi Li
4444356620 Merge pull request #12867 from ioito/hotfix/qx-google-vpc-delete
fix(region): unified vpc not found error
2021-12-10 16:54:14 +08:00
ioito
ee4060b591 fix(region): unified vpc not found error 2021-12-10 16:41:41 +08:00
ioito
06945a4ceb fix(region): aliyun route table sync 2021-12-10 16:32:52 +08:00
ioito
dad31f0ef0 fix(region): google vm disk attach 2021-12-10 15:33:30 +08:00
rainzm
19ddeda614 fix(hostman): update storagecacheimage status from 'ready' to 'avtive' 2021-12-10 15:28:48 +08:00
ioito
98764a0998 fix(region): zstack time zone auth 2021-12-10 15:06:37 +08:00
Qiu Jian
8b6f7305d6 feature: use clickhouse to storage opslogs 2021-12-10 09:23:33 +08:00
Qiu Jian
abbbf636a8 fix: fail to start arm vm 2021-12-10 02:02:04 +08:00
Zexi Li
3499630fb5 Merge pull request #12851 from ioito/hotfix/qx-google-eip-snapshot-fix
fix(region): google eip and snapshot op fix
2021-12-09 23:07:59 +08:00
ioito
919342adbf fix(region): google eip and snapshot op fix 2021-12-09 18:39:42 +08:00
ioito
3552156e35 fix(region): format time output 2021-12-09 17:51:13 +08:00
ioito
63c0e59f7c fix(region): set auto renew with duration 2021-12-09 17:14:40 +08:00
ioito
476684de9d fix(hostdeployer): deployer hostname 2021-12-09 16:08:21 +08:00
Zexi Li
c1b9d6ef20 Merge pull request #12835 from rainzm/hostdeployer/vgrename
fix(hostdeployer): Operate with the original name when vgrename fails
2021-12-09 11:22:22 +08:00
Zexi Li
6fa65c18b1 Merge pull request #12792 from ioito/hotfix/qx-optimized-sync
fix(region): optimized cloudaccount sync resources
2021-12-09 11:14:12 +08:00
Zexi Li
5fafdf175f Merge pull request #12843 from ioito/hotfix/qx-google-misc
fix(region): google sync fix
2021-12-09 01:01:21 +08:00
Zexi Li
21253502aa Merge pull request #12841 from ioito/hotfix/qx-es-access-info
fix(region): add access info for es
2021-12-09 01:00:46 +08:00
Zexi Li
2607da3bfb Merge pull request #12845 from ioito/hotfix/qx-qcloud-kafka-fix
fix(region): kafka data
2021-12-09 00:58:37 +08:00
ioito
c2c8670444 fix(region): kafka data 2021-12-08 19:18:40 +08:00
ioito
6e71ef5d50 fix(region): google sync fix 2021-12-08 18:56:41 +08:00
ioito
9b3cd5fd54 fix(region): add access info for es 2021-12-08 18:03:18 +08:00
Zexi Li
2c69ed60b8 Merge pull request #12837 from swordqiu/hotfix/qj-fail-to-recove-disk-in-unknown-status
fix: fail to recover disk status if disk in unknown status
2021-12-08 12:44:53 +08:00
Zexi Li
18f5b1357b Merge pull request #12811 from zexi/block-stream-freq
fix(host): adjust kvm block_stream query frequency and speed limit
2021-12-08 12:44:30 +08:00
Zexi Li
70edbdcb3c fix(host): adjust kvm block_stream query frequency and speed limit 2021-12-08 10:17:28 +08:00
Qiu Jian
c8a142fc7f fix: fail to recover disk status if disk in unknown status 2021-12-08 00:27:08 +08:00
ioito
fa8f9f946b fix(region): optimized cloudaccount sync resources 2021-12-07 20:24:23 +08:00
rainzm
f9a0f956f7 fix(hostdeployer): Operate with the original name when vgrename fails 2021-12-07 20:21:58 +08:00
Zexi Li
172484e82e Merge pull request #12833 from ioito/hotfix/qx-google-id
fix(region): google replace globalid
2021-12-07 19:43:47 +08:00
Zexi Li
49a9aaef85 Merge pull request #12794 from ioito/hotfix/qx-join-list-export
fix(apigateway): support export for join module
2021-12-07 19:43:34 +08:00
Qu Xuan
d87901b259 fix(region): google replace globalid 2021-12-07 19:18:54 +08:00
zhaoxiangchun
fc69fe9a22 feat(monitor): add k8s metric describetion 2021-12-07 17:02:19 +08:00
Zexi Li
06f75b37b1 Merge pull request #12793 from ioito/hotfix/qx-network-filter-by-route-table
fix(region): add route table filter for networks
2021-12-07 12:05:35 +08:00
Zexi Li
27c5d7c6b0 Merge pull request #12829 from swordqiu/hotfix/qj-opslog-empty-usercred
fix: opslog might log event with empty usercred
2021-12-07 10:24:14 +08:00
Zexi Li
73da91e63c Merge pull request #12828 from swordqiu/hotfix/qj-support-anolis-os
feature: support Anolis OS
2021-12-07 10:23:40 +08:00
Jian Qiu
b03bbfde7c fix: mcclient modules not fully loaded (#12832)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-06 23:06:50 +08:00
Qiu Jian
de2ea33411 fix: opslog might log event with empty usercred 2021-12-06 22:14:45 +08:00
Qiu Jian
bf170f8cdf feature: support Anolis OS 2021-12-06 21:18:27 +08:00
zhaoxiangchun
5c9cf5b725 feat(cloudmon): aliyun,qcloud,azure k8s monitor metric 2021-12-06 16:40:29 +08:00
Zexi Li
4d718c5bf6 Merge pull request #12807 from rainzm/sort/modify
fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:10 +08:00
Zexi Li
eddc7861e2 Merge pull request #12825 from swordqiu/feature/qj-set-default-docker-daemon-mtu
feature: set docker daemon default mtu when deploy
2021-12-06 10:08:00 +08:00
Qiu Jian
5caa123bd1 feature: set docker daemon default mtu when deploy 2021-12-06 07:15:49 +08:00
Zexi Li
158518373c Merge pull request #12819 from swordqiu/hotfix/qj-logger-create-fail-for-empty-notes
fix: fail to insert action log with empty notes
2021-12-06 00:03:58 +08:00
Zexi Li
93c3f38f4c Merge pull request #12822 from swordqiu/hotfix/qj-image-allow-empty-tracker
fix: image service can start without valid track endpoints
2021-12-06 00:03:17 +08:00
Qiu Jian
12acff6e8f fix: image service can start without valid track endpoints 2021-12-05 23:27:36 +08:00
Qiu Jian
1a7db803ad fix: fail to insert action log with empty notes 2021-12-05 23:22:30 +08:00
Zexi Li
ba9af9571a Merge pull request #12817 from swordqiu/feature/qj-server-create-with-existing-disks
feature: server create with existing disks
2021-12-05 23:19:50 +08:00
Qiu Jian
7a7a4bd5a2 feature: server create with existing disks 2021-12-05 17:48:30 +08:00
Jian Qiu
f1a613e15a fix: check permission for getallmetadata params (#12815)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-12-05 08:59:12 +08:00
Zexi Li
e57b5117e3 Merge pull request #12774 from swordqiu/feature/qj-cascading-project-support
Feature/qj cascading project support
2021-12-05 00:18:47 +08:00
Qiu Jian
bdc99987f8 fix: no filter does not work 2021-12-04 21:02:28 +08:00
rainzm
02656f6c59 fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 14:54:48 +08:00
Zexi Li
dca6a87957 Merge pull request #12803 from zexi/docker-image-unify-utc
fix(build): unify docker image UTC timezone
2021-12-03 11:36:12 +08:00
Zexi Li
67aea1add2 fix(build): unify docker image UTC timezone 2021-12-03 11:28:33 +08:00
Zexi Li
8b06cbd9e3 Merge pull request #12805 from clamyang/bugfix/add-select-cond
fix(region): filter deleted storages
2021-12-03 10:34:05 +08:00
yangbaoqiang
abf6ca2f91 fix(region): filter deleted storages
In some situation, getValidStorages return deleted storage and the zone was deleted from
remote(openstack or others).
2021-12-02 23:01:15 +08:00
Zexi Li
15f8c53029 Merge pull request #12797 from rainzm/sort/modify
fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:14:59 +08:00
rainzm
a66adb55e7 fix(scheduler): correct sorting for HostPriorityList 2021-12-02 20:57:38 +08:00
Zexi Li
c0e2115f0c Merge pull request #12796 from ioito/hotfix/qx-apsara-tags
fix(region): project tags
2021-12-02 19:30:53 +08:00
ioito
61755e30e8 fix(region): project tags 2021-12-02 19:10:54 +08:00
Zexi Li
4266115019 Merge pull request #12795 from ioito/hotfix/qx-apsara-tags
fix(region): apsara tags sync for project
2021-12-02 18:24:51 +08:00
ioito
921fd1e8fc fix(region): apsara tags sync for project 2021-12-02 17:53:32 +08:00
ioito
b8115d4f03 fix(apigateway): support export for join module 2021-12-02 17:40:08 +08:00
ioito
22a75b9f33 fix(region): add route table filter for networks 2021-12-02 17:02:48 +08:00
Zexi Li
9f53ef9723 Merge pull request #12783 from ioito/hotfix/qx-apsara-project-tags
fix(region): set tags for project
2021-12-02 14:54:30 +08:00
ioito
af93d52eda fix(region): set tags for project 2021-12-02 14:23:36 +08:00
Zexi Li
18377b96aa Merge pull request #12787 from rainzm/imagestatus/active
fix(esxiagent): update storagecachedimage status from 'ready' to 'active'
2021-12-02 14:14:59 +08:00
rainzm
ca38104875 fix(esxiagent): update storagecachedimage status from 'ready' to 'active' 2021-12-02 11:21:24 +08:00
Qiu Jian
1d354d8919 1. Remove is_rbac_enable option
2. code changes due to interface change
2021-12-02 10:24:23 +08:00
Qiu Jian
fbe741f6cd tag filter for rbac 2021-12-02 07:43:10 +08:00
Qiu Jian
ae7c972afc update vendor 2021-12-02 07:43:10 +08:00
Qiu Jian
5eac5832b9 minor fixes 2021-12-02 07:43:10 +08:00
Qiu Jian
84a9ae95f6 feature: policy support tags 2021-12-02 07:43:10 +08:00
Zexi Li
d6b8dcfe8e Merge pull request #12780 from ioito/hotfix/qx-sql-backend
fix(yunionconf): use sqlchemy backend
2021-12-01 19:17:29 +08:00
Zexi Li
2699374bd2 Merge pull request #12785 from zexi/automated-cherry-pick-of-#12784-upstream-master
Automated cherry pick of #12784: fix(region): host support list by os_arch
2021-12-01 18:20:47 +08:00
Zexi Li
dba51f3976 fix(region): host support list by os_arch 2021-12-01 17:44:43 +08:00
Zexi Li
aeaf2f9e3d Merge pull request #12781 from zexi/improve-machine-validate-msg
fix(region): improve validate machine type message
2021-12-01 15:35:51 +08:00
Zexi Li
ad61aaeac8 fix(region): improve validate machine type message 2021-12-01 15:20:36 +08:00
ioito
80b610acf3 fix(yunionconf): use sqlchemy backend 2021-12-01 10:55:48 +08:00
Zexi Li
26cd2be7d7 Merge pull request #12777 from rainzm/ansibleserver/file-repo
fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
2021-11-30 20:16:06 +08:00
rainzm
79601d3ad9 fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
1. When checking telegraf, it is compatible with higher version Debian
2. Debian compatible when getting the installation package name
2021-11-30 17:48:38 +08:00
Zexi Li
b3f42a6cfe Merge pull request #12775 from rainzm/cnddomain/createfix
fix(region): setExteranlId and upload tags after creating cdndomain
2021-11-30 17:38:27 +08:00
rainzm
4b32d707ff fix(region): setExteranlId and upload tags after creating cdndomain 2021-11-30 17:08:54 +08:00
Zexi Li
336a6c8fff Merge pull request #12763 from ioito/hotfix/qx-remove-not-found-res
fix(region): delete vm and disk when it was not found
2021-11-30 00:04:15 +08:00
Zexi Li
bf0dbd0c50 Merge pull request #12762 from ioito/hotfix/qx-apigateway-scheduler
fix(apigateway): add scheduler module
2021-11-30 00:03:34 +08:00
Zexi Li
afbf3e9938 Merge pull request #12770 from ioito/hotfix/qx-account-region-sync
fix(region): sync with checked regions
2021-11-30 00:03:15 +08:00
Zexi Li
21bdadce5c Merge pull request #12766 from ioito/hotfix/qx-qcloud-cdn-third_party
fix(region): add third_party for qcloud
2021-11-30 00:02:40 +08:00
Jian Qiu
d1ecca0361 fix: make test for a moving server options (#12772)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:55:45 +08:00
Jian Qiu
b9b688dd17 update vendor 20211129 (#12771)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-29 23:41:41 +08:00
ioito
dd8d9db55e fix(region): add third_party for qcloud 2021-11-29 19:12:36 +08:00
ioito
42b6455c76 fix(region): sync with checked regions 2021-11-29 19:00:03 +08:00
Zexi Li
6552bc871d Merge pull request #12768 from ioito/hotfix/qx-azure-json
fix(region): azure json unmarshal
2021-11-29 17:44:11 +08:00
ioito
cf39fa720e fix(region): azure json unmarshal 2021-11-29 17:14:11 +08:00
ioito
3a408fc8fd fix(region): delete vm and disk when it was not found 2021-11-29 15:48:44 +08:00
屈轩
68694df3de fix(apigateway): add scheduler module 2021-11-29 15:34:21 +08:00
Zexi Li
e6814568bc Merge pull request #12747 from swordqiu/hotfix/qj-vpcagent-refresh-session-token
fix: vpcagent fail to refresh session token
2021-11-28 18:12:44 +08:00
Zexi Li
c115c029aa Merge pull request #12754 from ioito/hotfix/qx-cdn-create
fix(region): cdn create fix
2021-11-28 18:12:13 +08:00
Zexi Li
ea89b80ad6 Merge pull request #12757 from ioito/hotfix/qx-nas-create-with-tag
fix(region): support nas create with tag
2021-11-28 18:11:31 +08:00
Jian Qiu
e6a7d160e6 feature: support tag tree (#12751)
* feature: support tag tree

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-28 11:58:38 +08:00
Rain Zheng
486a1bb5b0 feat(region): Regularly and automatically synchronize the status of cloud accounts (#12750) 2021-11-27 22:34:22 +08:00
zhaoxiangchun
37e76cd37d fix(cloudcommon): checksync commitSqlDiffWithName (#12760) 2021-11-27 22:33:55 +08:00
Qu Xuan
690b91afc5 fix(region): cdn create fix 2021-11-26 18:18:01 +08:00
Qu Xuan
0d53c000a1 fix(region): support nas create with tag 2021-11-26 18:17:20 +08:00
Qiu Jian
09f4097545 fix: vpcagent fail to refresh session token 2021-11-26 01:09:18 +08:00
Rain Zheng
bff2aaf037 fix(scheduledtask): import sqlchemy backend (#12730) 2021-11-25 22:48:37 +08:00
Zexi Li
e4719be1c0 Merge pull request #12738 from ioito/feat/qx-cdn-create
feat(region): add cdn create op for qcloud
2021-11-25 21:40:15 +08:00
Zexi Li
061fc9440b Merge pull request #12745 from ioito/hotfix/qx-aliyun-kube-cluster-404
fix(region): aliyun kube cluster 404 error
2021-11-25 21:36:12 +08:00
Zexi Li
f1b26a5d64 Merge pull request #12740 from rainzm/rows/close
fix: close it after using sql.Rows
2021-11-25 21:35:30 +08:00
Zexi Li
f99f18f676 Merge pull request #12737 from clamyang/bugfix/add-conn-close
fix(region): add rows.Close func
2021-11-25 21:35:02 +08:00
Qu Xuan
c61e890c38 fix(region): aliyun kube cluster 404 error 2021-11-25 18:03:44 +08:00
rainzm
a71d30cfa6 fix: close it after using sql.Rows 2021-11-25 17:39:50 +08:00
Qu Xuan
dae6799784 feat(region): add cdn create op for qcloud 2021-11-25 15:46:35 +08:00
yangbaoqiang
704de226ed fix(region): add rows.Close func 2021-11-25 15:18:32 +08:00
Zexi Li
8d829db0a6 Merge pull request #12686 from ioito/hotfix/qx-hostname
fix(region): hostname for vm and host
2021-11-25 09:59:31 +08:00
Zexi Li
20a5e361b6 Merge pull request #12732 from ioito/hotfix/qx-apsara-rds-network
fix(region): apsara rds network sync
2021-11-25 00:43:04 +08:00
Qu Xuan
59ec7b3021 fix(region): apsara rds network sync 2021-11-24 16:24:19 +08:00
Zexi Li
38abd92222 Merge pull request #12716 from swordqiu/hotfix/qj-correct-policy-definitions
fix: correct prefined policies definitions
2021-11-23 10:13:23 +08:00
Zexi Li
6d381697dd Merge pull request #12720 from swordqiu/hotfix/qj-disk-driver-persistence
fix: disk driver persistence
2021-11-23 10:12:54 +08:00
Zexi Li
3c0167680a Merge pull request #12724 from clamyang/bugfix/openstack-after-rebuild
fix(region): adjust the logic of rebuild guest
2021-11-23 10:09:21 +08:00
Jian Qiu
5e6cf8ee8c fix: update vendor to fix union error (#12726)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-23 00:42:37 +08:00
Qiu Jian
17556ea721 fix: disk driver persistence 2021-11-22 20:49:45 +08:00
yangbaoqiang
8c80205ecc fix(region): openstack.go
1.调整eip解绑后,重新绑定函数位置
2.调整guest数据盘卸载后,重新挂载函数位置
2021-11-22 19:26:01 +08:00
Jian Qiu
804bd0f713 update version of sqlite3 (#12723)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-22 15:26:18 +08:00
Jian Qiu
da6429a926 fix: update scheduler using new sqlchemy (#12721)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 20:46:29 +08:00
Jian Qiu
844eda13e3 fix: sqlite3 needs to load inet extension to work with region (#12719)
* fix: sqlite3 needs to load inet extension to work with region

* modify Makefile to remove CGO_ENABLED=0 for esxi_agent

* update vendor 20211121

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 15:01:45 +08:00
Jian Qiu
9cc9fd0872 fix: update vendor 20211121 (#12718)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-21 10:01:18 +08:00
Qiu Jian
6ac807abe6 fix: correct prefined policies definitions 2021-11-20 10:37:41 +08:00
Zexi Li
a945095772 Merge pull request #12711 from swordqiu/feature/qj-ethtool-enable-gso-option
fix: add host option for ethtool_enable_gso
2021-11-19 18:30:14 +08:00
Zexi Li
c469096cd3 Merge pull request #12713 from rainzm/notify/mod_init
fix: adjust the initialization order of init function contents
2021-11-19 18:29:50 +08:00
Zexi Li
859c8a94c3 Merge pull request #12715 from rainzm/api/scheduledtask
feat(apigateway): init scheduledtask packages
2021-11-19 18:29:20 +08:00
rainzm
eaf41c5c59 feat(apigateway): init scheduledtask packages 2021-11-19 18:27:27 +08:00
rainzm
411d67c231 fix: adjust the initialization order of init function contents
改之前,mod_notification.go的init执行在mod_notify.go之前,但是mod_notification.go
init的初始化内容又依赖于mod_notify.go 所以现在合并一起
2021-11-19 12:24:46 +08:00
Qu Xuan
5b383afd57 fix(region): hostname for vm and host 2021-11-19 10:16:30 +08:00
Qiu Jian
718dbd3cb8 fix: add host option for ethtool_enable_gso 2021-11-19 03:14:25 +08:00
Zexi Li
887c7f0641 Merge pull request #12700 from ioito/hotfix/qx-filename-export
fix(apigateway): support filename export
2021-11-18 22:24:48 +08:00
Zexi Li
8391e67830 Merge pull request #12707 from zhaoxiangchun/feature/zxc-cloudmon-master-update-2
feat(cloudmon): cloudmon support aws rds,redis metric
2021-11-18 22:24:24 +08:00
Zexi Li
1be9672387 Merge pull request #12701 from zexi/arm-local-disk-file-locking
fix(host): only local disk enable file.locking option on arm64 host
2021-11-18 22:23:10 +08:00
Zexi Li
a9c7eabb3b Merge pull request #12705 from tb365/bugfix/tb-bugfix-111801
gcp lb sync address bugfix
2021-11-18 22:22:48 +08:00
zhaoxiangchun
9e1c0df7de feat(cloudmon): cloudmon support aws rds,redis metric 2021-11-18 14:19:48 +08:00
tb365
107581d532 gcp lb sync address bugfix 2021-11-18 13:22:53 +08:00
Zexi Li
6600e919a6 fix(host): only local disk enable file.locking option on arm64 host 2021-11-18 10:45:39 +08:00
Zexi Li
aaddc08700 Merge pull request #12670 from zhaoxiangchun/feature/zxc-cloudmon-master-update-2
feat(cloudmon): modify cloudmon deployment
2021-11-18 10:34:10 +08:00
Zexi Li
97f8a668cc Merge pull request #12699 from rainzm/timedtasklabel
feat(scheduledtask): support filter scheduledtask with label
2021-11-18 10:33:46 +08:00
Qu Xuan
2cb7c38ffa fix(apigateway): support filename export 2021-11-18 10:05:57 +08:00
rainzm
b2c1fde548 feat(scheduledtask): support filter scheduledtask with label 2021-11-18 10:04:47 +08:00
Jian Qiu
ae3104e980 fix: add switch of sdnagent tc man (#12697)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-18 05:16:42 +08:00
Zexi Li
9dbf74f77d Merge pull request #12640 from swordqiu/hotfix/qj-validate-vm-vdi-vga-machine
fix: validate VM vdi,vga,machine input
2021-11-17 16:53:00 +08:00
Zexi Li
1762796981 Merge pull request #12687 from ioito/hotfix/qx-qcloud-event-time
fix(cloudevent): qcloud event time
2021-11-17 16:40:54 +08:00
Zexi Li
ef0a970a7c Merge pull request #12065 from swordqiu/feature/qj-support-clickhouse
feature: adapt to new version of sqlchemy that supports sqlite&clickhouse
2021-11-17 15:57:19 +08:00
Zexi Li
4669ac1fff Merge pull request #12626 from swordqiu/fix/qj-extra-options-multi-values
fix: qemu extra options support multiple values
2021-11-17 15:44:48 +08:00
Zexi Li
a9bfe4dd92 Merge pull request #12692 from tb365/bugfix/tb-bugfix-111701
gcp lb sync ip address fix
2021-11-17 15:43:59 +08:00
tb365
2453c2a5a7 lb cloudregion overwrite fix 2021-11-17 14:54:56 +08:00
tb365
ebb11f80e1 gcp lb sync ip address fix 2021-11-17 11:25:31 +08:00
Qiu Jian
e391ae173e fix: validate VM vdi,vga,machine input 2021-11-17 07:51:18 +08:00
Qiu Jian
0f50e85f46 fix: qemu extra options support multiple values 2021-11-17 07:35:06 +08:00
Qiu Jian
97a3ab12a2 support sqlite 2021-11-17 07:25:00 +08:00
Qiu Jian
e6fca7ff3d update vendor 2021-11-17 00:02:06 +08:00
Qiu Jian
139054e0af feature: adapt to new version of sqlchemy that supports clickhouse 2021-11-17 00:02:06 +08:00
Qu Xuan
11256c0f6f fix(cloudevent): qcloud event time 2021-11-16 17:39:37 +08:00
Zexi Li
c2c6595918 Merge pull request #12681 from swordqiu/hotfix/qj-eip-allocate-prefer-owner-network
fix: server-create-eip allocation prefer owner's eip network
2021-11-16 16:10:56 +08:00
Zexi Li
1b1af80abf Merge pull request #12685 from rainzm/timedtask
Independent scheduledtask service
2021-11-16 10:18:41 +08:00
Zexi Li
fde8181829 Merge pull request #12664 from tb365/feature/tb-support-ctyun-crm-account
ctyun support crm account
2021-11-16 10:16:04 +08:00
Zexi Li
06c56d24f5 Merge pull request #12679 from ioito/hotfix/qx-fix-tags
fix(region): tag sync
2021-11-16 10:15:14 +08:00
Zexi Li
fe6883a79f Merge pull request #12683 from ioito/hotfix/qx-user-tag-export
fix(region): export user_tags
2021-11-16 09:11:26 +08:00
rainzm
c44f0c5ec3 fix(notify): modify scheduledtaks const reference 2021-11-15 19:35:04 +08:00
Qiu Jian
e96585a2e4 fix: server-create-eip allocation prefer owner's eip network 2021-11-15 19:30:46 +08:00
rainzm
278dd51950 feat(region): do not actively detach scheduledtask when deleting a guest 2021-11-15 19:24:08 +08:00
rainzm
09ac144e93 fix: add doc.go 2021-11-15 19:12:27 +08:00
rainzm
5c8d51d175 feat(region): remove scheduled_task 2021-11-15 19:01:10 +08:00
rainzm
c46b26573e feat(region): remove auto clouaccount syncing coronjob 2021-11-15 19:01:10 +08:00
rainzm
1b9d4a8f15 feat(scheduledtask): support sync cloudaccount 2021-11-15 19:01:10 +08:00
rainzm
6285fdb53a feat(scheduledtask): initialize scheduledtask service
climc
2021-11-15 19:01:09 +08:00
Zexi Li
2abe797d19 Merge pull request #12671 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): 告警历史问题修复
2021-11-15 18:25:12 +08:00
Qu Xuan
e16901ce2c fix(region): export user_tags 2021-11-15 17:34:51 +08:00
zhaoxiangchun
2af6bf5d0d Merge branch 'master' of https://github.com/yunionio/cloudpods into bugfix/zxc-monitor 2021-11-15 17:04:09 +08:00
Qu Xuan
48ce6f0bd6 fix(region): tag sync 2021-11-15 17:03:05 +08:00
Jian Qiu
049b00435e fix: remove irrelevant codes (#12676)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-15 00:42:59 +08:00
Zexi Li
fa8a7d4a35 Merge pull request #12672 from ioito/hotfix/qx-waf-app-tag
fix(region): waf app tag sync
2021-11-13 18:52:58 +08:00
Zexi Li
d435bb2c37 Merge pull request #12675 from swordqiu/hotfix/qj-cleanup-codes-20211113
fix: cleanup codes
2021-11-13 18:52:42 +08:00
Qiu Jian
a5b3345b3d fix: cleanup codes 2021-11-13 18:22:57 +08:00
zhaoxiangchun
018a653deb fix(monitor): remove websocket import in monitor service 2021-11-12 16:31:18 +08:00
Qu Xuan
fd3e3e82dd fix(region): waf app tag sync 2021-11-12 16:29:44 +08:00
zhaoxiangchun
979da5107b fix(monitor): 告警历史问题修复
1.https://bug.yunion.io/zentao/bug-view-7933.html
2021-11-12 16:21:32 +08:00
tb365
93e8233a12 Merge branch 'master' into feature/tb-support-ctyun-crm-account 2021-11-12 15:11:48 +08:00
tb365
f8536611e4 ctyun support crm account 2021-11-12 11:09:50 +08:00
zhaoxiangchun
7335593a98 Merge branch 'master' of https://github.com/yunionio/cloudpods into feature/zxc-cloudmon-master-update-2 2021-11-12 10:05:34 +08:00
zhaoxiangchun
8f77174771 feat(cloudmon): modify cloudmon deployment 2021-11-11 20:09:15 +08:00
Zexi Li
72f4ce4a5e Merge pull request #12663 from zexi/cloud-k8s-sync-info
fix(region): sync k8s cluster info to kubeserver
2021-11-11 13:28:24 +08:00
Zexi Li
91853cadb1 fix(region): sync k8s cluster info to kubeserver 2021-11-11 11:21:04 +08:00
Zexi Li
0537dae03c Merge pull request #12661 from ioito/hotfix/qx-cli-proxy
fix(climc): fix proxy for cli
2021-11-11 10:06:53 +08:00
Zexi Li
7728501139 Merge pull request #12666 from swordqiu/hotfix/qj-fail-free-reserved-ip-in-non-owner-project
fix: fail to free reserved ip in non-owner project
2021-11-11 10:06:00 +08:00
Zexi Li
9fa061439e Merge pull request #12629 from ioito/hotfix/qx-vpc-peering-api
fix(region): add api field for vpc-peering
2021-11-11 10:05:07 +08:00
Qiu Jian
a7461d21d1 fix: fail to free reserved ip in non-owner project 2021-11-11 07:32:45 +08:00
Qu Xuan
acd042921f fix(climc): fix proxy for cli 2021-11-10 15:47:15 +08:00
Qu Xuan
28c46058df fix(region): add api field for vpc-peering 2021-11-10 15:15:15 +08:00
Zexi Li
d07702c57f Merge pull request #12616 from tb365/bugfix/tb-bugfix-110501
Bugfix/tb bugfix 110501
2021-11-10 12:22:10 +08:00
Zexi Li
43e35a8d87 Merge pull request #12656 from swordqiu/hotfix/qj-allocate-eip-from-poll-of-same-project
fix: allocate eip from network that belong sto the same project
2021-11-10 12:21:06 +08:00
Zexi Li
2db0a1dfcd Merge pull request #12658 from ioito/hotfix/qx-google-secgroup-sync
fix(region): google secgroup sync
2021-11-10 12:20:45 +08:00
Zexi Li
a77506fac7 Merge pull request #12597 from swordqiu/feature/qj-pass-ntp-server-by-dhcp
feature: pass ntp server by DHCP option
2021-11-10 12:16:29 +08:00
Qiu Jian
9a269325cc update vendor 2021-11-10 11:24:17 +08:00
Qiu Jian
eaaa3061c1 update vendor 2021-11-10 11:18:43 +08:00
Qu Xuan
f302243c9a fix(region): google secgroup sync 2021-11-10 11:05:55 +08:00
Qiu Jian
ed686cf2e3 fix: fixed on merge Input json 2021-11-10 10:26:58 +08:00
Qiu Jian
5cd4e094c9 update vendor 2021-11-10 10:26:58 +08:00
Qiu Jian
307a381482 feature: pass ntp server by DHCP option 2021-11-10 10:26:58 +08:00
Qiu Jian
d932a26b4c fix: allocate eip from network that belong sto the same project 2021-11-10 01:22:24 +08:00
Zexi Li
c998867d88 Merge pull request #12641 from swordqiu/hotfix/qj-false-deleted-field-for-deleted-resource
fix: false delted field for deleted resources
2021-11-09 20:46:19 +08:00
屈轩
4025fabd8b fix(climc): json output (#12651)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-11-09 19:33:24 +08:00
Zexi Li
20b8f4c716 Merge pull request #12649 from zexi/automated-cherry-pick-of-#12647-upstream-master
Automated cherry pick of #12647: fix(webconsole): host ssh use cloudroot user error
2021-11-09 19:32:11 +08:00
Zexi Li
1b5e9e54bb fix(webconsole): host ssh use cloudroot user error 2021-11-09 18:34:05 +08:00
Zexi Li
e96200b277 Merge pull request #12642 from zexi/fix-nfs-clone-disk
fix(host): nfs clone disk from storage not implement
2021-11-09 18:14:37 +08:00
Zexi Li
e666c82a46 Merge pull request #12644 from ioito/hotfix/qx-climc-output
fix(climc): climc json output
2021-11-09 18:13:44 +08:00
Qu Xuan
7012a6bdd2 fix(climc): climc json output 2021-11-09 17:14:49 +08:00
Zexi Li
8839e9e2fe fix(host): nfs clone disk from storage not implement 2021-11-09 10:03:19 +08:00
Zexi Li
dea48b318d Merge pull request #12627 from swordqiu/hotfix/qj-optimize-vm-performance
fix: optimize vm disk io parameters
2021-11-09 01:18:00 +08:00
Zexi Li
e25c3a32c4 Merge pull request #12631 from ioito/hotfix/qx-cloudpods-metadata-sync
fix(region): sync cloudpods metadata
2021-11-09 01:17:02 +08:00
Zexi Li
7a6a04c7b9 Merge pull request #12633 from ioito/hotfix/qx-aws-redis-fix
fix(region): aws redis not found error
2021-11-09 01:16:13 +08:00
Zexi Li
18dd23daab Merge pull request #12636 from tb365/bugfix/tb-bugfix-110803
qcloud&aliyun update backend weight value range fix
2021-11-09 01:15:23 +08:00
Qiu Jian
8978d7d890 fix: false delted field for deleted resources 2021-11-09 00:13:15 +08:00
Zexi Li
175079d881 Merge pull request #12639 from ioito/hotfix/qx-aliyun-k8s
fix(region): sync aliyun k8s by region
2021-11-08 20:27:52 +08:00
Qu Xuan
f10f203d55 fix(region): sync aliyun k8s by region 2021-11-08 19:01:11 +08:00
tb365
4e1794855b qcloud&aliyun update backend weight value range fix 2021-11-08 17:22:28 +08:00
Qu Xuan
e573f46c46 fix(region): aws redis not found error 2021-11-08 14:56:35 +08:00
Qu Xuan
dc29e3d9ee fix(region): sync cloudpods metadata 2021-11-08 14:22:40 +08:00
Zexi Li
dc2cf168b1 Merge pull request #12623 from swordqiu/hotfix/qj-storage-cached-image-manger-account-info
fix: provide manager/account info for storagecachedimage
2021-11-08 12:44:10 +08:00
Qiu Jian
7d8f079178 minor fixes 2021-11-08 12:21:27 +08:00
Qiu Jian
c4871168be fix: provide manager/account info for storagecachedimage 2021-11-08 12:07:02 +08:00
Zexi Li
2190b5a7f6 Merge pull request #12589 from ioito/hotfix/qx-image-download-progress-bar
fix(climc): add progress bar for image download
2021-11-08 11:05:29 +08:00
Zexi Li
95a5d7c342 Merge pull request #12580 from ioito/hotfix/qx-progress
fix(region): support progress for resource status
2021-11-08 11:04:54 +08:00
Zexi Li
356dccc6fe Merge pull request #12615 from ioito/hotfix/qx-mcclient-modules
fix(common): split mcclient modules by service
2021-11-08 11:04:35 +08:00
Qiu Jian
528eb2ab30 fix: optimize vm disk io parameters 2021-11-08 10:05:16 +08:00
Jian Qiu
1b5ec22599 fix: cleanup compile warnings (#12620)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:35 +08:00
Qu Xuan
06dc1c1b87 fix(common): split mcclient modules by service 2021-11-05 19:24:50 +08:00
tb365
0fd3f99045 loadbalancer sync remove backend group 2021-11-05 19:08:57 +08:00
Zexi Li
dfbd439135 Merge pull request #12570 from ioito/hotfix/qx-account-sync
fix(region): enable sync account by resource
2021-11-05 18:49:45 +08:00
Zexi Li
17203d06d2 Merge pull request #12558 from ioito/hotfix/qx-sub-accounts
fix(region): cloud account sync optimized
2021-11-05 18:39:24 +08:00
Zexi Li
c5f5a4d862 Merge pull request #12613 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor host query fix
2021-11-05 18:37:08 +08:00
zhaoxiangchun
5f6330dcaf fix(monitor): monitor host query fix 2021-11-05 14:12:04 +08:00
Zexi Li
8840065c8d Merge pull request #12609 from ioito/hotfix/qx-sec-rule-update-cidr
fix(region): avoid cidr change 0.0.0.0/0
2021-11-05 10:39:59 +08:00
tb365
7eb2365595 loadbalancer ipfronts 2021-11-05 10:39:52 +08:00
Qu Xuan
16666d9cb4 fix(region): avoid cidr change 0.0.0.0/0 2021-11-05 10:03:38 +08:00
Zexi Li
18ccc6b6d2 Merge pull request #12600 from tb365/feature/tb-gcp-lb-read
support gcp regional lb sync
2021-11-05 01:15:23 +08:00
Zexi Li
6c0b66e54b Merge pull request #12603 from ioito/hotfix/qx-openstack-no-vnc
fix(webconsole): support vnc for openstack
2021-11-05 01:14:41 +08:00
Zexi Li
d0cbc99423 feat(region,host): create or update server add machine option (#12605) 2021-11-04 22:26:47 +08:00
Qu Xuan
5f497f2d6a fix(webconsole): support vnc for openstack 2021-11-04 19:24:52 +08:00
Zexi Li
2196265a68 Merge pull request #12602 from zexi/readme-install-ansible
fix(readme): install ansible
2021-11-04 17:26:58 +08:00
Zexi Li
880c2e4a41 fix(readme): install ansible 2021-11-04 17:24:28 +08:00
tb365
5b573b66ea support gcp regional lb sync 2021-11-04 16:58:54 +08:00
Zexi Li
acaba56c88 Merge pull request #12595 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor alert support:{level} filter
2021-11-04 16:24:59 +08:00
zhaoxiangchun
23ebe099cc fix(monitor): add monitor sheild {expired} state 2021-11-04 16:19:09 +08:00
zhaoxiangchun
20e16dc86b fix(monitor): onecloud notifier send sys when user_ids and robot_ids
length == 0
2021-11-04 15:42:08 +08:00
Qu Xuan
8161430590 fix(region): support progress for resource status 2021-11-04 10:35:30 +08:00
Zexi Li
9ebbd54e17 Merge pull request #12598 from rainzm/robot/system
fix(notify): init system tenant_id for robot without tenant_id
2021-11-03 22:56:01 +08:00
rainzm
ef57e07fba fix(notify): init system tenant_id for robot without tenant_id 2021-11-03 19:57:16 +08:00
Zexi Li
d6abd6a606 Merge pull request #12593 from rainzm/esxi/ip_sync
fix(region): avoid syncing when starting or stoping esxi vm
2021-11-03 18:08:31 +08:00
Zexi Li
ca7f38c8b5 Merge pull request #12590 from rainzm/dvs/uplink
fix(esxi): avoid uplink dvpg
2021-11-03 18:07:06 +08:00
rainzm
4cb043f814 fix(region): avoid syncing when starting or stoping esxi vm 2021-11-03 17:43:09 +08:00
Zexi Li
781f238b7f Merge pull request #12585 from zexi/server-disk-change-storage
feat(region,host): implement server change disk storage
2021-11-03 17:14:07 +08:00
zhaoxiangchun
f3e16e85b1 fix(monitor): monitor alert support:{level} filter 2021-11-03 17:04:05 +08:00
rainzm
cdbe3aa015 fix(esxi): avoid uplink dvpg 2021-11-03 17:02:03 +08:00
Qu Xuan
4d93929c17 fix(climc): add progress bar for image download 2021-11-03 16:08:17 +08:00
Zexi Li
cde34767c0 feat(region,host): implement server change disk storage 2021-11-03 11:01:01 +08:00
Jian Qiu
1b5b1c9796 fix: disable MFA by default (#12586) 2021-11-03 01:31:26 +08:00
Zexi Li
d409bdc7c3 Merge pull request #12561 from swordqiu/hotfix/qj-delay-gpu-probe-on-host-init
fix: delayed probing GPU on host init and add disable_gpu option
2021-11-03 00:00:27 +08:00
Zexi Li
8dd85953d1 Merge pull request #12577 from rainzm/isp/delete
fix(region): delete instance snapshot itself after deleting subsnapshots
2021-11-02 23:47:41 +08:00
Zexi Li
504d23e4a9 Merge pull request #12581 from ioito/hotfix/qx-cdn-purge
fix(region): cdn purge
2021-11-02 23:46:24 +08:00
Zexi Li
52626e9133 Merge pull request #12583 from rainzm/robot/init1
fix(notify): init ProjectId for robots without ProjectId
2021-11-02 23:45:15 +08:00
rainzm
0a2e1b84c2 fix(notify): init ProjectId for robots without ProjectId 2021-11-02 20:18:19 +08:00
Qu Xuan
7e9306c283 fix(region): cdn purge 2021-11-02 19:25:14 +08:00
rainzm
1710c4ce0d fix(region): delete instance snapshot itself after deleting subsnapshots 2021-11-02 10:26:16 +08:00
Zexi Li
da8f6c7f56 Merge pull request #12571 from ioito/hotfix/qx-avoid-panic
fix(region): avoid panic when query is nil
2021-11-01 20:28:13 +08:00
Zexi Li
e67e07e838 Merge pull request #12574 from rainzm/agent/fix1
Flag for installing agent
2021-11-01 20:27:20 +08:00
rainzm
fe4b19a757 feat(region): add have-agent action for guest 2021-11-01 19:38:14 +08:00
rainzm
f46e3747ff feat(cloudproxy): add purge-forward for proxy endpoint 2021-11-01 19:37:38 +08:00
Qu Xuan
9e4e49ba62 fix(region): avoid panic when query is nil 2021-11-01 16:30:07 +08:00
Qu Xuan
8e90725e6e fix(region): enable sync account by resource 2021-11-01 14:15:40 +08:00
Zexi Li
bfaf8729ed Merge pull request #12559 from rainzm/notify/fix7
fixes for notify
2021-11-01 10:07:26 +08:00
Zexi Li
3a0dab1235 Merge pull request #12564 from rainzm/schedulertask/init
fix(region): init timerQueue correctly
2021-11-01 10:05:25 +08:00
yunion-ci-robot
adc98502f6 Merge pull request #12568 from swordqiu/hotfix/qj-cleanup-region-data
fix: clean up region data
2021-11-01 09:50:09 +08:00
Qiu Jian
5efddfe95c fix: clean up region data 2021-10-30 22:06:01 +08:00
rainzm
76ff9de58b fix(region): init timerQueue correctly 2021-10-30 17:59:30 +08:00
Qiu Jian
a970249cc1 fix: delayed probing GPU on host init and add disable_gpu option 2021-10-30 11:46:16 +08:00
rainzm
2a3dccfe15 feat(notify): add WebconsoleDisable for topic 2021-10-29 19:33:15 +08:00
Qu Xuan
afa7a650a3 fix(region): cloud account sync optimized 2021-10-29 19:18:27 +08:00
rainzm
123cd0addc fix(notify): init robot project info 2021-10-29 16:47:15 +08:00
Zexi Li
df82bd1cb9 Merge pull request #12556 from ioito/hotfix/qx-vm-nic
fix(region): avoid empty ip addr for vm
2021-10-29 15:23:16 +08:00
Zexi Li
a3b38971f1 Merge pull request #12554 from ioito/hotfix/qx-vpc-usable-zone
fix(region): filter vpcs by zone
2021-10-29 15:21:08 +08:00
Qu Xuan
ce64d2dcc0 fix(region): filter vpcs by zone 2021-10-29 14:32:28 +08:00
Qu Xuan
d0f2c5e4a5 fix(region): avoid empty ip addr for vm 2021-10-29 11:50:08 +08:00
Zexi Li
6a9d681168 Merge pull request #12551 from ioito/hotfix/qx-qemu-img-panic
fix(host): avoid panic when qemu-img info error
2021-10-29 11:37:02 +08:00
Qu Xuan
07cc843b2b fix(host): avoid panic when qemu-img info error 2021-10-29 11:16:53 +08:00
Zexi Li
2911f24528 Merge pull request #12484 from tb365/bugfix/tb-bugfix-101802
ctyun api updates
2021-10-29 11:09:11 +08:00
Zexi Li
2aad91fb8b Merge pull request #12548 from swordqiu/hotfix/qj-apigateway-refresh-api-server-option
fix: apigateway request api_server option directly from keystone
2021-10-29 11:08:24 +08:00
Zexi Li
f563e964b7 Merge pull request #12474 from ioito/feat/qx-k8s
feat(region): kube cluster sync
2021-10-29 11:07:51 +08:00
Qu Xuan
4fbd23d730 feat(region): kube cluster sync 2021-10-29 10:44:10 +08:00
Qiu Jian
9fb27993eb fix: apigateway request api_server option directly from keystone 2021-10-28 23:51:17 +08:00
Zexi Li
4ae0a419d2 Merge pull request #12546 from ioito/hotfix/qx-cephx-none
fix(host): cephx closed
2021-10-28 21:01:24 +08:00
Qu Xuan
24376647f8 fix(host): cephx closed 2021-10-28 20:04:04 +08:00
Zexi Li
fd23aad54a Merge pull request #12540 from ioito/hotfix/qx-rbd-storage-attach
fix(host): avoid storage attach not report error
2021-10-28 18:24:54 +08:00
Zexi Li
67ff676e5c Merge pull request #12544 from rainzm/notify/generate_name
fix(notify): be compatible with Chinese when generating names
2021-10-28 18:17:13 +08:00
rainzm
635423218e fix(notify): be compatible with Chinese when generating names 2021-10-28 17:06:07 +08:00
Qu Xuan
b6c5df2784 fix(host): avoid storage attach not report error 2021-10-28 16:59:35 +08:00
Zexi Li
e69cba7ef9 Merge pull request #12535 from ioito/hotfix/qx-validate-update
fix(region): validate update
2021-10-28 16:36:29 +08:00
Zexi Li
ee9c4b43d9 Merge pull request #12504 from ioito/hotfix/qx-qemu-img
fix(host): qemu-image info with json
2021-10-28 16:30:38 +08:00
Zexi Li
c6d45adecc Merge pull request #12531 from ioito/hotfix/qx-aliyun-cdn
fix(region): add cdn domain
2021-10-28 10:03:22 +08:00
Zexi Li
e99013d548 Merge pull request #12533 from ioito/hotfix/qx-waf-app-tags-sync
Hotfix/qx waf app tags sync
2021-10-28 09:55:21 +08:00
Zexi Li
b7cfd04185 Merge pull request #12538 from ioito/hotfix/qx-api-server-changed
fix(apigateway): api_server changed
2021-10-28 09:53:04 +08:00
Qu Xuan
e4fa104f71 fix(apigateway): api_server changed 2021-10-27 19:37:05 +08:00
Qu Xuan
21dbc49528 fix(region): validate update 2021-10-27 17:53:57 +08:00
yunion-ci-robot
0ff3227ced Merge pull request #12495 from zhaoxiangchun/fix/zxc-dispatcher-master
fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
2021-10-27 17:26:45 +08:00
Qu Xuan
b4eaa34ffb fix(region): add waf and app tags sync 2021-10-27 17:00:03 +08:00
Qu Xuan
2679f944f6 fix(region): add cdn domain 2021-10-27 15:37:45 +08:00
Zexi Li
ff320eb9e0 Merge pull request #12485 from zhaoxiangchun/feature/zxc-monitor-resource-master
feat(monitor): monitor resource pull region  metadata info
2021-10-27 10:37:58 +08:00
Zexi Li
1455599035 Merge pull request #12469 from tb365/bugfix/tb-bugfix-101902
eip bind aws server fix
2021-10-27 10:00:39 +08:00
Zexi Li
ea7540cb14 Merge pull request #12527 from zhaoxiangchun/feature/zxc-azure-metric
feat(monitor,cloudmon): add azure rds,redis,lb metric
2021-10-26 19:34:20 +08:00
Zexi Li
20be215e40 Merge pull request #12517 from tb365/bugfix/tb-bugfix-102601
cn-southwest-2 default bgp type 5_sbgp
2021-10-26 19:31:45 +08:00
Zexi Li
df4f157974 Merge pull request #12523 from ioito/hotfix/qx-openstack-sync-panic
fix(region): openstack eip sync
2021-10-26 19:15:50 +08:00
zhaoxiangchun
e20c47a0f9 feat(monitor,cloudmon): add azure rds,redis,lb metric
1.支持azure相关资源监控
2021-10-26 17:37:25 +08:00
Qu Xuan
219f280dc2 fix(region): openstack eip sync 2021-10-26 15:34:36 +08:00
yunion-ci-robot
790227c1bc Merge pull request #12476 from rainzm/webhook/extend
Webhook/extend
2021-10-26 15:18:45 +08:00
rainzm
98f501b0e6 feat(notify): configure the new resource and its translation 2021-10-26 14:44:56 +08:00
rainzm
2a8cfa612b feat(region): add some resources to create deleted webhook notifications 2021-10-26 14:41:16 +08:00
Zexi Li
3d0fa46021 Merge pull request #12520 from zexi/cdn-gen-code
fix(region): cdn generated code
2021-10-26 11:02:07 +08:00
Zexi Li
66c8609748 fix(region): cdn generated code 2021-10-26 10:59:23 +08:00
rainzm
e5cefa54f5 feat(notify): add Action sync_create, sync_update, sync_delete 2021-10-26 10:50:12 +08:00
rainzm
a7d54f8044 feat(notify): update topic 2021-10-26 10:50:12 +08:00
tb365
d30b57efb6 cn-southwest-2 default bgp type 5_sbgp 2021-10-26 09:27:59 +08:00
Zexi Li
129f2525c3 Merge pull request #12510 from zexi/baremetal-options-worker-count
fix(baremetal): TaskWorkerCount options not init
2021-10-25 15:34:44 +08:00
Zexi Li
b3d3c8de66 fix(baremetal): TaskWorkerCount options not init 2021-10-25 11:55:43 +08:00
yunion-ci-robot
f7406fad88 Merge pull request #12505 from ioito/hotfix/qx-qcloud-nic-disk
fix(region): qcloud classic nic and storage sync
2021-10-24 16:56:08 +08:00
Qu Xuan
0698b074b2 fix(region): qcloud classic nic and storage sync 2021-10-22 18:24:48 +08:00
Qu Xuan
0e3b83f85b fix(host): qemu-image info with json 2021-10-22 17:23:16 +08:00
Zexi Li
91f41cb7da Merge pull request #12498 from ioito/hotfix/qx-rbd-secret
fix(region): hide rbd disk secret
2021-10-22 16:50:40 +08:00
Zexi Li
ccbe03881e Merge pull request #12496 from ioito/hotfix/qx-ceph-snap-delete
fix(host): ceph snap delete
2021-10-22 15:26:49 +08:00
Qu Xuan
e26074b4c6 fix(region): hide rbd disk secret 2021-10-22 15:05:19 +08:00
Qu Xuan
756f13dd7c fix(host): ceph snap delete 2021-10-22 14:45:03 +08:00
zhaoxiangchun
d313c79a43 fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
1. 支持对使用了聚合函数的field进行orderby 操作,如:sum(amount) as
   amount
2021-10-22 14:28:04 +08:00
Zexi Li
cb56269f43 Merge pull request #12491 from ioito/hotfix/qx-change-config-with-snapshot
fix(region): set storage with snapshot id when change vm disk config
2021-10-22 13:12:29 +08:00
Zexi Li
d922783fe3 Merge pull request #12486 from ioito/hotfix/qx-struct-disk-create-params
fix(host): struct disk create params
2021-10-22 11:51:26 +08:00
Qu Xuan
c6a1d5f3f9 fix(region): set storage with snapshot id when change vm disk config 2021-10-22 11:45:35 +08:00
yunion-ci-robot
5d0087d585 Merge pull request #12487 from zexi/arm-snapshot-locking
fix(host): disk snapshot file locking off
2021-10-22 11:40:04 +08:00
Qu Xuan
6fda698eef fix(host): struct disk create params 2021-10-22 11:25:48 +08:00
Zexi Li
b2c17142a6 fix(host): disk snapshot file locking off 2021-10-22 11:19:10 +08:00
Zexi Li
4c6069a222 Merge pull request #12471 from tb365/bugfix/tb-bugfix-102001
host count add filters
2021-10-21 20:08:55 +08:00
Zexi Li
6f2ccf15e5 Merge pull request #12481 from ioito/hotfix/qx-rbd-storage-mount-point
fix(host): same mountpoint rbd storage
2021-10-21 17:11:10 +08:00
zhaoxiangchun
5ed88ef90d feat(monitor): monitor resource pull region metadata info 2021-10-21 16:09:58 +08:00
tb365
8353530cc7 ctyun api updates 2021-10-21 14:44:48 +08:00
Qu Xuan
206702298a fix(host): same mountpoint rbd storage 2021-10-21 14:35:19 +08:00
tb365
a12a36bfc3 eip bind aws server fix 2021-10-21 11:56:11 +08:00
Zexi Li
cfac1bd222 Merge pull request #12478 from zexi/automated-cherry-pick-of-#12477-upstream-master
Automated cherry pick of #12477: fix(baremetal): rebuild root calculate root disk partitions incorrect
2021-10-21 11:27:58 +08:00
Zexi Li
cc9ce71790 fix(baremetal): rebuild root calculate root disk partitions incorrect 2021-10-21 01:06:42 +08:00
tb365
70b15d19dc host count add filters 2021-10-20 16:45:41 +08:00
Zexi Li
bfddbaed9a Merge pull request #12457 from zexi/bm-task-worker-option
fix(baremetal): add task_worker_count option
2021-10-19 22:40:32 +08:00
Zexi Li
7c4e7a503f Merge pull request #12460 from ioito/optimized/qx-qemu-img-convert
optimized(region): improve img convert speed
2021-10-19 22:38:37 +08:00
Zexi Li
109b38fdea Merge pull request #12467 from ioito/hotfix/qx-cdn-origins
fix(region): sync cdn domain origins
2021-10-19 22:31:29 +08:00
Zexi Li
40e1d658dc Merge pull request #12464 from swordqiu/hotfix/qj-fix-glance-missing-s3fs
fix: glance depends s3fs
2021-10-19 22:29:03 +08:00
Qu Xuan
89a701e5bb fix(region): sync cdn domain origins 2021-10-19 16:10:38 +08:00
Qu Xuan
25666b7895 optimized(region): improve img convert speed 2021-10-19 10:55:12 +08:00
Qiu Jian
f038ae7247 fix: glance depends s3fs 2021-10-19 10:31:35 +08:00
Zexi Li
6e3c7a44d3 fix(baremetal): add task_worker_count option 2021-10-18 22:41:27 +08:00
Zexi Li
e3d43f8485 Merge pull request #12455 from ioito/hotfix/qx-metadata-list
fix(region): tag list for natgateways
2021-10-18 22:16:30 +08:00
Qu Xuan
55ab564042 fix(region): tag list for natgateways 2021-10-18 19:04:52 +08:00
Zexi Li
59666a0bdb Merge pull request #12347 from tb365/bugfix/tb-bugfix-093001
ctyun api updates
2021-10-18 18:19:53 +08:00
Zexi Li
26c4aa7b8f Merge pull request #12452 from ioito/hotfix/qx-capacities-length-overflow
fix(region): capacities overflow with azure
2021-10-18 17:20:24 +08:00
Zexi Li
2433c369ce Merge pull request #12438 from ioito/hotfix/qx-account-sync
fix(region): allow account sync when auto sync enabled
2021-10-18 17:20:04 +08:00
Qu Xuan
05f27b5b5c fix(region): capacities overflow with azure 2021-10-18 16:12:12 +08:00
Zexi Li
78da1aa7ee Merge pull request #12447 from swordqiu/feature/qj-phoenix-os-support
feature: support PhoenixOS guest
2021-10-18 15:22:27 +08:00
Zexi Li
33312a1e30 Merge pull request #12449 from swordqiu/hotfix/qj-update-vga-vdi-correlation
fix: update server vdi and vga with correlation
2021-10-18 15:15:38 +08:00
Zexi Li
8f0031d44f Merge pull request #12444 from swordqiu/hotfix/qj-glance-use-multicloud-objectstorage-client
fix: glance use multicloud objectstorage client to manipulate objectstorage
2021-10-18 15:14:21 +08:00
Qiu Jian
f6fc04fad7 fix: update server vdi and vga with correlation 2021-10-17 22:09:39 +08:00
Qiu Jian
b4c6ee7a48 feature: support PhoenixOS guest 2021-10-17 04:19:10 +08:00
Qiu Jian
b53ca64176 fix: remove s3fs client from docker image 2021-10-17 02:52:19 +08:00
Qiu Jian
21cc4903f2 fix: make minio endpoint compatible with multicloud objectstorage 2021-10-17 02:51:44 +08:00
Qiu Jian
3d9a7792d3 fix: glance use multicloud objectstorage client to manipulate
objectstorage
2021-10-17 02:20:00 +08:00
Qu Xuan
fd17400461 fix(region): waf and app tags sync 2021-10-15 16:56:30 +08:00
Qu Xuan
ea38a691f5 fix(region): allow account sync when auto sync enabled 2021-10-15 14:09:49 +08:00
Zexi Li
674e8340b0 Merge pull request #12409 from tb365/feature/tb-vm-image-download
add image download api
2021-10-15 09:49:50 +08:00
Zexi Li
54ddbd8e0a Merge pull request #12412 from ioito/hotfix/qx-xfs-lock
fix(host): xfs unlock
2021-10-15 09:46:28 +08:00
Zexi Li
52d0d339c5 Merge pull request #12423 from ioito/hotfix/qx-google-rds-tags-sync
fix(region): google rds tags sync
2021-10-15 09:42:33 +08:00
Zexi Li
58e8065180 Merge pull request #12426 from rainzm/st/fix
fix(region): wait all goroutine finished when execute scheduled_tasks
2021-10-15 09:38:15 +08:00
Zexi Li
21548c55d7 Merge pull request #12429 from rainzm/robot/list
fix(notify): robot ListItemFilter
2021-10-15 09:37:36 +08:00
Zexi Li
c895cfb459 Merge pull request #12434 from swordqiu/feature/qj-mac-prefix-option
feature: add global mac prefix option
2021-10-15 09:36:50 +08:00
Zexi Li
5a4e863208 Merge pull request #12432 from swordqiu/hotfix/qj-set-cpu-sockets-to-two
fix: set qemu cpu sockets to 2 for x86 cpu
2021-10-15 09:36:07 +08:00
Qiu Jian
6a169b4161 feature: add global mac prefix option 2021-10-15 01:06:17 +08:00
Qiu Jian
ad7f8b0fac fix: set qemu cpu sockets to 2 for x86 cpu 2021-10-14 23:22:49 +08:00
tb365
6f42858527 add image download api 2021-10-14 18:55:32 +08:00
rainzm
1e9410fc57 fix(notify): robot ListItemFilter 2021-10-14 17:01:19 +08:00
rainzm
de397db1bc fix(region): wait all goroutine finished when execute scheduled_tasks 2021-10-14 16:00:27 +08:00
Qu Xuan
eb3d0fc78d fix(region): google rds tags sync 2021-10-14 15:22:24 +08:00
yunion-ci-robot
3d96a4c730 Merge pull request #12406 from seraphico/bugfix/fix2021013
fix(region,compute): clean up redundant error checking
2021-10-14 12:50:44 +08:00
Zexi Li
e2461c3967 Merge pull request #12398 from ioito/hotfix/qx-nat-cdn-tags
Hotfix/qx nat cdn tags
2021-10-14 12:45:03 +08:00
Zexi Li
bac5ba2345 Merge pull request #12403 from rainzm/agent/metadata
fix(devtool): change agent install metadata key
2021-10-14 12:43:58 +08:00
Zexi Li
3b6c540fe3 Merge pull request #12407 from rainzm/subsriber/change
Fix changing of subscribers
2021-10-14 12:42:20 +08:00
Zexi Li
d144eda4df Merge pull request #12410 from rainzm/robot/climc
fix(climc): set param 'enable' as *bool
2021-10-14 12:07:28 +08:00
Zexi Li
2bf7639f4c Merge pull request #12413 from rainzm/topic/modify
fix(notify): modify resource list of topic
2021-10-14 12:05:58 +08:00
Zexi Li
13e62ff263 Merge pull request #12415 from swordqiu/hotfix/qj-windows-enable-selected-user
fix: enable disabled select user for windows (especially for windows 10)
2021-10-14 12:05:18 +08:00
Zexi Li
cee35c6cd5 Merge pull request #12396 from tb365/feature/tb-batch-add-user-add-displayname
batch add user add displayname
2021-10-14 11:15:02 +08:00
Qiu Jian
1594704ed1 fix: enable disabled select user for windows (especially for windows 10) 2021-10-14 00:35:31 +08:00
rainzm
35b5a049ef fix(notify): modify resource list of topic 2021-10-13 19:56:16 +08:00
Qu Xuan
1f90b5aa7f fix(host): xfs unlock 2021-10-13 19:15:12 +08:00
rainzm
68833094e1 fix(climc): set param 'enable' as *bool 2021-10-13 18:40:41 +08:00
rainzm
b2a45cb98e fix(notify): support modify rolescope when change subscriber 2021-10-13 16:43:21 +08:00
rainzm
517da1d61b fix(notify): use roleCache to display role info 2021-10-13 16:33:17 +08:00
rainzm
9e64205386 fix(notify): SetModelManager to delete successfully 2021-10-13 16:32:35 +08:00
xingyaodong
02381d439e fix(region,compute): clean up redundant error checking 2021-10-13 12:05:21 +08:00
Qu Xuan
97951872ba fix(region): cdn nat tags sync 2021-10-13 12:01:01 +08:00
Qu Xuan
508bb8b0f0 fix(region): sync nat and cnd tags 2021-10-13 12:01:01 +08:00
rainzm
fc6c741b1f fix(devtool): change agent install metadata key
The tag beginning with sys will be overwritten by the cloud
2021-10-13 11:41:52 +08:00
Zexi Li
1332c7de4f Merge pull request #12401 from rainzm/cloudproxy/generatename
feat(cloudproxy): support generateName for createFromServer
2021-10-13 10:02:34 +08:00
rainzm
7cb1d8286d feat(cloudproxy): support generateName for createFromServer 2021-10-12 20:31:21 +08:00
Zexi Li
e3d0aeb945 Merge pull request #12394 from rainzm/notify/fixc
Notify fixes
2021-10-12 19:57:06 +08:00
Zexi Li
85d44ef36e Merge pull request #12391 from ioito/hotfix/qx-aliyun-rds-tags
fix(region): aliyun rds tags sync
2021-10-12 19:55:45 +08:00
rainzm
9d3a853b94 fix: change errors package 2021-10-12 18:09:05 +08:00
Qu Xuan
baa6557b82 fix(region): aliyun rds tags sync 2021-10-12 18:04:08 +08:00
tb365
18eaf73da5 batch add user add displayname 2021-10-12 17:39:04 +08:00
rainzm
04946cb7f6 fix(notify): modify 'dingtalk-robot' to 'workwx-robot' 2021-10-12 15:36:06 +08:00
rainzm
1adca2120a fix(notify): remove "已经" in templ 2021-10-12 15:31:58 +08:00
rainzm
c4feb6af95 fix(notify): add PENDING_DELETE tmpl 2021-10-12 15:21:56 +08:00
Zexi Li
ecd36b289c Merge pull request #12226 from zexi/redfish-panic
fix(baremetal): avoid redfish resp nil cause panic
2021-10-12 11:43:44 +08:00
Zexi Li
2f99fba893 Merge pull request #12387 from ioito/hotfix/qx-mongodb-tag
fix(region): support tag sync for mongodb
2021-10-11 19:18:13 +08:00
rainzm
4bbc096a4d fix(notify): get the receivers that need to be added and deleted correctly 2021-10-11 17:46:51 +08:00
Qu Xuan
e608a22a75 fix(region): support tag sync for mongodb 2021-10-11 17:08:55 +08:00
yunion-ci-robot
4e309a24ed Merge pull request #12384 from zexi/glance-s3-image-removed
fix(glance): s3 uploaded image removed
2021-10-11 14:08:43 +08:00
Zexi Li
4ee582154a Merge pull request #12381 from rainzm/devtool/forward
fix(devtool): creates a forward using the specified address
2021-10-11 12:45:14 +08:00
Zexi Li
6d21e5ecb0 fix(glance): s3 uploaded image removed 2021-10-11 12:40:30 +08:00
rainzm
c3aa1f2b6d fix(devtool): creates a forward using the specified address 2021-10-11 09:58:52 +08:00
屈轩
e0b5e1efa4 fix(host): show disk details error (#12373)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:03:05 +08:00
屈轩
127584f07f fix(glance): remove image clean (#12372)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:02:49 +08:00
Zexi Li
07f8709cbd fix(climc): host-ssh use privateKey when ciphertext too short (#12370) 2021-10-10 12:02:20 +08:00
Zexi Li
ff20135968 Merge pull request #12378 from zexi/fix-monitor-swagger-gen
fix(monitor): use swagger ignore comment out structs
2021-10-09 21:47:17 +08:00
Zexi Li
5b65cee385 fix(monitor): use swagger ignore comment out structs 2021-10-09 21:11:32 +08:00
Zexi Li
65d72e4bed Merge pull request #12364 from ioito/hotfix/qx-cloudpods-misc
fix(region): fix cloudpods scheduler error
2021-10-09 09:17:13 +08:00
Zexi Li
dd1632fdb6 Merge pull request #12366 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): alert record details add trigger_time field
2021-10-09 09:15:47 +08:00
Zexi Li
f8cf2551ff Merge pull request #12368 from rainzm/notify/fix
Fixes for Notify Subscribers
2021-10-09 09:15:20 +08:00
rainzm
27fac4b484 fix(notify): update mobile where appropriate 2021-10-08 21:24:11 +08:00
rainzm
09a670d67b fix(notify): modify the width of ReceiverId 2021-10-08 21:24:11 +08:00
rainzm
1e9e192a9c fix(notify): add default policy for subscribers 2021-10-08 21:22:17 +08:00
zhaoxiangchun
0dd1071fb9 fix(monitor): alert record details add trigger_time field 2021-10-08 17:11:28 +08:00
Qu Xuan
ee6251c4af fix(region): fix cloudpods scheduler error 2021-10-08 15:10:39 +08:00
Zexi Li
80d9bf5ebb Merge pull request #12362 from ioito/hotfix/qx-sync-by-capability
fix(region): sync resource by capability with read only
2021-10-08 12:07:59 +08:00
Qu Xuan
a8f8ecf363 fix(region): sync resource by capability with read only 2021-10-08 11:46:03 +08:00
Zexi Li
d4fe8236bc Merge pull request #12359 from tb365/bugfix/tb-bugfix-100601
kvm lb update lb listener redirect code fix
2021-10-08 10:13:37 +08:00
Zexi Li
3e71cb6b97 Merge pull request #12353 from swordqiu/hotfix/qj-webconsole-close-connection-on-error
fix: webconsole close socket when read on error
2021-10-08 10:12:14 +08:00
tangbin
693dd26641 kvm lb update lb listener redirect code fix 2021-10-06 22:08:03 +08:00
yunion-ci-robot
c2dc4436d5 Merge pull request #12355 from zexi/bm-cat-path
fix(baremetal): change cat path
2021-10-06 20:50:41 +08:00
Zexi Li
ce12d9a690 fix(baremetal): change cat path 2021-10-05 21:20:21 +08:00
Qiu Jian
ec53154eee fix: webconsole close socket when read on error 2021-10-03 10:50:11 +08:00
yunion-ci-robot
e9be54f9bc Merge pull request #12350 from ioito/hotfix/qx-network-brand
fix(region): network brand
2021-10-01 11:55:38 +08:00
Qu Xuan
c18971e527 fix(region): network brand 2021-10-01 11:42:43 +08:00
tb365
9b4ab1ca6e ctyun api updates 2021-09-30 15:40:15 +08:00
Zexi Li
012317f366 Merge pull request #12317 from ioito/hotfix/qx-readonly-capability
fix(region): read only capability
2021-09-30 10:09:36 +08:00
Zexi Li
ebe7e79acd Merge pull request #12343 from ioito/hotfix/qx-resize-failed-error
fix(host): show error for online resize
2021-09-30 09:48:58 +08:00
Qu Xuan
ab2cd9ff55 fix(host): show error for online resize 2021-09-29 20:18:23 +08:00
Zexi Li
5d5aa2e54d Merge pull request #12335 from zexi/adaptec-raid-mode
fix(baremetal): adjust adaptec raid logical volume order
2021-09-29 17:35:40 +08:00
Zexi Li
c93574eaa2 Merge pull request #12341 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): update usage query param and alert record query support tigger_time
2021-09-29 17:26:55 +08:00
zhaoxiangchun
83e80c8733 fix(monitor): update usage query param and alert record query support
tigger_time
2021-09-29 15:49:25 +08:00
Zexi Li
f89c412897 Merge pull request #12316 from rainzm/notify/better
Notify Bug Fixes
2021-09-29 14:51:23 +08:00
rainzm
8d32750850 fix(notify): optimization of message template 2021-09-29 14:12:28 +08:00
Zexi Li
bcca2290ca fix(baremetal): adjust adaptec raid logical volume order 2021-09-29 12:03:19 +08:00
Zexi Li
3752b63caa Merge pull request #12333 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): shield list support alert_name and res_name like query
2021-09-29 11:29:05 +08:00
Zexi Li
0ebd7d313c Merge pull request #12104 from ioito/hotfix/qx-vm-sync-optimized
fix(region): optimized vm disk sync
2021-09-29 11:28:13 +08:00
zhaoxiangchun
bf4b98ca36 fix(monitor): shield list support alert_name and res_name like query 2021-09-28 20:38:48 +08:00
Zexi Li
1a3d417678 Merge pull request #12325 from rainzm/sshproxy/fix
fix(region): avoid duplicate playbook names
2021-09-28 19:58:01 +08:00
Zexi Li
cf0520b6f1 Merge pull request #12328 from ioito/hotfix/qx-dns-zone-sync-records
fix(region): optimized dns zone sync
2021-09-28 19:56:05 +08:00
Qu Xuan
d5005bfedf fix(region): optimized dns zone sync 2021-09-28 19:30:41 +08:00
Zexi Li
722ac974c7 Merge pull request #12322 from ioito/hotfix/qx-domain-project-statistic-params
fix(region): support query for project domain statistic
2021-09-28 17:58:56 +08:00
Zexi Li
dd19cc8374 Merge pull request #12320 from ioito/hotfix/qx-google-vm-running
fix(region): set google vm running after start
2021-09-28 17:58:21 +08:00
Zexi Li
3e22ce0883 Merge pull request #12318 from zhaoxiangchun/feature/zxc-usage-domain-3.8
feat(cloudmon): usage add domain.servers and project.servers statistic
2021-09-28 17:57:39 +08:00
rainzm
a2104db323 fix(region): avoid duplicate playbook names 2021-09-28 17:11:16 +08:00
rainzm
de0db5ac3d fix(notify): add connect info in EXPIRED_RELEASE template 2021-09-28 11:30:14 +08:00
rainzm
8cb7ef24f2 fix(notify): remove disk in 'update' topic 2021-09-27 19:54:35 +08:00
rainzm
e1f8850f25 fix(notify): solve the permission problem of subscriber 2021-09-27 19:06:24 +08:00
rainzm
e300795f42 fix(notify): allow list and get topics for all 2021-09-27 18:24:20 +08:00
Qu Xuan
f99e105ae6 fix(region): support query for project domain statistic 2021-09-27 17:09:44 +08:00
Qu Xuan
abfe35dce3 fix(region): set google vm running after start 2021-09-27 16:50:58 +08:00
rainzm
78115949a0 fix(notify): correctly use tenant cache to query domain 2021-09-27 16:41:58 +08:00
Qu Xuan
4711bd9087 fix(region): read only capability 2021-09-27 16:37:53 +08:00
rainzm
16fc73f355 fix(notify): check for duplicate subscribers when creating 2021-09-27 16:15:02 +08:00
rainzm
66dc7388b5 fix(notify): update database when change subscriber's identification 2021-09-27 15:53:35 +08:00
zhaoxiangchun
6f2c6dca33 feat(cloudmon): usage add domain.servers and project.servers statistic 2021-09-27 15:13:04 +08:00
rainzm
c5ea363f43 fix(cloudcommon): set Priority as normal when calling EventNotify 2021-09-27 11:38:01 +08:00
rainzm
8d70077da4 fix(notify): repull subcontact correctly when creating or deleting config 2021-09-27 11:04:00 +08:00
rainzm
964a64949e fix(notify): modify NotifyRobotWithCtx 2021-09-27 11:04:00 +08:00
rainzm
29d53eb04a fix(notify): change the delivery format of config and eliminate some redundant steps of sending messages 2021-09-27 11:03:59 +08:00
Zexi Li
8a597e1bf4 Merge pull request #12307 from zhaoxiangchun/fix/zxc-monitor-notify-3.8
fix(monitor): monitor alert support multi robot
2021-09-27 00:43:27 +08:00
Zexi Li
74a4451254 Merge pull request #12301 from ioito/hotfix/qx-isolated-dev-domain
fix(region): usage for domain isolated dev
2021-09-27 00:42:27 +08:00
Zexi Li
89176f1d6e Merge pull request #12302 from ioito/hotfix/qx-aliyun-rds-billing-type
fix(region): aliyun rds billing type
2021-09-26 20:10:40 +08:00
Zexi Li
b8cb0a9cc1 Merge pull request #12311 from swordqiu/hotfix/qj-add-disable-kvm-option
fix: host add disable_kvm option
2021-09-26 20:09:44 +08:00
Zexi Li
f15d5e744b Merge pull request #12314 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): monitor shield fix
2021-09-26 20:09:03 +08:00
zhaoxiangchun
46de2ec5a3 fix(monitor): monitor shield fix
1.支持resName过滤
2.告警屏蔽默认屏蔽时间为100year
2021-09-26 19:12:42 +08:00
yunion-ci-robot
6a85dbb654 Merge pull request #12309 from tb365/bugfix/tb-bugfix-092603
climc update: google account update
2021-09-26 17:39:34 +08:00
Qiu Jian
a8df3cef5a fix: host add disable_kvm option 2021-09-26 17:35:16 +08:00
tb365
ba0e096b9a climc update: google account update 2021-09-26 17:22:56 +08:00
yunion-ci-robot
ea9f462449 Merge pull request #12241 from zexi/bm-adaptec-raid
feat(baremetal): adaptec raid driver
2021-09-26 17:17:34 +08:00
Qu Xuan
47f918bd84 fix(region): optimized vm disk sync 2021-09-26 16:51:14 +08:00
zhaoxiangchun
b499eaeb06 fix(monitor): monitor alert support multi robot
1. 机器人下放到域后监控报警支持
2021-09-26 16:34:13 +08:00
Qu Xuan
aa937d3e0a fix(region): aliyun rds billing type 2021-09-26 15:53:02 +08:00
Qu Xuan
1046213b33 fix(region): usage for domain isolated dev 2021-09-26 14:43:17 +08:00
Zexi Li
90138e1f5b feat(baremetal): adaptec raid driver 2021-09-26 11:44:00 +08:00
Zexi Li
9c1b82180b Merge pull request #12291 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): project view hide cloudaccount resource
2021-09-26 10:05:42 +08:00
Zexi Li
c507a78298 Merge pull request #12259 from ioito/hotfix/qx-optimized-list-query
fix(region): optimized validate delete condition query
2021-09-26 10:03:18 +08:00
Zexi Li
6fccf60d26 Merge pull request #12293 from ioito/hotfix/qx-project-domain-statistic
fix(region): add project and domain statistic
2021-09-26 09:57:45 +08:00
Zexi Li
c8f0c63506 Merge pull request #12295 from swordqiu/hotfix/qj-cleanup-openvswitch-conf
fix: clean openvswitch config files when save images
2021-09-26 09:56:50 +08:00
Qiu Jian
a3fc6c282c fix: clean openvswitch config files when save images 2021-09-24 21:56:55 +08:00
Qu Xuan
c730e58e75 fix(region): add project and domain statistic 2021-09-24 18:58:34 +08:00
zhaoxiangchun
68734afe05 fix(monitor): project view hide cloudaccount resource 2021-09-24 17:54:54 +08:00
Zexi Li
d7f77fff84 Merge pull request #12278 from ioito/hotfix/qx-google-mac-addr
fix(region): google vm mac addr
2021-09-24 15:25:22 +08:00
Zexi Li
922957b179 Merge pull request #12275 from ioito/hotfix/qx-aws-rds
fix(region): sync aws rds mem size
2021-09-24 15:25:00 +08:00
Zexi Li
b0aa2ad18b Merge pull request #12281 from swordqiu/hotfix/qj-disable-password-expiration-for-cloudroot
fix: disable password expiration for cloudroot
2021-09-24 15:24:05 +08:00
Zexi Li
786989adc1 Merge pull request #12285 from ioito/hotfix/qx-duplicate-field-vpc
fix(region): export field duplicate vpc
2021-09-24 15:23:28 +08:00
Zexi Li
0533394797 Merge pull request #12272 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): fix cloudaccount monitor query return field err
2021-09-24 10:27:03 +08:00
Qu Xuan
72895b1e48 fix(region): export field duplicate vpc 2021-09-24 09:59:19 +08:00
Qiu Jian
91c595d4f7 fix: disable password expiration for cloudroot 2021-09-24 01:25:41 +08:00
yunion-ci-robot
763fcd51e5 Merge pull request #12268 from zexi/win10-disable-kbd
fix(host): disable usb-kbd for windows 10
2021-09-24 00:25:35 +08:00
Qu Xuan
3c2212d158 fix(region): google vm mac addr 2021-09-23 20:27:50 +08:00
Qu Xuan
9aaa497a11 fix(region): sync aws rds mem size 2021-09-23 20:04:39 +08:00
zhaoxiangchun
7220836f9d fix(monitor): fix alert record shield
1. 修复报警屏蔽列表不显示时间的问题
2. 未恢复报警增加报警策略名称字段
2021-09-23 18:08:50 +08:00
zhaoxiangchun
7ba3aec725 fix(monitor): fix cloudaccount monitor query return field err 2021-09-23 17:52:52 +08:00
Zexi Li
924265f8cc fix(host): disable usb-kbd for windows 10 2021-09-23 14:33:34 +08:00
Qu Xuan
8ba5393ae5 fix(region): optimized validate delete condition query 2021-09-23 09:58:54 +08:00
Zexi Li
d778289826 Merge pull request #12258 from swordqiu/hotfix/qj-verify-token-with-expired-at
fix: verify token with expired_at field instead of depending on options.TokenExpirationSeconds
2021-09-23 09:37:37 +08:00
Zexi Li
e6884cc017 Merge pull request #12263 from ioito/hotfix/qx-external-domain
fix(region): external project support domain sync
2021-09-23 09:36:10 +08:00
Qu Xuan
1412939fcb fix(region): external project support domain sync 2021-09-22 23:09:16 +08:00
Zexi Li
07368eb9ff Merge pull request #12243 from rainzm/mergewire
fix(region): consider the network of the entire VPC when merging networks
2021-09-22 11:56:59 +08:00
Zexi Li
ae95414dff Merge pull request #12222 from zexi/sched-arch-match
fix(scheduler): cpu arch match
2021-09-22 11:42:16 +08:00
Zexi Li
5b2b0912a8 Merge pull request #12253 from ioito/hotfix/qx-optimzed-network-vnic-query
fix(region): optimzed network query
2021-09-22 11:29:55 +08:00
Qiu Jian
9e5529d584 fix: verify token with expired_at field instead of
options.TokenExpirationSeconds
2021-09-22 11:20:53 +08:00
Zexi Li
d5ef3c1307 fix(scheduler): cpu arch match 2021-09-22 11:13:01 +08:00
Qu Xuan
7bbed78111 fix(region): optimzed network query 2021-09-18 18:57:46 +08:00
Zexi Li
43466858f1 Merge pull request #12236 from rainzm/vgrename
fix: ensure the success of vgrenam
2021-09-18 16:36:23 +08:00
Zexi Li
cbf16d97dc Merge pull request #12254 from ioito/hotfix/qx-ceph-fix
fix(host): ceph snap delete
2021-09-18 16:27:11 +08:00
Qu Xuan
9d292a409a fix(host): ceph snap delete 2021-09-18 14:18:56 +08:00
Zexi Li
61effcd532 Merge pull request #12240 from ioito/hotfix/qx-rbd-command
fix(hostman): rbd command
2021-09-17 16:52:19 +08:00
Zexi Li
683dbf01cf Merge pull request #12250 from ioito/hotfix/qx-region-driver
fix(region): get region driver
2021-09-17 16:46:51 +08:00
Zexi Li
69bd4180e3 Merge pull request #12247 from ioito/hotfix/qx-scheduler-openstack
fix(scheduler): openstack scheduler options
2021-09-17 16:33:48 +08:00
Qu Xuan
a6f77b2f13 fix(region): get region driver 2021-09-17 16:20:36 +08:00
Qu Xuan
0dae07682d fix(scheduler): openstack scheduler options 2021-09-17 16:06:05 +08:00
rainzm
1986ea0048 fix(region): consider the network of the entire VPC when merging networks 2021-09-17 14:49:33 +08:00
Qu Xuan
0634920240 fix(hostman): rbd command 2021-09-17 14:18:04 +08:00
Zexi Li
0c324146dd Merge pull request #12213 from ioito/hotfix/qx-apsara-monitor
fix(cloudmon): batch send data
2021-09-17 09:35:25 +08:00
Qu Xuan
a4e4b72b27 fix(cloudmon): batch send data 2021-09-16 19:40:35 +08:00
rainzm
a545ad10e1 fix(host-deployer): ensure the success of vgrenam 2021-09-16 17:43:19 +08:00
rainzm
454ebe49e1 feat(host-deployer): try again if the partition cannot be found 2021-09-16 17:38:35 +08:00
yunion-ci-robot
77543f1bc9 Merge pull request #12227 from Stargic/feature/implement-x
feat(climc): SSH login of a host by private key
2021-09-16 15:11:28 +08:00
Stargic
83090fba22 feat(climc): SSH login of a host by private key 2021-09-16 11:16:59 +08:00
Zexi Li
5468b34011 Merge pull request #12219 from ioito/hotfix/qx-disk-master-host
fix(region): disk choice master host with os arch
2021-09-15 22:31:20 +08:00
Zexi Li
f94fa92216 Merge pull request #12228 from swordqiu/hotfix/qj-event-show-filter-by-resource-name
fix: climc event-show filter by resource name
2021-09-15 22:17:16 +08:00
yunion-ci-robot
6989f57994 Merge pull request #12230 from zexi/fix-mptsas
fix(baremetal): parse mptsas duplicated devices
2021-09-15 21:56:29 +08:00
Zexi Li
76e2f3e254 fix(baremetal): parse mptsas duplicated devices 2021-09-15 21:09:16 +08:00
Qiu Jian
ae9ab6a8e5 fix: climc event-show filter by resource name 2021-09-15 20:01:20 +08:00
Zexi Li
37d62d1411 fix(baremetal): avoid redfish resp nil cause panic 2021-09-15 15:14:07 +08:00
Qu Xuan
cac72654e3 fix(region): disk choice master host with os arch 2021-09-15 12:17:01 +08:00
Zexi Li
da9f4a32cb Merge pull request #12214 from zhaoxiangchun/feature/zxc-cloudmon-master
fix(cloudmon): Azure metric pull support metric interval
2021-09-15 10:01:48 +08:00
Zexi Li
18775b18c4 Merge pull request #12206 from swordqiu/hotfix/qj-aws-assume-role-with-optional-name
fix: AWS asume role with optional name
2021-09-15 01:14:55 +08:00
yunion-ci-robot
7f8c50bc0b Merge pull request #12202 from Stargic/feature/implement-x
feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
2021-09-15 01:09:28 +08:00
zhaoxiangchun
70bc4bdf85 fix(cloudmon): Azure metric pull support metric interval 2021-09-14 19:36:12 +08:00
Stargic
e33411d926 feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
fix(climc): Fixed the code logic error of FOR loop in server-ssh
2021-09-14 16:27:59 +08:00
Zexi Li
8a51a2b786 Merge pull request #12166 from rainzm/withcache
feat(region): add cloudcache for dnszone and secgroup details
2021-09-14 16:19:33 +08:00
Zexi Li
2903d04373 Merge pull request #12199 from ioito/hotfix/qx-apsara-monitor
fix(region): apsara metric data
2021-09-14 16:17:49 +08:00
Zexi Li
278751385c Merge pull request #12209 from tb365/bugfix/tb-bugfix-091401
fix(region): change aws disk iops
2021-09-14 16:15:14 +08:00
tb365
77725fa8f8 fix(region): change aws disk iops 2021-09-14 16:01:40 +08:00
Qu Xuan
1467c0bc84 fix(region): apsara metric data 2021-09-14 11:34:45 +08:00
Qiu Jian
9c4ee62c94 fix: AWS asume role with optional name 2021-09-14 00:38:33 +08:00
yunion-ci-robot
8dfa31ea08 Merge pull request #12203 from zexi/azure-classic-metrics
feat(cloudmon): support classic vm metrics
2021-09-13 22:59:29 +08:00
Zexi Li
c1d0f7d413 feat(cloudmon): support classic vm metrics 2021-09-13 22:30:42 +08:00
Zexi Li
4467de37eb Merge pull request #12196 from tb365/bugfix/tb-bugfix-091301
pure hcso zone is not empty fix
2021-09-13 17:07:04 +08:00
Zexi Li
fedc742917 Merge pull request #12193 from ioito/hotfix/qx-apsara-resource-group
fix(region): apsara resource group
2021-09-13 17:05:20 +08:00
tb365
78788b4e18 pure hcso zone is not empty fix 2021-09-13 11:47:03 +08:00
Qu Xuan
92945d37f7 fix(region): apsara resource group 2021-09-13 10:12:21 +08:00
Zexi Li
55cb7ef439 Merge pull request #12189 from zexi/gpu-addr-missing
fix(region): isolated_device desc include addr
2021-09-10 20:30:31 +08:00
Zexi Li
d6596b37af fix(region): isolated_device desc include addr 2021-09-10 19:35:15 +08:00
yunion-ci-robot
dfa571e970 Merge pull request #12184 from ioito/hotfix/qx-qcloud-rds-database-sync
fix(region): qcloud database sync
2021-09-10 19:16:27 +08:00
Zexi Li
3be6c60335 Merge pull request #12176 from ioito/hotfix/qx-huawei-region-id
fix(region): huawei region id with project name
2021-09-10 19:08:48 +08:00
Zexi Li
1f8a91890b Merge pull request #12181 from ioito/hotfix/qx-apsara-project
Hotfix/qx apsara project
2021-09-10 19:08:02 +08:00
Qu Xuan
22aa15b722 fix(region): qcloud database sync 2021-09-10 18:27:49 +08:00
Qu Xuan
0ac575ef1e fix(region): sync apsara project info 2021-09-10 18:00:20 +08:00
Qu Xuan
d233597017 fix(region): 不能通过华为云用户创建时间判断云账号注册时间 2021-09-10 17:17:22 +08:00
Qu Xuan
f2c568f187 fix(region): support apsara project 2021-09-10 16:08:27 +08:00
Qu Xuan
121d024ef4 fix(region): huawei region id with project name 2021-09-10 15:02:35 +08:00
yunion-ci-robot
8649a42b35 Merge pull request #12125 from Stargic/feature/implement-x
fix(climc): SSH terminal window changes with the change of local terminal
2021-09-10 11:56:26 +08:00
Zexi Li
dab3ec9512 Merge pull request #12171 from ioito/hotfix/qx-scheduler-option
fix(scheduler): options for openstack scheduler
2021-09-10 11:53:56 +08:00
Stargic
6b70362275 fix(climc): SSH terminal window changes with the change of local terminal 2021-09-09 20:49:33 +08:00
Zexi Li
7fa1c7ef49 Merge pull request #12168 from ioito/hotfix/qx-qcloud-tag-sync
fix(region): optimized qcloud tag sync
2021-09-09 20:25:51 +08:00
Qu Xuan
272283831b fix(scheduler): options for openstack scheduler 2021-09-09 17:53:41 +08:00
Qu Xuan
61bf81d71a fix(region): optimized qcloud tag sync 2021-09-09 17:38:33 +08:00
rainzm
aa274ddc40 feat(region): add cloudcache for dnszone and secgroup details 2021-09-09 16:38:14 +08:00
Zexi Li
a7b45eb105 Merge pull request #12162 from ioito/hotfix/qx-apsara-bucket-regionid
fix(region): sync apsara region
2021-09-09 16:29:27 +08:00
Qu Xuan
dda9ae25f6 fix(region): sync apsara region 2021-09-09 15:36:03 +08:00
Zexi Li
9dbdab3f3b Merge pull request #12157 from swordqiu/hotfix/qj-esxi-kvm-convert-set-driver-revisited
fix: set disk driver and network driver for converting esxi to kvm
2021-09-08 23:06:19 +08:00
Zexi Li
b863ef977d Merge pull request #12152 from zhaoxiangchun/feature/zxc-monitor_sheild_master
fix(monitor): add record shield details param
2021-09-08 23:05:44 +08:00
Zexi Li
f1f67f0c35 Merge pull request #12149 from zhaoxiangchun/feature/zxc-commalert
fix(monitor): add monitor resource details field
2021-09-08 22:52:11 +08:00
Zexi Li
0c8cfb9840 Merge pull request #12154 from ioito/hotfix/qx-project-default-project
fix(region): sync aliyun qcloud default project
2021-09-08 22:51:27 +08:00
Qiu Jian
fe5724e89a fix: set disk driver and network driver for converting esxi to kvm 2021-09-08 22:26:18 +08:00
Qu Xuan
a6071995e1 fix(region): sync aliyun qcloud default project 2021-09-08 20:26:40 +08:00
zhaoxiangchun
bf69b62569 fix(monitor): add record shield details param 2021-09-08 18:01:12 +08:00
zhaoxiangchun
52a5ad0799 fix(monitor): add monitor resource details field 2021-09-08 17:36:56 +08:00
Zexi Li
52d887f955 Merge pull request #12141 from rainzm/agent/tenant_id
fix(devtool): get tenant info via correct field
2021-09-08 16:25:12 +08:00
Zexi Li
79295f2588 Merge pull request #12145 from ioito/hotfix/qx-apsara-acs-instance-id
fix(region): resource apsara resource id not found error
2021-09-08 16:20:25 +08:00
Qu Xuan
38dbc4ab4b fix(region): resource apsara resource id not found error 2021-09-08 15:51:29 +08:00
rainzm
ab9f28deec fix(devtool): get tenant info via correct field 2021-09-08 15:31:40 +08:00
Zexi Li
3d307418d7 Merge pull request #12126 from ioito/hotfix/qx-apsara-default-region
fix(region): apsara default region
2021-09-08 13:58:07 +08:00
Zexi Li
cd3293f6f0 Merge pull request #12134 from swordqiu/hotfix/qj-esxi-kvm-convert-set-driver
fix(region): change disk and network drivers for Esxi converted VM
2021-09-08 12:01:28 +08:00
Qiu Jian
fd5c9b8e6b fix(region): change disk and network drivers for Esxi converted VM 2021-09-08 11:38:36 +08:00
Qu Xuan
0c10274058 fix(region): apsara default region 2021-09-08 11:23:05 +08:00
Zexi Li
66839dbdb7 Merge pull request #12130 from tb365/bugfix/tb-bugfix-090801
fix(region): hcso sync server fix
2021-09-08 10:47:16 +08:00
tb365
e2dfa9940c fix(region): hcso sync server fix 2021-09-08 10:39:47 +08:00
Zexi Li
478340dc16 Merge pull request #12121 from ioito/hotfix/qx-apsara-endpoint
fix(region): apsara endpoint fix
2021-09-07 15:25:36 +08:00
Qu Xuan
b63d0a081b fix(region): apsara endpoint fix 2021-09-07 14:27:11 +08:00
Zexi Li
53be6b7bd7 Merge pull request #12117 from rainzm/fix/serviceurl
fix(devtool): create serviceurl
2021-09-07 10:49:35 +08:00
rainzm
70e58c1577 fix(devtool): create serviceurl 2021-09-07 10:33:32 +08:00
Zexi Li
d73b553f1a Merge pull request #12114 from tb365/bugfix/tb-bugfix-090601
NetworkUsableZoneIds remove duplicate zone ids
2021-09-06 21:47:51 +08:00
tb365
b9ac763c17 NetworkUsableZoneIds remove duplicate zone ids 2021-09-06 14:21:08 +08:00
yunion-ci-robot
45674df6a0 Merge pull request #12112 from ioito/hotfix/qx-sku-region-info
fix(region): sku region info
2021-09-06 00:16:24 +08:00
Qu Xuan
8033631f43 fix(region): sku region info 2021-09-05 22:55:03 +08:00
yunion-ci-robot
e7ef470652 Merge pull request #12105 from rainzm/devtool/devcheck
feat(devtool): add sshinfo and serviceurl
2021-09-05 16:59:23 +08:00
rainzm
9623c1585c feat(devtool): add sshinfo and serviceurl 2021-09-04 18:25:27 +08:00
yunion-ci-robot
4dcb2e741c Merge pull request #12102 from ioito/hotfix/qx-host-image-cache-error
fix(host): return cache image error
2021-09-03 14:59:23 +08:00
Qu Xuan
b0600af43f fix(host): return cache image error 2021-09-03 10:46:26 +08:00
Zexi Li
6e9c12cd6e fix(baremetal): reindex nic (#12086) 2021-09-03 02:38:48 +08:00
Zexi Li
6bac6f333f Merge pull request #12075 from ioito/hotfix/qx-json-desc
fix(region): struct guest json desc
2021-09-02 23:15:38 +08:00
Zexi Li
852f7fc0a5 Merge pull request #12090 from zexi/update-climc-base
fix(climc-base): update tag to 20210901
2021-09-02 23:14:28 +08:00
Zexi Li
e90a591dd2 Merge pull request #12094 from tb365/bugfix/tb-bugfix-090202
fix(region): lb list search address fix
2021-09-02 18:32:14 +08:00
Zexi Li
9cafb1d4b4 Merge pull request #12097 from zhaoxiangchun/bugfix/zxc-mon
fix(monitor): monitor resource apiHelper fix
2021-09-02 18:27:09 +08:00
Zexi Li
951e82894a Merge pull request #12100 from ioito/hotfix/qx-cloudpods
fix(region): cloudpods misc fix
2021-09-02 18:26:11 +08:00
Qu Xuan
2a74203508 fix(region): cloudpods network scheduler 2021-09-02 17:21:17 +08:00
Qu Xuan
4bb0e79ba1 fix(region): cloudpods misc fix 2021-09-02 15:50:45 +08:00
zhaoxiangchun
b0924ddc2d fix(monitor): monitor resource apiHelper fix
1. apiHeleper 中增加interface,对应的ModelSet可以指定资源过滤参数
2. monitor删除过期的资源
2021-09-02 14:24:40 +08:00
tb365
440e952f66 fix(region): lb list search address fix 2021-09-02 14:13:19 +08:00
Zexi Li
8afeea1054 Merge pull request #12067 from rainzm/ssh/port
feat(region): allow custom sshport when make sshable
2021-09-02 11:43:21 +08:00
Zexi Li
8f9375bdda fix(climc-base): update tag to 20210901 2021-09-01 20:15:25 +08:00
Zexi Li
495abf2f73 Merge pull request #12080 from ioito/hotfix/qx-access-group-cache-policy
fix(region): access group policy
2021-09-01 16:35:44 +08:00
Zexi Li
576eb81e91 Merge pull request #12077 from tb365/bugfix/tb-bugfix-090101
lb list api support search elastic ip
2021-09-01 15:16:35 +08:00
Zexi Li
54bceb9591 Merge pull request #12083 from swordqiu/hotfix/qj-add-ceph-common-to-climc-base-image
fix: add ceph-common to climc image, so as to make rbcli work
2021-09-01 14:47:54 +08:00
Qiu Jian
a785612872 fix: add ceph-common to climc image, so as to make rbcli work 2021-09-01 12:33:54 +08:00
rainzm
9103e4fba5 feat(region): allow custom sshport when make sshable 2021-09-01 11:42:28 +08:00
Qu Xuan
715dcce485 fix(region): access group policy 2021-09-01 11:16:50 +08:00
tb365
1934ea3edc lb list api support search elastic ip 2021-09-01 10:34:20 +08:00
Qu Xuan
5bd9059493 fix(region): struct guest json desc 2021-09-01 09:44:12 +08:00
Zexi Li
626ad20587 Merge pull request #12072 from swordqiu/hotfix/qj-not-lock-system-account
fix: do not lock system account user
2021-08-31 21:01:39 +08:00
Zexi Li
828a815c1f Merge pull request #12071 from zexi/automated-cherry-pick-of-#12066-upstream-master
Automated cherry pick of #12066: fix(climc): host-delete use batch delete function
2021-08-31 18:34:37 +08:00
Qiu Jian
a5054a23f2 fix: do not lock system account user 2021-08-31 17:44:01 +08:00
Zexi Li
c11700b04e Merge pull request #12043 from tb365/bugfix/tb-bugfix-082701
count host fix
2021-08-31 16:24:55 +08:00
tb365
75a0dee0e4 change host type to hcso 2021-08-31 15:48:56 +08:00
tb365
27e4fc31f9 count host fix 2021-08-31 15:47:04 +08:00
Zexi Li
bcdaf1e2fe Merge pull request #12062 from tb365/bugfix/tb-bugfix-083101
Bugfix/tb bugfix 083101
2021-08-31 15:16:05 +08:00
Zexi Li
bba90f21f3 fix(climc): host-delete use batch delete function 2021-08-31 15:13:38 +08:00
Zexi Li
bc2c0e4cd5 Merge pull request #12059 from ioito/hotfix/qx-eip-project-sync
fix(region): eip project sync
2021-08-31 11:31:49 +08:00
tb365
cd25e9dcbd make fmt 2021-08-31 11:09:34 +08:00
tb365
907095670c rename huaweicloudstack to hcso 2021-08-31 11:07:44 +08:00
tb365
41861f68f8 syncRemoveCloudHost purge host 2021-08-31 10:54:13 +08:00
Qu Xuan
fdcdb28dd2 fix(region): eip project sync 2021-08-31 10:33:01 +08:00
Zexi Li
68fbe72b6d Merge pull request #12040 from rainzm/server/notags
feat(region): add no_tags options to filter guests
2021-08-31 10:00:41 +08:00
Zexi Li
d14237111a Merge pull request #12056 from rainzm/notify/nullable
fix(region): delete the wrong tag 'nullable:false'
2021-08-31 09:56:31 +08:00
rainzm
52d9142b4d fix(region): delete the wrong tag 'nullable:false' 2021-08-30 16:52:34 +08:00
rainzm
a48c43220c feat(region): add no_tags options to filter guests
no_tags filter the guests without `no_tags`
2021-08-30 16:39:16 +08:00
Zexi Li
66495788df Merge pull request #12053 from ioito/hotfix/qx-os-type
fix(region): sync vm os type
2021-08-30 15:04:13 +08:00
Qu Xuan
6eb1dab59b fix(region): sync vm os type 2021-08-30 14:29:06 +08:00
Zexi Li
b316ab6737 Merge pull request #12050 from zexi/image-fuzzy-match
fix(glance): image fuzzy match by distro
2021-08-27 18:02:29 +08:00
Zexi Li
4ac7f74c41 fix(glance): image fuzzy match by distro 2021-08-27 18:01:09 +08:00
Zexi Li
9889b40f77 Merge pull request #12038 from zhaoxiangchun/feature/zxc-agent-metirc
fix(monitor): monitor rds sync
2021-08-27 16:56:42 +08:00
Zexi Li
7d0958f530 Merge pull request #11987 from ioito/feat/qx-cloudpods-optimized
feat(region): cloudpods operation
2021-08-27 16:49:42 +08:00
zhaoxiangchun
63c36639d1 fea(monitor): monitor apiHelper add domain,project 2021-08-27 15:55:36 +08:00
Qu Xuan
d5afe46774 feat(region): cloudpods operation 2021-08-27 15:44:45 +08:00
Zexi Li
5d1fb2c3b1 Merge pull request #12030 from zexi/appsrv-mul-http-srv
fix(keystone): appsrv listen multi port failed cause of race condition
2021-08-27 14:29:41 +08:00
Zexi Li
f2f3ad2d31 Merge pull request #12034 from ioito/hotfix/qx-aliyun-classic-vm
fix(region): sync aliyun classic network ip addr
2021-08-26 18:03:57 +08:00
zhaoxiangchun
402fb9b406 fix(monitor): monitor rds sync 2021-08-26 17:41:46 +08:00
Qu Xuan
4d383c423c fix(region): sync aliyun classic network ip addr 2021-08-26 17:14:50 +08:00
Zexi Li
738aaa7ab8 fix(keystone): appsrv listen multi port failed cause of race condition 2021-08-26 16:52:54 +08:00
Zexi Li
f1cbdee139 Merge pull request #12024 from zhaoxiangchun/fix/zxc-node-alert-vm
feat(cloudmon): support HuaweiCloudStack rds metric
2021-08-26 12:34:36 +08:00
Zexi Li
6b2ce52a39 Merge pull request #11999 from tb365/feature/tb-huawei-private-cloud6
hcso support sync vm host
2021-08-26 12:06:08 +08:00
Zexi Li
b2bccc8ae6 Merge pull request #12027 from zexi/fix-pty
fix(vendor): use creack/pty v1.1.11 to adapt go 1.15
2021-08-26 12:03:14 +08:00
Zexi Li
46c77129e9 fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:40:50 +08:00
Zexi Li
5c94a3ad32 Merge pull request #12006 from rainzm/direct/vpc
feat(region): add direct vpc options
2021-08-26 11:25:51 +08:00
zhaoxiangchun
0e12f15637 feat(cloudmon): support HuaweiCloudStack rds metric 2021-08-26 11:19:00 +08:00
rainzm
6e7e02edd8 feat(region): add direct field for vpc
This field describes whether the VPC can be connected directly
2021-08-26 11:08:25 +08:00
Zexi Li
3774e118f4 Merge pull request #12003 from rainzm/esxi/instancesnapshot_check
fix(region): check instancesnapshot in correct place when resize disk
2021-08-26 10:42:27 +08:00
Zexi Li
0b88893843 Merge pull request #12014 from zexi/fix-etcd-dependency
fix(cloudcommon): avoid service exit when etcd unreachable
2021-08-26 10:41:22 +08:00
Zexi Li
1656b903e1 Merge pull request #12020 from zexi/ignore-non-running-opt
feat(cloudcommon): move ignore_nonrunning_guests option to common
2021-08-26 10:30:02 +08:00
Zexi Li
9af8e601b6 Merge pull request #12018 from ioito/hotfix/qx-cdn-fix
fix(region): cdn misc fix
2021-08-26 00:15:44 +08:00
Zexi Li
b3a648fc76 feat(cloudcommon): move ignore_nonrunning_guests option to common 2021-08-25 21:02:50 +08:00
Zexi Li
601fb58968 Merge pull request #12009 from ioito/hotfix/qx-rds-network
fix(region): aliyun rds network sync
2021-08-25 20:17:38 +08:00
Qu Xuan
7be2ae5f63 fix(region): cdn misc fix 2021-08-25 20:15:11 +08:00
tb365
370a7f94d8 hcso support sync vm host 2021-08-25 20:07:58 +08:00
Zexi Li
057de7d59f fix(cloudcommon): avoid service exit when etcd unreachable 2021-08-25 19:44:15 +08:00
Qu Xuan
3ba32b401b fix(region): aliyun rds network sync 2021-08-25 18:54:00 +08:00
rainzm
fe05fa11ae fix(region): check instancesnapshot in correct place when resize disk 2021-08-25 17:09:46 +08:00
Zexi Li
71be0e5ff7 Merge pull request #11995 from zhaoxiangchun/fix/zxc-node-alert-vm
fix(monitor):fix monitor query top 5
2021-08-25 10:16:00 +08:00
zhaoxiangchun
9b3d68acbd fix(monitor):fix monitor query top 5 2021-08-25 10:00:02 +08:00
yunion-ci-robot
c069a687ca Merge pull request #11991 from zexi/find-medium-matched-storage
fix(region): try to find mediumType matched storage when create disk …
2021-08-25 08:49:05 +08:00
Zexi Li
15bad7664c Merge pull request #11983 from ioito/hotfix/qx-zstack-ipaddr
fix(region): enable zstack allocate ip by itself
2021-08-24 22:56:22 +08:00
Zexi Li
2f687370be Merge pull request #11988 from ioito/hotfix/qx-hcso-custom-role
fix(cloudid): hcso custom role
2021-08-24 22:55:03 +08:00
Zexi Li
8e12e27bdf fix(region): try to find mediumType matched storage when create disk for kvm 2021-08-24 21:34:29 +08:00
Qu Xuan
5fbfbaed43 fix(cloudid): hcso custom role 2021-08-24 20:52:02 +08:00
Qu Xuan
87d35a4a2c fix(region): enable zstack allocate ip by itself 2021-08-24 16:07:18 +08:00
7072 changed files with 739572 additions and 475298 deletions

View File

@@ -23,6 +23,7 @@ jobs:
- run:
command: |
make -j3 check
make test
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
echo $targets | tr ' ' '\n'
make $targets

View File

@@ -17,10 +17,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.14
go-version: 1.16
id: go
- name: Check out code into the Go module directory

2
.gitignore vendored
View File

@@ -41,3 +41,5 @@ pkg/generated
# gotext extracted
out.gotext.json
pkg/notify/sender/email_test.go

View File

@@ -49,7 +49,7 @@ CGO_LDFLAGS_ENV = $(shell go env CGO_LDFLAGS)
ifdef LIBQEMUIO_PATH
X_CGO_CFLAGS := ${CGO_CFLAGS_ENV} -I${LIBQEMUIO_PATH}/src -I${LIBQEMUIO_PATH}/src/include
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -lgnutls -lnettle -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
@@ -86,8 +86,8 @@ test:
vet:
go vet ./...
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
# cmd/esxi-agent: prepare_dir
# CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/fetcherfs: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
@@ -241,10 +241,25 @@ y18n-check:
.PHONY: y18n-check
define hostdeployer-grpc-gen
set -o errexit; \
set -o pipefail; \
protoc -I pkg/hostman/hostdeployer/apis \
--go_out=pkg/hostman/hostdeployer/apis \
--go_opt=paths=source_relative \
--go-grpc_out=pkg/hostman/hostdeployer/apis \
--go-grpc_opt=paths=source_relative \
pkg/hostman/hostdeployer/apis/deploy.proto
endef
hostdeployer-grpc-gen:
$(hostdeployer-grpc-gen)
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -267,9 +282,12 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=release/3.10
GOPROXY ?= direct
mod:
go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v sqlchemy))
go get -d yunion.io/x/sqlchemy@v1.0.2
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get -d yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v '/cloudmux$$'))
go mod tidy
go mod vendor -v

View File

@@ -4,12 +4,12 @@ __inc_Makefile_common_mk:=1
ifeq ($(ModName),)
$(error ModName must be set, e.g. yunion.io/x/onecloud)
endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:1.1-5
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:1.1-5
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.16.0-go-1.18.2-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.18.3-0
EnvIf=$(if $($(1)),$(1)=$($(1)))
@@ -17,6 +17,7 @@ define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
@@ -26,12 +27,14 @@ env \
chown -R $(shell id -u):$(shell id -g) _output
endef
tmpName=$(ModBaseName)-$(shell date +"%Y%m%d.%H%M%S%3N")
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force docker-centos-build-$(ModBaseName) &>/dev/null || true
docker rm --force docker-centos-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-centos-build-$(ModBaseName) \
--name docker-centos-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/centos-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/centos-build/_cache:/root/.cache \
@@ -42,7 +45,7 @@ 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 stop --time 0 docker-centos-build-$(ModBaseName) || true
docker stop --time 0 docker-centos-build-$(tmpName) || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
@@ -52,7 +55,9 @@ define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
git config --global --add safe.directory /root/go/src/yunion.io/x/onecloud
env \
$(call EnvIf,GOARCH) \
$(call EnvIf,GOOS) \
@@ -63,10 +68,10 @@ endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force docker-alpine-build-$(ModBaseName) &>/dev/null || true
docker rm --force docker-alpine-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-alpine-build-$(ModBaseName) \
--name docker-alpine-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
@@ -75,7 +80,7 @@ docker-alpine-build:
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 docker-alpine-build-$(ModBaseName) || true
docker stop --time 0 docker-alpine-build-$(tmpName) || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop

View File

@@ -21,16 +21,184 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
## 功能
Cloudpods提供了如下的功能
### 概览 & UI 展示
<details>
<summary>管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等</summary>
<ul>
<li>
<p>云帐号纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>云帐号列表</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>公有云虚拟机列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
<details>
<summary>
一个可以管理海量KVM虚拟机的轻量级私有云
</summary>
<ul>
<li>
<p>虚拟机列表</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>虚拟机创建页面</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>虚拟机可通过 VNC 或者 SSH 登录</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>宿主机列表</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>镜像模板列表</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>二层网络列表(经典网络)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IP子网列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>弹性公网IP列表VPC网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
<details>
<summary>
一个能进行物理机全生命周期管理的裸机云
</summary>
<ul>
<li>
<p>物理机列表</p>
<img src="https://i.imgur.com/Jz8b5nC.png">
</li>
<li>
<p>物理机纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>安装操作系统</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>支持 ARM64 的物理机服务器</li>
</ul>
</details>
<details>
<summary>一套完整的多租户认证和访问控制体系</summary>
<ul>
<li>
<p>支持本地sql、LDAP 等认证源</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>多租户系统,包括域,项目,组,用户,角色和权限等</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</li>
</ul>
</details>
<details>
<summary>
实现了VMware vSphere虚拟化集群的自助服务和自动化
</summary>
<ul>
<li>
<p>添加VMware云账号</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware云账号列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>自动创建二层网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>自动创建IP子网</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>新建VMware虚拟机</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
允许以统一的联邦身份访问各个云平台的原生控制台的SSO
</summary>
<ul>
<li>
<p>为云账号开启免密登录(以阿里云为例)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>将Cloudpods平台用户添加为免密登录用户</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>多云统一登录入口</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>多云统一登录-免密登录用户列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Cloudpods平台用户免密登录阿里云</p>
</li>
</ul>
</details>
<details>
<summary>
一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
</summary>
</details>
<details>
<summary>
自动将镜像转换为不同云平台需要的格式的多云镜像服务
</summary>
</details>
* 管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等
* 允许以统一的联邦身份访问各个云平台的原生控制台的SSO
* 一个可以管理海量KVM虚拟机的轻量级私有云
* 一个能进行物理机全生命周期管理的裸机云
* 实现了VMware vSphere虚拟化集群的自助服务和自动化
* 一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
* 一套完整的多租户认证和访问控制体系
* 自动将镜像转换为不同云平台需要的格式的多云镜像服务
### 支持的云平台
@@ -42,15 +210,17 @@ Cloudpods提供了如下的功能
* 华为云
* 腾讯云
* UCloud
* 中国电信
* 中国移动云
* 天翼
* 移动云
* 京东云
* 私有云:
* OpenStack
* ZStack
* AlibabaCloud Aspara (阿里飞天)
* Alibaba Cloud Aspara (阿里飞天)
* Huawei HCSO (华为HCSO)
* Nutanix
* 本地基础设施资源:
* KVM
* 基于 KVM 实现的轻量级私有云
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -67,50 +237,13 @@ Cloudpods提供了如下的功能
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 快速开始
## 安装部署
我们可以通过以下简单三步将Cloudpods安装在一台至少8GiB内存和100GB硬盘的Linux主机上目前CentOS 7Debian 10经过充分测试)
- [All in One 安装](https://www.cloudpods.org/zh/docs/quickstart/allinone/):在 CentOS 7Debian 10 等发行版里搭建全功能 Cloudpods 服务,可以快速体验**内置私有云**和**多云管理**的功能。
- [Kubernetes Helm 安装](https://www.cloudpods.org/zh/docs/quickstart/k8s/):在已有 Kubernetes 集群上通过 Helm 部署一套 Cloudpods CMP 服务,可以体验**多云管理**的功能。
- [Docker Compose 安装](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/):通过 Docker Compose 部署 Cloudpods CMP 服务,可以迅速体验**多云管理**的功能。
- [高可用安装](https://www.cloudpods.org/zh/docs/setup/ha-ce/):在生产环境中使用高可用的方式部署 Cloudpods 服务,包括**内置私有云**和**多云管理**的功能。
(下面假设该主机的IP为 *10.168.26.216*)
### 1. 准备SSH免密登录
```bash
# Generate the local ssh keypair
# (SKIP this stekp if you already have ~/.ssh/id_rsa.pub locally)
$ ssh-keygen
# Copy the generated ~/.ssh/id_rsa.pub public key to the machine to be deployed
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# Try to login to the machine to be deployed without password,
# should be able to get the hostname of the deployed machine
# without entering the login password
$ ssh root@10.168.26.216 "hostname"
```
### 2. 安装git和相关工具
#### CentOS 7安装git和epel源
```bash
yum install -y git epel-release
```
#### Debian 10安装git
```bash
apt install -y git
```
### 3. 安装Cloudpods
通过以下命令开始安装Cloudpods
```bash
# Git clone the ocboot installation tool locally
$ git clone https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
大概10-30分钟后安装完成。访问 https://10.168.26.216 登入Cloudpods的Web控制台。初始的账号为 *admin* ,密码为 *admin@123*
请参考文档 [快速开始](https://www.cloudpods.org/zh/docs/quickstart/) 获得更详细的安装指导。
## 文档
@@ -126,7 +259,7 @@ $ git clone https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168
您可以通过如下方式联系我们:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* [服务订阅](https://www.yunion.cn/subscription/index.html)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/623431553/)

247
README.md
View File

@@ -23,14 +23,186 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
## Features
* Multi-cloud management that is able to manage a wide range of cloud providers, including private cloud, such as OpenStack, and public clouds, such as AWS, Azure, Google Cloud, Alibaba Cloud, Tencent Cloud, Huawei Cloud, etc.
* Cloud SSO that allows accessing native webconsole of cloud providers with unified federated identities
* A light-weight private cloud that manages KVM hypervisor in scale
* A BareMetal cloud that automates the full life-cycle management of baremetal physical machines
* VMware vSphere management that enables self-service and automation
* One set of feature-rich APIs to access a wide range of resources from cloud providers above with consistent models and APIs
* A complete multi-tenancy RBAC-enabled IAM (identity and access management) system
* Multi-cloud image management system that automates image conversion between different cloud providers
### Summary & UI
<details>
<summary>
Multi-cloud management that is able to manage a wide range of cloud providers, including private cloud, such as OpenStack, and public clouds, such as AWS, Azure, Google Cloud, Alibaba Cloud, Tencent Cloud, Huawei Cloud, etc.
</summary>
<ul>
<li>
<p>Cloud account create form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>Cloud accounts list</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>Multi public cloud VM list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
<details>
<summary>
A light-weight private cloud that manages KVM hypervisor in scale
</summary>
<ul>
<li>
<p>VM instances list</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>Create VM instance form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>VNC and SSH login page</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>Host list</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>Image template list</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>Wire list (Classic Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IPsubnet list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>Eip list (VPC Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
<details>
<summary>
A BareMetal cloud that automates the full life-cycle management of baremetal physical machines
</summary>
<ul>
<li>
<p>BareMetal list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/physicalmachinelist.png">
</li>
<li>
<p>Baremetal Management</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>Create OS on BareMetal</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>ARM64 baremetal supported</li>
</ul>
</details>
<details>
<summary>
A complete multi-tenancy RBAC-enabled IAM (identity and access management) system
</summary>
<ul>
<li>
<p>sql, LDAP supported</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>Multi-tenancy system, include domain, project, group, user, role, policy</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</ul>
</details>
<details>
<summary>
VMware vSphere management that enables self-service and automation
</summary>
<ul>
<li>
<p>Add VMware account</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware account list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>Automatic creation of wire</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>Automatic creation of ipsubnet</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>Create a VMware VM instance</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
Cloud SSO that allows accessing native webconsole of cloud providers with unified federated identities
</summary>
<ul>
<li>
<p>Enable the SSO login function of the cloud account (aliyun as an example)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>create saml users</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>Cloud SSO entry</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>Cloud SSO - SSO login user</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Sign in to the public cloud platform with SSO</p>
</li>
</ul>
</details>
<details>
<summary>
One set of feature-rich APIs to access a wide range of resources from cloud providers above with consistent models and APIs
</summary>
</details>
<details>
<summary>
Multi-cloud image management system that automates image conversion between different cloud providers
</summary>
</details>
### Supported cloud providers
@@ -48,9 +220,11 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* Private Clouds:
* OpenStack
* ZStack
* AlibabaCloud Aspara
* Alibaba Cloud Aspara
* Huawei HCSO
* Nutanix
* On-premise resources:
* KVM
* Lightweight private cloud built on KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -67,53 +241,12 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Quick start
## Getting started
You may install Cloudpods in a Linux box (currently CentOS 7 and Debian 10 are fully tested) with at least 8GiB RAM and 100GB storage by following three steps.
(Assuming that you install Cloudpods on a Linux box with IP *10.168.26.216*):
### 1. Prepare passwordless SSH login
```bash
# Generate a local ssh keypair
# (SKIP this step if you already have ~/.ssh/id_rsa.pub locally)
$ ssh-keygen
# Copy the generated ~/.ssh/id_rsa.pub public key to the machine to be deployed
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# Try to login to the machine to be deployed without password,
# should be able to get the hostname of the deployed machine
# without entering the login password
$ ssh root@10.168.26.216 "hostname"
```
### 2. Install git and relevant tools
#### For CentOS 7
```bash
yum install -y git epel-release
```
#### For Debian 10
```bash
apt install -y git
```
### 3. Install Cloudpods
Run the following commands to start installing Cloudpods.
```bash
# Git clone the ocboot installation tool locally
$ git clone https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
It takes 10-30 minutes to finish the installation. You may visit the webconsole of Cloudpods at https://10.168.26.216. The initial login account is *admin* and password is *admin@123*.
For more detailed instructions, please refers to [quick start](https://www.cloudpods.org/en/docs/quickstart/).
- [All in One Installation](https://www.cloudpods.org/zh/docs/quickstart/allinone/)Building a full-featured Cloudpods service on linux distributions such as CentOS 7 or Debian 10 allows for a quick experience of the **built-in private cloud** and **multi-cloud management** features.
- [Kubernetes Helm Installation](https://www.cloudpods.org/zh/docs/quickstart/k8s/)Deploying the Cloudpods CMP service on an existing Kubernetes cluster using Helm and experience the **multi-cloud management** feature.
- [Docker Compose Installation](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/)Deploying the Cloudpods CMP service using Docker Compose and quickly experience the **multi-cloud management** feature.
- [High availability installation](https://www.cloudpods.org/zh/docs/setup/ha-ce/)Deploying Cloudpods services in a highly available manner for production environments, including **built-in private cloud** and **multi-cloud management** features.
## Documentations
@@ -131,7 +264,7 @@ Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) fo
You may contact us by:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* [Subscription](https://www.yunion.cn/subscription/index.html)
* Bilibili: [Cloudpods](https://space.bilibili.com/623431553/)

View File

@@ -48,7 +48,9 @@ mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
cp -rf $BIN $BUILDROOT/$BIN_PATH
cp -rf $ROOT/root/* $BUILDROOT/
if [ -d $ROOT/root ]; then
cp -rf $ROOT/root/* $BUILDROOT/
fi
echo "Build root ${BUILDROOT}"

View File

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

View File

@@ -4,6 +4,8 @@ MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ UTC
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
@@ -11,5 +13,8 @@ RUN set -x \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add py3-pip \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*
RUN pip3 install pywinrm

View File

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

View File

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

View File

@@ -1,10 +1,36 @@
FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
#RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#RUN yum install -y http://192.168.23.50:8083/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v0.1.8-20230221.2 as yunionos
FROM centos:8 as grub-stage
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
RUN dnf install -y grub2*
# make grub_booti386 firmware
RUN grub2-mkimage -d /usr/lib/grub/i386-pc/ -O i386-pc-pxe -o /root/grub_booti386 -p '/grub' pxe tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal biosdisk
# make grub_bootx64 firmware
RUN grub2-mkimage -d /usr/lib/grub/x86_64-efi/ -O x86_64-efi -o /root/grub_bootx64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
# make grub_arm64 firmware
RUN grub2-mkimage -d /usr/lib/grub/arm64-efi/ -O arm64-efi -o /root/grub_arm64.efi -p '/grub' efinet tftp boot linux ext2 xfs ntfs fat part_msdos part_gpt normal efi_gop
RUN mkdir -p /tftp/grub
RUN cp /root/grub_booti386 /tftp
RUN cp -rf /usr/lib/grub/i386-pc /tftp/grub
RUN cp /root/grub_bootx64.efi /tftp
RUN cp -rf /usr/lib/grub/x86_64-efi /tftp/grub
RUN cp /root/grub_arm64.efi /tftp
RUN cp -rf /usr/lib/grub/arm64-efi /tftp/grub
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3-3.13.5
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
RUN mkdir -p /opt/yunion/bin
@@ -18,17 +44,45 @@ RUN mkdir -p /opt/cloud/yunion/baremetal
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 --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
#COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
#COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# copy grub file
COPY --from=grub-stage /tftp/grub_booti386 /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub_arm64.efi /opt/cloud/yunion/baremetal
COPY --from=grub-stage /tftp/grub /opt/cloud/yunion/baremetal/grub
# copy boot files from yunionos
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/aarch64/kernel /opt/cloud/yunion/baremetal/kernel_aarch64
COPY --from=yunionos /yunionos/aarch64/initramfs /opt/cloud/yunion/baremetal/initramfs_aarch64
# TODO: syslinux firmwares should removed in future
COPY --from=yunionos /yunionos/x86_64/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/pxelinux.0 /opt/cloud/yunion/baremetal

View File

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

View File

@@ -11,10 +11,12 @@ RUN set -x \
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~fe11a96b-0.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~fe11a96b-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf-0.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf-0.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~be742cbf-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~be742cbf-0_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf_windows_amd64.zip -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf_windows_i386.zip -P /opt/yunion/ansible-install-pkg
Run mkdir -p /opt/yunion/playbook
Run mkdir /opt/yunion/playbook/monitor-agent

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.4
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/lbagent /opt/yunion/bin/lbagent

View File

@@ -0,0 +1,35 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-2
MAINTAINER "Jian QIU <qiujian@yunion.cn>"
ENV TZ UTC
ENV GOPATH=/root/go
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN set -x \
&& apk update \
&& apk upgrade \
&& apk add --no-cache bash haproxy keepalived iptables \
&& apk add --no-cache --virtual .build-deps \
build-base \
make \
go \
git \
gcc \
libc-dev \
libgcc \
linux-headers
RUN set -x \
&& mkdir -p $GOPATH/src/github.com/yyyar $GOPATH/bin \
&& cd $GOPATH/src/github.com/yyyar \
&& git clone --depth 1 https://github.com/yyyar/gobetween.git \
&& cd gobetween \
&& make deps \
&& make build \
&& cp bin/gobetween /bin/gobetween \
&& rm -fr $GOPATH \
&& apk del .build-deps \
&& rm -rf /var/cache/apk/*

View File

@@ -0,0 +1,13 @@
FROM alpine:3.15.4
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*

View File

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

View File

@@ -8,11 +8,14 @@ debian10-base:
-t registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 -f ./Dockerfile.debian-base .
ONECLOUD_BASE_VERSION = v0.3-3.13.5
ONECLOUD_BASE_VERSION_3-15-4 = v3.15.4-0
onecloud-base:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION) -f ./Dockerfile.onecloud-base .
onecloud-base-3-15-4:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-15-4) -f ./Dockerfile.onecloud-base-3-15-4 .
ANSIBLESERVER_BASE = v1.0.5-2
ANSIBLESERVER_BASE = v1.1.1
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
@@ -27,7 +30,7 @@ WEBCONSOLE_BASE_VERSION = v0.2-1
webconsole-base:
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION) -f ./Dockerfile.webconsole-base .
BAREMETAL_BASE_VERSION = v0.3.3-2
BAREMETAL_BASE_VERSION = v0.3.9-20230221.2
baremetal-base:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
@@ -45,3 +48,19 @@ FILE_REPO_VERSION = v0.3.3
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .
HOST_IMAGE_VERSION ?= v1.0.2
HOST_IMAGE_NAME = $(REGISTRY)/host-image:$(HOST_IMAGE_VERSION)
host-image:
docker pull $(HOST_IMAGE_NAME)-amd64 --platform amd64
docker pull $(HOST_IMAGE_NAME)-arm64 --platform arm64
docker manifest create $(HOST_IMAGE_NAME) \
$(HOST_IMAGE_NAME)-amd64 \
$(HOST_IMAGE_NAME)-arm64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-amd64 --arch amd64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-arm64 --arch arm64
docker manifest push $(HOST_IMAGE_NAME)
LBAGENT_BASE_VERSION = v0.0.3
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.16.0-go-1.18.2-0 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud

View File

@@ -1,65 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common"
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
xmlns:vmw="http://www.vmware.com/schema/ovf"
xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<References>
<File ovf:href="{{ .Name }}" ovf:id="file1" ovf:size="{{ .Size }}"/>
</References>
<DiskSection>
<Info>Virtual disk information</Info>
<Disk ovf:capacity="{{ .Capacity }}" ovf:capacityAllocationUnits="byte" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="0"/>
</DiskSection>
<VirtualSystem ovf:id="{{ .ImportName }}">
<Info>A virtual machine</Info>
<Name>{{ .ImportName }}</Name>
<OperatingSystemSection ovf:id="100" vmw:osType="other26xLinux64Guest">
<Info>The kind of installed guest operating system</Info>
</OperatingSystemSection>
<VirtualHardwareSection>
<Info>Virtual hardware requirements</Info>
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>{{ .ImportName }}</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
</System>
<Item>
<rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
<rasd:Description>Number of Virtual CPUs</rasd:Description>
<rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
<rasd:InstanceID>1</rasd:InstanceID>
<rasd:ResourceType>3</rasd:ResourceType>
<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
<rasd:Description>Memory Size</rasd:Description>
<rasd:ElementName>1024MB of memory</rasd:ElementName>
<rasd:InstanceID>2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:ElementName>Hard Disk 1</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>9</rasd:InstanceID>
<rasd:Parent>3</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>
</Item>
</VirtualHardwareSection>
</VirtualSystem>
</Envelope>

1
build/memclean/vars Normal file
View File

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

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details.action -}}
当前日志 ID: {{ $d.id }}

View File

@@ -0,0 +1,16 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "db_table_record" }}
表{{ $d.table_name }}记录{{ $d.name }}被修改,完整性校验失败。期望校验和({{ $d.expected_checksum }}) != 计算校验和({{ $d.calculated_checksum }})。
{{- end -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.details }}
{{- end -}}
{{- if eq .resource_type "snapshot" }}
快照{{ $d.name }}的内存快照完整性校验失败
{{- end -}}
{{- if eq .resource_type "image" }}
镜像{{ $d.name }}完整性校验失败
{{- end -}}
{{- if eq .resource_type "vm_integrity" }}
主机{{ $d.name }}完整性校验失败
{{- end -}}

View File

@@ -0,0 +1,18 @@
{{- $d := .resource_details -}}
数据库 {{$d.ip}} 的主从同步不一致,请及时检查。
{{ range $status := $d.status }}
数据库 {{$status.ip}} 状态:
{{- if not $status.operator_error }}
- Slave_IO_Running: {{$status.slave_io_running}}
- Slave_SQL_Running: {{$status.slave_sql_running}}
{{- if $status.last_error }}
- Last_Error: {{$status.last_error}}
{{- end -}}
{{- if $status.last_io_error }}
- Last_IO_Error: {{$status.last_io_error}}
{{- end }}
{{else}}
- Operator_Error: {{$status.operator_error}}
{{- end}}
{{end}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.service_name }}服务的网络拓扑信息同步不一致,请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:您的密码有效期将过,请及时登录平台更新密码。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的虚拟机{{ $d.name }}崩溃了

View File

@@ -0,0 +1,8 @@
{{- $d := .resource_details -}}
服务: {{ $d.service_name }} 异常。
方法: {{ $d.method }}
路径: {{ $d.path }}
{{- if $d.body }}
请求: {{ $d.body -}}
{{ end }}
错误: {{ $d.error }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
云账号{{ $d.name }}状态异常,请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
账号{{ $d.name }}由于异常登录已被锁定,请核实情况,如果需要为用户解锁,请到用户列表启用该用户。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
服务{{ d.service_name}} worker阻塞半小时请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details.action -}}
Current log ID: {{ $d.id }}

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "db_table_record" }}
The record {{ $d.name }} in table {{ $d.table_name }} of the database {{ $d.db_name }} has been modified because the checksum test failed. Expected_checksum({{ $d.expected_checksum }}) != Calculated_checksum({{ $d.calculated_checksum }}).
{{- end -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.details }}
{{- end -}}
{{- if eq .resource_type "snapshot" }}
The checksum of the memory snapshot of the snapshot {{ $d.name }} test failed.
{{- end -}}
{{- if eq .resource_type "image" }}
The checksum of the image {{ $d.name }} test failed.
{{- end -}}

View File

@@ -0,0 +1,18 @@
{{- $d := .resource_details -}}
The primary and secondary synchronization of the database ({{ $d.ip }}) is inconsistent, please check in time.
{{ range $status := $d.status }}
Database {{$status.ip}} status:
{{- if not $status.operator_error }}
- Slave_IO_Running: {{$status.slave_io_running}}
- Slave_SQL_Running: {{$status.slave_sql_running}}
{{- if $status.last_error }}
- Last_Error: {{$status.last_error}}
{{- end -}}
{{- if $status.last_io_error }}
- Last_IO_Error: {{$status.last_io_error}}
{{- end }}
{{else}}
- Operator_Error: {{$status.operator_error}}
{{- end}}
{{end}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.service_name }}: The network topology information of the service is inconsistent, please check in time.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:Your password is valid and will expire soon. Please log in to the platform in time to update your password.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The server {{ $d.name }} in project {{ $d.project }} panicked.

View File

@@ -0,0 +1,8 @@
{{- $d := .resource_details -}}
Service: {{ $d.service_name }} abnormal
Method: {{ $d.method }}
Path: {{ $d.path }}
{{- if $d.body }}
Body: {{ $d.body -}}
{{ end }}
Error: {{ $d.error }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The account {{ $d.name }} status is abnormal. Please check in time.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The account {{ $d.name }} has been locked due to abnormal login. Please verify the situation. If you need to unlock the user, please go to the user list to enable the user.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The service: {{ d.service_name}} worker has been block 30 minutes.Please verify the service in time.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
操作日志超出设置数量{{ $d.exceed_count }}条,当前{{ $d.current_count }}条

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.title }}
{{- else -}}
{{ .resource_type_display }}完整性校验失败
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
数据库 {{$d.ip}} 的主从同步不一致,请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.service_name }}服务的网络拓扑信息同步不一致,请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:您的密码有效期将过,请及时登录平台更新密码。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的虚拟机{{ $d.name }}崩溃了

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
服务{{ $d.service_name }}异常

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
云账号{{ $d.name}}状态异常,请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
账号{{ $d.name }}已被锁定

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
服务{{ d.service_name}} worker阻塞半小时请及时检查。

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Action logs excced expected count {{ $d.exceed_count }}, current count is {{ $d.current_count }}

View File

@@ -0,0 +1,6 @@
{{- $d := .resource_details -}}
{{- if eq .resource_type "cloudpods_component" }}
{{ $d.title }}
{{- else -}}
The checksum of {{ .resource_type_display }} test failed
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The primary and secondary synchronization of the database ({{ $d.ip }}) is inconsistent, please check in time.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.service_name }}: The network topology information of the service is inconsistent, please check in time.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:Your password is valid and will expire soon. Please log in to the platform in time to update your password.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The server {{ $d.name }} in project {{ $d.project }}panicked.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Server {{ $d.service_name }} abnormal

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The account {{ $d.name }} has been locked due to abnormal login. Please verify the situation. If you need to unlock the user, please go to the user list to enable the user.

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Account {{ $d.name }} has been locked

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The service: {{ d.service_name}} worker has been block 30 minutes.Please verify the service in time.

Binary file not shown.

View File

@@ -1,164 +0,0 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"fmt"
"net/http"
"net/url"
"os"
"golang.org/x/net/http/httpproxy"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/cloudprovider"
"yunion.io/x/onecloud/pkg/multicloud/aliyun"
_ "yunion.io/x/onecloud/pkg/multicloud/aliyun/shell"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
type BaseOptions struct {
Debug bool `help:"debug mode"`
Help bool `help:"Show help"`
CloudEnv string `help:"Cloud environment" default:"$ALIYUN_CLOUD_ENV" choices:"InternationalCloud|FinanceCloud" metavar:"ALIYUN_CLOUD_ENV"`
AccessKey string `help:"Access key" default:"$ALIYUN_ACCESS_KEY" metavar:"ALIYUN_ACCESS_KEY"`
Secret string `help:"Secret" default:"$ALIYUN_SECRET" metavar:"ALIYUN_SECRET"`
RegionId string `help:"RegionId" default:"$ALIYUN_REGION" metavar:"ALIYUN_REGION"`
SUBCOMMAND string `help:"aliyuncli subcommand" subcommand:"true"`
}
func getSubcommandParser() (*structarg.ArgumentParser, error) {
parse, e := structarg.NewArgumentParser(&BaseOptions{},
"aliyuncli",
"Command-line interface to aliyun API.",
`See "aliyuncli help COMMAND" for help on a specific command.`)
if e != nil {
return nil, e
}
subcmd := parse.GetSubcommand()
if subcmd == nil {
return nil, fmt.Errorf("No subcommand argument.")
}
type HelpOptions struct {
SUBCOMMAND string `help:"sub-command name"`
}
shellutils.R(&HelpOptions{}, "help", "Show help of a subcommand", func(args *HelpOptions) error {
helpstr, e := subcmd.SubHelpString(args.SUBCOMMAND)
if e != nil {
return e
} else {
fmt.Print(helpstr)
return nil
}
})
for _, v := range shellutils.CommandTable {
_, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
}
}
return parse, nil
}
func showErrorAndExit(e error) {
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
func newClient(options *BaseOptions) (*aliyun.SRegion, error) {
if len(options.AccessKey) == 0 {
return nil, fmt.Errorf("Missing accessKey")
}
if len(options.Secret) == 0 {
return nil, fmt.Errorf("Missing secret")
}
cfg := &httpproxy.Config{
HTTPProxy: os.Getenv("HTTP_PROXY"),
HTTPSProxy: os.Getenv("HTTPS_PROXY"),
NoProxy: os.Getenv("NO_PROXY"),
}
cfgProxyFunc := cfg.ProxyFunc()
proxyFunc := func(req *http.Request) (*url.URL, error) {
return cfgProxyFunc(req.URL)
}
cli, err := aliyun.NewAliyunClient(
aliyun.NewAliyunClientConfig(
options.CloudEnv,
options.AccessKey,
options.Secret,
).Debug(options.Debug).
CloudproviderConfig(
cloudprovider.ProviderConfig{
ProxyFunc: proxyFunc,
},
),
)
if err != nil {
return nil, err
}
region := cli.GetRegion(options.RegionId)
if region == nil {
return nil, fmt.Errorf("No such region %s", options.RegionId)
}
return region, nil
}
func main() {
parser, e := getSubcommandParser()
if e != nil {
showErrorAndExit(e)
}
e = parser.ParseArgs(os.Args[1:], false)
options := parser.Options().(*BaseOptions)
if options.Help {
fmt.Print(parser.HelpString())
} else {
subcmd := parser.GetSubcommand()
subparser := subcmd.GetSubParser()
if e != nil {
if subparser != nil {
fmt.Print(subparser.Usage())
} else {
fmt.Print(parser.Usage())
}
showErrorAndExit(e)
} else {
suboptions := subparser.Options()
if options.SUBCOMMAND == "help" {
e = subcmd.Invoke(suboptions)
} else {
var region *aliyun.SRegion
region, e = newClient(options)
if e != nil {
showErrorAndExit(e)
}
e = subcmd.Invoke(region, suboptions)
}
if e != nil {
showErrorAndExit(e)
}
}
}
}

21
cmd/apimap/main.go Normal file
View File

@@ -0,0 +1,21 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import "yunion.io/x/onecloud/pkg/apimap/service"
func main() {
service.StartService()
}

View File

@@ -1,165 +0,0 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"fmt"
"net/http"
"net/url"
"os"
"golang.org/x/net/http/httpproxy"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/cloudprovider"
"yunion.io/x/onecloud/pkg/multicloud/apsara"
_ "yunion.io/x/onecloud/pkg/multicloud/apsara/shell"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
type BaseOptions struct {
Debug bool `help:"debug mode"`
Help bool `help:"Show help"`
AccessKey string `help:"Access key" default:"$APSARA_ACCESS_KEY" metavar:"APSARA_ACCESS_KEY"`
Secret string `help:"Secret" default:"$APSARA_SECRET" metavar:"APSARA_SECRET"`
cloudprovider.SApsaraEndpoints `help:"Endpoints for Apsara"`
Endpoint string `help:"Apsara endpoint" default:"$APSARA_ENDPOINT" metavar:"APSARA_ENDPOINT"`
RegionId string `help:"RegionId" default:"$APSARA_REGION" metavar:"APSARA_REGION"`
SUBCOMMAND string `help:"apsaracli subcommand" subcommand:"true"`
}
func getSubcommandParser() (*structarg.ArgumentParser, error) {
parse, e := structarg.NewArgumentParser(&BaseOptions{},
"apsaracli",
"Command-line interface to apsara API.",
`See "apsaracli help COMMAND" for help on a specific command.`)
if e != nil {
return nil, e
}
subcmd := parse.GetSubcommand()
if subcmd == nil {
return nil, fmt.Errorf("No subcommand argument.")
}
type HelpOptions struct {
SUBCOMMAND string `help:"sub-command name"`
}
shellutils.R(&HelpOptions{}, "help", "Show help of a subcommand", func(args *HelpOptions) error {
helpstr, e := subcmd.SubHelpString(args.SUBCOMMAND)
if e != nil {
return e
} else {
fmt.Print(helpstr)
return nil
}
})
for _, v := range shellutils.CommandTable {
_, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
}
}
return parse, nil
}
func showErrorAndExit(e error) {
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
func newClient(options *BaseOptions) (*apsara.SRegion, error) {
if len(options.AccessKey) == 0 {
return nil, fmt.Errorf("Missing accessKey")
}
if len(options.Secret) == 0 {
return nil, fmt.Errorf("Missing secret")
}
cfg := &httpproxy.Config{
HTTPProxy: os.Getenv("HTTP_PROXY"),
HTTPSProxy: os.Getenv("HTTPS_PROXY"),
NoProxy: os.Getenv("NO_PROXY"),
}
cfgProxyFunc := cfg.ProxyFunc()
proxyFunc := func(req *http.Request) (*url.URL, error) {
return cfgProxyFunc(req.URL)
}
cli, err := apsara.NewApsaraClient(
apsara.NewApsaraClientConfig(
options.AccessKey,
options.Secret,
options.Endpoint,
options.SApsaraEndpoints,
).Debug(options.Debug).
CloudproviderConfig(
cloudprovider.ProviderConfig{
ProxyFunc: proxyFunc,
},
),
)
if err != nil {
return nil, err
}
region := cli.GetRegion(options.RegionId)
if region == nil {
return nil, fmt.Errorf("No such region %s", options.RegionId)
}
return region, nil
}
func main() {
parser, e := getSubcommandParser()
if e != nil {
showErrorAndExit(e)
}
e = parser.ParseArgs(os.Args[1:], false)
options := parser.Options().(*BaseOptions)
if options.Help {
fmt.Print(parser.HelpString())
return
}
subcmd := parser.GetSubcommand()
subparser := subcmd.GetSubParser()
if e != nil {
if subparser != nil {
fmt.Print(subparser.Usage())
} else {
fmt.Print(parser.Usage())
}
showErrorAndExit(e)
}
suboptions := subparser.Options()
if options.SUBCOMMAND == "help" {
e = subcmd.Invoke(suboptions)
} else {
var region *apsara.SRegion
region, e = newClient(options)
if e != nil {
showErrorAndExit(e)
}
e = subcmd.Invoke(region, suboptions)
}
if e != nil {
showErrorAndExit(e)
}
}

View File

@@ -1,167 +0,0 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"fmt"
"net/http"
"net/url"
"os"
"golang.org/x/net/http/httpproxy"
"yunion.io/x/pkg/errors"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/cloudprovider"
"yunion.io/x/onecloud/pkg/multicloud/aws"
_ "yunion.io/x/onecloud/pkg/multicloud/aws/shell"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
type BaseOptions struct {
Help bool `help:"Show help"`
Debug bool `help:"debug mode"`
AccessUrl string `help:"Access key" default:"$AWS_ACCESS_URL" choices:"ChinaCloud|InternationalCloud" metavar:"AWS_ACCESS_URL"`
AccessKey string `help:"Access key" default:"$AWS_ACCESS_KEY" metavar:"AWS_ACCESS_KEY"`
Secret string `help:"Secret" default:"$AWS_SECRET" metavar:"AWS_SECRET"`
RegionId string `help:"RegionId" default:"$AWS_REGION" metavar:"AWS_REGION"`
AccountId string `help:"Subaccount ID" default:"$AWS_ACCOUNT_ID" metavar:"AWS_ACCOUNT_ID"`
SUBCOMMAND string `help:"awscli subcommand" subcommand:"true"`
}
func getSubcommandParser() (*structarg.ArgumentParser, error) {
parse, e := structarg.NewArgumentParser(&BaseOptions{},
"awscli",
"Command-line interface to aws API.",
`See "awscli help COMMAND" for help on a specific command.`)
if e != nil {
return nil, e
}
subcmd := parse.GetSubcommand()
if subcmd == nil {
return nil, fmt.Errorf("No subcommand argument.")
}
type HelpOptions struct {
SUBCOMMAND string `help:"sub-command name"`
}
shellutils.R(&HelpOptions{}, "help", "Show help of a subcommand", func(args *HelpOptions) error {
helpstr, e := subcmd.SubHelpString(args.SUBCOMMAND)
if e != nil {
return e
} else {
fmt.Print(helpstr)
return nil
}
})
for _, v := range shellutils.CommandTable {
_, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
}
}
return parse, nil
}
func showErrorAndExit(e error) {
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
func newClient(options *BaseOptions) (*aws.SRegion, error) {
if len(options.AccessKey) == 0 {
return nil, fmt.Errorf("Missing accessKey")
}
if len(options.Secret) == 0 {
return nil, fmt.Errorf("Missing secret")
}
cfg := &httpproxy.Config{
HTTPProxy: os.Getenv("HTTP_PROXY"),
HTTPSProxy: os.Getenv("HTTPS_PROXY"),
NoProxy: os.Getenv("NO_PROXY"),
}
cfgProxyFunc := cfg.ProxyFunc()
proxyFunc := func(req *http.Request) (*url.URL, error) {
return cfgProxyFunc(req.URL)
}
cli, err := aws.NewAwsClient(
aws.NewAwsClientConfig(
options.AccessUrl,
options.AccessKey,
options.Secret,
options.AccountId,
).Debug(options.Debug).
CloudproviderConfig(
cloudprovider.ProviderConfig{
ProxyFunc: proxyFunc,
},
),
)
if err != nil {
return nil, err
}
region, err := cli.GetRegion(options.RegionId)
if err != nil {
return nil, errors.Wrapf(err, "GetRegion(%s)", options.RegionId)
}
return region, nil
}
func main() {
parser, e := getSubcommandParser()
if e != nil {
showErrorAndExit(e)
}
e = parser.ParseArgs(os.Args[1:], false)
options := parser.Options().(*BaseOptions)
if options.Help {
fmt.Print(parser.HelpString())
} else {
subcmd := parser.GetSubcommand()
subparser := subcmd.GetSubParser()
if e != nil {
if subparser != nil {
fmt.Print(subparser.Usage())
} else {
fmt.Print(parser.Usage())
}
showErrorAndExit(e)
} else {
suboptions := subparser.Options()
if options.SUBCOMMAND == "help" {
e = subcmd.Invoke(suboptions)
} else {
var region *aws.SRegion
region, e = newClient(options)
if e != nil {
showErrorAndExit(e)
}
e = subcmd.Invoke(region, suboptions)
}
if e != nil {
showErrorAndExit(e)
}
}
}
}

View File

@@ -1,185 +0,0 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"fmt"
"net/http"
"net/url"
"os"
"golang.org/x/net/http/httpproxy"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/pkg/cloudprovider"
"yunion.io/x/onecloud/pkg/multicloud/azure"
_ "yunion.io/x/onecloud/pkg/multicloud/azure/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
type BaseOptions struct {
Help bool `help:"Show help"`
Debug bool `help:"debug mode"`
DirectoryID string `help:"Azure account Directory ID/Tenant ID" default:"$AZURE_DIRECTORY_ID" metavar:"AZURE_DIRECTORY_ID"`
SubscriptionID string `help:"Azure account subscription ID" default:"$AZURE_SUBSCRIPTION_ID" metavar:"AZURE_SUBSCRIPTION_ID"`
ApplicationID string `help:"Azure application ID" default:"$AZURE_APPLICATION_ID" metavar:"AZURE_APPLICATION_ID"`
ApplicationKey string `help:"Azure application key" default:"$AZURE_APPLICATION_KEY" metavar:"AZURE_APPLICATION_KEY"`
RegionId string `help:"RegionId" default:"$AZURE_REGION_ID" metavar:"AZURE_REGION_ID"`
CloudEnv string `help:"Cloud Environment" default:"$AZURE_CLOUD_ENV" choices:"AzureGermanCloud|AzureChinaCloud|AzureUSGovernmentCloud|AzurePublicCloud" metavar:"AZURE_CLOUD_ENV"`
SUBCOMMAND string `help:"azurecli subcommand" subcommand:"true"`
}
func getSubcommandParser() (*structarg.ArgumentParser, error) {
parse, e := structarg.NewArgumentParser(&BaseOptions{},
"azurecli",
"Command-line interface to azure API.",
`See "azurecli help COMMAND" for help on a specific command.`)
if e != nil {
return nil, e
}
subcmd := parse.GetSubcommand()
if subcmd == nil {
return nil, fmt.Errorf("No subcommand argument.")
}
type HelpOptions struct {
SUBCOMMAND string `help:"sub-command name"`
}
shellutils.R(&HelpOptions{}, "help", "Show help of a subcommand", func(args *HelpOptions) error {
helpstr, e := subcmd.SubHelpString(args.SUBCOMMAND)
if e != nil {
return e
} else {
fmt.Print(helpstr)
return nil
}
})
for _, v := range shellutils.CommandTable {
_, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
}
}
return parse, nil
}
func showErrorAndExit(e error) {
fmt.Fprintf(os.Stderr, "%s", e)
fmt.Fprintln(os.Stderr)
os.Exit(1)
}
func newClient(options *BaseOptions) (*azure.SRegion, error) {
if len(options.DirectoryID) == 0 {
return nil, fmt.Errorf("Missing Directory ID")
}
if len(options.SubscriptionID) == 0 {
return nil, fmt.Errorf("Missing subscription ID")
}
if len(options.ApplicationID) == 0 {
return nil, fmt.Errorf("Missing Application ID")
}
if len(options.ApplicationKey) == 0 {
return nil, fmt.Errorf("Missing Application Key")
}
if len(options.CloudEnv) == 0 {
return nil, fmt.Errorf("Missing Cloud Environment")
}
cfg := &httpproxy.Config{
HTTPProxy: os.Getenv("HTTP_PROXY"),
HTTPSProxy: os.Getenv("HTTPS_PROXY"),
NoProxy: os.Getenv("NO_PROXY"),
}
cfgProxyFunc := cfg.ProxyFunc()
proxyFunc := func(req *http.Request) (*url.URL, error) {
return cfgProxyFunc(req.URL)
}
cli, err := azure.NewAzureClient(
azure.NewAzureClientConfig(
options.CloudEnv,
options.DirectoryID,
options.ApplicationID,
options.ApplicationKey,
).
SubscriptionId(options.SubscriptionID).
Debug(options.Debug).
CloudproviderConfig(
cloudprovider.ProviderConfig{
ProxyFunc: proxyFunc,
},
),
)
if err != nil {
return nil, err
}
region := cli.GetRegion(options.RegionId)
if region == nil {
fmt.Println("Please chooce which region you are going to use:")
regions := cli.GetRegions()
printutils.PrintInterfaceList(regions, 0, 0, 0, nil)
return nil, fmt.Errorf("No such region %s", options.RegionId)
}
return region, nil
}
func main() {
parser, e := getSubcommandParser()
if e != nil {
showErrorAndExit(e)
}
e = parser.ParseArgs(os.Args[1:], false)
options := parser.Options().(*BaseOptions)
if options.Help {
fmt.Print(parser.HelpString())
} else {
subcmd := parser.GetSubcommand()
subparser := subcmd.GetSubParser()
if e != nil {
if subparser != nil {
fmt.Print(subparser.Usage())
} else {
fmt.Print(parser.Usage())
}
showErrorAndExit(e)
} else {
suboptions := subparser.Options()
if options.SUBCOMMAND == "help" {
e = subcmd.Invoke(suboptions)
} else {
var region *azure.SRegion
region, e = newClient(options)
if e != nil {
showErrorAndExit(e)
}
e = subcmd.Invoke(region, suboptions)
}
if e != nil {
showErrorAndExit(e)
}
}
}
}

View File

@@ -19,14 +19,21 @@ import (
"encoding/json"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"os"
"path/filepath"
"strings"
"sync"
"time"
"github.com/c-bata/go-prompt"
"github.com/cheggaaa/pb/v3"
"golang.org/x/net/http/httpproxy"
"yunion.io/x/log"
"yunion.io/x/pkg/errors"
"yunion.io/x/pkg/util/httputils"
"yunion.io/x/pkg/util/version"
"yunion.io/x/structarg"
@@ -36,7 +43,6 @@ import (
)
type BaseOptions struct {
Help bool `help:"Show help" short-token:"h"`
Debug bool `help:"Show debug information"`
Version bool `help:"Show version"`
Timeout int `default:"600" help:"Number of seconds to wait for a response"`
@@ -65,9 +71,12 @@ type BaseOptions struct {
OsRegionName string `default:"$OS_REGION_NAME" help:"Defaults to env[OS_REGION_NAME]"`
OsZoneName string `default:"$OS_ZONE_NAME" help:"Defaults to env[OS_ZONE_NAME]"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL"`
ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|flatten-table|flatten-kv" help:"output format"`
SUBCOMMAND string `help:"climc subcommand" subcommand:"true"`
// ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|yaml|flatten-table|flatten-kv" help:"output format"`
ParallelRun int `help:"run in parallel to stess test the performance of server"`
SUBCOMMAND string `help:"climc subcommand" subcommand:"true"`
}
func getSubcommandsParser() (*structarg.ArgumentParser, error) {
@@ -75,7 +84,7 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
prog = "climc"
desc = `Command-line interface to the API server.`
)
parse, e := structarg.NewArgumentParser(&BaseOptions{},
parse, e := structarg.NewArgumentParserWithHelp(&BaseOptions{},
prog,
desc,
`See "climc help COMMAND" for help on a specific command.`)
@@ -86,22 +95,10 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
if subcmd == nil {
return nil, fmt.Errorf("No subcommand argument")
}
type HelpOptions struct {
SUBCOMMAND string `help:"Sub-command name"`
}
shell.R(&HelpOptions{}, "help", "Show help information of any subcommand", func(suboptions *HelpOptions) error {
helpstr, e := subcmd.SubHelpString(suboptions.SUBCOMMAND)
if e != nil {
return e
} else {
fmt.Print(helpstr)
return nil
}
})
promptRootCmd := promputils.InitRootCmd(prog, desc, parse.GetOptArgs(), parse.GetPosArgs())
for _, v := range shell.CommandTable {
_par, e := subcmd.AddSubParser(v.Options, v.Command, v.Desc, v.Callback)
_par, e := subcmd.AddSubParserWithHelp(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
@@ -158,6 +155,18 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
options.CertFile,
options.KeyFile)
cfg := &httpproxy.Config{
HTTPProxy: os.Getenv("HTTP_PROXY"),
HTTPSProxy: os.Getenv("HTTPS_PROXY"),
NoProxy: os.Getenv("NO_PROXY"),
}
cfgProxyFunc := cfg.ProxyFunc()
proxyFunc := func(req *http.Request) (*url.URL, error) {
return cfgProxyFunc(req.URL)
}
httputils.SetClientProxyFunc(client.GetClient(), proxyFunc)
var cacheToken mcclient.TokenCredential
authUrlAlter := strings.Replace(options.OsAuthURL, "/", "", -1)
authUrlAlter = strings.Replace(authUrlAlter, ":", "", -1)
@@ -219,16 +228,13 @@ func newClientSession(options *BaseOptions) (*mcclient.ClientSession, error) {
}
}
if options.ApiVersion != "" {
mcclient.DisableApiVersionByModule()
}
session := client.NewSession(
context.Background(),
options.OsRegionName,
options.OsZoneName,
options.OsEndpointType,
cacheToken,
options.ApiVersion)
)
return session, nil
}
@@ -253,16 +259,56 @@ func executeSubcommand(
subparser *structarg.ArgumentParser,
options *BaseOptions,
sessionFactory func() *mcclient.ClientSession,
parallel int,
) {
var e error
suboptions := subparser.Options()
if options.SUBCOMMAND == "help" {
e = subcmd.Invoke(suboptions)
} else {
e = subcmd.Invoke(sessionFactory(), suboptions)
if subparser.IsHelpSet() {
helpStr, err := subcmd.SubHelpString(options.SUBCOMMAND)
if err != nil {
showErrorAndExit(err)
return
}
fmt.Println(helpStr)
return
}
if e != nil {
showErrorAndExit(e)
if parallel <= 1 {
sess := sessionFactory()
err := subcmd.Invoke(sess, suboptions)
if err != nil {
showErrorAndExit(err)
return
}
} else {
fmt.Println("Authenticating...")
bar := pb.StartNew(parallel)
sess := make([]*mcclient.ClientSession, parallel)
for i := 0; i < parallel; i++ {
sess[i] = sessionFactory()
bar.Increment()
}
bar.Finish()
fmt.Println("Tokens are ready, start to request ...")
start := time.Now()
var wg sync.WaitGroup
var errs []error
for i := 0; i < parallel; i++ {
wg.Add(1)
s := sess[i]
go func() {
defer wg.Done()
err := subcmd.Invoke(s, suboptions)
if err != nil {
errs = append(errs, err)
}
}()
}
wg.Wait()
if len(errs) > 0 {
showErrorAndExit(errors.NewAggregate(errs))
return
}
diff := time.Now().Sub(start)
fmt.Printf("cost: %f seconds %f qps\n", diff.Seconds(), float64(parallel)/diff.Seconds())
}
}
@@ -270,6 +316,7 @@ func ClimcMain() {
parser, e := getSubcommandsParser()
if e != nil {
showErrorAndExit(e)
return
}
e = parser.ParseArgs(os.Args[1:], false)
options := parser.Options().(*BaseOptions)
@@ -282,7 +329,7 @@ func ClimcMain() {
return
}
if options.Help {
if parser.IsHelpSet() {
fmt.Print(parser.HelpString())
return
}
@@ -297,6 +344,7 @@ func ClimcMain() {
session, err := newClientSession(options)
if err != nil {
showErrorAndExit(err)
return nil
}
return session
}
@@ -316,8 +364,9 @@ func ClimcMain() {
fmt.Print(parser.Usage())
}
showErrorAndExit(e)
return
}
// execute subcommand in non-interactive mode
executeSubcommand(subcmd, subparser, options, ensureSessionFactory)
executeSubcommand(subcmd, subparser, options, ensureSessionFactory, options.ParallelRun)
}

View File

@@ -18,6 +18,7 @@ import (
"yunion.io/x/onecloud/cmd/climc/entry"
_ "yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/ansible"
_ "yunion.io/x/onecloud/cmd/climc/shell/apimap"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudevent"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudid"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
@@ -28,14 +29,15 @@ import (
_ "yunion.io/x/onecloud/cmd/climc/shell/events"
_ "yunion.io/x/onecloud/cmd/climc/shell/identity"
_ "yunion.io/x/onecloud/cmd/climc/shell/image"
_ "yunion.io/x/onecloud/cmd/climc/shell/itsm"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
_ "yunion.io/x/onecloud/cmd/climc/shell/logger"
_ "yunion.io/x/onecloud/cmd/climc/shell/misc"
_ "yunion.io/x/onecloud/cmd/climc/shell/monitor"
_ "yunion.io/x/onecloud/cmd/climc/shell/notifyv2"
_ "yunion.io/x/onecloud/cmd/climc/shell/servicetree"
_ "yunion.io/x/onecloud/cmd/climc/shell/suggestion"
_ "yunion.io/x/onecloud/cmd/climc/shell/notify"
_ "yunion.io/x/onecloud/cmd/climc/shell/quota"
_ "yunion.io/x/onecloud/cmd/climc/shell/scheduledtask"
_ "yunion.io/x/onecloud/cmd/climc/shell/scheduler"
_ "yunion.io/x/onecloud/cmd/climc/shell/webconsole"
_ "yunion.io/x/onecloud/cmd/climc/shell/yunionconf"
)

View File

@@ -75,6 +75,10 @@ func Executor(s string) {
} else {
session.GetClient().SetDebug(false)
}
if subparser.IsHelpSet() {
fmt.Print(subparser.HelpString())
return
}
if e != nil {
if subparser != nil {
fmt.Print(subparser.Usage())
@@ -84,11 +88,7 @@ func Executor(s string) {
fmt.Println(e)
} else {
suboptions := subparser.Options()
if args[0] == "help" {
e = subcmd.Invoke(suboptions)
} else {
e = subcmd.Invoke(session, suboptions)
}
e = subcmd.Invoke(session, suboptions)
if e != nil {
fmt.Println(e)
}

View File

@@ -21,7 +21,7 @@ import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
compute "yunion.io/x/onecloud/pkg/mcclient/modules/compute"
)
type AnsibleHostsOptions struct {
@@ -60,7 +60,7 @@ func doList(s *mcclient.ClientSession, args *AnsibleHostsOptions) error {
params.Add(jsonutils.NewInt(int64(limit)), "limit")
params.Add(jsonutils.NewInt(int64(hosts.Size())), "offset")
params.Add(jsonutils.JSONTrue, "details")
retList, err := modules.Servers.List(s, params)
retList, err := compute.Servers.List(s, params)
if err != nil {
return err
}
@@ -100,7 +100,7 @@ func doList(s *mcclient.ClientSession, args *AnsibleHostsOptions) error {
}
func doHost(s *mcclient.ClientSession, host string, args *AnsibleHostsOptions) error {
srv, err := modules.Servers.Get(s, host, nil)
srv, err := compute.Servers.Get(s, host, nil)
if err != nil {
return err
}

View File

@@ -16,7 +16,7 @@ package ansible
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/ansible"
options "yunion.io/x/onecloud/pkg/mcclient/options/ansible"
)

View File

@@ -18,7 +18,7 @@ import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/ansible"
"yunion.io/x/onecloud/pkg/mcclient/options"
)

View File

@@ -16,7 +16,7 @@ package ansible
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/ansible"
"yunion.io/x/onecloud/pkg/mcclient/options"
)

View File

@@ -15,8 +15,9 @@
package ansible
import (
"yunion.io/x/pkg/util/printutils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (

View File

@@ -0,0 +1,36 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package apimap
import (
"fmt"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules/apimap"
)
func init() {
type GetOptions struct{}
shell.R(new(GetOptions), "apimap-vpcagent", "Show net map for vpcagent", func(s *mcclient.ClientSession, _ *GetOptions) error {
ret, err := apimap.APIMap.GetVPCAgentTopo(s)
if err != nil {
return err
}
fmt.Print(ret.YAMLString())
return nil
})
}

View File

@@ -15,12 +15,10 @@
package cloudevent
import (
"fmt"
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/modules/cloudevent"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
@@ -37,11 +35,11 @@ func init() {
if err != nil {
return err
}
result, err := modules.Cloudevents.List(s, params)
result, err := cloudevent.Cloudevents.List(s, params)
if err != nil {
return err
}
printList(result, modules.Cloudevents.GetColumns(s))
printList(result, cloudevent.Cloudevents.GetColumns(s))
return nil
})
@@ -49,22 +47,23 @@ func init() {
}
R(&CloudeventSplitTableOptions{}, "cloud-event-splitable", "Show obsolete cloud event logs", func(s *mcclient.ClientSession, opts *CloudeventSplitTableOptions) error {
resp, err := modules.Cloudevents.Get(s, "splitable", nil)
resp, err := cloudevent.Cloudevents.Get(s, "splitable", nil)
if err != nil {
return err
}
fmt.Println(resp)
printObject(resp)
return nil
})
type CloudeventLogsPurgeOptions struct {
Tables []string
}
R(&CloudeventLogsPurgeOptions{}, "cloud-event-purge-splitable", "Purge obsolete cloud event logs", func(s *mcclient.ClientSession, opts *CloudeventLogsPurgeOptions) error {
resp, err := modules.Cloudevents.PerformClassAction(s, "purge-splitable", jsonutils.Marshal(opts))
resp, err := cloudevent.Cloudevents.PerformClassAction(s, "purge-splitable", jsonutils.Marshal(opts))
if err != nil {
return err
}
fmt.Println(resp)
printObject(resp)
return nil
})
}

View File

@@ -15,11 +15,13 @@
package cloudevent
import (
"yunion.io/x/pkg/util/printutils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (
R = shell.R
printList = printutils.PrintJSONList
R = shell.R
printList = printutils.PrintJSONList
printObject = printutils.PrintJSONObject
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -15,8 +15,11 @@
package cloudid
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)
@@ -35,4 +38,10 @@ func init() {
cmd.Perform("reset-password", &cloudid.ClouduserResetPasswordOptions{})
cmd.Perform("cloud-user-join-group", &cloudid.ClouduserGroupOptions{})
cmd.Perform("cloud-user-leave-group", &cloudid.ClouduserGroupOptions{})
cmd.GetWithCustomShow("access-keys", func(result jsonutils.JSONObject) {
ret := modulebase.JSON2ListResult(result)
shell.PrintList(ret, nil)
}, &cloudid.ClouduserListAccessKeyInput{})
cmd.Perform("delete-access-key", &cloudid.ClouduserDeleteAccessKeyInput{})
cmd.Perform("create-access-key", &cloudid.ClouduserCreateAccessKeyInput{})
}

View File

@@ -15,8 +15,9 @@
package cloudid
import (
"yunion.io/x/pkg/util/printutils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -16,7 +16,7 @@ package cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)

View File

@@ -15,8 +15,9 @@
package cloudnet
import (
"yunion.io/x/pkg/util/printutils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/util/printutils"
)
var (

View File

@@ -16,7 +16,7 @@ package compute
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/compute"
"yunion.io/x/onecloud/pkg/mcclient/options/compute"
)

View File

@@ -16,7 +16,7 @@ package compute
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/compute"
"yunion.io/x/onecloud/pkg/mcclient/options"
"yunion.io/x/onecloud/pkg/mcclient/options/compute"
)

View File

@@ -16,7 +16,7 @@ package compute
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/compute"
"yunion.io/x/onecloud/pkg/mcclient/options"
"yunion.io/x/onecloud/pkg/mcclient/options/compute"
)

View File

@@ -16,7 +16,7 @@ package compute
import (
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient/modules"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/compute"
"yunion.io/x/onecloud/pkg/mcclient/options/compute"
)

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