Compare commits

...

2580 Commits

Author SHA1 Message Date
Zexi Li
4064385d91 Merge pull request #13169 from swordqiu/hotfix/qj-sync-status-persist-block-stream
fix: guest sync status persistent block_stream status
2022-01-11 10:31:45 +08:00
Zexi Li
826afc62cb Merge pull request #13178 from swordqiu/automated-cherry-pick-of-#13176-upstream-release-3.8
Automated cherry pick of #13176: fix: add snapshot_and_clone event notes
2022-01-11 10:31:22 +08:00
Qiu Jian
557834f333 fix: guest sync status persistent block_stream status 2022-01-11 10:11:30 +08:00
Qiu Jian
c3e0579abe fix: add snapshot_and_clone event notes 2022-01-11 09:35:30 +08:00
Zexi Li
cbcfeedd09 Merge pull request #13172 from swordqiu/automated-cherry-pick-of-#13171-upstream-release-3.8
Automated cherry pick of #13171: fix: ceph clone image across pool should use pool of target image
2022-01-11 09:23:10 +08:00
Qiu Jian
797e436497 fix: ceph clone image across pool should use pool of target image 2022-01-11 02:58:00 +08:00
Zexi Li
cd7f685ce4 Merge pull request #13166 from rainzm/automated-cherry-pick-of-#13165-upstream-release-3.8
Automated cherry pick of #13165: fix(region): reset status to block_stream after restarting network
2022-01-10 15:35:18 +08:00
rainzm
993173d7dd fix(region): reset status to block_stream after restarting network 2022-01-10 15:30:10 +08:00
Zexi Li
f5efd14315 Merge pull request #13159 from ioito/automated-cherry-pick-of-#13158-upstream-release-3.8
Automated cherry pick of #13158: fix(region): kvm vm no need remote update
2022-01-10 15:08:45 +08:00
Zexi Li
3981989255 Merge pull request #13162 from zhaoxiangchun/fix/zxc-3.8
fix(cloudmon): fix cloudmon options err
2022-01-10 15:07:50 +08:00
Zexi Li
5981b3f01b Merge pull request #13164 from rainzm/automated-cherry-pick-of-#13163-upstream-release-3.8
Automated cherry pick of #13163: feat(region): allow restart network when guest in block stream status
2022-01-10 14:55:51 +08:00
rainzm
4533fcdd1f feat(region): allow restart network when guest in block stream status 2022-01-10 14:46:51 +08:00
zhaoxiangchun
6c70816ad6 fix(cloudmon): fix cloudmon options err 2022-01-10 14:28:52 +08:00
ioito
5984d3cddf fix(region): kvm vm no need remote update 2022-01-10 11:07:35 +08:00
Jian Qiu
68df8b253e fix: not using MarshalAll for output jsonobject (#13157)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:53:43 +08:00
Jian Qiu
5ce9abf5ec fix: vpcagent access group panic (#13147)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-10 09:15:56 +08:00
Zexi Li
5fcd69a6b3 Merge pull request #13154 from swordqiu/automated-cherry-pick-of-#13153-upstream-release-3.8
Automated cherry pick of #13153: fix: windows server name cannot be longer than 15 chars
2022-01-09 21:30:44 +08:00
Qiu Jian
82a3f6706a fix: windows server name cannot be longer than 15 chars 2022-01-09 19:53:04 +08:00
Zexi Li
7f2bbb8087 Merge pull request #13149 from swordqiu/automated-cherry-pick-of-#13148-upstream-release-3.8
Automated cherry pick of #13148: feature: add API for image perform probe
2022-01-09 14:37:32 +08:00
Zexi Li
9ce9bf848f Merge pull request #13151 from swordqiu/automated-cherry-pick-of-#13150-upstream-release-3.8
Automated cherry pick of #13150: fix: usb id in spice command args conflict with usb-xhci
2022-01-09 14:36:14 +08:00
Qiu Jian
f2566bf86e fix: usb id in spice command args conflict with usb-xhci 2022-01-08 02:30:56 +08:00
Qiu Jian
a892b8aa3b feature: add API for image perform probe 2022-01-08 02:03:40 +08:00
Zexi Li
d904be3e00 Merge pull request #13144 from ioito/automated-cherry-pick-of-#13143-upstream-release-3.8
Automated cherry pick of #13143: fix(cloudevent): skip cloudevent init data
2022-01-07 22:42:21 +08:00
ioito
48dd601b95 fix(cloudevent): skip cloudevent init data 2022-01-07 19:33:37 +08:00
Zexi Li
b2416efef1 Merge pull request #13142 from zexi/automated-cherry-pick-of-#13141-upstream-release-3.8
Automated cherry pick of #13141: refix(region): skip_cpu_check for batch migrate api
2022-01-07 16:31:18 +08:00
Zexi Li
779ae51fe0 fix(region): skip_cpu_check for batch migrate api 2022-01-07 15:49:29 +08:00
Zexi Li
8d3e06de15 Merge pull request #13138 from ioito/hotfix/qx-skip-log
fix(region): skip progress log
2022-01-06 20:19:39 +08:00
ioito
bd6356c42a fix(region): skip progress log 2022-01-06 20:18:02 +08:00
Zexi Li
a669b09895 Merge pull request #13137 from swordqiu/automated-cherry-pick-of-#13136-upstream-release-3.8
Automated cherry pick of #13136: fix: add detach network i18n
2022-01-06 18:52:35 +08:00
Qiu Jian
8087e9d72a fix: add detach network i18n 2022-01-06 11:27:35 +08:00
Zexi Li
d15d906aaa Merge pull request #13133 from swordqiu/automated-cherry-pick-of-#13132-upstream-release-3.8
Automated cherry pick of #13132: fix: fetch image properties from iso properly
2022-01-05 22:06:48 +08:00
Zexi Li
52ce5a7d29 Merge pull request #13130 from ioito/automated-cherry-pick-of-#13129-upstream-release-3.8
Automated cherry pick of #13129: fix(region): image not found details error
2022-01-05 22:05:30 +08:00
Zexi Li
b29ca7963d Merge pull request #13135 from zexi/automated-cherry-pick-of-#13134-upstream-release-3.8
Automated cherry pick of #13134: fix(host): purge isolated_device not work
2022-01-05 17:59:15 +08:00
Zexi Li
19d936ca09 fix(host): purge isolated_device not work 2022-01-05 17:36:44 +08:00
Qiu Jian
a852b3836b fix: fetch image properties from iso properly 2022-01-05 16:41:26 +08:00
ioito
1d6893a236 fix(region): image not found details error 2022-01-05 11:56:34 +08:00
Zexi Li
db0dd72774 Merge pull request #13127 from zexi/automated-cherry-pick-of-#13126-upstream-release-3.8
Automated cherry pick of #13126: fix(host): unplugged isolated devices probe not deleted
2022-01-05 10:42:35 +08:00
Zexi Li
1f1ada5258 Merge pull request #13128 from zexi/usb-passthrough-opt
fix(host): qemu usb passthrough option convert to int
2022-01-04 20:35:53 +08:00
Zexi Li
3a630b2bb9 fix(host): qemu usb passthrough option convert to int 2022-01-04 20:30:18 +08:00
Zexi Li
30ba135be5 fix(host): unplugged isolated devices probe not deleted 2022-01-04 18:39:07 +08:00
Zexi Li
00d7a7186c Merge pull request #13124 from ioito/automated-cherry-pick-of-#13123-upstream-release-3.8
Automated cherry pick of #13123: Hotfix/qx qemu block dev
2022-01-04 17:11:03 +08:00
ioito
778825d363 fix(host): migrate progress 2022-01-04 16:03:07 +08:00
ioito
94b692fb8d fix(host): qemu block device 2022-01-04 16:01:39 +08:00
Zexi Li
228d0811cd Merge pull request #13121 from rainzm/automated-cherry-pick-of-#13120-upstream-release-3.8
Automated cherry pick of #13120: fix(region): check whether ipProvider is nil
2022-01-04 14:35:16 +08:00
rainzm
c534fb78ab fix(region): check whether ipProvider is nil 2022-01-04 11:47:12 +08:00
Zexi Li
d18552a9d8 Merge pull request #13118 from swordqiu/automated-cherry-pick-of-#13117-upstream-release-3.8
Automated cherry pick of #13117: fix: host tune system set default arp gc threshold
2022-01-04 11:45:04 +08:00
Qiu Jian
0dcdb14a9b fix: host tune system set default arp gc threshold 2022-01-04 11:02:04 +08:00
Zexi Li
277bfb765f Merge pull request #13114 from swordqiu/automated-cherry-pick-of-#13113-upstream-release-3.8
Automated cherry pick of #13113: fix: qemu-img convert may hang on aarach64
2022-01-04 09:35:51 +08:00
Zexi Li
ba33c9ac02 Merge pull request #13116 from swordqiu/automated-cherry-pick-of-#13115-upstream-release-3.8
Automated cherry pick of #13115: fix: automatic set ovsbridge MTU, consistent MTU settings
2022-01-04 09:35:19 +08:00
Zexi Li
b88edfd3ac Merge pull request #13112 from swordqiu/automated-cherry-pick-of-#13111-upstream-release-3.8
Automated cherry pick of #13111: fix: update server desc host_id after migration
2022-01-04 09:34:20 +08:00
Qiu Jian
4b0a16645b fix: automatic set ovsbridge MTU, consistent MTU settings 2022-01-04 00:19:40 +08:00
Qiu Jian
d33dbc47c2 fix: qemu-img convert may hang on aarach64 2022-01-03 02:54:50 +08:00
Qiu Jian
aaec778dad fix: update server desc host_id after migration 2022-01-02 12:31:14 +08:00
Jian Qiu
fad8ef451d feature: vip support (#13106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-02 08:49:18 +08:00
Zexi Li
1ca48db0af Merge pull request #13108 from ioito/automated-cherry-pick-of-#13107-upstream-release-3.8
Automated cherry pick of #13107: fix(region): qcloud lb support bandwidth
2022-01-01 13:48:33 +08:00
ioito
d579f484d3 fix(region): qcloud lb support bandwidth 2021-12-31 15:47:43 +08:00
Zexi Li
48ca832cb6 Merge pull request #13105 from ioito/automated-cherry-pick-of-#13104-upstream-release-3.8
Automated cherry pick of #13104: fix(host): clean progress when migrate complete
2021-12-31 10:30:23 +08:00
ioito
f10de6ce5c fix(host): clean progress when migrate complete 2021-12-31 10:26:50 +08:00
屈轩
ffb1e92184 fix(host): add progress for migrate (#13102) 2021-12-31 06:09:25 +08:00
Zexi Li
4ab9c065dc Merge pull request #13082 from ioito/automated-cherry-pick-of-#13081-upstream-release-3.8
Automated cherry pick of #13081: fix(region): storage add unmount status
2021-12-30 17:47:58 +08:00
Zexi Li
d8d55de807 Merge pull request #13099 from ioito/automated-cherry-pick-of-#13098-upstream-release-3.8
Automated cherry pick of #13098: fix(host): guest clone progress complete
2021-12-30 16:58:46 +08:00
ioito
2db95d1c31 fix(host): guest clone progress complete 2021-12-30 16:56:40 +08:00
屈轩
fb1c583a3d fix(region): guest progress (#13097) 2021-12-30 14:22:33 +08:00
Zexi Li
3581fefe32 Merge pull request #13094 from zexi/automated-cherry-pick-of-#13093-upstream-release-3.8
Automated cherry pick of #13093: feat(region): isolated devices filter by guest_id
2021-12-30 13:36:14 +08:00
Zexi Li
7417812788 Merge pull request #13096 from swordqiu/automated-cherry-pick-of-#13095-upstream-release-3.8
Automated cherry pick of #13095: fix: start block stream detach qemu startup task
2021-12-30 13:19:06 +08:00
Qiu Jian
5a8118d33f fix: start block stream detach qmu startup task 2021-12-30 12:52:08 +08:00
Zexi Li
3dd144197e feat(region): isolated devices filter by guest_id 2021-12-30 11:48:18 +08:00
Zexi Li
6ae7ead502 Merge pull request #13092 from zexi/automated-cherry-pick-of-#13091-upstream-release-3.8
Automated cherry pick of #13091: feat(compute): server probe isolated devices supported
2021-12-30 11:35:48 +08:00
Zexi Li
4528a48d5f feat(compute): server probe isolated devices supported 2021-12-30 11:25:05 +08:00
Zexi Li
348442d65f Merge pull request #13072 from ioito/automated-cherry-pick-of-#13071-upstream-release-3.8
Automated cherry pick of #13071: fix(region): keystone default policy
2021-12-30 10:45:31 +08:00
Zexi Li
3a504d74ac Merge pull request #13090 from zexi/automated-cherry-pick-of-#13089-upstream-release-3.8
Automated cherry pick of #13089: fix(region): isolated device reserved memory default typo
2021-12-30 10:27:17 +08:00
Zexi Li
be61defd4a fix(region): isolated device reserved memory default typo 2021-12-30 10:26:41 +08:00
Zexi Li
5f7a7c54e8 Merge pull request #13086 from zexi/automated-cherry-pick-of-#13085-upstream-release-3.8
Automated cherry pick of #13085: fix(region): not override migrating status when manually sync status
2021-12-30 10:04:33 +08:00
Zexi Li
03133e867d Merge pull request #13088 from swordqiu/automated-cherry-pick-of-#13087-upstream-release-3.8
Automated cherry pick of #13087: fix: several improvements on qemu migration:
2021-12-30 10:04:07 +08:00
Qiu Jian
9a20e80ae0 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:03:09 +08:00
Zexi Li
1287ad997a fix(region): not override migrating status when manually sync status 2021-12-29 23:17:21 +08:00
Zexi Li
939fc20411 Merge pull request #13074 from ioito/automated-cherry-pick-of-#13073-upstream-release-3.8
Automated cherry pick of #13073: fix(region): lb filter by owner
2021-12-29 19:25:00 +08:00
Zexi Li
8a6016a204 Merge pull request #13064 from rainzm/automated-cherry-pick-of-#13063-upstream-release-3.8
Automated cherry pick of #13063: fix(region): distinguish guests_ Root and data of image sub image
2021-12-29 19:23:34 +08:00
Zexi Li
c45cf5778a Merge pull request #13084 from zexi/automated-cherry-pick-of-#13083-upstream-release-3.8
Automated cherry pick of #13083: fix(region,host): sync usb isolated device error not display
2021-12-29 17:42:32 +08:00
Zexi Li
7048bd5e67 fix(region,host): sync usb isolated device error not display 2021-12-29 17:40:57 +08:00
Zexi Li
7ea18998ac Merge pull request #13077 from ioito/automated-cherry-pick-of-#13076-upstream-release-3.8
Automated cherry pick of #13076: fix(region): wire topology name
2021-12-29 17:38:12 +08:00
Zexi Li
a913e111f9 Merge pull request #13080 from swordqiu/automated-cherry-pick-of-#13079-upstream-release-3.8
Automated cherry pick of #13079: fix: fail to fetch disk storage_type
2021-12-29 17:37:05 +08:00
ioito
46c8fd38eb fix(region): storage add unmount status 2021-12-29 17:31:12 +08:00
Qiu Jian
888bc23060 fix: fail to fetch disk storage_type 2021-12-29 17:25:13 +08:00
ioito
9fb52362fb fix(region): wire topology name 2021-12-29 16:37:07 +08:00
ioito
deaa431808 fix(region): lb filter by owner 2021-12-29 14:51:41 +08:00
ioito
4484ca582a fix(region): keystone default policy 2021-12-29 11:22:00 +08:00
Zexi Li
e34399fe34 Merge pull request #13057 from ioito/automated-cherry-pick-of-#13056-upstream-release-3.8
Automated cherry pick of #13056: fix(region): ignore invalid zone id skus
2021-12-29 11:14:36 +08:00
Zexi Li
691101883b Merge pull request #13068 from ioito/automated-cherry-pick-of-#13067-upstream-release-3.8
Automated cherry pick of #13067: fix(region): add owner status for vpc topology
2021-12-28 19:48:14 +08:00
Zexi Li
6ee36626c4 Merge pull request #13070 from zexi/automated-cherry-pick-of-#13069-upstream-release-3.8
Automated cherry pick of #13069: fix(region): set isolated_device model 512 length
2021-12-28 19:42:47 +08:00
Zexi Li
e39f65ff30 fix(region): set isolated_device model 512 length 2021-12-28 19:42:16 +08:00
ioito
2bcdbba51b fix(region): add owner status for vpc topology 2021-12-28 19:42:09 +08:00
Zexi Li
a49d5f08e8 Merge pull request #13066 from zexi/automated-cherry-pick-of-#13026-upstream-release-3.8
Automated cherry pick of #13026: feat(region,host): usb passthrough
2021-12-28 19:21:23 +08:00
Zexi Li
1947384abe feat(region,host): usb passthrough 2021-12-28 19:16:43 +08:00
rainzm
455545a779 fix(region): distinguish guests_ Root and data of image sub image 2021-12-28 18:35:24 +08:00
Zexi Li
5bfe6efa2d Merge pull request #13060 from ioito/automated-cherry-pick-of-#13059-upstream-release-3.8
Automated cherry pick of #13059: fix(region): vpc topology scope with system
2021-12-28 16:27:56 +08:00
ioito
d0bacf552c fix(region): vpc topology scope with system 2021-12-28 16:19:26 +08:00
ioito
7ab21a04b9 fix(region): ignore invalid zone id skus 2021-12-28 14:40:22 +08:00
Zexi Li
24862e6a9c Merge pull request #13051 from ioito/automated-cherry-pick-of-#13050-upstream-release-3.8
Automated cherry pick of #13050: fix(region): aws security group name generate
2021-12-28 10:57:01 +08:00
Zexi Li
d346340fd7 Merge pull request #13009 from ioito/automated-cherry-pick-of-#13008-upstream-release-3.8
Automated cherry pick of #13008: fix(region): secgroup purge with cloudaccount deleted
2021-12-28 10:55:50 +08:00
Zexi Li
35d5a5848d Merge pull request #13054 from ioito/automated-cherry-pick-of-#13053-upstream-release-3.8
Automated cherry pick of #13053: fix(region): json to string fix
2021-12-28 10:54:09 +08:00
ioito
6166a6d17a fix(region): json to string fix 2021-12-28 10:42:12 +08:00
ioito
154d33707c fix(region): aws security group name generate 2021-12-28 09:56:59 +08:00
Zexi Li
6659bcc9e7 Merge pull request #13048 from ioito/automated-cherry-pick-of-#13047-upstream-release-3.8
Automated cherry pick of #13047: fix(region): vpc topology data fix
2021-12-27 15:59:56 +08:00
ioito
be529e9f65 fix(region): vpc topology data fix 2021-12-27 15:31:25 +08:00
Zexi Li
9d01b212ca Merge pull request #13043 from swordqiu/automated-cherry-pick-of-#13042-upstream-release-3.8
Automated cherry pick of #13042: Hotfix/qj migrate progress update
2021-12-27 12:17:06 +08:00
Zexi Li
cddbcbf097 Merge pull request #13032 from rainzm/automated-cherry-pick-of-#13031-upstream-release-3.8
Automated cherry pick of #13031: fix(notify): real delete for email and mobile
2021-12-27 12:14:08 +08:00
Zexi Li
30ce77d4da Merge pull request #13011 from ioito/automated-cherry-pick-of-#13010-upstream-release-3.8
Automated cherry pick of #13010: fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新
2021-12-27 12:12:58 +08:00
Zexi Li
ce5737aaf8 Merge pull request #13037 from swordqiu/automated-cherry-pick-of-#13036-upstream-release-3.8
Automated cherry pick of #13036: fix: enable kvm_pv_eoi by default
2021-12-27 12:10:31 +08:00
Zexi Li
0616dbd175 Merge pull request #13041 from swordqiu/automated-cherry-pick-of-#13040-upstream-release-3.8
Automated cherry pick of #13040: fix: hostinfo onfail should return immediately
2021-12-27 12:09:32 +08:00
Zexi Li
bdf8cf4c0e Merge pull request #13046 from ioito/automated-cherry-pick-of-#13045-upstream-release-3.8
Automated cherry pick of #13045: fix(region): add vpc host topology
2021-12-27 11:08:20 +08:00
ioito
353deaa0bb fix(region): add vpc host topology 2021-12-27 10:50:01 +08:00
Qiu Jian
39bd995fc1 fix: add migrate progress metrics 2021-12-26 00:17:41 +08:00
Qiu Jian
5395d56176 feature: migrate progress update 2021-12-26 00:17:41 +08:00
yunion-ci-robot
b23f4cf5c8 Merge pull request #13034 from ioito/automated-cherry-pick-of-#13033-upstream-release-3.8
Automated cherry pick of #13033: fix(host): add vm clonse progress and mbps
2021-12-25 15:33:40 +08:00
Qiu Jian
5929a97c24 fix: hostinfo onfail should return immediately 2021-12-25 14:49:22 +08:00
yunion-ci-robot
3ff56b2dd1 Merge pull request #13035 from swordqiu/automated-cherry-pick-of-#13030-upstream-release-3.8
Automated cherry pick of #13030: fix: arm supported maxcpu<64
2021-12-24 21:58:41 +08:00
Qiu Jian
166e3624f2 fix: enable kvm_pv_eoi by default 2021-12-24 21:48:42 +08:00
ioito
fff9ce2f1e fix(host): add vm clonse progress and mbps 2021-12-24 20:04:05 +08:00
rainzm
2b3d2b4dec fix(notify): real delete for email and mobile 2021-12-24 18:57:39 +08:00
Zexi Li
b5ec683084 Merge pull request #13019 from swordqiu/automated-cherry-pick-of-#13018-upstream-release-3.8
Automated cherry pick of #13018: fix: hide systemd detection logs
2021-12-24 18:24:14 +08:00
Zexi Li
8a011b2952 Merge pull request #13028 from ioito/automated-cherry-pick-of-#13027-upstream-release-3.8
Automated cherry pick of #13027: fix(region): google security group fix
2021-12-24 18:23:12 +08:00
Zexi Li
c7aa57e3bc Merge pull request #13016 from ioito/automated-cherry-pick-of-#13015-upstream-release-3.8
Automated cherry pick of #13015: fix(region): vpc create with tags
2021-12-24 18:11:16 +08:00
Zexi Li
997d63b307 Merge pull request #13023 from zexi/automated-cherry-pick-of-#13022-upstream-release-3.8
Automated cherry pick of #13022: fix(region): gpu fuzzy match model name exactly
2021-12-24 18:09:48 +08:00
Zexi Li
7f3524d419 Merge pull request #13014 from ioito/automated-cherry-pick-of-#13013-upstream-release-3.8
Automated cherry pick of #13013: fix(region): 对等连接同步状态恢复对端id
2021-12-24 18:09:28 +08:00
Qiu Jian
a60c014a6c fix: arm supported maxcpu<64 2021-12-24 17:59:58 +08:00
ioito
ba647fcab7 fix(region): google security group fix 2021-12-24 17:55:31 +08:00
Zexi Li
37fcaaf64f fix(region): gpu fuzzy match model name exactly 2021-12-24 14:51:17 +08:00
Qiu Jian
108236dcd0 fix: hide systemd detection logs 2021-12-23 20:43:52 +08:00
ioito
ea3f8c91b1 fix(region): vpc create with tags 2021-12-23 19:39:18 +08:00
ioito
45fa2c1cfa fix(region): 对等连接同步状态恢复对端id 2021-12-23 18:28:48 +08:00
ioito
db9cadcaf9 fix(region): 删除vm中间不会出现ready状态,避免前端停止刷新 2021-12-23 18:04:50 +08:00
ioito
89f3592aad fix(region): secgroup purge with cloudaccount deleted 2021-12-23 16:20:13 +08:00
Zexi Li
0db4c4f440 Merge pull request #13006 from ioito/automated-cherry-pick-of-#13005-upstream-release-3.8
Automated cherry pick of #13005: fix(region): sku scheduler sync
2021-12-23 16:19:36 +08:00
ioito
d3bea782b9 fix(region): sku scheduler sync 2021-12-23 14:51:45 +08:00
Zexi Li
a0d3aec3db Merge pull request #13004 from rainzm/automated-cherry-pick-of-#13003-upstream-release-3.8
Automated cherry pick of #13003: Fixex for restart network
2021-12-23 14:46:07 +08:00
rainzm
505815374a 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:40:41 +08:00
rainzm
62e50fc7d9 feat(region, host): allow open forward with specified remote addr 2021-12-23 14:40:41 +08:00
Zexi Li
2eeb381c00 Merge pull request #12988 from ioito/automated-cherry-pick-of-#12987-upstream-release-3.8
Automated cherry pick of #12987: fix(region): auto switch server sku when create vm fail
2021-12-23 10:33:42 +08:00
Zexi Li
e356ef0acf Merge pull request #13002 from swordqiu/automated-cherry-pick-of-#13001-upstream-release-3.8
Automated cherry pick of #13001: fix: migrate no event notes
2021-12-23 09:59:20 +08:00
Zexi Li
bc02fb4e44 Merge pull request #12999 from swordqiu/automated-cherry-pick-of-#12998-upstream-release-3.8
Automated cherry pick of #12998: fix: migrate timeout error
2021-12-23 09:59:00 +08:00
Zexi Li
ecace6a64c Merge pull request #12996 from swordqiu/automated-cherry-pick-of-#12995-upstream-release-3.8
Automated cherry pick of #12995: fix: 1. migration timeout applicable to shared storage migrate only
2021-12-23 09:58:31 +08:00
Qiu Jian
5ab02e6bdc fix: migrate no event notes 2021-12-23 07:59:30 +08:00
Qiu Jian
99c99c28b2 fix: migrate timeout error 2021-12-23 07:56:35 +08:00
Qiu Jian
b2c6a8ccd7 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:36:10 +08:00
Zexi Li
61b2586d4f Merge pull request #12994 from rainzm/automated-cherry-pick-of-#12993-upstream-release-3.8
Automated cherry pick of #12993: fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc
2021-12-22 22:31:40 +08:00
rainzm
4c111ad756 fix(region): replace vpc_delete with vpc_sync_delete when sycnRemoveVpc 2021-12-22 21:43:28 +08:00
Zexi Li
cd78bebac6 Merge pull request #12992 from rainzm/automated-cherry-pick-of-#12991-upstream-release-3.8
Automated cherry pick of #12991: Webhook fix for notify
2021-12-22 19:45:42 +08:00
rainzm
e23078a62a feat(notify): add topic 'resource release due 30 day' 2021-12-22 19:30:10 +08:00
rainzm
e1a5de60b2 fix(notify): add missing webhook notification 2021-12-22 19:30:10 +08:00
ioito
fb69861c23 fix(region): auto switch server sku when create vm fail 2021-12-22 17:07:03 +08:00
Zexi Li
c08890cdbf Merge pull request #12970 from rainzm/automated-cherry-pick-of-#12969-upstream-release-3.8
Automated cherry pick of #12969: feat(region): restart network after change ipaddr for guest
2021-12-22 16:56:20 +08:00
rainzm
a30040c6de feat(region): restart network after change ipaddr for guest 2021-12-22 16:15:40 +08:00
Zexi Li
bfc0dd378a Merge pull request #12982 from ioito/automated-cherry-pick-of-#12981-upstream-release-3.8
Automated cherry pick of #12981: fix(region): qcloud vpc peer connection
2021-12-22 15:52:29 +08:00
Zexi Li
3d40ef138b Merge pull request #12985 from ioito/automated-cherry-pick-of-#12984-upstream-release-3.8
Automated cherry pick of #12984: fix(region): add vpc topology
2021-12-22 15:51:57 +08:00
ioito
0b442354b3 fix(region): add vpc topology 2021-12-22 15:12:34 +08:00
ioito
69e4465f75 fix(region): qcloud vpc peer connection 2021-12-22 14:18:22 +08:00
Zexi Li
e30888a649 Merge pull request #12979 from zexi/automated-cherry-pick-of-#12978-upstream-release-3.8
Automated cherry pick of #12978: fix(build): move librbd librados to baremetal-agent-base image
2021-12-22 11:15:15 +08:00
Zexi Li
db0bb55cdd fix(build): move librbd librados to baremetal-agent-base image 2021-12-22 11:14:39 +08:00
Zexi Li
9358dd6b33 Merge pull request #12959 from ioito/automated-cherry-pick-of-#12958-upstream-release-3.8
Automated cherry pick of #12958: fix(region): qcloud secgroup rule sync
2021-12-22 10:36:25 +08:00
Zexi Li
eb3c4296e2 Merge pull request #12962 from ioito/automated-cherry-pick-of-#12961-upstream-release-3.8
Automated cherry pick of #12961: fix(region): aws capability
2021-12-22 10:36:02 +08:00
Zexi Li
4c15b69e08 Merge pull request #12966 from ioito/automated-cherry-pick-of-#12965-upstream-release-3.8
Automated cherry pick of #12965: fix(region): show empty array disabled brands
2021-12-22 10:27:49 +08:00
Zexi Li
99fd35a96e Merge pull request #12964 from ioito/automated-cherry-pick-of-#12963-upstream-release-3.8
Automated cherry pick of #12963: fix(region): vmware sync fix ip
2021-12-22 10:26:12 +08:00
Zexi Li
c65710b75e Merge pull request #12968 from ioito/automated-cherry-pick-of-#12967-upstream-release-3.8
Automated cherry pick of #12967: fix(region): aws eip dissociate
2021-12-22 10:25:31 +08:00
Zexi Li
dc160907d0 Merge pull request #12972 from ioito/automated-cherry-pick-of-#12971-upstream-release-3.8
Automated cherry pick of #12971: fix(region): security group cache filter
2021-12-22 10:24:37 +08:00
Zexi Li
13df35432b Merge pull request #12977 from swordqiu/automated-cherry-pick-of-#12956-upstream-release-3.8
Automated cherry pick of #12956: fix: system server randomly lose connectivity in vpc network
2021-12-22 10:23:49 +08:00
Qiu Jian
eec2df4b19 fix: system server randomly lose connectivity in vpc network 2021-12-22 02:51:30 +08:00
Zexi Li
85a1d5835a fix(host): update vlan (#12975) 2021-12-22 00:59:14 +08:00
Zexi Li
8602869c4e optimize(host-image,fetcherfs): download disk speed too slow (#12957) 2021-12-22 00:56:37 +08:00
ioito
3917d23f18 fix(region): security group cache filter 2021-12-21 21:28:29 +08:00
ioito
9e662e61a2 fix(region): aws eip dissociate 2021-12-21 20:17:18 +08:00
ioito
dac20be73a fix(region): vmware sync fix ip 2021-12-21 16:35:52 +08:00
ioito
a0a7cff42f fix(region): show empty array disabled brands 2021-12-21 16:08:01 +08:00
ioito
179990df77 fix(region): aws capability 2021-12-21 14:34:27 +08:00
ioito
43a75704b5 fix(region): qcloud secgroup rule sync 2021-12-21 14:20:53 +08:00
Zexi Li
bee3109463 Merge pull request #12910 from ioito/automated-cherry-pick-of-#12909-upstream-release-3.8
Automated cherry pick of #12909: fix(host): add speed info for block-job
2021-12-20 15:59:24 +08:00
ioito
6ab26b92bf fix(host): add speed info for block-job 2021-12-20 15:53:12 +08:00
Zexi Li
f29acab75d Merge pull request #12930 from ioito/automated-cherry-pick-of-#12929-upstream-release-3.8
Automated cherry pick of #12929: fix(region): security group name generate for every cloud platform
2021-12-20 13:03:19 +08:00
Zexi Li
a1cc334df3 Merge pull request #12943 from ioito/automated-cherry-pick-of-#12942-upstream-release-3.8
Automated cherry pick of #12942: fix(keystone): scope resource count
2021-12-20 13:00:40 +08:00
Zexi Li
7eb76a4990 Merge pull request #12953 from swordqiu/automated-cherry-pick-of-#12938-upstream-release-3.8
Automated cherry pick of #12938: fix: server migration halted by an unexpected STOP event
2021-12-19 18:33:22 +08:00
Qiu Jian
28715046b6 fix: server migration halted by an unexpected STOP event 2021-12-18 22:00:37 +08:00
Zexi Li
6ac0d35081 Merge pull request #12947 from ioito/automated-cherry-pick-of-#12946-upstream-release-3.8
Automated cherry pick of #12946: fix(region): dns zone cache purge
2021-12-18 01:05:49 +08:00
ioito
d85e04253c fix(region): dns zone cache purge 2021-12-17 18:07:40 +08:00
ioito
1c29892306 fix(keystone): scope resource count 2021-12-17 16:10:43 +08:00
Zexi Li
aceae9d112 Merge pull request #12934 from ioito/automated-cherry-pick-of-#12933-upstream-release-3.8
Automated cherry pick of #12933: fix(region): add eip and disk usage
2021-12-17 14:34:27 +08:00
Zexi Li
4ecf4f0193 Merge pull request #12940 from zexi/automated-cherry-pick-of-#12939-upstream-release-3.8
Automated cherry pick of #12939: fix(region): vm start failed stage not invoked
2021-12-17 11:24:05 +08:00
Zexi Li
499d8e8e87 fix(region): vm start failed stage not invoked 2021-12-17 11:20:44 +08:00
屈轩
13228cc497 fix(region): merge input and output json (#12921) 2021-12-16 21:18:28 +08:00
Zexi Li
f34f5a2463 fix(host): more readable error info of GetWireOfIp (#12936) 2021-12-16 21:13:45 +08:00
ioito
340db0e603 fix(region): add eip and disk usage 2021-12-16 16:36:51 +08:00
Zexi Li
ced8dfcb86 Merge pull request #12915 from rainzm/automated-cherry-pick-of-#12914-upstream-release-3.8
Automated cherry pick of #12914: feat(region): support detach disk with disk_type 'sys'
2021-12-16 15:16:29 +08:00
rainzm
526dd2b24f feat(region): support detach disk with disk_type 'sys' 2021-12-16 15:08:26 +08:00
ioito
4427387043 fix(region): security group name generate for every cloud platform 2021-12-16 14:28:54 +08:00
Zexi Li
fefb26a754 Merge pull request #12918 from ioito/automated-cherry-pick-of-#12913-upstream-release-3.8
Automated cherry pick of #12913: fix(region): vpc sync misc fix
2021-12-16 10:51:58 +08:00
Zexi Li
05d25bccc2 Merge pull request #12886 from ioito/automated-cherry-pick-of-#12885-upstream-release-3.8
Automated cherry pick of #12885: feat(region): aws nat gateway read
2021-12-16 10:41:01 +08:00
Zexi Li
3eea35e46e Merge pull request #12926 from swordqiu/automated-cherry-pick-of-#12925-upstream-release-3.8
Automated cherry pick of #12925: fix: lbagent pull resources of OneCloud only
2021-12-16 10:40:02 +08:00
Qiu Jian
396a2303da fix: lbagent pull resources of OneCloud only 2021-12-15 22:43:12 +08:00
Zexi Li
239391c25a Merge pull request #12923 from zexi/automated-cherry-pick-of-#12922-upstream-release-3.8
Automated cherry pick of #12922: fix(host): cold migration disk removed
2021-12-15 19:12:13 +08:00
Zexi Li
f582e45249 fix(host): cold migration disk removed 2021-12-15 18:27:29 +08:00
ioito
1f658253bd fix(region): vpc sync misc fix 2021-12-15 16:40:25 +08:00
Zexi Li
6b290732d5 Merge pull request #12917 from zexi/automated-cherry-pick-of-#12916-upstream-release-3.8
Automated cherry pick of #12916: fix(host): enable file.locking=off option for local disk
2021-12-15 16:29:06 +08:00
Zexi Li
8f09982044 fix(host): enable file.locking=off option for local disk 2021-12-15 16:21:44 +08:00
Zexi Li
c89a26bba3 Merge pull request #12912 from zexi/automated-cherry-pick-of-#12911-upstream-release-3.8
Automated cherry pick of #12911: fix(region): live migrate target_storage_id quoted
2021-12-15 15:09:43 +08:00
Zexi Li
e636a43810 fix(region): live migrate target_storage_id quoted 2021-12-15 15:01:22 +08:00
Rain Zheng
d5ae563843 feat(region): add storage_id in GuestDiskInfo (#12882) 2021-12-15 04:17:37 +08:00
Zexi Li
294b7123f6 Merge pull request #12903 from zexi/automated-cherry-pick-of-#12902-upstream-release-3.8
Automated cherry pick of #12902: feat(host): qemu add uuid option
2021-12-14 21:25:14 +08:00
Zexi Li
c32b11585a Merge pull request #12907 from rainzm/automated-cherry-pick-of-#12906-upstream-release-3.8
Automated cherry pick of #12906: fix(region): respect disk's snapshotId in disk_batch_create_task
2021-12-14 21:24:07 +08:00
rainzm
7d6c3df866 fix(region): respect disk's snapshotId in disk_batch_create_task 2021-12-14 21:17:06 +08:00
Zexi Li
892c4b2162 Merge pull request #12892 from ioito/automated-cherry-pick-of-#12891-upstream-release-3.8
Automated cherry pick of #12891: fix(region): aliyun error translation
2021-12-14 21:11:37 +08:00
Zexi Li
70d536ea65 Merge pull request #12894 from ioito/automated-cherry-pick-of-#12893-upstream-release-3.8
Automated cherry pick of #12893: fix(region): openstack use proxy
2021-12-14 21:08:42 +08:00
Zexi Li
5c1a16cbe6 feat(host): qemu add uuid option 2021-12-14 21:03:23 +08:00
ioito
3b42f746a8 fix(region): openstack use proxy 2021-12-14 14:33:54 +08:00
ioito
667a2feab8 fix(region): aliyun error translation 2021-12-14 11:42:08 +08:00
Zexi Li
c67988fc98 Merge pull request #12888 from ioito/automated-cherry-pick-of-#12887-upstream-release-3.8
Automated cherry pick of #12887: fix(region): add filter for global vpc
2021-12-13 22:55:26 +08:00
Zexi Li
b53bc0a1f6 Merge pull request #12870 from ioito/automated-cherry-pick-of-#12869-upstream-release-3.8
Automated cherry pick of #12869: fix(region): vpc filter params
2021-12-13 17:15:52 +08:00
Zexi Li
72b9e7363b Merge pull request #12862 from rainzm/automated-cherry-pick-of-#12861-upstream-release-3.8
Automated cherry pick of #12861: fix(hostman): update storagecacheimage status from 'ready' to 'avtive'
2021-12-13 17:15:09 +08:00
Zexi Li
bbd06b7bcb Merge pull request #12857 from ioito/automated-cherry-pick-of-#12856-upstream-release-3.8
Automated cherry pick of #12856: fix(region): google vm disk attach
2021-12-13 17:14:38 +08:00
Zexi Li
939f53bd84 Merge pull request #12854 from swordqiu/automated-cherry-pick-of-#12853-upstream-release-3.8
Automated cherry pick of #12853: fix: fail to start arm vm
2021-12-13 17:14:10 +08:00
Zexi Li
e588e7955a Merge pull request #12849 from ioito/automated-cherry-pick-of-#12848-upstream-release-3.8
Automated cherry pick of #12848: fix(region): set auto renew with duration
2021-12-13 17:13:16 +08:00
ioito
3ec73fb4b1 fix(region): add filter for global vpc 2021-12-13 16:55:32 +08:00
ioito
2cc3ca9313 feat(region): aws nat gateway read 2021-12-13 16:43:06 +08:00
Zexi Li
c0f616bc18 Merge pull request #12874 from ioito/automated-cherry-pick-of-#12873-upstream-release-3.8
Automated cherry pick of #12873: fix(region): avoid panic when sync vpc peer connection
2021-12-13 16:23:36 +08:00
Zexi Li
88b3ae1adc Merge pull request #12872 from ioito/automated-cherry-pick-of-#12871-upstream-release-3.8
Automated cherry pick of #12871: fix(region): show more global vpc details
2021-12-13 16:22:50 +08:00
Zexi Li
1050cce0ef Merge pull request #12883 from zexi/fix-change-conf-sched
fix(region): inject OsArch to scheduler input when change config
2021-12-13 12:23:56 +08:00
Zexi Li
98346b861c fix(region): inject OsArch to scheduler input when change config 2021-12-13 12:22:54 +08:00
Zexi Li
f2769c5205 Merge pull request #12876 from swordqiu/automated-cherry-pick-of-#12875-upstream-release-3.8
Automated cherry pick of #12875: feature: support galaxy kylin guest OS
2021-12-12 12:12:48 +08:00
Qiu Jian
35f43c1043 feature: support galaxy kylin guest OS 2021-12-11 13:26:53 +08:00
ioito
217645b28e fix(region): avoid panic when sync vpc peer connection 2021-12-10 17:52:28 +08:00
ioito
041f4c5c0e fix(region): show more global vpc details 2021-12-10 17:32:34 +08:00
ioito
7ca5db2f45 fix(region): vpc filter params 2021-12-10 17:28:28 +08:00
Zexi Li
c2cc1e16e9 Merge pull request #12859 from ioito/automated-cherry-pick-of-#12858-upstream-release-3.8
Automated cherry pick of #12858: fix(region): zstack time zone auth
2021-12-10 16:57:29 +08:00
Zexi Li
61c906dda1 Merge pull request #12865 from ioito/automated-cherry-pick-of-#12864-upstream-release-3.8
Automated cherry pick of #12864: fix(region): aliyun route table sync
2021-12-10 16:54:58 +08:00
Zexi Li
807a25b17b Merge pull request #12868 from ioito/automated-cherry-pick-of-#12867-upstream-release-3.8
Automated cherry pick of #12867: fix(region): unified vpc not found error
2021-12-10 16:54:19 +08:00
ioito
52719c90fd fix(region): unified vpc not found error 2021-12-10 16:42:31 +08:00
ioito
60bca7ef88 fix(region): aliyun route table sync 2021-12-10 16:33:45 +08:00
ioito
d98b013cbf fix(region): google vm disk attach 2021-12-10 15:33:56 +08:00
rainzm
cee7a9dd74 fix(hostman): update storagecacheimage status from 'ready' to 'avtive' 2021-12-10 15:30:28 +08:00
ioito
e889d6f5d1 fix(region): zstack time zone auth 2021-12-10 15:08:03 +08:00
Qiu Jian
a2d8949a5c fix: fail to start arm vm 2021-12-10 02:03:08 +08:00
Zexi Li
a2540210b3 Merge pull request #12852 from ioito/automated-cherry-pick-of-#12851-upstream-release-3.8
Automated cherry pick of #12851: fix(region): google eip and snapshot op fix
2021-12-09 23:08:10 +08:00
ioito
69dec5d998 fix(region): google eip and snapshot op fix 2021-12-09 18:40:30 +08:00
ioito
6bb5943d7d fix(region): set auto renew with duration 2021-12-09 17:15:36 +08:00
Zexi Li
02ca025b83 Merge pull request #12836 from rainzm/automated-cherry-pick-of-#12835-upstream-release-3.8
Automated cherry pick of #12835: fix(hostdeployer): Operate with the original name when vgrename fails
2021-12-09 11:22:28 +08:00
Zexi Li
4acf9efca1 Merge pull request #12844 from ioito/automated-cherry-pick-of-#12843-upstream-release-3.8
Automated cherry pick of #12843: fix(region): google sync fix
2021-12-09 01:01:30 +08:00
Zexi Li
eb901814f4 Merge pull request #12842 from ioito/automated-cherry-pick-of-#12841-upstream-release-3.8
Automated cherry pick of #12841: fix(region): add access info for es
2021-12-09 01:01:02 +08:00
Zexi Li
7a3c060427 Merge pull request #12846 from ioito/automated-cherry-pick-of-#12845-upstream-release-3.8
Automated cherry pick of #12845: fix(region): kafka data
2021-12-09 00:58:43 +08:00
ioito
12f61a60c3 fix(region): kafka data 2021-12-08 19:19:39 +08:00
ioito
dcdd65f65f fix(region): google sync fix 2021-12-08 18:58:41 +08:00
ioito
86fa92cab9 fix(region): add access info for es 2021-12-08 18:22:05 +08:00
Zexi Li
5eca4f260e Merge pull request #12838 from swordqiu/automated-cherry-pick-of-#12837-upstream-release-3.8
Automated cherry pick of #12837: fix: fail to recover disk status if disk in unknown status
2021-12-08 12:45:01 +08:00
Zexi Li
a826796b7a Merge pull request #12812 from zexi/automated-cherry-pick-of-#12811-upstream-release-3.8
Automated cherry pick of #12811: fix(host): adjust kvm block_stream query frequency and speed limit
2021-12-08 12:44:37 +08:00
Zexi Li
70f6ad02f0 fix(host): adjust kvm block_stream query frequency and speed limit 2021-12-08 10:17:58 +08:00
Qiu Jian
a7f92206b5 fix: fail to recover disk status if disk in unknown status 2021-12-08 00:28:59 +08:00
rainzm
f4f7f77efb fix(hostdeployer): Operate with the original name when vgrename fails 2021-12-07 20:27:56 +08:00
Zexi Li
7fd630e29f Merge pull request #12834 from ioito/automated-cherry-pick-of-#12833-upstream-release-3.8
Automated cherry pick of #12833: fix(region): google replace globalid
2021-12-07 20:01:28 +08:00
Qu Xuan
a6268bf84f fix(region): google replace globalid 2021-12-07 19:22:11 +08:00
Zexi Li
9d37da517d Merge pull request #12830 from swordqiu/automated-cherry-pick-of-#12829-upstream-release-3.8
Automated cherry pick of #12829: fix: opslog might log event with empty usercred
2021-12-07 10:24:28 +08:00
Qiu Jian
43caa7ba9e fix: opslog might log event with empty usercred 2021-12-06 22:16:42 +08:00
Zexi Li
161dac5ff5 Merge pull request #12808 from rainzm/automated-cherry-pick-of-#12807-upstream-release-3.8
Automated cherry pick of #12807: fix(scheduler): consider perfer and avoid score when sorting HostPrirityList
2021-12-06 14:49:17 +08:00
Zexi Li
5cedea92fa Merge pull request #12826 from swordqiu/automated-cherry-pick-of-#12825-upstream-release-3.8
Automated cherry pick of #12825: feature: set docker daemon default mtu when deploy
2021-12-06 10:08:14 +08:00
Qiu Jian
1794963b79 feature: set docker daemon default mtu when deploy 2021-12-06 07:20:48 +08:00
Zexi Li
bde167c977 Merge pull request #12820 from swordqiu/automated-cherry-pick-of-#12819-upstream-release-3.8
Automated cherry pick of #12819: fix: fail to insert action log with empty notes
2021-12-06 00:04:06 +08:00
Zexi Li
34f069ff19 Merge pull request #12823 from swordqiu/automated-cherry-pick-of-#12822-upstream-release-3.8
Automated cherry pick of #12822: fix: image service can start without valid track endpoints
2021-12-06 00:03:25 +08:00
Qiu Jian
7029525a9f fix: image service can start without valid track endpoints 2021-12-05 23:29:49 +08:00
Qiu Jian
5965d6ace3 fix: fail to insert action log with empty notes 2021-12-05 23:25:38 +08:00
Zexi Li
1d83a92bff Merge pull request #12818 from swordqiu/automated-cherry-pick-of-#12817-upstream-release-3.8
Automated cherry pick of #12817: feature: server create with existing disks
2021-12-05 23:19:59 +08:00
Qiu Jian
506953f4c6 feature: server create with existing disks 2021-12-05 23:05:01 +08:00
rainzm
a31d408421 fix(scheduler): consider perfer and avoid score when sorting HostPriorityList 2021-12-03 15:01:16 +08:00
Zexi Li
1b959a229b Merge pull request #12804 from zexi/automated-cherry-pick-of-#12803-upstream-release-3.8
Automated cherry pick of #12803: fix(build): unify docker image UTC timezone
2021-12-03 11:36:06 +08:00
Zexi Li
43a6cbe67f fix(build): unify docker image UTC timezone 2021-12-03 11:35:20 +08:00
Zexi Li
c0a8a1eedd Merge pull request #12806 from zexi/automated-cherry-pick-of-#12805-upstream-release-3.8
Automated cherry pick of #12805: fix(region): filter deleted storages
2021-12-03 11:29:19 +08:00
yangbaoqiang
0f9c71bf20 fix(region): filter deleted storages
In some situation, getValidStorages return deleted storage and the zone was deleted from
remote(openstack or others).
2021-12-03 11:28:52 +08:00
Zexi Li
234d079579 Merge pull request #12798 from rainzm/automated-cherry-pick-of-#12797-upstream-release-3.8
Automated cherry pick of #12797: fix(scheduler): correct sorting for HostPriorityList
2021-12-02 21:15:05 +08:00
rainzm
47d26c0cb0 fix(scheduler): correct sorting for HostPriorityList 2021-12-02 21:04:24 +08:00
Zexi Li
1b2c19bbd4 Merge pull request #12788 from rainzm/automated-cherry-pick-of-#12787-upstream-release-3.8
Automated cherry pick of #12787: fix(esxiagent): update storagecachedimage status from 'ready' to 'active'
2021-12-02 14:15:04 +08:00
rainzm
58e0e7d373 fix(esxiagent): update storagecachedimage status from 'ready' to 'active' 2021-12-02 11:23:52 +08:00
Zexi Li
971ba4befd Merge pull request #12784 from zexi/host-list-by-os-arch
fix(region): host support list by os_arch
2021-12-01 18:20:41 +08:00
Zexi Li
97bf4b81b9 fix(region): host support list by os_arch 2021-12-01 17:37:01 +08:00
Zexi Li
c9b98e3066 Merge pull request #12782 from zexi/automated-cherry-pick-of-#12781-upstream-release-3.8
Automated cherry pick of #12781: fix(region): improve validate machine type message
2021-12-01 15:35:42 +08:00
Zexi Li
e4537c9442 fix(region): improve validate machine type message 2021-12-01 15:21:35 +08:00
Zexi Li
544f293527 Merge pull request #12778 from rainzm/automated-cherry-pick-of-#12777-upstream-release-3.8
Automated cherry pick of #12777: fix(ansibleserver): update file-repo from v0.3.3 to v0.3.4
2021-11-30 20:16:12 +08:00
rainzm
51c2210c21 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:53:17 +08:00
Zexi Li
1285835893 Merge pull request #12776 from rainzm/automated-cherry-pick-of-#12775-upstream-release-3.8
Automated cherry pick of #12775: fix(region): setExteranlId and upload tags after creating cdndomain
2021-11-30 17:38:37 +08:00
rainzm
db54ce91f3 fix(region): setExteranlId and upload tags after creating cdndomain 2021-11-30 17:11:04 +08:00
Zexi Li
f974128e06 Merge pull request #12764 from ioito/automated-cherry-pick-of-#12763-upstream-release-3.8
Automated cherry pick of #12763: fix(region): delete vm and disk when it was not found
2021-11-30 00:04:25 +08:00
Zexi Li
8cfef508b4 Merge pull request #12767 from ioito/automated-cherry-pick-of-#12766-upstream-release-3.8
Automated cherry pick of #12766: fix(region): add third_party for qcloud
2021-11-30 00:02:47 +08:00
ioito
5c58a30d9d fix(region): add third_party for qcloud 2021-11-29 19:13:26 +08:00
ioito
0fd694a30b fix(region): delete vm and disk when it was not found 2021-11-29 16:38:28 +08:00
Zexi Li
5aebf14f93 Merge pull request #12748 from swordqiu/automated-cherry-pick-of-#12747-upstream-release-3.8
Automated cherry pick of #12747: fix: vpcagent fail to refresh session token
2021-11-28 18:12:50 +08:00
Zexi Li
f0d243f091 Merge pull request #12755 from ioito/automated-cherry-pick-of-#12754-upstream-release-3.8
Automated cherry pick of #12754: fix(region): cdn create fix
2021-11-28 18:12:27 +08:00
Zexi Li
7552304ae0 Merge pull request #12759 from ioito/automated-cherry-pick-of-#12757-upstream-release-3.8
Automated cherry pick of #12757: fix(region): support nas create with tag
2021-11-28 18:11:42 +08:00
Qu Xuan
d5638381df fix(region): support nas create with tag 2021-11-26 18:29:05 +08:00
Qu Xuan
96e6805122 fix(region): cdn create fix 2021-11-26 18:19:12 +08:00
Qiu Jian
93707b972a fix: vpcagent fail to refresh session token 2021-11-26 01:16:29 +08:00
Zexi Li
24afac97fd Merge pull request #12739 from ioito/automated-cherry-pick-of-#12738-upstream-release-3.8
Automated cherry pick of #12738: feat(region): add cdn create op for qcloud
2021-11-25 21:40:27 +08:00
Zexi Li
58e4737bbf Merge pull request #12741 from rainzm/automated-cherry-pick-of-#12740-upstream-release-3.8
Automated cherry pick of #12740: fix: close it after using sql.Rows
2021-11-25 21:35:38 +08:00
Zexi Li
aa03e7e5b7 Merge pull request #12743 from rainzm/automated-cherry-pick-of-#12737-upstream-release-3.8
Automated cherry pick of #12737: fix(region): add rows.Close func
2021-11-25 21:35:08 +08:00
yangbaoqiang
c122f00d52 fix(region): add rows.Close func 2021-11-25 17:43:43 +08:00
rainzm
fad531f21d fix: close it after using sql.Rows 2021-11-25 17:42:01 +08:00
Qu Xuan
564fccaf1f feat(region): add cdn create op for qcloud 2021-11-25 16:03:26 +08:00
Zexi Li
3c0b0555ca Merge pull request #12733 from ioito/automated-cherry-pick-of-#12732-upstream-release-3.8
Automated cherry pick of #12732: fix(region): apsara rds network sync
2021-11-25 00:43:24 +08:00
Qu Xuan
faced4cae4 fix(region): apsara rds network sync 2021-11-24 16:25:20 +08:00
Zexi Li
e9079f9f2c Merge pull request #12727 from zexi/automated-cherry-pick-of-#12724-upstream-release-3.8
Automated cherry pick of #12724: fix(region): adjust the logic of rebuild guest
2021-11-23 10:14:44 +08:00
Zexi Li
490c3b2705 Merge pull request #12717 from swordqiu/automated-cherry-pick-of-#12716-upstream-release-3.8
Automated cherry pick of #12716: fix: correct prefined policies definitions
2021-11-23 10:13:29 +08:00
Zexi Li
5de6d4ed6d Merge pull request #12725 from swordqiu/automated-cherry-pick-of-#12720-upstream-release-3.8
Automated cherry pick of #12720: fix: disk driver persistence
2021-11-23 10:13:00 +08:00
yangbaoqiang
11e5ce0210 fix(region): openstack.go
1.调整eip解绑后,重新绑定函数位置
2.调整guest数据盘卸载后,重新挂载函数位置
2021-11-23 10:11:38 +08:00
Qiu Jian
1479ecd6f6 fix: disk driver persistence 2021-11-22 20:50:36 +08:00
Qiu Jian
37d22b33cb fix: correct prefined policies definitions 2021-11-20 10:40:19 +08:00
Zexi Li
cc8124bce8 Merge pull request #12712 from swordqiu/automated-cherry-pick-of-#12711-upstream-release-3.8
Automated cherry pick of #12711: fix: add host option for ethtool_enable_gso
2021-11-19 18:30:26 +08:00
Qiu Jian
7d643c6121 fix: add host option for ethtool_enable_gso 2021-11-19 03:15:06 +08:00
Zexi Li
931da8218b Merge pull request #12703 from ioito/automated-cherry-pick-of-#12700-upstream-release-3.8
Automated cherry pick of #12700: fix(apigateway): support filename export
2021-11-18 22:24:56 +08:00
Zexi Li
fcb916cf56 Merge pull request #12702 from zexi/automated-cherry-pick-of-#12701-upstream-release-3.8
Automated cherry pick of #12701: fix(host): only local disk enable file.locking option on arm64 host
2021-11-18 22:23:38 +08:00
Zexi Li
7a0dc1fbb2 Merge pull request #12706 from tb365/automated-cherry-pick-of-#12705-upstream-release-3.8
Automated cherry pick of #12705: gcp lb sync address bugfix
2021-11-18 22:22:55 +08:00
tb365
eab2eb347a gcp lb sync address bugfix 2021-11-18 13:23:50 +08:00
Qu Xuan
549ad633bb fix(apigateway): support filename export 2021-11-18 10:48:46 +08:00
Zexi Li
7073c522db fix(host): only local disk enable file.locking option on arm64 host 2021-11-18 10:48:00 +08:00
Jian Qiu
270a4d01e8 fix: add switch of sdnagent tc man (#12698)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-18 05:16:55 +08:00
Zexi Li
0beadec4e7 Merge pull request #12691 from swordqiu/automated-cherry-pick-of-#12640-upstream-release-3.8
Automated cherry pick of #12640: fix: validate VM vdi,vga,machine input
2021-11-17 16:53:07 +08:00
Zexi Li
49853ff500 Merge pull request #12688 from ioito/automated-cherry-pick-of-#12687-upstream-release-3.8
Automated cherry pick of #12687: fix(cloudevent): qcloud event time
2021-11-17 16:41:06 +08:00
Zexi Li
ae38e4697b Merge pull request #12690 from swordqiu/automated-cherry-pick-of-#12626-upstream-release-3.8
Automated cherry pick of #12626: fix: qemu extra options support multiple values
2021-11-17 15:57:26 +08:00
Zexi Li
0b35d90e5f Merge pull request #12693 from tb365/automated-cherry-pick-of-#12692-upstream-release-3.8
Automated cherry pick of #12692: gcp lb sync ip address fix
2021-11-17 15:44:09 +08:00
Zexi Li
1aaa1e607b Merge pull request #12694 from swordqiu/hotfix/qj-fix-sqlchemy-version-for-3.8
fix: fix sqlchemy version to v1.0.0 for release/3.8
2021-11-17 15:43:09 +08:00
tb365
e41cb3a7a7 lb cloudregion overwrite fix 2021-11-17 14:55:14 +08:00
tb365
2cd87724a0 gcp lb sync ip address fix 2021-11-17 14:55:14 +08:00
Qiu Jian
50f0e77fb6 fix: fix sqlchemy version to v1.0.0 for release/3.8 2021-11-17 14:42:29 +08:00
Qiu Jian
bd57ee406e fix: validate VM vdi,vga,machine input 2021-11-17 07:56:44 +08:00
Qiu Jian
2004e00a42 fix: qemu extra options support multiple values 2021-11-17 07:35:50 +08:00
Qu Xuan
499cd9445d fix(cloudevent): qcloud event time 2021-11-16 17:40:37 +08:00
Zexi Li
83da0272e7 Merge pull request #12682 from swordqiu/automated-cherry-pick-of-#12681-upstream-release-3.8
Automated cherry pick of #12681: fix: server-create-eip allocation prefer owner's eip network
2021-11-16 16:11:03 +08:00
Zexi Li
4599ebec43 Merge pull request #12665 from tb365/automated-cherry-pick-of-#12664-upstream-release-3.8
Automated cherry pick of #12664: ctyun support crm account
2021-11-16 10:16:14 +08:00
Zexi Li
89f3c84046 Merge pull request #12680 from ioito/automated-cherry-pick-of-#12679-upstream-release-3.8
Automated cherry pick of #12679: fix(region): tag sync
2021-11-16 10:15:24 +08:00
Zexi Li
ff7a50d400 Merge pull request #12684 from ioito/automated-cherry-pick-of-#12683-upstream-release-3.8
Automated cherry pick of #12683: fix(region): export user_tags
2021-11-16 09:11:40 +08:00
Qiu Jian
b13d6c86c9 fix: server-create-eip allocation prefer owner's eip network 2021-11-15 19:32:02 +08:00
Zexi Li
0776a61e08 Merge pull request #12677 from zhaoxiangchun/automated-cherry-pick-of-#12671-upstream-release-3.8
Automated cherry pick of #12671: fix(monitor): 告警历史问题修复
2021-11-15 18:25:19 +08:00
Qu Xuan
19f9e5114d fix(region): export user_tags 2021-11-15 17:36:31 +08:00
Qu Xuan
b1ed622f02 fix(region): tag sync 2021-11-15 17:04:13 +08:00
zhaoxiangchun
0c043d985b fix(monitor): remove websocket import in monitor service 2021-11-15 09:55:49 +08:00
zhaoxiangchun
58026fb5ff fix(monitor): 告警历史问题修复
1.https://bug.yunion.io/zentao/bug-view-7933.html
2021-11-15 09:52:34 +08:00
Zexi Li
d668007522 Merge pull request #12673 from ioito/automated-cherry-pick-of-#12672-upstream-release-3.8
Automated cherry pick of #12672: fix(region): waf app tag sync
2021-11-13 18:53:08 +08:00
Qu Xuan
f86c3d543a fix(region): waf app tag sync 2021-11-12 16:30:51 +08:00
tb365
ce00e36236 ctyun support crm account 2021-11-12 11:16:04 +08:00
Zexi Li
f18a2f6dd9 Merge pull request #12662 from ioito/automated-cherry-pick-of-#12661-upstream-release-3.8
Automated cherry pick of #12661: fix(climc): fix proxy for cli
2021-11-11 10:07:03 +08:00
Zexi Li
85e57e0ce1 Merge pull request #12667 from swordqiu/automated-cherry-pick-of-#12666-upstream-release-3.8
Automated cherry pick of #12666: fix: fail to free reserved ip in non-owner project
2021-11-11 10:06:09 +08:00
Zexi Li
5b58925c72 Merge pull request #12630 from ioito/automated-cherry-pick-of-#12629-upstream-release-3.8
Automated cherry pick of #12629: fix(region): add api field for vpc-peering
2021-11-11 10:05:24 +08:00
Qiu Jian
29c250e4e8 fix: fail to free reserved ip in non-owner project 2021-11-11 07:38:49 +08:00
Qu Xuan
8f21d7e5c4 fix(climc): fix proxy for cli 2021-11-10 15:50:26 +08:00
Qu Xuan
39d5659a67 fix(region): add api field for vpc-peering 2021-11-10 15:16:28 +08:00
Zexi Li
6628c14be4 Merge pull request #12617 from tb365/automated-cherry-pick-of-#12616-upstream-release-3.8
Automated cherry pick of #12616: Bugfix/tb bugfix 110501
2021-11-10 12:22:19 +08:00
Zexi Li
09998e5794 Merge pull request #12657 from swordqiu/automated-cherry-pick-of-#12656-upstream-release-3.8
Automated cherry pick of #12656: fix: allocate eip from network that belong sto the same project
2021-11-10 12:21:16 +08:00
Zexi Li
dec00ac58e Merge pull request #12659 from ioito/automated-cherry-pick-of-#12658-upstream-release-3.8
Automated cherry pick of #12658: fix(region): google secgroup sync
2021-11-10 12:20:54 +08:00
Zexi Li
a174c5f026 Merge pull request #12619 from swordqiu/automated-cherry-pick-of-#12597-upstream-release-3.8
Automated cherry pick of #12597: feature: pass ntp server by DHCP option
2021-11-10 12:16:36 +08:00
Qiu Jian
a8b1a9578f update vendor 2021-11-10 11:56:51 +08:00
Qiu Jian
ff389df452 update vendor 2021-11-10 11:54:56 +08:00
Qiu Jian
ecf6c65c22 update vendor 2021-11-10 11:54:17 +08:00
Qiu Jian
6ba2937e48 fix: fixed on merge Input json 2021-11-10 11:53:36 +08:00
Qiu Jian
77a989fbeb update vendor 2021-11-10 11:53:36 +08:00
Qiu Jian
24825d642a feature: pass ntp server by DHCP option 2021-11-10 11:53:36 +08:00
Qu Xuan
fa5364ab5a fix(region): google secgroup sync 2021-11-10 11:07:19 +08:00
Qiu Jian
c37511ad3c fix: allocate eip from network that belong sto the same project 2021-11-10 10:12:35 +08:00
Zexi Li
09a28d2264 Merge pull request #12653 from swordqiu/automated-cherry-pick-of-#12641-upstream-release-3.8
Automated cherry pick of #12641: fix: false delted field for deleted resources
2021-11-09 20:51:47 +08:00
Qiu Jian
6573c23ff7 fix: false delted field for deleted resources 2021-11-09 19:46:00 +08:00
屈轩
518417cad5 fix(climc): json output (#12652)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-11-09 19:33:36 +08:00
Zexi Li
1dbb84b97f Merge pull request #12647 from zexi/host-ssh-closed
fix(webconsole): host ssh use cloudroot user error
2021-11-09 19:31:51 +08:00
Zexi Li
0154346da7 fix(webconsole): host ssh use cloudroot user error 2021-11-09 18:32:58 +08:00
Zexi Li
296859b2d7 Merge pull request #12643 from zexi/automated-cherry-pick-of-#12642-upstream-release-3.8
Automated cherry pick of #12642: fix(host): nfs clone disk from storage not implement
2021-11-09 18:14:46 +08:00
Zexi Li
8c0df9b2d0 Merge pull request #12645 from ioito/automated-cherry-pick-of-#12644-upstream-release-3.8
Automated cherry pick of #12644: fix(climc): climc json output
2021-11-09 18:13:50 +08:00
Qu Xuan
592b076040 fix(climc): climc json output 2021-11-09 17:16:05 +08:00
Zexi Li
f56dc81625 fix(host): nfs clone disk from storage not implement 2021-11-09 10:05:26 +08:00
Zexi Li
8a1fcf7382 Merge pull request #12628 from swordqiu/automated-cherry-pick-of-#12627-upstream-release-3.8
Automated cherry pick of #12627: fix: optimize vm disk io parameters
2021-11-09 01:18:09 +08:00
Zexi Li
9a76b09d49 Merge pull request #12632 from ioito/automated-cherry-pick-of-#12631-upstream-release-3.8
Automated cherry pick of #12631: fix(region): sync cloudpods metadata
2021-11-09 01:17:11 +08:00
Zexi Li
82f84a02c8 Merge pull request #12634 from ioito/automated-cherry-pick-of-#12633-upstream-release-3.8
Automated cherry pick of #12633: fix(region): aws redis not found error
2021-11-09 01:16:22 +08:00
Zexi Li
70e43c5974 Merge pull request #12637 from tb365/automated-cherry-pick-of-#12636-upstream-release-3.8
Automated cherry pick of #12636: qcloud&aliyun update backend weight value range fix
2021-11-09 01:15:34 +08:00
tb365
2de66d3f1d qcloud&aliyun update backend weight value range fix 2021-11-08 17:23:35 +08:00
Qu Xuan
ce30b0067e fix(region): aws redis not found error 2021-11-08 14:57:54 +08:00
Qu Xuan
9b93f19a40 fix(region): sync cloudpods metadata 2021-11-08 14:39:23 +08:00
Qiu Jian
cd61b49526 fix: optimize vm disk io parameters 2021-11-08 12:03:28 +08:00
Jian Qiu
03591ce71b fix: cleanup compile warnings (#12621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:46 +08:00
tb365
f299be672e loadbalancer sync remove backend group 2021-11-05 19:14:48 +08:00
tb365
39588989ad loadbalancer ipfronts 2021-11-05 19:14:48 +08:00
Zexi Li
73246a90b7 Merge pull request #12614 from zhaoxiangchun/automated-cherry-pick-of-#12613-upstream-release-3.8
Automated cherry pick of #12613: fix(monitor): monitor host query fix
2021-11-05 18:37:14 +08:00
zhaoxiangchun
5cf2937871 fix(monitor): monitor host query fix 2021-11-05 14:14:49 +08:00
Zexi Li
a7064c792e Merge pull request #12610 from ioito/automated-cherry-pick-of-#12609-upstream-release-3.8
Automated cherry pick of #12609: fix(region): avoid cidr change 0.0.0.0/0
2021-11-05 10:40:07 +08:00
Qu Xuan
d797eb3144 fix(region): avoid cidr change 0.0.0.0/0 2021-11-05 10:04:46 +08:00
Zexi Li
a3fa8463dd Merge pull request #12601 from tb365/automated-cherry-pick-of-#12600-upstream-release-3.8
Automated cherry pick of #12600: support gcp regional lb sync
2021-11-05 01:15:33 +08:00
Zexi Li
ddc7c4ffb6 feat(region,host): create or update server add machine option (#12606) 2021-11-04 22:27:00 +08:00
tb365
9a94f03e11 support gcp regional lb sync 2021-11-04 16:59:09 +08:00
Zexi Li
194998499b Merge pull request #12596 from zhaoxiangchun/automated-cherry-pick-of-#12595-upstream-release-3.8
Automated cherry pick of #12595: fix(monitor): monitor alert support:{level} filter
2021-11-04 16:25:12 +08:00
zhaoxiangchun
d435034e6d fix(monitor): add monitor sheild {expired} state 2021-11-04 16:20:21 +08:00
zhaoxiangchun
d51ea4d961 fix(monitor): onecloud notifier send sys when user_ids and robot_ids length == 0 2021-11-04 16:20:21 +08:00
zhaoxiangchun
8381a3f1f2 fix(monitor): monitor alert support:{level} filter 2021-11-04 16:20:21 +08:00
Zexi Li
df141ff513 Merge pull request #12599 from rainzm/automated-cherry-pick-of-#12598-upstream-release-3.8
Automated cherry pick of #12598: fix(notify): init system tenant_id for robot without tenant_id
2021-11-03 22:56:08 +08:00
rainzm
09854f51c3 fix(notify): init system tenant_id for robot without tenant_id 2021-11-03 19:58:54 +08:00
Zexi Li
f0fd038faa Merge pull request #12594 from rainzm/automated-cherry-pick-of-#12593-upstream-release-3.8
Automated cherry pick of #12593: fix(region): avoid syncing when starting or stoping esxi vm
2021-11-03 18:08:38 +08:00
Zexi Li
c9c2c8e478 Merge pull request #12591 from rainzm/automated-cherry-pick-of-#12590-upstream-release-3.8
Automated cherry pick of #12590: fix(esxi): avoid uplink dvpg
2021-11-03 18:07:14 +08:00
rainzm
25a9086f98 fix(region): avoid syncing when starting or stoping esxi vm 2021-11-03 18:02:46 +08:00
Zexi Li
b736a6d483 Merge pull request #12588 from zexi/automated-cherry-pick-of-#12585-upstream-release-3.8
Automated cherry pick of #12585: feat(region,host): implement server change disk storage
2021-11-03 17:14:00 +08:00
rainzm
d3c8315b81 fix(esxi): avoid uplink dvpg 2021-11-03 17:04:41 +08:00
Zexi Li
bad21c8698 feat(region,host): implement server change disk storage 2021-11-03 11:44:54 +08:00
Jian Qiu
f42bce4184 fix: disable MFA by default (#12587) 2021-11-03 01:41:08 +08:00
Zexi Li
a0e31df7be Merge pull request #12562 from swordqiu/automated-cherry-pick-of-#12561-upstream-release-3.8
Automated cherry pick of #12561: fix: delayed probing GPU on host init and add disable_gpu option
2021-11-03 00:00:56 +08:00
Zexi Li
e4e1469114 Merge pull request #12578 from rainzm/automated-cherry-pick-of-#12577-upstream-release-3.8
Automated cherry pick of #12577: fix(region): delete instance snapshot itself after deleting subsnapshots
2021-11-02 23:47:50 +08:00
Zexi Li
982430a025 Merge pull request #12582 from ioito/automated-cherry-pick-of-#12581-upstream-release-3.8
Automated cherry pick of #12581: fix(region): cdn purge
2021-11-02 23:46:34 +08:00
Zexi Li
e1fd572f0e Merge pull request #12584 from rainzm/automated-cherry-pick-of-#12583-upstream-release-3.8
Automated cherry pick of #12583: fix(notify): init ProjectId for robots without ProjectId
2021-11-02 23:45:19 +08:00
rainzm
4938bd8b4f fix(notify): init ProjectId for robots without ProjectId 2021-11-02 20:19:37 +08:00
Qu Xuan
5f5f02ac07 fix(region): cdn purge 2021-11-02 19:26:58 +08:00
rainzm
101502895e fix(region): delete instance snapshot itself after deleting subsnapshots 2021-11-02 10:28:56 +08:00
Zexi Li
8ecd6b5967 Merge pull request #12569 from swordqiu/automated-cherry-pick-of-#12568-upstream-release-3.8
Automated cherry pick of #12568: fix: clean up region data
2021-11-01 20:29:19 +08:00
Zexi Li
e0aaf54316 Merge pull request #12572 from ioito/automated-cherry-pick-of-#12571-upstream-release-3.8
Automated cherry pick of #12571: fix(region): avoid panic when query is nil
2021-11-01 20:28:39 +08:00
Zexi Li
07ea3fa160 Merge pull request #12575 from rainzm/automated-cherry-pick-of-#12574-upstream-release-3.8
Automated cherry pick of #12574: Flag for installing agent
2021-11-01 20:27:25 +08:00
rainzm
d36f8103dd feat(region): add have-agent action for guest 2021-11-01 19:41:54 +08:00
rainzm
15af5feed5 feat(cloudproxy): add purge-forward for proxy endpoint 2021-11-01 19:41:54 +08:00
Qu Xuan
d9165e540e fix(region): avoid panic when query is nil 2021-11-01 16:31:36 +08:00
Zexi Li
3d15d0ffde Merge pull request #12560 from rainzm/automated-cherry-pick-of-#12559-upstream-release-3.8
Automated cherry pick of #12559: fixes for notify
2021-11-01 10:07:34 +08:00
Zexi Li
5bc85cc8a9 Merge pull request #12565 from rainzm/automated-cherry-pick-of-#12564-upstream-release-3.8
Automated cherry pick of #12564: fix(region): init timerQueue correctly
2021-11-01 10:05:53 +08:00
Qiu Jian
5b55749dbd fix: clean up region data 2021-10-30 22:08:10 +08:00
rainzm
0d0c52ddb1 fix(region): init timerQueue correctly 2021-10-30 18:01:34 +08:00
Qiu Jian
d766d5a979 fix: delayed probing GPU on host init and add disable_gpu option 2021-10-30 11:51:45 +08:00
rainzm
2798b9e592 feat(notify): add WebconsoleDisable for topic 2021-10-29 19:35:41 +08:00
rainzm
b67dd5200a fix(notify): init robot project info 2021-10-29 19:35:41 +08:00
Zexi Li
3c7c40e71a Merge pull request #12557 from ioito/automated-cherry-pick-of-#12556-upstream-release-3.8
Automated cherry pick of #12556: fix(region): avoid empty ip addr for vm
2021-10-29 15:22:59 +08:00
Zexi Li
77ed62fbf0 Merge pull request #12555 from ioito/automated-cherry-pick-of-#12554-upstream-release-3.8
Automated cherry pick of #12554: fix(region): filter vpcs by zone
2021-10-29 15:21:17 +08:00
Qu Xuan
8e982788fe fix(region): avoid empty ip addr for vm 2021-10-29 14:55:14 +08:00
Qu Xuan
35cba00416 fix(region): filter vpcs by zone 2021-10-29 14:34:39 +08:00
Zexi Li
58e8f9dd03 Merge pull request #12549 from swordqiu/automated-cherry-pick-of-#12548-upstream-release-3.8
Automated cherry pick of #12548: fix: apigateway request api_server option directly from keystone
2021-10-29 11:08:32 +08:00
Qiu Jian
a663c5ce87 fix: apigateway request api_server option directly from keystone 2021-10-28 23:54:28 +08:00
Zexi Li
6a661d3eae Merge pull request #12547 from ioito/automated-cherry-pick-of-#12546-upstream-release-3.8
Automated cherry pick of #12546: fix(host): cephx closed
2021-10-28 21:01:31 +08:00
Qu Xuan
928bb282ac fix(host): cephx closed 2021-10-28 20:17:10 +08:00
Zexi Li
928e2902a1 Merge pull request #12541 from ioito/automated-cherry-pick-of-#12540-upstream-release-3.8
Automated cherry pick of #12540: fix(host): avoid storage attach not report error
2021-10-28 18:25:51 +08:00
Zexi Li
eeec217220 Merge pull request #12545 from rainzm/automated-cherry-pick-of-#12544-upstream-release-3.8
Automated cherry pick of #12544: fix(notify): be compatible with Chinese when generating names
2021-10-28 18:24:25 +08:00
rainzm
8ab7b49f05 fix(notify): be compatible with Chinese when generating names 2021-10-28 17:12:37 +08:00
Qu Xuan
4c00be06a2 fix(host): avoid storage attach not report error 2021-10-28 17:00:41 +08:00
Zexi Li
06dcc0b6d9 Merge pull request #12536 from ioito/automated-cherry-pick-of-#12535-upstream-release-3.8
Automated cherry pick of #12535: fix(region): validate update
2021-10-28 16:36:39 +08:00
Zexi Li
881f4085ea Merge pull request #12532 from ioito/automated-cherry-pick-of-#12531-upstream-release-3.8
Automated cherry pick of #12531: fix(region): add cdn domain
2021-10-28 10:03:28 +08:00
Zexi Li
37223ce58a Merge pull request #12534 from ioito/automated-cherry-pick-of-#12533-upstream-release-3.8
Automated cherry pick of #12533: Hotfix/qx waf app tags sync
2021-10-28 09:55:35 +08:00
Zexi Li
aa80106b84 Merge pull request #12539 from ioito/automated-cherry-pick-of-#12538-upstream-release-3.8
Automated cherry pick of #12538: fix(apigateway): api_server changed
2021-10-28 09:53:25 +08:00
Qu Xuan
d8f0cc6b4a fix(apigateway): api_server changed 2021-10-27 19:38:27 +08:00
Qu Xuan
57244dcbd0 fix(region): validate update 2021-10-27 17:55:23 +08:00
yunion-ci-robot
6e7d07f47e Merge pull request #12513 from zhaoxiangchun/automated-cherry-pick-of-#12495-upstream-release-3.8
Automated cherry pick of #12495: fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
2021-10-27 17:28:45 +08:00
Qu Xuan
e90f89efa8 fix(region): add waf and app tags sync 2021-10-27 17:04:26 +08:00
Qu Xuan
7756028da0 fix(region): waf and app tags sync 2021-10-27 17:04:26 +08:00
Qu Xuan
fe66a6e907 fix(region): add cdn domain 2021-10-27 15:38:25 +08:00
Zexi Li
7e68d87c60 Merge pull request #12480 from tb365/automated-cherry-pick-of-#12469-upstream-release-3.8
Automated cherry pick of #12469: eip bind aws server fix
2021-10-27 10:00:47 +08:00
Zexi Li
7f1f9e21d8 Merge pull request #12528 from zhaoxiangchun/automated-cherry-pick-of-#12527-upstream-release-3.8
Automated cherry pick of #12527: feat(monitor,cloudmon): add azure rds,redis,lb metric
2021-10-26 19:34:29 +08:00
Zexi Li
b773be0f73 Merge pull request #12519 from tb365/automated-cherry-pick-of-#12517-upstream-release-3.8
Automated cherry pick of #12517: cn-southwest-2 default bgp type 5_sbgp
2021-10-26 19:32:35 +08:00
Zexi Li
777920cd29 Merge pull request #12524 from ioito/automated-cherry-pick-of-#12523-upstream-release-3.8
Automated cherry pick of #12523: fix(region): openstack eip sync
2021-10-26 19:16:08 +08:00
zhaoxiangchun
00cb7fb015 feat(monitor,cloudmon): add azure rds,redis,lb metric
1.支持azure相关资源监控
2021-10-26 17:39:19 +08:00
Qu Xuan
8b1aa2e675 fix(region): openstack eip sync 2021-10-26 15:36:02 +08:00
yunion-ci-robot
3940d23b21 Merge pull request #12522 from rainzm/automated-cherry-pick-of-#12476-upstream-release-3.8
Automated cherry pick of #12476: Webhook/extend
2021-10-26 15:18:45 +08:00
rainzm
c874e90985 feat(notify): configure the new resource and its translation 2021-10-26 14:47:24 +08:00
rainzm
5a71c664d1 feat(region): add some resources to create deleted webhook notifications 2021-10-26 14:47:24 +08:00
rainzm
17aeab6b4e feat(notify): add Action sync_create, sync_update, sync_delete 2021-10-26 14:47:24 +08:00
rainzm
b73d206365 feat(notify): update topic 2021-10-26 14:47:24 +08:00
Zexi Li
722855f8f1 Merge pull request #12521 from zexi/automated-cherry-pick-of-#12520-upstream-release-3.8
Automated cherry pick of #12520: fix(region): cdn generated code
2021-10-26 11:01:57 +08:00
Zexi Li
5f0c1cfd49 fix(region): cdn generated code 2021-10-26 11:01:27 +08:00
tb365
6b115aa28b cn-southwest-2 default bgp type 5_sbgp 2021-10-26 09:30:28 +08:00
Zexi Li
fee8a08fb9 Merge pull request #12511 from zexi/automated-cherry-pick-of-#12510-upstream-release-3.8
Automated cherry pick of #12510: fix(baremetal): TaskWorkerCount options not init
2021-10-25 15:34:55 +08:00
zhaoxiangchun
0a6daca02d fix(cloudcommon): update db_dispatcher set order by to sqlchemy.SQuery
1. 支持对使用了聚合函数的field进行orderby 操作,如:sum(amount) as
   amount
2021-10-25 14:22:15 +08:00
Zexi Li
eafd63ed99 fix(baremetal): TaskWorkerCount options not init 2021-10-25 12:03:55 +08:00
yunion-ci-robot
0c6d7f1534 Merge pull request #12506 from ioito/automated-cherry-pick-of-#12505-upstream-release-3.8
Automated cherry pick of #12505: fix(region): qcloud classic nic and storage sync
2021-10-24 16:57:09 +08:00
Qu Xuan
55db52bc3a fix(region): qcloud classic nic and storage sync 2021-10-22 18:30:52 +08:00
Zexi Li
4365c22e31 Merge pull request #12499 from ioito/automated-cherry-pick-of-#12498-upstream-release-3.8
Automated cherry pick of #12498: fix(region): hide rbd disk secret
2021-10-22 16:50:59 +08:00
Qu Xuan
904f00cc55 fix(region): hide rbd disk secret 2021-10-22 15:38:33 +08:00
Zexi Li
5350c65fdd Merge pull request #12497 from ioito/automated-cherry-pick-of-#12496-upstream-release-3.8
Automated cherry pick of #12496: fix(host): ceph snap delete
2021-10-22 15:26:55 +08:00
Qu Xuan
5be6a18f2b fix(host): ceph snap delete 2021-10-22 15:01:29 +08:00
Zexi Li
798f5e638e Merge pull request #12492 from ioito/automated-cherry-pick-of-#12491-upstream-release-3.8
Automated cherry pick of #12491: fix(region): set storage with snapshot id when change vm disk config
2021-10-22 13:13:09 +08:00
Zexi Li
29cdd2154c Merge pull request #12490 from ioito/automated-cherry-pick-of-#12486-upstream-release-3.8
Automated cherry pick of #12486: fix(host): struct disk create params
2021-10-22 11:51:41 +08:00
Qu Xuan
98a31154e5 fix(region): set storage with snapshot id when change vm disk config 2021-10-22 11:47:04 +08:00
yunion-ci-robot
14431ff1dc Merge pull request #12488 from zexi/automated-cherry-pick-of-#12487-upstream-release-3.8
Automated cherry pick of #12487: fix(host): disk snapshot file locking off
2021-10-22 11:41:16 +08:00
Qu Xuan
00c4490ec8 fix(host): struct disk create params 2021-10-22 11:33:42 +08:00
Zexi Li
c3f37211a2 fix(host): disk snapshot file locking off 2021-10-22 11:21:16 +08:00
Zexi Li
1b741f18fc Merge pull request #12472 from tb365/automated-cherry-pick-of-#12471-upstream-release-3.8
Automated cherry pick of #12471: host count add filters
2021-10-21 20:09:05 +08:00
Zexi Li
de876d1736 Merge pull request #12482 from ioito/automated-cherry-pick-of-#12481-upstream-release-3.8
Automated cherry pick of #12481: fix(host): same mountpoint rbd storage
2021-10-21 17:11:19 +08:00
Qu Xuan
65786781e1 fix(host): same mountpoint rbd storage 2021-10-21 14:36:25 +08:00
tb365
8cc318ac34 eip bind aws server fix 2021-10-21 11:57:29 +08:00
Zexi Li
22a7f0a748 Merge pull request #12479 from zexi/automated-cherry-pick-of-#12477-upstream-release-3.8
Automated cherry pick of #12477: fix(baremetal): rebuild root calculate root disk partitions incorrect
2021-10-21 11:27:53 +08:00
Zexi Li
23bde8e519 fix(baremetal): rebuild root calculate root disk partitions incorrect 2021-10-21 01:07:11 +08:00
tb365
8345f0ab8f host count add filters 2021-10-20 17:29:25 +08:00
Zexi Li
3b5c84f5e0 Merge pull request #12458 from zexi/automated-cherry-pick-of-#12457-upstream-release-3.8
Automated cherry pick of #12457: fix(baremetal): add task_worker_count option
2021-10-19 22:42:09 +08:00
Zexi Li
505303c708 Merge pull request #12461 from ioito/automated-cherry-pick-of-#12460-upstream-release-3.8
Automated cherry pick of #12460: optimized(region): improve img convert speed
2021-10-19 22:38:45 +08:00
Zexi Li
34c96d68ac Merge pull request #12468 from ioito/automated-cherry-pick-of-#12467-upstream-release-3.8
Automated cherry pick of #12467: fix(region): sync cdn domain origins
2021-10-19 22:31:39 +08:00
Zexi Li
68b341561c Merge pull request #12465 from swordqiu/automated-cherry-pick-of-#12464-upstream-release-3.8
Automated cherry pick of #12464: fix: glance depends s3fs
2021-10-19 22:29:53 +08:00
Qu Xuan
bd1cb2fc1d fix(region): sync cdn domain origins 2021-10-19 16:11:24 +08:00
Qiu Jian
69d66eef67 fix: glance depends s3fs 2021-10-19 12:30:06 +08:00
Qu Xuan
0a140753be optimized(region): improve img convert speed 2021-10-19 10:56:21 +08:00
Zexi Li
fe54f42735 fix(baremetal): add task_worker_count option 2021-10-18 22:43:44 +08:00
Zexi Li
1e53b7a995 Merge pull request #12456 from ioito/automated-cherry-pick-of-#12455-upstream-release-3.8
Automated cherry pick of #12455: fix(region): tag list for natgateways
2021-10-18 22:16:39 +08:00
Qu Xuan
40a9c4723f fix(region): tag list for natgateways 2021-10-18 19:05:55 +08:00
Zexi Li
b880951a01 Merge pull request #12349 from tb365/automated-cherry-pick-of-#12347-upstream-release-3.8
Automated cherry pick of #12347: ctyun api updates
2021-10-18 18:20:03 +08:00
Zexi Li
a0c176936e Merge pull request #12453 from ioito/automated-cherry-pick-of-#12452-upstream-release-3.8
Automated cherry pick of #12452: fix(region): capacities overflow with azure
2021-10-18 17:20:38 +08:00
Zexi Li
09c02afdac Merge pull request #12439 from ioito/automated-cherry-pick-of-#12438-upstream-release-3.8
Automated cherry pick of #12438: fix(region): allow account sync when auto sync enabled
2021-10-18 17:20:12 +08:00
Qu Xuan
3acb2469a7 fix(region): capacities overflow with azure 2021-10-18 16:13:48 +08:00
Zexi Li
6ab9b68ab5 Merge pull request #12448 from swordqiu/automated-cherry-pick-of-#12447-upstream-release-3.8
Automated cherry pick of #12447: feature: support PhoenixOS guest
2021-10-18 15:22:34 +08:00
Zexi Li
9ba603e29b Merge pull request #12450 from swordqiu/automated-cherry-pick-of-#12449-upstream-release-3.8
Automated cherry pick of #12449: fix: update server vdi and vga with correlation
2021-10-18 15:15:44 +08:00
Zexi Li
0a4f530d4b Merge pull request #12445 from swordqiu/automated-cherry-pick-of-#12444-upstream-release-3.8
Automated cherry pick of #12444: fix: glance use multicloud objectstorage client to manipulate objectstorage
2021-10-18 15:14:29 +08:00
Qiu Jian
ed3bd14773 fix: update server vdi and vga with correlation 2021-10-17 22:11:31 +08:00
Qiu Jian
bd40d802ec feature: support PhoenixOS guest 2021-10-17 04:21:29 +08:00
Qiu Jian
ea8f261ed6 fix: remove s3fs client from docker image 2021-10-17 02:53:28 +08:00
Qiu Jian
86817febe1 fix: make minio endpoint compatible with multicloud objectstorage 2021-10-17 02:53:28 +08:00
Qiu Jian
8f1d9998f1 fix: glance use multicloud objectstorage client to manipulate objectstorage 2021-10-17 02:53:28 +08:00
Qu Xuan
3026b2d73c fix(region): allow account sync when auto sync enabled 2021-10-15 14:35:34 +08:00
Zexi Li
5ea09eea51 Merge pull request #12420 from ioito/automated-cherry-pick-of-#12412-upstream-release-3.8
Automated cherry pick of #12412: fix(host): xfs unlock
2021-10-15 09:46:33 +08:00
Zexi Li
bbb91f39d9 Merge pull request #12424 from ioito/automated-cherry-pick-of-#12423-upstream-release-3.8
Automated cherry pick of #12423: fix(region): google rds tags sync
2021-10-15 09:45:34 +08:00
Zexi Li
a7bf1fc8c6 Merge pull request #12427 from rainzm/automated-cherry-pick-of-#12426-upstream-release-3.8
Automated cherry pick of #12426: fix(region): wait all goroutine finished when execute scheduled_tasks
2021-10-15 09:38:52 +08:00
Zexi Li
63b97fbad0 Merge pull request #12430 from rainzm/automated-cherry-pick-of-#12429-upstream-release-3.8
Automated cherry pick of #12429: fix(notify): robot ListItemFilter
2021-10-15 09:37:42 +08:00
Zexi Li
a0bd95fabb Merge pull request #12435 from swordqiu/automated-cherry-pick-of-#12434-upstream-release-3.8
Automated cherry pick of #12434: feature: add global mac prefix option
2021-10-15 09:37:04 +08:00
Zexi Li
f87e5c4004 Merge pull request #12433 from swordqiu/automated-cherry-pick-of-#12432-upstream-release-3.8
Automated cherry pick of #12432: fix: set qemu cpu sockets to 2 for x86 cpu
2021-10-15 09:36:24 +08:00
Qiu Jian
155f9620c6 feature: add global mac prefix option 2021-10-15 01:08:12 +08:00
Qiu Jian
48d45592e4 fix: set qemu cpu sockets to 2 for x86 cpu 2021-10-14 23:27:05 +08:00
rainzm
5ebb30ed83 fix(notify): robot ListItemFilter 2021-10-14 17:06:09 +08:00
rainzm
a09dccf981 fix(region): wait all goroutine finished when execute scheduled_tasks 2021-10-14 16:03:44 +08:00
Qu Xuan
7d49c48eff fix(region): google rds tags sync 2021-10-14 15:23:27 +08:00
Qu Xuan
9407ff7397 fix(host): xfs unlock 2021-10-14 14:32:19 +08:00
Zexi Li
7cc3a98825 Merge pull request #12399 from ioito/automated-cherry-pick-of-#12398-upstream-release-3.8
Automated cherry pick of #12398: Hotfix/qx nat cdn tags
2021-10-14 12:45:14 +08:00
Zexi Li
cea2968b04 Merge pull request #12405 from rainzm/automated-cherry-pick-of-#12403-upstream-release-3.8
Automated cherry pick of #12403: fix(devtool): change agent install metadata key
2021-10-14 12:44:43 +08:00
Zexi Li
b2b21f8095 Merge pull request #12408 from rainzm/automated-cherry-pick-of-#12407-upstream-release-3.8
Automated cherry pick of #12407: Fix changing of subscribers
2021-10-14 12:42:30 +08:00
Zexi Li
e4280eaa48 Merge pull request #12411 from rainzm/automated-cherry-pick-of-#12410-upstream-release-3.8
Automated cherry pick of #12410: fix(climc): set param 'enable' as *bool
2021-10-14 12:07:40 +08:00
Zexi Li
c6e291b425 Merge pull request #12414 from rainzm/automated-cherry-pick-of-#12413-upstream-release-3.8
Automated cherry pick of #12413: fix(notify): modify resource list of topic
2021-10-14 12:06:05 +08:00
Zexi Li
140898a2f8 Merge pull request #12416 from swordqiu/automated-cherry-pick-of-#12415-upstream-release-3.8
Automated cherry pick of #12415: fix: enable disabled select user for windows (especially for windows 10)
2021-10-14 12:05:24 +08:00
Zexi Li
32b3d831b6 Merge pull request #12397 from tb365/automated-cherry-pick-of-#12396-upstream-release-3.8
Automated cherry pick of #12396: batch add user add displayname
2021-10-14 11:15:11 +08:00
Qiu Jian
b974842932 fix: enable disabled select user for windows (especially for windows 10) 2021-10-14 00:37:44 +08:00
rainzm
30875951e1 fix(notify): modify resource list of topic 2021-10-13 19:57:28 +08:00
rainzm
c6fd3d5dbd fix(climc): set param 'enable' as *bool 2021-10-13 18:44:44 +08:00
rainzm
5414541ce5 fix(notify): support modify rolescope when change subscriber 2021-10-13 16:51:43 +08:00
rainzm
8b889fc561 fix(notify): use roleCache to display role info 2021-10-13 16:51:43 +08:00
rainzm
3ce447c35e fix(notify): SetModelManager to delete successfully 2021-10-13 16:51:43 +08:00
Qu Xuan
9a2e197c43 fix(region): cdn nat tags sync 2021-10-13 12:01:45 +08:00
Qu Xuan
dc27b93775 fix(region): sync nat and cnd tags 2021-10-13 12:01:45 +08:00
rainzm
2a49b7903b fix(devtool): change agent install metadata key
The tag beginning with sys will be overwritten by the cloud
2021-10-13 11:45:38 +08:00
Zexi Li
272e4173c2 Merge pull request #12402 from rainzm/automated-cherry-pick-of-#12401-upstream-release-3.8
Automated cherry pick of #12401: feat(cloudproxy): support generateName for createFromServer
2021-10-13 10:02:44 +08:00
rainzm
ac674553ee feat(cloudproxy): support generateName for createFromServer 2021-10-12 20:33:56 +08:00
Zexi Li
d7078cd1d6 Merge pull request #12395 from rainzm/automated-cherry-pick-of-#12394-upstream-release-3.8
Automated cherry pick of #12394: Notify fixes
2021-10-12 19:57:13 +08:00
Zexi Li
2c34090015 Merge pull request #12392 from ioito/automated-cherry-pick-of-#12391-upstream-release-3.8
Automated cherry pick of #12391: fix(region): aliyun rds tags sync
2021-10-12 19:55:58 +08:00
rainzm
b5d55c7ebc fix: change errors package 2021-10-12 18:09:56 +08:00
rainzm
62189913f1 fix(notify): modify 'dingtalk-robot' to 'workwx-robot' 2021-10-12 18:09:56 +08:00
rainzm
05e19381d8 fix(notify): remove "已经" in templ 2021-10-12 18:09:56 +08:00
rainzm
ae98388b8a fix(notify): add PENDING_DELETE tmpl 2021-10-12 18:09:56 +08:00
rainzm
da1fc9e8f3 fix(notify): get the receivers that need to be added and deleted correctly 2021-10-12 18:09:56 +08:00
Qu Xuan
ee3df76aa3 fix(region): aliyun rds tags sync 2021-10-12 18:04:59 +08:00
tb365
7ce28e78fd batch add user add displayname 2021-10-12 17:41:56 +08:00
Zexi Li
436b809249 Merge pull request #12390 from zexi/automated-cherry-pick-of-#12226-upstream-release-3.8
Automated cherry pick of #12226: [WIP] fix(baremetal): avoid redfish resp nil cause panic
2021-10-12 11:47:03 +08:00
Zexi Li
d894992e29 fix(baremetal): avoid redfish resp nil cause panic 2021-10-12 11:33:31 +08:00
Zexi Li
c0db3ead14 Merge pull request #12388 from ioito/automated-cherry-pick-of-#12387-upstream-release-3.8
Automated cherry pick of #12387: fix(region): support tag sync for mongodb
2021-10-11 19:18:23 +08:00
Qu Xuan
91dbb1b64e fix(region): support tag sync for mongodb 2021-10-11 17:12:31 +08:00
Zexi Li
7f52cc5ec0 Merge pull request #12385 from zexi/automated-cherry-pick-of-#12384-upstream-release-3.8
Automated cherry pick of #12384: fix(glance): s3 uploaded image removed
2021-10-11 15:02:39 +08:00
Zexi Li
213637679e Merge pull request #12382 from rainzm/automated-cherry-pick-of-#12381-upstream-release-3.8
Automated cherry pick of #12381: fix(devtool): creates a forward using the specified address
2021-10-11 12:45:19 +08:00
Zexi Li
02dc737ccd fix(glance): s3 uploaded image removed 2021-10-11 12:43:35 +08:00
rainzm
627e97b73a fix(devtool): creates a forward using the specified address 2021-10-11 10:55:49 +08:00
屈轩
3d8a727eb8 fix(glance): remove image clean (#12376)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:03:54 +08:00
屈轩
49366c5174 fix(host): show disk details error (#12375)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2021-10-10 12:03:41 +08:00
Zexi Li
a50782ab52 fix(climc): host-ssh use privateKey when ciphertext too short (#12371) 2021-10-10 12:02:35 +08:00
Zexi Li
974dd220e8 Merge pull request #12379 from zexi/automated-cherry-pick-of-#12378-upstream-release-3.8
Automated cherry pick of #12378: fix(monitor): use swagger ignore comment out structs
2021-10-09 21:46:56 +08:00
Zexi Li
bf99c1d824 fix(monitor): use swagger ignore comment out structs 2021-10-09 21:15:21 +08:00
Zexi Li
678626ff3a Merge pull request #12365 from ioito/automated-cherry-pick-of-#12364-upstream-release-3.8
Automated cherry pick of #12364: fix(region): fix cloudpods scheduler error
2021-10-09 09:17:06 +08:00
Zexi Li
8b6791b908 Merge pull request #12367 from zhaoxiangchun/automated-cherry-pick-of-#12366-upstream-release-3.8
Automated cherry pick of #12366: fix(monitor): alert record details add trigger_time field
2021-10-09 09:15:52 +08:00
Zexi Li
78b5b0a94c Merge pull request #12369 from rainzm/automated-cherry-pick-of-#12368-upstream-release-3.8
Automated cherry pick of #12368: Fixes for Notify Subscribers
2021-10-09 09:15:25 +08:00
rainzm
cb264e7d1a fix(notify): update mobile where appropriate 2021-10-08 21:26:47 +08:00
rainzm
6fb58e8c63 fix(notify): modify the width of ReceiverId 2021-10-08 21:26:47 +08:00
rainzm
4c12de8eea fix(notify): add default policy for subscribers 2021-10-08 21:26:47 +08:00
zhaoxiangchun
e55aa144fa fix(monitor): alert record details add trigger_time field 2021-10-08 17:13:01 +08:00
Qu Xuan
a55732b782 fix(region): fix cloudpods scheduler error 2021-10-08 15:16:41 +08:00
Zexi Li
128ea60569 Merge pull request #12363 from ioito/automated-cherry-pick-of-#12362-upstream-release-3.8
Automated cherry pick of #12362: fix(region): sync resource by capability with read only
2021-10-08 12:08:25 +08:00
Qu Xuan
0988bf1578 fix(region): sync resource by capability with read only 2021-10-08 11:48:04 +08:00
Zexi Li
42612205fd Merge pull request #12361 from tb365/automated-cherry-pick-of-#12359-upstream-release-3.8
Automated cherry pick of #12359: kvm lb update lb listener redirect code fix
2021-10-08 10:13:53 +08:00
Zexi Li
de48910c63 Merge pull request #12354 from swordqiu/automated-cherry-pick-of-#12353-upstream-release-3.8
Automated cherry pick of #12353: fix: webconsole close socket when read on error
2021-10-08 10:12:29 +08:00
tangbin
c80945338e kvm lb update lb listener redirect code fix 2021-10-08 09:42:58 +08:00
yunion-ci-robot
96973b15bd Merge pull request #12356 from zexi/automated-cherry-pick-of-#12355-upstream-release-3.8
Automated cherry pick of #12355: fix(baremetal): change cat path
2021-10-06 20:53:42 +08:00
Zexi Li
04521a1548 fix(baremetal): change cat path 2021-10-05 21:35:38 +08:00
Qiu Jian
9025a56617 fix: webconsole close socket when read on error 2021-10-03 10:52:34 +08:00
yunion-ci-robot
973ebbf9f3 Merge pull request #12351 from ioito/automated-cherry-pick-of-#12350-upstream-release-3.8
Automated cherry pick of #12350: fix(region): network brand
2021-10-01 12:54:38 +08:00
Qu Xuan
c53164e430 fix(region): network brand 2021-10-01 11:53:42 +08:00
tb365
0ac263dee1 ctyun api updates 2021-09-30 15:45:17 +08:00
Zexi Li
95aaa66c76 Merge pull request #12331 from ioito/automated-cherry-pick-of-#12317-upstream-release-3.8
Automated cherry pick of #12317: fix(region): read only capability
2021-09-30 10:09:43 +08:00
Zexi Li
1e2773bd18 Merge pull request #12344 from ioito/automated-cherry-pick-of-#12343-upstream-release-3.8
Automated cherry pick of #12343: fix(host): show error for online resize
2021-09-30 09:49:02 +08:00
Qu Xuan
e6ba4a1dc7 fix(host): show error for online resize 2021-09-29 20:30:06 +08:00
Zexi Li
e5afb63551 Merge pull request #12336 from zexi/automated-cherry-pick-of-#12335-upstream-release-3.8
Automated cherry pick of #12335: fix(baremetal): adjust adaptec raid logical volume order
2021-09-29 17:36:18 +08:00
Zexi Li
ced94cfb66 Merge pull request #12342 from zhaoxiangchun/automated-cherry-pick-of-#12341-upstream-release-3.8
Automated cherry pick of #12341: fix(monitor): update usage query param and alert record query support tigger_time
2021-09-29 17:27:19 +08:00
zhaoxiangchun
628244f7b9 fix(monitor): update usage query param and alert record query support tigger_time 2021-09-29 15:52:27 +08:00
Zexi Li
7033974ab4 Merge pull request #12339 from rainzm/automated-cherry-pick-of-#12316-upstream-release-3.8
Automated cherry pick of #12316: Notify Bug Fixes
2021-09-29 14:52:00 +08:00
Zexi Li
cb733ded80 Merge pull request #12340 from rainzm/automated-cherry-pick-of-#12325-upstream-release-3.8
Automated cherry pick of #12325: fix(region): avoid duplicate playbook names
2021-09-29 14:21:12 +08:00
rainzm
658d734ec4 fix(region): avoid duplicate playbook names 2021-09-29 14:17:12 +08:00
rainzm
2f3e6f80a7 fix(notify): optimization of message template 2021-09-29 14:13:19 +08:00
rainzm
c4b5f59e11 fix(notify): add connect info in EXPIRED_RELEASE template 2021-09-29 14:13:18 +08:00
rainzm
5a5cca4110 fix(notify): remove disk in 'update' topic 2021-09-29 14:13:18 +08:00
rainzm
5f8c36b407 fix(notify): solve the permission problem of subscriber 2021-09-29 14:13:18 +08:00
rainzm
a62ac5fb30 fix(notify): allow list and get topics for all 2021-09-29 14:13:18 +08:00
rainzm
9694075bee fix(notify): correctly use tenant cache to query domain 2021-09-29 14:13:18 +08:00
rainzm
4e84ace30a fix(notify): check for duplicate subscribers when creating 2021-09-29 14:13:18 +08:00
rainzm
e96dbaba60 fix(notify): update database when change subscriber's identification 2021-09-29 14:13:18 +08:00
rainzm
05d7a87c1b fix(cloudcommon): set Priority as normal when calling EventNotify 2021-09-29 14:13:18 +08:00
rainzm
d94ddc43a4 fix(notify): repull subcontact correctly when creating or deleting config 2021-09-29 14:13:18 +08:00
rainzm
57d3e37c08 fix(notify): modify NotifyRobotWithCtx 2021-09-29 14:13:18 +08:00
rainzm
ce7dd991d2 fix(notify): change the delivery format of config and eliminate some redundant steps of sending messages 2021-09-29 14:13:18 +08:00
Zexi Li
6364389877 fix(baremetal): adjust adaptec raid logical volume order 2021-09-29 12:16:12 +08:00
Zexi Li
3c2f99313b Merge pull request #12334 from zhaoxiangchun/automated-cherry-pick-of-#12333-upstream-release-3.8
Automated cherry pick of #12333: fix(monitor): shield list support alert_name and res_name like query
2021-09-29 11:29:18 +08:00
Zexi Li
e91bc4e8fb Merge pull request #12332 from ioito/automated-cherry-pick-of-#12104-upstream-release-3.8
Automated cherry pick of #12104: fix(region): optimized vm disk sync
2021-09-29 11:28:48 +08:00
zhaoxiangchun
946a0395ad fix(monitor): shield list support alert_name and res_name like query 2021-09-28 20:41:22 +08:00
Qu Xuan
dea562a733 fix(region): optimized vm disk sync 2021-09-28 20:10:53 +08:00
Qu Xuan
a552c3ff85 fix(region): read only capability 2021-09-28 20:10:05 +08:00
Zexi Li
cc5d7713e4 Merge pull request #12329 from ioito/automated-cherry-pick-of-#12328-upstream-release-3.8
Automated cherry pick of #12328: fix(region): optimized dns zone sync
2021-09-28 19:56:10 +08:00
Qu Xuan
a94b00604d fix(region): optimized dns zone sync 2021-09-28 19:32:49 +08:00
Zexi Li
3d5361bee1 Merge pull request #12323 from ioito/automated-cherry-pick-of-#12322-upstream-release-3.8
Automated cherry pick of #12322: fix(region): support query for project domain statistic
2021-09-28 17:58:46 +08:00
Zexi Li
8c44e4e3e9 Merge pull request #12321 from ioito/automated-cherry-pick-of-#12320-upstream-release-3.8
Automated cherry pick of #12320: fix(region): set google vm running after start
2021-09-28 17:58:28 +08:00
Zexi Li
d46f44ccc1 Merge pull request #12319 from zhaoxiangchun/automated-cherry-pick-of-#12318-upstream-release-3.8
Automated cherry pick of #12318: feat(cloudmon): usage add domain.servers and project.servers statistic
2021-09-28 17:57:48 +08:00
Qu Xuan
3f06837b92 fix(region): support query for project domain statistic 2021-09-27 17:10:47 +08:00
Qu Xuan
2c6aa4fb09 fix(region): set google vm running after start 2021-09-27 16:52:10 +08:00
zhaoxiangchun
7835d0521b feat(cloudmon): usage add domain.servers and project.servers statistic 2021-09-27 15:16:07 +08:00
Zexi Li
a43a3dc4bc Merge pull request #12308 from zhaoxiangchun/automated-cherry-pick-of-#12307-upstream-release-3.8
Automated cherry pick of #12307: fix(monitor): monitor alert support multi robot
2021-09-27 00:43:43 +08:00
Zexi Li
99fb78de35 Merge pull request #12306 from ioito/automated-cherry-pick-of-#12301-upstream-release-3.8
Automated cherry pick of #12301: fix(region): usage for domain isolated dev
2021-09-27 00:42:43 +08:00
Zexi Li
e7d67a41f5 Merge pull request #12303 from ioito/automated-cherry-pick-of-#12302-upstream-release-3.8
Automated cherry pick of #12302: fix(region): aliyun rds billing type
2021-09-26 20:10:58 +08:00
Zexi Li
5f1d1f748f Merge pull request #12312 from swordqiu/automated-cherry-pick-of-#12311-upstream-release-3.8
Automated cherry pick of #12311: fix: host add disable_kvm option
2021-09-26 20:09:54 +08:00
Zexi Li
8189fdb496 Merge pull request #12315 from zhaoxiangchun/automated-cherry-pick-of-#12314-upstream-release-3.8
Automated cherry pick of #12314: fix(monitor): monitor shield fix
2021-09-26 20:09:12 +08:00
zhaoxiangchun
609db4298d fix(monitor): monitor shield fix
1.支持resName过滤
2.告警屏蔽默认屏蔽时间为100year
2021-09-26 19:24:54 +08:00
yunion-ci-robot
09f31ce467 Merge pull request #12310 from tb365/automated-cherry-pick-of-#12309-upstream-release-3.8
Automated cherry pick of #12309: climc update: google account update
2021-09-26 17:40:34 +08:00
Qiu Jian
7cad0e5ee6 fix: host add disable_kvm option 2021-09-26 17:36:25 +08:00
tb365
d5355f21bb climc update: google account update 2021-09-26 17:27:56 +08:00
yunion-ci-robot
e9f6a90bc5 Merge pull request #12300 from zexi/automated-cherry-pick-of-#12241-upstream-release-3.8
Automated cherry pick of #12241: feat(baremetal): adaptec raid driver
2021-09-26 17:21:35 +08:00
zhaoxiangchun
b281ab8543 fix(monitor): monitor alert support multi robot
1. 机器人下放到域后监控报警支持
2021-09-26 16:36:24 +08:00
Qu Xuan
60b333bd1f fix(region): usage for domain isolated dev 2021-09-26 15:58:29 +08:00
Qu Xuan
b3093fbfd6 fix(region): aliyun rds billing type 2021-09-26 15:55:50 +08:00
Zexi Li
f8822c745a feat(baremetal): adaptec raid driver 2021-09-26 11:45:02 +08:00
Zexi Li
4c3adeb328 Merge pull request #12292 from zhaoxiangchun/automated-cherry-pick-of-#12291-upstream-release-3.8
Automated cherry pick of #12291: fix(monitor): project view hide cloudaccount resource
2021-09-26 10:06:10 +08:00
Zexi Li
25c473a435 Merge pull request #12266 from ioito/automated-cherry-pick-of-#12259-upstream-release-3.8
Automated cherry pick of #12259: fix(region): optimized validate delete condition query
2021-09-26 10:03:24 +08:00
Zexi Li
d65471ec41 Merge pull request #12294 from ioito/automated-cherry-pick-of-#12293-upstream-release-3.8
Automated cherry pick of #12293: fix(region): add project and domain statistic
2021-09-26 09:57:52 +08:00
Zexi Li
8961bf4968 Merge pull request #12296 from swordqiu/automated-cherry-pick-of-#12295-upstream-release-3.8
Automated cherry pick of #12295: fix: clean openvswitch config files when save images
2021-09-26 09:56:54 +08:00
Qiu Jian
157921f5c4 fix: clean openvswitch config files when save images 2021-09-24 22:01:17 +08:00
Qu Xuan
cd65b9498b fix(region): add project and domain statistic 2021-09-24 18:59:59 +08:00
zhaoxiangchun
f850e179f2 fix(monitor): project view hide cloudaccount resource 2021-09-24 17:57:33 +08:00
Zexi Li
cf7c8fb03f Merge pull request #12279 from ioito/automated-cherry-pick-of-#12278-upstream-release-3.8
Automated cherry pick of #12278: fix(region): google vm mac addr
2021-09-24 15:25:29 +08:00
Zexi Li
ace44f9490 Merge pull request #12276 from ioito/automated-cherry-pick-of-#12275-upstream-release-3.8
Automated cherry pick of #12275: fix(region): sync aws rds mem size
2021-09-24 15:25:06 +08:00
Zexi Li
72f6412f6c Merge pull request #12282 from swordqiu/automated-cherry-pick-of-#12281-upstream-release-3.8
Automated cherry pick of #12281: fix: disable password expiration for cloudroot
2021-09-24 15:24:11 +08:00
Zexi Li
1eeb11be87 Merge pull request #12286 from ioito/automated-cherry-pick-of-#12285-upstream-release-3.8
Automated cherry pick of #12285: fix(region): export field duplicate vpc
2021-09-24 15:23:20 +08:00
Zexi Li
acab975d94 Merge pull request #12274 from zhaoxiangchun/automated-cherry-pick-of-#12272-upstream-release-3.8
Automated cherry pick of #12272: fix(monitor): fix cloudaccount monitor query return field err
2021-09-24 10:28:12 +08:00
Qu Xuan
b2c52fd1fe fix(region): export field duplicate vpc 2021-09-24 10:00:21 +08:00
Qiu Jian
e6975a6474 fix: disable password expiration for cloudroot 2021-09-24 01:27:30 +08:00
yunion-ci-robot
7c1d16cc63 Merge pull request #12270 from zexi/automated-cherry-pick-of-#12268-upstream-release-3.8
Automated cherry pick of #12268: fix(host): disable usb-kbd for windows 10
2021-09-24 00:28:40 +08:00
Qu Xuan
17c6698073 fix(region): google vm mac addr 2021-09-23 20:28:54 +08:00
Qu Xuan
ea4f290f8c fix(region): sync aws rds mem size 2021-09-23 20:06:11 +08:00
zhaoxiangchun
c5e8ff9b39 fix(monitor): fix alert record shield
1. 修复报警屏蔽列表不显示时间的问题
2. 未恢复报警增加报警策略名称字段
2021-09-23 18:09:37 +08:00
zhaoxiangchun
10ad4c32dc fix(monitor): fix cloudaccount monitor query return field err 2021-09-23 18:09:37 +08:00
Zexi Li
625d7ef304 fix(host): disable usb-kbd for windows 10 2021-09-23 15:11:51 +08:00
Qu Xuan
f68567e28c fix(region): optimized validate delete condition query 2021-09-23 10:00:05 +08:00
Zexi Li
a368985923 Merge pull request #12260 from swordqiu/automated-cherry-pick-of-#12258-upstream-release-3.8
Automated cherry pick of #12258: fix: verify token with expired_at field instead of depending on options.TokenExpirationSeconds
2021-09-23 09:37:54 +08:00
Zexi Li
a12e235fe3 Merge pull request #12264 from ioito/automated-cherry-pick-of-#12263-upstream-release-3.8
Automated cherry pick of #12263: fix(region): external project support domain sync
2021-09-23 09:36:16 +08:00
Qu Xuan
27ec4567cc fix(region): external project support domain sync 2021-09-22 23:11:08 +08:00
Qiu Jian
020092cc4d fix: verify token with expired_at field instead of options.TokenExpirationSeconds 2021-09-22 15:35:21 +08:00
Zexi Li
d64f80ddc8 Merge pull request #12244 from rainzm/automated-cherry-pick-of-#12243-upstream-release-3.8
Automated cherry pick of #12243: fix(region): consider the network of the entire VPC when merging networks
2021-09-22 11:57:27 +08:00
Zexi Li
cee3246346 Merge pull request #12223 from zexi/automated-cherry-pick-of-#12222-upstream-release-3.8
Automated cherry pick of #12222: fix(scheduler): cpu arch match
2021-09-22 11:56:21 +08:00
Zexi Li
7da7ffcb7a Merge pull request #12257 from ioito/automated-cherry-pick-of-#12253-upstream-release-3.8
Automated cherry pick of #12253: fix(region): optimzed network query
2021-09-22 11:30:14 +08:00
Zexi Li
22e2896afc fix(scheduler): cpu arch match 2021-09-22 11:14:06 +08:00
Qu Xuan
c63ed9093b fix(region): optimzed network query 2021-09-18 18:58:31 +08:00
Zexi Li
9f4fc77bd2 Merge pull request #12237 from rainzm/automated-cherry-pick-of-#12236-upstream-release-3.8
Automated cherry pick of #12236: fix: ensure the success of vgrenam
2021-09-18 16:36:36 +08:00
Zexi Li
8702653395 Merge pull request #12255 from ioito/automated-cherry-pick-of-#12254-upstream-release-3.8
Automated cherry pick of #12254: fix(host): ceph snap delete
2021-09-18 16:31:05 +08:00
Qu Xuan
44d738a0b8 fix(host): ceph snap delete 2021-09-18 14:19:43 +08:00
Zexi Li
032353b0cc Merge pull request #12234 from zexi/automated-cherry-pick-of-#12227-upstream-release-3.8
Automated cherry pick of #12227: feat(climc): SSH login of a host by private key
2021-09-17 16:53:15 +08:00
Zexi Li
a6a2e4c288 Merge pull request #12242 from ioito/automated-cherry-pick-of-#12240-upstream-release-3.8
Automated cherry pick of #12240: fix(hostman): rbd command
2021-09-17 16:52:07 +08:00
Zexi Li
0f67656287 Merge pull request #12251 from ioito/automated-cherry-pick-of-#12250-upstream-release-3.8
Automated cherry pick of #12250: fix(region): get region driver
2021-09-17 16:48:14 +08:00
Zexi Li
5ad7bbf61c Merge pull request #12248 from ioito/automated-cherry-pick-of-#12247-upstream-release-3.8
Automated cherry pick of #12247: fix(scheduler): openstack scheduler options
2021-09-17 16:34:27 +08:00
Qu Xuan
22dbb38ff5 fix(region): get region driver 2021-09-17 16:28:11 +08:00
Qu Xuan
420c1968dc fix(scheduler): openstack scheduler options 2021-09-17 16:08:10 +08:00
rainzm
07f482da0f fix(region): consider the network of the entire VPC when merging networks 2021-09-17 14:54:33 +08:00
Qu Xuan
dbee3ec258 fix(hostman): rbd command 2021-09-17 14:20:32 +08:00
Zexi Li
aab33d1355 Merge pull request #12238 from ioito/automated-cherry-pick-of-#12213-upstream-release-3.8
Automated cherry pick of #12213: fix(cloudmon): batch send data
2021-09-17 09:34:52 +08:00
Qu Xuan
8e495f1589 fix(cloudmon): batch send data 2021-09-16 19:41:22 +08:00
rainzm
67513c50c8 fix(host-deployer): ensure the success of vgrenam 2021-09-16 17:49:09 +08:00
rainzm
95abcef299 feat(host-deployer): try again if the partition cannot be found 2021-09-16 17:49:09 +08:00
Stargic
1c2472ae87 feat(climc): SSH login of a host by private key 2021-09-16 15:13:00 +08:00
Zexi Li
ce3e4ac385 Merge pull request #12220 from ioito/automated-cherry-pick-of-#12219-upstream-release-3.8
Automated cherry pick of #12219: fix(region): disk choice master host with os arch
2021-09-15 22:32:30 +08:00
Zexi Li
5e787456b7 Merge pull request #12229 from swordqiu/automated-cherry-pick-of-#12228-upstream-release-3.8
Automated cherry pick of #12228: fix: climc event-show filter by resource name
2021-09-15 22:17:27 +08:00
yunion-ci-robot
5a55a17967 Merge pull request #12231 from zexi/automated-cherry-pick-of-#12230-upstream-release-3.8
Automated cherry pick of #12230: fix(baremetal): parse mptsas duplicated devices
2021-09-15 21:57:34 +08:00
Zexi Li
c1a03c16b3 fix(baremetal): parse mptsas duplicated devices 2021-09-15 21:19:19 +08:00
Qiu Jian
1fc6c8b42e fix: climc event-show filter by resource name 2021-09-15 20:43:34 +08:00
Qu Xuan
a51b977953 fix(region): disk choice master host with os arch 2021-09-15 12:17:33 +08:00
Zexi Li
b6fc27d64f Merge pull request #12215 from zhaoxiangchun/automated-cherry-pick-of-#12214-upstream-release-3.8
Automated cherry pick of #12214: fix(cloudmon): Azure metric pull support metric interval
2021-09-15 10:02:40 +08:00
Zexi Li
aa2445d1c4 Merge pull request #12218 from zexi/automated-cherry-pick-of-#12202-upstream-release-3.8
Automated cherry pick of #12202: feat(climc): SSH Login with cloudroot (add new parameter --use-cloudroot in server-ssh)
2021-09-15 09:41:55 +08:00
Zexi Li
80670214be Merge pull request #12207 from swordqiu/automated-cherry-pick-of-#12206-upstream-release-3.8
Automated cherry pick of #12206: fix: AWS asume role with optional name
2021-09-15 01:15:14 +08:00
Stargic
76c9d8a5ae 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-15 01:14:12 +08:00
zhaoxiangchun
5fd3aebbb1 fix(cloudmon): Azure metric pull support metric interval 2021-09-14 19:32:39 +08:00
Zexi Li
04d533138f Merge pull request #12212 from zexi/automated-cherry-pick-of-#12166-upstream-release-3.8
Automated cherry pick of #12166: feat(region): add cloudcache for dnszone and secgroup details
2021-09-14 16:22:27 +08:00
rainzm
7547142600 feat(region): add cloudcache for dnszone and secgroup details 2021-09-14 16:21:00 +08:00
Zexi Li
7166a100ec Merge pull request #12200 from ioito/automated-cherry-pick-of-#12199-upstream-release-3.8
Automated cherry pick of #12199: fix(region): apsara metric data
2021-09-14 16:17:56 +08:00
Zexi Li
3ff4d65300 Merge pull request #12211 from tb365/automated-cherry-pick-of-#12209-upstream-release-3.8
Automated cherry pick of #12209: fix(region): change aws disk iops
2021-09-14 16:16:31 +08:00
tb365
b61399f12e fix(region): change aws disk iops 2021-09-14 16:03:14 +08:00
Qu Xuan
1d4565807f fix(region): apsara metric data 2021-09-14 11:35:38 +08:00
Qiu Jian
5b232c2ff2 fix: AWS asume role with optional name 2021-09-14 00:50:28 +08:00
yunion-ci-robot
281698906d Merge pull request #12204 from zexi/automated-cherry-pick-of-#12203-upstream-release-3.8
Automated cherry pick of #12203: feat(cloudmon): support classic vm metrics
2021-09-13 23:01:29 +08:00
Zexi Li
c25535d21b feat(cloudmon): support classic vm metrics 2021-09-13 22:33:57 +08:00
Zexi Li
cb0d0b68b2 Merge pull request #12198 from tb365/automated-cherry-pick-of-#12196-upstream-release-3.8
Automated cherry pick of #12196: pure hcso zone is not empty fix
2021-09-13 17:08:59 +08:00
Zexi Li
f6c9aa09ea Merge pull request #12194 from ioito/automated-cherry-pick-of-#12193-upstream-release-3.8
Automated cherry pick of #12193: fix(region): apsara resource group
2021-09-13 17:05:31 +08:00
tb365
2eec54723e pure hcso zone is not empty fix 2021-09-13 14:27:31 +08:00
Qu Xuan
f78047601b fix(region): apsara resource group 2021-09-13 10:15:21 +08:00
Zexi Li
63cd9bec46 Merge pull request #12190 from zexi/automated-cherry-pick-of-#12189-upstream-release-3.8
Automated cherry pick of #12189: fix(region): isolated_device desc include addr
2021-09-10 20:30:39 +08:00
Zexi Li
57bc6f1445 fix(region): isolated_device desc include addr 2021-09-10 19:36:56 +08:00
yunion-ci-robot
d5e6532711 Merge pull request #12185 from ioito/automated-cherry-pick-of-#12184-upstream-release-3.8
Automated cherry pick of #12184: fix(region): qcloud database sync
2021-09-10 19:16:27 +08:00
Zexi Li
4d511c98e9 Merge pull request #12177 from ioito/automated-cherry-pick-of-#12176-upstream-release-3.8
Automated cherry pick of #12176: fix(region): huawei region id with project name
2021-09-10 19:08:54 +08:00
Zexi Li
f96c1f9fd2 Merge pull request #12182 from ioito/automated-cherry-pick-of-#12181-upstream-release-3.8
Automated cherry pick of #12181: Hotfix/qx apsara project
2021-09-10 19:08:08 +08:00
Qu Xuan
315054703c fix(region): qcloud database sync 2021-09-10 18:30:44 +08:00
Qu Xuan
f9064a0018 fix(region): sync apsara project info 2021-09-10 18:00:48 +08:00
Qu Xuan
6641eb15f0 fix(region): support apsara project 2021-09-10 18:00:47 +08:00
Qu Xuan
59f837c0e3 fix(region): 不能通过华为云用户创建时间判断云账号注册时间 2021-09-10 17:18:02 +08:00
Qu Xuan
e5891349cd fix(region): huawei region id with project name 2021-09-10 17:18:02 +08:00
Zexi Li
fe9f5fa4cc Merge pull request #12174 from zexi/automated-cherry-pick-of-#12125-upstream-release-3.8
Automated cherry pick of #12125: fix(climc): SSH terminal window changes with the change of local terminal
2021-09-10 14:47:39 +08:00
Stargic
76b110445e fix(climc): SSH terminal window changes with the change of local terminal 2021-09-10 11:55:53 +08:00
Zexi Li
d274e3078c Merge pull request #12172 from ioito/automated-cherry-pick-of-#12171-upstream-release-3.8
Automated cherry pick of #12171: fix(scheduler): options for openstack scheduler
2021-09-10 11:54:06 +08:00
Zexi Li
e1269cf9fe Merge pull request #12169 from ioito/automated-cherry-pick-of-#12168-upstream-release-3.8
Automated cherry pick of #12168: fix(region): optimized qcloud tag sync
2021-09-09 20:25:58 +08:00
Qu Xuan
5a972e6ddf fix(scheduler): options for openstack scheduler 2021-09-09 17:55:02 +08:00
Qu Xuan
a905f67fb2 fix(region): optimized qcloud tag sync 2021-09-09 17:38:58 +08:00
Zexi Li
9bca310026 Merge pull request #12163 from ioito/automated-cherry-pick-of-#12162-upstream-release-3.8
Automated cherry pick of #12162: fix(region): sync apsara region
2021-09-09 16:29:33 +08:00
Qu Xuan
edcbf3b2d3 fix(region): sync apsara region 2021-09-09 15:48:57 +08:00
Zexi Li
e09c21d452 Merge pull request #12158 from swordqiu/automated-cherry-pick-of-#12157-upstream-release-3.8
Automated cherry pick of #12157: fix: set disk driver and network driver for converting esxi to kvm
2021-09-08 23:06:31 +08:00
Zexi Li
f270daa6ae Merge pull request #12153 from zhaoxiangchun/automated-cherry-pick-of-#12152-upstream-release-3.8
Automated cherry pick of #12152: fix(monitor): add record shield details param
2021-09-08 23:05:53 +08:00
Zexi Li
49d1f6ee1e Merge pull request #12150 from zhaoxiangchun/automated-cherry-pick-of-#12149-upstream-release-3.8
Automated cherry pick of #12149: fix(monitor): add monitor resource details field
2021-09-08 22:52:16 +08:00
Zexi Li
bdf015668f Merge pull request #12155 from ioito/automated-cherry-pick-of-#12154-upstream-release-3.8
Automated cherry pick of #12154: fix(region): sync aliyun qcloud default project
2021-09-08 22:51:31 +08:00
Qiu Jian
334ae46514 fix: set disk driver and network driver for converting esxi to kvm 2021-09-08 22:29:09 +08:00
Qu Xuan
cbbf5c28e1 fix(region): sync aliyun qcloud default project 2021-09-08 20:27:39 +08:00
zhaoxiangchun
f517795c85 fix(monitor): add record shield details param 2021-09-08 18:05:21 +08:00
zhaoxiangchun
82b05b2cd1 fix(monitor): add monitor resource details field 2021-09-08 17:39:17 +08:00
Zexi Li
429d38f06d Merge pull request #12142 from rainzm/automated-cherry-pick-of-#12141-upstream-release-3.8
Automated cherry pick of #12141: fix(devtool): get tenant info via correct field
2021-09-08 16:25:26 +08:00
Zexi Li
b50d54d8cc Merge pull request #12146 from ioito/automated-cherry-pick-of-#12145-upstream-release-3.8
Automated cherry pick of #12145: fix(region): resource apsara resource id not found error
2021-09-08 16:20:33 +08:00
Qu Xuan
d4104bb98d fix(region): resource apsara resource id not found error 2021-09-08 15:54:27 +08:00
Zexi Li
c8b1cfc397 Merge pull request #12138 from ioito/automated-cherry-pick-of-#12126-upstream-release-3.8
Automated cherry pick of #12126: fix(region): apsara default region
2021-09-08 15:53:44 +08:00
rainzm
df3d24b40a fix(devtool): get tenant info via correct field 2021-09-08 15:34:30 +08:00
Qu Xuan
3483446885 fix(region): apsara default region 2021-09-08 14:27:02 +08:00
Zexi Li
b84b5786ed Merge pull request #12127 from ioito/automated-cherry-pick-of-#12126-upstream-release-3.8
Automated cherry pick of #12126: fix(region): apsara default region
2021-09-08 13:58:15 +08:00
Zexi Li
ad4f0da021 Merge pull request #12135 from swordqiu/automated-cherry-pick-of-#12134-upstream-release-3.8
Automated cherry pick of #12134: fix(region): change disk and network drivers for Esxi converted VM
2021-09-08 12:01:41 +08:00
Qiu Jian
31aa3e36ee fix(region): change disk and network drivers for Esxi converted VM 2021-09-08 11:47:51 +08:00
Zexi Li
c4c095e0f8 Merge pull request #12131 from tb365/automated-cherry-pick-of-#12130-upstream-release-3.8
Automated cherry pick of #12130: fix(region): hcso sync server fix
2021-09-08 10:47:24 +08:00
tb365
a9a1c64ef0 fix(region): hcso sync server fix 2021-09-08 10:42:16 +08:00
Qu Xuan
dda5a309ac fix(region): apsara default region 2021-09-08 10:35:29 +08:00
Zexi Li
328dcf8ebb Merge pull request #12122 from ioito/automated-cherry-pick-of-#12121-upstream-release-3.8
Automated cherry pick of #12121: fix(region): apsara endpoint fix
2021-09-07 15:25:46 +08:00
Qu Xuan
7628bd2a81 fix(region): apsara endpoint fix 2021-09-07 14:28:33 +08:00
Zexi Li
237a54a79f Merge pull request #12118 from rainzm/automated-cherry-pick-of-#12117-upstream-release-3.8
Automated cherry pick of #12117: fix(devtool): create serviceurl
2021-09-07 10:50:20 +08:00
rainzm
1927f32109 fix(devtool): create serviceurl 2021-09-07 10:36:44 +08:00
Zexi Li
9dcabdb247 Merge pull request #12116 from tb365/automated-cherry-pick-of-#12114-upstream-release-3.8
Automated cherry pick of #12114: NetworkUsableZoneIds remove duplicate zone ids
2021-09-06 21:48:01 +08:00
tb365
6785b43bad NetworkUsableZoneIds remove duplicate zone ids 2021-09-06 14:43:52 +08:00
yunion-ci-robot
a51f8b6c2c Merge pull request #12113 from ioito/automated-cherry-pick-of-#12112-upstream-release-3.8
Automated cherry pick of #12112: fix(region): sku region info
2021-09-06 00:16:24 +08:00
Qu Xuan
40127b24e6 fix(region): sku region info 2021-09-05 22:56:25 +08:00
Zexi Li
d2f608696f Merge pull request #12106 from rainzm/automated-cherry-pick-of-#12105-upstream-release-3.8
Automated cherry pick of #12105: feat(devtool): add sshinfo and serviceurl
2021-09-05 16:58:43 +08:00
rainzm
a38f03516e feat(devtool): add sshinfo and serviceurl 2021-09-04 18:29:06 +08:00
yunion-ci-robot
e7935d6412 Merge pull request #12103 from ioito/automated-cherry-pick-of-#12102-upstream-release-3.8
Automated cherry pick of #12102: fix(host): return cache image error
2021-09-03 15:17:22 +08:00
Qu Xuan
4a72e87323 fix(host): return cache image error 2021-09-03 10:46:54 +08:00
Zexi Li
a6295d340a fix(baremetal): reindex nic (#12089) 2021-09-03 02:39:44 +08:00
Zexi Li
e8338f2832 Merge pull request #12076 from ioito/automated-cherry-pick-of-#12075-upstream-release-3.8
Automated cherry pick of #12075: fix(region): struct guest json desc
2021-09-02 23:15:48 +08:00
Zexi Li
f87d0e905a Merge pull request #12091 from zexi/automated-cherry-pick-of-#12090-upstream-release-3.8
Automated cherry pick of #12090: fix(climc-base): update tag to 20210901
2021-09-02 23:14:45 +08:00
Zexi Li
9274649334 Merge pull request #12096 from tb365/automated-cherry-pick-of-#12094-upstream-release-3.8
Automated cherry pick of #12094: fix(region): lb list search address fix
2021-09-02 18:33:08 +08:00
Zexi Li
13b05bf0c6 Merge pull request #12098 from zhaoxiangchun/automated-cherry-pick-of-#12097-upstream-release-3.8
Automated cherry pick of #12097: fix(monitor): monitor resource apiHelper fix
2021-09-02 18:27:17 +08:00
Zexi Li
2069057967 Merge pull request #12101 from ioito/automated-cherry-pick-of-#12100-upstream-release-3.8
Automated cherry pick of #12100: fix(region): cloudpods misc fix
2021-09-02 18:26:18 +08:00
Qu Xuan
197ff6f805 fix(region): cloudpods network scheduler 2021-09-02 17:21:52 +08:00
Qu Xuan
c52ee7d073 fix(region): cloudpods misc fix 2021-09-02 17:21:52 +08:00
zhaoxiangchun
3eafa21456 fix(monitor): monitor resource apiHelper fix
1. apiHeleper 中增加interface,对应的ModelSet可以指定资源过滤参数
2. monitor删除过期的资源
2021-09-02 14:39:20 +08:00
tb365
749d063a61 fix(region): lb list search address fix 2021-09-02 14:16:33 +08:00
Zexi Li
7ee8b8abe5 Merge pull request #12068 from rainzm/automated-cherry-pick-of-#12067-upstream-release-3.8
Automated cherry pick of #12067: feat(region): allow custom sshport when make sshable
2021-09-02 11:43:41 +08:00
Zexi Li
3353aa0062 fix(climc-base): update tag to 20210901 2021-09-01 20:17:49 +08:00
Zexi Li
8e493053ee Merge pull request #12081 from ioito/automated-cherry-pick-of-#12080-upstream-release-3.8
Automated cherry pick of #12080: fix(region): access group policy
2021-09-01 16:35:52 +08:00
Zexi Li
eb307bbffd Merge pull request #12079 from tb365/automated-cherry-pick-of-#12077-upstream-release-3.8
Automated cherry pick of #12077: lb list api support search elastic ip
2021-09-01 15:17:06 +08:00
Zexi Li
904f6b3358 Merge pull request #12084 from swordqiu/automated-cherry-pick-of-#12083-upstream-release-3.8
Automated cherry pick of #12083: fix: add ceph-common to climc image, so as to make rbcli work
2021-09-01 14:48:11 +08:00
Qiu Jian
161cec3a08 fix: add ceph-common to climc image, so as to make rbcli work 2021-09-01 12:36:10 +08:00
rainzm
8c6d9ad876 feat(region): allow custom sshport when make sshable 2021-09-01 11:43:24 +08:00
Qu Xuan
bdeed9e7a8 fix(region): access group policy 2021-09-01 11:18:04 +08:00
tb365
b9f3f55e62 lb list api support search elastic ip 2021-09-01 11:12:21 +08:00
Qu Xuan
aa60326bc3 fix(region): struct guest json desc 2021-09-01 09:44:55 +08:00
Zexi Li
43deb292fb Merge pull request #12073 from swordqiu/automated-cherry-pick-of-#12072-upstream-release-3.8
Automated cherry pick of #12072: fix: do not lock system account user
2021-08-31 21:01:49 +08:00
Zexi Li
99eaebe34a Merge pull request #12069 from zexi/automated-cherry-pick-of-#12066-upstream-release-3.8
Automated cherry pick of #12066: fix(climc): host-delete use batch delete function
2021-08-31 18:35:04 +08:00
Qiu Jian
5afb0c82a8 fix: do not lock system account user 2021-08-31 17:44:46 +08:00
Zexi Li
8fbd42e535 Merge pull request #12045 from tb365/automated-cherry-pick-of-#12043-upstream-release-3.8
Automated cherry pick of #12043: count host fix
2021-08-31 16:25:22 +08:00
tb365
c57c4cc5b2 change host type to hcso 2021-08-31 15:49:22 +08:00
tb365
c7ad1243be count host fix 2021-08-31 15:49:22 +08:00
Zexi Li
18b008d838 Merge pull request #12064 from tb365/automated-cherry-pick-of-#12062-upstream-release-3.8
Automated cherry pick of #12062: Bugfix/tb bugfix 083101
2021-08-31 15:16:38 +08:00
Zexi Li
36b91f5afe fix(climc): host-delete use batch delete function 2021-08-31 15:13:19 +08:00
Zexi Li
fe0f3b01b9 Merge pull request #12060 from ioito/automated-cherry-pick-of-#12059-upstream-release-3.8
Automated cherry pick of #12059: fix(region): eip project sync
2021-08-31 11:32:00 +08:00
tb365
45219f3cf4 make fmt 2021-08-31 11:24:40 +08:00
tb365
eebdd2b591 rename huaweicloudstack to hcso 2021-08-31 11:24:40 +08:00
tb365
18e806ba7d syncRemoveCloudHost purge host 2021-08-31 11:24:40 +08:00
Qu Xuan
45dd2ece7c fix(region): eip project sync 2021-08-31 10:34:07 +08:00
Zexi Li
bb62477f80 Merge pull request #12041 from rainzm/automated-cherry-pick-of-#12040-upstream-release-3.8
Automated cherry pick of #12040: feat(region): add no_tags options to filter guests
2021-08-31 10:01:41 +08:00
Zexi Li
a6340afcbe Merge pull request #12057 from rainzm/automated-cherry-pick-of-#12056-upstream-release-3.8
Automated cherry pick of #12056: fix(region): delete the wrong tag 'nullable:false'
2021-08-31 09:56:38 +08:00
rainzm
fc9e1719b7 fix(region): delete the wrong tag 'nullable:false' 2021-08-30 16:54:00 +08:00
rainzm
73a8a01b63 feat(region): add no_tags options to filter guests
no_tags filter the guests without `no_tags`
2021-08-30 16:47:50 +08:00
Zexi Li
1455c52270 Merge pull request #12054 from ioito/automated-cherry-pick-of-#12053-upstream-release-3.8
Automated cherry pick of #12053: fix(region): sync vm os type
2021-08-30 15:04:25 +08:00
Qu Xuan
c810ea46c6 fix(region): sync vm os type 2021-08-30 14:29:40 +08:00
Zexi Li
9b9bcc881e Merge pull request #12052 from zexi/automated-cherry-pick-of-#12050-upstream-release-3.8
Automated cherry pick of #12050: fix(glance): image fuzzy match by distro
2021-08-27 18:02:46 +08:00
Zexi Li
0a4ad0a305 fix(glance): image fuzzy match by distro 2021-08-27 18:01:26 +08:00
Zexi Li
4573622ba5 Merge pull request #12039 from zhaoxiangchun/automated-cherry-pick-of-#12038-upstream-release-3.8
Automated cherry pick of #12038: fix(monitor): monitor rds sync
2021-08-27 16:58:32 +08:00
Zexi Li
11cd699c9c Merge pull request #12049 from ioito/automated-cherry-pick-of-#11987-upstream-release-3.8
Automated cherry pick of #11987: feat(region): cloudpods operation
2021-08-27 16:49:49 +08:00
Qu Xuan
ef873d9f77 feat(region): cloudpods operation 2021-08-27 16:41:57 +08:00
zhaoxiangchun
7ca332aa79 fea(monitor): monitor apiHelper add domain,project 2021-08-27 16:05:34 +08:00
zhaoxiangchun
eca062143b fix(monitor): monitor rds sync 2021-08-27 16:05:34 +08:00
Zexi Li
9b6fe19ea4 Merge pull request #12031 from zexi/automated-cherry-pick-of-#12030-upstream-release-3.8
Automated cherry pick of #12030: fix(keystone): appsrv listen multi port failed cause of race condition
2021-08-27 14:29:52 +08:00
Zexi Li
f0e61cd918 Merge pull request #12035 from ioito/automated-cherry-pick-of-#12034-upstream-release-3.8
Automated cherry pick of #12034: fix(region): sync aliyun classic network ip addr
2021-08-26 18:04:02 +08:00
Qu Xuan
a0170df031 fix(region): sync aliyun classic network ip addr 2021-08-26 17:16:09 +08:00
Zexi Li
c78f7a2f04 fix(keystone): appsrv listen multi port failed cause of race condition 2021-08-26 16:53:31 +08:00
Zexi Li
cb9b344bd4 Merge pull request #12025 from zhaoxiangchun/automated-cherry-pick-of-#12024-upstream-release-3.8
Automated cherry pick of #12024: feat(cloudmon): support HuaweiCloudStack rds metric
2021-08-26 12:34:44 +08:00
Zexi Li
b9c4336dff Merge pull request #12001 from tb365/automated-cherry-pick-of-#11999-upstream-release-3.8
Automated cherry pick of #11999: hcso support sync vm host
2021-08-26 12:23:22 +08:00
Zexi Li
e5f352fa37 Merge pull request #12028 from zexi/automated-cherry-pick-of-#12027-upstream-release-3.8
Automated cherry pick of #12027: fix(vendor): use creack/pty v1.1.11 to adapt go 1.15
2021-08-26 12:03:22 +08:00
Zexi Li
f0862574db fix(vendor): use creack/pty v1.1.11 to adapt go 1.15 2021-08-26 11:46:50 +08:00
Zexi Li
d7978069a9 Merge pull request #12007 from rainzm/automated-cherry-pick-of-#12006-upstream-release-3.8
Automated cherry pick of #12006: feat(region): add direct vpc options
2021-08-26 11:25:59 +08:00
zhaoxiangchun
1df2e03b73 feat(cloudmon): support HuaweiCloudStack rds metric 2021-08-26 11:21:15 +08:00
rainzm
9c2502db8d feat(region): add direct field for vpc
This field describes whether the VPC can be connected directly
2021-08-26 11:10:14 +08:00
Zexi Li
22f188f8c0 Merge pull request #12004 from rainzm/automated-cherry-pick-of-#12003-upstream-release-3.8
Automated cherry pick of #12003: fix(region): check instancesnapshot in correct place when resize disk
2021-08-26 10:42:38 +08:00
Zexi Li
d4656072de Merge pull request #12015 from zexi/automated-cherry-pick-of-#12014-upstream-release-3.8
Automated cherry pick of #12014: fix(cloudcommon): avoid service exit when etcd unreachable
2021-08-26 10:41:31 +08:00
Zexi Li
db34e8ad3b Merge pull request #12021 from zexi/automated-cherry-pick-of-#12020-upstream-release-3.8
Automated cherry pick of #12020: feat(cloudcommon): move ignore_nonrunning_guests option to common
2021-08-26 10:39:09 +08:00
Zexi Li
dd390aa6dd Merge pull request #12019 from ioito/automated-cherry-pick-of-#12018-upstream-release-3.8
Automated cherry pick of #12018: fix(region): cdn misc fix
2021-08-26 00:15:55 +08:00
Zexi Li
e9b0203da4 feat(cloudcommon): move ignore_nonrunning_guests option to common 2021-08-25 21:04:14 +08:00
Qu Xuan
08c5f3c816 fix(region): cdn misc fix 2021-08-25 20:44:38 +08:00
Zexi Li
5317e842f3 Merge pull request #12010 from ioito/automated-cherry-pick-of-#12009-upstream-release-3.8
Automated cherry pick of #12009: fix(region): aliyun rds network sync
2021-08-25 20:18:44 +08:00
tb365
afe7f5d828 hcso support sync vm host 2021-08-25 20:11:57 +08:00
Zexi Li
c8966f7e87 fix(cloudcommon): avoid service exit when etcd unreachable 2021-08-25 19:47:49 +08:00
Qu Xuan
f89c9b933a fix(region): aliyun rds network sync 2021-08-25 18:55:22 +08:00
Zexi Li
66c6a7570c Merge pull request #11997 from zhaoxiangchun/automated-cherry-pick-of-#11995-upstream-release-3.8
Automated cherry pick of #11995: fix(monitor):fix monitor query top 5
2021-08-25 18:19:26 +08:00
rainzm
297d905d4f fix(region): check instancesnapshot in correct place when resize disk 2021-08-25 17:12:06 +08:00
zhaoxiangchun
c24c923a8f fix(monitor):fix monitor query top 5 2021-08-25 10:15:27 +08:00
yunion-ci-robot
40909986f6 Merge pull request #11992 from zexi/automated-cherry-pick-of-#11991-upstream-release-3.8
Automated cherry pick of #11991: fix(region): try to find mediumType matched storage when create disk …
2021-08-25 08:49:05 +08:00
Zexi Li
48d6492715 Merge pull request #11984 from ioito/automated-cherry-pick-of-#11983-upstream-release-3.8
Automated cherry pick of #11983: fix(region): enable zstack allocate ip by itself
2021-08-24 22:56:27 +08:00
Zexi Li
fcc635a90e Merge pull request #11989 from ioito/automated-cherry-pick-of-#11988-upstream-release-3.8
Automated cherry pick of #11988: fix(cloudid): hcso custom role
2021-08-24 22:55:07 +08:00
Zexi Li
38582f5f93 fix(region): try to find mediumType matched storage when create disk for kvm 2021-08-24 21:36:14 +08:00
Qu Xuan
8deacfcf59 fix(cloudid): hcso custom role 2021-08-24 20:55:46 +08:00
Qu Xuan
f1d422e85f fix(region): enable zstack allocate ip by itself 2021-08-24 16:07:53 +08:00
Zexi Li
338a921368 Merge pull request #11568 from rainzm/hostdeployer/vg1
Avoid duplicate vg name causing deploy failure
2021-08-24 11:49:06 +08:00
rainzm
de60724ba9 feat(hostdeployer): find vg name and id via pv 2021-08-24 11:28:52 +08:00
rainzm
3db8adc38f feat: update host-deployer-base from 0.6 to 1.0 2021-08-24 11:26:05 +08:00
Zexi Li
653fac4d88 Merge pull request #11837 from zhaoxiangchun/fix/zxc-node-alert-vm
feat(monitor): add dashboard and panel clone
2021-08-24 11:20:11 +08:00
zhaoxiangchun
65f0f61430 feat(monitor): add dashboard and panel clone 2021-08-24 11:10:42 +08:00
Zexi Li
bcee3cb130 Merge pull request #11975 from ioito/hotfix/qx-cachedimage-resource-count
fix(region): resource count for cachedimages
2021-08-23 19:59:10 +08:00
Zexi Li
4d40722269 Merge pull request #11979 from zexi/image-filter-by-os
feat(glance): image support filter by os_type and distribution
2021-08-23 16:14:33 +08:00
Zexi Li
3b235402ae feat(glance): image support filter by os_type and distribution 2021-08-23 15:45:51 +08:00
Qu Xuan
b19715d453 fix(region): resource count for cachedimages 2021-08-23 14:22:30 +08:00
Zexi Li
24f33159f0 Merge pull request #11971 from zhaoxiangchun/feature/zxc-monitor-resource-master
fix(monitor): update apiHelper field and log
2021-08-23 12:16:49 +08:00
yunion-ci-robot
7b612ae02c Merge pull request #11970 from zexi/allow-bw-zero
fix(region): allow guest network zero bandwidth limit
2021-08-23 12:14:12 +08:00
Zexi Li
ab496d0e4f fix(region): allow guest network zero bandwidth limit 2021-08-23 10:23:14 +08:00
zhaoxiangchun
1285bcb066 fix(monitor): update apiHelper field and log 2021-08-23 10:18:39 +08:00
Zexi Li
865524ace8 Merge pull request #11958 from zhaoxiangchun/feature/zxc-monitor-resource-master
fix(monitor): fix monitor slow query
2021-08-23 10:03:30 +08:00
zhaoxiangchun
b8bdcb0774 fix(monitor): fix monitor slow query
1. 使用apihelper 增量查询监控数据
2. 通过apihelper中set进行对应的资源过滤
2021-08-20 21:39:07 +08:00
Zexi Li
3329227a01 Merge pull request #11966 from ioito/feat/qx-cdn
feat(region): add qcloud cdn
2021-08-20 18:43:42 +08:00
Zexi Li
87b10a9c80 Merge pull request #11967 from ioito/hotfix/qx-cloudpods-secrule
fix(region): sync cloudpods secgroup
2021-08-20 18:41:33 +08:00
Qu Xuan
3ce18ea71f feat(region): add qcloud cdn 2021-08-20 18:29:48 +08:00
Qu Xuan
baa48550d0 fix(region): sync cloudpods secgroup 2021-08-20 18:27:45 +08:00
Zexi Li
0ff6bfec13 Merge pull request #11964 from ioito/hotfix/qx-hcso-saml-provider
fix(cloudid): hcso enable multi tenant saml provider
2021-08-20 17:05:39 +08:00
Qu Xuan
1eec6039e2 fix(cloudid): hcso enable multi tenant saml provider 2021-08-20 16:07:08 +08:00
Zexi Li
34993740d9 Merge pull request #11960 from rainzm/scaling/alarm
fix(region): adjust the query range corresponding to the alarm strategy
2021-08-20 11:34:56 +08:00
rainzm
56e9d95763 fix(region): adjust the query range corresponding to the alarm strategy
The data in the cycle range may not be available yet, and the data in the last hour can be queried fixedly
2021-08-20 11:10:17 +08:00
Zexi Li
5c5f919899 Merge pull request #11959 from swordqiu/hotfix/qj-disable-pretty-table-try-os-width-by-default
Hotfix/qj disable pretty table try os width by default
2021-08-20 10:17:37 +08:00
Qiu Jian
4e76d35710 fix: truncate columns longer than 512 bytes by default
Set OS_MAX_COLUMN_TEXT_LENGTH=-1 to disable auto text truncation
2021-08-20 09:38:19 +08:00
Qiu Jian
6b24c0600d fix: disable pretty table try os width by default 2021-08-20 08:45:28 +08:00
Zexi Li
af886f4e55 Merge pull request #11954 from ioito/hotfix/qx-worker-sync
fix(region): sync with multi worker
2021-08-19 16:11:50 +08:00
Qu Xuan
345f78621b fix(region): sync with multi worker 2021-08-19 15:10:35 +08:00
Zexi Li
1a02080085 Merge pull request #11951 from panda-lab/bugfix/xfs-duplicate-uuid
fix(host-deployer): XFS uuid冲突 无法 mount
2021-08-19 14:47:21 +08:00
panda
1248b88c75 fix(host-deployer): XFS uuid冲突 无法 mount
pkg/hostman/diskutils/fsutils/fsutils.go

1. ResizeFs 操作中 ResizePartitionFs 未对 xfs uuid 加锁
     导致挂载相同uuid 磁盘异异常
 - dmesg 显示
[86653.888361] XFS (nbd2p1): Filesystem has duplicate UUID f4553201-609a-4657-87aa-994cc6339f50 - can't mount

 - 批量创建虚拟机, 虚拟机磁盘为xfs, 多台虚拟机调度到同一宿主机时
   DeployGuestFs 无法 chroot password root
2021-08-19 14:41:31 +08:00
Zexi Li
48a0fbc287 Merge pull request #11945 from swordqiu/hotfix/qj-remove-meter-client-codes
fix: remove meter client codes
2021-08-19 14:29:11 +08:00
Zexi Li
963df8a443 Merge pull request #11950 from tb365/bugfix/tb-bugfix-081901
add azure capacity
2021-08-19 14:27:46 +08:00
Zexi Li
e52c883171 Merge pull request #11948 from tb365/bugfix/tb-bugfix-081902
huawei cloud getInstanceByIP add ip filter
2021-08-19 14:26:37 +08:00
tb365
972bdb8e7f add azure capacity 2021-08-19 11:24:15 +08:00
tb365
5ca544400b huawei cloud getInstanceByIP add ip filter 2021-08-19 11:20:06 +08:00
Qiu Jian
567856cada fix: remove meter client codes 2021-08-19 01:49:19 +08:00
Zexi Li
e5cc08d33b Merge pull request #11927 from tb365/bugfix/tb-bugfix-081201
zone list timeout fix
2021-08-18 20:48:09 +08:00
Zexi Li
18f7a8959b Merge pull request #11939 from ioito/hotfix/qx-lb-resource-count
fix(region): lb resource count
2021-08-18 20:47:14 +08:00
Zexi Li
4275b9a63b Merge pull request #11812 from rainzm/agent/batch
feat(devtool): support batch applying for virtual machines
2021-08-18 18:14:25 +08:00
tb365
cfae948719 zone list timeout fix 2021-08-18 15:34:16 +08:00
Qu Xuan
7e838d61b8 fix(region): lb resource count 2021-08-18 15:27:46 +08:00
Zexi Li
1c4b115f78 Merge pull request #11931 from ioito/hotfix/qx-azure-dtu
fix(region): azure sqlserver dtu
2021-08-18 10:25:14 +08:00
Zexi Li
8edfb1fa2c Merge pull request #11932 from ioito/hotfix/qx-nas-tag
fix(region): empty aliyun resource tag
2021-08-18 10:06:26 +08:00
Zexi Li
101a088c68 Merge pull request #11936 from swordqiu/hotfix/qj-dhcp-route-encoding-error
fix: dhcp classless route encoding error
2021-08-18 10:03:17 +08:00
yunion-ci-robot
beb66d4783 Merge pull request #11934 from zexi/update-base-image
feat(misc): update build and service base image to use go v1.15.15
2021-08-17 23:31:46 +08:00
Qiu Jian
381b7e6949 fix: dhcp classless route encoding error 2021-08-17 22:43:50 +08:00
Zexi Li
d0dd242bc2 feat(misc): update build and service base image to use go v1.15.15 2021-08-17 20:08:22 +08:00
Qu Xuan
82b9cdc1ca fix(region): empty aliyun resource tag 2021-08-17 19:23:01 +08:00
Qu Xuan
68bb75b415 fix(region): azure sqlserver dtu 2021-08-17 17:27:38 +08:00
Zexi Li
bc653ce7fc Merge pull request #11921 from ioito/hotfix/qx-azure-clouduser
fix(cloudid): azure attach enabled subscription policy
2021-08-16 21:42:59 +08:00
Qu Xuan
59e5e22b5e fix(cloudid): avoid sync clouduser twice 2021-08-16 15:11:12 +08:00
Qu Xuan
163a4e14f7 fix(cloudid): azure attach enabled subscription policy 2021-08-16 14:28:13 +08:00
Zexi Li
1db801181c Merge pull request #11917 from swordqiu/hotfix/qj-climc-bill-tasks-create
fix: bill-tasks-create parameters
2021-08-15 18:30:10 +08:00
Zexi Li
76a46ec361 Merge pull request #11915 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控
2021-08-15 18:29:23 +08:00
zhaoxiangchun
a191838ef6 Merge branch 'master' of https://github.com/yunionio/cloudpods into feature/zxc-agent-metirc 2021-08-15 18:02:12 +08:00
yunion-ci-robot
a8d22e274c Merge pull request #11918 from tb365/bugfix/tb-bugfix-081503
ProviderFactory add method IsMultiTenant
2021-08-15 17:38:21 +08:00
tb365
7b579e80cf ProviderFactory add method IsMultiTenant 2021-08-15 17:27:14 +08:00
Qiu Jian
ae1894003d fix: bill-tasks-create parameters 2021-08-15 16:36:32 +08:00
Zexi Li
164dc31fb2 Merge pull request #11911 from tb365/bugfix/tb-bugfix-081503
add default dns for subnet
2021-08-15 16:36:26 +08:00
Zexi Li
19114b3cd3 Merge pull request #11913 from ioito/hotfix/qx-cloudevent-hcso
fix(cloudevent): hcso resource name
2021-08-15 16:26:52 +08:00
yunion-ci-robot
31ea81d4a9 Merge pull request #11853 from zexi/fix-bms-reuse-ipaddr
Fix bms reuse ipaddr
2021-08-15 16:25:22 +08:00
tb365
444ebd9526 add default dns for subnet 2021-08-15 16:14:08 +08:00
Qu Xuan
013b9b0e35 fix(cloudevent): hcso resource name 2021-08-15 16:12:49 +08:00
zhaoxiangchun
edaf51e5d8 feat(monitor): 处理编排mysql,redis,rabbitmq 相关监控 2021-08-15 16:04:17 +08:00
Zexi Li
e44976c2cb Merge pull request #11909 from tb365/bugfix/tb-bugfix-081501
fix(region): huawei cloud sync vm os arch
2021-08-15 14:05:08 +08:00
tb365
fffe8c6509 fix(region): huawei cloud sync vm os arch 2021-08-15 13:32:33 +08:00
Zexi Li
cbfaca01f7 Merge pull request #11896 from ioito/hotfix/qx-azure-rds-mem
fix(region): sync azure rds memeory
2021-08-15 11:15:56 +08:00
Zexi Li
eaaa92aff8 Merge pull request #11900 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): add ext mysql,rabbitmq,redis metric
2021-08-15 11:01:00 +08:00
Zexi Li
0054ad16d0 Merge pull request #11907 from zexi/update-glance-img
feat(build): update glance and torrent base image
2021-08-15 02:17:38 +08:00
Zexi Li
3b11bda683 feat(build): update glance and torrent base image 2021-08-15 02:15:10 +08:00
Zexi Li
c4c979deca Merge pull request #11905 from ioito/hotfix/qx-cloudevent-hcso
fix(cloudevent): hcso event fix
2021-08-15 00:12:38 +08:00
Qu Xuan
6f129378e0 fix(cloudevent): hcso event fix 2021-08-15 00:05:50 +08:00
yunion-ci-robot
569bde0a3d Merge pull request #11902 from zexi/update-k8s-monitor-opts
feat(mcclient): add k8s cluster monitor component disable option
2021-08-14 00:25:22 +08:00
Zexi Li
a152a9e940 Merge pull request #11895 from ioito/hotfix/qx-region-sql
fix(region): return region sql error
2021-08-13 21:15:48 +08:00
Zexi Li
28eb0ab983 feat(mcclient): add k8s cluster monitor component disable option 2021-08-13 21:13:22 +08:00
zhaoxiangchun
e9f3def6e0 feat(monitor): add ext mysql,rabbitmq,redis metric 2021-08-13 20:02:15 +08:00
Zexi Li
24c8bd3e15 Merge pull request #11897 from swordqiu/hotfix/qj-update-readme-install-steps
fix: update README installation steps
2021-08-13 18:06:34 +08:00
Qiu Jian
f408012c90 fix: update README installation steps 2021-08-13 18:02:03 +08:00
Qu Xuan
3488515fb5 fix(region): sync azure rds memeory 2021-08-13 17:24:41 +08:00
Qu Xuan
e79abc5d6e fix(region): return region sql error 2021-08-13 16:24:47 +08:00
Zexi Li
edae1e8688 Merge pull request #11887 from swordqiu/hotfix/qj-two-nics-vm-default-prefix-routes
fix: routes to private prefixes should be distributed on private nic
2021-08-13 14:30:41 +08:00
Zexi Li
ff5bac80df Merge pull request #11894 from ioito/hotfix/qx-misc-mongodb
fix(region): mongodb zone&network sync fix
2021-08-13 14:29:49 +08:00
Zexi Li
7e26bcb44a Merge pull request #11892 from ioito/hotfix/qx-hcso-eip-filter
fix(region): hcso regional eip
2021-08-13 14:29:09 +08:00
Qu Xuan
aa493f6c84 fix(region): mongodb zone&network sync fix 2021-08-13 11:54:32 +08:00
Qu Xuan
a0d43326d7 fix(region): hcso regional eip 2021-08-13 11:00:52 +08:00
Qiu Jian
3672f1bddc fix: routes to private prefixes should be distributed on private nic 2021-08-12 22:53:44 +08:00
Zexi Li
391b792064 Merge pull request #11870 from zhaoxiangchun/feature/zxc-hwstack-cloudmon
feat(cloudmon): support huaweistack monitor metric
2021-08-12 21:02:54 +08:00
Zexi Li
15c607c22c Merge pull request #11883 from ioito/hotfix/qx-azure-vm-disk
fix(region): azure vm disk size
2021-08-12 20:47:40 +08:00
Zexi Li
9500ede076 Merge pull request #11882 from ioito/hotfix/qx-mongodb-misc
fix(region): mongodb misc fix
2021-08-12 20:47:17 +08:00
Qu Xuan
b6d1029c7a fix(region): azure vm disk size 2021-08-12 20:26:03 +08:00
Zexi Li
55487628e2 Merge pull request #11875 from zexi/monitor-temperature
Monitor temperature
2021-08-12 18:21:30 +08:00
Qu Xuan
d2b19ae001 fix(region): mongodb misc fix 2021-08-12 18:02:23 +08:00
Zexi Li
b9f8c57f42 Merge pull request #11879 from ioito/hotfix/qx-hcso-iam
add: hcso iam
2021-08-12 17:06:33 +08:00
Qu Xuan
42fda4401a add: hcso iam 2021-08-12 16:51:19 +08:00
Zexi Li
754551ce9c feat(ansibleserver): update file-repo to v0.3.3 and use telegraf 1.19.2 2021-08-12 16:26:02 +08:00
Zexi Li
9ff03af402 feat(monitor): support temperature metrics 2021-08-12 16:26:02 +08:00
Zexi Li
6a84a0f434 Merge pull request #11877 from tb365/feature/tb-huawei-private-cloud2
huawei cloud stack client fix
2021-08-12 15:04:15 +08:00
tb365
e7bc6614a0 Merge branch 'master' into feature/tb-huawei-private-cloud2 2021-08-12 14:38:04 +08:00
tb365
682a27633a huawei cloud stack client fix 2021-08-12 14:33:44 +08:00
Zexi Li
d2cec75a88 Merge pull request #11872 from ioito/hotfix/qx-vpc-delete
fix(region): delete dirty network
2021-08-12 10:55:41 +08:00
Qu Xuan
11c0bc8264 fix(region): delete dirty network 2021-08-11 20:11:26 +08:00
Zexi Li
bce1f198db Merge pull request #11862 from zhaoxiangchun/feature/zxc-meter-pro-domain-master
fix(monitor): add used_by list filter
2021-08-11 20:04:39 +08:00
Zexi Li
21501494e6 Merge pull request #11867 from ioito/hotfix/qx-sql-error
fix(region): return sql error
2021-08-11 20:03:43 +08:00
zhaoxiangchun
a6f5b047de feat(cloudmon): support huaweistack monitor metric 2021-08-11 20:03:04 +08:00
Qu Xuan
f664cc25a9 fix(region): return sql error 2021-08-11 19:13:25 +08:00
Zexi Li
e95f6570c5 Merge pull request #11864 from swordqiu/hotfix/qj-fix-permission-issues-for-samlusers-quotas
fix: resolve permission issues for samlusers and quotas
2021-08-11 17:50:35 +08:00
Qiu Jian
afe11dbeef fix: resolve permission issues for samlusers and quotas 2021-08-11 17:15:29 +08:00
zhaoxiangchun
bdb2a85ae5 fix(monitor): add used_by list filter
支持其他全服务通过used_by 字段进行相关过滤
2021-08-11 12:03:06 +08:00
Zexi Li
1306de980a Merge pull request #11860 from ioito/hotfix/qx-hcso-rds-sku
feat: hcso sku sync
2021-08-11 11:29:45 +08:00
Qu Xuan
963cc7fac1 feat: hcso sku sync 2021-08-11 10:25:17 +08:00
yunion-ci-robot
75d1115a87 Merge pull request #11848 from Stargic/feature/implement-x
feat(climc): add SSH through EIP in server-ssh
2021-08-10 15:52:00 +08:00
Zexi Li
ab33fcc373 fix(region): baremetal server reuse ip address condition 2021-08-10 10:43:02 +08:00
Zexi Li
259b25f92f Merge pull request #11852 from swordqiu/hotfix/qj-allow-server-disk-update-cache-directsync
fix: allow set server-disk cache mode as directsync
2021-08-10 10:13:53 +08:00
Zexi Li
122a76cc6c Merge pull request #11849 from swordqiu/hotfix/qj-eip-bandwidth-limit-inter-vm-traffic
fix: inter-vm traffic limited by eip bandwidth limit
2021-08-10 10:07:12 +08:00
Qiu Jian
4fc194a1b7 fix: allow set server-disk cache mode as directsync 2021-08-10 00:24:39 +08:00
yunion-ci-robot
51493dd659 Merge pull request #11840 from zexi/bm-maintenance-mode
fix(region): not set baremetal is_maintenance when action is start
2021-08-10 00:19:02 +08:00
yunion-ci-robot
9e9bd364c8 Merge pull request #11844 from zexi/bm-ipmitool-reboot
fix(baremetal): increase ipmitool reboot sleep wait time
2021-08-10 00:17:01 +08:00
Qiu Jian
93bceeafdd fix: inter-vm traffic limited by eip bandwidth limit 2021-08-10 00:13:03 +08:00
Stargic
d42b2a6ddc feat(climc): add SSH through EIP in server-ssh 2021-08-09 23:55:59 +08:00
Zexi Li
b24335917e Merge pull request #11847 from tb365/feature/tb-huawei-private-cloud
fix(region): update huawei cloud stack update credential
2021-08-09 18:59:08 +08:00
tb365
d36878bbca fix(region): update huawei cloud stack update credential 2021-08-09 17:48:55 +08:00
Zexi Li
784e996901 fix(baremetal): increase ipmitool reboot sleep wait time 2021-08-09 16:50:04 +08:00
Zexi Li
48e5bfba67 Merge pull request #11843 from tb365/feature/tb-huawei-private-cloud
huawei client update
2021-08-09 16:11:02 +08:00
tb365
4cf354fcf7 fix(region): goimport fix 2021-08-09 16:00:10 +08:00
tb365
88efcda2f5 huawei client update 2021-08-09 15:55:12 +08:00
Zexi Li
bf904da0f6 fix(region): not set baremetal is_maintenance when action is start 2021-08-09 15:22:05 +08:00
Zexi Li
3b89514bbd Merge pull request #11781 from ioito/feat/qx-cloudpods-add
feat(region): add cloudpods
2021-08-07 22:13:48 +08:00
Zexi Li
83253e547e Merge pull request #11832 from ioito/hotfix/qx-openstack-storage-sync
fix(region): sync openstack multi zone storages
2021-08-07 14:29:51 +08:00
Zexi Li
b7527119f1 Merge pull request #11833 from rainzm/host/filter
Filter wires and networks from host_type of host
2021-08-07 14:28:42 +08:00
Qu Xuan
a1501da0c8 fix(region): sync openstack multi zone storages 2021-08-06 15:45:46 +08:00
rainzm
2d7fba494d feat(region): add host_type filter for listing network
Also fixed the previous problem of using host to filter the network of yunioncloud
2021-08-06 15:43:37 +08:00
rainzm
47da51e04e feat(region): add host_type filter for listing wires 2021-08-06 15:41:49 +08:00
Zexi Li
ea75f2fb77 Merge pull request #10925 from ioito/hotfix/qx-multi-region-sync
fix(region): sync multi region resource at same time
2021-08-06 15:09:36 +08:00
Zexi Li
04afa13f77 Merge pull request #10962 from ioito/feat/qx-sync-cost-time
fix(region): record sync cost time
2021-08-06 15:08:57 +08:00
Zexi Li
6c6161462e Merge pull request #11814 from ioito/hotfix/qx-kafka-purge
fix(region): kafka purge
2021-08-06 15:07:44 +08:00
Zexi Li
ccca2503fb Merge pull request #11830 from tb365/bugfix/tb-bugfix-080601
fix(apigateway): totp passcode verify error code fix
2021-08-06 11:24:11 +08:00
tb365
c377f19725 fix(apigateway): totp passcode verify error code fix 2021-08-06 10:55:31 +08:00
Zexi Li
f97a2c756f Merge pull request #11820 from ioito/hotfix/qx-nas-tags
fix(region): support nas tags
2021-08-06 10:23:04 +08:00
Zexi Li
dd5b427def Merge pull request #11823 from rainzm/disk/instance_snapshot
fix(region): prohibit resizing the disk of a esxi vm with instance snapshots
2021-08-06 10:21:07 +08:00
Zexi Li
7946bf53ea Merge pull request #11826 from ioito/hotfix/qx-status-filter
fix(region): add resource statistics filter params
2021-08-06 10:03:15 +08:00
Zexi Li
b02a25da64 Merge pull request #11828 from ioito/hotfix/qx-jdcloud-webconsole
fix(webconsole): add jdcloud vnc
2021-08-06 00:40:26 +08:00
Qu Xuan
c1be18524c fix(webconsole): add jdcloud vnc 2021-08-05 20:39:54 +08:00
Qu Xuan
3a380377a8 fix(region): add resource statistics filter params 2021-08-05 19:42:33 +08:00
rainzm
a493c7022a fix(region): prohibit resizing the disk of a esxi vm with instance snapshots 2021-08-05 18:59:35 +08:00
Qu Xuan
8db0a79fac fix(region): support nas tags 2021-08-05 17:28:13 +08:00
Zexi Li
f481850c6a Merge pull request #11808 from ioito/hotfix/qx-openstack-vm-hostid
fix(region): avoid get openstack hostid panic
2021-08-05 17:18:27 +08:00
Zexi Li
8d4c75f32c Merge pull request #11815 from rainzm/host/check
feat(region): check whether the esxi host is ip or domain name
2021-08-05 17:17:48 +08:00
rainzm
6af6c8167a feat(region): check whether the esxi host is ip or domain name 2021-08-05 15:58:33 +08:00
Qu Xuan
3ff012f8c1 fix(region): kafka purge 2021-08-05 15:09:13 +08:00
rainzm
39d93ebb92 feat(devtool): support batch applying for virtual machines 2021-08-05 15:00:01 +08:00
Qu Xuan
6632d5f14d fix(region): avoid get openstack hostid panic 2021-08-05 14:17:56 +08:00
Qu Xuan
7fc35d0e0c fix(region): record sync cost time 2021-08-04 20:39:26 +08:00
yunion-ci-robot
da1114898f Merge pull request #11803 from zexi/fix-bm-iso-boot-mac-order
fix(baremetal): inject mac when admin nic found
2021-08-04 20:09:00 +08:00
Zexi Li
865e2671e6 fix(baremetal): inject mac when admin nic found 2021-08-04 18:53:05 +08:00
Zexi Li
e685e1eacf Merge pull request #11799 from ioito/hotfix/qx-mongodb-fix
fix(region): add trans and mongodb backup list
2021-08-04 16:15:22 +08:00
Zexi Li
6185d618a8 Merge pull request #11796 from rainzm/vmware/copydisk
fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk
2021-08-04 16:14:26 +08:00
Qu Xuan
3110923be4 fix(region): add trans and mongodb backup list 2021-08-04 11:37:28 +08:00
Zexi Li
1df7d271b7 Merge pull request #11783 from ioito/hotfix/qx-mongodb-fix
fix(region): mongodb sync fix
2021-08-04 10:23:41 +08:00
Zexi Li
f7a3ead15a Merge pull request #11792 from swordqiu/hotfix/qj-cloud-events-purge-2
fix: add purge split log commands for cloudevent and cloudlog
2021-08-04 10:23:10 +08:00
yunion-ci-robot
88bb1e2086 Merge pull request #11789 from zexi/automated-cherry-pick-of-#11788-upstream-master
Automated cherry pick of #11788: fix(region): baremetal server resued address nic count should be subtracted
2021-08-03 23:55:57 +08:00
Zexi Li
8435e98aff Merge pull request #11794 from swordqiu/hotfix/qj-server-migrate-network-with-vlan
fix: server migrate network to a vlan network
2021-08-03 20:05:14 +08:00
Zexi Li
b3339a9de9 Merge pull request #11791 from rainzm/subscriber/fix
fix for subscriber
2021-08-03 20:03:29 +08:00
yunion-ci-robot
a1221ded1a Merge pull request #11784 from zexi/fix-baremetal-iso-boot
fix(baremetal): inject mac to cmdline
2021-08-03 18:58:55 +08:00
rainzm
f6648296ad fix(esxiagetn): keep compatible with the lower version vcenter when copying the disk 2021-08-03 18:01:40 +08:00
Qiu Jian
c53b87cc5c fix: server migrate network to a vlan network 2021-08-03 17:54:28 +08:00
Qiu Jian
c8e8818743 fix: add purge split log commands for cloudevent and cloudlog 2021-08-03 17:17:27 +08:00
rainzm
fc1adcedf5 fix(notify): fix create and list of subscriber 2021-08-03 17:13:20 +08:00
rainzm
c89ae949e0 fix(notify): add list option 'enabled' for topic 2021-08-03 17:12:11 +08:00
rainzm
3dea565c8a fix(notify): fix for subscriber_receiver 2021-08-03 17:10:54 +08:00
rainzm
c2d7dd6a45 feat(notify): add ResourceAttributionName for subscriber 2021-08-03 17:08:57 +08:00
rainzm
edcd98e5fe fix(notify): optimization of print log
1. remomve unnecessary log
2. reduce the level of some logs, such as info -> debug
2021-08-03 17:06:55 +08:00
Zexi Li
71b16e5e9d fix(region): baremetal server resued address nic count should be subtracted 2021-08-03 15:38:52 +08:00
yunion-ci-robot
caa15ce0f8 Merge pull request #11768 from Stargic/feature/implement-x
feat(climc): add Port-Forward SSH  in server-ssh
2021-08-03 14:32:34 +08:00
Zexi Li
96dc4ca4df fix(baremetal): inject mac to cmdline 2021-08-03 12:26:33 +08:00
Qu Xuan
b5d0467bd2 fix(region): mongodb sync fix 2021-08-03 11:59:56 +08:00
Zexi Li
d67159616b Merge pull request #11782 from ioito/hotfix/qx-mongodb-fix
fix(region): mongodb sync fix
2021-08-03 11:44:59 +08:00
Qu Xuan
b5a45e8535 fix(region): mongodb sync fix 2021-08-03 11:00:46 +08:00
Stargic
0a48cde828 fix(climc): modify the code logic of starting "Port-Forward SSH" 2021-08-02 23:18:26 +08:00
Stargic
d5298db0bb feat(climc): add Port-Forward SSH in server-ssh 2021-08-02 23:18:26 +08:00
Qu Xuan
6a735d4850 feat(region): add cloudpods 2021-08-02 20:45:06 +08:00
Zexi Li
5548a00f2d Merge pull request #11777 from zhaoxiangchun/feature/zxc-meter-pro-domain-master
fix(monitor): fix resource details can't show monitor metric
2021-08-02 19:57:27 +08:00
Zexi Li
cc3d992791 Merge pull request #11774 from rainzm/scheduler/quota
fix(scheduler): make option EnableQuotaCheck work
2021-08-02 18:00:35 +08:00
zhaoxiangchun
f3ddc97472 fix(monitor): fix resource details can't show monitor metric 2021-08-02 17:30:20 +08:00
rainzm
a34e59f21f fix(scheduler): make option EnableQuotaCheck work 2021-08-02 14:25:47 +08:00
Zexi Li
c81bd1c418 Merge pull request #11772 from rainzm/webapp/azure
Webapp in azure
2021-08-02 12:09:13 +08:00
rainzm
cd79e2d4a3 feat(climc): add operation of app and appenvironment 2021-08-02 11:46:09 +08:00
rainzm
64f5e09439 feat(multicloud): support webapp for azure 2021-08-02 11:45:50 +08:00
rainzm
f8e53027d6 feat(region): add App and AppEnvironment 2021-08-02 11:44:25 +08:00
Zexi Li
c2f27f7d7d Merge pull request #11770 from tb365/bugfix/tb-bugfix-080201
add host type count api
2021-08-02 11:34:38 +08:00
tb365
7aa8802a1f add host type count api 2021-08-02 10:51:26 +08:00
Zexi Li
7843f36b81 Merge pull request #11761 from rainzm/scheduler/fix_network_nic_count
fix: avoid double counting when compute networks nic count
2021-07-31 11:38:23 +08:00
yunion-ci-robot
c095acc039 Merge pull request #11758 from zexi/fix-baremetal-spec
fix(region): baremetal spec condition
2021-07-31 01:47:36 +08:00
rainzm
7d2fadb84c fix: avoid double counting when compute networks nic count 2021-07-30 20:01:19 +08:00
Zexi Li
e3a15c04d2 fix(region): baremetal spec condition 2021-07-30 17:07:27 +08:00
yunion-ci-robot
794c3cc34e Merge pull request #11754 from zexi/update-ansible-dockerfile
feat(build): update ansibleserver dockerfile
2021-07-29 19:31:33 +08:00
Zexi Li
3469c17b8e Merge pull request #11752 from zexi/disable-health-checker
fix(host,region): disable health checker by default
2021-07-29 19:23:51 +08:00
Zexi Li
e49a25adb1 feat(build): update ansibleserver dockerfile 2021-07-29 19:21:17 +08:00
Zexi Li
2b404c89d0 fix(host,region): disable health checker by default 2021-07-29 19:07:30 +08:00
Zexi Li
96655df67b Merge pull request #11748 from zexi/ansibleserver-tmp-cmd
feat(ansibleserver): record running cmd to debug
2021-07-29 16:40:03 +08:00
Zexi Li
ffb3cb06a9 Merge pull request #11741 from rainzm/vmware/net_dup
fix(region): prevent the creation of redundant network segments when managing vmware
2021-07-29 16:38:39 +08:00
yunion-ci-robot
861c1eea18 Merge pull request #11736 from zexi/fix/raise-network-attach-error
fix(region): raise GetNamedNetworkConfiguration error
2021-07-29 15:40:33 +08:00
Zexi Li
e36d317453 Merge pull request #11746 from swordqiu/hotfix/qj-cloud-events-purge
fix: purge splitable logs for cloudevents and logger
2021-07-29 15:39:40 +08:00
Zexi Li
33e45e46c8 feat(ansibleserver): record running cmd to debug 2021-07-29 12:01:59 +08:00
Qiu Jian
8f16f7eee3 fix: purge splitable logs for cloudevents and logger 2021-07-29 00:46:35 +08:00
Zexi Li
ef13e49acb Merge pull request #11743 from ioito/hotfix/qx-version-list
fix(climc): add version list command
2021-07-28 20:02:51 +08:00
Qu Xuan
1f87214bb9 fix(climc): add version list command 2021-07-28 19:45:44 +08:00
rainzm
b02a8a4ee6 fix(region): prevent the creation of redundant network segments when managing vmware 2021-07-28 17:41:47 +08:00
Zexi Li
cc5bc646bf fix(region): raise GetNamedNetworkConfiguration error 2021-07-28 17:23:29 +08:00
Zexi Li
705d7a0076 Merge pull request #11734 from zhaoxiangchun/bugfix/zxc-monitor-alert
feat(climc): register billsanalysis climc
2021-07-28 14:46:55 +08:00
zhaoxiangchun
ba50eed634 feat(climc): register billsanalysis climc 2021-07-28 11:59:14 +08:00
Zexi Li
3a0ef9d8d1 Merge pull request #11672 from zhaoxiangchun/bugfix/zxc-monitor-alert
fix(monitor): fix monitor bug
2021-07-28 10:17:22 +08:00
Zexi Li
3653a2dced Merge pull request #11673 from zexi/k8s-monitor-minio
feat(climc): add enable monitor minio component command
2021-07-27 18:08:06 +08:00
Zexi Li
78f3853c05 feat(climc): add enable monitor minio component command 2021-07-27 17:45:20 +08:00
Zexi Li
a23819c8d4 Merge pull request #11534 from ioito/hotfix/qx-swagger-api-update
fix(region): update swagger api
2021-07-27 11:56:05 +08:00
Qu Xuan
fa5d5a6eb9 fix(region): update swagger api 2021-07-27 11:46:31 +08:00
Zexi Li
73977d7f27 Merge pull request #11729 from swordqiu/hotfix/qj-simplify-project-domain-distinct-fields
fix: simplify SQL for distinct field query of tenant or domain names
2021-07-27 10:29:37 +08:00
Zexi Li
1b4fb41104 Merge pull request #11727 from ioito/hotfix/qx-status-resource-count
feat(region): add status count filter by params
2021-07-27 10:28:58 +08:00
Qiu Jian
a1d472d41c fix: simplify SQL for distinct field query of tenant or domain names 2021-07-27 01:16:47 +08:00
Zexi Li
7d5e37fd99 Merge pull request #11724 from rainzm/sotrage/sync_fix
fix(region): fetch zone before syncing promise cloud provider storages
2021-07-26 18:56:33 +08:00
Zexi Li
d1d48fc077 Merge pull request #11720 from ioito/hotfix/qx-openstack-ip-pre-allocate
fix(region): openstack ip pre allocate
2021-07-26 18:43:42 +08:00
Qu Xuan
d7f4eafee1 feat(region): add status count filter by params 2021-07-26 17:56:36 +08:00
rainzm
84f2e555e5 fix(region): fetch zone before syncing promise cloud provider storages 2021-07-26 17:18:13 +08:00
Zexi Li
73133de5bc Merge pull request #11719 from zexi/fix-dependabot-alerts
fix(vendor): github dependabot alerts
2021-07-26 15:30:01 +08:00
Qu Xuan
6b2999e151 fix(region): openstack ip pre allocate 2021-07-26 15:26:23 +08:00
Zexi Li
306cacce47 Merge pull request #11715 from ioito/hotfix/qx-cpu-desc
fix(region): cpu desc too long
2021-07-26 14:35:53 +08:00
Zexi Li
375d8bf4b4 fix(vendor): github dependabot alerts 2021-07-26 14:27:52 +08:00
Qu Xuan
e82228ac10 fix(region): cpu desc too long 2021-07-26 10:04:57 +08:00
yunion-ci-robot
f5a0fbc920 Merge pull request #11711 from zexi/hotfix/host-gpu-iommu-group
fix(host): find same vendor iommu_group devices
2021-07-25 00:13:31 +08:00
Zexi Li
675fc64fa1 fix(host): find same vendor iommu_group devices 2021-07-24 21:40:27 +08:00
Zexi Li
4d71dc11cf Merge pull request #11707 from ioito/hotfix/qx-qcloud-secgroup-update
fix(region): update qcloud secgroup rule
2021-07-23 18:22:09 +08:00
Qu Xuan
4f8942974f fix(region): update qcloud secgroup rule 2021-07-23 17:34:49 +08:00
Zexi Li
f4512a85db Merge pull request #11701 from ioito/hotfix/qx-azure-quota-sync
fix(region): azure quota sync
2021-07-23 14:22:09 +08:00
Zexi Li
1798f6a562 Merge pull request #11691 from ioito/hotfix/qx-account-aksk-err
fix(region): account aksk error
2021-07-23 14:21:37 +08:00
Zexi Li
251397f487 Merge pull request #11700 from rainzm/notify/get_types
feat(notify): add receivers query in receivers/get-types
2021-07-22 19:41:56 +08:00
Zexi Li
7cb8a308ef Merge pull request #11699 from ioito/hotfix/qx-waf-default-action
fix(region): sync aws waf default action
2021-07-22 19:41:22 +08:00
Qu Xuan
9193558e03 fix(region): azure quota sync 2021-07-22 19:34:25 +08:00
Qu Xuan
42046aaf6f fix(region): sync aws waf default action 2021-07-22 16:29:14 +08:00
zhaoxiangchun
303b7e1a52 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor-alert 2021-07-22 15:39:45 +08:00
Zexi Li
fe427e4fc5 Merge pull request #11693 from rainzm/agent/baremetal
feat: support install monitor agent in baremetal
2021-07-22 15:29:34 +08:00
Zexi Li
50641a1240 Merge pull request #11698 from rainzm/storage/sync_lock
fix(region): avoid panic when locking
2021-07-22 15:28:20 +08:00
Zexi Li
7827869c04 Merge pull request #11695 from swordqiu/hotfix/qj-qemu-img-create-large-local-disk-fail
fix: qemu-img create disk may fail to preallocation=metadata enable for large disk
2021-07-22 15:27:44 +08:00
rainzm
9058aecac1 feat(notify): add receivers query in receivers/get-types 2021-07-22 12:19:46 +08:00
Qiu Jian
af03ed60ea fix: qemu-img create disk may fail to preallocation=metadata enable for
large disk

error report: failed to flush the refcount block cache: File too large
2021-07-22 12:15:13 +08:00
rainzm
3485be17e5 fix(region): avoid panic when locking 2021-07-22 11:12:04 +08:00
rainzm
83b73bf63f feat: support install monitor agent in baremetal 2021-07-21 19:46:04 +08:00
Qu Xuan
07f6771f26 fix(region): account aksk error 2021-07-21 18:57:35 +08:00
Zexi Li
f266d883dd Merge pull request #11685 from ioito/hotfix/qx-kafka-delete
fix(region): aliyun kafka delete
2021-07-20 21:16:29 +08:00
Zexi Li
53b6f037d2 Merge pull request #11686 from rainzm/agent/custom_telegraf
Use custom version Telegraf as monitor agent
2021-07-20 21:15:58 +08:00
Zexi Li
3d925988a8 Merge pull request #11681 from ioito/hotfix/qx-policy-filter-by-role
fix(keystone): policy filter by role
2021-07-20 21:15:12 +08:00
Zexi Li
d0dabe0e19 Merge pull request #11682 from ioito/hotfix/qx-waf-cloud-resource
fix(region): waf cloud resources
2021-07-20 21:13:34 +08:00
rainzm
bbb95343e2 feat: update file-repo version 2021-07-20 19:42:15 +08:00
rainzm
0e06f9c6cc feat: use yunion's customized version of telegraf in file-repo 2021-07-20 19:41:23 +08:00
Zexi Li
45c96f3837 Merge pull request #11663 from rainzm/hostdeployer/checkOrAddUser
feat(hostdeployer): change UserAdd to CheckOrAddUser
2021-07-20 18:54:12 +08:00
Qu Xuan
7cfbaaf0e0 fix(region): aliyun kafka delete 2021-07-20 17:43:09 +08:00
Qu Xuan
7ec42db3ca fix(keystone): policy filter by role 2021-07-20 14:32:28 +08:00
Qu Xuan
fe84e0f0e8 fix(region): waf cloud resources 2021-07-20 14:19:43 +08:00
Zexi Li
6ca9ef3e45 Merge pull request #11645 from zhaoxiangchun/feature/zxc-cloudmon-master
feat(cloudmon): add cloudmon component
2021-07-20 10:01:51 +08:00
Zexi Li
c6c7ff2c30 Merge pull request #11679 from zexi/automated-cherry-pick-of-#11678-upstream-master
Automated cherry pick of #11678: fix(build): baremetal arm64 build
2021-07-19 20:22:27 +08:00
Zexi Li
9617ca4379 fix(build): baremetal arm64 build 2021-07-19 20:21:25 +08:00
Zexi Li
8fb3c9c342 Merge pull request #11674 from ioito/hotfix/qx-rds-network-sync
fix(region): rds network sync
2021-07-19 18:50:03 +08:00
Qu Xuan
155b036524 fix(region): return rds networks info 2021-07-19 17:28:36 +08:00
Qu Xuan
b8c443263b fix(region): rds network sync 2021-07-19 17:15:09 +08:00
zhaoxiangchun
1eaccaf72f fix(monitor): fix monitor bug
1.支持修改默认报警策略:查询周期、连续周期和静默期
2.监控总览-图表中过滤已删除机器信息
2021-07-19 15:54:51 +08:00
Zexi Li
4b5e36af87 Merge pull request #11671 from ioito/hotfix/qx-kafka-usage
fix(region): kafka usage
2021-07-19 15:48:18 +08:00
Qu Xuan
ca7989c76d fix(region): kafka usage 2021-07-19 15:38:07 +08:00
Zexi Li
bd3cb27061 Merge pull request #11646 from ioito/feat/qx-kafka
Feat/qx kafka
2021-07-19 15:02:37 +08:00
Qu Xuan
d725cf0597 feat(region): add kafka sync 2021-07-19 14:40:45 +08:00
Zexi Li
53583e101d Merge pull request #11667 from ioito/hotfix/qx-id-sql
fix(keystone): avoid sql error
2021-07-19 14:21:56 +08:00
Zexi Li
8f73468124 Merge pull request #11664 from ioito/hotfix/qx-waf-sync-id
fix(region): avoid aws waf sync lost id
2021-07-19 14:19:28 +08:00
Qu Xuan
4fe0e8e5be fix(keystone): avoid sql error 2021-07-19 14:03:29 +08:00
rainzm
941b6df117 feat(hostdeployer): change UserAdd to CheckOrAddUser
If the user already exists, use the existing user and its information; otherwise, create a new user
2021-07-19 11:15:30 +08:00
Qu Xuan
d881abf9a0 fix(region): avoid aws waf sync lost id 2021-07-19 10:57:09 +08:00
zhaoxiangchun
8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
Zexi Li
b611779d6e Merge pull request #11658 from ioito/hotfix/qx-azure-subscription-state
fix(region): sync auzre subscription health status
2021-07-16 11:24:08 +08:00
Zexi Li
27ba9f4616 Merge pull request #11661 from ioito/hotfix/qx-climc-fix
fix(climc): json tag
2021-07-16 11:13:44 +08:00
Qu Xuan
4bb922eb08 fix(climc): json tag 2021-07-16 11:06:43 +08:00
Qu Xuan
75f7188bc6 fix(region): sync auzre subscription health status 2021-07-16 10:53:16 +08:00
Zexi Li
9157bd7ba0 Merge pull request #11643 from zhaoxiangchun/feature/zxc-monitor_sheild_master
feat(monitor): monitor alertRecord support set shield
2021-07-16 10:24:07 +08:00
Zexi Li
a351d9bcaf Merge pull request #11641 from swordqiu/feature/qj-server-migrate-network
feature: allow server switch network without service interruption
2021-07-15 19:17:19 +08:00
yunion-ci-robot
112f96f3c6 Merge pull request #11647 from zexi/fix/megaraid-sn-empty
fix(baremetal): compatible with SN empty of MegaRaid
2021-07-15 18:27:04 +08:00
Zexi Li
f4c56684de Merge pull request #11634 from rainzm/notify/get_types
Fix for Notify Config and Robot
2021-07-15 18:26:45 +08:00
Zexi Li
e9a71b803f Merge pull request #11657 from ioito/hotfix/qx-aws-waf-label
fix(region): support aws waf label
2021-07-15 18:24:53 +08:00
Zexi Li
5c7bbd0131 Merge pull request #11644 from tb365/bugfix/tb-bugfix-0701401
azure lb sync listener frontip fix
2021-07-15 18:24:08 +08:00
Qu Xuan
144ffbf593 fix(region): support aws waf label 2021-07-15 16:42:20 +08:00
Zexi Li
625d1451f4 fix(baremetal): compatible with SN empty of MegaRaid 2021-07-15 10:29:06 +08:00
Zexi Li
7555235dc1 Merge pull request #11642 from ioito/hotfix/qx-waf-sync
fix(region): aws waf sync
2021-07-15 09:44:12 +08:00
Zexi Li
5d22442439 Merge pull request #11637 from ioito/feat/qx-tdsql
fix(region): add qcloud tdsql
2021-07-15 09:44:00 +08:00
Qiu Jian
d3da7426f2 fix: migrate interface before commit desc 2021-07-14 21:05:31 +08:00
Zexi Li
7cfdc7f04f Merge pull request #11650 from bistuzx/master
feat(meter): add meter cost conversion
2021-07-14 18:52:16 +08:00
bistuzx@163.com
afd560c6f9 add meter cost conversion 2021-07-14 18:05:59 +08:00
Qiu Jian
fe1dd1daa1 minor fixes 2021-07-14 16:53:07 +08:00
Qiu Jian
58313432f1 fix: add codes to switch bridge of ovs port 2021-07-14 16:31:22 +08:00
Qiu Jian
0d3cfac329 feature: allow server switch network without service interruption 2021-07-14 16:31:22 +08:00
zhaoxiangchun
805c80370e feat(monitor): support monitor shield
1.报警屏蔽功能:
  1)以报警资源为基础需求中报警数据中拆分的要求
2021-07-14 12:20:11 +08:00
tb365
05729f87ff azure health check fix 2021-07-14 11:49:18 +08:00
Zexi Li
1490260d19 Merge pull request #11626 from swordqiu/hotfix/qj-support-bfq-io-scheduler
fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
2021-07-14 11:07:08 +08:00
tb365
9d0f27f734 azure lb sync listener frontip fix 2021-07-14 10:03:25 +08:00
Qiu Jian
0529327e13 fix: compatible with new io scheduler(bfq/mq-deadline) of new Linux kernel
1. support bfq/mq-deadline multiqueue io scheduler
2. add delay for link setup
2021-07-14 02:18:05 +08:00
zhaoxiangchun
0a7c587117 feat(monitor): monitor alertRecord support set shield
1.报警记录支持设置屏蔽时间
2.报警记录展示重构
3.报警通知中过滤已经设置屏蔽的资源
2021-07-13 20:14:39 +08:00
Zexi Li
ac13da6bb8 Merge pull request #11638 from ioito/hotfix/qx-remove-debug-info
fix(region): remove debug info
2021-07-13 20:10:51 +08:00
Qu Xuan
809448134d fix(region): add qcloud tdsql 2021-07-13 19:48:10 +08:00
Qu Xuan
53825d5362 fix(region): aws waf sync 2021-07-13 18:59:08 +08:00
Qu Xuan
20b151fbc2 fix(region): remove debug info 2021-07-13 17:25:58 +08:00
rainzm
8b0b4bdf30 fix(notify): init config name 2021-07-13 15:36:48 +08:00
rainzm
cd8529556d fix(notify): init robot correctly from old data 2021-07-13 15:36:48 +08:00
rainzm
f591013358 feat(notify): Gets the available notification types for the receiver 2021-07-13 15:36:45 +08:00
Zexi Li
cc5578e31d Merge pull request #11600 from rainzm/vmware/storage_sync
fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
2021-07-13 10:46:36 +08:00
Zexi Li
585f9e802f Merge pull request #11635 from tb365/bugfix/tb-pre-login-hook-fix
feat(yunionapi): pre login hook fix
2021-07-13 10:45:55 +08:00
tb365
6f91fa7a45 feat(yunionapi): pre login hook fix 2021-07-13 10:13:39 +08:00
Zexi Li
820492aa9c Merge pull request #11627 from ioito/hotfix/qx-server-eip-allocate
fix(region): allocate server eip without hostwire restrict
2021-07-12 18:40:13 +08:00
Zexi Li
b959476732 Merge pull request #11595 from ioito/feat/qx-elk
Feat/qx elk
2021-07-12 16:04:08 +08:00
Zexi Li
12b485caab Merge pull request #11582 from rainzm/robot/update
fix(notify): Support selective update of robot field
2021-07-12 14:54:32 +08:00
yunion-ci-robot
57a1832ff8 Merge pull request #11628 from tb365/bugfix/tb-keystone-user-not-found-fix
fix(keystone): user not found error fix
2021-07-12 13:58:01 +08:00
tb365
05b8eccb17 fix(keystone): user not found error fix 2021-07-12 13:37:10 +08:00
Qu Xuan
04872867c3 fix(region): allocate server eip without hostwire restrict 2021-07-12 11:52:03 +08:00
Zexi Li
fedfe32ada Merge pull request #11592 from rainzm/agent/install
feat(devtool): use server forward direct for guest with kvm hypervisor
2021-07-12 10:28:17 +08:00
Zexi Li
b9a7b19282 Merge pull request #11617 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor): fix monitor resourece update
2021-07-12 10:27:32 +08:00
Qu Xuan
021f5d9241 feat(region): support elasticsearch sync 2021-07-12 09:48:54 +08:00
Zexi Li
89d86f6ac5 Merge pull request #11622 from rainzm/esxi/dbackend
fix(region): set DefaultSysDiskBackend as empty for esxi guest
2021-07-10 10:53:55 +08:00
rainzm
606045bcef fix(region): sync storage before syncing host in syncOnPremiseCloudProviderInfo
场景:重新构建了某个存储,相当于把之前某个存储上的所有虚拟机迁移到一个新的存储上。

因为没有syncStorage,所以在同步syncHostStorge的时候无法disconnect host
和 没有的storage,这是因为storage上还有host的虚拟机。syncHostStorages
会失败,storageCache 也就不会同步,上面的icloudImage也不会同步。
2021-07-09 19:19:53 +08:00
rainzm
8f92195928 fix(region): set DefaultSysDiskBackend as empty for esxi guest 2021-07-09 19:09:57 +08:00
yunion-ci-robot
0d9403a298 Merge pull request #11609 from zexi/hotfix/baremetal-redfish-poweron-fallback
fix(baremetal): use ipmitool power reset when redfish power on error
2021-07-09 18:52:00 +08:00
Zexi Li
815cd9faf7 Merge pull request #11620 from tb365/bugfix/tb-update-vendor-070901
update vendor
2021-07-09 17:22:18 +08:00
rainzm
955cf6500b feat(devtool): use server forward direct for guest with kvm hypervisor 2021-07-09 16:10:59 +08:00
tb365
a83ff5bf98 update vendor 2021-07-09 16:07:29 +08:00
Zexi Li
539f68309b fix(baremetal): use ipmitool power reset when redfish power on error 2021-07-09 14:43:12 +08:00
zhaoxiangchun
4c2bca8f8b fix(monitor): fix monitor resourece update
1.通过region返回的obj更新监控资源时 remove掉id信息
2021-07-09 12:36:46 +08:00
Zexi Li
713278b457 Merge pull request #11603 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor):  alert policy use ownerId when update
2021-07-09 12:06:57 +08:00
Zexi Li
1cd0995efa Merge pull request #11610 from swordqiu/hotfix/qj-host-detach-wire-bugs
fix: host detach wire not update netinterface
2021-07-09 11:49:49 +08:00
Qiu Jian
184a6a0817 fix: host detach wire not update netinterface 2021-07-09 10:35:24 +08:00
Zexi Li
6cfdfb4002 Merge pull request #11593 from tb365/bugfix/tb-bugfix-0700701
Bugfix/tb bugfix 0700701
2021-07-09 10:32:59 +08:00
zhaoxiangchun
3c499f209c fix(monitor): alert policy use ownerId when update
1.根据参数中的project和domain属性调用FetchOwnerId方法,然后确定报警策略归属并进行监控查询过滤
2021-07-09 10:10:30 +08:00
Zexi Li
72fc836846 Merge pull request #11601 from swordqiu/feature/qj-google-oidc-identity-provider
Feature/qj google oidc identity provider
2021-07-09 10:00:00 +08:00
Qiu Jian
788ad518c2 minor fixes 2021-07-08 22:44:42 +08:00
Zexi Li
89e9ad2339 Merge pull request #11580 from ioito/hotfix/qx-manager-name-update
fix(region): update manager name
2021-07-08 22:15:45 +08:00
yunion-ci-robot
f5133e156c Merge pull request #11563 from zexi/host-aware-kubelet-config
feat(host): aware of kubelet eviction config
2021-07-08 20:03:01 +08:00
yunion-ci-robot
b77be40a30 Merge pull request #11597 from rainzm/lvm/fine
fix(host-deployer): make SKVMGuestLVMPartition work find
2021-07-08 18:40:59 +08:00
rainzm
0a75aaad6e fix(host-deployer): make SKVMGuestLVMPartition work fine
1. add needChangeName to indicate whether to change the name when
   putting down
2. remove unnecessary IsVgActice
3. findPartitions from /dev/{vgname}/{lvname} or
   /dev/mapper/{vgname}-{lvname}
2021-07-08 18:15:56 +08:00
Zexi Li
79a4303be8 Merge pull request #11590 from ioito/hotfix/qx-jdcloud-rds-err
fix(region): validate jdcloud rds err
2021-07-08 11:28:08 +08:00
Zexi Li
65cf01b029 Merge pull request #11588 from ioito/hotfix/qx-azure-china-redis
fix(region): avoid sync azure china redis failed
2021-07-08 11:27:57 +08:00
Zexi Li
d9c5e408b3 Merge pull request #11548 from ioito/hotfix/qx-mongodb
feat(region): add mongodb
2021-07-08 11:26:55 +08:00
Zexi Li
d23ff37679 Merge pull request #11587 from zhaoxiangchun/fix/zxc-query-restType
feat(monitor): update monitor resource overview
2021-07-08 10:30:35 +08:00
Qiu Jian
f08ea8b2c8 feature: support Google Oauth2.0 2021-07-08 02:27:05 +08:00
Zexi Li
e770f4f653 feat(host): aware of kubelet eviction config 2021-07-07 21:27:39 +08:00
zhaoxiangchun
0919c2ee3e feat(monitor): update monitor resource overview
1.调整监控总览-报警资源逻辑
启用禁用策略时对报警资源进行对应的挂载和解绑
2021-07-07 20:36:11 +08:00
Zexi Li
119c5b155d Merge pull request #11583 from rainzm/error/handle
fix(region): handle the error of RequestGuestCreateAllDisks
2021-07-07 20:29:07 +08:00
tb365
5649af2192 azure elb support sync ip backend 2021-07-07 20:13:56 +08:00
tb365
be5aeda1b1 azure application lb sync fix 2021-07-07 18:17:36 +08:00
Qu Xuan
875abe66d6 fix(region): validate jdcloud rds err 2021-07-07 18:09:54 +08:00
Qu Xuan
247d10f65b fix(region): avoid sync azure china redis failed 2021-07-07 17:53:14 +08:00
Zexi Li
818c2ae917 Merge pull request #11586 from ioito/hotfix/qx-azure-redis-capability
fix(region): azure cache capability
2021-07-07 17:19:14 +08:00
Qu Xuan
7f3ac39f30 fix(region): azure cache capability 2021-07-07 17:02:51 +08:00
rainzm
4dd1ecc793 fix(region): handle the error of RequestGuestCreateAllDisks 2021-07-07 15:43:36 +08:00
rainzm
06f23b26e8 fix(notify): Support selective update of robot field 2021-07-07 15:38:11 +08:00
Zexi Li
45be44e179 Merge pull request #11575 from rainzm/gst
fix(notify): set default lang 'zh_CN' for robot
2021-07-07 09:38:12 +08:00
Zexi Li
7b0d4f8826 Merge pull request #11579 from ioito/hotfix/qx-jd-rds-port
fix(region): update jdcloud rds port
2021-07-07 09:37:50 +08:00
Zexi Li
fa2ce19c74 Merge pull request #11570 from rainzm/hostdeployer/win10_pwd
feat(hostdeployer): change the way fo GetLoginAccount in windows
2021-07-06 22:22:26 +08:00
Zexi Li
5c1006d0f9 Merge pull request #11557 from tb365/feature/tb-support-azure-elb
support azure elb sync
2021-07-06 20:42:06 +08:00
Qu Xuan
9187d9abf7 fix(region): update manager name 2021-07-06 20:23:57 +08:00
Qu Xuan
53746609ab fix(region): update jdcloud rds port 2021-07-06 19:51:06 +08:00
yunion-ci-robot
c64a29c3b9 Merge pull request #11574 from zexi/fix-uefi-probe
fix(host-deployer): detect UEFI supported not correct
2021-07-06 19:51:03 +08:00
rainzm
5ab4cc9e7f fix(notify): set default lang 'zh_CN' for robot 2021-07-06 19:25:53 +08:00
Zexi Li
cf7b226c37 fix(host-deployer): detect UEFI supported not correct 2021-07-06 18:16:16 +08:00
rainzm
6e164070d3 feat(hostdeployer): change the way fo GetLoginAccount in windows
首先,如果不是win10,并且 windowsDefaultAdminUser 置为 true,以及
Administrator 没有lock,那么使用 Administrator。
否则,优先使用第一个没有被锁定且不是 Administrator 的user,如果最后没有
符合条件的user,且Adminstrator 没有被lock,就是用 Administrator。
否则,报错。
2021-07-06 17:35:33 +08:00
yunion-ci-robot
dd5f6595b0 Merge pull request #11564 from zexi/open-euler-support
feat(host): add openEuler rootFs driver
2021-07-06 15:29:00 +08:00
tb365
a0a5d088d0 azure lb global id to lowercase 2021-07-06 15:10:47 +08:00
Zexi Li
6e8993a220 feat(host): add openEuler rootFs driver 2021-07-06 14:49:34 +08:00
Zexi Li
ca21e3d122 Merge pull request #11567 from ioito/hotfix/qx-azure-waf-sync
fix(region): sync azure waf instance
2021-07-06 14:36:54 +08:00
Qu Xuan
67e393b673 fix(region): sync azure waf instance 2021-07-06 14:34:41 +08:00
Zexi Li
1c824eb2e3 Merge pull request #11547 from ioito/hotfix/qx-guest-disk-info
fix(region): return disk type
2021-07-06 12:24:17 +08:00
tb365
eb55569436 lb backend group details add lb_listener_count 2021-07-06 09:49:40 +08:00
Qu Xuan
69a6aedf17 feat(region): add mongodb 2021-07-05 16:49:48 +08:00
Zexi Li
9d97fdf4eb Merge pull request #11560 from zexi/update-owners
update OWNERS
2021-07-05 15:55:25 +08:00
Zexi Li
75a745368f update OWNERS 2021-07-05 15:53:17 +08:00
tb365
bb10f3ef3a support azure elb sync 2021-07-05 11:22:21 +08:00
Zexi Li
4302385438 Merge pull request #11554 from swordqiu/hotfix/qj-add-cloudroot-as-system-account
fix: add cloudroot as system account, so as not using normal user id
2021-07-04 10:26:31 +08:00
Qiu Jian
31b5866e47 fix: add cloudroot as system account, so as not using normal user id 2021-07-03 17:25:28 +08:00
Jian Qiu
64af16114b fix: minor changes of LICENSE and README (#11553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-07-03 12:36:18 +08:00
Qu Xuan
5d1b907933 fix(region): return disk type 2021-07-02 15:44:49 +08:00
Zexi Li
116b8b81a8 Merge pull request #11537 from rainzm/notify/template
Notify templates
2021-07-02 11:36:56 +08:00
Zexi Li
681be2df90 Merge pull request #11543 from zexi/automated-cherry-pick-of-#11542-upstream-master
Automated cherry pick of #11542: fix(climc): update climc-base image to 20210701
2021-07-02 11:28:33 +08:00
Zexi Li
3b06b4c0ef fix(climc): update climc-base image to 20210701 2021-07-02 10:13:54 +08:00
Zexi Li
a4a04866a7 Merge pull request #11539 from swordqiu/hotfix/qj-abort-windows-ntfs-resize-for-2003
fix: do not use ntfsresize to resize NTFS partition
2021-07-02 10:01:04 +08:00
Qiu Jian
179562bc40 fix: do not use ntfsresize to resize NTFS partition
This makes resizing windows 2003 ntfs partition non-functional
2021-07-02 09:13:37 +08:00
rainzm
0b3f18830c feat(notify): add save api for notify template 2021-07-01 18:44:39 +08:00
rainzm
cd40909dec fix(notify): add create tag fro Attribution in SConfig 2021-07-01 18:42:15 +08:00
Zexi Li
11b04454f2 Merge pull request #11372 from ioito/hotfix/qx-dry-run
fix(common): supported dry run
2021-06-30 20:41:53 +08:00
Zexi Li
f06e5d8f7e Merge pull request #11530 from ioito/hotfix/qx-aliyun-vnc
fix(webconsole): aliyun vnc windows ctl+alt+del
2021-06-30 20:09:28 +08:00
Qu Xuan
1498e69e46 fix(webconsole): aliyun vnc windows ctl+alt+del 2021-06-30 19:58:50 +08:00
Zexi Li
8437d59c5f Merge pull request #11522 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): update alert panel scope by  alert dashboard
2021-06-30 10:30:47 +08:00
Zexi Li
38b465d766 Merge pull request #11527 from zhaoxiangchun/fix/zxc-query-restType
fix(monitor): fix monitor process alert
2021-06-30 10:25:52 +08:00
zhaoxiangchun
9c6d0b8252 fix(monitor): fix monitor process alert
修复进程监控报警后,没有触发前端报警提示的问题
2021-06-30 09:46:44 +08:00
yunion-ci-robot
573aad4093 Merge pull request #11524 from zexi/fix/sched-baremetal-network
fix(scheduler): baremetal network free address out of count
2021-06-29 23:24:16 +08:00
Zexi Li
c8facc9489 fix(scheduler): baremetal network free address out of count 2021-06-29 20:24:35 +08:00
zhaoxiangchun
b2835c5d8a fix(monitor): update alert panel scope by alert dashboard 2021-06-29 17:23:41 +08:00
Zexi Li
fd2e0f7ddf Merge pull request #11506 from ioito/hotfix/qx-qcloud-memcache
fix(region): add qcloud memcached sync
2021-06-29 10:01:52 +08:00
Zexi Li
20feba39ca Merge pull request #11483 from ioito/hotfix/qx-jd-balanec
fix(region): format jd cloud balance
2021-06-29 10:01:07 +08:00
Zexi Li
885bc8e540 Merge pull request #11518 from swordqiu/hotfix/qj-servers-directory-in-symbol-link-dir
fix(host): allow server directory a symbol link to directory in other location
2021-06-29 10:00:27 +08:00
Zexi Li
b54f7f4087 Merge pull request #11521 from swordqiu/hotfix/qj-update-readme-simplify-install-steps
fix: simplify installation stes to two steps
2021-06-29 09:57:37 +08:00
Qiu Jian
09570b0f16 fix: simplify installation stes to two steps 2021-06-29 01:38:31 +08:00
Qiu Jian
7765ec0e3b fix(host): allow server directory a symbol link to directory in other
location
2021-06-29 00:01:19 +08:00
Zexi Li
79865d12ef Merge pull request #11514 from zhaoxiangchun/feature/zxc-alertpanel-name
fix(monitor): fix alert record not return resource details
2021-06-28 20:21:46 +08:00
Qu Xuan
f615862db3 fix(region): add qcloud memcached sync 2021-06-28 19:51:05 +08:00
Zexi Li
1f70773522 Merge pull request #11490 from ioito/feat/qx-redis-azure
feat(region): add azure redis
2021-06-28 19:43:03 +08:00
Zexi Li
022863ff10 Merge pull request #11503 from ioito/hotfix/qx-opslog-id
fi(region): avoid opslog without resource id
2021-06-28 19:41:40 +08:00
Zexi Li
dcf4d23d16 Merge pull request #11502 from ioito/hotfix/qx-waf-purge
fix(region): waf purge with account delete
2021-06-28 19:41:12 +08:00
Zexi Li
4b9626d9e4 Merge pull request #11494 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): update monitor resourece joint scope
2021-06-28 19:40:38 +08:00
zhaoxiangchun
7310d612e6 fix(monitor): fix alert record not return resource details 2021-06-28 19:39:03 +08:00
Zexi Li
e6e2f21f5e Merge pull request #11507 from ioito/hotfix/qx-snapshot-sync
fix(region): avoid panic when sync snapshot project
2021-06-28 19:36:34 +08:00
Zexi Li
f2b252a4ad Merge pull request #11509 from rainzm/esxi/host_datacenter
fix: get datacenter of host via GetDatacenter
2021-06-28 19:35:34 +08:00
Qu Xuan
049cf670ad fix(region): avoid panic when sync snapshot project 2021-06-28 18:14:03 +08:00
rainzm
e52a9a7add fix: get datacenter of host via GetDatacenter 2021-06-28 18:13:45 +08:00
Qu Xuan
7fc23cb683 fi(region): avoid opslog without resource id 2021-06-28 17:19:35 +08:00
Qu Xuan
71b0c07bc2 fix(region): waf purge with account delete 2021-06-28 16:37:50 +08:00
Zexi Li
72c8aa74f0 Merge pull request #11500 from zexi/automated-cherry-pick-of-#11498-upstream-master
Automated cherry pick of #11498: fix(region): baremetal server change ip address reuse
2021-06-28 15:07:25 +08:00
Zexi Li
2d5e9b1574 fix(region): baremetal server change ip address reuse 2021-06-28 14:45:17 +08:00
zhaoxiangchun
f8b690602d fix(monitor): update monitor resourece joint scope
1.将agent监控报警策略关联到虚拟机资源
2021-06-28 12:16:00 +08:00
Zexi Li
0911c243aa Merge pull request #11492 from zhaoxiangchun/feature/zxc-customsize-billing
feat(climc): update meter dimension climc
2021-06-28 11:36:41 +08:00
Qu Xuan
59eb84fb27 feat(region): add azure redis 2021-06-28 10:56:38 +08:00
zhaoxiangchun
cff9cbc2f8 feat(climc): update meter dimension climc 2021-06-26 22:20:28 +08:00
Zexi Li
bc7d77cd0c Merge pull request #11489 from rainzm/region/remove_debug
fix(cloudcommon): remove unnecessary  debug info
2021-06-25 18:31:39 +08:00
Zexi Li
1137ac549c Merge pull request #11486 from ioito/hotfix/qx-batch-validate-create
fix(common): batch validate create
2021-06-25 18:31:15 +08:00
Zexi Li
60cc2cbc1e Merge pull request #10970 from rainzm/scheduler/hostnetwork
feat(scheduler): optimize the speed of network predicate
2021-06-25 18:27:19 +08:00
rainzm
15ee20a4ab fix(cloudcommon): remove unnecessary debug info 2021-06-25 17:03:50 +08:00
rainzm
cc5b93ea41 feat: add interface INetworkNicCountGetter 2021-06-25 15:54:48 +08:00
rainzm
bf977bb745 feat(scheduler): optimize the speed of network predicate 2021-06-25 15:53:59 +08:00
Qu Xuan
a87a8f2f41 fix(common): batch validate create 2021-06-25 15:49:02 +08:00
Zexi Li
1766549f2d Merge pull request #11478 from rainzm/notify/distinct
fix(notify): distinct field of receivers
2021-06-24 20:14:25 +08:00
Zexi Li
2d77a1a048 Merge pull request #11484 from ioito/hotfix/qx-remove-app-gateway
fix(region): remove app gateway
2021-06-24 20:13:26 +08:00
Qu Xuan
9d6dc3540f fix(region): remove app gateway 2021-06-24 17:39:40 +08:00
Qu Xuan
bc4d1d7b8b fix(region): format jd cloud balance 2021-06-24 15:37:37 +08:00
Zexi Li
4183fdbd46 Merge pull request #11424 from rainzm/notify/domain_subs
Notify managed by domain admin
2021-06-24 10:42:16 +08:00
rainzm
1c865268f8 fix(notify): distinct field of receivers 2021-06-24 10:39:15 +08:00
rainzm
cb335c1086 feat(region): remove webhook notify in guest.PostUpdate 2021-06-24 10:30:06 +08:00
rainzm
83ac629652 feat(notify): compatible with webhook configuration 2021-06-24 10:30:06 +08:00
rainzm
311d0efb80 feat(notify,region): improvement of news subscription 2021-06-24 10:30:01 +08:00
rainzm
7630589465 feat(notify): add action 'change_ipaddr' for notify topic 2021-06-24 10:29:35 +08:00
rainzm
066efeea65 feat(notify): adjust subscribers when deleting bots and recipients 2021-06-24 10:29:35 +08:00
rainzm
04d930ab2b feat(notify): topic and subscriber at the domain level 2021-06-24 10:29:35 +08:00
rainzm
1d1bb6c381 feat(notify): advanced notify config and robot
1. Notify config has now become a domain resource, so that each domain can have its own configuration about notify.
   The domains has no configuration will use system config.
2. Robot separates from config and becomes a shared project resource. Sending information to robot can
   choose which robot to send to.
2021-06-24 10:29:35 +08:00
Zexi Li
c22c9eb021 Merge pull request #11471 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor): add jenkins metric desc
2021-06-24 10:02:30 +08:00
Zexi Li
06180e53b5 Merge pull request #11473 from rainzm/region/sync_faster_v1
Sync VMware resource faster
2021-06-24 10:01:24 +08:00
rainzm
17db82c1ee feat(esxi): disable sync cloudimage from image cache 2021-06-23 17:01:29 +08:00
rainzm
9a114b5fe5 feat(esxi): reduce the number of requests and the amount of data transferred 2021-06-23 17:01:28 +08:00
rainzm
9f0fdb2913 feat(region): add ProhibitRefreshingCloudImage for options 2021-06-23 17:01:28 +08:00
zhaoxiangchun
589c80356f feat(monitor): add jenkins metric desc 2021-06-23 15:27:19 +08:00
Zexi Li
92f81cee39 Merge pull request #11453 from ioito/hotfix/qx-skip-qcloud-start-err
fix(region): ignore qcloud vm start error
2021-06-23 11:54:42 +08:00
yunion-ci-robot
22e73bd5cd Merge pull request #11457 from zexi/vm-netplan
feat(host): support netplan configuration
2021-06-23 11:39:11 +08:00
Zexi Li
fe1b4e5370 Merge pull request #11463 from ioito/hotfix/qx-server-stop-reason
fix(hostman): show server status changed reason
2021-06-23 10:53:20 +08:00
Zexi Li
2e4fef2f29 Merge pull request #11461 from zhaoxiangchun/feature/zxc-overview-monitor-resource
fix(monitor): fix monitor overview
2021-06-23 10:51:37 +08:00
Zexi Li
02e57f7e8f feat(host): support netplan configuration 2021-06-23 10:08:09 +08:00
Zexi Li
5c6200af4b Merge pull request #11460 from ioito/feat/qx-jd-cloud-rds
feat(region): support jd cloud rds
2021-06-22 18:40:08 +08:00
Zexi Li
8f307e4b38 Merge pull request #11458 from ioito/hotfix/qx-azure-rds-sql-server
fix(region): add azure sql server
2021-06-22 18:39:34 +08:00
Qu Xuan
dc879ab8d7 fix(hostman): show server status changed reason 2021-06-22 17:58:26 +08:00
zhaoxiangchun
e228f19bb4 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-22 17:06:49 +08:00
zhaoxiangchun
f6d7f07c7e fix(monitor): fix monitor overview
1.监控总览中资源报警统计支持项目钻取
2. 资源报警状态修复
2021-06-22 17:04:09 +08:00
Qu Xuan
89f06f2f1f fix(region): add azure sql server 2021-06-22 16:48:48 +08:00
Qu Xuan
11f1f9756e feat(region): support jd cloud rds 2021-06-22 16:01:00 +08:00
Zexi Li
9766509e3e Merge pull request #11454 from zhaoxiangchun/bugfix/zxc-mon
fix(monitor): exit monitor engine in time when happen err
2021-06-21 23:49:37 +08:00
zhaoxiangchun
9b493fb593 fix(monitor): exit monitor engine in time when happen err 2021-06-21 16:08:48 +08:00
Qu Xuan
1c27836c7c fix(region): ignore qcloud vm start error 2021-06-21 14:32:28 +08:00
Zexi Li
145463eeb0 Merge pull request #11448 from zexi/baremetal-remove-bundle-lib
fix(baremetal): remove bundle libs build
2021-06-21 10:42:48 +08:00
Zexi Li
54250d3d80 fix(baremetal): remove bundle libs build 2021-06-21 10:29:41 +08:00
Zexi Li
0276d6a5de Merge pull request #11443 from zhaoxiangchun/feature/zxc-agent-metirc
fix(monitor): fix agent monitor query
2021-06-21 00:34:37 +08:00
Zexi Li
2ca045cc3a Merge pull request #11439 from rainzm/receiver/filter
feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain
2021-06-21 00:34:20 +08:00
Zexi Li
1c69f5c1cc Merge pull request #11428 from zhaoxiangchun/feature/zxc-overview-monitor-resource
feat(monitor) 3.7 add monitor resource overview
2021-06-21 00:33:31 +08:00
Zexi Li
89005b9a4a Merge pull request #11316 from ioito/feat/qx-aliyun-waf
feat(region): waf
2021-06-21 00:32:59 +08:00
yunion-ci-robot
b18fcc3c30 Merge pull request #11433 from zexi/scheduler-reuse-baremetal-ip
fix(region,scheduler): baremetal reuse ip
2021-06-19 22:39:58 +08:00
Zexi Li
3348d708a3 Merge pull request #11446 from swordqiu/hotfix/qj-update-readme-20210618
fix: update README to add user list and bilibili URL
2021-06-19 15:34:11 +08:00
Zexi Li
ecd52cbb82 Merge pull request #11447 from yunionio/add-code-of-conduct-1
Create CODE_OF_CONDUCT.md
2021-06-19 12:57:29 +08:00
Jian Qiu
d0a7d89f3e Create CODE_OF_CONDUCT.md 2021-06-19 00:03:50 +08:00
Qiu Jian
32bfd5211f fix: update README to add user list and bilibili URL 2021-06-18 23:42:14 +08:00
Qu Xuan
f3dbe33671 feat(region): waf 2021-06-18 19:14:27 +08:00
Zexi Li
257fc28196 Merge pull request #11422 from ioito/feat/qx-app-gateway
feat(region): add app gateway resource
2021-06-18 19:09:26 +08:00
zhaoxiangchun
40f33db2a2 fix(monitor): fix agent monitor query
1.修复agent监控查询图表显示id的问题
2021-06-18 18:52:34 +08:00
Zexi Li
2b390f0a1e Merge pull request #11441 from ioito/hotfix/qx-pm-disable
fix(region): skip disabled project mapping
2021-06-18 18:32:22 +08:00
zhaoxiangchun
640dfe7b4e Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-overview-monitor-resource 2021-06-18 18:18:25 +08:00
Qu Xuan
711fbb6c3b fix(region): skip disabled project mapping 2021-06-18 18:04:04 +08:00
zhaoxiangchun
4ac0042153 feat(monitor) 3.7 add monitor resource overview
1. 监控中增加资源统计
2. 资源在报警总览中的状态:
   init--未设置告警;alerting--发生告警;/attach--已关联策略并且报警消息正常
3.只涉及宿主机和虚拟机

https://bug.yunion.io/zentao/task-view-3130.html
2021-06-18 17:46:40 +08:00
Zexi Li
8c8d779f80 Merge pull request #11419 from ioito/hotfix/qx-cloudprovider-filter
fix(region): add project filter for cloudprovider
2021-06-18 16:21:06 +08:00
Zexi Li
97a9060bc8 Merge pull request #11436 from ioito/hotfix/qx-manager-extra-filed
fix(region): manager distinct field
2021-06-18 16:20:56 +08:00
Zexi Li
49749609b4 fix(region,scheduler): baremetal reuse ip 2021-06-18 15:45:50 +08:00
rainzm
ed5dac6244 feat(notify): filter all recipients in this domain and recipients who have joined projects in this domain 2021-06-18 15:20:30 +08:00
Qu Xuan
bda4737518 fix(region): manager distinct field 2021-06-18 14:19:23 +08:00
Zexi Li
16109e41a9 Merge pull request #11430 from zexi/fix/host-sched-cache
fix(region): clean schedule cache when host add or delete netif
2021-06-18 11:16:06 +08:00
Zexi Li
574e1f3cdf fix(region): clean schedule cache when host add or delete netif 2021-06-18 11:02:40 +08:00
yunion-ci-robot
6e43c3f972 Merge pull request #11425 from bistuzx/master
add meter billing exchange rate module
2021-06-17 23:53:53 +08:00
bistuzx@163.com
f88ea19a76 add module billing exchange rate 2021-06-17 19:36:35 +08:00
Qu Xuan
77c8d9f787 feat(region): add app gateway resource 2021-06-17 18:12:07 +08:00
Qu Xuan
8ab645e60d fix(region): add project filter for cloudprovider 2021-06-17 17:18:10 +08:00
Zexi Li
7959fb28a4 Merge pull request #11402 from ioito/hotfix/qx-pm-info
fix(region): show project mapping managers info
2021-06-17 14:57:00 +08:00
Zexi Li
d146d72284 Merge pull request #11413 from swordqiu/hotfix/qj-support-windows-2003
fix: support windows 2003
2021-06-17 10:18:27 +08:00
Zexi Li
036b1fa6fd Merge pull request #11415 from swordqiu/hotfix/qj-skip-resize-lvm-partition
fix: do not resize LVM paritition and skip and return success
2021-06-17 09:48:04 +08:00
Qiu Jian
56025bc557 fix: support windows 2003 2021-06-17 09:44:47 +08:00
Qiu Jian
4e65ec00c4 fix: do not resize LVM paritition and skip and return success 2021-06-17 01:53:09 +08:00
yunion-ci-robot
6110b13ff9 Merge pull request #11205 from zexi/feat/bm-no-bmc-management
feat(baremetal): support management of none BMC host
2021-06-16 23:26:53 +08:00
Zexi Li
c6dd12a813 Merge pull request #11404 from ioito/hotfix/qx-qcloud-bw
fix(region): ignore qcloud bw pkg error
2021-06-16 20:09:47 +08:00
Zexi Li
0956a55189 Merge pull request #11406 from yousong/feature/yousong-webconsole-zombie
webconsole: wait zombies
2021-06-16 20:08:51 +08:00
Yousong Zhou
f519b88f69 webconsole: wait zombies 2021-06-16 19:32:20 +08:00
Qu Xuan
502718ec19 fix(region): ignore qcloud bw pkg error 2021-06-16 18:18:11 +08:00
Qu Xuan
b5cc187ec1 fix(region): show project mapping managers info 2021-06-16 16:53:33 +08:00
Zexi Li
6179886b7c fix(baremetal): record uefi info 2021-06-16 12:49:17 +08:00
Zexi Li
331f6c1f6e Merge pull request #11397 from ioito/hotfix/qx-resource-status
fix(region): add status resource statistic
2021-06-15 16:32:00 +08:00
Qu Xuan
aef09a0504 fix(region): add status resource statistic 2021-06-15 14:10:13 +08:00
Jian Qiu
93d946816f fix: change site URL to www.cloudpods.org (#11396)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-06-13 03:21:31 +08:00
Zexi Li
d7670a7de0 Merge pull request #11380 from rainzm/notify/verified
fix(notify): clean verifiedNote when marking verified
2021-06-11 17:48:55 +08:00
Zexi Li
4e8b343b46 Merge pull request #11376 from ioito/hotfix/qx-qcloud-bandwidth-pkg
fix(region): qcloud bandwidth pkg
2021-06-11 17:48:49 +08:00
Zexi Li
83d89d1a61 Merge pull request #11375 from ioito/hotfix/qx-host-storage-update
fix(host): update rbd storage capacity
2021-06-11 17:46:28 +08:00
Zexi Li
279eacd9be Merge pull request #11367 from ioito/hotfix/qx-manager-tag-sync
fix(region): support cloudprovider bind project mapping
2021-06-11 17:45:48 +08:00
Zexi Li
72060e0c0a Merge pull request #11388 from zexi/doc-issue-template
fix(github): document template add enhancement label
2021-06-11 16:45:58 +08:00
Zexi Li
e709bb2f98 fix(github): document template add enhancement label 2021-06-11 16:45:02 +08:00
Zexi Li
36e4ee6ffb Merge pull request #11374 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-11 16:20:38 +08:00
Qu Xuan
4763059f7d fix(region): qcloud bandwidth pkg 2021-06-11 14:43:03 +08:00
Zexi Li
b67c9dec06 Merge pull request #11383 from zexi/doc-issue-template
feat(github): add document issue template
2021-06-11 14:04:52 +08:00
Zexi Li
9790f54b7a feat(github): add document issue template 2021-06-11 14:03:07 +08:00
rainzm
6f0290ca72 fix(notify): clean verifiedNote when marking verified 2021-06-11 10:04:46 +08:00
Qiu Jian
b4bb9c724b fix: update README 20210610 2021-06-11 00:40:57 +08:00
Qu Xuan
d76f366c57 fix(host): update rbd storage capacity 2021-06-10 19:33:14 +08:00
Qu Xuan
1bc8e38452 fix(region): support cloudprovider bind project mapping 2021-06-10 15:48:16 +08:00
Zexi Li
519b774e73 Merge pull request #11347 from zhaoxiangchun/feature/zxc-customsize-billing
feat(mcclient): add bills dimension climc
2021-06-10 05:33:46 +08:00
Zexi Li
39888576c2 Merge pull request #11369 from ioito/hotfix/qx-rbd-storage-used
fix(host): get ceph used capacity
2021-06-10 05:32:29 +08:00
Zexi Li
75f45a5440 Merge pull request #11373 from swordqiu/hotfix/qj-update-readme
fix: update README 20210610
2021-06-10 05:30:38 +08:00
Qiu Jian
2354722cce fix: update README 20210610 2021-06-10 01:10:54 +08:00
Qu Xuan
705e068a6e fix(common): supported dry run 2021-06-09 20:12:44 +08:00
Qu Xuan
0144f03cd6 fix(host): get ceph used capacity 2021-06-09 19:24:28 +08:00
zhaoxiangchun
79f08937ab feat(mcclient): add bills dimension climc 2021-06-09 11:15:13 +08:00
Zexi Li
0b0ac0f151 Merge pull request #11310 from ioito/hotfix/qx-sync-panic
fix(region): avoid vmware sync hosts panic
2021-06-08 23:28:55 +08:00
Zexi Li
67dae3171a Merge pull request #11338 from rainzm/agent/tags
Add some tags to the monitoring data generated by the agent
2021-06-08 23:27:11 +08:00
Zexi Li
893030a080 Merge pull request #11340 from ioito/hotfix/qx-huawei-group-role
fix(cloudid): huawei group role attach and detach
2021-06-08 23:14:58 +08:00
Zexi Li
044227f20c Merge pull request #11349 from ioito/hotfix/qx-saml-provider-create
fix(cloudid): avoid duplicate create saml provider
2021-06-08 23:13:12 +08:00
Zexi Li
303844ce97 Merge pull request #11354 from ioito/feat/qx-export-keys
feat(apigateway): support export dict keys
2021-06-08 23:11:45 +08:00
Zexi Li
14e811f954 Merge pull request #11357 from ioito/hotfix/qx-storage-update
fix(region): avoid storage update not work
2021-06-08 23:09:58 +08:00
Zexi Li
18c1cc28ac Merge pull request #11361 from ioito/hotfix/qx-snapshot-validate
fix(region): validate disk status when create snapshot
2021-06-08 23:08:11 +08:00
Qu Xuan
82af2f702b fix(region): validate disk status when create snapshot 2021-06-08 20:04:50 +08:00
Qu Xuan
9c520ee7a7 fix(region): avoid storage update not work 2021-06-08 17:32:24 +08:00
Qu Xuan
557fd96cc0 feat(apigateway): support export dict keys 2021-06-08 16:14:01 +08:00
Qu Xuan
6ff1610ff3 fix(cloudid): avoid duplicate create saml provider 2021-06-08 14:18:07 +08:00
yunion-ci-robot
82f969e408 Merge pull request #11311 from ioito/hotfix/qx-huawei-disk-tags
fix(region): huawei disk tags
2021-06-08 10:50:26 +08:00
Zexi Li
35e4258898 fix(baremetal): nvme allocable 2021-06-07 18:11:36 +08:00
Zexi Li
72a6fab20b Merge pull request #11332 from ioito/hotfix/qx-sku-attachd-disk
fix(region): validate attached disk size and backend
2021-06-07 17:43:23 +08:00
Zexi Li
9198c4d94e Merge pull request #11335 from zhaoxiangchun/feature/zxc-customsize-billing
fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile
2021-06-07 17:42:33 +08:00
Qu Xuan
85f3ddc3f7 fix(cloudid): huawei group role attach and detach 2021-06-07 17:28:01 +08:00
rainzm
95412c1290 feat(build): change file repo version in Dockerfile.ansibleserver 2021-06-07 17:01:14 +08:00
rainzm
0d33ecd28c feat(devtool): add some tags 2021-06-07 17:00:15 +08:00
rainzm
9a01d83eeb fix(anisbleserver): support complex yaml config in ansibleplaybook_instance 2021-06-07 16:59:01 +08:00
zhaoxiangchun
9a3310b92d fix(telegraf-raid-plugin): add image-telegraf-raid-plugin in Makefile 2021-06-07 16:18:07 +08:00
Qu Xuan
90cc8250b6 fix(region): validate attached disk size and backend 2021-06-07 15:43:35 +08:00
Zexi Li
d23b0a51f1 Merge pull request #11306 from ioito/hotfix/qx-skip-quota-check
fix(region): skip server migrate quota check
2021-06-07 10:28:11 +08:00
Qu Xuan
ba25d3910e fix(region): skip server migrate quota check 2021-06-07 10:13:13 +08:00
Zexi Li
865cd5b48d Merge pull request #11331 from swordqiu/hotfix/qj-add-reddit
fix: add reddit contact
2021-06-06 12:20:52 +08:00
Qiu Jian
cfd3a15b66 fix: add reddit contact 2021-06-06 10:10:36 +08:00
Zexi Li
d555adc7f7 Merge pull request #11326 from ioito/hotfix/qx-guest-tags
fix(region): sync tags with new guest
2021-06-06 00:54:24 +08:00
Zexi Li
96a8c09f37 Merge pull request #11330 from swordqiu/hotfix/qj-update-readme-20210606
fix: update README embed image
2021-06-06 00:53:53 +08:00
Qiu Jian
13f61a1d71 fix: update README embed image 2021-06-06 00:50:14 +08:00
Zexi Li
a459586e43 Merge pull request #11329 from swordqiu/hotfix/qj-improve-documentation-20210605
fix: README improvement
2021-06-06 00:07:57 +08:00
Qiu Jian
cd1c242908 fix: README improvement 2021-06-05 23:43:39 +08:00
Zexi Li
516837ab22 Merge pull request #11320 from zhaoxiangchun/feature/zxc-jdcloud-monitor
fix: 修复云账号和宿主机报警问题
2021-06-05 12:16:30 +08:00
Zexi Li
565b2db732 Merge pull request #11328 from swordqiu/hotfix/qj-improve-documentation-20200604
fix: improve documentation
2021-06-05 12:15:47 +08:00
Qiu Jian
2cc64af6fc fix: improve documentation 2021-06-05 03:40:05 +08:00
Qu Xuan
e461f87a9e fix(region): sync tags with new guest 2021-06-04 23:09:00 +08:00
Zexi Li
ee82adba4f Merge pull request #11297 from tb365/bugfix/tb-bugfix-060301
fix(region): lb local cert sync fix
2021-06-04 21:09:46 +08:00
Zexi Li
6016ae2121 Merge pull request #11299 from swordqiu/hotfix/qj-hpsactl-skip-empty-slots
fix: hpssacli should skip empty slots
2021-06-04 21:04:07 +08:00
Zexi Li
a63864b04a Merge pull request #11324 from swordqiu/hotfix/qj-readme-improvement-20210604
fix: improve readme
2021-06-04 21:02:52 +08:00
Qiu Jian
89a83dea5d fix: improve readme 2021-06-04 20:44:29 +08:00
yunion-ci-robot
88df4c912a Merge pull request #11325 from yousong/bugfix/yousong-readme-icon
README.md: update icon URLs
2021-06-04 20:35:27 +08:00
Yousong Zhou
98d5fb0728 README.md: update icon URLs 2021-06-04 20:25:46 +08:00
Zexi Li
ea1d46efe3 Merge pull request #11318 from ioito/hotfix/qx-guest-delete-with-disk
fix(region): avoid guest delete not with disks
2021-06-04 19:46:22 +08:00
zhaoxiangchun
cf29c44bbb fix: 修复云账号和宿主机报警问题
1.云账号报警时过滤掉已经禁用的云账号
2.修复宿主机报警时资源名称重复的问题
2021-06-04 19:23:25 +08:00
Qu Xuan
b5aa64d91b fix(region): avoid guest delete not with disks 2021-06-04 19:15:28 +08:00
Qu Xuan
7b6f28eefa fix(region): huawei disk tags 2021-06-04 14:36:20 +08:00
Qu Xuan
0a5ec52484 fix(region): avoid vmware sync hosts panic 2021-06-04 12:04:41 +08:00
Zexi Li
fb7b322256 Merge pull request #11305 from swordqiu/hotfix/qj-update-readme-20210604
fix: improve README
2021-06-04 09:53:56 +08:00
Qiu Jian
09e1e1ced2 fix: improve README 2021-06-04 02:01:38 +08:00
Qiu Jian
b7133f715b fix: hpssacli should skip empty slots
hpssacli may fail when detect disks on empty slots, which cause raid
detection failure
2021-06-03 19:31:52 +08:00
Zexi Li
ef7bc9e09d feat(baremetal): add UEFI related util 2021-06-03 19:02:52 +08:00
tb365
daf496a5b6 fix(region): lb local cert sync fix 2021-06-03 18:46:06 +08:00
Zexi Li
7e83136fe0 Merge pull request #11296 from zhaoxiangchun/feature/zxc-jdcloud-monitor
feat: support jdcloud pull monitor metric
2021-06-03 18:10:29 +08:00
zhaoxiangchun
81da6c3af9 feat: support jdcloud pull monitor metric 2021-06-03 15:11:22 +08:00
Zexi Li
88b8a97c63 Merge pull request #11289 from ioito/hotfix/qx-guest-start-params
fix(host): avoid panic when params is nil
2021-06-03 11:42:21 +08:00
Qu Xuan
8192af65ef fix(host): avoid panic when params is nil 2021-06-03 11:24:31 +08:00
Zexi Li
3f87a6fc6f fix(baremetal): close ssh test client 2021-06-03 02:43:31 +08:00
Zexi Li
7c6e861d71 Merge pull request #11284 from zexi/glance-s3-image-check-status
fix(glance): add option of s3 image status check
2021-06-02 11:17:55 +08:00
Zexi Li
00069a6070 fix(glance): add option of s3 image status check 2021-06-02 10:44:16 +08:00
Zexi Li
1b25544bc6 Merge pull request #11279 from ioito/hotfix/qx-disk-resize-deadlock
fix(region): avoid deadlock when resize disk
2021-06-01 19:19:10 +08:00
Zexi Li
03e2e2f816 Merge pull request #11274 from ioito/hotfix/qx-disable-auto-ip-allocate
fix(region): disable public cloud ip pre allocate
2021-06-01 18:55:08 +08:00
Zexi Li
2923ce2e13 Merge pull request #11261 from rainzm/jdcloud/init
Jdcloud/init
2021-06-01 18:52:38 +08:00
rainzm
276102a229 fix: add default security group rules and priorities to JDCloud 2021-06-01 18:36:29 +08:00
rainzm
bbbcadcedb add secgroup-list 2021-06-01 18:35:28 +08:00
rainzm
74f1868556 fix(multicloud): get the storage type of the disk correctly 2021-06-01 15:43:10 +08:00
Qu Xuan
30800f7320 fix(region): avoid deadlock when resize disk 2021-06-01 14:09:40 +08:00
Zexi Li
2814f482b0 Merge pull request #11268 from swordqiu/hotfix/qj-windows-extend-file-system
fix: windows resize file system
2021-06-01 11:54:46 +08:00
Qiu Jian
6c8b8441d4 fix: windows resize file system 2021-05-31 23:59:17 +08:00
Qu Xuan
a7c9ba3760 fix(region): disable public cloud ip pre allocate 2021-05-31 15:06:01 +08:00
rainzm
4783fb7540 feat(multicloud): add JdcloudTags 2021-05-31 10:15:53 +08:00
rainzm
928a801c87 update vendor 2021-05-31 10:15:53 +08:00
rainzm
00f94399fb feat: support JDCloud (Host read only) 2021-05-31 10:15:50 +08:00
Zexi Li
0f4de0dbdf Merge pull request #11266 from ioito/hotfix/qx-aws-json-unmarshal
fix(region): fix aws json unmarshal error
2021-05-31 09:56:02 +08:00
tb365
458ff46624 add jdcloud reigon&host&guest driver 2021-05-31 09:31:33 +08:00
tb365
4c369d19f3 add jd cloud constants 2021-05-31 09:31:33 +08:00
Qu Xuan
4a2e3e066f fix(region): fix aws json unmarshal error 2021-05-29 12:30:46 +08:00
Zexi Li
c712b71533 Merge pull request #11264 from ioito/hotfix/qx-tag-base
fix(region): split provider tag sync
2021-05-28 20:36:18 +08:00
Qu Xuan
4af24a2928 fix(region): split provider tag sync 2021-05-28 20:18:10 +08:00
yunion-ci-robot
04c97d538b Merge pull request #11258 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status
2021-05-28 20:10:17 +08:00
zhaoxiangchun
219b853ecc fix(host): raid status 2021-05-28 19:56:14 +08:00
Zexi Li
f56b5352b1 Merge pull request #11253 from tb365/bugfix/tb-bugfix-052801
fix(region): lbcert cache clean duplicate data fix
2021-05-28 19:18:08 +08:00
Zexi Li
3fcaef556f Merge pull request #11256 from ioito/hotfix/qx-request-timeout
fix(cloudid): remove debug code
2021-05-28 19:17:29 +08:00
Zexi Li
5b4192a018 Merge pull request #11249 from ioito/hotfix/qx-project-sync-optimized
fix(region): optimized disk eip snapshot project sync
2021-05-28 19:17:01 +08:00
Qu Xuan
814bec45f9 fix(cloudid): remove debug code 2021-05-28 15:53:35 +08:00
tb365
9cfc6a1e59 fix(region): lbcert cache clean duplicate data fix 2021-05-28 15:45:39 +08:00
Zexi Li
15b5034695 Merge pull request #11245 from swordqiu/hotfix/qj-apigateway-regions-filter-by-domain-illegal-mix-of-collations
fix: get apigateway auth/regions with error of illegal mix of collations
2021-05-28 15:43:22 +08:00
Zexi Li
06f4b32e4c Merge pull request #11251 from ioito/hotfix/qx-project-mapping-sync
fix(region): project sync condition
2021-05-28 15:28:54 +08:00
Qu Xuan
ec72fbbcc4 fix(region): project sync condition 2021-05-28 15:14:32 +08:00
Qu Xuan
e80be2b586 fix(region): optimized disk eip snapshot project sync 2021-05-28 14:31:51 +08:00
Qiu Jian
a087863ab0 fix: get apigateway auth/regions with error of illegal mix of collations 2021-05-28 09:37:43 +08:00
Zexi Li
7f7651c6d5 Merge pull request #11217 from ioito/hotfix/qx-qcloud-tags
fix(region): optimized aliyun qcloud tags sync
2021-05-27 20:33:24 +08:00
Zexi Li
b1e5fa1fb5 Merge pull request #11228 from ioito/hotfix/qx-secgroup-typo
fix(region): translation errors
2021-05-27 19:49:52 +08:00
Zexi Li
7163831fe0 Merge pull request #11226 from tb365/bugfix/tb-bugfix-052601
fix(region): lb cert name fix
2021-05-27 19:45:21 +08:00
Zexi Li
88e6f8acb0 Merge pull request #11240 from zexi/hotfix/resuce-mode-migrate
fix(region): migrate use rescue mode
2021-05-27 19:43:27 +08:00
Zexi Li
2ff170229c Merge pull request #11242 from zexi/revert-raid-status
Revert "fix(host): raid status fix"
2021-05-27 19:42:37 +08:00
Zexi Li
54855736a6 Revert "fix(host): raid status fix"
This reverts commit 392f5ab237.
2021-05-27 19:39:39 +08:00
Zexi Li
67f4bc5bbc Merge pull request #11233 from zhaoxiangchun/feature/zxc-raid-plugin
fix(host): raid status fix
2021-05-27 19:36:13 +08:00
Zexi Li
72d779c1b9 fix(region): migrate use rescue mode 2021-05-27 19:32:46 +08:00
zhaoxiangchun
392f5ab237 fix(host): raid status fix
1. All status are online except offline.
2021-05-27 15:59:24 +08:00
Qu Xuan
d1c34a60c2 fix(region): optimized azure aliyun qcloud tags sync 2021-05-27 10:53:17 +08:00
Qu Xuan
314d664ff2 fix(region): translation errors 2021-05-27 10:46:16 +08:00
tb365
2252e1951a fix(region): lb cert name fix 2021-05-26 17:20:21 +08:00
Zexi Li
f5f3619f03 Merge pull request #11219 from ioito/hotfix/qx-kvm-local-disk
fix(host): avoid delete removed disk failed
2021-05-26 14:21:48 +08:00
Zexi Li
6c5bba7dd2 feat(baremetal): support management of none BMC host 2021-05-25 21:06:47 +08:00
Qu Xuan
352ceefedd fix(host): avoid delete removed disk failed 2021-05-25 20:59:57 +08:00
Zexi Li
39e5d51f6a Merge pull request #11201 from ioito/hotfix/qx-azure-deploy-failed
fix(region): show azure deploy failed error
2021-05-25 19:08:30 +08:00
Zexi Li
6ed30e7b9d Merge pull request #11212 from ioito/hotfix/qx-aws-tag
fix(region): aws vpc network eip disk tags sync
2021-05-25 19:07:43 +08:00
Qu Xuan
920369021d fix(region): aws vpc network eip disk tags sync 2021-05-25 17:43:11 +08:00
Zexi Li
932d194a85 Merge pull request #11166 from zexi/feat/migrate-forecast
feat(region): add server migration predication API
2021-05-25 17:03:27 +08:00
Qu Xuan
f8d58a4eda fix(region): show azure deploy failed error 2021-05-25 10:33:47 +08:00
Zexi Li
0333d41fb8 Merge pull request #11198 from ioito/hotfix/qx-project-mapping-with-account
fix(region): restrict account project mapping
2021-05-24 18:16:34 +08:00
Zexi Li
cb12ff21ab Merge pull request #11191 from ioito/hotfix/qx-azure-tags
fix(region): azure uniform tags
2021-05-24 17:23:08 +08:00
Zexi Li
ff7c514f55 feat(region): add server migration predication API 2021-05-24 17:00:32 +08:00
Qu Xuan
8907dd4e8a fix(region): restrict account project mapping 2021-05-24 16:46:00 +08:00
Qu Xuan
ef70a95da9 fix(region): azure uniform tags 2021-05-24 15:01:31 +08:00
Zexi Li
83ab0f5925 Merge pull request #11178 from ioito/hotfix/qx-project-mapping-rules
fix(region): add project and domain info for project mapping rules
2021-05-24 10:15:52 +08:00
Zexi Li
bf1bd9aade Merge pull request #11177 from tb365/bugfix/tb-bugfix-052101
feat(region): loadbalancer certificate add purge methods
2021-05-24 10:14:57 +08:00
Zexi Li
eb79c9f311 Merge pull request #11180 from ioito/hotfix/qx-guest-disks
fix(region): avoid only query one guest disk
2021-05-23 00:12:30 +08:00
TangBin
f119385596 fix(region): gofmt fix 2021-05-21 10:20:27 +08:00
Qu Xuan
e7502720ae fix(region): avoid only query one guest disk 2021-05-21 09:49:46 +08:00
Qu Xuan
9d6813cee6 fix(region): add project and domain info for project mapping rules 2021-05-20 20:39:27 +08:00
Qu Xuan
74f0d51aee fix(region): check sku request error 2021-05-20 20:00:12 +08:00
Zexi Li
66c37925d6 Merge pull request #11168 from ioito/hotfix/qx-storage-filter
fix(region): add host_id options for storage filter
2021-05-20 18:54:17 +08:00
Zexi Li
5321302a93 Merge pull request #11170 from ioito/hotfix/qx-aws-session-cache
fix(region): avoid aws session not assume role
2021-05-20 18:52:53 +08:00
Zexi Li
f609004a4d Merge pull request #11172 from zhaoxiangchun/feature/zxc-storage-monitor
fix(monitor): fix storage tag
2021-05-20 18:51:38 +08:00
zhaoxiangchun
391b8b5175 fix(monitor): fix storage tag 2021-05-20 17:23:40 +08:00
Qu Xuan
6456fa3af0 fix(region): avoid aws session not assume role 2021-05-20 16:40:54 +08:00
Qu Xuan
4fcbef3e7f fix(region): add host_id options for storage filter 2021-05-20 14:38:49 +08:00
Zexi Li
ffe5b989c2 Merge pull request #11025 from zhaoxiangchun/feature/zxc-storage-monitor
feat(monitor): add storage monitor metric
2021-05-20 09:53:45 +08:00
Zexi Li
5f75296b6e Merge pull request #11164 from zexi/fix/pr-template-typo
fix(github): PR template typo
2021-05-20 09:46:42 +08:00
Zexi Li
995eb229a3 fix(github): PR template typo 2021-05-20 09:45:21 +08:00
Zexi Li
650588bd2e Merge pull request #11160 from ioito/hotfix/qx-sku-sync-err
fix(region): check sku request error
2021-05-19 23:30:45 +08:00
Qu Xuan
b12c265877 fix(region): check sku request error 2021-05-19 19:25:35 +08:00
Zexi Li
552c240590 Merge pull request #11159 from zexi/update-github-template
feat(github): update github PR and issue template
2021-05-19 18:33:34 +08:00
Zexi Li
2b475685eb feat(github): update github PR and issue template 2021-05-19 18:33:08 +08:00
Zexi Li
8c446c28c9 Merge pull request #11154 from ioito/hotfix/qx-azure-secgroup
fix(region): avoid azure secgroup sync removed
2021-05-19 17:41:14 +08:00
Zexi Li
c66fa8353d Merge pull request #11152 from ioito/hotfix/qx-project-mapping-index
fix(region): avoid index out of range panic
2021-05-19 17:40:03 +08:00
Zexi Li
b1ff45e91f Merge pull request #11158 from zexi/fix/readme-deadlinks
fix(readme): remove deadlinks
2021-05-19 17:38:13 +08:00
Zexi Li
fc2088dee8 fix(readme): remove deadlinks 2021-05-19 17:35:06 +08:00
Qu Xuan
d83bc8477d fix(region): avoid azure secgroup sync removed 2021-05-19 15:56:34 +08:00
Qu Xuan
df26704b36 fix(region): avoid index out of range panic 2021-05-19 15:34:08 +08:00
Zexi Li
b64934e330 Merge pull request #11148 from rainzm/ansible/opt
feat(ansible): add rolePublic and timeout options
2021-05-19 15:23:23 +08:00
Zexi Li
28c897d76e Merge pull request #11146 from ioito/hotfix/qx-project-mapping-details
fix(region): more accounts details for project mapping
2021-05-19 15:23:10 +08:00
Zexi Li
93889d2a7b Merge pull request #11139 from tb365/bugfix/tb-bugfix-051801
fix(region): ctyun delete secgroup fix
2021-05-19 15:22:05 +08:00
rainzm
8b3e591cfc feat(ansible): add rolePublic and timeout options 2021-05-19 11:23:03 +08:00
Qu Xuan
a33179e76e fix(region): more accounts details for project mapping 2021-05-18 17:55:38 +08:00
Zexi Li
4c5c713b41 Merge pull request #11142 from zexi/fix/image-nonstandard-update
fix(glance): make image is_standard updatable
2021-05-18 17:18:19 +08:00
Zexi Li
d88af7a6f7 fix(glance): make image is_standard updatable 2021-05-18 16:40:26 +08:00
Zexi Li
3b249f2402 Merge pull request #11134 from ioito/hotfix/qx-azure-domain
fix(cloudid): clouduser use default domain
2021-05-18 15:56:26 +08:00
Qu Xuan
8bc0ad557f fix(cloudid): clouduser use default domain 2021-05-18 15:18:05 +08:00
TangBin
33b0517d4a fix(region): ctyun delete secgroup fix 2021-05-18 14:54:33 +08:00
Zexi Li
227509fdca Merge pull request #11126 from rainzm/is/create
fix(region): check whether the disks of the instance snapshot is empty when creating vm
2021-05-17 22:36:47 +08:00
Zexi Li
d8bb4b6b4e Merge pull request #11130 from ioito/hotfix/qx-swagger-api
fix(docs): update swagger api
2021-05-17 22:36:00 +08:00
Qu Xuan
23290092d7 fix(docs): update swagger api 2021-05-17 19:59:00 +08:00
rainzm
2d725011d3 fix(region): check whether the disks of the instance snapshot is empty when creating vm 2021-05-17 17:06:00 +08:00
Zexi Li
fef8c6ddf4 Merge pull request #11052 from ioito/hotfix/qx-guest-list-optimized
fix(region): optimzed guest disks
2021-05-17 10:09:52 +08:00
Zexi Li
645f3aa254 Merge pull request #11101 from ioito/hotfix/qx-sku-optimized
fix(region): optimized server sku sku
2021-05-17 10:08:11 +08:00
Zexi Li
c607ce3fcd Merge pull request #11116 from rainzm/webhook/fix
webhook fix
2021-05-17 10:07:23 +08:00
Zexi Li
496569ad9e Merge pull request #11107 from rainzm/esxi/copydisk
fix(esxiagent): make the copied disk type as thin
2021-05-17 10:06:57 +08:00
Zexi Li
1df401cacf Merge pull request #11121 from rainzm/esxi/deploy
fix(esxiagent): execute deploy operation by default in AgentDeployGuest
2021-05-17 10:06:03 +08:00
yunion-ci-robot
b3485c997f Merge pull request #11123 from ioito/hotfix/qx-project-mapping-optional
fix(region): project mapping optional
2021-05-16 16:07:58 +08:00
屈轩
0fbbe57e4a fix(region): project mapping optional 2021-05-16 14:07:40 +08:00
rainzm
b44a6a053a fix(esxiagent): execute deploy operation by default in AgentDeployGuest 2021-05-14 19:04:15 +08:00
Zexi Li
4d7fa332ac Merge pull request #11112 from tb365/bugfix/tb-bugfix-051401
fix(region): aws sync disk missing image id fix
2021-05-14 17:32:44 +08:00
rainzm
f3e3a94eda fix(region): send webhook when the creation task is completely completed 2021-05-14 17:06:00 +08:00
rainzm
4a83028f7e fix(region): send webhook notification when delete dbinstance 2021-05-14 16:46:26 +08:00
TangBin
7a861689ff fix(region): aws sync disk missing image id fix 2021-05-14 15:17:42 +08:00
rainzm
5d32571262 fix(esxiagent): make the copied disk type as thin
磁盘首选精简制备,但是copy disk默认是预分配,所以需要特别指定为
精简制备
2021-05-14 14:59:53 +08:00
Qu Xuan
ec45559d32 fix(region): optimized server sku sku 2021-05-13 20:55:28 +08:00
Zexi Li
a737ab7346 Merge pull request #11094 from tb365/bugfix/tb-bugfix-051301
fix(region): remove snapshots checking for huawei cloud while delete …
2021-05-13 20:28:56 +08:00
Zexi Li
f213fab8e4 Merge pull request #11097 from ioito/hotfix/qx-sku-update
fix(region): allow update sku status
2021-05-13 20:27:26 +08:00
Qu Xuan
d35206bf1c fix(region): allow update sku status 2021-05-13 19:44:51 +08:00
Zexi Li
eeffacaee0 Merge pull request #11032 from ioito/hotfix/qx-aliyun-vpc-endpoint
fix(region): aliyun vpc endpoint
2021-05-13 18:51:40 +08:00
Zexi Li
3bbfbd75aa Merge pull request #11053 from ioito/hotfix/qx-sku-sched-clear
fix(region): optimized sku sched clear
2021-05-13 18:49:21 +08:00
Zexi Li
40e1d4112a Merge pull request #11095 from rainzm/event/notify
fix(region): use the previous method for guest notification instead of message subscription
2021-05-13 18:48:28 +08:00
rainzm
f5008a4329 fix(region): use the previous method for guest notification instead of message subscription 2021-05-13 17:38:15 +08:00
TangBin
113ef352ce fix(region): remove snapshots checking for huawei cloud while delete server 2021-05-13 15:28:13 +08:00
yunion-ci-robot
ed6511471c Merge pull request #11050 from rainzm/nginx/test
fix(ansibleserver): correct playbook path and role path
2021-05-13 11:55:56 +08:00
Qu Xuan
65d52dbabb fix(region): optimized sku sched clear 2021-05-13 11:05:53 +08:00
Qu Xuan
7f37398ae4 fix(region): aliyun vpc endpoint 2021-05-12 16:26:33 +08:00
Qu Xuan
8c21558fe5 fix(region): optimzed guest disks 2021-05-12 16:22:04 +08:00
rainzm
cb410623d4 fix(ansibleserver): correct playbook path 2021-05-12 16:21:33 +08:00
zhaoxiangchun
8685e96198 feat(monitor): add storage monitor metric
1.增加块存储storage监控信息:
  1)增加对应翻译信息
  2)监控信息和modules.Strorages接口进行交集取值
  3)返回信息处理
2021-05-12 16:19:47 +08:00
Zexi Li
a1a32a91bb Merge pull request #11048 from zexi/fix/glance-s3-put-image
fix(glance): set fail status when upload image to s3
2021-05-12 15:15:54 +08:00
Zexi Li
48cfdd5ed3 fix(glance): set fail status when upload image to s3 2021-05-12 15:00:13 +08:00
Zexi Li
707722e3e5 Merge pull request #11046 from zexi/automated-cherry-pick-of-#11045-upstream-master
Automated cherry pick of #11045: fix(baremetal): register baremetal name invalid
2021-05-12 14:52:51 +08:00
Zexi Li
64878713ef fix(baremetal): register baremetal name invalid 2021-05-12 13:07:11 +08:00
Zexi Li
3d9d4aa349 Merge pull request #11043 from rainzm/webhook/compatible
maintain compatibility with previous webhooks
2021-05-12 12:19:34 +08:00
Zexi Li
5c10959639 Merge pull request #11030 from rainzm/vmware/remote_update
fix(region): add RequestRemoteUpdate for ESXiGuestDriver
2021-05-12 12:01:48 +08:00
rainzm
ff47f8177d fix(region): maintain compatibility with webhook notify 2021-05-12 10:35:27 +08:00
rainzm
a28ff0400a fix(cloudcommon): disable EventNotify for now
The front end is not yet open, temporarily disable it to avoid meaningless logic and requests
2021-05-12 10:34:41 +08:00
Zexi Li
b5213930b4 Merge pull request #11036 from ioito/hotfix/qx-aliyun-nas-endpoint
fix(region): aliyun nas endpoint
2021-05-12 10:23:50 +08:00
Zexi Li
66f017fd87 Merge pull request #11041 from swordqiu/hotfix/qj-climc-docker-build-fail
fix: resolve conflict of climc docker build
2021-05-12 09:34:28 +08:00
Qiu Jian
49807175fe fix: resolve conflict of climc docker build 2021-05-12 09:04:52 +08:00
Zexi Li
d8a671e60b Merge pull request #11039 from zexi/fix/climc-rpm
fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh
2021-05-11 18:18:01 +08:00
Zexi Li
386b8e5c7f fix(climc): mv climc rpm package .bashrc to /etc/profile.d/climc.sh 2021-05-11 18:15:07 +08:00
Qu Xuan
b725729f0b fix(region): aliyun nas endpoint 2021-05-11 15:39:46 +08:00
rainzm
2c26b6fb3f fix(region): add RequestRemoteUpdate for ESXiGuestDriver 2021-05-11 11:38:18 +08:00
Zexi Li
7f1f68b57c Merge pull request #11010 from ioito/hotfix/qx-project-mapping
fix(region): support project mapping
2021-05-11 10:10:24 +08:00
Yousong Zhou
7bd835b8c8 Merge pull request #11023 from yousong/bugfix/yousong-cloudproxy
Bugfix/yousong cloudproxy
2021-05-11 09:52:58 +08:00
yunion-ci-robot
28e151ab34 Merge pull request #11027 from rainzm/lastseen/fix
fix for installing agent for vm
2021-05-11 09:51:54 +08:00
rainzm
9b7a33f432 fix(devtool): set 'task_id' and 'task_notify_url' in header 2021-05-10 19:54:11 +08:00
rainzm
09a9d4e493 fix(devtool): get 'lastseen' not 'last_seen' of forward 2021-05-10 18:53:17 +08:00
rainzm
f261db7ae8 feat(cloudproxy): add GetDetailsLastseen for forwards 2021-05-10 18:53:17 +08:00
Yousong Zhou
59f99c653a guests: sshable: fix breaking out from wait loop 2021-05-10 17:07:51 +08:00
Yousong Zhou
f6271885c1 cloudproxy: agent: no collision between ports of ssh conn and forwards 2021-05-10 17:07:51 +08:00
Qu Xuan
ff43472c61 fix(region): support project mapping 2021-05-10 16:13:29 +08:00
Yousong Zhou
a4d35457ca cloudproxy: agent: refresh every 11 seconds 2021-05-10 14:16:30 +08:00
Yousong Zhou
1457b37c7d cloudproxy: agent: ssh: wait ssh conn state while passing it out 2021-05-10 13:43:07 +08:00
Zexi Li
0319f28da6 Merge pull request #11011 from rainzm/pe/projectId
fix(cloudproxy): correct fetch projectId from server for PE
2021-05-10 12:07:49 +08:00
Zexi Li
5400c4ed03 Merge pull request #10996 from rainzm/snapshot/autosync
fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot
2021-05-10 12:05:38 +08:00
Zexi Li
e5a87af6fd Merge pull request #11016 from swordqiu/hotfix/qj-cloud-shell-init-by-backends
fix: init cloud shell by apigateway
2021-05-10 12:02:39 +08:00
Zexi Li
5e9f028b14 Merge pull request #11013 from swordqiu/hotfix/qj-missing-yunionconf-log
fix: missing yunionconf log
2021-05-10 12:00:04 +08:00
Qiu Jian
ea6797c606 fix: init cloud shell by apigateway 2021-05-09 01:33:36 +08:00
rainzm
f906d15a5e fix(cloudproxy): correct fetch projectId from server for PE 2021-05-08 22:25:00 +08:00
Qiu Jian
740b3c94aa fix: missing yunionconf log 2021-05-08 21:49:36 +08:00
Zexi Li
cd9c7290d9 Merge pull request #11005 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): alertpanel update don't chcek uniq name
2021-05-08 20:38:53 +08:00
Zexi Li
9576874b63 Merge pull request #11008 from yousong/feature/yousong-cloudproxy-pe-test
cloudproxy: test proxy endpoint connectivity and remote config
2021-05-08 20:38:33 +08:00
Yousong Zhou
cba91b54db cloudproxy: test proxy endpoint connectivity and remote config 2021-05-08 19:30:31 +08:00
zhaoxiangchun
ef607c52fa fix(monitor): alertpanel update don't chcek uniq name 2021-05-08 17:44:36 +08:00
zhaoxiangchun
6bb09d027b Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-08 17:30:31 +08:00
Zexi Li
8f6141ac42 Merge pull request #10978 from zhaoxiangchun/feature/zxc-agent-metirc
feat(monitor): add agent monitor metric
2021-05-08 17:27:01 +08:00
Zexi Li
6087a08de5 Merge pull request #10983 from zhaoxiangchun/bugfix/zxc-monitor
fix(monitor): monitor query : cloudaccount no data fix
2021-05-08 17:25:26 +08:00
Zexi Li
2fdacf53db Merge pull request #11000 from ioito/hotfix/qx-classic-network-sql
fix(region): wire sql fix
2021-05-08 16:09:59 +08:00
Qu Xuan
e2efeece3d fix(region): wire sql fix 2021-05-08 15:48:25 +08:00
zhaoxiangchun
c4d3ef6bd2 Merge branch 'master' into bugfix/zxc-monitor 2021-05-08 15:31:31 +08:00
zhaoxiangchun
2703c0c460 Merge branch 'master' into feature/zxc-agent-metirc 2021-05-08 15:30:33 +08:00
rainzm
a966210432 fix(region): continue to sync the snapshots that are being created when syncing auto created snapshot 2021-05-08 11:04:21 +08:00
Zexi Li
074c68f251 Merge pull request #10985 from ioito/hotfix/qx-azure-databricks
fix: add tag for databricks vm
2021-05-08 10:36:07 +08:00
Zexi Li
2887c9a5ca Merge pull request #10988 from ioito/hotfix/qx-empty-result
fix: avoid return no data result
2021-05-08 10:35:22 +08:00
yunion-ci-robot
32ac58aa68 Merge pull request #10990 from rainzm/agent/install
fix for install monitor agent
2021-05-08 10:31:40 +08:00
yunion-ci-robot
413c01f1c6 Merge pull request #10993 from yousong/bugfix/yousong-cloudproxy-wait-on-error
Bugfix/yousong cloudproxy wait on error
2021-05-08 10:29:40 +08:00
zhaoxiangchun
4c932ee961 feat(monitor): add agent monitor metric
1.增加对agent采集数据的翻译
2021-05-08 09:45:33 +08:00
Qu Xuan
12b72a6e10 fix: add tag for databricks vm 2021-05-08 09:28:00 +08:00
Yousong Zhou
ce98d7dd13 guests: sshable: wait and retry for newly created forward 2021-05-07 19:40:01 +08:00
Yousong Zhou
1c18dbb7d9 guests: sshable: log error should unmarshal fail 2021-05-07 19:28:56 +08:00
Yousong Zhou
1a93f26dd0 cloudproxy: agent: more verbose log for ssh connect failure 2021-05-07 19:28:56 +08:00
Yousong Zhou
d5f1627872 cloudproxy: agent: wait a while on connect error 2021-05-07 19:28:56 +08:00
Yousong Zhou
532961f520 cloudproxy: forwards: show details for fwd returned from create-from-server 2021-05-07 19:28:56 +08:00
Yousong Zhou
627ea8ccc9 db: add GetItemDetails 2021-05-07 19:28:56 +08:00
rainzm
13768a053a fix: update version of file-repo 2021-05-07 18:31:06 +08:00
rainzm
c6ae4706d7 fix(devtool): wait for the remote forward to run normally 2021-05-07 18:29:54 +08:00
rainzm
314ac5ac49 fix(devtool): extend the waiting time when checking remote forward 2021-05-07 18:28:38 +08:00
rainzm
33bdc9d2f2 fix(devtool): add scope=system query when list proxy endpoints 2021-05-07 18:27:35 +08:00
rainzm
489ddc90f7 fix(devtool): correct output error 2021-05-07 18:26:11 +08:00
Qu Xuan
298179baa7 fix: avoid return no data result 2021-05-07 17:34:42 +08:00
zhaoxiangchun
ddfd563ec2 Merge branch 'master' of https://github.com/yunionio/onecloud into bugfix/zxc-monitor 2021-05-07 17:10:01 +08:00
yunion-ci-robot
62f38187b1 Merge pull request #10979 from rainzm/cloudproxy/fix
fix for creating proxy endpoint
2021-05-07 14:30:41 +08:00
Zexi Li
d2d4296bc6 Merge pull request #10981 from zexi/feat/host-list-order
feat(region): host list order by server count
2021-05-07 10:34:24 +08:00
zhaoxiangchun
f0eb80a2ae fix(monitor): monitor query : cloudaccount no data fix
1.修复云账号余额监控查询无数据返回
2021-05-07 09:39:21 +08:00
Zexi Li
ac491f4f58 feat(region): host list order by server count 2021-05-06 20:53:04 +08:00
rainzm
0e77703c76 fix(region): allow domain admin to obtain ssh private keys 2021-05-06 16:38:24 +08:00
rainzm
51e75c48f8 fix(cloudproxy): keep the proxy endpoint project and server consistent 2021-05-06 16:33:52 +08:00
yunion-ci-robot
67f6aa11a5 Merge pull request #10975 from zhasm/feature/rex-disable-rbdcli-for-arm
feat(arm64,build): arm 编译时,不编译 rbdcli
2021-05-06 15:12:39 +08:00
Zhang Dongliang
a54becaf2e feat(arm64,build): arm 编译时,不编译 rbdcli 2021-05-06 11:44:57 +08:00
Zexi Li
668f200f25 Merge pull request #10972 from rainzm/receiver/join_domain
fix(notify): correctly filter those recipients who join the domain
2021-04-30 09:58:56 +08:00
rainzm
5a39fc18c0 fix(notify): correctly filter those recipients who join the domain 2021-04-29 20:12:14 +08:00
Zexi Li
c26ef9108d Merge pull request #10964 from tb365/bugfix/tb-bugfix-042801
Bugfix/tb bugfix 042801
2021-04-29 09:46:42 +08:00
Zexi Li
016e1f6037 Merge pull request #10967 from ioito/hotfix/qx-keystone-logclient-panic
fix(keystone): avoid panic when call logclient
2021-04-29 09:46:10 +08:00
Qu Xuan
4ba014cf5c fix(keystone): avoid panic when call logclient 2021-04-28 19:32:23 +08:00
TangBin
d4255d71e0 feat(region): add zone disk capability api 2021-04-28 18:09:09 +08:00
TangBin
65b597566b feat(region): cloudregion add disk capability api 2021-04-28 16:42:25 +08:00
yunion-ci-robot
9184fb26b8 Merge pull request #10956 from ioito/hotfix/qx-host-worker-lock
fix: avoid host worker is locked when image cache is deleted
2021-04-28 09:56:28 +08:00
yunion-ci-robot
e422244e1c Merge pull request #10940 from swordqiu/hotfix/qj-import-user-require-password
Hotfix/qj import user require password
2021-04-28 09:54:27 +08:00
Qiu Jian
896596731a fix: require password for imported user 2021-04-28 01:11:56 +08:00
Qu Xuan
b13cdefb72 fix: avoid host worker is locked when image cache is deleted 2021-04-27 20:37:06 +08:00
Zexi Li
4cd56ff66d Merge pull request #10932 from rainzm/sshable/fix
Correctly execute the ansible playbook with the specified private key
2021-04-27 20:12:42 +08:00
Zexi Li
ae59a669ab Merge pull request #10954 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertdashboard setscope
2021-04-27 20:12:10 +08:00
Zexi Li
f96d5ff17c Merge pull request #10952 from ioito/hotfix/qx-storage-optimized
fix: optimized rbd storage input and update
2021-04-27 20:11:44 +08:00
Zexi Li
3c15efc7de Merge pull request #10948 from rainzm/agent/fix
Makes the process of installing the agent more rigorous
2021-04-27 20:10:49 +08:00
Zexi Li
d0928e1de0 Merge pull request #10941 from zexi/fix/migrate-from-source-host
fix(region): download cached image from source host before migrating
2021-04-27 20:09:18 +08:00
Zexi Li
4be6772544 Merge pull request #10944 from ioito/hotfix/qx-metadata-ci
fix(region): tag list key case insensitive
2021-04-27 17:21:03 +08:00
Zexi Li
3a6e7f55ab fix(region): download cached image from source host before migrating 2021-04-27 17:13:30 +08:00
zhaoxiangchun
d62467097d fix(monitor): alertdashboard setscope
1.监控面板归属展示问题修复
2021-04-27 17:09:55 +08:00
Qu Xuan
f83b8b0436 fix: optimized rbd storage input and update 2021-04-27 15:42:34 +08:00
rainzm
fd458a6030 feat(devtool): makes the process of installing the agent more rigorous
1. Use the method returned by server sshable to execute ansible playbook
2. Use direct connection and cloud proxy to find the url that the remote machine
can send data back to local influxdb
2021-04-27 11:58:34 +08:00
Qu Xuan
3e3e9b7cf2 fix(region): tag list key case insensitive 2021-04-27 11:54:10 +08:00
Zexi Li
5788704501 Merge pull request #10937 from swordqiu/hotfix/qj-baremetal-missing-cloudroot
fix(baremetal,esxiagent): no cloudroot user initialized
2021-04-27 10:17:14 +08:00
Zexi Li
20a893d504 Merge pull request #10934 from swordqiu/hotfix/qj-any-pool-usage-key
fix(region): add all.servers.any_pool/all.hosts.any_pool metrics
2021-04-27 10:16:18 +08:00
Qiu Jian
952cc03ae6 fix(baremetal,esxiagent): no cloudroot user initialized 2021-04-27 01:58:35 +08:00
Qiu Jian
86c282c0a4 fix(region): add all.servers.any_pool/all.hosts.any_pool metrics 2021-04-27 01:47:21 +08:00
rainzm
67d7c571f2 fix(ansibleserver): be compatible with empty params 2021-04-26 19:26:04 +08:00
rainzm
9a651dad3f feat(region): return forwardDetails when query server sshable 2021-04-26 19:25:18 +08:00
Zexi Li
5c5023184c Merge pull request #10922 from ioito/hotfix/qx-keystone-tag-list
fix(keystone): tag list for keystone service
2021-04-26 19:10:46 +08:00
Zexi Li
9085799c32 Merge pull request #10926 from zhaoxiangchun/bugfix/zxc-dashboard
fix(monitor): alertpanel create fix; nodealert filterbyowner fix
2021-04-26 19:09:08 +08:00
Zexi Li
55df3a1450 Merge pull request #10928 from ioito/hotfix/qx-account-arrears
fix(region): account arrears
2021-04-26 19:08:09 +08:00
rainzm
0d1f54bab1 fix(ansibleserver): add LF for privateKey if not 2021-04-26 18:56:46 +08:00
rainzm
0894df5e14 feat(ansibleserver): respect keepTmpdir when running ansibleplaybook v1 2021-04-26 18:56:08 +08:00
rainzm
cad24302d8 fix(ansibleserver): don't init privateKey for ansibleplaybook if it already have one 2021-04-26 18:53:07 +08:00
Qu Xuan
f233311ccf fix(region): account arrears 2021-04-26 17:56:05 +08:00
zhaoxiangchun
3a10cd66b7 fix(monitor): alertpanel create fix; nodealert filterbyowner fix
1.监控图表保存时取消重名检测,允许图表重名
2.虚拟机详情页设置报警时,不同视图下设置报警权限调整

https://bug.yunion.io/zentao/bug-view-7063.html
2021-04-26 16:16:30 +08:00
Qu Xuan
acad675555 fix(region): sync multi region resource at same time 2021-04-26 14:47:07 +08:00
Qu Xuan
ad68cfbeb3 fix(keystone): tag list for keystone service 2021-04-26 11:39:29 +08:00
Zexi Li
a08e5c8f41 Merge pull request #10903 from rainzm/devtool/server_metadata
feat(region): set metadata for guest with agent installed
2021-04-26 11:39:10 +08:00
Zexi Li
ebfebe7c26 Merge pull request #10920 from ioito/hotfix/qx-set-tags
fix(region): avoid set multi resources tags failed
2021-04-26 11:38:47 +08:00
Zexi Li
527f5c498c Merge pull request #9933 from ioito/hotfix/qx-task-info-dump
fix(common): dump task info when stucking
2021-04-26 11:38:24 +08:00
Zexi Li
d3b337b418 Merge pull request #8016 from ioito/optimized/cloud-resource-sync
fix: 优化同步,避免长时间加锁
2021-04-26 11:38:11 +08:00
Qu Xuan
7b845d17c7 fix(common): dump task info when stucking 2021-04-26 10:45:38 +08:00
Qu Xuan
ea8638b0cd fix(region): avoid set multi resources tags failed 2021-04-25 18:04:54 +08:00
yunion-ci-robot
ecae338a49 Merge pull request #10911 from tb365/bugfix/tb-bugfix-042301
fix ssh proxy endpoint&match query
2021-04-25 17:23:53 +08:00
yunion-ci-robot
03066fed94 Merge pull request #10913 from yousong/bugfix/yousong-vpc-vm-backup
hostman: ovn: do not set external_ids:iface-id for backup
2021-04-25 12:03:54 +08:00
TangBin
62f9243ba2 fix(cloudproxy): ssh proxy endpoint&match query 2021-04-23 19:38:34 +08:00
ioito
f9f0c8f3cb fix: 优化同步,避免长时间加锁 2021-04-23 18:55:02 +08:00
yunion-ci-robot
66587cfb6e Merge pull request #10906 from rainzm/syncprovider/localtask
fix(region): use special localtask to run time-consuming provider synchronization task
2021-04-23 17:38:51 +08:00
Yousong Zhou
db89640dfe hostman: ovn: do not set external_ids:iface-id for backup 2021-04-23 17:17:30 +08:00
rainzm
520fae50a6 fix(region): use special localtask to run time-consuming provider synchronization task
CloudProviderSyncInfoTask will local cloudprovider. Make locaktask run
time-consuming task can avoid holding locks for a long time.
2021-04-23 17:01:12 +08:00
rainzm
e20fd94b54 feat(region): set metadata for guest with agent installed 2021-04-23 11:00:14 +08:00
yunion-ci-robot
d62d6704a4 Merge pull request #10901 from yousong/feature/yousong-cloudproxy
cloudproxy: proxy_endpoints: create-from-server: allow name as arg
2021-04-23 09:48:51 +08:00
Zexi Li
55500a2797 Merge pull request #10893 from rainzm/spcache/delete
fix(region): allow owner to operate snapshotpolicy cache
2021-04-22 21:09:31 +08:00
Zexi Li
a2eaf04932 Merge pull request #10897 from rainzm/stask/ijoint
fix(region): make SScheduledTaskLabel implement IJointModelManager
2021-04-22 21:08:11 +08:00
Yousong Zhou
675fe334ff cloudproxy: proxy_endpoints: create-from-server: allow name as arg 2021-04-22 20:45:30 +08:00
Zexi Li
1e55efeeec Merge pull request #10891 from zhaoxiangchun/feature/zxc-ecloud-monitor
feat(suggestion,mcclient): add suggestsysalert-delete climc
2021-04-22 20:25:21 +08:00
rainzm
bc9264b1c3 fix(region): make SScheduledTaskLabel implement IJointModelManager 2021-04-22 18:14:11 +08:00
rainzm
1eb493b111 fix(region): allow owner to operate snapshotpolicy cache 2021-04-22 17:37:38 +08:00
zhaoxiangchun
28858d9470 feat(suggestion,mcclient): add suggestsysalert-delete climc 2021-04-22 16:56:55 +08:00
Zexi Li
88a8a65887 Merge pull request #10885 from rainzm/notify/fix_admin_update
fix(region): admin update without verification
2021-04-22 16:55:30 +08:00
Zexi Li
e8d2debe4d Merge pull request #10888 from ioito/hotfix/qx-task-ctx
fix(region): avoid panic when sync resources
2021-04-22 16:52:34 +08:00
Zexi Li
8ffc02eea9 Merge pull request #10882 from ioito/hotfix/qx-lock-debug-info
fix(common): add debug info for lock
2021-04-22 16:51:06 +08:00
Qu Xuan
568687c436 fix(region): avoid panic when sync resources 2021-04-22 16:23:01 +08:00
Qu Xuan
5edf37c549 fix(common): add debug info for lock 2021-04-22 16:09:32 +08:00
rainzm
38debd3865 fix(region): admin update without verification 2021-04-22 11:42:54 +08:00
Zexi Li
56c3b704fc Merge pull request #10867 from ioito/hotfix/qx-vpc-wire
fix(region): avoid network create failed when vpc is ok but wire not sync
2021-04-22 10:24:10 +08:00
Zexi Li
ca16403467 Merge pull request #10878 from ioito/hotfix/qx-lb-params-missing
fix(region): add egress_mbps params for lb
2021-04-22 10:23:23 +08:00
Zexi Li
7310543908 Merge pull request #10876 from zexi/fix/glance-image-remove
fix(glance): image can't removed when size is 0
2021-04-21 22:40:46 +08:00
Qu Xuan
dd427a0146 fix(region): add egress_mbps params for lb 2021-04-21 21:44:18 +08:00
Zexi Li
35ad91f705 fix(glance): image can't removed when size is 0 2021-04-21 20:57:15 +08:00
yunion-ci-robot
d9c2463b9d Merge pull request #10863 from rainzm/region/sync_provider
fix(region): make cloudprovider sync worker configurable
2021-04-21 15:30:52 +08:00
Qu Xuan
63a2faea7d fix(region): avoid network create failed when vpc is ok but wire not sync 2021-04-21 14:50:05 +08:00
rainzm
10793b9859 fix(region): make cloudprovider sync worker configurable
这个参数意味着,同时允许多少个 provider 来把自己同步的 region 任务放进后
面的队列。
进一步说,配置数量之外的 provider 必须等待前面的 provider 同步完所有的 region
之后,才有机会开始同步自己的region。
此限制的必要性不高,所以默认值设置比较大,为"10"。
2021-04-21 12:14:44 +08:00
yunion-ci-robot
09c3527fa7 Merge pull request #10709 from ioito/hotfix/qx-secrule-sync-fix
Hotfix/qx secrule sync fix
2021-04-21 11:29:51 +08:00
Zexi Li
35e6abd7f9 Merge pull request #10834 from zexi/automated-cherry-pick-of-#10833-upstream-master
Automated cherry pick of #10833: fix(region): fetch cached image from glance by default
2021-04-21 11:19:10 +08:00
Zexi Li
350fbc3c73 Merge pull request #10855 from swordqiu/hotfix/qj-ipmi-probe-reset-link-up-state
fix(baremetal): baremetal ipmi probe reset link up state
2021-04-21 10:12:33 +08:00
yunion-ci-robot
fd75e5611f Merge pull request #10849 from yousong/feature/yousong-zombie
Feature/yousong zombie
2021-04-21 10:11:50 +08:00
Zexi Li
32ec7f68b1 Merge pull request #10851 from rainzm/syncaccount/localtask
fix(region): avoid using LocalTaskWorker in time-consuming synchronization of cloudaccount
2021-04-21 10:09:28 +08:00
Yousong Zhou
3a18af8d72 treewide: wait possible zombies 2021-04-20 22:01:02 +08:00
Qiu Jian
55cfb0ba45 fix(baremetal): baremetal ipmi probe reset link up state 2021-04-20 21:36:13 +08:00
Zexi Li
e5d94d3b17 Merge pull request #10845 from ioito/hotfix/qx-vm-account-name
fix(region): optimized vm account name code
2021-04-20 20:15:07 +08:00
rainzm
ea790cc82b fix(region): avoid using LocalTaskworker in time-consuming synchronization of cloudaccount 2021-04-20 19:57:38 +08:00
Yousong Zhou
709ddccc2f procutils: WaitZombieLoop: remove unneeded info request 2021-04-20 19:27:24 +08:00
Yousong Zhou
f970e22b97 procutils: WaitZombieLoop: less verbose iota 2021-04-20 19:27:24 +08:00
Yousong Zhou
26013e66bf procutils: WaitZombieLoop: use const str "1" for my pid 2021-04-20 19:27:24 +08:00
Yousong Zhou
a1044c1afc procutils: add WaitZombieLoop 2021-04-20 19:27:24 +08:00
Zexi Li
519997fd52 Merge pull request #10839 from ioito/hotfix/qx-aliyun-vswitch-sync
fix(region): avoid panic when sync aliyun networks
2021-04-20 18:51:10 +08:00
Zexi Li
1a37eaadcb Merge pull request #10838 from rainzm/ansibleserver/file_repo
feat(ansibleserver): update file_reop version in dockerfile
2021-04-20 18:50:11 +08:00
Zexi Li
cde29f7d3b Merge pull request #10829 from ioito/hotfix/qx-order-by-disk
fix(region): vm list order by disk size
2021-04-20 18:49:17 +08:00
Zexi Li
49c9c6b70a Merge pull request #10817 from rainzm/vmware/image_sync
fix(esxi): prevent fake template and real template from duplication
2021-04-20 18:45:42 +08:00
Qu Xuan
45667bffea fix(region): optimized vm account name code 2021-04-20 18:25:56 +08:00
Qu Xuan
3f485c7c31 fix(region): avoid panic when sync aliyun networks 2021-04-20 17:53:28 +08:00
Zexi Li
c3cad7ef01 fix(region): fetch cached image from glance by default 2021-04-20 17:51:57 +08:00
rainzm
ac06c8fb19 feat(ansibleserver): update file_reop version in dockerfile 2021-04-20 17:47:44 +08:00
Zexi Li
9411cfebd0 Merge pull request #10825 from ioito/hotfix/qx-pre-allocate-ip
fix(region): avoid assign vm ip addr not effect
2021-04-20 17:15:39 +08:00
Zexi Li
3d58162d97 Merge pull request #10822 from rainzm/ecloud/snapshots
feat(multicloud): add snapshots list for ecloud
2021-04-20 17:14:48 +08:00
Qu Xuan
add10f340e fix(region): vm list order by disk size 2021-04-20 16:51:59 +08:00
Qu Xuan
44a48fef6e fix(region): avoid assign vm ip addr not effect 2021-04-20 16:29:14 +08:00
Qu Xuan
7aa9bda8e1 fix(region): optimized peer secgroup 2021-04-20 15:23:14 +08:00
rainzm
85c761e021 feat(multicloud): add snapshots list for ecloud 2021-04-20 11:52:25 +08:00
Zexi Li
1c88efdf85 Merge pull request #10794 from rainzm/devtool/script
Devtool script optimization and fix
2021-04-20 10:45:05 +08:00
rainzm
ca0f88877e fix(esxi): prevent fake template and real template from duplication 2021-04-20 10:25:07 +08:00
rainzm
d7224cd064 feat(region): increase the log for debugging when syncing cloudimage 2021-04-20 10:24:18 +08:00
Zexi Li
93ce4b3dbd Merge pull request #10811 from ioito/hotfix/qx-nas-wait-time
fix(region): wait more time for creating nas
2021-04-19 21:08:05 +08:00
Zexi Li
313d812431 Merge pull request #10810 from rainzm/ecloud/vpc
fix(multicloud): set isEmulated as false for ecloud vpc
2021-04-19 21:06:27 +08:00
Zexi Li
f56c585072 Merge pull request #10804 from ioito/hotfix/qx-mt-ag-policy
fix: owner id fix
2021-04-19 21:05:23 +08:00
Zexi Li
fd7bf98aab Merge pull request #10796 from ioito/hotfix/qx-aliyun-tag-region
fix: add region id params
2021-04-19 21:05:00 +08:00
Qu Xuan
a6ef9b66f6 fix(region): wait more time for creating nas 2021-04-19 19:59:00 +08:00
rainzm
2d04115ab5 fix(multicloud): set isEmulated as false for ecloud vpc 2021-04-19 18:59:24 +08:00
Zexi Li
b3fb82b343 Merge pull request #10806 from ioito/hotfix/qx-aliyun-nas-access-group
fix: ignore aliyun region not supported error
2021-04-19 18:50:26 +08:00
Zexi Li
38939c44d6 Merge pull request #10808 from ioito/hotfix/qx-public-ip-convert
fix(region): convert eip with same project with vm
2021-04-19 18:49:43 +08:00
Qu Xuan
1f2099ac01 fix(region): nas owner id fix 2021-04-19 18:00:16 +08:00
Qu Xuan
7df3891a9e fix(region): convert eip with same project with vm 2021-04-19 17:53:26 +08:00
Zexi Li
9c8a318c5a Merge pull request #10776 from tb365/bugfix/tb-bugfix-041601
fix(region): qcloud redis sync fix
2021-04-19 16:18:12 +08:00
Qu Xuan
c85d4ac719 fix(region): ignore aliyun region not supported error 2021-04-19 16:08:48 +08:00
tangbin
7c56f4fbb3 fix(region): qcloud redis sync fix 2021-04-19 15:12:56 +08:00
Zexi Li
c8f24759b7 Merge pull request #10777 from ioito/hotfix/qx-vm-private-ip-pre-allocate
fix: add options for pre allow ip add
2021-04-19 14:54:41 +08:00
Qu Xuan
8de1b3c69f fix: add region id params 2021-04-19 14:14:02 +08:00
Zexi Li
3a32a4a223 Merge pull request #10790 from ioito/hotfix/qx-panic-vpc-peer
fix: avoid panic
2021-04-19 13:15:57 +08:00
Zexi Li
37ef7a2e16 Merge pull request #10786 from yousong/bugfix/yousong-cloudproxy
cloudproxy: agent: return when ctx is Done
2021-04-19 13:15:20 +08:00
Zexi Li
e251e8bf47 Merge pull request #10793 from ioito/hotfix/qx-loss-of-log
avoid log loss when token expired fix #10738
2021-04-19 11:26:11 +08:00
Qu Xuan
05716c7d7a avoid log loss when token expired fix #10738 2021-04-19 11:15:00 +08:00
rainzm
9b994792ec fix(devtool): fix a bug that may trigger panic 2021-04-19 11:12:25 +08:00
rainzm
f246e66790 feat(devtool): add ScriptApplyId fro ScriptApplyRecord 2021-04-19 11:11:31 +08:00
Qu Xuan
ab2fc8feb9 fix: avoid panic 2021-04-19 10:40:07 +08:00
Yousong Zhou
cd14aa1118 cloudproxy: agent: return when ctx is Done 2021-04-19 10:38:07 +08:00
Zexi Li
eb299119e3 Merge pull request #10784 from yousong/bugfix/yousong-cloudproxy
cloudproxy: agent: avoid stallment caused by client timeout
2021-04-17 21:14:15 +08:00
Yousong Zhou
bd21223573 cloudproxy: agent: avoid stallment caused by client timeout 2021-04-16 19:42:24 +08:00
Qu Xuan
5be136c9ca fix: add options for pre allow ip add 2021-04-16 17:02:09 +08:00
Zexi Li
368a0c9fd1 Merge pull request #10774 from yousong/bugfix/yousong-make-sshable
region: guests: sshable: more compact make-sshable-cmd
2021-04-16 16:53:39 +08:00
Yousong Zhou
5b2fe2100c region: guests: sshable: more compact make-sshable-cmd 2021-04-16 16:27:46 +08:00
Zexi Li
b7935f6df7 Merge pull request #10727 from zhaoxiangchun/feature/zxc-ecloud-monitor
feat(region): add ecloud monitor metric
2021-04-16 16:01:31 +08:00
Zexi Li
557ef5c9eb Merge pull request #10771 from ioito/hotfix/qx-rbdcli
fix: add rbdcli commond for debug
2021-04-16 15:59:35 +08:00
Qu Xuan
8a26d54a99 fix: add rbdcli commond for debug 2021-04-16 15:27:58 +08:00
yunion-ci-robot
57c73fe0b4 Merge pull request #10713 from yousong/feature/yousong-make-sshable
Feature/yousong make sshable
2021-04-16 13:16:48 +08:00
Zexi Li
bb9ab80ad6 Merge pull request #10765 from yousong/bugfix/yousong-ansibleserver-wait-zombie
ansibleserver: wait zombie subprocesses
2021-04-16 13:15:17 +08:00
Zexi Li
ec70ecc5b9 Merge pull request #10750 from yousong/bugfix/yousong-vpc-acl
vpcagent: ovn: fix port match condition formation
2021-04-16 10:07:01 +08:00
Zexi Li
9522566cfa Merge pull request #10761 from rainzm/esxi/sync_network
fix(region): Remind that cloud account synchronization failed due to network synchronization failure
2021-04-16 10:06:26 +08:00
Zexi Li
c02779ec26 Merge pull request #10757 from rainzm/ecloud/validate_fix
Validate creating cloud account data about ecloud
2021-04-16 10:06:15 +08:00
Zexi Li
a4fac4beaf Merge pull request #10763 from rainzm/instancesnapshot/purge
fix(region): purge instancesnapshot when purging guest
2021-04-16 10:02:37 +08:00
Yousong Zhou
89b4f6e9f6 ansibleserver: wait zombie subprocesses 2021-04-16 09:46:28 +08:00
rainzm
a80fdaaddf fix(region): purge instancesnapshot when purging guest
fix #10760
2021-04-15 18:58:39 +08:00
rainzm
f8a37d9419 fix(region): Remind that cloud account synchronization failed due to network synchronization failure 2021-04-15 18:32:18 +08:00
zhaoxiangchun
4365c28ae0 feat(region): add ecloud monitor metric 2021-04-15 18:11:18 +08:00
Yousong Zhou
1e330e8f3c climc: add commands server-make-sshable, server-make-sshable-cmd 2021-04-15 16:41:40 +08:00
Yousong Zhou
264c58073e region: guests: sshable: add GET /servers/<server-id>/make-sshable-cmd 2021-04-15 16:41:40 +08:00
Yousong Zhou
b090a63c3b region: guests: sshable: add POST /servers/<server-id>/make-sshable 2021-04-15 16:41:39 +08:00
rainzm
ee834af5b5 fix(region): remove useless Environment 2021-04-15 16:39:25 +08:00
rainzm
a417344820 fix(region): try to connect when new a SEcloudClient 2021-04-15 16:38:12 +08:00
Yousong Zhou
cba83b48a8 region: guests: sshable: add field sshable_last_state 2021-04-15 16:38:05 +08:00
Yousong Zhou
98489ca038 region: guests: sshable: refactor for reusability 2021-04-15 16:38:05 +08:00
Yousong Zhou
cc7ffd707a regions: lbagents: move pb update/create as mcclient module method 2021-04-15 16:38:04 +08:00
Yousong Zhou
de402bcf2d build: ansibleserver: use ansibleserver-base:v1.0.3 2021-04-15 16:38:04 +08:00
Yousong Zhou
a0d066ab06 build: ansibleserver-base: v1.0.3: add sshpass
Required for using ansible with ansible_password
2021-04-15 16:38:04 +08:00
Yousong Zhou
c800b240d4 vpcagent: ovn: fix port match condition formation 2021-04-15 16:05:55 +08:00
Zexi Li
453c4cb99f Merge pull request #10746 from ioito/hotfix/qx-wire-status
fix wire status close #10737
2021-04-15 15:05:45 +08:00
Qu Xuan
be0117dd71 fix wire status close #10737 2021-04-15 14:45:10 +08:00
Zexi Li
c69132410c Merge pull request #10723 from ioito/hotfix/qx-aliyun-lb-charge
fix: aliyun lb charge type
2021-04-15 12:41:59 +08:00
Zexi Li
56e5481e93 Merge pull request #10729 from rainzm/esxi/imagePath
fix(esxi): correctly set the imagePath outside the if block
2021-04-15 12:40:57 +08:00
Zexi Li
625118057f Update feature_request.md 2021-04-15 12:35:02 +08:00
Zexi Li
0424ad704e Merge pull request #10734 from zexi/fix/os-arch-consts
fix(cloudcommon): unify OS_ARCH constants
2021-04-15 12:21:34 +08:00
Zexi Li
6aa8aa269f Update bug_report.md 2021-04-15 11:13:15 +08:00
Zexi Li
e82a3deb7e fix(cloudcommon): unify OS_ARCH constants 2021-04-15 10:52:34 +08:00
rainzm
1d732e913f fix(esxi): correctly set the imagePath outside the if block 2021-04-14 18:58:07 +08:00
Qu Xuan
7c4e4645bf fix: aliyun lb charge type 2021-04-14 17:59:11 +08:00
yunion-ci-robot
9468493156 Merge pull request #10718 from zexi/fix/baremetal-cmd-timeout
fix(baremetal): use command timeout context replace timeout command
2021-04-14 17:41:47 +08:00
Zexi Li
7741bee778 Merge pull request #10716 from ioito/hotfix/qx-nas-misc-fix
fix: nas misc
2021-04-14 17:28:50 +08:00
Zexi Li
532ee005da Merge pull request #10714 from ioito/hotfix/qx-opentack-cloudprovider-health-status
fix: openstack health should be normal
2021-04-14 17:23:49 +08:00
Zexi Li
0bb78f1b4c fix(baremetal): use command timeout context replace timeout command 2021-04-14 17:13:41 +08:00
Qu Xuan
e35c1d48b8 fix: nas misc 2021-04-14 17:06:21 +08:00
Zexi Li
1e3e541e1c Merge pull request #10710 from zexi/fix/decouple-region-etcd
fix(region): decouple region and etcd service
2021-04-14 16:58:42 +08:00
Qu Xuan
5ab3d3ab2b fix: openstack health should be normal 2021-04-14 14:22:55 +08:00
Zexi Li
8dbc2213f1 fix(region): decouple region and etcd service 2021-04-13 18:32:08 +08:00
Zexi Li
cd68b296e0 Merge pull request #10705 from rainzm/rbac/GetModelProperty
fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty
2021-04-13 16:55:52 +08:00
Zexi Li
94e39f0d3a Merge pull request #10702 from zexi/fix/vm-ext4-fmt
fix(host-deployer): mkfs.ext4 add '-T largefile' option
2021-04-13 15:44:22 +08:00
rainzm
ed6f183db6 fix(cloudcommon): use rbac authentication dedicated to the list interface in GetModelProperty 2021-04-13 14:40:08 +08:00
Zexi Li
7a58f98fe8 Merge pull request #10669 from yousong/bugfix/yousong-sshable
region: guests: sshable: more friendly fail reason for proxy_forward
2021-04-13 11:44:34 +08:00
Zexi Li
97bb297ecd Merge pull request #10695 from rainzm/cloudaccount/update
feat(region): allow to update account with provider vmware
2021-04-13 10:25:39 +08:00
Zexi Li
dccea8d3ec Merge pull request #10699 from zexi/feature/fetchfs-pkg
feat(fetcherfs): make rpm and deb package
2021-04-13 10:24:56 +08:00
Zexi Li
768ab3036f fix(host-deployer): mkfs.ext4 add '-T largefile' option 2021-04-12 21:30:27 +08:00
Zexi Li
811730e7cf feat(fetcherfs): make rpm and deb package 2021-04-12 21:27:22 +08:00
Yousong Zhou
460e54c919 region: guests: sshable: only check sshable state when in running state 2021-04-12 17:33:42 +08:00
Yousong Zhou
ba71fcaaa2 region: guests: sshable: return early on sshable=true 2021-04-12 16:52:07 +08:00
Yousong Zhou
012df167d5 region: guests: sshable: more friendly fail reason for proxy_forward 2021-04-12 16:51:26 +08:00
rainzm
be1f33c601 feat(region): allow to update account with provider vmware 2021-04-12 15:55:15 +08:00
Zexi Li
7a03b9378e Merge pull request #10671 from zhaoxiangchun/feature/zxc-alertpanel-name
fix(monitor): alertPanel add dumplicate name check
2021-04-12 13:17:45 +08:00
Zexi Li
3cb5243a3e Merge pull request #10688 from ioito/hotfix/qx-logger-project-doamin-filter
fix: actions domain filter by project doamin id
2021-04-12 13:17:00 +08:00
Zexi Li
3fbeb0533d Merge pull request #10692 from zexi/fix/rename-onecloud
fix(readme): rename OneCloud to YunionCloud
2021-04-12 13:15:46 +08:00
Zexi Li
6020035668 Merge pull request #10683 from swordqiu/hotfix/qj-baremetal-status-probe
fix(baremetal-agent): baremetal will probe status in status unknown
2021-04-12 13:15:18 +08:00
Zexi Li
71e9e953e2 fix(readme): rename OneCloud to YunionCloud 2021-04-12 13:13:19 +08:00
Qu Xuan
12bb6ac8e5 fix: actions domain filter by project doamin id 2021-04-12 11:40:57 +08:00
Qiu Jian
b91e41e71a fix(baremetal-agent): baremetal will probe status in status unknown 2021-04-12 00:20:17 +08:00
Zexi Li
7f7745bb55 Merge pull request #10681 from ioito/feat/qx-nas-for-huawei
fix: nas for huawei
2021-04-10 12:02:13 +08:00
Qu Xuan
a3c676f7e8 fix: nas for huawei 2021-04-09 19:43:43 +08:00
Zexi Li
33eb61a557 Merge pull request #10537 from rainzm/ecloud/init
Ecloud support
2021-04-09 17:55:19 +08:00
Zexi Li
86493f6ae6 Merge pull request #10678 from zexi/hotfix/host-ovs-probe
fix(host): detect ovs version
2021-04-09 17:19:17 +08:00
Zexi Li
26b586e04d Merge pull request #10667 from rainzm/notify/exempt_verify_update
feat(notify): exempt the administrator to update the receiver verification
2021-04-09 17:02:28 +08:00
Zexi Li
5afa999fe0 fix(host): detect ovs version 2021-04-09 16:56:34 +08:00
Zexi Li
2ee1931300 Merge pull request #10666 from ioito/feat/qx-nas
feat: add nas sync
2021-04-09 11:19:32 +08:00
Qu Xuan
8639e95a34 feat: add nas sync 2021-04-09 10:43:53 +08:00
Zexi Li
7f4d86e145 Merge pull request #10675 from ioito/hotfix/qx-trans-sec
fix: add trans info
2021-04-09 10:39:40 +08:00
Zexi Li
07892a5a23 Merge pull request #10673 from ioito/hotfix/qx-aliyun-err
fix: optimized aliyun error
2021-04-09 10:39:05 +08:00
zhaoxiangchun
d73a76b12b fix(monitor): set alertdashboard scope 2021-04-09 10:34:35 +08:00
Qu Xuan
fdc8f8b3e8 fix: add trans info 2021-04-08 21:16:47 +08:00
Qu Xuan
bef65e7d74 fix: optimized aliyun error 2021-04-08 20:53:35 +08:00
zhaoxiangchun
d361c2dbbc fix(monitor): alertPanel add dumplicate name check
1.重名自动+1
2021-04-08 19:30:35 +08:00
Zexi Li
6fcd59c0ce Merge pull request #10592 from zhaoxiangchun/fix/zxc-node-alert-vm
fix(host): update host metric tags when server or host  changeowner
2021-04-08 18:13:05 +08:00
rainzm
a9f3392e73 feat(notify): exempt the administrator to update the receiver verification 2021-04-08 17:19:00 +08:00
zhaoxiangchun
14f0342b36 fix(host): update host metric tags when server or host changeowner 2021-04-08 17:17:45 +08:00
rainzm
77457fbae4 feat(region): support Ecloud (readonly) 2021-04-08 11:38:20 +08:00
Zexi Li
0e21d2490b Merge pull request #10664 from ioito/hotfix/qx-qcloud-eip-bw
fix: qcloud eip bandwidth
2021-04-08 11:27:42 +08:00
Qu Xuan
e088570afe fix: qcloud eip bandwidth 2021-04-08 11:11:44 +08:00
Zexi Li
dd650b00b6 Merge pull request #10662 from rainzm/region/rm_url
fix(region): remove code about getting service url
2021-04-08 10:53:36 +08:00
rainzm
790376c531 fix(region): remove code about getting service url 2021-04-08 10:45:02 +08:00
Zexi Li
0b7a41087c Merge pull request #10619 from swordqiu/hotfix/qj-remove-i18n-lock
fix(region): remove i18n lock and logs
2021-04-08 10:34:04 +08:00
Zexi Li
d5308c0030 Merge pull request #10586 from ioito/hotfix/qx-secgroupcache-policy
fix: secgroup cache policy
2021-04-08 10:33:07 +08:00
Zexi Li
e98c8c0b6b Merge pull request #10658 from swordqiu/hotfix/qj-ipmi-probe-sync-config
fix(region): sync baremetal desc before do ipmi probing
2021-04-08 10:14:18 +08:00
Qu Xuan
e806674a0b fix: secgroup cache policy 2021-04-08 09:46:13 +08:00
Qiu Jian
ca3e60d27b fix(region): sync baremetal desc before do ipmi probing 2021-04-08 01:27:11 +08:00
Zexi Li
16ed1d8fcd Merge pull request #10656 from ioito/hotfix/qx-secgroup-validate-delete
fix: validate secgroup references
2021-04-07 21:47:47 +08:00
Zexi Li
1ef4f9d8d2 Merge pull request #10654 from rainzm/notify/exempt_verify_fix
fix(notify): exempt the administrator to create the receiver verification
2021-04-07 21:47:18 +08:00
Zexi Li
9f757bd692 Merge pull request #10497 from yousong/feature/yousong-vpc-route
Feature/yousong vpc route
2021-04-07 21:31:46 +08:00
Zexi Li
c5cef885aa Merge pull request #9824 from rainzm/ab/template
Install monitor agent for VM
2021-04-07 21:22:00 +08:00
Qu Xuan
d44403d691 fix: validate secgroup references 2021-04-07 21:00:34 +08:00
rainzm
390476e69f fix(notify): exempt the administrator to create the receiver verification 2021-04-07 19:16:55 +08:00
rainzm
7e452712ee feat(devtool): check sshable before applying ansible playbook for server 2021-04-07 18:49:34 +08:00
Zexi Li
50c185823f Merge pull request #10650 from rainzm/notify/domain_filter
feat(notify): filter receivers who join the project under the domain where the requester is currently located
2021-04-07 18:08:24 +08:00
Zexi Li
c1c2f376cc Merge pull request #10652 from rainzm/wire/merge
fix(region): rigorously merge the network under wire
2021-04-07 18:07:41 +08:00
Zexi Li
e581183565 Merge pull request #10644 from swordqiu/hotfix/qj-allow-ipmi-probe-in-unknown-state
fix(region): allow ipmi probe in status unknown
2021-04-07 17:55:40 +08:00
Zexi Li
4349bfe68d Merge pull request #10647 from rainzm/gt/save
fix(region): avoid refreshing when checking the image
2021-04-07 17:37:25 +08:00
rainzm
1cc917e98a feat(devtool): add script
Script in devtool is a program or configuration that can be applied to the target host,
currently only supports ansible playbook
2021-04-07 17:01:08 +08:00
rainzm
f7add55303 feat(cloudcommon): set TaskNotifyUrl in GetTaskRequestHeader
To support cross-service task callbacks, you must set TaskNotifyUrl,
which is automatically added to TaskRequestHeader here
2021-04-07 17:01:08 +08:00
rainzm
f8f99365a2 feat(ansibleserver): add reference and instance
Reference is a reference to a local or remote playbook without certain inventory
and its location is determined by playbookPath.
Instance is a complete playbook that can be executed directly, it is filled with inventory and config.
Instance ensures that the playbook is executed successfully as far as
possible without exceeding the maximum number of attempts
2021-04-07 17:01:08 +08:00
rainzm
4250b14754 feat(docker): inject playbook and telegraf installation packages 2021-04-07 17:01:08 +08:00
rainzm
692754b941 fix(region): rigorously merge the network under wire
网络a和网络b能不能合并 = 网络a能不能合并到网络b || 网络b能不能合并到网络a
2021-04-07 16:56:54 +08:00
rainzm
c88d015984 feat(notify): filter receivers who join the project under the domain where the requester is currently located 2021-04-07 16:08:28 +08:00
rainzm
170ceb1b56 fix(region): avoid refreshing when checking the image 2021-04-07 10:52:40 +08:00
Qiu Jian
0a5c5a44be fix(region): allow ipmi probe in status unknown 2021-04-07 00:57:39 +08:00
Zexi Li
23115f3d55 Merge pull request #10599 from yousong/feature/yousong-sshable
Feature/yousong sshable
2021-04-06 18:41:18 +08:00
Zexi Li
58218db303 Merge pull request #10629 from rainzm/storagecache/fix
feat(region): virtually display the esxiagent of the cached image as a host
2021-04-06 18:39:31 +08:00
Zexi Li
618be06cf4 Merge pull request #10637 from tb365/bugfix/tb-bugfix-040601
fix(region): guest associate eip checking fix
2021-04-06 18:37:48 +08:00
Zexi Li
9d21a7cefc Merge pull request #10638 from rainzm/notify/exempt_verify
feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验
2021-04-06 18:26:01 +08:00
tangbin
3be7a103c3 fix(region): guest sync eip fix 2021-04-06 18:13:41 +08:00
rainzm
623f1f17f1 feat(notify): 管理后台新建的联系人,手机号和邮箱无需进行校验 2021-04-06 17:12:54 +08:00
Zexi Li
ed46b2f1a1 Merge pull request #10631 from yousong/bugfix/yousong-apigw-cloudproxy
apigateway: handler: add cloudproxy
2021-04-06 17:09:23 +08:00
Zexi Li
a9b2bc266c Merge pull request #10633 from ioito/hotfix/qx-private-cloud-sku-attached-disk
fix: private cloud sku attached disk count
2021-04-06 17:08:30 +08:00
tangbin
cd9a97aef5 fix(region): guest associate eip checking fix 2021-04-06 15:29:11 +08:00
Qu Xuan
73f952a5b4 fix: private cloud sku attached disk count 2021-04-06 15:01:45 +08:00
Yousong Zhou
a16cea6faf climc: compute: add command server-sshable 2021-04-06 13:02:14 +08:00
Yousong Zhou
d340911271 region: guests: add GET /servers/<guest-id>/sshable 2021-04-06 13:02:14 +08:00
Yousong Zhou
a4697d081b cloudproxy: agent: ssh: cancel on return from Start 2021-04-06 13:02:14 +08:00
Yousong Zhou
43f48e6b3a cloudproxy: add metadata model 2021-04-06 13:02:14 +08:00
Yousong Zhou
d57e2d2495 cloudproxy: agent: fix possible invalid memory access 2021-04-06 13:02:14 +08:00
Yousong Zhou
8ee5978185 cloudproxy: agent: use yunion.io/x/onecloud/pkg/util/ssh 2021-04-06 13:02:14 +08:00
Yousong Zhou
e3a54dcfd1 cloudproxy: forwards: more list filter conditional keys 2021-04-06 13:02:14 +08:00
Yousong Zhou
43a4cc6bed cloudproxy: apis: add ForwardDetails definition 2021-04-06 13:02:14 +08:00
Yousong Zhou
bbd2114f94 util: ssh: add ConnectContext method for ClientConfig 2021-04-06 13:02:14 +08:00
rainzm
961d6e484c feat(region): virtually display the esxiagent of the cached image as a host 2021-04-06 11:33:21 +08:00
Yousong Zhou
6137a3d452 apigateway: handler: add cloudproxy 2021-04-06 11:06:27 +08:00
Zexi Li
e4a47a1e61 Merge pull request #10622 from swordqiu/hotfix/qj-role-assignment-ignore-no-user-groups
fix(keystone): role_assignment effective list ignore groups without user
2021-04-06 10:18:15 +08:00
Zexi Li
15dcaa1a5e Merge pull request #10627 from swordqiu/feature/qj-standalone-dhcp-relay
feature: add a standalone dhcp relay service
2021-04-06 10:16:29 +08:00
Qiu Jian
f5a1522abf feature: add a standalone dhcp relay service 2021-04-06 08:50:02 +08:00
Qiu Jian
e9a4a659f0 fix(keystone): role_assignment effective list ignore groups without user 2021-04-05 17:18:51 +08:00
Qiu Jian
c03f0da14e fix(region): remove i18n lock and logs 2021-04-05 16:34:57 +08:00
Zexi Li
c50abb085b Merge pull request #10612 from swordqiu/hotfix/qj-add-usage-cache
fix(region): add usage cache, speedup response
2021-04-05 00:55:13 +08:00
yunion-ci-robot
cdc4d9ff7e Merge pull request #10616 from ioito/hotfix/qx-aws-new-region
fix(region): new aws region
2021-04-04 20:14:44 +08:00
yunion-ci-robot
6ebc9db0a7 Merge pull request #10608 from ioito/hotfix/qx-account-sync-time
fix: time sync duration
2021-04-04 20:11:42 +08:00
Qiu Jian
8dff784225 response scope-specific metrics 2021-04-04 20:04:19 +08:00
Qu Xuan
432435e5b3 fix: new aws region 2021-04-03 12:20:19 +08:00
Qiu Jian
82d2604d79 fix(region): add usage cache, speedup response 2021-04-03 07:47:20 +08:00
Qu Xuan
f9ce72ca62 fix: time sync duration 2021-04-02 20:53:33 +08:00
Zexi Li
9709ebf459 Merge pull request #10601 from rainzm/hostwire/fix
Fix the problem of hostwire producted by #9723
2021-04-02 20:04:38 +08:00
Zexi Li
a0867750f0 Merge pull request #10603 from zexi/hotfix/baremetal-sas-parse
fix(baremetal): sas2iru parse line
2021-04-02 20:03:38 +08:00
Zexi Li
13b4652d33 Merge pull request #10576 from swordqiu/hotfix/qj-allow-ipmi-probe-when-fail
fix(region): allow ipmi probe when probe fail
2021-04-02 19:44:30 +08:00
Zexi Li
4d4920a42f Merge pull request #10581 from swordqiu/hotfix/qj-recycle-disk-when-rebuild-root
fix(hostman): recycle local disk file when rebuilding root
2021-04-02 19:42:41 +08:00
Zexi Li
f531e41095 Merge pull request #10590 from ioito/hotfix/qx-secgroup-reference
fix: secgroup cache reference
2021-04-02 19:41:15 +08:00
Zexi Li
a1f06e6350 Merge pull request #10595 from rainzm/iso/fix
Fixes problem of Esxi Disk with iso creating
2021-04-02 19:40:07 +08:00
Zexi Li
0895945998 fix(baremetal): sas2iru parse line 2021-04-02 19:27:04 +08:00
rainzm
3ba9adeea8 fix(region): expand the bridge field
由于 esxi 中,bridge 是 dvs 的一个路径,长度为 16 字段会不够用
2021-04-02 19:10:41 +08:00
rainzm
21285f7530 fix(region): de-duplication when obtaining the number of hosts 2021-04-02 19:09:53 +08:00
rainzm
564470de0e fix(esxi): determine whether the disk is a root disk more reasonably
The order of the device is often sorted according to the size of the
key. The disk pointed to by the smallest key is not necessarily the
root disk or the first disk which often has the label of 'Hard disk 1'.
We try to find the label, if not, use the Key again to determine who
is the root disk.
2021-04-02 18:35:35 +08:00
rainzm
f71f1d8318 feat(esxi): change parameters for NewDiskDev and avoid unnecessary deploy
1. The fields UnitNumber and Index should be independent
2. Avoid unnecessary deploy, such create vm with iso not image
2021-04-02 18:35:31 +08:00
rainzm
b073ae9cb0 fix(esxi): add ListPath for storage and use it to check iso
When remote iso file is used, CheckFile will failed.
2021-04-02 16:52:12 +08:00
Qu Xuan
b7fe92f503 fix: secgroup cache reference 2021-04-02 16:20:03 +08:00
Zexi Li
da90be0616 Merge pull request #7047 from swordqiu/hotfix/qj-adjust-utf8-utf8mb4
fix: adjust primary key length when sqlchemy utf8 default to utf8mb4
2021-04-02 15:10:41 +08:00
Qiu Jian
6c66f89131 fix: adjust primary key length when sqlchemy utf8 default to utf8mb4 2021-04-02 15:05:27 +08:00
Qiu Jian
225afd4473 fix(hostman): recycle local disk file when rebuilding root 2021-04-02 02:14:15 +08:00
yunion-ci-robot
f33f6f7581 Merge pull request #10568 from ioito/hotfix/qx-mccclient-worker
fix: avoid listener worker leak
2021-04-01 22:33:41 +08:00
yunion-ci-robot
d0266fe7c5 Merge pull request #10482 from ioito/hotfix/qx-imported-at-time
fix: before insert
2021-04-01 22:26:48 +08:00
Qiu Jian
848a5b9a16 fix(region): allow ipmi probe when probe fail 2021-04-01 21:42:53 +08:00
Qu Xuan
7f8cf5adc3 fix: before insert 2021-04-01 21:24:11 +08:00
Zexi Li
cd53e0853d Merge pull request #10546 from zexi/fix/arm-virtio-net-pci
fix(host): arm vm virtio-net-pci without addr
2021-04-01 20:52:45 +08:00
Zexi Li
efe5ce4508 Merge pull request #10549 from swordqiu/hotfix/qj-image-update-iso-min-disk
fix(image): update min_disk of iso image
2021-04-01 20:51:44 +08:00
Zexi Li
af9c89f3bb Merge pull request #10552 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor):修复监控总览图标钻取后返回数据异常的问题
2021-04-01 20:50:58 +08:00
Zexi Li
cd2d4109f1 Merge pull request #10555 from ioito/hotfix/qx-nas-sku-policy
fix: nat sku domain policy
2021-04-01 20:50:32 +08:00
Zexi Li
0b498a6db1 Merge pull request #10557 from ioito/hotfix/qx-account-auto-sync
fix: cloudaccount auto sync
2021-04-01 20:49:51 +08:00
Zexi Li
1dcea165f0 Merge pull request #10561 from ioito/hotfix/qx-vender-update
fix: vendor update
2021-04-01 20:48:43 +08:00
Zexi Li
cc8c1c2113 Merge pull request #10565 from rainzm/hostconfig/nil
fix(esxi): be compatible with disconnected host
2021-04-01 20:47:43 +08:00
Zexi Li
2dd832ad9c Merge pull request #10573 from ioito/hotfix/qx-sec-rule-update
fix: avoid update protocol with any faild
2021-04-01 20:44:39 +08:00
Qu Xuan
80580fa2e4 fix: avoid update protocol with any faild 2021-04-01 17:35:31 +08:00
Qu Xuan
2a4e808792 fix: avoid listener worker leak 2021-04-01 17:26:24 +08:00
rainzm
885a483e0f fix(esxi): be compatible with disconnected host 2021-04-01 17:16:24 +08:00
Qu Xuan
a4b387dd26 fix: vendor update 2021-04-01 16:53:16 +08:00
Qu Xuan
b9627f034d fix: cloudaccount auto sync 2021-04-01 16:16:03 +08:00
Qu Xuan
baacfddbd0 fix: nat sku domain policy 2021-04-01 10:31:32 +08:00
zhaoxiangchun
1391839ad9 fix(monitor):修复监控总览图标钻取后返回数据异常的问题 2021-04-01 10:02:35 +08:00
Qiu Jian
298568772a fix(image): update min_disk of iso image 2021-03-31 22:39:41 +08:00
Zexi Li
c7b85ca303 fix(host): arm vm virtio-net-pci without addr 2021-03-31 18:51:55 +08:00
Yousong Zhou
c34d6984d5 Merge pull request #10543 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(host): modification of netio collection field  of local virtual machine
2021-03-31 15:17:21 +08:00
yunion-ci-robot
62215f9245 Merge pull request #10538 from swordqiu/hotfix/qj-add-more-usage-metrics
fix(region): add more usage metrics, e.g. ports.eip, servers.last_week, pending_delete_servers.last_week
2021-03-31 15:12:42 +08:00
zhaoxiangchun
8c5915067e fix(host): modification of netio collection field of local virtual machine
1.本地虚拟机指标保存时field存在转换关系
bits_recv
bits_sent
2021-03-31 10:31:55 +08:00
Qiu Jian
e76a84a01b fix(region): add more usage metrics, e.g. ports.eip, servers.last_week,
pending_delete_servers.last_week
2021-03-31 03:36:30 +08:00
rainzm
8009ca8d70 feat(region): disable synchronization of some special storage 2021-03-30 22:45:59 +08:00
Zexi Li
d0c981fce7 Merge pull request #10525 from ioito/hotfix/qx-peer-secgroup-fix
fix: peer secgroup rule fix
2021-03-30 19:47:29 +08:00
Zexi Li
1de8172dd9 Merge pull request #10529 from ioito/hotfix/qx-qcloud-eip
fix: instance with eip charge type
2021-03-30 19:46:15 +08:00
Zexi Li
b011158786 Merge pull request #10527 from ioito/hotfix/qx-nat-public
fix: vpc public with nat
2021-03-30 19:45:17 +08:00
Zexi Li
f149d0cc02 Merge pull request #10534 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): alertQuery fix
2021-03-30 19:43:50 +08:00
zhaoxiangchun
cb177bc4db fix(monitor): alertQuery fix
1.兼容meter相关的监控数据查询
2.根据groupby
  确定resType,从而确定云管中对应的资源,然后进行属性填充,解决资源属性修改的问题
2021-03-30 18:14:24 +08:00
Zexi Li
833225367a Merge pull request #10531 from swordqiu/hotfix/qj-show-storage-capacity-to-project
fix(region): show storage capacity to project users
2021-03-30 15:53:47 +08:00
Qiu Jian
d6f588c5c3 fix(region): show storage capacity to project users 2021-03-30 12:24:37 +08:00
Qu Xuan
f387f32fa4 fix: instance with eip charge type 2021-03-30 11:45:50 +08:00
Qu Xuan
e1de34e9ab fix: vpc public with nat 2021-03-29 17:47:13 +08:00
Qu Xuan
97f086cc26 fix: peer secgroup rule fix 2021-03-29 17:27:36 +08:00
Zexi Li
43312da552 Merge pull request #10516 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): filter alertquery result according to onecloud resources
2021-03-29 17:15:44 +08:00
Zexi Li
38398bbeca Merge pull request #10510 from ioito/hotfix/qx-rds-sku-zone
fix: sku zone
2021-03-29 12:15:08 +08:00
Zexi Li
5d8e08e3d6 Merge pull request #10514 from zhaoxiangchun/feature/zxc-notify-onecloud
fix(monitor): registry alertPanel in mcclient
2021-03-29 12:14:41 +08:00
Zexi Li
7be373b59c Merge pull request #10521 from ioito/hotfix/qx-auto-sync
fix: account auto sync time
2021-03-29 12:13:26 +08:00
Qu Xuan
6b89fb57ee fix: account auto sync time 2021-03-29 11:04:11 +08:00
Zexi Li
96a2070d83 Merge pull request #10519 from swordqiu/hotfix/qj-aws-sts-assume-role-break-initialization
fix(region): aws sts assume role fail break account initialization
2021-03-29 09:51:47 +08:00
Qiu Jian
9f81122cb8 fix(region): aws sts assume role fail break account initialization 2021-03-29 06:30:08 +08:00
zhaoxiangchun
beff4578c9 fix(monitor): filter alertquery result according to onecloud resources
1.排除已经删除的资源
2.对已经删除的资源不再持续报警
2021-03-28 18:52:12 +08:00
zhaoxiangchun
ed4bffa9ab fix(monitor): registry alertPanel in mcclient 2021-03-27 21:57:08 +08:00
Qu Xuan
888c8c2003 fix: sku zone 2021-03-26 16:44:13 +08:00
Zexi Li
7cdda78b24 Merge pull request #10499 from yousong/bugfix/yousong-eip-qos
vpcagent: ovn: fix qos for eip upload
2021-03-26 15:18:03 +08:00
Zexi Li
4df3c60fa0 Merge pull request #10505 from swordqiu/hotfix/qj-megactl-fail-find-device
fix(baremetal): megactl driver fail to find device by key
2021-03-26 15:09:25 +08:00
Yousong Zhou
e5a44d2b69 vpcagent: ovn: fix qos for eip upload 2021-03-26 10:27:12 +08:00
Qiu Jian
ffc67460b6 fix(baremetal): megactl driver fail to find device by key 2021-03-26 03:18:05 +08:00
Yousong Zhou
bf5ef89a95 vpcagent: ovn: add ClaimRoutes 2021-03-24 20:16:19 +08:00
Yousong Zhou
5fd1c309c8 vpcagent: ovn: resolveRoutes from API models 2021-03-24 20:16:19 +08:00
Yousong Zhou
1b2878d699 vpcagent: models: annotate guest with guestnetworks 2021-03-24 20:16:19 +08:00
Yousong Zhou
3b8e4811bc vpcagent: models: add route tables 2021-03-24 20:16:19 +08:00
Yousong Zhou
98cd08bac7 region: apis: route: add nexthop type "IP" 2021-03-24 20:16:19 +08:00
Zexi Li
7a6aa3116d Merge pull request #10490 from ioito/hotfix/qx-nas-fix
fix: nat delete and create fix
2021-03-24 19:35:26 +08:00
Zexi Li
7194a693c8 Merge pull request #10494 from zhaoxiangchun/feature/zxc-notify-onecloud
fix(monitor): modify onecloud replacement code
2021-03-24 19:34:31 +08:00
Zexi Li
7cc77626d9 Merge pull request #10483 from tb365/bugfix/tb-bugfix-032304
fix(region): qcloud elb https listener create fix
2021-03-24 18:51:22 +08:00
zhaoxiangchun
65a9d79453 fix(monitor): modify onecloud replacement code
1.增加copyright api查询逻辑
2021-03-24 18:05:34 +08:00
tangbin
dea9f77a2b fix(region): qcloud elb https listener create fix 2021-03-24 14:15:42 +08:00
Zexi Li
e2211caaa0 Merge pull request #10487 from ioito/hotfix/qx-qcloud-prefix
fix: remove qcloud region and zone prefix
2021-03-24 12:22:18 +08:00
Zexi Li
61c47dd39c fix(build): build telegraf-raid-plugin 2021-03-24 11:45:57 +08:00
Qu Xuan
45d3e83299 fix: nat delete and create fix 2021-03-24 10:33:10 +08:00
Qu Xuan
adaf389bf8 fix: remove qcloud region and zone prefix 2021-03-23 17:42:33 +08:00
Zexi Li
6be2d4e533 Merge pull request #10474 from yousong/bugfix/yousong-guestnic
Bugfix/yousong guestnic
2021-03-23 10:39:22 +08:00
Zexi Li
cc092cff33 Merge pull request #10480 from zexi/automated-cherry-pick-of-#10479-upstream-master
Automated cherry pick of #10479: fix(host): ignore parted resize disk unknown partition table error
2021-03-23 10:38:30 +08:00
Zexi Li
bf13a14ed5 fix(host): ignore parted resize disk unknown partition table error 2021-03-23 10:00:27 +08:00
Yousong Zhou
5ede377c82 region: fix setting nic index
When a guest has two nics, changing ip address of the 1st will cause
the new nic after detach then attach to be "1", colliding with the
original nic of index 1
2021-03-22 19:31:08 +08:00
Yousong Zhou
5fda85f831 region: attachnetwork: allow attach by network name
isValidNetworkInfo allows names.  Otherwise the code will panic when
a named was passed and nil was returned by the fetch call
2021-03-22 19:31:08 +08:00
Zexi Li
59473b8428 Merge pull request #10468 from swordqiu/hotfix/qj-baremetal-event-log-filters
fix(log): add filters to baremetal event logs
2021-03-22 16:09:00 +08:00
Zexi Li
2641cb2342 Merge pull request #10451 from ioito/hotfix/qx-qcloud-lb-tags
fix: add qcloud get tags and remove unused interface
2021-03-22 14:02:09 +08:00
Zexi Li
1d8fc15317 Merge pull request #10471 from swordqiu/hotfix/qj-user-info-add-sendpoint-service-type
fix(apigateway): use info response service type of console endpoints
2021-03-22 14:00:28 +08:00
Qiu Jian
d4a2dbbeaf fix(log): add filters to baremetal event logs 2021-03-22 10:47:53 +08:00
Zexi Li
8f9b0ad6c7 Merge pull request #10462 from ioito/hotfix/qx-cachedimages-index
fix: add index for image_type
2021-03-22 10:45:14 +08:00
Zexi Li
d77c13813a Merge pull request #10460 from rainzm/notify/robot1
fix(notify): be compatible with robots and webhooks
2021-03-22 10:44:20 +08:00
Zexi Li
f32c4470d7 Merge pull request #10449 from ioito/hotfix/qx-nat-sku
fix: nat sku env
2021-03-22 10:41:45 +08:00
Zexi Li
a4ff2ece2a Merge pull request #10450 from ioito/hotfix/qx-license-upload
fix: add license upload
2021-03-22 10:41:35 +08:00
Zexi Li
d1002324a9 Merge pull request #10455 from swordqiu/hotfix/qj-allow-join-projects-across-domains-by-default
fix(keystone): allow joint projects across domains by default
2021-03-22 10:39:06 +08:00
Qiu Jian
bfc522a89c fix(apigateway): use info response service type of console endpoints 2021-03-22 09:58:26 +08:00
Zexi Li
4baa4c6d85 Merge pull request #10452 from ioito/hotfix/qx-vpc-peer-panic
fix: avoid panic when use idc vpc
2021-03-19 18:23:15 +08:00
Qu Xuan
2218e46244 fix: add index for image_type 2021-03-19 14:27:58 +08:00
rainzm
6b1f63efc9 fix(notify): be compatible with robots and webhooks 2021-03-19 11:02:32 +08:00
Qiu Jian
bf1aed7a14 fix(keystone): allow joint projects across domains by default 2021-03-18 23:56:36 +08:00
Qu Xuan
e723b24188 fix: avoid panic when use idc vpc 2021-03-18 21:03:15 +08:00
Qu Xuan
7c3c8bc2b5 fix: add qcloud get tags and remove unused interface 2021-03-18 20:03:51 +08:00
Qu Xuan
6b35605de0 fix: add license upload 2021-03-18 17:27:56 +08:00
Qu Xuan
0446859f0e fix: nat sku env 2021-03-18 16:07:51 +08:00
Zexi Li
40644f73b8 Merge pull request #10448 from zexi/automated-cherry-pick-of-#10446-upstream-master
Automated cherry pick of #10446: feat(host): adjust qemu args to support aarch64
2021-03-18 15:22:48 +08:00
Zexi Li
3b21605525 feat(host): adjust qemu args to support aarch64 2021-03-18 15:00:09 +08:00
Zexi Li
49a798ad0e Merge pull request #10431 from rainzm/hostnetwork/details
feat(region): add wire info in HostNetwork details
2021-03-18 10:24:31 +08:00
Zexi Li
bb7712920b Merge pull request #10437 from swordqiu/hotfix/qj-scoped-policy-filter-by-project-id
fix(region): scoped policy filter by project id
2021-03-18 10:23:51 +08:00
Zexi Li
c631353bfa Merge pull request #10441 from swordqiu/hotfix/qj-add-domain-info-to-project-role-results
fix(region): including domain info in project-role results
2021-03-18 10:23:23 +08:00
Zexi Li
a3f0e40408 Merge pull request #10162 from ioito/hotfix/qx-server-detach-network
fix(region): struct input for detach server network
2021-03-18 10:18:20 +08:00
Zexi Li
a263fb853a Merge pull request #10399 from ioito/hotfix/qx-tag-sync-optimized
fix: optimzed tag update and sync
2021-03-18 10:17:59 +08:00
Zexi Li
479a1a679d Merge pull request #10433 from ioito/hotfix/qx-aws-stop
fix: avoid stop or start vm failed
2021-03-18 10:17:13 +08:00
Zexi Li
55d6de0e3b Merge pull request #10429 from ioito/hotfix/qx-nat-entry-optimized
fix: optimized nat entry
2021-03-18 10:16:15 +08:00
Qiu Jian
42b40b8e25 fix(region): including domain info in project-role results 2021-03-18 00:29:41 +08:00
Qiu Jian
7613e287ed fix(region): scoped policy filter by project id 2021-03-17 22:58:15 +08:00
Qu Xuan
e08a990613 fix: avoid stop or start vm failed 2021-03-17 20:02:14 +08:00
rainzm
01ce700ec9 feat(region): add wire info in HostNetwork details 2021-03-17 15:39:35 +08:00
Zexi Li
42ee3751d3 Merge pull request #10425 from ioito/hotifx/qx-rds-change-config-skus
fix: change rds config skip zone check
2021-03-17 11:43:09 +08:00
Qu Xuan
20a64f9343 fix: optimized nat entry 2021-03-17 11:26:18 +08:00
Zexi Li
7410c583b7 Merge pull request #10418 from zhaoxiangchun/feature/zxc-raid-plugin
fix(telegraf): megactl raid  add rebuild status
2021-03-15 18:45:50 +08:00
Zexi Li
2a0fd9afbb Merge pull request #10421 from ioito/hotfix/qx-bucket-refer
fix: qcloud bucket refer
2021-03-15 17:52:12 +08:00
Qu Xuan
8eaa256255 fix: change rds config skip zone check 2021-03-15 17:41:10 +08:00
Qu Xuan
113e2ab874 fix: qcloud bucket refer 2021-03-15 15:45:45 +08:00
zhaoxiangchun
5e86cb2205 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-raid-plugin 2021-03-15 10:03:08 +08:00
zhaoxiangchun
ff644319c7 fix(telegraf): megactl raid add rebuild status 2021-03-15 09:50:38 +08:00
yunion-ci-robot
1a04bd9614 Merge pull request #10414 from ioito/hotfix/qx-bucket-tag-sync
fix: sync cloud tags when set tags
2021-03-14 01:24:36 +08:00
Qu Xuan
511111aec0 fix: sync cloud tags when set tags 2021-03-13 20:45:28 +08:00
yunion-ci-robot
59889ab372 Merge pull request #10410 from ioito/hotfix/qx-rds-change-config-sku
fix: skip zone check when rds change config
2021-03-13 19:08:24 +08:00
Qu Xuan
6bd71f5eb0 fix: skip zone check when rds change config 2021-03-13 18:53:40 +08:00
Zexi Li
7ac819e20c Merge pull request #10402 from swordqiu/hotfix/qj-cloud-provider-filter-by-owner
fix(region): cloud provider filter by domain_id ignore private case
2021-03-12 21:17:10 +08:00
Qiu Jian
18d495f108 fix(region): cloud provider filter by domain_id ignore private case 2021-03-12 20:11:49 +08:00
Zexi Li
c11ecbd566 Merge pull request #10387 from swordqiu/hotfix/qj-fail-update-network-gateway
fix(region): fail to update network gateway
2021-03-12 17:37:52 +08:00
Zexi Li
f8c614c56f Merge pull request #10391 from ioito/hotfix/qx-azure-new-resource-group
fix: sync new project for azure resource group
2021-03-12 17:35:12 +08:00
Zexi Li
9102a5a4c0 Merge pull request #10395 from rainzm/esxi/guestos
feat(esxi): update guest os info
2021-03-12 17:33:52 +08:00
Qu Xuan
e71b6fce41 fix: optimzed tag update and sync 2021-03-11 18:01:35 +08:00
rainzm
0d5a44155d feat(esxi): update guest os info 2021-03-11 16:40:20 +08:00
Qu Xuan
11be3494c9 fix: sync new project for azure resource group 2021-03-11 14:59:16 +08:00
Qiu Jian
2bca43bc5f fix(region): fail to update network gateway 2021-03-11 14:49:38 +08:00
Zexi Li
3c6a76a81d Merge pull request #10370 from ioito/hotfix/qx-prepaid-change-config
Hotfix/qx prepaid change config
2021-03-11 11:45:10 +08:00
Zexi Li
acebb5fad2 Merge pull request #10374 from ioito/hotfix/qx-aliyun-public-bandwidth
fix: aliyun public ip bandwidth
2021-03-11 11:43:33 +08:00
Zexi Li
5b64bb28c5 Merge pull request #10378 from ioito/hotfix/qx-aliyun-tag
fix: aliyun tag list api
2021-03-11 11:42:13 +08:00
Zexi Li
36c060adca Merge pull request #10380 from ioito/hotfix/qx-bucket-delete-tooltip
fix: add bucket tooltip
2021-03-11 11:41:30 +08:00
Zexi Li
6aeda12032 Merge pull request #10382 from swordqiu/hotfix/qj-cloud-provider-filter-by-domain
fix(region): cloud provider filter by domain
2021-03-11 11:38:27 +08:00
Zexi Li
c5721fa3e5 Merge pull request #10365 from rainzm/schedtag/filter
feat(region): filter schedtags from cloudprovider_id
2021-03-11 11:36:54 +08:00
yunion-ci-robot
6d399614b7 Merge pull request #10357 from tb365/feature/tb-qcloud-redis-support-multi-zones
qcloud redis support multi zones
2021-03-11 10:21:22 +08:00
Qiu Jian
9b7796bb60 fix(region): cloud provider filter by domain 2021-03-11 01:06:41 +08:00
Qu Xuan
db11d67f43 fix: add bucket tooltip 2021-03-10 21:05:35 +08:00
Qu Xuan
56948a97ee fix: optimize change vm config and prepaid change config 2021-03-10 20:34:51 +08:00
Qu Xuan
4d9f007727 fix: aliyun tag list api 2021-03-10 20:31:39 +08:00
tangbin
ebdb9fbc94 fix(region) qcloud multi zone instance sync account fix 2021-03-10 18:50:26 +08:00
rainzm
f8c7abf374 feat(region): filter schedtags from cloudprovider_id 2021-03-10 18:15:39 +08:00
Qu Xuan
02fa0373b8 fix: aliyun public ip bandwidth 2021-03-10 17:30:46 +08:00
Zexi Li
756e1c1b26 Merge pull request #10351 from swordqiu/hotfix/qj-network-eip-usage
fix(region): network eip stats not correct
2021-03-10 16:30:40 +08:00
Zexi Li
a9e20f22ed Merge pull request #10367 from zexi/fix/dokcer-cli-enable
fix(build): DOCKER_CLI_EXPERIMENTAL=enabled
2021-03-10 16:28:50 +08:00
Zexi Li
cac364054c fix(build): DOCKER_CLI_EXPERIMENTAL=enabled 2021-03-10 16:20:58 +08:00
tangbin
33285eb777 feat(region) qcloud redis support multi zones 2021-03-10 11:57:15 +08:00
Zexi Li
b061515f6b Merge pull request #10358 from ioito/hotfix/qx-nat-sku-sync
fix: sync nat sku when sync cloudaccount
2021-03-09 18:07:58 +08:00
Zexi Li
1caf8abadc Merge pull request #10361 from swordqiu/hotfix/qj-change-default-role-policy-name
fix(keystone): update default role associated policy name
2021-03-09 18:06:27 +08:00
Qiu Jian
4490adedb1 fix(keystone): update default role associated policy name 2021-03-09 17:49:32 +08:00
Qu Xuan
91abafe715 fix: sync nat sku when sync cloudaccount 2021-03-09 15:28:04 +08:00
Qu Xuan
cf0b2f5565 fix: support prepaid instance change config 2021-03-09 11:38:50 +08:00
Qiu Jian
a2ff5b38ce fix(region): network eip stats not correct 2021-03-09 02:45:08 +08:00
Qu Xuan
95a9327d90 fix(region): struct input for detach server network 2021-03-08 20:53:38 +08:00
Zexi Li
ad205f0577 Merge pull request #10275 from swordqiu/hotfix/qj-auto-set-object-mime-type-when-upload
fix: automatically setup object miemtype when uploading
2021-03-08 20:18:41 +08:00
yunion-ci-robot
f8a76397df Merge pull request #10345 from zexi/feature/build-manifest-image
feat(build): make multi arch manifest docker image
2021-03-08 20:17:05 +08:00
Zexi Li
9a33236275 Merge pull request #10340 from yousong/bugfix/yousong-map-conc-write
etcd: fix "fatal error: concurrent map writes"
2021-03-08 14:18:38 +08:00
Zexi Li
3f6ba75f50 Merge pull request #10348 from ioito/hotfix/qx-nat-cancel-expire
fix: add cancel expire action
2021-03-08 14:15:04 +08:00
Zexi Li
230103264d Merge pull request #10329 from ioito/hotfix/qx-bucket-tag-sync
fix: optimized bucket tag
2021-03-08 14:13:24 +08:00
Zexi Li
1ac228f1a9 Merge pull request #10334 from ioito/hotfix/qx-nat-sku-policy
fix: add nat sku policy
2021-03-08 14:10:27 +08:00
Zexi Li
44d6c90a12 feat(build): make multi arch manifest docker image 2021-03-08 12:52:00 +08:00
Qu Xuan
c3b80cb6b0 fix: add cancel expire action 2021-03-08 12:11:58 +08:00
Yousong Zhou
651c4b687d etcd: fix "fatal error: concurrent map writes"
Trace

	goroutine 1270434 [running]:
	runtime.throw(0x4b0cc5e, 0x15)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/panic.go:1116 +0x72 fp=0xc0011151f8 sp=0xc0011151c8 pc=0x439292
	runtime.mapdelete_faststr(0x40876e0, 0xc0006a54a0, 0xc001e84200, 0x3e)
		/home/yousong/.usr/go/goroot-1.15.6/src/runtime/map_faststr.go:377 +0x34c fp=0xc001115260 sp=0xc0011151f8 pc=0x41664c
	yunion.io/x/onecloud/pkg/cloudcommon/etcd.(*SEtcdClient).Unwatch(0xc0003130e0, 0xc001e84200, 0x3e)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/cloudcommon/etcd/etcd.go:353 +0x134 fp=0xc0011152d0 sp=0xc001115260 pc=0x10031f4
	yunion.io/x/onecloud/pkg/compute/models.(*SHostHealthChecker).WatchHost(0xc000c222a0, 0x5229ca0, 0xc000122000, 0xc001fbc4e0, 0x24)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/host_health.go:149 +0xd5 fp=0xc001115338 sp=0xc0011152d0 pc=0x1816395
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformOnline(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0xc000957c40, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3829 +0x227 fp=0xc0011153a0 sp=0xc001115338 pc=0x185a387
	yunion.io/x/onecloud/pkg/compute/models.(*SHost).PerformPing(0xc001fd8400, 0x5229d20, 0xc001c4d440, 0x52a0c60, 0xc000957c40, 0x5298900, 0xc001629aa0, 0x5298900, 0xc001629ae0, 0x0, ...)
		/home/yousong/go/src/yunion.io/x/onecloud/pkg/compute/models/hosts.go:3891 +0xbd fp=0xc001115430 sp=0xc0011153a0 pc=0x185acbd
2021-03-08 09:54:24 +08:00
yunion-ci-robot
765366f8bc Merge pull request #10336 from rainzm/fix/filter_receiver
fix(notify): enable filter of contact type 'email' and 'mobile'
2021-03-06 10:57:27 +08:00
rainzm
c3b4cbef59 fix(notify): enable filter of contact type 'email' and 'mobile' 2021-03-06 01:06:17 +08:00
Qu Xuan
04ad3d4df0 fix: add nat sku policy 2021-03-05 17:26:25 +08:00
Qu Xuan
531e142a1c fix: optimized bucket tag 2021-03-05 15:37:17 +08:00
Zexi Li
b03d01fa01 Merge pull request #10327 from zexi/fix/service-option-auth-domain
fix(cloudcommon): add default domain of common options
2021-03-05 11:22:35 +08:00
Zexi Li
29ef9d8ba6 fix(cloudcommon): add default domain of common options 2021-03-05 10:49:03 +08:00
Zexi Li
42af169241 Merge pull request #10320 from ioito/hotfix/qx-secgroup-filter
fix: add secgroup filter opts
2021-03-05 10:15:57 +08:00
Zexi Li
8ecfcd43ce Merge pull request #10322 from tb365/bugfix/tb-bugfix-030403
copyright update brand_cn&brand_en fix
2021-03-05 10:12:33 +08:00
tangbin
ff51bf449f copyright update brand_cn&brand_en fix 2021-03-05 09:55:01 +08:00
Zexi Li
421b4519b1 Merge pull request #10314 from ioito/hotfix/qx-nat-sku-filter
fix: add nat sku provider filter
2021-03-04 21:00:27 +08:00
Zexi Li
0f1b16f4d7 Merge pull request #10312 from ioito/hotfix/qx-tag-fix
fix: optimzed tag sync
2021-03-04 21:00:10 +08:00
Qu Xuan
169b1ec864 fix: add secgroup filter opts 2021-03-04 20:56:01 +08:00
Zexi Li
c10bf3e789 Merge pull request #10316 from rainzm/fix/guest_nil
fix(region): check whether guest is nil
2021-03-04 19:38:21 +08:00
Qu Xuan
2af2a977be fix: add nat sku provider filter 2021-03-04 17:49:52 +08:00
rainzm
74a8cc7f4e fix(region): check whether guest is nil 2021-03-04 17:49:28 +08:00
Qu Xuan
68e28bfe49 fix: optimzed tag sync 2021-03-04 17:30:56 +08:00
Zexi Li
24045dc8ae Merge pull request #10310 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
bugfix(monitor): 导出信息中添加全局字典配置
2021-03-04 16:53:47 +08:00
Zexi Li
062388f729 Merge pull request #10305 from tb365/bugfix/tb-bugfix-030403
infos copyright add brand_en&brand_cn
2021-03-04 15:25:29 +08:00
zhaoxiangchun
3ba8168a6f bugfix(monitor): 导出信息中添加全局字典配置
1. 域信息中添加全局字典的域配置
2021-03-04 12:09:58 +08:00
tangbin
e277370372 infos copyright add brand_en&brand_cn 2021-03-04 11:17:05 +08:00
Zexi Li
875b7083c3 Merge pull request #10301 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(mcclient,itsm): modify itsm mcclient rpc func
2021-03-04 10:01:02 +08:00
Zexi Li
b232b1693e Merge pull request #10303 from ioito/feat/qx-nat
feat(region): nat op support
2021-03-04 09:59:57 +08:00
Zexi Li
68c29af5f2 Merge pull request #10299 from tb365/bugfix/tb-bugfix-030101
redis update tags fix
2021-03-04 09:59:45 +08:00
Qu Xuan
b21e6ff25b feat(region): nat op support 2021-03-03 21:25:32 +08:00
zhaoxiangchun
2bae6527dd feat(mcclient,itsm): modify itsm mcclient rpc func
1.统计返回技术支持工单信息
2021-03-03 17:48:32 +08:00
Zexi Li
34d1d9ec01 Merge pull request #10295 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert policy filter by res_type
2021-03-03 10:27:18 +08:00
Zexi Li
0c744bda44 Merge pull request #10297 from ioito/feat/qx-nat
feat(region): nat op support
2021-03-03 10:26:32 +08:00
Qu Xuan
22937c4afb feat(region): nat op support 2021-03-02 20:55:22 +08:00
tangbin
c45573b779 redis update tags fix 2021-03-02 16:36:38 +08:00
zhaoxiangchun
e37ee880f9 feat(monitor): alert policy filter by res_type
1.增加资源类型的过滤处理
2.报警消息内容处理
2021-03-02 16:11:32 +08:00
Zexi Li
0eeb75d945 Merge pull request #10292 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix monitor export err
2021-03-02 14:29:34 +08:00
zhaoxiangchun
97c107f7e9 fix(monitor): fix monitor export err
1.修复监控导出报错
2.db_dispatcher.ListItems 方法中对exportKeys的处理新增了一个方法
2021-03-02 11:52:44 +08:00
Zexi Li
5c3f40d3ae Merge pull request #10289 from swordqiu/hotfix/qj-adjust-default-policy-name
fix(keystone): adjust default system policy names
2021-03-02 10:16:40 +08:00
yunion-ci-robot
01520577f9 Merge pull request #10286 from zexi/hotfix/windows-umount-leak
fix(hostdeployer): windows rootfs umount leak
2021-03-02 10:11:21 +08:00
Zexi Li
b72f60f340 fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:51:41 +08:00
yunion-ci-robot
3d35618c87 Merge pull request #10284 from yousong/bugfix/yousong-net-server-type-no-update
networks: server_type: do not allow update
2021-03-01 22:12:26 +08:00
Qiu Jian
222f9cdebe fix(keystone): adjust default system policy names 2021-03-01 21:28:28 +08:00
Yousong Zhou
d54fdf6e71 networks: server_type: do not allow update
Transition between guest, baremetal, ipmi, eip, etc. all requires
sanity checks on relevant types allocated from the network
2021-03-01 19:05:44 +08:00
Zexi Li
c0438d45f1 Merge pull request #10208 from rainzm/fix/wire_merge
fix(region): pull the network correctly
2021-03-01 11:39:39 +08:00
Zexi Li
3eeabaa295 Merge pull request #10278 from swordqiu/hotfix/qj-baremetal-fail-to-power-off-soft
fix(baremetal-agent): baremetal fail to stop due to power off soft failed
2021-03-01 10:13:10 +08:00
yunion-ci-robot
c551a2dcc0 Merge pull request #10276 from yousong/bugfix/yousong-cloudproxy
Bugfix/yousong cloudproxy
2021-02-27 21:52:19 +08:00
Qiu Jian
75d7b30d2d fix(baremetal-agent): baremetal fail to stop due to power off soft
failed
2021-02-27 21:47:48 +08:00
Yousong Zhou
d9b3d3ee85 cloudproxy: agent: refresh bindAddr, advertiseAddr when needed 2021-02-26 19:19:38 +08:00
Qiu Jian
e2e18efd15 fix: automatically setup object miemtype when uploading 2021-02-26 14:13:21 +08:00
Zexi Li
d3f06ef1e9 Merge pull request #10270 from ioito/hotfix/qx-cloudevent-sql-optimized
fix(cloudevent): optimized cloudevent sql
2021-02-25 11:35:34 +08:00
Qu Xuan
8837b2d64c fix(cloudevent): optimized cloudevent sql 2021-02-25 11:32:14 +08:00
Zexi Li
01729ded9c Merge pull request #10261 from swordqiu/hotfix/qj-objectstore-put-object-in-directory
feature(climc): support put objects in directory
2021-02-25 11:25:01 +08:00
Zexi Li
0437633ba5 Merge pull request #10262 from swordqiu/hotfix/qj-avoid-compare-id-with-utf8
fix(keystone): ensure comparing id with non-utf8 string
2021-02-25 11:24:11 +08:00
Zexi Li
dea3a973ba Merge pull request #10265 from ioito/hotfix/qx-azure-new-region
fix(region): add azure new region
2021-02-25 11:22:59 +08:00
Qu Xuan
ada5fd0d1b fix(region): add azure new region 2021-02-25 10:22:04 +08:00
Qiu Jian
c68c3f17a2 fix(keystone): ensure comparing id with non-utf8 string 2021-02-25 02:28:50 +08:00
Yousong Zhou
e3e51731ac build: cloudproxy: add dockerfile 2021-02-24 22:22:07 +08:00
Qiu Jian
b264a0eba6 feature(climc): support put objects in directory 2021-02-24 21:47:28 +08:00
yunion-ci-robot
36b2580e88 Merge pull request #10176 from yousong/feature/yousong-cloudproxy
Feature/yousong cloudproxy
2021-02-24 19:51:38 +08:00
Zexi Li
5471cd6357 Merge pull request #10254 from ioito/hotfix/qx-aliyun-request
fix(region): aliyun request retry
2021-02-24 18:09:41 +08:00
Zexi Li
ec790a8105 Merge pull request #10256 from ioito/hotfix/qx-qcloud-start-vm
fix(region): optimized qcloud error code
2021-02-24 16:53:05 +08:00
Zexi Li
8ec37ed233 Merge pull request #10258 from tb365/bugfix/tb-bugfix-022401
fix(region): redis change spec bugfix
2021-02-24 16:06:24 +08:00
tangbin
e08c07bb8d fix(region): redis change spec bugfix 2021-02-24 11:19:01 +08:00
Qu Xuan
34c6c52575 fix(region): optimized qcloud error code 2021-02-23 20:43:05 +08:00
Yousong Zhou
1bcaa9b3fc climc: add commands for cloudproxy 2021-02-23 15:32:56 +08:00
Yousong Zhou
22145cbe0f cloudproxy: initial version 2021-02-23 15:31:47 +08:00
Yousong Zhou
4c550665fb apihelper: move to yunion.io/x/onecloud/pkg/{vpcagent/,}apihelper 2021-02-23 15:31:44 +08:00
Yousong Zhou
8ab1db998f mcclient: models: Server: add fields for eip and nics 2021-02-23 15:29:12 +08:00
Yousong Zhou
44871c6b1c ansibleserver: use mcclient module method for fetching keypair info 2021-02-23 15:29:12 +08:00
Yousong Zhou
21032a1df7 mcclient: Sshkeypairs: add FetchPrivateKey 2021-02-23 15:29:12 +08:00
Yousong Zhou
87f93c2872 mcclient: auth: add SessionCache 2021-02-23 15:29:12 +08:00
Yousong Zhou
2f7bd7a7a2 validators: set xx_id when possible 2021-02-23 15:29:12 +08:00
Qu Xuan
0a06c7486e fix(region): aliyun request retry 2021-02-23 11:55:11 +08:00
Zexi Li
9f09117cd6 Merge pull request #10224 from ioito/hotfix/qx-aws-cloudtrail
fix(region): optimized aws cloudtrail sync
2021-02-22 21:25:13 +08:00
Zexi Li
bba0e9f3d6 Merge pull request #10223 from swordqiu/hotfix/qj-host-deployer-mount-retry
fix(host-deployer): mount may fail to lock /etc/mtab, add retrier
2021-02-22 21:18:27 +08:00
Zexi Li
644d706c97 Merge pull request #10246 from ioito/hotfix/qx-aws-region-err
fix(region): more details for get aws region error
2021-02-22 21:14:07 +08:00
Zexi Li
710a1c0884 Merge pull request #10231 from tb365/bugfix/tb-bugfix-022202
Bugfix/tb bugfix 022202
2021-02-22 21:13:28 +08:00
Zexi Li
d363806dc3 Merge pull request #10244 from ioito/hotfix/qx-rds-fix
fix(region): fix rds tag set error
2021-02-22 21:05:44 +08:00
Qu Xuan
b02fb7eac0 fix(region): more details for get aws region error 2021-02-22 20:52:51 +08:00
Zexi Li
2e1d654986 Merge pull request #10227 from ioito/hotfix/qx-qcloud-quota-sync
fix(region): qcloud quota sync
2021-02-22 20:42:31 +08:00
Zexi Li
deb18965a2 Merge pull request #10233 from ioito/feat/qx-peer-secgroup
fix(region): support peer secgroup
2021-02-22 20:39:36 +08:00
Qu Xuan
5882c20419 fix(region): fix rds tag set error 2021-02-22 20:04:44 +08:00
Zexi Li
184ea3da62 Merge pull request #9071 from zexi/feature/k8s-cluster-addon-opt
feat(climc): k8s cluster addon add enable native ip alloc option
2021-02-22 19:51:04 +08:00
Zexi Li
23a2a1a702 Merge pull request #10234 from ioito/hotfix/qx-dns-zone-sync
fix(region): avoid not sync dns zone
2021-02-22 19:49:12 +08:00
Zexi Li
8dfd53bfc4 Merge pull request #10240 from tb365/bugfix/tb-bugfix-022203
fix(region): set redis reboot timeout to 30 mins
2021-02-22 19:47:53 +08:00
tangbin
a8aa18f0d3 fix(region): set redis reboot timeout to 30 mins 2021-02-22 18:40:11 +08:00
Qu Xuan
7417452ec6 fix(region): support peer secgroup 2021-02-22 16:18:36 +08:00
Qu Xuan
da83837b69 fix(region): avoid not sync dns zone 2021-02-22 16:13:32 +08:00
TangBin
4875397252 fix(region): aws rebuild instance os_arch mismatch fix 2021-02-22 15:05:43 +08:00
TangBin
dac711343e aws change flavor fix 2021-02-22 15:05:33 +08:00
Qu Xuan
d1de64ce0d fix(region): qcloud quota sync 2021-02-22 14:55:02 +08:00
Qu Xuan
941ff2992a fix(region): optimized aws cloudtrail sync 2021-02-22 11:39:35 +08:00
Zexi Li
41dabf28cc Merge pull request #10213 from swordqiu/feature/qj-support-aws-organization
feature(region): support AWS organization
2021-02-22 09:45:32 +08:00
Qiu Jian
63bbd5c343 fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-22 09:18:27 +08:00
Zexi Li
a757361465 Merge pull request #10202 from swordqiu/feature/qj-live-migration-skip-cpu-check
feature(compute): allow live migration without checking Host CPU modes
2021-02-22 08:59:16 +08:00
Qiu Jian
c6cd80351b fix: add more organization command 2021-02-20 23:11:47 +08:00
Zexi Li
a323921f8b Merge pull request #10214 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): monitor add trigger value when send notify info
2021-02-20 19:32:26 +08:00
Zexi Li
93def21110 Merge pull request #10217 from tb365/bugfix/tb-bugfix-01021902
server create sku parameter fix
2021-02-20 19:31:40 +08:00
Zexi Li
72de1aed3a Merge pull request #10220 from ioito/hotfix/qx-rebuild-root-stage
fix(region): set next stage for start vm
2021-02-20 19:30:01 +08:00
Qu Xuan
39dfce961a fix(region): set next stage for start vm 2021-02-20 16:43:30 +08:00
TangBin
176f32e802 server create sku parameter fix 2021-02-19 19:42:20 +08:00
Qiu Jian
6815f63c12 fix: get region nil pointer error 2021-02-19 18:59:36 +08:00
Qiu Jian
567990df19 feature(region): support AWS organization 2021-02-19 15:39:40 +08:00
zhaoxiangchun
0e7a043502 feat(monitor): monitor add trigger value when send notify info
1.监控消息中增加触发值
2021-02-19 10:28:46 +08:00
Zexi Li
5e21790ad4 Merge pull request #10210 from tb365/bugfix/tb-bugfix-021801
change os_arch_arm to os_arch_aarch64
2021-02-18 15:01:11 +08:00
Zexi Li
28e97ba711 Merge pull request #9904 from rainzm/notify/subs
Notification Subscription
2021-02-18 11:52:52 +08:00
tangbin
03d96ca48b change os_arch_arm to os_arch_aarch64 2021-02-18 11:27:33 +08:00
rainzm
fd7b2a7ff1 feat(notify): remove disk's event notify for now 2021-02-18 11:21:25 +08:00
rainzm
c7b8d88d75 feat(notify): be compatible with mobile in event notify 2021-02-18 11:21:25 +08:00
rainzm
334a47e383 feat(keystone): support filter 'project_domain_id' in role_assignments 2021-02-18 11:21:25 +08:00
rainzm
31c23b45b2 feat: change go version from 1.12 to 1.13 in go.mod 2021-02-18 11:21:25 +08:00
rainzm
340b914db2 update vendor 2021-02-18 11:21:25 +08:00
rainzm
650e25560c fix(notify): get the receiver corresponding to the role correctly 2021-02-18 11:21:25 +08:00
rainzm
c67bd977ee feat: call EventNotify when event occurs 2021-02-18 11:21:25 +08:00
Zexi Li
88cd588c72 Merge pull request #10205 from swordqiu/hotfix/qj-host-search-by-ip
fix(region): host search by any ip
2021-02-18 11:16:58 +08:00
rainzm
b45edf2f18 feat: support EventNotify 2021-02-18 11:16:57 +08:00
rainzm
a6b24e373d feat(notify): add local template 2021-02-18 11:14:58 +08:00
rainzm
3719b8b7f1 feat(notify): add subscription in notify 2021-02-18 11:14:58 +08:00
rainzm
f352cf4e31 feat(cloudcommon): add rolecache
rolecache 在原有cache的基础上,使用了 watch
的功能,所以数据的过期时间可以调的高一些,这里使用
roleCacheExpireHours 进行控制,默认设置为24小时。
2021-02-18 11:14:58 +08:00
rainzm
f204b5e605 feat(util): support uint64 in bitmap
The bitmap feature of low-digit uint type can be implemented by this of uint64
2021-02-18 11:14:58 +08:00
rainzm
b3d876a6c7 fix(region): pull the network correctly 2021-02-18 10:52:47 +08:00
Jian Qiu
9ba3709b31 fix(keystone): policy name duplication (#10199)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-14 19:13:51 +08:00
Qiu Jian
b459bc7e8b fix(region): host search by any ip 2021-02-13 23:11:03 +08:00
Qiu Jian
3944d9ce07 feature(compute): allow live migration with checking Host CPU modes 2021-02-13 16:30:56 +08:00
yunion-ci-robot
3587659de8 Merge pull request #10197 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix 报警静默期和未恢复告警策略的兼容
2021-02-09 13:13:01 +08:00
zhaoxiangchun
8fb4e1555b fix(monitor): fix 报警静默期和未恢复告警策略的兼容
1.处于告警静默期内的报警策略仍可以在未恢复告警策略中进行查询
2021-02-09 12:50:05 +08:00
Jian Qiu
010049e5e3 fix(keystone): hide system scope policies in domain scope view (#10194)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:45 -03:00
Jian Qiu
3bb48e9371 fix(scheduler): storage medium type should not exact match (#10190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-08 12:16:28 -03:00
yunion-ci-robot
1b9d0f0de6 Merge pull request #10149 from wanyaoqi/feat/wyq/deb-build-script
chore(utils): add deb build script
2021-02-08 05:50:58 +08:00
yunion-ci-robot
b61f527ada Merge pull request #10189 from zhasm/hotfix/rex-arm64-for-host
host 编译跨平台兼容
2021-02-07 19:02:02 +08:00
Zhang Dongliang
c7782f2404 host 编译跨平台兼容 2021-02-07 18:58:00 +08:00
yunion-ci-robot
e65fd35f8f Merge pull request #10183 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space  when query
2021-02-07 16:07:00 +08:00
zhaoxiangchun
1e08a51999 fix(monitor,host): replace space to '+' when write to influxdb and replace '+' to space when query
1.写入influxdb时tag 中不允许存在空格
2021-02-07 14:57:14 +08:00
Jian Qiu
c96c0cc267 fix(apigateway): add auth/stats api to retrieve system info (#10181)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-06 22:41:14 -03:00
yunion-ci-robot
3871cf0076 Merge pull request #10179 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix update alert duration fail
2021-02-06 20:49:34 +08:00
zhaoxiangchun
be4b9a580b fix(monitor): fix update alert duration fail
1.修复无法更新报警持续周期的问题
2021-02-06 19:51:54 +08:00
Zexi Li
1d94da1b6a Merge pull request #10177 from tb365/bugfix/tb-bugfix-01020601
imagetools NormalizeImageInfo update
2021-02-06 18:39:28 +08:00
Zexi Li
902081c7bf Merge pull request #10166 from tb365/bugfix/tb-bugfix-01020502
warp aws err with errors.Wrap
2021-02-06 18:38:45 +08:00
yunion-ci-robot
93faf828dd Merge pull request #10146 from zexi/feature/baremetal-h3c-oem
Feature/baremetal h3c oem
2021-02-06 13:32:24 +08:00
TangBin
dba28b7fae imagetools NormalizeImageInfo update 2021-02-06 12:26:27 +08:00
Zexi Li
f21ca16f20 Merge pull request #10169 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert record add silentPeriod info
2021-02-06 10:36:43 +08:00
Zexi Li
16e7c86a16 Merge pull request #10173 from swordqiu/hotfix/qj-cas-sso-create-duplicate-projects
fix(keystone): cas sso may create new project whenever user login
2021-02-06 10:35:46 +08:00
Zexi Li
d23063b86b Merge pull request #10171 from swordqiu/hotfix/qj-idp-match-sso-domain
fix(keystone): idp filter by sso_domain returns domain's idp only
2021-02-06 10:35:05 +08:00
Qiu Jian
515a4de9bc fix(keystone): cas sso may create new project whenever user login 2021-02-06 03:12:02 +08:00
Qiu Jian
01abd8997c fix(keystone): idp filter by sso_domain returns domain's idp only 2021-02-06 02:54:00 +08:00
zhaoxiangchun
730c13b837 feat(monitor): alert record add silentPeriod info
1.报警记录中增加静默期等信息
2021-02-05 19:56:38 +08:00
Zexi Li
ce9848e85a Merge pull request #10133 from rainzm/fix/merge_wire
fix(region): init and change status
2021-02-05 17:29:31 +08:00
Zexi Li
00c597f5dd Merge pull request #10135 from ioito/hotfix/qx-sku-disable
fix(region,scheduler): filter enabled skus
2021-02-05 14:55:23 +08:00
Zexi Li
c3f226e34f Merge pull request #10143 from swordqiu/hotfix/qj-try-channel-8-for-default-baremetal-profile
fix(baremetal): try channel 8 for default profile
2021-02-05 14:54:15 +08:00
Zexi Li
e309bce029 Merge pull request #10154 from ioito/hotfix/qx-action-log-distinct-field
fix(logger): distinct field optimized for logger
2021-02-05 14:53:32 +08:00
Zexi Li
2506aabcef Merge pull request #10163 from ioito/hotfix/qx-role-sync-policy
fix(cloudid): sync role policy
2021-02-05 14:36:07 +08:00
Zexi Li
e1d3ef31dd Merge pull request #10152 from rainzm/notice/domain
To support domain notice
2021-02-05 14:35:17 +08:00
rainzm
2283caa460 fix(region): fetch wires correctly 2021-02-05 14:33:57 +08:00
Qu Xuan
04afc689e9 fix(cloudid): sync role policy 2021-02-05 13:59:19 +08:00
TangBin
3f4094e9df warp aws err with errors.Wrap 2021-02-05 13:47:16 +08:00
Zexi Li
c98df7d8ff Merge pull request #10156 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): 3.7 nodata and alertOverview fix
2021-02-05 09:42:07 +08:00
Jian Qiu
1af001357f fix(keystone): add alertrecords to default dashboard permission (#10160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:57:34 +08:00
Jian Qiu
7191d9df10 fix(apigateway): add enable_quota_check and return-domain-list (#10158)
attributes to fe params

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-02-05 02:56:47 +08:00
zhaoxiangchun
4e0ce5b9e8 fix(monitor): 3.7 nodata and alertOverview fix
1.nodata相关逻辑调整
2.监控总览视图穿透,报警数量不一致问题修复
2021-02-04 20:52:53 +08:00
Qu Xuan
2cfbda9a59 fix(logger): distinct field optimized for logger 2021-02-04 20:40:07 +08:00
rainzm
45159e2ec3 refactor(climc): use shell.NewResourceCmd for notice 2021-02-04 17:33:54 +08:00
rainzm
ec4dfc471a fix(cloudcommon): use NewGeneralError to construct error 2021-02-04 17:06:25 +08:00
wanyaoqi
429b872664 chore(utils): add deb build script 2021-02-04 14:40:09 +08:00
Zexi Li
3a3675108e feat(baremetal): support H3C oem baremetal 2021-02-04 14:09:58 +08:00
yunion-ci-robot
9c6b15033f Merge pull request #10140 from swordqiu/hotfix/qj-remove-invalid-bucket-size-stats
fix(region): bucket size stats should not count invalid sizes of -1
2021-02-04 13:16:51 +08:00
Qiu Jian
fee2ef355a fix(baremetal): try channel 8 for default profile 2021-02-04 12:58:26 +08:00
Zexi Li
92c9019eaf Merge pull request #10137 from ioito/hotfix/qx-disk-delete
fix(region): delete not exist disk failed
2021-02-04 11:36:56 +08:00
Qiu Jian
0733e4575a fix(region): bucket size stats should not count invalid sizes of -1 2021-02-04 11:13:47 +08:00
Qu Xuan
5aa26cd36c fix(region): delete not exist disk failed 2021-02-04 11:00:55 +08:00
Qu Xuan
4a6474caff fix(region,scheduler): filter enabled skus 2021-02-03 20:42:24 +08:00
Zexi Li
8c20bd78a7 Merge pull request #10130 from ioito/hotfix/qx-kvm-disk-create
fix(hostman): fix kvm create disk failed error
2021-02-03 20:38:12 +08:00
rainzm
be5d6ca77b fix(wire): init and change status 2021-02-03 20:24:55 +08:00
Qu Xuan
bf6cadd5aa fix(hostman): fix kvm create disk failed error 2021-02-03 20:08:56 +08:00
Zexi Li
69a5898392 Merge pull request #10127 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
feat(monitor): alert add silent period param
2021-02-03 18:20:20 +08:00
Zexi Li
45bb9e2dd4 Merge pull request #10041 from lvyangyang/aws-elasticache
feat(region): aws elasticahe
2021-02-03 18:14:43 +08:00
Zexi Li
a563e4f608 Merge pull request #9723 from rainzm/vmware/dvs_wire
Optimization of vmware network
2021-02-03 18:06:45 +08:00
Zexi Li
1971ff9974 Merge pull request #10126 from ioito/hotfix/qx-distinct-field
fix(cloudevent): add distinct filed for cloudevent
2021-02-03 17:59:57 +08:00
Qu Xuan
cdd111ca00 fix(cloudevent): add distinct filed for cloudevent 2021-02-03 17:48:24 +08:00
rainzm
6309e2da85 feat(region): add host count when list wires 2021-02-03 14:37:06 +08:00
zhaoxiangchun
352fc030e4 feat(monitor): alert add silent period param
1. 报警静默期支持
2021-02-03 13:06:13 +08:00
rainzm
a4d3d5fa39 feat(region): support merging mutli wires to a wire 2021-02-03 12:08:23 +08:00
rainzm
4be58eef5a feat(esxiagent): determine vs by bridge and network when creating vm 2021-02-03 12:08:23 +08:00
rainzm
2177b62110 feat(region): support merging wire
1. support merging networks under a wire
2. auto merge networks under a wire when set 'merge_network' when merge
this wire
2021-02-03 12:08:23 +08:00
rainzm
e2bbb4e739 feat(region): sync Esxi HostWire for esxi host 2021-02-03 12:00:24 +08:00
rainzm
cef91402fb feat(region): support synchronize vmware's network configuration to the local
1. move prepare-nets in cloudaccounts_prepare.go
2. when creating vmware account, auto synchronize vmware's network and
synchronize cloudprovider
3. support actively triggering the synchronization of the vmware network
2021-02-03 12:00:24 +08:00
rainzm
e4fc71eca6 feat(esxi): fetch vmware network configuration info
1. vswitch and distributed vswitch info
2. ip, vlanId and vswitch of host and vm
2021-02-03 11:57:24 +08:00
Zexi Li
392174825d Merge pull request #10096 from ioito/hotfix/qx-vpc-filter
fix(region): filter resource by classic vpc
2021-02-03 09:48:13 +08:00
Zexi Li
10d859023f Merge pull request #10099 from ioito/hotfix/qx-hostman-disk-action
fix(hostman): avoid panic when disk is nil
2021-02-03 09:47:21 +08:00
Zexi Li
b2ed0dd5ba Merge pull request #10102 from rainzm/vmware/iso
feat(esxi): support iso when creating vm
2021-02-03 09:45:56 +08:00
yunion-ci-robot
97be7e553a Merge pull request #10091 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix alert duration
2021-02-02 23:46:37 +08:00
zhaoxiangchun
70c9dd397f feat(monitor): meter相关报警内容处理
1. meter 相关单位处理
2. 报警静默配置
3. meter 短信模版
2021-02-02 23:34:17 +08:00
zhaoxiangchun
ac0bb066d5 fix(monitor): fix alert duration
1.修改报警连续周期逻辑
2021-02-02 23:11:03 +08:00
Zexi Li
3a49f1a6ab Merge pull request #10109 from ioito/hotfix/qx-huawei-subaccount
fix(region): avoid sync huawei unusable account
2021-02-02 22:06:22 +08:00
Zexi Li
8dc1e4e1eb Merge pull request #10104 from ioito/hotfix/qx-network-delete
fix(region): delete virtual nics with network
2021-02-02 20:59:00 +08:00
Zexi Li
52d1cffbb4 Merge pull request #10114 from yousong/bugfix/yousong-usage
Bugfix/yousong usage
2021-02-02 20:13:43 +08:00
Zexi Li
3660dc2596 Merge pull request #10117 from wanyaoqi/fix/wyq/add-option-auto-reconcile-backup-servers
fix(region): add option auto reconcile backup servers
2021-02-02 20:09:13 +08:00
Zexi Li
06e8cf64f5 Merge pull request #10122 from rainzm/preparenets/fix
fix(region): check the global network situation when expanding the network
2021-02-02 20:05:54 +08:00
Zexi Li
cd443b9421 Merge pull request #10113 from rainzm/notify/email_style
feat(notify): verification email style optimization
2021-02-02 20:05:00 +08:00
rainzm
5906cf8a0d fix(region): check the global network situation when expanding the network 2021-02-02 19:43:24 +08:00
wanyaoqi
37a479075b fix(region): add option auto reconcile backup servers 2021-02-02 17:52:45 +08:00
rainzm
195e3c5c63 feat(notify): verification email style optimization 2021-02-02 16:09:27 +08:00
Yousong Zhou
79a4f27ec5 region: usages: add [{all,domain}.]networks etc. 2021-02-02 16:07:03 +08:00
Yousong Zhou
b471c727a3 region: wires: totalCountQ: filter networks by scope and owner 2021-02-02 16:07:02 +08:00
Yousong Zhou
aa60527b8d region: usages: fix field name of vpcs for system scope 2021-02-02 16:07:02 +08:00
Qu Xuan
38266154b9 fix(region): avoid sync huawei unusable account 2021-02-02 14:31:01 +08:00
Qu Xuan
f78fa04b1c fix(region): delete virtual nics with network 2021-02-02 10:51:33 +08:00
rainzm
cd97edf07d feat(esxi): support iso when creating vm 2021-02-02 10:33:17 +08:00
Qu Xuan
19705cc05f fix(hostman): avoid panic when disk is nil 2021-02-01 22:02:03 +08:00
Zexi Li
fb4156499c Merge pull request #10093 from ioito/hotfix/qx-metadata-sync
fix(region): avoid update tags task loop
2021-02-01 20:34:32 +08:00
Qu Xuan
6bb9098d0d fix(region): filter resource by classic vpc 2021-02-01 20:14:00 +08:00
Qu Xuan
965315ac77 fix(region): avoid update tags task loop 2021-02-01 19:56:40 +08:00
Zexi Li
5b800ea1c3 Merge pull request #9901 from wanyaoqi/feature/wyq/glance-support-s3
feat(glance): support backend storage s3
2021-02-01 09:56:38 +08:00
Zexi Li
870e2b90d1 Merge pull request #10067 from swordqiu/hotfix/qj-sso-create-user-duplicate-name
fix(keystone): SSO created user name may be duplicated
2021-01-30 10:41:47 +08:00
Zexi Li
4b4dc8ceec Merge pull request #10073 from wanyaoqi/bugfix/wyq/remove-escape-character-on-windows-passwd
fix(host-deployer): remove escape character on windows passwd
2021-01-30 10:39:58 +08:00
Zexi Li
a2a9686042 Merge pull request #10079 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify nodata feishu notifyinfo; fix send email err
2021-01-30 10:37:55 +08:00
Zexi Li
89bef2ccad Merge pull request #10081 from rainzm/notify/imobile_default
feat(notify): add default area code for mobile
2021-01-30 10:37:26 +08:00
Zexi Li
1ff61b0a89 Merge pull request #10083 from zhaoxiangchun/bugfix/zxc-monitor-resouceName
fix(monitor): fix alert notify info do not contain resourceName
2021-01-30 10:37:06 +08:00
Zexi Li
79d598b128 Merge pull request #10086 from rainzm/notify/type-get
fix(notify): be compatible with member's permission changes
2021-01-30 10:36:22 +08:00
Zexi Li
0c2e2d2137 Merge pull request #10087 from rainzm/al/onlyone
fix(keystone): avoid repeated abnormal login notifications
2021-01-30 10:35:54 +08:00
rainzm
95de795c8b fix(notify): be compatible with member's permission changes
every user can create, modify and delete their own receiver info
2021-01-29 20:09:41 +08:00
rainzm
21d8b7226e fix(keystone): avoid repeated abnormal login notifications 2021-01-29 20:05:05 +08:00
zhaoxiangchun
ec589c4703 fix(monitor): fix alert notify info do not contain resourceName 2021-01-29 18:13:57 +08:00
zhaoxiangchun
e2a5addc2f fix(monitor): modify nodata feishu notifyinfo; fix send email err
1.修改nodata报警消息内容
2.修复发送邮件数量异常的bug
2021-01-29 13:05:24 +08:00
wanyaoqi
11896e65d3 fix(host-deployer): remove escape character on windows passwd 2021-01-29 11:52:42 +08:00
lvyangyang
36e5c9ccff feat(region): aws elasticahe 2021-01-28 22:07:33 -05:00
Jian Qiu
b2e00a8adb fix(apigateway): ignore fetch IDP errors in getRegions (#10070)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-29 02:34:47 +08:00
Qiu Jian
209ba5d549 fix(keystone): SSO created user name may be duplicated 2021-01-28 23:34:52 +08:00
Zexi Li
b8b4c16c87 Merge pull request #10035 from ioito/hotfix/qx-task-err
fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:16 +08:00
Zexi Li
81ad75ca2b Merge pull request #10037 from zhaoxiangchun/feautre/zxc-monitor-notify-mobile
feat(monitor): monitor alert policy add mobile notify
2021-01-28 20:49:32 +08:00
Zexi Li
b3b94509fc Merge pull request #10039 from yousong/feature/yousong-opslog-joint
feat(cloudcommon): opslog: log joint models
2021-01-28 20:48:43 +08:00
Zexi Li
ee852c38a6 Merge pull request #10042 from rainzm/keystone/login
Optimize the error message when logging in
2021-01-28 20:48:01 +08:00
Zexi Li
e18628bc57 Merge pull request #10053 from yousong/feature/yousong-hostman-sdn-options
feat(hostman): options: add sdn_allow_conntrack_invalid
2021-01-28 20:47:10 +08:00
Zexi Li
a79f0c2f4a Merge pull request #10055 from ioito/hotfix/qx-aliyun-balance
fix(region): add aliyun credit amount check
2021-01-28 20:46:45 +08:00
Zexi Li
51f31058ea Merge pull request #10059 from ioito/hotfix/qx-huawei-credit-amount
fix(region): add huawei credit amount check
2021-01-28 20:46:04 +08:00
Zexi Li
f374d85ed6 Merge pull request #10063 from ioito/hotfix/qx-http-client
fix(region): avoid stuck at http request
2021-01-28 20:03:41 +08:00
rainzm
70c767c10c feat(notify): add default area code for mobile 2021-01-28 19:31:53 +08:00
Qu Xuan
e59ae6c416 fix(region): avoid stuck at http request 2021-01-28 18:18:48 +08:00
Zexi Li
dffeb37260 Merge pull request #10008 from rainzm/notify/area_code
feat(notify): support international mobile
2021-01-28 17:24:50 +08:00
Qu Xuan
86bd47d3fd fix(region): add huawei credit amount check 2021-01-28 16:19:07 +08:00
Qu Xuan
1d641f8b16 fix(region): add aliyun credit amount check 2021-01-28 16:00:15 +08:00
Yousong Zhou
9ddb01a95d feat(hostman): options: add sdn_allow_conntrack_invalid 2021-01-28 15:21:33 +08:00
Zexi Li
dbf219bcca Merge pull request #10048 from ioito/hotfix/qx-secgroup-priority-fix
fix(region): secgroup priority fix
2021-01-28 15:11:52 +08:00
Qu Xuan
e7407d3687 fix(region): secgroup priority fix 2021-01-28 14:20:21 +08:00
zhaoxiangchun
5c2d88c6d9 feat(monitor): monitor alert policy add mobile notify
1.报警策略增加短信通知
2021-01-28 11:00:46 +08:00
rainzm
b83c26f1f3 feat(locale): update 2021-01-28 10:07:40 +08:00
rainzm
d67ded441e feat(apigateway): differentiate error messages when logging in 2021-01-28 10:07:40 +08:00
rainzm
1c325f747d feat(keystone): more specific error return during authentication
add error class UserNotFound, UserLocked, UserDisabled and WrongPassword
2021-01-28 10:07:36 +08:00
Yousong Zhou
e5d79d1850 Merge pull request #10032 from yousong/feature/yousong-wire-bw-filter
Feature/yousong wire bw filter
2021-01-27 18:53:59 +08:00
Yousong Zhou
0cfc5f2311 feat(cloudcommon): opslog: log joint models 2021-01-27 18:48:18 +08:00
Qu Xuan
74eeb43e4d fix(region): avoid worker discarded after state unchanged 2021-01-27 14:57:27 +08:00
Zexi Li
1df08f28b1 Merge pull request #9963 from lvyangyang/azure-rds
feat(region): azure rds
2021-01-27 14:38:07 +08:00
Yousong Zhou
57eceae70d feat(climc): wires: allow filter by bandwidth 2021-01-27 10:31:20 +08:00
Yousong Zhou
2fe912f51a feat(region): wire: allow filter by bandwidth 2021-01-27 10:31:20 +08:00
Zexi Li
ed33cd4464 Merge pull request #9944 from rainzm/notify/index
fix(notify): add index fro receiver_notification
2021-01-27 09:05:34 +08:00
Zexi Li
100d1559ad Merge pull request #10019 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): modify alertrecord list input
2021-01-27 09:04:22 +08:00
Zexi Li
c37e8792f3 Merge pull request #10025 from ioito/hotfix/qx-snapshot-purge
fix(region): purge snapshot with not status check
2021-01-27 09:01:57 +08:00
Zexi Li
af16fcb0bb Merge pull request #10030 from ioito/hotfix/qx-optimized-azure-saml
fix(cloudid): fix azure saml provider delete error
2021-01-27 08:59:42 +08:00
Qu Xuan
13eaa4eb5d fix(cloudid): fix azure saml provider delete error 2021-01-26 16:48:21 +08:00
Zexi Li
a94cafb3f7 Merge pull request #10002 from lvyangyang/locals-zhCn-fix
fix(region): vpcpeering error message translation
2021-01-26 16:14:46 +08:00
Zexi Li
39c247fd6b Merge pull request #10018 from ioito/hotfix/qx-secgroup-fix
fix(region): optimized secgroup rule sync
2021-01-26 14:53:16 +08:00
Qu Xuan
7b7ed59dd8 fix(region): purge snapshot with not status check 2021-01-26 14:46:59 +08:00
Qu Xuan
48b03cbaad fix(region): optimized secgroup rule sync 2021-01-26 11:48:50 +08:00
zhaoxiangchun
ce02a6556b fix(monitor): modify alertrecord list input
1.修改资源类型查询参数
2021-01-26 10:22:11 +08:00
Zexi Li
7ba1778e2f Merge pull request #10010 from swordqiu/hotfix/qj-export-vpc-less-than-listed
fix(region): exported number of vpcs less than listed
2021-01-25 21:06:12 +08:00
Zexi Li
aef5ba5090 Merge pull request #10003 from wanyaoqi/bugfix/wyq/fix-umount-fusefs
fix(host): fix wait time after execute mount fuse fs
2021-01-25 21:04:32 +08:00
Zexi Li
f350e0973c Merge pull request #10013 from swordqiu/hotfix/qj-no-pass-user-can-login
fix(keystone): user create without password can login with any password
2021-01-25 21:03:21 +08:00
Qiu Jian
65096570a5 fix(keystone): user create without password can login with any password 2021-01-23 23:47:07 +08:00
yunion-ci-robot
47ba4f6915 Merge pull request #9995 from ioito/hotfix/qx-aws-public-ip
fix(region): aws not support create server with public ip
2021-01-23 22:43:34 +08:00
Qiu Jian
0868fc815f fix(region): exported number of vpcs less than listed 2021-01-23 20:07:17 +08:00
rainzm
019e70f602 feat(notify): support international mobile 2021-01-22 20:01:43 +08:00
wanyaoqi
c6a7ddc444 fix(host): fix wait time after mount fuse fs 2021-01-22 19:11:24 +08:00
lvyangyang
8cf11aa3f9 fix(region): vpcpeering error message translation 2021-01-22 04:36:39 -05:00
lvyangyang
1755f55c88 feat(region): azure rds 2021-01-22 04:36:14 -05:00
yunion-ci-robot
d650ba2d77 Merge pull request #9999 from swordqiu/hotfix/qj-recover-locale-from-apigateay
fix(apigateway): recover remove apigateway locale messages
2021-01-22 11:21:03 +08:00
yunion-ci-robot
6fd69f356d Merge pull request #9993 from swordqiu/hotfix/qj-apigateway-return-api-server
fix(apigateway): getRegions return value of api_server
2021-01-22 11:20:04 +08:00
Qiu Jian
9628e1210e fix(apigateway): recover remove apigateway locale messages 2021-01-22 10:45:10 +08:00
Qu Xuan
1e3d38acc1 fix(region): aws not support create server with public ip 2021-01-22 10:42:20 +08:00
Qiu Jian
217a54b9f7 fix(apigateway): getRegions return value of api_server 2021-01-22 04:32:50 +08:00
Zexi Li
7e69faac75 Merge pull request #9966 from ioito/hotfix/qx-aliyun-event
fix(cloudevent): update aliyun lookupevent api
2021-01-22 02:53:03 +08:00
Zexi Li
f797025ca2 Merge pull request #9989 from swordqiu/hotfix/qj-allow-delete-sso-imported-user
fix(keystone): allow delete sso imported non-local user
2021-01-22 02:49:23 +08:00
Zexi Li
4cd9813dc9 Merge pull request #9991 from swordqiu/hotfix/qj-saml-template-support-i18n
fix(cloudid): saml navigation template support i18n
2021-01-22 02:48:47 +08:00
Zexi Li
eb9486647c Merge pull request #9974 from yousong/bugfix/yousong-cloudaccount-sync
fix(region): cloudaccount: allow only one sync func in flight
2021-01-22 02:46:53 +08:00
Qiu Jian
0f68973d72 fix(cloudid): saml navigation template support i18n
saml navigation template support i18n
2021-01-22 00:52:00 +08:00
Zexi Li
d3dd9bba34 Merge pull request #9973 from ioito/hotfix/qx-secgroup-rule-sync-optimized
fix(region): avoid clean all rules when sync secgroups
2021-01-22 00:37:37 +08:00
Qiu Jian
84f776069f fix(keystone): allow delete sso imported non-local user
allow delete SSO imported non-local users
2021-01-21 23:48:53 +08:00
Zexi Li
960cf2a8b0 Merge pull request #9981 from rainzm/notify/webconsole_lang
fix(notify): send websocket messages according to language preference
2021-01-21 21:32:55 +08:00
Zexi Li
1077ac06d8 Merge pull request #9979 from rainzm/fix/login_ab
Send SMS notification for abnormal login
2021-01-21 21:20:41 +08:00
Qu Xuan
17c33bd453 fix(region): avoid clean all rules when sync secgroups 2021-01-21 21:17:03 +08:00
rainzm
09337d9231 fix(notify): send websocket messages according to language preference 2021-01-21 19:42:39 +08:00
rainzm
5b79ad3156 fix(notify): choose template in NotifyFilter 2021-01-21 18:54:03 +08:00
rainzm
1c3eea6886 feat(cloudcommon): send message with mobile in NotifyWithTag 2021-01-21 18:53:44 +08:00
Yousong Zhou
76d3c48339 fix(region): cloudaccount: allow only one sync func in flight
Ref https://github.com/yunionio/onecloud/pull/6859
2021-01-21 16:09:44 +08:00
Qu Xuan
1fdf9031f9 fix(cloudevent): update aliyun lookupevent api 2021-01-21 14:54:48 +08:00
Zexi Li
e3cb88d447 Merge pull request #9958 from ioito/hotfix/qx-saml-trans
fix(cloudid): add en-US html templte
2021-01-21 14:43:13 +08:00
Zexi Li
268a3ee71b Merge pull request #9950 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): Lists the records that are currently alarting
2021-01-21 14:31:43 +08:00
zhaoxiangchun
609862d606 Merge branch 'master' of https://github.com/yunionio/onecloud into feature/zxc-alerthistory-overview-master 2021-01-21 12:50:00 +08:00
Zexi Li
ce74c44051 Merge pull request #9960 from zhaoxiangchun/bugfix/zxc-alert-domain-list
fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info
2021-01-21 12:44:43 +08:00
Zexi Li
54823a67ca Merge pull request #9948 from rainzm/keystone/user_lock
feat(keystone,apigateway): return a readable message when the user is locked or disabled
2021-01-20 20:05:44 +08:00
wanyaoqi
a48f0040a8 feat(glance): support backend storage s3 2021-01-20 19:53:03 +08:00
Zexi Li
9b36d50724 Merge pull request #9964 from yousong/bugfix/yousong-climc-cost-report
climc: costreports: fix bad struct tag
2021-01-20 18:47:17 +08:00
Yousong Zhou
9e1ec4438c climc: costreports: fix bad struct tag
panic: Invalid structTag: help:"period of cost report send, example:"month/week/day" json:"period_type"

Fixes b803de0705 ("add cost report module")
2021-01-20 16:27:11 +08:00
zhaoxiangchun
83a6fd7f1f fix(monitor): domain view can list scope is domain or project alertrecords; fix nodata alert return info 2021-01-20 11:46:42 +08:00
Qu Xuan
39025c263e fix(cloudid): add en-US html templte 2021-01-20 10:33:09 +08:00
Zexi Li
74b83736e5 Merge pull request #9934 from rainzm/notify/receivernotification
feat(notify): clean data for receiver_notifications
2021-01-20 03:18:17 +08:00
Zexi Li
704861d810 Merge pull request #9942 from ioito/hotfix/qx-azure-saml-fix
fix(cloudid): azure saml confirm
2021-01-20 03:05:50 +08:00
Zexi Li
6d81f7f295 Merge pull request #9952 from ioito/hotfix/qx-zstack-delete-server
fix(region): fix zstack delete server with local disks
2021-01-20 02:25:24 +08:00
Zexi Li
af485fb8af Merge pull request #9956 from swordqiu/hotfix/qj-filter-sso-domain-with-name
fix(keystone): allow filter identity_providers with name of ssoDomain
2021-01-20 02:22:12 +08:00
Qiu Jian
0886e60928 fix(keystone): allow filter identity_providers with name of ssoDomain
allow filter identity_providers with name of ssoDomain
2021-01-20 00:53:15 +08:00
zhaoxiangchun
aedf73f14c feat(monitor): Lists the records that are currently alarting 2021-01-19 18:39:51 +08:00
Qu Xuan
0d38de3d0a fix(region): fix zstack delete server with local disks 2021-01-19 18:08:34 +08:00
rainzm
c5223f9131 feat(keystone,apigateway): return a readable message when the user is locked or disabled 2021-01-19 17:32:21 +08:00
rainzm
26192eac3b fix(notify): add index fro receiver_notification 2021-01-19 14:32:53 +08:00
Qu Xuan
5eb0c18426 fix(cloudid): azure saml confirm 2021-01-19 02:19:36 +08:00
yunion-ci-robot
1ab8ce581a Merge pull request #9938 from ioito/hotfix/qx-azure-fix
fix(region): azure default subscription id
2021-01-18 21:39:25 +08:00
Qu Xuan
bb9140708e fix(region): azure default subscription id 2021-01-18 21:23:10 +08:00
rainzm
36bae206ac feat(notify): clean data for receiver_notifications 2021-01-18 19:42:47 +08:00
Zexi Li
d7ec9ac2d1 Merge pull request #9930 from rainzm/keystone/alert
fix(keystone): don't send the administrator’s message to the party
2021-01-18 18:04:36 +08:00
Zexi Li
736adf6ad1 Merge pull request #9919 from ioito/hotfix/qx-azure-saml
Hotfix/qx azure saml
2021-01-18 18:03:34 +08:00
Qu Xuan
627503cdc1 feat(cloudid): add azure saml 2021-01-18 14:58:19 +08:00
rainzm
6b25d78ad7 fix(keystone): don't send the administrator’s message to the party 2021-01-18 14:56:34 +08:00
yunion-ci-robot
6b500b5529 Merge pull request #9920 from rainzm/config/admin
feat(keystone): add options to set admin and domain admin role to notify
2021-01-18 12:10:19 +08:00
Zexi Li
53952223ba Merge pull request #9925 from rainzm/notify/optimization
Notify Optimization
2021-01-18 11:46:50 +08:00
rainzm
a23cd05762 fix(notify): add a time limit for resending notifications 2021-01-18 11:09:44 +08:00
rainzm
4ef01d4329 feat(notify): delete the notification 1 month ago and remove the data migration 2021-01-18 11:07:11 +08:00
Zexi Li
e1f4e8f12c Merge pull request #9922 from rainzm/notify/mobile_lang
fix(notify): remote 'lang' filter when contact type is 'mobile'
2021-01-18 10:24:00 +08:00
rainzm
9a98909001 fix(keystone): correctly pass domain id to role-assignments 2021-01-17 20:48:26 +08:00
rainzm
349db2dce8 feat(keystone): add options to set admin and domain admin role to notify 2021-01-17 19:41:09 +08:00
rainzm
9db54d1dd1 fix(notify): remote 'lang' filter when contact type is 'mobile' 2021-01-17 19:36:43 +08:00
yunion-ci-robot
c31368c41b Merge pull request #9910 from ioito/hotfix/qx-azure-disk
fix(region): avoid azure detach disk failed
2021-01-17 11:37:32 +08:00
Jian Qiu
9a7b9bec2d fix(cloudcommon): missing set_meta opslog (#9914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:32:47 +08:00
Qu Xuan
bec909943b fix(region): avoid azure detach disk failed 2021-01-16 18:35:25 +08:00
yunion-ci-robot
daaa708345 Merge pull request #9907 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): query reduce percentile
2021-01-16 12:39:28 +08:00
zhaoxiangchun
fa29f3d9b3 feat(monitor): query reduce percentile
1.增加reduce.type == percentile ,进行对应数值处理
2021-01-16 11:58:49 +08:00
Zexi Li
edb904e1e2 Merge pull request #9902 from bistuzx/feature/cost-reports
feat(meter): add cost report module
2021-01-15 18:19:29 +08:00
bistuzx@163.com
b803de0705 add cost report module 2021-01-15 17:59:48 +08:00
Zexi Li
53651de276 Merge pull request #9891 from rainzm/notify/alert_fix
Repair of abnormal login notification
2021-01-15 10:31:01 +08:00
Zexi Li
434f0ecc6f Merge pull request #9888 from ioito/hotfix/qx-optimized-saml-auth
fix(cloudid): optimized saml sso
2021-01-15 09:07:49 +08:00
Zexi Li
f9383f40d2 Merge pull request #9877 from ioito/hotfix/qx-aws-cloudevent
fix(cloudevent): optimized cloudevent sync
2021-01-14 23:55:58 +08:00
Zexi Li
0cb5ff4aa9 Merge pull request #9893 from rainzm/climc/dep_fix
refactor(climc): remove dependence for `yunion.io/x/pkg/cloudcommon/db`
2021-01-14 23:51:39 +08:00
Zexi Li
89600e186b Merge pull request #9895 from ioito/hotfix/qx-google-langtitude-update
fix(region): update google latitude and langtitude
2021-01-14 23:49:44 +08:00
Zexi Li
8aa09dd987 Merge pull request #9899 from yousong/feature/yousong-vpc-order-count
feat(vpcs): list: add order_by_network_count
2021-01-14 23:47:05 +08:00
Yousong Zhou
95a5af1c1d feat(vpcs): list: add order_by_network_count 2021-01-14 22:02:41 +08:00
Qu Xuan
4c6cc713f0 fix(region): update google latitude and langtitude 2021-01-14 20:51:25 +08:00
rainzm
a68888979f refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:00:55 +08:00
rainzm
052b017cf8 feat(notify): show only users under the domain in the recipient details of the message 2021-01-14 18:15:10 +08:00
rainzm
4269a482b8 fix(notify): be compatible with webconsole type hack 2021-01-14 18:14:22 +08:00
Qu Xuan
ab15a751e4 fix(cloudid): optimized saml sso 2021-01-14 18:13:35 +08:00
Zexi Li
197c90acbe Merge pull request #9856 from ioito/hotfix/qx-azure-resetpassword
fix(region): optimized azure reset linux pasword
2021-01-14 17:39:31 +08:00
rainzm
2c1eeb89e8 fix(keystone): clear failed auth when enable user 2021-01-14 17:13:43 +08:00
rainzm
6e6f5ddde7 fix(keystone): send to the admin and the party separately when Abnormal login occurs 2021-01-14 17:10:52 +08:00
rainzm
d0fed292f2 fix(build): chage template of 'Abnormal Login' 2021-01-14 17:10:00 +08:00
rainzm
8316dadb05 feat(cloudcommon): send it directly if there is no template corresponding to the topic 2021-01-14 17:08:47 +08:00
rainzm
f6a2bbe9b4 feat(notify): mandatory update of VERIFY and USER_LOGIN_EXCEPTION templates 2021-01-14 17:07:19 +08:00
Zexi Li
3e243bc2ae Merge pull request #9882 from rainzm/notify/error_panic
Fix Notifition about Panic_Error Send too much
2021-01-14 14:49:53 +08:00
Qu Xuan
2bc4e77989 fix(region): optimized azure reset linux pasword 2021-01-14 14:31:51 +08:00
rainzm
beb6ad8601 feat(notify): change default verify expire interval 5m => 2m 2021-01-14 14:22:23 +08:00
rainzm
89d604a26c fix(notify): update receiver's lang when update event occurs 2021-01-14 14:21:28 +08:00
rainzm
7175e124e4 fix(notify): panic for err 2021-01-14 14:19:09 +08:00
Zexi Li
1d1a0147e2 Merge pull request #9879 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): influxQuery add P95 reduce
2021-01-14 11:05:19 +08:00
zhaoxiangchun
64e587f97b feat(monitor): influxQuery add P95 reduce 2021-01-14 10:43:07 +08:00
Qu Xuan
aa0915b55a fix(cloudevent): optimized cloudevent sync 2021-01-14 09:50:16 +08:00
Zexi Li
2ba73633c6 Merge pull request #9868 from rainzm/notify/alert
Send notification when abnormal login occurs
2021-01-14 09:38:18 +08:00
Zexi Li
71f069a657 Merge pull request #9870 from swordqiu/hotfix/qj-clone-policy-climc
feature(climc): add policy-clone command
2021-01-14 09:37:27 +08:00
Zexi Li
588f0c160b Merge pull request #9872 from swordqiu/hotfix/qj-aws-us-east-1-no-location
fix(region): AWS buckets in us-east-1 have null location
2021-01-14 09:36:19 +08:00
Qiu Jian
029d2fa27e fix(region): AWS buckets in us-east-1 have null location 2021-01-14 09:11:23 +08:00
Qiu Jian
dcfb2f3221 feature(climc): add policy-clone command 2021-01-14 03:28:52 +08:00
Zexi Li
b86f1ac0c6 Merge pull request #9865 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): support monitor overview influxdb query pass through
2021-01-13 21:12:00 +08:00
rainzm
274729eb5f feat(keystone): support alertNotify when abnormal login occur 2021-01-13 20:00:39 +08:00
rainzm
41139dc72e feat(keystone): add GetDefaultAdminSession 2021-01-13 20:00:37 +08:00
rainzm
2a0e36a437 feat(keystone): support projectDomainId in SAssignmentManager.FetchAll 2021-01-13 19:55:17 +08:00
rainzm
7357b6e0a2 feat(cloudcommon): expand notifyclient
1. support new params in creating notification
2. adapt keystone because `auth.GetAdminSession` doesn't work in keystone
2021-01-13 19:39:03 +08:00
rainzm
51f0e6f10a feat(notify): add params for create notification
1. tag, usually used to filter
2. metadata
3. ignore_nonexistent_receiver
2021-01-13 19:36:49 +08:00
rainzm
f8bace5b4e feat(notify): add template about topic USER_LOGIN_EXCEPTION 2021-01-13 19:35:54 +08:00
zhaoxiangchun
33975b5c12 feat(monitor): support monitor overview influxdb query pass through
1.监控总览支持查询穿透
2021-01-13 16:12:10 +08:00
Zexi Li
4370db008e Merge pull request #9862 from rainzm/notify/bigfix
fix(notify): set status after sending
2021-01-13 16:10:33 +08:00
rainzm
349ac011e7 fix(notify): set status after sending 2021-01-13 15:41:42 +08:00
Zexi Li
35a5a5dcc7 Merge pull request #9860 from lvyangyang/fix-update-tags-status
fix(region): update tags status
2021-01-13 15:19:51 +08:00
Zexi Li
2b0eb68855 Merge pull request #9857 from rainzm/receiver/mm
fix(notify): set ModelManager in Receiver()
2021-01-13 14:39:09 +08:00
lvyangyang
af4f07822c fix(region): update tags status 2021-01-13 01:11:03 -05:00
rainzm
479e1e2f33 fix(notify): set ModelManager in Receiver() 2021-01-13 09:52:49 +08:00
Zexi Li
8b3e14be43 Merge pull request #9690 from ioito/hotfix/qx-secgroup-optimized
fix(region): optimized secgroup rule sync
2021-01-12 21:37:56 +08:00
Zexi Li
99b1889425 Merge pull request #9829 from lvyangyang/fix-tags2
fix(region): tag bugs fix
2021-01-12 21:37:07 +08:00
lvyangyang
481e176ea2 fix(region): tag bugs fix
-azure tags replace/refresh
-tags action logs
-忽略创建中主机的metadate同步任务
2021-01-12 03:29:50 -05:00
Zexi Li
81cb23f5df Merge pull request #9847 from rainzm/email/mobile
feat(notify): send notifications of different templates according to language
2021-01-12 10:29:35 +08:00
Zexi Li
a96304afa8 Merge pull request #9839 from ioito/feature/qx-aws-cloudevent
fix(cloudevent): add aws cloudevent
2021-01-12 10:27:39 +08:00
Zexi Li
49cbb14fc6 Merge pull request #9836 from swordqiu/hotfix/qj-allow-suggestion-for-meter-admin
fix(keystone): add suggestion previliges to meter admin
2021-01-12 10:26:21 +08:00
Zexi Li
a7bce41a86 Merge pull request #9833 from ioito/hotfix/qx-saml-user
fix(cloudid): multi cloudaccount with saml user
2021-01-12 10:25:19 +08:00
Zexi Li
12ab6d9f72 Merge pull request #9841 from tb365/bugfix/tb-bugfix-011115
server skus filter by mem size fix
2021-01-11 22:37:23 +08:00
Zexi Li
7031be80ab Merge pull request #9844 from yousong/feature/yousong-i18n-apigateway
Feature/yousong i18n apigateway
2021-01-11 22:27:27 +08:00
Zexi Li
570b18fc05 Merge pull request #9851 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): monitor overview throw err
2021-01-11 22:25:33 +08:00
zhaoxiangchun
7988fa1f10 fix(monitor): monitor overview throw err 2021-01-11 21:24:27 +08:00
rainzm
76e7aa4018 feat(notify): send notifications of different templates according to language 2021-01-11 19:41:23 +08:00
Yousong Zhou
ab7c5e039f apigateway: try return httperrors 2021-01-11 17:47:09 +08:00
Yousong Zhou
78a6ebd57f locales: generate 2021-01-11 17:47:08 +08:00
Yousong Zhou
b66ccd78a1 locales: zh-CN: add some translations 2021-01-11 17:46:52 +08:00
Yousong Zhou
2d1d4f3dcc apigateway: reword error messages 2021-01-11 15:53:15 +08:00
Yousong Zhou
a71c875470 keystone: reword error messages 2021-01-11 15:52:51 +08:00
tangbin
0511cc0c7e server skus filter by mem size fix 2021-01-11 14:38:47 +08:00
Qu Xuan
ba5f19bc14 fix(cloudevent): add aws cloudevent 2021-01-11 14:24:43 +08:00
Qiu Jian
30453233c4 fix(keystone): add suggestion previliges to meter admin 2021-01-11 02:06:23 +08:00
Qu Xuan
f85dc7d4cc fix(cloudid): multi cloudaccount with saml user 2021-01-10 17:13:18 +08:00
Zexi Li
cb1d93ddf9 Merge pull request #9796 from ioito/hotfix/qx-cloudimage-update
fix(region): allowed to manually refresh cloudimage
2021-01-09 20:32:18 +08:00
Zexi Li
8234510a52 feat(climc): k8s cluster addon add enable native ip alloc option 2021-01-09 20:24:49 +08:00
Zexi Li
3a7607b1ec Merge pull request #9822 from ioito/hotfix/qx-city-servers
fix(apigateway): count city servers
2021-01-09 20:11:49 +08:00
Zexi Li
5ba6f7f7d3 Merge pull request #9793 from tb365/bugfix/tb-bugfix-010720
feat(region): server sku os_arch & cpu_arch checking
2021-01-09 19:57:02 +08:00
Zexi Li
8ae8044247 Merge pull request #9817 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): fix monitoroverview and meter send alerting info to  notify
2021-01-09 19:55:58 +08:00
Zexi Li
d0603b9cc5 Merge pull request #9825 from rainzm/notify/name
fix(notify): avoid duplication of notification names
2021-01-09 19:54:15 +08:00
Zexi Li
829eea3764 Merge pull request #9830 from tb365/bugfix/tb-bugfix-010920
loadbalancer add lb purge validate
2021-01-09 19:53:32 +08:00
tangbin
bc960367ab loadbalancer add lb purge validate 2021-01-09 19:14:38 +08:00
rainzm
07114b53d9 fix(notify): avoid duplication of notification names 2021-01-09 18:42:54 +08:00
yunion-ci-robot
552223ae59 Merge pull request #9820 from bistuzx/hotfix/meter-budget-log
fix(meter): add budget set alert log
2021-01-09 18:29:16 +08:00
Yousong Zhou
eb84a308af build: y18n: add apigateway 2021-01-09 18:15:34 +08:00
Qu Xuan
613662c07b fix(apigateway): count city servers 2021-01-09 17:05:23 +08:00
yunion-ci-robot
f1157affc1 Merge pull request #9808 from tb365/bugfix/tb-bugfix-010821
fix(region): aws elb backendgroup sync bugfix
2021-01-09 16:40:13 +08:00
tangbin
97192c3afc fix(region): aws elb backendgroup sync bugfix 2021-01-09 16:11:40 +08:00
bistuzx@163.com
a2ddd93587 add budget set alert log 2021-01-09 15:59:43 +08:00
zhaoxiangchun
abb4deebba fix(monitor): fix monitoroverview and meter send alerting info to notify
1.调整报警总览中今日报警数量计算逻辑
2.报警模版的web路径支持跳转到不同web页面:监控报警和meter
3.nodata 前端可配制功能fix
2021-01-09 15:33:06 +08:00
Zexi Li
7432449e28 Merge pull request #9798 from ioito/hotfix/qx-qcloud-instance-delete
fix(region): optimized for qcloud prepaid instance delete
2021-01-09 15:33:01 +08:00
Zexi Li
16c4c6ae7e Merge pull request #9811 from ioito/hotfix/qx-image-sync-fix
fix(region): avoid cachedimage never be in sync when it deleted
2021-01-09 15:31:46 +08:00
Zexi Li
6cd3caa7a3 Merge pull request #9813 from rainzm/notify/update_rece
fix(notify): loose phone number rules in updating receiver
2021-01-09 13:03:32 +08:00
rainzm
d12185d43a fix(notify): loose phone number rules in updating receiver 2021-01-09 11:29:38 +08:00
Qu Xuan
31aec9f969 fix(region): avoid cachedimage never be in sync when it deleted 2021-01-08 20:54:42 +08:00
Zexi Li
221a65c7c0 Merge pull request #9802 from rainzm/notify/phone_number
fix(notify): loose mobile phone number matching rules
2021-01-08 14:19:28 +08:00
rainzm
64e79a934a fix(notify): loose mobile phone number matching rules 2021-01-08 11:51:57 +08:00
Qu Xuan
374b56adb9 fix(region): optimized for qcloud prepaid instance delete 2021-01-08 11:19:41 +08:00
tangbin
0413898aa7 feat(region): server sku os_arch & cpu_arch checking 2021-01-08 09:59:36 +08:00
Qu Xuan
c226568ec0 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:27:57 +08:00
Zexi Li
cec10d3773 Merge pull request #9790 from wanyaoqi/bugfix/wyq/fix-check-is-vg-active
fix(host-deployer): add retry on check is vgactived
2021-01-07 21:18:01 +08:00
Zexi Li
7e6de3f56b Merge pull request #9785 from yousong/bugfix/yousong-vm-deploy-log
guest_deploy_task: log other deploy details with i18n
2021-01-07 21:16:29 +08:00
Zexi Li
a380eba225 Merge pull request #9782 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor,suggestion): order commonalert metric and modify alertresoruce type value and add suggestion models climc
2021-01-07 21:14:24 +08:00
wanyaoqi
eb79cc79ee fix(host-deployer): add retry on check is vgactived 2021-01-07 19:20:21 +08:00
Yousong Zhou
e40ca53b6b guest_deploy_task: log other deploy details with i18n
Fixes 9f350392 ("add service tag for actionlog")
2021-01-07 11:33:25 +08:00
zhaoxiangchun
b23519b036 fix(monitor,suggestion): order commonalert metric and modify
alertresoruce type value and add suggestion models climc

1.修改监控metric排序
2.统一报警资源type和监控报警中res_type 进行统一,前端可以统一展示
3.增加suggestion服务相关climc
2021-01-06 21:23:21 +08:00
Zexi Li
ff52fb7287 Merge pull request #9778 from ioito/hotfix/qx-azure-default-client
fix(region): avoid auzre request timeout
2021-01-06 21:23:13 +08:00
Zexi Li
cfe0154a6c Merge pull request #9775 from ioito/hotfix/qx-cloudevent-policy
fix(cloudevent): default policy
2021-01-06 21:22:56 +08:00
Qu Xuan
0ba310062d fix(region): avoid auzre request timeout 2021-01-06 15:30:23 +08:00
Qu Xuan
874c5af099 fix(cloudevent): default policy 2021-01-06 11:23:29 +08:00
Zexi Li
be959d9459 Merge pull request #9767 from ioito/hotfix/qx-aliyun-public-ip
fix(region): aliyun support public ip
2021-01-05 21:36:28 +08:00
Zexi Li
d9059b1c31 Merge pull request #9771 from ioito/hotfix/qx-azure-register-service
fix(region): avoid panic when register service not work
2021-01-05 21:29:42 +08:00
Zexi Li
46a2886236 Merge pull request #9768 from ioito/hotfix/qx-cachedimage-update
fix(region): sync cachedimage info
2021-01-05 21:28:22 +08:00
Qu Xuan
89296df818 fix(region): avoid panic when register service not work 2021-01-05 21:16:09 +08:00
Qu Xuan
4c3d736a1b fix(region): sync cachedimage info 2021-01-05 20:29:59 +08:00
Zexi Li
1f3ee0089c Merge pull request #9762 from wanyaoqi/feature/wyq/stop-guest-on-freeze
feat(region): stop guest before freeze
2021-01-05 18:32:32 +08:00
Zexi Li
dd2c77c7f1 Merge pull request #9760 from lvyangyang/replace-cloud-tags
fix(region): replace cloud tags
2021-01-05 18:31:28 +08:00
Qu Xuan
88bf0333e4 fix(region): aliyun support public ip 2021-01-05 17:20:18 +08:00
wanyaoqi
fa077dbe9b feat(region): stop guest before freeze 2021-01-05 15:13:56 +08:00
lvyangyang
9014be05ae fix(region): replace cloud tags 2021-01-05 14:26:18 +08:00
Zexi Li
361f71946d Merge pull request #9757 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
fix(monitor): modify totalrecord query
2021-01-04 15:56:54 +08:00
zhaoxiangchun
5d6ffa16fc fix(monitor): modify totalrecord query
1. influxdb 增加abs function
2. 调整total报警记录接口query
2021-01-04 15:37:31 +08:00
Jian Qiu
376dfa44d8 feature(region): sync cloud tags to local user tags (#9752)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:17:59 +08:00
Zexi Li
ed646c7d44 Merge pull request #9754 from zhaoxiangchun/feature/zxc-alerthistory-overview-master
feat(monitor): get today alerting resource info
2020-12-31 20:23:16 +08:00
zhaoxiangchun
e8442bea69 feat(monitor): get today alerting resource info
1.提供接口获取当前时间发生报警的资源统计
2020-12-31 20:00:19 +08:00
Zexi Li
1e6f6112be Merge pull request #9750 from rainzm/sg/create_alarm
feat(region): be compatible with changes in monitor api in scaling group
2020-12-30 21:44:56 +08:00
Zexi Li
1e1e0c80cf Merge pull request #9686 from ioito/hotfix/qx-cloud-image-sync
fix(region): skip cloud image sync error
2020-12-30 21:44:05 +08:00
Zexi Li
78086e25d9 Merge pull request #9735 from zhaoxiangchun/bugfix/zxc-commonalert
fix(monitor): modify rds,redis,oss field descriptions
2020-12-30 21:43:06 +08:00
Zexi Li
852bbc20c8 Merge pull request #9730 from ioito/hotfix/qx-cloud-event-domain
fix(cloudevent): cloudevent is domain level resource
2020-12-30 21:42:22 +08:00
Zexi Li
5ff6cda965 Merge pull request #9727 from ioito/hotfix/qx-rds-list-with-secgroups
fix(region): rds list with secgorups info
2020-12-30 21:41:36 +08:00
Zexi Li
88ac2c219f Merge pull request #9731 from wanyaoqi/bugfix/wyq/check-memory-on-server-start
fix(region): server start check host memory is enough
2020-12-30 21:39:31 +08:00
Zexi Li
adf0e52339 Merge pull request #9744 from rainzm/esxi/clone_mutli_neti
fix(esxiagent): nicIndex should be incremented
2020-12-30 21:35:33 +08:00
rainzm
e347d6a51f feat(region): be compatible with changes in monitor api in scaling group 2020-12-30 19:09:32 +08:00
rainzm
f6e2c2fd15 fix(esxiagent): nicIndex should be incremented 2020-12-30 18:58:08 +08:00
Zexi Li
2ecb2f90e3 Merge pull request #9724 from zhaoxiangchun/feature/zxc-analysis-predict-master
feat(suggestion,apigateway): add analysispredict climc
2020-12-30 18:54:35 +08:00
Zexi Li
b71d18e27c Merge pull request #9742 from rainzm/sc/sync_cloud_image
fix(region): obtain ProviderFactory correctly
2020-12-30 18:53:30 +08:00
zhaoxiangchun
42a549ad8e fix(monitor): modify rds,redis,oss field descriptions
1.修改后端redis,rds,oss desc 信息,和前端索引进行对应
2020-12-30 15:46:28 +08:00
wanyaoqi
7a684d347f fix(region): server start check host memory is enough 2020-12-30 15:45:45 +08:00
Qu Xuan
5610dd674d fix(cloudevent): cloudevent is domain level resource 2020-12-30 15:42:58 +08:00
Qu Xuan
0f0c0eb5aa fix(region): rds list with secgorups info 2020-12-30 14:16:54 +08:00
zhaoxiangchun
788a5df8bd feat(suggestion,apigateway): add analysispredict climc 2020-12-30 14:03:08 +08:00
rainzm
ab3c7d9143 fix(region): obtain ProviderFactory correctly
The provider of the region is not necessarily the same as the resource
2020-12-30 12:16:39 +08:00
Zexi Li
95464529cb Merge pull request #9675 from bistuzx/feature/meter-budget-master
feat(meter): add meter budget&event module
2020-12-29 23:18:20 +08:00
bistuzx@163.com
d5d72a977e fix reservation columns 2020-12-29 22:33:21 +08:00
bistuzx@163.com
5f7d848723 add cost&prepaid_cost to reservation 2020-12-29 22:16:57 +08:00
bistuzx@163.com
6af676b93a fix budget import format 2020-12-29 22:02:34 +08:00
bistuzx@163.com
005ed23fa4 fix reservation import format 2020-12-29 21:46:07 +08:00
bistuzx@163.com
4bd398db56 add meter budget&event&reservation module 2020-12-29 21:41:26 +08:00
Zexi Li
439bb14d33 Merge pull request #9719 from swordqiu/hotfix/qj-splitable-init-table
fix(cloudcommon): splitable may not initialize underlying table
2020-12-29 21:17:13 +08:00
Zexi Li
1336fcd7e7 Merge pull request #9711 from wanyaoqi/bugfix/wyq/add-check-sync-status
fix(region,host,host-deployer): sync status chekc block jobs
2020-12-29 20:43:25 +08:00
Zexi Li
090e2f53dc Merge pull request #9693 from rainzm/notify/authority
Solve the permission problem of notify to create receiver
2020-12-29 20:41:05 +08:00
Zexi Li
5ef52d7d02 Merge pull request #9706 from rainzm/st/desc_lang
feat(region): multilingual timer description
2020-12-29 20:39:15 +08:00
Qiu Jian
50a0d167f1 fix(cloudcommon): splitable may not initialize underlying table 2020-12-29 18:48:21 +08:00
rainzm
c4b6d7e648 feat(region): multilingual timer description 2020-12-29 15:21:24 +08:00
rainzm
cc11aed9e8 feat(db): progressive inspection when determining the required scope 2020-12-29 14:56:01 +08:00
wanyaoqi
5e2d346420 fix(region,host): sync status check block jobs 2020-12-29 14:47:54 +08:00
wanyaoqi
ee2f54f4de fix(host-deployer): add log line on blkid failed 2020-12-29 14:47:21 +08:00
wanyaoqi
cecd329fe4 fix(climc): host add netif add params bridge/interface 2020-12-29 14:46:13 +08:00
Zexi Li
7ca285345b Merge pull request #9701 from swordqiu/hotfix/qj-vpc-quota-check-ignore
fix(region): omit vpc quota check if vpc created by owner
2020-12-29 09:35:48 +08:00
Zexi Li
6019fd5fcc Merge pull request #9698 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): sore reture info:resourceType,measurement
2020-12-29 09:34:54 +08:00
Qiu Jian
90f40d47c8 fix(region): omit vpc quota check if vpc created by owner
Vpc quota check is omitted if vpc is create by owner user
2020-12-29 01:16:30 +08:00
--global
567fc991cb fix(monitor): sore reture info:resourceType,measurement
1.对资源类型和对应的measurement进行排序输出
2020-12-28 21:37:27 +08:00
Zexi Li
eab978f26a Merge pull request #9694 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): add resType   filter
2020-12-28 21:22:21 +08:00
Zexi Li
921b56a40b Merge pull request #9691 from lvyangyang/add-tags-implement
feat(region): add tags implement
2020-12-28 21:21:07 +08:00
--global
79e6d163d2 fix(monitor): add resType filter
1.修复资源类型过滤失效的问题
2020-12-28 17:18:54 +08:00
rainzm
cfae818d04 fix(notify): inject domain info in ReceiverManager.FetchOwnerId 2020-12-28 16:25:52 +08:00
lvyangyang
8641e9232b feat(region): add tags implement 2020-12-28 16:11:04 +08:00
Zexi Li
0db59b0a49 Merge pull request #9108 from ioito/hotfix/qx-guest-delete
Hotfix/qx guest delete
2020-12-28 16:01:09 +08:00
Zexi Li
e33fc9527c Merge pull request #9687 from zhasm/hotfix/rex-makefile-buildx-minor-fix
fix(make,buildx): 使用 buildx 编译时,拉镜像到本地
2020-12-28 14:56:15 +08:00
Zhang Dongliang
3d9d34ac15 fix(make,buildx): 使用 buildx 编译时,拉镜像到本地 2020-12-28 14:34:02 +08:00
Qu Xuan
5aa763fd0a fix(region): skip cloud image sync error 2020-12-28 14:29:58 +08:00
Qu Xuan
108d6827e8 feat(region): disks and eip delete with server 2020-12-28 11:29:12 +08:00
Qu Xuan
d0cc334cab fix(region): optimized secgroup rule sync 2020-12-28 11:25:44 +08:00
Qu Xuan
a9ea3839d0 feat(region): add server delete options 2020-12-28 10:51:39 +08:00
Zexi Li
4f9d6d2005 Merge pull request #9540 from ioito/hotfix/qx-openstack-network
fix(region): openstack network is regional
2020-12-28 10:20:11 +08:00
Qu Xuan
d38b7ce466 fix(region): openstack network is regional 2020-12-28 09:50:44 +08:00
Zexi Li
d3ee28b4d0 Merge pull request #9681 from rainzm/postpaid/delete_snapshot
feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm
2020-12-27 21:05:44 +08:00
Zexi Li
bb668d8711 Merge pull request #9677 from ioito/hotfix/qx-bucket-policy
optimized(region): qcloud bucket policy set and get operation
2020-12-26 20:00:41 +08:00
rainzm
763086d625 feat(region): make DeleteSnapshotExpiredRelease applies to postpaid vm 2020-12-26 18:39:36 +08:00
yunion-ci-robot
9411d7ed25 Merge pull request #9587 from tb365/bugfix/tb-bugfix-122202
fix(region): cloudregion&zone add namei18n
2020-12-26 17:53:51 +08:00
Qu Xuan
fbd5be2fd7 optimized(region): qcloud bucket policy set and get operation 2020-12-26 17:41:04 +08:00
Zexi Li
2b47be47b0 Merge pull request #9628 from lvyangyang/refact-tags-interface
Refact tags interface
2020-12-26 16:26:28 +08:00
lvyangyang
68cf1eaea5 refact(region): resource tags 2020-12-26 16:00:26 +08:00
Zexi Li
35bc01687d Merge pull request #9660 from rainzm/er/delete_snapshot
feat(region): add options DeleteSnapshotExpiredRelease
2020-12-26 15:12:18 +08:00
Zexi Li
41f1d34f04 Merge pull request #9627 from ioito/hotfix/qx-rds-secgroups
fix(region): support rds secgroup operation
2020-12-26 12:19:54 +08:00
Zexi Li
b3759503de Merge pull request #9636 from lvyangyang/fix-aws-lb-create-tags
fix(region): aws lb create tags param
2020-12-26 12:18:08 +08:00
Zexi Li
21633c7184 Merge pull request #9640 from ioito/hotfix/qx-account-purge
fix(region): purge private cloud sku
2020-12-26 12:14:56 +08:00
Zexi Li
c32b1ec859 Merge pull request #9642 from ioito/hotfix/qx-apsara-optimized
fix(region): apsara optimized
2020-12-26 12:13:37 +08:00
Zexi Li
0cd7e102e3 Merge pull request #9625 from yousong/feature/yousong-y18n-check
Feature/yousong y18n check
2020-12-26 12:11:25 +08:00
Zexi Li
8faab2b6ea Merge pull request #9644 from swordqiu/feature/qj-policy-save-data
feature(climc): policy save data into file
2020-12-26 12:09:16 +08:00
Zexi Li
8893614091 Merge pull request #9654 from ioito/hotfix/qx-azure-rebuild-root
fix(region): optimized azure rebuild root
2020-12-26 12:06:29 +08:00
Zexi Li
53d05f851e Merge pull request #9652 from swordqiu/hotfix/qj-adjust-cloudevent-scope
fix(cloudevent): adjust cloudevents resource scope
2020-12-26 12:04:46 +08:00
rainzm
91e45883a8 feat(region): add options DeleteSnapshotExpiredRelease 2020-12-26 11:05:11 +08:00
yunion-ci-robot
15ac73f94e Merge pull request #9657 from zhaoxiangchun/feature/zxc-alerthistory-master
fix(monitor): monitor notify international and 3.6 bugfix
2020-12-26 11:02:51 +08:00
--global
4ac6d48c65 fix(monitor): monitor notify international and 3.6 bugfix
1.修复项目下无法查看报警记录
2.修复报警策略切换所属范围signature失败
3.国际化问题处理
2020-12-26 09:52:59 +08:00
TangBin
b67be9b0dd fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 09:50:21 +08:00
TangBin
01d5977bd6 fix(region): aws sync vpc access mode bugfix 2020-12-26 09:50:21 +08:00
TangBin
ea7ea1f08c fix(region): cloudregion&zone add namei18n 2020-12-26 09:50:20 +08:00
Qu Xuan
35f76875e2 fix(region): optimized azure rebuild root 2020-12-25 20:55:39 +08:00
Qiu Jian
7daa123c73 fix(cloudevent): adjust cloudevents resource scope
Change cloudevents resource scope from system to project.
2020-12-25 20:34:35 +08:00
Yousong Zhou
89f541fcaf build: skip y18n-check for now
CircleCI is likely not happy with the memory usage

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

Link: https://app.circleci.com/pipelines/github/yunionio/onecloud/25085/workflows/6efec9d0-cdd5-45eb-bb1e-f62849e22b76/jobs/55153
2020-12-25 17:01:00 +08:00
Qiu Jian
d02d82963b feature(climc): policy save data into file
Allow saveing policy data into file
2020-12-25 16:57:59 +08:00
lvyangyang
4f8ebb8d0f fix(region): aws lb create tags param 2020-12-25 16:52:48 +08:00
Qu Xuan
dc673a80d8 fix(region): apsara optimized 2020-12-25 14:20:49 +08:00
Qu Xuan
b21903a329 fix(region): purge private cloud sku 2020-12-25 11:22:39 +08:00
Qu Xuan
bc90e4fc4a fix(region): support rds secgroup operation 2020-12-24 18:03:33 +08:00
Yousong Zhou
a17d88c785 locales: regenerate locales.go 2020-12-24 13:19:10 +08:00
Yousong Zhou
d18f612af9 locales: zh-CN: regenerate messages.gotext.json 2020-12-24 13:19:10 +08:00
Yousong Zhou
131723cbe3 build: add y18n-check, y18n-gen 2020-12-24 13:19:10 +08:00
Yousong Zhou
dfc9b4393f .circleci: use centos-build:1.1-4
- place the code in canonical GOPATH when GO111MODULE can be off
 - always set ONECLOUD_CI_BUILD, including the test step
2020-12-24 13:18:16 +08:00
Yousong Zhou
de7a88bf36 build: use centos-build:1.1-4
y18n support in 1.1-4
2020-12-24 11:58:09 +08:00
Yousong Zhou
39461740d6 build: docker: add ModName 2020-12-24 11:56:21 +08:00
Yousong Zhou
431f2e87e7 build: docker: move to Makefile.common.mk 2020-12-24 11:56:21 +08:00
Yousong Zhou
d377625789 scripts/docker_push.sh: minor polishments
- removed bundled baremetal-agent before building new to avoid go
   error for refusing to overwrite a text file
 - use docker buildx build no mater what
 - check existence of dockerfile before calling general_build to avoid
   error by cmd/chksum
2020-12-24 11:56:21 +08:00
Yousong Zhou
aa45c158c9 scripts/docker_push.sh: use toplevel Makefile target 2020-12-24 11:56:21 +08:00
Yousong Zhou
bfe4d2a735 build: docker: align centos variant with the alpine one 2020-12-24 11:56:21 +08:00
Yousong Zhou
8997ae39f2 build: docker: make target GOARCH/GOOS/CGO_ENABLED aware 2020-12-24 11:56:21 +08:00
Yousong Zhou
2cd6f1274d build: docker: remove GOFLAGS export 2020-12-24 11:56:21 +08:00
Yousong Zhou
e01492df4f scripts/coverage.sh: detect use of "-mod vendor" 2020-12-24 11:56:21 +08:00
Yousong Zhou
ce05e5290c region: fix error msg for invalid wire_level_for_vmware 2020-12-24 11:49:41 +08:00
4377 changed files with 429938 additions and 75932 deletions

View File

@@ -5,10 +5,10 @@ version: 2
jobs:
check:
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/onecloud
working_directory: /root/go/src/yunion.io/x/onecloud
steps:
- checkout
- run:
@@ -18,7 +18,7 @@ jobs:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/centos-build:1.1-4
environment:
ONECLOUD_CI_BUILD: "1"
@@ -26,7 +26,7 @@ jobs:
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /root/go/onecloud
working_directory: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout
@@ -51,10 +51,10 @@ jobs:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/centos-build:1.1-4
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout

View File

@@ -9,13 +9,10 @@ assignees: ''
**What happened**:
**What you expected to happen**:
**How to reproduce it**:
**Anything else we need to know?**:
**Environment**:
- OS (e.g: `cat /etc/os-release`):
- OS (e.g. `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Others:
<!--
- Version (e.g. `climc version-list`):
-->

View File

@@ -0,0 +1,12 @@
---
name: Document Request
about: Document request to this project
title: ''
labels:
- area/docs
- enhancement
assignees: ''
---
**What part of the document needs to be added**:

View File

@@ -1,5 +1,5 @@
---
name: Feature request
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: feature
@@ -7,8 +7,4 @@ assignees: ''
---
<!-- Please only use this template for submitting feature requests -->
**What would you like to be added**:
**Why is this needed**:

View File

@@ -1,15 +1,20 @@
**这个 PR 实现什么功能/修复什么问题**:
**What this PR does / why we need it**:
<!--
- [ ] 功能、bugfix描述
- [ ] 冒烟测试
- [ ] 单元测试编写
- [ ] Smoke testing completed
- [ ] Unit test written
-->
**是否需要 backport 到之前的 release 分支**:
**Does this PR need to be backport to the previous release branch?**:
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/3.2
If no, just write "NONE".
If don't know, write "UNKNOWN", and let the reviewer decide.
If yes, write the release branches name in the below format and submit the related cherry-pick PR:
- release/3.7
- release/3.6
Take a look at "https://www.cloudpods.org/en/docs/contribute/contrib/" to learn how to submit a cherry-pick PR.
-->

128
CODE_OF_CONDUCT.md Normal file
View File

@@ -0,0 +1,128 @@
# Contributor Covenant Code of Conduct
## Our Pledge
We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone, regardless of age, body
size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status,
nationality, personal appearance, race, religion, or sexual identity
and orientation.
We pledge to act and interact in ways that contribute to an open, welcoming,
diverse, inclusive, and healthy community.
## Our Standards
Examples of behavior that contributes to a positive environment for our
community include:
* Demonstrating empathy and kindness toward other people
* Being respectful of differing opinions, viewpoints, and experiences
* Giving and gracefully accepting constructive feedback
* Accepting responsibility and apologizing to those affected by our mistakes,
and learning from the experience
* Focusing on what is best not just for us as individuals, but for the
overall community
Examples of unacceptable behavior include:
* The use of sexualized language or imagery, and sexual attention or
advances of any kind
* Trolling, insulting or derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or email
address, without their explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting
## Enforcement Responsibilities
Community leaders are responsible for clarifying and enforcing our standards of
acceptable behavior and will take appropriate and fair corrective action in
response to any behavior that they deem inappropriate, threatening, offensive,
or harmful.
Community leaders have the right and responsibility to remove, edit, or reject
comments, commits, code, wiki edits, issues, and other contributions that are
not aligned to this Code of Conduct, and will communicate reasons for moderation
decisions when appropriate.
## Scope
This Code of Conduct applies within all community spaces, and also applies when
an individual is officially representing the community in public spaces.
Examples of representing our community include using an official e-mail address,
posting via an official social media account, or acting as an appointed
representative at an online or offline event.
## Enforcement
Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at
abuse@cloudpods.org.
All complaints will be reviewed and investigated promptly and fairly.
All community leaders are obligated to respect the privacy and security of the
reporter of any incident.
## Enforcement Guidelines
Community leaders will follow these Community Impact Guidelines in determining
the consequences for any action they deem in violation of this Code of Conduct:
### 1. Correction
**Community Impact**: Use of inappropriate language or other behavior deemed
unprofessional or unwelcome in the community.
**Consequence**: A private, written warning from community leaders, providing
clarity around the nature of the violation and an explanation of why the
behavior was inappropriate. A public apology may be requested.
### 2. Warning
**Community Impact**: A violation through a single incident or series
of actions.
**Consequence**: A warning with consequences for continued behavior. No
interaction with the people involved, including unsolicited interaction with
those enforcing the Code of Conduct, for a specified period of time. This
includes avoiding interactions in community spaces as well as external channels
like social media. Violating these terms may lead to a temporary or
permanent ban.
### 3. Temporary Ban
**Community Impact**: A serious violation of community standards, including
sustained inappropriate behavior.
**Consequence**: A temporary ban from any sort of interaction or public
communication with the community for a specified period of time. No public or
private interaction with the people involved, including unsolicited interaction
with those enforcing the Code of Conduct, is allowed during this period.
Violating these terms may lead to a permanent ban.
### 4. Permanent Ban
**Community Impact**: Demonstrating a pattern of violation of community
standards, including sustained inappropriate behavior, harassment of an
individual, or aggression toward or disparagement of classes of individuals.
**Consequence**: A permanent ban from any sort of public interaction within
the community.
## Attribution
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).
[homepage]: https://www.contributor-covenant.org
For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.

View File

@@ -1,3 +1,51 @@
# 开发贡献参考
# Contribution Guide
[English](CONTRIBUTING.md) | [中文](CONTRIBUTING_zh.md)
You can help to make Cloudpods better! There are many things you can do:
## Help others know Cloudpods
First of all, the easiest way to contribute to Cloudpods is to let more people know Cloudpods. To share your experience of Cloudpods. Hopefully Cloudpods may help resolve the issues in their daily jobs.
## Report Bugs
Cloudpods is an infrastructure management tool. Even though it has been thourougly tested and codes have been peer reviwed before merge, due to its complexity, you may still encounter bugs when using Cloudpods. This is frustrating. However, please do not hesitate to submit a issue at Github. The issue may help developers to improve the codes and make Cloudpods more and more robust. Meanwhile, the answer to the issues may also help others who have the similar bugs.
## Answer issues
You may answer issues at Github and help those who encounter issues when using Cloudpods. Sometimes, the issues are not due to bugs in codes but simplely because of misconfigurations, environment or misunderstandings.
## Contribute codes
You are welcome to contribute codes to Cloudpods. Please refers to [CONTRIBUTING](https://www.cloudpods.org/en/docs/contribute/contrib/) for more details on how to contribute codes to Cloudpods.
### Fix Issues
You may help solve bugs by submiting patches.
### New Features
You may help improve the codes of Cloudpods, including:
* Develop new features for Cloudpods
* Recode some part of Cloudpods so as to make the code easier to be understood, or less error-prone, or more efficient
## Documentation
You may help improve documentations of Cloudpds by directly make pull request to documentations. Once the Pull Request is accepted and merged, the documentations will be updated immediately.
## Translation
You may help translate the UI texts or documents of Cloudpds to other languages. Currently, we support Simplified Chinese and English.
## Write articles
You are also welcome to write articles about Cloudpods and sharing your experience with others. The content of the articles may include the following but not be limited to:
* Your user experiences with Cloudpods
* Your opinion about the direction and area of Cloudpods
* Comparison with other cloud platforms
* Benchmarks
详情见文档 [开发贡献](https://docs.yunion.io/docs/contribute/)

48
CONTRIBUTING_zh.md Normal file
View File

@@ -0,0 +1,48 @@
# 贡献指南
[English](CONTRIBUTING.md) | [中文](CONTRIBUTING_zh.md)
如果您对Cloudpods感兴趣并且愿意为Cloudpods贡献可以通过以下任意方式贡献您的力量使得Cloudpods变得更完善。
## 让别人知道Cloudpods
最简单的方式就是让更多的人知道Cloudpods向他们分享您对Cloudpds的看法和使用经验向他们推荐Cloudpods。很有可能在您的推荐下他们开始使用Cloudpods并解决了他们在工作中遇到的基础设施管理问题。
## 报告BUG
Cloudpods是一款开源的基础设施管理工具软件运行场景复杂。尽管在开发阶段开发者很有可能已经进行了详尽的测试但难免在实际运行中还会遇到各种意想不到的bug。遇到这种情况请不要犹豫在Github上提交一个issue。这能帮助开发者更好地改进代码逻辑使得Cloudpods越来越鲁棒。同时issue的解答记录也能帮助到遇到类似问题的其他人。
## 回答问题
有时候人们在使用Cloudpods中遇到的问题并不是因为Cloudpods软件缺陷造成的而是因为配置错误环境因素或者误会导致的。这样的问题也许只需要简单地一两句就能解答不需要代码的修改。您可以在Github回答issue或者社区群中回答提问帮助那些在使用Cloudpods中遇到问题的人。
## 贡献代码
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/zh/docs/contribute/contrib/).
### 修复BUG
您可以通过提交代码补丁来修复Cloudpods存在的BUG。
### 开发新的功能特性
不仅仅是修复BUG您也可以通过提交代码以改进Cloudpods包括但不限于
* 开发新的功能特性,您可以在[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/)找到Cloudpods的功能规划
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
## 文档
您也可以通过给文档提交PR来改进Cloudpods的文档。一旦您的PR被接收并合并Cloudpods的在线文档就能及时地自动更新。
## 翻译
您也可以帮助翻译Cloudpods要么翻译UI界面的i18n配置文件要么翻译文档使得Cloudpods支持更多的语言。目前Cloudpods支持简体中文和英文。
## 写文章
另外欢迎您写关于Cloudpods的文章通过文字分享您使用Cloudpods的经验和技巧。文章可以包括但不限于如下内容
* 使用Cloudpods的体验
* Cloudpods技术领域的观点
* 和其他竞品的比较
* 性能评测

View File

@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [2018] [Yunion Technology]
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

142
Makefile
View File

@@ -6,6 +6,7 @@ ROOT_DIR := $(CURDIR)
BUILD_DIR := $(ROOT_DIR)/_output
BIN_DIR := $(BUILD_DIR)/bin
BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
DEB_BUILD_SCRIPT := $(ROOT_DIR)/build/build_deb.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
@@ -64,6 +65,7 @@ endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
rpmTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),rpm/$(b)))
debTargets:=$(foreach b,$(patsubst cmd/%,%,$(cmdTargets)),$(if $(shell [ -f "$(CURDIR)/build/$(b)/vars" ] && echo 1),deb/$(b)))
all: build
@@ -87,21 +89,45 @@ vet:
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/fetcherfs: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: prepare_dir
$(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
rpm/%: cmd/%
$(BUILD_SCRIPT) $*
deb/%: cmd/%
$(DEB_BUILD_SCRIPT) $*
pkg/%: prepare_dir
$(GO_INSTALL) $(REPO_PREFIX)/$@
rpm/fetcherfs: cmd/fetcherfs
docker run --rm \
--name docker-centos-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 \
/bin/bash -c "VERSION=3.6 /data/build/build.sh fetcherfs /opt/yunion/fetchclient/bin"
deb/fetcherfs: rpm/fetcherfs
#VERSION=3.6 $(DEB_BUILD_SCRIPT) fetcherfs /opt/yunion/fetchclient/bin
docker run --rm \
--name docker-debian-build-fetcherfs \
-v $(CURDIR):/data \
registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 \
/data/build/convert_rpm2deb.sh
build:
$(MAKE) $(cmdTargets)
rpm:
$(MAKE) $(rpmTargets)
deb:
$(MAKE) $(debTargets)
rpmclean:
rm -fr $(BUILD_DIR)/rpms
@@ -173,10 +199,53 @@ vet-check:
./scripts/vet.sh chk
.PHONY: vet-check
comma:=,
space:=$(space) $(space)
# NOTE: keep y18n-packages in alphabetical order
y18n-src-lang := en-US
y18n-lang := en-US,zh-CN
y18n-packages := \
yunion.io/x/onecloud/cmd/apigateway \
yunion.io/x/onecloud/cmd/keystone \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
define y18n-gen
set -o errexit; \
set -o pipefail; \
export GO111MODULE=off; \
y18n \
-chdir $(CURDIR) \
-dir ./locales/ \
-out ./locales/locales.go \
-lang $(y18n-lang) \
$(y18n-packages) \
; \
$(foreach lang,$(filter-out $(y18n-src-lang),$(subst $(comma), ,$(y18n-lang))),cp ./locales/$(lang)/{out,messages}.gotext.json;) \
endef
y18n-gen:
$(y18n-gen)
$(y18n-gen)
.PHONY: y18n-gen
y18n-check:
$(y18n-gen)
if git status --short ./locales | sed 's/^/$@: /' | grep .; then \
echo "$@: Locales content needs care" >&2 ; \
false; \
fi
.PHONY: y18n-check
check: fmt-check
check: gendocgo-check
check: goimports-check
check: vet-check
#check: y18n-check
.PHONY: check
@@ -199,74 +268,11 @@ dep:
@$(MAKE) mod
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'))
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.0
go mod tidy
go mod vendor -v
DOCKER_CENTOS_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-3
define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-docker-centos-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
$(DOCKER_CENTOS_BUILD_IMAGE) \
/bin/bash -c "$$dockerCentOSBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker stop --time 0 onecloud-docker-centos-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
DOCKER_ALPINE_BUILD_IMAGE?=registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force onecloud-docker-alpine-build &>/dev/null || true
docker run --rm \
--name onecloud-docker-alpine-build \
-v $(CURDIR):/root/go/src/yunion.io/x/onecloud \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/onecloud/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
$(DOCKER_ALPINE_BUILD_IMAGE) \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 onecloud-docker-alpine-build || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
define helpText
Build with docker
@@ -324,5 +330,11 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.1 ARCH=all make image telegraf-raid-plugin
%:
@:
ModName:=yunion.io/x/onecloud
include $(CURDIR)/Makefile.common.mk

83
Makefile.common.mk Normal file
View File

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

6
OWNERS
View File

@@ -4,12 +4,6 @@ reviewers:
- ioito
- swordqiu
- tb365
- wanyaoqi
- yousong
- zhaoxiangchun
- zhasm
approvers:
- swordqiu
- yousong
- wanyaoqi
- Zexi

View File

@@ -1,54 +1,151 @@
# Yunion OneCloud (云联融合云)
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/yunionio/cloudpods)
[![Build Status](https://travis-ci.com/yunionio/cloudpods.svg?branch=master)](https://travis-ci.org/yunionio/cloudpods)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/cloudpods)](https://goreportcard.com/report/github.com/yunionio/cloudpods)
## 什么是云联融合云?
## Cloudpods是什么?
云联融合云Yunion OneCloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台也就是一个“云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率
云联融合云具备以下功能特性:
## 谁需要Cloudpods?
- 多云资源统一管理
* 将几台物理服务器虚拟化成一个私有云平台
* 需要一个紧凑而且功能相对完整的物理机全生命周期管理工具
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个云公有云账号但希望将来使用多云的用户
统一API、镜像、调度、账号体系、监控和计费等操作能够全面管理 On premises、 私有云、公有云资源。
## 功能
- 内置私有云
Cloudpods提供了如下的功能
OneCloud内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
* 管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等
* 允许以统一的联邦身份访问各个云平台的原生控制台的SSO
* 一个可以管理海量KVM虚拟机的轻量级私有云
* 一个能进行物理机全生命周期管理的裸机云
* 实现了VMware vSphere虚拟化集群的自助服务和自动化
* 一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
* 一套完整的多租户认证和访问控制体系
* 自动将镜像转换为不同云平台需要的格式的多云镜像服务
- 为多云Kubernetes提供运行环境
### 支持的云平台
OneCloud自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
* 公有云:
* AWS
* Azure
* Google Cloud Platform
* 阿里云
* 华为云
* 腾讯云
* UCloud
* 中国电信云
* 中国移动云
* 京东云
* 私有云:
* OpenStack
* ZStack
* AlibabaCloud Aspara (阿里飞天)
* 本地基础设施资源:
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
欢迎安装部署云联融合云,期待大家的反馈!
### 支持的云资源
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TSL certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 部署
## 快速开始
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 OneCloud 集群。
我们可以通过以下简单三步将Cloudpods安装在一台至少8GiB内存和100GB硬盘的Linux主机上目前CentOS 7和Debian 10经过充分测试
(下面假设该主机的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/) 获得更详细的安装指导。
## 文档
- [文档中心](https://docs.yunion.io/)
* [Cloudpods文档](https://www.cloudpods.org/zh)
- [Swagger API文档](https://docs.yunion.cn/api/)
* [Swagger API文档](https://www.cloudpods.org/zh/docs/swagger/)
## 谁在使用Cloudpods
## 架构
请在[这里](https://github.com/yunionio/cloudpods/issues/11427)查看Cloudpods用户列表。如果你正在使用Cloudpods欢迎回复留下你的信息。谢谢对Cloudpods的支持
![architecture](https://www.yunion.cn/static/frame.png)
## 联系我们
您可以通过如下方式联系我们:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/623431553/)
* 微信: 请扫描如下二维码联系我们
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
## 版本历史
请访问[Cloudpods Changelog](https://www.cloudpods.org/zh/docs/changelog/).
## 开发规划
请访问[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/).
## 贡献
我们非常欢迎和感谢开发者向项目做贡献,流程细节请查看 [CONTRIBUTING.md](./CONTRIBUTING.md)
欢迎和感谢任何形式的贡献,不局限于贡献代码,流程细节请查看 [CONTRIBUTING](./CONTRIBUTING_zh.md)。
## License
OneCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE)
Apache license 2.0详情请看 [LICENSE](./LICENSE)。

159
README.md
View File

@@ -1,55 +1,156 @@
# Yunion OneCloud
# Cloudpods
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.com/yunionio/onecloud/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
[![CircleCI](https://circleci.com/gh/yunionio/cloudpods.svg?style=svg)](https://circleci.com/gh/yunionio/cloudpods)
[![Build Status](https://travis-ci.com/yunionio/cloudpods.svg?branch=master)](https://travis-ci.com/yunionio/cloudpods/branches)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/cloudpods)](https://goreportcard.com/report/github.com/yunionio/cloudpods)
### [README in Chinese](./README-CN.md)
[English](./README.md) | [简体中文](./README-CN.md)
## What is Yunion OneCloud?
## What is Cloudpods?
Yunion OneCloud is an open source unified-IaaS cloud platform.
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion OneCloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform developed with Golang, i.e. Cloudpods is *a cloud on clouds*. Cloudpods is able to manage not only on-premise KVM/baremetals, but also resources from many cloud accounts across many cloud providers. It hides the differences of underlying cloud providers and exposes one set of APIs that allow programatically interacting with these many clouds.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion OneCloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
## Who needs Cloudpods?
Many may consider Yunion OneCloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
* Those who need a simple solution to virtualize a few physical servers into a private cloud
* Those who need a compact and fully automatic baremetal lift-cycle management solution
* Those who want to turn a VMware vSphere virtualization cluster into a private cloud
* Those who need a cohesive view of both public and private cloud in a hybrid cloud setup
* Those who need a centric portal to access multiple acccounts from multiple public clouds
* Those who is currently using a single cloud account, but will not lose the possibility to adopt multicloud strategy
Yunion OneCloud is working on abstracting APIs for the following resources:
## Features
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
* Networking, including load balancers, VPC, virtual networks, NAT gateways, security groups, etc.
* Accouting and billing, etc.
* ...
* 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
over the following many cloud providers:
### Supported cloud providers
* On-premise IT resources, including kvm VM, baremetal, VMware vsphere/ESXi, etc.
* Private clouds, including OpenStack, etc.
* Public clouds, including Aliyun, AWS, Azure, Tencent Cloud, Huawei Cloud, etc.
* Public Clouds:
* AWS
* Azure
* Google Cloud Platform
* Alibaba Cloud
* Huawei Cloud
* Tencent Cloud
* UCloud
* Ctyun (China Telecom)
* ECloud (China Mobile)
* JDCloud
* Private Clouds:
* OpenStack
* ZStack
* AlibabaCloud Aspara
* On-premise resources:
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
You are welcome to install and try Yunion OneCloud. Looking forward to your feedback.
### Supported resources
## Installation
* Servers: instances, disks, network interfaces, networks, vpcs, storages, hosts, wires, snapshots, snapshot policies, security groups, elastic IPs, SSH keypairs, images
* Load Balancers: instances, listeners, backend groups, backends, TSL certificates, ACLs
* Object Storage: buckets, objects
* NAS: file_systems, access_groups, mount_targets
* RDS: instances, accounts, backups, databases, parameters, privileges
* Elastic Cache: instances, accounts, backups, parameters
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Quick start
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/).
Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (currently in Chinese Only).
## Documentations
- [Yunion OneCloud Documents](https://docs.yunion.io/)
* [Cloudpods Documents](https://www.cloudpods.org/en)
- [Swagger API](https://docs.yunion.cn/apiv2/)
* [Swagger API](https://www.cloudpods.org/en/docs/swagger/)
## Architecture
![architecture](https://www.yunion.cn/static/frame.png)
## Who is using Cloudpods?
Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) for the user list of Cloudpods. If you are using Cloudpods, you are welcome to leave your information by responding the issue. Thank you for your support.
## Contact
You may contact us by:
* Reddit: [r/Cloudpods](https://www.reddit.com/r/Cloudpods/)
* Bilibili: [Cloudpods](https://space.bilibili.com/623431553/)
* WeChat: please scan the following QRCode to contact us
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
## Changelog
See [Cloudpods Changelog](https://www.cloudpods.org/en/docs/changelog/) for details.
## Roadmap
See [Cloudpods Roadmap](https://www.cloudpods.org/en/docs/roadmap/) for details.
## Contribution
You are welcome to contribute to the project. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
You are welcome to do any kind of contribution to the project. Please refer to [CONTRIBUTING](./CONTRIBUTING.md) for guidelines.
## License
Apache License 2.0. See [LICENSE](./LICENSE)
Apache License 2.0. See [LICENSE](./LICENSE).

76
build/build_deb.sh Executable file
View File

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

View File

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

View File

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

23
build/convert_rpm2deb.sh Executable file
View File

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

View File

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

View File

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

2
build/dhcprelay/vars Normal file
View File

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

View File

@@ -1,3 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.0.5-2
# 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
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,12 +1,15 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ UTC
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*

View File

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

View File

@@ -1,9 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.3.3-2
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/baremetal-agent /opt/yunion/bin/baremetal-agent
ADD ./_output/bin/.baremetal-agent.bin /opt/yunion/bin/.baremetal-agent.bin
ADD ./_output/bin/bundles/baremetal-agent /opt/yunion/bin/bundles/baremetal-agent
ENV TZ UTC
ADD ./_output/alpine-build/bin/baremetal-agent /opt/yunion/bin/baremetal-agent

View File

@@ -1,32 +1,34 @@
FROM frolvlad/alpine-glibc:glibc-2.28
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/onecloud-base:v0.3-3.13.5
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates cdrkit coreutils librados librbd && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# udpate latest pci.ids
RUN wget -O /opt/cloud/yunion/baremetal/pci.ids http://pci-ids.ucw.cz/v2.2/pci.ids
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY ./opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY --from=build /opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY --from=build ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal

View File

@@ -1,5 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20200820
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
@@ -6,7 +6,9 @@ ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim && \
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool kubectl ceph-common && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /etc/yunion/data/
ADD ./_output/alpine-build/bin/cloudmon \
/opt/yunion/bin/

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
COPY ./build/esxi-agent/root/opt/ /opt/

View File

@@ -0,0 +1,21 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Rain Zheng <zhengyu@yunion.com>"
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add git \
&& rm -rf /var/cache/apk/*
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://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 mkdir -p /opt/yunion/playbook
Run mkdir /opt/yunion/playbook/monitor-agent
Run git clone https://github.com/yunionio/monitor-agent.git /opt/yunion/playbook/monitor-agent --recurse-submodules

View File

@@ -1,6 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20200820
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20210815.0
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -2,8 +2,7 @@ FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

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

View File

@@ -0,0 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
RUN mkdir -p /opt/yunion/bin
ENV TZ UTC
ADD ./_output/bin/host-image /opt/yunion/bin/host-image
ADD ./_output/bin/.host-image.bin /opt/yunion/bin/.host-image.bin
ADD ./_output/bin/bundles/host-image /opt/yunion/bin/bundles/host-image

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,13 +1,14 @@
FROM alpine:3.11
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.13.5
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
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/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,15 +1,15 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin

View File

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

View File

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

View File

@@ -2,11 +2,9 @@ FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

39
build/docker/Makefile Normal file
View File

@@ -0,0 +1,39 @@
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
DOCKER_BUILD = docker build -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
debian10-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0 -f ./Dockerfile.debian-base .
ONECLOUD_BASE_VERSION = v0.3-3.13.5
onecloud-base:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION) -f ./Dockerfile.onecloud-base .
ANSIBLESERVER_BASE = v1.0.5-2
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20210901
climc-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.climc-base .
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:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
FILE_REPO_VERSION = v0.3.3
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .

View File

@@ -13,6 +13,5 @@ MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
COPY --from=build /root/go/src/yunion.io/x/onecloud/_output/bin/host /opt/yunion/bin/host

View File

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

View File

@@ -1,24 +1,24 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
COPY . /root/go/src/yunion.io/x/onecloud
RUN cd /root/go/src/yunion.io/x/onecloud && make cmd/torrent
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/torrent
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
# HACK: use v3.14 alpine mirror to upgrade qemu-img
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/main > /etc/apk/repositories
RUN echo http://dl-cdn.alpinelinux.org/alpine/v3.14/community >> /etc/apk/repositories
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
apk add --no-cache qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# TAG=20210815.0
# add executable file torrent
# make cmd/torrent
RUN mkdir -p /opt/yunion/bin

View File

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

View File

@@ -6,4 +6,4 @@
资源数量:{{len .matches}}
资源名称:{{.resource_name}}
详情地址: {{.web_url}}/commonalerts
详情地址: {{.web_url}}

View File

@@ -92,7 +92,7 @@
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">若要查看详情信息,<a class="link" target="_blank" href="{{.web_url}}/commonalerts
<td style="padding-left: 20px; font-size: 14px;">若要查看详情信息,<a class="link" target="_blank" href="{{.web_url}}
">请登录平台进行查看</a></td>
</tr>
</table>

View File

@@ -6,4 +6,4 @@ TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}/commonalerts
WebUrl: {{.web_url}}

View File

@@ -33,7 +33,7 @@
font-weight: bold;
}
.td {
width: 80px;
width: 120px;
padding-left: 20px;
height: 35px;
font-weight: 400;
@@ -92,8 +92,8 @@
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
<td style="padding-left: 20px; font-size: 14px;">To view details<a class="link" target="_blank" href="{{.web_url}}/commonalerts
">Please log in to the platform to view</a></td>
<td style="padding-left: 20px; font-size: 14px;">To view details<a class="link" target="_blank" href="{{.web_url}}
">Please login to the platform to view</a></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" class="table pb-3">

View File

@@ -0,0 +1,9 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}{{.result_display}}
{{- if eq .result "failed" -}}
,请尽快前往控制台进行处理
{{- end -}}

View File

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

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{- if $d.private_dns -}}
,内网地址为{{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
,外网地址为{{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if $d.ips -}}
IP地址为{{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}删除成功

View File

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

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.ips -}}
IP地址为{{ $d.ips }}的
{{- end -}}
{{- if $d.ip_addr -}}
IP地址为{{ $d.ip_addr }}的
{{- end -}}
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}成功加入回收站

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,14 @@
{{- $d := .resource_details -}}
您在{{ $d.project }}项目的
{{- if $d.brand -}}
{{ $d.brand }}平台
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}成功
{{- if $d.account -}}
,帐号为{{ $d.account }}
{{- end -}}
{{- if $d.password -}}
,密码为{{ $d.password }}
{{- end -}}
,更多信息请前往控制台进行查看

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} {{ .result_display }}
{{- if eq .result "failed" -}}
. And please go to the console as soon as possible to process.
{{- end -}}

View File

@@ -0,0 +1,54 @@
{{- $d := .resource_details }}
{{- $consoleServiceType := list "loadbalancer" "dbinstance" "elasticcache" -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been created successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the internet address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if $d.address -}}
, the service address is {{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if and $d.guest_ip_start $d.guest_ip_end -}}
, the IP range is {{ $d.guest_ip_start }}-{{ $d.guest_ip_end }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}
{{- if $d.account -}}
, the initial account is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the initial password is {{ $d.password }}
{{- end -}}
{{- if $d.keypair -}}
, the access ssh key is {{ $d.keypair }}
{{- end -}}
{{- if $d.common_name -}}
, the certificate domain name is {{ $d.common_name }}
{{- end -}}
{{- if $d.not_after -}}
, the expiration is {{ $d.not_after }}
{{- end -}}
{{- if eq .resource_type "server" -}}
, and please use {{ if $d.windows -}} Remote Desktop Connector (RDC) {{ else -}} SSH {{ end -}} or go to the console to access the VM.
{{- end -}}
{{- if has .resource_type $consoleServiceType -}}
. For more information, please go to the console to view
{{- end -}}

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }}
{{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been deleted successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the external address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
, the service address is {{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.public_dns -}} with external address {{ $d.public_dns }}:{{ $d.public_connect_port }} {{ end -}} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} will expire and be released in {{ .advance_days }} days. If you need to renew, please go to the console as soon as possible

View File

@@ -0,0 +1,22 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type_display }} {{ $d.name }}
{{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been added to recycle bin successfully
{{- if $d.private_dns -}}
, the intranet address is {{ $d.private_dns }}:{{ $d.private_connect_port }}
{{- end -}}
{{- if $d.public_dns -}}
, the external address is {{ $d.public_dns }}:{{ $d.public_connect_port }}
{{- end -}}
{{- if and $d.address_type $d.address -}}
, the service address is {{ $d.address_type }}{{ $d.address }}
{{- end -}}
{{- if $d.ips -}}
, the IP address is {{ $d.ips }}
{{- end -}}
{{- if $d.ip_addr -}}
, the IP address is {{ $d.ip_addr }}
{{- end -}}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ $d.trigger_type_display }} type scaling policy {{ $d.name }} in the scaling group {{ $d.scaling_group }} of the {{ $d.project }} project satisfies the trigger conditions, and {{ $d.action_display }} {{ $d.number }}{{ $d.unit_display }} instances successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} successfully {{ $d.operation_display }} the {{ $d.resource_type_display }} {{ $d.resource_name }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The snapshot policy {{ $d.name }} in the {{ $d.project }} project successfully creates a snapshot for the disk {{ $d.disk }}

View File

@@ -0,0 +1,10 @@
{{- $d := .resource_details -}}
Your {{ if $d.brand -}} {{ $d.brand }} {{ end -}} {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} has been {{ .action_display }} successfully
{{- if $d.account -}}
, the acount is {{ $d.account }}
{{- end -}}
{{- if $d.password -}}
, the password is {{ $d.password }}
{{- end -}}
, and please go to the console to view more information

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}{{ .result_display }}

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}创建成功

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的
{{ .resource_type_display }}{{ $d.name }}到期前{{ .advance_days }}天通知

View File

@@ -0,0 +1,5 @@
{{- $d := .resource_details -}}
{{- if $d.project -}}
{{ $d.project }}项目的
{{- end -}}
{{ .resource_type_display }}{{ $d.name }}成功加入回收站

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的弹性伸缩组{{ $d.scaling_group }}中的伸缩策略{{ $d.name }}满足触发

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} successfully {{ $d.operation_display }} the {{ $d.resource_type_display }} {{ $d.resource_name }}

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的自动快照策略{{ $d.name }}生效

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
{{ $d.project }}项目的
{{ .resource_type_display }}{{ $d.name }}{{ .action_display }}成功

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type_display }} {{ .Name }} {{ if $d.project }} in poject {{ $d.project }} {{ end -}} {{ .action_display }} {{ .result_display }}

View File

@@ -0,0 +1,3 @@
{{- $d := .resource_details -}}
The {{ .resource_type_display }} {{ $d.name }} {{ if $d.project }} in poject {{ $d.project }} {{ end -}} created successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ .advance_days }} days notice before {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} expiration

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type_display }} {{ .Name }} {{ if $d.project }} in poject {{ $d.project }} {{ end -}} has been added to recycle bin successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scaling policy {{ $d.name }} in the scaling group {{ $d.scaling_group }} triggered

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The scheduled task in {{ $d.project }} execute successfully

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The snapshot policy {{ $d.name }} in the {{ $d.project }} project executed

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
The {{ .resource_type }} {{ $d.name }} {{ if $d.project -}} in project {{ $d.project }} {{ end -}} {{ .action_display }} successfully

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