Compare commits

..

1965 Commits

Author SHA1 Message Date
Jian Qiu
4e2f333f22 fix: windows GPU vm should set hypervisor=off (#18681)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:56:20 +08:00
Jian Qiu
f9d92cce30 fix: make host dhcp lease options global (#18685)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:55:50 +08:00
Zexi Li
d80e60c96e fix(host): setup routes from start to end (#18673) 2023-11-14 17:55:59 +08:00
Jian Qiu
6694fd41a5 fix(host): catch init error (#18660)
Co-authored-by: Zexi Li <zexi.li@icloud.com>
2023-11-14 09:46:31 +08:00
Zexi Li
23890d1e1e Merge pull request #18650 from swordqiu/hotfix/qj-gpu-class-codes-3.9
fix: extend gpu pci class codes to [0380] at release/3.9
2023-11-13 19:20:26 +08:00
Qiu Jian
4669d95bbc fix: extend gpu pci class codes to [0380] at release/3.9 2023-11-13 17:43:40 +08:00
Zexi Li
eefe477f9e fix(host): ignore error when add bridge ip address route (#18602) 2023-11-08 17:39:36 +08:00
Zexi Li
72bdd60fda Merge pull request #18568 from swordqiu/automated-cherry-pick-of-#18565-upstream-release-3.9
Automated cherry pick of #18565: fix: qemu disk set serial as disk_id
2023-11-05 11:45:11 +08:00
Qiu Jian
e81f2c528a fix: qemu disk set serial as disk_id 2023-11-04 18:50:40 +08:00
Zexi Li
aa9cc6d12a Merge pull request #18562 from swordqiu/automated-cherry-pick-of-#18559-upstream-release-3.9
Automated cherry pick of #18559: fix: host fail to migrate interface routes
2023-11-04 18:28:49 +08:00
Qiu Jian
a70ec0bfe8 fix: host fail to migrate interface routes 2023-11-04 00:01:31 +08:00
Zexi Li
0199950657 Merge pull request #18510 from swordqiu/automated-cherry-pick-of-#18503-upstream-release-3.9
Automated cherry pick of #18503: fix: dhcp hostname not compatible with some os
2023-10-31 19:42:43 +08:00
Zexi Li
bc749b6eed Merge pull request #18500 from zexi/automated-cherry-pick-of-#18497-upstream-release-3.9
Automated cherry pick of #18497: feat(apigateway): report running env
2023-10-31 19:28:17 +08:00
屈轩
32c70e72b2 fix(keystone): validate time_zone input (#18508) 2023-10-31 18:41:36 +08:00
Qiu Jian
c9f79d1c33 fix: dhcp hostname not compatible with some os 2023-10-31 13:54:48 +08:00
Zexi Li
14877d8b83 Merge pull request #18481 from swordqiu/automated-cherry-pick-of-#18478-upstream-release-3.9
Automated cherry pick of #18478: fix: scheduler ping/pong response mime
2023-10-30 20:39:01 +08:00
Zexi Li
df5d2810a5 feat(apigateway): report running env 2023-10-30 20:33:26 +08:00
屈轩
4cad747970 fix(region): avoid hostname has '-' suffix (#18490) 2023-10-30 17:02:41 +08:00
Qiu Jian
e5ee3c1746 fix: scheduler ping/pong response mime 2023-10-30 13:19:05 +08:00
Zexi Li
9a7eb920c4 Merge pull request #18392 from ioito/automated-cherry-pick-of-#18389-upstream-release-3.9
Automated cherry pick of #18389: fix(apigateway): baremetal usage
2023-10-23 11:17:05 +08:00
ioito
026b98e452 fix(apigateway): baremetal usage 2023-10-23 10:39:00 +08:00
Zexi Li
c679f7e570 fix(scheduler): improve scheduler prefer and avoid tags strategy (#18371) 2023-10-20 20:45:53 +08:00
Zexi Li
db9c80acf2 Merge pull request #18369 from swordqiu/automated-cherry-pick-of-#18207-upstream-release-3.9
Automated cherry pick of #18207: feat(region,glance): from cloudaccount to enable vmdk target format
2023-10-20 12:29:18 +08:00
Zexi Li
26083e65e2 Merge pull request #18368 from swordqiu/automated-cherry-pick-of-#18365-upstream-release-3.9
Automated cherry pick of #18365: fix: auto convert missing subformat images
2023-10-20 12:28:48 +08:00
wanyaoqi
80915e2f17 feat(region,glance): from cloudaccount to enable vmdk target format 2023-10-20 11:44:35 +08:00
Qiu Jian
a51eb1c31f fix: auto convert missing subformat images 2023-10-20 10:25:01 +08:00
Jian Qiu
e5bde173cb fix: missing project mapping body (#18355)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-18 20:39:19 +08:00
Zexi Li
52485756bc Merge pull request #18345 from swordqiu/automated-cherry-pick-of-#18342-upstream-release-3.9
Automated cherry pick of #18342: fix: unable to recognize anolis os
2023-10-18 15:01:09 +08:00
Qiu Jian
cd414cfe7c fix: unable to recognize anolis os 2023-10-18 01:55:19 +08:00
Jian Qiu
7e64a88a1b fix: update vendor for edito retry (#18311)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-13 07:29:54 +08:00
Jian Qiu
4c54d42411 fix: update vendor 20231012 for sqlchemy (#18287)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-12 16:56:36 +08:00
wanyaoqi
76d5cd84e2 fix(host): check qga connect is closed (#18274) 2023-10-12 14:49:27 +08:00
wanyaoqi
c8083f2895 fix(host): host sysinfo metadata double quota (#18242) 2023-10-09 18:37:00 +08:00
Zexi Li
e4ec40967f Merge pull request #18238 from wanyaoqi/automated-cherry-pick-of-#18235-upstream-release-3.9
Automated cherry pick of #18235: fix(host-deployer): deploy qga conf ensure /etc/sysconfig dir
2023-10-09 15:06:58 +08:00
wanyaoqi
b97f552df4 fix(host-deployer): deploy qga conf ensure /etc/sysconfig dir 2023-10-09 12:25:36 +08:00
Zexi Li
4ef8534937 Merge pull request #18168 from zexi/automated-cherry-pick-of-#18167-upstream-release-3.9
Automated cherry pick of #18167: fix(scheduler): some joint resources are not synced
2023-09-27 22:51:29 +08:00
Zexi Li
2bdd37a826 fix(scheduler): some joint resources are not synced 2023-09-27 16:49:09 +08:00
Jian Qiu
b9c34b9622 fix: fail purge disk due to getMastHost failure (#18165)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-27 15:08:36 +08:00
Zexi Li
40cfbf0e95 Merge pull request #18156 from wanyaoqi/fix/qga-restart-network
fix(region): remove ansible restart network on guest sync
2023-09-26 17:41:59 +08:00
wanyaoqi
dab3d47936 fix(region): remove ansible restart network on guest sync 2023-09-26 15:45:52 +08:00
Zexi Li
98e9870e03 Merge pull request #18148 from ioito/automated-cherry-pick-of-#18145-upstream-release-3.9
Automated cherry pick of #18145: fix(region): aliyun health check tls error
2023-09-25 16:54:13 +08:00
屈轩
4de0e10565 fix(region): avoid panic after created vm (#18144) 2023-09-25 15:13:11 +08:00
ioito
6df7983cb8 fix(region): aliyun health check tls error 2023-09-25 15:12:05 +08:00
Zexi Li
fbd7afb00c Merge pull request #18068 from wanyaoqi/automated-cherry-pick-of-#18065-upstream-release-3.9
Automated cherry pick of #18065: fix(region,host): cancel migrate sync guest status
2023-09-21 22:40:51 +08:00
Zexi Li
0563ba47ba Merge pull request #18079 from wanyaoqi/automated-cherry-pick-of-#18076-upstream-release-3.9
Automated cherry pick of #18076: fix(region,host): guest save image restart not work
2023-09-21 22:39:47 +08:00
Zexi Li
e10b6e6266 Merge pull request #18085 from wanyaoqi/feat/qga-set-network-3.9
Manual Cherrypick of #17858: add qga set network
2023-09-21 20:56:48 +08:00
wanyaoqi
24ccd64b18 feat(region,host): qga set guest network 2023-09-20 19:55:33 +08:00
wanyaoqi
6782220ee6 fix(region,host): guest save image restart not work 2023-09-20 19:38:33 +08:00
wanyaoqi
15aad29ff3 fix(region,host): cancel migrate sync guest status 2023-09-20 09:57:13 +08:00
chentianxiang
6b73a39415 fix(region):some fix 2023-09-18 11:00:09 +08:00
chentianxiang
ad8b734ef6 feat(region): add qga set network 2023-09-18 11:00:09 +08:00
Zexi Li
dc21f63ed3 Merge pull request #18036 from wanyaoqi/automated-cherry-pick-of-#17465-upstream-release-3.9
Automated cherry pick of #17465: fix(region,host): qga command timeout
2023-09-18 10:57:33 +08:00
wanyaoqi
1848c2eac1 fix(region,host): qga command timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-18 10:46:19 +08:00
屈轩
2ff239f25b fix(region): select available storage (#18034) 2023-09-18 10:24:07 +08:00
gouqi11
5f198f4f8d fix(region): fix empty zone for qcloud (#18030)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-09-15 19:38:48 +08:00
Zexi Li
2ad255ed4e Merge pull request #18006 from wanyaoqi/automated-cherry-pick-of-#18004-upstream-release-3.9
Automated cherry pick of #18004: fix(logclient): add i18n maps for translation
2023-09-13 10:15:38 +08:00
wanyaoqi
22e764cd76 fix(logclient): add i18n maps for translation 2023-09-13 09:43:47 +08:00
屈轩
b893386efe fix(region): sync tencent lb rule (#17980) 2023-09-11 10:13:24 +08:00
屈轩
57255ecd6d fix(region): avoid panic (#17971) 2023-09-10 00:27:37 +08:00
wanyaoqi
582995a369 fix(host): set migrate bandwidth nolimit (#17976) 2023-09-10 00:26:56 +08:00
Zexi Li
2146cf2208 Merge pull request #17965 from swordqiu/automated-cherry-pick-of-#17963-upstream-release-3.9
Automated cherry pick of #17963: fix: some kernel params tune by default
2023-09-08 04:13:51 +08:00
Qiu Jian
ed7dac3f6e fix: some kernel params tune by default 2023-09-08 00:00:27 +08:00
Jian Qiu
1e694bee37 fix: allow remvoe server extra options of specific value (#17949)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:02:22 +08:00
Zexi Li
a0191d5590 Merge pull request #17931 from zhasm/automated-cherry-pick-of-#17930-upstream-release-3.9
Automated cherry pick of #17930: hotfix: typo
2023-09-05 12:57:29 +08:00
Zhang Dongliang
13f5d83b9b hotfix: typo 2023-09-05 12:54:43 +08:00
Zexi Li
2ccc178be6 Merge pull request #17929 from zhasm/automated-cherry-pick-of-#17927-upstream-release-3.9
Automated cherry pick of #17927: fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构
2023-09-05 12:49:48 +08:00
Zhang Dongliang
f2bc227702 fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构 2023-09-05 12:43:47 +08:00
Zexi Li
9af9603721 Merge pull request #17924 from swordqiu/automated-cherry-pick-of-#17922-upstream-release-3.9
Automated cherry pick of #17922: fix: struct sub field tag
2023-09-05 11:56:57 +08:00
Qiu Jian
94a18b89e2 fix: struct sub field tag 2023-09-04 22:49:31 +08:00
屈轩
56cd2ef187 fix(region): vendor update (#17863) 2023-08-28 15:33:56 +08:00
屈轩
c37fbaafea fix(region): skip resource by tags (#17860) 2023-08-28 14:47:00 +08:00
Jian Qiu
976c7e2783 fix: debian 12 OS initialization (#17848)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-27 05:01:08 +08:00
屈轩
7a1cb3910b fix(region): vendor update (#17854) 2023-08-27 04:56:32 +08:00
屈轩
3eb8486299 fix(logger): export limit (#17855) 2023-08-25 10:22:30 +08:00
Jian Qiu
ffa1ddc411 fix: cachedimage add index (#17845)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 03:31:54 +08:00
屈轩
b8053c07bf fix(region): storage extra info (#17834) 2023-08-24 03:11:11 +08:00
Jian Qiu
e59998a9c5 fix: add index to server skus (#17842)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 03:10:09 +08:00
屈轩
90644b8bf4 fix(webconsole): fix #17822 (#17839) 2023-08-23 19:40:09 +08:00
屈轩
d90c3b7fb7 fix(logger): distinct for kind (#17821) 2023-08-22 10:03:12 +08:00
屈轩
c174405f38 fix(logger): distinct field for action log (#17816) 2023-08-21 19:05:57 +08:00
Jian Qiu
67874b2b13 fix: windows 2012 no dns (#17809)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-21 14:20:10 +08:00
wanyaoqi
d4157bdded fix(host): gpu probe miss 3d type gpu (#17807) 2023-08-21 12:32:23 +08:00
Zexi Li
37a359ede3 Merge pull request #17729 from swordqiu/automated-cherry-pick-of-#17727-upstream-release-3.9
Automated cherry pick of #17727: fix: allow host access_mac nullable
2023-08-08 16:29:32 +08:00
Qiu Jian
c93520ed5c fix: allow host access_mac nullable 2023-08-08 12:41:48 +08:00
Zexi Li
40f0108fe8 Merge pull request #17721 from ioito/automated-cherry-pick-of-#17719-upstream-release-3.9
Automated cherry pick of #17719: fix(climc): avoid panic
2023-08-07 20:20:50 +08:00
ioito
0bfaa1a85d fix(climc): avoid panic 2023-08-07 18:48:41 +08:00
Jian Qiu
54874df19f fix: set vcpu vendor_id based on host cpu vendor_id for release/3.9 (#17713)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-06 21:31:13 +08:00
Zexi Li
0c89a9a4a4 Merge pull request #17697 from gouqi11/automated-cherry-pick-of-#17695-upstream-release-3.9
Automated cherry pick of #17695: fix(monitor): fix montior alert startTimeFormat
2023-08-02 17:57:18 +08:00
马鸿飞
f811c83a61 fix(monitor): fix montior alert startTimeFormat 2023-08-02 17:40:25 +08:00
Zexi Li
65b5f4c8c0 Merge pull request #17692 from ioito/automated-cherry-pick-of-#17690-upstream-release-3.9
Automated cherry pick of #17690: fix(cloudmon): avoid panic
2023-08-02 10:21:14 +08:00
ioito
059deacef3 fix(cloudmon): avoid panic 2023-08-01 16:04:55 +08:00
Zexi Li
67fb011ef5 Merge pull request #17687 from ioito/automated-cherry-pick-of-#17685-upstream-release-3.9
Automated cherry pick of #17685: fix(cloudmon): cloudaccout update
2023-08-01 13:01:54 +08:00
ioito
4a5de78d09 fix(cloudmon): cloudaccout update 2023-08-01 12:20:43 +08:00
Zexi Li
710b1deb52 Merge pull request #17676 from wanyaoqi/automated-cherry-pick-of-#17674-upstream-release-3.9
Automated cherry pick of #17674: fix(host): add gpu device when driver isn't bind
2023-08-01 00:50:33 +08:00
wanyaoqi
9fb6a0b98d fix(host): add gpu device when driver isn't bind 2023-07-31 15:55:59 +08:00
Zexi Li
34df171bab Merge pull request #17667 from ioito/automated-cherry-pick-of-#17665-upstream-release-3.9
Automated cherry pick of #17665: fix(region): acl name
2023-07-30 14:01:16 +08:00
ioito
4482ed8393 fix(region): acl name 2023-07-28 20:18:32 +08:00
Zexi Li
571fd2d84e Merge pull request #17638 from wanyaoqi/automated-cherry-pick-of-#17635-upstream-release-3.9
Automated cherry pick of #17635: fix(host-deployer): detect image arch incorrect
2023-07-27 15:39:10 +08:00
Zexi Li
bd14d74c5a Merge pull request #17643 from zexi/automated-cherry-pick-of-#17641-upstream-release-3.9
Automated cherry pick of #17641: fix(scheduler): auto allocation network selection is not working
2023-07-27 15:37:21 +08:00
Zexi Li
5cab3d187a fix(scheduler): auto allocation network selection is not working 2023-07-27 12:20:52 +08:00
wanyaoqi
998cfed30b fix(host-deployer): detect image arch incorrect 2023-07-26 21:54:50 +08:00
Zexi Li
6682efa2ac Merge pull request #17631 from ioito/automated-cherry-pick-of-#17629-upstream-release-3.9
Automated cherry pick of #17629: fix(region): vendor update
2023-07-26 11:39:19 +08:00
ioito
19ae1835b9 fix(region): vendor update 2023-07-26 11:36:34 +08:00
Zexi Li
c964761225 Merge pull request #17622 from ioito/automated-cherry-pick-of-#17620-upstream-release-3.9
Automated cherry pick of #17620: fix(region): vendor update
2023-07-25 18:35:09 +08:00
ioito
fb6e2bd043 fix(region): vendor update 2023-07-25 18:29:14 +08:00
Zexi Li
24b7fd31f7 Merge pull request #17618 from zexi/automated-cherry-pick-of-#17617-upstream-release-3.9
Automated cherry pick of #17617: fix(host): try reloading telegraf by restarting docker
2023-07-25 18:04:27 +08:00
Zexi Li
ac258ff38b Merge pull request #17608 from ioito/automated-cherry-pick-of-#17606-upstream-release-3.9
Automated cherry pick of #17606: fix(region): set scheduler failed brand unknown
2023-07-25 17:51:30 +08:00
Zexi Li
fdad35210f fix(host): try reloading telegraf by restarting docker 2023-07-25 17:49:07 +08:00
ioito
887161d428 fix(region): set scheduler failed brand unknown 2023-07-24 16:20:00 +08:00
Zexi Li
f881e2c8ee Merge pull request #17604 from ioito/automated-cherry-pick-of-#17602-upstream-release-3.9
Automated cherry pick of #17602: fix(region): usage for nic
2023-07-24 15:55:48 +08:00
ioito
43a2ed88a8 fix(region): usage for nic 2023-07-24 15:26:45 +08:00
Zexi Li
9691902f48 fix(monitor): return error if metric is nil (#17576) 2023-07-20 11:51:51 +08:00
Zexi Li
e312e5fb19 Merge pull request #17566 from ioito/automated-cherry-pick-of-#17564-upstream-release-3.9
Automated cherry pick of #17564: fix(region): esxi add vmdk disk
2023-07-19 01:30:52 +08:00
ioito
8d79fe7f93 fix(region): esxi add vmdk disk 2023-07-18 20:11:34 +08:00
Zexi Li
27cbdfa598 Merge pull request #17552 from ioito/automated-cherry-pick-of-#17550-upstream-release-3.9
Automated cherry pick of #17550: fix(region): esxi disk with vmdk format
2023-07-18 17:37:53 +08:00
ioito
0a15eb3f75 fix(region): esxi disk with vmdk format 2023-07-17 18:20:17 +08:00
Zexi Li
046579dba4 Merge pull request #17524 from swordqiu/automated-cherry-pick-of-#17521-upstream-release-3.9
Automated cherry pick of #17521: fix: lbcluster reference count
2023-07-14 18:14:52 +08:00
Qiu Jian
66222d33ee fix: lbcluster reference count 2023-07-14 06:48:56 +08:00
屈轩
8f3be4d36e fix(climc): add port for ssh (#17515) 2023-07-13 16:39:54 +08:00
wanyaoqi
f2b1a31029 fix(host): qemu arm add qga params (#17508) 2023-07-13 13:35:52 +08:00
屈轩
659dfcce9d fix(region): esxi vm migrate for search ivm (#17481) 2023-07-12 16:16:51 +08:00
屈轩
c89fb6be46 fix(region): reset esxi osinfo (#17478) 2023-07-12 16:15:36 +08:00
Zexi Li
8df97583fb Merge pull request #17471 from ioito/automated-cherry-pick-of-#17469-upstream-release-3.9
Automated cherry pick of #17469: fix(region): default username
2023-07-11 10:08:45 +08:00
Zexi Li
9e3cf697f2 Merge pull request #17474 from ioito/automated-cherry-pick-of-#17472-upstream-release-3.9
Automated cherry pick of #17472: fix(esxi-agent): reset password log
2023-07-10 16:09:28 +08:00
ioito
4fe9ee76d7 fix(esxi-agent): reset password log 2023-07-10 15:55:07 +08:00
ioito
551c1f8316 fix(region): default username 2023-07-10 15:27:06 +08:00
Zexi Li
4ba953f431 Merge pull request #17379 from ioito/automated-cherry-pick-of-#17377-upstream-release-3.9
Automated cherry pick of #17377: fix(region): vendor update
2023-06-27 11:03:40 +08:00
ioito
1453ebfa34 fix(region): vendor update 2023-06-27 10:34:29 +08:00
Zexi Li
cb937c67e7 Merge pull request #17372 from ioito/automated-cherry-pick-of-#17370-upstream-release-3.9
Automated cherry pick of #17370: fix(region): sync zstack vm ip
2023-06-26 16:40:20 +08:00
ioito
09083a16bd fix(region): sync zstack vm ip 2023-06-26 15:57:39 +08:00
Zexi Li
50a787e726 Merge pull request #17368 from ioito/automated-cherry-pick-of-#17366-upstream-release-3.9
Automated cherry pick of #17366: fix(region): avoid aliyun elastic cache cycle sync
2023-06-26 10:13:09 +08:00
ioito
d6130aca4b fix(region): avoid aliyun elastic cache cycle sync 2023-06-25 21:07:41 +08:00
Zexi Li
bf72c364d3 Merge pull request #17347 from swordqiu/automated-cherry-pick-of-#17345-upstream-release-3.9
Automated cherry pick of #17345: fix: add process timeout option default_process_timeout_seconds
2023-06-21 16:39:18 +08:00
Qiu Jian
2e651ba117 fix: add process timeout option default_process_timeout_seconds 2023-06-21 13:55:09 +08:00
Jian Qiu
6211743469 fix: detailed pending usage error (#17342)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:02:22 +08:00
Zexi Li
887de27fc6 Merge pull request #17328 from zexi/automated-cherry-pick-of-#17326-upstream-release-3.9
Automated cherry pick of #17326: fix(baremetal): panic occured when fetch powerMetrics
2023-06-20 10:42:58 +08:00
Zexi Li
8cd2c65731 fix(baremetal): panic occured when fetch powerMetrics 2023-06-19 15:24:49 +08:00
Zexi Li
f2986931ba Merge pull request #17302 from ioito/automated-cherry-pick-of-#17300-upstream-release-3.9
Automated cherry pick of #17300: fix(region): vendor update
2023-06-14 22:48:44 +08:00
Zexi Li
f58556b9a3 Merge pull request #17288 from zexi/bm-mem-size
fix(baremetal): skip 'Volatile Size' line when detecting memory size
2023-06-14 22:45:52 +08:00
Zexi Li
8c05089c86 Merge pull request #17303 from zhasm/automated-cherry-pick-of-#17299-upstream-release-3.9
Automated cherry pick of #17299: [wip] fix(docker,buildx): 兼容本地registry 模式
2023-06-14 15:31:37 +08:00
Zhang Dongliang
2d19cf003a fix(docker,buildx): 兼容本地registry 模式 2023-06-14 15:20:51 +08:00
ioito
448a35fe5f fix(region): vendor update 2023-06-14 15:15:08 +08:00
Zexi Li
f0bf8606d1 Merge pull request #17294 from zhasm/automated-cherry-pick-of-#17292-upstream-release-3.9
Automated cherry pick of #17292: fix(docker,buildx): 跨平台编译优化
2023-06-13 17:27:54 +08:00
Zhang Dongliang
b004c296fa fix(docker,buildx): 跨平台编译优化 2023-06-13 17:10:50 +08:00
Zexi Li
34ebfa5cc5 Merge pull request #17279 from wanyaoqi/automated-cherry-pick-of-#17277-upstream-release-3.9
Automated cherry pick of #17277: fix(region): qga set password not record logininfo
2023-06-13 13:19:07 +08:00
Zexi Li
ec8c855130 fix(baremetal): skip 'Volatile Size' line when detecting memory size 2023-06-13 13:14:22 +08:00
wanyaoqi
ae00c4fecd fix(region): qga set password not record logininfo
guest create from iso no login_account, record login_account when login
account is empty.
2023-06-12 10:46:27 +08:00
屈轩
086e55c45d fix(region): qcloud hypervisor (#17265) 2023-06-08 21:20:26 +08:00
Zexi Li
2f825aaed2 Merge pull request #17256 from ioito/automated-cherry-pick-of-#17250-upstream-release-3.9
Automated cherry pick of #17250: fix(region): filter host by ips
2023-06-06 14:17:36 +08:00
ioito
8dbc52718e fix(region): filter host by ips 2023-06-06 10:57:58 +08:00
Zexi Li
b5709114a6 Merge pull request #17242 from wanyaoqi/automated-cherry-pick-of-#17240-upstream-release-3.9
Automated cherry pick of #17240: fix(host): don't sync status on resume from postmigrate
2023-06-03 10:58:32 +08:00
wanyaoqi
dae645b421 fix(host): don't sync status on resume from postmigrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-02 18:50:33 +08:00
Zexi Li
f451f19c20 feat(climc): add service option for action-show command (#17224) 2023-06-01 20:44:03 +08:00
Zexi Li
2dec5d715c Merge pull request #17216 from gouqi11/automated-cherry-pick-of-#17214-upstream-release-3.9
Automated cherry pick of #17214: fix(region): fix region.CreatedAt
2023-05-31 19:08:18 +08:00
马鸿飞
26b3b3f9d8 fix(region): fix region.CreatedAt 2023-05-31 16:16:35 +08:00
Zexi Li
e723c37f11 Merge pull request #17210 from zexi/automated-cherry-pick-of-#17208-upstream-release-3.9
Automated cherry pick of #17208: optimized(monitor): query metrics time
2023-05-31 15:19:48 +08:00
Zexi Li
c30819ee75 optimized(monitor): query metrics time 2023-05-31 15:01:54 +08:00
Zexi Li
0073f7fc64 fix(climc): release upgrade method (#17197) 2023-05-30 22:57:10 +08:00
Zexi Li
a53884bd79 Merge pull request #17182 from ioito/automated-cherry-pick-of-#17180-upstream-release-3.9
Automated cherry pick of #17180: fix(region): vpc purge
2023-05-30 17:41:38 +08:00
Zexi Li
a213c35e99 Merge pull request #17189 from swordqiu/automated-cherry-pick-of-#17187-upstream-release-3.9
Automated cherry pick of #17187: fix: apigateway endpoint empty error
2023-05-30 17:41:08 +08:00
Zexi Li
4a9feb85f4 Merge pull request #17193 from ioito/automated-cherry-pick-of-#17184-upstream-release-3.9
Automated cherry pick of #17184: fix(region): server list filter by ips
2023-05-30 17:39:39 +08:00
ioito
bd92a1d03d fix(region): server list filter by ips 2023-05-30 16:31:15 +08:00
Qiu Jian
74c67b6967 fix: apigateway endpoint empty error 2023-05-30 11:21:14 +08:00
ioito
9e11ca7e5f fix(region): vpc purge 2023-05-29 16:46:28 +08:00
Jian Qiu
360e63f1dd fix: make cron day job happen earlier (#17168)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:02:33 +08:00
Zexi Li
454324aec4 Merge pull request #17158 from gouqi11/automated-cherry-pick-of-#17156-upstream-release-3.9
Automated cherry pick of #17156: fix(keystone): fix refreshScopeResourceCount timeout
2023-05-25 20:12:36 +08:00
马鸿飞
af41aa07c5 fix(keystone): fix refreshScopeResourceCount timeout 2023-05-25 15:25:01 +08:00
Zexi Li
9927b9d13d Merge pull request #17127 from ioito/automated-cherry-pick-of-#17125-upstream-release-3.9
Automated cherry pick of #17125: fix(region): index order
2023-05-23 11:25:12 +08:00
ioito
e027bdd07d fix(region): index order 2023-05-23 11:00:30 +08:00
Zexi Li
29a8f731f2 fix(baremetal): skip running sysinit.sh when arch is aarch64 (#17106) 2023-05-19 17:34:49 +08:00
Zexi Li
ac87a44e77 Merge pull request #17079 from ioito/automated-cherry-pick-of-#17077-upstream-release-3.9
Automated cherry pick of #17077: fix(apigateway): image upload with properties
2023-05-19 10:49:53 +08:00
Jian Qiu
3a1b1db18f fix: allow bootstrap role policy assignment without violation check (#17089)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-18 19:29:28 +08:00
Zexi Li
de9b911d9e Merge pull request #17082 from ioito/automated-cherry-pick-of-#17080-upstream-release-3.9
Automated cherry pick of #17080: fix(region): validate delete region
2023-05-18 18:07:14 +08:00
ioito
4fbd6ed7bf fix(region): validate delete region 2023-05-18 16:10:50 +08:00
ioito
c14fee7bbf fix(apigateway): image upload with properties 2023-05-18 15:10:02 +08:00
Zexi Li
00b0ae9fab Merge pull request #17068 from swordqiu/automated-cherry-pick-of-#17066-upstream-release-3.9
Automated cherry pick of #17066: fix: disable policy update when enable three member system
2023-05-18 02:17:40 +08:00
Qiu Jian
d4fe392e26 fix: disable policy update when enable three member system 2023-05-17 23:39:47 +08:00
Zexi Li
f9fc2618fe Merge pull request #17049 from swordqiu/automated-cherry-pick-of-#17047-upstream-release-3.9
Automated cherry pick of #17047: fix: prevent policy violate when assigning policy to roles
2023-05-16 11:12:43 +08:00
Qiu Jian
678b8171dd fix: prevent policy violate when assigning policy to roles 2023-05-15 21:26:35 +08:00
屈轩
3f2c214b59 fix(region): optimized sku sync (#17030) 2023-05-13 07:50:46 +08:00
Zexi Li
2e605f5c53 Merge pull request #16915 from wanyaoqi/fix/update-desc-meta-on-sync-meta
fix(host): update desc metadata on guest sync meta
2023-05-12 10:31:46 +08:00
Zexi Li
17c6a2e88b Merge pull request #16996 from zexi/automated-cherry-pick-of-#16994-upstream-release-3.9
Automated cherry pick of #16994: fix(monitor): adjust query timeout to 5 mins
2023-05-10 18:01:52 +08:00
Zexi Li
4916a7cf5c fix(monitor): adjust query timeout to 5 mins 2023-05-10 13:02:01 +08:00
Zexi Li
2cfd79956a Merge pull request #16976 from ioito/automated-cherry-pick-of-#16973-upstream-release-3.9
Automated cherry pick of #16973: fix(region): optimized vpc-list
2023-05-10 09:58:51 +08:00
Zexi Li
1bb4ad8c0e Merge pull request #16981 from ioito/automated-cherry-pick-of-#16979-upstream-release-3.9
Automated cherry pick of #16979: fix(region): elastic cache purge
2023-05-09 09:20:21 +08:00
Zexi Li
d35cc4d9e8 Merge pull request #16985 from swordqiu/automated-cherry-pick-of-#16983-upstream-release-3.9
Automated cherry pick of #16983: fix: usage handler nil check revisit
2023-05-09 09:19:38 +08:00
Qiu Jian
09b53eb545 fix: usage handler nil check revisit 2023-05-08 20:52:15 +08:00
ioito
36b6df58fb fix(region): elastic cache purge 2023-05-08 16:05:43 +08:00
ioito
03d836222e fix(region): optimized vpc-list 2023-05-08 15:11:58 +08:00
Zexi Li
133093872d Merge pull request #16971 from swordqiu/automated-cherry-pick-of-#16969-upstream-release-3.9
Automated cherry pick of #16969: fix: three member policy adjustment 20230507
2023-05-08 10:29:26 +08:00
Zexi Li
3261a41175 Merge pull request #16964 from ioito/automated-cherry-pick-of-#16962-upstream-release-3.9
Automated cherry pick of #16962: fix(glance): support filter image by os archs
2023-05-08 10:28:39 +08:00
Zexi Li
306d7dacc3 Merge pull request #16959 from wanyaoqi/automated-cherry-pick-of-#16957-upstream-release-3.9
Automated cherry pick of #16957: fix(host): don't return error on disk snap chain params miss
2023-05-08 10:26:41 +08:00
Zexi Li
820b9449e8 Merge pull request #16968 from swordqiu/automated-cherry-pick-of-#16966-upstream-release-3.9
Automated cherry pick of #16966: fix: domain tag filter not working
2023-05-08 10:25:32 +08:00
Zexi Li
1756ce1804 Merge pull request #16972 from ioito/automated-cherry-pick-of-#16948-upstream-release-3.9
Automated cherry pick of #16948: fix(region): host status
2023-05-08 10:25:00 +08:00
ioito
275cfcad23 fix(region): host status 2023-05-08 10:23:47 +08:00
Qiu Jian
001a49c7b1 fix: three member policy adjustment 20230507 2023-05-08 03:17:53 +08:00
Qiu Jian
75a6570b31 fix: domain tag filter not working 2023-05-08 02:34:07 +08:00
ioito
255e51f1ee fix(glance): support filter image by os archs 2023-05-06 15:25:08 +08:00
wanyaoqi
d28ffc66e7 fix(host): don't return error on disk snap chain miss 2023-05-06 14:20:14 +08:00
Zexi Li
d61e421def Merge pull request #16950 from wanyaoqi/fix/migrate-with-snapshots
fix(region,host): migrate with out chain snapshots
2023-05-06 10:15:53 +08:00
wanyaoqi
b30306a651 fix(region,host): migrate with out chain snapshots
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-06 00:15:43 +08:00
Zexi Li
7be0e2f6ca Merge pull request #16932 from ioito/automated-cherry-pick-of-#16930-upstream-release-3.9
Automated cherry pick of #16930: fix(region): optimized guest and cachedimage list speed
2023-05-05 17:11:09 +08:00
Zexi Li
654d47d526 fix(monitor): truncated JSONObject of alert model (#16935) 2023-05-05 14:43:01 +08:00
ioito
04e6ce0bb0 fix(region): optimized guest and cachedimage list speed 2023-05-04 14:23:21 +08:00
Zexi Li
3bf577a78f Merge pull request #16912 from swordqiu/automated-cherry-pick-of-#16907-upstream-release-3.9
Automated cherry pick of #16907: fix: auth getStats should ignore no permission error
2023-04-28 10:28:37 +08:00
wanyaoqi
317f96ac36 update desc metadata on guest sync meta 2023-04-27 23:46:05 +08:00
屈轩
bd5c4d1bd0 fix(region): optimized storage-list (#16913) 2023-04-27 23:06:56 +08:00
Qiu Jian
30b3c4e8f5 fix: auth getStats should ignore no permission error 2023-04-27 21:37:44 +08:00
Zexi Li
5c2592a293 Merge pull request #16893 from ioito/automated-cherry-pick-of-#16891-upstream-release-3.9
Automated cherry pick of #16891: fix(region): vendor update
2023-04-27 21:07:01 +08:00
Zexi Li
7c916323a6 Merge pull request #16906 from zexi/automated-cherry-pick-of-#16904-upstream-release-3.9
Automated cherry pick of #16904: fix(monitor,apihelper): list storages without details
2023-04-27 19:37:25 +08:00
Zexi Li
f2837d9795 fix(monitor,apihelper): list storages without details 2023-04-27 19:35:56 +08:00
屈轩
9508771b34 fix(region): add table index (#16896) 2023-04-27 14:33:51 +08:00
ioito
4bf9a46872 fix(region): vendor update 2023-04-27 10:10:30 +08:00
Zexi Li
f987729dd2 Merge pull request #16888 from zexi/skip-load-esxi-net
fix(scheduler): skip load esxi network free-port cache
2023-04-27 09:35:48 +08:00
Zexi Li
1ead3a6e50 fix(scheduler): skip load esxi network free-port cache 2023-04-26 20:50:46 +08:00
Zexi Li
09cb3bef98 Merge pull request #16862 from zexi/automated-cherry-pick-of-#16860-upstream-release-3.9
Automated cherry pick of #16860: fix(monitor): panic of StatisticHandler
2023-04-25 10:03:13 +08:00
Zexi Li
e9a20a200c Merge pull request #16857 from zexi/handle-probe-isodev-error
fix(region): handle probe-isolated-device error
2023-04-25 10:02:38 +08:00
Zexi Li
3ff14f2559 fix(monitor): panic of StatisticHandler 2023-04-24 20:01:43 +08:00
Zexi Li
2b2f0a1bfb fix(region): handle probe-isolated-device error 2023-04-24 19:51:20 +08:00
Zexi Li
b3828e7462 Merge pull request #16850 from wanyaoqi/automated-cherry-pick-of-#16848-upstream-release-3.9
Automated cherry pick of #16848: fix(region):  check disk purge  get host error is sql.ErrNoRows
2023-04-24 15:21:27 +08:00
wanyaoqi
656639cf80 fix(region): check disk purge get host error is sql.ErrNoRows
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-24 10:52:54 +08:00
Zexi Li
15497db5b8 Merge pull request #16827 from ioito/automated-cherry-pick-of-#16825-upstream-release-3.9
Automated cherry pick of #16825: fix(region): log with account disconnect reason
2023-04-20 13:24:35 +08:00
Zexi Li
762eb1e224 Merge pull request #16830 from ioito/automated-cherry-pick-of-#16828-upstream-release-3.9
Automated cherry pick of #16828: fix(region): vendor update for aws region
2023-04-20 13:23:00 +08:00
ioito
af18ebdb2c fix(region): vendor update for aws region 2023-04-20 11:30:42 +08:00
ioito
0c76154e80 fix(region): log with account disconnect reason 2023-04-20 10:38:39 +08:00
Zexi Li
1933184653 Merge pull request #16815 from zexi/automated-cherry-pick-of-#16814-upstream-release-3.9
Automated cherry pick of #16814: fix(monitor): disable query signature defaultly
2023-04-19 10:09:04 +08:00
Zexi Li
f89ac09124 fix(monitor): disable query signature defaultly 2023-04-19 10:06:44 +08:00
Zexi Li
d25c028091 Merge pull request #16808 from ioito/automated-cherry-pick-of-#16791-upstream-release-3.9
Automated cherry pick of #16791: fix(cloudmon): support skip pull azure memory and disk usage metric
2023-04-18 15:28:15 +08:00
ioito
f7b7869b5d fix(cloudmon): support skip pull azure memory and disk usage metric 2023-04-18 13:50:21 +08:00
Zexi Li
8ba55749b9 Merge pull request #16481 from ioito/automated-cherry-pick-of-#16463-upstream-release-3.9
Automated cherry pick of #16463: fix: avoid panic when sync vmware host
2023-04-17 23:18:24 +08:00
ioito
56ab043a62 fix: avoid panic when sync vmware host 2023-04-17 10:07:12 +08:00
Jian Qiu
fcc7a2a6cb fix: update vendor 20230413 (#16469)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-14 02:41:08 +08:00
Zexi Li
3a2c032e74 Merge pull request #16457 from wanyaoqi/automated-cherry-pick-of-#16447-upstream-release-3.9
Automated cherry pick of #16447: fix(host): set default live migrate bandwidth unlimited
2023-04-13 17:42:06 +08:00
Zexi Li
f2ca49c25e Merge pull request #16458 from zexi/monitor-metric-measurement
fix(monitor): wrong tag filter when get metric measurement
2023-04-13 11:56:40 +08:00
Zexi Li
5ea157287e Merge pull request #16456 from gouqi11/fixModelartsValidateDeleteConditionStatus
fix(region): change modelarts validateDeleteCondition
2023-04-13 11:56:25 +08:00
Zexi Li
ea69795d84 fix(monitor): wrong tag filter when get metric measurement 2023-04-13 11:37:30 +08:00
wanyaoqi
3329a782f8 fix(host): set default live migrate bandwidth unlimited
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-13 11:06:42 +08:00
mhf
67180c9cfe fix(region): change modelarts validateDeleteCondition 2023-04-13 11:03:09 +08:00
Zexi Li
4ab086dc11 Merge pull request #16434 from zexi/kvm-storage-cap
feat(region): set kvm storage instance capability
2023-04-13 10:08:20 +08:00
Zexi Li
606c5bd977 Merge pull request #16446 from ioito/automated-cherry-pick-of-#16444-upstream-release-3.9
Automated cherry pick of #16444: fix(region): support import private k8s
2023-04-12 20:47:48 +08:00
Zexi Li
02a1318a19 Merge pull request #16443 from ioito/automated-cherry-pick-of-#16441-upstream-release-3.9
Automated cherry pick of #16441: fix(region): sync purge vpc
2023-04-12 20:46:31 +08:00
ioito
85fc86a67e fix(region): support import private k8s 2023-04-12 16:45:00 +08:00
ioito
fa71b2a6f5 fix(region): sync purge vpc 2023-04-12 15:27:44 +08:00
Jian Qiu
7a57356dd0 fix: clickhouse parttion expression of divide inconstent 3.9 (#16437)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-12 12:04:02 +08:00
Zexi Li
f298e0c6c6 feat(region): set kvm storage instance capability 2023-04-12 10:17:50 +08:00
Zexi Li
70fce898da Merge pull request #16431 from ioito/automated-cherry-pick-of-#16429-upstream-release-3.9
Automated cherry pick of #16429: fix: only request error show time
2023-04-11 22:17:33 +08:00
ioito
37bfde3756 fix: only request error show time 2023-04-11 22:03:57 +08:00
Zexi Li
eb3a3d0b56 Merge pull request #16426 from ioito/automated-cherry-pick-of-#16424-upstream-release-3.9
Automated cherry pick of #16424: fix(common): show request time with rfc3339
2023-04-11 21:16:01 +08:00
ioito
aa6f55f1d2 fix(common): show request time with rfc3339 2023-04-11 20:56:11 +08:00
Zexi Li
a4344faa87 Merge pull request #16419 from ioito/automated-cherry-pick-of-#16417-upstream-release-3.9
Automated cherry pick of #16417: fix(common): log time zone and format
2023-04-11 18:28:25 +08:00
ioito
cfa2077932 fix(common): log time zone and format 2023-04-11 17:25:54 +08:00
Zexi Li
e4178f6d06 Merge pull request #16416 from ioito/automated-cherry-pick-of-#16414-upstream-release-3.9
Automated cherry pick of #16414: fix(common): log time with time zone
2023-04-11 15:02:19 +08:00
Zexi Li
fb0869b727 Merge pull request #16410 from ioito/automated-cherry-pick-of-#16408-upstream-release-3.9
Automated cherry pick of #16408: fix(common): show exception with remote addr and duration
2023-04-11 15:00:09 +08:00
Zexi Li
81c90068ea Merge pull request #16413 from ioito/automated-cherry-pick-of-#16411-upstream-release-3.9
Automated cherry pick of #16411: fix(keystone): avoid panic when sync scope reosurce
2023-04-11 14:57:29 +08:00
Zexi Li
b3e0d74b6f Merge pull request #16405 from ioito/automated-cherry-pick-of-#16403-upstream-release-3.9
Automated cherry pick of #16403: fix(region): optimized cloudprovider list
2023-04-11 14:56:16 +08:00
ioito
953fdaa914 fix(common): log time with time zone 2023-04-11 14:36:38 +08:00
ioito
680711f244 fix(common): show exception with remote addr and duration 2023-04-11 13:45:05 +08:00
ioito
8942f18cd1 fix(keystone): avoid panic when sync scope reosurce 2023-04-11 10:51:15 +08:00
Jian Qiu
f239662550 fix: backport opslog clickhouse partition expression to 3.9 (#16394)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-11 01:45:48 +08:00
ioito
b34e8b94fd fix(region): optimized cloudprovider list 2023-04-10 19:13:29 +08:00
Zexi Li
72ec118da6 Merge pull request #16397 from ioito/automated-cherry-pick-of-#16395-upstream-release-3.9
Automated cherry pick of #16395: fix(region): remove useless server sku
2023-04-10 17:18:20 +08:00
Zexi Li
dc3d7f3b5a Merge pull request #16400 from zexi/automated-cherry-pick-of-#16398-upstream-release-3.9
Automated cherry pick of #16398: fix(devtool): panic occurred cause of nil ctx
2023-04-10 17:17:00 +08:00
Zexi Li
279a623467 fix(devtool): panic occurred cause of nil ctx 2023-04-10 17:13:51 +08:00
Zexi Li
fde49d1b9c Merge pull request #16391 from swordqiu/hotfix/qj-allow-vm-monitor-status-live-migrating
fix: allow vm monitor in status live migrating
2023-04-10 10:54:13 +08:00
ioito
0e760ccf6f fix(region): remove useless server sku 2023-04-10 10:52:39 +08:00
Qiu Jian
37124d871a fix: allow vm monitor in status live migrating 2023-04-08 17:42:32 +08:00
Zexi Li
e278d793d7 Merge pull request #16386 from ioito/automated-cherry-pick-of-#16384-upstream-release-3.9
Automated cherry pick of #16384: fix(region): vendor update for openstack nic
2023-04-07 18:45:15 +08:00
Zexi Li
3659e30988 Merge pull request #16383 from ioito/automated-cherry-pick-of-#16381-upstream-release-3.9
Automated cherry pick of #16381: fix(webconsole): avoid panic when send stats request
2023-04-07 18:20:19 +08:00
Zexi Li
6e1b22eaa4 Merge pull request #16377 from zexi/batch-create-disks
fix(region): not set default data when batch creating disks
2023-04-07 18:19:31 +08:00
Zexi Li
cc99ce60c9 Merge pull request #16370 from gouqi11/addModelartsCreateFailedReason
fix(region): modelarts delete deff failed,timeout
2023-04-07 18:18:57 +08:00
ioito
5c71afab3b fix(region): vendor update for openstack nic 2023-04-07 17:59:31 +08:00
ioito
0143cda8a4 fix(webconsole): avoid panic when send stats request 2023-04-07 17:15:26 +08:00
mhf
220f1d0b13 fix(region): modelarts delete deff failed,timeout 2023-04-07 16:16:57 +08:00
Zexi Li
04338e0302 Merge pull request #16376 from ioito/automated-cherry-pick-of-#16374-upstream-release-3.9
Automated cherry pick of #16374: fix(region): openstack keypair
2023-04-07 10:59:13 +08:00
Zexi Li
77dbe36b31 fix(region): not set default data when batch creating disks 2023-04-07 10:55:16 +08:00
ioito
a16afce1cc fix(region): openstack keypair 2023-04-07 10:24:07 +08:00
Zexi Li
acb31323e0 Merge pull request #16373 from ioito/automated-cherry-pick-of-#16371-upstream-release-3.9
Automated cherry pick of #16371: fix(region): azure china user create
2023-04-07 01:01:28 +08:00
Zexi Li
2ca2cc6cd8 Merge pull request #16358 from zexi/bm-raid-ssd-pd
fix(baremetal): panic occured when using SSD as raid PD
2023-04-07 01:00:40 +08:00
Zexi Li
082fff080e Merge pull request #16365 from ioito/automated-cherry-pick-of-#16311-upstream-release-3.9
Automated cherry pick of #16311: fix(region): support fast sync cloud resources
2023-04-07 01:00:00 +08:00
ioito
194a9e4543 fix(region): azure china user create 2023-04-06 22:03:32 +08:00
屈轩
0b1074b6fc fix(region): vender update (#16369) 2023-04-06 20:39:58 +08:00
ioito
929b2fb479 fix(region): support fast sync cloud resources 2023-04-06 18:44:46 +08:00
Zexi Li
ae2d15bf14 Merge pull request #16362 from ioito/automated-cherry-pick-of-#16360-upstream-release-3.9
Automated cherry pick of #16360: fix(cloudmon): bingo metric
2023-04-06 18:02:13 +08:00
Zexi Li
00ade21f0a Merge pull request #16357 from ioito/automated-cherry-pick-of-#16334-upstream-release-3.9
Automated cherry pick of #16334: Automated cherry pick of #16311: fix(region): support fast sync cloud resources
2023-04-06 17:53:22 +08:00
ioito
4589a43fe2 fix(cloudmon): bingo metric 2023-04-06 17:51:14 +08:00
Zexi Li
09050b427d fix(baremetal): panic occured when using SSD as raid PD 2023-04-06 17:44:21 +08:00
ioito
347a99475a fix(region): support fast sync cloud resources 2023-04-06 17:04:56 +08:00
Zexi Li
9b4db626a7 Merge pull request #16355 from gouqi11/addModelartsCreateFailedReason
fix(region): addModelartsCreateFailedReason
2023-04-06 16:52:04 +08:00
Zexi Li
9dbf863218 Merge pull request #16356 from ioito/automated-cherry-pick-of-#16353-upstream-release-3.9
Automated cherry pick of #16353: fix(cloudmon): esxi disk usage
2023-04-06 16:25:00 +08:00
mhf
675c2ef3b5 fix(region): addModelartsCreateFailedReason 2023-04-06 15:57:09 +08:00
ioito
7b569da70a fix(cloudmon): esxi disk usage 2023-04-06 15:55:09 +08:00
Zexi Li
b0b9c704ff Merge pull request #16350 from swordqiu/hotfix/qj-async-setup-brvpc-mtu-3.9
fix: async setup brvpc mtu 3.9
2023-04-06 11:15:55 +08:00
Qiu Jian
c84517b6bc fix: async setup brvpc mtu 2023-04-05 23:34:30 +08:00
屈轩
1df2b9d57c fix(region): sync esxi disk access path (#16337) 2023-04-04 09:51:39 +08:00
Zexi Li
431cfb8d68 Merge pull request #16333 from zexi/automated-cherry-pick-of-#16331-upstream-release-3.9
Automated cherry pick of #16331: fix(monitor): eip fields are missed in details
2023-04-03 14:45:59 +08:00
Zexi Li
97bac0530b fix(monitor): eip fields are missed in details 2023-04-03 14:17:48 +08:00
Zexi Li
4dfeb2adc0 Merge pull request #16329 from swordqiu/automated-cherry-pick-of-#16327-upstream-release-3.9
Automated cherry pick of #16327: fix: host remove netif also remove baremnetal server netif
2023-04-03 13:33:47 +08:00
Qiu Jian
2a61f9da13 fix: host remove netif also remove baremnetal server netif 2023-04-03 11:25:55 +08:00
Zexi Li
df3c7cf3f4 Merge pull request #16314 from gouqi11/fixModelartsStatus0330
fix(region): fixModelartsStatus
2023-04-03 10:52:43 +08:00
Jian Qiu
2a21f5a0d4 fix: minor fixes 20230403 (#16326)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-03 09:28:24 +08:00
mhf
41cbd56f25 fix(region): fixModelartsStatus 2023-03-31 16:38:30 +08:00
Zexi Li
b6ebb5c160 Merge pull request #16317 from zexi/automated-cherry-pick-of-#16315-upstream-release-3.9
Automated cherry pick of #16315: fix(keystone): add kubeserver running_mode option to blacklist
2023-03-31 01:41:48 +08:00
Zexi Li
6f2fa2f2f1 fix(keystone): add kubeserver running_mode option to blacklist 2023-03-31 01:40:38 +08:00
Zexi Li
6c9bc5126d Merge pull request #16305 from swordqiu/automated-cherry-pick-of-#16303-upstream-release-3.9
Automated cherry pick of #16303: fix: simplify i18n table
2023-03-29 19:20:57 +08:00
Qiu Jian
06b6e38057 fix: simplify i18n table 2023-03-29 00:50:42 +08:00
Zexi Li
0728a8e547 Merge pull request #16284 from gouqi11/addHcsoRequestRetry
fix(region): Add hcso request retry just 3.9
2023-03-27 19:47:22 +08:00
mhf
39233bf023 fix(region): addHcso request retry 2023-03-27 15:13:44 +08:00
Zexi Li
a7016ee8e0 Merge pull request #16290 from zexi/monitor-rds-consts
fix(monitor): update rds tags
2023-03-27 12:21:14 +08:00
Zexi Li
a7f42cd93a fix(monitor): update rds tags 2023-03-27 12:18:59 +08:00
Zexi Li
2044224ea2 Merge pull request #16281 from gouqi11/addModelartsLogTest
log(region): just add log for modelarts
2023-03-23 15:44:28 +08:00
mhf
eb39d00098 log(region): just add log for modelarts 2023-03-23 15:39:52 +08:00
Zexi Li
c796748d78 Merge pull request #16268 from gouqi11/fixJdcloudAccountConnectFor3.9
fix(region): check JdAccountConnect
2023-03-22 20:39:24 +08:00
Zexi Li
536e372ada Merge pull request #16269 from zexi/monitor-server-tags
feat(monitor): add extral server tags
2023-03-22 14:00:49 +08:00
Zexi Li
7d10d96747 feat(monitor): add extral server tags 2023-03-22 12:24:00 +08:00
mhf
9a447010ab fix(region): check JdAccountConnect 2023-03-22 11:56:15 +08:00
gouqi11
96ebc2675f fix(region): addModelartsDeleteLoaclTask (#16263) 2023-03-21 00:22:47 +08:00
Zexi Li
1a8e3bf344 Merge pull request #16251 from swordqiu/hotfix/qj-merge-wire-not-sync-update-netinterface-3.9
fix(region): not sync update netinterface wire_id when merge wires at
2023-03-20 10:13:08 +08:00
Zexi Li
700f7aa8df Merge pull request #16255 from wanyaoqi/fix/get-catalog-data-by-region
fix(region): get catalog data by region id
2023-03-20 10:11:54 +08:00
Qiu Jian
15ed79e5ff fix(region): not sync update netinterface wire_id when merge wires at
release/3.9
2023-03-17 22:33:20 +08:00
wanyaoqi
c635bd5020 fix(region): get catalog data by region id
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-17 19:10:15 +08:00
Jian Qiu
e8145d2514 fix: avoid dup sync table revisit (#16248)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-16 22:28:10 +08:00
wanyaoqi
b717da12c5 fix(host): kvm detect and iommu probe (#16243)
- use lsmod check kvm modules on /dev/kvm exist
- don't check grub params "intel_iommu=on" on kvm_intel not loaded

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-16 22:20:03 +08:00
Zexi Li
efa5257ebc Merge pull request #16241 from swordqiu/hotfix/qj-cloud-account-options-3.9
fix: cloud account options visiable @release/3.9
2023-03-16 16:05:24 +08:00
Zexi Li
87e3b85041 Merge pull request #16238 from zexi/project-monitor-query
fix(monitor): set wrong resType when query
2023-03-16 16:03:37 +08:00
Qiu Jian
62f33a08a6 fix: cloud account options visiable @release/3.9 2023-03-15 22:57:38 +08:00
Zexi Li
156666cdc4 fix(monitor): set wrong resType when query 2023-03-15 20:25:29 +08:00
Zexi Li
22c76e010a Merge pull request #16225 from swordqiu/hotfix/qj-climc-fail-create-vm-with-guest-image
fix: fail to create vm with guest_image
2023-03-15 10:12:33 +08:00
Zexi Li
16b807a190 Merge pull request #16233 from wanyaoqi/automated-cherry-pick-of-#16231-upstream-release-3.9
Automated cherry pick of #16231: fix(host): download sparse file truncate first
2023-03-15 10:12:10 +08:00
屈轩
0d3e1d6069 fix(region): vender update (#16230) 2023-03-14 21:55:37 +08:00
wanyaoqi
4bafc0180e fix(host): download sparse file truncate first
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:57:54 +08:00
Qiu Jian
18d9a87d77 fix: fail to create vm with guest_image 2023-03-14 20:10:28 +08:00
Zexi Li
a4b76ca1f0 Merge pull request #16211 from ioito/automated-cherry-pick-of-#16209-upstream-release-3.9
Automated cherry pick of #16209: fix(region): aws dns zone name
2023-03-13 14:55:10 +08:00
Zexi Li
a30f0026a8 Merge pull request #16214 from swordqiu/automated-cherry-pick-of-#16212-upstream-release-3.9
Automated cherry pick of #16212: fix: minor fixes 20230313
2023-03-13 14:54:48 +08:00
Qiu Jian
6ce3a4280e fix: minor fixes 20230313 2023-03-13 12:49:01 +08:00
ioito
26be76740e fix(region): aws dns zone name 2023-03-13 11:28:38 +08:00
Jian Qiu
c1d2dfbc92 fix: add vm integrity check notify (#16207)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:59:58 +08:00
Jian Qiu
1062fc8118 fix: prevent duplicate table sync (#16204)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:07:57 +08:00
Zexi Li
fe01ea7773 Merge pull request #16192 from swordqiu/automated-cherry-pick-of-#16190-upstream-release-3.9
Automated cherry pick of #16190: fix: storecli missing lv device name
2023-03-12 23:21:03 +08:00
Zexi Li
8c11f2361a Merge pull request #16195 from swordqiu/automated-cherry-pick-of-#16193-upstream-release-3.9
Automated cherry pick of #16193: fix: refine dashboard policy
2023-03-12 23:19:49 +08:00
Zexi Li
f8a8b776a3 Merge pull request #16196 from swordqiu/hotfix/qj-guest-image-manual-create
feature: compose guest image with existing images
2023-03-12 23:19:06 +08:00
Qiu Jian
8213d91dde fix: refine dashboard policy 2023-03-12 15:56:26 +08:00
Qiu Jian
d1ce4398d0 feature: compose guest image with existing images 2023-03-12 15:19:46 +08:00
Qiu Jian
cd5a8dafd9 fix: storecli missing lv device name 2023-03-11 08:45:29 +08:00
Jian Qiu
2c7ba6fbff fix: logclient request add service name context (#16131)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-03-09 11:08:11 +08:00
Zexi Li
656b273d0d Merge pull request #16160 from ioito/automated-cherry-pick-of-#16158-upstream-release-3.9
Automated cherry pick of #16158: fix(region): apsara projects sync
2023-03-09 00:09:20 +08:00
Zexi Li
b5c86419ad Merge pull request #16178 from zexi/automated-cherry-pick-of-#16177-upstream-release-3.9
Automated cherry pick of #16177: fix(scheduler): storage failed reason isn't showed in forecast result
2023-03-08 13:06:19 +08:00
Zexi Li
a16d0d4c76 fix(scheduler): storage failed reason isn't showed in forecast result 2023-03-08 13:03:18 +08:00
Zexi Li
e83a5aedc3 Merge pull request #16161 from zexi/bm-update-status
fix(baremetal): not update hypervisor host's status
2023-03-08 11:14:46 +08:00
Jian Qiu
ecb59d9dac fix: zero clean disk add logs (#16173)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-08 09:41:07 +08:00
wanyaoqi
435ff9315b fix(host): tls live migrate disable mulitfd (#16157)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-08 04:36:43 +08:00
Zexi Li
715a5f6bc1 fix(baremetal): not update hypervisor host's status 2023-03-07 16:28:21 +08:00
ioito
3ad5abdb0a fix(region): apsara projects sync 2023-03-07 15:00:12 +08:00
Zexi Li
3efcc3d5c8 Merge pull request #16152 from zexi/monitor-balancer-err
fix(monitor): balancer pair ignored error
2023-03-07 14:05:02 +08:00
Zexi Li
a0a884c024 fix(monitor): balancer pair ignored error 2023-03-07 13:45:44 +08:00
Zexi Li
b18b75f900 Merge pull request #16141 from ioito/hotfix/qx-vpc-name-sync
fix(region): vpc name sync
2023-03-07 10:23:01 +08:00
ioito
e8724c65df fix(region): vpc name sync 2023-03-06 17:47:40 +08:00
Zexi Li
29540cd555 Merge pull request #16136 from zexi/fetch-keypair
fix(mcclient): add FetchKeypairBySession method
2023-03-06 16:26:22 +08:00
Zexi Li
9eaac464ef fix(mcclient): add FetchKeypairBySession method 2023-03-06 16:23:16 +08:00
Zexi Li
01c2b9c483 Merge pull request #16121 from ioito/automated-cherry-pick-of-#16118-upstream-release-3.9
Automated cherry pick of #16118: fix(cloudmon): support collect history metric
2023-03-03 17:16:12 +08:00
ioito
20c0e05d98 fix(cloudmon): support collect history metric 2023-03-03 14:57:04 +08:00
Zexi Li
f8302fb6c9 Merge pull request #16098 from ioito/automated-cherry-pick-of-#16096-upstream-release-3.9
Automated cherry pick of #16096: fix(region): openstack compute api version
2023-03-03 10:49:17 +08:00
Zexi Li
32ee8cd40a Merge pull request #16095 from wanyaoqi/automated-cherry-pick-of-#16093-upstream-release-3.9
Automated cherry pick of #16093: fix(host): check shared file storage mount point
2023-03-03 10:44:55 +08:00
ioito
5f3cf03f8f fix(region): openstack compute api version 2023-03-02 11:32:52 +08:00
Jian Qiu
17ebdea35d fix: three member policy system violation check (#16106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-02 08:58:10 +08:00
wanyaoqi
273158d496 fix(host): check shared file storage mount point
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 17:40:52 +08:00
Zexi Li
3cbbdec08a Merge pull request #16091 from zexi/automated-cherry-pick-of-#16088-upstream-release-3.9
Automated cherry pick of #16088: fix(monitor): rewrite slimit and soffset logic
2023-03-01 17:36:14 +08:00
Zexi Li
70ddb732e3 fix(monitor): rewrite slimit and soffset logic 2023-03-01 17:24:46 +08:00
Zexi Li
89f5970ed9 Merge pull request #16083 from gouqi11/automated-cherry-pick-of-#16081-upstream-release-3.9
Automated cherry pick of #16081: fix(notify): addMissingActionTranslate
2023-03-01 16:32:33 +08:00
Zexi Li
fe33374cf0 Merge pull request #16085 from zexi/monitor-check-series
fix(monitor): skip check series options
2023-03-01 16:02:38 +08:00
Zexi Li
808e046b9f fix(monitor): skip check series options 2023-03-01 15:49:42 +08:00
mhf
aabe752d38 fix(notify): addMissingActionTranslate 2023-03-01 15:01:14 +08:00
Zexi Li
e36cc16e51 Merge pull request #16079 from swordqiu/automated-cherry-pick-of-#16077-upstream-release-3.9
Automated cherry pick of #16077: fix: better prompt info for user failed auth due to invalid idp status
2023-03-01 10:11:55 +08:00
Qiu Jian
0c7ae30159 fix: better prompt info for user failed auth due to invalid idp status 2023-03-01 01:45:57 +08:00
Zexi Li
f04d5dac9d fix(monitor): query resources according by listing region resources (#16072) 2023-03-01 00:03:21 +08:00
Zexi Li
156e8d0290 Merge pull request #16068 from ioito/automated-cherry-pick-of-#16066-upstream-release-3.9
Automated cherry pick of #16066: fix(region): vmware template image size
2023-02-28 23:45:15 +08:00
Zexi Li
8b223d5479 Merge pull request #16065 from wanyaoqi/automated-cherry-pick-of-#16063-upstream-release-3.9
Automated cherry pick of #16063: feat(region): vga gpus
2023-02-28 23:44:38 +08:00
Zexi Li
93f01e12e1 Merge pull request #16071 from wanyaoqi/automated-cherry-pick-of-#16069-upstream-release-3.9
Automated cherry pick of #16069: fix(region): guest change storage
2023-02-28 23:43:33 +08:00
wanyaoqi
57c076bfc2 fix(region): guest change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 21:57:04 +08:00
wanyaoqi
f20b94eb44 feat(region): vga gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 19:51:16 +08:00
ioito
5a7a779b80 fix(region): vmware template image size 2023-02-28 19:50:34 +08:00
Zexi Li
e82678ea68 Merge pull request #16061 from gouqi11/automated-cherry-pick-of-#16059-upstream-release-3.9
Automated cherry pick of #16059: fix(notify):fix topic of ChecksumTestFailed Result
2023-02-28 15:19:00 +08:00
mhf
87bbea8a97 fix(notify):fix topic of ChecksumTestFailed Result 2023-02-28 15:14:36 +08:00
屈轩
45bc7dd3bb fix(region): azure rebuild root error (#16051) 2023-02-27 22:28:58 +08:00
Zexi Li
e8037f7bc3 fix(climc): add list monitorresource cmd (#16046) 2023-02-27 22:00:10 +08:00
Jian Qiu
9e4349d13b fix: monitor delete resource panic (#16054)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-27 21:57:42 +08:00
wanyaoqi
c39d7f0816 fix(host): resume suspend guest (#16057)
- check guest status inmigrate
- fix guest launch python script

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-27 21:56:37 +08:00
Zexi Li
db70d4ac5d Merge pull request #16041 from swordqiu/automated-cherry-pick-of-#16039-upstream-release-3.9
Automated cherry pick of #16039: fix: apihelper sync ignore instancegroups without guets
2023-02-27 13:45:53 +08:00
Zexi Li
f35cc79ce5 Merge pull request #16044 from swordqiu/automated-cherry-pick-of-#16042-upstream-release-3.9
Automated cherry pick of #16042: fix: set eipid after successful eip association
2023-02-27 13:44:51 +08:00
Qiu Jian
69d92ae73b fix: set eipid after successful eip association 2023-02-27 01:22:14 +08:00
Qiu Jian
ee351f308c fix: apihelper sync ignore instancegroups without guets 2023-02-26 01:10:36 +08:00
Zexi Li
27b0672791 Merge pull request #16034 from ioito/automated-cherry-pick-of-#16032-upstream-release-3.9
Automated cherry pick of #16032: fix(region): vm bill type sync
2023-02-24 16:45:27 +08:00
ioito
efbf7811f9 fix(region): vm bill type sync 2023-02-24 11:53:40 +08:00
Zexi Li
fd870c6ef4 Merge pull request #16027 from ioito/automated-cherry-pick-of-#16025-upstream-release-3.9
Automated cherry pick of #16025: fix(region): aliyun lb tag sync
2023-02-23 00:37:26 +08:00
ioito
bcecb25a83 fix(region): aliyun lb tag sync 2023-02-22 16:49:26 +08:00
Zexi Li
91a9e3e0ae fix(baremetal): update baremetal base image to support ice module (#16016) 2023-02-21 19:03:25 +08:00
Zexi Li
a43779042e Merge pull request #16013 from swordqiu/automated-cherry-pick-of-#16012-upstream-release-3.9
Automated cherry pick of #16012: fix: gen policy extra override policy
2023-02-21 11:25:13 +08:00
Qiu Jian
fdf9784835 fix: gen policy extra override policy 2023-02-20 23:14:05 +08:00
Zexi Li
c4694ac12c Merge pull request #16011 from wanyaoqi/automated-cherry-pick-of-#16009-upstream-release-3.9
Automated cherry pick of #16009: fix(esxi-agent): disk temp files recycle
2023-02-20 19:35:14 +08:00
Zexi Li
bf5ef59928 Merge pull request #16008 from ioito/automated-cherry-pick-of-#16006-upstream-release-3.9
Automated cherry pick of #16006: fix(cloudmon): apsara monitor
2023-02-20 19:34:18 +08:00
Zexi Li
812409f1ff Merge pull request #16003 from wanyaoqi/fix/esxi-to-kvm-230120
fix(region): esxi to kvm nic driver fix
2023-02-20 19:31:12 +08:00
wanyaoqi
98e1df6189 fix(esxi-agent): disk temp files recycle
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:50:11 +08:00
ioito
d3b08e79c7 fix(cloudmon): apsara monitor 2023-02-20 18:17:51 +08:00
wanyaoqi
7d564d63cd fix(region): esxi to kvm nic driver fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 16:21:50 +08:00
Jian Qiu
33efff389e fix: sms login not verify captchar (#15997)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 18:27:18 +08:00
Jian Qiu
d7c112c82e fix: 1. allow remove current user from current project. 2. reset recovery-questions when resetting MFA (#15987)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 13:05:31 +08:00
屈轩
4301541481 fix(region): vender update for gcp storage (#15982) 2023-02-18 08:51:22 +08:00
Zexi Li
c06368b148 Merge pull request #15978 from wanyaoqi/automated-cherry-pick-of-#15976-upstream-release-3.9
Automated cherry pick of #15976: fix(region): esxi to kvm clean sched desc disk.storage
2023-02-17 11:56:35 +08:00
wanyaoqi
dc09320de2 fix(region): esxi to kvm clean sched desc disk.storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-17 10:11:20 +08:00
Zexi Li
227e52a855 Merge pull request #15972 from ioito/automated-cherry-pick-of-#15970-upstream-release-3.9
Automated cherry pick of #15970: fix(region): gcp image sync
2023-02-17 01:13:56 +08:00
Zexi Li
60d79c910b feat(monitor): add DisableQuerySignatureCheck option (#15974) 2023-02-16 23:57:32 +08:00
Zexi Li
dc25d9b4c1 Merge pull request #15953 from zexi/automated-cherry-pick-of-#15952-upstream-release-3.9
Automated cherry pick of #15952: fix(baremetal): only do status probe job when host_type is hypervisor
2023-02-16 23:02:50 +08:00
Zexi Li
8c3fb564ea Merge pull request #15955 from zexi/monitor-databases-measurements
fix(climc): add measurements and databases api of unifiedmonitor
2023-02-16 22:46:10 +08:00
Zexi Li
7323b2c8f3 Merge pull request #15965 from swordqiu/hotfix/qj-update-vendor-release-3.9-20230216
fix: update vendor
2023-02-16 18:07:46 +08:00
ioito
ecaab10cbe fix(region): gcp image sync 2023-02-16 17:41:52 +08:00
Zexi Li
325c54b61c Merge pull request #15966 from zexi/auth-src
feat(mcclient): allow set default authenticate source
2023-02-16 14:44:29 +08:00
Zexi Li
1d3338a6db feat(mcclient): allow set default authenticate source 2023-02-16 14:28:59 +08:00
Zexi Li
9566ed5e4a Merge pull request #15960 from wanyaoqi/automated-cherry-pick-of-#15958-upstream-release-3.9
Automated cherry pick of #15958: fix(region): kvm convert to esxi
2023-02-16 13:58:47 +08:00
Zexi Li
f454360f3d Merge pull request #15964 from wanyaoqi/automated-cherry-pick-of-#15962-upstream-release-3.9
Automated cherry pick of #15962: fix(region): guest change disk storage
2023-02-16 13:57:42 +08:00
wanyaoqi
7b8e08edb6 fix(region): guest change disk storage
new disk use src disk driver and cache mode.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 13:49:26 +08:00
Qiu Jian
36547249b4 fix: update vendor 2023-02-16 13:42:48 +08:00
wanyaoqi
cb1595ab43 fix(region): kvm convert to esxi
complete kvm guest meta info

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 11:18:17 +08:00
Zexi Li
8efca7b3ce fix(climc): add measurements and databases api of unifiedmonitor 2023-02-15 17:06:55 +08:00
Zexi Li
873a577bb1 fix(baremetal): only do status probe job when host_type is hypervisor 2023-02-15 12:46:45 +08:00
Zexi Li
973fb2b1ba Merge pull request #15935 from swordqiu/automated-cherry-pick-of-#15933-upstream-release-3.9
Automated cherry pick of #15933: fix: usage filter by policy tags revisit2
2023-02-15 10:11:25 +08:00
Zexi Li
748801a791 Merge pull request #15950 from wanyaoqi/automated-cherry-pick-of-#15948-upstream-release-3.9
Automated cherry pick of #15948: fix(host-deployer): revert linux efi check
2023-02-15 10:07:54 +08:00
wanyaoqi
0aca8fffd2 fix(host-deployer): revert linux efi check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-14 23:25:40 +08:00
Zexi Li
a23ba831ad Merge pull request #15944 from ioito/automated-cherry-pick-of-#15942-upstream-release-3.9
Automated cherry pick of #15942: fix(region): aws s3 upload failed
2023-02-14 18:04:00 +08:00
ioito
535ffe0931 fix(region): aws s3 upload failed 2023-02-14 17:21:06 +08:00
Zexi Li
9e60d3383a Merge pull request #15941 from ioito/automated-cherry-pick-of-#15939-upstream-release-3.9
Automated cherry pick of #15939: fix(cloudmon): huawei read only check
2023-02-14 12:22:38 +08:00
Zexi Li
64227d6e50 Merge pull request #15936 from zexi/duplicate-task-worker-count
fix(baremetal): duplicate argument task-worker-count
2023-02-14 12:20:08 +08:00
ioito
a9e7781344 fix(cloudmon): huawei read only check 2023-02-14 12:06:51 +08:00
Zexi Li
a1fd09c6d1 fix(baremetal): duplicate argument task-worker-count 2023-02-14 11:55:09 +08:00
Qiu Jian
3215744e05 fix: usage filter by policy tags revisit2 2023-02-14 09:35:45 +08:00
Zexi Li
2242373ab7 fix(region): start LoadBalancerBackendSyncTask when needed (#15932) 2023-02-14 01:39:54 +08:00
Zexi Li
b3ae9c5433 Merge pull request #15927 from wanyaoqi/automated-cherry-pick-of-#15925-upstream-release-3.9
Automated cherry pick of #15925: fix(host,baremetal): deploy content action not marshaled
2023-02-13 15:37:07 +08:00
wanyaoqi
c61db2587c fix(host,baremetal): deploy content action not marshaled
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-13 12:14:54 +08:00
Zexi Li
03f8defbf1 Merge pull request #15911 from zexi/automated-cherry-pick-of-#15909-upstream-release-3.9
Automated cherry pick of #15909: fix(region): update kube cluster to kubeserver
2023-02-08 14:01:58 +08:00
Zexi Li
2d5ba30a83 fix(region): update kube cluster to kubeserver 2023-02-08 13:50:10 +08:00
Zexi Li
ea9fcb6578 Merge pull request #15904 from ioito/automated-cherry-pick-of-#15902-upstream-release-3.9
Automated cherry pick of #15902: fix(region): cdn domain config
2023-02-06 23:40:21 +08:00
ioito
937fcf545a fix(region): cdn domain config 2023-02-06 14:12:01 +08:00
屈轩
09fb7f1837 fix(region): fake server generate (#15898) 2023-02-03 23:26:37 +08:00
Zexi Li
5ead117c23 Merge pull request #15893 from ioito/automated-cherry-pick-of-#15891-upstream-release-3.9
Automated cherry pick of #15891: fix(region): usage with policy tags
2023-02-02 17:14:23 +08:00
Zexi Li
9498d957dd Merge pull request #15887 from ioito/automated-cherry-pick-of-#15885-upstream-release-3.9
Automated cherry pick of #15885: fix(region): dns recordset details
2023-02-02 17:13:33 +08:00
Zexi Li
716d872edb Merge pull request #15883 from ioito/automated-cherry-pick-of-#15881-upstream-release-3.9
Automated cherry pick of #15881: fix(cloudmon): project tags for metric
2023-02-02 17:12:28 +08:00
ioito
2f4bc37c5b fix(region): usage with policy tags 2023-02-02 16:37:11 +08:00
ioito
85356f583d fix(region): dns recordset details 2023-02-02 10:56:53 +08:00
ioito
20e18137f3 fix(cloudmon): project tags for metric 2023-02-01 19:48:58 +08:00
Zexi Li
a5da5173e4 optimized(scheduler): reduce sql query of mysql (#15871) 2023-01-31 19:30:29 +08:00
Zexi Li
b2b1f767f0 Merge pull request #15864 from ioito/automated-cherry-pick-of-#15862-upstream-release-3.9
Automated cherry pick of #15862: fix(region): 避免创建相同配置时使用当前实例的hostname
2023-01-30 22:12:54 +08:00
Zexi Li
7fea411342 Merge pull request #15876 from swordqiu/automated-cherry-pick-of-#15874-upstream-release-3.9
Automated cherry pick of #15874: fix: usage filter by policy tags
2023-01-30 22:12:21 +08:00
Qiu Jian
479523b6ab fix: usage filter by policy tags 2023-01-30 22:04:24 +08:00
Jian Qiu
cce48c23ab fix: climc logs-splitable support monitor notify (#15870)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 17:44:43 +08:00
Jian Qiu
7ee55e1a67 fix: vmemsize error prompt (#15867)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 16:24:07 +08:00
rex zhasm
603c6bf051 feat(build,test): 新增 dry_run 模式以便夜间测试 (#15860)
Co-authored-by: Zhang Dongliang <zhangdongliang@yunion.cn>
2023-01-30 16:23:22 +08:00
ioito
37e359998f fix(region): 避免创建相同配置时使用当前实例的hostname 2023-01-30 15:23:02 +08:00
Zexi Li
44acfbc1ac Merge pull request #15850 from ioito/automated-cherry-pick-of-#15848-upstream-release-3.9
Automated cherry pick of #15848: fix(region): vm created with public ip
2023-01-29 18:32:18 +08:00
ioito
a86c01a999 fix(region): vm created with public ip 2023-01-29 16:05:10 +08:00
Zexi Li
3a44ee700d Merge pull request #15847 from ioito/hotfix/qx-azure-project-id
fix(region): azure resource project id
2023-01-29 14:47:12 +08:00
ioito
298ab60748 fix(region): azure resource project id 2023-01-29 14:41:36 +08:00
Jian Qiu
1e4bd25b1f fix: webconsole ssh user/pass prompt backspace hanlding (#15836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:35:10 +08:00
Zexi Li
3d61cab11a feat(climc): add action of k8s-cluster-deploy (#15819) 2023-01-18 23:39:50 +08:00
Jian Qiu
f5b18585c0 fix: clean pending usage when dry run validate_create_data (#15824)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-18 23:37:05 +08:00
Zexi Li
db7bb397b0 Merge pull request #15802 from ioito/automated-cherry-pick-of-#15800-upstream-release-3.9
Automated cherry pick of #15800: fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败
2023-01-17 17:51:27 +08:00
Zexi Li
8cb1192e63 Merge pull request #15813 from gouqi11/automated-cherry-pick-of-#15811-upstream-release-3.9
Automated cherry pick of #15811: fix(keystone): serviceAbnormal token fix
2023-01-17 15:07:34 +08:00
Zexi Li
dbf9ce8209 Merge pull request #15818 from gouqi11/automated-cherry-pick-of-#15816-upstream-release-3.9
Automated cherry pick of #15816: fix(notify): fix topic enable bug
2023-01-17 15:06:56 +08:00
mhf
88810de249 fix(notify): fix topic enable bug 2023-01-17 14:41:19 +08:00
Zexi Li
1e5b37baa8 Merge pull request #15815 from ioito/automated-cherry-pick-of-#15811-upstream-release-3.9
Automated cherry pick of #15811: fix(keystone): serviceAbnormal token fix
2023-01-17 10:46:49 +08:00
mhf
d2e76ee8ee fix(keystone): serviceAbnormal token fix 2023-01-17 10:31:31 +08:00
Zexi Li
3a1a603846 Merge pull request #15807 from ioito/automated-cherry-pick-of-#15805-upstream-release-3.9
Automated cherry pick of #15805: fix(region): vmware migrate vnc
2023-01-16 16:55:18 +08:00
Zexi Li
9d606691ba Merge pull request #15810 from wanyaoqi/fix/rescue-migrate-3.9
fix(region): rescue mode data is nil
2023-01-16 16:53:47 +08:00
mhf
be46ef4cf8 fix(keystone): serviceAbnormal token fix 2023-01-16 16:46:18 +08:00
Zexi Li
45b6e483e1 Merge pull request #15809 from gouqi11/automated-cherry-pick-of-#15799-upstream-release-3.9
Automated cherry pick of #15799: fix(notify): 对服务异常添加消息通知
2023-01-16 16:02:28 +08:00
wanyaoqi
83e56d3505 fix(region): rescue mode data is nil 2023-01-16 16:02:15 +08:00
mhf
da2132f821 fix(notify): 对服务异常添加消息通知 2023-01-16 15:49:35 +08:00
ioito
d9a04a3833 fix(region): vmware migrate vnc 2023-01-16 15:12:14 +08:00
ioito
b4c9e02750 fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败 2023-01-16 14:29:19 +08:00
wanyaoqi
3938172a27 fix(region): update guest status on backup guest start complete (#15794)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-15 13:50:18 +08:00
屈轩
6550c2e244 fix(notify): send msg with custom brand (#15793) 2023-01-15 13:49:06 +08:00
屈轩
1d08a1365a fix(region): optimized capability (#15789) 2023-01-15 13:47:35 +08:00
Zexi Li
34521ebd91 Merge pull request #15790 from gouqi11/automated-cherry-pick-of-#15780-upstream-release-3.9
Automated cherry pick of #15780: fix(notify): Add topic result
2023-01-14 18:20:25 +08:00
mhf
f3c24838e9 fix(notify): fix server/create bug 2023-01-14 18:02:12 +08:00
Zexi Li
697cf0cd14 Merge pull request #15786 from ioito/automated-cherry-pick-of-#15783-upstream-release-3.9
Automated cherry pick of #15783: fix(region): vender update for vmware timeout
2023-01-14 16:57:36 +08:00
ioito
3c42d26a8a fix(region): vender update for vmware timeout 2023-01-14 16:30:49 +08:00
Zexi Li
a110bfd5e7 Merge pull request #15779 from ioito/automated-cherry-pick-of-#15771-upstream-release-3.9
Automated cherry pick of #15771: fix(common): service exception
2023-01-14 11:56:39 +08:00
ioito
e1687134a1 fix(common): service exception 2023-01-14 11:51:51 +08:00
Zexi Li
6c94f048e7 Merge pull request #15759 from wanyaoqi/fix/backup
fix(region): auto switch to backup on host down
2023-01-12 18:05:08 +08:00
wanyaoqi
d106a3d4a2 fix(region): auto switch to backup on host down 2023-01-11 21:39:23 +08:00
Zexi Li
52734aef01 Merge pull request #15752 from ioito/automated-cherry-pick-of-#15750-upstream-release-3.9
Automated cherry pick of #15750: fix(region): vender update
2023-01-11 10:36:48 +08:00
ioito
7eabac42ef fix(region): vender update 2023-01-10 19:05:02 +08:00
Zexi Li
f3d9be3ff7 Merge pull request #15739 from ioito/automated-cherry-pick-of-#15737-upstream-release-3.9
Automated cherry pick of #15737: fix(region): hostname validate
2023-01-09 14:31:55 +08:00
Zexi Li
92c0133254 Merge pull request #15745 from wanyaoqi/automated-cherry-pick-of-#15742-upstream-release-3.9
Automated cherry pick of #15742: fix(host-deployer): windows 2008 Out-File IOException
2023-01-09 14:31:04 +08:00
Zexi Li
4494f84a23 Merge pull request #15744 from ioito/automated-cherry-pick-of-#15725-upstream-release-3.9
Automated cherry pick of #15725: fix(region): vmware migrate
2023-01-09 14:30:09 +08:00
ioito
a8b8d88bf8 fix(region): vmware migrate 2023-01-09 14:06:53 +08:00
wanyaoqi
92767719de fix(host-deployer): windows 2008 Out-File IOException
debug log cause windows 2008 IOException, multi process open log file.
2023-01-09 14:06:37 +08:00
ioito
17dbf63985 fix(region): hostname validate 2023-01-09 11:20:01 +08:00
屈轩
3c885d343e fix(region): optimzed zone-list speed (#15731) 2023-01-07 20:56:24 +08:00
Zexi Li
48e5899371 Merge pull request #15723 from ioito/automated-cherry-pick-of-#15721-upstream-release-3.9
Automated cherry pick of #15721: fix(region): vender update
2023-01-06 15:32:23 +08:00
Zexi Li
04a265ddf9 Merge pull request #15720 from ioito/automated-cherry-pick-of-#15709-upstream-release-3.9
Automated cherry pick of #15709: fix(region): account sync status
2023-01-06 15:31:42 +08:00
ioito
7d697aade7 fix(region): vender update 2023-01-06 11:24:44 +08:00
ioito
f0625102f4 fix(region): account sync status 2023-01-06 10:32:05 +08:00
wanyaoqi
783297ebd0 fix(worker): policy and task worker count configurable (#15715) 2023-01-05 22:49:13 +08:00
Zexi Li
a6266ca09c Merge pull request #15712 from swordqiu/automated-cherry-pick-of-#15710-upstream-release-3.9
Automated cherry pick of #15710: fix: init shceduler schedinfo project and domain
2023-01-05 17:04:39 +08:00
Qiu Jian
eef8581847 fix: init shceduler schedinfo project and domain 2023-01-05 16:14:27 +08:00
Zexi Li
49600fd880 fix(notify): update MYSQL_OUT_OF_SYNC template (#15705) 2023-01-05 15:35:58 +08:00
Zexi Li
faa875fc58 Merge pull request #15704 from ioito/automated-cherry-pick-of-#15701-upstream-release-3.9
Automated cherry pick of #15701: fix(region): vender update
2023-01-04 20:02:00 +08:00
ioito
a645abea98 fix(region): vender update 2023-01-04 19:52:37 +08:00
Zexi Li
7aeba1856e Merge pull request #15696 from zexi/automated-cherry-pick-of-#15694-upstream-release-3.9
Automated cherry pick of #15694: fix(scheduler): do migrate checking when hypervisor is not esxi
2023-01-03 18:35:52 +08:00
Zexi Li
a61f93c8d8 fix(scheduler): do migrate checking when hypervisor is not esxi 2023-01-03 18:26:06 +08:00
gouqi11
6557b6a6d6 fix(notify): add some template and notification (#15670) 2023-01-02 12:00:55 +08:00
wanyaoqi
e370f5df82 fix(host): use drive backup sync backup disks (#15618)
* fix(host): use drive backup sync backup disks

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:59:42 +08:00
Zexi Li
56d359408a Merge pull request #15678 from ioito/automated-cherry-pick-of-#15676-upstream-release-3.9
Automated cherry pick of #15676: fix(region): system disk storage type
2022-12-30 16:18:44 +08:00
ioito
8a65831764 fix(region): system disk storage type 2022-12-30 16:08:51 +08:00
Zexi Li
cf4cd03156 Merge pull request #15673 from zexi/sched-storage-cap
fix(scheduler): reduce calculation of storage's free_capacity
2022-12-30 14:52:40 +08:00
Zexi Li
dc2b2da5cd fix(scheduler): reduce calculation of storage's free_capacity 2022-12-30 12:38:56 +08:00
屈轩
a85c17a64b fix(region): hostname sync (#15659) 2022-12-29 23:19:14 +08:00
Zexi Li
fdc4467042 Merge pull request #15653 from zexi/automated-cherry-pick-of-#15651-upstream-release-3.9
Automated cherry pick of #15651: fix(webconsole): not get pod info when fetchK8sEnv
2022-12-29 16:07:08 +08:00
Zexi Li
540e5d3d16 fix(webconsole): not get pod info when fetchK8sEnv 2022-12-29 15:49:42 +08:00
Zexi Li
b9d673919e Merge pull request #15638 from swordqiu/automated-cherry-pick-of-#15635-upstream-release-3.9
Automated cherry pick of #15635: fix: limit roles that a user join a project
2022-12-29 10:45:29 +08:00
Zexi Li
cc8ca6caba Merge pull request #15642 from swordqiu/hotfix/qj-esxi-vm-missing-datastore-property-3.9
fix: esxi virtualmachine missing datastore property at release/3.9
2022-12-29 10:44:15 +08:00
QIU Jian
1a71367c3c fix: esxi virtualmachine missing datastore property at release/3.9 2022-12-28 20:47:53 +08:00
Qiu Jian
b44a4027a9 fix: limit roles that a user join a project 2022-12-28 15:21:58 +08:00
Zexi Li
ba66482130 Merge pull request #15630 from ioito/hotfix/qx-openstack-version
fix(region): openstack api version
2022-12-27 20:59:42 +08:00
ioito
95a0bcd0fc fix(region): openstack api version 2022-12-27 17:16:27 +08:00
Jian Qiu
ca7984dd2e fix: guests short desc add status (#15614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 19:23:23 +08:00
Zexi Li
b634256c99 Merge pull request #15473 from wanyaoqi/fix/pasm
fix(region,host): backup guest
2022-12-22 10:17:19 +08:00
Zexi Li
ae55d5a662 Merge pull request #15601 from gouqi11/fixModelartsCidrDiffFor3.9
fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO
2022-12-21 17:40:14 +08:00
mhf
f0b2866041 fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO 2022-12-21 11:45:13 +08:00
Zexi Li
ad78e0b030 optimize(scheduler): reduce calculation of network free address (#15594)
- only calculate non-emulated host's network on building
- calculate emulated host's network on scheduling
2022-12-20 20:42:01 +08:00
Zexi Li
c5a3c0802f fix(baremetal): update base image to v0.3.9 (#15597)
ref: https://github.com/yunionio/yunionos/pull/27
2022-12-20 20:39:51 +08:00
Jian Qiu
a6b6ec2847 fix: prefer id over name when fetching owner id (#15592)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-20 20:37:20 +08:00
Zexi Li
73561a4872 Merge pull request #15585 from ioito/automated-cherry-pick-of-#15583-upstream-release-3.9
Automated cherry pick of #15583: fix(cloudmon): ignore empty metric error
2022-12-20 12:59:44 +08:00
Zexi Li
879d623451 Merge pull request #15582 from ioito/automated-cherry-pick-of-#15580-upstream-release-3.9
Automated cherry pick of #15580: fix(region): vender update
2022-12-20 12:58:48 +08:00
ioito
25ae8b8f88 fix(cloudmon): ignore empty metric error 2022-12-19 17:13:37 +08:00
ioito
243160a3a0 fix(region): vender update 2022-12-19 14:52:05 +08:00
屈轩
443c42c606 fix(region): vender update (#15561) 2022-12-17 17:27:24 +08:00
屈轩
208c3c30be fix(region): sync vm hostname with ascii (#15564) 2022-12-16 16:07:25 +08:00
Zexi Li
e1f5185672 Merge pull request #15569 from zexi/bm-lan-get
fix(baremetal): mac address of BMC not found
2022-12-15 16:52:01 +08:00
Zexi Li
ffa94889b6 Merge pull request #15576 from gouqi11/automated-cherry-pick-of-#15574-upstream-release-3.9
Automated cherry pick of #15574: fix(region): fix sync project bug and add climc choices
2022-12-15 16:50:45 +08:00
mhf
039c0ad6e9 fix(region): fix sync project bug and add climc choices 2022-12-15 15:25:42 +08:00
Zexi Li
6b961d72a1 fix(baremetal): mac address of BMC not found 2022-12-15 11:25:28 +08:00
wanyaoqi
a54d49136f fix(region,host): backup guest refactor 2022-12-14 22:58:31 +08:00
Zexi Li
cf6c8761eb Merge pull request #15552 from swordqiu/automated-cherry-pick-of-#15550-upstream-release-3.9
Automated cherry pick of #15550: fix: usb tablet not function for windows 10 guest
2022-12-14 15:33:53 +08:00
Zexi Li
4175e80873 Merge pull request #15556 from ioito/automated-cherry-pick-of-#15545-upstream-release-3.9
Automated cherry pick of #15545: fix(region): vender update
2022-12-14 15:31:35 +08:00
ioito
0296b0fc2e fix(region): vender update 2022-12-14 15:04:43 +08:00
Qiu Jian
3d4fe99db0 fix: usb tablet not function for windows 10 guest 2022-12-14 12:17:02 +08:00
wanyaoqi
7a57a2ba85 fix(region): use qcow2 format on raw disk cache image (#15549) 2022-12-13 18:32:50 +08:00
Zexi Li
fd5dc55130 Merge pull request #15525 from gouqi11/cloudpodsMetric3.9
fix(cloudmon): add 3.9 cloudpods GetMetric
2022-12-12 14:49:52 +08:00
Zexi Li
261f623deb Merge pull request #15544 from gouqi11/automated-cherry-pick-of-#15541-upstream-release-3.9
Automated cherry pick of #15541: fix(climc): add server option cloudpods
2022-12-12 14:48:44 +08:00
mhf
141b49c855 fix(climc): add server option cloudpods 2022-12-12 14:16:06 +08:00
Zexi Li
083cf645b7 Merge pull request #15540 from swordqiu/automated-cherry-pick-of-#15537-upstream-release-3.9
Automated cherry pick of #15537: fix: host init before auth
2022-12-12 09:42:31 +08:00
屈轩
686b080a83 fix(common): optimized metadata list (#15531) 2022-12-11 18:10:40 +08:00
Qiu Jian
39f72c63ad fix: host init before auth 2022-12-11 17:47:47 +08:00
Zexi Li
117dccd0b1 Merge pull request #15519 from wanyaoqi/automated-cherry-pick-of-#15509-upstream-release-3.9
Automated cherry pick of #15509: fix(region,host): fix some bugs of server disk change storage
2022-12-09 11:45:42 +08:00
Zexi Li
476f1efe60 Merge pull request #15528 from ioito/automated-cherry-pick-of-#15526-upstream-release-3.9
Automated cherry pick of #15526: fix(common): limit request
2022-12-09 11:44:19 +08:00
ioito
c99cc9bfe1 fix(common): limit request 2022-12-08 15:56:13 +08:00
mhf
6c3802e1f9 fix(cloudmon): add 3.9 cloudpods GetMetric 2022-12-08 15:44:04 +08:00
wanyaoqi
bfe23a659b Automated cherry pick of #15475: fix(host): convert migrate set downtime value to float64 (#15477)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-08 14:43:49 +08:00
屈轩
3f174a30cc fix(cloudid): support custom saml user name (#15513) 2022-12-08 14:42:20 +08:00
wanyaoqi
f27d3cfb98 fix(host): ceph util timeout (#15517) 2022-12-08 14:41:23 +08:00
wanyaoqi
14a033c289 fix(region,host): fix some bugs of server disk change storage 2022-12-08 13:02:56 +08:00
Zexi Li
59c359b9f5 Merge pull request #15507 from ioito/automated-cherry-pick-of-#15505-upstream-release-3.9
Automated cherry pick of #15505: fix(cloudid): huawei saml user name
2022-12-07 22:35:58 +08:00
ioito
018f66c05e fix(cloudid): huawei saml user name 2022-12-07 11:22:52 +08:00
wanyaoqi
b5e6e6be8b fix(host): update host wire with mac addr (#15502) 2022-12-07 02:21:02 +08:00
Zexi Li
cadf82e010 Merge pull request #15496 from ioito/automated-cherry-pick-of-#15494-upstream-release-3.9
Automated cherry pick of #15494: fix(cloudid): vender update
2022-12-07 00:13:05 +08:00
ioito
ca63bc7a9e fix(cloudid): vender update 2022-12-06 18:43:44 +08:00
Jian Qiu
59f51ecae3 fix: allow baremetal to specify external tftp server and file (#15491)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-05 23:41:02 +08:00
Zexi Li
12c84fad68 Merge pull request #15480 from swordqiu/hotfix/qj-host-disable-gso-for-specific-nics
fix: host disable gso for specific nics
2022-12-05 18:19:15 +08:00
Zexi Li
d25fb4d4db Merge pull request #15487 from swordqiu/automated-cherry-pick-of-#15485-upstream-release-3.9
Automated cherry pick of #15485: feature: allow update hostname
2022-12-05 18:16:54 +08:00
Qiu Jian
af74eb78c7 feature: allow update hostname 2022-12-05 17:22:28 +08:00
Qiu Jian
6955c373cf fix: host disable gso for specific nics 2022-12-04 00:52:06 +08:00
Jian Qiu
ed37341f2c fix: lbagent deploy fix release/3.9 (#15474)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 08:30:57 +08:00
Jian Qiu
f71ef994cb fix: sync aws os_arch release/3.9 (#15464)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 01:22:53 +08:00
Zexi Li
1482f631d9 fix(scheduler): consider storage backend and mediumType size (#15468) 2022-12-01 01:22:11 +08:00
gouqi11
2f4f99692b fix(region): fix modelarts create task setStatus (#15455) 2022-11-28 23:58:20 +08:00
Zexi Li
df8b84fc58 Merge pull request #15447 from swordqiu/automated-cherry-pick-of-#15445-upstream-release-3.9
Automated cherry pick of #15445: fix: vmware convert to kvm need check network configuration
2022-11-28 19:16:22 +08:00
Qiu Jian
7a7d89d3b0 fix: vmware convert to kvm need check network configuration 2022-11-28 02:22:07 +08:00
Zexi Li
b35bf67e88 Merge pull request #15442 from gouqi11/automated-cherry-pick-of-#15440-upstream-release-3.9
Automated cherry pick of #15440: fix(region): add modelarts sku policy
2022-11-25 15:49:58 +08:00
mhf
704496fedd fix(region): add modelarts sku policy 2022-11-25 15:41:32 +08:00
Jian Qiu
5ce9742f09 fix: keep schedtask_label table name (#15433)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-25 15:38:30 +08:00
wanyaoqi
ca58f35451 fix(region,host): check memdev on live migration (#15380)
* fix(region,host): check memdev on live migration

* fix(region,host): live migrate check scsi num queus

* fix(host): change scsi num queues

* fix(host): fix nics pci addr on live migration
2022-11-24 22:17:56 +08:00
gouqi11
21af852658 fix(region): fix modelarts sku purgeall managerId (#15436) 2022-11-24 21:59:42 +08:00
Zexi Li
b91838e57d Merge pull request #15421 from gouqi11/fid/modelartsCreatedFailed
fix(region): fix network status
2022-11-22 15:22:48 +08:00
Zexi Li
5f60e290f2 Merge pull request #15422 from zexi/automated-cherry-pick-of-#15394-upstream-release-3.9
Automated cherry pick of #15394: fix(baremetal): Physical server installation OS optimization
2022-11-22 13:30:52 +08:00
seraphico
e4f8f914be fix(baremetal): When the mac address in nics_standby does not have Index or nic_type, it will cause a panic, which will cause the physical server to fail to switch to bare metal 2022-11-22 13:28:59 +08:00
mhf
2895262df9 fix(region): fix network status 2022-11-22 13:08:19 +08:00
wanyaoqi
523b6a70b0 fix(region,host): live migrate quickly converge (#15418) 2022-11-22 12:25:46 +08:00
Jian Qiu
5b3e16536c fix: filter projects by idp (#15400)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:24:30 +08:00
Jian Qiu
e551080c73 fix: fail to delete guest due to guestdisk inconsistency (#15403)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:24:02 +08:00
屈轩
25d4621b05 fix(region): ceph df size (#15411) 2022-11-22 12:23:07 +08:00
wanyaoqi
2d8fa20a22 Automated cherry pick of #15383: Fix/migrate (#15420)
* fix(region): ask host offline on rescue mode migration

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

* fix(host): desc add is_volatile_host

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-22 12:22:27 +08:00
Zexi Li
449f1ddfc7 fix(host): filter usb hub devices (#15406) 2022-11-21 17:21:52 +08:00
Zexi Li
f49fbdac8e Merge pull request #15408 from wanyaoqi/automated-cherry-pick-of-#15407-upstream-release-3.9
Automated cherry pick of #15407: fix(host): ceph utils command add timeout
2022-11-21 15:26:19 +08:00
wanyaoqi
676488e991 fix(host): ceph utils command add timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-21 15:10:23 +08:00
Zexi Li
6d931b6969 Merge pull request #15397 from ioito/hotfix/qx-self-manage-check
fix(region): cloudpods self manage check
2022-11-18 19:33:39 +08:00
ioito
8e5614fe34 fix(region): cloudpods self manage check 2022-11-18 19:20:38 +08:00
屈轩
4ecb482d65 fix(cloudmon): add process stats metric (#15393) 2022-11-17 20:40:19 +08:00
屈轩
94d492da9d fix(cloudmon): collect system metric (#15386) 2022-11-17 18:39:44 +08:00
Zexi Li
7eed64d26a Merge pull request #15389 from zexi/k8s-cluster-extra-config
feat(climc): k8s cluster extra config
2022-11-17 18:13:01 +08:00
Zexi Li
947d5c6e28 feat(climc): k8s cluster extra config 2022-11-17 17:48:09 +08:00
gouqi11
8ad9a11649 fix(region): modelarts sku external id (#15388) 2022-11-17 16:51:14 +08:00
Zexi Li
5d96284683 Merge pull request #15387 from gouqi11/fix/modelartsManagerIdPanic
fix(region): modelarts sku managerId panic
2022-11-17 15:47:54 +08:00
mhf
501f7d97f6 fix(region): modelarts sku managerId panic 2022-11-17 15:25:54 +08:00
Zexi Li
d00342d7f0 Merge pull request #15381 from gouqi11/fix/modelartsSkuProcessor
fix(region): add modelarts sku list input cpu_arch,processor_type
2022-11-17 14:20:36 +08:00
mhf
c93a306f72 fix(cloudmux): add modelarts sku list input cpu_arch,processor_type 2022-11-16 19:52:21 +08:00
Zexi Li
b2a51d3b21 Merge pull request #15378 from gouqi11/fix/modelartsSkuProcessor
fix(region) :fix modelarts sku bug
2022-11-16 16:42:13 +08:00
屈轩
32148b8ab7 fix(region): account clean host cache (#15376) 2022-11-16 15:50:57 +08:00
mhf
16943ed51a fix(region) :fix modelarts sku bug 2022-11-16 15:39:52 +08:00
Zexi Li
3f5995cd2d Merge pull request #15373 from gouqi11/fix/modelartsNetworkBug
fix(region): fix modelarts network no available bug
2022-11-16 12:03:57 +08:00
mhf
37ac9f2960 fix(region): fix modelarts network no available bug 2022-11-16 11:50:58 +08:00
Jian Qiu
5198de290a fix: vpc secgroup should deny any ingress traffic be default (#15356)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-16 11:17:10 +08:00
Zexi Li
e54e942035 feat(climc): k8s cluster force deploy (#15371) 2022-11-16 10:12:44 +08:00
Zexi Li
5e0473a61f Merge pull request #15366 from swordqiu/automated-cherry-pick-of-#15365-upstream-release-3.9
Automated cherry pick of #15365: fix: automatically set disk is_ssd according to storage medium_type
2022-11-15 23:45:28 +08:00
Zexi Li
6529067de6 Merge pull request #15359 from swordqiu/automated-cherry-pick-of-#15358-upstream-release-3.9
Automated cherry pick of #15358: fix: do not detect vm ips when managing vmware
2022-11-15 10:39:55 +08:00
wanyaoqi
18bc9077be fix(scheduler): ignore fetch disk image failed (#15362) 2022-11-15 00:50:26 +08:00
wanyaoqi
be32ab259b fix(region): dead lock on batch migrate (#15364)
New parallel task will lock Model Manager.
If guests hosts count bigger than one will stuck on Lock
Guest Model Manager.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-15 00:49:08 +08:00
Qiu Jian
b73e53b7c2 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:18:08 +08:00
Zexi Li
f99457b780 Merge pull request #15360 from gouqi11/fix/uploadModelartsNetworkCidr
fix(region): add modelarts created failed
2022-11-14 16:21:29 +08:00
mhf
655a693989 fix(region): add modelarts created failed 2022-11-14 12:00:15 +08:00
wanyaoqi
2beaf112c1 fix(host-deployer): os arch and uefi detect (#15352) 2022-11-13 18:19:26 +08:00
Qiu Jian
27f380d235 fix: do not detect vm ips when managing vmware 2022-11-12 22:44:13 +08:00
Zexi Li
d5ff3f313d Merge pull request #15347 from gouqi11/fix/uploadModelartsNetworkCidr
fix(region): upload modelarts network cidr
2022-11-12 18:41:51 +08:00
Zexi Li
6b3fa1fd45 Merge pull request #15349 from swordqiu/automated-cherry-pick-of-#15348-upstream-release-3.9
Automated cherry pick of #15348: fix: scheduler ignore storage capacity constraint if migrating
2022-11-12 18:41:13 +08:00
Zexi Li
0a849c9217 Merge pull request #15354 from swordqiu/automated-cherry-pick-of-#15353-upstream-release-3.9
Automated cherry pick of #15353: fix: make excel output floating number pretty
2022-11-12 18:40:00 +08:00
Qiu Jian
bdc24b38ff fix: make excel output floating number pretty 2022-11-11 22:18:38 +08:00
Qiu Jian
81b7bcdae9 fix: scheduler ignore storage capacity constraint if migrating 2022-11-11 20:49:40 +08:00
mhf
c006f1439d fix(region): upload modelarts network cidr 2022-11-11 20:04:51 +08:00
屈轩
e192dce599 fix(region): task panic (#15346) 2022-11-11 19:51:51 +08:00
Zexi Li
e6cf0f85a8 Merge pull request #15343 from ioito/hotfix/qx-hcso-region-cache
fix(region): hcso region cache
2022-11-11 11:21:55 +08:00
ioito
ec99a501b9 fix(region): hcso region cache 2022-11-11 10:58:09 +08:00
Zexi Li
91eb6b99bb feat(glance): precise_match option of image list input (#15340) 2022-11-11 08:27:40 +08:00
Zexi Li
17096e4815 fix(scheduler): check capacity of disk_schedtag_predicate (#15335)
* only check free_capacity when not migrating or non schared storage

* only check actual_free_capacity when storage is local
2022-11-10 11:42:30 +08:00
Zexi Li
4fc27e11d1 Merge pull request #15332 from swordqiu/hotfix/qj-image-osinfo-nil
fix: image osinfo nil panic
2022-11-09 23:06:35 +08:00
Qiu Jian
b4395aef3c fix: image osinfo nil panic 2022-11-09 14:45:13 +08:00
屈轩
c6c66a927c fix(region): 避免i18n重复删除再创建 (#15325) 2022-11-09 00:10:14 +08:00
Jian Qiu
3a4166fc38 fix: format version for rpm spec (#15329)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-09 00:09:09 +08:00
wanyaoqi
58c3d0df77 fix(host-deployer): check /etc/network dir is esixt (#15315) 2022-11-08 11:43:06 +08:00
Zexi Li
76b9ed3273 Merge pull request #15322 from ioito/automated-cherry-pick-of-#15321-upstream-release-3.9
Automated cherry pick of #15321: fix(common): avoid return invalid delete status
2022-11-08 10:20:19 +08:00
ioito
a0c63e314c fix(common): avoid return invalid delete status 2022-11-07 17:35:54 +08:00
Zexi Li
46134dc3ea Merge pull request #15319 from gouqi11/release/3.9
fix(regioin): modelarts refresh status
2022-11-07 15:25:32 +08:00
mhf
3f174b362c fix(regioin): modelarts refresh status 2022-11-07 15:22:14 +08:00
Jian Qiu
119c0ee225 fix: add openstack oscli doc (#15312)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:51:08 +08:00
Jian Qiu
1fe0399a80 fix: mcclient code cleanup 20221106 (#15311)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:20:18 +08:00
Jian Qiu
e98e6be8e3 fix: choose available storage by server_id (#15307)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:11 +08:00
wanyaoqi
d33f1f53c6 fix(region,host): disconnect esxi disk on disk delete (#15299) 2022-11-07 02:18:42 +08:00
Zexi Li
bcfa131ddb fix(monitor): only query enabled host for alerting (#15300) 2022-11-07 02:17:30 +08:00
Jian Qiu
ecfedc4705 fix: generate ssh host keys for linux guest (#15304)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:16:37 +08:00
Jian Qiu
7b2f48091d fix: secgroup peer secgroup constraint (#15309)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-11-07 02:16:01 +08:00
Zexi Li
21110e515e Merge pull request #15296 from gouqi11/automated-cherry-pick-of-#15295-upstream-release-3.9
Automated cherry pick of #15295: fix(region):modelartsTimeout
2022-11-04 17:42:59 +08:00
mhf
d4b30efc64 fix(region):modelartsTimeout 2022-11-04 16:35:36 +08:00
Zexi Li
6984df0233 Merge pull request #15293 from gouqi11/automated-cherry-pick-of-#15292-upstream-release-3.9
Automated cherry pick of #15292: fix(region):modelarts task
2022-11-04 15:27:22 +08:00
mhf
aeb83c10ac fix/modelarts task 2022-11-04 14:56:46 +08:00
Zexi Li
0b38ca8898 Merge pull request #15258 from ioito/automated-cherry-pick-of-#15257-upstream-release-3.9
Automated cherry pick of #15257: fix(keystone): optimzed project list
2022-11-04 14:29:28 +08:00
Zexi Li
03d108fa88 Merge pull request #15291 from ioito/hotfix/qx-hcso-saml
fix(cloudid): hcso saml provider update
2022-11-04 14:15:04 +08:00
ioito
7e8b525f7c fix(cloudid): hcso saml provider update 2022-11-04 14:04:12 +08:00
Zexi Li
700fb9dd54 Merge pull request #15267 from swordqiu/automated-cherry-pick-of-#15266-upstream-release-3.9
Automated cherry pick of #15266: fix: allow duplicate vm ids when sync
2022-11-04 12:27:33 +08:00
Zexi Li
55052f1aef Merge pull request #15289 from zexi/automated-cherry-pick-of-#15280-upstream-release-3.9
Automated cherry pick of #15280: fix: allow upload image via apigateway backend proxy
2022-11-04 12:26:52 +08:00
Qiu Jian
bc3f90fd2d fix: allow upload image via apigateway backend proxy 2022-11-04 12:25:59 +08:00
Zexi Li
abab461012 Merge pull request #15285 from ioito/hotfix/qx-cloudpods-manage
fix(region): check cloudpods self manage
2022-11-04 12:17:50 +08:00
Zexi Li
be37e889fa Merge pull request #15287 from wanyaoqi/automated-cherry-pick-of-#15286-upstream-release-3.9
Automated cherry pick of #15286: fix(host-deployer): add deploy telegraf error info
2022-11-04 12:16:12 +08:00
wanyaoqi
d2a9d25034 fix(host-deployer): add deploy telegraf error info 2022-11-03 20:43:13 +08:00
ioito
ac3fab5a44 fix(region): check cloudpods self manage 2022-11-03 18:51:22 +08:00
Zexi Li
eb6d0d99db Merge pull request #15279 from wanyaoqi/automated-cherry-pick-of-#15276-upstream-release-3.9
Automated cherry pick of #15276: fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed
2022-11-03 15:29:28 +08:00
Zexi Li
202d786f4e Merge pull request #15277 from ioito/hotfix/qx-aliyun-dns-record
fix(region): dns record sync
2022-11-03 15:22:08 +08:00
Zexi Li
cab130b9a2 Merge pull request #15273 from wanyaoqi/automated-cherry-pick-of-#15272-upstream-release-3.9
Automated cherry pick of #15272: fix(region): panic on host offline and update health status is nil
2022-11-03 15:21:23 +08:00
Zexi Li
c68b8d1c3f Merge pull request #15283 from zexi/automated-cherry-pick-of-#15268-upstream-release-3.9
Automated cherry pick of #15268: fix: save unsynced ip to metadata
2022-11-03 15:20:32 +08:00
Qiu Jian
d7c67548bb fix: sync unsynced ip to metadata 2022-11-03 15:20:15 +08:00
Zexi Li
1ef2fd93a3 Merge pull request #15282 from gouqi11/automated-cherry-pick-of-#15281-upstream-release-3.9
Automated cherry pick of #15281: fix/modelarts status
2022-11-03 15:17:33 +08:00
mhf
e090712505 fix/modelarts status 2022-11-03 15:03:14 +08:00
wanyaoqi
3a2f2ccdc4 fix(region): implement failed stage: OnDiskLiveChangeStorageReadyFailed 2022-11-02 17:33:59 +08:00
ioito
12fb840668 fix(region): dns record sync 2022-11-02 17:01:30 +08:00
wanyaoqi
32b7d296e2 fix(region): panic on host offline and update health status is nil 2022-11-01 20:49:50 +08:00
Zexi Li
ec321023d2 feat(region): no_bmc option of host create api (#15269) 2022-11-01 17:38:27 +08:00
Qiu Jian
92ba7c6816 fix: allow duplicate vm ids when sync 2022-10-31 23:17:22 +08:00
Zexi Li
3974f48866 Merge pull request #15263 from ioito/automated-cherry-pick-of-#15262-upstream-release-3.9
Automated cherry pick of #15262: fix(region): account balance
2022-10-31 15:18:07 +08:00
ioito
a05a830112 fix(region): account balance 2022-10-31 14:36:59 +08:00
ioito
1cfd1a5545 fix(keystone): optimzed project list 2022-10-31 10:43:24 +08:00
Jian Qiu
d0506b4420 Automated cherry pick of #15244: feature: enable monitor proxy at host metadata server (#15245)
* feature: enable monitor proxy at host metadata server

* fix: host metadatahandler

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-30 09:14:10 +08:00
Zexi Li
8100a32a30 fix(baremetal): panic occured when get server ssh client (#15248) 2022-10-29 06:20:06 +08:00
Zexi Li
e4f8cf043c Merge pull request #15251 from gouqi11/automated-cherry-pick-of-#15246-upstream-release-3.9
Automated cherry pick of #15246: fix(cloudmon):cloudpodsMonitor
2022-10-27 19:34:05 +08:00
mhf
a9ca3137ad cloudpodsMonitor 2022-10-27 18:58:11 +08:00
Zexi Li
c036dceba4 Merge pull request #15235 from gouqi11/automated-cherry-pick-of-#15233-upstream-release-3.9
Automated cherry pick of #15233: controlMetricsGoroutineCount
2022-10-27 18:54:40 +08:00
屈轩
d67d7555e6 fix(region): skip disk sync by system tags (#15232) 2022-10-26 02:10:49 +08:00
Jian Qiu
bbcdbac62f fix: force reset expired password (#15230)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:24 +08:00
Jian Qiu
22a2ffec45 feature: automatically purge expired splitables (#15226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:04 +08:00
Jian Qiu
3cc2cccb5d fix: ignore secgroup sync error (#15237)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:07 +08:00
mhf
7024da858b controlMetricsGoroutineCount 2022-10-25 20:16:53 +08:00
Jian Qiu
3a11565b7b fix: access backend service by specific region/zone (#15227)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-25 17:05:14 +08:00
Zexi Li
40ca3788af Merge pull request #15220 from gouqi11/automated-cherry-pick-of-#15219-upstream-release-3.9
Automated cherry pick of #15219: fixModelartsNodeCount nullable
2022-10-21 18:56:54 +08:00
mhf
2c79573fca fixModelartsNodeCount nullable 2022-10-21 18:49:45 +08:00
Zexi Li
746b08da99 Merge pull request #15214 from zexi/schedule-disk-tag
fix(scheduler): do free capacity check when storage filter enabled
2022-10-20 16:36:31 +08:00
Zexi Li
3155b0a060 Merge pull request #15218 from gouqi11/automated-cherry-pick-of-#15217-upstream-release-3.9
Automated cherry pick of #15217: fix/remoteFileReturnBug
2022-10-20 16:36:16 +08:00
mhf
4b5a07bb44 fix/remoteFileReturnBug 2022-10-20 16:19:46 +08:00
Zexi Li
c4447e27dc fix(scheduler): do free capacity check when storage filter enabled 2022-10-20 14:56:23 +08:00
Zexi Li
4728af489b Merge pull request #15208 from ioito/automated-cherry-pick-of-#15207-upstream-release-3.9
Automated cherry pick of #15207: fix(cloudmon): default delay time for 6 minutes
2022-10-20 00:31:08 +08:00
Zexi Li
d49bc112dd Merge pull request #15211 from ioito/automated-cherry-pick-of-#15210-upstream-release-3.9
Automated cherry pick of #15210: fix(region): add disk_type for disk short desc
2022-10-19 18:45:50 +08:00
ioito
1c2f2ec3b2 fix(region): add disk_type for disk short desc 2022-10-19 18:19:32 +08:00
ioito
4cba85a812 fix(cloudmon): default delay time for 6 minutes 2022-10-18 11:00:27 +08:00
Zexi Li
8c74fe459c Merge pull request #15204 from zexi/ansible-run-time
fix(ansibleserver): force sleep 50s before running
2022-10-18 10:48:45 +08:00
Zexi Li
f239e34d1b fix(ansibleserver): force sleep 50s before running 2022-10-18 10:23:48 +08:00
屈轩
9c733ff130 fix(websonsole): vnc query (#15197) 2022-10-15 22:05:26 +08:00
屈轩
aacdf17099 fix(glance): esxi vmdk requre streamOptimized (#15181) 2022-10-15 22:03:44 +08:00
Zexi Li
07f6572159 Merge pull request #15200 from gouqi11/automated-cherry-pick-of-#15198-upstream-release-3.9
Automated cherry pick of #15198: fix/huawei-aksk-createdAt
2022-10-14 21:12:33 +08:00
mhf
234741d0c4 fix/huawei-aksk-createdAt 2022-10-14 19:38:23 +08:00
Zexi Li
e842e970ba Merge pull request #15193 from zexi/automated-cherry-pick-of-#15192-upstream-release-3.9
Automated cherry pick of #15192: fix(scheduler): check free capacity of each storage
2022-10-14 13:33:06 +08:00
Zexi Li
acbbb6d6f5 fix(scheduler): check free capacity of each storage 2022-10-14 12:40:26 +08:00
Zexi Li
3769869a08 Merge pull request #15188 from ioito/automated-cherry-pick-of-#15187-upstream-release-3.9
Automated cherry pick of #15187: fix(region): optimized sku list
2022-10-14 10:35:13 +08:00
Zexi Li
4b0bdcfe8b Merge pull request #15184 from ioito/automated-cherry-pick-of-#15183-upstream-release-3.9
Automated cherry pick of #15183: fix(region): skip account check
2022-10-14 10:33:52 +08:00
ioito
9151709473 fix(region): optimized sku list 2022-10-13 18:12:31 +08:00
ioito
fb0645e837 fix(region): skip account check 2022-10-13 17:00:12 +08:00
Zexi Li
cfa36774e7 Merge pull request #15180 from ioito/automated-cherry-pick-of-#15179-upstream-release-3.9
Automated cherry pick of #15179: fix(region): skip duplicate account check
2022-10-13 12:14:38 +08:00
ioito
b4516df1a4 fix(region): skip duplicate account check 2022-10-13 12:07:22 +08:00
Zexi Li
6ccd2801f0 Merge pull request #15178 from swordqiu/automated-cherry-pick-of-#15177-upstream-release-3.9
Automated cherry pick of #15177: fix: disk fallocate support
2022-10-13 09:47:44 +08:00
Zexi Li
0baca192e3 Merge pull request #15164 from swordqiu/automated-cherry-pick-of-#15163-upstream-release-3.9
Automated cherry pick of #15163: fix: ssd(rotation_rate=1) option only applicable to scsi-hd device
2022-10-13 09:46:30 +08:00
Zexi Li
fe7cbbfee8 Merge pull request #15157 from ioito/automated-cherry-pick-of-#15156-upstream-release-3.9
Automated cherry pick of #15156: fix(region): openstack vnc
2022-10-13 09:46:00 +08:00
Zexi Li
fdbf01e158 Merge pull request #15171 from ioito/automated-cherry-pick-of-#15170-upstream-release-3.9
Automated cherry pick of #15170: fix(region): purge vm by tags
2022-10-13 09:45:19 +08:00
Zexi Li
e86e4d64e4 Merge pull request #15173 from ioito/automated-cherry-pick-of-#15172-upstream-release-3.9
Automated cherry pick of #15172: fix(cloudmon): show unmarshal error
2022-10-13 09:44:54 +08:00
Jian Qiu
fc916a22f2 fix: no etcd watching if endpoint type is not internal (#15176)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-13 09:36:52 +08:00
Qiu Jian
2887c8196f fix: disk fallocate support 2022-10-13 02:37:50 +08:00
ioito
3e7a321ad3 fix(cloudmon): show unmarshal error 2022-10-12 17:41:30 +08:00
ioito
dcf7bde095 fix(region): purge vm by tags 2022-10-12 16:36:25 +08:00
Zexi Li
9b2208a565 Merge pull request #15166 from ioito/automated-cherry-pick-of-#15165-upstream-release-3.9
Automated cherry pick of #15165: fix(region): avoid panic
2022-10-12 16:32:41 +08:00
ioito
4dad40e3b2 fix(region): avoid panic 2022-10-12 15:15:09 +08:00
屈轩
4142d03cce fix: climc image cache (#15153) 2022-10-12 14:55:49 +08:00
wanyaoqi
39bcd4c471 fix(region): only kvm use qgs set password in guest running status (#15159)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-12 14:55:12 +08:00
Qiu Jian
9ad72f63f2 fix: ssd(rotation_rate=1) option only applicable to scsi-hd device 2022-10-12 14:54:05 +08:00
Jian Qiu
5150d3d86d fix: debian 11 support missing at release/3.8 (#15161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-11 21:18:14 +08:00
ioito
47024114c6 fix(region): openstack vnc 2022-10-11 16:52:41 +08:00
Zexi Li
34266ad52e Merge pull request #15151 from wanyaoqi/automated-cherry-pick-of-#15150-upstream-release-3.9
Automated cherry pick of #15150: fix(host-image): cancel auth host-image http requests
2022-10-11 10:45:27 +08:00
Zexi Li
8e942046e6 Merge pull request #15141 from ioito/automated-cherry-pick-of-#15137-upstream-release-3.9
Automated cherry pick of #15137: fix(region): snapshot time zone
2022-10-11 10:43:56 +08:00
Zexi Li
b3afdc7b93 Merge pull request #15135 from swordqiu/automated-cherry-pick-of-#15134-upstream-release-3.9
Automated cherry pick of #15134: fix: override valid os info in metadata
2022-10-11 10:42:38 +08:00
Zexi Li
08411e3061 Merge pull request #15139 from ioito/automated-cherry-pick-of-#15138-upstream-release-3.9
Automated cherry pick of #15138: fix(region): lb sync panic
2022-10-11 10:40:58 +08:00
Zexi Li
d08864d9e7 Merge pull request #15155 from ioito/automated-cherry-pick-of-#15154-upstream-release-3.9
Automated cherry pick of #15154: fix(region): oss permission
2022-10-11 10:38:59 +08:00
ioito
62362a1887 fix(region): oss permission 2022-10-10 19:15:00 +08:00
Zexi Li
167d3d25e8 Merge pull request #15149 from ioito/automated-cherry-pick-of-#15148-upstream-release-3.9
Automated cherry pick of #15148: fix(region): apsara region endpoint
2022-10-10 15:50:47 +08:00
wanyaoqi
a92e4d72a2 fix(host-image): cancel auth host-image http requests 2022-10-10 10:51:07 +08:00
ioito
4d6490e7a1 fix(region): apsara region endpoint 2022-10-10 10:38:40 +08:00
Qiu Jian
807631b7ca fix: override valid os info in metadata 2022-10-09 23:55:34 +08:00
wanyaoqi
be9bd32824 fix(region): recover code remove by #14996 (#15145)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-09 23:49:00 +08:00
ioito
8271d86911 fix(region): snapshot time zone 2022-10-09 16:21:56 +08:00
ioito
04ac34755c fix(region): lb sync panic 2022-10-09 15:46:39 +08:00
Zexi Li
3e6d9f0a59 Merge pull request #15103 from ioito/automated-cherry-pick-of-#15102-upstream-release-3.9
Automated cherry pick of #15102: fix(region): azure resource group
2022-10-09 15:36:09 +08:00
Zexi Li
2fea602ecd Merge pull request #15132 from ioito/automated-cherry-pick-of-#15131-upstream-release-3.9
Automated cherry pick of #15131: fix(region): add project tag short desc
2022-10-09 00:26:16 +08:00
Zexi Li
31540c1feb Merge pull request #15129 from ioito/automated-cherry-pick-of-#15128-upstream-release-3.9
Automated cherry pick of #15128: fix(cloudid): aliyun saml provider name
2022-10-09 00:25:17 +08:00
ioito
c66e16190b fix(region): azure resource group 2022-10-08 21:28:31 +08:00
Zexi Li
8b3f7ef336 optimize(scheduler): global cache for schedtag (#15120)
* optimize(scheduler): global cache for schedtag

* feat(scheduler): informer of schedtag
2022-10-08 20:49:26 +08:00
ioito
57005da632 fix(region): add project tag short desc 2022-10-08 18:21:40 +08:00
ioito
68a98c8eb6 fix(cloudid): aliyun saml provider name 2022-10-08 15:39:25 +08:00
Zexi Li
8dd802204f Merge pull request #15123 from ioito/automated-cherry-pick-of-#15122-upstream-release-3.9
Automated cherry pick of #15122: fix(region): modelarts change config
2022-10-08 14:45:54 +08:00
ioito
043b24cca1 fix(region): modelarts change config 2022-10-08 14:28:34 +08:00
Zexi Li
4534f951b1 Merge pull request #15117 from zexi/monitor-error-msg
fix(monitor): monitor error message
2022-10-08 12:03:24 +08:00
Zexi Li
02447ea1f9 fix(monitor): monitor error message 2022-10-08 11:49:18 +08:00
Jian Qiu
3b64b8709e fix: preserve os info of instance (#15115)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:19:51 +08:00
Jian Qiu
117c5d60f4 update vendor wireguard 20221005 (#15113)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-05 17:17:53 +08:00
Zexi Li
5c9016bd0c Merge pull request #15110 from gouqi11/automated-cherry-pick-of-#15109-upstream-release-3.9
Automated cherry pick of #15109: fix modelarts status bug
2022-09-30 11:53:28 +08:00
mhf
c8c80dc95d fix modelarts status bug 2022-09-30 11:39:13 +08:00
Zexi Li
43154ddc00 Merge pull request #15106 from swordqiu/automated-cherry-pick-of-#15105-upstream-release-3.9
Automated cherry pick of #15105: fix: do not resize partition of unsupported fs
2022-09-29 10:08:07 +08:00
Qiu Jian
60d45f698b fix: do not resize partition of unsupported fs 2022-09-29 00:56:26 +08:00
Zexi Li
a7ee027326 Merge pull request #15101 from ioito/automated-cherry-pick-of-#15100-upstream-release-3.9
Automated cherry pick of #15100: fix(cloudmon): remove cloudmon metadata tag
2022-09-28 19:32:08 +08:00
ioito
b98983a2df fix(cloudmon): remove cloudmon metadata tag 2022-09-28 18:16:58 +08:00
Zexi Li
1b50d263c4 Merge pull request #15097 from zexi/ansible-sleep
fix(ansibleserver): force sleep 15s before running playbook
2022-09-28 17:38:52 +08:00
Zexi Li
24a3ff8fa9 fix(ansibleserver): force sleep 15s before running playbook 2022-09-28 17:21:56 +08:00
wanyaoqi
6d2e8fdfc1 fix(region): check migration bandwidth is nil (#15095) 2022-09-28 16:41:45 +08:00
Zexi Li
6a9dc28b72 Merge pull request #15096 from gouqi11/automated-cherry-pick-of-#15094-upstream-release-3.9
Automated cherry pick of #15094: add modelarts nodecount
2022-09-28 16:11:34 +08:00
mhf
de65b32a47 add modelarts nodecount 2022-09-28 15:49:30 +08:00
屈轩
e715a725db fix(cloudid): azure cloudgroup (#15093) 2022-09-28 15:27:28 +08:00
屈轩
6119e60c46 fix(monitor): rename tags to tag_pairs (#15088) 2022-09-28 15:26:40 +08:00
wanyaoqi
20b7b9b9f6 fix(host): rbd snap delete (#15083) 2022-09-28 15:25:27 +08:00
wanyaoqi
7d0a88a605 Automated cherry pick of #15067: fix(region): host health use sync map (#15085)
* fix(region): host health use sync map

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

* fix auto migrate on host shutdown

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 14:12:56 +08:00
Zexi Li
0516f72f46 fix(cloudcommon): notify event of specific resources (#15089) 2022-09-28 13:00:56 +08:00
Zexi Li
c4f0cb4dcd fix(host): out of range when list GPU devices (#15081) 2022-09-28 07:52:56 +08:00
屈轩
f8ef56cf38 fix(region): secgroup rule sync (#15076) 2022-09-27 21:23:00 +08:00
屈轩
aa99aa449e fix(climc): add debug for esxicli (#15060) 2022-09-27 21:22:08 +08:00
Zexi Li
386467927a fix(monitor): not depend taskman to execute async task (#15064) 2022-09-27 21:14:21 +08:00
Zexi Li
f9281c738d fix(cloudcommon): invoke model.PostUpdate when differences exist (#15069) 2022-09-27 21:10:52 +08:00
屈轩
ed8af7fc6f fix(cloudid): azure clouduser (#15073) 2022-09-27 21:10:04 +08:00
屈轩
077390519d fix(cloudmon): remove special characters (#15063) 2022-09-27 21:04:13 +08:00
Zexi Li
791e0753c4 Merge pull request #15058 from zexi/automated-cherry-pick-of-#15053-upstream-release-3.9
Automated cherry pick of #15053: feat(host): deploy telegraf in windows guest
2022-09-27 11:32:14 +08:00
wanyaoqi
ad0d7fde15 feat(host): deploy telegraf in windows guest
depends on telegraf service install command.
2022-09-27 11:31:51 +08:00
Zexi Li
59780e863d Merge pull request #15034 from wanyaoqi/automated-cherry-pick-of-#15033-upstream-release-3.9
Automated cherry pick of #15033: fix(region): migrate forecase add rescue mode
2022-09-26 15:22:59 +08:00
Zexi Li
fec651c425 Merge pull request #15050 from zexi/baremetal-storage
feat(region): is_baremetal option for storage list
2022-09-26 15:20:07 +08:00
Zexi Li
968cd4e6ff Merge pull request #15049 from ioito/automated-cherry-pick-of-#15048-upstream-release-3.9
Automated cherry pick of #15048: fix(monitor): influx query
2022-09-26 15:04:51 +08:00
Zexi Li
ee78115b44 feat(region): is_baremetal option for storage list 2022-09-26 15:02:33 +08:00
ioito
dac5f69abe fix(monitor): influx query 2022-09-26 15:01:24 +08:00
Zexi Li
309c69dcfd Merge pull request #15047 from ioito/automated-cherry-pick-of-#15046-upstream-release-3.9
Automated cherry pick of #15046: Hotfix/qx monitor misc
2022-09-26 14:06:09 +08:00
小林仔
12cbc9c697 support simple query 2022-09-26 13:28:19 +08:00
Zexi Li
8b3bb04adc Merge pull request #15042 from ioito/automated-cherry-pick-of-#15041-upstream-release-3.9
Automated cherry pick of #15041: fix(cloudid): role obs iam
2022-09-23 17:06:08 +08:00
ioito
cc56f30de8 fix(cloudid): role obs iam 2022-09-23 16:47:47 +08:00
Zexi Li
f0d7c4ea09 Merge pull request #15040 from swordqiu/automated-cherry-pick-of-#15039-upstream-release-3.9
Automated cherry pick of #15039: fix: ihost add cpu_architecture interface
2022-09-23 16:07:39 +08:00
QIU Jian
5b54fe3256 fix: ihost add cpu_architecture interface 2022-09-23 14:50:20 +08:00
wanyaoqi
4dd3a6a163 Automated cherry pick of #14996: fix(host): live migrate optimize (#15020)
* fix(host): live migrate optimize

- support set live migrate bandwidth
- support cancel migrate
- live migrate enable multifd
- cancel set live migrate max downtime in init live migrate
- save and sync guest desc and start script on sync config

* feat(region,host): server-monitor support qmp

server-montior add qmp option, default is hmp.

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-23 14:09:47 +08:00
Jian Qiu
32931791cf fix: splitable duplicate records (#15038)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-23 14:09:11 +08:00
屈轩
6c680c9294 fix(region): avoid panic when show dns zone (#15036) 2022-09-23 13:52:53 +08:00
wanyaoqi
7db9a50f79 fix(region): migrate forecase add rescue mode
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-09-23 11:02:04 +08:00
Zexi Li
bf98f587b8 Merge pull request #15023 from swordqiu/automated-cherry-pick-of-#15022-upstream-release-3.9
Automated cherry pick of #15022: fix: esxi save image fail
2022-09-23 10:12:58 +08:00
Zexi Li
9f9e5361f3 Merge pull request #15029 from ioito/automated-cherry-pick-of-#15028-upstream-release-3.9
Automated cherry pick of #15028: fix(cloudid): obs iam
2022-09-23 10:11:04 +08:00
ioito
201443dcec fix(cloudid): obs iam 2022-09-22 22:58:00 +08:00
Zexi Li
034c743ba6 Merge pull request #15027 from gouqi11/automated-cherry-pick-of-#15024-upstream-release-3.9
Automated cherry pick of #15024: HCSO modelarts monitor
2022-09-22 20:42:33 +08:00
mhf
2dca05c9c2 delete huaweiClient 2022-09-22 18:45:39 +08:00
Qiu Jian
2462128a32 fix: esxi save image fail 2022-09-22 02:10:15 +08:00
Zexi Li
6d6e46083d Merge pull request #15021 from gouqi11/automated-cherry-pick-of-#15018-upstream-release-3.9
Automated cherry pick of #15018: [WIP]add hcso modelarts
2022-09-21 20:56:26 +08:00
mhf
a0efef4c4d resert endpoint 2022-09-21 17:55:14 +08:00
mhf
5cd9d07115 add hcso modelarts 2022-09-21 17:55:14 +08:00
Zexi Li
c9fa13c63b Merge pull request #15014 from ioito/automated-cherry-pick-of-#15013-upstream-release-3.9
Automated cherry pick of #15013: fix(region): qcloud and google system tag
2022-09-21 14:35:39 +08:00
Zexi Li
9379930c21 Merge pull request #15017 from gouqi11/automated-cherry-pick-of-#15011-upstream-release-3.9
Automated cherry pick of #15011: add hcso aksk
2022-09-20 20:26:02 +08:00
mhf
0a1307bb4d add hcso aksk 2022-09-20 20:23:33 +08:00
Zexi Li
905dc803b9 Merge pull request #15016 from ioito/automated-cherry-pick-of-#15015-upstream-release-3.9
Automated cherry pick of #15015: fix(hostman): host and vm metric id
2022-09-20 18:41:34 +08:00
Zexi Li
a7824c6e42 Merge pull request #15012 from ioito/automated-cherry-pick-of-#15009-upstream-release-3.9
Automated cherry pick of #15009: fix(cloudid): clear cloudid error
2022-09-20 18:40:08 +08:00
ioito
ce6d4da16b fix(hostman): host and vm metric id 2022-09-20 18:03:59 +08:00
ioito
fdfd9ad858 fix(region): qcloud and google system tag 2022-09-20 17:41:36 +08:00
ioito
f68f09f067 fix(cloudid): clear cloudid error 2022-09-20 16:30:00 +08:00
Zexi Li
44fc286a9c Merge pull request #15005 from zexi/update-net-vlan-id
fix(climc): always net vlan_id to 1 when updating network
2022-09-20 10:46:28 +08:00
Zexi Li
3491ebdcb9 fix(climc): always net vlan_id to 1 when updating network 2022-09-20 10:44:08 +08:00
Zexi Li
409dd98850 Merge pull request #15002 from zexi/bm-no-cache
feat(baremetal,region): support disable_image_cache for baremetalagent
2022-09-20 10:29:35 +08:00
Zexi Li
21b831252d feat(baremetal,region): support disable_image_cache for baremetalagent 2022-09-20 10:04:21 +08:00
屈轩
26c351796f fix(cloudmon): unified metric id with resource id (#14998) 2022-09-19 22:55:30 +08:00
Zexi Li
7b78f205a9 Merge pull request #14955 from wanyaoqi/automated-cherry-pick-of-#14954-upstream-release-3.9
Automated cherry pick of #14954: feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:31:16 +08:00
Zexi Li
ea99da1fb5 Merge pull request #15004 from zexi/automated-cherry-pick-of-#14954-upstream-release-3.9
Automated cherry pick of #14954: feat(region,host): check disk type of gpfs mountpoint
2022-09-19 22:28:58 +08:00
wanyaoqi
b13417cba2 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-19 22:28:27 +08:00
Zexi Li
3a573a2242 Merge pull request #15000 from gouqi11/automated-cherry-pick-of-#14987-upstream-release-3.9
Automated cherry pick of #14987: fix modelarts create bug
2022-09-19 21:23:39 +08:00
mhf
7554a59eea fix modelarts create bug 2022-09-19 19:43:58 +08:00
屈轩
16d3cdc7aa fix(region): cloudaccount options (#14991) 2022-09-17 19:38:36 +08:00
wanyaoqi
f272e65780 feat(region,host): check disk type of gpfs mountpoint
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-16 18:27:48 +08:00
Zexi Li
5d6a431902 fix(monitor,region,climc): use commonalert api for scaling policy (#14979)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:33:59 +08:00
Zexi Li
a9c27a2273 Merge pull request #14975 from ioito/automated-cherry-pick-of-#14974-upstream-release-3.9
Automated cherry pick of #14974: fix(cloudmon): azure windows disk usage
2022-09-16 03:06:25 +08:00
wanyaoqi
7cbf045638 fix(host): get gpu qemu params (#14982)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-15 22:48:53 +08:00
Zexi Li
1de4e19670 Merge pull request #14984 from gouqi11/automated-cherry-pick-of-#14983-upstream-release-3.9
Automated cherry pick of #14983: bugfix(modelarts)
2022-09-15 21:42:07 +08:00
mhf
e8228e4e3c modelartsBugFix 2022-09-15 21:40:07 +08:00
Zexi Li
077fd3f891 fix(host): no vm_scaling_group_id in hostmetrics (#14976) 2022-09-15 01:16:23 +08:00
ioito
4975acb914 fix(cloudmon): azure windows disk usage 2022-09-14 19:41:12 +08:00
Zexi Li
85c5e33cf9 Merge pull request #14973 from gouqi11/automated-cherry-pick-of-#14972-upstream-release-3.9
Automated cherry pick of #14972: modelarts
2022-09-14 16:00:44 +08:00
mhf
6671cf9fab modelarts 2022-09-14 15:34:19 +08:00
Zexi Li
6e987b0ba7 Merge pull request #14963 from ioito/automated-cherry-pick-of-#14962-upstream-release-3.9
Automated cherry pick of #14962: fix(region): azure win disk usage percent
2022-09-14 10:12:07 +08:00
Zexi Li
c9b3a4e95c Merge pull request #14964 from zexi/alert-not-recover
fix(monitor): alert resource not recorverd
2022-09-14 10:05:27 +08:00
Zexi Li
6a0b463874 Merge pull request #14968 from swordqiu/automated-cherry-pick-of-#14967-upstream-release-3.9
Automated cherry pick of #14967: fix: set vfs_cache_pressure to 350
2022-09-14 01:05:50 +08:00
Qiu Jian
cfa1f8d3a1 fix: set vfs_cache_pressure to 350 2022-09-13 17:01:29 +08:00
Zexi Li
91b1236e3f fix(monitor): alert resource not recorverd 2022-09-13 13:43:46 +08:00
ioito
586fb7f7cf fix(region): azure win disk usage percent 2022-09-13 10:40:11 +08:00
Zexi Li
8fee86088b Merge pull request #14960 from swordqiu/automated-cherry-pick-of-#14959-upstream-release-3.9
Automated cherry pick of #14959: fix: remove irrelevant common options
2022-09-13 08:56:55 +08:00
Qiu Jian
77f0dcb4c8 fix: remove irrelevant common options 2022-09-12 18:23:29 +08:00
Zexi Li
0e215facb9 fix(baremetal): clean UEFI info for baremetal host (#14956) 2022-09-12 18:19:51 +08:00
Zexi Li
4bfabe8c01 Merge pull request #14953 from wanyaoqi/automated-cherry-pick-of-#14952-upstream-release-3.9
Automated cherry pick of #14952: fix(region): format and check existing path
2022-09-09 10:01:12 +08:00
Zexi Li
eb079f2dc0 Merge pull request #14951 from wanyaoqi/automated-cherry-pick-of-#14950-upstream-release-3.9
Automated cherry pick of #14950: fix(region): check qga set password username is equal login_account
2022-09-09 10:00:50 +08:00
wanyaoqi
24acccc0bf fix(region): format and check existing path
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 20:25:52 +08:00
wanyaoqi
ae43d31287 fix(region): check qga set password username is equal login_account
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-08 18:01:34 +08:00
Zexi Li
5a113a4078 Merge pull request #14946 from zexi/fix-gpu-models
fix(region): gpu_models in capabilities' response
2022-09-08 14:05:33 +08:00
Zexi Li
43450da351 fix(region): gpu_models in capabilities' response 2022-09-08 13:02:42 +08:00
Zexi Li
64612c0f61 Merge pull request #14928 from wanyaoqi/automated-cherry-pick-of-#14927-upstream-release-3.9
Automated cherry pick of #14927: feat(region): set password use same interface
2022-09-07 10:48:11 +08:00
Zexi Li
d3a8fa1315 fix(scheduler): testing failed (#14942) 2022-09-07 10:47:36 +08:00
Zexi Li
70d67f9b0d Merge pull request #14923 from ioito/automated-cherry-pick-of-#14922-upstream-release-3.9
Automated cherry pick of #14922: fix(region): secgroup rule sync
2022-09-07 10:47:24 +08:00
Zexi Li
1c0b7be8f7 Merge pull request #14934 from swordqiu/automated-cherry-pick-of-#14933-upstream-release-3.9
Automated cherry pick of #14933: fix: fail to create ceph disk, missing disk credential
2022-09-07 10:38:34 +08:00
Zexi Li
1f4f93c518 Merge pull request #14931 from ioito/automated-cherry-pick-of-#14930-upstream-release-3.9
Automated cherry pick of #14930: fix(region): cloudprovider tenant id
2022-09-07 10:37:55 +08:00
Zexi Li
3fa9918f3d Merge pull request #14936 from swordqiu/automated-cherry-pick-of-#14935-upstream-release-3.9
Automated cherry pick of #14935: fix: agent pull list with system scope
2022-09-07 10:37:01 +08:00
Zexi Li
c6d0a96db9 Merge pull request #14940 from swordqiu/automated-cherry-pick-of-#14939-upstream-release-3.9
Automated cherry pick of #14939: fix: add HSTS (RFC 6797) header if TLS enabled
2022-09-07 10:36:22 +08:00
Qiu Jian
5d490741a0 fix: add HSTS (RFC 6797) header if TLS enabled https://www.tenable.com/plugins/nessus/142960 2022-09-07 10:05:02 +08:00
Qiu Jian
fffbab915b fix: agent pull list with system scope 2022-09-07 00:45:42 +08:00
Qiu Jian
3b93dfdd98 fix: fail to create ceph disk, missing disk credential 2022-09-07 00:39:43 +08:00
ioito
97df9f264d fix(region): cloudprovider tenant id 2022-09-06 20:27:23 +08:00
Zexi Li
de1d772814 Merge pull request #14926 from zexi/automated-cherry-pick-of-#14924-upstream-release-3.9
Automated cherry pick of #14924: fix(scheduler): fill storage and network results
2022-09-06 20:00:11 +08:00
wanyaoqi
489d75a5ed feat(region): set password use same interface
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-06 15:53:38 +08:00
Zexi Li
9c2203a73d fix(scheduler): fill storage and network results 2022-09-06 12:04:49 +08:00
wanyaoqi
64d0e84d73 feat(region,host): deploy telegraf (#14919)
Support deploy telegraf on server deploy.
Add start telegraf on guest reboot crontab in guest os.
2022-09-06 00:13:32 +08:00
ioito
dd08d21b82 fix(region): secgroup rule sync 2022-09-05 17:28:00 +08:00
Zexi Li
0b2a20f06b Merge pull request #14921 from ioito/automated-cherry-pick-of-#14920-upstream-release-3.9
Automated cherry pick of #14920: fix(cloudmon): aliyun redis metric
2022-09-05 17:09:47 +08:00
ioito
a869940020 fix(cloudmon): aliyun redis metric 2022-09-05 16:38:46 +08:00
Zexi Li
30d1798767 Merge pull request #14917 from swordqiu/automated-cherry-pick-of-#14916-upstream-release-3.9
Automated cherry pick of #14916: fix(keystone): ldap search with pagination
2022-09-05 16:16:46 +08:00
Qiu Jian
60f868b259 fix(keystone): ldap search with pagination 2022-09-04 19:31:34 +08:00
Jian Qiu
e31524bc5d feature: webhook support notification of user update (#14913)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:23 +08:00
Zexi Li
c7fc21fe79 Merge pull request #14911 from ioito/automated-cherry-pick-of-#14910-upstream-release-3.9
Automated cherry pick of #14910: fix(cloudmon): server metric tag
2022-09-02 18:08:56 +08:00
ioito
93193e0170 fix(cloudmon): server metric tag 2022-09-02 18:03:04 +08:00
Zexi Li
c051f8f27e Merge pull request #14904 from ioito/automated-cherry-pick-of-#14903-upstream-release-3.9
Automated cherry pick of #14903: fix(cloudmon): alert history
2022-09-02 12:11:35 +08:00
Zexi Li
f9aade9c97 Merge pull request #14902 from ioito/automated-cherry-pick-of-#14901-upstream-release-3.9
Automated cherry pick of #14901: fix(cloudmon): qcloud redis metric
2022-09-02 10:45:40 +08:00
Jian Qiu
338f814cbc fix: allow update server pending deleted at (#14906)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:04:56 +08:00
ioito
0b984efb97 fix(cloudmon): alert history 2022-09-01 19:27:25 +08:00
ioito
982f4fa909 fix(cloudmon): qcloud redis metric 2022-09-01 15:41:13 +08:00
Jian Qiu
965ba3ee77 fix: support huawei sms service (#14896)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-01 14:49:27 +08:00
Zexi Li
9b2b4141ad Merge pull request #14898 from ioito/automated-cherry-pick-of-#14897-upstream-release-3.9
Automated cherry pick of #14897: fix(region): support distinct sku by name
2022-09-01 12:07:53 +08:00
Zexi Li
b8e1a841f1 Merge pull request #14900 from ioito/automated-cherry-pick-of-#14899-upstream-release-3.9
Automated cherry pick of #14899: fix(cloudmon): 添加监控指标描述信息
2022-09-01 12:03:07 +08:00
ioito
16fbba70c8 fix(cloudmon): 添加监控指标描述信息 2022-09-01 11:55:54 +08:00
ioito
0ca039b3ae fix(region): support distinct sku by name 2022-09-01 10:33:48 +08:00
Zexi Li
b58bcf5a74 Merge pull request #14892 from ioito/automated-cherry-pick-of-#14891-upstream-release-3.9
Automated cherry pick of #14891: fix(region): aws not found error
2022-08-31 21:00:03 +08:00
Zexi Li
3e14278698 Merge pull request #14894 from ioito/automated-cherry-pick-of-#14893-upstream-release-3.9
Automated cherry pick of #14893: fix(cloudmon): k8s metric
2022-08-31 20:59:15 +08:00
ioito
866facb6c1 fix(cloudmon): k8s metric 2022-08-31 17:58:05 +08:00
Jian Qiu
4b442acb68 feature(host-deployer): support neokylin (#14887)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-31 11:21:31 +08:00
ioito
37f59cc9eb fix(region): aws not found error 2022-08-31 10:42:44 +08:00
Zexi Li
9c097bddc1 Merge pull request #14884 from ioito/automated-cherry-pick-of-#14883-upstream-release-3.9
Automated cherry pick of #14883: fix(cloudmon): bucket and redis metric
2022-08-30 19:42:27 +08:00
ioito
098b65c25d fix(cloudmon): bucket and redis metric 2022-08-30 19:17:37 +08:00
Jian Qiu
551b7dcc73 fix(notify): fail to create deleted contacts (#14882)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-30 17:59:37 +08:00
Zexi Li
f6a9a12b6a Merge pull request #14880 from ioito/automated-cherry-pick-of-#14879-upstream-release-3.9
Automated cherry pick of #14879: fix(cloudmon): qcloud k8s metric
2022-08-30 17:34:41 +08:00
ioito
24fb95b01b fix(cloudmon): qcloud k8s metric 2022-08-30 17:23:02 +08:00
Zexi Li
4113a0fb24 Merge pull request #14878 from ioito/automated-cherry-pick-of-#14877-upstream-release-3.9
Automated cherry pick of #14877: fix(cloudmon): azure windows metric
2022-08-30 14:24:42 +08:00
Zexi Li
b8ad367a8c Merge pull request #14870 from ioito/automated-cherry-pick-of-#14869-upstream-release-3.9
Automated cherry pick of #14869: fix(region): show huawei cloudprovider with region name
2022-08-30 14:19:58 +08:00
ioito
a09bcb6667 fix(cloudmon): azure windows metric 2022-08-30 12:39:35 +08:00
Zexi Li
b5238c42ac Merge pull request #14872 from wanyaoqi/automated-cherry-pick-of-#14854-upstream-release-3.9
Automated cherry pick of #14854: fix(host): get unused port
2022-08-30 11:37:05 +08:00
Zexi Li
760a53ac30 Merge pull request #14853 from wanyaoqi/automated-cherry-pick-of-#14841-upstream-release-3.9
Automated cherry pick of #14841: feat(region,host): qga set user password
2022-08-30 11:36:10 +08:00
Zexi Li
f32e044737 Merge pull request #14868 from ioito/automated-cherry-pick-of-#14867-upstream-release-3.9
Automated cherry pick of #14867: fix(cloudid): support redirect url for qcloud aliyun and aws
2022-08-30 11:35:23 +08:00
Zexi Li
e274120935 Merge pull request #14856 from ioito/automated-cherry-pick-of-#14855-upstream-release-3.9
Automated cherry pick of #14855: fix(region): support enable aws monitor agent
2022-08-30 11:34:47 +08:00
Zexi Li
8c1ca83b23 Merge pull request #14874 from swordqiu/automated-cherry-pick-of-#14873-upstream-release-3.9
Automated cherry pick of #14873: fix: policy cache get/set with atomic ops
2022-08-30 11:33:55 +08:00
Zexi Li
be400a0e6e Merge pull request #14876 from ioito/automated-cherry-pick-of-#14875-upstream-release-3.9
Automated cherry pick of #14875: fix(cloudmon): huawei metric pull
2022-08-30 11:33:27 +08:00
ioito
585fa7bd35 fix(cloudmon): huawei metric pull 2022-08-30 11:11:38 +08:00
Qiu Jian
b1a5ccd153 fix: policy cache get/set with atomic ops 2022-08-30 07:34:04 +08:00
wanyaoqi
404fe5eaf7 fix(host): get unused port
add sync map avoid use the same port repeatedly.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-30 00:01:07 +08:00
ioito
0b3d196bfd fix(region): show huawei cloudprovider with region name 2022-08-29 20:29:49 +08:00
ioito
04902ddd20 fix(cloudid): support redirect url for qcloud aliyun and aws 2022-08-29 19:57:37 +08:00
屈轩
37cc198f81 fix(region): jdcloud misc (#14864) 2022-08-29 18:09:48 +08:00
Jian Qiu
282cfb079f fix: add password info to server vnc info (#14862)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 18:09:04 +08:00
Jian Qiu
02359b0bf8 feature: verify user with sms code (#14859)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-29 15:39:29 +08:00
Zexi Li
3a0e3140dc Merge pull request #14852 from swordqiu/automated-cherry-pick-of-#14851-upstream-release-3.9
Automated cherry pick of #14851: feature: auth user with sms code
2022-08-29 10:50:27 +08:00
ioito
82fd9c0a7e fix(region): support enable aws monitor agent 2022-08-29 10:47:38 +08:00
wanyaoqi
1a7cd22bb8 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:28:54 +08:00
wanyaoqi
07ece80f42 feat(qga): add server-qga-command
usage:
climc server-qga-command <ID> <QGA_RAW_COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:12 +08:00
wanyaoqi
95c836bed5 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:11 +08:00
Qiu Jian
1d75cff5b4 feature: verify user with sms code 2022-08-28 12:30:12 +08:00
wanyaoqi
c524d488a9 fix(region): update host cpu_reserved on reserve cpus (#14848)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-27 06:57:26 +08:00
Zexi Li
dcd06f7c94 Merge pull request #14849 from ioito/automated-cherry-pick-of-#14752-upstream-release-3.9
Automated cherry pick of #14752: refactor(cloudmon): metric collect
2022-08-26 19:40:07 +08:00
ioito
683bc536bd refactor(cloudmon): metric collect 2022-08-26 19:38:53 +08:00
Zexi Li
898e62c42c Merge pull request #14845 from wanyaoqi/automated-cherry-pick-of-#14844-upstream-release-3.9
Automated cherry pick of #14844: feat(region,host): custom usb controller type
2022-08-26 17:10:24 +08:00
wanyaoqi
5e9dafe4a8 feat(region,host): custom usb controller type
support usb controller type: qemu-xhci, usb-ehci.
qemu-xhci is much more virtualization-friendly when compared to EHCI and UHCI.
but guest supports XHCI which should be the case for any operating system
released around 2010 or later.
So sometimes wo need use usb controller type EHCI.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-26 12:32:55 +08:00
Zexi Li
19b2bbc88a Merge pull request #14840 from ioito/automated-cherry-pick-of-#14839-upstream-release-3.9
Automated cherry pick of #14839: fix(region): api version for k8s
2022-08-25 14:27:20 +08:00
ioito
ec3b2c321e fix(region): api version for k8s 2022-08-25 14:26:12 +08:00
Zexi Li
1d775f6f25 Merge pull request #14837 from swordqiu/automated-cherry-pick-of-#14836-upstream-release-3.9
Automated cherry pick of #14836: fix: remove apiversion param from session
2022-08-25 10:25:04 +08:00
Zexi Li
dfeaa43200 Merge pull request #14829 from ioito/automated-cherry-pick-of-#14828-upstream-release-3.9
Automated cherry pick of #14828: fix(region): billing cycle
2022-08-25 10:23:24 +08:00
Zexi Li
bf6a45d9f2 Merge pull request #14832 from ioito/automated-cherry-pick-of-#14831-upstream-release-3.9
Automated cherry pick of #14831: fix(region): k8s purge when deleted
2022-08-25 10:22:53 +08:00
Zexi Li
1fbcfa4867 Merge pull request #14835 from ioito/automated-cherry-pick-of-#14834-upstream-release-3.9
Automated cherry pick of #14834: fix(region): apsara instance id
2022-08-25 10:22:09 +08:00
QIU Jian
3098a7b857 fix: remove apiversion param from session 2022-08-25 10:08:30 +08:00
ioito
c22dcb4c59 fix(region): apsara instance id 2022-08-24 19:40:06 +08:00
ioito
29387cd62e fix(region): k8s purge when deleted 2022-08-24 16:05:04 +08:00
ioito
ccec0e22a8 fix(region): billing cycle 2022-08-24 11:20:33 +08:00
Zexi Li
cf8485e5e6 Merge pull request #14818 from swordqiu/automated-cherry-pick-of-#14817-upstream-release-3.9
Automated cherry pick of #14817: fix(cloudmon): allow disable ping probe
2022-08-22 17:09:33 +08:00
Zexi Li
1bc690d229 Merge pull request #14823 from ioito/automated-cherry-pick-of-#14822-upstream-release-3.9
Automated cherry pick of #14822: fix: cloud_env options
2022-08-22 17:03:41 +08:00
ioito
7e6765f413 fix: cloud_env options 2022-08-19 17:06:49 +08:00
Zexi Li
c9816d0663 Merge pull request #14819 from zexi/choose-storage
fix(region): choose storage when no medium specified
2022-08-19 14:42:22 +08:00
Zexi Li
201ecfc7fe fix(region): choose storage when no medium specified 2022-08-19 14:39:40 +08:00
Qiu Jian
814541dc9e fix(cloudmon): allow disable ping probe 2022-08-19 11:08:13 +08:00
Zexi Li
7934cb2b3d Merge pull request #14812 from swordqiu/automated-cherry-pick-of-#14811-upstream-release-3.9
Automated cherry pick of #14811: fix: host mem_commit_bound typo
2022-08-18 17:14:19 +08:00
Zexi Li
599c423df9 Merge pull request #14815 from gouqi11/automated-cherry-pick-of-#14814-upstream-release-3.9
Automated cherry pick of #14814: order-by-guest-count
2022-08-18 11:10:25 +08:00
mhf
722f835f27 order-by-guest-count 2022-08-18 09:57:20 +08:00
QIU Jian
04285fa2f1 fix: host mem_commit_bound typo 2022-08-18 01:40:40 +08:00
Zexi Li
e5cdd8911f Merge pull request #14808 from ioito/automated-cherry-pick-of-#14807-upstream-release-3.9
Automated cherry pick of #14807: fix(climc): options for network address
2022-08-17 16:16:41 +08:00
ioito
e00921a1e6 fix(climc): options for network address 2022-08-17 16:14:29 +08:00
Zexi Li
f1544348d8 Merge pull request #14802 from swordqiu/automated-cherry-pick-of-#14801-upstream-release-3.9
Automated cherry pick of #14801: feature(apigateway): SP-initiated logout
2022-08-17 10:40:54 +08:00
Zexi Li
2006a1d0b8 Merge pull request #14803 from swordqiu/automated-cherry-pick-of-#14766-upstream-release-3.9
Automated cherry pick of #14766: fix(region): add cloud_env filter options for network address
2022-08-17 10:39:55 +08:00
Zexi Li
a5bbb4d41e Merge pull request #14806 from gouqi11/automated-cherry-pick-of-#14805-upstream-release-3.9
Automated cherry pick of #14805: 阿里云内网connectionStr
2022-08-17 10:39:44 +08:00
Jian Qiu
0ab602ae1d fix: allow start vm on raspberry pi 4 (#14764)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:04:16 +08:00
mhf
11320a6c40 阿里云内网connectionStr 2022-08-16 14:09:12 +08:00
ioito
fd20c71c21 fix(region): add cloud_env filter options for network address 2022-08-16 01:59:56 +08:00
Qiu Jian
7b61454b32 feature(apigateway): SP-initiated logout 2022-08-16 01:52:08 +08:00
Zexi Li
32089b6a46 Merge pull request #14789 from ioito/automated-cherry-pick-of-#14788-upstream-release-3.9
Automated cherry pick of #14788: fix(region): add interface for metric
2022-08-12 08:48:39 +08:00
Zexi Li
50d353a576 Merge pull request #14783 from ioito/automated-cherry-pick-of-#14782-upstream-release-3.9
Automated cherry pick of #14782: fix(region): huawei lb rule sync
2022-08-12 08:46:23 +08:00
Zexi Li
f85ba93f91 Merge pull request #14793 from ioito/automated-cherry-pick-of-#14792-upstream-release-3.9
Automated cherry pick of #14792: fix(region): secgroup rule sync
2022-08-12 08:45:40 +08:00
Zexi Li
1ddb597aa3 Merge pull request #14796 from gouqi11/automated-cherry-pick-of-#14795-upstream-release-3.9
Automated cherry pick of #14795: 虚拟机、磁盘排序与过滤
2022-08-12 08:45:02 +08:00
mhf
f1d69fe3fa 虚拟机、磁盘排序与过滤 2022-08-11 19:34:13 +08:00
ioito
e4869f6f5f fix(region): secgroup rule sync 2022-08-11 18:33:29 +08:00
wanyaoqi
709eb0e23e feat(region): add virtio vga type support (#14786)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-11 18:00:30 +08:00
ioito
c7657a5e87 fix(region): add interface for metric 2022-08-11 14:29:06 +08:00
ioito
381f3aaa9a fix(region): huawei lb rule sync 2022-08-11 09:48:02 +08:00
Zexi Li
658f9d7303 Merge pull request #14775 from gouqi11/automated-cherry-pick-of-#14770-upstream-release-3.9
Automated cherry pick of #14770: 修改getYears,getMonth顺序bug
2022-08-09 12:08:02 +08:00
Jian Qiu
20b8327c75 fix: no log for storage enable/disable (#14769)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-08-09 08:58:40 +08:00
wanyaoqi
c519e23dbd fix(host): uefi boot firmwaire use pflash options (#14757)
option '-bios OVMF.fd' accidental hang on uefi boot.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-08 22:41:30 +08:00
mhf
31f6abc0dc 修改getYears,getMonth顺序bug 2022-08-08 20:36:53 +08:00
Zexi Li
599617aa20 Merge pull request #14771 from swordqiu/automated-cherry-pick-of-#14767-upstream-release-3.9
Automated cherry pick of #14767: fix(apigateway): edit http redirect code 301 to 302
2022-08-08 19:55:43 +08:00
huangzekeng
5abb23aba9 fix(apigateway): edit http redirect code 301 to 302 2022-08-08 17:46:03 +08:00
Jian Qiu
3f89f26985 fix: opsadmin no log permission (#14760)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-07 11:56:30 +08:00
Zexi Li
bb31d79be0 Merge pull request #14754 from wanyaoqi/automated-cherry-pick-of-#14753-upstream-release-3.9
Automated cherry pick of #14753: fix(region): use virtio replace ide on diskattach
2022-08-05 17:52:22 +08:00
wanyaoqi
ac850697f6 fix(region): use virtio replace ide on diskattach
If disk driver not assign, default use previous disk driver.
Bus windows server can't recognize hot attached 'ide' disk,
use 'virtio' replace 'ide' driver on diskattach.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-05 14:17:44 +08:00
Zexi Li
4a7f8cd30f Merge pull request #14751 from swordqiu/automated-cherry-pick-of-#14750-upstream-release-3.9
Automated cherry pick of #14750: fix: allow dmidecode not working for hostman
2022-08-05 11:41:37 +08:00
Qiu Jian
3aa4be3d66 fix: allow dmidecode not working for hostman 2022-08-05 08:26:08 +08:00
Zexi Li
36eacaf6a2 Merge pull request #14748 from wanyaoqi/automated-cherry-pick-of-#14743-upstream-release-3.9
fix cherry pick of #14743
2022-08-02 11:58:17 +08:00
wanyaoqi
57fe475917 fix cherry pick of #14743
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-02 10:06:57 +08:00
Zexi Li
3cc7a08531 Merge pull request #14733 from ioito/automated-cherry-pick-of-#14732-upstream-release-3.9
Automated cherry pick of #14732: fix(region): 避免缺失department信息导致获取bucket容量失败
2022-08-02 09:51:24 +08:00
Zexi Li
1bfb01368d Merge pull request #14746 from wanyaoqi/automated-cherry-pick-of-#14743-upstream-release-3.9
Automated cherry pick of #14743: fix(region,host): mount fusefs on guest start
2022-08-02 09:49:58 +08:00
Zexi Li
8afa855dfd Merge pull request #14735 from swordqiu/automated-cherry-pick-of-#14734-upstream-release-3.9
Automated cherry pick of #14734: fix: choose host storage without considering storage capacity
2022-08-02 09:47:45 +08:00
Zexi Li
19a817c690 Merge pull request #14738 from swordqiu/automated-cherry-pick-of-#14737-upstream-release-3.9
Automated cherry pick of #14737: fix: climc detach disk ignore keep_disk param
2022-08-02 09:44:48 +08:00
wanyaoqi
2f2c17b666 fix(region,host): mount fusefs on guest start
In case of host shutdown, fusefs will not mount on host reboot.
Add check and mount fusefs on guest start.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-01 13:35:29 +08:00
Zexi Li
936af083db Merge pull request #14744 from zexi/k8s-cluster-domain
fix(region): sync domain_id to kubeserver
2022-08-01 13:08:05 +08:00
Zexi Li
e7f0779150 fix(region): sync domain_id to kubeserver 2022-08-01 10:52:20 +08:00
Qiu Jian
6f6928493f fix: clicm detach disk ignore keep_disk param 2022-07-29 22:39:50 +08:00
Qiu Jian
553ce9952f fix: choose host storage without considering storage capacity 2022-07-29 22:11:37 +08:00
ioito
2fd7030523 fix(region): 避免缺失department信息导致获取bucket容量失败 2022-07-29 20:00:00 +08:00
Zexi Li
375d3a101a Merge pull request #14729 from ioito/automated-cherry-pick-of-#14728-upstream-release-3.9
Automated cherry pick of #14728: fix(region): sync aliyun local disk
2022-07-29 10:12:15 +08:00
Zexi Li
c55f306c7a Merge pull request #14727 from wanyaoqi/automated-cherry-pick-of-#14726-upstream-release-3.9
Automated cherry pick of #14726: fix(host-deployer): mount kvm rootfs
2022-07-29 10:11:45 +08:00
Zexi Li
e2a14e445a Merge pull request #14725 from wanyaoqi/automated-cherry-pick-of-#14724-upstream-release-3.9
Automated cherry pick of #14724: fix(region,host): disk live change storage
2022-07-29 10:11:08 +08:00
Zexi Li
647727c0c2 Merge pull request #14718 from gouqi11/automated-cherry-pick-of-#14713-upstream-release-3.9
Automated cherry pick of #14713: 添加mongodb最大链接数、所用磁盘占比等、、、
2022-07-28 21:19:24 +08:00
Zexi Li
88aa73540c Merge pull request #14713 from gouqi11/add_disk_size
添加mongodb最大链接数、所用磁盘占比等、、、
2022-07-28 21:19:14 +08:00
ioito
e1c42689e5 fix(region): sync aliyun local disk 2022-07-28 20:53:34 +08:00
wanyaoqi
1a041636da fix(host-deployer): mount kvm rootfs
NewAggregate return nil when len(errs) == 0.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 20:50:10 +08:00
wanyaoqi
9d2a0f930b fix(region,host): disk change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 18:35:48 +08:00
Zexi Li
e42610a39b Merge pull request #14721 from zexi/automated-cherry-pick-of-#14720-upstream-release-3.9
Automated cherry pick of #14720: fix(region): baremetal host ping forbidden
2022-07-28 16:38:02 +08:00
Zexi Li
f2bbe28052 fix(region): baremetal host ping forbidden 2022-07-28 14:47:00 +08:00
Jian Qiu
41ab2d5cd6 remove circle cache (#14717)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 22:44:10 +08:00
mhf
4b3bad4811 添加mongodb最大链接数、所用磁盘占比等、、、 2022-07-27 19:08:31 +08:00
mhf
7430561794 添加mongodb最大链接数、所用磁盘占比等、、、 2022-07-27 18:55:34 +08:00
Jian Qiu
9ab8af0fd4 feature: add syslog webservice apis (#14715)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-27 00:19:43 +08:00
wanyaoqi
210fc05e10 chore(build): add memclean pkg required files (#14710)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-26 22:41:12 +08:00
屈轩
301ee9b2af fix(region): vm user data (#14706) 2022-07-26 07:29:08 +08:00
Jian Qiu
843523e210 fix: remove circle ci store artifacts (#14709)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-26 07:28:30 +08:00
Jian Qiu
bc7bb2760b feat(region,host): mem clean after guest exited. (#14704)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:53 +08:00
Jian Qiu
2c697f9b99 fix: logger syslog format update (#14701)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 12:41:01 +08:00
Jian Qiu
889a8fd044 fix: verbose vpcagent sync error (#14699)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 11:22:00 +08:00
Zexi Li
340de4a276 fix(monitor): sync cache when migrated successfully (#14696) 2022-07-23 11:21:25 +08:00
屈轩
ca9b9e89ce fix(region): mark cachedimage deleted (#14693) 2022-07-23 11:20:38 +08:00
Zexi Li
420fdd49b4 Merge pull request #14695 from gouqi11/automated-cherry-pick-of-#14645-upstream-release-3.9
Automated cherry pick of #14645: 对mongodb、磁盘添加IPOS字段
2022-07-22 19:10:30 +08:00
mahongfei
30bfff1576 对mongodb、磁盘添加IPOS字段 2022-07-22 10:59:58 +08:00
Jian Qiu
888a41ce6e fix: minor fixes for creating disks from exisint file (#14687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-20 22:17:02 +08:00
Zexi Li
9f0f01a634 Merge pull request #14689 from ioito/automated-cherry-pick-of-#14688-upstream-release-3.9
Automated cherry pick of #14688: fix(cloudid): 华为云idp sso跳转指定页面
2022-07-20 20:57:13 +08:00
ioito
a050714137 fix(cloudid): 华为云idp sso跳转指定页面 2022-07-20 20:06:10 +08:00
Zexi Li
2da604b8f4 Merge pull request #14681 from ioito/automated-cherry-pick-of-#14680-upstream-release-3.9
Automated cherry pick of #14680: fix(keystone): mobile typo
2022-07-20 11:45:23 +08:00
Zexi Li
589fed1154 Merge pull request #14684 from ioito/automated-cherry-pick-of-#14683-upstream-release-3.9
Automated cherry pick of #14683: fix(monitor): avoid panic
2022-07-20 11:43:15 +08:00
ioito
8adf37fde2 fix(monitor): avoid panic 2022-07-20 10:24:24 +08:00
ioito
f018ee1ef2 fix(keystone): mobile typo 2022-07-20 10:00:53 +08:00
Jian Qiu
c37ee75891 feat(region,host): create disk from existing path (#14679)
Server create disk from existing path.

Usage:

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

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

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-19 20:02:20 +08:00
Zexi Li
d307fa9201 feat(climc): k8s grafana db configuration (#14671) 2022-07-19 20:01:45 +08:00
Zexi Li
0e0d63d933 Merge pull request #14676 from ioito/automated-cherry-pick-of-#14675-upstream-release-3.9
Automated cherry pick of #14675: fix(region): 默认用户注入
2022-07-19 17:09:32 +08:00
ioito
7a2bd37d6c fix(region): 默认用户注入 2022-07-19 16:13:02 +08:00
Zexi Li
837e121c64 Merge pull request #14669 from zexi/ansiblebase-image
fix(ansibleserver): update base image to v1.1.1
2022-07-19 11:29:50 +08:00
Zexi Li
8b9d9864a5 fix(ansibleserver): update base image to v1.1.1 2022-07-19 11:25:07 +08:00
Zexi Li
59bd217d68 Merge pull request #14668 from wanyaoqi/automated-cherry-pick-of-#14658-upstream-release-3.9
Automated cherry pick of #14658: fix(host): fix set cgroup unmarshal cpuset
2022-07-19 00:13:55 +08:00
wanyaoqi
e1723d28fa fix(host): fix set cgroup unmarshal cpuset
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-18 23:13:00 +08:00
屈轩
fcaeee80a1 fix(cloudid): huawei saml provider (#14665) 2022-07-18 23:04:01 +08:00
Zexi Li
e2c4dd2f5f Merge pull request #14662 from ioito/automated-cherry-pick-of-#14661-upstream-release-3.9
Automated cherry pick of #14661: fix(cloudmon): azure rds metric
2022-07-18 21:02:50 +08:00
Zexi Li
f19ffd3a22 Merge pull request #14660 from ioito/automated-cherry-pick-of-#14659-upstream-release-3.9
Automated cherry pick of #14659: fix(region): azure account read only
2022-07-18 21:00:15 +08:00
ioito
2a4e6056d8 fix(cloudmon): azure rds metric 2022-07-18 17:02:06 +08:00
ioito
3dd6e35f85 fix(region): azure account read only 2022-07-18 15:29:24 +08:00
Zexi Li
21b8d55550 Merge pull request #14656 from zexi/update-bm-base-img
update baremetal base image
2022-07-17 13:42:16 +08:00
Zexi Li
14f602e815 update baremetal base image 2022-07-17 13:39:03 +08:00
屈轩
b629bf8741 fix(region): hw eip associate type (#14652) 2022-07-16 13:40:42 +08:00
Jian Qiu
ded05e140c fix: make sure to call virtual functions (#14654)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-16 13:40:19 +08:00
Zexi Li
a597060f3a feat(baremetal): update base image to support lvm (#14649) 2022-07-16 12:26:24 +08:00
Zexi Li
666b54e4f6 Merge pull request #14647 from ioito/automated-cherry-pick-of-#14646-upstream-release-3.9
Automated cherry pick of #14646: fix(common): pretty error msg for invalid joint filter
2022-07-15 14:59:32 +08:00
Zexi Li
7632566a11 Merge pull request #14628 from wanyaoqi/automated-cherry-pick-of-#14627-upstream-release-3.9
Automated cherry pick of #14627: fix(region): disable ping detect task
2022-07-15 10:52:24 +08:00
Zexi Li
688da39980 Merge pull request #14642 from zexi/commonalert-validate
fix(monitor): onecloud notifiers role_ids validation
2022-07-14 21:27:09 +08:00
ioito
2547c57598 fix(common): pretty error msg for invalid joint filter 2022-07-14 20:33:20 +08:00
lzx
c4a03ff57c fix(monitor): onecloud notifiers role_ids validation 2022-07-14 18:09:39 +08:00
Zexi Li
3b55153b75 Merge pull request #14641 from ioito/automated-cherry-pick-of-#14640-upstream-release-3.9
Automated cherry pick of #14640: fix(region): google request retry
2022-07-14 17:41:52 +08:00
ioito
43ca8f3559 fix(region): google request retry 2022-07-14 17:11:57 +08:00
Zexi Li
7a07c44cc3 fix(monitor): balancer source specified host (#14632) 2022-07-14 12:21:27 +08:00
Jian Qiu
41cd602625 fix: not detect arm physical nics (#14636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:52:55 +08:00
Jian Qiu
28570cbbb3 fix: allow set splitable max duration (#14634)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:51:46 +08:00
Zexi Li
e42934dcfb Merge pull request #14619 from ioito/automated-cherry-pick-of-#14618-upstream-release-3.9
Automated cherry pick of #14618: fix(region): apsara storage type
2022-07-13 18:08:15 +08:00
Zexi Li
a67da57ee5 Merge pull request #14623 from zexi/pprof-handler-prefix
feat(appsrv): pprof handler with prefix
2022-07-13 18:05:56 +08:00
Zexi Li
ccd7738984 Merge pull request #14621 from zexi/monitor-notify-scope
feat(monitor): common alert notify by role scope
2022-07-13 18:05:13 +08:00
Zexi Li
eb918704e6 Merge pull request #14630 from ioito/automated-cherry-pick-of-#14620-upstream-release-3.9
Automated cherry pick of #14620: fix(region): 默认安全组规则同步问题修复
2022-07-13 18:00:18 +08:00
Zexi Li
f133f19b9b feat(monitor): common alert notify by role scope 2022-07-13 17:52:27 +08:00
ioito
448a6edb92 fix(region): 默认安全组规则同步问题修复 2022-07-13 14:13:56 +08:00
wanyaoqi
c003ce9598 fix(region): disable ping detect task
disable ping detect host task on health checker enabled

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-13 11:21:27 +08:00
Jian Qiu
d53bb57bf1 fix: do not migrate memory snapshot in rescue mode (#14626)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-13 07:03:01 +08:00
Zexi Li
f317111343 feat(appsrv): pprof handler with prefix 2022-07-12 21:48:16 +08:00
wanyaoqi
8578c12de8 fix(region,host): host health reconnect etcd add timeout (#14616)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 10:38:28 +08:00
ioito
064bf47bbc fix(region): apsara storage type 2022-07-12 10:34:50 +08:00
Jian Qiu
a9f9180613 fix: misc fixes 20220712 (#14615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:01:09 +08:00
屈轩
4b1c69d001 fix(region): huawei prepaid instance params (#14612) 2022-07-12 07:40:56 +08:00
wanyaoqi
896b90f428 feat(host): qemu process add threads name (#14608)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-12 06:59:38 +08:00
Zexi Li
22a9438eb8 feat(log,notify): notification of action log exceed count (#14605) 2022-07-12 06:58:35 +08:00
屈轩
58155a7795 fix(region): apsara bucket acl (#14602) 2022-07-08 21:54:17 +08:00
Jian Qiu
9edc998ea9 fix: recover opslog roles definition (#14604)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 21:53:00 +08:00
Zexi Li
2894795644 fix(cloudcommon): record checksum in list (#14599) 2022-07-08 21:48:16 +08:00
wanyaoqi
3f522540de fix(host): prepare guest config on state paused (#14598)
run onGuestPrelaunch on guest state paused

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-08 21:36:02 +08:00
Zexi Li
7e4886f036 fix(cloudcommon): record checksum in list (#14599) 2022-07-08 20:14:15 +08:00
Zexi Li
f9efcf451f Merge pull request #14588 from zexi/bm-serial
fix(baremetal): best effort to disable/enable serial
2022-07-08 11:03:31 +08:00
Jian Qiu
60ed172549 fix: fail to sync metadata table for splitable (#14596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:38:07 +08:00
Jian Qiu
2ca075a0c6 fix: remote duplicate enable_remote_executor option (#14595)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:37:56 +08:00
Zexi Li
f47c4437d4 Merge pull request #14589 from zexi/baremetal-monitor-no-data
fix(monitor): no metrics of baremetal server
2022-07-08 09:36:16 +08:00
Zexi Li
8cc5f0358c fix(monitor): no metrics of baremetal server 2022-07-07 22:40:52 +08:00
Zexi Li
bb18e41696 fix(baremetal): best effort to disable/enable serial 2022-07-07 22:34:02 +08:00
wanyaoqi
242055a434 fix(region, host): misc fix host health checker (#14582)
- hostagent remove option enable host health, default enabled,
  its rely on etcd endpoint register.
- add option auto migrate on host shutdown.
- fix hostman check network is available.
- use hostname instead hostId as etcd key
- init health checker before host instace init.
- refector host_health checker.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-07 10:35:29 +08:00
Zexi Li
ed8f7cc9c1 Merge pull request #14587 from swordqiu/automated-cherry-pick-of-#14586-upstream-release-3.9
Automated cherry pick of #14586: fix: log admin action logs in separate logs
2022-07-07 09:36:49 +08:00
Qiu Jian
294e281476 fix: log admin action logs in separate logs 2022-07-07 07:46:07 +08:00
Zexi Li
4ade2852d6 Merge pull request #14584 from zexi/receiver-mail-len
fix(notify): adjust email width of receiver to 128
2022-07-06 16:10:43 +08:00
Zexi Li
5ede7c4ad2 fix(notify): adjust email width of receiver to 128 2022-07-06 16:08:44 +08:00
Zexi Li
8f77626cfc fix(host): aarch64 cpu info (#14580) 2022-07-05 16:32:49 +08:00
Jian Qiu
bf93fdfda7 fix: update vendor 20220705 (#14579)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-05 16:15:26 +08:00
Zexi Li
13c90c7005 Merge pull request #14574 from zhasm/automated-cherry-pick-of-#14573-upstream-release-3.9
Automated cherry pick of #14573: fix: add timestamp for temp docker container name during compilation
2022-07-04 16:44:08 +08:00
Zhang Dongliang
3d76f91a0d fix: add timestamp for temp docker container name during compilation 2022-07-04 16:40:29 +08:00
Jian Qiu
12c498f1a9 update vendor for sqlchemy update master 20220703 (#14572)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-03 12:51:32 +08:00
wanyaoqi
50e98e6e0f Automated cherry pick of #14558: feat(region,host): refector guests cgroups (#14565)
* feat(region,host): refector guests cgroups

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

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

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

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

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:01:02 +08:00
屈轩
504335da4f fix(region): 修复同步dns解析不生效问题 (#14561) 2022-07-02 18:00:10 +08:00
屈轩
965e37caa1 fix(region): redis attr and disk iops (#14559) 2022-07-02 17:59:40 +08:00
Jian Qiu
24ff77ba90 update vendor master 20220702 (#14569)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:32:19 +08:00
Jian Qiu
baca3190e0 fix: convert clickhouse connection string with auth info (#14567)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:15:00 +08:00
Jian Qiu
762b858eb4 fix: convert clickhouse sqlstr from v1 to v2 (#14554)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 07:57:20 +08:00
Jian Qiu
e13475aa1a fix: preserve aws root account name (#14552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 22:36:16 +08:00
Jian Qiu
c3a416463f fix: update vendor master 20220701 (#14564)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 21:12:02 +08:00
Jian Qiu
f168e863a0 fix: update vendor 20220701 (#14557)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-01 15:51:03 +08:00
Jian Qiu
eb9449ce91 fix: update vendor master 20220630 (#14550)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-30 21:32:30 +08:00
Zexi Li
493675c2dc Merge pull request #14545 from zexi/host-go-build
fix(host): use alpine-build:3.16.0-go-1.18.2-0
2022-06-30 14:23:23 +08:00
Zexi Li
329f410616 fix(host): use alpine-build:3.16.0-go-1.18.2-0 2022-06-30 14:21:16 +08:00
Zexi Li
49d7be2205 Merge pull request #14543 from swordqiu/automated-cherry-pick-of-#14542-upstream-release-3.9
Automated cherry pick of #14542: fix: typo of clickhouse_db
2022-06-29 11:27:03 +08:00
QIU Jian
220565ff61 fix: typo of clickhouse_db 2022-06-29 09:40:06 +08:00
Zexi Li
5aaede1eb3 fix(monitor): cpu usage score (#14539) 2022-06-28 20:34:03 +08:00
Zexi Li
f5e96aa284 Merge pull request #14536 from zexi/alpine-build-error
fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecl…
2022-06-28 12:13:39 +08:00
Zexi Li
b43e4e1cdf fix(build): fatal: unsafe repository ('/root/go/src/yunion.io/x/onecloud' is owned by someone else) 2022-06-28 11:50:08 +08:00
Jian Qiu
d4fef79e92 Automated cherry pick of #14534: fix: make condition eval compatible with go 1.18 (#14535)
* fix: make condition eval compatible with go 1.18

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

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:30:06 +08:00
Zexi Li
ea275f9bf4 Merge pull request #14531 from ioito/automated-cherry-pick-of-#14530-upstream-release-3.9
Automated cherry pick of #14530: fix(region): azure region city
2022-06-27 11:34:55 +08:00
ioito
d1bfc59704 fix(region): azure region city 2022-06-27 11:00:17 +08:00
Jian Qiu
b28cca1809 Automated cherry pick of #14520: fix: update vendor for clickhouse v2 (#14521)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:53:32 +08:00
Jian Qiu
ec5b60616a fix: upgrade go version to 1.16 for build docker images (#14527)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 02:21:38 +08:00
wanyaoqi
132169a28e host_health: auto migrate on host shutdown (#14524)
Before this patch, host guests will not migrate on host manual shutdown.
This patch from k8s node status check host still on line, if node status
not ready, region will migrate guests on host.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-25 00:05:54 +08:00
Zexi Li
ac52bfbe23 Merge pull request #14518 from zexi/automated-cherry-pick-of-#14517-upstream-release-3.9
Automated cherry pick of #14517: fix(telegraf-raid-plugin): release-1.6.4 image
2022-06-24 01:19:03 +08:00
Zexi Li
0480aaa4bb fix(telegraf-raid-plugin): release-1.6.4 image 2022-06-24 00:36:33 +08:00
Zexi Li
c678ac0a5d Merge pull request #14495 from ioito/automated-cherry-pick-of-#14494-upstream-release-3.9
Automated cherry pick of #14494: fix(region): user data fix
2022-06-23 17:01:28 +08:00
Zexi Li
5345c6054d Merge pull request #14510 from zexi/automated-cherry-pick-of-#14493-upstream-release-3.9
Automated cherry pick of #14493: feat(monitor): VMs of host loadbalance
2022-06-23 17:00:53 +08:00
Zexi Li
220da6f562 Merge pull request #14514 from swordqiu/automated-cherry-pick-of-#14513-upstream-release-3.9
Automated cherry pick of #14513: fix: fail to detect host physical nics
2022-06-23 16:58:17 +08:00
Zexi Li
bee362c54e Merge pull request #14516 from zexi/automated-cherry-pick-of-#14515-upstream-release-3.9
Automated cherry pick of #14515: fix(cloudmon): GetAdminSession by configuration
2022-06-23 16:57:37 +08:00
Zexi Li
a86e9d3d46 fix(cloudmon): GetAdminSession by configuration (#14515) 2022-06-23 16:27:29 +08:00
wanyaoqi
e2a32d853f Automated cherry pick of #14497: fix(region,host): auto migrate on host down (#14512)
* fix(region,host): auto migrate on host down

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

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

* host_health: add check network available

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:32 +08:00
Zexi Li
3184713fef fix(cloudmon): GetAdminSession by configuration 2022-06-23 14:59:13 +08:00
Qiu Jian
2a6414fc19 fix: fail to detect host physical nics 2022-06-23 13:33:53 +08:00
Zexi Li
e9d1dc27cc feat(monitor): VMs of host loadbalance 2022-06-23 00:25:23 +08:00
Jian Qiu
170f9f5621 fix: migrate failure for encrypted local vm (#14509)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-22 23:10:56 +08:00
Jian Qiu
3a5647172f fix: cleanup tap flows and services for deleted guest and host (#14504)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:10:23 +08:00
Jian Qiu
3043a3ca89 fix: imageinfo.OsInfo empty (#14506)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 23:09:29 +08:00
Jian Qiu
07dca8df6e fix: splitable auto_incremental steps should be more than 1 (in case of HA setup) (#14500)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:36:20 +08:00
Jian Qiu
899bf67b4d fix: clickhouse set max idle connections (#14498)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:35:48 +08:00
ioito
85d2985867 fix(region): user data fix 2022-06-21 20:09:01 +08:00
Jian Qiu
bd7677a148 fix(region): not delete groupnetwork when deleting guest (#14489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:29:07 +08:00
Jian Qiu
9d7033e0c8 fix: climc create aksk not return access_key (#14484)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:36 +08:00
Jian Qiu
d325ea4baa fix: nas support create from encrypted snapshot (#14482)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:01 +08:00
屈轩
b219a51f1b feat(region): add tablestore sync (#14473) 2022-06-18 10:18:37 +08:00
Zexi Li
426625653d Merge pull request #14486 from swordqiu/automated-cherry-pick-of-#14480-upstream-release-3.9
Automated cherry pick of #14480: fix: scheduler options not updated by OptionManager
2022-06-17 23:33:03 +08:00
Qiu Jian
3d9960bba3 fix: scheduler options not updated by OptionManager 2022-06-17 23:13:53 +08:00
Jian Qiu
aa9e1d8fc1 fix: tap flow check duplicity (#14479)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 14:15:53 +08:00
Jian Qiu
dccd99d4d0 Automated cherry pick of #14476: Hotfix/qj tap service mirrorfixes2 (#14477)
* fix: no details for net_tap_flows

* fix: tap support bugfixes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-16 02:56:27 +08:00
屈轩
aeb98452e2 fix(region): show more statistic info (#14475) 2022-06-16 02:48:36 +08:00
Zexi Li
9cb0c50249 fix(baremetal): EnableSerialConsole of UOS (#14470) 2022-06-16 02:47:10 +08:00
Jian Qiu
d0fb9f10dd feature: support tap service phase 2 (#14467)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:31 +08:00
Zexi Li
de76acbdb9 feat(baremetal): wrap pxe error (#14462) 2022-06-15 04:46:59 +08:00
Zexi Li
6d75537899 feat(climc): server-list --os-arch (#14464) 2022-06-15 04:46:13 +08:00
Jian Qiu
22bc81f173 feature: tap service support (#14460)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:24:02 +08:00
Jian Qiu
b1c7ffddfd feat(region,host): support multiqueues on vhost network (#14458)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

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

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:39:24 +08:00
屈轩
00eb08c33c fix(cloudmon): aliyun rds metric debug log (#14445) 2022-06-14 02:39:11 +08:00
屈轩
eaa368652f fix(region): custom user data (#14450) 2022-06-14 01:52:08 +08:00
Jian Qiu
64761dbfe9 fix: fail to update billingresourcecheck_tbl (#14457)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 01:50:24 +08:00
屈轩
ae42ac3154 fix(cloudevent): allow disable sync cloudevent (#14447) 2022-06-14 00:46:50 +08:00
屈轩
d4a454eb72 fix(region): eip sync (#14454) 2022-06-14 00:45:52 +08:00
屈轩
d766cedf05 fix(region): aliyun readonly (#14452) 2022-06-14 00:44:42 +08:00
Jian Qiu
2994b2b42f fix: add CreateByInsertOrUpdate flag (#14443)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:34 +08:00
Jian Qiu
e7b4ddd895 fix: keystoen cronman use uninitialized admin token (#14440)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:00 +08:00
Jian Qiu
096019508e fix: splitable add index should modify base spec (#14435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-12 20:34:48 +08:00
Zexi Li
99b6737578 Merge pull request #14432 from swordqiu/automated-cherry-pick-of-#14431-upstream-release-3.9
Automated cherry pick of #14431: fix: move hostoptions of qemu_version and host_cpu_passthrough to base options
2022-06-11 19:35:26 +08:00
Qiu Jian
8c1c7877f7 fix: move hostoptions of qemu_version and host_cpu_passthrough to base options 2022-06-11 19:25:45 +08:00
Jian Qiu
fa85a5aa18 fix: manage_ntp_configuration not effective (#14427)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:57 +08:00
Jian Qiu
be035c6146 update vendor 20220611 (#14430)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-11 19:16:29 +08:00
Zexi Li
0481d4ac0c fix(baremetal): storcli set sysblock rotational of SSD logical volume (#14420) 2022-06-10 18:22:01 +08:00
Zexi Li
85e67cc4ac Merge pull request #14422 from zexi/automated-cherry-pick-of-#14421-upstream-release-3.9
Automated cherry pick of #14421: fix(host): Telegraf 1.19.2 conf
2022-06-09 15:12:16 +08:00
Zexi Li
bf1c0164c6 fix(host): Telegraf 1.19.2 conf 2022-06-09 12:57:01 +08:00
Zexi Li
971970b16d Merge pull request #14418 from zexi/sched-uefi-image
fix(scheduler): check if chached image supports UEFI
2022-06-08 16:57:41 +08:00
Zexi Li
fc6d86e6e1 fix(scheduler): check if chached image supports UEFI 2022-06-08 16:45:15 +08:00
Zexi Li
a6b4618efc Merge pull request #14416 from ioito/automated-cherry-pick-of-#14415-upstream-release-3.9
Automated cherry pick of #14415: fix(host): ceph pool size
2022-06-07 21:53:35 +08:00
ioito
00a82535e7 fix(host): ceph pool size 2022-06-07 17:09:30 +08:00
Zexi Li
1790362ca3 Merge pull request #14414 from ioito/automated-cherry-pick-of-#14413-upstream-release-3.9
Automated cherry pick of #14413: fix(climc): support proxy for climc
2022-06-07 07:57:16 +08:00
Zexi Li
eddee946f5 Merge pull request #14411 from ioito/automated-cherry-pick-of-#14410-upstream-release-3.9
Automated cherry pick of #14410: fix(region): api doc replace tab to space
2022-06-06 14:37:52 +08:00
ioito
1cae93c1e8 fix(climc): support proxy for climc 2022-06-06 14:19:50 +08:00
ioito
a3d9932efb fix(region): api doc replace tab to space 2022-06-06 11:31:35 +08:00
Zexi Li
2d255b3bdb Merge pull request #14409 from swordqiu/automated-cherry-pick-of-#14406-upstream-release-3.9
Automated cherry pick of #14406: feature: support apigatewa type of endpoint
2022-06-05 22:27:28 +08:00
Qiu Jian
ce92c90ed2 feature: support apigatewa type of endpoint 2022-06-05 19:01:06 +08:00
Jian Qiu
bce7d6b2ca update vendor 3.9 20220605 (#14408)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-05 18:36:40 +08:00
Jian Qiu
2a9c2dc3d6 fix(region):资源统计bug,已使用资源统计包含裸金属资源,总数未包含,导致资源使用率统计异常。 guestUsage统计中排除掉裸金属资源,hypervisors.Delete(api.HYPERVISOR_CONTAINER, api.HYPERVISOR_BAREMETAL) (#14402)
Co-authored-by: chenxiaochen <chenxiaochen@bonc.com.cn>
2022-06-05 18:10:45 +08:00
Jian Qiu
70dad62096 update vendor 20220604 3.9 (#14400)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 23:41:43 +08:00
Jian Qiu
300fb781cb feature: fetch options of an application via api (#14397)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:20 +08:00
Zexi Li
3388c86694 fix(host): openvswitch service name on UOS (#14393) 2022-06-03 01:50:16 +08:00
屈轩
dcb7401801 fix(region): eip allocate (#14390) 2022-06-03 01:49:48 +08:00
Jian Qiu
63fe172906 feat(host,region): suport live change disk storage (#14363)
Guest start drive mirror job to copy full disk to target, after drive
mirror job ready, guest reopen target disk to replace source disk.
Qemu must support block reopen image feature.

Supported storage: local, ceph

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

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-03 01:48:04 +08:00
Zexi Li
2aa4785cc5 Merge pull request #14388 from ioito/automated-cherry-pick-of-#14387-upstream-release-3.9
Automated cherry pick of #14387: fix(region): apsara bucket limit size
2022-06-02 16:31:59 +08:00
Zexi Li
f9eeca1cd7 Merge pull request #14386 from ioito/automated-cherry-pick-of-#14385-upstream-release-3.9
Automated cherry pick of #14385: optimize(region): add more image dist
2022-06-02 16:31:28 +08:00
Zexi Li
00313d8e15 Merge pull request #14384 from ioito/automated-cherry-pick-of-#14383-upstream-release-3.9
Automated cherry pick of #14383: fix(region): api doc
2022-06-02 16:25:00 +08:00
ioito
7c1d0c483a optimize(region): add more image dist 2022-06-02 16:20:57 +08:00
ioito
0fe882fe1c fix(region): apsara bucket limit size 2022-06-02 16:07:50 +08:00
ioito
3d7343e18d fix(region): api doc 2022-06-02 15:40:03 +08:00
Zexi Li
c1dae4b25d Merge pull request #14373 from ioito/automated-cherry-pick-of-#14372-upstream-release-3.9
Automated cherry pick of #14372: fix(region): 避免加锁导致设置标签超时
2022-06-02 10:20:47 +08:00
Zexi Li
c34aee5443 Merge pull request #14378 from ioito/automated-cherry-pick-of-#14377-upstream-release-3.9
Automated cherry pick of #14377: fix(region): disk save task
2022-06-02 10:20:09 +08:00
Zexi Li
7fb88d0dfa Merge pull request #14381 from ioito/automated-cherry-pick-of-#14380-upstream-release-3.9
Automated cherry pick of #14380: fix(region): clean vm misc options
2022-06-02 10:18:59 +08:00
ioito
2ea4b86ee3 fix(region): clean vm misc options 2022-06-02 10:12:08 +08:00
Zexi Li
3bb788e673 Merge pull request #14376 from swordqiu/automated-cherry-pick-of-#14375-upstream-release-3.9
Automated cherry pick of #14375: fix: remove virtio-blk num-queues param
2022-06-01 23:49:02 +08:00
ioito
62dfe45b7a fix(region): disk save task 2022-06-01 15:48:04 +08:00
Qiu Jian
0cd6c6b658 fix: remove virtio-blk num-queues param 2022-06-01 12:28:01 +08:00
ioito
0e0c513542 fix(region): 避免加锁导致设置标签超时 2022-06-01 12:01:39 +08:00
Zexi Li
0ddc9792da Merge pull request #14365 from ioito/automated-cherry-pick-of-#14364-upstream-release-3.9
Automated cherry pick of #14364: fix(region): aliyun bucket access url
2022-06-01 09:39:35 +08:00
Zexi Li
48ce3f43a1 Merge pull request #14368 from swordqiu/hotfix/qj-disable-disk-io-multiqueue
Hotfix/qj disable disk io multiqueue
2022-06-01 09:38:26 +08:00
Qiu Jian
7644641143 add options to set disk driver and cachemode 2022-05-31 20:55:53 +08:00
Qiu Jian
53311dbd03 fix: disable disk multi-queue 2022-05-31 20:45:07 +08:00
Zexi Li
b0d6318ace Merge pull request #14362 from swordqiu/automated-cherry-pick-of-#14359-upstream-release-3.9
Automated cherry pick of #14359: fix: wrong hypervisor in kvm vnc info
2022-05-31 11:04:03 +08:00
ioito
28b414c282 fix(region): aliyun bucket access url 2022-05-31 10:50:35 +08:00
Jian Qiu
c39fda77c5 fix: more detailed log for server hange_config (#14360)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-31 09:43:01 +08:00
Qiu Jian
ca381f1ce4 fix: wrong hypervisor in kvm vnc info 2022-05-31 01:09:44 +08:00
Zexi Li
f8b7b92f38 Merge pull request #14356 from swordqiu/automated-cherry-pick-of-#14344-upstream-release-3.9
Automated cherry pick of #14344: fix: allow set pagination order
2022-05-30 23:51:44 +08:00
Zexi Li
f13d04b229 Merge pull request #14349 from ioito/automated-cherry-pick-of-#14348-upstream-release-3.9
Automated cherry pick of #14348: fix(region): public cloud user data
2022-05-30 23:48:23 +08:00
Zexi Li
dfd0b32a5f Merge pull request #14355 from swordqiu/hotfix/qj-update-vendor-3.9-20220530
update vendor 3.9 20220530
2022-05-30 23:44:43 +08:00
Zexi Li
77f37ea0c2 Merge pull request #14352 from ioito/automated-cherry-pick-of-#14351-upstream-release-3.9
Automated cherry pick of #14351: fix(region): aliyun disk external id
2022-05-30 23:43:35 +08:00
Qiu Jian
1a043c7958 fix: allow set pagination order 2022-05-30 23:41:54 +08:00
Zexi Li
3e803aed1a Merge pull request #14346 from swordqiu/automated-cherry-pick-of-#14345-upstream-release-3.9
Automated cherry pick of #14345: fix: recover host status if maintain an empty host
2022-05-30 23:41:07 +08:00
Qiu Jian
ffb86dfca2 update vendor 3.9 20220530 2022-05-30 21:30:57 +08:00
ioito
936771a7eb fix(region): aliyun disk external id 2022-05-30 16:03:31 +08:00
ioito
3087bf44e6 fix(region): public cloud user data 2022-05-30 14:53:39 +08:00
Qiu Jian
3e9c83e7f1 fix: recover host status if maintain an empty host 2022-05-30 14:42:22 +08:00
Jian Qiu
9c88fe5bb6 fix: backup pack missing encrypt_key_id (#14337)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:58 +08:00
Jian Qiu
c1bac685a1 fix: server associate eip check (#14340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:21 +08:00
Jian Qiu
13cab82e50 fix: hide server rtc_change event log (#14335)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-28 09:07:34 +08:00
Zexi Li
f72699d691 Merge pull request #14331 from ioito/automated-cherry-pick-of-#14330-upstream-release-3.9
Automated cherry pick of #14330: fix(region): huawei lb eip sync
2022-05-27 02:30:12 +08:00
Zexi Li
06f2f0d553 Merge pull request #14329 from ioito/automated-cherry-pick-of-#14328-upstream-release-3.9
Automated cherry pick of #14328: fix(region): apsara bucket limit
2022-05-27 02:29:38 +08:00
ioito
0c84e1cc02 fix(region): huawei lb eip sync 2022-05-26 19:57:10 +08:00
ioito
b5a0f62841 fix(region): apsara bucket limit 2022-05-26 19:18:28 +08:00
Zexi Li
1622eb010b Merge pull request #14319 from swordqiu/automated-cherry-pick-of-#14318-upstream-release-3.9
Automated cherry pick of #14318: fix: make server is_daemon an admin attribute
2022-05-26 12:13:44 +08:00
Qiu Jian
268f7e8436 fix: make server is_daemon an admin attribute 2022-05-26 08:14:53 +08:00
Zexi Li
a29f9e782d Merge pull request #14313 from ioito/automated-cherry-pick-of-#14312-upstream-release-3.9
Automated cherry pick of #14312: fix(region): aliyun oss https
2022-05-25 18:41:15 +08:00
ioito
6075b8464c fix(region): aliyun oss https 2022-05-25 16:54:08 +08:00
Zexi Li
c1cc7672b6 Merge pull request #14309 from ioito/automated-cherry-pick-of-#14308-upstream-release-3.9
Automated cherry pick of #14308: fix(region): azure disk status
2022-05-25 14:44:54 +08:00
Zexi Li
bc91525232 Merge pull request #14311 from ioito/automated-cherry-pick-of-#14310-upstream-release-3.9
Automated cherry pick of #14310: fix(region): eip update
2022-05-25 14:44:35 +08:00
ioito
6733570353 fix(region): eip update 2022-05-25 12:17:57 +08:00
ioito
b3fd54e964 fix(region): azure disk status 2022-05-25 11:45:13 +08:00
Zexi Li
396db51c31 Merge pull request #14306 from ioito/automated-cherry-pick-of-#14300-upstream-release-3.9
Automated cherry pick of #14300: fix(region): eip associate type
2022-05-25 11:16:27 +08:00
ioito
3da67e2055 fix(region): eip associate type 2022-05-25 10:17:42 +08:00
Zexi Li
34dd8e27bf Merge pull request #14296 from ioito/automated-cherry-pick-of-#14295-upstream-release-3.9
Automated cherry pick of #14295: fix(region): account probe lock
2022-05-25 10:17:20 +08:00
Zexi Li
e901a62ea4 Merge pull request #14294 from zexi/automated-cherry-pick-of-#14293-upstream-release-3.9
Automated cherry pick of #14293: feat(climc): feature configuration
2022-05-25 10:09:38 +08:00
Zexi Li
be5eb40de8 Merge pull request #14305 from swordqiu/automated-cherry-pick-of-#14304-upstream-release-3.9
Automated cherry pick of #14304: feature: daemon server support
2022-05-25 10:03:44 +08:00
Zexi Li
63d6d325e2 feat(climc): feature configuration 2022-05-25 10:01:48 +08:00
Qiu Jian
48350323f8 feature: daemon server support 2022-05-25 08:41:13 +08:00
Zexi Li
eee02b8a68 Merge pull request #14302 from ioito/automated-cherry-pick-of-#14301-upstream-release-3.9
Automated cherry pick of #14301: fix(region): huawei object temp url
2022-05-24 18:27:12 +08:00
ioito
faecd33aee fix(region): huawei object temp url 2022-05-24 16:27:27 +08:00
Zexi Li
9d81b63ccf Merge pull request #14298 from ioito/automated-cherry-pick-of-#14297-upstream-release-3.9
Automated cherry pick of #14297: fix(region): avoid panic with qcloud sync
2022-05-24 14:17:01 +08:00
ioito
e4a5a30ed4 fix(region): avoid panic with qcloud sync 2022-05-24 11:38:46 +08:00
ioito
ba6182db98 fix(region): account probe lock 2022-05-24 11:30:57 +08:00
Zexi Li
bc7be4a64e Merge pull request #14292 from ioito/automated-cherry-pick-of-#14291-upstream-release-3.9
Automated cherry pick of #14291: fix(region): input apsara organization id
2022-05-23 19:27:36 +08:00
ioito
124751949e fix(region): input apsara organization id 2022-05-23 18:50:57 +08:00
Zexi Li
02348c46f3 Merge pull request #14289 from ioito/automated-cherry-pick-of-#14288-upstream-release-3.9
Automated cherry pick of #14288: fix(host): optimized disk resize
2022-05-23 14:51:53 +08:00
ioito
443a7a5923 fix(host): optimized disk resize 2022-05-23 11:02:26 +08:00
Zexi Li
e2856c35f4 Merge pull request #14284 from swordqiu/automated-cherry-pick-of-#14283-upstream-release-3.9
Automated cherry pick of #14283: fix: fail to recogonize vmdk image
2022-05-22 22:01:52 +08:00
Zexi Li
8d083a57c4 Merge pull request #14281 from swordqiu/automated-cherry-pick-of-#14280-upstream-release-3.9
Automated cherry pick of #14280: fix: force invalidate cached image early
2022-05-22 22:01:05 +08:00
屈轩
4985d69a7f fix(host-deployer): ignore root fs mount error (#14286) 2022-05-22 17:19:03 +08:00
Qiu Jian
7574722120 fix: fail to recogonize vmdk image 2022-05-21 17:58:44 +08:00
Qiu Jian
c0cb70d35b fix: force invalidate cached image early 2022-05-21 02:55:38 +08:00
Zexi Li
2098ca1d00 Merge pull request #14279 from ioito/automated-cherry-pick-of-#14278-upstream-release-3.9
Automated cherry pick of #14278: fix(cloudmon): report influxdb data
2022-05-20 19:13:32 +08:00
ioito
07ef57f823 fix(monitor): vm_disk userd_percent 2022-05-20 18:35:48 +08:00
ioito
37a6982f5c fix(cloudmon): report influxdb data 2022-05-20 18:35:48 +08:00
Zexi Li
0d4b9009f8 Merge pull request #14276 from swordqiu/automated-cherry-pick-of-#14275-upstream-release-3.9
Automated cherry pick of #14275: fix: fail to update isolated_devices of type USB
2022-05-19 10:03:31 +08:00
Qiu Jian
7b523ae500 fix: fail to update isolated_devices of type USB 2022-05-19 02:04:21 +08:00
屈轩
084f92996f fix(region): add log for set expire time (#14267) 2022-05-19 01:22:43 +08:00
Zexi Li
0e5257138f fix(region): GPU device type update supported (#14270) 2022-05-19 01:21:43 +08:00
Zexi Li
fa1644134e Merge pull request #14273 from ioito/automated-cherry-pick-of-#14272-upstream-release-3.9
Automated cherry pick of #14272: fix(region): check is gpu by server sku
2022-05-18 23:11:43 +08:00
ioito
93eaf16d13 fix(region): check is gpu by server sku 2022-05-18 21:24:27 +08:00
屈轩
3803cd603b fix(common): data resp (#14265) 2022-05-17 16:37:04 +08:00
Zexi Li
1bfe1d83cd Merge pull request #14263 from swordqiu/automated-cherry-pick-of-#14262-upstream-release-3.9
Automated cherry pick of #14262: fix: kvm resume should be treated as start
2022-05-16 10:50:05 +08:00
Zexi Li
dfe0d9edc1 Merge pull request #14261 from swordqiu/automated-cherry-pick-of-#14260-upstream-release-3.9
Automated cherry pick of #14260: fix: adjust logger events
2022-05-16 10:34:32 +08:00
Qiu Jian
d2dede18f2 fix: kvm resume should be treated as start 2022-05-16 02:20:10 +08:00
Qiu Jian
2602fea916 fix: adjust logger events 2022-05-16 01:53:38 +08:00
Jian Qiu
e74f6ec59e feat(host): create disk from encrypted snapshot (#14258)
support create disk from encrypted snapshot, new disk encrypt info must
same with snapshot, and should used with libqemuio2.12.

area: host,host-image,fetcherfs
Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-05-16 00:34:17 +08:00
Jian Qiu
2c5601dcd5 fix: host ping piggyback storage info (#14259)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-16 00:34:05 +08:00
Zexi Li
df2cf4222b Merge pull request #14254 from swordqiu/automated-cherry-pick-of-#14249-upstream-release-3.9
Automated cherry pick of #14249: fix(apigateway): 修复oidc认证中,返回的id_token为空
2022-05-15 15:08:55 +08:00
huangzekeng
0d51c655c9 fix(apigateway): 修复oidc认证中,返回的id_token为空
修复odic认证返回的id_token为空
2022-05-13 21:52:11 +08:00
Zexi Li
65699fd86e Merge pull request #14248 from zexi/automated-cherry-pick-of-#14246-upstream-release-3.9
Automated cherry pick of #14246: feat(climc): SERVERIDS of devtool batch apply
2022-05-13 17:35:48 +08:00
屈轩
23322273b7 fix(reigon): ecloud sign time (#14251) 2022-05-13 17:28:26 +08:00
Zexi Li
5cae5af87e Merge pull request #14241 from ioito/automated-cherry-pick-of-#14240-upstream-release-3.9
Automated cherry pick of #14240: fix(region): secgroup guest cnt
2022-05-13 15:23:33 +08:00
Zexi Li
4e08d1f911 feat(climc): SERVERIDS of devtool batch apply 2022-05-13 13:41:52 +08:00
Zexi Li
65326923bf Merge pull request #14244 from swordqiu/automated-cherry-pick-of-#14243-upstream-release-3.9
Automated cherry pick of #14243: fix: set procutils execution LANG env
2022-05-13 10:05:12 +08:00
Qiu Jian
aaad00bfd0 fix: set procutils execution LANG env 2022-05-12 19:03:53 +08:00
ioito
65125c8dcf fix(region): secgroup guest cnt 2022-05-12 18:03:33 +08:00
Zexi Li
1227bd28b0 fix(region): get spec of baremetal in ready status (#14234) 2022-05-11 08:29:50 +08:00
Zexi Li
91e5679fe0 fix(cloudcommon): update splittable checksum (#14231) 2022-05-11 08:29:12 +08:00
Zexi Li
5bc9bb75e0 Merge pull request #14239 from ioito/automated-cherry-pick-of-#14238-upstream-release-3.9
Automated cherry pick of #14238: fix(region): json name
2022-05-10 16:59:34 +08:00
ioito
a1ae4f6b84 fix(region): json name 2022-05-10 16:56:56 +08:00
Zexi Li
55dfe366fb Merge pull request #14237 from ioito/automated-cherry-pick-of-#14236-upstream-release-3.9
Automated cherry pick of #14236: fix(region): return storage info with topology
2022-05-10 14:02:09 +08:00
ioito
3dd861eccb fix(region): return storage info with topology 2022-05-10 13:55:45 +08:00
Zexi Li
f828be614a Merge pull request #14226 from ioito/automated-cherry-pick-of-#14225-upstream-release-3.9
Automated cherry pick of #14225: fix(regoon): search rds by ip addr
2022-05-10 09:18:30 +08:00
Zexi Li
c1544714c8 Merge pull request #14230 from swordqiu/automated-cherry-pick-of-#14229-upstream-release-3.9
Automated cherry pick of #14229: fix: adjust opsadmin and secadmin policy
2022-05-10 09:18:06 +08:00
Zexi Li
6f8b39e87b Merge pull request #14228 from swordqiu/automated-cherry-pick-of-#14227-upstream-release-3.9
Automated cherry pick of #14227: fix: host sync wire class metadata
2022-05-10 09:17:43 +08:00
Qiu Jian
cfc52229f9 fix: adjust opsadmin and secadmin policy 2022-05-10 00:18:52 +08:00
Qiu Jian
e98e58c5f0 fix: host sync wire class metadata 2022-05-09 23:04:24 +08:00
ioito
24064b5c06 fix(regoon): search rds by ip addr 2022-05-09 22:18:25 +08:00
Jian Qiu
202c3b3f9f fix: adjust syslog format (#14224)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-09 08:01:20 +08:00
Jian Qiu
633b30326d fix: ignore no partition error for initial deployment (#14221)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:51 +08:00
Jian Qiu
27b7c6b617 fix: adjust secadmin and opsadmin policies (#14219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:16 +08:00
屈轩
ebf671af8f fix(region): remove metadata (#14215) 2022-05-07 20:35:16 +08:00
yunion-ci-robot
ebb4bd87b4 Merge pull request #14211 from zexi/server-usb-filter
Server usb filter
2022-05-07 19:34:25 +08:00
Zexi Li
6763716c52 fix(region): server usb filter 2022-05-07 19:21:49 +08:00
Jian Qiu
71d6f9a448 fix: adjust opsadmin policy (#14208)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-07 01:19:43 +08:00
Zexi Li
4f6d1e5422 fix(build): model api gen updated (#14206) 2022-05-06 23:22:27 +08:00
Zexi Li
361941aee7 Merge pull request #14204 from ioito/automated-cherry-pick-of-#14203-upstream-release-3.9
Automated cherry pick of #14203: fix(region): rds ip addr
2022-05-05 20:10:01 +08:00
Zexi Li
e6a5b3588f Merge pull request #14202 from ioito/automated-cherry-pick-of-#14201-upstream-release-3.9
Automated cherry pick of #14201: fix(region): apsara bucket capacity
2022-05-05 20:09:13 +08:00
ioito
9241c500fc fix(region): apsara bucket capacity 2022-05-05 18:44:35 +08:00
ioito
6d5fc745f0 fix(region): rds ip addr 2022-05-05 18:42:21 +08:00
Jian Qiu
c22f333b00 fix: backup recover failure (#14200)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:28:17 +08:00
Jian Qiu
4928252b53 fix: disk reset encrypted disks (#14196)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:59 +08:00
Jian Qiu
194ef77ee8 fix: add more deetails for sub-snapshot/sub-backup/sub-images (#14198)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:08:28 +08:00
Jian Qiu
1c0dd752e2 fix: live migrate encrypted server (#14193)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 01:19:33 +08:00
Jian Qiu
2e653f48ce Automated cherry pick of #14191: Feature/qj encryption support snapshot backup (#14192)
* feature: encryption support snapshot and backup

* fix: encrypted snapshot create

* fix issues with backup encryption

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-03 11:40:12 +08:00
Jian Qiu
bad3b197ba fix: save guest image with empty partition fail (#14190)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 16:29:39 +08:00
Jian Qiu
cd19a9bb04 fix: deploy encrypted disk (#14188)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:07:15 +08:00
Jian Qiu
082f153b49 fix: add image set class metadata climc (#14186)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:51 +08:00
Jian Qiu
f76a6a3de9 fix: adaptively enable NetworkManager (#14184)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:28 +08:00
Zexi Li
4e88127181 fix(baremetal): try clear jbod devices before create (#14178) 2022-05-01 21:35:53 +08:00
Jian Qiu
facfe4a096 fix: clean temp server when migrate prepare dest fail (#14175)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-29 08:11:03 +08:00
Jian Qiu
7c222fc636 fix(host): fix get disk pci addr (#14172)
Fix hot-plug virtio disk failed.
after add usb and rng deivce, available pci address should update.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-29 02:46:09 +08:00
Rain Zheng
0643d0cda6 Automated cherry pick of #14062: Windows monitor agent (#14063)
* feat: add pywinrm to ansibleserver-base

* feat(devtool,ansibleserver): support install monitor agent to windows
2022-04-29 00:38:39 +08:00
Zexi Li
aa5db88d3d Merge pull request #14166 from ioito/automated-cherry-pick-of-#14165-upstream-release-3.9
Automated cherry pick of #14165: fix(region): qcloud account read only
2022-04-28 20:46:37 +08:00
Zexi Li
81079fcf62 Merge pull request #14170 from ioito/automated-cherry-pick-of-#14169-upstream-release-3.9
Automated cherry pick of #14169: fix(region): remove account sync pre check
2022-04-28 20:43:49 +08:00
ioito
04b9dd9489 fix(region): remove account sync pre check 2022-04-28 20:41:14 +08:00
Jian Qiu
9e28180c01 fix: cleanup s3 mount directory before glance start (#14168)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 16:50:09 +08:00
ioito
96270ef1c4 fix(region): qcloud account read only 2022-04-28 14:46:15 +08:00
Zexi Li
3db70ae86d Merge pull request #14161 from swordqiu/automated-cherry-pick-of-#14160-upstream-release-3.9
Automated cherry pick of #14160: fix: logclient i18n for backup ops
2022-04-28 09:45:57 +08:00
Zexi Li
bafca6e2fc Merge pull request #14157 from swordqiu/automated-cherry-pick-of-#14156-upstream-release-3.9
Automated cherry pick of #14156: fix: apigateway sends encrypt_passwd to indicate passwd encryption
2022-04-28 09:45:46 +08:00
Zexi Li
54ef5cf130 Merge pull request #14163 from swordqiu/automated-cherry-pick-of-#14162-upstream-release-3.9
Automated cherry pick of #14162: fix: guest vdi spec override image spec
2022-04-28 09:44:51 +08:00
Zexi Li
c08ba48863 fix(baremetal): disable use perccli temporarily (#14145) 2022-04-28 09:42:29 +08:00
Jian Qiu
d258d9b6c7 fix: mount disk readonly (#14164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-28 09:34:50 +08:00
Qiu Jian
4cc1bd9eec fix: guest vdi spec override image spec 2022-04-27 20:58:19 +08:00
Qiu Jian
6f9d26b603 fix: logclient i18n for backup ops 2022-04-27 20:44:04 +08:00
Zexi Li
14bbe5f43c Merge pull request #14159 from swordqiu/automated-cherry-pick-of-#14158-upstream-release-3.9
Automated cherry pick of #14158: fix: glance convert vmdk fail
2022-04-27 14:33:51 +08:00
Qiu Jian
41308b1884 fix: glance convert vmdk fail 2022-04-27 14:05:50 +08:00
Qiu Jian
7fd32926ce fix: apigateway sends encrypt_passwd to indicate passwd encryption 2022-04-27 13:05:17 +08:00
Zexi Li
f1cb546b76 Merge pull request #14138 from ioito/automated-cherry-pick-of-#14135-upstream-release-3.9
Automated cherry pick of #14135: fix(region): account probe time
2022-04-27 08:58:33 +08:00
Zexi Li
49c6a911a8 Merge pull request #14137 from ioito/automated-cherry-pick-of-#14136-upstream-release-3.9
Automated cherry pick of #14136: fix(region): ipv6 gateway purge
2022-04-26 10:24:43 +08:00
Zexi Li
f24187ec41 Merge pull request #14140 from ioito/automated-cherry-pick-of-#14139-upstream-release-3.9
Automated cherry pick of #14139: fix(region): openstack vm nic
2022-04-26 10:21:33 +08:00
Zexi Li
94515b7493 fix(baremetal): bond network not config and chage not found (#14148) 2022-04-26 02:49:54 +08:00
Zexi Li
5f91fbd917 Merge pull request #14142 from swordqiu/automated-cherry-pick-of-#14141-upstream-release-3.9
Automated cherry pick of #14141: fix: fail to delete storages with fake-deleted snapshots
2022-04-26 02:25:49 +08:00
Qiu Jian
077f7ab32a fix: fail to delete storages with fake-deleted snapshots 2022-04-25 22:44:44 +08:00
ioito
ab65271ecd fix(region): openstack vm nic 2022-04-25 16:59:22 +08:00
ioito
7204f92e6d fix(region): account probe time 2022-04-25 14:35:48 +08:00
ioito
e7f3ea9e2e fix(region): ipv6 gateway purge 2022-04-25 14:30:43 +08:00
Zexi Li
d92f702ee6 Merge pull request #14134 from ioito/automated-cherry-pick-of-#14133-upstream-release-3.9
Automated cherry pick of #14133: fix(region): hw request api
2022-04-24 19:21:55 +08:00
Zexi Li
b5b8a50f08 Merge pull request #14131 from ioito/automated-cherry-pick-of-#14130-upstream-release-3.9
Automated cherry pick of #14130: fix(region): vdi check
2022-04-24 19:20:25 +08:00
ioito
dcad355462 fix(region): hw request api 2022-04-24 17:54:38 +08:00
ioito
7b3f3ce656 fix(region): vdi check 2022-04-24 17:12:30 +08:00
Zexi Li
b1a86f59a1 Merge pull request #14125 from ioito/automated-cherry-pick-of-#14120-upstream-release-3.9
Automated cherry pick of #14120: fix(host): mount disk error
2022-04-24 15:05:25 +08:00
Zexi Li
b4db10a6d4 Merge pull request #14127 from zexi/automated-cherry-pick-of-#14123-upstream-release-3.9
Automated cherry pick of #14123: fix(region): make access_ip of host updatable
2022-04-24 14:29:35 +08:00
Zexi Li
24974a0495 fix(region): make access_ip of host updatable 2022-04-24 11:52:57 +08:00
ioito
33b3a63aa3 fix(host): mount disk error 2022-04-24 11:48:19 +08:00
Zexi Li
0f380935e1 Merge pull request #14122 from zexi/automated-cherry-pick-of-#14121-upstream-release-3.9
Automated cherry pick of #14121: fix(webconsole): record command input and ps1
2022-04-24 10:26:21 +08:00
Zexi Li
06e54c9988 fix(webconsole): record command input and ps1 2022-04-23 23:27:23 +08:00
Jian Qiu
2ad8d75482 feature: uos guest support (#14118)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:22:19 +08:00
Jian Qiu
8ad5da9eb2 fix: imags peripherals missing id (#14115)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-23 19:21:44 +08:00
Zexi Li
4cb9a859bf fix(webconsole): ssh command log with login user (#14113) 2022-04-23 19:21:16 +08:00
Zexi Li
eab2d5f862 Merge pull request #14110 from zexi/automated-cherry-pick-of-#14072-upstream-release-3.9
Automated cherry pick of #14072: feat(webconsole): ssh command log
2022-04-22 14:33:43 +08:00
Zexi Li
8ebcc6439b feat(webconsole): ssh command log 2022-04-22 14:22:59 +08:00
Zexi Li
be6e52fae9 Merge pull request #14106 from ioito/automated-cherry-pick-of-#14105-upstream-release-3.9
Automated cherry pick of #14105: fix(region): avoid panic
2022-04-22 14:20:28 +08:00
Zexi Li
e54ace048b Merge pull request #14109 from ioito/automated-cherry-pick-of-#14108-upstream-release-3.9
Automated cherry pick of #14108: fix(region): secgroup created time
2022-04-22 14:19:08 +08:00
ioito
2186835816 fix(region): secgroup created time 2022-04-22 14:07:31 +08:00
Zexi Li
15e5b9308d Merge pull request #14103 from zhaoxiangchun/automated-cherry-pick-of-#14102-upstream-release-3.9
Automated cherry pick of #14102: fix(cloudmon): add apsarea diskusage metric
2022-04-22 11:41:18 +08:00
ioito
deef04747f fix(region): avoid panic 2022-04-22 11:02:51 +08:00
zhaoxiangchun
bde8f46c77 fix(cloudmon): add apsarea diskusage metric 2022-04-21 20:25:48 +08:00
Zexi Li
bd527d2ce3 Merge pull request #14101 from ioito/automated-cherry-pick-of-#14100-upstream-release-3.9
Automated cherry pick of #14100: fix(region): sync resource created time
2022-04-21 20:08:14 +08:00
ioito
9a06a0ae37 fix(region): sync resource created time 2022-04-21 19:47:40 +08:00
Zexi Li
d56774b68f Merge pull request #14094 from ioito/automated-cherry-pick-of-#14093-upstream-release-3.9
Automated cherry pick of #14093: fix(region): avoid panic
2022-04-21 19:06:21 +08:00
Zexi Li
84bb52da9b Merge pull request #14097 from ioito/automated-cherry-pick-of-#14096-upstream-release-3.9
Automated cherry pick of #14096: fix(region): sync vm name
2022-04-21 19:05:44 +08:00
Zexi Li
cd9b5e1986 Merge pull request #14099 from ioito/automated-cherry-pick-of-#14098-upstream-release-3.9
Automated cherry pick of #14098: feat(region): ipv6 gateway sync for apsara
2022-04-21 19:04:35 +08:00
ioito
05d38e8f8a feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:35 +08:00
ioito
616f981535 fix(region): avoid panic 2022-04-21 17:09:45 +08:00
ioito
956a78245a fix(region): sync vm name 2022-04-21 17:04:01 +08:00
Zexi Li
aed5a2f9e6 Merge pull request #14092 from ioito/automated-cherry-pick-of-#14091-upstream-release-3.9
Automated cherry pick of #14091: fix(region): apsara oss to asapi
2022-04-20 21:57:25 +08:00
ioito
e7af9354a8 fix(region): apsara oss to asapi 2022-04-20 20:31:30 +08:00
Jian Qiu
102198fa81 fix: always recycle disk files (#14067)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:43:06 +08:00
Jian Qiu
d7d406a43f fix: adjust opsadmin permission (#14087)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:28:21 +08:00
Jian Qiu
6198ad0003 fix: arm support spice (#14090)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 16:27:59 +08:00
Jian Qiu
ae7bf39ada fix: cached image fail to refresh (#14082)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:02:28 +08:00
Jian Qiu
6b47369d36 fix: make notify template example field nullable (#14084)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-20 15:01:16 +08:00
Zexi Li
e33c3e60a2 Merge pull request #14077 from ioito/automated-cherry-pick-of-#14076-upstream-release-3.9
Automated cherry pick of #14076: fix(region): account sync
2022-04-19 19:43:39 +08:00
Zexi Li
99d66a42e7 Merge pull request #14080 from ioito/automated-cherry-pick-of-#14079-upstream-release-3.9
Automated cherry pick of #14079: fix(region): refactor huawei eip api
2022-04-19 19:43:17 +08:00
ioito
7e98279e2d fix(region): refactor huawei eip api 2022-04-19 18:53:24 +08:00
ioito
df5c5b0630 fix(region): account sync 2022-04-19 16:48:15 +08:00
Zexi Li
40c318af79 Merge pull request #14070 from ioito/automated-cherry-pick-of-#14069-upstream-release-3.9
Automated cherry pick of #14069: fix(region): enable and disable log for provider regions
2022-04-19 16:25:17 +08:00
Zexi Li
5c18ed6eb2 Merge pull request #14075 from ioito/automated-cherry-pick-of-#14074-upstream-release-3.9
Automated cherry pick of #14074: fix(region): apsara credential update
2022-04-19 16:21:31 +08:00
ioito
ba1ae72d80 fix(region): apsara credential update 2022-04-19 16:09:18 +08:00
ioito
729994ab4f fix(region): enable and disable log for provider regions 2022-04-19 11:44:39 +08:00
Zexi Li
8759cc1b07 Merge pull request #14064 from ioito/automated-cherry-pick-of-#14036-upstream-release-3.9
Automated cherry pick of #14036: fix(region): huawei lb api
2022-04-18 18:32:38 +08:00
ioito
e3c290c5ee fix(region): huawei lb api 2022-04-18 18:01:04 +08:00
Zexi Li
0412a519e4 Merge pull request #14056 from swordqiu/automated-cherry-pick-of-#14055-upstream-release-3.9
Automated cherry pick of #14055: feature: user reset credential
2022-04-18 16:29:50 +08:00
Zexi Li
2b399c40d5 Merge pull request #14061 from zhasm/automated-cherry-pick-of-#14060-upstream-release-3.9
Automated cherry pick of #14060: fix(notify): 通知模板更新
2022-04-18 15:57:54 +08:00
Zhang Dongliang
e34a8422b8 fix(notify): 通知模板更新 2022-04-18 15:49:15 +08:00
Zexi Li
72114cf293 Merge pull request #14059 from ioito/automated-cherry-pick-of-#14057-upstream-release-3.9
Automated cherry pick of #14057: fix(apigateway): log export timeout
2022-04-18 14:39:36 +08:00
ioito
89c76341ea fix(apigateway): log export timeout 2022-04-18 14:24:29 +08:00
Qiu Jian
a7f176cc42 feature: user reset credential 2022-04-18 00:18:35 +08:00
Jian Qiu
78af815471 fix: user project lists with metadata (#14054)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-18 00:06:11 +08:00
Jian Qiu
0fb04f2e22 fix: extend guest disk attributes (#14051)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:42 +08:00
Jian Qiu
a80340d8ac fix: allow opsadmin view logs (#14049)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:08:17 +08:00
Jian Qiu
3ac9208175 fix: guest backup bufixes (#14047)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-17 23:07:50 +08:00
Zexi Li
54f403a80d Merge pull request #14031 from ioito/automated-cherry-pick-of-#14030-upstream-release-3.9
Automated cherry pick of #14030: fix(region): qcloud bandwidth and networkinterface
2022-04-17 12:39:15 +08:00
Zexi Li
5ba1145c46 Merge pull request #14012 from ioito/automated-cherry-pick-of-#14011-upstream-release-3.9
Automated cherry pick of #14011: feat(region): external project create
2022-04-17 00:35:30 +08:00
Zexi Li
6e94f8ea37 Merge pull request #14034 from ioito/automated-cherry-pick-of-#14033-upstream-release-3.9
Automated cherry pick of #14033: fix(region): azure created time sync
2022-04-17 00:33:58 +08:00
Zexi Li
cb420ba554 Merge pull request #13859 from zhaoxiangchun/automated-cherry-pick-of-#13858-upstream-release-3.9
Automated cherry pick of #13858: feat(cloudmon): support bingo cloud metric pull
2022-04-17 00:32:47 +08:00
Jian Qiu
3ee0a77e7b fix: log auth fail event (#14044)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 18:35:20 +08:00
Jian Qiu
f874969910 fix: guest save image inherit projects of guest (#14042)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-16 09:34:46 +08:00
Zexi Li
f5c2ac5304 Merge pull request #14040 from swordqiu/automated-cherry-pick-of-#14039-upstream-release-3.9
Automated cherry pick of #14039: fix permission 20220416
2022-04-16 03:56:08 +08:00
Zexi Li
408cc8618b Merge pull request #14038 from swordqiu/automated-cherry-pick-of-#14037-upstream-release-3.9
Automated cherry pick of #14037: fix: sync IDP domain default project
2022-04-16 03:37:13 +08:00
Qiu Jian
39d0433190 fix permission 20220416 2022-04-16 02:33:40 +08:00
Qiu Jian
98ecbe4d19 fix: sync IDP domain default project 2022-04-16 00:24:29 +08:00
ioito
05efa456d3 fix(region): azure created time sync 2022-04-15 17:36:25 +08:00
ioito
3c153a189d fix(region): qcloud bandwidth and networkinterface 2022-04-15 16:11:04 +08:00
Zexi Li
e99ff7becb Merge pull request #14026 from ioito/automated-cherry-pick-of-#14025-upstream-release-3.9
Automated cherry pick of #14025: fix(region): apsara resource groups
2022-04-15 11:35:16 +08:00
Zexi Li
74603b4322 Merge pull request #14028 from ioito/automated-cherry-pick-of-#14027-upstream-release-3.9
Automated cherry pick of #14027: fix(climc): eip change bw cli
2022-04-15 11:33:59 +08:00
ioito
3fafd34406 fix(climc): eip change bw cli 2022-04-15 11:14:45 +08:00
Zexi Li
a92fc2ce99 Merge pull request #14024 from ioito/automated-cherry-pick-of-#14023-upstream-release-3.9
Automated cherry pick of #14023: fix(logger): action log export timeout
2022-04-14 20:41:03 +08:00
ioito
df00af8a5f fix(region): apsara resource groups 2022-04-14 20:38:39 +08:00
ioito
e387f8dbca fix(logger): action log export timeout 2022-04-14 14:42:29 +08:00
zhaoxiangchun
d9c0afc613 feat(cloudmon): support bingo cloud metric pull 2022-04-14 12:46:22 +08:00
Jian Qiu
7fbd233102 fix: encrypt by user id (#14022)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 07:55:07 +08:00
Jian Qiu
3c62aaa161 fix: log roles support utf8 (#14018)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-14 00:50:34 +08:00
Jian Qiu
67e3c9afbd fix: use user owner key to create user (#14016)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 23:16:04 +08:00
屈轩
ccb7e96095 fix(keystone): remove notify (#14014) 2022-04-13 23:15:24 +08:00
ioito
df0a76ece7 feat(region): external project create 2022-04-13 17:11:13 +08:00
Zexi Li
9c236c4803 Merge pull request #14008 from ioito/automated-cherry-pick-of-#14007-upstream-release-3.9
Automated cherry pick of #14007: fix(region): avoid export duplicate tag key
2022-04-13 16:21:00 +08:00
Zexi Li
269236e25f Merge pull request #14006 from rainzm/automated-cherry-pick-of-#14005-upstream-release-3.9
Automated cherry pick of #14005: feat(notify): add topic_type in notification details
2022-04-13 16:20:31 +08:00
ioito
c60c1c1aad fix(region): avoid export duplicate tag key 2022-04-13 16:09:10 +08:00
rainzm
1efc554ed5 feat(notify): add topic_type in notification details 2022-04-13 16:03:33 +08:00
Zexi Li
97b061e96d Merge pull request #14003 from ioito/automated-cherry-pick-of-#14002-upstream-release-3.9
Automated cherry pick of #14002: fix(region): host order by commit rate
2022-04-13 12:18:52 +08:00
ioito
ddb8d743fe fix(region): host order by commit rate 2022-04-13 11:29:17 +08:00
Jian Qiu
2d778cb80f fix: backup bugifxes: 1. not inherit projects of disk. 2. class not inherit by disk 3. fail to creat guest image (#14001)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-13 01:39:45 +08:00
Zexi Li
01cf767c33 Merge pull request #13981 from zexi/isp-mul-disks
fix(region): multi disk created after instance snapshot
2022-04-13 00:55:56 +08:00
Zexi Li
5ab684ea52 Merge pull request #13999 from swordqiu/automated-cherry-pick-of-#13998-upstream-release-3.9
Automated cherry pick of #13998: fix: adjust admin default permissions
2022-04-13 00:55:32 +08:00
Zexi Li
b34a607f46 Merge pull request #13997 from swordqiu/automated-cherry-pick-of-#13996-upstream-release-3.9
Automated cherry pick of #13996: fix: migrate set down time
2022-04-13 00:55:03 +08:00
Qiu Jian
3dd40047cf fix: adjust admin default permissions 2022-04-12 21:03:19 +08:00
Qiu Jian
4d05122d78 fix: migrate set down time 2022-04-12 20:25:05 +08:00
Zexi Li
ea79ab321c Merge pull request #13993 from ioito/automated-cherry-pick-of-#13987-upstream-release-3.9
Automated cherry pick of #13987: fix(region): huawei api
2022-04-12 16:45:28 +08:00
ioito
25ce1c4633 fix(region): huawei api 2022-04-12 16:01:39 +08:00
Zexi Li
4661d0b602 Merge pull request #13990 from ioito/automated-cherry-pick-of-#13989-upstream-release-3.9
Automated cherry pick of #13989: fix(region): avoid panic
2022-04-12 15:05:59 +08:00
ioito
a3ec1b4509 fix(region): avoid panic 2022-04-12 14:56:38 +08:00
Zexi Li
9cc827b9c0 Merge pull request #13980 from swordqiu/automated-cherry-pick-of-#13979-upstream-release-3.9
Automated cherry pick of #13979: fix: change qemu default version to 4.2.0
2022-04-12 14:38:12 +08:00
Zexi Li
ee74a8e8f4 Merge pull request #13986 from rainzm/automated-cherry-pick-of-#13985-upstream-release-3.9
Automated cherry pick of #13985: feat(notify): filter notification by topic_type
2022-04-12 14:37:49 +08:00
rainzm
115b91e681 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 14:23:53 +08:00
Zexi Li
60e13cc618 fix(region): multi disk created after instance snapshot 2022-04-12 13:53:26 +08:00
Jian Qiu
80848c95d7 fix: more detailed privilege hint (#13976)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 12:10:29 +08:00
Qiu Jian
56d76b4682 fix: change qemu default version to 4.2.0 2022-04-12 12:08:06 +08:00
Jian Qiu
559c3ae1d2 fix: encrypt server cannot attach disk with conflict encrypt key (#13974)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:12:26 +08:00
Jian Qiu
b3e2e9856b fix: disk create input preserve encrypt info (#13972)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:11:45 +08:00
Jian Qiu
1985bced03 fix: schduler not sync cached image class metadata (#13970)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-12 10:09:47 +08:00
Zexi Li
d161e5b6a8 Merge pull request #13968 from swordqiu/automated-cherry-pick-of-#13967-upstream-release-3.9
Automated cherry pick of #13967: fix: create table missing indexes
2022-04-11 22:59:27 +08:00
Qiu Jian
3af22d20b5 fix: create table missing indexes 2022-04-11 22:13:07 +08:00
Zexi Li
8880a44bfd Merge pull request #13963 from ioito/automated-cherry-pick-of-#13962-upstream-release-3.9
Automated cherry pick of #13962: fix(region): aws all regions
2022-04-11 20:46:21 +08:00
ioito
ab52a8fcac fix(region): aws all regions 2022-04-11 20:01:08 +08:00
Zexi Li
cccb5182b0 Merge pull request #13961 from zexi/automated-cherry-pick-of-#13960-upstream-release-3.9
Automated cherry pick of #13960: feat(region): kvm qemu version and cmdline info
2022-04-11 18:57:00 +08:00
Zexi Li
5915a2a3bb Merge pull request #13959 from ioito/automated-cherry-pick-of-#13958-upstream-release-3.9
Automated cherry pick of #13958: fix(region): cloud lake of permissions
2022-04-11 18:56:08 +08:00
Zexi Li
4239057b1d Merge pull request #13955 from zhaoxiangchun/automated-cherry-pick-of-#13954-upstream-release-3.9
Automated cherry pick of #13954: fix(region): app replace backgroud ctx
2022-04-11 18:37:58 +08:00
Zexi Li
92c5fd463f feat(region): kvm qemu version and cmdline info 2022-04-11 18:24:28 +08:00
ioito
97f03c87aa fix(region): cloud lake of permissions 2022-04-11 16:48:20 +08:00
Jian Qiu
3f34b2cbb3 fix: disable lock ctx check (#13957)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:56:14 +08:00
zhaoxiangchun
9c7b3a47a5 fix(region): app replace backgroud ctx 2022-04-11 14:52:05 +08:00
Jian Qiu
4d7496418b fix: support create encrypt key on create (#13951)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 14:41:24 +08:00
Zexi Li
12ae5f2f18 Merge pull request #13944 from ioito/automated-cherry-pick-of-#13940-upstream-release-3.9
Automated cherry pick of #13940: fix(region): google label encode
2022-04-11 09:53:09 +08:00
Zexi Li
0a434f7f75 Merge pull request #13953 from swordqiu/automated-cherry-pick-of-#13952-upstream-release-3.9
Automated cherry pick of #13952: fix: fangde desktop
2022-04-11 09:51:30 +08:00
Qiu Jian
38b01d5fc3 fix: fangde desktop 2022-04-11 09:32:47 +08:00
Jian Qiu
981715c0a0 fix: keystone issues: 1. add no_policy_violation_check (#13949)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-11 06:39:20 +08:00
Zexi Li
d4ac70645a Merge pull request #13942 from rainzm/automated-cherry-pick-of-#13941-upstream-release-3.9
Automated cherry pick of #13941: fix(region): exclude the host whose config or config.network is nil
2022-04-09 14:32:07 +08:00
Zexi Li
0244f5ce37 Merge pull request #13947 from ioito/automated-cherry-pick-of-#13946-upstream-release-3.9
Automated cherry pick of #13946: fix(region): read only fix
2022-04-08 20:11:21 +08:00
ioito
85ba3dad83 fix(region): read only fix 2022-04-08 19:51:15 +08:00
ioito
c226a684bf fix(region): google label encode 2022-04-08 17:54:49 +08:00
rainzm
b7d63ef3d1 fix(region): exclude the host whose config or config.network is nil 2022-04-08 17:49:50 +08:00
Zexi Li
d0f5ff6d3e Merge pull request #13939 from zexi/automated-cherry-pick-of-#13938-upstream-release-3.9
Automated cherry pick of #13938: fix(notify): lock panic when InitializeData
2022-04-08 15:20:25 +08:00
Zexi Li
85ff236532 fix(notify): lock panic when InitializeData 2022-04-08 15:11:16 +08:00
Zexi Li
f6cbc261d7 Merge pull request #13932 from ioito/automated-cherry-pick-of-#13922-upstream-release-3.9
Automated cherry pick of #13922: fix(region): account read only
2022-04-08 09:58:31 +08:00
Zexi Li
3f567afcc5 Merge pull request #13937 from zexi/automated-cherry-pick-of-#13936-upstream-release-3.9
Automated cherry pick of #13936: feat(build): add onecloud-base:v3.15.4-0 image build file
2022-04-08 09:41:01 +08:00
Zexi Li
7178f2a92d feat(build): add onecloud-base:v3.15.4-0 image build file 2022-04-08 09:39:23 +08:00
屈轩
17d232ce6a fix(region): qcloud client no need fetch bucket (#13921) 2022-04-08 01:36:01 +08:00
Jian Qiu
77eea49817 host: fix isImportFromLibvirt (#13934)
should check __origin_id not getOriginId

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-04-08 01:30:15 +08:00
Zexi Li
5f26d49b3f Merge pull request #13902 from swordqiu/automated-cherry-pick-of-#13901-upstream-release-3.9
Automated cherry pick of #13901: fix: scheduler add missing context
2022-04-07 22:07:03 +08:00
ioito
944c62a933 fix(region): account read only 2022-04-07 19:28:23 +08:00
Zexi Li
3999950ee7 Merge pull request #13929 from ioito/automated-cherry-pick-of-#13928-upstream-release-3.9
Automated cherry pick of #13928: fix(region): aws storage type sync
2022-04-07 17:46:20 +08:00
ioito
d1bc8e0460 fix(region): aws storage type sync 2022-04-07 17:31:02 +08:00
Zexi Li
2cb105944f Merge pull request #13926 from ioito/automated-cherry-pick-of-#13923-upstream-release-3.9
Automated cherry pick of #13923: fix(region): cloudpods misc fix
2022-04-07 17:31:01 +08:00
Zexi Li
95d2be18a4 Merge pull request #13925 from ioito/automated-cherry-pick-of-#13924-upstream-release-3.9
Automated cherry pick of #13924: fix(region): ctx lock panic
2022-04-07 17:29:36 +08:00
ioito
38626f5f3e fix(region): ctx lock panic 2022-04-07 15:00:02 +08:00
ioito
0ff06fbb90 fix(region): cloudpods misc fix 2022-04-06 16:38:51 +08:00
Zexi Li
a0bbbf3c0f Merge pull request #13911 from swordqiu/automated-cherry-pick-of-#13910-upstream-release-3.9
Automated cherry pick of #13910: fix: migrate set downtime
2022-04-06 12:49:10 +08:00
Zexi Li
2be3d2f1de Merge pull request #13889 from swordqiu/automated-cherry-pick-of-#13888-upstream-release-3.9
Automated cherry pick of #13888: fix: panic when locking on Background or TODO context
2022-04-06 12:20:32 +08:00
Jian Qiu
14e1b8ee41 feature: event log add severity and kind fields (#13920)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 06:57:58 +08:00
Jian Qiu
4d3299b892 fix: logout event log (#13917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-06 01:30:44 +08:00
Jian Qiu
dde16447dd fix: typos in predefined policy yaml (#13915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:15:37 +08:00
Jian Qiu
48d3c1138b fix: chage parameter not compatible with fangde OS (#13908)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:14:46 +08:00
Jian Qiu
5fbf6eaf47 fix: save image for aarch64 os show os_arch of x86_64 (#13904)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:12:44 +08:00
Jian Qiu
bd5df1445c fix: update vendor for sqlchemy (#13913)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 16:11:53 +08:00
Qiu Jian
62fb3da5f9 fix: migrate set downtime 2022-04-05 15:17:23 +08:00
Qiu Jian
ec66231da5 fix: scheduler add missing context 2022-04-05 14:22:33 +08:00
屈轩
5378e21231 fix(region): sync aliyun remark to cloud (#13847) 2022-04-05 11:22:05 +08:00
屈轩
ed809bc3b9 fix(region): optimized disk-list (#13875) 2022-04-05 11:20:27 +08:00
Jian Qiu
23364d81c3 fix: cloudaccounts getMoreDetails should pass ctx (#13885)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:38 +08:00
Jian Qiu
3d2b7c796f fix: better handling of network not avaiable on host error (#13891)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:18:03 +08:00
Jian Qiu
5a8b0c95f1 fix: make temporary snapshots invisible (#13882)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:16:06 +08:00
Jian Qiu
ab0c8b6c20 fix: opsadmin should have project list and get permission (#13895)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:15:15 +08:00
Jian Qiu
fe929274eb Automated cherry pick of #13896: fix: host inherit class metadata from wire (#13897)
* fix: host inherit class metadata from wire

* deal with host delete exit

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:37 +08:00
Jian Qiu
8c7dee6f90 fix: make test format errors (#13899)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:08 +08:00
Qiu Jian
932d067334 fix: panic when locking on Background or TODO context 2022-04-05 00:13:40 +08:00
Zexi Li
2ae4863b09 Merge pull request #13864 from ioito/automated-cherry-pick-of-#13863-upstream-release-3.9
Automated cherry pick of #13863: fix(apigateway): convert net err to service error
2022-04-03 10:54:09 +08:00
Zexi Li
097b7b3b1b Merge pull request #13878 from rainzm/automated-cherry-pick-of-#13877-upstream-release-3.9
Automated cherry pick of #13877: fix(notify): enable websocket notifications defaultly for event notify
2022-04-02 18:59:33 +08:00
rainzm
a408a7634f fix(notify): enable websocket notifications defaultly for event notify 2022-04-02 18:51:53 +08:00
Zexi Li
e611ecfaa6 Merge pull request #13866 from rainzm/automated-cherry-pick-of-#13865-upstream-release-3.9
Automated cherry pick of #13865: Security notify
2022-04-02 18:11:59 +08:00
Zexi Li
9e5e3a2ecf Merge pull request #13873 from rainzm/automated-cherry-pick-of-#13872-upstream-release-3.9
Automated cherry pick of #13872: feat(region): add reason when syning status for backup storage
2022-04-02 18:02:51 +08:00
Zexi Li
7420715087 Merge pull request #13870 from ioito/automated-cherry-pick-of-#13869-upstream-release-3.9
Automated cherry pick of #13869: fix(region): vm public ip sync
2022-04-02 14:55:59 +08:00
rainzm
1b95d8d6ad feat(region): add reason when syning status for backup storage 2022-04-02 14:36:04 +08:00
Zexi Li
6b7cb73243 Merge pull request #13840 from ioito/automated-cherry-pick-of-#13839-upstream-release-3.9
Automated cherry pick of #13839: fix(region): qcloud use new dns api
2022-04-02 14:14:56 +08:00
ioito
6e42103d5e fix(region): qcloud use new dns api 2022-04-02 14:09:08 +08:00
ioito
75e0dc0a16 fix(region): vm public ip sync 2022-04-02 11:54:28 +08:00
Zexi Li
eec313cc98 Merge pull request #13868 from swordqiu/automated-cherry-pick-of-#13867-upstream-release-3.9
Automated cherry pick of #13867: fix: support qemu backing file with json format
2022-04-01 23:07:02 +08:00
Zexi Li
1872eb87ab Merge pull request #13861 from zhaoxiangchun/automated-cherry-pick-of-#13860-upstream-release-3.9
Automated cherry pick of #13860: fix(cloudmon): fix gcp metric pull
2022-04-01 23:03:59 +08:00
Qiu Jian
7ce2e36867 fix: support qemu backing file with json format 2022-04-01 21:10:44 +08:00
Zexi Li
300a7079fb Merge pull request #13849 from ioito/automated-cherry-pick-of-#13848-upstream-release-3.9
Automated cherry pick of #13848: fix(region): show account lake of permission
2022-04-01 19:48:56 +08:00
rainzm
590dd27358 feat(climc): add notify-event-send 2022-04-01 19:03:41 +08:00
rainzm
2c348ae64c feat(keystone): call event notify when user is locked 2022-04-01 19:03:41 +08:00
rainzm
e50cc0207d feat(host): notify when snapshot memory checksum test fail 2022-04-01 19:03:41 +08:00
rainzm
9e6248edd3 feat(image): notify when image checksum test fail 2022-04-01 19:03:41 +08:00
rainzm
18cb197a9e feat(cloudcommon): notify when the checksum of db table record test fail
1. remove pkg/cloudcommon/db dependency on pkg/cloudcommon
2. init db notifier in pkg/cloudcommon.InitDB
3. move interface 'IStartable' to pkg/util/logclient package which alone references above interface
2022-04-01 19:03:41 +08:00
rainzm
640c4a286a feat(cloudcommon): add SystemEventNotify and SystemExceptionNotifyWithResult 2022-04-01 19:03:41 +08:00
rainzm
1b662edde5 feat(notify): add topic 'checksum test faile' and 'user lock' 2022-04-01 19:03:41 +08:00
ioito
b9502a5c63 fix(apigateway): convert net err to service error 2022-04-01 15:40:02 +08:00
zhaoxiangchun
a16f80f153 fix(cloudmon): fix gcp metric pull
1. external_id format
2022-04-01 14:51:41 +08:00
Jian Qiu
b59cfa64f0 fix: fail to snapshot and clone due to mismatch class metadata (#13857)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:19:14 +08:00
Jian Qiu
0d0d1feaf5 fix: cloudshell use dynamic keystone endpoint (#13854)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-01 13:14:56 +08:00
Zexi Li
053257b34d Merge pull request #13851 from zexi/fix-arm-ovmf
fix(host): arm ovmf not injected
2022-04-01 12:28:57 +08:00
Zexi Li
7bf1531c66 fix(host): arm ovmf not injected 2022-04-01 11:51:46 +08:00
ioito
fdf2af3e23 fix(region): show account lake of permission 2022-04-01 11:43:05 +08:00
Jian Qiu
4651414f9d fix: aarch64 ensure UEFI (#13845)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 18:16:07 +08:00
Zexi Li
d739ac9278 Merge pull request #13843 from swordqiu/automated-cherry-pick-of-#13842-upstream-release-3.9
Automated cherry pick of #13842: fix: region should be refered by consts.GetRegion()
2022-03-31 17:01:57 +08:00
Qiu Jian
4bc8425073 fix: region should be refered by consts.GetRegion() 2022-03-31 16:59:28 +08:00
屈轩
042ab4eb02 fix(apigateway): export timeout (#13828) 2022-03-31 13:51:12 +08:00
Jian Qiu
1378c8a358 feature: add webconsole enabled user the default webconsole policy (#13838)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:53 +08:00
Jian Qiu
60ba75ca0d fix: image may missing os_arch and checksum (#13836)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:19 +08:00
Zexi Li
c1c870c2fa Merge pull request #13825 from ioito/automated-cherry-pick-of-#13824-upstream-release-3.9
Automated cherry pick of #13824: fix(region): curl vender update
2022-03-30 16:56:04 +08:00
Zexi Li
97e3fe16ca Merge pull request #13832 from rainzm/automated-cherry-pick-of-#13831-upstream-release-3.9
Automated cherry pick of #13831: fix(glance): check image after initializing s3
2022-03-30 16:53:17 +08:00
rainzm
10a3662a0e fix(glance): check image after initializing s3 2022-03-30 16:03:06 +08:00
ioito
810823080e fix(region): curl vender update 2022-03-30 11:05:20 +08:00
Zexi Li
5d9f026d5f Merge pull request #13822 from swordqiu/automated-cherry-pick-of-#13821-upstream-release-3.9
Automated cherry pick of #13821: fix: remote file not move
2022-03-30 10:14:37 +08:00
Zexi Li
f74793fc2c fix(telegraf-raid-plugin): zombies recycle (#13816) 2022-03-30 07:40:47 +08:00
Qiu Jian
db58d52881 fix: remote file not move 2022-03-30 07:36:01 +08:00
Zexi Li
15f6e65c97 Merge pull request #13814 from ioito/automated-cherry-pick-of-#13813-upstream-release-3.9
Automated cherry pick of #13813: fix(apigateway): report data for cloudpods
2022-03-29 22:38:11 +08:00
ioito
cdceda5876 fix(apigateway): report data for cloudpods 2022-03-29 18:18:58 +08:00
Zexi Li
adf4b78566 Merge pull request #13812 from swordqiu/automated-cherry-pick-of-#13811-upstream-release-3.9
Automated cherry pick of #13811: fix: change arm default machine virt
2022-03-29 13:27:38 +08:00
Qiu Jian
c48171a6b3 fix: change arm default machine virt 2022-03-29 12:45:34 +08:00
Zexi Li
44c3495e8e Merge pull request #13809 from ioito/automated-cherry-pick-of-#13808-upstream-release-3.9
Automated cherry pick of #13808: fix(region): cloudprovider distinct
2022-03-29 11:53:48 +08:00
Zexi Li
3b237fda58 Merge pull request #13804 from ioito/automated-cherry-pick-of-#13803-upstream-release-3.9
Automated cherry pick of #13803: fix(region): order by host storage
2022-03-29 11:53:16 +08:00
ioito
b7bedb5830 fix(region): cloudprovider distinct 2022-03-29 09:51:59 +08:00
Zexi Li
1e17d1d038 feat(keystone): config option db record checksum (#13807) 2022-03-28 12:40:41 +08:00
ioito
8920f31c67 fix(region): order by host storage 2022-03-28 11:33:13 +08:00
Jian Qiu
a93bf7aa58 fix: predefined ops/sec/adt manager roles (#13802)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 22:49:36 +08:00
Jian Qiu
971fb2336a fix: add GetEncryptKeysRpc (#13800)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-27 14:49:12 +08:00
Jian Qiu
be6ebcc5f9 region/host: fix reset ceph root disk after rebuild root (#13797)
Ceph storage disk rebuild root will rename origin disk to backing
disk, so we need use backing disk reset snapshot.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-27 11:34:46 +08:00
Zexi Li
a509068e52 fix(logger): SActionlog should return ActionLogManager (#13796) 2022-03-27 11:01:40 +08:00
Zexi Li
63d6da7540 feat(vendor): update vendor for master (#13793) 2022-03-27 11:01:12 +08:00
Zexi Li
1c315881a1 Merge pull request #13791 from zexi/automated-cherry-pick-of-#13788-upstream-release-3.9
Automated cherry pick of #13788: update ghw dependency
2022-03-26 19:05:30 +08:00
Tai Groot
24fdff215f update vendor modules 2022-03-26 19:05:00 +08:00
Tai Groot
709535c1bb update ghw dependency 2022-03-26 19:05:00 +08:00
Zexi Li
58d1eda84e Merge pull request #13781 from zhaoxiangchun/automated-cherry-pick-of-#13780-upstream-release-3.9
Automated cherry pick of #13780: fix(cloudmon): cloudmon fix
2022-03-26 19:01:16 +08:00
Zexi Li
e0dc71164c Merge pull request #13790 from swordqiu/automated-cherry-pick-of-#13789-upstream-release-3.9
Automated cherry pick of #13789: fix: aes decrypt failure
2022-03-26 19:00:52 +08:00
Zexi Li
941122e6fc Merge pull request #13786 from swordqiu/automated-cherry-pick-of-#13785-upstream-release-3.9
Automated cherry pick of #13785: fix: instance group with classic network cannot associate with eip
2022-03-26 19:00:21 +08:00
Qiu Jian
8fd80418d2 fix: aes decrypt failure 2022-03-26 15:19:58 +08:00
Jian Qiu
abc7643e65 feature: qemu encryption support (#13776)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:56 +08:00
Qiu Jian
74e1d3c296 fix: instance group with classic network cannot associate with eip 2022-03-26 03:26:38 +08:00
Zexi Li
4dd3c499fd fix(host-deployer): chage for exists cloudroot user (#13783) 2022-03-25 20:10:21 +08:00
zhaoxiangchun
aa3655122f fix(cloudmon): cloudmon fix
1. 增加account tag
2. aws region pull metric add lock
2022-03-25 16:31:26 +08:00
Zexi Li
c511f30bde Merge pull request #13778 from ioito/automated-cherry-pick-of-#13777-upstream-release-3.9
Automated cherry pick of #13777: fix(region): cpu float to int
2022-03-25 11:45:24 +08:00
ioito
2354905bed fix(region): cpu float to int 2022-03-25 11:30:50 +08:00
Zexi Li
7bcbdda962 Merge pull request #13773 from ioito/automated-cherry-pick-of-#13772-upstream-release-3.9
Automated cherry pick of #13772: fix(region): bingo node attr
2022-03-24 21:25:27 +08:00
Zexi Li
1eab1c3734 Merge pull request #13770 from ioito/automated-cherry-pick-of-#13769-upstream-release-3.9
Automated cherry pick of #13769: fix(region): cloudpods misc fix
2022-03-24 21:24:32 +08:00
Zexi Li
104bec269d Merge pull request #13775 from ioito/automated-cherry-pick-of-#13774-upstream-release-3.9
Automated cherry pick of #13774: fix(region): add seclib aes
2022-03-24 18:53:59 +08:00
ioito
d70ccebf95 fix(region): add seclib aes 2022-03-24 18:09:04 +08:00
ioito
1010efd110 fix(region): bingo node attr 2022-03-24 17:05:34 +08:00
ioito
0909ee914e fix(region): cloudpods misc fix 2022-03-24 14:33:51 +08:00
Zexi Li
163502760d Merge pull request #13768 from swordqiu/automated-cherry-pick-of-#13767-upstream-release-3.9
Automated cherry pick of #13767: fix: host deploy chmod after mkdir to ensure permission
2022-03-23 23:45:25 +08:00
Zexi Li
1a22106a4b Merge pull request #13754 from ioito/automated-cherry-pick-of-#13753-upstream-release-3.9
Automated cherry pick of #13753: fix(region): clean glance image cache
2022-03-23 23:44:23 +08:00
Qiu Jian
19d8d579e4 fix: host deploy chmod after mkdir to ensure permission 2022-03-23 20:37:22 +08:00
Zexi Li
21d72cb847 Merge pull request #13765 from rainzm/automated-cherry-pick-of-#13764-upstream-release-3.9
Automated cherry pick of #13764: fix(region): release lock in SyncAppEnvironments
2022-03-23 16:41:20 +08:00
rainzm
023e1d55fa fix(region): release lock in SyncAppEnvironments 2022-03-23 16:32:52 +08:00
Zexi Li
da24a2ac0d Merge pull request #13763 from ioito/automated-cherry-pick-of-#13762-upstream-release-3.9
Automated cherry pick of #13762: fix(region): bingocloud sync fix
2022-03-23 15:58:29 +08:00
ioito
9256fbb8b0 fix(region): bingocloud sync fix 2022-03-23 15:47:29 +08:00
Zexi Li
686052e22d Merge pull request #13750 from ioito/automated-cherry-pick-of-#13749-upstream-release-3.9
Automated cherry pick of #13749: fix(region): vmware no need secgroup
2022-03-23 11:00:13 +08:00
Zexi Li
11ebed2582 Merge pull request #13758 from ioito/automated-cherry-pick-of-#13757-upstream-release-3.9
Automated cherry pick of #13757: fix(region): host sched tag sync
2022-03-23 00:28:14 +08:00
Zexi Li
fc845fee4d Merge pull request #13761 from swordqiu/automated-cherry-pick-of-#13760-upstream-release-3.9
Automated cherry pick of #13760: fix: add more set class metadata commands
2022-03-23 00:27:25 +08:00
Qiu Jian
30f35398e2 fix: add more set class metadata commands 2022-03-22 22:06:39 +08:00
ioito
7e1afd56a6 fix(region): host sched tag sync 2022-03-22 18:54:39 +08:00
ioito
a99734a4ac fix(region): clean glance image cache 2022-03-22 17:30:17 +08:00
ioito
daf743a269 fix(region): vmware no need secgroup 2022-03-21 20:09:17 +08:00
Zexi Li
eeab97193d Merge pull request #13748 from zexi/automated-cherry-pick-of-#13747-upstream-release-3.9
Automated cherry pick of #13747: fix(region): add host cpuset used cores
2022-03-21 18:39:55 +08:00
Zexi Li
f02a91d947 fix(region): add host cpuset used cores 2022-03-21 18:18:34 +08:00
Zexi Li
2e6ce0c630 Merge pull request #13688 from ioito/automated-cherry-pick-of-#13687-upstream-release-3.9
Automated cherry pick of #13687: fix(region): log export
2022-03-21 18:17:43 +08:00
Zexi Li
e117144b20 feat(region,host): memory snapshot checksum (#13746) 2022-03-21 17:54:42 +08:00
Zexi Li
15e0d71739 Merge pull request #13742 from ioito/automated-cherry-pick-of-#13738-upstream-release-3.9
Automated cherry pick of #13738: fix(region): elastic search public connection
2022-03-21 16:41:13 +08:00
Zexi Li
b234a36a3e Merge pull request #13745 from zexi/automated-cherry-pick-of-#13744-upstream-release-3.9
Automated cherry pick of #13744: fix(region): guest and host cpuset one-to-one validate
2022-03-21 16:40:25 +08:00
Zexi Li
f0760c979f feat(cloudcommon,region,keystone,logger): use enable_db_checksum_tables option control checksum record (#13737)
region: guests_tbl
keystone: user
logger: action_tbl
2022-03-21 13:28:37 +08:00
Zexi Li
0736f06021 fix(region): guest and host cpuset one-to-one validate 2022-03-21 12:54:15 +08:00
Zexi Li
4fbff1ea98 Merge pull request #13740 from ioito/automated-cherry-pick-of-#13739-upstream-release-3.9
Automated cherry pick of #13739: fix(region): sku init
2022-03-21 12:52:14 +08:00
Zexi Li
5bf40fd644 Merge pull request #13722 from zhaoxiangchun/automated-cherry-pick-of-#13721-upstream-release-3.9
Automated cherry pick of #13721: fix(host): fix guest nicStat  Metric in host
2022-03-21 12:51:15 +08:00
ioito
d27529a07d fix(region): elastic search public connection 2022-03-21 12:10:08 +08:00
ioito
35ee1afbd5 fix(region): sku init 2022-03-21 11:46:52 +08:00
Zexi Li
46576944d9 Merge pull request #13728 from ioito/automated-cherry-pick-of-#13727-upstream-release-3.9
Automated cherry pick of #13727: fix(region): sku name
2022-03-21 11:38:42 +08:00
Zexi Li
6919512044 Merge pull request #13735 from rainzm/automated-cherry-pick-of-#13734-upstream-release-3.9
Automated cherry pick of #13734: fix(region): get project id correctly when recovery guest
2022-03-21 11:26:39 +08:00
rainzm
2c58779569 fix(region): get project id correctly when recovery guest 2022-03-21 11:04:16 +08:00
Zexi Li
68d1e126f4 Merge pull request #13731 from rainzm/automated-cherry-pick-of-#13730-upstream-release-3.9
Automated cherry pick of #13730: fix(region): use ServerCreateInput as instanceBackup.ServerConfig
2022-03-18 19:52:35 +08:00
rainzm
05e4869013 fix(region): use ServerCreateInput as instanceBackup.ServerConfig 2022-03-18 19:28:11 +08:00
ioito
9d865538d9 fix(region): sku name 2022-03-18 18:08:48 +08:00
Rain Zheng
41eb60b651 fix(region): use original project to recovery from instance backup (#13726) 2022-03-18 17:09:19 +08:00
zhaoxiangchun
01c18c93e0 fix(host): fix guest nicStat Metric in host 2022-03-18 15:46:45 +08:00
Zexi Li
ac97daa1c4 Merge pull request #13719 from ioito/automated-cherry-pick-of-#13718-upstream-release-3.9
Automated cherry pick of #13718: fix(region): host schedtags with topology
2022-03-18 14:36:39 +08:00
ioito
c0a78b2b1a fix(region): host schedtags with topology 2022-03-18 14:11:27 +08:00
Zexi Li
611ce88ec7 Merge pull request #13716 from ioito/automated-cherry-pick-of-#13715-upstream-release-3.9
Automated cherry pick of #13715: fix(region): sku init
2022-03-18 11:52:03 +08:00
ioito
05501e7457 fix(region): sku init 2022-03-18 10:08:42 +08:00
Zexi Li
d0adedd2b2 Merge pull request #13709 from ioito/automated-cherry-pick-of-#13708-upstream-release-3.9
Automated cherry pick of #13708: fix(region): google gcp and label
2022-03-17 21:27:45 +08:00
Zexi Li
c3d29ec4da Merge pull request #13712 from swordqiu/automated-cherry-pick-of-#13711-upstream-release-3.9
Automated cherry pick of #13711: fix: host deploy mkdir permission
2022-03-17 21:24:59 +08:00
Qiu Jian
73f5c5e102 fix: host deploy mkdir permission 2022-03-17 16:52:57 +08:00
ioito
1752d6bc48 fix(region): google gcp and label 2022-03-17 16:25:44 +08:00
Zexi Li
5c02b0bab4 Merge pull request #13703 from ioito/automated-cherry-pick-of-#13702-upstream-release-3.9
Automated cherry pick of #13702: fix(region): sync with storagecachedimage status
2022-03-16 18:10:23 +08:00
Zexi Li
cca80f3471 Merge pull request #13697 from ioito/automated-cherry-pick-of-#13696-upstream-release-3.9
Automated cherry pick of #13696: fix(region): cloudpods error
2022-03-16 17:46:09 +08:00
Zexi Li
5170ec6285 Merge pull request #13700 from ioito/automated-cherry-pick-of-#13699-upstream-release-3.9
Automated cherry pick of #13699: fix(region): sync owner id
2022-03-16 17:36:57 +08:00
Zexi Li
f08c97223f Merge pull request #13706 from rainzm/automated-cherry-pick-of-#13705-upstream-release-3.9
Automated cherry pick of #13705: feat(region,esxiagent): support specifying storage when creating a data disk
2022-03-16 17:36:15 +08:00
rainzm
003729723d feat(region,esxiagent): support specifying storage when creating a data disk 2022-03-16 16:40:15 +08:00
ioito
2799b73bb2 fix(region): sync with storagecachedimage status 2022-03-16 14:42:37 +08:00
ioito
517209b05c fix(region): sync owner id 2022-03-15 21:34:50 +08:00
ioito
54aea36d90 fix(region): cloudpods error 2022-03-15 20:20:56 +08:00
Zexi Li
be314acf88 Merge pull request #13694 from ioito/automated-cherry-pick-of-#13693-upstream-release-3.9
Automated cherry pick of #13693: fix(region): redis project sync
2022-03-15 20:01:03 +08:00
ioito
ee88ba74ba fix(region): redis project sync 2022-03-15 19:51:25 +08:00
Zexi Li
aa67d7c4c1 Merge pull request #13692 from zexi/automated-cherry-pick-of-#13691-upstream-release-3.9
Automated cherry pick of #13691: Db checksum
2022-03-15 14:23:47 +08:00
Zexi Li
b456aa32ec fix(keystone): db_checksum_skip_init blacklist 2022-03-15 11:34:30 +08:00
Jian Qiu
e95f3519a8 fix(host/region): fix import servers from libvirt (#13689)
make servers_import_from_libvirt workable in container environment.
bindmount libvirt monitor dir to host container and use procutils read
guest xml configure.

Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>

Co-authored-by: wanyaoqi <wanyaoqi1995@163.com>
2022-03-15 00:51:23 +08:00
屈轩
63a3064544 fix(host): upload storage info with zone id (#13560) 2022-03-15 00:50:53 +08:00
Zexi Li
2537062ee9 feat(cloudcommon): db record checksum for consistency (#13682) 2022-03-14 23:30:26 +08:00
ioito
1f8af4eac1 fix(region): log export 2022-03-14 15:23:24 +08:00
Zexi Li
1d1d26e35f Merge pull request #13684 from ioito/automated-cherry-pick-of-#13683-upstream-release-3.9
Automated cherry pick of #13683: fix(region): remove random sync
2022-03-14 15:11:29 +08:00
ioito
f23fb2e79e fix(region): remove random sync 2022-03-14 10:36:28 +08:00
屈轩
ad5b3e1ea0 fix(keystone): auth token error (#13192) 2022-03-12 16:52:08 +08:00
Zexi Li
a3568a77ca Merge pull request #13678 from swordqiu/automated-cherry-pick-of-#13677-upstream-release-3.9
Automated cherry pick of #13677: fix: server inherit the vdi_protocol of image property
2022-03-11 21:09:25 +08:00
Qiu Jian
d4ea856caa fix: server inherit the vdi_protocol of image property 2022-03-11 19:48:38 +08:00
屈轩
b6bccf3b8f fix(glance): image save (#13674) 2022-03-11 16:16:52 +08:00
屈轩
a343308554 fix(region): google disk name (#13671) 2022-03-11 16:15:32 +08:00
Zexi Li
b193c8e08e Merge pull request #13644 from ioito/automated-cherry-pick-of-#13643-upstream-release-3.9
Automated cherry pick of #13643: fix(region): bingo cloud request proxy
2022-03-11 10:18:47 +08:00
屈轩
2c21ac9810 fix(climc): add purge splitable for action and cloudevent (#13664) 2022-03-10 23:41:58 +08:00
Zexi Li
73f67385b9 Merge pull request #13646 from ioito/automated-cherry-pick-of-#13645-upstream-release-3.9
Automated cherry pick of #13645: fix(region): remove nullable tag
2022-03-10 19:36:55 +08:00
Zexi Li
07ae798843 Merge pull request #13660 from swordqiu/automated-cherry-pick-of-#13659-upstream-release-3.9
Automated cherry pick of #13659: fix: aws s3 object with leading slash
2022-03-10 18:51:07 +08:00
Zexi Li
100a3f6023 Merge pull request #13668 from rainzm/automated-cherry-pick-of-#13667-upstream-release-3.9
Automated cherry pick of #13667: fix(host): avoid deadlock when fetch image fails
2022-03-10 18:50:24 +08:00
rainzm
4355b3e79d fix(host): avoid deadlock when fetch image fails 2022-03-10 18:38:11 +08:00
Qiu Jian
d4554e22da fix: aws s3 object with leading slash 2022-03-10 11:03:29 +08:00
Zexi Li
47138ad84d Merge pull request #13642 from rainzm/automated-cherry-pick-of-#13641-upstream-release-3.9
Automated cherry pick of #13641: optimization for class metadata and instance backup
2022-03-10 01:12:46 +08:00
Zexi Li
2b76012cf5 Merge pull request #13658 from ioito/automated-cherry-pick-of-#13657-upstream-release-3.9
Automated cherry pick of #13657: fix(region): host guest cnt for deleted
2022-03-10 01:11:11 +08:00
ioito
3aa63bea58 fix(region): host guest cnt for deleted 2022-03-09 15:57:45 +08:00
Zexi Li
19d8d389dc Merge pull request #13648 from ioito/automated-cherry-pick-of-#13647-upstream-release-3.9
Automated cherry pick of #13647: fix(region): huawei storage type
2022-03-09 14:58:28 +08:00
Zexi Li
91e1cc28dd Merge pull request #13654 from zhaoxiangchun/automated-cherry-pick-of-#13652-upstream-release-3.9
Automated cherry pick of #13652: fix(cloudmon): 3.9 release add Usage pull func
2022-03-09 14:58:03 +08:00
Zexi Li
104941e750 Merge pull request #13653 from rainzm/automated-cherry-pick-of-#13651-upstream-release-3.9
Automated cherry pick of #13651: fix(scheduler): init db after init auth
2022-03-09 14:57:02 +08:00
ioito
6be5c30d1f fix(region): huawei storage type 2022-03-09 14:45:56 +08:00
zhaoxiangchun
80a4ed6516 fix(cloudmon): 3.9 release add Usage pull func 2022-03-09 14:35:11 +08:00
rainzm
0735ea23a2 fix(scheduler): init db after init auth 2022-03-09 14:33:59 +08:00
ioito
0cd13477b9 fix(region): remove nullable tag 2022-03-09 11:58:52 +08:00
屈轩
4614e07920 fix(region): show guest cnt for host (#13640) 2022-03-09 10:07:20 +08:00
ioito
754ab9dc22 fix(region): bingo cloud request proxy 2022-03-08 20:49:27 +08:00
rainzm
44c9dece67 feat(region): try to restore to the original project when the instance backup is recoveryed 2022-03-08 19:08:30 +08:00
rainzm
5d63202e2e fix(region): get mountpoint from guestdisk not disk's metadata 2022-03-08 19:08:30 +08:00
rainzm
19530722da feat(scheduler): class metadata ignore public system image 2022-03-08 19:08:30 +08:00
Zexi Li
041d99db8b Merge pull request #13616 from ioito/automated-cherry-pick-of-#13569-upstream-release-3.9
Automated cherry pick of #13569: feat(region): support bingocloud sync
2022-03-08 14:47:47 +08:00
Zexi Li
3aae7b9113 Merge pull request #13637 from rainzm/automated-cherry-pick-of-#13636-upstream-release-3.9
Automated cherry pick of #13636: fix(region): add generate_name if not before validate guest creating data
2022-03-08 13:04:11 +08:00
Zexi Li
aee9ee2abf Merge pull request #13547 from zexi/update-etcd-package-v3.9
feat(vendor): update etcd package for v3.9
2022-03-08 10:41:56 +08:00
Zexi Li
f3b0275885 Merge pull request #13630 from zexi/automated-cherry-pick-of-#13629-upstream-release-3.9
Automated cherry pick of #13629: feat(region): instance snapshot with_memory filter
2022-03-08 10:40:57 +08:00
Zexi Li
aba19b4f42 Merge pull request #13632 from rainzm/automated-cherry-pick-of-#13631-upstream-release-3.9
Automated cherry pick of #13631: Instancebackup force delete
2022-03-08 10:40:30 +08:00
Zexi Li
396f2d81d5 Merge pull request #13634 from ioito/automated-cherry-pick-of-#13633-upstream-release-3.9
Automated cherry pick of #13633: fix(region): allow skip server sync by system tags
2022-03-08 10:34:34 +08:00
rainzm
7e8b30f0be fix(region): add generate_name if not before validate guest creating data 2022-03-07 19:00:01 +08:00
ioito
63f2c992b1 fix(region): allow skip server sync by system tags 2022-03-07 17:45:26 +08:00
rainzm
aaa70fe02e feat(region): support for forced deletion of instance backups 2022-03-07 17:39:33 +08:00
rainzm
f3d0364d6a feat(climc): add DeleteWithParam 2022-03-07 17:39:33 +08:00
rainzm
0cb26254bb feat(region): check backup storage status before making backup 2022-03-07 17:39:33 +08:00
Zexi Li
e3c4e0685f Merge pull request #13607 from swordqiu/automated-cherry-pick-of-#13606-upstream-release-3.9
Automated cherry pick of #13606: fix: disable cache for oidc auth callback
2022-03-07 16:01:05 +08:00
Zexi Li
23e1af8cc5 Merge pull request #13621 from ioito/automated-cherry-pick-of-#13620-upstream-release-3.9
Automated cherry pick of #13620: fix(region): qcloud disk range changed
2022-03-07 16:00:16 +08:00
Zexi Li
53b3a78657 Merge pull request #13625 from zexi/automated-cherry-pick-of-#13624-upstream-release-3.9
Automated cherry pick of #13624: feat(telegraf-raid-plugin): update rootfs and image version
2022-03-07 15:59:32 +08:00
Zexi Li
0c9cf44129 feat(region): instance snapshot with_memory filter 2022-03-07 15:58:50 +08:00
Zexi Li
f9b9cf321f feat(telegraf-raid-plugin): update rootfs and image version 2022-03-07 12:14:40 +08:00
ioito
5e296d3324 fix(region): qcloud disk range changed 2022-03-07 11:14:24 +08:00
Rain Zheng
fe8ee9b4fb Automated cherry pick of #13618: Instancebackup/syncstatus (#13619)
* feat(region): add status in snapshot or save phase for instancebackup

* feat(region): add sync_status for instancebackup

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

* feat(region): add syncstatus for backup storage

* fix(region): correct stage for InstanceBackupDeleteTask

* feat(climc): add syncstatus for backupstorage and instancebackup
2022-03-07 09:52:32 +08:00
ioito
935aaca3c6 feat(region): support bingocloud sync 2022-03-06 17:28:50 +08:00
Rain Zheng
d473a7f162 fix(scheduledtask): treat hour and minute as utc time (#13611) 2022-03-06 17:08:00 +08:00
屈轩
1436a28bb8 fix(region): rds project sync (#13614) 2022-03-06 17:07:14 +08:00
Qiu Jian
f1448583d0 fix: disable cache for oidc auth callback 2022-03-06 12:01:25 +08:00
Zexi Li
3c33be673a Merge pull request #13604 from ioito/automated-cherry-pick-of-#13603-upstream-release-3.9
Automated cherry pick of #13603: fix(region): expend length lb info
2022-03-06 11:07:17 +08:00
ioito
a8a8b5e5ac fix(region): expend length lb info 2022-03-06 11:05:47 +08:00
Zexi Li
9c36ddc1a3 Merge pull request #13583 from ioito/automated-cherry-pick-of-#13582-upstream-release-3.9
Automated cherry pick of #13582: fix(keystone, apigateway): project role with metadata
2022-03-06 10:21:18 +08:00
Zexi Li
fb21daf79a Merge pull request #13601 from ioito/automated-cherry-pick-of-#13600-upstream-release-3.9
Automated cherry pick of #13600: fix(region): remote useless info of azure lb
2022-03-06 10:20:08 +08:00
ioito
20bbe57327 fix(region): remote useless info of azure lb 2022-03-06 10:03:11 +08:00
Zexi Li
3f240113cb Merge pull request #13597 from rainzm/automated-cherry-pick-of-#13596-upstream-release-3.9
Automated cherry pick of #13596: fix(ansible): use the correct length value 'text'
2022-03-04 22:00:30 +08:00
rainzm
2e321832eb fix(ansible): use the correct length value 'text' 2022-03-04 16:13:31 +08:00
Zexi Li
008614798b Merge pull request #13594 from ioito/automated-cherry-pick-of-#13593-upstream-release-3.9
Automated cherry pick of #13593: fix(region): external project filter by manager id
2022-03-04 12:28:30 +08:00
ioito
fb886df9fe fix(region): external project filter by manager id 2022-03-04 12:03:43 +08:00
Zexi Li
22d9c5961e Merge pull request #13580 from zexi/automated-cherry-pick-of-#13577-upstream-release-3.9
Automated cherry pick of #13577: feat(host): server instance snapshot with memory
2022-03-04 10:17:18 +08:00
Zexi Li
6b0710028f Merge pull request #13574 from rainzm/automated-cherry-pick-of-#13573-upstream-release-3.9
Automated cherry pick of #13573: class metadata limit for vpc, wire and network
2022-03-03 21:01:25 +08:00
Zexi Li
4f5766d858 Merge pull request #13590 from rainzm/automated-cherry-pick-of-#13589-upstream-release-3.9
Automated cherry pick of #13589: fix(region,devtool): get ssh port from 'servers/<id>/sshport' api
2022-03-03 21:00:20 +08:00
Zexi Li
49140e8d42 Merge pull request #13585 from ioito/automated-cherry-pick-of-#13584-upstream-release-3.9
Automated cherry pick of #13584: fix(region): not allow merge default secgroup
2022-03-03 20:59:23 +08:00
rainzm
588eab575d fix(region,devtool): get ssh port from 'servers/<id>/sshport' api 2022-03-03 19:05:04 +08:00
Zexi Li
2042799c16 Merge pull request #13579 from zexi/automated-cherry-pick-of-#13578-upstream-release-3.9
Automated cherry pick of #13578: fix(host): remove addr of qemu nic option
2022-03-03 16:25:29 +08:00
Zexi Li
f2e59887f6 Merge pull request #13588 from zexi/automated-cherry-pick-of-#13581-upstream-release-3.9
Automated cherry pick of #13581: fix(region): instance snapshot reset should match self guest
2022-03-03 16:25:03 +08:00
Zexi Li
98f8c76dd0 fix(region): instance snapshot reset should match self guest 2022-03-03 15:52:50 +08:00
ioito
2688dbe4a8 fix(region): not allow merge default secgroup 2022-03-03 15:49:59 +08:00
ioito
00fdad777f fix(keystone, apigateway): project role with metadata 2022-03-03 15:35:27 +08:00
Zexi Li
b211b8e569 feat(host): server instance snapshot with memory 2022-03-03 14:37:29 +08:00
Zexi Li
74a7ada3c1 Merge pull request #13576 from swordqiu/automated-cherry-pick-of-#13575-upstream-release-3.9
Automated cherry pick of #13575: fix: host update sn
2022-03-03 09:29:43 +08:00
Zexi Li
2cc257cb75 fix(host): remove addr of qemu nic option 2022-03-03 09:29:06 +08:00
Qiu Jian
e5ec456608 fix: host update sn 2022-03-02 20:35:58 +08:00
rainzm
39289c486b fix(scheduler): ignore classmetadata check when it is nil 2022-03-02 17:32:42 +08:00
rainzm
08c03964c0 feat(region): increase classmetadata limit for vpc, wire, network and host
host will inherit wire's classmetadata when adding netif and netif is
admin type
2022-03-02 17:32:42 +08:00
Zexi Li
fc423dadd6 Merge pull request #13571 from ioito/automated-cherry-pick-of-#13570-upstream-release-3.9
Automated cherry pick of #13570: fix(host): rbd disk path
2022-03-02 12:01:03 +08:00
ioito
ff8dac1f29 fix(host): rbd disk path 2022-03-02 11:44:41 +08:00
Zexi Li
2aa6d5d680 Merge pull request #13567 from ioito/automated-cherry-pick-of-#13566-upstream-release-3.9
Automated cherry pick of #13566: fix(notify): add panic notify
2022-03-01 19:18:52 +08:00
Zexi Li
e583935aa5 Merge pull request #13564 from rainzm/automated-cherry-pick-of-#13563-upstream-release-3.9
Automated cherry pick of #13563: fix(region): expiration notification works for resources after renewal
2022-03-01 19:06:46 +08:00
rainzm
6040286514 fix(region): expiration notification works for resources after renewal 2022-03-01 17:22:48 +08:00
ioito
fe48e8a04c fix(notify): add panic notify 2022-03-01 17:19:19 +08:00
Zexi Li
a6b5c8ad1c Merge pull request #13556 from ioito/automated-cherry-pick-of-#13555-upstream-release-3.9
Automated cherry pick of #13555: fi(apigateway): user info with totp
2022-03-01 11:15:12 +08:00
Zexi Li
9ca75daa3b Merge pull request #13562 from ioito/automated-cherry-pick-of-#13561-upstream-release-3.9
Automated cherry pick of #13561: fix(climc): add cmd for global vpc
2022-03-01 11:07:57 +08:00
Zexi Li
0faa4af662 Merge pull request #13553 from ioito/automated-cherry-pick-of-#13552-upstream-release-3.9
Automated cherry pick of #13552: fix(yunionapi): reset password with base64
2022-03-01 11:04:29 +08:00
ioito
bc5c833ce5 fix(climc): add cmd for global vpc 2022-02-28 15:25:39 +08:00
Zexi Li
ed1933e1ef Merge pull request #13550 from ioito/automated-cherry-pick-of-#13529-upstream-release-3.9
Automated cherry pick of #13529: fix(region): aws rds create
2022-02-28 15:14:43 +08:00
ioito
70e6f06452 fi(apigateway): user info with totp 2022-02-28 11:16:10 +08:00
ioito
e461367556 fix(yunionapi): reset password with base64 2022-02-28 10:55:38 +08:00
Zexi Li
4e15212c64 Merge pull request #13294 from rainzm/automated-cherry-pick-of-#13293-upstream-release-3.9
Automated cherry pick of #13293: fix(glance): convert image in s3 storage
2022-02-28 10:48:30 +08:00
Zexi Li
9c3aafce7b feat(region): add server-cpuset-cores cmd to get pinned and usable cores (#13549) 2022-02-26 21:44:01 +08:00
屈轩
f4a68dbde4 fix(region): project tags filter for usages (#13477) 2022-02-26 14:28:27 +08:00
rainzm
c4160e72b4 fix(glance): re-convert as long as subformat is not active
之前的写法会导致saving或者save_fail状态的subformat,不会再次
转换。而且镜像是否需要转换,由ImageCheckTask决定了,ImageConvertTask
只需要注意不重新转换active的subformat就好了,save失败的subformat
也应该设置状态为save_fail。
2022-02-25 18:54:45 +08:00
rainzm
485157fb9e fix(glance): convert image in s3 storage 2022-02-25 18:54:45 +08:00
ioito
4971ad5450 fix(region): aws rds create 2022-02-25 18:35:36 +08:00
Zexi Li
70d434662e feat(vendor): update etcd package 2022-02-25 16:50:53 +08:00
Zexi Li
cfba372181 Merge pull request #13537 from ioito/automated-cherry-pick-of-#13536-upstream-release-3.9
Automated cherry pick of #13536: fix(region): nutanix nic sync
2022-02-25 16:39:19 +08:00
Zexi Li
6fd4523655 Merge pull request #13544 from zexi/automated-cherry-pick-of-#13543-upstream-release-3.9
Automated cherry pick of #13543: fix(host): arm kvm duplicate video0 device
2022-02-25 10:14:17 +08:00
Zexi Li
b371c1b493 Merge pull request #13540 from ioito/automated-cherry-pick-of-#13539-upstream-release-3.9
Automated cherry pick of #13539: fix(climc): add --help for other cli
2022-02-24 23:48:59 +08:00
Zexi Li
99d108b4f4 fix(host): arm kvm duplicate video0 device 2022-02-24 23:18:41 +08:00
Zexi Li
dae58011b8 Merge pull request #13542 from rainzm/automated-cherry-pick-of-#13541-upstream-release-3.9
Automated cherry pick of #13541: fix(region): call parent's PostCreate in virtualResourceBase.PostCreate
2022-02-24 19:08:44 +08:00
rainzm
7a11e76f2d fix(region): call parent's PostCreate in virtualResourceBase.PostCreate 2022-02-24 18:53:10 +08:00
ioito
b04015baa1 fix(climc): add --help for other cli 2022-02-24 16:16:33 +08:00
ioito
4cb1b83dba fix(region): nutanix nic sync 2022-02-24 14:35:38 +08:00
Zexi Li
8a33d4adb1 Merge pull request #13530 from swordqiu/automated-cherry-pick-of-#13510-upstream-release-3.9
Automated cherry pick of #13510: fix: allow IDP initiated SAML login
2022-02-24 11:53:39 +08:00
Zexi Li
085dbd32f2 Merge pull request #13535 from ioito/automated-cherry-pick-of-#13480-upstream-release-3.9
Automated cherry pick of #13480: fix(climc): support --help args
2022-02-24 11:53:18 +08:00
ioito
64e93c485a fix(climc): support --help args 2022-02-24 11:16:23 +08:00
Zexi Li
3956fb2c74 Merge pull request #13532 from rainzm/automated-cherry-pick-of-#13531-upstream-release-3.9
Automated cherry pick of #13531: fix(region): init scalinggroup controller in correct order
2022-02-24 10:18:05 +08:00
rainzm
8082ef4f63 fix(region): init scalinggroup controller in correct order 2022-02-23 20:14:48 +08:00
Zexi Li
ab7cd85201 Automated cherry pick of #13527: feat(region,host): server cpuset supported (#13528)
* feat(region,host): server cpuset supported

* feat(region,host): cpuset remove
2022-02-23 16:07:15 +08:00
Qiu Jian
bf4a0ae949 fix: allow IDP initiated SAML login 2022-02-23 15:31:40 +08:00
Zexi Li
23b6f965b3 Merge pull request #13526 from rainzm/automated-cherry-pick-of-#13525-upstream-release-3.9
Automated cherry pick of #13525: feat(region,host): support packing and unpacking instancebackup
2022-02-23 14:54:20 +08:00
rainzm
3068e081b7 fix: update generated model 2022-02-23 14:45:52 +08:00
rainzm
8f22e72399 feat(region,host): support packing and unpacking instancebackup 2022-02-23 14:30:41 +08:00
Zexi Li
48f45387cf Merge pull request #13519 from ioito/automated-cherry-pick-of-#13518-upstream-release-3.9
Automated cherry pick of #13518: fix(region): vm nic sync with network
2022-02-22 19:23:18 +08:00
Rain Zheng
f58eba6ff0 fix(region): delete disk actually when cleaning disks (#13522) 2022-02-22 17:59:13 +08:00
ioito
26041425e5 fix(region): vm nic sync with network 2022-02-22 15:58:43 +08:00
Zexi Li
0ebd63b325 Merge pull request #13516 from ioito/automated-cherry-pick-of-#13515-upstream-release-3.9
Automated cherry pick of #13515: fix(host): host register
2022-02-22 15:53:20 +08:00
ioito
b981dcf280 fix(host): host register 2022-02-22 15:29:36 +08:00
Zexi Li
a4a8ff15ac Merge pull request #13512 from ioito/automated-cherry-pick-of-#13511-upstream-release-3.9
Automated cherry pick of #13511: fix(host): ceph df with total_bytes
2022-02-22 11:04:00 +08:00
ioito
a97c3c0282 fix(host): ceph df with total_bytes 2022-02-22 09:48:18 +08:00
Zexi Li
165d3de4c4 fix(region): live migrate skip_kernel_check api (#13509) 2022-02-21 21:22:30 +08:00
Zexi Li
8b58ae5991 Merge pull request #13497 from ioito/automated-cherry-pick-of-#13496-upstream-release-3.9
Automated cherry pick of #13496: fix(host): add host online offline log
2022-02-21 18:11:34 +08:00
Zexi Li
4d71e83fcb Merge pull request #13494 from zexi/automated-cherry-pick-of-#13493-upstream-release-3.9
Automated cherry pick of #13493: fix(host-image): update build flags
2022-02-21 18:10:20 +08:00
Zexi Li
07e0e0d455 Merge pull request #13500 from swordqiu/automated-cherry-pick-of-#13499-upstream-release-3.9
Automated cherry pick of #13499: feature: policy limited by time range
2022-02-21 18:09:54 +08:00
Zexi Li
0862edc3dc Merge pull request #13503 from ioito/automated-cherry-pick-of-#13502-upstream-release-3.9
Automated cherry pick of #13502: fix(climc): log purge
2022-02-21 18:09:19 +08:00
Zexi Li
e00c2a7312 Merge pull request #13505 from swordqiu/automated-cherry-pick-of-#13504-upstream-release-3.9
Automated cherry pick of #13504: fix: user create user nil pointer error
2022-02-21 16:53:21 +08:00
Qiu Jian
c0860eb514 fix: user create user nil pointer error 2022-02-21 12:17:35 +08:00
ioito
8dcf415f15 fix(climc): log purge 2022-02-21 10:46:57 +08:00
Qiu Jian
5635ff99e1 feature: policy limited by time range 2022-02-20 02:17:40 +08:00
ioito
2270b3d595 fix(host): add host online offline log 2022-02-18 18:31:37 +08:00
Zexi Li
223872fe1f fix(host-image): update build flags 2022-02-18 10:54:25 +08:00
Zexi Li
53c545c49c Merge pull request #13490 from rainzm/automated-cherry-pick-of-#13489-upstream-release-3.9
Automated cherry pick of #13489: feat(climc): add public and private for backupstorage
2022-02-18 09:50:39 +08:00
Zexi Li
028d83d534 Merge pull request #13479 from ioito/automated-cherry-pick-of-#13478-upstream-release-3.9
Automated cherry pick of #13478: fix(climc): server create with disk desc
2022-02-18 09:50:04 +08:00
Zexi Li
5f595f2b8e Merge pull request #13492 from zexi/automated-cherry-pick-of-#13485-upstream-release-3.9
Automated cherry pick of #13485: fix(baremetal): update baremetal-base image version
2022-02-18 09:48:08 +08:00
Zexi Li
1dd1457de5 fix(baremetal): update baremetal-base image version 2022-02-17 22:10:02 +08:00
rainzm
b88cacf7d7 feat(climc): add public and private for backupstorage 2022-02-17 19:23:30 +08:00
Zexi Li
2c28f3f47e Merge pull request #13487 from rainzm/automated-cherry-pick-of-#13486-upstream-release-3.9
Automated cherry pick of #13486: fix(region): send SERVER_DELETE event notify when guest is actually deleted
2022-02-17 17:55:13 +08:00
rainzm
8eaf0cd8ac fix(region): send SERVER_DELETE event notify when guest is actually deleted 2022-02-17 17:45:09 +08:00
Zexi Li
b46633c317 Merge pull request #13476 from swordqiu/automated-cherry-pick-of-#13475-upstream-release-3.9
Automated cherry pick of #13475: fix: not initialize input BIOS
2022-02-17 11:59:01 +08:00
Zexi Li
d54392d89d Merge pull request #13482 from rainzm/automated-cherry-pick-of-#13481-upstream-release-3.9
Automated cherry pick of #13481: Fix for secret/resource
2022-02-16 20:24:54 +08:00
rainzm
db9ef0985e fix: add common Inherit 2022-02-16 20:16:51 +08:00
rainzm
918772bdb7 fix(image): add independent PerformChangeOwner for image 2022-02-16 20:16:51 +08:00
Zexi Li
13571fcb48 Merge pull request #13372 from rainzm/automated-cherry-pick-of-#13371-upstream-release-3.9
Automated cherry pick of #13371: Classification of resources
2022-02-16 17:52:03 +08:00
rainzm
d55330da2d fix(scheduler): add GetAllClassMedata in mock test 2022-02-16 17:45:01 +08:00
rainzm
e54788521d feat: add GetAllClassMetadata for tenantcache 2022-02-16 17:45:01 +08:00
rainzm
7b03a02c90 feat: add project with class metadata 2022-02-16 17:45:01 +08:00
rainzm
3f057a6fa5 feat(climc): add (set-)class-metadata 2022-02-16 17:45:01 +08:00
rainzm
e9b34f2842 fix(region): remove secret level resource 2022-02-16 17:45:01 +08:00
rainzm
4a1460d1cf feat(region): add class-metadata for standaloneAnonResource 2022-02-16 17:45:01 +08:00
rainzm
c3976861d1 feat(region): check class_metadate when attach disk to guest 2022-02-16 17:45:01 +08:00
rainzm
2d7c77d8c2 feat(region,image): inherit between resources
host -> guest -> disk -> image/backup/snapshot
          |
instance image/backup/snapshot -> image/backup/snapshot
2022-02-16 17:45:01 +08:00
rainzm
5d0707a4e8 feat(scheduler): add class_metadata predicate 2022-02-16 17:45:00 +08:00
rainzm
a78fdaa975 feat(region,image): cachedimage inherits the class metadata of image 2022-02-16 17:45:00 +08:00
rainzm
761defc187 feat(region,image): add SecretResourceBase 2022-02-16 17:45:00 +08:00
rainzm
3d97646620 feat(region): add metadata prefix 'cls'
Such tags have inherited and isolated properties
2022-02-16 17:45:00 +08:00
ioito
890fbd5ea4 fix(climc): server create with disk desc 2022-02-16 16:25:08 +08:00
Qiu Jian
8aeebbad16 fix: not initialize input BIOS 2022-02-16 14:24:36 +08:00
Zexi Li
e2bde82254 Merge pull request #13469 from ioito/automated-cherry-pick-of-#13468-upstream-release-3.9
Automated cherry pick of #13468: fix(glance): image statistics
2022-02-16 10:27:19 +08:00
Zexi Li
4b0f456a2f Merge pull request #13458 from ioito/automated-cherry-pick-of-#13457-upstream-release-3.9
Automated cherry pick of #13457: fix(keyston): add sync log for ldap
2022-02-15 19:04:25 +08:00
Zexi Li
570b08328a Merge pull request #13464 from ioito/automated-cherry-pick-of-#13463-upstream-release-3.9
Automated cherry pick of #13463: fix(region): tag key export
2022-02-15 19:02:53 +08:00
Zexi Li
08a86eddb9 fix(baremetal): grub msdos partition detected (#13467) 2022-02-15 18:58:12 +08:00
ioito
7f47724ebe fix(glance): image statistics 2022-02-15 18:47:47 +08:00
ioito
2f9a1ceb1a fix(region): tag key export 2022-02-15 18:16:38 +08:00
Zexi Li
c43e03fcb3 Merge pull request #13461 from ioito/automated-cherry-pick-of-#13460-upstream-release-3.9
Automated cherry pick of #13460: fix(region): qcloud tdsql tags
2022-02-15 17:54:38 +08:00
ioito
f9d49a6a74 fix(region): qcloud tdsql tags 2022-02-15 17:30:54 +08:00
ioito
d7209a17d6 fix(keyston): add sync log for ldap 2022-02-15 15:48:03 +08:00
Zexi Li
839f95014a Merge pull request #13452 from swordqiu/automated-cherry-pick-of-#13451-upstream-release-3.9
Automated cherry pick of #13451: fix: class network mtu should consider default_mtu
2022-02-15 15:25:17 +08:00
Zexi Li
4a4089482e Merge pull request #13455 from zexi/automated-cherry-pick-of-#13454-upstream-release-3.9
Automated cherry pick of #13454: fix(host): aarch64 vm usb id duplicated
2022-02-15 15:24:26 +08:00
Zexi Li
49ebfa9d32 fix(host): aarch64 vm usb id duplicated 2022-02-15 11:36:06 +08:00
Qiu Jian
1338845c0a fix: class network mtu should consider default_mtu 2022-02-15 09:59:39 +08:00
Zexi Li
d84eb997ad Merge pull request #13449 from swordqiu/automated-cherry-pick-of-#13442-upstream-release-3.9
Automated cherry pick of #13442: fix: filter server by vip or eip of vip
2022-02-15 09:52:37 +08:00
Qiu Jian
f480e8d8fd fix: filter server by vip or eip of vip 2022-02-15 08:59:05 +08:00
Zexi Li
0ade12c14d Merge pull request #13447 from ioito/automated-cherry-pick-of-#13446-upstream-release-3.9
Automated cherry pick of #13446: fix(host): arm qemu remove -no-kvm
2022-02-14 21:31:54 +08:00
Zexi Li
ab25805da5 Merge pull request #13444 from ioito/automated-cherry-pick-of-#13443-upstream-release-3.9
Automated cherry pick of #13443: fix(region): minio s3 object set acl error
2022-02-14 18:59:14 +08:00
ioito
dcea58a705 fix(host): arm qemu remove -no-kvm 2022-02-14 17:47:18 +08:00
ioito
3741b588c6 fix(region): minio s3 object set acl error 2022-02-14 15:23:50 +08:00
Zexi Li
57e46a5694 Merge pull request #13440 from swordqiu/automated-cherry-pick-of-#13439-upstream-release-3.9
Automated cherry pick of #13439: fix: delete disk skip recycle_bin
2022-02-14 09:59:43 +08:00
Zexi Li
7bab145b3b Merge pull request #13410 from ioito/automated-cherry-pick-of-#13409-upstream-release-3.9
Automated cherry pick of #13409: fix(region): associate manager with external project
2022-02-14 09:59:00 +08:00
Qiu Jian
90f7b9aa8a fix: delete disk skip recycle_bin 2022-02-13 20:46:40 +08:00
Zexi Li
f7d881a830 Merge pull request #13427 from swordqiu/automated-cherry-pick-of-#13426-upstream-release-3.9
Automated cherry pick of #13426: fix: delay block stream after server start
2022-02-12 21:15:23 +08:00
Zexi Li
b27c2f3b3f Merge pull request #13431 from swordqiu/automated-cherry-pick-of-#13430-upstream-release-3.9
Automated cherry pick of #13430: feature: local user add need_reset_password field
2022-02-12 21:14:42 +08:00
Zexi Li
4e783b2ab8 Merge pull request #13434 from swordqiu/automated-cherry-pick-of-#13433-upstream-release-3.9
Automated cherry pick of #13433: feature: customizable totp issuer string
2022-02-12 21:14:07 +08:00
Zexi Li
f085291db3 Merge pull request #13437 from swordqiu/automated-cherry-pick-of-#13436-upstream-release-3.9
Automated cherry pick of #13436: fix: missing instance type for cloned server
2022-02-12 21:13:36 +08:00
Qiu Jian
85be7c2894 fix: missing instance type for cloned server 2022-02-12 06:18:01 +08:00
Qiu Jian
8f851c4bda feature: local user add need_reset_password field 2022-02-12 02:21:33 +08:00
Qiu Jian
359b257195 feature: customizable totp issuer string 2022-02-12 02:18:27 +08:00
Qiu Jian
ad0c588520 fix: delay block stream after server start 2022-02-12 00:34:18 +08:00
Zexi Li
4aa675515c Merge pull request #13423 from ioito/automated-cherry-pick-of-#13422-upstream-release-3.9
Automated cherry pick of #13422: feat(region): bingo cloud cli
2022-02-11 20:13:47 +08:00
ioito
c3523cff4f feat(region): bingo cloud cli 2022-02-11 18:26:02 +08:00
Zexi Li
0493496015 fix(region): vm_sync_isolated_device i18n (#13420) 2022-02-11 12:16:27 +08:00
Zexi Li
b0cdde4a4c feat(baremetal): grub http boot initrd and kernel (#13416) 2022-02-11 12:14:53 +08:00
Zexi Li
68824c3ae9 Merge pull request #13417 from ioito/automated-cherry-pick-of-#13415-upstream-release-3.9
Automated cherry pick of #13415: fix(region): action log
2022-02-11 11:38:00 +08:00
ioito
3e7c86f7ac fix(region): action log 2022-02-11 11:12:09 +08:00
Zexi Li
8d878bb795 Merge pull request #13407 from ioito/automated-cherry-pick-of-#13406-upstream-release-3.9
Automated cherry pick of #13406: fix(region): skip first sync waf rule
2022-02-10 18:26:48 +08:00
Zexi Li
1dfd878c35 Merge pull request #13412 from swordqiu/automated-cherry-pick-of-#13411-upstream-release-3.9
Automated cherry pick of #13411: feature: policy import/export utils
2022-02-10 18:25:51 +08:00
Qiu Jian
cae3bd6849 feature: policy import/export utils 2022-02-10 18:16:05 +08:00
ioito
b61f3f9b49 fix(region): associate manager with external project 2022-02-10 17:17:29 +08:00
ioito
858aa15700 fix(region): skip first sync waf rule 2022-02-10 16:23:51 +08:00
Zexi Li
32d94e25cd fix(baremetal): add boot_loader syslinux and grub option (#13402) 2022-02-09 20:36:33 +08:00
Zexi Li
d67cf16a10 Merge pull request #13405 from zhaoxiangchun/automated-cherry-pick-of-#13404-upstream-release-3.9
Automated cherry pick of #13404: fix(cloudmon): fix  Apsara elb metric
2022-02-09 17:40:43 +08:00
Zexi Li
0523a79d23 Merge pull request #13399 from ioito/automated-cherry-pick-of-#13398-upstream-release-3.9
Automated cherry pick of #13398: fix(region): huawei routetable
2022-02-09 17:35:39 +08:00
zhaoxiangchun
6a87e9f2b1 fix(cloudmon): fix Apsara elb metric 2022-02-09 17:29:57 +08:00
ioito
0bf93d3cea fix(region): huawei routetable 2022-02-09 14:07:33 +08:00
Zexi Li
eb652dc041 Merge pull request #13397 from ioito/automated-cherry-pick-of-#13396-upstream-release-3.9
Automated cherry pick of #13396: fix(host): sparse file seek
2022-02-09 10:40:16 +08:00
ioito
700053515e fix(host): sparse file seek 2022-02-09 10:31:57 +08:00
Zexi Li
856282c9c8 Merge pull request #13394 from zexi/automated-cherry-pick-of-#13392-upstream-release-3.9
Automated cherry pick of #13392: fix(host): make tls-creds empty when no tls migrate
2022-02-08 16:45:24 +08:00
Zexi Li
474f3ae550 fix(host): make tls-creds empty when no tls migrate 2022-02-08 16:42:34 +08:00
Zexi Li
798b9207a9 Merge pull request #13391 from zexi/automated-cherry-pick-of-#13389-upstream-release-3.9
Automated cherry pick of #13389: fix(region): batch migrate use enable_tls_migration option
2022-02-08 16:13:22 +08:00
Zexi Li
6227df8e3d fix(region): batch migrate use enable_tls_migration option 2022-02-08 15:13:09 +08:00
Zexi Li
20f7d3f270 Merge pull request #13387 from zexi/automated-cherry-pick-of-#13386-upstream-release-3.9
Automated cherry pick of #13386: fix(host): dist prepare migrate_certs
2022-02-08 12:36:30 +08:00
Zexi Li
bb08fcc7b2 fix(host): dist prepare migrate_certs 2022-02-08 12:30:44 +08:00
Zexi Li
b166e1ec58 Merge pull request #13383 from swordqiu/automated-cherry-pick-of-#13382-upstream-release-3.9
Automated cherry pick of #13382: fix: qemu-img info force share (-U)
2022-02-08 10:09:49 +08:00
Qiu Jian
b3f7eb473f fix: qemu-img info force share (-U) 2022-02-08 02:27:22 +08:00
Zexi Li
7d1468e3ad feat(region,keystone): add enable_tls_migration config (#13380) 2022-02-07 15:24:34 +08:00
Zexi Li
e6ab6ebdc5 Merge pull request #13377 from swordqiu/automated-cherry-pick-of-#13376-upstream-release-3.9
Automated cherry pick of #13376: feature: cleanup native hugepage codes
2022-02-07 14:20:31 +08:00
Qiu Jian
df8d6e155a feature: cleanup native hugepage codes 2022-02-06 17:59:47 +08:00
Jian Qiu
9314f0e1ce feature: baremetal tftp send customized files according to a file map (#13375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-02-03 21:21:26 +08:00
Rain Zheng
cb06987b01 fix(host): judge whether the resource exists correctly (#13369) 2022-01-29 00:58:27 +08:00
屈轩
993f714856 fix(region): optimized public image sync (#13356) 2022-01-29 00:56:49 +08:00
Jian Qiu
3f58cc45e4 fix: test secgroup rules to ovn ACL and recode guest adminSecgroup (#13362)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-01-29 00:51:30 +08:00
屈轩
0f356fbb51 fix(region): update go mod (#13365) 2022-01-28 15:28:39 +08:00
屈轩
05aedacc62 fix(common): tenant cache name (#13367) 2022-01-28 15:28:14 +08:00
屈轩
ae641bb72a fix(host,region): add action log (#13303) 2022-01-28 11:18:02 +08:00
屈轩
0a16ceb2bb fix(region): set sys disk index to 0 (#13323) 2022-01-28 11:16:55 +08:00
屈轩
b3dbbe867a fix(region): 支持同时指定项目切自动创建项目 (#13360) 2022-01-28 11:13:24 +08:00
Zexi Li
414953534c Merge pull request #13354 from ioito/automated-cherry-pick-of-#13341-upstream-release-3.9
Automated cherry pick of #13341: feat(host): transfer sparse file over network
2022-01-27 15:33:50 +08:00
Zexi Li
9e7c4eb939 Merge pull request #13349 from ioito/automated-cherry-pick-of-#13348-upstream-release-3.9
Automated cherry pick of #13348: fix(region): clear vm secgroup
2022-01-27 15:28:55 +08:00
Zexi Li
94e9506f9f Merge pull request #13351 from zexi/automated-cherry-pick-of-#13339-upstream-release-3.9
Automated cherry pick of #13339: Tls migration
2022-01-27 15:28:18 +08:00
ioito
72584a936e feat(host): transfer sparse file over network 2022-01-27 14:33:57 +08:00
Zexi Li
1eb2b52f6c Merge pull request #13346 from ioito/automated-cherry-pick-of-#13345-upstream-release-3.9
Automated cherry pick of #13345: fix(region): nutanix disk
2022-01-27 12:25:33 +08:00
Zexi Li
bbbed559a3 feat(region,host): tls live migrating 2022-01-27 12:05:32 +08:00
Zexi Li
d900384c10 feat(util): add tls util 2022-01-27 12:05:31 +08:00
ioito
47842e63e8 fix(region): clear vm secgroup 2022-01-27 11:17:30 +08:00
ioito
b398a22233 fix(region): nutanix disk 2022-01-27 10:17:09 +08:00
Zexi Li
940a94dd79 Merge pull request #13343 from swordqiu/automated-cherry-pick-of-#13342-upstream-release-3.9
Automated cherry pick of #13342: feature: support fangde OS
2022-01-27 01:37:11 +08:00
Qiu Jian
b637dc414f feature: support fangde OS 2022-01-26 23:27:38 +08:00
Zexi Li
61feb018a9 Merge pull request #13337 from ioito/automated-cherry-pick-of-#13336-upstream-release-3.9
Automated cherry pick of #13336: fix(region): huawei rtb name
2022-01-26 19:08:06 +08:00
Zexi Li
cfc62fac68 Merge pull request #13333 from ioito/automated-cherry-pick-of-#13332-upstream-release-3.9
Automated cherry pick of #13332: fix(region): nutanix image and vpc vlan id
2022-01-26 18:38:49 +08:00
Zexi Li
982783ed36 Merge pull request #13328 from rainzm/automated-cherry-pick-of-#13327-upstream-release-3.9
Automated cherry pick of #13327: fix(scheduledtask): format time from utc_offset
2022-01-26 17:48:38 +08:00
ioito
eaddf74eee fix(region): huawei rtb name 2022-01-26 16:13:42 +08:00
ioito
9f60311a75 fix(region): nutanix image and vpc vlan id 2022-01-26 15:48:40 +08:00
Zexi Li
273bb7bb98 Merge pull request #13331 from swordqiu/automated-cherry-pick-of-#13330-upstream-release-3.9
Automated cherry pick of #13330: fix: support qemu 4.2.0
2022-01-26 13:56:25 +08:00
Qiu Jian
06fd0efdbe fix: support qemu 4.2.0 2022-01-26 13:47:40 +08:00
rainzm
5229646094 fix(scheduledtask): format time from utc_offset 2022-01-26 12:02:53 +08:00
Zexi Li
ab873ee0c2 Merge pull request #13315 from ioito/automated-cherry-pick-of-#13314-upstream-release-3.9
Automated cherry pick of #13314: fix(keystone): add global setting
2022-01-26 10:47:57 +08:00
Zexi Li
9f2e16aa94 Merge pull request #13326 from rainzm/automated-cherry-pick-of-#13325-upstream-release-3.9
Automated cherry pick of #13325: Bugfix/bakcup
2022-01-26 10:47:04 +08:00
Zexi Li
d7d1f602bf Merge pull request #13320 from ioito/automated-cherry-pick-of-#13319-upstream-release-3.9
Automated cherry pick of #13319: fix(region): nutanix disk type
2022-01-26 10:30:00 +08:00
rainzm
1f613a9961 fix(region): marshall correctly SDiskBackup.DiskConfig 2022-01-25 17:53:21 +08:00
rainzm
237d9b650b fix(host): init local backup dir 2022-01-25 17:53:21 +08:00
ioito
717d6025bd fix(region): nutanix disk type 2022-01-25 16:52:27 +08:00
Zexi Li
575b49aa87 Merge pull request #13317 from ioito/automated-cherry-pick-of-#13316-upstream-release-3.9
Automated cherry pick of #13316: fix(region): nutanix instance vcpu
2022-01-25 14:58:00 +08:00
ioito
37ea4ad7bb fix(region): nutanix instance vcpu 2022-01-25 14:46:45 +08:00
ioito
5f2c6b4964 fix(keystone): add global setting 2022-01-25 14:15:58 +08:00
Zexi Li
457f3f80fb Merge pull request #13309 from swordqiu/automated-cherry-pick-of-#13308-upstream-release-3.9
Automated cherry pick of #13308: fix: allow view events of owner objects
2022-01-25 11:18:02 +08:00
Zexi Li
d0dbd264b3 Merge pull request #13312 from ioito/automated-cherry-pick-of-#13311-upstream-release-3.9
Automated cherry pick of #13311: fix(region): nutanix misc fix
2022-01-25 11:17:25 +08:00
ioito
88599207fd fix(region): nutanix misc fix 2022-01-25 11:10:55 +08:00
Qiu Jian
6fcb4daf3d fix: allow view events of owner objects 2022-01-25 02:08:20 +08:00
Zexi Li
27dc458b8f Merge pull request #13300 from ioito/automated-cherry-pick-of-#13299-upstream-release-3.9
Automated cherry pick of #13299: fix(region): nutanix duplicate vlan id
2022-01-24 23:29:59 +08:00
Zexi Li
6e939b250f Merge pull request #13306 from swordqiu/automated-cherry-pick-of-#13305-upstream-release-3.9
Automated cherry pick of #13305: fix: rng device should use urandom instead of random
2022-01-24 23:26:51 +08:00
Qiu Jian
bda29b5d39 fix: rng device should use urandom instead of random 2022-01-24 23:19:49 +08:00
Zexi Li
22ab0614bc Merge pull request #13242 from rainzm/automated-cherry-pick-of-#13239-upstream-release-3.9
Automated cherry pick of #13239: Instance/Disk Backup Support
2022-01-24 18:13:51 +08:00
ioito
f8d9b467fc fix(region): nutanix duplicate vlan id 2022-01-24 14:18:33 +08:00
Zexi Li
8f95d417e6 Merge pull request #13291 from swordqiu/automated-cherry-pick-of-#13290-upstream-release-3.9
Automated cherry pick of #13290: fix: baremetal mismatch with empty Guid
2022-01-24 10:46:45 +08:00
Qiu Jian
f6d5487709 fix: baremetal mismatch with empty Guid 2022-01-22 18:55:01 +08:00
Zexi Li
694356eda2 Merge pull request #13280 from ioito/automated-cherry-pick-of-#13216-upstream-release-3.9
Automated cherry pick of #13216: feat(region): support nutanix
2022-01-22 18:24:11 +08:00
Zexi Li
319056ac07 Merge pull request #13289 from zexi/automated-cherry-pick-of-#13288-upstream-release-3.9
Automated cherry pick of #13288: fix(region): add generate_name before validate creating data
2022-01-22 16:43:30 +08:00
rainzm
7d2ee93f0f fix(region): add generate_name before validate creating data 2022-01-22 16:43:09 +08:00
rainzm
3d7ec819dc fix(region): optimize codes
1. do not ignore err
2. replace jsonutils.JSONObject with specific structure
3. delete redundant code
4. fix edge problems
2022-01-22 15:37:30 +08:00
rainzm
9fb7c3c0aa fix(region): set status creating for instance backup when creating 2022-01-22 15:37:30 +08:00
rainzm
bec0637184 feat(climc): add climc command for instance/disk backup 2022-01-22 15:37:30 +08:00
rainzm
38cc99242a feat(region): support instance backup
Instance backup is a logical collection of multiple disk backups
2022-01-22 15:37:30 +08:00
rainzm
155f3b96e9 feat(region, host): support disk backup
1. create backup for disk
2. create disk from backup
3. recovery disk directly
4. delete backup
2022-01-22 15:37:30 +08:00
rainzm
f886fba591 fix(cloudcommon): splice notifyurl correctly 2022-01-22 15:37:30 +08:00
Zexi Li
de5926159f Merge pull request #13283 from ioito/automated-cherry-pick-of-#13282-upstream-release-3.9
Automated cherry pick of #13282: fix(common): always return next_marker
2022-01-22 12:19:46 +08:00
Zexi Li
62d299fe14 Merge pull request #13286 from swordqiu/automated-cherry-pick-of-#13285-upstream-release-3.9
Automated cherry pick of #13285: fix: arm image support UEFI by default
2022-01-22 12:19:03 +08:00
Qiu Jian
ed2764c35c fix: arm image support UEFI by default 2022-01-21 19:04:36 +08:00
ioito
339aa215cb fix(common): always return next_marker 2022-01-21 18:44:29 +08:00
ioito
552cdee2a6 feat(region): support nutanix 2022-01-21 14:04:57 +08:00
Zexi Li
a43a0a393f fix(host): enable qemu log (#13279) 2022-01-21 13:19:42 +08:00
Zexi Li
0634c2cc4d Merge pull request #13277 from zexi/automated-cherry-pick-of-#12901-upstream-release-3.9
Automated cherry pick of #12901: feat(host): qemu 4.0.1 supported
2022-01-21 11:58:09 +08:00
Zexi Li
46087b57a1 fix(host): qmpmon typo 2022-01-21 11:52:41 +08:00
Zexi Li
406059b10d feat(host): qemu 4.0.1 supported 2022-01-21 11:52:41 +08:00
Zexi Li
41fb28b711 Merge pull request #13275 from zexi/automated-cherry-pick-of-#13274-upstream-release-3.9
Automated cherry pick of #13274: fix(hostman): cmdline option range panic
2022-01-21 11:51:06 +08:00
Zexi Li
47f2fee07d fix(hostman): cmdline option range panic 2022-01-21 11:47:14 +08:00
Zexi Li
b9e72e5529 Merge pull request #13266 from swordqiu/automated-cherry-pick-of-#13265-upstream-release-3.9
Automated cherry pick of #13265: fix: batch migrate in parrallel
2022-01-21 10:12:45 +08:00
Zexi Li
5e89424002 Merge pull request #13271 from swordqiu/automated-cherry-pick-of-#13269-upstream-release-3.9
Automated cherry pick of #13269: feature: support log to remote syslog server
2022-01-21 10:12:11 +08:00
Zexi Li
fa9278f982 Merge pull request #13270 from zexi/automated-cherry-pick-of-#13268-upstream-release-3.9
Automated cherry pick of #13268: Qemu migrate args
2022-01-21 09:55:59 +08:00
Zexi Li
13a1a6a3d1 feat(host,region): unify target qemu commandline from source 2022-01-21 00:37:46 +08:00
Qiu Jian
8308fe55c3 feature: support log to remote syslog server 2022-01-21 00:11:31 +08:00
Qiu Jian
49e6d9ad9a fix: batch migrate in parrallel 2022-01-20 21:41:56 +08:00
Zexi Li
c5f6500d9d Merge pull request #13261 from rainzm/automated-cherry-pick-of-#13260-upstream-release-3.9
Automated cherry pick of #13260: fix(host): Stop the retry of purge when the target does not exist
2022-01-20 21:09:17 +08:00
Zexi Li
f847705265 Merge pull request #13264 from zhaoxiangchun/automated-cherry-pick-of-#13263-upstream-release-3.9
Automated cherry pick of #13263: fix(cloudmon): fix cloudmon GetResourceByOperator
2022-01-20 21:08:49 +08:00
zhaoxiangchun
09d5a2d137 fix(cloudmon): fix cloudmon GetResourceByOperator 2022-01-20 19:02:07 +08:00
rainzm
99a40aae1e fix(host): Stop the retry of purge when the target does not exist 2022-01-20 18:08:43 +08:00
Zexi Li
c7a4f4087c Merge pull request #13258 from ioito/automated-cherry-pick-of-#13257-upstream-release-3.9
Automated cherry pick of #13257: fix(common): metadata update key
2022-01-20 17:43:43 +08:00
ioito
f7f89723df fix(common): metadata update key 2022-01-20 15:18:47 +08:00
Zexi Li
d3934c1ad9 Merge pull request #13244 from rainzm/automated-cherry-pick-of-#13243-upstream-release-3.9
Automated cherry pick of #13243: feat(notify): judge whether to enable automatic renewal when the expiration notice is given
2022-01-20 09:54:15 +08:00
Zexi Li
b8ae224679 Merge pull request #13256 from swordqiu/automated-cherry-pick-of-#13226-upstream-release-3.9
Automated cherry pick of #13226: fix: usages should be filtered by policy tags
2022-01-20 09:45:30 +08:00
Zexi Li
992cd0255c Merge pull request #13241 from swordqiu/automated-cherry-pick-of-#13240-upstream-release-3.9
Automated cherry pick of #13240: fix: add header x-xss-protection
2022-01-20 09:44:37 +08:00
Zexi Li
0e9d7e1d6a Merge pull request #13254 from swordqiu/automated-cherry-pick-of-#13253-upstream-release-3.9
Automated cherry pick of #13253: fix: vpcagent nil pointer panic
2022-01-20 09:43:50 +08:00
Qiu Jian
ed2e26be16 fix: usages should be filered by policy tags 2022-01-20 00:47:35 +08:00
Qiu Jian
2f5d34185b fix: vpcagent nil pointer panic 2022-01-20 00:44:27 +08:00
Zexi Li
656e8ebb4d fix(baremetal): raid ssd disk as firstly root disk (#13248) 2022-01-20 00:42:18 +08:00
Zexi Li
b032b49fb8 Merge pull request #13250 from ioito/automated-cherry-pick-of-#13249-upstream-release-3.9
Automated cherry pick of #13249: fix(apigateway): add is forget login user option
2022-01-19 20:06:20 +08:00
ioito
a0d1be21c1 fix(apigateway): add is forget login user option 2022-01-19 20:01:50 +08:00
rainzm
43af7d7c3a fix(region,notify): add create, delete and sync notification of loadbalancerbackendgroup 2022-01-19 19:21:50 +08:00
rainzm
c23f50c3cf feat(notify): judge whether to enable automatic renewal when the expiration notice is given 2022-01-19 19:21:50 +08:00
Qiu Jian
0221f03e4d fix: add header x-xss-protection 2022-01-19 13:00:40 +08:00
Zexi Li
af70990130 Merge pull request #13236 from ioito/automated-cherry-pick-of-#13235-upstream-release-3.9
Automated cherry pick of #13235: fix(region): vpc tag sync
2022-01-19 11:01:18 +08:00
ioito
885b271bbd fix(region): vpc tag sync 2022-01-19 10:58:30 +08:00
Zexi Li
97db184568 Merge pull request #13233 from ioito/automated-cherry-pick-of-#13232-upstream-release-3.9
Automated cherry pick of #13232: fix(region): qcloud lb bandwidth
2022-01-19 00:43:47 +08:00
ioito
da14e94e4a fix(region): qcloud lb bandwidth 2022-01-18 22:14:18 +08:00
Zexi Li
f970eb5245 Merge pull request #13228 from swordqiu/automated-cherry-pick-of-#13227-upstream-release-3.9
Automated cherry pick of #13227: fix: list join resource nil pointer access
2022-01-18 16:56:45 +08:00
Zexi Li
8299ab8b8d Merge pull request #13230 from zexi/automated-cherry-pick-of-#13229-upstream-release-3.9
Automated cherry pick of #13229: feat(build): make glance-base image
2022-01-18 16:46:49 +08:00
Zexi Li
1dfd8e2418 feat(build): make glance-base image 2022-01-18 16:22:27 +08:00
Qiu Jian
6abe033a80 fix: list join resource nil pointer access 2022-01-18 09:21:28 +08:00
Zexi Li
73c8ed7b68 fix(hostman): config BONDING_OPTS for ifcfg-bondx (#13224) 2022-01-18 02:46:51 +08:00
Zexi Li
a3a938c386 Merge pull request #13218 from swordqiu/automated-cherry-pick-of-#13217-upstream-release-3.9
Automated cherry pick of #13217: fix: full sync of project and domain metadata
2022-01-18 00:32:52 +08:00
Qiu Jian
69c05bb126 fix: full sync of project and domain metadata 2022-01-17 21:55:59 +08:00
Zexi Li
cd1a0419b8 Merge pull request #13220 from ioito/automated-cherry-pick-of-#13219-upstream-release-3.9
Automated cherry pick of #13219: fix(region): sync tags for vpc and network
2022-01-17 20:41:15 +08:00
ioito
cb875c98dd fix(region): sync tags for vpc and network 2022-01-17 20:37:47 +08:00
Zexi Li
e7a6bf633d Merge pull request #13214 from zexi/automated-cherry-pick-of-#13213-upstream-release-3.9
Automated cherry pick of #13213: fix(region): create wire input bw deprecated
2022-01-17 18:38:51 +08:00
Zexi Li
524cc2e7e0 fix(region): create wire input bw deprecated 2022-01-17 14:55:47 +08:00
Zexi Li
c8d1fe18dc Merge pull request #13204 from ioito/automated-cherry-pick-of-#13203-upstream-release-3.9
Automated cherry pick of #13203: fix(region): add cidr filter for route table
2022-01-17 10:09:49 +08:00
Zexi Li
7e1d311046 Merge pull request #13210 from swordqiu/automated-cherry-pick-of-#13207-upstream-release-3.9
Automated cherry pick of #13207: fix: handle exception that qemu quit or cancel migrate during migration
2022-01-17 10:09:25 +08:00
Zexi Li
b062507c24 Merge pull request #13211 from swordqiu/automated-cherry-pick-of-#13209-upstream-release-3.9
Automated cherry pick of #13209: feature: support dhcp relay information option 82
2022-01-17 10:08:16 +08:00
Qiu Jian
455a12a157 feature: support dhcp relay information option 82 2022-01-17 01:08:32 +08:00
Qiu Jian
12f0788f5a fix: handle exception that qemu quit or cancel migrate during migration 2022-01-17 01:07:59 +08:00
ioito
a44c9d9c7a fix(region): add cidr filter for route table 2022-01-15 16:14:33 +08:00
Zexi Li
02d0cc8307 Merge pull request #13202 from zhaoxiangchun/automated-cherry-pick-of-#13200-upstream-release-3.9
Automated cherry pick of #13200: fix(common): ListItemFilter func exec in the end
2022-01-15 10:42:02 +08:00
zhaoxiangchun
67374efb6c fix(common): ListItemFilter func exec in the end
1.ListItemFilter 中如果有group by 操作(meter服务),如果使用框架解析filter参数,
会把filter 解析加入到 having结构中。
2022-01-15 10:37:56 +08:00
Zexi Li
6759c2bb10 Merge pull request #13197 from zhaoxiangchun/automated-cherry-pick-of-#13196-upstream-release-3.9
Automated cherry pick of #13196: fix(monitor): alerting resourece filter by scope
2022-01-14 10:33:24 +08:00
Zexi Li
215665a0c2 Merge pull request #13194 from ioito/automated-cherry-pick-of-#13193-upstream-release-3.9
Automated cherry pick of #13193: feat(region): add nutanix sync
2022-01-13 19:09:20 +08:00
zhaoxiangchun
170681b13d fix(monitor): alerting resourece filter by scope 2022-01-13 18:46:27 +08:00
ioito
513bbb0188 feat(region): add nutanix sync 2022-01-13 18:08:08 +08:00
Zexi Li
df4c3936ef Merge pull request #13189 from zhaoxiangchun/automated-cherry-pick-of-#13187-upstream-release-3.9
Automated cherry pick of #13187: fix(s3gateway): delete dbinit
2022-01-13 10:34:27 +08:00
Zexi Li
752ddaf7c7 Merge pull request #13191 from ioito/automated-cherry-pick-of-#13168-upstream-release-3.9
Automated cherry pick of #13168: fix(region): show worker and tasks list by service type
2022-01-13 10:28:57 +08:00
Zexi Li
a8e2cf7e6f Merge pull request #13190 from ioito/automated-cherry-pick-of-#13188-upstream-release-3.9
Automated cherry pick of #13188: fix(region): wire statusinfras
2022-01-13 10:28:29 +08:00
ioito
66a17faad2 fix(region): show worker and tasks list by service type 2022-01-13 10:26:08 +08:00
ioito
64125a6f69 fix(region): wire statusinfras 2022-01-13 10:25:36 +08:00
zhaoxiangchun
8604bb2b5c fix(s3gateway): delete dbinit 2022-01-13 10:23:14 +08:00
Zexi Li
a67326f405 Merge pull request #13186 from zexi/automated-cherry-pick-of-#13185-upstream-release-3.9
Automated cherry pick of #13185: fix(baremetal): perccli image update
2022-01-11 18:51:07 +08:00
Zexi Li
ca23ac0a8d fix(baremetal): perccli image update 2022-01-11 18:24:43 +08:00
Zexi Li
971cfc83f7 Merge pull request #13184 from zexi/automated-cherry-pick-of-#13167-upstream-release-3.9
Automated cherry pick of #13167: feat(baremetal): megaraid perccli supported
2022-01-11 18:18:28 +08:00
Zexi Li
481fcca40b feat(baremetal): megaraid perccli supported 2022-01-11 17:30:47 +08:00
Zexi Li
0c064191d6 Merge pull request #13179 from swordqiu/automated-cherry-pick-of-#13169-upstream-release-3.9
Automated cherry pick of #13169: fix: guest sync status persistent block_stream status
2022-01-11 10:32:08 +08:00
Zexi Li
f5cb4ff0f0 Merge pull request #13177 from swordqiu/automated-cherry-pick-of-#13176-upstream-release-3.9
Automated cherry pick of #13176: fix: add snapshot_and_clone event notes
2022-01-11 10:31:13 +08:00
Qiu Jian
166de5471a fix: guest sync status persistent block_stream status 2022-01-11 10:13:57 +08:00
Qiu Jian
a814a47605 fix: add snapshot_and_clone event notes 2022-01-11 09:35:05 +08:00
Zexi Li
1172cf3304 Merge pull request #13175 from zexi/automated-cherry-pick-of-#13125-upstream-release-3.9
Automated cherry pick of #13125: fix(region,scheduler): live migrate target host kernel version check
2022-01-11 09:29:35 +08:00
Zexi Li
2f8d882fd2 fix(region,scheduler): live migrate target host kernel version check 2022-01-11 09:29:19 +08:00
Zexi Li
d30c4680f8 Merge pull request #13174 from zexi/automated-cherry-pick-of-#13139-upstream-release-3.9
Automated cherry pick of #13139: feat(scheduler): baremetal uefi image filter
2022-01-11 09:27:23 +08:00
Zexi Li
e1a1218b5b feat(scheduler): baremetal uefi image filter 2022-01-11 09:26:50 +08:00
Zexi Li
5351f3aa0a Merge pull request #13173 from zexi/automated-cherry-pick-of-#13171-upstream-release-3.9
Automated cherry pick of #13171: fix: ceph clone image across pool should use pool of target image
2022-01-11 09:23:18 +08:00
Qiu Jian
5bb4296f06 fix: ceph clone image across pool should use pool of target image 2022-01-11 09:22:43 +08:00
19558 changed files with 1060144 additions and 6677913 deletions

View File

@@ -7,7 +7,7 @@ jobs:
requires:
- check
docker:
- image: yunion/alpine-build:3.22.0-go-1.24.6-1
- image: yunion/centos-build:go-1.18.3-0
environment:
ONECLOUD_CI_BUILD: "1"

View File

@@ -1,20 +1,18 @@
---
name: Bug report
about: 报告代码缺陷/Create a bug report to help us improve
title: '[BUG]'
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
**问题描述/What happened**:
**What happened**:
**环境/Environment**:
**Environment**:
- OS (e.g. `cat /etc/os-release`):
- Kernel (e.g. `uname -a`):
- Host: (e.g. `dmidecode | egrep -i 'manufacturer|product' |sort -u`)
- Service Version (e.g. `kubectl exec -n onecloud $(kubectl get pods -n onecloud | grep climc | awk '{print $1}') -- climc version-list`):
<!--
- Version (e.g. `climc version-list`):
-->

View File

@@ -1,7 +1,7 @@
---
name: 文档问题/Document Request
about: 文档相关缺陷改进/Document request to this project
title: '[文档/Docs]'
name: Document Request
about: Document request to this project
title: ''
labels:
- area/docs
- enhancement

View File

@@ -1,7 +1,7 @@
---
name: 新特性/Feature Request
about: 建议新功能特性/Suggest an idea for this project
title: '[Feature]'
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''

View File

@@ -1,7 +1,7 @@
---
name: 求助/Support Request
about: 求助使用中遇到的问题/Support request relating to this project
title: '[求助/Help]'
name: Support Request
about: Support request or question relating to this project
title: ''
labels: question
assignees: ''

View File

@@ -13,7 +13,8 @@ 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.11
- 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.
-->

View File

@@ -1,38 +0,0 @@
name: Building and test for PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Install check tools
shell: bash
run: |
set -o xtrace
git clone --branch master --depth 4 https://github.com/yunionio/tools && cd tools
go build ./cmd/goimports && sudo cp goimports /usr/bin/ && cd .. && rm -rf tools
git clone --depth 4 https://github.com/yousong/y18n && cd y18n
go build . && sudo cp y18n /usr/bin && cd .. && rm -rf y18n
- name: Test and build
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
make -j3 check
make test
targets="$(find cmd -mindepth 1 -maxdepth 1 -type d | grep -v cmd/host-image | grep -v torrent)"
echo $targets | tr ' ' '\n'
make $targets
ls -lh _output/bin

233
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,233 @@
name: Docker image
on:
push:
branches:
- master
- releases/*
#paths:
#- 'cmd/*'
#- 'pkg/*'
#- 'vendor/*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.16
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev # baremetal-agent needs this
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns make cmd/apigateway cmd/climc cmd/keystone make cmd/logger cmd/region cmd/scheduler cmd/webconsole make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway make cmd/ansibleserver cmd/cloudnet cmd/notify make cmd/host-deployer make cmd/cloudevent cmd/devtool cmd/cloudid make cmd/*cli make cmd/esxi-agent'
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image baremetal-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.baremetal-agent
- name: Image esxi-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/esxi-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.esxi-agent
- name: Image vpcagent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/vpcagent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.vpcagent
- name: Image climc
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/climc
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.climc
- name: Image keystone
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/keystone
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.keystone
- name: Image logger
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/logger
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.logger
- name: Image scheduler
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/scheduler
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.scheduler
- name: Image apigateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/apigateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.apigateway
- name: Image s3gateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/s3gateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.s3gateway
- name: Image ansibleserver
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.ansibleserver
- name: Image cloudnet
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudnet
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudnet
- name: Image glance
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/glance
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.glance
- name: Image notify
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/notify
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.notify
- name: Image cloudevent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudevent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudevent
- name: Image cloudid
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudid
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudid
- name: Image devtool
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/devtool
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.devtool
- name: Image region DNS
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region-dns
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region-dns

View File

@@ -1,52 +0,0 @@
name: Apigateway Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/apigateway/**.go'
- 'pkg/apis/apigateway/**.go'
- 'pkg/mcclient/modules/**.go'
jobs:
build_apigateway:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image apigateway

View File

@@ -1,50 +0,0 @@
name: Climc Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'cmd/climc/**.go'
- 'pkg/mcclient/**.go'
- 'vendor/yunion.io/x/structarg/**.go'
jobs:
build_climc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image climc

View File

@@ -1,51 +0,0 @@
name: Cloudmon Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudmon/**.go'
- 'vendor/yunion.io/x/cloudmux/pkg/multicloud/loader/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image cloudmon

View File

@@ -1,49 +0,0 @@
name: Esxi Agent Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/esxi/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image esxi-agent

View File

@@ -1,53 +0,0 @@
name: Glance Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/image/**.go'
- 'pkg/apis/image/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_glance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image glance

View File

@@ -1,49 +0,0 @@
name: Host Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/hostman/**.go'
- 'pkg/apis/host/**.go'
jobs:
build_host:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image host

View File

@@ -1,53 +0,0 @@
name: Keystone Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/keystone/**.go'
- 'pkg/apis/identity/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_keystone:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image keystone

View File

@@ -1,53 +0,0 @@
name: Logger Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/logger/**.go'
- 'pkg/apis/logger/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image logger

View File

@@ -1,53 +0,0 @@
name: Notify Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/notify/**.go'
- 'pkg/apis/notify/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image notify

View File

@@ -1,54 +0,0 @@
name: Region Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/compute/**.go'
- 'pkg/apis/compute/**.go'
- 'vendor/yunion.io/x/cloudmux/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_region:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image region

View File

@@ -1,50 +0,0 @@
name: Scheduler Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/scheduler/**.go'
- 'pkg/apis/scheduler/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image scheduler

View File

@@ -1,53 +0,0 @@
name: Webconsole Docker Image
on:
push:
branches:
- 'releases/**'
- 'main'
- 'master'
paths:
- 'pkg/appsrv/**.go'
- 'pkg/cloudcommon/db/**.go'
- 'pkg/webconsole/**.go'
- 'pkg/apis/webconsole/**.go'
- 'vendor/yunion.io/x/sqlchemy/**.go'
- 'vendor/yunion.io/x/jsonutils/**.go'
jobs:
build_webconsole:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 8
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to Aliyun Container Registry (ACR)
uses: docker/login-action@v2
with:
registry: https://registry.us-west-1.aliyuncs.com
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
- name: Build And Push Docker Image
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
branch="${GITHUB_REF#refs/heads/}"
timestamp=`TZ="Asia/Shanghai" date +"%Y%m%d%H%M%S"`
export VERSION="$branch-$timestamp-solo"
export GOOS=linux
export ARCH=all
export REGISTRY=registry.us-west-1.aliyuncs.com/yunion-dev
make image webconsole

View File

@@ -1,45 +0,0 @@
name: Issue Check Inactive
on:
schedule:
- cron: "0 0 * * *"
permissions:
issues: write
jobs:
issue-check-inactive:
runs-on: ubuntu-latest
steps:
- name: Label inactive issues as stale
env:
GH_TOKEN: ${{ github.token }}
INACTIVE_DAY: "30"
INACTIVE_LABEL: "stale"
EXCLUDE_LABEL: "announcement"
run: |
set -euo pipefail
cutoff="$(date -u -d "${INACTIVE_DAY} days ago" +%Y-%m-%dT%H:%M:%SZ)"
gh issue list \
--repo "${{ github.repository }}" \
--state open \
--limit 1000 \
--json number,labels,updatedAt \
| jq -c \
--arg cutoff "$cutoff" \
--arg inactive "$INACTIVE_LABEL" \
--arg exclude "$EXCLUDE_LABEL" \
'
.[]
| select(.updatedAt < $cutoff)
| select([.labels[].name] | index($exclude) | not)
| select([.labels[].name] | index($inactive) | not)
' \
| while IFS= read -r issue; do
number="$(echo "$issue" | jq -r .number)"
echo "Marking issue #${number} as ${INACTIVE_LABEL}"
gh issue edit "$number" \
--repo "${{ github.repository }}" \
--add-label "$INACTIVE_LABEL"
done

View File

@@ -1,44 +0,0 @@
name: Issue Close Require
on:
schedule:
- cron: "0 1 * * *"
permissions:
issues: write
jobs:
issue-close-require:
runs-on: ubuntu-latest
steps:
- name: Close inactive issues awaiting user feedback
env:
GH_TOKEN: ${{ github.token }}
INACTIVE_DAY: "7"
run: |
set -euo pipefail
cutoff="$(date -u -d "${INACTIVE_DAY} days ago" +%Y-%m-%dT%H:%M:%SZ)"
body="$(cat <<'EOF'
If you do not provide feedback for more than 37 days, we will close the issue and you can either reopen it or submit a new issue.
您超过 37 天未反馈信息,我们将关闭该 issue如有需求您可以重新打开或者提交新的 issue。
EOF
)"
# Trim leading indentation from heredoc lines for a cleaner comment.
body="$(printf '%s\n' "$body" | sed 's/^[[:space:]]*//')"
gh issue list \
--repo "${{ github.repository }}" \
--state open \
--label "stale" \
--label "state/awaiting user feedback" \
--limit 1000 \
--json number,updatedAt \
| jq -c --arg cutoff "$cutoff" '.[] | select(.updatedAt < $cutoff)' \
| while IFS= read -r issue; do
number="$(echo "$issue" | jq -r .number)"
echo "Closing issue #${number}"
gh issue close "$number" \
--repo "${{ github.repository }}" \
--comment "$body"
done

View File

@@ -1,22 +0,0 @@
name: Issue Close Check
on:
issues:
types: [closed]
permissions:
issues: write
jobs:
issue-closed-remove-labels:
runs-on: ubuntu-latest
if: "!contains(github.event.issue.labels.*.name, 'stale')"
steps:
- name: Remove state labels when issue that hasn't stale label is closed
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting processing" \
--remove-label "state/awaiting user feedback" || true

View File

@@ -1,51 +0,0 @@
on:
issue_comment:
types: [created]
name: Add issues workflow labels
permissions:
issues: write
jobs:
add-label-if-is-author:
runs-on: ubuntu-latest
if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open')
steps:
- name: Add require handle label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting processing"
- name: Remove require reply label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting user feedback" \
--remove-label "stale" || true
add-label-if-not-author:
runs-on: ubuntu-latest
if: (github.event.issue.user.id != github.event.comment.user.id) && !github.event.issue.pull_request && (github.event.issue.state == 'open') && (!contains(github.event.comment.body, '/keep-state'))
steps:
- name: Add require reply label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting user feedback"
- name: Remove require handle label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting processing" \
--remove-label "stale" || true

View File

@@ -1,17 +0,0 @@
on:
issue_comment:
types: [created]
jobs:
notify-author-comment:
runs-on: ubuntu-latest
if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request
# find context from: https://docs.github.com/en/webhooks/webhook-events-and-payloads#issue_comment
steps:
- name: feishu notify
uses: zexi/action-issues-notify@v1
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
issue_title: "${{ github.event.comment.user.login }} 回复了 issue: ${{ github.event.issue.title }}"
issue_body: "${{ tojson(github.event.comment.body) }}"
issue_link_url: "${{github.event.comment.html_url}}"

View File

@@ -1,41 +0,0 @@
name: Issue Open Check
on:
issues:
types: [opened, reopened]
permissions:
issues: write
jobs:
issue-open-add-labels:
runs-on: ubuntu-latest
if: ${{ !github.event.issue.pull_request }}
steps:
- name: Add labels
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--add-label "state/awaiting processing"
- name: Remove require reply label
env:
GH_TOKEN: ${{ github.token }}
run: |
gh issue edit "${{ github.event.issue.number }}" \
--repo "${{ github.repository }}" \
--remove-label "state/awaiting user feedback" \
--remove-label "stale" || true
notify-author-comment:
runs-on: ubuntu-latest
steps:
- name: feishu notify
uses: zexi/action-issues-notify@v1
with:
url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
issue_title: "${{ github.event.issue.user.login }} 提交了 issue: ${{ github.event.issue.title }}"
issue_body: "${{ tojson(github.event.issue.body) }}"
issue_link_url: "${{github.event.issue.html_url}}"

2
.gitignore vendored
View File

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

View File

@@ -18,7 +18,7 @@ You may answer issues at Github and help those who encounter issues when using C
## Contribute codes
You are welcome to contribute codes to Cloudpods. Please refers to [CONTRIBUTING](https://www.cloudpods.org/en/docs/development/contrib/) for more details on how to contribute codes to Cloudpods.
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
@@ -29,8 +29,8 @@ You may help solve bugs by submiting patches.
You may help improve the codes of Cloudpods, including:
* Develop new [features for Cloudpods](https://github.com/yunionio/cloudpods/issues?q=is%3Aopen+is%3Aissue+label%3Afeature).
* Recode some part of Cloudpods so as to make the code easier to be understood, or less error-prone, or more efficient.
* 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

View File

@@ -18,7 +18,7 @@ Cloudpods是一款开源的基础设施管理工具软件运行场景复杂
## 贡献代码
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/docs/development/contrib/).
我们非常欢迎和感谢开发者向项目提交代码PR流程细节请查看 [CONTRIBUTING](https://www.cloudpods.org/zh/docs/contribute/contrib/).
### 修复BUG
@@ -27,8 +27,8 @@ Cloudpods是一款开源的基础设施管理工具软件运行场景复杂
### 开发新的功能特性
不仅仅是修复BUG您也可以通过提交代码以改进Cloudpods包括但不限于
* 开发新的功能特性,您可以在[feature issues](https://github.com/yunionio/cloudpods/issues?q=is%3Aopen+is%3Aissue+label%3Afeature)查找需要的功能
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
* 开发新的功能特性,您可以在[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/)找到Cloudpods的功能规划
* 重构代码,使得代码更加简洁易读,更加低健壮,或者执行起来更加高效
## 文档

View File

@@ -47,6 +47,11 @@ PKGS := go list ./...
CGO_CFLAGS_ENV = $(shell go env CGO_CFLAGS)
CGO_LDFLAGS_ENV = $(shell go env CGO_LDFLAGS)
ifdef LIBQEMUIO_PATH
X_CGO_CFLAGS := ${CGO_CFLAGS_ENV} -I${LIBQEMUIO_PATH}/src -I${LIBQEMUIO_PATH}/src/include
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -lgnutls -lnettle -L ${LIBQEMUIO_PATH}/src
endif
export GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
@@ -58,7 +63,7 @@ ifeq ($(UNAME), Linux)
XARGS_FLAGS = --no-run-if-empty
endif
cmdTargets:=$(wildcard cmd/*)
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)))
@@ -76,7 +81,7 @@ gencopyright:
@bash scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage|torrent')
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
vet:
go vet ./...
@@ -84,9 +89,12 @@ vet:
# cmd/esxi-agent: prepare_dir
# CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: prepare_dir
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) $*
@@ -96,6 +104,21 @@ deb/%: cmd/%
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)
@@ -166,8 +189,7 @@ goimports-check:
echo "$@: working tree modified (possibly by goimports)" >&2 ; \
echo "$@: " >&2 ; \
echo "$@: import spec should be grouped in order: std, 3rd-party, yunion.io/x, yunion.io/x/onecloud" >&2 ; \
echo "$@: goimports should be installed by: \
echo "$@: git clone --depth 4 https://github.com/yunionio/tools && cd tools && go install ./cmd/goimports ; \
echo "$@: see \"yun\" branch at https://github.com/yousong/tools" >&2 ; \
false ; \
fi
.PHONY: goimports-check
@@ -185,7 +207,6 @@ 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/llm \
yunion.io/x/onecloud/cmd/monitor \
yunion.io/x/onecloud/cmd/region \
yunion.io/x/onecloud/cmd/yunionconf \
@@ -237,7 +258,7 @@ hostdeployer-grpc-gen:
check: fmt-check
check: gendocgo-check
#check: goimports-check
check: goimports-check
#check: vet-check
#check: y18n-check
.PHONY: check
@@ -261,18 +282,20 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=master
GOPROXY ?= direct
mod:
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v '/cloudmux$$'))
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go mod tidy
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go mod vendor -v
define helpText
Build with docker
make docker-centos-build F='-j4'
make docker-centos-build F='-j4 cmd/region cmd/climc'
make docker-centos-build-stop
make docker-alpine-build F='-j4'
make docker-alpine-build F='-j4 cmd/host cmd/host-deployer'
make docker-alpine-build-stop
@@ -324,7 +347,7 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=v4.0-20260115.0 GOOS=linux ARCH=all make image telegraf-raid-plugin
VERSION=release-1.6.4 ARCH=all make image telegraf-raid-plugin
%:
@:

View File

@@ -8,7 +8,8 @@ endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.23-go-1.26.3-0
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.16.0-go-1.18.2-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.18.3-0
EnvIf=$(if $($(1)),$(1)=$($(1)))
@@ -16,7 +17,6 @@ define dockerCentOSBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
env \
$(call EnvIf,GOARCH) \
@@ -28,12 +28,32 @@ endef
tmpName=$(ModBaseName)-$(shell date +"%Y%m%d.%H%M%S%3N")
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker rm --force docker-centos-build-$(tmpName) &>/dev/null || true
docker run \
--rm \
--name docker-centos-build-$(tmpName) \
-v $(CURDIR):/root/go/src/yunion.io/x/$(ModBaseName) \
-v $(CURDIR)/_output/centos-build:/root/go/src/yunion.io/x/$(ModBaseName)/_output \
-v $(CURDIR)/_output/centos-build/_cache:/root/.cache \
$(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-$(tmpName) || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
git config --global --add safe.directory /root/go/src/yunion.io/x/$(ModBaseName)
cd /root/go/src/yunion.io/x/$(ModBaseName)
git config --global --add safe.directory /root/go/src/yunion.io/x/onecloud
env \

7
OWNERS
View File

@@ -1,6 +1,9 @@
# See the OWNERS docs at https://go.k8s.io/owners
reviewers:
- Zexi
- ioito
- swordqiu
- tb365
approvers:
- swordqiu
- Zexi
- ioito
- wanyaoqi

View File

@@ -1,17 +1,14 @@
# Cloudpods
[![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)
[简体中文](./README-CN.md) | [English](./README.md)
## Cloudpods是什么?
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台,也就是一个云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与 AI 容器应用的统一管理平台,帮助企业在同一平台完成 AI 工作负载的部署、调度与运维,与 Cloudpods 私有云/多云资源体系无缝集成。
Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的云平台,也就是一个云上之云”。Cloudpods不仅可以管理本地的虚拟机和物理机资源还可以管理多个云平台和云账号。Cloudpods隐藏了这些异构基础设施资源的数据模型和API的差异对外暴露了一套统一的API允许用户就像用一个云一样地访问多云。从而大大降低了访问多云的复杂度提升了管理多云的效率。
## 谁需要Cloudpods?
@@ -20,24 +17,20 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个公有云账号但希望将来使用多云的用户
* 需要部署和管理 LLM 推理服务及 AI 容器应用,并需要 GPU 调度支持的用户
* 当前只使用一个公有云账号但希望将来使用多云的用户
## 功能
请访问[产品介绍](https://www.cloudpods.org/docs/introduction/)页面了解详细信息。
Cloudpods提供了如下的功能
### AI 云
* **AI 推理服务**:部署和管理 LLM 推理实例(支持 Ollama、vLLM、SGLang 等),支持 GPU 调度、模型挂载与推理服务地址分配。
* **AI 应用管理**:一站式部署 LLM 应用编排、智能体助手、图像生成等 AI 容器应用。
* **模型库**:统一管理模型来源、版本与缓存,支持多实例复用、离线分发,避免重复下载。
* **模板与镜像**:通过模板定义 CPU/内存/GPU 等资源规格,通过镜像管理容器运行环境,实现标准化交付。
* **GPU 运维**GPU 设备自动探测与注册,支持 NVIDIA/CUDA 环境的统一配置与管理。
支持的 AI 工作负载:
* AI 推理Ollama、vLLM、SGLang
* AI 应用OpenClaw、Dify、ComfyUI、Hermes Agent
* 管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等
* 允许以统一的联邦身份访问各个云平台的原生控制台的SSO
* 一个可以管理海量KVM虚拟机的轻量级私有云
* 一个能进行物理机全生命周期管理的裸机云
* 实现了VMware vSphere虚拟化集群的自助服务和自动化
* 一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
* 一套完整的多租户认证和访问控制体系
* 自动将镜像转换为不同云平台需要的格式的多云镜像服务
### 支持的云平台
@@ -49,45 +42,75 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
* 华为云
* 腾讯云
* UCloud
* 天翼
* 移动云
* 中国电信
* 中国移动云
* 京东云
* 火山引擎
* 百度云
* 金山云
* 青云
* Oracle Cloud
* 联通云
* 私有云:
* OpenStack
* ZStack
* Alibaba Cloud Apsara (阿里飞天)
* Huawei HCSO (华为HCSO)
* Nutanix
* BingoCloud
* OceanBase
* AlibabaCloud Aspara (阿里飞天)
* 本地基础设施资源:
* 基于 KVM 实现的轻量级私有云
* VMware vSphere vCenter/ESXi
* Proxmox VE
* 裸金属 (IPMI, Redfish API)
* 对象存储 (Minio, Ceph, XSky)
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
### 支持的云资源
* 服务器实例、磁盘、网卡、网络、VPC、存储、宿主机、二层网络、快照、快照策略、安全组、弹性 IP、SSH 密钥对、镜像
* 负载均衡实例、监听、后端服务器组、后端服务器、TLS 证书、访问控制
* 对象存储:存储桶、对象
* NAS:文件系统、权限组、挂载点
* RDS:实例、账号、备份、数据库、参数、权限
* 弹性缓存:实例、账号、备份、参数
* DNSDNS 区域、DNS 记录
* VPCVPCVPC 对等连接、跨 VPC 网络、NAT 网关、DNAT/SNAT 规则、路由表、路由条目
* 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://www.cloudpods.org/docs/getting-started/)选择合适的场景部署。
我们可以通过以下简单三步将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 ansible
```
#### Debian 10安装git
```bash
apt install -y git ansible
```
### 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/) 获得更详细的安装指导。
## 文档
@@ -101,13 +124,23 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
## 联系我们
* 请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
您可以通过如下方式联系我们:
* TG群: [cloudpods](https://t.me/cloudpods_org)
* 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">
## 版本历史
查看[发布日志](https://www.cloudpods.org/docs/release-notes/)和[Changelog](https://www.cloudpods.org/docs/development/changelog/)
访问[Cloudpods Changelog](https://www.cloudpods.org/zh/docs/changelog/).
## 开发规划
请访问[Cloudpods Roadmap](https://www.cloudpods.org/zh/docs/roadmap/).
## 贡献
@@ -116,7 +149,3 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
## License
Apache license 2.0,详情请看 [LICENSE](./LICENSE)。
## AI生成文档
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) 提供了对本项目代码详细和全面的AI解读可以参考。

117
README.md
View File

@@ -1,43 +1,36 @@
# Cloudpods
[![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)
[English](./README.md) | [简体中文](./README-CN.md)
## What is Cloudpods?
<img src="https://v1.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
<img src="https://www.cloudpods.org/images/cloudpods_logo_green.png" alt="Cloudpods" height="100">
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.
Cloudpods also provides **AI Cloud**, a unified management platform for large language model (LLM) inference and AI container applications, helping enterprises deploy, schedule, and operate AI workloads on a single platform, seamlessly integrated with the Cloudpods private cloud / multi-cloud resource ecosystem.
## Who needs Cloudpods?
* 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 accounts from multiple public clouds
* 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
* Those who need to deploy and manage LLM inference services and AI container applications with GPU support
## Features
See [Introduction](https://www.cloudpods.org/docs/introduction/) for details.
### AI Cloud
* **AI Inference Services**: Deploy and manage LLM inference instances (Ollama, vLLM, SGLang, and more) with GPU scheduling, model mounting, and inference service address allocation.
* **AI Application Management**: One-stop deployment of LLM application orchestration, agent assistants, image generation, and other AI container applications.
* **Model Library**: Unified management of model sources, versions, and caches, supporting multi-instance reuse and offline distribution.
* **Templates and Images**: Define resource specifications (CPU/memory/GPU) through templates, manage container runtime environments through images.
* **GPU Operations**: Automatic GPU device detection and registration, unified NVIDIA/CUDA environment configuration and management.
Supported AI workloads:
* AI Inference: Ollama, vLLM, SGLang
* AI Applications: OpenClaw, Dify, ComfyUI, Hermes Agent
* 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
### Supported cloud providers
@@ -52,24 +45,13 @@ Supported AI workloads:
* Ctyun (China Telecom)
* ECloud (China Mobile)
* JDCloud
* Volcengine
* Baidu Cloud
* Kingsoft Cloud
* QingCloud
* Oracle Cloud
* China Unicom Cloud
* Private Clouds:
* OpenStack
* ZStack
* Alibaba Cloud Apsara
* Huawei HCSO
* Nutanix
* BingoCloud
* OceanBase
* AlibabaCloud Aspara
* On-premise resources:
* Lightweight private cloud built on KVM
* VMware vSphere vCenter/ESXi
* Proxmox VE
* KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
@@ -77,7 +59,7 @@ Supported AI workloads:
### Supported resources
* 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, TLS certificates, ACLs
* 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
@@ -85,9 +67,54 @@ Supported AI workloads:
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Getting started
## 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 ansible
```
#### For Debian 10
```bash
apt install -y git ansible
```
### 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 refer to the document [Getting Started](https://www.cloudpods.org/en/docs/getting-started/) to select the appropriate scenario for installation.
## Documentations
@@ -102,13 +129,23 @@ Please check this [issue](https://github.com/yunionio/cloudpods/issues/11427) fo
## Contact
* See [Contact Us](https://www.cloudpods.org/en/docs/contact/) for details.
You may contact us by:
* Telegram: [cloudpods](https://t.me/cloudpods_org)
* 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 [Release Notes](https://www.cloudpods.org/en/docs/release-notes/) and [Changelog](https://www.cloudpods.org/en/docs/development/changelog/) for details.
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
@@ -117,7 +154,3 @@ You are welcome to do any kind of contribution to the project. Please refer to [
## License
Apache License 2.0. See [LICENSE](./LICENSE).
## AI-generated doc
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) provides an amazing AI-generated doc of this project, you may refer to it for more detailed and comprehensive understanding of codes.

View File

@@ -1 +0,0 @@
DESCRIPTION="Yunion Cloud AI Proxy Service"

View File

@@ -36,12 +36,6 @@ fi
. $ROOT/vars
BUILDROOT=$(mktemp -d 2>/dev/null || mktemp -d -t 'yunion')
function cleanup {
rm -rf "$BUILDROOT"
echo "Deleted temp working directory $BUILDROOT"
}
# register the cleanup function to be called on the EXIT signal
trap cleanup EXIT
echo "Build root ${BUILDROOT}"
@@ -79,8 +73,6 @@ echo "# Yunion RPM spec
%global pkgname yunion-$PKG
%global homedir /var/run/%{owner}
%global use_systemd $SERVICE
%global debug_package %{nil}
%global __strip /usr/bin/eu-strip
Name: %{pkgname}
Version: $VERSION
@@ -112,87 +104,41 @@ if [ -d $ROOT/root ]; then
rsync -a $ROOT/root/ \$RPM_BUILD_ROOT
fi
%pre" > $SPEC_FILE
if [ -f $ROOT/preinst ]; then
cat $ROOT/preinst >> $SPEC_FILE
else
echo "
%pre
%if %{use_systemd}
getent group %{owner} >/dev/null || /usr/sbin/groupadd -r %{owner}
getent passwd %{owner} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d %{homedir} -M -g %{owner} %{owner}
%endif
" >> $SPEC_FILE
fi
echo "
%post" >> $SPEC_FILE
if [ -f $ROOT/postinst ]; then
cat $ROOT/postinst >> $SPEC_FILE
else
echo "
%post
%if %{use_systemd}
mkdir -p /var/run/%{owner}
chown -R %{owner}:%{owner} /var/run/%{owner}
/usr/bin/systemctl preset %{pkgname}.service >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
echo "
%preun" >> $SPEC_FILE
if [ -f $ROOT/prerm ]; then
cat $ROOT/prerm >> $SPEC_FILE
else
echo "
%preun
%if %{use_systemd}
/usr/bin/systemctl --no-reload disable %{pkgname}.service >/dev/null 2>&1 || :
/usr/bin/systemctl stop %{pkgname}.service >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
echo "
%postun" >> $SPEC_FILE
if [ -f $ROOT/postrm ]; then
cat $ROOT/postrm >> $SPEC_FILE
else
echo "
%postun
%if %{use_systemd}
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
%endif
" >> $SPEC_FILE
fi
echo -n "
%files
%doc
$BIN_PATH/$PKG
" >> $SPEC_FILE
for b in $EXTRA_BINS; do
echo $BIN_PATH/$b >> $SPEC_FILE
done
$(for b in $EXTRA_BINS; do echo $BIN_PATH/$b; done)
" > $SPEC_FILE
if [ -d $ROOT/root/ ]; then
find $ROOT/root/ -type f | sed -e "s:$ROOT/root::g" >> $SPEC_FILE
fi
TARGET=
case "$GOARCH" in
"arm64" | "aarch64" | "arm")
TARGET="--target aarch64-redhat-linux"
;;
"amd64" | "x86" | "i686" | "i386" | "x86_64")
TARGET="--target x86_64-redhat-linux"
;;
"riscv64")
TARGET="--target riscv64-linux"
;;
esac
rpmbuild --define "_topdir $BUILDROOT" -bb $SPEC_FILE $TARGET
rpmbuild --define "_topdir $BUILDROOT" -bb $SPEC_FILE
find $RPM_DIR -type f | while read f; do
d="$(dirname "$f")"
@@ -200,3 +146,5 @@ find $RPM_DIR -type f | while read f; do
mkdir -p "$d"
cp $f $d
done
rm -fr $BUILDROOT

View File

@@ -35,48 +35,14 @@ fi
. $ROOT/vars
case $(uname -m) in
x86_64)
CURRENT_ARCH=amd64
;;
aarch64)
CURRENT_ARCH=arm64
;;
riscv64)
CURRENT_ARCH=riscv64
;;
esac
if [[ -n "$GOARCH" ]]; then
case "$GOARCH" in
"arm64" | "arm" | "aarch64")
CURRENT_ARCH="arm64"
;;
"x86" | "x86_64" | "i686" | "i386" | "amd64")
CURRENT_ARCH="amd64"
;;
"riscv64")
CURRENT_ARCH="riscv64"
;;
esac
fi
if [ -z "$VERSION" ]; then
TAG=$(git describe --abbrev=0 --tags || echo 000000)
VERSION=${TAG/\//-}
VERSION=${VERSION/v/}
VERSION=${VERSION/master-/}
fi
RELEASE=`date +"%y%m%d%H"`
FULL_VERSION=$VERSION-$RELEASE
BUILDROOT=$OUTPUT_DIR/yunion-${PKG}-${FULL_VERSION}_${CURRENT_ARCH}
function cleanup {
rm -rf "$BUILDROOT"
echo "Deleted temp working directory $BUILDROOT"
}
# register the cleanup function to be called on the EXIT signal
trap cleanup EXIT
BUILDROOT=$OUTPUT_DIR/yunion-$1-$FULL_VERSION
rm -rf $BUILDROOT
mkdir -p $BUILDROOT/DEBIAN
mkdir -p $BUILDROOT/$BIN_PATH
@@ -86,90 +52,27 @@ if [ -d $ROOT/root ]; then
cp -rf $ROOT/root/* $BUILDROOT/
fi
echo "Build root ${BUILDROOT}"
echo "Package: yunion-$PKG
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: $DESCRIPTION" > $BUILDROOT/DEBIAN/control
if [ ${#REQUIRES[@]} -gt 0 ]; then
DEPS=$(IFS=, ; echo "${REQUIRES[*]}")
echo "Depends: $DEPS" >> $BUILDROOT/DEBIAN/control
fi
Description: Yunion $1
" > $BUILDROOT/DEBIAN/control
chmod 0755 $BUILDROOT/DEBIAN/control
cat $BUILDROOT/DEBIAN/control
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/preinst
if [ -f $ROOT/preinst ]; then
cat $ROOT/preinst >> $BUILDROOT/DEBIAN/preinst
else
if [ "$SERVICE" == "yes" ] && [ -n "$OWNER" ]; then
echo "
getent group ${OWNER} >/dev/null || /usr/sbin/groupadd -r ${OWNER}
getent passwd ${OWNER} >/dev/null || /usr/sbin/useradd -r -s /sbin/nologin -d /home/${OWNER} -M -g ${OWNER} ${OWNER}
" >> $BUILDROOT/DEBIAN/preinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/preinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postinst
if [ -f $ROOT/postinst ]; then
cat $ROOT/postinst >> $BUILDROOT/DEBIAN/postinst
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl preset yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postinst
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postinst
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/prerm
if [ -f $ROOT/prerm ]; then
cat $ROOT/prerm >> $BUILDROOT/DEBIAN/prerm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl --no-reload disable yunion-${PKG}.service >/dev/null 2>&1 || :
/usr/bin/systemctl stop yunion-${PKG}.service >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/prerm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/prerm
echo "#!/bin/bash
" > $BUILDROOT/DEBIAN/postrm
if [ -f $ROOT/postrm ]; then
cat $ROOT/postrm >> $BUILDROOT/DEBIAN/postrm
else
if [ "$SERVICE" == "yes" ]; then
echo "
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 ||:
" >> $BUILDROOT/DEBIAN/postrm
fi
fi
chmod 0755 $BUILDROOT/DEBIAN/postrm
dpkg-deb --build $BUILDROOT
case "$CURRENT_ARCH" in
"amd64")
DSTARCH="x86_64"
;;
"arm64")
DSTARCH="aarch64"
;;
"riscv64")
DSTARCH="riscv64"
;;
esac
mkdir -p ${OUTPUT_DIR}/${DSTARCH}
mv ${BUILDROOT}.deb ${OUTPUT_DIR}/${DSTARCH}/
dpkg-deb --build $BUILDROOT

View File

@@ -1,19 +0,0 @@
#!/bin/bash
set -e
BASHRC=/etc/profile.d/climc.sh
grep -q rcadmin $BASHRC || echo 'source /etc/yunion/rcadmin' >> $BASHRC
source $BASHRC
climc sshkeypair-inject --admin --target-dir /root/
mkdir -p /etc/dropbear
mkdir -p /var/run/dropbear
test -f /etc/dropbear/dropbear_rsa_host_key || dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbear -RFEjk -G root -p 22

View File

@@ -1,22 +1,3 @@
export PATH=/opt/yunion/bin:$PATH
if [ -f /etc/profile.d/bash_completion.sh ]; then
source /etc/profile.d/bash_completion.sh
fi
test -f /etc/yunion/rcadmin && source /etc/yunion/rcadmin
if [ -n "$OS_AUTH_TOKEN" ]; then
test -n "$OS_USERNAME" && unset OS_USERNAME
test -n "$OS_PASSWORD" && unset OS_PASSWORD
test -n "$OS_DOMAIN_NAME" && unset OS_DOMAIN_NAME
test -n "$OS_ACCESS_KEY" && unset OS_ACCESS_KEY
test -n "$OS_SECRET_KEY" && unset OS_SECRET_KEY
fi
source <(climc --completion bash)
source <(kubectl completion bash)
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

@@ -47,11 +47,6 @@ do
climc server-purge $i > /dev/null
done
for i in $(climc server-list --admin --limit 2048 --system --filter "backup_host_id.equals($HOSTID)" | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-delete-backup $i > /dev/null
done
echo "3. Clean disks on $HOSTNAME($HOSTID)"
for storageid in $(climc host-storage-list --host $HOSTID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')

View File

@@ -1,35 +0,0 @@
<?xml version="1.0"?>
<EntityDescriptor xmlns="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" entityID="https://www.volcengine.com/">
<SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol" WantAssertionsSigned="true">
<KeyDescriptor use="signing">
<ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<ds:X509Data>
<ds:X509Certificate>MIIDJjCCAg6gAwIBAgIUF3lH8/cdlQeyPBqt066RFnt3cI4wDQYJKoZIhvcNAQELBQAwJTEjMCEGA1UEAxMadXJuOnZvbGNlbmdpbmU6d2Vic2VydmljZXMwHhcNMjMwODA4MDIzNzI4WhcNMzMwODIxMTYwMDAwWjAlMSMwIQYDVQQDExp1cm46dm9sY2VuZ2luZTp3ZWJzZXJ2aWNlczCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPZ+nhODpFTe+A8PbuZYA5XDQ04WckV1A5U90tKaaUX5uKLUYfDtFA1TwMO/qG87LU/0Pxs4FhgZJkUOeBHkyYzzXZQvtfsJ9frcKkcTjX/WF4XJyitXCULSjhcclMS3gOqeI/Mo3P90KutfhNli/mAHQJaRsuPFG4ZwBusbUo8i5sqBqt/Sg8JapH7DjEU2mN1165o59gavPGSByPeEuu28EkivVFcI7Jox5ztwgMrOYY+pYP9GeSurzpyLq3CfvvahTsAJjuHDHTTnYNcq/I3VOap/y4cOU6vgxcQvBmgb+CBvGldjn0em3BIn5meQwuB6jfQ7kqBaO1PRD1nhDTMCAwEAAaNOMEwwSgYIKwYBBQUHAQEEPjA8MDoGCCsGAQUFBzABhi5odHRwOi8vbmV4dXMtcHJvZHVjdGlvbi5ieXRlZGFuY2UubmV0L3BjYS9vY3NwMA0GCSqGSIb3DQEBCwUAA4IBAQBxySDr9TPJxRN+otrFDaV8HSeFKUUSO3+r8bEVAXmS+xUsdUOZbaf2r/g+eKrW58dpn+iBWTAAKug9Jwe5KVGqB7G5r2r6k/eI5dvv5r/Fr5T7NppRCXKQTQiAhrrVlqttsagPztJ6LmVAcm4sh4Ckx99FgibQCbT/zui+c6IUyEQcVIwtmoPANl3K2Yn85t+G+Cu9xxXY0JPlZcUHntHg0R0PUWc3LuzLXnff7JWEzPyhMUBLpQk5BltxuD5cTGCA6WafJuBTAqkt48VN0MFTP5c5m3PJFz8Ro1GLY8hw1uhUEx28DKBkQSGpkZNx0oJXETIDpSBfD0dHWBvZQPd0</ds:X509Certificate>
</ds:X509Data>
</ds:KeyInfo>
</KeyDescriptor>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:transient</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:kerberos</NameIDFormat>
<NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:entity</NameIDFormat>
<AssertionConsumerService index="1" isDefault="true" Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://signin.volcengine.com/saml/sso"/>
<AttributeConsumingService index="1">
<ServiceName xml:lang="en">Volcengine Single Sign-On</ServiceName>
<RequestedAttribute isRequired="true" Name="https://www.volcengine.com/SAML/Attributes/Identity" FriendlyName="Identity"/>
<RequestedAttribute isRequired="true" Name="https://www.volcengine.com/SAML/Attributes/SessionName" FriendlyName="SessionName"/>
<RequestedAttribute isRequired="false" Name="https://www.volcengine.com/SAML/Attributes/SessionDuration" FriendlyName="SessionDuration"/>
</AttributeConsumingService>
</SPSSODescriptor>
<Organization>
<OrganizationName xml:lang="en">Volcengine, Inc.</OrganizationName>
<OrganizationDisplayName xml:lang="en">Volcengine</OrganizationDisplayName>
<OrganizationURL xml:lang="en">https://www.volcengine.com</OrganizationURL>
</Organization>
</EntityDescriptor>

View File

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

View File

@@ -1,8 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:v1.1.1
# https://github.com/yunionio/telegraf/blob/yn-release-1.36/Makefile.yn#L28
# install playbook and telegraf install pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.5 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.5 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,31 +1,20 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
LABEL maintainer="Yousong Zhou <zhouyousong@yunionyun.com>"
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
ENV TZ="UTC"
ENV TZ UTC
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add py3-pip \
&& apk add py3-paramiko \
&& apk add tzdata git ca-certificates
RUN apk add --no-cache openssh openssl curl rsync pv mariadb-client
RUN apk add --no-cache --virtual .build-dependencies \
libffi-dev openssl-dev python3-dev build-base py-setuptools rust cargo mariadb-dev
# ansible should be installed
# after setuptools and wheel
RUN rm /usr/lib/python3.*/EXTERNALLY-MANAGED
RUN pip3 install -U pip setuptools wheel \
&& pip3 install mysqlclient pywinrm \
&& pip3 install 'ansible<=9.0.0' \
&& apk del --no-network .build-dependencies \
&& rm -rf /root/.cache /root/.cargo /var/cache/apk/*
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add py3-pip \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*
RUN pip3 install pywinrm

View File

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

View File

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

View File

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

View File

@@ -1,8 +1,9 @@
#FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
#RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#RUN yum install -y http://192.168.23.50:8083/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v4.0.0-20251203.0 as yunionos
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v0.1.8-20230221.2 as yunionos
FROM registry.cn-beijing.aliyuncs.com/cloudpods/centos:8 as grub-stage
FROM centos:8 as grub-stage
RUN sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
RUN sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*
@@ -27,9 +28,9 @@ RUN cp /root/grub_arm64.efi /tftp
RUN cp -rf /usr/lib/grub/arm64-efi /tftp/grub
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3-3.13.5
LABEL maintainer="Zexi Li <zexi.li@icloud.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
RUN mkdir -p /opt/yunion/bin
@@ -69,8 +70,6 @@ COPY --from=yunionos /yunionos/x86_64/kernel /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/x86_64/initramfs /opt/cloud/yunion/baremetal
COPY --from=yunionos /yunionos/aarch64/kernel /opt/cloud/yunion/baremetal/kernel_aarch64
COPY --from=yunionos /yunionos/aarch64/initramfs /opt/cloud/yunion/baremetal/initramfs_aarch64
COPY --from=yunionos /yunionos/riscv64/kernel /opt/cloud/yunion/baremetal/kernel_riscv64
COPY --from=yunionos /yunionos/riscv64/initramfs /opt/cloud/yunion/baremetal/initramfs_riscv64
# TODO: syslinux firmwares should removed in future
COPY --from=yunionos /yunionos/x86_64/isolinux.bin /opt/cloud/yunion/baremetal

View File

@@ -1,7 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:3.22.2-2
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
ADD ./build/climc/root/opt /opt
RUN cp /opt/yunion/scripts/motd/climc.sh /etc/profile.d/climc.sh && ln -sf /etc/profile.d/climc.sh /root/.bashrc
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,24 +1,18 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
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 ceph-common dropbear shadow && \
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim ipmitool kubectl ceph-common && \
rm -rf /var/cache/apk/*
RUN usermod --shell /bin/bash root
RUN curl https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH="/opt/yunion/bin:${PATH}"
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,24 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
RUN mkdir -p /opt/yunion/bin
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 ceph-common dropbear shadow && \
rm -rf /var/cache/apk/*
RUN usermod --shell /bin/bash root
RUN curl -L https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/yunion/bin

View File

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

@@ -1,6 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /etc/yunion/data/

View File

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

View File

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

@@ -1,6 +1,6 @@
# registry.cn-beijing.aliyuncs.com/yunionio/debian10-base:1.0
FROM debian:trixie
FROM debian:10
RUN apt update && apt install -y alien

View File

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

View File

@@ -1,6 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/dhcprelay /opt/yunion/bin/dhcprelay
ENV PATH $PATH:/opt/yunion/bin
WORKDIR /opt/yunion/bin

View File

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

View File

@@ -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,5 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:v0.0.1
ENV TZ="UTC"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/glance /opt/yunion/bin/glance

View File

@@ -1,7 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/torrent:20210815.0
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN apk add --no-cache s3fs-fuse
RUN apk add --no-cache s3fs-fuse --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing

View File

@@ -1,360 +0,0 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
# Dockerfile for guacamole-server
#
# The Alpine Linux image that should be used as the basis for the guacd image
ARG ALPINE_BASE_IMAGE=3.22.2
# The target architecture of the build. Valid values are "ARM" and "X86". By
# default, this is detected automatically.
ARG BUILD_ARCHITECTURE
# The number of processes that may run simultaneously during the build. By
# default, this is detected automatically.
ARG BUILD_JOBS
# The directory that will house the guacamole-server source during the build
ARG BUILD_DIR=/tmp/guacamole-server
# FreeRDP version (default to version 2)
ARG FREERDP_VERSION=2
# The final install location for guacamole-server and all dependencies. NOTE:
# This value is hard-coded in the entrypoint. Any change to this value must be
# propagated there.
ARG PREFIX_DIR=/opt/guacamole
#
# Automatically select the latest versions of each core protocol support
# library (these can be overridden at build time if a specific version is
# needed)
#
ARG WITH_FREERDP="${FREERDP_VERSION}(\.\d+)+"
ARG WITH_LIBSSH2='libssh2-\d+(\.\d+)+'
ARG WITH_LIBTELNET='\d+(\.\d+)+'
ARG WITH_LIBVNCCLIENT='LibVNCServer-\d+(\.\d+)+'
ARG WITH_LIBWEBSOCKETS='v\d+(\.\d+)+'
ARG WITH_GUACAMOLE_SERVER='\d+(\.\d+)+'
#
# Default build options for each core protocol support library, as well as
# guacamole-server itself (these can be overridden at build time if different
# options are needed)
#
ARG FREERDP_ARM_OPTS=""
ARG FREERDP_OPTS="\
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
-DWITH_ALSA=OFF \
-DWITH_CAIRO=ON \
-DWITH_CHANNELS=ON \
-DWITH_CLIENT=ON \
-DWITH_CUPS=OFF \
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_FUSE=OFF \
-DWITH_GSM=OFF \
-DWITH_GSSAPI=OFF \
-DWITH_IPP=OFF \
-DWITH_JPEG=ON \
-DWITH_KRB5=ON \
-DWITH_LIBSYSTEMD=OFF \
-DWITH_MANPAGES=OFF \
-DWITH_OPENH264=OFF \
-DWITH_OPENSSL=ON \
-DWITH_OSS=OFF \
-DWITH_PCSC=OFF \
-DWITH_PKCS11=OFF \
-DWITH_PULSE=OFF \
-DWITH_SERVER=OFF \
-DWITH_SERVER_INTERFACE=OFF \
-DWITH_SHADOW_MAC=OFF \
-DWITH_SHADOW_X11=OFF \
-DWITH_SWSCALE=OFF \
-DWITH_WAYLAND=OFF \
-DWITH_X11=OFF \
-DWITH_X264=OFF \
-DWITH_XCURSOR=ON \
-DWITH_XEXT=ON \
-DWITH_XI=OFF \
-DWITH_XINERAMA=OFF \
-DWITH_XKBFILE=ON \
-DWITH_XRENDER=OFF \
-DWITH_XTEST=OFF \
-DWITH_XV=OFF \
-DCMAKE_CXX_FLAGS=-Wno-incompatible-pointer-types \
-DCMAKE_C_FLAGS=-Wno-incompatible-pointer-types \
-DWITH_ZLIB=ON"
ARG FREERDP_X86_OPTS=""
ARG GUACAMOLE_SERVER_ARM_OPTS=""
ARG GUACAMOLE_SERVER_OPTS="\
--disable-guaclog \
CPPFLAGS=-Wno-error=deprecated-declarations"
ARG GUACAMOLE_SERVER_X86_OPTS=""
ARG GUACAMOLE_SERVER_UNKNOWN_OPTS=""
ARG LIBSSH2_ARM_OPTS=""
ARG LIBSSH2_OPTS="\
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON"
ARG LIBSSH2_X86_OPTS=""
ARG LIBTELNET_ARM_OPTS=""
ARG LIBTELNET_OPTS="\
--disable-static \
--disable-util"
ARG LIBTELNET_X86_OPTS=""
ARG LIBVNCCLIENT_ARM_OPTS=""
ARG LIBVNCCLIENT_OPTS=""
ARG LIBVNCCLIENT_X86_OPTS=""
ARG LIBWEBSOCKETS_ARM_OPTS=""
ARG LIBWEBSOCKETS_OPTS="\
-DDISABLE_WERROR=ON \
-DLWS_WITHOUT_SERVER=ON \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_TEST_CLIENT=ON \
-DLWS_WITHOUT_TEST_PING=ON \
-DLWS_WITHOUT_TEST_SERVER=ON \
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITH_STATIC=OFF"
ARG LIBWEBSOCKETS_X86_OPTS=""
#
# Base builder image that will be used by subsequent build stages, including
# for building dependencies of guacamole-server.
#
FROM alpine:${ALPINE_BASE_IMAGE} AS builder
ARG BUILD_DIR
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# Install build dependencies
RUN apk add \
autoconf \
automake \
build-base \
cairo-dev \
cjson-dev \
cmake \
cunit-dev \
git \
grep \
krb5-dev \
libjpeg-turbo-dev \
libpng-dev \
libtool \
libwebp-dev \
make \
openssl-dev \
pango-dev \
pulseaudio-dev \
sdl2-dev \
sdl2_ttf-dev \
util-linux-dev
ARG GUAC_VER=1.6.0
RUN git clone --branch=${GUAC_VER} https://github.com/apache/guacamole-server.git ${BUILD_DIR}
#
# Build dependency: libssh2
#
FROM builder AS libssh2
ARG BUILD_DIR
ARG LIBSSH2_ARM_OPTS
ARG LIBSSH2_OPTS
ARG LIBSSH2_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBSSH2
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBSSH2" \
"https://github.com/libssh2/libssh2"
#
# Build dependency: libtelnet
#
FROM builder AS libtelnet
ARG BUILD_DIR
ARG LIBTELNET_ARM_OPTS
ARG LIBTELNET_OPTS
ARG LIBTELNET_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBTELNET
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBTELNET" \
"https://github.com/seanmiddleditch/libtelnet"
#
# Build dependency: libvncclient
#
FROM builder AS libvncclient
ARG BUILD_DIR
ARG LIBVNCCLIENT_ARM_OPTS
ARG LIBVNCCLIENT_OPTS
ARG LIBVNCCLIENT_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBVNCCLIENT
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBVNCCLIENT" \
"https://github.com/LibVNC/libvncserver"
#
# Build dependency: libwebsockets
#
FROM builder AS libwebsockets
ARG BUILD_DIR
ARG LIBWEBSOCKETS_ARM_OPTS
ARG LIBWEBSOCKETS_OPTS
ARG LIBWEBSOCKETS_X86_OPTS
ARG PREFIX_DIR
ARG WITH_LIBWEBSOCKETS
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "LIBWEBSOCKETS" \
"https://github.com/warmcat/libwebsockets"
#
# Build dependency: FreeRDP
#
FROM builder AS freerdp
ARG BUILD_DIR
ARG FREERDP_ARM_OPTS
ARG FREERDP_OPTS
ARG FREERDP_X86_OPTS
ARG PREFIX_DIR
ARG WITH_FREERDP
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "FREERDP" \
"https://github.com/FreeRDP/FreeRDP"
#
# STAGE 7: Collect dependencies built by previous stages and build
# guacamole-server.
#
FROM builder AS guacamole-server
ARG BUILD_DIR
ARG FREERDP_VERSION
ARG GUACAMOLE_SERVER_ARM_OPTS
ARG GUACAMOLE_SERVER_UNKNOWN_OPTS
ARG GUACAMOLE_SERVER_OPTS
ARG GUACAMOLE_SERVER_X86_OPTS
ARG PREFIX_DIR
ARG WITH_GUACAMOLE_SERVER
# Copy dependencies built in previous stages
COPY --from=freerdp ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libssh2 ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libtelnet ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libvncclient ${PREFIX_DIR} ${PREFIX_DIR}
COPY --from=libwebsockets ${PREFIX_DIR} ${PREFIX_DIR}
# Use guacamole-server source from build context
COPY --from=builder ${BUILD_DIR} ${BUILD_DIR}
RUN ${BUILD_DIR}/src/guacd-docker/bin/autobuild.sh "GUACAMOLE_SERVER" "${BUILD_DIR}"
# Determine location of the FREERDP library based on the version.
ARG FREERDP_LIB_PATH=${PREFIX_DIR}/lib/freerdp${FREERDP_VERSION}
# Record the packages of all runtime library dependencies
RUN ${BUILD_DIR}/src/guacd-docker/bin/list-dependencies.sh \
${PREFIX_DIR}/sbin/guacd \
${PREFIX_DIR}/lib/libguac-client-*.so \
${FREERDP_LIB_PATH}/*guac*.so \
> ${PREFIX_DIR}/DEPENDENCIES
#
# STAGE 8: Final, runtime image.
#
# Use same Alpine version as the base for the runtime image
FROM alpine:${ALPINE_BASE_IMAGE} AS runtime
ARG PREFIX_DIR
ARG BUILD_DIR
# Copy build artifacts into this stage
COPY --from=guacamole-server ${PREFIX_DIR} ${PREFIX_DIR}
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN cat ${PREFIX_DIR}/DEPENDENCIES
# Bring runtime environment up to date and install runtime dependencies
RUN apk add --no-cache \
ca-certificates \
font-noto-cjk \
ghostscript \
netcat-openbsd \
shadow \
terminus-font \
ttf-dejavu \
ttf-liberation \
util-linux-login && \
xargs apk add --no-cache < ${PREFIX_DIR}/DEPENDENCIES
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
# Checks the operating status every 5 minutes with a timeout of 5 seconds
HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
# Create a new user guacd
ARG UID=1000
ARG GID=1000
RUN groupadd --gid $GID guacd
RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd
# Run with user guacd
USER guacd
# Expose the default listener port
EXPOSE 4822
COPY --from=guacamole-server ${BUILD_DIR}/src/guacd-docker/bin/entrypoint.sh /opt/guacamole/
#COPY
ENTRYPOINT [ "/opt/guacamole/entrypoint.sh" ]

View File

@@ -1,8 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.9.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ="UTC"
ENV TZ UTC
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:1.5.11
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:1.3
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ="UTC"
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

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

View File

@@ -1,6 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ENV TZ="UTC"
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host-image /opt/yunion/bin/host-image
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:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/keystone /opt/yunion/bin/keystone

View File

@@ -1,9 +1,4 @@
FROM alpine:3.22.2
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
FROM alpine:3.11
RUN echo http://dl-cdn.alpinelinux.org/alpine/edge/testing >>/etc/apk/repositories
RUN apk update && apk add curl android-tools && rm -rf /var/cache/apk/*
RUN curl -L https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN apk update && apk add kubectl && rm -rf /var/cache/apk/*

View File

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

View File

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

View File

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

View File

@@ -1,3 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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,3 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
ADD ./_output/alpine-build/bin/mcp-server /opt/yunion/bin/mcp-server

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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,9 +1,9 @@
# TODO: use 3.14 will lead 'apk add qemu-img fail on arm64'
FROM alpine:3.22.1
FROM alpine:3.13.5
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ="UTC"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin

View File

@@ -1,8 +1,8 @@
FROM alpine:3.15.4
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ="UTC"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
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:v3.22.2-0
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:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
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:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
ADD ./_output/alpine-build/bin/scheduledtask /opt/yunion/bin/scheduledtask

View File

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

View File

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

View File

@@ -1,6 +1,10 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5-1
LABEL maintainer="Zexi Li <zexi.li@icloud.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 qemu-img && \

View File

@@ -1,7 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-5
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.10.5-1
LABEL maintainer="Yousong Zhou <zhouyousong@yunion.cn>"
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
ENV TZ="UTC"
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:3.22.2-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:v0.2-1
ADD ./_output/alpine-build/bin/webconsole /opt/yunion/bin/webconsole

View File

@@ -1,10 +1,10 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:3.22.2-1
FROM registry.cn-beijing.aliyuncs.com/yunionio/kubectl:1.18.6
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ="UTC"
ENV TZ UTC
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates bash && \
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates && \
rm -rf /var/cache/apk/*

View File

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

View File

@@ -1,7 +1,6 @@
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
DOCKER_BUILD = docker build -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64,linux/riscv64 --push -t $(REGISTRY)
DOCKER_BUILDX_BM = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
DOCKER_BUILDX = docker buildx build --platform linux/arm64,linux/amd64 --push -t $(REGISTRY)
debian10-base:
@@ -10,74 +9,54 @@ debian10-base:
ONECLOUD_BASE_VERSION = v0.3-3.13.5
ONECLOUD_BASE_VERSION_3-15-4 = v3.15.4-0
ONECLOUD_BASE_VERSION_3-22-2 = 3.22.2-0
onecloud-base:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION) -f ./Dockerfile.onecloud-base .
onecloud-base-3-15-4:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-15-4) -f ./Dockerfile.onecloud-base-3-15-4 .
onecloud-base-3-22-2:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-22-2) -f ./Dockerfile.onecloud-base-3-22-2 .
ANSIBLESERVER_BASE = 3.22.2-0
ANSIBLESERVER_BASE = v1.1.1
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20230731.5
CLIMC_BASE_VERSION_3-22-2 = 3.22.2-2
CLIMC_BASE_VERSION = 20210901
climc-base:
$(DOCKER_BUILDX)/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.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 .
climc-base-3-22-2:
$(DOCKER_BUILDX)/climc-base:$(CLIMC_BASE_VERSION_3-22-2) -f ./Dockerfile.climc-base-3-22-2 .
KUBECTL_VERSION_3-22-2 = 3.22.2-1
kubectl:
$(DOCKER_BUILDX)/kubectl:$(KUBECTL_VERSION_3-22-2) -f ./Dockerfile.kubectl .
WEBCONSOLE_BASE_VERSION_3-22-2 = 3.22.2-1
WEBCONSOLE_BASE_VERSION = v0.2-1
webconsole-base:
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION_3-22-2) -f ./Dockerfile.webconsole-base .
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION) -f ./Dockerfile.webconsole-base .
BAREMETAL_BASE_VERSION = v0.3.9-20260724.0
BAREMETAL_BASE_VERSION = v0.3.9-20230221.2
FEDORA_RISCV64_VERSION = 42
fedora-riscv64-base:
wget -q https://dl.fedoraproject.org/pub/alt/risc-v/release/$(FEDORA_RISCV64_VERSION)/Container/riscv64/images/Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar.xz && \
xz -d Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar.xz && \
skopeo copy oci-archive:Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar docker-daemon:fedora-riscv64:$(FEDORA_RISCV64_VERSION) && \
rm -f Fedora-Container-Base-Generic-$(FEDORA_RISCV64_VERSION).20250414-8635a3a5bfcd.riscv64.oci.tar
baremetal-base-riscv: fedora-riscv64-base
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base-riscv .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
# TODO: support riscv64 for baremetal-base
baremetal-base:
$(DOCKER_BUILDX_BM)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
#docker push $(REGISTRY)/baremetal-base:$(BAREMETAL_BASE_VERSION)
TORRENT_VERSION = 20210815.0
TORRENT_VERSION_3-22-2 = 3.22.2-0
torrent:
$(DOCKER_BUILDX)/torrent:$(TORRENT_VERSION) -f ./Dockerfile.torrent .
GLANCE_BASE_VERSION = v0.0.1
GLANCE_BASE_VERSION_3-22-2 = 3.22.2-0
glance-base:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION) -f ./Dockerfile.glance-base .
glance-base-3-22-2:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION_3-22-2) -f ./Dockerfile.glance-base .
FILE_REPO_VERSION = v0.3.3
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .
LBAGENT_BASE_VERSION = v0.0.5
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .
GUACD_VERSION=1.6.0
guacd:
$(DOCKER_BUILDX)/guacd:$(GUACD_VERSION) -f ./Dockerfile.guacd .
HOST_IMAGE_VERSION ?= v1.0.2
HOST_IMAGE_NAME = $(REGISTRY)/host-image:$(HOST_IMAGE_VERSION)
host-image:
docker pull $(HOST_IMAGE_NAME)-amd64 --platform amd64
docker pull $(HOST_IMAGE_NAME)-arm64 --platform arm64
docker manifest create $(HOST_IMAGE_NAME) \
$(HOST_IMAGE_NAME)-amd64 \
$(HOST_IMAGE_NAME)-arm64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-amd64 --arch amd64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-arm64 --arch arm64
docker manifest push $(HOST_IMAGE_NAME)

View File

@@ -1,17 +0,0 @@
#!/bin/bash
set -e
BASHRC=/root/.bashrc
source $BASHRC
climc sshkeypair-inject --admin
mkdir -p /etc/dropbear
mkdir -p /var/run/dropbear
dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
dropbear -RFEjk -G root -p 22

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.22.2-go-1.24.9-0 AS build
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.16.0-go-1.18.2-0 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN mkdir -p /root/go/src/yunion.io/x/onecloud
@@ -7,11 +7,11 @@ COPY . /root/go/src/yunion.io/x/onecloud
WORKDIR /root/go/src/yunion.io/x/onecloud
RUN make cmd/host
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.9.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
LABEL maintainer="Yaoqi Wan wanyaoqi@yunionyun.com"
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ="UTC"
ENV TZ Asia/Shanghai
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

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:3.22.2-go-1.24.9-0 AS build
FROM registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-5 as build
ARG TARGETPLATFORM
ARG BUILDPLATFORM
@@ -6,11 +6,13 @@ 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
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.22.2-0
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
LABEL maintainer="Zexi Li <zexi.li@icloud.com>"
MAINTAINER "Zexi Li <zexi.li@icloud.com>"
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# 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 qemu-img && \

View File

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

View File

@@ -1,5 +1,5 @@
DESCRIPTION="Yunion Cloud Image Service"
REQUIRES=(
yunion-qemu-4.2.0
yunion-qemu-2.12.1
)

View File

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

View File

@@ -68,7 +68,6 @@
border-bottom: 1px solid #d7d7d7;
}
</style>
{{$match_tags_str := .match_tags_str}}
<body>
<h3 class="title">报警提醒</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
@@ -88,19 +87,8 @@
</tr>
<tr>
<td class="td">策略详情:</td>
<td>
{{- range $i, $m := .matches -}}
{{- if $i}}<br/>{{end -}}
{{- $m.condition | unescaped -}}
{{- end -}}
</td>
<td>{{.description}}</td>
</tr>
{{if .reason}}
<tr>
<td class="td">报警原因:</td>
<td>{{.reason}}</td>
</tr>
{{end}}
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
@@ -120,11 +108,7 @@
<td>名称</td>
<td>IP</td>
<td>平台</td>
<td>指标</td>
<td>触发值</td>
{{if gt (len $match_tags_str) 1}}
<td>标签</td>
{{end}}
</tr>
</thead>
<tbody>
@@ -140,11 +124,7 @@
<td>
{{ index .tags "brand" }}
</td>
<td>{{ $Matche.metric }}</td>
<td>{{ $Matche.value_str }}</td>
{{if gt (len $match_tags_str) 1}}
<td>{{ index $match_tags_str $i }}</td>
{{end}}
<td>{{$Matche.value_str}}</td>
</tr>
{{end}}
</tbody>

View File

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

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