Compare commits

..

886 Commits

Author SHA1 Message Date
wanyaoqi
f4c6eadae8 fix(scheduler): optimize get guests by hosts ids (#20700) 2024-07-02 00:16:51 +08:00
wanyaoqi
9340c134e5 feat(host): support run guest with qemu 9.0.1 (#20691)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-07-02 00:14:41 +08:00
wanyaoqi
d9bdde8fe0 fix(region,host): migrate converted servers (#20697) 2024-07-01 23:55:35 +08:00
屈轩
581a5e9e32 fix(region): security group rule create (#20696) 2024-07-01 11:31:43 +08:00
Jian Qiu
9492b740df feature: support baremetal profile (#20689)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-30 22:23:17 +08:00
屈轩
6366d35523 fix(region): support eip search (#20684) 2024-06-28 15:58:48 +08:00
屈轩
acba8d26ca fix(log): add rate log type (#20679) 2024-06-28 14:49:33 +08:00
wanyaoqi
721a6cf06d fix(region): convert to kvm overwirte networks (#20666) 2024-06-27 20:39:03 +08:00
wanyaoqi
10f71280e2 fix(region): login account allow startwith capital letter (#20669) 2024-06-27 20:38:20 +08:00
屈轩
2d16104a1c fix(region): vendor update for qcloud tencentos server (#20664) 2024-06-27 15:39:10 +08:00
wanyaoqi
fb37d022a8 feat(region): add batch convert precheck (#20658)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-06-26 21:20:00 +08:00
wanyaoqi
62659d3dd1 fix(host): delete snapshot on guest deleted (#20642) 2024-06-26 21:18:59 +08:00
Zexi Li
6ebbe83f05 fix(climc,webconsole): use OS_AUTH_TOKEN for cloud shell running inside compose environment (#20648) 2024-06-26 12:12:05 +08:00
屈轩
149348b87f fix(region): waf regexset fetch error (#20647) 2024-06-26 11:18:18 +08:00
Jian Qiu
9bd48628db fix: vmware probe host networks (#20627)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-26 11:00:06 +08:00
屈轩
60c03355d0 fix(region): vendor update for qcloud nat sync (#20639) 2024-06-25 15:56:45 +08:00
Zexi Li
a154a61a42 optimize(glance): wrap error of saving image (#20632) 2024-06-25 14:21:21 +08:00
wanyaoqi
f40c766991 fix(region): scheduler forecast before convert to kvm (#20608) 2024-06-25 11:02:24 +08:00
wanyaoqi
5ea9f040b8 fix(glance): sync service options after vmware detected (#20605) 2024-06-25 10:58:05 +08:00
wanyaoqi
11ee966fbc Fix/deploy reset password support loginaccount (#20594)
* fix(host): lvm resize add encrypt support

* fix(region): deploy reset password add loginaccount
2024-06-25 10:56:44 +08:00
屈轩
b14879faab fix(region): vendor update for qcloud nat capability (#20631) 2024-06-25 10:53:44 +08:00
屈轩
74492ab199 fix(region): natgateway api upgrade (#20624) 2024-06-24 14:59:51 +08:00
Zexi Li
0d8073389d fix(monitor): add difference tags for each series (#20620) 2024-06-22 22:06:09 +08:00
Zexi Li
c4970bb90d fix(apigateway): compose environment without k8s service (#20615) 2024-06-21 16:38:11 +08:00
Zexi Li
794047c67e feat(dhcprelay): add Dockerfile (#20614) 2024-06-21 13:56:27 +08:00
Zexi Li
4e6702e05d fix(logger): add rejected action i18n translation (#20599) 2024-06-20 15:00:59 +08:00
屈轩
5deef95a67 fix(region): auto rename when change resource owner with same name (#20593) 2024-06-20 14:04:54 +08:00
Jian Qiu
fa2a2bea18 fix: clone dashboard parameters (#20589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-20 07:54:20 +08:00
wanyaoqi
1ded6bccd0 fix(region): allow kvm vmware reuse network address (#20584)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-06-20 06:27:58 +08:00
Zexi Li
7d75080c8e feat(monitor): add reducer of AlertRecordRule (#20580) 2024-06-19 19:19:53 +08:00
Zexi Li
e5c56d1bfd feat(log): add i18n consts for itsm service (#20574) 2024-06-19 15:34:59 +08:00
Jian Qiu
51de4f7059 fix: add predefined log policy (#20571)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-19 09:33:55 +08:00
Zexi Li
ac8ad4b494 fix(host-deployer): ignore fatal exit when host.conf not exists (#20559) 2024-06-18 20:26:59 +08:00
屈轩
47ea1c0ca7 fix(region): qcloud permission (#20555) 2024-06-17 14:25:05 +08:00
Jian Qiu
aacaf4e34f fix: cleanup compute options 20240615 (#20549)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-17 00:42:14 +08:00
wanyaoqi
9ec1d86a39 fix(region): convert to esxi fill network params (#20492)
Deploy converted guest after guest created
2024-06-17 00:41:24 +08:00
wanyaoqi
2ff45831c0 fix(region): insert iso sync guest status (#20535) 2024-06-16 22:59:45 +08:00
wanyaoqi
7d7ca5bdc4 fix(region,host): isolated device batch sync (#20536) 2024-06-14 19:39:45 +08:00
Jian Qiu
3cab927394 fix: enable image cache cleanup by default (#20532)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-14 18:14:01 +08:00
gouqi11
d0e76569b5 fix(notify): add mobile verify (#20521)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-06-13 18:59:45 +08:00
gouqi11
81e8a49790 fix(notify): fix mobile validate (#20511)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-06-11 14:18:07 +08:00
Zexi Li
a0c93e3803 fix(region): container is not started when pod's flavor changed (#20490) 2024-06-07 15:04:42 +08:00
wanyaoqi
8591c6c47b fix(host): parse qga command and args (#20507) 2024-06-07 15:03:52 +08:00
wanyaoqi
00ad01ba9b fix(host-deployer): extend volume before extend filesystem (#20502) 2024-06-06 13:37:16 +08:00
Jian Qiu
b134d33338 fix: disk backup details missing components (#20497)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-06 13:33:43 +08:00
Zexi Li
c94411a57f feat(region,baremetal,climc): support baremetal root disk matcher (#20474) 2024-06-05 00:17:02 +08:00
屈轩
b5e875bcd7 fix(region): update cachedimage limit (#20473) 2024-06-04 20:41:55 +08:00
屈轩
e8ce72acb1 fix(baremetal-agent): avoid dead lock (#20477) 2024-06-04 18:04:52 +08:00
屈轩
9e5ab20cf4 fix(keystone): show user group info for user (#20469) 2024-06-04 15:18:27 +08:00
Jian Qiu
656de3be55 fix: disable webconsole watermark by default (#20462)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-06-04 00:48:56 +08:00
屈轩
73103a93f3 fix(keystone): avoid sync remove disabled ldap user (#20438) 2024-06-04 00:48:15 +08:00
wanyaoqi
4e3feec902 fix(host-deployer): deploy telegraf systemd service type simple (#20458) 2024-06-03 19:51:21 +08:00
wanyaoqi
64a7e7c268 fix(host-deployer): split guest dns by comma (#20450) 2024-06-03 19:15:44 +08:00
屈轩
73c30aa8ae fix(keystone): enable user (#20455) 2024-06-03 18:07:04 +08:00
屈轩
5b4013114e fix(region): sync waf ssl and cc list (#20447) 2024-06-03 16:01:32 +08:00
Zexi Li
6bef36bcac feat(monitor): remove precision of float when using max or min function (#20431) 2024-06-01 20:41:05 +08:00
屈轩
19e064d887 fix(keystone): avoid panic (#20435) 2024-06-01 17:15:16 +08:00
wanyaoqi
d5eed29ac1 fix(region): storagecacheresource panic on FetchCustomizeColumns (#20427) 2024-05-31 17:53:51 +08:00
gouqi11
5de92baa9d fix(notify): message add medium tag (#20421)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-31 10:39:20 +08:00
Jian Qiu
12668a71cb fix: haproxy check parammeters with default value (#20417)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-31 10:20:19 +08:00
屈轩
526b3f55d1 fix(region): oracle storage should be emulated (#20414) 2024-05-30 20:40:21 +08:00
Jian Qiu
db48b7519b fix: glance import xz compressed images (#20409)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-30 19:17:27 +08:00
Zexi Li
03494857be fix: mv filterclause from pkg to onecloud (#20405)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-30 16:03:33 +08:00
wanyaoqi
ecad5735c5 fix(region,host): slvm default deactivate on hosts (#20381) 2024-05-30 15:03:48 +08:00
gouqi11
bbed855100 fix(notify): change receiver owner (#20399)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-30 11:47:07 +08:00
Zexi Li
55e04f3ba6 feat(climc): feature config (#20394) 2024-05-30 10:48:15 +08:00
屈轩
a7b5f47ac7 fix(region): vendor update for web app ip addr sync (#20393) 2024-05-29 18:36:54 +08:00
屈轩
8545faf413 fix(region): vendor update (#20390) 2024-05-29 17:56:13 +08:00
Zexi Li
8c9357ac99 fix(host): wrap disk probed error (#20386) 2024-05-29 17:44:11 +08:00
Zexi Li
ab9f65fed2 fix(monitor): detach alert (#20374) 2024-05-28 09:59:55 +08:00
Zexi Li
cb01f13b53 fix(monitor): multiple monitor resource alert (#20367) 2024-05-27 15:45:03 +08:00
Zexi Li
913169f7c4 fix(monitor): multiple monitor resource alert (#20364) 2024-05-27 15:44:14 +08:00
屈轩
c75c77e405 fix(region): vendor update for sqlchemy click decimal field (#20363) 2024-05-27 10:08:01 +08:00
Jian Qiu
6b53d47253 fix: allow update network server_type (#20355)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 20:21:39 +08:00
屈轩
ec11fc7b59 fix(region): distinct fields (#20358) 2024-05-24 20:18:57 +08:00
Jian Qiu
fb39f7c3a1 fix: secgroup init rule CIDR should be empty for both ipv4 and ipv6 (#20346)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-24 10:47:32 +08:00
屈轩
dabf9b4f49 fix(region): account read only (#20345) 2024-05-24 10:00:50 +08:00
屈轩
f5cf42a511 fix(region): vendor update for waf info sync (#20340) 2024-05-22 20:37:50 +08:00
屈轩
78a18320d1 fix(region): currency rate exchange (#20335) 2024-05-21 19:22:04 +08:00
屈轩
f91ceb84b1 fix(region): sync public ip convert eip (#20327) 2024-05-21 15:36:41 +08:00
屈轩
b0ff819b22 fix(region): vendor update for aliyun waf (#20331) 2024-05-21 15:19:24 +08:00
屈轩
dece32cbe8 fix(region): add currency rate exchange (#20321) 2024-05-20 14:51:30 +08:00
屈轩
a21dba1d17 fix(region): vendor update for qcloud waf (#20310) 2024-05-17 15:37:02 +08:00
屈轩
24ac759245 fix(region): webapp custom domains (#20304) 2024-05-16 16:16:19 +08:00
屈轩
b8b48b4d6e fix(region): query distinct fields (#20300) 2024-05-16 15:24:33 +08:00
屈轩
a9c166d8fd fix(region): set cloud provider disconnect when sync region error (#20291) 2024-05-16 10:01:43 +08:00
Jian Qiu
6546056fbf fix: hostbackupstorage climc subcmds (#20286)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-15 18:03:39 +08:00
屈轩
b65abfe76a fix(region): remove waf cache (#20283) 2024-05-15 17:35:14 +08:00
wanyaoqi
cafb619a9f fix(region,host): slvm misc fix (#20270) 2024-05-15 10:45:59 +08:00
屈轩
cdde2bafa1 fix(region): vendor update for web app (#20269) 2024-05-14 20:57:39 +08:00
屈轩
7f11f43f0f fix(region): azure web app (#20266) 2024-05-14 19:17:09 +08:00
wanyaoqi
422c3aeaba fix(region): return origin error on fetch joint item failed (#20252) 2024-05-13 17:51:21 +08:00
Jian Qiu
fb5da2667a fix: ceph stats backward compatible with ceph 12.x (#20221)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:55:10 +08:00
Jian Qiu
84b8111341 fix: storagecachedimages details speedup (#20232)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:54:00 +08:00
Jian Qiu
c432a59298 fix: cachedimage sync tenant_id (#20237)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-10 14:52:43 +08:00
屈轩
f7b227274b fix(region): zstack shared block storage (#20226) 2024-05-09 14:25:52 +08:00
Jian Qiu
b13b0725e1 feature: automatically clean obsolete images from host iamge cache (#20218)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-09 12:11:17 +08:00
gouqi11
641410bf35 fix(region): add modelarts capability (#20216)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-05-08 19:59:06 +08:00
屈轩
242b87f395 fix(region): vendor update for azure lb sync (#20213) 2024-05-08 19:18:00 +08:00
Zexi Li
7b376aa537 feat(host): skip calculating checksum for cached image when format is TGZ (#20198) 2024-05-08 12:21:17 +08:00
屈轩
da16872cfd fix(climc): oraclecloud feature (#20203) 2024-05-06 19:17:55 +08:00
Jian Qiu
98367e7f47 fix: set disk status when requesting disk reset (#20194)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-05-04 09:08:50 +08:00
屈轩
5366526d0e fix(region): add enable auto sync resource field (#20189) 2024-04-30 19:28:11 +08:00
屈轩
547680a6e2 fix(region): remove storagecachedimage (#20186) 2024-04-30 15:24:24 +08:00
Jian Qiu
fff5cd1a23 fix(hostman): change userdata.sh mode (#20183)
Co-authored-by: liaoxiaomeng <liaoxiaomeng@hotmail.com>
2024-04-30 12:44:09 +08:00
wanyaoqi
4765550813 fix(host): ignore disk not found on disk delete handler (#20175) 2024-04-30 07:13:34 +08:00
Zexi Li
a981235aed fix(monitor): multiple metrics query of alert (#20169) 2024-04-28 19:05:50 +08:00
屈轩
7996cce2e9 fix(region): update public cloud provider (#20166) 2024-04-28 18:28:12 +08:00
Zexi Li
a81ca98f1d feat(monitor): support multiple metrics alert (#20156) 2024-04-28 11:35:40 +08:00
wanyaoqi
b40122f9d3 Fix/host misc fix 0425 (#20152)
* fix(host): dirty guest dir move to recycle dir

* fix(host-deployer): fix deployer guest ssh port range, use localhost

* fix(host): try bind vfio dirver use addr
2024-04-28 11:18:38 +08:00
Zexi Li
3c977a1f4a fix(monitor): alert panic (#20147) 2024-04-26 12:19:01 +08:00
Zexi Li
e556efa8b0 fix(monitor): filter alerts by monitor_resource_id (#20135) 2024-04-25 17:06:52 +08:00
Zexi Li
795ebbd5e9 fix(monitor): query monitor_resource_alert by monitor_resource_id is not working (#20130) 2024-04-25 15:48:44 +08:00
屈轩
7ce25f00bd fix(region): allow update hostname (#20127) 2024-04-24 18:40:53 +08:00
屈轩
b49c22b749 fix(region): sync hostname (#20124) 2024-04-24 17:33:40 +08:00
屈轩
a21370c96a fix(mcclient): read me (#20117) 2024-04-24 12:22:08 +08:00
屈轩
3ffea07d31 fix(region):auto create project (#20104) 2024-04-22 19:26:57 +08:00
Jian Qiu
9b13891c13 fix: wrong private static route format (#20089)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-22 14:52:24 +08:00
Jian Qiu
dd4095630d fix: guest stop revisit (#20093)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-22 14:51:40 +08:00
屈轩
aa2c39202a fix(region): show more error info when sync nic error (#20099) 2024-04-22 14:37:32 +08:00
屈轩
ecba5d4546 fix(region): show ip out of range details error (#20083) 2024-04-19 18:30:26 +08:00
wanyaoqi
3eb713bffe fix(regin,host): delete snapshots after stream complete (#20084) 2024-04-19 18:27:09 +08:00
Jian Qiu
386fadb407 fix: backup storage access containd by hosts (#20063)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-19 07:20:33 +08:00
wanyaoqi
7674b9fafa fix(host): resize lvm disk (#20046) 2024-04-19 07:18:25 +08:00
屈轩
698cc2f99a fix(region): account disconnect (#20078) 2024-04-18 20:23:54 +08:00
屈轩
acfa5e3634 fix(cloudid): add volcengine sp metadata (#20075) 2024-04-18 18:02:50 +08:00
屈轩
b08bb79f0b fix(region): sync bucket status (#20071) 2024-04-18 15:49:59 +08:00
屈轩
081886c9c6 fix(region): avoid skip zone purge (#20066) 2024-04-18 15:39:25 +08:00
屈轩
733a684671 fix(region): vendor update for code generate (#20059) 2024-04-18 13:22:44 +08:00
屈轩
6336c5858f fix(cloudmon): oracle metric collect (#20056) 2024-04-18 11:33:02 +08:00
屈轩
c0822a43d6 fix(region): vendor update for oracle monitor (#20044) 2024-04-17 18:30:50 +08:00
屈轩
7a2c092548 fix(cloudmon): vendor update for support oracle metric (#20039) 2024-04-17 15:25:57 +08:00
Zexi Li
d8fe2ce5dd Merge pull request #20013 from wanyaoqi/fix/custom-pci-device
fix(region,host): custom device model add auto detect option
2024-04-17 10:27:36 +08:00
Zexi Li
6415beac2b Merge pull request #19994 from wanyaoqi/automated-cherry-pick-of-#19993-upstream-release-3.11
Automated cherry pick of #19993: fix(host): sriov bond
2024-04-17 10:26:51 +08:00
屈轩
a14b932208 fix(region): remove dirty code (#20034) 2024-04-17 10:11:28 +08:00
Zexi Li
b0351bc879 Merge pull request #19999 from wanyaoqi/fix/new-pci-device
feat(host): NewPciDevice add executor
2024-04-16 18:25:04 +08:00
Zexi Li
bb876962f6 Merge pull request #19992 from wanyaoqi/automated-cherry-pick-of-#19991-upstream-release-3.11
Automated cherry pick of #19991: feat(region,host): add disk migrate support
2024-04-16 18:22:37 +08:00
Zexi Li
5a580cbe54 Merge pull request #19998 from swordqiu/automated-cherry-pick-of-#19996-upstream-release-3.11
Automated cherry pick of #19996: fix: disk post create not inherit upper class
2024-04-16 18:20:43 +08:00
Zexi Li
86d4b45ea6 Merge pull request #20025 from wanyaoqi/fix/gpu-probe
fix(host): fix gpu device vendor check strategy
2024-04-16 18:18:00 +08:00
屈轩
3c5f09fdab fix(region): support delete huawei prepaid resource (#20031) 2024-04-16 18:08:15 +08:00
屈轩
53ae0e2f02 fix(region): avoid skip region purge (#20022) 2024-04-16 16:44:16 +08:00
屈轩
7be62a8e88 fix(region): skip not implement error (#20019) 2024-04-16 16:43:30 +08:00
Zexi Li
6c4532e581 Merge pull request #20008 from swordqiu/automated-cherry-pick-of-#20006-upstream-release-3.11
Automated cherry pick of #20006: fix: fail to create encrypted nfs disk
2024-04-16 16:00:43 +08:00
Zexi Li
5c42f663eb Merge pull request #19989 from swordqiu/automated-cherry-pick-of-#19987-upstream-release-3.11
Automated cherry pick of #19987: fix: userdata not executable due to umask
2024-04-16 15:57:26 +08:00
wanyaoqi
32e1d6cdd1 fix(host): fix gpu device vendor check strategy
Check gpu device vendor id on class code is DISPLAY.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-04-16 15:50:55 +08:00
wanyaoqi
fec1c01cec fix(region,host): custom device model add auto detect option
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-04-16 12:31:16 +08:00
Qiu Jian
725d952f83 fix: fail to create encrypted nfs disk 2024-04-16 00:18:39 +08:00
wanyaoqi
c71e819280 feat(region,host): add disk migrate support 2024-04-15 22:24:01 +08:00
Qiu Jian
bedb0c0a6a fix: disk post create not inherit upper class 2024-04-15 21:47:04 +08:00
wanyaoqi
365de1be8b feat(host): NewPciDevice add executor 2024-04-15 21:45:04 +08:00
wanyaoqi
0ebd7370d1 fix(host): init from existing guest load cpuset 2024-04-15 18:54:44 +08:00
wanyaoqi
f7dc234099 fix(host): detect sriov bond nics 2024-04-15 18:54:43 +08:00
Qiu Jian
2338fd1e34 fix: userdata not executable due to umask 2024-04-15 17:23:50 +08:00
屈轩
66b58af9bc fix(region): simplfy cached-image-list filter (#19986) 2024-04-15 15:50:16 +08:00
屈轩
027f5749fa fix(region): allow not idle account sync (#19982) 2024-04-15 14:10:39 +08:00
Jian Qiu
b7ddcc7ba4 fix: bond interface missing default gateway (#19954)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-15 10:37:23 +08:00
屈轩
42428ecd60 fix(image): set image upload download timeout 4 hour (#19978) 2024-04-15 10:13:57 +08:00
屈轩
72ece6d698 fix(region): sync ksyun tag (#19974) 2024-04-14 13:02:11 +08:00
屈轩
2258c9e15f fix(region): vendor update for vpc not found error (#19970) 2024-04-12 20:52:33 +08:00
屈轩
d5ac3657e8 fix(region): vendor update 0412 (#19963) 2024-04-12 18:26:17 +08:00
屈轩
bb3f183872 fix(region): support ksyun tag sync (#19957) 2024-04-12 12:05:29 +08:00
Jian Qiu
75fd08aef0 fix: netplan empty bond address (#19940)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-11 18:10:40 +08:00
屈轩
9963ef5684 fix(region): vendor update (#19948) 2024-04-11 15:06:53 +08:00
屈轩
eaed04d940 fix(region): avoid purge zone (#19938) 2024-04-11 13:58:00 +08:00
Zexi Li
aeab217763 Merge pull request #19934 from zexi/automated-cherry-pick-of-#19932-upstream-release-3.11
Automated cherry pick of #19932: feat(region,climc): support disk-rebuild
2024-04-11 12:09:04 +08:00
Zexi Li
141b03667b Merge pull request #19898 from swordqiu/hotfix/qj-unique-host-nic-index
fix: host nic index should be unique
2024-04-11 11:37:37 +08:00
Zexi Li
9e5b1a681c Merge pull request #19929 from swordqiu/automated-cherry-pick-of-#19928-upstream-release-3.11
Automated cherry pick of #19928: fix: disable disk serial for esxi vm on release/3.10
2024-04-11 11:35:06 +08:00
Zexi Li
5664981943 feat(region,climc): support disk-rebuild 2024-04-11 11:17:06 +08:00
Qiu Jian
121e048a26 fix: disable disk serial for esxi vm on release/3.10 2024-04-11 01:18:31 +08:00
屈轩
c3e5304a6b fix(region): avoid purge regions (#19924) 2024-04-10 17:06:15 +08:00
Qiu Jian
8159a6d86c fix: host nic index should be unique 2024-04-10 01:33:02 +08:00
gouqi11
2de0bf27f5 update vendor (#19917)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-09 19:47:34 +08:00
屈轩
9e9a45d986 fix(region): clean external cachedimage (#19912) 2024-04-09 17:26:17 +08:00
gouqi11
cc475e663c update vendor:ksyun ecs (#19905)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-09 11:51:53 +08:00
屈轩
832c5ada8d fix(region): show local task stack info (#19902) 2024-04-09 11:51:03 +08:00
屈轩
a6f1402b94 fix(monitor): remove useless code (#19897) 2024-04-08 11:54:08 +08:00
wanyaoqi
cbada729be feat: lvm snapshots (#19844)
* fix(region,host): remove snapshot fake delete state

* feat(region,host): lvm snapshot support
2024-04-08 02:55:31 +08:00
Jian Qiu
a764ddedfa fix: fail to detect lv by megacli64 and storecli (#19880)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-08 00:26:55 +08:00
屈轩
f935d2a62d fix(region): remove qcloud sync cache (#19891) 2024-04-07 16:45:10 +08:00
屈轩
4dd874e0be fix(glance): image upload timeout (#19889) 2024-04-07 15:29:46 +08:00
屈轩
beeae3c163 fix(region): return error for query guest network (#19886) 2024-04-07 14:16:23 +08:00
屈轩
9eae3cf564 fix(region): add cloud account sync batch size options (#19877) 2024-04-03 14:39:04 +08:00
屈轩
f2f78a10ed fix(region): prepare regions by prefix (#19873) 2024-04-03 10:15:15 +08:00
屈轩
164ea30840 fix(region): total count rds by zone id (#19867) 2024-04-02 20:32:57 +08:00
屈轩
036aca1569 fix(region): vendor update for region sync (#19864) 2024-04-02 20:16:30 +08:00
屈轩
0b82fcf60d fix(cloudid): vendor update for ksyun iam (#19862) 2024-04-02 20:03:47 +08:00
gouqi11
9ec9f3e14f fix(notify): clean notificationGroup after send (#19859)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-04-02 18:40:17 +08:00
屈轩
4f43e6d121 fix(cloudid): vendor update form volcengine iam (#19856) 2024-04-02 14:39:18 +08:00
Zexi Li
f57e69e6b3 Merge pull request #19851 from swordqiu/automated-cherry-pick-of-#19850-upstream-release-3.11
Automated cherry pick of #19850: fix: idp list query filter by sso_domain
2024-04-02 10:36:04 +08:00
Qiu Jian
0f0fd934e7 fix: idp list query filter by sso_domain 2024-04-02 01:30:25 +08:00
Jian Qiu
b065b2b77d fix: trigger project sync by informer (#19837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-04-02 00:23:52 +08:00
屈轩
e27dbf1266 fix(cloudid): vendor update (#19847) 2024-04-01 11:39:28 +08:00
屈轩
501f0c9393 fix(cloudid): model reflection (#19845) 2024-04-01 11:09:02 +08:00
Zexi Li
7b78f77b99 Merge pull request #19838 from wanyaoqi/fix/mkfs-ext4-resizefs
fix(host-deployer): add ext4 usage type options
2024-04-01 10:14:22 +08:00
屈轩
a220222d17 fix(region): billing resource check (#19841) 2024-04-01 10:06:19 +08:00
wanyaoqi
8508b8551a fix(host-deployer): add ext4 usage type options
resize fs not required find rootfs.
format ext4 partitions select usage type by part size.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-31 12:33:20 +08:00
Zexi Li
895e46256b Merge pull request #19831 from wanyaoqi/automated-cherry-pick-of-#19830-upstream-release-3.11
Automated cherry pick of #19830: fix(host-deployer): deploy guest arm kernel path fix
2024-03-29 16:15:09 +08:00
wanyaoqi
7d0bcfbea2 fix(host-deployer): deploy guest arm kernel path fix 2024-03-29 16:11:15 +08:00
屈轩
ade927c9dd fix(region): vendor update (#19827) 2024-03-29 10:38:01 +08:00
屈轩
ffac25beb0 fix(region): cloudpods region sync (#19821) 2024-03-28 15:33:42 +08:00
Zexi Li
2e78621401 Merge pull request #19810 from wanyaoqi/automated-cherry-pick-of-#19803-upstream-release-3.11
Automated cherry pick of #19803: fix(host): delete lvm disk active first
2024-03-27 20:23:24 +08:00
屈轩
efbcaf5532 fix(region): avoid panic (#19816) 2024-03-27 15:05:18 +08:00
wanyaoqi
d440a57f6e fix(host): resize slvm disk 2024-03-26 22:50:46 +08:00
wanyaoqi
5841593a55 fix(host): delete lvm disk active first 2024-03-26 22:50:46 +08:00
Jian Qiu
e918d6d0f1 fix: host-type-count sql error (#19802)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 18:57:40 +08:00
屈轩
6f73da08b7 fix(climc): remove useless code (#19799) 2024-03-26 17:04:09 +08:00
gouqi11
9e10ad4e21 feat(excelutils): support read file data (#19795)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-03-26 14:53:56 +08:00
Jian Qiu
d690f923ed fix: create lb listener rules fail due to domain not found (#19786)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:49:56 +08:00
wanyaoqi
87e5add5e8 fix(ansibleserver): update file repo (#19773) 2024-03-26 09:48:27 +08:00
Jian Qiu
ff1ea0f7ef fix: server skus ignore seting SetModelManager (#19778)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:47:42 +08:00
Jian Qiu
719fd389e3 fix: fail to parse ipv6 addr of fc00::1:1004:ffff:ffff:ffff:ffff (#19782)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-26 09:46:35 +08:00
屈轩
85dac7d7cd fix(region): filter cloudprovider by zone (#19789) 2024-03-25 19:23:19 +08:00
屈轩
85416d828d fix(vpcagent): signal killed (#19762) 2024-03-22 09:37:29 +08:00
屈轩
059d3273b2 fix(vpcagent): prevent the security group deletion rule from taking effect (#19759) 2024-03-21 20:39:18 +08:00
屈轩
bf417ce9f0 fix(notify): simplify receiver api (#19765) 2024-03-21 20:07:39 +08:00
屈轩
def5478dda fix(region): allow delete aliyun prepaid vm (#19768) 2024-03-21 20:07:17 +08:00
Zexi Li
0bc7f8f80a Merge pull request #19730 from wanyaoqi/fix/lvm-storage-cache
fix(region,host): lvm storage misc fix
2024-03-21 19:53:21 +08:00
屈轩
8b7ab5cff2 fix(region): skip set lost name when purge deleted vm (#19753) 2024-03-20 18:20:09 +08:00
Zexi Li
8685f3b17b Merge pull request #19750 from zexi/extra-hook
feat(cloudcommon): support extra hook for db model
2024-03-20 15:04:23 +08:00
Zexi Li
a976931ea5 feat(cloudcommon): support extra hook for db model 2024-03-20 11:43:35 +08:00
屈轩
68eeb1ba12 fix(region): esxi vm desc sync (#19747) 2024-03-19 15:49:34 +08:00
屈轩
3eed5b59c4 fix(region): support create vmware vm with desc (#19740) 2024-03-18 09:47:18 +08:00
屈轩
10e7e8cf22 fix(region): sync max priority project tag (#19737) 2024-03-15 19:10:34 +08:00
wanyaoqi
68c47b4ee9 fix(region,host): lvm storage misc fix
- add some lvm storage create check
- fix slvm storage image cache not correct

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-03-14 22:12:20 +08:00
wanyaoqi
ce876e9ab2 fix(region): check normal type nic is null (#19728) 2024-03-14 17:57:27 +08:00
屈轩
dd580c9af1 fix(esxi-agent): create vmware vm with suitable version (#19726) 2024-03-14 15:54:17 +08:00
Zexi Li
87c8461960 Merge pull request #19724 from ioito/automated-cherry-pick-of-#19723-upstream-release-3.11
Automated cherry pick of #19723: fix(region): avoid duplicate zone name
2024-03-13 20:12:09 +08:00
Zexi Li
bc478687a9 Merge pull request #19711 from wanyaoqi/fix/misc-fix-240312
fix(host): gpu probe check vendor is amd or nvidia
2024-03-13 20:05:53 +08:00
Zexi Li
84174f58f0 Merge pull request #19715 from swordqiu/automated-cherry-pick-of-#19714-upstream-release-3.11
Automated cherry pick of #19714: fix: tag filter with no value revisit
2024-03-13 20:04:55 +08:00
屈轩
e4ab58f7eb fix(region): filter disks by guest status (#19721) 2024-03-13 19:10:54 +08:00
Qu Xuan
41db55345b fix(region): avoid duplicate zone name 2024-03-13 19:08:14 +08:00
屈轩
ebf5e3cf90 fix(region): avoid panic when network is nil (#19718) 2024-03-13 11:58:50 +08:00
Qiu Jian
9c303a1795 fix: tag filter with no value revisit 2024-03-12 21:45:28 +08:00
wanyaoqi
70fb9a76b2 fix(host): gpu probe check vendor is amd or nvidia 2024-03-12 19:36:46 +08:00
屈轩
25a2f3a3ed fix(webconsole): sftp download utf8 filename (#19709) 2024-03-12 18:29:06 +08:00
Jian Qiu
299846783d fix: host-deploy options struct consistent with host options (#19695)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-12 13:35:40 +08:00
Zexi Li
5cf7946b33 Merge pull request #19689 from swordqiu/automated-cherry-pick-of-#19688-upstream-release-3.11
Automated cherry pick of #19688: fix: make authManager a singleton
2024-03-12 10:46:44 +08:00
屈轩
153ea3a1d2 fix(region): ipv6 cidr sync for network (#19703) 2024-03-11 17:52:28 +08:00
屈轩
47baaf6297 fix(region): avoid update network dns panic (#19698) 2024-03-11 10:57:49 +08:00
屈轩
69202744a2 fix(webconsole): show link file info (#19692) 2024-03-11 09:43:48 +08:00
Qiu Jian
b4039038a4 fix: make authManager a singleton 2024-03-10 10:09:14 +08:00
Jian Qiu
54925e8de4 fix: webconsole command log empty opstime (#19683)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:24:34 +08:00
Jian Qiu
31b3432189 fix: vpcagent always do full sync, disable incremental sync (#19629)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:23:25 +08:00
wanyaoqi
5bc8219e56 fix(host): qga set network flush ipv4 address (#19671) 2024-03-10 07:22:17 +08:00
Jian Qiu
69ec88a05f fix: network address details compatible with dameng (#19687)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-10 07:21:45 +08:00
Jian Qiu
be449a610a fix: support db checksum algorithm of SHA256 (#19681)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-09 14:57:47 +08:00
屈轩
d4d8028dea fix(region): vendor update for qcloud nat sync (#19677) 2024-03-08 18:13:43 +08:00
屈轩
0504084f25 fix(webconsole): sftp return file mode info (#19675) 2024-03-08 13:43:45 +08:00
Zexi Li
9d0380c5de Merge pull request #19669 from swordqiu/automated-cherry-pick-of-#19668-upstream-release-3.11
Automated cherry pick of #19668: fix: always add static routes for default nic master
2024-03-07 10:05:50 +08:00
Qiu Jian
6b26413077 fix: always add static routes for default nic 2024-03-06 19:54:21 +08:00
屈轩
7156c24d68 fix(scheduler): skip network exit check (#19665) 2024-03-06 19:10:43 +08:00
屈轩
70f666d262 fix(region): vendor update for sync azure network cidr (#19662) 2024-03-06 18:08:23 +08:00
屈轩
87c001b0b8 fix(region): exit no longer affects managed network (#19659) 2024-03-06 16:59:57 +08:00
屈轩
3b8acbc2e2 fix(webconsole): file mode (#19657) 2024-03-06 13:21:20 +08:00
Jian Qiu
c180066c95 fix: network ip match recode to fix dameng INET_ATON support (#19655)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-06 03:08:10 +08:00
Jian Qiu
73c3683529 fix: donot use insertOrUpdate for create joint resources (#19651)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-06 02:23:54 +08:00
wanyaoqi
0fbd11fa07 fix(host-deployer): support deploy encrypted disk (#19639) 2024-03-06 02:22:39 +08:00
wanyaoqi
8d5c516540 fix(host): backup guest dirty shutdown (#19621)
backup guest dirty shutdown master request sync status,
slave request dirty start.
2024-03-06 02:22:09 +08:00
wanyaoqi
7c6616d1dc feat(region,host): support shared driver by lvmlockd (#19611) 2024-03-06 02:10:23 +08:00
屈轩
d3017e5ca3 fix(region): dissociate eip when vm deleted (#19647) 2024-03-05 18:35:51 +08:00
屈轩
89307a4ae9 fix(region): sync account project (#19644) 2024-03-05 17:18:20 +08:00
屈轩
2818e47d90 fix(region): compatible with v3.9 vm cdrom (#19637) 2024-03-05 15:56:56 +08:00
屈轩
55d966bca9 fix(cloudmon): support ctyun vm metric (#19635) 2024-03-05 11:58:50 +08:00
Zexi Li
ed2dd1f548 Merge pull request #19632 from swordqiu/automated-cherry-pick-of-#19631-upstream-release-3.11
Automated cherry pick of #19631: fix: tokenCache newInformer fail
2024-03-05 10:29:50 +08:00
Qiu Jian
23ab9b6cd6 fix: tokenCache newInformer fail 2024-03-05 00:30:19 +08:00
屈轩
7cf03d7a7e fix(region): vendor update for azure associate type (#19625) 2024-03-04 20:09:18 +08:00
Jian Qiu
6e820b1945 Automated cherry pick of #19609: Hotfix/qj organization node label contains separator2 (#19610)
* fix: organization node label contains separator, round 2

* fix: hidden parent org nodes

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-04 18:14:39 +08:00
屈轩
7467c6de6a fix(region): 未开启三级权限允许云账号更改项目 (#19613) 2024-03-04 13:14:22 +08:00
Jian Qiu
e79a81eb0a update vendor 20240303 (#19607)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-03 11:47:02 +08:00
gouqi11
d522db3f8c fix(influxdb): support set timeout (#19600)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-03-03 10:47:39 +08:00
屈轩
5ab009f7e9 fix(region): raw query with delete-all options (#19604) 2024-03-01 19:36:36 +08:00
屈轩
a35243f26c fix(region): avoid sync huawei lb backend panic (#19590) 2024-03-01 10:41:34 +08:00
屈轩
ed67e20b04 fix(region): ctyun api page size must le 50 (#19585) 2024-02-29 18:20:41 +08:00
屈轩
147af900c6 fix(region): add secgroup filter for rds and redis (#19583) 2024-02-29 17:02:02 +08:00
Jian Qiu
cf4e1fd15d fix: handle label separator in organization tag value (#19574)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-29 16:37:53 +08:00
Jian Qiu
45c399066f feature: dameng database support (#19571)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-29 16:37:30 +08:00
屈轩
cb77c0e21f fix(region): skip sync apsara expired time (#19580) 2024-02-29 16:08:14 +08:00
屈轩
b8db3e5f09 fix(keystone): domain-list with delete-all options (#19577) 2024-02-29 16:06:15 +08:00
屈轩
6581ab2202 fix(region): support huawei public nat (#19575) 2024-02-29 14:44:43 +08:00
屈轩
2fa97cd09a fix(notify): add capability for notify config (#19569) 2024-02-28 17:51:37 +08:00
屈轩
cd47b45f57 fix(region): remove useless code (#19567) 2024-02-28 16:49:48 +08:00
屈轩
8888107741 fix(keystone): optimized domain-list query (#19556) 2024-02-28 14:45:24 +08:00
wanyaoqi
6282060ab2 Fix/create from iso set os distro (#19547)
* fix(region): iso guest copy image props to metadata

* fix(region): always run host ping detect task
2024-02-28 14:16:28 +08:00
wanyaoqi
103ec2220e Fix/guest image live migrate (#19558)
* fix(host): slvm storage active on init

* fix(region): guest live migrate cache all of guestimage caches
2024-02-28 11:31:38 +08:00
Zexi Li
926b389f4e Merge pull request #19563 from zexi/automated-cherry-pick-of-#19561-upstream-release-3.11
Automated cherry pick of #19561: fix(scheduler): unsued key
2024-02-28 11:00:15 +08:00
Zexi Li
7cbff93e0d fix(scheduler): unsued key 2024-02-28 10:26:50 +08:00
gouqi11
52b08e6e3e fix(monitor): add target for suggestRuleListInput (#19554)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-26 20:18:50 +08:00
wanyaoqi
629c9982ab fix(region): update rescuing status to rescue (#19543) 2024-02-24 07:53:56 +08:00
wanyaoqi
e62b5c1fc2 feat(host): disable guest hpet timer by default (#19535)
The HPET was turned off by default purely because of issues with time
drifting on Windows guests. (See nova commit ba3fd16605.)
2024-02-24 07:53:28 +08:00
wanyaoqi
4513e4beb6 fix(host): load guest desc hpet and video1 dev (#19531) 2024-02-24 07:51:58 +08:00
Jian Qiu
9228a973a8 fix: support OpenCloudOS, OpenKylin, Alma, UOSDesktop (#19528)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-24 07:50:26 +08:00
屈轩
abe226008a fix(region): support secgroup ipv6 (#19542) 2024-02-23 16:57:07 +08:00
屈轩
341fe8d5a5 fix(keystone): support filter project by multi admin user (#19540) 2024-02-23 15:25:04 +08:00
屈轩
3a357b343d fix(keystone): support unset project admin user (#19538) 2024-02-23 15:08:20 +08:00
gouqi11
6186e73608 fix(util): fix excelutils set emptu cell (#19525)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-22 19:55:30 +08:00
屈轩
5cab69547a fix(region): sync lb secgroup (#19523) 2024-02-22 18:14:09 +08:00
屈轩
bac856527d fix(region): sync by external project with enable project sync (#19520) 2024-02-22 18:13:40 +08:00
屈轩
98a8d28e09 fix(region): refactor lb acl and cert (#19518) 2024-02-21 19:55:04 +08:00
屈轩
1c94dac7b6 fix(region): sync empty security groups (#19516) 2024-02-21 16:27:03 +08:00
屈轩
e2149d01b6 fix(region): vendor update for qcloud nat status (#19513) 2024-02-20 16:00:07 +08:00
屈轩
c51150e756 fix(region): sync regional secgrouop (#19511) 2024-02-20 15:43:47 +08:00
Jian Qiu
ca7621cfb0 fix: filter organization nodes by policy tags (#19507)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-20 09:53:19 +08:00
Jian Qiu
8321100c51 fix: policy update description panic (#19509)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-20 09:28:38 +08:00
wanyaoqi
af3daeafb1 fix(host): script start guest donot force restart on monitor timeout (#19504) 2024-02-19 20:52:27 +08:00
屈轩
b240047cce fix(cloudproxy): cloudproxy service auth first (#19501) 2024-02-19 12:08:28 +08:00
wanyaoqi
092eaf6870 feat(region,host): guest numa allocate (#19496) 2024-02-18 19:35:13 +08:00
Jian Qiu
85efe57b22 fix: create params with require_ipv6 (#19492)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-18 10:35:14 +08:00
屈轩
797f2cc6d9 fix(region): vendor update for openstack https support (#19494) 2024-02-18 10:22:39 +08:00
Jian Qiu
dffd27e2bc fix: invalid token request too frequent (#19488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-17 19:00:12 +08:00
Jian Qiu
579cba8b6f fix: organization sync panic on nil pointer of weight (#19486)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-12 21:08:47 +08:00
Jian Qiu
bbf5c4afb3 fix: project tag tree sql revise (#19485)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-11 10:47:30 +08:00
Jian Qiu
d0304058b2 fix: IModelManager add NewQuery to initialize query with params (#19482)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-11 00:26:16 +08:00
Jian Qiu
97fc5258df fix: sync error (#19483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-10 18:00:28 +08:00
Jian Qiu
0f2e11591f fix: avaialble address6 api timeout (#19480)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-10 16:30:29 +08:00
wanyaoqi
5bef00a3a8 fix(region,host): rescue mode update initramfs, vnc login no passwd (#19477) 2024-02-09 09:23:00 +08:00
wanyaoqi
38834f3b1f fix(host-deployer): elfherader fd leak (#19475) 2024-02-08 14:11:24 +08:00
屈轩
52404a26d9 fix(region): avoid panic when change-owner missing domain_id (#19472) 2024-02-08 10:51:26 +08:00
屈轩
31bade24e7 fix(region): add read only filter for account and provider (#19469) 2024-02-07 15:33:03 +08:00
Jian Qiu
f6a9b77698 fix: project tag value tree can return sum of any field (#19465)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-07 11:52:03 +08:00
屈轩
85b6ad8a34 fix(region): trim tag space (#19467) 2024-02-07 11:04:29 +08:00
wanyaoqi
2069906d7b fix(host-deployer): xfs unlock panic (#19458) 2024-02-06 00:32:29 +08:00
Jian Qiu
eef9e48e02 feature: allow manager to preapre query context (#19455)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-06 00:01:26 +08:00
屈轩
1bd5f73365 fix(region): qcloud disks delete when vm deleted (#19453) 2024-02-05 17:54:51 +08:00
屈轩
70c280af77 fix(climc): support set bill report for azure account (#19450) 2024-02-05 15:14:17 +08:00
屈轩
08f92a8d89 fix(region): cloudpods ipv6 sync (#19445) 2024-02-05 11:24:10 +08:00
屈轩
0c4b30335b fix(region): cloudpods deploy api (#19447) 2024-02-05 11:23:45 +08:00
Jian Qiu
f3f9fa9886 fix: tenant cache sync deleted projects (#19441)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-05 08:45:10 +08:00
屈轩
bf320a5b32 fix(region): support set network tags (#19439) 2024-02-04 18:05:15 +08:00
屈轩
c5dcc6fa1d fix(region): avoid informer panic (#19431) 2024-02-04 16:29:00 +08:00
屈轩
317b8b7a3b fix(region): avoid filesystem sync error (#19436) 2024-02-04 15:19:15 +08:00
屈轩
1456f31d45 fix(region): auto set provider project id when change account project info (#19433) 2024-02-04 11:49:59 +08:00
gouqi11
b2de0282f6 fix(scheduledtask): fix deletedResource task (#19428)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-04 10:42:53 +08:00
屈轩
9efb34f7c7 fix(webconsole): sort file list (#19409) 2024-02-03 23:28:40 +08:00
Jian Qiu
b03650d97f fix: fail to reset policy org_node_id to empty (#19426)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-03 23:19:53 +08:00
屈轩
31f6a4026d fix(region): auto create project by project mapping (#19407) 2024-02-02 17:37:00 +08:00
屈轩
74932360b5 fix(region): ipv6 free ip (#19418) 2024-02-02 17:15:18 +08:00
屈轩
629ca22509 fix(region): support public ipv6 addr sync (#19420) 2024-02-02 17:14:21 +08:00
Zexi Li
1e5d988346 Merge pull request #19422 from wanyaoqi/automated-cherry-pick-of-#19421-upstream-release-3.11
Automated cherry pick of #19421: fix(host): init from guest mem obj miss size
2024-02-02 16:53:39 +08:00
wanyaoqi
7662f88edc fix(host): init from guest mem obj miss size 2024-02-02 16:43:14 +08:00
Jian Qiu
a4758fbd15 fix: expand policy tags with org node tags (#19416)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-02 14:10:53 +08:00
gouqi11
c7d6b053e5 fix(commom): setStatus with notify hook (#19412)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-02-01 20:44:44 +08:00
屈轩
59dcb4260d fix(region): ipv6 filter (#19411) 2024-02-01 18:52:48 +08:00
屈轩
483a97e6ad fix(keystone): optimized user list (#19404) 2024-02-01 16:43:12 +08:00
Jian Qiu
9e61ae2c63 fix: allow binding organization ids to policy (#19399)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-01 10:58:50 +08:00
屈轩
d6925ac5a9 fix(webconsole): support host ssh (#19387) 2024-02-01 10:58:19 +08:00
Jian Qiu
84f88b705b fix: sync unknown guest status when host ping (#19384)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-02-01 10:57:41 +08:00
屈轩
d3ec086f9c fix(common): auto disable 3des cipher suites (#19392) 2024-02-01 10:57:03 +08:00
屈轩
6d3551745b fix(region): avoid panic (#19402) 2024-02-01 10:12:01 +08:00
屈轩
f56e34ce77 fix(region): vendor update for sync ipv6 (#19398) 2024-01-31 20:57:32 +08:00
屈轩
5d55f60453 fix(region): cloudpods esxi disk create (#19390) 2024-01-31 17:30:32 +08:00
屈轩
681a43d160 fix(region): support managed ipv6 (#19395) 2024-01-31 17:29:55 +08:00
屈轩
0dbaba06d4 fix(region): project mapping key match at end of list (#19381) 2024-01-31 15:05:29 +08:00
Jian Qiu
c7c6477798 fix: vmware change config with cpu sockets (#19375)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-31 15:04:47 +08:00
Zexi Li
cd45fd7e6b fix(baremetal): admin nic is reset when added secondly (#19377) 2024-01-30 16:17:56 +08:00
屈轩
afbd0f922f fix(region): cancel pending delete (#19373) 2024-01-30 14:12:45 +08:00
Zexi Li
5c61e4c46c Merge pull request #19369 from swordqiu/automated-cherry-pick-of-#19368-upstream-release-3.11
Automated cherry pick of #19368: fix: server change ip addr recode
2024-01-30 10:23:53 +08:00
屈轩
de25515eb0 fix(region): vendor update for optimized aliyun rds backup sync (#19371) 2024-01-29 18:07:45 +08:00
Qiu Jian
0464bf5239 fix: server change ip addr recode 2024-01-29 17:10:52 +08:00
屈轩
9eec520567 fix(webconsole): use common options (#19330) 2024-01-29 11:29:29 +08:00
Zexi Li
56869281c4 Merge pull request #19364 from swordqiu/automated-cherry-pick-of-#19363-upstream-release-3.11
Automated cherry pick of #19363: fix: validate policy violation when assign users for oidc IDP
2024-01-28 21:58:50 +08:00
Qiu Jian
78123d0335 fix: validate policy violation when assign users for oidc IDP 2024-01-27 18:17:23 +08:00
Zexi Li
9442b445d0 fix(apigateway): ignore empty rows when registering baremetal host (#19354) 2024-01-27 18:16:42 +08:00
Zexi Li
08fdf688d4 fix(climc): wire is required when using network-create (#19360) 2024-01-27 18:05:21 +08:00
wanyaoqi
775d70be15 fix(host-deployer): escape back quote (#19356) 2024-01-27 08:09:59 +08:00
Zexi Li
ab29fa4c70 Merge pull request #19339 from swordqiu/automated-cherry-pick-of-#19338-upstream-release-3.11
Automated cherry pick of #19338: fix: not resolve local domain with dns records
2024-01-26 16:05:18 +08:00
Zexi Li
21876d631c Merge pull request #19347 from wanyaoqi/fix/host-deployer-disconnect
fix(host-deployer): check sshclient is nil on disconnect
2024-01-26 16:04:02 +08:00
wanyaoqi
ed2a412ed2 fix(host-deployer): check sshclient is nil on disconnect 2024-01-26 12:08:33 +08:00
屈轩
9c2dd4b0ea fix(region): sync resource owner with auto-create-project options (#19320) 2024-01-26 11:14:22 +08:00
Zexi Li
a605f69560 Merge pull request #19344 from zexi/automated-cherry-pick-of-#19342-upstream-release-3.11
Automated cherry pick of #19342: optimized(scheduler): remove fillResidentTenants function loading data from db
2024-01-25 17:10:57 +08:00
Zexi Li
c8aed17eb2 optimized(scheduler): remove fillResidentTenants function loading data from db 2024-01-25 17:07:05 +08:00
Zexi Li
6a708c2c6a Merge pull request #19335 from zexi/automated-cherry-pick-of-#19334-upstream-release-3.11
Automated cherry pick of #19334: fix(baremetal): hardcode h3c ipmi lan channel to 1
2024-01-25 15:49:51 +08:00
Qiu Jian
fb91b1e3eb fix: not resolve local domain with dns records 2024-01-25 15:40:08 +08:00
Jian Qiu
45ee4b1b89 fix: ipv6 secgroup support (#19337)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-25 13:25:42 +08:00
Zexi Li
22e7a3383a fix(baremetal): hardcode h3c ipmi lan channel to 1 2024-01-25 11:54:02 +08:00
屈轩
fdf0c40119 fix(region): gcp secrule update (#19324) 2024-01-24 17:17:01 +08:00
屈轩
af4c02c0f1 fix(climc): optimized storagecache cmd (#19322) 2024-01-24 15:03:26 +08:00
Zexi Li
e18ad59800 Merge pull request #19316 from zexi/automated-cherry-pick-of-#19314-upstream-release-3.11
Automated cherry pick of #19314: fix(build): use telegraf-raid-plugin:release-1.6.5
2024-01-22 16:59:30 +08:00
Zexi Li
3ad45a3cf9 fix(build): use telegraf-raid-plugin:release-1.6.5 2024-01-22 16:50:36 +08:00
Jian Qiu
6f22beca3c fix(region): server change config input recode (#19300)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-22 11:33:09 +08:00
屈轩
826532c5f9 fix(region): avoid panic (#19311) 2024-01-19 19:31:15 +08:00
屈轩
dc8c06a037 fix(region): auto encrypt options password (#19308) 2024-01-19 19:19:47 +08:00
屈轩
c0909bdd53 fix(region): vendor update for aws image import (#19306) 2024-01-19 16:14:39 +08:00
屈轩
0cafaf7445 fix(region): eip sync with project (#19302) 2024-01-19 14:04:19 +08:00
gouqi11
c132ae0cd6 feat(region): support notify for guest_status changed (#19298)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-19 10:24:18 +08:00
gouqi11
bf6a035b53 feat(notify): SupportReceiverGetContactTypeByRoleId (#19296)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-19 10:14:35 +08:00
屈轩
4187111862 fix(region): huawe redis spec code update (#19294) 2024-01-18 18:23:06 +08:00
屈轩
d01474470c fix(region): check kvm vpc and security group relation (#19292) 2024-01-18 14:34:56 +08:00
屈轩
36254142a9 fix(region): huawei bucket create with usable regions (#19290) 2024-01-18 11:19:38 +08:00
gouqi11
15425550ef fix(region): add public_cloud_provider list (#19287)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-18 10:48:55 +08:00
Jian Qiu
cc1a5bcd2c fix: windows ipv6 support (#19280)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 19:47:34 +08:00
屈轩
e2e357f89c fix(climc): add bill report for volc account (#19284) 2024-01-17 14:51:16 +08:00
Jian Qiu
a42ce1792e fix: try resolve tenant by project id first (#19277)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 00:28:30 +08:00
Jian Qiu
8c50a52fe0 fix: automatically refresh invalid admin token (#19273)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 00:27:57 +08:00
Jian Qiu
72cd6e3e32 fix: dhcpv6 support in vpc network (#19271)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-17 00:27:36 +08:00
屈轩
c58a3fd48a fix(region): vendor update for pve vm sync (#19266) 2024-01-16 15:34:48 +08:00
屈轩
c1606f751d fix(region): esxi vm create with tags (#19263) 2024-01-16 14:25:54 +08:00
屈轩
8bea62e5b9 fix(region): dns record update with enabled params (#19261) 2024-01-15 19:47:24 +08:00
gouqi11
4b2509d72b feat(notify): support project notify (#19259)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-15 19:35:07 +08:00
Zexi Li
e5829292e9 Merge pull request #19258 from ioito/automated-cherry-pick-of-#19257-upstream-release-3.11
Automated cherry pick of #19257: fix(region): vendor update for aliyun security group rule create
2024-01-15 19:21:56 +08:00
ioito
e8f3e390ba fix(region): vendor update for aliyun security group rule create 2024-01-15 19:12:14 +08:00
屈轩
cef7656187 fix(region): avoid duplicate cachedimage insert (#19255) 2024-01-15 18:30:44 +08:00
Jian Qiu
3c6da1faac Automated cherry pick of #19249: Feature/qj ipv6 support (#19253)
* feature: ipv6 support

* fix: ipv6 support more

* fix: update vendor for ipv6 support

* fix: allow enable ipv6 on existing guestnetwork

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-15 13:33:02 +08:00
wanyaoqi
3b313f11ab fix(host-deployer): add growpart resize partitions (#19251) 2024-01-15 12:14:41 +08:00
屈轩
3d703b9ed9 fix(region): huawei eip disassociate (#19244) 2024-01-12 19:32:08 +08:00
屈轩
05fda8da59 fix(region): avoid duplicate project create (#19241) 2024-01-12 19:16:17 +08:00
屈轩
27a9fab7cb fix(region): huawei disk refresh (#19238) 2024-01-12 15:53:29 +08:00
屈轩
d95380c6d1 fix(cloudmon): huawei metric pull (#19236) 2024-01-12 15:40:02 +08:00
屈轩
f543323b51 fix(region): vendor update for huawei rds create (#19232) 2024-01-11 19:04:18 +08:00
Jian Qiu
845123b1b0 fix: no fetch owner scope when GetProperty (#19230)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-11 18:58:52 +08:00
wanyaoqi
533b240a28 fix(host-deployer): add cmdline vsyscall=emulate on ramfs guest (#19223)
deploy fs on older system like centos 6, need emulate vsyscall.
otherwise will get error like:
    Code: Unable to access opcode bytes at 0xffffffffff6003d6.
2024-01-11 05:45:08 +08:00
Jian Qiu
416a26d12e fix: verbose api helper params (#19220)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-11 05:43:59 +08:00
wanyaoqi
53dc58dc69 feat(region,host): shared lvm storage (#19194) 2024-01-10 23:26:23 +08:00
Zexi Li
f40c4e0644 Merge pull request #19196 from wanyaoqi/fix/host-register-skip-virtual-functions
fix(host): host-agent register skip upload vf nics
2024-01-10 10:28:22 +08:00
Zexi Li
270c2ff5fd Merge pull request #19216 from wanyaoqi/automated-cherry-pick-of-#19215-upstream-release-3.11
Automated cherry pick of #19215: fix(host-deployer): deploy params has special char
2024-01-10 10:27:16 +08:00
Zexi Li
cff4a7adac Merge pull request #19214 from gouqi11/automated-cherry-pick-of-#19213-upstream-release-3.11
Automated cherry pick of #19213: fix(notify): fix host webhook err
2024-01-10 10:00:03 +08:00
wanyaoqi
7149904806 fix(host-deployer): deploy params has special char 2024-01-09 23:06:18 +08:00
马鸿飞
e941f84ce2 fix(notify): add actionTranslate 2024-01-09 19:23:50 +08:00
屈轩
8cf0b0e216 fix(region): skip sync used ip addr (#19208) 2024-01-09 17:50:29 +08:00
屈轩
9cce3064b3 fix(region): image project tags (#19211) 2024-01-09 17:49:58 +08:00
屈轩
3a9aab679e fix(region): avoid gcp secgroup delete failed (#19206) 2024-01-09 16:59:47 +08:00
屈轩
541464f035 fix(region): skip clear secgroup when delete vm (#19200) 2024-01-09 16:59:17 +08:00
wanyaoqi
abd0409f88 fix(host): host-agent register skip upload vf nics 2024-01-08 23:09:29 +08:00
屈轩
00283e54d2 fix(region): access group rule purge (#19192) 2024-01-08 15:52:24 +08:00
屈轩
28f58bca71 fix(region): simplify db init (#19183) 2024-01-08 14:19:17 +08:00
屈轩
449937a7ce fix(region): volcengine network range (#19188) 2024-01-08 11:35:08 +08:00
屈轩
a845b12294 fix(region): support aliyun essd entry (#19185) 2024-01-08 11:18:06 +08:00
屈轩
c958e588b9 fix(region): access group without cache (#19179) 2024-01-05 19:58:49 +08:00
gouqi11
d19cd2ab53 fix(notify): add missing topic (#19175)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-05 18:57:34 +08:00
屈轩
4f3948b6e5 fix(region): vendor update for zstack secgroup rule (#19170) 2024-01-05 10:39:06 +08:00
Jian Qiu
c4ebe1d2e4 fix: vpc dhcp options string value should be double quoted (#19163)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-05 07:56:11 +08:00
gouqi11
4f6ffac66d fix(notify): host topic bug fix (#19168)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2024-01-04 19:21:06 +08:00
屈轩
3b8549d8c7 fix(region): add translate (#19157) 2024-01-02 16:49:26 +08:00
wanyaoqi
bdd9953199 fix(host): host register set isinit false on hostId not null (#19154)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-01-02 14:01:19 +08:00
Jian Qiu
9f40a68157 fix: qmp free port test (#19151)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-01-02 14:00:33 +08:00
wanyaoqi
486aa4edf4 fix(region): ovs offload interface get ifname from isolated devices tlb (#19146)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-31 12:30:24 +08:00
Jian Qiu
5511fd7652 fix: automatically reserve guest gateway IP (#19143)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-30 17:11:40 +08:00
Jian Qiu
7e8d6ee4b0 fix: deploy user ssh keypair for user account only (#19134)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-30 16:56:36 +08:00
wanyaoqi
9f7f0f7caa feat(region,host,host-deployer): infiniband nic sriov support (#19127) 2023-12-30 16:55:56 +08:00
屈轩
28a25ebade fix(region): vendor update for huawei project sync (#19140) 2023-12-29 17:09:40 +08:00
Zexi Li
5593f125db Merge pull request #19130 from swordqiu/automated-cherry-pick-of-#19129-upstream-release-3.11
Automated cherry pick of #19129: fix: avoid megacli hang on adpallinfo
2023-12-29 16:37:06 +08:00
Qiu Jian
3f71995205 fix: avoid megacli hang on adpallinfo 2023-12-28 22:10:12 +08:00
gouqi11
c381cbde23 feat(notify): support notify for host (#19122)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-27 20:07:32 +08:00
gouqi11
3a52563646 fix(monitor): fix alertRecord manager (#19117)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-27 17:31:01 +08:00
屈轩
b8625cb2ab fix(region): huawei subaccount (#19118) 2023-12-27 14:20:42 +08:00
屈轩
182662d5d1 fix(region): vendor update for deploy vm struct params (#19114) 2023-12-27 11:33:37 +08:00
屈轩
b55a39cc84 fix(climc): support set tencent cloud bill report (#19108) 2023-12-27 11:07:41 +08:00
wanyaoqi
382d8f6f39 fix(region,host-deployer): qga os distribution format (#19109)
host-deployer fix xfs mount error

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-26 20:15:17 +08:00
Jian Qiu
0fa95647d5 fix: delete server will purge instance backups (#19103)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:45:00 +08:00
Jian Qiu
b4f6c11538 Automated cherry pick of #19095: Feature/qj support default interface (#19102)
* fix: support default gateway interface

* fix: default gateway 2

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:35:14 +08:00
wanyaoqi
aa210a77f6 feat(region,host): guest sync os info (#19099) 2023-12-26 12:49:24 +08:00
屈轩
0bfc248ecc fix(region): optimized host-list speed (#19094) 2023-12-26 11:04:15 +08:00
屈轩
a1ab937ef7 fix(region): esxi change config (#19090) 2023-12-25 14:36:26 +08:00
屈轩
8415fee8c4 fix(region): change storage_size from int to int64 (#19086) 2023-12-22 18:36:15 +08:00
Zexi Li
84d692dbad Merge pull request #19081 from ioito/automated-cherry-pick-of-#19080-upstream-release-3.11
Automated cherry pick of #19080: fix(region): avoid for-loop sync volcengine disks
2023-12-22 17:32:43 +08:00
Zexi Li
d839af0a58 Merge pull request #19083 from wanyaoqi/automated-cherry-pick-of-#19082-upstream-release-3.11
Automated cherry pick of #19082: fix(host-deployer): check executor is enabled on init qemu driver
2023-12-22 17:32:04 +08:00
wanyaoqi
97425a471a fix(host-deployer): check executor is enabled on init qemu driver 2023-12-22 17:19:53 +08:00
ioito
bb3f48a374 fix(region): avoid for-lool sync volcengine disks 2023-12-22 16:31:01 +08:00
屈轩
21132195a9 fix(region): optimized disk list (#19077) 2023-12-22 14:49:38 +08:00
屈轩
1c2e36a40b fix(region): add disk preallocation for guest info (#19075) 2023-12-22 10:36:02 +08:00
屈轩
c6401d7694 fix(region): remove debug sql query (#19073) 2023-12-21 20:50:42 +08:00
Zexi Li
e7f446047c feat(baremetal-agent): support using tftp to download kernel and initrd (#19065) 2023-12-21 00:50:58 +08:00
屈轩
7a922aeede fix(region): refactor huawei api for support organization (#19068) 2023-12-20 19:31:18 +08:00
Zexi Li
9b0648fca8 Merge pull request #19059 from swordqiu/automated-cherry-pick-of-#19057-upstream-release-3.11
Automated cherry pick of #19057: fix: webconsole ssh open forward failure
2023-12-20 11:37:52 +08:00
屈轩
62103bd7dd fix(region): vendor update for volcengine network and aws dnsrecords sync (#19062) 2023-12-20 11:35:11 +08:00
Qiu Jian
d37a437e0d fix: webconsole ssh open forward failure 2023-12-20 00:08:09 +08:00
屈轩
e11af2d012 fix(region): ignore empty certificate error for ssl sync (#19054) 2023-12-19 20:26:13 +08:00
Zexi Li
40681ccf44 Merge pull request #19052 from ioito/automated-cherry-pick-of-#19051-upstream-release-3.11
Automated cherry pick of #19051: fix(region): avoid rds vcpu count is zero
2023-12-19 14:25:56 +08:00
屈轩
8955cd8e1d fix(region): add log for skiped pending deleted vm (#19050) 2023-12-19 13:28:22 +08:00
ioito
a9285aff4b fix(region): avoid rds vcpu count is zero 2023-12-19 13:26:25 +08:00
Zexi Li
f5e837ec75 Merge pull request #19047 from zhasm/automated-cherry-pick-of-#19046-upstream-release-3.11
Automated cherry pick of #19046: fix(docker): update dockerfile for ansible-base
2023-12-19 13:17:01 +08:00
Zhang Dongliang
83d9774ed6 fix(docker): update dockerfile for ansible-base 2023-12-19 13:09:21 +08:00
屈轩
fc235cbb88 fix(region): snapshot policy sync external id (#19043) 2023-12-18 19:14:18 +08:00
Zexi Li
b288cda5c7 Merge pull request #19035 from swordqiu/automated-cherry-pick-of-#19033-upstream-release-3.11
Automated cherry pick of #19033: fix: disable pvpanic dev
2023-12-18 17:26:50 +08:00
Zexi Li
8b4d4bbb3a Merge pull request #19032 from wanyaoqi/automated-cherry-pick-of-#19031-upstream-release-3.11
Automated cherry pick of #19031: fix(host-deployer): pass config files to deploy vm
2023-12-18 17:25:17 +08:00
Zexi Li
c31d40d31e Merge pull request #19038 from wanyaoqi/automated-cherry-pick-of-#19037-upstream-release-3.11
Automated cherry pick of #19037: fix(host): usb device hotplug
2023-12-18 17:23:09 +08:00
wanyaoqi
20d18137a5 fix(host): hot add usb device 2023-12-18 17:06:18 +08:00
wanyaoqi
9ce5fa6290 fix(host): usb host device add device_id 2023-12-18 17:06:18 +08:00
Qiu Jian
5700b3555d fix: disable pvpanic dev 2023-12-18 16:45:04 +08:00
wanyaoqi
fd1910480e fix(host-deployer): pass config files to deploy vm 2023-12-18 16:42:46 +08:00
屈轩
727390d6d5 fix(region): The latest api of Huawei cloud elb and eip is applicable (#19028) 2023-12-18 15:41:26 +08:00
gouqi11
01f38f9f3e feat(region): add ip_addr for rds.GetShortDesc (#19022)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-12-16 16:38:57 +08:00
屈轩
724fbac416 fix(region): do not clean up the running vm in the recycle bin (#19016) 2023-12-16 12:51:09 +08:00
Zexi Li
4823e1b471 Merge pull request #19013 from swordqiu/automated-cherry-pick-of-#19012-upstream-release-3.11
Automated cherry pick of #19012: fix: webconsole display information control
2023-12-16 10:10:39 +08:00
Zexi Li
004cedc130 Merge pull request #19010 from zexi/automated-cherry-pick-of-#19007-upstream-release-3.11
Automated cherry pick of #19007: fix(scheduler): reload cloudprovider's hosts when syncing finished
2023-12-16 10:06:09 +08:00
Qiu Jian
2292a08364 fix: webconsole display information control 2023-12-15 21:19:18 +08:00
Zexi Li
fff91b8eca fix(scheduler): reload cloudprovider's hosts when syncing finished 2023-12-15 20:19:32 +08:00
屈轩
644b2a20ab fix(region): refactor snapshot policy (#19006) 2023-12-15 17:08:01 +08:00
Zexi Li
0e5a31c41e fix(cloudcommon): service config informer doesn't start watching (#19004) 2023-12-15 14:58:48 +08:00
Zexi Li
7103249d75 Merge pull request #18998 from swordqiu/automated-cherry-pick-of-#18997-upstream-release-3.11
Automated cherry pick of #18997: fix: refine webconsole ssh api
2023-12-15 11:50:43 +08:00
Zexi Li
b9c7c59188 Merge pull request #19000 from wanyaoqi/automated-cherry-pick-of-#18999-upstream-release-3.11
Automated cherry pick of #18999: fix(host-deployer): udpate yunionos, reduce yunionos memsize
2023-12-15 11:50:14 +08:00
wanyaoqi
746a96722c fix(host-deployer): udpate yunionos, reduce yunionos memsize 2023-12-15 11:41:11 +08:00
Qiu Jian
b66c3efd27 fix: refine webconsole ssh api 2023-12-15 10:40:27 +08:00
屈轩
ec08fce85a fix(region): remove useless snapshot policy code (#18993) 2023-12-14 11:56:12 +08:00
屈轩
ef5fee6c8b fix(region): avoid duplicate rule name for gcp (#18990) 2023-12-14 11:23:38 +08:00
wanyaoqi
1f25fc17b8 feat(region,host): clvm support (#18978) 2023-12-14 09:41:54 +08:00
Zexi Li
d811d64fce Merge pull request #18986 from swordqiu/automated-cherry-pick-of-#18985-upstream-release-3.11
Automated cherry pick of #18985: fix: backup storage capacity_mb field optional
2023-12-14 03:28:21 +08:00
屈轩
c19596176c fix(region): set status available for kvm secgroup rule after created (#18988) 2023-12-13 21:26:29 +08:00
Qiu Jian
f7db51b504 fix: backup storage capacity_mb field optional 2023-12-13 19:52:39 +08:00
Zexi Li
f4d9166c79 Merge pull request #18981 from zexi/monitor-vm-measurements
fix(monitor): fetch measurements from victoriametrics
2023-12-13 19:47:15 +08:00
Zexi Li
aef50a49a6 fix(monitor): fetch measurements from victoriametrics 2023-12-13 18:49:40 +08:00
Zexi Li
a5f2194afc Merge pull request #18977 from zexi/automated-cherry-pick-of-#18975-upstream-release-3.11
Automated cherry pick of #18975: fix(monitor): consider whether the target host is in source host of mem balancer
2023-12-13 13:38:28 +08:00
Zexi Li
796bea5d7c fix(monitor): consider whether the target host is in source host of mem balancer 2023-12-13 12:54:37 +08:00
Zexi Li
d2bf8c44ad Merge pull request #18970 from ioito/automated-cherry-pick-of-#18969-upstream-release-3.11
Automated cherry pick of #18969: fix(region): vendor update for gcp rebuild-root sys disk size and password login
2023-12-12 18:21:15 +08:00
ioito
3258a85236 fix(region): vendor update for gcp rebuild-root sys disk size and password login 2023-12-12 17:23:52 +08:00
Zexi Li
ee102ca0c6 Merge pull request #18966 from wanyaoqi/automated-cherry-pick-of-#18965-upstream-release-3.11
Automated cherry pick of #18965: fix(host-deployer): run guest on host and ignore no config file
2023-12-12 15:18:59 +08:00
wanyaoqi
afd5a1f716 fix(host-deployer): run guest on host and ignore no config file
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-12-12 14:56:03 +08:00
Zexi Li
34a1f623ef Merge pull request #18952 from swordqiu/automated-cherry-pick-of-#18951-upstream-release-3.11
Automated cherry pick of #18951: fix: ignore vm virtual ip changes
2023-12-12 09:34:27 +08:00
Zexi Li
4e8cea612a Merge pull request #18955 from swordqiu/hotfix/qj-more-verbose-metric-collection
fix: log metric collection action
2023-12-11 16:18:29 +08:00
Qiu Jian
e9cea00f2d fix: log metric collection action 2023-12-11 00:28:44 +08:00
Qiu Jian
b81d367f95 fix: ignore vm virtual ip changes 2023-12-10 13:28:26 +08:00
Jian Qiu
91ced9d0f4 fix: host add a local config file (#18933)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-08 21:26:40 +08:00
屈轩
22b68fe2d4 fix(region): support volc balance and gcp api retry (#18947) 2023-12-08 17:56:42 +08:00
屈轩
d0e8273b51 fix(region): optimized sync code (#18944) 2023-12-08 15:06:47 +08:00
Zexi Li
4959215d7a Merge pull request #18939 from zexi/monitor-domain-no-metrics
fix(monitor): not add scope to query resource from region service
2023-12-08 12:41:51 +08:00
Zexi Li
cc1c57155c fix(monitor): not add scope to query resource from region service 2023-12-08 12:28:20 +08:00
Zexi Li
5d886e304d Merge pull request #18928 from swordqiu/automated-cherry-pick-of-#18927-upstream-release-3.11
Automated cherry pick of #18927: fix: no default fallback dns server
2023-12-08 10:47:06 +08:00
Zexi Li
100f41bdd9 Merge pull request #18926 from zexi/climc-monitor-query
feat(monitor): make simple-query API adapting victoriametrics and add monitor-unifiedmonitor-query command
2023-12-08 10:46:11 +08:00
Zexi Li
590cba97bb feat(climc): add monitor-unifiedmonitor-query command 2023-12-08 10:05:02 +08:00
Qiu Jian
a8f985a188 fix: no default fallback dns server 2023-12-08 01:16:18 +08:00
Zexi Li
8eaa742333 fix(monitor): make simple-query API adapt to victoriametrics 2023-12-08 00:31:22 +08:00
Zexi Li
ed990bd55f Merge pull request #18923 from ioito/automated-cherry-pick-of-#18922-upstream-release-3.11
Automated cherry pick of #18922: fix(region): cloudpods uefi and generate name
2023-12-07 16:41:07 +08:00
Zexi Li
837c29e34f Merge pull request #18917 from wanyaoqi/automated-cherry-pick-of-#18916-upstream-release-3.11
Automated cherry pick of #18916: Fix/host deployer
2023-12-07 16:40:18 +08:00
ioito
7cadeea34f fix(region): cloudpods uefi and generate name 2023-12-07 16:15:02 +08:00
wanyaoqi
9da12b090a fix(host-deployer): disconnect fix and concurrence control 2023-12-07 16:05:21 +08:00
屈轩
5ae6751ad3 fix(webconsole): rdp 用户隔离上传文件 (#18921) 2023-12-07 15:22:14 +08:00
屈轩
1570a14746 feat(webconsole): support sftp for ssh (#18919) 2023-12-07 14:54:19 +08:00
wanyaoqi
8bfb666129 fix:(host-deployer): arm guest add gic version 2023-12-07 10:37:11 +08:00
屈轩
df3571f972 fix: guacd docker file mkdir required dir (#18913) 2023-12-06 17:03:40 +08:00
Zexi Li
0060fce771 Merge pull request #18909 from zexi/automated-cherry-pick-of-#18908-upstream-release-3.11
Automated cherry pick of #18908: fix(monitor): map interval to step
2023-12-06 16:16:23 +08:00
Zexi Li
db7808a683 Merge pull request #18908 from zexi/vm-map
fix(monitor): map interval to step
2023-12-06 16:16:08 +08:00
Zexi Li
4cbd9fcdfd fix(monitor): map interval to step 2023-12-06 15:32:40 +08:00
Jian Qiu
fb86463bbf fix: esxi hotadd cpu limit (#18893)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-06 15:31:15 +08:00
Zexi Li
887132e297 fix(monitor): map interval to step 2023-12-06 15:31:08 +08:00
屈轩
370c405684 fix(keystone): remove deleted project metadata (#18906) 2023-12-06 15:29:51 +08:00
屈轩
92c23a245b fix(webconsole): optimized guacd error log (#18904) 2023-12-06 11:59:49 +08:00
Zexi Li
bd54efcd2e Merge pull request #18897 from zexi/monitor-vm-top
fix(monitor): update vendor to support victoriametrics topk func
2023-12-05 18:23:19 +08:00
Zexi Li
f212295104 fix(monitor): update vendor to support victoriametrics topk func 2023-12-05 18:01:36 +08:00
Jian Qiu
bc5982907e fix: add index for token_cache_tbl to accelerate invalid token query (#18890)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 12:22:27 +08:00
Jian Qiu
01e764e62e fix: clickhouse mapping table use the same name as origin (#18888)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 12:22:02 +08:00
Zexi Li
5698d47252 Merge pull request #18881 from ioito/automated-cherry-pick-of-#18880-upstream-release-3.11
Automated cherry pick of #18880: fix(region): avoid cloudmon no cloudprovider sync
2023-12-05 12:06:58 +08:00
Zexi Li
3ec0372159 Merge pull request #18883 from ioito/automated-cherry-pick-of-#18882-upstream-release-3.11
Automated cherry pick of #18882: fix: show update oc cmd
2023-12-05 12:06:25 +08:00
ioito
76b81e33d4 fix: show update oc cmd 2023-12-05 10:40:18 +08:00
ioito
19378997ee fix(region): avoid cloudmon no cloudprovider sync 2023-12-05 10:05:50 +08:00
Jian Qiu
b20ec7bdb3 fix: mapping mysql tables into clickhouse with Engine MySQL (#18878)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-05 07:08:29 +08:00
wanyaoqi
32f2bc5821 fix(host-deployer): qemu deployer without kvm support (#18874) 2023-12-05 07:07:11 +08:00
wanyaoqi
ffafcdb7c1 fix(region): add option control enable default dns server (#18872) 2023-12-04 17:02:14 +08:00
Zexi Li
7a87d00304 Merge pull request #18868 from ioito/automated-cherry-pick-of-#18867-upstream-release-3.11
Automated cherry pick of #18867: fix(region): vendor update
2023-12-04 15:25:58 +08:00
ioito
d6fd14c39a fix(region): vendor update 2023-12-04 14:59:37 +08:00
Zexi Li
f65d175990 Merge pull request #18864 from wanyaoqi/automated-cherry-pick-of-#18863-upstream-release-3.11
Automated cherry pick of #18863: fix(host-deployer,host): mv deploy driver option to common options
2023-12-04 14:35:21 +08:00
屈轩
3bc094e9d7 fix(region): vendor update (#18861) 2023-12-04 14:26:18 +08:00
wanyaoqi
45bec04fde fix(host-deployer,host): mv deploy driver option to common options 2023-12-04 14:22:17 +08:00
Zexi Li
973ef23b42 Merge pull request #18857 from wanyaoqi/fix/qemu-deploy-guest-3-11
Manual cherrypick of #18856
2023-12-04 10:35:28 +08:00
wanyaoqi
4c9e7e1ddd fix(host-deployer): update base image and fix return errors 2023-12-04 01:49:15 +08:00
Jian Qiu
673d67f586 fix: reserve ping probed ip with expiration (#18855)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-03 22:27:26 +08:00
Jian Qiu
f243c3d66f fix: force assign ip address when sync vm vnics (#18853)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-03 15:34:36 +08:00
Zexi Li
c31ace6222 fix(baremetal): disable probe access mac by redfish driver (#18846) 2023-12-03 15:17:51 +08:00
Zexi Li
e17ace8c64 Merge pull request #18845 from zexi/automated-cherry-pick-of-#18843-upstream-release-3.11
Automated cherry pick of #18843: feat(ci): use github action to check PR
2023-12-01 14:58:54 +08:00
Zexi Li
9079f4c8bb feat(ci): use github action to check PR 2023-12-01 14:54:55 +08:00
Jian Qiu
f4e0db5c11 fix: server create instance backup parameters (#18842)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 20:19:17 +08:00
屈轩
fe78f19e14 fix(region): 增加配置项,支持标签不再同步至云上功能 (#18838) 2023-11-30 19:12:52 +08:00
屈轩
e333fb6f36 fix(webconsole): rdp stop (#18841) 2023-11-30 19:12:29 +08:00
Jian Qiu
3739da2114 Automated cherry pick of #18831: Hotfix/qj esxi sync ips support (#18836)
* fix: support esxi subips

* update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 18:04:12 +08:00
wanyaoqi
7bc08d6dfe fix(host): guest switch to backup (#18834) 2023-11-30 17:14:56 +08:00
wanyaoqi
5aeb7eabcb Automated cherry pick of #18821: Feat/deploy guest (#18822)
* feat(region): add guest rescue api && download initrd from baremetal tftp server && add baremetal agent ip finder & update pic address & support ip kernel config.

* feat(host-deployer): use qemu-kvm as default deploy dirver

---------

Co-authored-by: boironic@gmail.com <boironic@gmail.com>
2023-11-30 16:50:08 +08:00
屈轩
1647a7dd00 fix(region): optional vcpu when change vm config (#18826) 2023-11-30 13:33:42 +08:00
屈轩
d259d7adc9 fix(region): skip sync meta if no public cloud register (#18828) 2023-11-30 13:33:16 +08:00
Jian Qiu
a76d8fc4f3 fix: filter networks by host type (#18819)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-30 00:07:49 +08:00
屈轩
13d26f7b43 fix(webconsole): checke rdp password (#18817) 2023-11-29 19:07:43 +08:00
屈轩
362e5467c8 fix(webconsole): rdp enable drive (#18806) 2023-11-29 19:07:10 +08:00
屈轩
8472fe65b6 fix(region): vendor update (#18815) 2023-11-29 15:00:41 +08:00
屈轩
0b8c6a0255 fix(region): 只读账号增量更新标签 (#18812) 2023-11-29 14:53:46 +08:00
Jian Qiu
75435de8a8 fix: generalized metadata getter (#18808)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-29 09:04:21 +08:00
屈轩
a3270d53e9 feat(webconsole): support rdp (#18803) 2023-11-28 10:47:14 +08:00
Zexi Li
dc7a451a4d Merge pull request #18801 from swordqiu/automated-cherry-pick-of-#18800-upstream-release-3.11
Automated cherry pick of #18800: fix: customized show content of get-property
2023-11-28 10:09:34 +08:00
Qiu Jian
12aaad6cd9 fix: customized show content of get-property 2023-11-28 09:13:32 +08:00
Zexi Li
22b098b4a2 Merge pull request #18797 from zexi/nvidia-gpu-metrics
fix(monitor): register agent_nvidia_smi metrics
2023-11-27 19:32:12 +08:00
Zexi Li
731af95698 fix(monitor): register agent_nvidia_smi metrics 2023-11-27 19:11:06 +08:00
Zexi Li
32a7f70edd Merge pull request #18792 from wanyaoqi/automated-cherry-pick-of-#18791-upstream-release-3.11
Automated cherry pick of #18791: fix(region): alloc ovn_mapped_ip_addr on host post create
2023-11-27 19:07:42 +08:00
Zexi Li
9e42caa08b Merge pull request #18788 from swordqiu/automated-cherry-pick-of-#18787-upstream-release-3.11
Automated cherry pick of #18787: fix: cloud account update aliyun billing scope
2023-11-27 19:06:47 +08:00
屈轩
98e818b182 fix(region): revert os dist filter and sort (#18794) 2023-11-27 17:34:40 +08:00
wanyaoqi
3aa27eaad5 fix(region): alloc ovn_mapped_ip_addr on host post create 2023-11-27 17:19:44 +08:00
Qiu Jian
283a6fa5aa fix: cloud account update aliyun billing scope 2023-11-27 01:26:10 +08:00
Zexi Li
3a9b11c57d Merge pull request #18784 from swordqiu/feature/qj-backup-support-object-storage
feature: backup support object storage
2023-11-26 20:56:16 +08:00
Qiu Jian
2dec7a3726 fix: encrypt object storage secret 2023-11-26 19:53:57 +08:00
Qiu Jian
f8284d8bc1 fix: update model api 2023-11-26 16:55:42 +08:00
Qiu Jian
20167c2afd feature: backup support object storage 2023-11-26 16:01:46 +08:00
Zexi Li
8adf5abf86 feat(host): use IsolatedDeviceModels as GPU whitelist (#18783) 2023-11-25 19:41:05 +08:00
Zexi Li
06dc39a591 feat(host): use IsolatedDeviceModels as GPU whitelist (#18780) 2023-11-25 19:40:53 +08:00
屈轩
6bef6a1cb6 fix(region): trim metadata key (#18776) 2023-11-24 22:17:47 +08:00
屈轩
04c6ee73a8 fix(region): vm filter by os dist (#18778) 2023-11-24 20:06:05 +08:00
屈轩
f7c83468ea fix(region): distinct os dist field (#18768) 2023-11-24 11:51:55 +08:00
屈轩
39f3c7a1e4 fix(region): show guest gpu model (#18766) 2023-11-23 12:39:47 +08:00
Jian Qiu
7fd56f1baa fix: hot add mem check for esxi vm (#18763)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-23 12:20:52 +08:00
Zexi Li
c6f6329bcd Merge pull request #18760 from swordqiu/automated-cherry-pick-of-#18757-upstream-release-3.11
Automated cherry pick of #18757: fix: hot add mem check for esxi vm
2023-11-23 10:15:29 +08:00
Qiu Jian
fef1b4a578 fix: hot add mem check for esxi vm 2023-11-23 09:54:08 +08:00
Zexi Li
c309fdd3c1 feat(region): add nvidia_smi telegraf input plugin (#18751) 2023-11-23 00:19:40 +08:00
屈轩
7504c2eb5b fix(keystone): project clean (#18742) 2023-11-21 21:10:23 +08:00
Zexi Li
ffb8ff3df8 Merge pull request #18746 from zexi/monitor-vm-mul-query
fix(monitor): query multiple fileds from victoria-metrics
2023-11-21 18:05:47 +08:00
Zexi Li
ece44e0698 fix(monitor): query multiple fileds from victoria-metrics 2023-11-21 17:44:22 +08:00
Zexi Li
d0f045b65f Merge pull request #18744 from ioito/automated-cherry-pick-of-#18743-upstream-release-3.11
Automated cherry pick of #18743: fix(region): remove useless filter params
2023-11-21 17:16:45 +08:00
ioito
bd7319daf7 fix(region): remove useless filter params 2023-11-21 16:05:53 +08:00
屈轩
7461a25508 fix(region): cpu socket (#18732) 2023-11-21 15:08:36 +08:00
Zexi Li
16d6212c45 Merge pull request #18736 from zexi/srv-hardware-info
feat(region,host,climc): aggregate server hardware information
2023-11-21 14:08:56 +08:00
Zexi Li
8fb19b87d2 feat(region,host,climc): aggregate server hardware information 2023-11-21 12:00:19 +08:00
gouqi11
c763fc68dc feat(common): log support rebilling (#18738)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-20 19:21:10 +08:00
屈轩
46b435ca5b fix(region): vendor update for aliyun tags (#18728) 2023-11-17 16:30:25 +08:00
gouqi11
cd9ee7bc9a fix(notify): fix webhook brand (#18724)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-17 15:37:21 +08:00
屈轩
acac041bec fix(region): redis cloudregion id (#18722) 2023-11-17 15:19:53 +08:00
Zexi Li
950a02183b Merge pull request #18720 from zexi/automated-cherry-pick-of-#18718-upstream-release-3.11
Automated cherry pick of #18718: fix(climc): bash completion is not working
2023-11-17 12:34:01 +08:00
Zexi Li
440a7fa5fc fix(climc): bash completion is not working 2023-11-17 12:03:27 +08:00
屈轩
1abb1086ed fix(region): vendor update (#18715) 2023-11-17 11:34:28 +08:00
屈轩
4c84f1cbe1 fix(region): vendor update (#18712) 2023-11-17 10:08:47 +08:00
gouqi11
28644d3da4 Automated cherry pick of #18704: fix(region): rds skip notImplementedErr (#18710)
* fix(region): rds skip notImplementedErr

* fix(region): aws redis set metadata status

---------

Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-16 17:20:45 +08:00
屈轩
5bf44a67ac fix(region): vendor update (#18707) 2023-11-16 17:17:40 +08:00
gouqi11
340f458ff4 update vendor (#18702)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-16 10:01:00 +08:00
gouqi11
89efdbc642 fix(region): fix db_dispatcher duplicate notify (#18699)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-15 17:02:43 +08:00
Jian Qiu
885f4ebcd8 fix: update lb cluster with patch params (#18696)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:57:28 +08:00
Jian Qiu
7783546754 fix: windows GPU vm should set hypervisor=off (#18691)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:56:43 +08:00
Jian Qiu
b3580ab64f fix: make host dhcp lease options global (#18683)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:55:14 +08:00
Jian Qiu
a757ea3dd8 fix: host set nil metadata (#18688)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:54:34 +08:00
Jian Qiu
b2b60ff660 fix: organization node weight not effective (#18694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-15 08:54:08 +08:00
Zexi Li
30ee89a390 feat(region,climc): add set-os-info api (#18680) 2023-11-14 22:59:56 +08:00
Zexi Li
9706339eac Merge pull request #18670 from wanyaoqi/automated-cherry-pick-of-#18669-upstream-release-3.11
Automated cherry pick of #18669: fix(host): sync sriov nic bw on change config
2023-11-14 20:25:31 +08:00
屈轩
aa6e34e98d feat(region): support oracle cloud (#18679) 2023-11-14 19:43:29 +08:00
gouqi11
e99c7bed63 Automated cherry pick of #18663: fix(keystone): fix usage for projectNum (#18664)
* feat(region): support action to reBilling

* fix(keystone): fix keystone usage for projectNum

---------

Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-14 19:32:22 +08:00
Zexi Li
c810a3b144 fix(host): setup routes from start to end (#18674) 2023-11-14 17:56:11 +08:00
wanyaoqi
77ff5fcd44 fix(host): sync sriov nic bw on change config 2023-11-14 16:31:11 +08:00
Zexi Li
64027a3280 Merge pull request #18666 from wanyaoqi/automated-cherry-pick-of-#18665-upstream-release-3.11
Automated cherry pick of #18665: fix(regin): instance snapshot create guest fill os arch
2023-11-14 14:47:48 +08:00
Zexi Li
8606e6cfbd Merge pull request #18662 from ioito/automated-cherry-pick-of-#18661-upstream-release-3.11
Automated cherry pick of #18661: fix(region): order by os dist
2023-11-14 14:44:54 +08:00
wanyaoqi
0ad56aa42f fix(regin): instance snapshot create guest fill os arch 2023-11-14 11:16:46 +08:00
ioito
4c2d42a79f fix(region): order by os dist 2023-11-14 10:47:11 +08:00
Zexi Li
9b8094c9a5 Merge pull request #18656 from zexi/automated-cherry-pick-of-#18655-upstream-release-3.11
Automated cherry pick of #18655: fix(host): catch init error
2023-11-13 21:12:38 +08:00
Zexi Li
7702776d8f Merge pull request #18658 from zexi/automated-cherry-pick-of-#18634-upstream-release-3.11
Automated cherry pick of #18634: chore: unnecessary use of fmt.Sprintf d
2023-11-13 20:44:49 +08:00
guoguangwu
65d66edbc7 chore: unnecessary use of fmt.Sprintf d
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-13 20:42:42 +08:00
Zexi Li
b3180bd87a fix(host): catch init error 2023-11-13 20:40:12 +08:00
Zexi Li
aad04d9cdc Merge pull request #18645 from swordqiu/automated-cherry-pick-of-#18644-upstream-release-3.11
Automated cherry pick of #18644: fix: extend gpu pci class codes
2023-11-13 19:19:38 +08:00
屈轩
845eecc217 fix(yunionconf): allow disable bug report (#18654) 2023-11-13 19:03:58 +08:00
屈轩
59f5c5beea fix(region): vm gpu notes (#18652) 2023-11-13 18:15:40 +08:00
屈轩
1a2c830a76 fix(region): esxi support preallocation vdisk (#18648) 2023-11-13 18:15:18 +08:00
Zexi Li
55707f159a Merge pull request #18640 from wanyaoqi/automated-cherry-pick-of-#18639-upstream-release-3.11
Automated cherry pick of #18639: fix(region,host): sriov nic hotplug and metrics fix
2023-11-13 17:02:35 +08:00
Zexi Li
a6928cfa67 Merge pull request #18635 from ioito/automated-cherry-pick-of-#18633-upstream-release-3.11
Automated cherry pick of #18633: fix(region): esxi disk storage
2023-11-13 16:58:53 +08:00
Qiu Jian
d9e8372d90 fix: extend gpu pci class codes 2023-11-13 16:21:26 +08:00
wanyaoqi
550bfc53b4 fix(region,host): sriov nic hotplug and metrics fix 2023-11-13 14:40:28 +08:00
Zexi Li
6ee1dbedb0 Merge pull request #18637 from wanyaoqi/automated-cherry-pick-of-#18636-upstream-release-3.11
Automated cherry pick of #18636: fix(region): change config check traffic limit params
2023-11-13 11:38:43 +08:00
wanyaoqi
2de131eb27 fix(region): change config check traffic limit params 2023-11-13 11:21:47 +08:00
ioito
c43f0cedf6 fix(region): esxi disk storage 2023-11-13 10:49:36 +08:00
Zexi Li
5183678684 Merge pull request #18632 from ioito/automated-cherry-pick-of-#18631-upstream-release-3.11
Automated cherry pick of #18631: fix(cloudmon): collect metric with project tags
2023-11-10 16:45:40 +08:00
Zexi Li
08288b2d75 Merge pull request #18627 from swordqiu/automated-cherry-pick-of-#18625-upstream-release-3.11
Automated cherry pick of #18625: fix: cloudprovider external id
2023-11-10 16:40:21 +08:00
ioito
de19868d32 fix(cloudmon): collect metric with project tags 2023-11-10 16:33:28 +08:00
屈轩
6a7c109c83 fix(region): vendor update (#18630) 2023-11-10 16:09:56 +08:00
Zexi Li
cacb1e3c6f Merge pull request #18616 from zexi/automated-cherry-pick-of-#18545-upstream-release-3.11
Automated cherry pick of #18545: feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend
2023-11-10 16:05:34 +08:00
屈轩
54ec8acbeb fix(common): support report bug (#18628) 2023-11-10 15:46:22 +08:00
Zexi Li
4f96f2e5fa feat(monitor,region,host,cloudmon): support VictoriaMetrics as TSDB backend 2023-11-10 15:34:01 +08:00
Qiu Jian
889e9577ef fix: cloudprovider external id 2023-11-10 12:07:55 +08:00
屈轩
698937280a fix(region): vendor update (#18623) 2023-11-10 11:59:09 +08:00
屈轩
bac8ecf432 fix(region): qcloud secgroup rule priority (#18621) 2023-11-10 11:54:59 +08:00
Zexi Li
853855d174 Merge pull request #18619 from gouqi11/automated-cherry-pick-of-#18618-upstream-release-3.11
Automated cherry pick of #18618: fix(keystone): fix usage empty projectTags
2023-11-09 16:09:52 +08:00
马鸿飞
0450883be1 fix(keystone): fix usage empty projectTags 2023-11-09 15:32:15 +08:00
Zexi Li
b6247630f9 Merge pull request #18614 from ioito/automated-cherry-pick-of-#18613-upstream-release-3.11
Automated cherry pick of #18613: fix(region): pve cdrom with host info
2023-11-09 12:18:18 +08:00
ioito
4c8fd267a8 fix(region): pve cdrom with host info 2023-11-09 12:05:01 +08:00
屈轩
82be65ecaf fix(region): avoid panic when sync aliyun redis (#18607) 2023-11-08 20:56:31 +08:00
gouqi11
ffcc092089 feat(usage): support project count (#18611)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-08 20:36:49 +08:00
屈轩
7ca7bf48ab fix(webconsole): pve vnc support (#18604) 2023-11-08 19:35:11 +08:00
Zexi Li
fc4cc7d0b1 fix(host): ignore error when add bridge ip address route (#18601) 2023-11-08 17:39:45 +08:00
屈轩
0fd0284051 fix(region): clean invalid skus (#18595) 2023-11-07 21:16:51 +08:00
屈轩
5b930df74f fix(region): vendor update (#18591) 2023-11-07 20:37:03 +08:00
Zexi Li
c0db929d4c Merge pull request #18585 from wanyaoqi/automated-cherry-pick-of-#18584-upstream-release-3.11
Automated cherry pick of #18584: fix(host-deployer): use sync.lock on nbd connect/disconnect
2023-11-07 15:40:19 +08:00
wanyaoqi
3f74e94e8f fix(host-deployer): use sync.lock on nbd connect/disconnect 2023-11-07 15:30:20 +08:00
wanyaoqi
2ea7da3746 Automated cherry pick of #18580: fix(host): sync guest machine type on live migrate (#18581)
* fix(host): sync guest machine type on live migrate

* fix(host): checkout real anonymous pci devs on ensure pci address
2023-11-07 09:45:40 +08:00
wanyaoqi
1e196b1a9d fix(host-deployer): detach nbd device do not block main thread (#18577) 2023-11-07 07:22:13 +08:00
Zexi Li
07b6906d30 Merge pull request #18572 from wanyaoqi/automated-cherry-pick-of-#18571-upstream-release-3.11
Automated cherry pick of #18571: fix(host): live migrate ensure disk storate type
2023-11-06 16:47:58 +08:00
wanyaoqi
1b6c3aa20a fix(host): live migrate ensure disk storate type 2023-11-06 14:43:55 +08:00
Zexi Li
1a1d941d30 Merge pull request #18566 from swordqiu/automated-cherry-pick-of-#18565-upstream-release-3.11
Automated cherry pick of #18565: fix: qemu disk set serial as disk_id
2023-11-05 11:44:53 +08:00
Qiu Jian
9ff75d4656 fix: qemu disk set serial as disk_id 2023-11-04 18:50:03 +08:00
Zexi Li
181c99868e Merge pull request #18560 from swordqiu/automated-cherry-pick-of-#18559-upstream-release-3.11
Automated cherry pick of #18559: fix: host fail to migrate interface routes
2023-11-04 18:28:14 +08:00
Qiu Jian
634e52142a fix: host fail to migrate interface routes 2023-11-03 23:58:30 +08:00
屈轩
af80f0d82c fix(region): volcengine monitor (#18558) 2023-11-03 13:56:46 +08:00
wanyaoqi
eaa5c52456 fix(region,host): support traffic limit in change config (#18554) 2023-11-03 10:10:25 +08:00
Zexi Li
f7a17d64d6 Merge pull request #18550 from ioito/automated-cherry-pick-of-#18549-upstream-release-3.11
Automated cherry pick of #18549: fix(region): esxi vm resize disk online
2023-11-02 15:02:22 +08:00
Zexi Li
422ae1e511 Merge pull request #18547 from wanyaoqi/automated-cherry-pick-of-#18546-upstream-release-3.11
Automated cherry pick of #18546: fix(host-deployer): clean nbd mount on host-deployer start
2023-11-02 15:01:22 +08:00
ioito
4e44ae2932 fix(region): esxi vm resize disk online 2023-11-02 11:24:08 +08:00
wanyaoqi
38e11808df fix(host-deployer): clean nbd mount on host-deployer start 2023-11-01 21:25:41 +08:00
屈轩
c9d20e7a14 fix(region): volc bucket storage class (#18544) 2023-11-01 20:02:16 +08:00
屈轩
8282619b86 fix(region): vendor update (#18541) 2023-11-01 19:13:40 +08:00
屈轩
4178d46cd9 fix(region): vendor update (#18539) 2023-11-01 18:52:08 +08:00
屈轩
be5075a74b fix(region): vendor update (#18535) 2023-11-01 17:48:09 +08:00
gouqi11
b9aadb704d update vendor (#18533)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-11-01 15:41:46 +08:00
Zexi Li
0a78de3166 Merge pull request #18530 from wanyaoqi/automated-cherry-pick-of-#18529-upstream-release-3.11
Automated cherry pick of #18529: fix(host): live migrate pass disk num queues
2023-11-01 14:58:13 +08:00
wanyaoqi
a84676af7c fix(host): live migrate pass disk num queues 2023-11-01 14:48:24 +08:00
Zexi Li
84c1c7d8d4 Merge pull request #18525 from ioito/automated-cherry-pick-of-#18524-upstream-release-3.11
Automated cherry pick of #18524: fix(region): skip vm eip not found error log
2023-11-01 10:13:46 +08:00
Zexi Li
858af35887 Merge pull request #18523 from ioito/automated-cherry-pick-of-#18522-upstream-release-3.11
Automated cherry pick of #18522: fix(region): volcengine vm save image
2023-11-01 10:13:01 +08:00
Jian Qiu
ddc2b319ed fix: xfs zerofree (experimental) (#18527)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-01 09:41:18 +08:00
ioito
d6b28d270f fix(region): skip vm eip not found error log 2023-10-31 20:43:18 +08:00
ioito
49c813659b fix(region): volcengine vm save image 2023-10-31 20:40:47 +08:00
屈轩
9d0e545c66 fix(region): vendor update (#18514) 2023-10-31 20:24:09 +08:00
Zexi Li
2f7c4cd671 Merge pull request #18516 from wanyaoqi/automated-cherry-pick-of-#18515-upstream-release-3.11
Automated cherry pick of #18515: fix(host): detect blk dev numqueues and nics(no id) pci addresses
2023-10-31 20:17:40 +08:00
Zexi Li
08dd95748c Merge pull request #18519 from wanyaoqi/automated-cherry-pick-of-#18518-upstream-release-3.11
Automated cherry pick of #18518: fix(region): reduce local disk max size to 10T
2023-10-31 19:51:14 +08:00
wanyaoqi
9b1622325f fix(region): reduce local disk max size to 10T 2023-10-31 19:38:09 +08:00
Zexi Li
5480dfd1c8 Merge pull request #18504 from swordqiu/automated-cherry-pick-of-#18503-upstream-release-3.11
Automated cherry pick of #18503: fix: dhcp hostname not compatible with some os
2023-10-31 19:28:49 +08:00
Zexi Li
da3167d3bc Merge pull request #18499 from zexi/automated-cherry-pick-of-#18497-upstream-release-3.11
Automated cherry pick of #18497: feat(apigateway): report running env
2023-10-31 19:28:06 +08:00
Zexi Li
c5923cc4b9 Merge pull request #18512 from gouqi11/automated-cherry-pick-of-#18511-upstream-release-3.11
Automated cherry pick of #18511: fix(scheduledtask): supportCycleType week and month
2023-10-31 19:27:33 +08:00
wanyaoqi
732d70d6e5 fix(host): detect blk dev numqueues and nics(no id) pci addresses 2023-10-31 19:17:18 +08:00
屈轩
d33e1f6371 fix(keystone): validate time_zone input (#18506) 2023-10-31 18:41:26 +08:00
马鸿飞
8fddf20c68 fix(scheduledtask): supportCycleType week and month 2023-10-31 17:44:31 +08:00
Qiu Jian
9e2e2d6b8d fix: dhcp hostname not compatible with some os 2023-10-31 12:02:53 +08:00
Zexi Li
304e520ce6 Merge pull request #18495 from ioito/automated-cherry-pick-of-#18494-upstream-release-3.11
Automated cherry pick of #18494: fix(region): vendor update
2023-10-30 20:39:37 +08:00
Zexi Li
c895e5bc7c Merge pull request #18479 from swordqiu/automated-cherry-pick-of-#18478-upstream-release-3.11
Automated cherry pick of #18478: fix: scheduler ping/pong response mime
2023-10-30 20:37:25 +08:00
Zexi Li
c24b0a4082 feat(apigateway): report running env 2023-10-30 20:32:54 +08:00
ioito
f4b74c790c fix(region): vendor update 2023-10-30 20:09:47 +08:00
屈轩
30f2fda002 fix(region): vendor update (#18493) 2023-10-30 17:03:39 +08:00
屈轩
097237eb8c fix(region): qcloud security group rule priority (#18489) 2023-10-30 17:03:17 +08:00
屈轩
69e8ab1936 fix(region): avoid hostname has '-' suffix (#18486) 2023-10-30 17:02:32 +08:00
屈轩
0f8443905a fix(region): gpu spec (#18483) 2023-10-30 14:39:09 +08:00
屈轩
f58532081e fix(region): kvm secgroup filter (#18477) 2023-10-30 13:55:25 +08:00
Qiu Jian
335ff385c5 fix: scheduler ping/pong response mime 2023-10-30 13:17:09 +08:00
Zexi Li
99563805ec Merge pull request #18457 from ioito/automated-cherry-pick-of-#18456-upstream-release-3.11
Automated cherry pick of #18456: fix(region): add gpu log
2023-10-30 10:05:08 +08:00
Zexi Li
03b9501ccb Merge pull request #18473 from ioito/automated-cherry-pick-of-#18472-upstream-release-3.11
Automated cherry pick of #18472: fix(region): security group rule priority validate
2023-10-30 10:03:33 +08:00
Zexi Li
06f3ca8588 Merge pull request #18475 from wanyaoqi/automated-cherry-pick-of-#17671-upstream-release-3.11
Automated cherry pick of #17671: feat(region): add guest rescue api
2023-10-30 10:02:12 +08:00
boironic@gmail.com
7f0fdc3739 feat(region): add guest rescue api && download initrd from baremetal tftp server && add baremetal agent ip finder & update pic address & support ip kernel config. 2023-10-29 20:56:26 +08:00
屈轩
6fb42c4d2c fix(region): kvm server cnt (#18470) 2023-10-27 19:39:18 +08:00
ioito
3b98af9628 fix(region): security group rule priority validate 2023-10-27 19:35:54 +08:00
屈轩
3364a94082 fix(region): vendor update (#18467) 2023-10-27 16:40:50 +08:00
屈轩
0b3ae628c4 fix(region): vendor update (#18465) 2023-10-27 16:08:04 +08:00
屈轩
eb7eb8795b fix(region): aliyun cloud_auto enable burst (#18461) 2023-10-27 15:18:41 +08:00
Zexi Li
9064790c84 Merge pull request #18443 from swordqiu/automated-cherry-pick-of-#18442-upstream-release-3.11
Automated cherry pick of #18442: fix: support rocky linux guestfs
2023-10-27 10:04:14 +08:00
Zexi Li
af70eec115 Merge pull request #18449 from ioito/automated-cherry-pick-of-#18448-upstream-release-3.11
Automated cherry pick of #18448: fix(region): 避免esxi vm没有被真正删除
2023-10-27 10:03:05 +08:00
屈轩
7a6a962790 fix(region): remove useless code (#18455) 2023-10-26 18:35:07 +08:00
ioito
fc8c45e2de fix(region): add gpu log 2023-10-26 18:03:57 +08:00
屈轩
d867fd0251 fix(region): security group rule update (#18452) 2023-10-26 17:58:03 +08:00
ioito
fb911b41ab fix(region): 避免esxi vm没有被真正删除 2023-10-26 14:48:22 +08:00
Zexi Li
756fd92a27 Merge pull request #18446 from ioito/automated-cherry-pick-of-#18445-upstream-release-3.11
Automated cherry pick of #18445: fix(region): fix #18397 esxi vm set tags
2023-10-26 12:11:46 +08:00
ioito
a3b080334c fix(region): fix #18397 esxi vm set tags 2023-10-26 11:41:29 +08:00
屈轩
f03617c18f fix(region): vendor update (#18441) 2023-10-26 11:23:29 +08:00
Qiu Jian
f547d6bc47 fix: support rocky linux guestfs 2023-10-26 11:20:35 +08:00
Zexi Li
c1d148d4e3 Merge pull request #18417 from swordqiu/automated-cherry-pick-of-#18416-upstream-release-3.11
Automated cherry pick of #18416: fix: auto sync esxi host status periodically
2023-10-26 10:08:49 +08:00
Zexi Li
ecc63f3501 Merge pull request #18436 from wanyaoqi/automated-cherry-pick-of-#18435-upstream-release-3.11
Automated cherry pick of #18435: Fix/misc fix 20231025
2023-10-26 10:07:58 +08:00
Zexi Li
9ce1f2322c Merge pull request #18438 from ioito/automated-cherry-pick-of-#18434-upstream-release-3.11
Automated cherry pick of #18434: Hotfix/qx clean scheduler
2023-10-26 10:06:25 +08:00
ioito
f0ac779e55 fix(region): 避免频繁清理调度器缓存 2023-10-26 09:55:03 +08:00
wanyaoqi
835bdf2c15 fix(region): guest start check vcpu is enough 2023-10-25 23:55:26 +08:00
wanyaoqi
0508225799 fix(host): skip isolated device probe on kvm not support 2023-10-25 23:54:42 +08:00
wanyaoqi
069a9a8eaf fix(region): rebuild root update guest bios 2023-10-25 23:54:42 +08:00
屈轩
14300e2f91 fix(region): fix cloudaccount sync projectMapping (#18432)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-10-25 20:53:47 +08:00
gouqi11
204a059cae feat(cloudmon): support lbMetric for MetricTypeDriver (#18430)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-10-25 20:38:02 +08:00
屈轩
675468f48c fix(region): vendor update (#18429) 2023-10-25 19:24:42 +08:00
屈轩
6476cea4dc fix(region): vendor update (#18426) 2023-10-25 18:24:53 +08:00
屈轩
860109369d fix(region): secgroup rule fix (#18415) 2023-10-25 17:58:13 +08:00
Zexi Li
82f1952842 Merge pull request #18419 from wanyaoqi/automated-cherry-pick-of-#18418-upstream-release-3.11
Automated cherry pick of #18418: fix(host): live migrate misc fix
2023-10-25 10:20:48 +08:00
wanyaoqi
601d539bba fix(host): live migrate misc fix 2023-10-25 01:59:01 +08:00
Qiu Jian
e89c3a78da fix: auto sync esxi host status periodically 2023-10-24 21:50:44 +08:00
Zexi Li
80b4caeeda feat(climc): always try to print id and name firstly (#18412) 2023-10-24 21:48:35 +08:00
Zexi Li
f1394bed02 feat(climc): always try to print id and name firstly (#18410) 2023-10-24 21:48:26 +08:00
屈轩
f4d34c8ee4 Revert "fix(common): remove service default policy (#18312)" (#18413)
This reverts commit 6ff9e75fb1.
2023-10-24 21:47:50 +08:00
Zexi Li
e2fb312311 Merge pull request #18386 from swordqiu/automated-cherry-pick-of-#18385-upstream-release-3.11
Automated cherry pick of #18385: fix: capabilities brand revisit
2023-10-24 20:01:47 +08:00
Zexi Li
e2af2f2602 Merge pull request #18409 from ioito/automated-cherry-pick-of-#18408-upstream-release-3.11
Automated cherry pick of #18408: fix(region): kube cluster brand
2023-10-24 19:50:14 +08:00
ioito
6fadaec519 fix(region): kube cluster brand 2023-10-24 18:50:26 +08:00
Zexi Li
30746be01e Merge pull request #18407 from gouqi11/automated-cherry-pick-of-#18396-upstream-release-3.11
Automated cherry pick of #18396: feat(notify): Allow direct notification sending
2023-10-24 15:39:00 +08:00
马鸿飞
b0ccc84260 feat(notify): Allow direct notification sending 2023-10-24 15:24:42 +08:00
Zexi Li
b7db6d4535 Merge pull request #18404 from zexi/automated-cherry-pick-of-#18403-upstream-release-3.11
Automated cherry pick of #18403: fix(scheduler): fetch host storages directly
2023-10-24 14:37:28 +08:00
Zexi Li
bdaf659a28 fix(scheduler): fetch host storages directly 2023-10-24 14:26:49 +08:00
Zexi Li
6583094e85 Merge pull request #18401 from ioito/automated-cherry-pick-of-#18400-upstream-release-3.11
Automated cherry pick of #18400: fix(region): aws eip not found error
2023-10-24 14:23:37 +08:00
ioito
631c255970 fix(region): aws eip not found error 2023-10-24 13:25:30 +08:00
Zexi Li
51f5b01c4e Merge pull request #18394 from wanyaoqi/automated-cherry-pick-of-#18393-upstream-release-3.11
Automated cherry pick of #18393: fix(host-deployer): deploy qga conf according hypervisor
2023-10-23 11:43:27 +08:00
Zexi Li
51ab18e0ba Merge pull request #18384 from wanyaoqi/automated-cherry-pick-of-#18383-upstream-release-3.11
Automated cherry pick of #18383: fix(region,host): live migrate disk driver determines the migration mode
2023-10-23 11:18:03 +08:00
Zexi Li
e0ab303771 Merge pull request #18390 from ioito/automated-cherry-pick-of-#18389-upstream-release-3.11
Automated cherry pick of #18389: fix(apigateway): baremetal usage
2023-10-23 11:17:15 +08:00
wanyaoqi
e8f4e85943 fix(host-deployer): deploy qga conf according hypervisor 2023-10-23 10:48:10 +08:00
ioito
6bf139297c fix(apigateway): baremetal usage 2023-10-23 10:38:14 +08:00
Zexi Li
6e679a88be Merge pull request #18356 from gouqi11/automated-cherry-pick-of-#18161-upstream-release-3.11
Automated cherry pick of #18161: feat(scheduledTask): support cycle_hour
2023-10-23 10:17:33 +08:00
Qiu Jian
e2a843f018 fix: capabilities brand revisit 2023-10-23 10:16:32 +08:00
wanyaoqi
679ddfa3d0 fix(region,host): live migrate disk driver determines the migration mode 2023-10-23 10:12:21 +08:00
马鸿飞
50bd35b558 feat(scheduledTask): support cycle_hour 2023-10-23 10:07:05 +08:00
Jian Qiu
675d453f02 fix: vpcagent sync error (#18382)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-23 09:27:32 +08:00
wanyaoqi
f5b1c828f1 feat(region,host): cloudpods guest convert to kvm guest (#18378) 2023-10-23 09:25:51 +08:00
Zexi Li
e97408dca8 fix(scheduler): improve scheduler prefer and avoid tags strategy (#18373) 2023-10-20 20:46:14 +08:00
Zexi Li
8a89981f79 Merge pull request #18366 from swordqiu/automated-cherry-pick-of-#18365-upstream-release-3.11
Automated cherry pick of #18365: fix: auto convert missing subformat images
2023-10-20 12:28:28 +08:00
Zexi Li
5215a7baff Merge pull request #18363 from swordqiu/automated-cherry-pick-of-#18362-upstream-release-3.11
Automated cherry pick of #18362: fix: fail to fetch admin ssh keypair
2023-10-20 10:35:18 +08:00
Qiu Jian
dd2a61e9a6 fix: auto convert missing subformat images 2023-10-20 10:23:51 +08:00
Qiu Jian
b394e58ee4 fix: fail to fetch admin ssh keypair 2023-10-20 05:42:05 +08:00
Zexi Li
7e7b6512f4 Merge pull request #18361 from ioito/automated-cherry-pick-of-#18360-upstream-release-3.11
Automated cherry pick of #18360: fix(region): aws lb sync panic
2023-10-19 20:34:13 +08:00
ioito
b7ec468b03 fix(region): aws lb sync panic 2023-10-19 20:15:21 +08:00
Jian Qiu
b6e1e9d226 fix: allow vmware network associate with multiple wires (#18341)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-19 09:15:40 +08:00
wanyaoqi
64310bf4df fix(host-deployer): change netdev prefix to "en" on nics has different driver (#18330)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-10-18 20:40:46 +08:00
Jian Qiu
99f671d567 fix: missing project mapping body (#18353)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-18 20:39:38 +08:00
屈轩
d5a3913a1f fix: docgengo (#18351) 2023-10-18 06:19:10 -05:00
屈轩
a6bab03c85 feature: add support for for VolcEngine (#18349)
Co-authored-by: kongrui <kongr@lamda.nju.edu.cn>
2023-10-18 06:05:41 -05:00
Zexi Li
2e761505bf Merge pull request #18343 from swordqiu/automated-cherry-pick-of-#18342-upstream-release-3.11
Automated cherry pick of #18342: fix: unable to recognize anolis os
2023-10-18 15:00:30 +08:00
屈轩
ca89d83e4f fix(climc): 避免climc交互模式下--help自动退出 (#18339) 2023-10-17 20:58:49 -05:00
Qiu Jian
aafab22bb7 fix: unable to recognize anolis os 2023-10-18 01:54:29 +08:00
屈轩
6d49f8c5c8 fix(region): standardization stage name (#18300) 2023-10-18 01:26:36 +08:00
Zexi Li
c59daea668 Merge pull request #18323 from gouqi11/automated-cherry-pick-of-#18320-upstream-release-3.11
Automated cherry pick of #18320: fix(notify): fix role subscriber groupTimes
2023-10-17 12:24:11 +08:00
Zexi Li
dd151944ca Merge pull request #18326 from wanyaoqi/automated-cherry-pick-of-#18325-upstream-release-3.11
Automated cherry pick of #18325: fix(scheduler): isolated device predicate miss sriov nic
2023-10-17 11:51:10 +08:00
wanyaoqi
0fa98f7b82 fix(scheduler): isolated device predicate miss sriov nic 2023-10-16 16:22:19 +08:00
马鸿飞
99afc444a7 fix(notify): fix role subscriber groupTimes 2023-10-16 15:59:33 +08:00
屈轩
847459f2a8 fix(common): distinguish system and user log by is_system_account (#18317) 2023-10-15 20:58:09 -05:00
屈轩
6ff9e75fb1 fix(common): remove service default policy (#18312) 2023-10-13 14:00:39 +08:00
屈轩
115eb587e3 fix(region): show network details with dns (#18289) 2023-10-13 07:43:42 +08:00
屈轩
1b74a9c6a0 fix(keystone): policy result (#18285) 2023-10-13 07:41:12 +08:00
Jian Qiu
b4b9485068 fix: update vendor for edito retry (#18309)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-13 07:29:04 +08:00
Jian Qiu
4e9957c3f2 fix: climc server-logininfo action (#18296)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-12 20:19:02 +08:00
屈轩
afc77d0c7b fix(region): classify invalid access key error (#18305) 2023-10-12 20:17:49 +08:00
屈轩
05ab9311b3 fix(region): avoid ctyun signature verification failed (#18302) 2023-10-12 19:08:39 +08:00
屈轩
0809d6ecfa fix(region): remove ctyun useless env paramenter (#18293) 2023-10-12 18:06:12 +08:00
屈轩
d97ec1c7b5 fix(region): aws userdata error fix (#18290) 2023-10-12 17:27:31 +08:00
Jian Qiu
2a5ba4d77f fix: update vendor 20231012 for sqlchemy (#18282)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-12 16:56:59 +08:00
屈轩
8bd9b78e21 fix(region): history usage (#18260) 2023-10-12 16:30:59 +08:00
Zexi Li
7c836a4993 Merge pull request #18279 from gouqi11/automated-cherry-pick-of-#18267-upstream-release-3.11
Automated cherry pick of #18267: feat(notify): support db_dispatcher notify
2023-10-12 15:51:13 +08:00
马鸿飞
7423ca9726 feat(notify): support db_dispatcher notify 2023-10-12 15:39:54 +08:00
Zexi Li
a1e77ea061 Merge pull request #18276 from ioito/automated-cherry-pick-of-#18275-upstream-release-3.11
Automated cherry pick of #18275: fix(region): use project sshkeypair to ssh vm
2023-10-12 14:59:45 +08:00
wanyaoqi
accc92da16 fix(host): check qga connect is closed (#18272) 2023-10-12 14:49:02 +08:00
ioito
0d85f41098 fix(region): use project sshkeypair to ssh vm 2023-10-12 14:24:02 +08:00
Zexi Li
2881f82226 Merge pull request #18265 from ioito/automated-cherry-pick-of-#18264-upstream-release-3.11
Automated cherry pick of #18264: fix(region): dns record cname check
2023-10-11 18:09:26 +08:00
Zexi Li
2b33c44d59 Merge pull request #18254 from zexi/server-ip-regexp-list
feat(region): filter server ip_addrs by REGEXP
2023-10-11 17:19:24 +08:00
屈轩
b32444047d fix(region): wait vm deleted (#18262) 2023-10-11 17:19:15 +08:00
ioito
560444bc25 fix(region): dns record cname check 2023-10-11 17:12:30 +08:00
Zexi Li
0c0bc34e67 Merge pull request #18251 from swordqiu/automated-cherry-pick-of-#18250-upstream-release-3.11
Automated cherry pick of #18250: fix: guest start params revisit
2023-10-11 17:11:06 +08:00
Zexi Li
7104d73ba6 feat(region): filter server ip_addrs by REGEXP 2023-10-11 17:03:16 +08:00
屈轩
ff414105cb fix: vendor update (#18258) 2023-10-11 16:22:28 +08:00
Qiu Jian
02db6f01e7 fix: guest start params revisit 2023-10-11 05:43:57 +08:00
Zexi Li
ca2ebb35f4 Merge pull request #18249 from zexi/automated-cherry-pick-of-#18246-upstream-release-3.11
Automated cherry pick of #18246: fix(monitor): select host that isn't in source hosts as target
2023-10-10 20:04:19 +08:00
Zexi Li
b21702417a fix(monitor): select host that isn't in source hosts as target 2023-10-10 20:03:55 +08:00
Jian Qiu
83d02d2bf0 fix: allow specify desktop linux os that not allow root login (#18244)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-09 18:38:07 +08:00
wanyaoqi
17733cdd80 fix(host): host sysinfo metadata double quota (#18240) 2023-10-09 18:36:40 +08:00
Zexi Li
37f2bc3fef Merge pull request #18236 from wanyaoqi/automated-cherry-pick-of-#18235-upstream-release-3.11
Automated cherry pick of #18235: fix(host-deployer): deploy qga conf ensure /etc/sysconfig dir
2023-10-09 14:56:30 +08:00
Jian Qiu
c00028ccc6 fix: handle old style auth token (#18233)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-09 12:30:28 +08:00
wanyaoqi
45b744bc50 fix(host-deployer): deploy qga conf ensure /etc/sysconfig dir 2023-10-09 12:23:21 +08:00
Jian Qiu
638c5130c6 fix: unauthorized error should return 401 (#18230)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 21:54:21 +08:00
Jian Qiu
5d59e54085 fix: missing invalid token response (#18227)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 18:27:38 +08:00
Jian Qiu
e319338460 fix: shorten keystone token (#18223)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-08 11:20:35 +08:00
Zexi Li
f5d466e359 Merge pull request #18220 from gouqi11/automated-cherry-pick-of-#18219-upstream-release-3.11
Automated cherry pick of #18219: feat: support policy and cors for bucket
2023-10-07 17:56:29 +08:00
马鸿飞
5bfa0e03ee feat: support policy and cors for bucket 2023-10-07 17:51:20 +08:00
Zexi Li
27b6f8b8d6 Merge pull request #18211 from ioito/automated-cherry-pick-of-#18210-upstream-release-3.11
Automated cherry pick of #18210: fix(region): vendor update
2023-10-07 13:18:13 +08:00
Zexi Li
27bbc9512f Merge pull request #18208 from wanyaoqi/automated-cherry-pick-of-#18207-upstream-release-3.11
Automated cherry pick of #18207: feat(region,glance): from cloudaccount to enable vmdk target format
2023-10-07 13:16:01 +08:00
ioito
90566723a2 fix(region): vendor update 2023-10-07 10:58:18 +08:00
wanyaoqi
23a7b8f15f feat(region,glance): from cloudaccount to enable vmdk target format 2023-10-07 09:59:39 +08:00
Jian Qiu
8f4fe468ec fix: async refresh revoked tokens (#18205)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-06 13:45:18 +08:00
Zexi Li
c3d782c358 Merge pull request #18200 from swordqiu/automated-cherry-pick-of-#18199-upstream-release-3.11
Automated cherry pick of #18199: feature: invalidate auth token
2023-10-05 19:22:21 +08:00
Qiu Jian
9f7458b58f feature: invalidate auth token 2023-10-05 03:41:15 +08:00
Zexi Li
c811818017 Merge pull request #18190 from swordqiu/automated-cherry-pick-of-#18183-upstream-release-3.11
Automated cherry pick of #18183: feature: SUSE guest support
2023-10-04 00:38:13 +08:00
Qiu Jian
1d1d93858a feature: SUSE guest support 2023-10-02 00:34:19 +08:00
Jian Qiu
a2b17a5492 fix: rebuild root support deploy params (#18188)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-02 00:16:17 +08:00
Jian Qiu
16d380813d fix: host nics api (#18185)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-01 23:40:34 +08:00
Jian Qiu
7e44c015b3 fix: add apis for logininfo (#18181)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-10-01 23:39:58 +08:00
Zexi Li
5b066bfd8c Merge pull request #18163 from swordqiu/automated-cherry-pick-of-#18162-upstream-release-3.11
Automated cherry pick of #18162: fix: fail purge disk due to getMastHost failure
2023-09-27 22:52:30 +08:00
Zexi Li
28d541ba78 Merge pull request #18169 from zexi/automated-cherry-pick-of-#18167-upstream-release-3.11
Automated cherry pick of #18167: fix(scheduler): some joint resources are not synced
2023-09-27 22:51:42 +08:00
Zexi Li
f27087867a Merge pull request #18171 from zexi/automated-cherry-pick-of-#18072-upstream-release-3.11
Automated cherry pick of #18072: fix(climc): delete the backup machine from the offline host
2023-09-27 17:10:52 +08:00
hoganlxj
f24cf2fdb0 Update clean_host.sh 2023-09-27 17:09:04 +08:00
Zexi Li
7735720a5e fix(scheduler): some joint resources are not synced 2023-09-27 16:47:36 +08:00
Qiu Jian
e8a52c23be fix: fail purge disk due to getMastHost failure 2023-09-27 14:32:42 +08:00
屈轩
710905c1f2 fix(region): change project log detail (#18154) 2023-09-26 17:58:53 +08:00
Zexi Li
475e698227 Merge pull request #18157 from wanyaoqi/automated-cherry-pick-of-#18156-upstream-release-3.11
Automated cherry pick of #18156: fix(region): remove ansible restart network on guest sync
2023-09-26 17:42:56 +08:00
wanyaoqi
ea3e855655 fix(region): remove ansible restart network on guest sync 2023-09-26 15:47:19 +08:00
Zexi Li
76bd871ef8 Merge pull request #18151 from zexi/automated-cherry-pick-of-#18124-upstream-release-3.11
Automated cherry pick of #18124: fix: charset mismatch in tenant cache convert_ids
2023-09-25 16:58:33 +08:00
Qiu Jian
b6446c8007 fix: charset mismatch in tenant cache convert_ids 2023-09-25 16:58:12 +08:00
Zexi Li
bd3c32b3a3 Merge pull request #18150 from zexi/automated-cherry-pick-of-#18126-upstream-release-3.11
Automated cherry pick of #18126: fix(region): hide agent status
2023-09-25 16:56:53 +08:00
Zexi Li
27b0b342b4 fix(region): hide agent status 2023-09-25 16:56:09 +08:00
Zexi Li
ef52ad5f25 Merge pull request #18146 from ioito/automated-cherry-pick-of-#18145-upstream-release-3.11
Automated cherry pick of #18145: fix(region): aliyun health check tls error
2023-09-25 16:53:49 +08:00
屈轩
efdb5beb71 fix(region): avoid panic after created vm (#18142) 2023-09-25 15:12:43 +08:00
ioito
7de4c55dfc fix(region): aliyun health check tls error 2023-09-25 15:11:10 +08:00
Zexi Li
6ee8be68cd Merge pull request #18137 from ioito/automated-cherry-pick-of-#18136-upstream-release-3.11
Automated cherry pick of #18136: fix(region): account ctx unlock
2023-09-22 16:49:54 +08:00
Zexi Li
f59d2bd256 Merge pull request #18115 from ioito/automated-cherry-pick-of-#18114-upstream-release-3.11
Automated cherry pick of #18114: fix(region): network update detail error
2023-09-22 16:48:33 +08:00
ioito
1f6f9d6adc fix(region): account ctx unlock 2023-09-22 16:22:39 +08:00
屈轩
bac4faf202 fix(region): aws disk type (#18133) 2023-09-22 14:17:31 +08:00
ioito
c2546c31a7 fix(region): network update detail error 2023-09-22 10:11:06 +08:00
Zexi Li
ea50886aa1 Merge pull request #18097 from wanyaoqi/automated-cherry-pick-of-#18096-upstream-release-3.11
Automated cherry pick of #18096: Fix/backup guest prelaunch
2023-09-21 22:43:58 +08:00
Zexi Li
1cf6a5d9db Merge pull request #18092 from wanyaoqi/automated-cherry-pick-of-#18091-upstream-release-3.11
Automated cherry pick of #18091: fix(host): insert iso name not correct
2023-09-21 22:42:04 +08:00
Zexi Li
6cb3a055ae Merge pull request #18081 from wanyaoqi/automated-cherry-pick-of-#18080-upstream-release-3.11
Automated cherry pick of #18080: Fix/host delete validate
2023-09-21 22:41:26 +08:00
Zexi Li
a5b782fdeb Merge pull request #18067 from wanyaoqi/automated-cherry-pick-of-#18065-upstream-release-3.11
Automated cherry pick of #18065: fix(region,host): cancel migrate sync guest status
2023-09-21 22:40:37 +08:00
Zexi Li
9d94a7355d Merge pull request #18077 from wanyaoqi/automated-cherry-pick-of-#18076-upstream-release-3.11
Automated cherry pick of #18076: fix(region,host): guest save image restart not work
2023-09-21 22:39:18 +08:00
Zexi Li
4cb465ab35 Merge pull request #18088 from wanyaoqi/automated-cherry-pick-of-#17858-upstream-release-3.11
Automated cherry pick of #17858: feat(region,host,host-deployer): add qga set network
2023-09-21 20:57:02 +08:00
Zexi Li
00a1659ce8 Merge pull request #18074 from wanyaoqi/automated-cherry-pick-of-#18073-upstream-release-3.11
Automated cherry pick of #18073: feat(region): host list filter by host storage type
2023-09-21 20:54:54 +08:00
屈轩
3d329d7412 fix(esxi-agent): vmware hostname (#18122) 2023-09-21 20:50:24 +08:00
屈轩
7c62173d3f fix(region): cloudpods userdata (#18118) 2023-09-21 20:49:32 +08:00
屈轩
3c14711346 fix(region): avoid deadlock for delete account (#18100) 2023-09-21 14:56:30 +08:00
屈轩
a8ba3a4ec5 fix(region): fix #18106 remove change chonfig stop charing restrict (#18108) 2023-09-21 14:55:23 +08:00
屈轩
3daf38b6a0 fix(region): guest vnc error (#18103) 2023-09-21 14:54:40 +08:00
屈轩
fcc5b2eae1 fix(region): server sku cpu arch filter (#18111) 2023-09-21 14:53:07 +08:00
wanyaoqi
9d7a49ebdf fix(host): avoid panic on host record not init 2023-09-21 11:04:39 +08:00
wanyaoqi
3d1507b0e4 fix(host): cancel backup guest prelaunch 2023-09-21 11:04:39 +08:00
wanyaoqi
e5be78e740 fix(host): insert iso name not correct 2023-09-20 21:24:56 +08:00
屈轩
22d0608786 fix(region): kube cluster version (#18084) 2023-09-20 20:18:16 +08:00
屈轩
2e74e42bde fix(region): vendor update (#18087) 2023-09-20 20:17:24 +08:00
chentianxiang
260a9cbe87 feat(region,host,host-deployer):use qga set network 2023-09-20 20:07:24 +08:00
wanyaoqi
1f4079a863 fix(region): validate is reserve all cpus 2023-09-20 19:41:04 +08:00
wanyaoqi
53d4b0c1b7 fix(region): host delete validate backup guests 2023-09-20 19:41:04 +08:00
wanyaoqi
a538e215b8 fix(region,host): guest save image restart not work 2023-09-20 19:37:25 +08:00
wanyaoqi
00a1ddc508 feat(region): host list filter by host storage type 2023-09-20 19:34:30 +08:00
wanyaoqi
a49148c7e4 fix(region,host): cancel migrate sync guest status 2023-09-20 00:21:02 +08:00
15092 changed files with 654649 additions and 6051927 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

@@ -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

@@ -13,13 +13,13 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Install check tools
shell: bash
run: |
set -o xtrace
git clone --branch master --depth 4 https://github.com/yunionio/tools && cd tools
git clone --branch yun --depth 4 https://github.com/yousong/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
@@ -32,7 +32,7 @@ jobs:
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)"
targets="$(find cmd -mindepth 1 -maxdepth 1 -type d | grep -v cmd/host-image)"
echo $targets | tr ' ' '\n'
make $targets
ls -lh _output/bin

View File

@@ -22,7 +22,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -21,7 +21,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -19,7 +19,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -20,7 +20,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

View File

@@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: '1.26.3'
go-version: '1.18'
- name: Set up QEMU
uses: docker/setup-qemu-action@v2

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}}"

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,22 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=master
RELEASE_BRANCH:=release/3.11
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 yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v '/cloudmux$$'))
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 +349,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.5 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)))
@@ -28,6 +29,27 @@ 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

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,188 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
* 将VMware vSphere虚拟化集群转换为一个可以自服务的私有云平台
* 在混合云的场景,能够在一个界面访问私有云和公有云
* 通过一个集中的入口访问分布在多个公有云平台上的多个账号
* 当前只使用一个公有云账号但希望将来使用多云的用户
* 需要部署和管理 LLM 推理服务及 AI 容器应用,并需要 GPU 调度支持的用户
* 当前只使用一个公有云账号但希望将来使用多云的用户
## 功能
请访问[产品介绍](https://www.cloudpods.org/docs/introduction/)页面了解详细信息。
### 概览 & UI 展示
### AI 云
<details>
<summary>管理多云资源的功能可以管理大多数的主流云包括私有云例如OpenStack以及公有云例如AWSAzureGCP阿里云华为云和腾讯云等</summary>
<ul>
<li>
<p>云帐号纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>云帐号列表</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>公有云虚拟机列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
* **AI 推理服务**:部署和管理 LLM 推理实例(支持 Ollama、vLLM、SGLang 等),支持 GPU 调度、模型挂载与推理服务地址分配。
* **AI 应用管理**:一站式部署 LLM 应用编排、智能体助手、图像生成等 AI 容器应用。
* **模型库**:统一管理模型来源、版本与缓存,支持多实例复用、离线分发,避免重复下载。
* **模板与镜像**:通过模板定义 CPU/内存/GPU 等资源规格,通过镜像管理容器运行环境,实现标准化交付。
* **GPU 运维**GPU 设备自动探测与注册,支持 NVIDIA/CUDA 环境的统一配置与管理。
<details>
<summary>
一个可以管理海量KVM虚拟机的轻量级私有云
</summary>
<ul>
<li>
<p>虚拟机列表</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>虚拟机创建页面</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>虚拟机可通过 VNC 或者 SSH 登录</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>宿主机列表</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>镜像模板列表</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>二层网络列表(经典网络)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IP子网列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>弹性公网IP列表VPC网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
<details>
<summary>
一个能进行物理机全生命周期管理的裸机云
</summary>
<ul>
<li>
<p>物理机列表</p>
<img src="https://i.imgur.com/Jz8b5nC.png">
</li>
<li>
<p>物理机纳管</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>安装操作系统</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>支持 ARM64 的物理机服务器</li>
</ul>
</details>
<details>
<summary>一套完整的多租户认证和访问控制体系</summary>
<ul>
<li>
<p>支持本地sql、LDAP 等认证源</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>多租户系统,包括域,项目,组,用户,角色和权限等</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</li>
</ul>
</details>
<details>
<summary>
实现了VMware vSphere虚拟化集群的自助服务和自动化
</summary>
<ul>
<li>
<p>添加VMware云账号</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware云账号列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>自动创建二层网络</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>自动创建IP子网</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>新建VMware虚拟机</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
允许以统一的联邦身份访问各个云平台的原生控制台的SSO
</summary>
<ul>
<li>
<p>为云账号开启免密登录(以阿里云为例)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>将Cloudpods平台用户添加为免密登录用户</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>多云统一登录入口</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>多云统一登录-免密登录用户列表</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Cloudpods平台用户免密登录阿里云</p>
</li>
</ul>
</details>
<details>
<summary>
一套功能丰富、统一一致的RESTAPI和模型访问以上的云资源和功能
</summary>
</details>
<details>
<summary>
自动将镜像转换为不同云平台需要的格式的多云镜像服务
</summary>
</details>
支持的 AI 工作负载:
* AI 推理Ollama、vLLM、SGLang
* AI 应用OpenClaw、Dify、ComfyUI、Hermes Agent
### 支持的云平台
@@ -52,42 +213,36 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
* 天翼云
* 移动云
* 京东云
* 火山引擎
* 百度云
* 金山云
* 青云
* Oracle Cloud
* 联通云
* 私有云:
* OpenStack
* ZStack
* Alibaba Cloud Apsara (阿里飞天)
* Alibaba Cloud Aspara (阿里飞天)
* Huawei HCSO (华为HCSO)
* Nutanix
* BingoCloud
* OceanBase
* 本地基础设施资源:
* 基于 KVM 实现的轻量级私有云
* VMware vSphere vCenter/ESXi
* Proxmox VE
* 裸金属 (IPMI, Redfish API)
* 对象存储 (Minio, Ceph, XSky)
* 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/)选择合适的场景部署
- [All in One 安装](https://www.cloudpods.org/zh/docs/quickstart/allinone/):在 CentOS 7 或 Debian 10 等发行版里搭建全功能 Cloudpods 服务,可以快速体验**内置私有云**和**多云管理**的功能
- [Kubernetes Helm 安装](https://www.cloudpods.org/zh/docs/quickstart/k8s/):在已有 Kubernetes 集群上通过 Helm 部署一套 Cloudpods CMP 服务,可以体验**多云管理**的功能。
- [Docker Compose 安装](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/):通过 Docker Compose 部署 Cloudpods CMP 服务,可以迅速体验**多云管理**的功能。
- [高可用安装](https://www.cloudpods.org/zh/docs/setup/ha-ce/):在生产环境中使用高可用的方式部署 Cloudpods 服务,包括**内置私有云**和**多云管理**的功能。
## 文档
@@ -101,13 +256,23 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
## 联系我们
* 请查看[联系我们](https://www.cloudpods.org/docs/contact/)。
您可以通过如下方式联系我们:
* TG群: [cloudpods](https://t.me/cloudpods_org)
* [服务订阅](https://www.yunion.cn/subscription/index.html)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/3493131737631540/)
* 微信: 请扫描如下二维码联系我们
<img src="https://www.cloudpods.org/images/contact_me_qr_20230321.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 +281,3 @@ Cloudpods还提供了 **AI 云**一个面向大语言模型LLM推理与
## License
Apache license 2.0,详情请看 [LICENSE](./LICENSE)。
## AI生成文档
[DeepWiki](https://deepwiki.com/yunionio/cloudpods) 提供了对本项目代码详细和全面的AI解读可以参考。

235
README.md
View File

@@ -1,43 +1,208 @@
# 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.
### Summary & UI
### AI Cloud
<details>
<summary>
Multi-cloud management that is able to manage a wide range of cloud providers, including private cloud, such as OpenStack, and public clouds, such as AWS, Azure, Google Cloud, Alibaba Cloud, Tencent Cloud, Huawei Cloud, etc.
</summary>
<ul>
<li>
<p>Cloud account create form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudselect.png" alt="multi cloud management">
</li>
<li>
<p>Cloud accounts list</p>
<img src="https://i.imgur.com/Q0LipfI.png" alt="cloud account list">
</li>
<li>
<p>Multi public cloud VM list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/publicvmlist.png">
</li>
</ul>
</details>
* **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.
<details>
<summary>
A light-weight private cloud that manages KVM hypervisor in scale
</summary>
<ul>
<li>
<p>VM instances list</p>
<img src="https://i.imgur.com/DbkRUoo.png">
</li>
<li>
<p>Create VM instance form</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createkvmvm2.png">
</li>
<li>
<p>VNC and SSH login page</p>
<img src="https://i.imgur.com/m0rkeQ3.png">
</li>
<li>
<p>Host list</p>
<img src="https://imgur.com/i509t5a.png">
</li>
<li>
<p>Image template list</p>
<img src="https://imgur.com/UVFLGi2.png">
</li>
<li>
<p>VPC list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>Wire list (Classic Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/wirelist.png">
</li>
<li>
<p>IPsubnet list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/ipsubnetlist.png">
</li>
<li>
<p>Eip list (VPC Network)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vpclist.png">
</li>
<li>
<p>LB list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/lblist.png">
</li>
</ul>
</details>
Supported AI workloads:
* AI Inference: Ollama, vLLM, SGLang
* AI Applications: OpenClaw, Dify, ComfyUI, Hermes Agent
<details>
<summary>
A BareMetal cloud that automates the full life-cycle management of baremetal physical machines
</summary>
<ul>
<li>
<p>BareMetal list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/physicalmachinelist.png">
</li>
<li>
<p>Baremetal Management</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addphysicalmachine.png">
</li>
<li>
<p>Create OS on BareMetal</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createbaremetal.png">
</li>
<li>ARM64 baremetal supported</li>
</ul>
</details>
<details>
<summary>
A complete multi-tenancy RBAC-enabled IAM (identity and access management) system
</summary>
<ul>
<li>
<p>sql, LDAP supported</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/idplist.png">
</li>
<li>
<p>Multi-tenancy system, include domain, project, group, user, role, policy</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/domainlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/projectlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/grouplist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/userlist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/rolelist.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/policylist.png">
</ul>
</details>
<details>
<summary>
VMware vSphere management that enables self-service and automation
</summary>
<ul>
<li>
<p>Add VMware account</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmware.png">
</li>
<li>
<p>VMware account list</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarelist.png">
</li>
<li>
<p>Automatic creation of wire</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwarewirelist.png">
</li>
<li>
<p>Automatic creation of ipsubnet</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/vmwareipsubnetlist.png">
</li>
<li>
<p>Create a VMware VM instance</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm1.png">
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/createvmwarevm2.png">
</li>
</ul>
</details>
<details>
<summary>
Cloud SSO that allows accessing native webconsole of cloud providers with unified federated identities
</summary>
<ul>
<li>
<p>Enable the SSO login function of the cloud account (aliyun as an example)</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/enablecloudsso.png">
</li>
<li>
<p>create saml users</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/addsamluser.png">
</li>
<li>
<p>Cloud SSO entry</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudssoentry.png">
</li>
<li>
<p>Cloud SSO - SSO login user</p>
<img src="https://www.cloudpods.org/zh/docs/introduce/ui/images/cloudsamluser.png">
</li>
<li>
<p>Sign in to the public cloud platform with SSO</p>
</li>
</ul>
</details>
<details>
<summary>
One set of feature-rich APIs to access a wide range of resources from cloud providers above with consistent models and APIs
</summary>
</details>
<details>
<summary>
Multi-cloud image management system that automates image conversion between different cloud providers
</summary>
</details>
### Supported cloud providers
@@ -52,24 +217,15 @@ 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
* Alibaba Cloud Aspara
* Huawei HCSO
* Nutanix
* BingoCloud
* OceanBase
* On-premise resources:
* Lightweight private cloud built on KVM
* VMware vSphere vCenter/ESXi
* Proxmox VE
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
* NAS (Ceph)
@@ -77,7 +233,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
@@ -87,7 +243,10 @@ Supported AI workloads:
## Getting started
Please refer to the document [Getting Started](https://www.cloudpods.org/en/docs/getting-started/) to select the appropriate scenario for installation.
- [All in One Installation](https://www.cloudpods.org/zh/docs/quickstart/allinone/)Building a full-featured Cloudpods service on linux distributions such as CentOS 7 or Debian 10 allows for a quick experience of the **built-in private cloud** and **multi-cloud management** features.
- [Kubernetes Helm Installation](https://www.cloudpods.org/zh/docs/quickstart/k8s/)Deploying the Cloudpods CMP service on an existing Kubernetes cluster using Helm and experience the **multi-cloud management** feature.
- [Docker Compose Installation](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/)Deploying the Cloudpods CMP service using Docker Compose and quickly experience the **multi-cloud management** feature.
- [High availability installation](https://www.cloudpods.org/zh/docs/setup/ha-ce/)Deploying Cloudpods services in a highly available manner for production environments, including **built-in private cloud** and **multi-cloud management** features.
## Documentations
@@ -102,13 +261,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)
* [Subscription](https://www.yunion.cn/subscription/index.html)
* Bilibili: [Cloudpods](https://space.bilibili.com/3493131737631540/)
* WeChat: please scan the following QRCode to contact us
<img src="https://www.cloudpods.org/images/contact_me_qr_20230321.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 +286,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,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.5.2 /opt/yunion/playbook /opt/yunion/playbook
COPY --from=registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.2 /opt/yunion/ansible-install-pkg /opt/yunion/ansible-install-pkg
ADD ./_output/alpine-build/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -1,8 +1,8 @@
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
@@ -13,7 +13,6 @@ RUN set -x \
&& 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
@@ -22,10 +21,8 @@ RUN apk add --no-cache --virtual .build-dependencies \
# 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 paramiko mysqlclient pywinrm \
&& pip3 install 'ansible<=9.0.0' \
&& apk del --no-network .build-dependencies \
&& rm -rf /root/.cache /root/.cargo /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/apigateway /opt/yunion/bin/apigateway

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/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-20231219.0
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:v3.10.8-20231215.0 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,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:3.22.2-2
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20230731.5
ADD ./build/climc/root/opt /opt

View File

@@ -4,9 +4,9 @@ ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
LABEL maintainer="Zexi Li <lizexi@yunionyun.com>"
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ="Asia/Shanghai"
ENV TZ Asia/Shanghai
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,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
ADD ./_output/alpine-build/bin/dhcprelay /opt/yunion/bin/dhcprelay

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/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -0,0 +1,26 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.4.0 as file-repo
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
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf-0.x86_64.rpm /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf-0.aarch64.rpm /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf_1.19.2-yn~be742cbf-0_arm64.deb /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf_1.19.2-yn~be742cbf-0_amd64.deb /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf_windows_amd64.zip /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf-1.19.2-yn~be742cbf_windows_i386.zip /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

@@ -22,25 +22,44 @@
#
# The Alpine Linux image that should be used as the basis for the guacd image
ARG ALPINE_BASE_IMAGE=3.22.2
ARG ALPINE_BASE_IMAGE=latest
FROM alpine:${ALPINE_BASE_IMAGE} AS builder
# The target architecture of the build. Valid values are "ARM" and "X86". By
# default, this is detected automatically.
ARG BUILD_ARCHITECTURE
ARG TARGETPLATFORM
# The number of processes that may run simultaneously during the build. By
# default, this is detected automatically.
ARG BUILD_JOBS
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# The directory that will house the guacamole-server source during the build
# Install build dependencies
RUN apk add --no-cache \
autoconf \
automake \
build-base \
cairo-dev \
cmake \
cunit-dev \
git \
grep \
libjpeg-turbo-dev \
libpng-dev \
libtool \
libwebp-dev \
make \
openssl1.1-compat-dev \
pango-dev \
pulseaudio-dev \
util-linux-dev
# Copy source to container for sake of build
ARG BUILD_DIR=/tmp/guacamole-server
ARG GUAC_VER=1.5.3
RUN git clone --branch=${GUAC_VER} https://github.com/apache/guacamole-server.git /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.
#
# Base directory for installed build artifacts.
#
# NOTE: Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the second stage of the build.
#
ARG PREFIX_DIR=/opt/guacamole
#
@@ -48,12 +67,11 @@ ARG PREFIX_DIR=/opt/guacamole
# library (these can be overridden at build time if a specific version is
# needed)
#
ARG WITH_FREERDP="${FREERDP_VERSION}(\.\d+)+"
ARG WITH_FREERDP='2(\.\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
@@ -61,8 +79,6 @@ ARG WITH_GUACAMOLE_SERVER='\d+(\.\d+)+'
# options are needed)
#
ARG FREERDP_ARM_OPTS=""
ARG FREERDP_OPTS="\
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
@@ -73,25 +89,22 @@ ARG FREERDP_OPTS="\
-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_SSE2=ON \
-DWITH_WAYLAND=OFF \
-DWITH_X11=OFF \
-DWITH_X264=OFF \
@@ -103,47 +116,21 @@ ARG FREERDP_OPTS="\
-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=""
-DWITH_ZLIB=ON"
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=""
--disable-guaclog"
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 \
@@ -154,179 +141,45 @@ ARG LIBWEBSOCKETS_OPTS="\
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITH_STATIC=OFF"
ARG LIBWEBSOCKETS_X86_OPTS=""
# Build guacamole-server and its core protocol library dependencies
RUN echo "$TARGETPLATFORM"
RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; \
then FREERDP_OPTS="${FREERDP_OPTS} -DWITH_SSE2=ON" && echo "SSE2 active"; \
else FREERDP_OPTS="${FREERDP_OPTS} -DWITH_SSE2=OFF" && echo "SSE2 disabled"; \
fi && ${BUILD_DIR}/src/guacd-docker/bin/build-all.sh
#
# 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}/lib/freerdp2/*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}
FROM alpine:${ALPINE_BASE_IMAGE}
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
#
# Base directory for installed build artifacts. See also the
# CMD directive at the end of this build stage.
#
# NOTE: Due to limitations of the Docker image build process, this value is
# duplicated in an ARG in the first stage of the build.
#
ARG PREFIX_DIR=/opt/guacamole
RUN cat ${PREFIX_DIR}/DEPENDENCIES
# Runtime environment
ENV LC_ALL=C.UTF-8
ENV LD_LIBRARY_PATH=${PREFIX_DIR}/lib
ENV GUACD_LOG_LEVEL=info
# Copy build artifacts into this stage
COPY --from=builder ${PREFIX_DIR} ${PREFIX_DIR}
# Bring runtime environment up to date and install runtime dependencies
RUN apk add --no-cache \
ca-certificates \
font-noto-cjk \
ghostscript \
netcat-openbsd \
shadow \
@@ -336,10 +189,6 @@ RUN apk add --no-cache \
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
@@ -348,6 +197,8 @@ 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 mkdir -p /opt/cloudpods
RUN chown -R guacd:guacd /opt/cloudpods
# Run with user guacd
USER guacd
@@ -355,6 +206,9 @@ 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" ]
# Start guacd, listening on port 0.0.0.0:4822
#
# Note the path here MUST correspond to the value specified in the
# PREFIX_DIR build argument.
#
CMD /opt/guacamole/sbin/guacd -b 0.0.0.0 -L $GUACD_LOG_LEVEL -f

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.5.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.4.6
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 +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/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 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/lbagent-base:v0.0.4
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/lbagent /opt/yunion/bin/lbagent

View File

@@ -1,12 +1,12 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-5
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.12.4-2
LABEL maintainer="Jian QIU <qiujian@yunion.cn>"
MAINTAINER "Jian QIU <qiujian@yunion.cn>"
ENV TZ="UTC"
ENV TZ UTC
ENV GOPATH=/root/go
RUN sed -i 's!v3.20/!v3.22/!g' /etc/apk/repositories
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
RUN set -x \
&& apk update \

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:20230731.2
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,68 @@ 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.2
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:
$(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 = 20230731.2
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-20231219.1
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.5.2
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .
LBAGENT_BASE_VERSION = v0.0.5
HOST_IMAGE_VERSION ?= v1.0.2
HOST_IMAGE_NAME = $(REGISTRY)/host-image:$(HOST_IMAGE_VERSION)
host-image:
docker pull $(HOST_IMAGE_NAME)-amd64 --platform amd64
docker pull $(HOST_IMAGE_NAME)-arm64 --platform arm64
docker manifest create $(HOST_IMAGE_NAME) \
$(HOST_IMAGE_NAME)-amd64 \
$(HOST_IMAGE_NAME)-arm64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-amd64 --arch amd64
docker manifest annotate $(HOST_IMAGE_NAME) $(HOST_IMAGE_NAME)-arm64 --arch arm64
docker manifest push $(HOST_IMAGE_NAME)
LBAGENT_BASE_VERSION = v0.0.3
lbagent-base:
$(DOCKER_BUILDX)/lbagent-base:$(LBAGENT_BASE_VERSION) -f ./Dockerfile.lbagent-base .
GUACD_VERSION=1.6.0
GUACD_VERSION=1.5.3
guacd:
$(DOCKER_BUILDX)/guacd:$(GUACD_VERSION) -f ./Dockerfile.guacd .
docker buildx build --platform linux/arm64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-arm64 -f ./Dockerfile.guacd .
docker buildx build --platform linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-amd64 -f ./Dockerfile.guacd .
docker buildx imagetools create -t registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION) \
registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-amd64 \
registry.cn-beijing.aliyuncs.com/yunionio/guacd:$(GUACD_VERSION)-arm64

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

@@ -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}}
AlertCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}

View File

@@ -68,7 +68,6 @@
border-bottom: 1px solid #d7d7d7;
}
</style>
{{$match_tags_str := .match_tags_str}}
<body>
<h3 class="title">Alert</h3>
<table border="0" cellspacing="0" cellpadding="0" class="table">
@@ -88,19 +87,8 @@
</tr>
<tr>
<td class="td">Strategy details</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">Reason</td>
<td>{{.reason}}</td>
</tr>
{{end}}
</table>
<table class="table" style="padding-top: 6px; padding-bottom: 10px;">
<tr>
@@ -120,11 +108,7 @@
<td>Name</td>
<td>IP</td>
<td>Brand</td>
<td>Metric</td>
<td>Trigger value</td>
{{if gt (len $match_tags_str) 1}}
<td>Tags</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 +1 @@
{{monitorTitle .}}
{{.title}}

View File

@@ -1 +1 @@
{{monitorTitle .}}
{{.title}}

View File

@@ -1 +1 @@
{{monitorTitle .}}
{{.title}}

View File

@@ -1 +1 @@
{{monitorTitle .}}
{{.title}}

View File

@@ -1,18 +0,0 @@
[Unit]
Description=Yunion MPS Daemon
Documentation=https://docs.yunion.cn
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/mps-daemon
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

View File

@@ -1,2 +0,0 @@
DESCRIPTION="Yunion MPS Daemon Utility"
SERVICE="yes"

View File

@@ -1 +0,0 @@
备份导出文件{{ .pack_file_name }}创建成功

View File

@@ -1 +0,0 @@
Backup export file {{ .pack_file_name }} was created.

View File

@@ -1 +0,0 @@
备份导出文件{{ .pack_file_name }}创建成功

View File

@@ -1 +0,0 @@
Backup export file {{ .pack_file_name }} was created.

View File

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

View File

@@ -70,7 +70,7 @@ type BaseOptions struct {
OsRegionName string `default:"$OS_REGION_NAME" help:"Defaults to env[OS_REGION_NAME]"`
OsZoneName string `default:"$OS_ZONE_NAME" help:"Defaults to env[OS_ZONE_NAME]"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL|apigateway"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL"`
// ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|yaml|flatten-table|flatten-kv" help:"output format"`
@@ -335,6 +335,7 @@ func ClimcMain() {
}
if parser.IsHelpSet() {
fmt.Print(parser.HelpString())
return
}

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