Compare commits

...

2645 Commits

Author SHA1 Message Date
屈轩
bd01cc9c95 fix(glance): add notify for image create (#23554) 2025-10-16 14:30:54 +08:00
wanyaoqi
6f5feb6a7f fix(webconsole): baremteasl ipmi sol instance_name hide password (#23549) 2025-10-16 00:01:59 +08:00
屈轩
23a8fefbd0 fix(region): valid essd pl0 disk resize (#23548) 2025-10-15 17:25:23 +08:00
屈轩
e04fe21a5c fix(region): vendor update (#23542) 2025-10-15 10:58:02 +08:00
屈轩
272e32c0b9 fix(region): support change storage type (#23532) 2025-10-14 19:06:24 +08:00
屈轩
bed77085c2 fix(region): healt status (#23527) 2025-10-13 18:51:19 +08:00
屈轩
c9f3c9578d fix(keystone): distribute permissions when the organization changes (#23504) 2025-10-13 18:50:01 +08:00
屈轩
8deaead935 fix(region): private zone create status (#23523) 2025-10-13 18:05:39 +08:00
wanyaoqi
87e65dab12 fix(host): ensure host wire marshal nil value (#23506) 2025-10-12 11:04:22 +08:00
屈轩
671e24b01e fix(region): server sku create with region id (#23511) 2025-10-11 16:55:15 +08:00
wanyaoqi
3d8ea72139 fix(region,glance,host-deployer): guest image support bios boot mode detect (#23380) 2025-10-11 10:21:21 +08:00
Zexi Li
70f29b481c fix(baremetal): ensure the execution of the BaremetalServerDestroyTask (#23496) 2025-10-09 17:07:18 +08:00
Jian Qiu
35cb610755 fix: ignore e2fsck errors if retcode < 4 (#23488)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-09 16:31:26 +08:00
wanyaoqi
62f44a77ff fix(host): disk resize error input params (#23492) 2025-10-09 13:27:13 +08:00
Jian Qiu
2ba9f0b887 fix: network manager supports ipv4 static routes for 3.11 (#23485)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-08 13:17:43 +08:00
Jian Qiu
1e676fb2e8 fix: default cloud region init error (#23471)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 06:33:12 +08:00
Jian Qiu
cfc6d56361 fix: support network manager connection profiles (#23466)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-03 00:19:17 +08:00
屈轩
f50929bc60 fix(region): vendor update (#23465) 2025-09-30 19:09:48 +08:00
屈轩
2ebbfb4dd9 fix(cloudmon): metric sync (#23464) 2025-09-30 16:53:10 +08:00
屈轩
feb6a1981f fix(region): vendor update (#23461) 2025-09-30 15:13:34 +08:00
屈轩
ded669c7a2 fix(region): host order by virt cpu (#23456) 2025-09-30 13:19:11 +08:00
Jian Qiu
2241f34b9b fix: update vendor 20250930 3.11.12 (#23454)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-30 13:17:08 +08:00
Jian Qiu
59ad7f73e8 fix: hostman master nic may be nil (#23449)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-30 11:17:49 +08:00
Jian Qiu
2b08c946ff fix: s3 common options (#23442)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 18:15:44 +08:00
Jian Qiu
4f0ca33bf9 fix: disable password history unique check by default (#23437)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-29 15:48:14 +08:00
屈轩
340d246ee5 fix(region): vendor update (#23418) 2025-09-28 18:04:20 +08:00
wanyaoqi
ae0920476b fix(host-deployer): update host-deployer-base to 1.4.11 (#23411) 2025-09-28 17:25:40 +08:00
屈轩
2ffa2cf4ca fix(region): vendor update (#23407) 2025-09-28 14:59:10 +08:00
wanyaoqi
cc4fdf189a Automated cherry pick of #23374: fix(region,host): guest add vnc screen dump support (#23379)
* fix(host): update nic confs inside vm on qga delete nics

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

* fix(region,host): guest add vnc screen dump support

---------

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2025-09-27 12:03:35 +08:00
wanyaoqi
5ab6e57d73 fix(host-deployer): allow growpart on primary partition (#23386)
* fix(host): init cgroup ignore disable cgroup option

* fix(host-deployer): allow growpart on primary partition
2025-09-27 12:01:32 +08:00
屈轩
0ec0162857 fix(region): vendor update (#23400) 2025-09-26 18:05:35 +08:00
屈轩
f00099e29f fix(region): vendor update (#23385) 2025-09-26 13:53:52 +08:00
屈轩
0bbc92e46d fix(region): vendor update (#23369) 2025-09-24 17:22:57 +08:00
Jian Qiu
4c3186f4a1 Automated cherry pick of #23363: fix: network filter by ip error for dameng (#23366)
* fix: network filter by ip error for dameng

* fix: update vendor 20250923

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-23 23:23:00 +08:00
屈轩
6722c43868 fix(region): add expired release notify hour options (#23350) 2025-09-22 10:58:08 +08:00
Jian Qiu
e4391b9cce fix: linux sshd_config support (#23336)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-20 00:39:04 +08:00
Zexi Li
70887c8d58 fix(scheduler): watch serversku (#23327) 2025-09-19 23:49:56 +08:00
屈轩
66840c2c16 fix(region): rds backup sync (#23307) 2025-09-19 23:47:16 +08:00
wanyaoqi
34b417c60b fix(host,host-deployer): support lvm disk resize (#23333)
- add resize lvm disk support
- support qga online resize disk partitions and filesystems
2025-09-19 23:45:47 +08:00
Jian Qiu
b96abf5af6 fix: check os_arch when server rebuilding root (#23337)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-19 23:44:20 +08:00
屈轩
433747ff99 fix(notify): optimized workwx access token expired time (#23324) 2025-09-18 14:55:28 +08:00
Zexi Li
614b13cd13 fix(monitor): diffTagKeys are empty when only one series in results (#23310) 2025-09-18 07:49:04 +08:00
屈轩
d7f0a6f065 fix(region): remove debug sql (#23319) 2025-09-17 16:54:29 +08:00
屈轩
160b6e3faf fix(cloudmon): alert metric with tenant id (#23316) 2025-09-17 16:34:51 +08:00
wanyaoqi
7a82d04f70 feat(host): cgroupv2 support (#23304) 2025-09-16 23:20:18 +08:00
屈轩
104c927e74 fix(climc): sku create params (#23300) 2025-09-15 15:33:30 +08:00
屈轩
2d795063dd fix(region): support gcp shared vpc and image (#23297) 2025-09-12 23:03:39 +08:00
屈轩
e0ed7e80df fix(monitor): history alert report (#23279) 2025-09-12 15:27:12 +08:00
Zexi Li
c880ee5940 fix(monitor): fetch total alert resources from monitor_resource_alert (#23274) 2025-09-10 19:17:20 +08:00
屈轩
88f61e6be2 fix(region): update cloudprovider external id (#23273) 2025-09-10 18:59:58 +08:00
Jian Qiu
0777418c63 fix: image self check status (#23252)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-10 18:57:53 +08:00
屈轩
3ddd2603f8 fix(region): support hyperdisk for gcp (#23270) 2025-09-10 15:34:24 +08:00
Zexi Li
1a4a0fe647 fix(climc): monitor-alertrecords-total-alert command (#23265) 2025-09-10 14:17:41 +08:00
屈轩
0c090d08f2 fix(region): snapshot policy unbind disks (#23240) 2025-09-04 16:57:38 +08:00
屈轩
c37b15a3d0 fix(region): sync prepaid disk expired time (#23237) 2025-09-04 16:47:18 +08:00
屈轩
0eb0f9d99c fix(region): add disk change billing type log (#23233) 2025-09-03 20:16:44 +08:00
屈轩
620fd06d87 fix(region): add kafka and mongodb capability (#23230) 2025-09-03 19:44:40 +08:00
屈轩
944267af35 fix(region): support more scheme keypair (#23211) 2025-09-03 11:01:00 +08:00
Jian Qiu
f40095bd46 fix: fail to delete cas idp due to readonly domain (#23216)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:48:27 +08:00
Jian Qiu
4781f552e2 fix: network filter by ipv6 address (#23226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-09-03 05:46:31 +08:00
Zexi Li
8eb11e7865 feat(host): add SdnFetchDataFromComputeService option (#23205) 2025-09-01 23:15:22 +08:00
屈轩
523653e755 fix(region): avoid change to the same config sku not effective (#23204) 2025-09-01 11:50:23 +08:00
Jian Qiu
84dea5ace9 fix: too many recursive locks when batch create (#23197)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-29 23:07:50 +08:00
屈轩
07912a9f8c fix(region): add cloud_env filter for cachedimages (#23192) 2025-08-27 18:34:46 +08:00
Jian Qiu
bd72a48ecb fix: guest ipv6 vip (#23181)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-27 18:07:55 +08:00
Jian Qiu
4377da3aff fix: force NetworkManager unmanged physical netinterface (#23069)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-26 15:38:55 +08:00
屈轩
140fda72e6 fix(keystone): show ldap url (#23175) 2025-08-26 14:28:47 +08:00
屈轩
521bc94749 fix(keystone): upgrade ldap version (#23167) 2025-08-26 13:28:47 +08:00
Jian Qiu
78850c6d03 fix: deploy gai.conf if both v4 and v6 present (#23164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-25 18:20:09 +08:00
屈轩
32b85c1b28 fix(region): optimized cached image list (#23156) 2025-08-22 15:45:04 +08:00
wanyaoqi
ea65acf6ed fix(scheduler): add session usage timeout options (#23142) 2025-08-21 18:10:39 +08:00
屈轩
f09e9f081d fix(region): avoid update guest disable_delete attribute error when host id is empty (#23136) 2025-08-20 16:21:44 +08:00
Zexi Li
78eaa50af1 fix(baremetal): update the grub auto configuration to fix the aarch64 disk boot (#23127) 2025-08-20 15:11:14 +08:00
屈轩
d9e8c89711 fix(region): sync lb eip (#23126) 2025-08-20 14:14:07 +08:00
Zexi Li
3b34ac8dba feat(region): fix ISO size display (#23130)
SGuestcdrom.Size is Byte, not MB

Co-authored-by: happygame <happygame1024@gmail.com>
2025-08-20 12:08:43 +08:00
Zexi Li
b93d913948 fix(baremetal-agent): error occurred when removing logical volumes on the arm64 host (#23120) 2025-08-20 12:00:00 +08:00
屈轩
7d2bcd2828 fix(region): sync eip associate resource (#23113) 2025-08-19 14:54:55 +08:00
屈轩
76d798044e fix(region): add storage filter for snapshot (#23107) 2025-08-18 14:57:48 +08:00
wanyaoqi
382d51e18c fix(host): run ifdown script on guest delete (#23100) 2025-08-16 14:49:27 +08:00
Jian Qiu
a316053a4f fix: webconsole skip refererer check by default (#23093)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-16 14:46:16 +08:00
wanyaoqi
634058a832 fix(vpcagent): dhcp enable default gateway on default network (#23096) 2025-08-16 14:44:28 +08:00
屈轩
4c2ba4a9c9 fix(scheduledtask): force sync account (#23086) 2025-08-14 19:36:19 +08:00
屈轩
e244be79b1 fix(region): server snapshot policy (#23079) 2025-08-14 19:21:22 +08:00
屈轩
6615224f93 fix(region): dns record policy type (#23077) 2025-08-13 17:48:39 +08:00
wanyaoqi
555d77f9d0 fix(host): lvm guest reload disk before delete snapshot (#23048) 2025-08-11 10:32:50 +08:00
wanyaoqi
c15d5ba838 fix(baremetal): agent storagecache input params error (#23044) 2025-08-08 18:25:14 +08:00
Jian Qiu
5fce56f5e6 fix: filter guest by multiple ips with exact match (#23040)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-08 17:56:20 +08:00
屈轩
9a5b906d10 fix(region): disk update tag (#23026) 2025-08-06 15:52:17 +08:00
Jian Qiu
4d45708d11 fix: always update hostname for rhel-like os (#23019)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-08-06 01:07:38 +08:00
Jian Qiu
1f39911996 fix: inconsist checksum between image and its same format subimage (#22989)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-30 01:44:47 +08:00
wanyaoqi
d3154a0cde fix(host,glance): only target qcow2 set cluster size on image convert (#22976) 2025-07-30 00:42:30 +08:00
Jian Qiu
a5e4471e1f fix: glance converts all queued subimages, regardless of format (#22970)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-29 10:25:55 +08:00
wanyaoqi
c00c81f23b fix(host): set qemuimg convert cluster_size 64k on compat image (#22964) 2025-07-29 00:00:57 +08:00
Jian Qiu
061988edea fix: set default worker parameter (#22960)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-28 14:12:39 +08:00
wanyaoqi
7d453caff6 fix(region): iso boot do not check boot mode (#22948) 2025-07-26 02:26:40 +08:00
屈轩
c231b0bc66 fix(apigateway): 移除不必要查询,避免用户登录时间过长 (#22954) 2025-07-25 20:36:44 +08:00
wanyaoqi
d83fd7490a fix(host): host init no numa node (#22947) 2025-07-25 00:33:16 +08:00
屈轩
1d7b27e5e3 fix(region): add guest billing type for disk (#22937) 2025-07-23 18:53:56 +08:00
屈轩
1f083d2490 fix(region): host order (#22928) 2025-07-22 15:20:06 +08:00
屈轩
e7227612ea fix(region): vendor update (#22921) 2025-07-21 17:33:40 +08:00
Jian Qiu
e304c99316 fix: updte vendor 3.11.11 20250718 (#22915)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-18 13:26:50 +08:00
Zexi Li
6c4c73c79e fix(scheduler): netinterface cache is not informed (#22898) 2025-07-15 19:58:11 +08:00
wanyaoqi
ba9457df30 fix(host): check storage id is correct on src migrate prepare (#22891)
correct disk storage id on dest migrate prepare
2025-07-15 16:12:00 +08:00
屈轩
5027e6bbde fix(region): add sort for host (#22878) 2025-07-11 19:09:04 +08:00
wanyaoqi
13060902a0 fix(region): do not set guest to resuce status on guest running (#22864) 2025-07-10 22:10:07 +08:00
屈轩
6c726c7211 fix(region): 修复本地到期释放功能和资源同步冲突 (#22862) 2025-07-10 19:38:09 +08:00
wanyaoqi
1b6f13738a fix(host): add check mem dev is null on guest setup (#22846) 2025-07-09 14:15:40 +08:00
屈轩
4455aa2f6d fix(region): 避免删除虚拟机时,未能正常删除后挂载的磁盘 (#22844) 2025-07-07 14:46:23 +08:00
屈轩
345de4a5c3 fix(region): create disk with tags (#22835) 2025-07-04 17:08:12 +08:00
屈轩
944953957e fix(region): vendor update (#22831) 2025-07-03 15:17:01 +08:00
屈轩
8775daf05f fix(region): vendor update for sync mongodb ip addr (#22819) 2025-07-03 05:32:46 +08:00
wanyaoqi
7e7e6c1b45 fix(region): host calculate set mem_cmt_bound 1 on host enable hugepage (#22812) 2025-07-03 05:29:49 +08:00
wanyaoqi
8ac7f8242a fix(host): qemuimg convert add cluster_size (#22791) 2025-07-03 05:27:13 +08:00
屈轩
a1a5f23fc9 fix(region): vendor update (#22808) 2025-07-02 21:01:23 +08:00
屈轩
c5871a0d2f fix(notify): support dingtalk robot sign (#22768) 2025-06-23 16:59:44 +08:00
屈轩
7bae678b01 fix(cloudmon): cloudpods collect metric interval (#22765) 2025-06-23 16:17:28 +08:00
屈轩
4444a0f69c fix(region): sync remove backend group (#22760) 2025-06-20 19:38:33 +08:00
屈轩
4360870e5f fix(region): support skip sync server by tag value (#22755) 2025-06-20 19:26:52 +08:00
屈轩
5f56de3c5d fix(region): vendor update (#22751) 2025-06-20 18:12:48 +08:00
Jian Qiu
ace1efdb51 fix: use goid to identify differnt goroutine (#22741)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-06-19 14:50:31 +08:00
Zexi Li
831a3044df Automated cherry pick of #22729: Monitor worker alert (#22736)
* fix(monitor): GetMetricMeasurement 接口只查询过去30m的数据

避免数据过多导致 victoria-metrics 报错

* fix(monitor): wildchar of alert group by field
2025-06-18 15:27:35 +08:00
屈轩
e93e9a0a8a fix(region): lb listener rule associate backend group (#22735) 2025-06-18 14:15:05 +08:00
Zexi Li
1aa70f504a fix: panic when there is no secondary IP on the host. (#22728)
Co-authored-by: glzjin <glzjin2015@gmail.com>
2025-06-17 11:15:22 +08:00
wanyaoqi
2325bc601c fix(region,host): add auto merge snapshots options, preallocation options (#22712) 2025-06-13 15:19:40 +08:00
屈轩
4f68617ea6 fix(region): vendor update (#22699) 2025-06-06 19:22:39 +08:00
屈轩
6d8ebbb369 fix(region): enable cloud dns record (#22696) 2025-06-06 18:32:06 +08:00
wanyaoqi
d9d93eb921 fix(host): pass decoded userdata to host-deployer (#22680) 2025-06-05 23:50:37 +08:00
屈轩
74b79a6231 fix(region): vendor update (#22679) 2025-06-05 19:28:06 +08:00
Zexi Li
1e5d035fd9 fix(scheduler): wrong sort order of instance group selection (#22665) 2025-06-04 14:27:07 +08:00
Jian Qiu
93f5a49260 fix: update vendor to fix keystone user join project not found (#22646)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-05-31 18:47:42 +08:00
wanyaoqi
a8d7758c83 feat(host-deployer): deploy vlan subinterface on baremetal hypervisor (#22630)
- host-deployer add deploy vlan subinterface on baremetal hypervisor
- fix baremetal-agent cache image parse input data
2025-05-30 10:32:10 +08:00
wanyaoqi
cf71a29b67 feat(region,host): qga deploy network config on attach nics (#22547) 2025-05-30 10:29:38 +08:00
屈轩
a9eb3872e4 fix(region): vendor update (#22625) 2025-05-29 11:23:14 +08:00
屈轩
8e7b136c4b fix(region): secgroup rule filter (#22620) 2025-05-28 18:38:48 +08:00
wanyaoqi
13197c19a4 fix(host): qemu extra params format (#22608) 2025-05-27 13:34:04 +08:00
屈轩
66b052741b fix(region): update qcloud storage type (#22614) 2025-05-27 12:44:07 +08:00
wanyaoqi
b020507894 fix(host): check min_free_kbytes size is enough (#22593) 2025-05-24 01:11:24 +08:00
屈轩
050932287f fix(cloudmon): add vm_ip metric for vm (#22587) 2025-05-22 10:54:03 +08:00
屈轩
eff18d4808 fix(cloudmon): vm metrics with ips (#22584) 2025-05-22 10:41:23 +08:00
屈轩
0bfc818173 fix(region): add filter for secgroup rule (#22579) 2025-05-21 19:27:11 +08:00
屈轩
acc6f28e27 fix(region): add account info for sec rules (#22576) 2025-05-21 18:40:14 +08:00
屈轩
8f786c2337 fix(region): allow create public server sku (#22570) 2025-05-21 14:43:21 +08:00
屈轩
15db145c2d fix(region): init aliyun storage medium type (#22565) 2025-05-20 21:48:39 +08:00
wanyaoqi
2f6ebb265a fix error when create vm with ceph disk (#22562)
Co-authored-by: liangkaijun <liangkaijun52013@gmail.com>
2025-05-20 21:27:22 +08:00
屈轩
cd5fb77c59 fix(region): user sync with ctx (#22556) 2025-05-19 18:09:31 +08:00
wanyaoqi
ad21f56e1f fix: vendor update 2505013 (#22519) 2025-05-19 01:50:07 +08:00
屈轩
4795331a8b fix(region): vendor update (#22545) 2025-05-16 11:19:55 +08:00
屈轩
cd44f8e218 fix(region): guest disk iops (#22541) 2025-05-15 15:46:08 +08:00
屈轩
2a3d2cb725 fix(region): change disk billing type (#22534) 2025-05-15 13:22:07 +08:00
屈轩
aa447b1d3f fix(region): show correct disk iops (#22537) 2025-05-15 12:48:34 +08:00
屈轩
78903516ed fix(common): avoid empty context (#22510) 2025-05-12 16:21:22 +08:00
屈轩
6bfc2da7e7 fix(notify): support notify with robotids (#22504) 2025-05-09 21:23:11 +08:00
屈轩
4930e191dc fix(region): vendor update (#22499) 2025-05-09 14:56:13 +08:00
屈轩
ae7d4f7d22 fix(common): obj id cache (#22496) 2025-05-09 14:50:37 +08:00
屈轩
927e74d42c fix(region): vendor update (#22490) 2025-05-08 18:36:28 +08:00
屈轩
3bd3e1204f fix(common): policy tag filter cache (#22486) 2025-05-08 15:57:15 +08:00
屈轩
f54bfdc5d6 fix(notify): add task_run const (#22483) 2025-05-07 20:15:28 +08:00
屈轩
10cb69326a fix(region): vendor update (#22468) 2025-04-27 16:13:15 +08:00
屈轩
e7d453409b fix(region): optimized policy query (#22457) 2025-04-27 11:56:32 +08:00
屈轩
958c8deb86 fix(region): vendor update (#22454) 2025-04-23 14:12:19 +08:00
Jian Qiu
eca32b85a2 fix: optimize filterByOwner query speed (#22445)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:16:54 +08:00
Jian Qiu
de40f28b18 fix: start sync status (#22443)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:16:39 +08:00
wanyaoqi
909c01b734 fix(host): lvm disk create from esxi (#22425) 2025-04-20 18:05:50 +08:00
Jian Qiu
9cfe1c2509 fix: webconsole referer whitelist (#22421)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-20 18:04:01 +08:00
Zexi Li
c2195b97ac fix(monitor): remove host type query filter (#22439) 2025-04-18 12:15:33 +08:00
wanyaoqi
8c817acf2a fix(monitor): telegraf config add host_ip tag (#22405) 2025-04-17 22:35:31 +08:00
Zexi Li
0dfed10e90 fix(monitor): getTagValues no data (#22434) 2025-04-17 11:09:26 +08:00
Zexi Li
280eb700a6 fix(scheduler): unused prometheus pkg (#22430) 2025-04-16 10:40:25 +08:00
Zexi Li
a9d8445603 fix(scheduler): disable prometheus metrics handler (#22428) 2025-04-16 10:35:03 +08:00
屈轩
ce77468604 fix(region): vendor update (#22424) 2025-04-15 19:39:14 +08:00
Jian Qiu
fa321a7a1d fix(host-health): check etcd client is reconnecting (#22420)
Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2025-04-15 18:25:18 +08:00
Zexi Li
7b689a7de6 fix(monitor): support victoria metrics bottom query (#22417) 2025-04-15 15:17:03 +08:00
屈轩
3df60efa85 fix(climc): keystone pprof profile (#22407) 2025-04-14 15:28:32 +08:00
屈轩
acabecbb61 fix(keystone): password history check default 1 (#22411) 2025-04-14 15:27:44 +08:00
wanyaoqi
f0966a0296 fix(host): ignore errors on reconfigure vfio nic bandwidth (#22370) 2025-04-13 09:57:14 +08:00
屈轩
b02ef75216 fix(region): add custom total count (#22398)
Co-authored-by: fourhu <fourhu@foxmail.com>
2025-04-10 16:07:17 +08:00
屈轩
2a0ac9d196 fix(webconsole): require rdp input password (#22397) 2025-04-10 11:23:16 +08:00
屈轩
1fa3e39b4b fix(ansibleserver): show pretty error for ansible playbook (#22395) 2025-04-10 10:52:37 +08:00
屈轩
ae9647a060 fix(region): export metadata (#22393) 2025-04-09 18:44:44 +08:00
屈轩
3964086aae fix: update file repo docker script (#22389) 2025-04-09 17:27:14 +08:00
屈轩
3e564eefac fix(region): update gpu used usage (#22391) 2025-04-09 17:26:26 +08:00
屈轩
3cbecfb8ce fix(ansbileserver): update docker file (#22382) 2025-04-09 10:54:32 +08:00
屈轩
1cdcf58d2a fix(host-deployer): add tencentos support (#22383) 2025-04-09 09:48:49 +08:00
屈轩
6df5b9168b fix(region): add gpu unused usage (#22373) 2025-04-08 11:40:57 +08:00
Zexi Li
f28519bbbf fix(monitor): check measurement field (#22376) 2025-04-07 18:40:56 +08:00
Jian Qiu
1021d39c15 fix: hide image location (#22364)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-04 08:17:41 +08:00
Jian Qiu
54c4e78470 fix: set db connection keepalive options (#22357)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-04-03 19:52:29 +08:00
wanyaoqi
4edc483209 fix(region): guestdisk list add auto reset column (#22346) 2025-03-26 15:07:13 +08:00
wanyaoqi
2ff5f9331f fix(monitor): vm_net add bytes and packages measurements (#22342) 2025-03-26 15:06:13 +08:00
Jian Qiu
bcfb906879 fix: update vendor 20250325 (#22338)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-25 23:53:41 +08:00
Zexi Li
883a6c38e7 fix(scheduler,monitor): tls 3des (#22337) 2025-03-25 21:15:38 +08:00
Zexi Li
8cc49b3bee fix(monitor): wrong index of details (#22332) 2025-03-25 15:31:22 +08:00
Zexi Li
100575e6a8 fix(monitor): wrong TriggerTime (#22329) 2025-03-25 11:42:41 +08:00
Zexi Li
0c4b3784e0 optmized(monitor): query alertrecord by res_id (#22319) 2025-03-25 10:03:31 +08:00
屈轩
37dca8c6fc fix(region): vendor update (#22326) 2025-03-24 19:49:38 +08:00
Jian Qiu
aeb3b620ed fix: fail to delete sub images of composed guest image (#22281)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-19 22:26:55 +08:00
屈轩
33f7ca1681 fix(region): add post delete hook (#22302) 2025-03-19 10:13:48 +08:00
Zexi Li
9874b4af3f optimized(keystone): local sql auth by password (#22305) 2025-03-19 10:10:55 +08:00
屈轩
ea36eb2e82 fix(monitor): optimized alert list (#22298) 2025-03-18 19:52:35 +08:00
屈轩
2a4231658f fix(region): vendor update (#22293) 2025-03-18 16:16:15 +08:00
wanyaoqi
8e4d673139 fix(host): virtio nic add fdb record on has sriov nic (#22283) 2025-03-18 15:09:59 +08:00
Zexi Li
d34db8ebf5 fix(webconsole): disable 3des cipher suites (#22294) 2025-03-18 13:12:17 +08:00
Zexi Li
357b5c1f43 feat(monitor): support listing monitor_resource by alert_state (#22287) 2025-03-18 11:52:25 +08:00
wanyaoqi
2b60f5a217 fix(host): hotplug mem adaptation for guests no memdev (#22256) 2025-03-16 00:04:30 +08:00
屈轩
bd2ccad027 fix(region): vendor update (#22279) 2025-03-16 00:03:52 +08:00
屈轩
e5d1bbd245 fix(region): vendor update (#22274) 2025-03-14 09:59:21 +08:00
屈轩
a27a67f82a fix(climc): service config bool value (#22270) 2025-03-13 14:00:27 +08:00
屈轩
0edb97930e fix(region): show dump info when worker stuck (#22251) 2025-03-12 16:53:00 +08:00
Zexi Li
29438227a7 Merge pull request #22261 from zexi/automated-cherry-pick-of-#22259-upstream-release-3.11
Automated cherry pick of #22259: fix(webconsole,monitor): pprof handlers of gorilla mux
2025-03-11 12:27:43 +08:00
Zexi Li
6efd55eff3 fix(webconsole,monitor): pprof handlers of gorilla mux 2025-03-11 11:57:18 +08:00
wanyaoqi
47ad526e75 feat(glance,region,host): auto cache glance images to ceph storages (#22246) 2025-03-08 11:03:37 +08:00
Jian Qiu
bb31b2abfc fix: auto truncate sql string (#22243)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-08 10:46:33 +08:00
wanyaoqi
698aad1eb1 fix(host): change storage clone disk add encrypt info (#22229) 2025-03-08 08:59:23 +08:00
wanyaoqi
9408f234fa fix(host-deployer): set xfs default ftype 1 (#22233) 2025-03-06 11:16:19 +08:00
Zexi Li
1f215d316c fix(host): not purge isolated device when detaching it (#22224) 2025-03-05 19:33:24 +08:00
Jian Qiu
c25e1b5981 fix: glance always init s3 client (#22129)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 20:15:29 +08:00
Jian Qiu
58b90f1d9c fix: add summary-stats options (#22219)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 10:10:34 +08:00
Jian Qiu
4756215435 fix: disk copy to storage inherit classmeta (#22215)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-03-03 10:03:48 +08:00
wanyaoqi
1b37a6ab95 Fix/deploy guest add cpu vendor (#22206)
* fix(host-deployer): deploy guest add cpu vendor

* fix(host): host generate passwd use strong ruler
2025-02-28 14:12:28 +08:00
wanyaoqi
137d6a674c fix(host): shared lvm activte with auto activation option (#22189) 2025-02-27 16:05:05 +08:00
wanyaoqi
48453911ca feat(region,host): add guest disk auto reset on shutdown support (#22195) 2025-02-27 16:02:44 +08:00
屈轩
77efa95856 fix(esxi-agent): vendor update (#22203) 2025-02-27 14:49:24 +08:00
屈轩
b081dc43de fix(region): fast sync image (#22185) 2025-02-26 15:18:23 +08:00
屈轩
e03fc31ba2 fix(region): fix typo (#22182) 2025-02-25 17:11:51 +08:00
屈轩
3e43510b5c fix(region): allow create disk when vm running (#22171) 2025-02-25 12:02:12 +08:00
Zexi Li
4a4f529600 fix(monitor,webconsole): enable app profiling (#22176) 2025-02-24 19:51:31 +08:00
Jian Qiu
4a2e1cc26d fix: remove default values from cmtbound columns (#22157)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-24 17:32:06 +08:00
Jian Qiu
68aef7f31c fix: disable server TLS 1.0, 1.x and 1.2 SHA1 (#22168)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-24 17:30:09 +08:00
屈轩
f32665adf2 fix(region): 允许不同账号dns zone重名 (#22163) 2025-02-24 11:11:19 +08:00
wanyaoqi
12f27298b7 fix(region): lvm disk path add dev prefix (#22150) 2025-02-21 10:23:34 +08:00
wanyaoqi
1f2d2863b4 fix(region): lvm disk path add dev prefix (#22105) 2025-02-21 10:23:15 +08:00
wanyaoqi
4420290011 fix(host): check has vga use desc dev_type instead of host dev object (#22149) 2025-02-21 10:22:19 +08:00
wanyaoqi
f4bcf38f72 fix(host): add check default mem dev exist on hotplug (#22140) 2025-02-21 10:21:06 +08:00
Zexi Li
6e0f595d8a fix(climc): show ip column of action-show command (#22155) 2025-02-21 10:16:45 +08:00
Zexi Li
3bc77548b6 fix(monitor): always skip_check_series for metric-measurement api (#22145) 2025-02-19 19:57:30 +08:00
Zexi Li
d759f836ce fix(scheduler): 尽早发现子网ip不足引起的调度失败 (#22131) 2025-02-19 17:02:38 +08:00
屈轩
29a0d421fc fix(climc): support create vm with tags (#22127) 2025-02-19 16:50:10 +08:00
Zexi Li
60b8ea0021 fix(monitor): split tags and cloud_tags (#22122) 2025-02-18 18:29:37 +08:00
屈轩
368ebf5129 fix(region): avoid panic (#22118) 2025-02-18 15:52:54 +08:00
wanyaoqi
d1ad8f7998 Automated cherry pick of #22085: fix(host): update host-base to v0.7.0 (#22108)
* fix(host): update host-base to v0.7.0

* fix(cronjob): init timezone, timer set location
2025-02-15 00:02:43 +08:00
屈轩
f7f42b0d56 fix(region): support change vm billing type (#22103) 2025-02-14 11:33:44 +08:00
屈轩
c1934735f1 fix(region): skip sync server status time range (#22100) 2025-02-13 15:18:14 +08:00
Zexi Li
3eab8e495f fix(lbagent): telegraf configuration panic (#22095) 2025-02-13 12:29:44 +08:00
屈轩
3820efa0b4 fix(region): 跳过esxi存储找不到的关联宿主机 (#22083) 2025-02-12 12:04:48 +08:00
Zexi Li
b176297a30 fix(monitor): not split resource when notifying (#22078) 2025-02-10 19:50:06 +08:00
wanyaoqi
4dcf4283a5 fix(host,host-image): use nbd export images (#22073) 2025-02-10 14:16:18 +08:00
屈轩
135fa82ee1 fix(webconsole): avoid high cpu load (#22069) 2025-02-06 15:47:18 +08:00
屈轩
518bd57bcb fix(region): avoid panic (#22067) 2025-02-06 14:42:59 +08:00
屈轩
e5c8ca496b fix(region): aliyun disk resize (#22062) 2025-02-05 21:04:51 +08:00
Jian Qiu
eacf7444c0 fix: separate backup worker (#22063)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 20:20:37 +08:00
wanyaoqi
e06fbef9f0 fix(host): check image desc is empty (#22058)
image.inf record chksum or image id not matched will cause image desc empty
2025-02-05 18:54:09 +08:00
屈轩
7848a2eacc fix(region): resize cloud_auto disk (#22060) 2025-02-05 18:03:50 +08:00
屈轩
95b4c9dab0 fix(region): avoid panic (#22055) 2025-02-05 17:57:05 +08:00
Jian Qiu
e9ae6171b5 fix: task fetch duplicated id error (#22052)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 15:03:27 +08:00
Jian Qiu
2677a402fc fix: image cache use specific workers (#22047)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-05 11:33:41 +08:00
Zexi Li
8ca9fd5640 optimized(scheduler): reduce scheduling time (#22031) 2025-02-05 10:25:27 +08:00
屈轩
2143052cac fix(region): avoid panic (#22049) 2025-02-05 09:56:06 +08:00
wanyaoqi
5b3bb19a84 fix(region): hosts_tbl sys_info use longtext (#22042) 2025-01-29 23:59:36 +08:00
wanyaoqi
a3265c0370 fix(host): support sata ahci controller (#22040) 2025-01-29 23:58:43 +08:00
Jian Qiu
65199c6487 fix: notify empty receipients (#22043)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-29 21:13:12 +08:00
wanyaoqi
83477a7150 fix(glance): donot umount s3fs on glance exit (#22038) 2025-01-28 18:51:44 +08:00
wanyaoqi
7a19870f54 fix(region,host): slvm snapshot delete and instance snapshot purge (#22021) 2025-01-26 19:37:57 +08:00
Zexi Li
63e6043e0a customized(monitor): check whether the measurement field exists in victoriametrics (#22029) 2025-01-26 12:24:06 +08:00
wanyaoqi
23d9cc2a55 feat(region,host): hostpinger add cpu usage percent report (#22007) 2025-01-25 15:54:57 +08:00
Jian Qiu
016f93ec2c fix: support server change ipv6 address (#22014)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-25 15:39:52 +08:00
Zexi Li
266732b9b0 fix(glance): query vmware account brand (#22018) 2025-01-24 11:51:50 +08:00
屈轩
06c901897b fix(climc): apigateway endpoint type (#22013) 2025-01-23 14:39:12 +08:00
Jian Qiu
569fa010b7 fix: is_classic is missing from network details (#21995)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-21 16:25:25 +08:00
屈轩
0a432e16c4 fix(apigateway): set scope policy binding project id query (#21999) 2025-01-20 17:50:45 +08:00
Jian Qiu
4f3e35f110 fix: add summary statistics switch (#21992)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-18 20:14:52 +08:00
Zexi Li
a5c5b7ac39 fix(host): skip detect device that is not GPU class (#21984) 2025-01-18 06:14:26 +08:00
屈轩
7dd7c005f6 fix(region): export excel float (#21981) 2025-01-16 11:54:51 +08:00
wanyaoqi
e94f62d511 fix(region): snapshot policy with multi disk on same guest (#21949)
fix(region): delete overdued snapshots on cleanup snapshot task only
2025-01-16 10:42:56 +08:00
Zexi Li
e30f782bb1 fix(host): wrap qemu machine info error (#21972) 2025-01-14 20:49:58 +08:00
Jian Qiu
fae0a0dd7e fix: image update input struct param (#21963)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-14 02:17:55 +08:00
屈轩
daaf2305e7 fix(region): tags export (#21960) 2025-01-13 16:49:50 +08:00
wanyaoqi
9734c5187c fix(region): host list add hide cpu topo info option (#21946) 2025-01-13 13:54:40 +08:00
屈轩
3d1befff66 fix(region): vendor update (#21941) 2025-01-08 18:47:33 +08:00
屈轩
5c77ddcf00 fix(region): loadbalancer listener create input (#21938) 2025-01-08 18:31:32 +08:00
wanyaoqi
12f5f83fce fix(region): record snapshot last attched host on delete disk (#21925) 2025-01-07 20:43:00 +08:00
屈轩
a9816b929f fix(region): fetch lb backend owner (#21931) 2025-01-07 09:40:13 +08:00
Jian Qiu
b25f1f356b fix: backup storage support sign version (#21914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-01-01 10:11:12 +08:00
wanyaoqi
4e0df86bf1 Fix/host load servers (#21894)
* fix(host): load disks init scsi bus

* fix(region,host): delete instance snapshot progress incorrect
2024-12-30 10:31:34 +08:00
Jian Qiu
525e93445e fix: add more filters to isolated_device (#21907)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-30 10:29:53 +08:00
wanyaoqi
843e6b8e29 Automated cherry pick of #21804: [WIP] fix: add more action log (#21875)
* fix: add more action log

* fix(region): add set cmt bound action
2024-12-29 23:08:36 +08:00
屈轩
4c18310404 fix(region): skip record conflict error (#21899) 2024-12-26 09:46:50 +08:00
屈轩
b6b5523822 fix(region): qcloud rds cpu option (#21892) 2024-12-25 10:54:48 +08:00
wanyaoqi
5e3a7f82cd fix(host): delete snapshot from storagehandler misc fix (#21883) 2024-12-23 20:43:32 +08:00
Zexi Li
8818e68e75 fix(monitor): unknown column returned when group by name tag (#21870) 2024-12-20 18:00:42 +08:00
Zexi Li
cee4111854 fix(baremetal): panic when save desc (#21864) 2024-12-20 16:18:31 +08:00
屈轩
dc8207ba41 fix(cloudmon): skip pull k8s service info (#21863) 2024-12-20 15:49:33 +08:00
屈轩
375d73dd1f fix(devtool): remove duplicate init db (#21857) 2024-12-20 15:34:47 +08:00
屈轩
f9f24ac560 fix(climc): avoid showing help twice (#21860) 2024-12-20 15:34:02 +08:00
wanyaoqi
26999afa35 fix(region): disk show io throttles (#21832) 2024-12-20 11:41:22 +08:00
wanyaoqi
2419a6f8db fix(host): optimize storage register failed wiht dup name (#21835) 2024-12-20 11:40:14 +08:00
屈轩
8915c4408d fix(region): expand rds maintain time field length (#21840) 2024-12-20 11:14:58 +08:00
wanyaoqi
f22d54b94a fix(climc): host-show hide long content sys_info nic_info metadata (#21851) 2024-12-20 11:11:48 +08:00
屈轩
8813a99a7a fix(region): host order by commit (#21854) 2024-12-20 09:57:35 +08:00
屈轩
5c46e663a3 fix(cloudmon): optimize service metric collect (#21847) 2024-12-19 18:48:31 +08:00
Zexi Li
74f4acedb7 fix(host): make telegraf configuration log to debug (#21842) 2024-12-19 15:56:14 +08:00
屈轩
c87eb001c9 fix(region): host custom total count (#21830) 2024-12-19 11:33:58 +08:00
Jian Qiu
a7a0d57830 fix: enfore mfa (#21802)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-12-17 19:39:51 +08:00
屈轩
194f9412b1 fix(apigateway): totp_issuer (#21825) 2024-12-17 19:37:10 +08:00
屈轩
1b62580dce fix(scheduledtask): add handler for scheduledtask (#21821) 2024-12-17 19:26:10 +08:00
Zexi Li
32bb02f443 fix(host): fix the rtl8139 NIC information is missing (#21818)
Co-authored-by: 云原生驿站 <33771248+CloudCourierStation@users.noreply.github.com>
2024-12-17 10:36:54 +08:00
屈轩
9d666573c0 fix(region): vendor update (#21810) 2024-12-16 16:42:00 +08:00
Zexi Li
ba2b03b2dc fix(baremetal-agent): adjust redfish http client timeout to 60s (#21790) 2024-12-13 10:39:18 +08:00
屈轩
bc63b300cd fix(region): skip cloudpods vm kernel check (#21796) 2024-12-12 19:23:38 +08:00
Zexi Li
3a5a8ba6ca feat(webconsole): keep_websocket_session option (#21783) 2024-12-11 14:26:37 +08:00
屈轩
64652c4656 fix(keystone): avoid remove project metadata when join organization node (#21763) 2024-12-07 20:58:45 +08:00
Zexi Li
93c06cf715 feat(monitor): add min and max aggregator (#21765) 2024-12-07 20:58:31 +08:00
屈轩
9478982cf0 fix(region): keep cloudpods vm empty password (#21760) 2024-12-06 18:10:08 +08:00
屈轩
5bcbecf5bb fix(region): managed vm migrate info (#21756) 2024-12-05 19:33:21 +08:00
屈轩
5191a3b7f2 fix(region): sync managed vm status (#21752) 2024-12-05 16:39:04 +08:00
屈轩
b2766640ef fix(region): managed vm migrate (#21749) 2024-12-05 16:18:16 +08:00
屈轩
667e3a4f7c fix(region): cloudpods vm migrate (#21746) 2024-12-05 14:39:18 +08:00
屈轩
b373e74560 fix(region): vendor update (#21742) 2024-12-05 12:33:36 +08:00
屈轩
6bcee5cbed fix(cloudmon): sync cloudproviders (#21733) 2024-12-04 09:42:41 +08:00
屈轩
d5469ae918 fix(apigateway): add service settings info (#21721) 2024-12-04 09:41:25 +08:00
Zexi Li
2280def838 fix(monitor): clone alert dashboard (#21727) 2024-12-03 10:06:04 +08:00
wanyaoqi
2857dcaef2 fix(host,host-deployer): start deployer guest with all of disk (#21710) 2024-12-02 14:58:52 +08:00
wanyaoqi
d463a945f7 fix(scheduler,region): fill resource info check guest is in pending usage (#21675) 2024-11-27 10:58:04 +08:00
Zexi Li
db83d01929 Automated cherry pick of #21692: fix: complete monitor metrics (#21695)
* fix: complete monitor metrics

* fix(monitor): remove container related metrics

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-26 14:45:29 +08:00
wanyaoqi
c8510d007e fix(host): generate ceph conf dup monHosts (#21687) 2024-11-26 14:07:24 +08:00
Zexi Li
c4324e25e6 fix(monitor): set default query select and group by for alerting and panel (#21672) 2024-11-22 19:20:31 +08:00
Zexi Li
da7e2a010a feat(monitor): list alertrecords by res_id (#21667) 2024-11-22 16:54:37 +08:00
Zexi Li
b4852c75cd fix(monitor): raw_name of influxdb query (#21661) 2024-11-22 15:52:59 +08:00
屈轩
35c0dde143 fix(region): avoid panic (#21658) 2024-11-22 14:53:06 +08:00
wanyaoqi
175a354c4f fix(host): import from libvirt parse live xml (#21648) 2024-11-22 14:51:49 +08:00
屈轩
69780561f9 fix(cloudid): vendor update for azure iam (#21643) 2024-11-20 20:15:47 +08:00
屈轩
38e82e262a fix(region): vendor update for azure vm create (#21638) 2024-11-20 15:12:29 +08:00
Zexi Li
12fe3fa05c feat(monitor): support sorting reduced result (#21635) 2024-11-20 11:17:07 +08:00
Zexi Li
e96810ef0c fix(monitor): set default aggregator and group by for alert model (#21629) 2024-11-19 14:56:26 +08:00
Zexi Li
36a616d575 fix(monitor): inject ResType (#21625) 2024-11-19 14:00:15 +08:00
Zexi Li
ce913c10e0 Automated cherry pick of #21619: support telegraf linux_sysctl_fs (#21621)
* support telegraf-sysctl

* feat(monitor): add linux_sysctl_fs measurement
2024-11-18 20:04:26 +08:00
屈轩
cb8ab4b052 fix(region): add lb backend group count and listener count for lb details (#21609) 2024-11-17 22:47:16 +08:00
Zexi Li
ef7762d758 fix(region): not sync status when attaching and detaching disk (#21605) 2024-11-14 21:28:25 +08:00
屈轩
2883aeb870 fix(region): shareable virtual resource query (#21598) 2024-11-14 20:35:17 +08:00
屈轩
e102d90486 fix(region): remove dstack (#21601) 2024-11-14 20:32:23 +08:00
Zexi Li
0718d2abe6 fix(monitor): raw_name of group_by (#21594) 2024-11-14 18:01:03 +08:00
屈轩
d53802e0bc fix(region): allow disable default policy (#21587) 2024-11-14 14:42:40 +08:00
屈轩
e546326539 fix(region): add actual capacity used usage (#21574) 2024-11-12 11:35:06 +08:00
Zexi Li
6c60044bcb fix(monitor): alert notification details (#21578) 2024-11-12 11:28:16 +08:00
屈轩
5ac7edf489 fix(region): filter unused snapshot (#21563) 2024-11-12 11:16:18 +08:00
Zexi Li
583d5be908 fix(monitor): add metric content for email template (#21569) 2024-11-11 16:09:45 +08:00
Jian Qiu
8f356b65a2 fix: disable default dns domain cloud.onecloud.io (#21560)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-08 10:09:21 +08:00
屈轩
0b79844c12 fix(region): vendor update for gcp disk name length (#21556) 2024-11-07 15:00:04 +08:00
Jian Qiu
4c0fa9a6fe fix: telegraf kakfa ordered configuration (#21550)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-07 09:49:48 +08:00
屈轩
cb409c75b8 fix(glance): image stream worker count (#21538) 2024-11-07 09:48:31 +08:00
Zexi Li
0b791de55f feat(region,climc): server-set-root-disk-matcher (#21545) 2024-11-06 18:53:15 +08:00
Zexi Li
259ddccb04 fix(monitor): 修复报警恢复时包含其他资源的问题 (#21542) 2024-11-06 18:52:25 +08:00
屈轩
bb1d55b944 fix(notify): show pretty notify error (#21533) 2024-11-06 10:05:13 +08:00
wanyaoqi
be112dd6cc fix(region,host): storage add master host (#21470) 2024-11-06 10:03:41 +08:00
屈轩
d45514a104 fix(monitor): add order index for monitor panel (#21529) 2024-11-05 17:31:55 +08:00
Zexi Li
e1f524e832 feat(monitor): add system and processes host metrics (#21524) 2024-11-04 19:17:26 +08:00
屈轩
6b39ee756f fix(region): vendor update for disable esxi swap (#21516) 2024-11-04 15:09:23 +08:00
Zexi Li
8eaf118118 fix(region): not set PrimaryZone when no dns_domain configured (#21512) 2024-11-04 12:40:01 +08:00
Jian Qiu
1d51a4fb21 fix: disk filter by storage host (#21500)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-31 01:49:37 +08:00
Jian Qiu
2ac233d40b feature: kafka telegraf output options (#21495)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-30 12:32:50 +08:00
屈轩
13c3ea0ee0 fix(region): vendor update (#21490) 2024-10-29 18:26:13 +08:00
屈轩
8aa76d2176 fix(region): 避免翻页查询导致公有云实例被误清除 (#21481) 2024-10-28 16:41:06 +08:00
屈轩
03e7dcd2b7 fix(region): purge manager quota (#21478) 2024-10-28 15:50:43 +08:00
Zexi Li
5033905cd1 feat(webconsole): disable command recording defaultly (#21468) 2024-10-25 21:55:37 +08:00
屈轩
e3779e2c81 fix(cloudmon): cloudpods metric sync (#21461) 2024-10-25 17:26:20 +08:00
wanyaoqi
547c3b939a fix(region,host): ceph add enable messenger v2 options (#21443) 2024-10-25 10:15:59 +08:00
屈轩
06ca635327 fix(region): vendor update (#21441) 2024-10-22 19:57:54 +08:00
Jian Qiu
8da3c5aa02 fix: host bond slave nic should use permaddr as mac (#21434)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-20 14:42:20 +08:00
屈轩
e3a4b93205 fix(region): support cloudpods secrule ops (#21429) 2024-10-18 16:48:09 +08:00
屈轩
aa7197c53a Revert "fix(region): account probe lock" (#21426)
This reverts commit 7f90d38e5f.
2024-10-18 16:08:07 +08:00
屈轩
87b710ef58 fix(region): add interface field length (#21420) 2024-10-18 09:52:17 +08:00
Zexi Li
833dfcc6e2 fix(scheduler): avoid_same_host 策略分数过高导致调度分配不均 (#21415) 2024-10-16 10:23:22 +08:00
Zexi Li
ceb5598041 fix(webconsole): ssh randomly exited error (#21409) 2024-10-14 14:51:09 +08:00
wanyaoqi
6087afa546 fix(region): fix default network on get desc (#21395) 2024-10-14 12:35:51 +08:00
wanyaoqi
80870e97ad fix(host-deployer): update host-deployer-base to 1.4.9 (#21402) 2024-10-12 14:14:00 +08:00
wanyaoqi
a1bf4c7b6c fix(host-deployer): do not clean spool dir on save image (#21399) 2024-10-12 10:08:56 +08:00
wanyaoqi
d82c7bc5a5 fix(host): set ssd disk default scheduler none (#21358) 2024-10-12 10:03:17 +08:00
wanyaoqi
a266f4ccc2 fix(host,glance): qemuimg convert optimize, allow write out of order and increase coroutines (#21373) 2024-10-12 10:01:23 +08:00
屈轩
123b51a321 fix(region): storage conf update (#21393) 2024-10-11 18:05:07 +08:00
屈轩
568b781177 fix(region): gcp security group check (#21389) 2024-10-11 17:54:03 +08:00
屈轩
9c894020c9 fix(common): compatible metadata mod find (#21385) 2024-10-11 16:40:03 +08:00
Zexi Li
0c9f0314c7 feat(apigateway): add rpc methods of scheduler for apigateway (#21378) 2024-10-10 19:07:35 +08:00
wanyaoqi
1641c178b9 fix(region): check disk is deleted on delete snapshot (#21367) 2024-10-09 21:48:37 +08:00
wanyaoqi
71fbb8336e fix(host): reconnect qga on failed exec qga commands (#21355) 2024-10-08 10:13:54 +08:00
wanyaoqi
ceff4b7330 fix: fix slice init length (#21349)
Co-authored-by: cui fliter <imcusg@gmail.com>
2024-10-07 20:09:28 +08:00
wanyaoqi
2c51ca5e1e fix(region,scheduler): allow req cpu count zero on allocate cpunumapin (#21345) 2024-10-03 20:03:23 +08:00
Jian Qiu
4811fcf99e fix: cloud account filter revisit (#21341)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-10-01 08:49:15 +08:00
wanyaoqi
ecc41e4b3d fix(host): refact qga connection ops (#21335) 2024-09-29 22:53:11 +08:00
Jian Qiu
7254fa5f11 fix: host report ovs kmod version and ksm status (#21327)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-28 20:27:07 +08:00
Zexi Li
af85934ac8 fix(region): make parseDeviceInfo error clear (#21323) 2024-09-28 18:35:38 +08:00
Jian Qiu
e0ba8db6f1 fix: upgrade sqlite3 to 1.14.19 (#21317)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-27 07:18:16 +08:00
wanyaoqi
a39eb5813f Automated cherry pick of #21312: Automated cherry pick of #20996: fix(region,host): lvm snapshot delete and create from backup (#21313)
* fix(region,host): lvm snapshot delete and create from backup

* fix(host): slvm delete snapshot and save images

* fix(host): add option boot vga pci addr

* fix(host): slvm active exclusive mode on convert snapshot
2024-09-27 00:37:18 +08:00
wanyaoqi
6a3ddc131a fix(host): check qga is init on check qga runing (#21308) 2024-09-27 00:35:00 +08:00
屈轩
a4f086fa6e fix(region): filter cloudproviders by regional network zone (#21287) 2024-09-24 18:10:16 +08:00
Jian Qiu
05c704d444 fix: remove metadata server from host (#21278)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-21 22:52:08 +08:00
屈轩
9afdbb32b5 fix(region): kvm user-data (#21240) 2024-09-20 20:41:48 +08:00
屈轩
72a70d5ec2 fix(region): disk metadata with server (#21254) 2024-09-19 09:54:53 +08:00
Jian Qiu
a374b4910c fix: host build image use go 1.21 (#21265)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-19 03:20:25 +08:00
Jian Qiu
7e39ab816b fix: update vendor 20240919 3.11 (#21259)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-18 22:24:06 +08:00
Jian Qiu
3d11283f81 fix: update vendor 3.11 20240917, upgrade go to 1.21 (#21249)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-18 17:15:01 +08:00
Jian Qiu
79b6fe5113 fix: update vendor 20240916 (#21245)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-16 19:08:39 +08:00
Jian Qiu
a33aca15de fix: prevent access from anonymous user (#21241)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-14 19:36:32 +08:00
wanyaoqi
2e533b3a46 fix(region): guest without cpunumapin don't set params on save schedule result (#21233) 2024-09-14 10:11:28 +08:00
Zexi Li
f3cd59d5ca Automated cherry pick of #21079: 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况 (#21231)
* 1、裸金属删除时,GuestUndeployTask会出现无法调用任务完成方法OnGuestUndeployComplete,导致任务卡住的情况 2、裸金属删除时,回调用baremetal-agent的sync-config接口不止一次,调用时出现请求参数没有传递server_id情况,导致在OnPXEBoot调用getServer时删除了baremetal的server信息,致使后面的DoEraseDisk方法报错

* 1、裸金属删除时,GuestUndeployTask onInit去掉host不为空时的SetStageComplete函数

---------

Co-authored-by: gj <gj@qq.com>
2024-09-13 14:36:54 +08:00
Zexi Li
c2a0620df2 feat(climc): add public/private command for k8s-container-registry (#21230) 2024-09-13 14:34:51 +08:00
屈轩
734aeef43f fix(cloudmon): vendor update for aws gcp cpu metric (#21227) 2024-09-13 11:58:37 +08:00
Zexi Li
7c70b7628c feat(monitor): filter monitor_resource_alert by ip (#21219) 2024-09-12 11:01:06 +08:00
Zexi Li
1fa397b1bb fix(moniotr): filter dirty resource alerts (#21214) 2024-09-12 10:04:50 +08:00
Zexi Li
683b1c252f fix(climc): monitor-alert-test-run prints result error (#21210) 2024-09-11 20:04:25 +08:00
Zexi Li
4dcdc5c419 optimized(monitor): keep 2 precision of reduced value (#21206) 2024-09-11 16:36:01 +08:00
屈轩
b6c3d9d168 fix(region): sync remove guest whith network address (#21201) 2024-09-10 14:25:45 +08:00
屈轩
9cb2900afc fix(log): add offline export i18n (#21195) 2024-09-10 14:24:55 +08:00
Zexi Li
f14fce685a feat(apigateway): report k3s environment (#21198) 2024-09-10 14:24:16 +08:00
Jian Qiu
88eff2afab fix: climc server-detach-network --force (#21192)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-10 09:58:37 +08:00
Zexi Li
5bb7d1176d optimized(apigateway): use ssh for climc pod cloud shell (#21180) 2024-09-09 16:03:02 +08:00
屈轩
19c3c8bc01 fix(cloudid): cloud policy sync (#21174) 2024-09-06 11:49:02 +08:00
wanyaoqi
15553290e1 fix(host-deployer): update host-deployer-docker base (#21176) 2024-09-06 11:25:39 +08:00
屈轩
5ca05eef84 fix: support apigateway for cloudpods (#21164) 2024-09-06 00:38:37 +08:00
Zexi Li
6af40b96c6 fix(monitor): support or filter of query (#21169) 2024-09-05 20:10:18 +08:00
屈轩
ead18eae11 fix(region): disk update disk type (#21161) 2024-09-04 10:44:38 +08:00
wanyaoqi
9e2108e886 fix(host): rbd save image use /opt/cloud temp dir (#21152) 2024-09-04 10:43:17 +08:00
Jian Qiu
ece3641bcb fix: telegraf config file format error (#21146)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-03 11:03:10 +08:00
屈轩
8290c3b75d fix(region): sync worker hashring (#21128) 2024-09-02 20:08:18 +08:00
Zexi Li
7ff19556bd optimize(host): wrap updateOrCreateHost error (#21140) 2024-09-02 13:28:22 +08:00
Jian Qiu
d4426ea8dc fix: update vendor for dameng TEXT_EQUAL (#21136)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-01 20:19:23 +08:00
wanyaoqi
426038d4b7 fix(region): allow guest create on cannot detect image props (#21129) 2024-09-01 20:18:06 +08:00
Jian Qiu
75df132f99 fix: migrate ipv6 routes from physical interface to bridge (#21131)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-09-01 20:16:36 +08:00
Zexi Li
ecef940442 fix(monitor): delete default group by and mean aggregator (#21115) 2024-08-29 10:03:37 +08:00
Zexi Li
7c891bbbb9 fix(climc): host-ssh is not working (#21113) 2024-08-27 16:25:31 +08:00
Zexi Li
7f044678d2 fix(monitor): skipCheckSeries when aggregator is sum (#21105) 2024-08-27 10:40:59 +08:00
屈轩
62dfa252cd fix(region): sync aliyun gtm and aws traffic policy address (#21104) 2024-08-26 20:55:31 +08:00
Zexi Li
2bd23b1910 fix(monitor): only show MEAN and SUM aggregators (#21098) 2024-08-26 17:39:51 +08:00
wanyaoqi
2f849b318d fix(host): nbd worker count add options (#21094) 2024-08-26 17:28:47 +08:00
屈轩
6f5f7e96f7 fix(region): set security group domain id (#21093) 2024-08-26 17:27:06 +08:00
Jian Qiu
dbf7b5f67d fix: extend query with metadata field (#21085)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-23 11:30:22 +08:00
Zexi Li
8c8dfc5557 feat(monitor): result reducer for query result (#21072) 2024-08-22 15:43:45 +08:00
Zexi Li
3458d95e83 optimze(baremetal): dhcp prefix hints (#21073) 2024-08-22 15:27:18 +08:00
屈轩
f7d0085af8 fix(region): filter eips by associated (#21067) 2024-08-21 10:51:07 +08:00
Zexi Li
cb2805f66f optimize(region,host): add details error message when adding net interface (#21061) 2024-08-20 18:38:50 +08:00
Jian Qiu
b8bed4a2cd fix(host): migrate slave addresses and routes from physical nic to bridge (#21042)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-19 10:19:16 +08:00
Jian Qiu
c247550d89 fix: climc command to public/private dns-zone (#21055)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-19 10:18:20 +08:00
屈轩
bb57530794 fix(cloudmon): 避免cloudmon任务堆积导致大量请求 (#21049) 2024-08-19 10:17:22 +08:00
wanyaoqi
e6cb8e047a fix(region): try recover image cache on guest migrate (#21026) 2024-08-16 10:29:38 +08:00
wanyaoqi
c6252cd527 Automated cherry pick of #21039: fix(region,host,host-deployer): deploy guest ssh port add lock (#21041)
* fix(host): check nodes count on alloc cpuset

* fix(host-deployer): get ssh port add lock

* feat(region): guest clone add prefer host
2024-08-16 09:56:48 +08:00
Jian Qiu
bd6b05587a fix: filter islated devices capability info by zone (#21035)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-15 09:37:49 +08:00
Jian Qiu
a781121c3f fix: support keylike search (#21031)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-08-15 09:36:13 +08:00
屈轩
bc20d62087 fix(region): sync kvm secgroup status (#21019) 2024-08-14 11:37:48 +08:00
Zexi Li
0ac34ecf2d fix(baremetal): ignore 0.0.0.0 ipmi address when probing (#21007) 2024-08-13 17:43:57 +08:00
屈轩
baf914f635 fix(region): custom total count (#21000) 2024-08-12 15:48:07 +08:00
屈轩
ffe8a0816e fix(region): vendor update (#20994) 2024-08-12 09:52:30 +08:00
屈轩
b72eab269d fix(region): auto clean invalid cached images (#20816) 2024-08-09 09:42:16 +08:00
wanyaoqi
3c1d703faa fix(region): validate guestdisk cache/io mode on upadte (#20983)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-08-09 09:40:53 +08:00
wanyaoqi
91dff4fe90 fix(host): clean image cache check local reference (#20950) 2024-08-09 09:40:08 +08:00
屈轩
5dca24586c fix(region): vendor update for lb backend sync (#20977) 2024-08-07 18:50:44 +08:00
屈轩
65859262f1 fix(region): send notify when vpc or network created (#20929) 2024-08-07 11:55:05 +08:00
屈轩
e02ce67cf6 fix(region): show status info with list api (#20944) 2024-08-07 11:54:05 +08:00
wanyaoqi
d79217059b fix(host-deployer): add cpu mem hotplug udev rules (#20961) 2024-08-06 09:07:05 +08:00
wanyaoqi
f18fd960d2 fix(host): too much qga ping logs (#20955) 2024-08-05 14:47:15 +08:00
wanyaoqi
6f3f9cb058 fix(region,scheduler): sub pending usage on select cpu numa pin (#20948)
- reset guest cpu numa pin before start guest
- sub pending usage on select cpu numa pin
- hypervisor pod record pending usage
- add core:threads pair allocate, use same core threads first

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2024-08-02 10:22:53 +08:00
wanyaoqi
9f8945886c fix(region): cpu numa pin guest sched start (#20939) 2024-07-31 21:36:23 +08:00
wanyaoqi
4690c2307d feat(region,host,scheduler): scheduler support allocate cpu numa pin (#20372) 2024-07-30 19:10:18 +08:00
Zexi Li
72f8cd2617 feat(monitor): multiple alerts of resource (#20908) 2024-07-30 16:15:37 +08:00
屈轩
3ce3d803d2 fix(cloudmon): 避免产生大量操作日志 (#20920) 2024-07-30 14:42:06 +08:00
屈轩
e85a9ea129 fix(region): vendor update (#20912) 2024-07-30 09:33:09 +08:00
Zexi Li
57a9ac2688 fix(monitor): add pps_sent/recv metric for query (#20913) 2024-07-29 20:58:41 +08:00
Jian Qiu
2b59cf326c fix: opsadmin deny host perform login-info (#20905)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-29 13:21:48 +08:00
屈轩
767e68a5a7 fix(keystone): change user mobile field character set to utf8 (#20899) 2024-07-27 13:50:04 +08:00
Zexi Li
3b141651a6 fix(mointor): multiple duplicated message (#20889) 2024-07-25 15:26:35 +08:00
wanyaoqi
558d310bea feat(regin,host,host-deployer): qga deploy and fsdriver (#20813)
- host-deployer add deploy qga support
- host add qga partition fsdriver
- qga set network use fsdriver
- hostpinger sync qga status
2024-07-25 11:49:22 +08:00
屈轩
9fd7fca9b5 fix(cloudid): cloudid resource sync worker (#20877) 2024-07-25 11:19:06 +08:00
Zexi Li
62ac71ccc0 feat(webconsole): add secret_level property inside query data (#20881) 2024-07-24 17:41:13 +08:00
屈轩
ede5e6af50 fix(region): keypair id typo (#20874) 2024-07-24 14:35:40 +08:00
wanyaoqi
aeb14820c6 fix(region,host): slvm disk create use guest host lvm disk create from backup (#20852)
* fix(region): slvm disk create use guest host

* fix(host): lvm disk create from backup
2024-07-22 15:12:57 +08:00
Zexi Li
0246770fa5 feat(apigateway): report docker-compose-baremetal running environment (#20865) 2024-07-22 15:11:43 +08:00
Zexi Li
a79927f825 feat(monitor): add inodes_used_percent metric (#20847) 2024-07-20 11:57:11 +08:00
屈轩
c31bca3052 fix(region): host nic info (#20861) 2024-07-20 11:56:08 +08:00
Zexi Li
fd5fdb630e feat(monitor): update influxql-to-metricsql@v0.0.7 to support percentile aggregator (#20833) 2024-07-17 22:59:06 +08:00
屈轩
234d8da1cb fix(region): add storage name for snapshot (#20829) 2024-07-17 22:55:49 +08:00
屈轩
7c90f63e8d fix(region): support baremetal server as lb backend (#20839) 2024-07-17 22:54:11 +08:00
屈轩
eb72ec047d fix(region): vendor update for qcloud lb backend sync (#20824) 2024-07-17 14:17:28 +08:00
屈轩
ff88eb87ca fix(cloudid): distinct field for cloudid resources (#20820) 2024-07-17 10:12:58 +08:00
Jian Qiu
6cd471633c fix: always add static routes for metadata server (#20808)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-17 10:07:07 +08:00
屈轩
5e7ba9a55e fix(region): check user credential length when exec task (#20793) 2024-07-16 11:20:07 +08:00
Zexi Li
969ed95b60 feat(host): add interface meta tags of netio metrics (#20774) 2024-07-12 10:18:17 +08:00
Zexi Li
75ae9d50fc feat(region,baremetal): validate ipmi info (#20789) 2024-07-12 10:17:57 +08:00
屈轩
92d9c44271 fix(notify): avoid empty email addr (#20799) 2024-07-12 10:10:42 +08:00
屈轩
acd488424b fix(region): vendor update (#20802) 2024-07-12 10:10:07 +08:00
Zexi Li
b0d187bb12 fix(baremetal): some tasks don't implement IServerBaseDeployTask interface (#20784) 2024-07-10 16:15:22 +08:00
屈轩
49f635bde6 fix(region): optimized host-list speed (#20779) 2024-07-10 16:14:29 +08:00
屈轩
254838b72d fix(region): optimized guest list speed (#20760) 2024-07-10 16:12:39 +08:00
wanyaoqi
ed03ae1e75 fix(host): disk reset with encryption (#20764) 2024-07-10 16:11:24 +08:00
屈轩
ea77941b08 fix(region): show pretty cdrom info for server (#20777) 2024-07-10 16:10:10 +08:00
屈轩
b72a9a91f4 fix(region): auto sync remove lb public ip (#20773) 2024-07-09 17:50:55 +08:00
Zexi Li
9d90fb6a04 fix(scheduler,baremetal): match RAID and PCIE storages in range (#20767)
The index of PCIE storages is not reindex when range is provided.
2024-07-09 11:11:55 +08:00
屈轩
36a8428f24 fix(region): enable create cloudpods vm with iso image (#20747) 2024-07-08 21:32:06 +08:00
屈轩
80edd74260 fix(notify): avoid panic when mobile not set (#20745) 2024-07-08 21:31:24 +08:00
Jian Qiu
600a8801f1 fix: turn on ethtool gso by default (#20754)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-08 21:30:24 +08:00
Jian Qiu
1530cab756 fix: server update nic sub ips (#20758)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-08 17:25:31 +08:00
屈轩
8931d292ca fix(climc): auto enable storage when switch s3 on (#20728) 2024-07-07 09:47:01 +08:00
Jian Qiu
a0eeb4b27d fix: fail to perform host remove netif (#20738)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-07 09:02:39 +08:00
屈轩
75154ca3ea fix(region): 补充部分翻译 (#20749) 2024-07-07 09:01:49 +08:00
wanyaoqi
35fc11cdd5 fix(region,host): lvm snapshot reset and backup (#20718)
- fix lvm disk reset request hosts wrong, should reset on guest hosts
- add lvm disk snapshot failed handle
- support lvm disk backup
- lvm disk snapshot add encrypt support
2024-07-05 13:49:56 +08:00
屈轩
b6cc2804e1 fix(region): avoid delete lb failed (#20710) 2024-07-05 12:38:43 +08:00
屈轩
876f3de5a3 fix(region): 简化清理未使用的安全组 (#20724) 2024-07-05 11:03:18 +08:00
Jian Qiu
4d608d59f4 fix: normalize sftp errors (#20706)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-07-03 21:11:33 +08:00
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
Jian Qiu
74017f84a2 Hotfix/qj server network sub ips3 (#18063)
* fix: server nic add subips

* minor fixes

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-19 21:39:29 +08:00
Zexi Li
ee4651aca8 Merge pull request #18042 from swordqiu/hotfix/qj-server-network-sub-ips
fix: server nic add subips
2023-09-19 21:02:31 +08:00
Qiu Jian
7b3e2b1531 fix: server nic add subips 2023-09-19 19:15:48 +08:00
Zexi Li
8560a8ee7a Merge pull request #18058 from swordqiu/hotfix/qj-get-metadata-check-panic
fix: skip get metadata check if usercred is nil
2023-09-19 18:18:14 +08:00
Qiu Jian
4736358a4b fix: skip get metadata check if usercred is nil 2023-09-19 18:04:39 +08:00
屈轩
85ac48d323 fix(region): vendor update (#18056) 2023-09-19 17:40:04 +08:00
屈轩
6e317051d1 fix(region): vendor update (#18054) 2023-09-19 17:29:57 +08:00
屈轩
5a952b711a fix(region): dns record log (#18048) 2023-09-19 14:16:45 +08:00
屈轩
7e77f943eb fix(region): vendor update (#18046) 2023-09-19 10:48:58 +08:00
屈轩
b9ada100a7 fix(region): skip sync vm disk error (#18039) 2023-09-19 10:34:42 +08:00
屈轩
a523c10ae0 fix(region): avoid deadlock when delete account (#18037) 2023-09-18 15:27:14 +08:00
Zexi Li
b867f2b764 Merge pull request #18024 from swordqiu/hotfix/qj-check-get-metadata-policy
fix: validate get metadata privileges
2023-09-18 10:58:04 +08:00
gouqi11
1e4cf48028 fix(region): update vendor (#18028)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-09-18 10:44:31 +08:00
屈轩
714985d7c7 fix(region): select available storage (#18032) 2023-09-18 10:23:41 +08:00
Zexi Li
3f13107cb5 Merge pull request #18025 from gouqi11/makeMod230915
update vendor
2023-09-15 16:47:17 +08:00
马鸿飞
cfa7184f2c update vendor 2023-09-15 15:10:41 +08:00
Qiu Jian
9e57107f87 fix: validate get metadata privileges 2023-09-15 14:28:17 +08:00
Zexi Li
3dcc9b83ea Merge pull request #18020 from wanyaoqi/fix/vgpu-hotplug
fix(host): nvidia vgpu hotplug
2023-09-15 10:27:58 +08:00
wanyaoqi
9d5d96b1f1 fix(host): nvidia vgpu hotplug
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-14 21:07:39 +08:00
Zexi Li
bba5c582df Merge pull request #18016 from gouqi11/addSyncDesc
feat(region): support update description
2023-09-14 11:47:05 +08:00
屈轩
0d9b70eb00 fix(region): remove useless code (#18014) 2023-09-14 11:36:59 +08:00
屈轩
f49de8ee88 fix(region): remove useless code (#18014) 2023-09-13 17:32:29 +08:00
屈轩
1f8e0d2330 fix(logger): add system account field (#18000) 2023-09-13 16:18:06 +08:00
屈轩
8975e52e86 fix(region): esxi image sync (#18010) 2023-09-13 15:53:43 +08:00
屈轩
961d36111e fix(region): update status failed (#18007) 2023-09-13 15:05:31 +08:00
Zexi Li
7ce7982e9c Merge pull request #18001 from wanyaoqi/chore/update-host-deployer-base
chore: update host-deployer base image
2023-09-13 10:17:08 +08:00
Zexi Li
88ed0f2235 Merge pull request #18004 from wanyaoqi/fix/add-i18n-trans
fix(logclient): add i18n maps for translation
2023-09-13 10:15:24 +08:00
wanyaoqi
320ddd5d47 fix(logclient): add i18n maps for translation 2023-09-13 09:35:54 +08:00
wanyaoqi
1e7a23b47e chore: update host-deployer base image 2023-09-12 22:37:01 +08:00
屈轩
d1fbe1f4d8 fix(region): external project (#17996) 2023-09-12 18:54:14 +08:00
屈轩
be4b797081 fix(region): support cloud-init shell (#17998) 2023-09-12 17:22:15 +08:00
屈轩
8dcb4fb588 fix(region): vendor update (#17994) 2023-09-12 16:39:08 +08:00
Zexi Li
cbf33bbee5 Merge pull request #17985 from ioito/hotfix/qx-tenantcache-metadata
fix(region): clean tenantcache metadata
2023-09-12 10:05:56 +08:00
Zexi Li
baf8742ef0 Merge pull request #17988 from wanyaoqi/fix/nvidia-vgpu-check
fix(region): check nvidia vgpu count and conflict with other gpus
2023-09-12 10:04:38 +08:00
Zexi Li
dd740a034c Merge pull request #17993 from zexi/automated-cherry-pick-of-#17992-upstream-master
Automated cherry pick of #17992: feat(climc): add k8s-cluster-list options
2023-09-12 03:02:29 +08:00
Zexi Li
8b129475e7 feat(climc): add k8s-cluster-list options 2023-09-11 14:08:01 +02:00
屈轩
8582180c11 fix(region): 避免删除云账号时遗留脏数据 (#17991) 2023-09-11 17:30:51 +08:00
Zexi Li
0a460bda28 Merge pull request #17986 from ioito/hotfix/qx-batch-sku-sync
fix(region): batch sku sync
2023-09-11 16:31:15 +08:00
ioito
4cee583cef fix(region): batch sku sync 2023-09-11 15:59:13 +08:00
ioito
44f8f75203 fix(region): clean tenantcache metadata 2023-09-11 15:19:16 +08:00
wanyaoqi
4888f81ff6 fix(region): check nvidia vgpu count and conflict with other gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-11 14:50:07 +08:00
屈轩
ca66c73afe fix(region): support aws gp3 throughput (#17983) 2023-09-11 13:24:46 +08:00
屈轩
f22b53e498 fix(region): vendor update (#17981) 2023-09-11 10:21:30 +08:00
Jian Qiu
3f6857242e fix: vmware sync os info may override os distribution and ip (#17979)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 23:38:37 +08:00
Jian Qiu
a6ac366804 fix: allow vm turn on selinux (#17977)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:29:10 +08:00
Jian Qiu
284ae3f08c fix: avoid missing vlan config error (#17962)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:28:54 +08:00
Jian Qiu
12a4309be4 fix: error returned by host storage sync was overwritten (#17961)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-10 00:28:33 +08:00
wanyaoqi
613d085d20 fix(host): host register skip infiniband nic (#17955) 2023-09-10 00:27:58 +08:00
wanyaoqi
07c4d4da0f fix(host): set migrate bandwidth nolimit (#17974) 2023-09-10 00:26:32 +08:00
Zexi Li
f1ffdc287d Merge pull request #17963 from swordqiu/hotfix/qj-some-kernel-params-tune-by-default
fix: some kernel params tune by default
2023-09-08 04:13:32 +08:00
Qiu Jian
5f65cc49bc fix: some kernel params tune by default 2023-09-07 23:58:31 +08:00
Zexi Li
ff55f6e9cc Merge pull request #17935 from ioito/hotfix/qx-keypair-public
fix(region): set public for keypair
2023-09-07 19:22:35 +08:00
Zexi Li
1bf03f0878 Merge pull request #17957 from gouqi11/changeGroupTimes
fix(notify): add group_times for subscriber
2023-09-07 17:09:57 +08:00
马鸿飞
7ff9c8bd7a fix(notify): add group_times for subscriber 2023-09-07 16:37:13 +08:00
Zexi Li
4c182e2676 Merge pull request #17953 from gouqi11/ignoreEventIdInSend
fix(notify): ignore EventId in send
2023-09-06 19:54:30 +08:00
马鸿飞
96b806a2bc fix(notify): ignore EventId in send 2023-09-06 19:41:05 +08:00
Jian Qiu
a8626647a7 fix: support user data scripts (#17938)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:16:46 +08:00
Jian Qiu
cd975efb0a fix: panic when syncing user external resources (#17943)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:02:38 +08:00
Jian Qiu
f802faf411 fix: allow remvoe server extra options of specific value (#17947)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 17:00:17 +08:00
Jian Qiu
f047629180 fix: util func to convert id or name of tenants to ids (#17950)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-06 16:52:41 +08:00
Zexi Li
147e872d6f Merge pull request #17944 from gouqi11/acceptCreateProjectForProvider
fix(region): project mapping support inputProject
2023-09-06 15:18:44 +08:00
ioito
28738f03ac fix(region): set public for keypair 2023-09-06 15:06:32 +08:00
马鸿飞
f0a4d33e1a fix(region): project mapping support inputProject 2023-09-06 14:47:01 +08:00
Zexi Li
6170fae744 Merge pull request #17941 from zexi/automated-cherry-pick-of-#17940-upstream-master
Automated cherry pick of #17940: fix(cloudcommon): compatible with cases when data is nil
2023-09-06 11:28:49 +08:00
Zexi Li
48415939ee fix(cloudcommon): compatible with cases when data is nil 2023-09-06 04:53:29 +02:00
Zexi Li
1228d34313 feat(climc): download container registry image directly (#17937) 2023-09-06 04:35:59 +08:00
屈轩
87fb805668 fix(region): storagecache sync (#17933) 2023-09-06 04:35:24 +08:00
Jian Qiu
9e158441d7 Hotfix/qj vmware wire external (#17894)
* fix: vmware wire external id should be scoped by cloud account

* fix: validate condition when changing network wire id

* fix: allow update user enabled field

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-05 15:01:34 +08:00
Zexi Li
57d5bede41 Merge pull request #17930 from zhasm/hotfix/rex-docker-buildx-cross-platform-issue-typo
hotfix: typo
2023-09-05 12:57:21 +08:00
Zhang Dongliang
e81dfabbd4 hotfix: typo 2023-09-05 12:53:33 +08:00
Zexi Li
68822c85d0 Merge pull request #17926 from zexi/automated-cherry-pick-of-#17925-upstream-master
Automated cherry pick of #17925: fix(apigateway): add GetSpecificMethods to resource manager
2023-09-05 12:50:25 +08:00
Zexi Li
72e22c6ac0 Merge pull request #17927 from zhasm/hotfix/rex-docker-buildx-cross-platform-issue
fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构
2023-09-05 12:49:31 +08:00
Zhang Dongliang
1a3109895d fix(docker buildx cross platform docker image fix): 跨平台编译docker镜像明确指定架构 2023-09-05 12:41:49 +08:00
Zexi Li
18a3dad541 Merge pull request #17922 from swordqiu/hotfix/qj-struct-sub-tag
fix: struct sub field tag
2023-09-05 11:54:13 +08:00
Zexi Li
572512083c fix(apigateway): add GetSpecificMethods to resource manager 2023-09-05 05:37:51 +02:00
屈轩
855a5587b1 fix: account project name sync (#17906) 2023-09-05 11:26:20 +08:00
屈轩
7bd5f353e4 fix(region): batch prob account status (#17905) 2023-09-05 11:26:08 +08:00
Qiu Jian
3916e1dc28 fix: struct sub field tag 2023-09-04 22:47:07 +08:00
Zexi Li
9791f5d09c Merge pull request #17919 from gouqi11/fixCreateProjectForProvider
fix(region): support sync cloudprovider
2023-09-04 17:41:26 +08:00
马鸿飞
53462b63e7 fix(region): support sync cloudprovider 2023-09-04 16:10:39 +08:00
屈轩
3def837bf2 fix(climc): skip part of service version detect (#17916) 2023-09-04 14:27:00 +08:00
屈轩
f7349528d0 fix(region-dns): dns query for *.example.com (#17914) 2023-09-04 11:51:24 +08:00
Zexi Li
396914e5a4 Merge pull request #17903 from wanyaoqi/feat/disk-iothrottle
feat(region,host): support set io throtthle for each disk
2023-09-02 01:36:31 +08:00
Zexi Li
f55c64f8ad Merge pull request #17911 from ioito/hotfix/qx-dns-record-delete-log
fix(region): add log for dns record delete
2023-09-01 21:10:00 +08:00
ioito
c26fdc7055 fix(region): add log for dns record delete 2023-09-01 20:03:46 +08:00
屈轩
eb7b919e5b fix(region): bucket 500 error (#17909) 2023-09-01 18:22:31 +08:00
屈轩
69cf5d563d fix(region): distinct account for dns zone (#17907) 2023-09-01 17:15:40 +08:00
wanyaoqi
3226c71f4e feat(region,host): support set io throtthle for each disk
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:49:02 +08:00
wanyaoqi
4484a96c8d feat(region,host): vgpu support, refector host registor (#17879)
* feat(region,host): refactor host register

* feat(region,host): vgpu support

add nvidia/amd vgpu support.
nvidia vgpu need manaul configure vgpu instance before add in host.conf

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

---------

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:42:22 +08:00
屈轩
3c19b0109f fix(region): support skip sync vpc and secgorup (#17901) 2023-09-01 15:40:29 +08:00
wanyaoqi
a043378be0 feat(region): support set server as daemon on create (#17892)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-09-01 15:39:25 +08:00
屈轩
9eb37037c2 fix(region): auto remove cloudprovider (#17688) 2023-09-01 15:38:54 +08:00
Jian Qiu
9ec43642da fix: storage usaged capacity by medium_type revisit (#17877)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-09-01 15:33:11 +08:00
屈轩
f9d1ee0a88 fix(region): private zone check vpc (#17899) 2023-08-31 16:27:40 +08:00
Zexi Li
e785dc1261 Merge pull request #17895 from ioito/hotfix/qx-cloudmon-system-metric
fix(cloudmon): skip part of service system metric collect
2023-08-31 16:01:29 +08:00
Zexi Li
9a3e2e35e5 Merge pull request #17897 from ioito/hotfix/qx-sku-sync
fix(region): 云账号首次同步时并发同步sku及资源
2023-08-31 16:01:01 +08:00
ioito
516b149d39 fix(region): 云账号首次同步时并发同步sku及资源 2023-08-31 14:49:50 +08:00
Jian Qiu
31d1e30495 fix: user show nil map panic (#17875)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-31 11:27:42 +08:00
屈轩
87e22c9552 fix(region): real delete sku (#17873) 2023-08-31 11:26:58 +08:00
ioito
683a51093f fix(cloudmon): skip part of service system metric collect 2023-08-31 11:22:19 +08:00
屈轩
ccca3228f5 fix(region): avoid esxi vm delete failed (#17890) 2023-08-30 20:43:37 +08:00
屈轩
f8fa51bad1 fix(region): esxi name and tag sync (#17884) 2023-08-30 20:30:26 +08:00
Zexi Li
db68897a1f Merge pull request #17888 from gouqi11/addGroupTimeList
fix(notify): support list group_key,group_list
2023-08-30 18:57:02 +08:00
屈轩
00e100b092 fix(region-dns): resolve cname (#17886) 2023-08-30 18:54:57 +08:00
马鸿飞
3ea0953151 fix(notify): support list group_key,group_list 2023-08-30 18:51:07 +08:00
屈轩
c33a731797 fix(region-dns): resolve * dns (#17882) 2023-08-30 16:04:48 +08:00
Jian Qiu
784fa91bab fix: desinate ip addresses when batch creating guests (#17859)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-29 21:19:43 +08:00
Jian Qiu
c100036989 fix: vpcagent sync wire should ignore external id (#17864)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-29 18:37:20 +08:00
屈轩
fb63245840 fix(region): vendor update (#17871) 2023-08-29 16:17:32 +08:00
屈轩
b462ef3abe fix(region): dns zone (#17868) 2023-08-29 15:44:20 +08:00
屈轩
69e18bae85 fix(region): hostname length (#17866) 2023-08-29 15:43:01 +08:00
wanyaoqi
11fe9bf6bc fix(region,host): support limit guest nic traffic (#17852) 2023-08-29 08:40:20 +08:00
屈轩
1b81d19a82 fix(region): vendor update (#17861) 2023-08-28 15:33:34 +08:00
屈轩
29fa7b76e1 fix(region): skip resource by tags (#17856) 2023-08-28 14:45:56 +08:00
gouqi11
0fa23c4b7a fix(region): support project mapping (#17803)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-08-27 05:12:59 +08:00
Jian Qiu
7b635f8430 fix: debian 12 OS initialization (#17846)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-27 05:00:58 +08:00
Jian Qiu
c5dd7939fc fix: vmware host wire recode (#17818)
* fix: vmware host wire recode

* update vendor

* update vendor

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 16:36:55 +08:00
Jian Qiu
43f25dbe58 fix: cachedimage add index (#17843)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-24 03:25:05 +08:00
屈轩
ea6f169ba1 fix(logger): export limit (#17825) 2023-08-24 03:12:08 +08:00
屈轩
4429886ef9 fix(region): guest sync log (#17828) 2023-08-24 03:11:34 +08:00
屈轩
4b5e211ab9 fix(region): storage extra info (#17832) 2023-08-24 03:10:46 +08:00
Jian Qiu
6baad13756 fix: add index to server skus (#17840)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-23 22:35:11 +08:00
屈轩
07b9e87f74 fix(webconsole): fix #17822 (#17837) 2023-08-23 19:39:44 +08:00
屈轩
40177de2dc fix(region): disable prepaid delete check (#17823) 2023-08-23 19:39:09 +08:00
屈轩
5246e5c1b8 fix(logger): distinct for kind (#17819) 2023-08-22 10:02:53 +08:00
屈轩
1d8fdb5458 fix(logger): distinct field for action log (#17814) 2023-08-21 19:05:33 +08:00
屈轩
3b14709cb8 fix(region): cloud account sync log (#17772) 2023-08-21 16:30:44 +08:00
屈轩
b4dd9943fe fix: external project priority (#17811) 2023-08-21 15:11:28 +08:00
Jian Qiu
276e1247b4 fix: windows 2012 no dns (#17808)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-21 13:47:04 +08:00
wanyaoqi
dd51418e45 fix(host): gpu probe miss 3d type gpu (#17805) 2023-08-21 12:32:17 +08:00
屈轩
c42f88642a fix(region): vendor update (#17801) 2023-08-21 11:07:43 +08:00
屈轩
6e0df5cf59 fix(region): support eip sync tags (#17796) 2023-08-18 15:05:12 +08:00
Zexi Li
f798d8a2b9 Merge pull request #17776 from wanyaoqi/fix/lvm-disk-deploy
Fix/lvm disk deploy
2023-08-18 13:40:01 +08:00
Zexi Li
3c258def9c Merge pull request #17795 from zexi/automated-cherry-pick-of-#17794-upstream-master
Automated cherry pick of #17794: feat(climc): support k8s-cluster-create command getting input from file
2023-08-18 13:33:17 +08:00
Zexi Li
fc6dc2c7c5 Merge pull request #17793 from zexi/automated-cherry-pick-of-#17792-upstream-master
Automated cherry pick of #17792: fix(climc): 'zone-list --region' is ignored
2023-08-18 13:32:57 +08:00
Zexi Li
1f97060a82 feat(climc): support k8s-cluster-create command getting input from file 2023-08-18 02:02:23 +08:00
Zexi Li
89dcc2f4a2 fix(climc): 'zone-list --region' is ignored 2023-08-18 00:08:50 +08:00
屈轩
19445ad574 fix(region): avoid sync esxi panic (#17791) 2023-08-17 18:13:13 +08:00
屈轩
14aaa012ad fix(logger): add translate (#17769) 2023-08-17 17:55:03 +08:00
屈轩
e57dca9edd fix: docker push (#17789) 2023-08-17 17:43:32 +08:00
屈轩
3cab23ee37 fix(region): avoid purge normal region (#17786) 2023-08-17 12:23:02 +08:00
屈轩
46933f7521 fix: workflow push secrets (#17783) 2023-08-17 11:00:46 +08:00
Zexi Li
e5ca1fba3d Merge pull request #17756 from zexi/automated-cherry-pick-of-#17755-upstream-master
Automated cherry pick of #17755: fix(baremetal-agent): update base image
2023-08-16 11:14:35 +08:00
wanyaoqi
1569dca33b fix(host-deployer): lvm deactivate vg in use 2023-08-15 23:19:20 +08:00
Jian Qiu
82d50bb4b6 fix: pending delete identity projects (#17757)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-15 16:54:00 +08:00
wanyaoqi
10ad5615bf fix(host-deployer): fix lvm disk concurrent mount
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-08-14 23:20:10 +08:00
屈轩
34d54f10e8 fix(region): vendor update (#17764) 2023-08-14 16:58:08 +08:00
屈轩
8cdcde7ce3 fix: github workflow (#17762) 2023-08-14 16:28:26 +08:00
Zexi Li
d366339bb9 Merge pull request #17702 from gouqi11/fixTopicAdvanceForRelease
fix(notify): add update func for topic
2023-08-14 11:30:26 +08:00
Jian Qiu
59ae380bd5 fix: support unbind organization node (#17754)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-13 22:49:07 +08:00
屈轩
43f6e8236d fix(keystone): displays the reason why user cannot be deleted (#17663) 2023-08-13 22:42:31 +08:00
屈轩
62e17595ae fix(region): clean dirty cached images (#17751) 2023-08-13 22:40:21 +08:00
Zexi Li
1fd974e78f fix(baremetal-agent): update base image 2023-08-12 18:48:22 +08:00
马鸿飞
33483cbdd7 fix(notify): add update func for topic 2023-08-11 17:07:33 +08:00
Zexi Li
0361d8beff Merge pull request #17750 from zexi/automated-cherry-pick-of-#17749-upstream-master
Automated cherry pick of #17749: feat(climc): add k8s-machine-post-prepare-resource command
2023-08-11 15:32:46 +08:00
Zexi Li
e5d1c7c396 feat(climc): add k8s-machine-post-prepare-resource command 2023-08-11 12:09:48 +08:00
屈轩
d86384bb5c fix(common): project metadata (#17745) 2023-08-10 20:14:24 +08:00
屈轩
b09874bd37 feat(region): support china union cloud (#17742) 2023-08-09 18:05:56 +08:00
屈轩
f2a50c97e6 fix: auto build docker image (#17740) 2023-08-09 17:10:15 +08:00
Zexi Li
e15843cf17 Merge pull request #17731 from gouqi11/enableWebhookUseTemplate
fix(notify): add option to use template for webhook
2023-08-08 17:57:34 +08:00
Zexi Li
668260e6e3 Merge pull request #17722 from ioito/feat/qx-baidu
feat(region): support baidu cloud
2023-08-08 17:44:59 +08:00
马鸿飞
16a9b53621 fix(notify): add option to use template for webhook 2023-08-08 17:37:51 +08:00
Zexi Li
3ccd834770 Merge pull request #17724 from ioito/hotfix/qx-kvm-storage-info
fix(region): add kvm disk storage info
2023-08-08 16:30:07 +08:00
Zexi Li
324ca12c69 Merge pull request #17727 from swordqiu/hotfix/qj-allow-host-access-mac-nullable
fix: allow host access_mac nullable
2023-08-08 16:28:54 +08:00
Zexi Li
0fba5587d4 Merge pull request #17610 from gouqi11/addNotificationGroup
fix(notify): addNotifyGroup
2023-08-08 16:28:32 +08:00
Qiu Jian
ccb2592608 fix: allow host access_mac nullable 2023-08-08 12:39:56 +08:00
马鸿飞
aaacb52164 fix(notify): addNotifyGroup 2023-08-08 11:36:37 +08:00
ioito
c342eaa470 fix(region): add kvm disk storage info 2023-08-08 10:17:43 +08:00
ioito
f5e83b7667 feat(region): support baidu cloud 2023-08-07 20:36:13 +08:00
Zexi Li
743d5c56d8 Merge pull request #17717 from ioito/hotfix/qx-watermark
fix: watermark
2023-08-07 20:22:06 +08:00
Zexi Li
591bac5f5a Merge pull request #17718 from ioito/feat/qx-ksyun
feat(region): support ksyun
2023-08-07 20:21:31 +08:00
Zexi Li
5fe4cd4155 Merge pull request #17719 from ioito/hotfix/qx-climc-panic
fix(climc): avoid panic
2023-08-07 20:20:28 +08:00
ioito
14fee8a4e0 fix(climc): avoid panic 2023-08-07 18:47:22 +08:00
ioito
1de08a7a5e feat(region): support ksyun 2023-08-07 15:44:52 +08:00
ioito
f1a24e0edf fix: watermark 2023-08-07 10:23:01 +08:00
Zexi Li
ad777523c9 Merge pull request #17715 from zexi/automated-cherry-pick-of-#17714-upstream-master
Automated cherry pick of #17714: fix(monitor): remove cloudaccount_balance unit
2023-08-07 00:47:32 +08:00
Zexi Li
6141ac5f32 fix(monitor): remove cloudaccount_balance unit 2023-08-07 00:36:12 +08:00
Jian Qiu
e10eed83fc fix: set vcpu vendor_id based on host cpu vendor_id (#17711)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-06 21:18:07 +08:00
屈轩
d016e03f99 fix(region): esxi storage info (#17705) 2023-08-04 23:42:43 +08:00
Jian Qiu
b7b2a630f5 fix: remove hostwire to cleanup host-wire codes (#17670)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-08-04 23:40:54 +08:00
Zexi Li
cccaef98a9 Merge pull request #17701 from zexi/automated-cherry-pick-of-#17700-upstream-master
Automated cherry pick of #17700: feat(climc): k8s-cluster-set-kubeconfig
2023-08-03 19:14:09 +08:00
Zexi Li
e187959212 feat(climc): k8s-cluster-set-kubeconfig 2023-08-03 18:49:46 +08:00
Zexi Li
c3cf64c314 Merge pull request #17698 from ioito/hotfix/qx-vendor-update-apsara
fix(region): vendor update
2023-08-03 15:03:10 +08:00
ioito
022de3acb0 fix(region): vendor update 2023-08-03 14:38:45 +08:00
Zexi Li
aa2292f819 Merge pull request #17695 from gouqi11/fixMonitorAlertStartTimeFormat
fix(monitor): fix montior alert startTimeFormat
2023-08-02 17:57:25 +08:00
马鸿飞
5c6cfb0261 fix(monitor): fix montior alert startTimeFormat 2023-08-02 17:37:27 +08:00
Zexi Li
35c70ec5f1 Merge pull request #17693 from ioito/hotfix/qx-notify-event-fetch
fix(notify): optimized event query
2023-08-02 10:21:50 +08:00
Zexi Li
87317c42ea Merge pull request #17690 from ioito/hotfix/qx-cloudmon-panic
fix(cloudmon): avoid panic
2023-08-02 10:21:00 +08:00
ioito
c6226bd92f fix(notify): optimized event query 2023-08-01 17:00:50 +08:00
ioito
2d6655cc2f fix(cloudmon): avoid panic 2023-08-01 16:03:51 +08:00
Zexi Li
bba03a3b99 Merge pull request #17685 from ioito/hotfix/qx-cloudmon-account-update
fix(cloudmon): cloudaccout update
2023-08-01 13:01:46 +08:00
ioito
44882cc433 fix(cloudmon): cloudaccout update 2023-08-01 12:19:12 +08:00
Zexi Li
f582f3b6f2 Merge pull request #17683 from ioito/hotfix/qx-vpc-purge-row-id
fix(region): vpc purge
2023-08-01 10:13:31 +08:00
ioito
f074571e73 fix(region): vpc purge 2023-08-01 10:02:04 +08:00
Zexi Li
4d24f51e8a Merge pull request #17672 from ioito/hotfix/qx-optional-local-system-disk-size
fix(region): optional local system disk size
2023-08-01 00:50:55 +08:00
Zexi Li
202db08155 Merge pull request #17674 from wanyaoqi/fix/gpu-detect
fix(host): add gpu device when driver isn't bind
2023-08-01 00:49:56 +08:00
Zexi Li
2ddd58db6f Merge pull request #17682 from zexi/automated-cherry-pick-of-#17681-upstream-master
Automated cherry pick of #17681: fix(webconsole,climc): cloud shell within docker compose environment
2023-08-01 00:48:08 +08:00
Zexi Li
0aeaf6370d fix(webconsole,climc): cloud shell within docker compose environment 2023-08-01 00:26:05 +08:00
Zexi Li
cf47d75c07 Merge pull request #17677 from ioito/hotfix/qx-account-detals
fix(region): account details
2023-07-31 17:23:59 +08:00
Zexi Li
547ca6ef4c Merge pull request #17679 from ioito/hotfix/qx-vendor-update-0731
fix(region): vendor update
2023-07-31 17:23:37 +08:00
ioito
b462790362 fix(region): vendor update 2023-07-31 17:08:15 +08:00
ioito
b6924d58f5 fix(region): account details 2023-07-31 16:55:46 +08:00
wanyaoqi
ff8a5dbe77 fix(host): add gpu device when driver isn't bind 2023-07-31 15:51:40 +08:00
ioito
cf814cefd9 fix(region): optional local system disk size 2023-07-31 11:44:08 +08:00
Zexi Li
8aeaf0a767 Merge pull request #17649 from ioito/hotfix/qx-optimized-account-list
fix(region): optimized cloud-account-list
2023-07-30 14:02:42 +08:00
Zexi Li
1fd09c2e74 Merge pull request #17651 from gouqi11/automated-cherry-pick-of-#17650-upstream-master
Automated cherry pick of #17650: fix(notify): drop event notification default receiver
2023-07-30 14:02:20 +08:00
Zexi Li
ba7515b4a8 Merge pull request #17632 from wanyaoqi/fix/bind-mount-before-host-register
fix(host): storages bind mount should before host register
2023-07-30 14:01:44 +08:00
Zexi Li
85a307c615 Merge pull request #17665 from ioito/hotfix/qx-acl-name
fix(region): acl name
2023-07-30 14:01:10 +08:00
ioito
dd81b1c641 fix(region): acl name 2023-07-28 20:17:28 +08:00
Zexi Li
44531c1412 Merge pull request #17653 from ioito/hotfix/qx-vendor-update-for-aws-secgrup
fix(region): vendor update
2023-07-28 17:55:23 +08:00
Zexi Li
2f6a4635fe Merge pull request #17655 from ioito/hotfix/qx-enable-cloud-shell
fix(keystone): enable cloud shell
2023-07-28 17:54:58 +08:00
Zexi Li
b850dc67ee Merge pull request #17657 from ioito/hotfix/qx-ecs-sync-options
fix(region): ecs sync options
2023-07-28 17:54:33 +08:00
Zexi Li
9dfd3a4799 Merge pull request #17661 from ioito/hotfix/qx-sku-update
fix(region): server sku update
2023-07-28 17:53:57 +08:00
Zexi Li
b0625060c2 Merge pull request #17660 from zexi/automated-cherry-pick-of-#17659-upstream-master
Automated cherry pick of #17659: feat(cloudmon): upload meter currency of the cloudaccount
2023-07-28 17:53:25 +08:00
Zexi Li
378fe13d4c feat(cloudmon): upload meter currency of the cloudaccount 2023-07-28 17:43:47 +08:00
ioito
24eae617e0 fix(region): server sku update 2023-07-28 17:08:21 +08:00
ioito
5c194057aa fix(region): ecs sync options 2023-07-28 14:22:34 +08:00
ioito
63a9b92545 fix(keystone): enable cloud shell 2023-07-28 11:49:14 +08:00
ioito
85f2a8238f fix(region): vendor update 2023-07-28 11:28:45 +08:00
ioito
8995cedf54 fix(region): optimized cloud-account-list 2023-07-28 10:51:53 +08:00
马鸿飞
455e367db5 fix(notify): drop event notification default receiver 2023-07-28 10:20:41 +08:00
Zexi Li
6723cd10c7 Merge pull request #17637 from ioito/hotfix/qx-account-purge
fix(region): purge account
2023-07-27 19:23:20 +08:00
ioito
e4fb97a2cc fix(region): purge account 2023-07-27 16:28:10 +08:00
Zexi Li
266bfade2e Merge pull request #17635 from wanyaoqi/fix/linux-arch-detecd
fix(host-deployer): detect image arch incorrect
2023-07-27 15:38:45 +08:00
Zexi Li
4348eca92b Merge pull request #17642 from zexi/automated-cherry-pick-of-#17641-upstream-master
Automated cherry pick of #17641: fix(scheduler): auto allocation network selection is not working
2023-07-27 15:37:13 +08:00
Zexi Li
3d573037ac Merge pull request #17644 from ioito/hotfix/qx-balance-currency
fix(region): balance currency
2023-07-27 14:53:09 +08:00
ioito
00110dd3ee fix(region): balance currency 2023-07-27 14:28:03 +08:00
Zexi Li
57751a20bf fix(scheduler): auto allocation network selection is not working 2023-07-27 12:20:23 +08:00
wanyaoqi
d3c2cd6a15 fix(host-deployer): detect image arch incorrect 2023-07-26 19:23:41 +08:00
Zexi Li
ae62ee4275 Merge pull request #17627 from gouqi11/fixNotifyRobotValidateErr
fix(notify): alert send
2023-07-26 18:10:08 +08:00
马鸿飞
0d5d19d2ef fix(notify): alert send 2023-07-26 17:46:47 +08:00
wanyaoqi
633b863b71 fix(host): storages bind mount should before host register
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-26 16:31:10 +08:00
Zexi Li
06134983a4 Merge pull request #17629 from ioito/hotfix/qx-vendor-update-0726
fix(region): vendor update
2023-07-26 11:39:00 +08:00
ioito
0ae3bd48e6 fix(region): vendor update 2023-07-26 11:06:40 +08:00
Zexi Li
1fe6285aef Merge pull request #17625 from gouqi11/FixAutoCreateProjectForProvider
fix(region): fix autoCreateProjectForProvider bug
2023-07-25 20:32:21 +08:00
马鸿飞
dfa74d2406 fix(region): fix autoCreateProjectForProvider bug 2023-07-25 20:05:54 +08:00
Zexi Li
d7081ffda6 Merge pull request #17623 from gouqi11/FixAutoCreateProjectForProvider
fix(region): auto create project for provider BUG FIX
2023-07-25 19:50:50 +08:00
Zexi Li
71238b6637 Merge pull request #17620 from ioito/hotfix/qx-vendor-update-0725
fix(region): vendor update
2023-07-25 18:34:50 +08:00
ioito
4fb6122f9b fix(region): vendor update 2023-07-25 18:20:30 +08:00
Zexi Li
fb69089dc8 Merge pull request #17619 from zexi/automated-cherry-pick-of-#17617-upstream-master
Automated cherry pick of #17617: fix(host): try reloading telegraf by restarting docker
2023-07-25 18:04:35 +08:00
Zexi Li
91f0da882c Merge pull request #17615 from ioito/hotfix/qx-webconsole-write
fix(webconsole): msg write
2023-07-25 17:59:23 +08:00
Zexi Li
0893dc5b79 Merge pull request #17606 from ioito/hotfix/qx-scheduler-failed-brand
fix(region): set scheduler failed brand unknown
2023-07-25 17:51:17 +08:00
Zexi Li
eac5941e62 fix(host): try reloading telegraf by restarting docker 2023-07-25 17:49:27 +08:00
ioito
01cf8f7eee fix(webconsole): msg write 2023-07-25 17:09:23 +08:00
马鸿飞
5b2978e1a3 fix(region): auto create project for provider BUG FIX 2023-07-25 16:53:48 +08:00
ioito
6b0f93b392 fix(region): set scheduler failed brand unknown 2023-07-24 16:18:20 +08:00
Zexi Li
ce5aefd8e6 Merge pull request #17597 from ioito/hotfix/qx-webconsole-command-record
fix(webconsole): ssh command record
2023-07-24 16:01:19 +08:00
Zexi Li
17b54b273b Merge pull request #17602 from ioito/hotfix/qx-nic-count
fix(region): usage for nic
2023-07-24 15:55:32 +08:00
Zexi Li
73fc792cc8 Merge pull request #17591 from gouqi11/addAutoCreateProjectForProvider
feat(region): allow auto create project for provider
2023-07-24 15:47:01 +08:00
马鸿飞
78d6b6d92a feat(region): allow auto create project for provider 2023-07-24 15:27:22 +08:00
ioito
42519169fe fix(region): usage for nic 2023-07-24 15:25:15 +08:00
ioito
10011bda7a fix(webconsole): ssh command record 2023-07-24 12:07:57 +08:00
Jian Qiu
b67d2cc450 fix: update vmware credential with host (#17589)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-24 10:47:17 +08:00
Zexi Li
624d245f1b Merge pull request #17592 from ioito/hotfix/qx-aws-redis-create
feat(region): aws redis create
2023-07-21 17:46:23 +08:00
ioito
62469ee08d feat(region): aws redis create 2023-07-21 17:32:59 +08:00
Zexi Li
70cfcfbe9f Merge pull request #17588 from zexi/automated-cherry-pick-of-#17587-upstream-master
Automated cherry pick of #17587: feat(climc): support download container image
2023-07-21 10:09:31 +08:00
Zexi Li
aad4f617a2 Merge pull request #17579 from swordqiu/hotfix/qj-organization-node-description-reset
fix: update organization node may clear description
2023-07-21 00:37:57 +08:00
Zexi Li
ff169dc45a Merge pull request #17582 from wanyaoqi/fix/qga-ping
fix(region): qga ping don't report error on host return error
2023-07-21 00:37:29 +08:00
Zexi Li
d350aab52c Merge pull request #17559 from ioito/hotfix/qx-server-sku-update
fix(region): server sku update attribute
2023-07-21 00:36:40 +08:00
Zexi Li
d6637aa3e3 feat(climc): support download container image 2023-07-21 00:17:17 +08:00
Zexi Li
8ef618435f Merge pull request #17585 from zexi/automated-cherry-pick-of-#17584-upstream-master
Automated cherry pick of #17584: feat(climc): support download helm chart
2023-07-20 22:25:16 +08:00
Zexi Li
75cfc39fe8 feat(climc): support download helm chart 2023-07-20 18:18:29 +08:00
Zexi Li
e4b2ee1edd Merge pull request #17580 from ioito/hotfix/qx-vendor-update-0720
fix(region): vendor update
2023-07-20 16:49:08 +08:00
wanyaoqi
a665c57879 fix(region): qga ping don't report error on host return error
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-20 16:33:33 +08:00
ioito
4a7220e1a6 fix(region): vendor update 2023-07-20 16:24:11 +08:00
Qiu Jian
860c7f98ec fix: update organization node may clear description 2023-07-20 15:30:31 +08:00
Zexi Li
29cd4e3af1 fix(monitor): return error if metric is nil (#17575) 2023-07-20 11:51:40 +08:00
Zexi Li
f5ddc9be96 Merge pull request #17567 from swordqiu/hotfix/qj-disable-app-profiling-by-default
fix: disable application profiling by default
2023-07-19 01:33:03 +08:00
Zexi Li
bf67c22c39 Merge pull request #17561 from swordqiu/hotfix/qj-organization-node-description
fix: node description update
2023-07-19 01:32:31 +08:00
Zexi Li
765a649cf3 Merge pull request #17564 from ioito/hotfix/qx-esxi-add-vmdk-disk
fix(region): esxi add vmdk disk
2023-07-19 01:30:38 +08:00
Qiu Jian
5eb50e369b fix: disable application profiling by default 2023-07-18 21:03:49 +08:00
Qiu Jian
7ac0347965 fix: node description update 2023-07-18 20:50:23 +08:00
ioito
0e1e66c28a fix(region): esxi add vmdk disk 2023-07-18 20:09:40 +08:00
Zexi Li
288bb6d900 Merge pull request #17548 from ioito/hotfix/qx-skip-sync-resource
fix(region): skip sync resource when account created
2023-07-18 17:42:04 +08:00
Zexi Li
d0682a0656 Merge pull request #17453 from gouqi11/addResourceTranslate
fix(common): add resource translate
2023-07-18 17:41:22 +08:00
Zexi Li
7d0f52573d Merge pull request #17534 from ioito/hotfix/qx-eip-bgp-type
fix(region): server eip bgp type
2023-07-18 17:40:14 +08:00
Zexi Li
d51652354b Merge pull request #17547 from wanyaoqi/fix/telegraf-ignore-hugetlbfs
fix(host): telegraf ignore hugetlbfs
2023-07-18 17:39:45 +08:00
Zexi Li
d153dde452 Merge pull request #17550 from ioito/hotfix/qx-esxi-vmdk-disk
fix(region): esxi disk with vmdk format
2023-07-18 17:37:27 +08:00
ioito
d8daf1eda8 fix(region): server sku update attribute 2023-07-18 16:16:40 +08:00
ioito
c5717f8097 fix(region): esxi disk with vmdk format 2023-07-17 18:18:32 +08:00
ioito
df81a7b18e fix(region): skip sync resource when account created 2023-07-17 17:47:27 +08:00
wanyaoqi
2be7c81fa7 fix(host): telegraf ignore hugetlbfs
Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-07-17 16:09:27 +08:00
ioito
e28a60e616 fix(region): server eip bgp type 2023-07-14 19:12:33 +08:00
Zexi Li
bda6019cb0 Merge pull request #17527 from wanyaoqi/fix/host-find-python-path
fix(host): find python path on guestman init
2023-07-14 18:22:55 +08:00
Zexi Li
44f964f849 Merge pull request #17521 from swordqiu/hotfix/qj-lbagent-missing-stats
fix: lbcluster reference count
2023-07-14 18:14:35 +08:00
Zexi Li
0ba5e89a5b Merge pull request #17493 from zexi/upload-chart
feat(climc): upload helm chart to a repository
2023-07-14 18:08:42 +08:00
Zexi Li
f4e8f5eb13 Merge pull request #17525 from gouqi11/fixHcsoProviderDescriber
20230714 make mod
2023-07-14 10:57:41 +08:00
wanyaoqi
1d8a34a3b6 fix(host): find python path on guestman init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-07-14 10:42:50 +08:00
马鸿飞
19e053e4db 20230714 make mod 2023-07-14 10:28:15 +08:00
Qiu Jian
7f495e19a6 fix: lbcluster reference count 2023-07-14 05:37:33 +08:00
Zexi Li
db224bc0da Merge pull request #17519 from ioito/hotfix/qx-server-template-filter-by-cloud-env
fix(region): support filter by cloud_env for servertemplate
2023-07-13 21:45:52 +08:00
Zexi Li
22c764246a Merge pull request #17509 from wanyaoqi/feat/ovs-offload-vpc-support
fix(region,scheduler): ovs offload support vpc network
2023-07-13 21:45:07 +08:00
Zexi Li
98e7ea5d4d Merge pull request #17517 from ioito/hotfix/qx-clean-skip-sync-resource
fix(region): clean skip sync resources
2023-07-13 21:43:28 +08:00
ioito
9542d59423 fix(region): support filter by cloud_env for servertemplate 2023-07-13 20:36:49 +08:00
ioito
543959f9e2 fix(region): clean skip sync resources 2023-07-13 20:14:59 +08:00
屈轩
e78138dc85 fix(climc): add port for ssh (#17513) 2023-07-13 16:39:48 +08:00
Zexi Li
3e60f6633e Merge pull request #17505 from CloudCourierStation/master
fix fillStorage get storage cause scheduler panic
2023-07-13 15:24:44 +08:00
Zexi Li
c67685ab23 Merge pull request #17506 from ioito/hotfix/qx-account-skip-sync-resource
fix(region): account update for skip sync resources
2023-07-13 14:55:03 +08:00
wanyaoqi
9e6b8ed538 fix(region,scheduler): ovs offload support vpc network 2023-07-13 14:37:59 +08:00
ioito
cfa7757786 fix(region): account update for skip sync resources 2023-07-13 10:41:39 +08:00
吴典秋
6e06d6eea2 fix fillStorage get storage cause scheduler panic 2023-07-13 08:34:24 +08:00
Jian Qiu
0e81f9c2bd fix: inconsistent organization node label and level (#17490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-12 16:17:28 +08:00
屈轩
311062b973 fix(region): esxi vm migrate for search ivm (#17479) 2023-07-12 16:16:38 +08:00
屈轩
c3485e40f5 fix(region): reset esxi osinfo (#17476) 2023-07-12 16:15:27 +08:00
wanyaoqi
a36d9767af fix(region,host): qga command timeout (#17465)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-07-12 16:14:55 +08:00
Zexi Li
fef8ab82ec Merge pull request #17494 from ioito/hotfix/qx-aliyun-eip-bgp-pro
fix(region): aliyun eip bgp pro
2023-07-12 12:14:53 +08:00
Zexi Li
b22d2df28c feat(climc): upload helm chart to a repository 2023-07-11 17:51:10 +08:00
ioito
2e3f007eaa fix(region): aliyun eip bgp pro 2023-07-11 15:50:41 +08:00
Zexi Li
2d2dbe75a0 Merge pull request #17483 from swordqiu/hotfix/qj-organization-add-level-nodes
fix: organization add node and level
2023-07-11 11:02:58 +08:00
Zexi Li
e013961dde Merge pull request #17482 from gouqi11/addZoomWebhook
feat(notify): add more config for webhook
2023-07-11 11:02:06 +08:00
Zexi Li
70607dd516 Merge pull request #17486 from swordqiu/hotfix/qj-remove-class-lock-in-task
fix: remove class lock in task
2023-07-11 10:09:32 +08:00
Zexi Li
d46fa2e865 Merge pull request #17469 from ioito/hotfix/qx-default-user
fix(region): default username
2023-07-11 10:08:26 +08:00
马鸿飞
5a08b8c38b feat(notify): add more config for webhook 2023-07-11 10:05:23 +08:00
Qiu Jian
a9d2754545 fix: remove class lock in task 2023-07-11 04:37:25 +08:00
Qiu Jian
852274caba fix: organization add node and level 2023-07-10 17:39:34 +08:00
Zexi Li
fab27240b7 Merge pull request #17472 from ioito/hotfix/qx-esxi-reset-password-log
fix(esxi-agent): reset password log
2023-07-10 16:09:08 +08:00
ioito
4717307b92 fix(esxi-agent): reset password log 2023-07-10 15:52:46 +08:00
ioito
80866ad5f5 fix(region): default username 2023-07-10 15:25:02 +08:00
wanyaoqi
d07dd8a930 fix(host): lvm disk create from template (#17462) 2023-07-09 17:10:16 +08:00
Jian Qiu
1e43f75767 fix: increase handler time if force_no_paging is on (#17459)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-09 07:37:34 +08:00
Zexi Li
1f469102dc Merge pull request #17455 from ioito/hotfix/qx-aliyun-pl0
fix(region): support aliyun pl0 storage
2023-07-07 10:24:35 +08:00
马鸿飞
10ce7b2edf fix(common): add resource translate 2023-07-06 20:34:46 +08:00
ioito
fbf5c04099 fix(region): support aliyun pl0 storage 2023-07-06 20:33:08 +08:00
Zexi Li
35c34b74ee Merge pull request #17445 from ioito/hotfix/qx-write-err-msg-for-webconsole
fix(webconsole): show exit msg for webconsole
2023-07-06 11:31:15 +08:00
Jian Qiu
b2bccef742 fix: allow set executor connection timeout (#17448)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-06 01:18:01 +08:00
Zexi Li
ab8415f20e feat(climc): add container registry cmd for k8s service (#17447) 2023-07-06 01:15:35 +08:00
ioito
7870f67b8e fix(webconsole): show exit msg for webconsole 2023-07-05 15:20:22 +08:00
Jian Qiu
b57fdc6dfa fix: add bind/unbind actions (#17443)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-07-05 01:20:35 +08:00
Zexi Li
6a50015029 Merge pull request #17122 from gouqi11/fixUserPwdExpiredNotify
fix(notify): remove topic_tbl.advance_days
2023-07-04 11:16:25 +08:00
Zexi Li
74d7bd20f4 Merge pull request #17435 from ioito/hotfix/qx-skip-res-sync
fix(region): support skip sync resource
2023-07-03 18:23:52 +08:00
ioito
33694abfe5 fix(region): support skip sync resource 2023-07-03 14:51:06 +08:00
Zexi Li
07fcaaa2be Merge pull request #17430 from gouqi11/fixRegionGuestListIpFromMetadata
fix(region): fix server list type and ip from metadata
2023-07-03 11:07:35 +08:00
Zexi Li
866c4ed8eb Merge pull request #17385 from wanyaoqi/automated-cherry-pick-of-#17384-upstream-master
Automated cherry pick of #17384: fix(region): get guestdisks count filter deleted guests
2023-07-01 00:04:16 +08:00
Zexi Li
bc4f28e019 Merge pull request #17425 from swordqiu/hotfix/qj-more-event-show
fix: more event show subcmd
2023-07-01 00:01:36 +08:00
Zexi Li
61dda6e28f Merge pull request #17427 from swordqiu/hotfix/qj-guest-image-delete-panic
fix: guestimage log panic
2023-07-01 00:01:03 +08:00
马鸿飞
cbb993493f fix(region): fix server list type and ip from metadata 2023-06-30 17:30:40 +08:00
Qiu Jian
c15069ddbb fix: guestimage log panic 2023-06-30 14:55:22 +08:00
Qiu Jian
795a983fe0 fix: more event show subcmd 2023-06-30 12:15:32 +08:00
Zexi Li
164738fb2c Merge pull request #17395 from gouqi11/addGetSubscriptionTopicType
fix(notify): add more details for emailqueue
2023-06-30 10:15:23 +08:00
Zexi Li
356488d3cf Merge pull request #17414 from ioito/hotfix/qx-vendor-update-0629
fix(region): vendor update
2023-06-29 20:21:07 +08:00
Zexi Li
11da3cdbe4 Merge pull request #17416 from ioito/hotfix/qx-storage-offline-reason
fix(host): log storage offline reason
2023-06-29 20:16:22 +08:00
Zexi Li
36e538ae79 Merge pull request #17421 from zexi/automated-cherry-pick-of-#17420-upstream-master
Automated cherry pick of #17420: fix(vpcagent): fetch data from region server defaultly
2023-06-29 20:15:49 +08:00
马鸿飞
96e3146608 fix(notify): add more details for emailqueue 2023-06-29 20:14:04 +08:00
Zexi Li
a8e8474425 fix(vpcagent): fetch data from region server defaultly 2023-06-29 20:01:29 +08:00
ioito
849900f3ce fix(host): log storage offline reason 2023-06-29 17:46:02 +08:00
ioito
452b5ed76e fix(region): vendor update 2023-06-29 17:21:11 +08:00
Zexi Li
5d3610d49f Merge pull request #17410 from ioito/hotfix/qx-pve
fix(region): pve create
2023-06-29 16:25:36 +08:00
ioito
2b9d01dbf2 fix(region): pve create 2023-06-29 15:47:05 +08:00
Zexi Li
4212dfd867 Merge pull request #17406 from ioito/hotfix/qx-qemu-iso
fix(image): optimized iso format check
2023-06-29 15:40:39 +08:00
Zexi Li
888a8afc2e Merge pull request #17404 from ioito/hotfix/qx-cached-image-sync
fix(region): cached image info sync
2023-06-29 15:39:17 +08:00
ioito
70af8c46c7 fix(image): optimized iso format check 2023-06-29 14:05:04 +08:00
ioito
27f701b2f8 fix(region): cached image info sync 2023-06-29 13:23:44 +08:00
Zexi Li
1a0137ff90 Merge pull request #17401 from swordqiu/hotfix/qj-bucket-short-desc
fix: bucket short descption
2023-06-29 06:30:10 +08:00
Qiu Jian
9232276b41 fix: bucket short descption 2023-06-29 02:50:01 +08:00
Zexi Li
8206e651ce fix(host): add some logs for dhcp relay (#17387) 2023-06-27 23:50:52 +08:00
Zexi Li
2677fd46b1 Merge pull request #17361 from gouqi11/addGetSubscriptionTopicType
fix(notify): add getSubscriberFunc more details
2023-06-27 20:23:01 +08:00
wanyaoqi
e85d4a6c6e fix(region): get guestdisks count filter deleted guests
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-27 18:16:33 +08:00
Zexi Li
0d2163eadf Merge pull request #17377 from ioito/hotfix/qx-vendor-update-openstack-snapshot
fix(region): vendor update
2023-06-27 11:03:19 +08:00
ioito
2604671211 fix(region): vendor update 2023-06-27 10:32:10 +08:00
Zexi Li
b8a1451cce Merge pull request #17374 from ioito/hotfix/qx-vendor-update-aliyun-k8s-disk
fix(region): vendor update
2023-06-26 20:02:26 +08:00
ioito
f6f244a1a6 fix(region): vendor update 2023-06-26 20:01:03 +08:00
Zexi Li
bad22b957b Merge pull request #17373 from ioito/hotfix/qx-vendor-update-0626
fix(region): vendor update
2023-06-26 18:32:04 +08:00
ioito
4a28881696 fix(region): vendor update 2023-06-26 18:29:43 +08:00
Zexi Li
ba0cf30305 Merge pull request #17370 from ioito/hotfix/qx-zstack-ip
fix(region): sync zstack vm ip
2023-06-26 16:40:05 +08:00
ioito
e246dae81a fix(region): sync zstack vm ip 2023-06-26 16:04:19 +08:00
马鸿飞
5f856aa79b fix(notify): add getSubscriberFunc more details 2023-06-26 10:42:13 +08:00
Zexi Li
8eb8cd5c89 Merge pull request #17366 from ioito/hotfix/qx-vendor-update-0625
fix(region): avoid aliyun elastic cache cycle sync
2023-06-26 10:12:53 +08:00
ioito
31f60cf253 fix(region): avoid aliyun elastic cache cycle sync 2023-06-25 21:01:32 +08:00
Zexi Li
55823b1710 Merge pull request #17364 from ioito/hotfix/qx-aliyun-node-pool
fix(region): vendor update
2023-06-25 16:03:29 +08:00
ioito
b931e127ee fix(region): vendor update 2023-06-25 16:00:38 +08:00
Jian Qiu
ec2b0c7bb4 fix: more organization cmds (#17358)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-25 14:54:45 +08:00
Jian Qiu
70b4b43b02 fix: delete organization alse delete cache (#17357)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-22 11:25:14 +08:00
Jian Qiu
e33e8337e0 fix: organization node no details (#17356)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-22 00:13:10 +08:00
Jian Qiu
0d50c36eb0 fix: force no paging limit for list (#17354)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 20:16:45 +08:00
Zexi Li
a13dac1d13 Merge pull request #17351 from gouqi11/addGetSubscriptionTopicType
fix(notify): add topic_type for get subscription
2023-06-21 17:16:21 +08:00
Zexi Li
b2b1f7ce4e Merge pull request #17345 from swordqiu/hotfix/qj-process-timeout-options
fix: add process timeout option default_process_timeout_seconds
2023-06-21 16:38:48 +08:00
Zexi Li
eeee264e86 Merge pull request #17349 from ioito/hotfix/qx-account-filter
fix(region): cloudaccount filter
2023-06-21 16:38:13 +08:00
马鸿飞
aad2e22f3d fix(notify): add topic_type for get subscription 2023-06-21 16:31:59 +08:00
ioito
7b8d8d029a fix(region): cloudaccount filter 2023-06-21 15:58:40 +08:00
Qiu Jian
96581515d1 fix: add process timeout option default_process_timeout_seconds 2023-06-21 13:01:07 +08:00
Jian Qiu
a4a64c128a fix: async create external project (#17319)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:04:43 +08:00
屈轩
a2dccb65a2 fix(region): vendor update (#17332) 2023-06-21 10:04:22 +08:00
wanyaoqi
3a42de8648 fix(region): remove capabilites debug query (#17337) 2023-06-21 10:03:30 +08:00
Jian Qiu
6df5327864 fix: project organization details (#17339)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:02:50 +08:00
Jian Qiu
790fb3cefc fix: detailed pending usage error (#17340)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-21 10:02:09 +08:00
Zexi Li
e10b4a6d13 Merge pull request #17323 from wanyaoqi/fix/ubuntu-like-uos
fix(host-deployer): ubuntu like uos detect
2023-06-20 10:43:15 +08:00
Zexi Li
0430283bd7 Merge pull request #17327 from zexi/automated-cherry-pick-of-#17326-upstream-master
Automated cherry pick of #17326: fix(baremetal): panic occured when fetch powerMetrics
2023-06-20 10:42:48 +08:00
Zexi Li
44cc107564 Merge pull request #17329 from gouqi11/fixListitemFilterSlices
fix(region): listitemfilter ignore empty slice
2023-06-20 10:42:22 +08:00
马鸿飞
096f09d85a fix(region): listitemfilter ignore empty slice 2023-06-20 10:29:52 +08:00
马鸿飞
1b31a815b2 fix(notify): remove topic_tbl.advance_days 2023-06-19 17:09:08 +08:00
Zexi Li
233997e51f fix(baremetal): panic occured when fetch powerMetrics 2023-06-19 14:53:11 +08:00
wanyaoqi
17e441d85b fix(host-deployer): ubuntu like uos detect 2023-06-19 11:20:12 +08:00
Zexi Li
f46e152d6f Merge pull request #17316 from ioito/hotfix/qx-gpu-count
fix(region): 支持1/2类似的gpu数量
2023-06-15 20:52:39 +08:00
ioito
96b562e6bb fix(region): 支持1/2类似的gpu数量 2023-06-15 20:29:33 +08:00
Zexi Li
d744332cd5 Merge pull request #17286 from ioito/hotfix/qx-sku-sync-optimized
fix(region): optimized sku sync
2023-06-15 20:26:35 +08:00
Zexi Li
cee55e7f96 Merge pull request #17267 from gouqi11/addRegionListOption
fix(region): support slice for list
2023-06-15 16:10:20 +08:00
马鸿飞
042fa61058 fix(region): support slice for list 2023-06-15 15:51:36 +08:00
Zexi Li
e30ed26e3d Merge pull request #17308 from gouqi11/addOptionToGetReceiverSubscription
fix(notify): add option to filter disabled subscription
2023-06-15 15:48:40 +08:00
Zexi Li
b71858b60a Merge pull request #17312 from swordqiu/hotfix/qj-logclient-add-progress-event
fix: logclient add event of progress
2023-06-15 10:28:46 +08:00
Qiu Jian
8713a69e8f fix: logclient add event of progress 2023-06-15 02:49:51 +08:00
Zexi Li
2ebffc89b1 Merge pull request #17306 from wanyaoqi/fix/guest-detach-disk
fix(region): guest detach disk task duplicate callback
2023-06-15 00:03:16 +08:00
Zexi Li
1d9f6bdc6a Merge pull request #17300 from ioito/hotfix/qx-vendor-update-0614
fix(region): vendor update
2023-06-14 22:47:57 +08:00
Zexi Li
a601ece9cf Merge pull request #17281 from swordqiu/feature/qj-organization
Feature/qj organization
2023-06-14 22:47:38 +08:00
Zexi Li
8d3e14f462 Merge pull request #17275 from wanyaoqi/fix/live-migrate-blocks
fix(region,host): virtio dirver local disk live migrate
2023-06-14 22:47:06 +08:00
Zexi Li
1e55cefbd7 Merge pull request #17284 from wanyaoqi/feat/no-hpet
fix(host): host add option no_hpet
2023-06-14 22:46:32 +08:00
Zexi Li
d8ebd5bce0 Merge pull request #17289 from zexi/automated-cherry-pick-of-#17288-upstream-master
Automated cherry pick of #17288: fix(baremetal): skip 'Volatile Size' line when detecting memory size
2023-06-14 22:46:11 +08:00
马鸿飞
b217beb549 fix(notify): add option to filter disabled subscription 2023-06-14 20:05:34 +08:00
wanyaoqi
933520f89c fix(region): guest detach disk task duplicate callback 2023-06-14 16:56:24 +08:00
Zexi Li
33b1eea2c7 Merge pull request #17299 from zhasm/hotfix/rex-docker-manifest-annotate-local-build
fix(docker,buildx): 兼容本地registry 模式
2023-06-14 15:31:24 +08:00
Zhang Dongliang
f7051bc618 fix(docker,buildx): 兼容本地registry 模式 2023-06-14 15:13:34 +08:00
ioito
0820edd5b2 fix(region): vendor update 2023-06-14 15:04:37 +08:00
ioito
dc388928e7 fix(region): optimized sku sync 2023-06-13 20:07:50 +08:00
Zexi Li
3b74c006cc Merge pull request #17292 from zhasm/hotfix/rex-docker-manifest-annotate
fix(docker,buildx): 跨平台编译优化
2023-06-13 17:27:37 +08:00
Zhang Dongliang
d8a543e79a fix(docker,buildx): 跨平台编译优化 2023-06-13 17:07:00 +08:00
wanyaoqi
3db004d5a8 fix(region,host): virtio dirver local disk live migrate
Guest using the virtio-blk driver for local disks, iothread is used to
handle IO operations, Qemu will segfault when copying disks during live
migration. To address this issue, use nbd server and drive_mirror
approach to copy the disks.
2023-06-13 16:32:24 +08:00
Zexi Li
114b49150a Merge pull request #17277 from wanyaoqi/fix/qga-set-password-withiso
fix(region): qga set password not record logininfo
2023-06-13 13:18:42 +08:00
Zexi Li
48ef57ba81 Merge pull request #17282 from wanyaoqi/fix/live-migrate-init-port
fix(host): get live migration port before generate desc
2023-06-13 13:18:11 +08:00
Zexi Li
d61e97307c fix(baremetal): skip 'Volatile Size' line when detecting memory size 2023-06-13 13:15:49 +08:00
Qiu Jian
10e5c2189e feature: originazaiton commit 2023-06-13 00:28:24 +08:00
Qiu Jian
5f64835974 feature: organization backend 2023-06-12 18:08:35 +08:00
wanyaoqi
de8d4e588c fix(host): host add option no_hpet
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-12 17:22:46 +08:00
wanyaoqi
dd4a88b838 fix(host): get live migration port before generate desc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-12 16:23:33 +08:00
wanyaoqi
abbfc12f34 fix(region): qga set password not record logininfo
guest create from iso no login_account, record login_account when login
account is empty.
2023-06-12 10:28:48 +08:00
Zexi Li
e6a4361c92 Merge pull request #17183 from ioito/hotfix/qx-snapshot-policy-create
fix(region): snapshot policy create and update
2023-06-12 10:09:03 +08:00
Zexi Li
fcf8b77d6a Merge pull request #17258 from wanyaoqi/fix/isolated-device-register
fix(region): validate isolated device register
2023-06-09 16:17:55 +08:00
屈轩
c4680e2336 fix(region): qcloud hypervisor (#17263) 2023-06-08 21:20:08 +08:00
wanyaoqi
651fb8b00e fix(region): validate isolated device register
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-07 16:29:57 +08:00
Zexi Li
318828ba91 Merge pull request #17246 from wanyaoqi/feat/lvm-sys
feat(region,host): support lvm disk as guest sys disk
2023-06-06 14:20:19 +08:00
Zexi Li
b514bc8708 Merge pull request #17250 from ioito/hotfix/qx-host-filter-by-ips
fix(region): filter host by ips
2023-06-06 14:17:12 +08:00
ioito
948e699e93 fix(region): filter host by ips 2023-06-05 17:05:24 +08:00
ioito
8e73df76f2 fix(region): snapshot policy create and update 2023-06-05 16:43:47 +08:00
wanyaoqi
52d1cf26ab feat(region,host): support lvm disk as guest sys disk 2023-06-05 16:06:58 +08:00
Zexi Li
7f37f1533b Merge pull request #17229 from ioito/hotfix/qx-ssh-exit
fix(webconsole): ssh exit
2023-06-03 10:58:59 +08:00
Zexi Li
89baa2fa0c Merge pull request #17240 from wanyaoqi/fix/do-not-sync-status-on-resume
fix(host): don't sync status on resume from postmigrate
2023-06-03 10:58:16 +08:00
Zexi Li
5c0e6212fd Merge pull request #17238 from ioito/hotfix/qx-swagger-api
fix(region): swagger api update
2023-06-03 10:56:32 +08:00
Zexi Li
22191739f1 Merge pull request #17231 from ioito/hotfix/qx-aliyun-k8s
fix(region): support aliyun k8s op
2023-06-03 10:55:35 +08:00
wanyaoqi
73cc956474 fix(host): don't sync status on resume from postmigrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-06-02 18:40:48 +08:00
ioito
cbe6216da2 fix(region): swagger api update 2023-06-02 17:26:06 +08:00
ioito
84ebd491a0 fix(region): support aliyun k8s op 2023-06-02 10:23:00 +08:00
wanyaoqi
51908b2605 fix(host): nics get sys conf quiet (#17205) 2023-06-01 20:46:04 +08:00
Jian Qiu
50fd2c53fa fix: allow LDAP sync extra tags (#17202)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-06-01 20:45:19 +08:00
Zexi Li
10bf63c529 feat(climc): add service option for action-show command (#17223) 2023-06-01 20:44:15 +08:00
Zexi Li
46e6394da5 Merge pull request #17225 from gouqi11/fixRegionCreatedAt
fix(apigateway): add handler for user to get self topic subscriptions
2023-06-01 17:55:04 +08:00
ioito
4ed58070d9 fix(webconsole): ssh exit 2023-06-01 17:45:32 +08:00
马鸿飞
c029c4a1fc fix(apigateway): add handler for user to get self topic subscriptions 2023-06-01 16:32:01 +08:00
Zexi Li
038ef437d5 Merge pull request #17219 from ioito/hotfix/qx-vendor-update-0531
fix(region): vendor update
2023-05-31 21:37:27 +08:00
ioito
343c4782c8 fix(region): vendor update 2023-05-31 20:29:46 +08:00
Zexi Li
5a7e4eb85d Merge pull request #17214 from gouqi11/fixRegionCreatedAt
fix(region): fix region.CreatedAt
2023-05-31 19:08:13 +08:00
马鸿飞
39688f6c10 fix(region): fix region.CreatedAt 2023-05-31 16:14:40 +08:00
Zexi Li
8f207d5cb7 Merge pull request #17212 from zexi/automated-cherry-pick-of-#17208-upstream-master
Automated cherry pick of #17208: optimized(monitor): query metrics time
2023-05-31 15:19:56 +08:00
Zexi Li
d17bfc73bc optimized(monitor): query metrics time 2023-05-31 15:02:19 +08:00
屈轩
34bbb8777b fix(region): sync cloud project log (#17198) 2023-05-30 22:58:11 +08:00
wanyaoqi
4f4a85eaf6 fix(host): miss return on syncDiskConf (#17200)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 22:57:29 +08:00
Zexi Li
8a84b80f14 fix(climc): release upgrade method (#17195) 2023-05-30 22:57:04 +08:00
Zexi Li
28fbcd97fb Merge pull request #17180 from ioito/hotfix/qx-vpc-purge
fix(region): vpc purge
2023-05-30 17:41:28 +08:00
Zexi Li
052d467c28 Merge pull request #17187 from swordqiu/hotfix/qj-apigateway-endpoint-error-empty
fix: apigateway endpoint empty error
2023-05-30 17:40:44 +08:00
Zexi Li
e6a1e42668 Merge pull request #17191 from wanyaoqi/fix/isolated_device_model_hot_pluggable
fix(region): isolated device model add properties hot pluggable
2023-05-30 17:40:18 +08:00
Zexi Li
c7fcf46019 Merge pull request #17184 from ioito/hotfix/qx-server-list-by-ips
fix(region): server list filter by ips
2023-05-30 17:39:06 +08:00
wanyaoqi
d8fcce5e39 fix(region): isolated device model add properties hot pluggable
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-30 11:49:18 +08:00
Qiu Jian
fc5344c80f fix: apigateway endpoint empty error 2023-05-30 11:17:48 +08:00
ioito
0f51d879d6 fix(region): server list filter by ips 2023-05-29 20:30:32 +08:00
Zexi Li
a43181dc7d Merge pull request #17177 from ioito/hotfix/qx-k8s-manager-id
fix(region): kube cluster manager id
2023-05-29 17:01:03 +08:00
ioito
808226d038 fix(region): vpc purge 2023-05-29 16:45:01 +08:00
ioito
ceb64f7190 fix(region): kube cluster manager id 2023-05-29 12:57:50 +08:00
Zexi Li
815764f404 Merge pull request #17171 from wanyaoqi/fix/host-cpu-topo
fix(host): adapt arm host no l3 cache but has l1/l2
2023-05-29 11:31:40 +08:00
Zexi Li
b1c277d743 Merge pull request #17173 from wanyaoqi/fix/set-auto-migrate
fix(region): request host set auto migrate use hostId
2023-05-29 11:31:00 +08:00
Zexi Li
6b2ffed711 Merge pull request #17175 from wanyaoqi/fix/check-hugepage-update-mem-cmtbound
fix(region): check host update cmtbound on hugepage host
2023-05-29 11:30:27 +08:00
wanyaoqi
05ec1ed7b1 fix(region): check host update cmtbound on hugepage host
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-29 11:12:35 +08:00
wanyaoqi
064d6531ae fix(region): request host set auto migrate use hostId 2023-05-29 10:14:35 +08:00
wanyaoqi
2f59153bba fix(host): adapt arm host no l3 cache but has l1/l2
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-26 22:57:31 +08:00
Jian Qiu
2825390930 fix: resource short desc for elasticcache and natgateway (#17169)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 18:55:37 +08:00
Jian Qiu
361616daa8 fix: make cron day job happen earlier (#17166)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:01:35 +08:00
Jian Qiu
7bf47eccde fix: resource short desc (#17164)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-26 17:01:12 +08:00
Zexi Li
e667bb8cf9 Merge pull request #17160 from wanyaoqi/fix/get-pci-controller-type
fix(host): get pci controller type
2023-05-26 15:23:50 +08:00
Zexi Li
a6614bedcf Merge pull request #17163 from ioito/hotfix/qx-node-pool-instance-count
fix(region): node pool instance min count
2023-05-26 15:23:24 +08:00
ioito
9ca8553396 fix(region): node pool instance min count 2023-05-26 15:11:56 +08:00
Zexi Li
8fdd2680be Merge pull request #17162 from ioito/hotfix/qx-node-pool-keypair
fix(region): node pool keypair
2023-05-26 15:09:30 +08:00
ioito
aafcd3e9b1 fix(region): node pool keypair 2023-05-26 14:38:17 +08:00
Zexi Li
543e1c5cdb Merge pull request #16810 from gouqi11/resetNotificationManager
fix(notify): reset notifications
2023-05-26 10:57:38 +08:00
Zexi Li
2fcc0264c3 Merge pull request #17159 from ioito/hotfix/qx-vendor-update-0525
fix(region): vendor update
2023-05-26 10:27:17 +08:00
wanyaoqi
42040bcb54 fix(host): get pci controller type
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 20:43:51 +08:00
Zexi Li
5181c6bf56 Merge pull request #17156 from gouqi11/fixKeystoneRefreshScopeResourceCountTimeout
fix(keystone): fix refreshScopeResourceCount timeout
2023-05-25 20:12:29 +08:00
ioito
13a00e9d4f fix(region): vendor update 2023-05-25 16:16:11 +08:00
马鸿飞
aaffc64d3d fix(keystone): fix refreshScopeResourceCount timeout 2023-05-25 15:23:32 +08:00
Zexi Li
2fe92ee856 Merge pull request #17153 from ioito/hotfix/qx-node-pool-key
fix(region): node pool keypair
2023-05-25 13:24:55 +08:00
Zexi Li
c0179e5ee6 Merge pull request #17154 from ioito/hotfix/qx-export-err-msg
fix(region): image export
2023-05-25 13:24:13 +08:00
ioito
494d34ef9d fix(region): image export 2023-05-25 12:12:54 +08:00
ioito
ddc1cc083e fix(region): node pool keypair 2023-05-25 12:11:31 +08:00
wanyaoqi
a6ed1817ee fix(host): arm cdrom hotplug (#17150)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-25 06:47:25 +08:00
Zexi Li
a555034d28 feat(climc): make cloud-provider-clirc supports output format (#17146) 2023-05-24 19:01:09 +08:00
Zexi Li
88fd89a2fe feat(climc): support output yaml format (#17144) 2023-05-24 19:00:42 +08:00
屈轩
24242a6dc0 fix(region): support save cloud image to glance (#17148) 2023-05-24 18:58:02 +08:00
wanyaoqi
84a27473f7 fix(host): compatible host no l3 cache (#17094)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-24 06:25:35 +08:00
屈轩
6f4bdbbfa8 fix(region): support shutdown mode (#17137) 2023-05-24 06:24:49 +08:00
wanyaoqi
5032c219be fix(host): hotplug pcie device use pcie root port (#17129) 2023-05-24 06:24:29 +08:00
Zexi Li
5060410b05 Merge pull request #17142 from ioito/hotfix/qx-eks-endpoint
fix(region): eks access
2023-05-24 02:07:29 +08:00
ioito
cc4ce5067c fix(region): eks access 2023-05-24 02:05:44 +08:00
Zexi Li
d29ae5ca0d Merge pull request #17140 from ioito/hotfix/qx-aws-net
fix(region): support aws assign public ip with network
2023-05-24 00:05:25 +08:00
ioito
75924503bd fix(region): support aws assign public ip with network 2023-05-23 23:31:23 +08:00
Zexi Li
f3f01b3b0f Merge pull request #17139 from zexi/kukbe-node-pool-list-opt
fix(region): add CloudKubeClusterId option in KubeNodePoolListInput
2023-05-23 22:39:12 +08:00
Zexi Li
b8047f5043 fix(region): add CloudKubeClusterId option in KubeNodePoolListInput 2023-05-23 21:25:47 +08:00
Zexi Li
d18f59b9a1 Merge pull request #17135 from ioito/hotfix/qx-aws-tag
fix(region): aws tag sync
2023-05-23 21:16:42 +08:00
ioito
9880306807 fix(region): aws tag sync 2023-05-23 19:41:57 +08:00
Zexi Li
36f7b01be8 Merge pull request #17133 from ioito/hotfix/qx-vendor-update-20230523
fix(region): vendor update
2023-05-23 14:28:56 +08:00
ioito
ad09ce5d68 fix(region): vendor update 2023-05-23 14:26:56 +08:00
Zexi Li
53179cfdf6 Merge pull request #17120 from ioito/hotfix/qx-policy-cache
fix(cloudid): cache policy for cloud
2023-05-23 12:00:50 +08:00
马鸿飞
b01b44054e fix(notify): reset notifications 2023-05-23 11:38:54 +08:00
Zexi Li
699d58fcb9 Merge pull request #17125 from ioito/hotfix/qx-index
fix(region): index order
2023-05-23 11:24:07 +08:00
ioito
86200dffcf fix(region): index order 2023-05-23 10:59:10 +08:00
ioito
8ca4a542e4 fix(cloudid): cache policy for cloud 2023-05-22 11:59:45 +08:00
gzericlee
312c7584bd feat(bingocloud): add bingoiam for oauth2 (#17083)
Co-authored-by: 李锐 <lirui@bingosoft.net>
2023-05-20 02:13:01 +08:00
wanyaoqi
6788a154c8 fix(host): record live migrate resume task (#17092)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:12:39 +08:00
Jian Qiu
ec66ff06be fix: lbagent fail to start due to empty prioty and interface (#17116)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-20 02:10:45 +08:00
wanyaoqi
810a96b52e fix(host): pciroot not assigned in switch case (#17101)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:10:17 +08:00
wanyaoqi
0453999f8b fix(host): don't init pcie to pci bridge on pci extend disabled (#17114)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-20 02:09:56 +08:00
Zexi Li
4cb4a1fac0 Merge pull request #17103 from ioito/hotfix/qx-kube-cluster
fix(region): support kube cluster create
2023-05-19 17:48:43 +08:00
Zexi Li
9ed7bb2bc9 fix(baremetal): skip running sysinit.sh when arch is aarch64 (#17105) 2023-05-19 17:35:01 +08:00
Zexi Li
e006ecf281 Merge pull request #17108 from gouqi11/fixUserPwdExpiredNotify
fxi(scheduledtask): skip task when scheduledtask.labels is empty
2023-05-19 17:30:36 +08:00
ioito
336f92f111 fix(region): support kube cluster create 2023-05-19 15:56:35 +08:00
马鸿飞
f06b76bf28 fxi(scheduledtask): skip task when scheduledtask.labels is empty 2023-05-19 15:45:50 +08:00
Zexi Li
1ee6cb3f2e Merge pull request #17098 from gouqi11/fixUserPwdExpiredNotify
fix(keystone): user pwd expired notify bug fix
2023-05-19 12:06:17 +08:00
马鸿飞
b811b67776 fix(keystone): user pwd expired notify bug fix 2023-05-19 11:51:56 +08:00
Zexi Li
d74f6494f5 Merge pull request #17096 from ioito/hotfix/qx-notify-v2
fix(climc): notify v2
2023-05-19 11:28:45 +08:00
ioito
2e2212f146 fix(climc): notify v2 2023-05-19 11:07:58 +08:00
Zexi Li
c71367b30a Merge pull request #17077 from ioito/hotfix/qx-image-upload-properties
fix(apigateway): image upload with properties
2023-05-19 10:49:28 +08:00
Zexi Li
32287a100c Merge pull request #17090 from ioito/hotfix/qx-disk-reset
fix(region): openstack disk reset
2023-05-19 10:49:07 +08:00
Zexi Li
a55cf79392 Merge pull request #17037 from wanyaoqi/feat/general-pci-device2
feat(region,host): custom pci device type
2023-05-19 10:42:04 +08:00
ioito
988f06354e fix(region): openstack disk reset 2023-05-18 19:34:43 +08:00
Jian Qiu
2e986aafa9 fix: allow bootstrap role policy assignment without violation check (#17087)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-18 19:29:07 +08:00
Zexi Li
f4b73f7daf Merge pull request #17075 from ioito/hotfix/qx-ping-debug
fix(region): disable ping debug
2023-05-18 18:07:51 +08:00
Zexi Li
2b9f66c54d Merge pull request #17080 from ioito/hotfix/qx-validate-delete-region
fix(region): validate delete region
2023-05-18 18:06:54 +08:00
Zexi Li
5dbcbd5bf4 Merge pull request #17057 from gouqi11/fixExcelutilsStyle
fix(region): snapshot code tidy
2023-05-18 18:06:16 +08:00
Zexi Li
21818be0f1 Merge pull request #17085 from gouqi11/fixFeishuGetAccessTokenFailedError
fix(notify): fix feishu getAccessTokenFailed err
2023-05-18 18:05:11 +08:00
马鸿飞
2177302eb6 fix(notify): fix feishu getAccessTokenFailed err 2023-05-18 17:25:02 +08:00
ioito
486939ea57 fix(region): validate delete region 2023-05-18 16:08:51 +08:00
ioito
c0aedd5df1 fix(apigateway): image upload with properties 2023-05-18 15:08:45 +08:00
ioito
bc451e3608 fix(region): disable ping debug 2023-05-18 11:18:21 +08:00
Zexi Li
427da593ba Merge pull request #17060 from gouqi11/addNotifyReceiverSubscriber
fix(notify): add func to get recevier subscription
2023-05-18 10:33:30 +08:00
Zexi Li
01abe9730c Merge pull request #17072 from wanyaoqi/fix/arm-topo-library-ghw
fix(host): fix arm topo lib ghw
2023-05-18 10:32:47 +08:00
wanyaoqi
f8a4f5b205 fix(host): fix arm topo lib ghw
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 10:07:40 +08:00
Zexi Li
4de109f253 Merge pull request #17066 from swordqiu/hotfix/qj-disable-update-policy-when-enable-three-member-system
fix: disable policy update when enable three member system
2023-05-18 02:17:24 +08:00
Zexi Li
549f8c80a9 Merge pull request #17069 from wanyaoqi/fix/arm-tcg-qemu
fix(host): support arm host tcg qemu
2023-05-18 02:16:59 +08:00
Zexi Li
2d04a63dcb Merge pull request #17052 from wanyaoqi/fix/guest-restart-network-task
fix(region): guest restart network task params
2023-05-18 02:16:07 +08:00
wanyaoqi
7100619436 fix(host): support arm host tcg qemu
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-18 00:23:18 +08:00
Qiu Jian
def00fc871 fix: disable policy update when enable three member system 2023-05-17 23:33:29 +08:00
wanyaoqi
a4fd322f3a fix(region): list normal guests 2023-05-17 22:54:08 +08:00
wanyaoqi
9d12a39598 feat(region,host): custom pci device type 2023-05-17 17:23:34 +08:00
马鸿飞
d45b1eb6f2 fix(notify): add func to get recevier subscription 2023-05-17 14:37:41 +08:00
马鸿飞
5d5d49cbb6 fix(region): snapshot code tidy 2023-05-17 10:45:05 +08:00
Zexi Li
ec068bc6dc Merge pull request #17055 from gouqi11/fixExcelutilsStyle
fix(excelutils): 取消负数标红
2023-05-16 19:39:00 +08:00
马鸿飞
1ac623dfbb fix(excelutils): 取消负数标红 2023-05-16 19:34:02 +08:00
wanyaoqi
a8fb862eb9 fix(region): guest restart network task params
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-16 15:00:20 +08:00
Zexi Li
a6cacb9b85 Merge pull request #17041 from gouqi11/fixNotifyTemplateTranslate
fix(notify): add some template translate
2023-05-16 11:35:03 +08:00
Zexi Li
1cd164d172 Merge pull request #17047 from swordqiu/hotfix/qj-role-policy-assignment-violation-check
fix: prevent policy violate when assigning policy to roles
2023-05-16 11:11:56 +08:00
屈轩
291c0d05c1 fix(region): secgroup rule sync with lock (#17050) 2023-05-16 10:54:54 +08:00
Qiu Jian
3c5145ad2c fix: prevent policy violate when assigning policy to roles 2023-05-15 21:18:07 +08:00
Zexi Li
feda93f664 Merge pull request #17044 from ioito/hotfix/qx-vendor-update
fix(region): vendor update
2023-05-15 20:11:42 +08:00
ioito
e4817093e6 fix(region): vendor update 2023-05-15 19:59:04 +08:00
马鸿飞
4380181cde fix(notify): add some template translate 2023-05-15 19:11:10 +08:00
Zexi Li
e0c47dd5df feat(apimap): fetch vpcagent net topo info from DB (#17038) 2023-05-15 14:48:24 +08:00
Jian Qiu
a3aa26b8e2 fix: options of the maximal number of roles of a user in project (#17033)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-05-14 08:35:04 +08:00
屈轩
64118e947e fix(region): optimized snapshot list (#16990) 2023-05-13 07:52:59 +08:00
wanyaoqi
f11383f7d9 fix(host): guest sync update cdrom bootindex (#17027)
generate qemu cmdline check cdrom path before generate bootindex params

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:52:20 +08:00
wanyaoqi
43a72e8b6f fix(host): check disk pci device is nil on init disks addrs (#17032)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-13 07:52:00 +08:00
屈轩
4f0b057d13 fix(region): optimized sku sync (#17028) 2023-05-13 07:50:37 +08:00
Zexi Li
a7cc1cf76b Merge pull request #17016 from wanyaoqi/fix/qemu-name-has-space
fix(host): guest name has space
2023-05-12 10:32:15 +08:00
wanyaoqi
f7cae161b2 fix(host): guest name has space 2023-05-11 17:43:49 +08:00
Zexi Li
9a1f60a311 Merge pull request #17011 from gouqi11/fixNotifyContact
fix(notify): fix notify webconsole
2023-05-11 16:17:57 +08:00
Zexi Li
e49ce86844 Merge pull request #17008 from gouqi11/addCleaningSnapshotsConfig
fix(region): add cleanSnapshotDate option
2023-05-11 16:17:14 +08:00
马鸿飞
f9a48c52e4 fix(region): add cleanSnapshotDate option 2023-05-11 15:50:22 +08:00
屈轩
559bb5b00b fix(region): show host info when cache image (#16998) 2023-05-11 11:03:15 +08:00
wanyaoqi
2909bf0f4a fix(host): check running guest kvm off option (#16988) 2023-05-11 11:01:57 +08:00
Jian Qiu
23a907319a fix: policy tag filters not effect for shared resources (#17004)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-11 11:00:07 +08:00
gouqi11
04581f34e8 fix(region): add cronjob to cleaning snapshot (#17002)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-05-11 10:58:46 +08:00
马鸿飞
518bc0ac3a fix(notify): fix notify webconsole 2023-05-10 20:29:28 +08:00
Zexi Li
3256ea4d40 Merge pull request #16991 from wanyaoqi/hotfix/sku-maxmem
fix(region): set sku maxmem size 1024G
2023-05-10 18:05:01 +08:00
Zexi Li
6c4a40e0f3 Merge pull request #16995 from zexi/automated-cherry-pick-of-#16994-upstream-master
Automated cherry pick of #16994: fix(monitor): adjust query timeout to 5 mins
2023-05-10 18:01:42 +08:00
Zexi Li
28b0eda6e2 fix(monitor): adjust query timeout to 5 mins 2023-05-10 13:01:29 +08:00
wanyaoqi
bed7b7483c fix(region): set sku maxmem size 1024G
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-10 10:33:45 +08:00
Zexi Li
89956b8c2e Merge pull request #16973 from ioito/hotfix/qx-vpc-list
fix(region): optimized vpc-list
2023-05-10 09:58:27 +08:00
Zexi Li
c3d04d095f Merge pull request #16208 from ioito/hotfix/qx-webconsole-websocket
fix(webconsole): websocket ssh
2023-05-09 15:38:09 +08:00
ioito
49907b2909 fix(webconsole): websocket ssh 2023-05-09 15:26:36 +08:00
wanyaoqi
444db7e42e fix(host): hide kvm only gpu guests (#16974)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-09 14:45:09 +08:00
Zexi Li
df9e407216 Merge pull request #16979 from ioito/hotfix/qx-elastic-cache-purge
fix(region): elastic cache purge
2023-05-09 09:20:01 +08:00
Zexi Li
bc542086dd Merge pull request #16983 from swordqiu/hotfix/qj-usage-nil-check-revisit
fix: usage handler nil check revisit
2023-05-09 09:19:19 +08:00
Qiu Jian
0533131185 fix: usage handler nil check revisit 2023-05-08 20:39:52 +08:00
ioito
b4940bbc94 fix(region): elastic cache purge 2023-05-08 16:03:07 +08:00
ioito
a4ac449187 fix(region): optimized vpc-list 2023-05-08 15:09:52 +08:00
Zexi Li
7a2d4a3ceb Merge pull request #16969 from swordqiu/hotfix/qj-three-member-policy-adjustment-20230507
fix: three member policy adjustment 20230507
2023-05-08 10:28:53 +08:00
Zexi Li
ca8760451d Merge pull request #16962 from ioito/hotfix/qx-image-filter-by-os-archs
fix(glance): support filter image by os archs
2023-05-08 10:28:09 +08:00
Zexi Li
a3276ea328 Merge pull request #16957 from wanyaoqi/fix/migrate-params-check
fix(host): don't return error on disk snap chain params miss
2023-05-08 10:26:18 +08:00
Zexi Li
26e3956751 Merge pull request #16966 from swordqiu/hotfix/qj-domain-tag-filter-fail
fix: domain tag filter not working
2023-05-08 10:25:11 +08:00
Qiu Jian
bd04bbc870 fix: three member policy adjustment 20230507 2023-05-08 03:15:11 +08:00
Qiu Jian
4687c60875 fix: domain tag filter not working 2023-05-07 12:49:00 +08:00
ioito
f999db28ca fix(glance): support filter image by os archs 2023-05-06 15:22:43 +08:00
wanyaoqi
1ab4425813 fix(host): don't return error on disk snap chain miss 2023-05-06 14:13:57 +08:00
Zexi Li
3cfe3eb8ee Merge pull request #16953 from ioito/hotfix/qx-cloudmon-api
fix(region): skip empty resource metric pull
2023-05-06 12:15:12 +08:00
ioito
c59797e70e fix(region): skip empty resource metric pull 2023-05-06 10:55:26 +08:00
Zexi Li
225339a362 Merge pull request #16952 from wanyaoqi/automated-cherry-pick-of-#16951-upstream-master
Automated cherry pick of #16951: Automated cherry pick of #16950: fix(region,host): migrate with out chain snapshots
2023-05-06 10:16:07 +08:00
wanyaoqi
a0a1cb6397 fix(region,host): migrate with out chain snapshots
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-05-06 01:41:31 +08:00
Zexi Li
35574a7edf Merge pull request #16948 from ioito/hotfix/qx-host-status
fix(region): host status
2023-05-05 21:24:44 +08:00
ioito
11ad808e41 fix(region): host status 2023-05-05 20:19:30 +08:00
Zexi Li
6548824210 Merge pull request #16944 from ioito/hotfix/qx-capabilities-policy
fix(region): allow query capabilities
2023-05-05 17:12:16 +08:00
Zexi Li
cb5766a5d9 Merge pull request #16940 from ioito/hotfix/qx-cloudpods-secgroup
fix(region): cloudpods secgroup rule
2023-05-05 17:11:47 +08:00
Zexi Li
8ae97deeea Merge pull request #16930 from ioito/hotfix/qx-optimized-cachedimage-guest-list
fix(region): optimized guest and cachedimage list speed
2023-05-05 17:10:32 +08:00
ioito
fc5934950b fix(region): allow query capabilities 2023-05-05 16:19:24 +08:00
Zexi Li
4282e689e3 Merge pull request #16936 from zexi/k8s-1229
feat(climc): create k8s cluster v1.22.9
2023-05-05 16:13:26 +08:00
wanyaoqi
265425fe17 fix(region): get cdrom details (#16908) 2023-05-05 15:07:31 +08:00
Zexi Li
c55254d252 fix(monitor): truncated JSONObject of alert model (#16933) 2023-05-05 14:42:53 +08:00
屈轩
446eeda5e8 fix(region): aws redis tags (#16937) 2023-05-05 14:42:11 +08:00
ioito
6ab82c8eb1 fix(region): cloudpods secgroup rule 2023-05-05 11:44:07 +08:00
Zexi Li
d45dff0089 feat(climc): create k8s cluster v1.22.9 2023-05-04 17:31:01 +08:00
ioito
4ad85ffd25 fix(region): optimized guest and cachedimage list speed 2023-05-04 14:21:28 +08:00
Jian Qiu
1419c6cee9 fix: vm desc missing cdrom config (#16925)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-05-01 23:02:02 +08:00
Zexi Li
a57aa1f3f9 Merge pull request #16923 from swordqiu/hotfix/qj-do-not-init-project-admin-user
fix: do not init keystone project admin user
2023-04-28 15:32:01 +08:00
Qiu Jian
5bcbc4d250 fix: do not init keystone admin user 2023-04-28 15:12:18 +08:00
Zexi Li
5d1c7e67c6 Merge pull request #16899 from gouqi11/fixWorkwxTokenRefresh
fix(notify): refresh workwx token
2023-04-28 14:40:08 +08:00
马鸿飞
8be733384a fix(notify): refresh workwx token 2023-04-28 14:22:47 +08:00
Zexi Li
4f505a2234 Merge pull request #16920 from ioito/optimized/qx-secgroup-sync
fix(region): secgroup sync
2023-04-28 13:56:52 +08:00
ioito
3cb7c7cdd8 fix(region): secgroup sync 2023-04-28 13:27:54 +08:00
Zexi Li
cdaf07f9c9 feat(README): update installation content (#16917) 2023-04-28 12:01:16 +08:00
Zexi Li
c54ec3a7e3 Merge pull request #16907 from swordqiu/hotfix/qj-auth-get-stats-ignore-403
fix: auth getStats should ignore no permission error
2023-04-28 10:28:22 +08:00
屈轩
2a4cac64be fix(region): optimized storage-list (#16909) 2023-04-27 23:06:40 +08:00
Zexi Li
55fa9ef1d0 Merge pull request #16845 from wanyaoqi/feat/lvm-disk
feat(region,host): storage backend lvm and nvme
2023-04-27 21:07:32 +08:00
Zexi Li
17f8593fc5 Merge pull request #16891 from ioito/hotfix/qx-vendor-update-20230427
fix(region): vendor update
2023-04-27 21:06:39 +08:00
Qiu Jian
78703c995e fix: auth getStats should ignore no permission error 2023-04-27 20:38:06 +08:00
Zexi Li
bedf38f441 Merge pull request #16905 from zexi/automated-cherry-pick-of-#16904-upstream-master
Automated cherry pick of #16904: fix(monitor,apihelper): list storages without details
2023-04-27 19:37:15 +08:00
Zexi Li
3461cf38e0 fix(monitor,apihelper): list storages without details 2023-04-27 19:32:13 +08:00
Zexi Li
5967ea4076 Merge pull request #16879 from gouqi11/featReceiverMobileExt
fix(notify): add mobile accept ext
2023-04-27 16:16:31 +08:00
马鸿飞
7a05adea2b fix(notify): add mobile accept ext 2023-04-27 15:09:46 +08:00
gouqi11
75814646cf fix(cloudcommon): add crud note (#16870)
Co-authored-by: 马鸿飞 <mahongfei@yunion.cn>
2023-04-27 14:34:49 +08:00
屈轩
2eb92ddde1 fix(region): add table index (#16894) 2023-04-27 14:33:44 +08:00
ioito
6bd4f1d95a fix(region): vendor update 2023-04-27 10:06:24 +08:00
Zexi Li
6672dd1d8f Merge pull request #16873 from wanyaoqi/fix/cgrouputils-check-group-enabled
fix(host): compatible ouler
2023-04-27 09:37:34 +08:00
Zexi Li
175a584847 Merge pull request #16890 from zexi/automated-cherry-pick-of-#16888-upstream-master
Automated cherry pick of #16888: fix(scheduler): skip load esxi network free-port cache
2023-04-27 09:35:55 +08:00
Zexi Li
b667a4ccc3 fix(scheduler): skip load esxi network free-port cache 2023-04-27 09:27:26 +08:00
Jian Qiu
3ad90db0f4 fix: project set admin user (#16875)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-26 08:20:52 +08:00
wanyaoqi
dd5f4cee0f fix(host): compatible with python3
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-25 22:32:14 +08:00
Zexi Li
d768161d74 Merge pull request #16866 from yunionio/zexi-patch-2
Update bug_report.md
2023-04-25 10:17:57 +08:00
Zexi Li
f3bc86e30a Update bug_report.md 2023-04-25 10:17:28 +08:00
Zexi Li
77f9821e74 Merge pull request #16861 from zexi/automated-cherry-pick-of-#16860-upstream-master
Automated cherry pick of #16860: fix(monitor): panic of StatisticHandler
2023-04-25 10:03:00 +08:00
Zexi Li
3b6e16aa31 Merge pull request #16859 from zexi/automated-cherry-pick-of-#16857-upstream-master
Automated cherry pick of #16857: fix(region): handle probe-isolated-device error
2023-04-25 10:02:50 +08:00
Zexi Li
ab97e00d12 fix(monitor): panic of StatisticHandler 2023-04-24 20:01:22 +08:00
Zexi Li
8a6744f419 fix(region): handle probe-isolated-device error 2023-04-24 19:53:03 +08:00
wanyaoqi
cd41911925 feat(region,host): lvm storage backend
support use lvm volume group as storage backend.

host config example:
lvm_volume_groups:
- storage1
2023-04-24 17:55:44 +08:00
wanyaoqi
d394d9bb55 feat(region,host): nvme device passthrough 2023-04-24 17:55:39 +08:00
Zexi Li
06a6867029 Merge pull request #16852 from gouqi11/fixNotifyContactByMobileBug
fix(notify): fix email verify empty error
2023-04-24 17:15:00 +08:00
马鸿飞
d799aa1fd1 fix(notify): fix email verify empty error 2023-04-24 16:51:35 +08:00
Zexi Li
5990e77ea9 Merge pull request #16848 from wanyaoqi/fix/disk-purge
fix(region):  check disk purge  get host error is sql.ErrNoRows
2023-04-24 15:21:04 +08:00
wanyaoqi
b0aea6a1e2 fix(region): check disk purge get host error is sql.ErrNoRows
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-24 10:48:06 +08:00
Zexi Li
e75105470b Merge pull request #16842 from ioito/hotfix/qx-h3c-rds-monitor
fix(cloudmon): h3c rds monitor
2023-04-21 18:29:11 +08:00
ioito
1a6a5c861a fix(cloudmon): h3c rds monitor 2023-04-21 17:37:58 +08:00
Zexi Li
76a6f8331b Merge pull request #16835 from wanyaoqi/fix/arm-node-numa-arch
fix(host): arm node failed get numa architecture use ghw lib
2023-04-21 10:04:11 +08:00
wanyaoqi
629a59d683 fix(host): arm node failed get numa architecture use ghw lib
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 23:30:45 +08:00
Zexi Li
2f62c9e27d Merge pull request #16833 from gouqi11/fixNotifyContactByMobileBug
fix(notify): add subcontact fail details
2023-04-20 20:47:01 +08:00
马鸿飞
ef5e95b11c fix(notify): add subcontact fail details 2023-04-20 20:31:33 +08:00
Zexi Li
e2c91e6f5e Merge pull request #16825 from ioito/hotfix/qx-account-disconnect-reason
fix(region): log with account disconnect reason
2023-04-20 13:24:17 +08:00
Zexi Li
00c4d251a4 Merge pull request #16820 from wanyaoqi/fix/machine-type
fix(host): fix machine type before generate cpu desc
2023-04-20 13:23:21 +08:00
Zexi Li
592bb1a4c4 Merge pull request #16828 from ioito/hotfix/qx-vendor-update-20230420
fix(region): vendor update for aws region
2023-04-20 13:22:48 +08:00
ioito
c5da693971 fix(region): vendor update for aws region 2023-04-20 11:27:33 +08:00
ioito
d64fc69b22 fix(region): log with account disconnect reason 2023-04-20 10:34:32 +08:00
wanyaoqi
236da99fa7 fix(host): fix machine type before generate cpu desc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-20 09:25:58 +08:00
wanyaoqi
7324d99748 fix(host): check subgroup enabled on cgroup init
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-19 17:56:00 +08:00
Zexi Li
6ac5b935f4 Merge pull request #16818 from ioito/hotfix/qx-proxmox-misc
fix(region): proxmox host ip
2023-04-19 11:37:03 +08:00
ioito
1d0f230ef0 fix(region): proxmox host ip 2023-04-19 11:25:18 +08:00
Zexi Li
6602ad8cdf Merge pull request #16816 from zexi/automated-cherry-pick-of-#16814-upstream-master
Automated cherry pick of #16814: fix(monitor): disable query signature defaultly
2023-04-19 10:09:16 +08:00
Zexi Li
6dfe3f92a2 fix(monitor): disable query signature defaultly 2023-04-19 10:07:10 +08:00
Zexi Li
a66ab93ddb Merge pull request #16791 from ioito/hotfix/qx-cloudmon-azure-metric
fix(cloudmon): support skip pull azure memory and disk usage metric
2023-04-18 15:27:57 +08:00
Zexi Li
5e451b6035 Merge pull request #16809 from gouqi11/notifyBugFix
fix(notify): fix receiver create bug
2023-04-18 15:27:25 +08:00
马鸿飞
00b9410bfd fix(notify): fix receiver create bug 2023-04-18 15:00:02 +08:00
ioito
d0b64aa930 fix(cloudmon): support skip pull azure memory and disk usage metric 2023-04-18 13:38:35 +08:00
Zexi Li
ac1680c404 Merge pull request #16743 from zexi/automated-cherry-pick-of-#16742-upstream-master
Automated cherry pick of #16742: fix(vendor): update vendor for v3.10
2023-04-17 23:37:33 +08:00
Zexi Li
79482ff9f9 fix(vendor): update vendor for v3.10 2023-04-17 23:35:48 +08:00
Zexi Li
e5f7f7a7b2 Merge pull request #16463 from ioito/hotfix/qx-avoid-panic-vmware
fix: avoid panic when sync vmware host
2023-04-17 23:18:05 +08:00
Zexi Li
2466bf277e Merge pull request #16476 from swordqiu/hotfix/qj-issue-template-imporvement-20230414
fix: issue模板改进 20230414
2023-04-14 22:47:57 +08:00
Qiu Jian
b1b826b4d7 fix: issue模板改进 20230414 2023-04-14 22:07:40 +08:00
Zexi Li
a06b6fb79e Merge pull request #16471 from wanyaoqi/fix/live-migrate-cpu-mem-update
fix(host): update cpudesc on cpu hotpluged
2023-04-14 19:34:11 +08:00
wanyaoqi
2cfd0d21b9 fix(host): update cpudesc on cpu hotpluged
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-14 17:38:45 +08:00
Jian Qiu
0b02641208 fix: update vendor 20230413 (#16467)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-14 02:41:00 +08:00
ioito
ece9195dfb fix: avoid panic when sync vmware host 2023-04-13 19:29:32 +08:00
Zexi Li
6ab63dbbb6 Merge pull request #16461 from gouqi11/fixModelarts0413
fix(region): fixModelarts
2023-04-13 17:41:47 +08:00
mhf
ee72b8862f fix(region): fixModelarts 2023-04-13 16:23:51 +08:00
Zexi Li
a5ba66a042 Merge pull request #16460 from zexi/automated-cherry-pick-of-#16458-upstream-master
Automated cherry pick of #16458: fix(monitor): wrong tag filter when get metric measurement
2023-04-13 11:56:55 +08:00
Zexi Li
fca6a97886 fix(monitor): wrong tag filter when get metric measurement 2023-04-13 11:40:44 +08:00
Zexi Li
13ad64a3b4 Merge pull request #16435 from zexi/automated-cherry-pick-of-#16434-upstream-master
Automated cherry pick of #16434: feat(region): set kvm storage instance capability
2023-04-13 10:08:54 +08:00
Zexi Li
64bef1b52e Merge pull request #16447 from wanyaoqi/fix/migrate-bandwidth
fix(host): set default live migrate bandwidth unlimited
2023-04-13 10:07:55 +08:00
Zexi Li
be6d50d6cc Merge pull request #16440 from ioito/hotfix/qx-macos-debug
fix(glance): support esxi glance debug on macos
2023-04-13 10:07:33 +08:00
Zexi Li
b691b93450 Merge pull request #16444 from ioito/hotfix/qx-k8s-import
fix(region): support import private k8s
2023-04-12 20:47:26 +08:00
Zexi Li
c301618424 Merge pull request #16441 from ioito/hotfix/qx-sync-vpc-purge
fix(region): sync purge vpc
2023-04-12 20:46:12 +08:00
Zexi Li
a0d70a3f0d Merge pull request #16451 from gouqi11/addExcelutilsAddCellStyleByColmun
fix(excelutils): 添加千位分隔常量
2023-04-12 19:13:08 +08:00
mhf
3d7e811d58 fix(excelutils): 添加千位分隔常量 2023-04-12 19:03:35 +08:00
ioito
385a2bd260 fix(glance): support esxi glance debug on macos 2023-04-12 17:49:35 +08:00
wanyaoqi
18986de551 fix(host): set default live migrate bandwidth unlimited
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-04-12 17:16:40 +08:00
ioito
4cc06ce1f3 fix(region): support import private k8s 2023-04-12 16:32:53 +08:00
ioito
e372b22f89 fix(region): sync purge vpc 2023-04-12 15:26:23 +08:00
Jian Qiu
f8c1c9944d fix: clickhouse parttion expression of divide inconstent 3.9 (#16439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-12 12:04:24 +08:00
Zexi Li
55228bce05 feat(region): set kvm storage instance capability 2023-04-12 10:19:08 +08:00
Zexi Li
73e1b95bef Merge pull request #16429 from ioito/hotfix/qx-request-error-time
fix: only request error show time
2023-04-11 22:17:19 +08:00
ioito
0ae061a589 fix: only request error show time 2023-04-11 22:02:13 +08:00
Zexi Li
dec52b6445 Merge pull request #16424 from ioito/hotfix/qx-request-time-rfc3339
fix(common): show request time with rfc3339
2023-04-11 21:14:58 +08:00
Zexi Li
089e94a9b3 Merge pull request #16401 from gouqi11/addResourceOrder
feature(region): add resource order
2023-04-11 21:05:12 +08:00
Zexi Li
b060c3e5d7 Merge pull request #16423 from gouqi11/addExcelutilsAddCellStyleByColmun
fix(excelutils): 添加按列修改单元格格式方法
2023-04-11 21:03:56 +08:00
ioito
612d4b17b4 fix(common): show request time with rfc3339 2023-04-11 20:54:43 +08:00
mhf
46d0f71791 fix(excelutils): 添加按列修改单元格格式方法 2023-04-11 20:32:52 +08:00
Zexi Li
98b02fd770 Merge pull request #16421 from ioito/hotfix/qx-vendor-update-ghw
fix: vendor update
2023-04-11 19:57:20 +08:00
ioito
15b234e814 fix: vendor update 2023-04-11 19:45:14 +08:00
Zexi Li
6457f5b404 Merge pull request #16417 from ioito/hotfix/qx-log-with-time-zone
fix(common): log time zone and format
2023-04-11 18:28:08 +08:00
ioito
6f0128bed3 fix(common): log time zone and format 2023-04-11 17:23:21 +08:00
Zexi Li
8f8a39dc13 Merge pull request #16414 from ioito/hotfix/qx-log-with-time-zone
fix(common): log time with time zone
2023-04-11 15:01:59 +08:00
Zexi Li
998e54a4cb Merge pull request #16408 from ioito/hotfix/qx-exception-remote-addr
fix(common): show exception with remote addr and duration
2023-04-11 14:59:47 +08:00
Zexi Li
71b3ecab36 Merge pull request #16411 from ioito/hotfix/qx-scope-resource-panic
fix(keystone): avoid panic when sync scope reosurce
2023-04-11 14:57:21 +08:00
Zexi Li
8840d580cd Merge pull request #16403 from ioito/hotfix/qx-cloudprovider-optimized
fix(region): optimized cloudprovider list
2023-04-11 14:55:18 +08:00
ioito
b086e261c6 fix(common): log time with time zone 2023-04-11 14:35:23 +08:00
ioito
014c19b24f fix(common): show exception with remote addr and duration 2023-04-11 13:44:06 +08:00
ioito
95f6732e34 fix(keystone): avoid panic when sync scope reosurce 2023-04-11 10:49:27 +08:00
Jian Qiu
7b0d996a0c fix: lbagent ovn options shoule not in common (#16406)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-11 09:34:23 +08:00
ioito
e0b27bf037 fix(region): optimized cloudprovider list 2023-04-10 19:12:45 +08:00
mhf
69afca389a feature(region): add resource order 2023-04-10 17:57:53 +08:00
Zexi Li
7a433c22ce Merge pull request #16395 from ioito/hotfix/qx-remove-useless-sku
fix(region): remove useless server sku
2023-04-10 17:17:17 +08:00
Zexi Li
071471a7db Merge pull request #16399 from zexi/automated-cherry-pick-of-#16398-upstream-master
Automated cherry pick of #16398: fix(devtool): panic occurred cause of nil ctx
2023-04-10 17:16:52 +08:00
Zexi Li
e736564500 fix(devtool): panic occurred cause of nil ctx 2023-04-10 17:13:25 +08:00
Zexi Li
ae2f58c9f6 Merge pull request #16389 from wanyaoqi/fix/hugepage-size
fix(host): recover page size on hugepage disabled
2023-04-10 10:53:03 +08:00
ioito
7e8ba1f75d fix(region): remove useless server sku 2023-04-10 10:50:56 +08:00
wanyaoqi
7ec7b22fcc fix(host): recover page size on hugepage disabled 2023-04-08 13:01:59 +08:00
Zexi Li
8ea8eb2646 Merge pull request #16387 from ioito/hotfix/qx-vender-update-20230407
fix: vendor update
2023-04-07 19:26:57 +08:00
ioito
075420604b fix: vendor update 2023-04-07 18:56:18 +08:00
Zexi Li
01aa753847 Merge pull request #16384 from ioito/hotfix/qx-vender-update-openstack-nic
fix(region): vendor update for openstack nic
2023-04-07 18:44:58 +08:00
Zexi Li
bf96485591 Merge pull request #16381 from ioito/hotfix/qx-webconsole-stats
fix(webconsole): avoid panic when send stats request
2023-04-07 18:20:03 +08:00
Zexi Li
dd979750c9 Merge pull request #16379 from zexi/automated-cherry-pick-of-#16377-upstream-master
Automated cherry pick of #16377: fix(region): not set default data when batch creating disks
2023-04-07 18:19:43 +08:00
ioito
d8531624e5 fix(region): vendor update for openstack nic 2023-04-07 17:57:48 +08:00
ioito
5b24b68b12 fix(webconsole): avoid panic when send stats request 2023-04-07 17:13:57 +08:00
Zexi Li
ad5b9522db fix(region): not set default data when batch creating disks 2023-04-07 11:03:52 +08:00
Zexi Li
f0ecd3aeba Merge pull request #16374 from ioito/hotfix/qx-openstack-keypair
fix(region): openstack keypair
2023-04-07 10:59:00 +08:00
ioito
44cfd393de fix(region): openstack keypair 2023-04-07 10:21:39 +08:00
Zexi Li
000c34c260 Merge pull request #16371 from ioito/hotfix/qx-vender-update-for-azure-user
fix(region): azure china user create
2023-04-07 01:01:11 +08:00
Zexi Li
52a8816df7 Merge pull request #16359 from zexi/automated-cherry-pick-of-#16358-upstream-master
Automated cherry pick of #16358: fix(baremetal): panic occured when using SSD as raid PD
2023-04-07 01:00:48 +08:00
ioito
835b7e9d1e fix(region): azure china user create 2023-04-06 22:01:31 +08:00
屈轩
6ef007c32d fix(region): vender update (#16367) 2023-04-06 20:39:27 +08:00
Zexi Li
acb4ee9942 Merge pull request #16360 from ioito/hotfix/qx-bingo-metric
fix(cloudmon): bingo metric
2023-04-06 18:01:57 +08:00
ioito
3b02245b24 fix(cloudmon): bingo metric 2023-04-06 17:48:16 +08:00
Zexi Li
d1fa64f29b fix(baremetal): panic occured when using SSD as raid PD 2023-04-06 17:47:57 +08:00
Zexi Li
e602957e38 Merge pull request #16353 from ioito/hotfix/qx-esxi-disk-usage
fix(cloudmon): esxi disk usage
2023-04-06 16:24:39 +08:00
ioito
35594885ac fix(cloudmon): esxi disk usage 2023-04-06 15:29:31 +08:00
Zexi Li
b2caf7d28d Merge pull request #16311 from ioito/hotfix/qx-sync-by-xor
fix(region): support fast sync cloud resources
2023-04-06 15:21:47 +08:00
Zexi Li
f0311beaac Merge pull request #16348 from swordqiu/hotfix/qj-auto-fix-cloud-account-missing-default-tenant
fix: allow set project-id auto-crate-project of cloudaccount
2023-04-06 11:17:45 +08:00
Zexi Li
b2ecf4f62a Merge pull request #16351 from swordqiu/hotfix/qj-async-brvpc-mtu
fix: allow async setup brvpc mtu
2023-04-06 11:16:56 +08:00
Qiu Jian
ca6cb1959a fix: allow async setup brvpc mtu 2023-04-06 00:02:54 +08:00
Qiu Jian
40adf3009c fix: allow set project-id auto-crate-project of cloudaccount 2023-04-05 16:30:28 +08:00
Zexi Li
3de35347de Merge pull request #16340 from swordqiu/hotfix/qj-distinct-field-subquery
fix: distinct field with subquery
2023-04-05 11:18:36 +08:00
Zexi Li
b81595cbfd Merge pull request #16343 from swordqiu/hotfix/qj-notify-emailqueue-cc
fix: send email queue to cc
2023-04-05 11:17:52 +08:00
Zexi Li
4aa384e7fd Merge pull request #16346 from swordqiu/hotfix/qj-auth-context-with-service-name
fix: auth context with service name
2023-04-05 11:16:47 +08:00
Zexi Li
4794b8131e Merge pull request #16341 from gouqi11/fixModelartsNode
fix(region): fix modelarts createFailed
2023-04-05 11:16:17 +08:00
Qiu Jian
8d33582543 fix: auth context with service name 2023-04-04 20:33:12 +08:00
Qiu Jian
397a1dda9c fix: send email queue to cc 2023-04-04 18:46:11 +08:00
mhf
dcbdfe7b09 fix(region): fix modelarts createFailed 2023-04-04 17:31:14 +08:00
Qiu Jian
298e6ac47e fix: distinct field with subquery 2023-04-04 16:47:19 +08:00
屈轩
605aaa5945 fix(region): sync esxi disk access path (#16335) 2023-04-04 09:51:17 +08:00
ioito
3e51102cc2 fix(region): support fast sync cloud resources 2023-04-03 20:35:42 +08:00
Zexi Li
b8940d181a Merge pull request #16332 from zexi/automated-cherry-pick-of-#16331-upstream-master
Automated cherry pick of #16331: fix(monitor): eip fields are missed in details
2023-04-03 14:45:51 +08:00
Zexi Li
a943b0dce8 fix(monitor): eip fields are missed in details 2023-04-03 14:17:19 +08:00
Zexi Li
66d0aa9663 Merge pull request #16327 from swordqiu/hotfix/qj-host-remove-netif-also-clean-baremetal-server-nic
fix: host remove netif also remove baremnetal server netif
2023-04-03 13:33:30 +08:00
Qiu Jian
c7c2a56d79 fix: host remove netif also remove baremnetal server netif 2023-04-03 11:22:00 +08:00
Jian Qiu
89d7b4ca7f fix: minor fixes 20230403 (#16324)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-03 09:28:05 +08:00
Zexi Li
94290f1cbc Merge pull request #16322 from gouqi11/fixSlbMonitorKey
fix(cloudmon): add slb key
2023-04-01 11:01:06 +08:00
mhf
a996dc4751 fix(cloudmon): add slb key 2023-04-01 02:31:14 +08:00
Zexi Li
c647baa7e6 Merge pull request #16306 from wanyaoqi/fix/set-queues-and-vectors-on-migrate
fix(host): set desc nics queues and vectors on live migrate
2023-03-31 01:42:18 +08:00
Zexi Li
eb866aa350 Merge pull request #16316 from zexi/automated-cherry-pick-of-#16315-upstream-master
Automated cherry pick of #16315: fix(keystone): add kubeserver running_mode option to blacklist
2023-03-31 01:42:01 +08:00
Zexi Li
3b308a0f02 Merge pull request #16301 from wanyaoqi/fix/guest-pending-delete
fix(region): delete gpu device only on guest pending delete
2023-03-31 01:41:20 +08:00
Zexi Li
bc13a104b5 fix(keystone): add kubeserver running_mode option to blacklist 2023-03-31 01:40:21 +08:00
Zexi Li
94c75c7b2d Merge pull request #16312 from gouqi11/addApiErrReason
fix(base): add modulebase unmarshal err
2023-03-29 23:02:17 +08:00
mhf
4ec82c8b47 fix(base): add modulebase unmarshal err 2023-03-29 22:47:07 +08:00
Zexi Li
669909a3c0 Merge pull request #16303 from swordqiu/hotfix/qj-simplify-i18n-table
fix: simplify i18n table
2023-03-29 19:20:08 +08:00
Zexi Li
889b6815b9 Merge pull request #16309 from gouqi11/addSlbMetrics
fix(cloudmon): add Slb metrics
2023-03-29 19:19:25 +08:00
mhf
8617675df4 fix(cloudmon): add Slb metrics 2023-03-29 17:22:45 +08:00
wanyaoqi
f97b6c0363 fix(host): set desc nics queues and vectors on live migrate 2023-03-29 12:26:26 +08:00
Qiu Jian
85936d86c8 fix: simplify i18n table 2023-03-29 00:33:50 +08:00
wanyaoqi
5b51e58b3f fix(region): delete gpu device only on guest pending delete
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-28 23:15:21 +08:00
Zexi Li
2972c9e5bb Merge pull request #16299 from ioito/hotfix/qx-h3c-monitor
fix(cloudmon): h3c monitor
2023-03-28 17:41:26 +08:00
ioito
4e1274ee10 fix(cloudmon): h3c monitor 2023-03-28 17:22:58 +08:00
Zexi Li
a9a41dcf72 Merge pull request #16297 from zexi/automated-cherry-pick-of-#16296-upstream-master
Automated cherry pick of #16296: fix(cloudmon): import format
2023-03-28 10:00:34 +08:00
Zexi Li
fccd62a017 fix(cloudmon): import format 2023-03-28 10:00:00 +08:00
Zexi Li
739fcc702f Merge pull request #16294 from ioito/hotfix/qx-h3c-metric
fix(cloudmon): support h3c metric pull
2023-03-28 09:55:07 +08:00
ioito
c0c4c32eb8 fix(cloudmon): support h3c metric pull 2023-03-27 22:28:45 +08:00
Zexi Li
367aca37fa Merge pull request #16292 from zexi/automated-cherry-pick-of-#16290-upstream-master
Automated cherry pick of #16290: fix(monitor): update rds tags
2023-03-27 12:21:31 +08:00
Zexi Li
3b410fbae7 fix(monitor): update rds tags 2023-03-27 12:20:28 +08:00
Jian Qiu
3e378c046e fix: minor fixes (#16287)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-27 00:54:57 +08:00
Zexi Li
106cc396b6 Merge pull request #16285 from ioito/hotfix/qx-h3c-net
fix(region): h3c regional network
2023-03-26 23:37:49 +08:00
ioito
fab78bd838 fix(region): h3c regional network 2023-03-26 19:29:10 +08:00
gouqi11
ee18e530ba fix(region): add guest description (#16279) 2023-03-23 21:35:26 +08:00
Zexi Li
3ea8667707 Merge pull request #16277 from ioito/hotfix/qx-apsara-eip-metric
fix(cloudmon): add apsara eip metric
2023-03-23 15:04:27 +08:00
ioito
4cec034fc1 fix(cloudmon): add apsara eip metric 2023-03-23 14:22:33 +08:00
Zexi Li
c86e0b5e37 Merge pull request #16273 from ioito/hotfix/qx-hcs-url
fix(region): hcs url
2023-03-22 20:40:58 +08:00
Zexi Li
716ca349ac Merge pull request #16275 from gouqi11/fixNotifyEmailDoubleSend
fix(notify): fix notify email double send
2023-03-22 20:38:45 +08:00
mhf
af7259682a fix(notify): fix notify email double send 2023-03-22 20:30:45 +08:00
ioito
68e83cd3ef fix(region): hcs url 2023-03-22 17:51:35 +08:00
Zexi Li
42ec556bca Merge pull request #16271 from zexi/automated-cherry-pick-of-#16269-upstream-master
Automated cherry pick of #16269: feat(monitor): add extral server tags
2023-03-22 14:01:10 +08:00
Zexi Li
d4ae426895 feat(monitor): add extral server tags 2023-03-22 12:28:03 +08:00
Jian Qiu
93471dc246 update contact qrcode (#16266)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-03-21 17:12:10 +08:00
Zexi Li
7ce709f1c2 Merge pull request #16253 from wanyaoqi/fix/progress
fix(region,host): block jobs progress refactor
2023-03-21 01:59:40 +08:00
gouqi11
953331ddd2 fix(region): addModelartsDeleteLoaclTask (#16261) 2023-03-20 23:47:51 +08:00
Zexi Li
72a2ebbe2b Merge pull request #16249 from swordqiu/hotfix/qj-merge-wire-not-sync-update-netinterface
fix(region): not sync update netinterface wire_id when merge wires
2023-03-20 10:13:41 +08:00
Zexi Li
b29fb7a405 Merge pull request #16257 from wanyaoqi/automated-cherry-pick-of-#16255-upstream-master
Automated cherry pick of #16255: fix(region): get catalog data by region id
2023-03-20 10:12:14 +08:00
Zexi Li
3cbf021e8c Merge pull request #16258 from wanyaoqi/fix/cloudpack-vpcagent
fix(vpcagent): import ovn package in vpcagent service.go
2023-03-20 10:09:51 +08:00
wanyaoqi
0f821c5242 fix(vpcagent): import ovn package in vpcagent service.go
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-20 09:53:27 +08:00
wanyaoqi
fd149641e6 fix(region): get catalog data by region id
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:54:15 +08:00
wanyaoqi
0e9d206867 fix(region,host): block jobs progress refactor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-19 21:21:30 +08:00
Qiu Jian
83effb3da8 fix(region): not sync update netinterface wire_id when merge wires 2023-03-17 22:17:53 +08:00
Jian Qiu
6d3c7e76f5 fix: avoid dup sync table revisit (#16246)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-16 22:22:01 +08:00
wanyaoqi
75b498f4e4 fix(host): kvm detect and iommu probe (#16245)
- use lsmod check kvm modules on /dev/kvm exist
- don't check grub params "intel_iommu=on" on kvm_intel not loaded

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-16 22:21:10 +08:00
Zexi Li
dd5b3083fd Merge pull request #16240 from zexi/automated-cherry-pick-of-#16238-upstream-master
Automated cherry pick of #16238: fix(monitor): set wrong resType when query
2023-03-16 16:03:58 +08:00
Zexi Li
274b97ef2b fix(monitor): set wrong resType when query 2023-03-15 20:27:17 +08:00
Zexi Li
70bd886de8 Merge pull request #16237 from zexi/update-readme-v39
fix(readme): update ocboot checkout branch to 3.9
2023-03-15 18:46:33 +08:00
Zexi Li
9d73ae02a8 fix(readme): update ocboot checkout branch to 3.9 2023-03-15 18:45:12 +08:00
Zexi Li
2b48004bdb Merge pull request #16235 from gouqi11/notifyEmailSendAttachmentError
fix(notify): fixEmailQueueBug
2023-03-15 16:38:25 +08:00
mhf
c07817b6da fix(notify): fixEmailQueueBug 2023-03-15 15:46:54 +08:00
Zexi Li
31252c0eec Merge pull request #16220 from bingocmp/feature/resource-id-reuse
feat:support for setting custom resource-id
2023-03-15 10:25:31 +08:00
Zexi Li
7549d3e8a5 Merge pull request #16227 from swordqiu/automated-cherry-pick-of-#16225-upstream-master
Automated cherry pick of #16225: fix: fail to create vm with guest_image
2023-03-15 10:12:52 +08:00
Zexi Li
d6c76c1d4f Merge pull request #16231 from wanyaoqi/fix/disk-downloader
fix(host): download sparse file truncate first
2023-03-15 10:11:49 +08:00
屈轩
bd61eca224 fix(region): vender update (#16228) 2023-03-14 21:55:04 +08:00
wanyaoqi
8b6dc0027c fix(host): download sparse file truncate first
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:50:25 +08:00
wanyaoqi
5a333976d3 fix(host-health): simplify host health main.go (#16222)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:18:55 +08:00
Qiu Jian
643c54d2ca fix: fail to create vm with guest_image 2023-03-14 20:17:22 +08:00
Zexi Li
41c13e4da4 Merge pull request #16189 from wanyaoqi/fix/host-health
fix(region,host): host health misc fix
2023-03-14 12:33:40 +08:00
李锐
0e83df8e39 feat:support for setting custom resource-id 2023-03-14 10:43:18 +08:00
Zexi Li
b187f58a90 Merge pull request #16216 from gouqi11/fixNotifyMobile
fix(notify): aliyunSmsdriver
2023-03-13 17:51:08 +08:00
mhf
696db9307a fix(notify): aliyunSmsdriver 2023-03-13 15:31:46 +08:00
Zexi Li
21631f73df Merge pull request #16209 from ioito/hotfix/qx-vender-update-20230313
fix(region): aws dns zone name
2023-03-13 14:55:01 +08:00
Zexi Li
9e1f9477a2 Merge pull request #16212 from swordqiu/hotfix/qj-minor-fixes-20230313
fix: minor fixes 20230313
2023-03-13 14:52:32 +08:00
Qiu Jian
04427ceb7a fix: minor fixes 20230313 2023-03-13 12:45:43 +08:00
ioito
1568309e37 fix(region): aws dns zone name 2023-03-13 11:25:14 +08:00
Jian Qiu
59a2a01b95 fix: add vm integrity check notify (#16205)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:59:31 +08:00
wanyaoqi
a6705c4452 fix(region,host): host health misc fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-13 09:41:27 +08:00
Jian Qiu
daf2441bf5 fix: prevent duplicate table sync (#16202)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:07:48 +08:00
Zexi Li
16be9c8aff Merge pull request #16200 from wanyaoqi/fix/set-storage-medium-type-on-create
fix(host): set medium type on storage create
2023-03-12 23:21:38 +08:00
Zexi Li
7f43a49e29 Merge pull request #16190 from swordqiu/hotfix/qj-storecli-mising-lv-device-name
fix: storecli missing lv device name
2023-03-12 23:20:42 +08:00
Zexi Li
e2cb28cf6a Merge pull request #16193 from swordqiu/hotfix/qj-refine-default-dashboard-policy
fix: refine dashboard policy
2023-03-12 23:19:39 +08:00
Zexi Li
2a1c5e58ec Merge pull request #16198 from swordqiu/automated-cherry-pick-of-#16196-upstream-master
Automated cherry pick of #16196: feature: compose guest image with existing images
2023-03-12 23:19:22 +08:00
wanyaoqi
c14dd9a8dd fix(host): set medium type on storage create
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-12 22:43:07 +08:00
Qiu Jian
75ea3fdf44 feature: compose guest image with existing images 2023-03-12 15:32:17 +08:00
Qiu Jian
e75374ee48 fix: refine dashboard policy 2023-03-11 20:47:18 +08:00
Qiu Jian
064fa54a53 fix: storecli missing lv device name 2023-03-10 23:44:34 +08:00
Zexi Li
aaf19ec80b Merge pull request #16186 from ioito/hotfix/qx-h3c-provider
fix(region): add h3c
2023-03-10 13:39:55 +08:00
ioito
087cdeec5b fix(region): add h3c 2023-03-09 15:48:37 +08:00
Zexi Li
cab7732030 Merge pull request #16183 from gouqi11/fixHCSORdsMonitor
fix(cloudmon): hcso monitor make mod
2023-03-09 14:54:34 +08:00
Zexi Li
cd42b2b346 Merge pull request #16169 from gouqi11/addHcsoMonitor
fix(nofiy): mobileAndEmailBug
2023-03-09 14:54:06 +08:00
mhf
a726d459bd fix(cloudmon): hcso monitor make mod 2023-03-09 14:50:06 +08:00
Jian Qiu
1c32ce78a6 feature: allow network update wire_id (#16124)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-09 11:08:39 +08:00
Zexi Li
78e96c7dc6 Merge pull request #16158 from ioito/hotfix/qx-apsara-projects-sync
fix(region): apsara projects sync
2023-03-09 00:08:41 +08:00
mhf
69f89cdea0 fix(nofiy): mobileAndEmailBug 2023-03-08 15:48:37 +08:00
Zexi Li
45d81a53ea Merge pull request #16175 from ioito/hotfix/qx-attachment-name
fix(notify): attachment name
2023-03-08 13:12:57 +08:00
Zexi Li
8a8fc09cf1 Merge pull request #16179 from zexi/automated-cherry-pick-of-#16177-upstream-master
Automated cherry pick of #16177: fix(scheduler): storage failed reason isn't showed in forecast result
2023-03-08 13:06:26 +08:00
Zexi Li
3d778311aa fix(scheduler): storage failed reason isn't showed in forecast result 2023-03-08 13:03:36 +08:00
ioito
1a528f12b0 fix(notify): attachment name 2023-03-08 11:57:41 +08:00
Zexi Li
3bb95099dd Merge pull request #16129 from swordqiu/hotfix/qj-logclient-add-service-name-context
fix: logclient request add service name context
2023-03-08 11:15:55 +08:00
Zexi Li
5ae754d8d9 Merge pull request #16167 from ioito/hotfix/qx-lb-project-id
fix(region): lb project id
2023-03-08 11:15:31 +08:00
Zexi Li
9e0cfaa2a4 Merge pull request #16162 from zexi/automated-cherry-pick-of-#16161-upstream-master
Automated cherry pick of #16161: fix(baremetal): not update hypervisor host's status
2023-03-08 11:15:06 +08:00
QIU Jian
d03d9893a9 fix: logclient request add service name context 2023-03-08 10:07:58 +08:00
Jian Qiu
26a507ce9a fix: zero clean disk add logs (#16171)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-08 09:40:59 +08:00
wanyaoqi
a3081cccb8 fix(host): tls live migrate disable mulitfd (#16155)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-08 04:36:31 +08:00
ioito
80551f5f53 fix(region): lb project id 2023-03-07 17:52:54 +08:00
Zexi Li
8cf8c9107a fix(baremetal): not update hypervisor host's status 2023-03-07 16:30:34 +08:00
ioito
45eadb9b17 fix(region): apsara projects sync 2023-03-07 14:45:15 +08:00
Zexi Li
179d569eb5 Merge pull request #16154 from zexi/automated-cherry-pick-of-#16152-upstream-master
Automated cherry pick of #16152: fix(monitor): balancer pair ignored error
2023-03-07 14:05:15 +08:00
Zexi Li
f29f8fdb96 fix(monitor): balancer pair ignored error 2023-03-07 13:49:28 +08:00
Zexi Li
50822f2a2e Merge pull request #16144 from gouqi11/addHcsoMonitor
fix(cloudmon): add HCSO base monitor
2023-03-07 10:22:29 +08:00
Zexi Li
2d2ffee10c Merge pull request #16149 from wanyaoqi/feat/update-ovsdb-vendor
chore: update ovsdb go mod vendor
2023-03-07 10:21:58 +08:00
wanyaoqi
17a3070005 chore: update ovsdb go mod vendor
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-07 10:00:00 +08:00
wanyaoqi
53e3c18a06 chore: update host and lbagent base image (#16147)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-07 01:37:51 +08:00
mhf
5754ac6055 fix(cloudmon): add HCSO base monitor 2023-03-06 19:37:21 +08:00
Zexi Li
1dda3f91f3 Merge pull request #16132 from ioito/hotfix/qx-role-filter-project
fix(keystone): support user filter by role project
2023-03-06 16:40:53 +08:00
Zexi Li
844f0b3afe Merge pull request #16134 from gouqi11/fixNotificationTopicTypeRequired
fix(notify): alert notification
2023-03-06 16:40:17 +08:00
Zexi Li
1750608113 Merge pull request #16137 from zexi/automated-cherry-pick-of-#16136-upstream-master
Automated cherry pick of #16136: fix(mcclient): add FetchKeypairBySession method
2023-03-06 16:26:28 +08:00
Zexi Li
3d5ac90934 fix(mcclient): add FetchKeypairBySession method 2023-03-06 16:24:46 +08:00
ioito
a250925752 fix(keystone): support user filter by role project 2023-03-06 10:29:33 +08:00
mhf
682e962d28 fix(notify): alert notification 2023-03-06 10:27:52 +08:00
Jian Qiu
a5c9f2b278 fix: hostman StartService() (#16126)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-04 01:44:09 +08:00
Zexi Li
5278a2686d Merge pull request #16122 from wanyaoqi/fix/set-disk-default-cache-mode-none
fix(region): set disk default cache mode none
2023-03-03 17:16:33 +08:00
Zexi Li
6c0a4e33fe Merge pull request #16118 from ioito/hotfix/qx-history-metric-pull
fix(cloudmon): support collect history metric
2023-03-03 17:15:57 +08:00
wanyaoqi
ae54187d46 fix(region): set disk default cache mode none
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-03 15:35:41 +08:00
ioito
933b9d6be5 fix(cloudmon): support collect history metric 2023-03-03 14:53:38 +08:00
Zexi Li
fc289774c2 Merge pull request #16096 from ioito/hotfix/qx-vender-update-20230301
fix(region): openstack compute api version
2023-03-03 10:48:50 +08:00
Zexi Li
605065af0f Merge pull request #16093 from wanyaoqi/fix/check-is-local-mount-point
fix(host): check shared file storage mount point
2023-03-03 10:44:36 +08:00
Zexi Li
717aa4639b Merge pull request #16101 from wanyaoqi/fix/live-migrate-load-guest-pci-addresses
fix(host): dest guest load pci addresses on live migrate
2023-03-03 10:43:14 +08:00
Zexi Li
2fc7d8fdd8 Merge pull request #16103 from wanyaoqi/fix/load-existing-guests
fix(host): load existing guests desc
2023-03-03 10:42:47 +08:00
Zexi Li
4fd4e4afa3 Merge pull request #16108 from ioito/hotfix/qx-user-filter-by-role-assignment
fix(keystone): filter users by role assignment domain
2023-03-03 10:30:33 +08:00
Zexi Li
e4034f1cc5 Merge pull request #16112 from wanyaoqi/fix/load-deamon-server
fix(host): start daemon guest on guest not running
2023-03-03 10:29:52 +08:00
Zexi Li
fe3491c750 Merge pull request #16114 from gouqi11/notifyFix
fix(notify):fixInitSubscriberData
2023-03-03 10:29:21 +08:00
mhf
e7abe1b2dd fix(notify):fixInitSubscriberData 2023-03-02 20:04:55 +08:00
wanyaoqi
c01580be7c fix(host): start daemon guest on guest not running
Check guest status on Start daemon server.
StartGuest on guest status running will restart guest.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-02 15:43:28 +08:00
ioito
0ac60af2b2 fix(keystone): filter users by role assignment domain 2023-03-02 14:31:23 +08:00
ioito
cb2731f493 fix(region): openstack compute api version 2023-03-02 10:59:43 +08:00
Jian Qiu
494a83965c fix: three member policy system violation check (#16104)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-02 08:58:00 +08:00
wanyaoqi
89f745ae0b fix(host): dest guest load pci addresses on live migrate
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 22:57:53 +08:00
wanyaoqi
b6d703e166 fix(host): check shared file storage mount point
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-01 17:36:37 +08:00
Zexi Li
7df80a5e60 Merge pull request #16092 from zexi/automated-cherry-pick-of-#16088-upstream-master
Automated cherry pick of #16088: fix(monitor): rewrite slimit and soffset logic
2023-03-01 17:36:23 +08:00
Zexi Li
5ebfcce724 fix(monitor): rewrite slimit and soffset logic 2023-03-01 17:25:35 +08:00
Zexi Li
53f7589e5c Merge pull request #16081 from gouqi11/notifyTempTranslate
fix(notify): addMissingActionTranslate
2023-03-01 16:31:51 +08:00
Zexi Li
bd9c609b74 Merge pull request #16062 from gouqi11/notifyFix
fix(notify): bugFix
2023-03-01 16:30:48 +08:00
Zexi Li
f6c53d28e2 Merge pull request #16087 from zexi/automated-cherry-pick-of-#16085-upstream-master
Automated cherry pick of #16085: fix(monitor): skip check series options
2023-03-01 16:02:53 +08:00
Zexi Li
adca8bdcf7 fix(monitor): skip check series options 2023-03-01 15:52:43 +08:00
mhf
684c71829f fix(notify): addMissingActionTranslate 2023-03-01 14:50:53 +08:00
Zexi Li
3682f7f221 Merge pull request #16077 from swordqiu/hotfix/qj-invalid-idp-status
fix: better prompt info for user failed auth due to invalid idp status
2023-03-01 10:11:49 +08:00
Zexi Li
16e04a3419 Merge pull request #16075 from swordqiu/hotfix/qj-allow-add-esxi-as-lb-backend
fix: allow add esxi as onecloud lb backend
2023-03-01 10:10:25 +08:00
Qiu Jian
6187f10c07 fix: better prompt info for user failed auth due to invalid idp status 2023-03-01 01:30:18 +08:00
Qiu Jian
85dd1458ec fix: allow add esxi as onecloud lb backend 2023-03-01 00:39:45 +08:00
Zexi Li
792bfe3464 fix(monitor): query resources according by listing region resources (#16074) 2023-03-01 00:03:29 +08:00
Zexi Li
3ade729420 Merge pull request #16066 from ioito/hotfix/qx-vmware-image-size
fix(region): vmware template image size
2023-02-28 23:44:56 +08:00
Zexi Li
d1b1b30f27 Merge pull request #16063 from wanyaoqi/fix/gpu-vgs
feat(region): vga gpus
2023-02-28 23:44:18 +08:00
Zexi Li
0496882164 Merge pull request #16069 from wanyaoqi/fix/guest-change-storage
fix(region): guest change storage
2023-02-28 23:43:18 +08:00
wanyaoqi
3f70806941 fix(region): guest change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 21:42:46 +08:00
ioito
b3427b9549 fix(region): vmware template image size 2023-02-28 19:45:45 +08:00
mhf
ab42fcaade fix(notify): bugFix 2023-02-28 19:35:15 +08:00
wanyaoqi
c1165645fb feat(region): vga gpus
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 18:09:38 +08:00
Zexi Li
f62e064ebd Merge pull request #16059 from gouqi11/fixNotifyCheckSum
fix(notify):fix topic of ChecksumTestFailed Result
2023-02-28 15:18:44 +08:00
mhf
7668aa450d fix(notify):fix topic of ChecksumTestFailed Result 2023-02-28 15:11:48 +08:00
屈轩
8443d4077f fix(region): azure rebuild root error (#16049) 2023-02-27 22:28:33 +08:00
Zexi Li
49d979dee8 fix(climc): add list monitorresource cmd (#16048) 2023-02-27 22:27:52 +08:00
Jian Qiu
92f26eaa15 fix: monitor delete resource panic (#16052)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-27 21:57:04 +08:00
wanyaoqi
8cc20c11a2 fix(host): resume suspend guest (#16055)
- check guest status inmigrate
- fix guest launch python script

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-27 21:55:59 +08:00
Zexi Li
435e07fd17 Merge pull request #15577 from gouqi11/notifyFix
fix(notify): refactor notify
2023-02-27 14:37:34 +08:00
Zexi Li
933c995f2d Merge pull request #16037 from swordqiu/hotfix/qj-lbagent-create-params
fix: climc lbagent create params
2023-02-27 13:46:15 +08:00
Zexi Li
a3ca3f2f79 Merge pull request #16039 from swordqiu/hotfix/qj-sync-ignore-no-guest-instancegroup
fix: apihelper sync ignore instancegroups without guets
2023-02-27 13:45:28 +08:00
Zexi Li
c571410d2e Merge pull request #16042 from swordqiu/hotfix/qj-set-eipid-after-association
fix: set eipid after successful eip association
2023-02-27 13:44:25 +08:00
Qiu Jian
7c1d6f913d fix: set eipid after successful eip association 2023-02-26 09:12:44 +08:00
Qiu Jian
e46e68a209 fix: apihelper sync ignore instancegroups without guets 2023-02-26 01:05:41 +08:00
QIU Jian
aa6619c13e fix: climc lbagent create params 2023-02-24 21:24:24 +08:00
Zexi Li
2d72492ff0 Merge pull request #16032 from ioito/hotfix/qx-vm-bill-type-sync
fix(region): vm bill type sync
2023-02-24 16:44:47 +08:00
Zexi Li
d0ee833661 Merge pull request #16030 from wanyaoqi/fix/disable-floppy-on-other-machines
fix(host): disable floppy on machine type isn't pc
2023-02-24 16:44:20 +08:00
mhf
6e42f11024 fix notify 2023-02-24 16:11:24 +08:00
ioito
40a3a09c1f fix(region): vm bill type sync 2023-02-24 11:52:13 +08:00
wanyaoqi
9ac37d5cdc fix(host): disable floppy on machine type isn't pc
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-23 22:48:51 +08:00
Zexi Li
52a9b94536 Merge pull request #15839 from bingocmp/feature/implement-bingocloud
Feature/implement bingocloud
2023-02-23 19:22:02 +08:00
Jian Qiu
007ff435a1 fix: ovn options missing eip and brmapped (#16028)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-23 17:14:02 +08:00
Jian Qiu
6688fbb845 feature: add webhook example server scripts (#16020)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-23 02:55:46 +08:00
Zexi Li
767882b264 Merge pull request #16025 from ioito/hotfix/qx-aliyun-lb-tags
fix(region): aliyun lb tag sync
2023-02-23 00:37:11 +08:00
ioito
c05b2e4b0d fix(region): aliyun lb tag sync 2023-02-22 16:44:48 +08:00
Zexi Li
394e6387e9 Merge pull request #16021 from swordqiu/hotfix/qj-disable-vpc-option
fix: add disable_local_vpc option and auto config ovn for lbagent and host
2023-02-22 15:08:58 +08:00
Qiu Jian
9433fc14a8 fix: add disable_local_vpc option and auto config ovn for lbagent and
host
2023-02-22 14:35:43 +08:00
Zexi Li
06dfb5bbcb fix(baremetal): update baremetal base image to support ice module (#16018) 2023-02-21 19:03:34 +08:00
Zexi Li
6d79f3f0c2 Merge pull request #16012 from swordqiu/hotfix/qj-gen-policy-extra-override
fix: gen policy extra override policy
2023-02-21 11:25:08 +08:00
Qiu Jian
9f6999972e fix: gen policy extra override policy 2023-02-20 23:04:50 +08:00
Zexi Li
917742eaf8 Merge pull request #16009 from wanyaoqi/esxi/disk-backups-recycle
fix(esxi-agent): disk temp files recycle
2023-02-20 19:34:52 +08:00
Zexi Li
2a64b06112 Merge pull request #16006 from ioito/hotfix/qx-apsara-metric
fix(cloudmon): apsara monitor
2023-02-20 19:33:44 +08:00
Zexi Li
8ec5c57db2 Merge pull request #16005 from wanyaoqi/automated-cherry-pick-of-#16003-upstream-master
Automated cherry pick of #16003: fix(region): esxi to kvm nic driver fix
2023-02-20 19:32:11 +08:00
wanyaoqi
3cedd8ab73 fix(esxi-agent): disk temp files recycle
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:27:54 +08:00
ioito
ea8b8b180d fix(cloudmon): apsara monitor 2023-02-20 18:15:15 +08:00
wanyaoqi
4a52ba7573 fix(region): esxi to kvm nic driver fix
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-20 18:01:50 +08:00
Jian Qiu
b5eac75270 fix: sms login not verify captchar (#15995)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 18:27:26 +08:00
Jian Qiu
eac96cdadc fix: 1. allow remove current user from current project. 2. reset (#15985)
recovery-questions when resetting MFA

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 13:04:30 +08:00
dependabot[bot]
fd680035f4 build(deps): bump golang.org/x/net from 0.1.0 to 0.7.0 (#15988)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.1.0 to 0.7.0.
- [Release notes](https://github.com/golang/net/releases)
- [Commits](https://github.com/golang/net/compare/v0.1.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:04:06 +08:00
dependabot[bot]
ebdbbdca1f build(deps): bump github.com/apache/thrift from 0.12.0 to 0.13.0 (#15947)
Bumps [github.com/apache/thrift](https://github.com/apache/thrift) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/thrift/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: github.com/apache/thrift
  dependency-type: indirect
...

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

---
updated-dependencies:
- dependency-name: github.com/Masterminds/goutils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-18 13:02:50 +08:00
Jian Qiu
a1350b1e60 fix: hostman setup tuned-adm profile virtual-host (#15918)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-18 08:53:44 +08:00
屈轩
ab07ebe3d9 fix(region): vender update for gcp storage (#15980) 2023-02-18 08:51:12 +08:00
屈轩
6111c54a47 fix(region): clean storage db (#15945) 2023-02-18 08:48:48 +08:00
wanyaoqi
693257697e feat(region,host): support ovs offload. (#15915)
Cloudpods Ovs offload implemention base on SR-IOV support.
IsolatedDevices add field `OvsOffloadInterface`.

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

Tested Hardware: Mellanox ConnectX-5 NICs
2023-02-18 08:48:07 +08:00
Zexi Li
932116b20f Merge pull request #15976 from wanyaoqi/fix/esxi-tokvm
fix(region): esxi to kvm clean sched desc disk.storage
2023-02-17 11:56:17 +08:00
wanyaoqi
341d523742 fix(region): esxi to kvm clean sched desc disk.storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-17 10:02:02 +08:00
Zexi Li
1ae0a78fe4 feat(monitor): add DisableQuerySignatureCheck option (#15973) 2023-02-16 23:57:21 +08:00
Zexi Li
41c50a4102 Merge pull request #15954 from zexi/automated-cherry-pick-of-#15952-upstream-master
Automated cherry pick of #15952: fix(baremetal): only do status probe job when host_type is hypervisor
2023-02-16 23:03:05 +08:00
Zexi Li
54884f0537 Merge pull request #15956 from zexi/automated-cherry-pick-of-#15955-upstream-master
Automated cherry pick of #15955: fix(climc): add measurements and databases api of unifiedmonitor
2023-02-16 22:46:22 +08:00
Zexi Li
ea874ce17c Merge pull request #15961 from gouqi11/fixAddNotifyTemplateFrom
fix(notify): 添加消息来源
2023-02-16 22:45:35 +08:00
Zexi Li
df4f199479 Merge pull request #15970 from ioito/hotfix/qx-gcp-image-sync
fix(region): gcp image sync
2023-02-16 18:08:31 +08:00
ioito
d13e8d7c8d fix(region): gcp image sync 2023-02-16 17:16:32 +08:00
Zexi Li
2a887c2e42 Merge pull request #15968 from zexi/automated-cherry-pick-of-#15966-upstream-master
Automated cherry pick of #15966: feat(mcclient): allow set default authenticate source
2023-02-16 14:53:24 +08:00
Zexi Li
a24bd3700b feat(mcclient): allow set default authenticate source 2023-02-16 14:41:01 +08:00
Zexi Li
42573c1b88 Merge pull request #15958 from wanyaoqi/fix/esxi-convert-to-kvm-20230215
fix(region): kvm convert to esxi
2023-02-16 13:58:24 +08:00
Zexi Li
5f4178802b Merge pull request #15962 from wanyaoqi/fix/guest-change-disk-storage
fix(region): guest change disk storage
2023-02-16 13:57:15 +08:00
wanyaoqi
cec7de6914 fix(region): guest change disk storage
new disk use src disk driver and cache mode.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 13:40:06 +08:00
mhf
b60573ff77 fix(notify): 添加消息来源 2023-02-16 11:38:15 +08:00
wanyaoqi
cacd7e61e1 fix(region): kvm convert to esxi
complete kvm guest meta info

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-16 11:09:43 +08:00
Zexi Li
bfa03dd8a5 fix(climc): add measurements and databases api of unifiedmonitor 2023-02-15 17:08:44 +08:00
Zexi Li
bc23199951 fix(baremetal): only do status probe job when host_type is hypervisor 2023-02-15 12:52:35 +08:00
Zexi Li
695fd2690a Merge pull request #15933 from swordqiu/hotfix/qj-usage-policy-filter-revisit2
fix: usage filter by policy tags revisit2
2023-02-15 10:08:54 +08:00
Zexi Li
11fe9e51de Merge pull request #15948 from wanyaoqi/fix/revert-linux-efi-check
fix(host-deployer): revert linux efi check
2023-02-15 10:07:39 +08:00
wanyaoqi
8b85f343a4 fix(host-deployer): revert linux efi check
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-14 23:19:35 +08:00
Zexi Li
abe649af2a Merge pull request #15942 from ioito/hotfix/qx-aws-s3-upload
fix(region): aws s3 upload failed
2023-02-14 18:03:46 +08:00
ioito
d10e26e96a fix(region): aws s3 upload failed 2023-02-14 17:18:16 +08:00
Zexi Li
17cc40c3ea Merge pull request #15939 from ioito/hotfix/qx-huawei-read-only
fix(cloudmon): huawei read only check
2023-02-14 12:22:23 +08:00
Zexi Li
7a66ac48a1 Merge pull request #15938 from zexi/automated-cherry-pick-of-#15936-upstream-master
Automated cherry pick of #15936: fix(baremetal): duplicate argument task-worker-count
2023-02-14 12:20:23 +08:00
ioito
d7bf0fa75b fix(cloudmon): huawei read only check 2023-02-14 11:58:10 +08:00
Zexi Li
6cb643d89d fix(baremetal): duplicate argument task-worker-count 2023-02-14 11:57:28 +08:00
Qiu Jian
ccb79efd23 fix: usage filter by policy tags revisit2 2023-02-14 09:19:22 +08:00
Zexi Li
e5a06c8ece Merge pull request #15928 from zexi/lbagent-base
fix(build): lbagent-base image
2023-02-13 21:55:49 +08:00
Zexi Li
c9c380bf86 fix(build): lbagent-base image 2023-02-13 21:41:33 +08:00
Zexi Li
94eaab0f05 Merge pull request #15925 from wanyaoqi/fix/deploy-content
fix(host,baremetal): deploy content action not marshaled
2023-02-13 15:36:26 +08:00
Zexi Li
52313b1a9f Merge pull request #15922 from ioito/hotfix/qx-cdn-virtual-resource
fix(region): change cdn to virtual resource
2023-02-13 15:35:43 +08:00
wanyaoqi
ad56d568fb fix(host,baremetal): deploy content action not marshaled
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-13 12:11:39 +08:00
ioito
14ec3d6012 fix(region): change cdn to virtual resource 2023-02-13 10:29:48 +08:00
Zexi Li
2ea4bcffdd Merge pull request #15920 from swordqiu/feature/qj-project-owner
feature: project admin user
2023-02-13 10:01:31 +08:00
Qiu Jian
e8ea334032 feature: project admin user 2023-02-13 03:42:21 +08:00
Jian Qiu
d48f7d151b fix: update bilibili contact 20230211 (#15919)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-13 02:35:38 +08:00
Jian Qiu
84c2430797 fix: add test for FilePutContent (#15917)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-10 21:00:58 +08:00
Zexi Li
605e808c7a Merge pull request #15916 from yunionio/zexi-patch-1
Update bug_report.md
2023-02-10 18:08:52 +08:00
Zexi Li
faeaca7a72 Update bug_report.md 2023-02-10 18:08:35 +08:00
Jian Qiu
b8aeb70ae3 fix: tablespec add sync method (#15913)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-02-09 22:39:05 +08:00
Zexi Li
d78e556e02 Merge pull request #15909 from zexi/k8s-cluster-sync
fix(region): update kube cluster to kubeserver
2023-02-08 14:01:51 +08:00
Zexi Li
d272345b77 Merge pull request #15907 from swordqiu/hotfix/qj-lbagent-containerize
fix: lbagent containerize issues
2023-02-08 11:03:10 +08:00
Qiu Jian
d34a04f896 fix: lbagent containerize issues 2023-02-08 10:49:05 +08:00
Zexi Li
f42a6415ac fix(region): update kube cluster to kubeserver 2023-02-08 10:47:55 +08:00
Zexi Li
6afdc832a9 Merge pull request #15902 from ioito/hotfix/qx-cdn-domain
fix(region): cdn domain config
2023-02-06 23:39:42 +08:00
ioito
6b67f17a86 fix(region): cdn domain config 2023-02-06 11:40:04 +08:00
Jian Qiu
3ca806048d fix: update OWNERS 20230205 (#15901)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-06 02:15:57 +08:00
wanyaoqi
a701cd8f29 fix(host-metrics): bytes sent overflow (#15899)
bytes_sent recount unexpected, discard the count before new round.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2023-02-05 21:53:17 +08:00
屈轩
13d01b5db2 fix(region): fake server generate (#15896) 2023-02-03 23:26:11 +08:00
Jian Qiu
c2f2ceafd4 feature: lbagent register (#15872)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-02-02 21:32:30 +08:00
Zexi Li
692b5512da Merge pull request #15891 from ioito/hotfix/qx-usage-policy
fix(region): usage with policy tags
2023-02-02 17:14:04 +08:00
Zexi Li
aca243b3fb Merge pull request #15885 from ioito/hotfix/qx-dns-recordset-detail
fix(region): dns recordset details
2023-02-02 17:13:13 +08:00
Zexi Li
ad5f61c57f Merge pull request #15881 from ioito/hotfix/qx-project-tags
fix(cloudmon): project tags for metric
2023-02-02 17:11:39 +08:00
Zexi Li
dc6a0630f3 Merge pull request #15879 from ioito/hotfix/qx-lb-listener
fix(region): lb listener
2023-02-02 17:11:05 +08:00
ioito
178903e25a fix(region): usage with policy tags 2023-02-02 16:34:26 +08:00
ioito
4f3b18037f fix(region): dns recordset details 2023-02-02 10:55:11 +08:00
ioito
83b34a4e8c fix(cloudmon): project tags for metric 2023-02-01 19:45:39 +08:00
Zexi Li
407c90ccfb optimized(scheduler): reduce sql query of mysql (#15878) 2023-01-31 19:30:58 +08:00
ioito
1cd930893e fix(region): lb listener 2023-01-31 18:01:26 +08:00
Zexi Li
99d250399a Merge pull request #15862 from ioito/hotfix/qx-create-params-hostname
fix(region): 避免创建相同配置时使用当前实例的hostname
2023-01-30 22:12:36 +08:00
Zexi Li
ae5e727da7 Merge pull request #15874 from swordqiu/hotfix/qj-usage-filter-by-policy-tags
fix: usage filter by policy tags
2023-01-30 22:11:56 +08:00
Qiu Jian
ca04fcd0de fix: usage filter by policy tags 2023-01-30 21:52:17 +08:00
Jian Qiu
b401a961c2 fix: climc logs-splitable support monitor notify (#15868)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 17:44:32 +08:00
Jian Qiu
f3b35d5315 fix: vmemsize error prompt (#15865)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-01-30 16:23:57 +08:00
rex zhasm
ea2f489b22 feat(build,test): 新增 dry_run 模式以便夜间测试 (#15859)
Co-authored-by: Zhang Dongliang <zhangdongliang@yunion.cn>
2023-01-30 16:23:14 +08:00
屈轩
304fd13b02 fix(cloudevent): default disable cloudevent sync (#15851) 2023-01-30 16:09:35 +08:00
ioito
afa2dc7df0 fix(region): 避免创建相同配置时使用当前实例的hostname 2023-01-30 15:20:34 +08:00
Zexi Li
1c59f344c9 Merge pull request #15857 from zexi/model-api-gen
fix(codegen): update apis generated by models
2023-01-30 12:20:33 +08:00
Zexi Li
251826ac33 fix(codegen): update apis generated by models 2023-01-30 11:29:44 +08:00
Zexi Li
411d646f81 Merge pull request #15854 from wanyaoqi/automated-cherry-pick-of-#15853-upstream-master
Automated cherry pick of #15853: fix(host): panic on report diskio
2023-01-30 11:24:03 +08:00
Zexi Li
0171a19d51 Merge pull request #15855 from ioito/hotfix/qx-codegen
fix(region): codegen
2023-01-30 11:23:13 +08:00
ioito
e780d88cee fix(region): codegen 2023-01-30 09:40:08 +08:00
wanyaoqi
362587da19 fix(host): panic on report diskio
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 23:22:06 +08:00
Zexi Li
537f835363 Merge pull request #15848 from ioito/hotfix/qx-vm-public-ip
fix(region): vm created with public ip
2023-01-29 18:32:04 +08:00
ioito
43e9328ac1 fix(region): vm created with public ip 2023-01-29 16:03:57 +08:00
Jian Qiu
eb19ad89c7 fix: cloudmon/lbagent api request with app name (#15844)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:45:00 +08:00
屈轩
9c7e8a4f59 fix(region): clirc with region (#15842) 2023-01-29 01:40:40 +08:00
wanyaoqi
c0de747478 fix(host): structure guest metrics (#15840)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-29 01:39:43 +08:00
Jian Qiu
45b2fe4f35 fix: disable metadata server monitor for SR-IOV (#15837)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:36:01 +08:00
Jian Qiu
0c91b88949 fix: webconsole ssh user/pass prompt backspace hanlding (#15834)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:34:57 +08:00
Jian Qiu
53a78655e2 fix: prepare esxi host network revisit (#15832)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-29 01:34:27 +08:00
Jian Qiu
71e93cd202 fix: parameter get or create rpc (#15830)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-28 22:31:35 +08:00
James Lee
5c25cdd9f2 Merge branch 'yunionio:master' into feature/implement-bingocloud 2023-01-27 20:19:20 +08:00
Zexi Li
96b3a6a0f7 feat(climc): add action of k8s-cluster-deploy (#15820) 2023-01-18 23:59:44 +08:00
Jian Qiu
08e3711f6e fix: clean pending usage when dry run validate_create_data (#15822)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-18 23:36:53 +08:00
屈轩
dab791c50b fix(esxi): rebuild root by template (#15825) 2023-01-18 23:35:50 +08:00
gouqi11
3db8a61d16 fix(notify): add server_panic topic (#15826) 2023-01-18 23:34:18 +08:00
李锐
e52651b41f feat(bingocloud):changed some abilities of bingocloud 2023-01-17 18:26:59 +08:00
Zexi Li
02b2f780ec Merge pull request #15800 from ioito/hotfix/qx-re-auth
fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败
2023-01-17 17:50:59 +08:00
Zexi Li
b1c7490f0f Merge pull request #15816 from gouqi11/addServerAbnormalNotify
fix(notify): fix topic enable bug
2023-01-17 15:06:50 +08:00
mhf
0561361dcd fix(notify): fix topic enable bug 2023-01-17 14:39:12 +08:00
Zexi Li
7040705907 Merge pull request #15811 from gouqi11/addServerAbnormalNotify
fix(keystone): serviceAbnormal token fix
2023-01-17 10:46:37 +08:00
ioito
a4a461981a fix(mcclient): 避免休眠后再次启动后admin token失效, 导致用户登录失败 2023-01-17 10:30:33 +08:00
Zexi Li
87efbddcd3 Merge pull request #15797 from swordqiu/feature/qj-notify-sync-receiver-from-keystone
fix: notify sync receivers from keystone
2023-01-16 16:56:06 +08:00
Zexi Li
c4d8023b9b Merge pull request #15805 from ioito/hotfix/qx-vmware-vnc
fix(region): vmware migrate vnc
2023-01-16 16:54:08 +08:00
Zexi Li
54a8331ece Merge pull request #15770 from gouqi11/addAdminReceiverForAllTopic
fix(notify): 对所有通知默认加入系统管理员接收人
2023-01-16 16:53:10 +08:00
mhf
9c7366f569 fix(keystone): serviceAbnormal token fix 2023-01-16 16:43:28 +08:00
Zexi Li
b66b852183 Merge pull request #15799 from gouqi11/addServerAbnormalNotify
fix(notify): 对服务异常添加消息通知
2023-01-16 16:02:13 +08:00
mhf
63c086aa2c fix(notify): 对服务异常添加消息通知 2023-01-16 15:52:03 +08:00
ioito
1224f4eee4 fix(region): vmware migrate vnc 2023-01-16 15:11:05 +08:00
Qiu Jian
defab313cb fix: notify sync receivers from keystone 2023-01-15 23:06:35 +08:00
屈轩
a95bd97904 fix(region): unified name sync options (#15740) 2023-01-15 14:50:31 +08:00
wanyaoqi
515825c69b fix(region): update guest status on backup guest start complete (#15796)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-15 13:51:06 +08:00
屈轩
ae14c430cc fix(notify): send msg with custom brand (#15791) 2023-01-15 13:48:40 +08:00
屈轩
8a270c58a2 fix(region): optimized capability (#15787) 2023-01-15 13:47:12 +08:00
Zexi Li
abb88a40f9 Merge pull request #15780 from gouqi11/addTopicResult
fix(notify): Add topic result
2023-01-14 17:03:11 +08:00
Zexi Li
330da74149 Merge pull request #15783 from ioito/hotfix/qx-vender-update-vmware-timeout
fix(region): vender update for vmware timeout
2023-01-14 16:57:16 +08:00
Zexi Li
b52834d5a3 Merge pull request #15773 from wanyaoqi/fix/qga-set-password-status
fix(region): qga set password status on failed
2023-01-14 16:56:28 +08:00
mhf
48ecb6934d fix(notify): fix server/create bug 2023-01-14 16:22:33 +08:00
ioito
2daec50108 fix(region): vender update for vmware timeout 2023-01-14 16:21:38 +08:00
Zexi Li
d33a9774d6 Merge pull request #15771 from ioito/hotfix/qx-service-exception
fix(common): service exception
2023-01-14 11:55:34 +08:00
ioito
9ddaa5e3b4 fix(common): service exception 2023-01-14 10:22:54 +08:00
mhf
90e9a29a4a fix(notify): 对所有通知默认加入系统管理员接收人 2023-01-13 16:19:20 +08:00
Zexi Li
7ff706efa4 Merge pull request #15774 from ioito/hotfix/qx-cloudpods-load
fix(cloudmon): cloudpods load
2023-01-13 15:29:37 +08:00
wanyaoqi
0666db8727 fix(region): qga set password status 2023-01-13 15:24:28 +08:00
ioito
23dd617170 fix(cloudmon): cloudpods load 2023-01-13 15:22:04 +08:00
Zexi Li
9e0a7151b5 Merge pull request #15768 from ioito/hotfix/qx-vender-update-20230112
fix(region): vender update for qcloud lb listener
2023-01-13 10:27:47 +08:00
ioito
9e9d794eef fix(region): vender update for qcloud lb listener 2023-01-12 18:24:50 +08:00
Zexi Li
4a5bcb7c63 Merge pull request #15758 from wanyaoqi/fix/cherry-pci
fix cherrypick script
2023-01-12 18:06:23 +08:00
Zexi Li
cbac0ce839 Merge pull request #15755 from wanyaoqi/automated-cherry-pick-of-#15754-upstream-master
Automated cherry pick of #15754: fix(host): isolated_deivce hotplug check addr
2023-01-12 18:06:03 +08:00
Zexi Li
659a16c6d2 Merge pull request #15756 from wanyaoqi/fix/network-mac-ip-update
fix(region): network_ip_macs allow update ip and mac
2023-01-12 18:05:26 +08:00
Zexi Li
6f631ebf33 Merge pull request #15761 from wanyaoqi/automated-cherry-pick-of-#15760-upstream-master
Automated cherry pick of #15760: Automated cherry pick of #15759: fix(region): auto switch to backup on host down
2023-01-12 18:04:57 +08:00
Zexi Li
9f247ccf2d Merge pull request #15763 from wanyaoqi/fix/ip-mac-bind
fix(region): network_ip_mac update check
2023-01-12 18:02:01 +08:00
wanyaoqi
45f12d2021 fix(region): network_ip_macs rbac and guestnetwork assign
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-12 17:53:19 +08:00
wanyaoqi
ed394dd955 fix(region): network_ip_mac update 2023-01-12 11:48:19 +08:00
wanyaoqi
16507604f7 fix(region): auto switch to backup on host down 2023-01-11 21:44:49 +08:00
wanyaoqi
e6b43e5428 fix cherrypick script 2023-01-11 19:50:16 +08:00
wanyaoqi
ded3d8e901 fix(region): network_ip_macs allow update ip and mac
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 19:19:01 +08:00
wanyaoqi
0c9466874e fix(host): isolated_deivce hotplug check addr
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-11 18:04:05 +08:00
Zexi Li
4729919fb9 Merge pull request #15747 from ioito/hotfix/qx-qcloud-lb-lbbg
fix(region): qcloud lb backend create
2023-01-11 10:37:09 +08:00
Zexi Li
4b5f6f0e06 Merge pull request #15750 from ioito/hotfix/qx-vender-update-20230110
fix(region): vender update
2023-01-11 10:36:27 +08:00
Zexi Li
ef336b6540 Merge pull request #15749 from wanyaoqi/feat/guest-ip-mac-alloc
feat(region): bind network ip macs
2023-01-11 10:36:00 +08:00
ioito
b86c5b921c fix(region): vender update 2023-01-10 19:00:17 +08:00
wanyaoqi
32e60f38fc feat(region): bind network ip macs
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-10 18:14:50 +08:00
ioito
098a69145a fix(region): qcloud lb backend create 2023-01-10 14:30:53 +08:00
Zexi Li
d1246adcf9 Merge pull request #15737 from ioito/hotfix/qx-hostname-validate-length
fix(region): hostname validate
2023-01-09 14:31:35 +08:00
Zexi Li
4a86846f8a Merge pull request #15742 from wanyaoqi/fix/telegraf-startup
fix(host-deployer): windows 2008 Out-File IOException
2023-01-09 14:30:51 +08:00
wanyaoqi
78a913fded fix(host-deployer): windows 2008 Out-File IOException
debug log cause windows 2008 IOException, multi process open log file.
2023-01-09 13:57:10 +08:00
ioito
0dd3fc9c8c fix(region): hostname validate 2023-01-09 11:15:15 +08:00
Jian Qiu
9654b2c2c4 fix: simplify and accelerate query of notification (#15734)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-08 09:29:38 +08:00
wanyaoqi
e34afc1abb feat(host): kvm vcpus bind cpuset on numa nodes and cpu dies (#15732)
- alloc cpuset on guest startup, try to alloc on one numa or cpu die
- fix guest startup task not clean
- fix cgrup tasks not clean
2023-01-08 09:29:12 +08:00
屈轩
c0b41e27bc fix(region): optimzed zone-list speed (#15729) 2023-01-07 20:56:16 +08:00
gouqi11
031503735a add excelutils func (#15727) 2023-01-07 20:55:14 +08:00
Zexi Li
c9b46c5f74 Merge pull request #15725 from ioito/hotfix/qx-vender-update-migrate
fix(region): vmware migrate
2023-01-06 17:55:51 +08:00
ioito
7efb47c7c6 fix(region): vmware migrate 2023-01-06 17:43:55 +08:00
Zexi Li
8f9313ba24 Merge pull request #15721 from ioito/hotfix/qx-vender-update-20230106
fix(region): vender update
2023-01-06 15:32:01 +08:00
Zexi Li
f2d9362fe5 Merge pull request #15709 from ioito/hotfix/qx-account-sync-status
fix(region): account sync status
2023-01-06 15:31:09 +08:00
ioito
fadb342e3a fix(region): vender update 2023-01-06 11:18:48 +08:00
Jian Qiu
b40a0cb792 fix: need more args in CustomizedTotalCount (#15717)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-06 03:33:44 +08:00
wanyaoqi
3f7e134fbf fix(worker): policy and task worker count configurable (#14958) 2023-01-05 22:36:50 +08:00
Zexi Li
4b5a164981 Merge pull request #15710 from swordqiu/hotfix/qj-init-schedinfo-domain-project
fix: init shceduler schedinfo project and domain
2023-01-05 17:04:26 +08:00
Zexi Li
139f2ccd65 fix(notify): update MYSQL_OUT_OF_SYNC template (#15707) 2023-01-05 15:39:20 +08:00
Qiu Jian
1d5a43d66d fix: init shceduler schedinfo project and domain 2023-01-05 15:26:33 +08:00
ioito
4f83df9ff2 fix(region): account sync status 2023-01-05 10:28:32 +08:00
wanyaoqi
19c33508d8 feat(host): sriov nic monitor (#15690)
* feat(host): sriov nic monitor

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

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-04 22:09:44 +08:00
Zexi Li
e7e0b534f3 Merge pull request #15701 from ioito/hotfix/qx-vender-update-20230104
fix(region): vender update
2023-01-04 20:01:37 +08:00
ioito
1ce7dc7cb1 fix(region): vender update 2023-01-04 19:46:36 +08:00
Zexi Li
b107fbf1fe Merge pull request #15699 from ioito/hotfix/qx-query-nil
fix(keystone): avoid panic
2023-01-04 15:44:21 +08:00
Zexi Li
47dabb3ebd Merge pull request #15688 from ioito/hotfix/qx-redis-sync-error
fix(region): redis sync error optimized
2023-01-04 15:14:03 +08:00
ioito
5468ffbbaa fix(keystone): avoid panic 2023-01-04 15:04:35 +08:00
屈轩
5d2e3763c9 fix(keystone): project-show by name with not found error (#15697) 2023-01-03 21:26:13 +08:00
Zexi Li
ca71a06aa8 Merge pull request #15692 from ioito/hotfix/qx-aws-lb
fix(region): aws lb optimized
2023-01-03 18:37:26 +08:00
Zexi Li
0def47a940 Merge pull request #15694 from zexi/esxi-migrate-check
fix(scheduler): do migrate checking when hypervisor is not esxi
2023-01-03 18:35:33 +08:00
Zexi Li
076b6e5387 fix(scheduler): do migrate checking when hypervisor is not esxi 2023-01-03 18:14:51 +08:00
ioito
37f1bbbd54 fix(region): aws lb optimized 2023-01-03 17:55:47 +08:00
ioito
5d63beb669 fix(region): redis sync error optimized 2023-01-03 11:07:15 +08:00
Jian Qiu
e57dd92e5d fix: make cloudaccount options visbile in list (#15684)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:45:02 +08:00
Jian Qiu
cc750955be fix: get user ids by role ids in scope (#15686)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 23:44:50 +08:00
Jian Qiu
e656426e3f feature: list results carry extra total stats (#15682)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-01-02 14:32:36 +08:00
gouqi11
6cdda3ead6 fix(notify): add some template and notification (#15607) 2023-01-02 12:00:21 +08:00
wanyaoqi
904e7b31a5 Automated cherry pick of #15664: Automated cherry pick of #15618: fix(host): use drive backup sync backup disks (#15681)
* fix(host): use drive backup sync backup disks

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

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:58:14 +08:00
wanyaoqi
d6c4322ae8 fix(region): sriov vfio-pci driver manual deploy nic (#15680)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-01-02 11:58:02 +08:00
Zexi Li
91c8147d68 Merge pull request #15676 from ioito/hotfix/qx-aliyun-system-disk
fix(region): system disk storage type
2022-12-30 16:18:31 +08:00
ioito
ded1a85044 fix(region): system disk storage type 2022-12-30 16:04:42 +08:00
Zexi Li
7b172779e6 Merge pull request #15671 from wanyaoqi/fix/qemu-caps
fix(host): detect qemu caps
2022-12-30 15:02:34 +08:00
Zexi Li
e6fbf60954 Merge pull request #15639 from silence934/resource_tag3
feat(region): sync resource tag
2022-12-30 15:01:30 +08:00
Zexi Li
e0e7235ece Merge pull request #15675 from zexi/automated-cherry-pick-of-#15673-upstream-master
Automated cherry pick of #15673: fix(scheduler): reduce calculation of storage's free_capacity
2022-12-30 14:52:46 +08:00
Zexi Li
b4c08e23f7 fix(scheduler): reduce calculation of storage's free_capacity 2022-12-30 12:40:54 +08:00
wanyaoqi
e42c91e5ea fix(host): detect qemu caps
ingnore pmemclean output on qemu version 2.12.1

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-30 11:50:09 +08:00
Jian Qiu
8450d91367 fix: project duplicate fix2 (#15666)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-30 00:27:15 +08:00
Jian Qiu
1b52106d11 fix: project duplciate name (#15662)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-12-29 23:33:42 +08:00
屈轩
32a756c74a fix(region): duplicate project sync (#15660) 2022-12-29 23:19:39 +08:00
屈轩
47bcf2e9d9 fix(region): hostname sync (#15657) 2022-12-29 23:19:06 +08:00
屈轩
b2be76af46 fix(region): qcloud cdn create (#15655) 2022-12-29 23:18:44 +08:00
Zexi Li
1ac6de33f7 Merge pull request #15649 from ioito/hotfix/qx-redis-aliyun
fix(region): aliyun redis create
2022-12-29 16:26:18 +08:00
Zexi Li
1cee2e40fd Merge pull request #15651 from zexi/webconsole-get-pod
fix(webconsole): not get pod info when fetchK8sEnv
2022-12-29 16:06:50 +08:00
Zexi Li
d6a6f115ad fix(webconsole): not get pod info when fetchK8sEnv 2022-12-29 15:45:50 +08:00
ioito
8600f7cca1 fix(region): aliyun redis create 2022-12-29 15:30:03 +08:00
屈轩
1094243359 fix(region): external project sync (#15647) 2022-12-29 14:57:06 +08:00
Jian Qiu
5ffa5791a9 fix: climc panic 20221228 (#15644)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-29 11:28:46 +08:00
Zexi Li
a72d05f2f9 Merge pull request #15635 from swordqiu/hotfix/qj-limit-user-project-roles
fix: limit roles that a user join a project
2022-12-29 10:44:53 +08:00
silence
115bb1290f feat(region):sync kafka tag
fmt
2022-12-28 17:40:43 +08:00
silence
e195ed88fa feat(region): sync resource tag 2022-12-28 16:05:34 +08:00
屈轩
8062916fe4 fix(region): vender update (#15633) 2022-12-28 15:37:17 +08:00
Qiu Jian
e51acd0d38 fix: limit roles that a user join a project 2022-12-28 15:16:15 +08:00
Zexi Li
af48e79b15 Merge pull request #15631 from ioito/hotfix/qx-vmware-migrate-check
fix(region): remove migrate check
2022-12-27 21:01:04 +08:00
Zexi Li
dffc10a99e Merge pull request #15625 from ioito/hotfix/qx-external-project-sync
fix(region): external project sync
2022-12-27 21:00:38 +08:00
Zexi Li
62fc725643 Merge pull request #15627 from ioito/hotfix/qx-lb-cert-sync
fix(region): lb cert sync
2022-12-27 20:59:58 +08:00
ioito
2700b29a9f fix(region): remove migrate check 2022-12-27 17:26:41 +08:00
wanyaoqi
e1d3635b0a fix(region,host): migrate use source desc file. (#15623) 2022-12-27 16:50:47 +08:00
ioito
ae96b15406 fix(region): lb cert sync 2022-12-27 15:43:39 +08:00
ioito
a7e545f322 fix(region): external project sync 2022-12-27 15:15:37 +08:00
Zexi Li
0386ea3453 Merge pull request #15624 from yunionio/zexi-patch-1
Update bug_report.md
2022-12-27 14:21:51 +08:00
Zexi Li
41fd719cc5 Update bug_report.md 2022-12-27 14:21:16 +08:00
Jian Qiu
21716cefb5 fix: remove mutual dependency of cloudmux on onecloud (#15621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-27 01:21:26 +08:00
屈轩
9804fbaf7a fix(region): usage for host storage (#15619) 2022-12-27 01:20:42 +08:00
Jian Qiu
ec90862764 fix: remove dependency of appctx on i18n (#15615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 23:44:52 +08:00
Jian Qiu
23a4d67944 fix: guests short desc add status (#15612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-23 19:23:02 +08:00
wanyaoqi
2a44f6f57e fix(region): sriov typo (#15609) 2022-12-23 00:58:04 +08:00
Zexi Li
3099e9ea8b Merge pull request #15611 from wanyaoqi/fix/cherrypick-filter
fix cherrypick script split upstream repo name
2022-12-22 22:38:11 +08:00
wanyaoqi
ccd7982e25 fix cherrypick script split upstream repo name 2022-12-22 20:43:34 +08:00
屈轩
e1fbdb0a78 fix(region): tags for project mapping (#15605) 2022-12-22 18:42:13 +08:00
Zexi Li
1fb295436e Merge pull request #15566 from wanyaoqi/automated-cherry-pick-of-#15565-upstream-master
Automated cherry pick of #15565: Automated cherry pick of #15473: fix(region,host): backup guest
2022-12-22 10:17:39 +08:00
Zexi Li
110bbf214c Merge pull request #15602 from gouqi11/fixModelartsCidrDiff
fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO
2022-12-21 17:40:49 +08:00
mhf
66753ce8e4 fix(region): fixModelartsCidrDiffBetweenHuaweiAndHCSO 2022-12-21 16:05:49 +08:00
Zexi Li
2643c8916e optimize(scheduler): reduce calculation of network free address (#15595)
- only calculate non-emulated host's network on building
- calculate emulated host's network on scheduling
2022-12-20 20:54:16 +08:00
Zexi Li
a3844d4b28 fix(baremetal): update base image to v0.3.9 (#15598)
ref: https://github.com/yunionio/yunionos/pull/27
2022-12-20 20:40:06 +08:00
wanyaoqi
a5432e713e fix(host): don't hide kvm cpu feature on nested virt (#15578) 2022-12-20 20:38:39 +08:00
Jian Qiu
2035bd9b9b fix: prefer id over name when fetching owner id (#15590)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-20 19:54:19 +08:00
Zexi Li
bc016c76d9 Merge pull request #15583 from ioito/hotfix/qx-ignore-empty-metric-error
fix(cloudmon): ignore empty metric error
2022-12-20 12:59:20 +08:00
Zexi Li
38b98714ea Merge pull request #15580 from ioito/hotfix/qx-vender-update-misc
fix(region): vender update
2022-12-20 12:58:03 +08:00
ioito
9732305508 fix(cloudmon): ignore empty metric error 2022-12-19 17:11:35 +08:00
ioito
a4c434c34d fix(region): vender update 2022-12-19 14:46:46 +08:00
屈轩
4d78465d92 fix(region): vender update (#15559) 2022-12-17 17:26:58 +08:00
屈轩
77a0cf0646 fix(region): sync vm hostname with ascii (#15562) 2022-12-16 16:06:46 +08:00
Zexi Li
30a9da1fe4 Merge pull request #15557 from silence934/fixnil
fix(cloudmon): collectStatsMetrics ret is nil
2022-12-15 17:01:51 +08:00
Zexi Li
59cf12192a Merge pull request #15573 from zexi/automated-cherry-pick-of-#15569-upstream-master
Automated cherry pick of #15569: fix(baremetal): mac address of BMC not found
2022-12-15 16:54:34 +08:00
Zexi Li
10bafbeadd Merge pull request #15574 from gouqi11/fixSyncProject
fix(region): fix sync project bug and add climc choices
2022-12-15 16:49:58 +08:00
mhf
4190f2b6b9 fix(region): fix sync project bug and add climc choices 2022-12-15 15:24:19 +08:00
Zexi Li
5084fd4ed9 Merge pull request #15568 from gouqi11/fixCloudmonRemotefileMetric
fix(cloudmon): remotefile metrice bugfix
2022-12-15 11:48:08 +08:00
Zexi Li
4e53f95ca6 fix(baremetal): mac address of BMC not found 2022-12-15 11:33:21 +08:00
mhf
d3e2999ef4 fix(cloudmon): remotefile metrice bugfix 2022-12-15 10:43:53 +08:00
wanyaoqi
659c455818 fix(region,host): backup guest refactor 2022-12-14 23:58:00 +08:00
silence
8f887e0b3d fix(cloudmon): collectStatsMetrics ret is nil 2022-12-14 15:34:24 +08:00
Zexi Li
e465a65dcc Merge pull request #15550 from swordqiu/hotfix/qj-win10-usb-tablet-disfunc
fix: usb tablet not function for windows 10 guest
2022-12-14 15:33:05 +08:00
Zexi Li
1181718251 Merge pull request #15545 from ioito/hotfix/qx-vender-update-op
fix(region): vender update
2022-12-14 15:31:12 +08:00
Qiu Jian
f7fdbfa94a fix: usb tablet not function for windows 10 guest 2022-12-14 11:12:39 +08:00
wanyaoqi
2c244bc547 fix(region): use qcow2 format on raw disk cache image (#15547) 2022-12-13 18:32:30 +08:00
ioito
64d662d514 fix(region): vender update 2022-12-13 15:26:06 +08:00
Zexi Li
f28bdf689f Merge pull request #15509 from wanyaoqi/fix/change-storage
fix(region,host): fix some bugs of server disk change storage
2022-12-12 14:51:07 +08:00
Zexi Li
9a872542d9 Merge pull request #15514 from gouqi11/fixCloudPodsMonitor
fix(cloudmon):add cloudpods metric GetDelayDuration
2022-12-12 14:50:14 +08:00
Zexi Li
49b6d057f3 Merge pull request #15541 from gouqi11/fix/cloudpodsClimcHypervisor
fix(climc): add server option cloudpods
2022-12-12 14:48:29 +08:00
wanyaoqi
113c2b5f7d fix(host): convert migrate set downtime value to float64 (#15475)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

Qemu will send `STOP` event on start last time migration, but this
moment migration not completed. So we need wait magration complete.
Configurable Auto converge max cpu throttle.
2022-12-12 14:20:51 +08:00
mhf
460834288b fix(climc): add server option cloudpods 2022-12-12 11:29:31 +08:00
Zexi Li
376f896e36 Merge pull request #15537 from swordqiu/hotfix/qj-host-init-before-auth
fix: host init before auth
2022-12-12 09:41:51 +08:00
屈轩
1298146f41 fix(common): optimized metadata list (#15529) 2022-12-11 18:10:04 +08:00
Zexi Li
d156aff4e4 Merge pull request #15538 from swordqiu/hotfix/qj-cherry-pick-pull-fail-on-private-repo
fix: cherry_pick_pull.sh fail to parse URL of github URL with credential
2022-12-11 18:09:10 +08:00
QIU Jian
b739d399e7 fix: cherry_pick_pull.sh fail to parse URL of github URL with credential 2022-12-11 12:47:35 +08:00
Qiu Jian
c2df49a4a9 fix: host init before auth 2022-12-10 23:49:29 +08:00
Zexi Li
525a879283 Merge pull request #15526 from ioito/hotfix/qx-limit-request
fix(common): limit request
2022-12-09 11:43:56 +08:00
Zexi Li
d182bbfce5 Merge pull request #15532 from ioito/hotfix/qx-storage-metric
fix(cloudmon): storage metric
2022-12-09 11:42:06 +08:00
ioito
15f6aa7767 fix(cloudmon): storage metric 2022-12-09 11:27:04 +08:00
ioito
84f3fa5b5a fix(common): limit request 2022-12-08 15:52:57 +08:00
wanyaoqi
f5415697b9 fix(host): convert migrate set downtime value to float64 (#15475)
* fix(host): convert migrate set downtime value to float64

* fix(host): live migration optimize

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-12-08 14:42:46 +08:00
屈轩
28baa2c6a7 fix(cloudid): support custom saml user name (#15511) 2022-12-08 14:41:56 +08:00
wanyaoqi
843714f922 fix(host): ceph util timeout (#15515) 2022-12-08 14:41:01 +08:00
Zexi Li
f60ee011aa Merge pull request #15508 from ioito/feat/qx-hcsop
feat(region): support hcsop
2022-12-08 10:53:42 +08:00
wanyaoqi
570003c80e fix(region,host): fix some bugs of server disk change storage 2022-12-07 23:54:13 +08:00
Zexi Li
41e2c4971c Merge pull request #15505 from ioito/hotfix/qx-huawei-saml-user
fix(cloudid): huawei saml user name
2022-12-07 22:35:41 +08:00
ioito
e0bd0574fb feat(region): support hcsop 2022-12-07 21:48:41 +08:00
ioito
c228b3a14b fix(cloudid): huawei saml user name 2022-12-07 11:21:26 +08:00
wanyaoqi
32a9f1840a fix(host): update host wire with mac addr (#15500) 2022-12-07 02:15:05 +08:00
Zexi Li
227c169782 Merge pull request #15494 from ioito/hotfix/qx-hcso-saml-name
fix(cloudid): vender update
2022-12-07 00:12:48 +08:00
ioito
a05c477038 fix(cloudid): vender update 2022-12-06 18:25:39 +08:00
Jian Qiu
47cf4ba412 fix: notify send email with duplicate attachments (#15492)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-06 15:20:22 +08:00
Zexi Li
8ae484a298 Merge pull request #15483 from swordqiu/hotfix/qj-trigger-vpcagent-sync-guest-start
fix: trigger vpcagent update when starting guest
2022-12-06 01:46:32 +08:00
Jian Qiu
7e8f6b2ea1 fix: allow baremetal to specify external tftp server and file (#15489)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-05 23:40:49 +08:00
Zexi Li
721da60d88 Merge pull request #15482 from swordqiu/automated-cherry-pick-of-#15480-upstream-master
Automated cherry pick of #15480: fix: host disable gso for specific nics
2022-12-05 18:19:37 +08:00
Zexi Li
e0f2bea3ad Merge pull request #15485 from swordqiu/feature/qj-update-hostname
feature: allow update hostname
2022-12-05 18:16:39 +08:00
Qiu Jian
911351fee6 feature: allow update hostname 2022-12-05 16:13:31 +08:00
Qiu Jian
eac5e84eff fix: trigger vpcagent update when starting guest 2022-12-04 02:56:50 +08:00
Qiu Jian
e5adbfc19a fix: host disable gso for specific nics 2022-12-04 00:56:17 +08:00
屈轩
380037f19c fix(region): hcs vpc emulated (#15478) 2022-12-02 10:08:44 +08:00
Jian Qiu
6c10a39bb3 fix: lbagent switch to backup (#15465)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-12-01 01:23:38 +08:00
屈轩
4a7fab8a52 fix(common): http request timeout (#15451) 2022-12-01 01:23:10 +08:00
Zexi Li
15912a9882 fix(scheduler): consider storage backend and mediumType size (#15469) 2022-12-01 01:22:36 +08:00
屈轩
66566c62ec fix(cloudmon): hcs metric (#15471) 2022-12-01 01:21:42 +08:00
Zexi Li
5e0180cff9 Merge pull request #15462 from swordqiu/hotfix/qj-aws-sync-os-arch
fix: aws sync os_arch
2022-11-30 17:53:42 +08:00
Qiu Jian
9027267c1d fix: aws sync os_arch 2022-11-30 01:02:11 +08:00
Zexi Li
3fd0a01541 Merge pull request #15460 from ioito/hotfix/qx-vender-update-hcs-eip
fix(region): vender update
2022-11-29 19:37:45 +08:00
ioito
c0bbda6166 fix(region): vender update 2022-11-29 18:37:42 +08:00
gouqi11
4d03dd0828 fix(region): fix modelarts create task setStatus (#15457) 2022-11-28 23:58:51 +08:00
gouqi11
73d3c20266 fix(region): add guest power states (#15450) 2022-11-28 23:57:27 +08:00
Zexi Li
19273b8060 Merge pull request #15439 from swordqiu/feature/qj-vpcagent-sync-handler
Feature/qj vpcagent sync handler
2022-11-28 19:16:45 +08:00
Zexi Li
a3f7624ce4 Merge pull request #15445 from swordqiu/hotfix/qj-vmware-convert-kvm-network-check
fix: vmware convert to kvm need check network configuration
2022-11-28 19:15:57 +08:00
Jian Qiu
5a1c786650 fix: lbagent master fixes (#15331)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-28 13:08:52 +08:00
Qiu Jian
132af11278 fix: vmware convert to kvm need check network configuration 2022-11-28 02:15:58 +08:00
Zexi Li
36e0f56a07 Merge pull request #15438 from gouqi11/fix/modelartSkuPugeAllForMaster
fix(region): delete modelart Sku purgeAll.managerId
2022-11-25 20:38:04 +08:00
Qiu Jian
f6c5006079 feature: vpcagent sync handler 2022-11-25 17:36:09 +08:00
Zexi Li
ac2ed81974 Merge pull request #15440 from gouqi11/fix/modelartsSkuDefault
fix(region): add modelarts sku policy
2022-11-25 15:49:14 +08:00
Jian Qiu
625d3ca3a2 fix: keep schedtask_label table name (#15434)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-25 15:39:01 +08:00
mhf
93d58fd89d fix(region): add modelarts sku policy 2022-11-25 15:34:48 +08:00
mhf
3e6c82f2fc fix(region): delete modelart Sku purgeAll.managerId 2022-11-24 22:38:15 +08:00
Zexi Li
ce20baa1d7 Merge pull request #15430 from ioito/hotfix/qx-hcs-image-import
fix(region): hcs image import
2022-11-24 10:43:26 +08:00
ioito
0b78227386 fix(region): hcs image import 2022-11-24 10:05:56 +08:00
Zexi Li
e55b26497f Merge pull request #15428 from ioito/hotfix/qx-hcs-fix
fix(region): hcs misc fix
2022-11-23 16:19:57 +08:00
ioito
64e12721a9 fix(region): hcs misc fix 2022-11-23 15:59:14 +08:00
6502 changed files with 893625 additions and 510726 deletions

View File

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

3
.editorconfig Normal file
View File

@@ -0,0 +1,3 @@
[*.sh]
indent_style = space
indent_size = 4

View File

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

View File

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

View File

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

View File

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

View File

@@ -13,8 +13,7 @@ If no, just write "NONE".
If don't know, write "UNKNOWN", and let the reviewer decide.
If yes, write the release branches name in the below format and submit the related cherry-pick PR:
- release/3.7
- release/3.6
- release/3.11
Take a look at "https://www.cloudpods.org/en/docs/contribute/contrib/" to learn how to submit a cherry-pick PR.
-->

38
.github/workflows/ci-pr-build-test.yml vendored Normal file
View File

@@ -0,0 +1,38 @@
name: Building and test for PR
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install check tools
shell: bash
run: |
set -o xtrace
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
- name: Test and build
shell: bash
run: |
set -o xtrace
export GO111MODULE=on
make -j3 check
make test
targets="$(find cmd -mindepth 1 -maxdepth 1 -type d | grep -v cmd/host-image | grep -v torrent)"
echo $targets | tr ' ' '\n'
make $targets
ls -lh _output/bin

View File

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

52
.github/workflows/docker_apigateway.yml vendored Normal file
View File

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

50
.github/workflows/docker_climc.yml vendored Normal file
View File

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

51
.github/workflows/docker_cloudmon.yml vendored Normal file
View File

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

49
.github/workflows/docker_esxi_agent.yml vendored Normal file
View File

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

53
.github/workflows/docker_glance.yml vendored Normal file
View File

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

49
.github/workflows/docker_host.yml vendored Normal file
View File

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

53
.github/workflows/docker_keystone.yml vendored Normal file
View File

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

53
.github/workflows/docker_logger.yml vendored Normal file
View File

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

53
.github/workflows/docker_notify.yml vendored Normal file
View File

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

54
.github/workflows/docker_region.yml vendored Normal file
View File

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

50
.github/workflows/docker_scheduler.yml vendored Normal file
View File

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

53
.github/workflows/docker_webconsole.yml vendored Normal file
View File

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

View File

@@ -47,11 +47,6 @@ 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}
@@ -63,7 +58,7 @@ ifeq ($(UNAME), Linux)
XARGS_FLAGS = --no-run-if-empty
endif
cmdTargets:=$(filter-out cmd/host-image,$(wildcard cmd/*))
cmdTargets:=$(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)))
@@ -81,7 +76,7 @@ gencopyright:
@bash scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage|torrent')
vet:
go vet ./...
@@ -282,14 +277,14 @@ dep:
@echo "$$depDeprecated"
@$(MAKE) mod
RELEASE_BRANCH:=master
RELEASE_BRANCH:=release/3.11.12
GOPROXY ?= direct
mod:
GOPROXY=$(GOPROXY) go get -d yunion.io/x/cloudmux@$(RELEASE_BRANCH)
GOPROXY=$(GOPROXY) go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p' | grep -v '/cloudmux$$'))
go mod tidy
go mod vendor -v
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 mod tidy
GOPROXY=$(GOPROXY) GONOSUMDB=yunion.io/x go mod vendor -v
define helpText
Build with docker
@@ -349,7 +344,7 @@ image:
.PHONY: image
image-telegraf-raid-plugin:
VERSION=release-1.6.4 ARCH=all make image telegraf-raid-plugin
VERSION=release-1.6.5 ARCH=all make image telegraf-raid-plugin
%:
@:

View File

@@ -8,8 +8,8 @@ endif
ModBaseName:=$(notdir $(ModName))
DockerImageRegistry?=registry.cn-beijing.aliyuncs.com
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.16.0-go-1.18.2-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.18.3-0
DockerImageAlpineBuild?=$(DockerImageRegistry)/yunionio/alpine-build:3.19.0-go-1.21.10-0
DockerImageCentOSBuild?=$(DockerImageRegistry)/yunionio/centos-build:go-1.21.10-0
EnvIf=$(if $($(1)),$(1)=$($(1)))

7
OWNERS
View File

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

View File

@@ -220,7 +220,7 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* Huawei HCSO (华为HCSO)
* Nutanix
* 本地基础设施资源:
* KVM
* 基于 KVM 实现的轻量级私有云
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -237,52 +237,12 @@ Cloudpods是一个开源的Golang实现的云原生的融合多云/混合云的
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## 快速开始
## 安装部署
我们可以通过以下简单三步将Cloudpods安装在一台至少8GiB内存和100GB硬盘的Linux主机上目前CentOS 7Debian 10经过充分测试)
(下面假设该主机的IP为 *10.168.26.216*)
### 1. 准备SSH免密登录
```bash
# 生成ssh密钥对
# (如果已经有~/.ssh/id_rsa和~/.ssh/id_rsa.pub,请跳过此步。请确保ssh密钥私钥未设置密码)
$ ssh-keygen -t rsa -N ''
# 将生成的ssh公钥~/.ssh/id_rsa.pub拷贝到待部署的目标主机
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# 测试SSH免密登录是否生效。免密登录到待部署主机执行hostname命令
# 如果设置成功,执行下面命令能够回显待部署主机的主机名
# 不需要输入待部署主机的密码
$ ssh root@10.168.26.216 "hostname"
```
### 2. 安装git和相关工具
#### CentOS 7安装git和epel源
```bash
yum install -y git epel-release ansible
```
#### Debian 10安装git
```bash
apt install -y git ansible
```
### 3. 安装Cloudpods
通过以下命令开始安装Cloudpods
```bash
# Git clone the ocboot installation tool locally
$ git clone -b release/3.8 https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
大概10-30分钟后安装完成。访问 https://10.168.26.216 登入Cloudpods的Web控制台。初始的账号为 *admin* ,密码为 *admin@123*
请参考文档 [快速开始](https://www.cloudpods.org/zh/docs/quickstart/allinone/) 获得更详细的安装指导。
已经有 Kubernetes 集群?可以尝试 [使用 Helm 安装 Cloudpods](https://www.cloudpods.org/zh/docs/quickstart/k8s/)。
- [All in One 安装](https://www.cloudpods.org/zh/docs/quickstart/allinone/):在 CentOS 7Debian 10 等发行版里搭建全功能 Cloudpods 服务,可以快速体验**内置私有云**和**多云管理**的功能。
- [Kubernetes Helm 安装](https://www.cloudpods.org/zh/docs/quickstart/k8s/):在已有 Kubernetes 集群上通过 Helm 部署一套 Cloudpods CMP 服务,可以体验**多云管理**的功能。
- [Docker Compose 安装](https://www.cloudpods.org/zh/docs/quickstart/docker-compose/):通过 Docker Compose 部署 Cloudpods CMP 服务,可以迅速体验**多云管理**的功能。
- [高可用安装](https://www.cloudpods.org/zh/docs/setup/ha-ce/):在生产环境中使用高可用的方式部署 Cloudpods 服务,包括**内置私有云**和**多云管理**的功能。
## 文档
@@ -300,11 +260,11 @@ $ git clone -b release/3.8 https://github.com/yunionio/ocboot && cd ./ocboot &&
* [服务订阅](https://www.yunion.cn/subscription/index.html)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/623431553/)
* 哔哩哔哩: [Cloudpods](https://space.bilibili.com/3493131737631540/)
* 微信: 请扫描如下二维码联系我们
<img src="https://www.cloudpods.org/images/contact_me_qr_20210701.png" alt="WeChat QRCode">
<img src="https://www.cloudpods.org/images/contact_me_qr_20230321.png" alt="WeChat QRCode">
## 版本历史

View File

@@ -224,7 +224,7 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* Huawei HCSO
* Nutanix
* On-premise resources:
* KVM
* Lightweight private cloud built on KVM
* VMWare vSphere vCenter/ESXi
* Baremetals (IPMI, Redfish API)
* Object storages (Minio, Ceph, XSky)
@@ -241,55 +241,12 @@ Cloudpods is a cloud-native open source unified multi/hybrid-cloud platform deve
* DNS: DNS zones, DNS records
* VPC: VPCs, VPC peering, inter-VPC network, NAT gateway, DNAT/SNAT rules, route tables, route entries
## Quick start
## Getting started
You may install Cloudpods in a Linux box (currently CentOS 7 and Debian 10 are fully tested) with at least 8GiB RAM and 100GB storage by following three steps.
(Assuming that you install Cloudpods on a Linux box with IP *10.168.26.216*):
### 1. Prepare passwordless SSH login
```bash
# Generate a local ssh keypair
# (SKIP this step if you already have ~/.ssh/id_rsa.pub locally. Make sure generating key WIHOUT passphrase)
$ ssh-keygen -t rsa -N ''
# Copy the generated ~/.ssh/id_rsa.pub public key to the machine to be deployed
$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@10.168.26.216
# Try to login to the machine to be deployed without password,
# should be able to get the hostname of the deployed machine
# without entering the login password
$ ssh root@10.168.26.216 "hostname"
```
### 2. Install git and relevant tools
#### For CentOS 7
```bash
yum install -y git epel-release ansible
```
#### For Debian 10
```bash
apt install -y git ansible
```
### 3. Install Cloudpods
Run the following commands to start installing Cloudpods.
```bash
# Git clone the ocboot installation tool locally
$ git clone -b release/3.8 https://github.com/yunionio/ocboot && cd ./ocboot && ./run.py 10.168.26.216
```
It takes 10-30 minutes to finish the installation. You may visit the webconsole of Cloudpods at https://10.168.26.216. The initial login account is *admin* and password is *admin@123*.
For more detailed instructions, please refers to [quick start](https://www.cloudpods.org/zh/docs/quickstart/allinone/).
Already having a Kubernetes? Try [installing Cloudpods with Helm](https://www.cloudpods.org/zh/docs/quickstart/k8s/).
- [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
@@ -308,11 +265,11 @@ You may contact us by:
* [Subscription](https://www.yunion.cn/subscription/index.html)
* Bilibili: [Cloudpods](https://space.bilibili.com/623431553/)
* 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_20210701.png" alt="WeChat QRCode">
<img src="https://www.cloudpods.org/images/contact_me_qr_20230321.png" alt="WeChat QRCode">
## Changelog

View File

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

View File

@@ -1,3 +1,22 @@
export PATH=/opt/yunion/bin:$PATH
if [ -f /etc/profile.d/bash_completion.sh ]; then
source /etc/profile.d/bash_completion.sh
fi
test -f /etc/yunion/rcadmin && source /etc/yunion/rcadmin
if [ -n "$OS_AUTH_TOKEN" ]; then
test -n "$OS_USERNAME" && unset OS_USERNAME
test -n "$OS_PASSWORD" && unset OS_PASSWORD
test -n "$OS_DOMAIN_NAME" && unset OS_DOMAIN_NAME
test -n "$OS_ACCESS_KEY" && unset OS_ACCESS_KEY
test -n "$OS_SECRET_KEY" && unset OS_SECRET_KEY
fi
source <(climc --completion bash)
source <(kubectl completion bash)
echo "Welcome to Cloud Shell :-) You may execute climc and other command tools in this shell."
echo "Please exec 'climc' to get started"
echo ""

View File

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

View File

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

View File

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

View File

@@ -1,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v3.15.4-0
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
@@ -9,12 +9,20 @@ RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /e
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add ansible \
&& apk add py3-pip \
&& apk add tzdata git ca-certificates \
&& rm -rf /var/cache/apk/*
&& apk update \
&& apk add openssh-client \
&& apk add sshpass \
&& apk add py3-pip \
&& apk add tzdata git ca-certificates
RUN pip3 install pywinrm
RUN apk add --no-cache openssh openssl curl rsync pv mariadb-client
RUN apk add --no-cache --virtual .build-dependencies \
libffi-dev openssl-dev python3-dev build-base py-setuptools rust cargo mariadb-dev
# ansible should be installed
# after setuptools and wheel
RUN pip3 install -U pip setuptools wheel \
&& 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

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

View File

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

View File

@@ -1,7 +1,7 @@
#FROM --platform=linux/amd64 registry.cn-beijing.aliyuncs.com/yunionio/centos-build:1.1-4 as build
#RUN yum install -y https://iso.yunion.cn/vm-images/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
#RUN yum install -y http://192.168.23.50:8083/baremetal-pxerom-1.1.0-21092209.x86_64.rpm
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v0.1.6 as yunionos
FROM registry.cn-beijing.aliyuncs.com/yunionio/yunionos:v3.10.8-20231215.0 as yunionos
FROM centos:8 as grub-stage

View File

@@ -1,7 +1,7 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20210901
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:20230731.5
ADD ./build/climc/root/opt /opt
RUN cat /opt/yunion/scripts/motd/climc.sh >> /root/.bashrc
RUN cp /opt/yunion/scripts/motd/climc.sh /etc/profile.d/climc.sh && ln -sf /etc/profile.d/climc.sh /root/.bashrc
ADD ./_output/alpine-build/bin/climc ./_output/alpine-build/bin/*cli /opt/yunion/bin/

View File

@@ -1,5 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.3.5
ARG TARGETPLATFORM
ARG BUILDPLATFORM
ARG TARGETARCH
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
@@ -8,11 +12,13 @@ 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 kubectl ceph-common && \
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 https://iso.yunion.cn/binaries/kubernetes-release/release/v1.22.9/bin/linux/${TARGETARCH}/kubectl -o /usr/bin/kubectl && chmod a+x /usr/bin/kubectl
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH="/opt/yunion/bin:${PATH}"
RUN mkdir -p /opt/yunion/bin

View File

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

View File

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

View File

@@ -1,6 +1,8 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/file-repo:v0.5.0 AS file-repo
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:v0.2
MAINTAINER "Rain Zheng <zhengyu@yunion.com>"
LABEL maintainer="Rain Zheng <zhengyu@yunion.com>"
# openssh-client, for ansible ssh connection
# git, ca-certificates, for fetching ansible roles
@@ -10,14 +12,12 @@ RUN set -x \
&& rm -rf /var/cache/apk/*
# install default playbook and install pkg
Run mkdir -p /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf-0.x86_64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf-0.aarch64.rpm -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~be742cbf-0_arm64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf_1.19.2-yn~be742cbf-0_amd64.deb -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf_windows_amd64.zip -P /opt/yunion/ansible-install-pkg
Run wget https://yunioniso.oss-cn-beijing.aliyuncs.com/rpms/telegraf/telegraf-1.19.2-yn~be742cbf_windows_i386.zip -P /opt/yunion/ansible-install-pkg
RUN mkdir -p /opt/yunion/ansible-install-pkg
# file repo base image from https://github.com/yunionio/telegraf/blob/612b918a28a93cf8e354b8d59544753b021b824a/Makefile.yn#L24
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf*.rpm /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf*.deb /opt/yunion/ansible-install-pkg
COPY --from=file-repo /opt/yunion/ansible-install-pkg/telegraf*.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
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

@@ -0,0 +1,214 @@
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
#
# Dockerfile for guacamole-server
#
# The Alpine Linux image that should be used as the basis for the guacd image
ARG ALPINE_BASE_IMAGE=latest
FROM alpine:${ALPINE_BASE_IMAGE} AS builder
ARG TARGETPLATFORM
RUN sed -i 's!https://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
# 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
#
# 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
#
# Automatically select the latest versions of each core protocol support
# library (these can be overridden at build time if a specific version is
# needed)
#
ARG WITH_FREERDP='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+)+'
#
# Default build options for each core protocol support library, as well as
# guacamole-server itself (these can be overridden at build time if different
# options are needed)
#
ARG FREERDP_OPTS="\
-DBUILTIN_CHANNELS=OFF \
-DCHANNEL_URBDRC=OFF \
-DWITH_ALSA=OFF \
-DWITH_CAIRO=ON \
-DWITH_CHANNELS=ON \
-DWITH_CLIENT=ON \
-DWITH_CUPS=OFF \
-DWITH_DIRECTFB=OFF \
-DWITH_FFMPEG=OFF \
-DWITH_GSM=OFF \
-DWITH_GSSAPI=OFF \
-DWITH_IPP=OFF \
-DWITH_JPEG=ON \
-DWITH_LIBSYSTEMD=OFF \
-DWITH_MANPAGES=OFF \
-DWITH_OPENH264=OFF \
-DWITH_OPENSSL=ON \
-DWITH_OSS=OFF \
-DWITH_PCSC=OFF \
-DWITH_PULSE=OFF \
-DWITH_SERVER=OFF \
-DWITH_SERVER_INTERFACE=OFF \
-DWITH_SHADOW_MAC=OFF \
-DWITH_SHADOW_X11=OFF \
-DWITH_SSE2=ON \
-DWITH_WAYLAND=OFF \
-DWITH_X11=OFF \
-DWITH_X264=OFF \
-DWITH_XCURSOR=ON \
-DWITH_XEXT=ON \
-DWITH_XI=OFF \
-DWITH_XINERAMA=OFF \
-DWITH_XKBFILE=ON \
-DWITH_XRENDER=OFF \
-DWITH_XTEST=OFF \
-DWITH_XV=OFF \
-DWITH_ZLIB=ON"
ARG GUACAMOLE_SERVER_OPTS="\
--disable-guaclog"
ARG LIBSSH2_OPTS="\
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON"
ARG LIBTELNET_OPTS="\
--disable-static \
--disable-util"
ARG LIBVNCCLIENT_OPTS=""
ARG LIBWEBSOCKETS_OPTS="\
-DDISABLE_WERROR=ON \
-DLWS_WITHOUT_SERVER=ON \
-DLWS_WITHOUT_TESTAPPS=ON \
-DLWS_WITHOUT_TEST_CLIENT=ON \
-DLWS_WITHOUT_TEST_PING=ON \
-DLWS_WITHOUT_TEST_SERVER=ON \
-DLWS_WITHOUT_TEST_SERVER_EXTPOLL=ON \
-DLWS_WITH_STATIC=OFF"
# 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
# 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 \
${PREFIX_DIR}/lib/freerdp2/*guac*.so \
> ${PREFIX_DIR}/DEPENDENCIES
# Use same Alpine version as the base for the runtime image
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
# 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 \
ghostscript \
netcat-openbsd \
shadow \
terminus-font \
ttf-dejavu \
ttf-liberation \
util-linux-login && \
xargs apk add --no-cache < ${PREFIX_DIR}/DEPENDENCIES
# Checks the operating status every 5 minutes with a timeout of 5 seconds
HEALTHCHECK --interval=5m --timeout=5s CMD nc -z 127.0.0.1 4822 || exit 1
# Create a new user guacd
ARG UID=1000
ARG GID=1000
RUN groupadd --gid $GID guacd
RUN useradd --system --create-home --shell /sbin/nologin --uid $UID --gid $GID guacd
RUN mkdir -p /opt/cloudpods
RUN chown -R guacd:guacd /opt/cloudpods
# Run with user guacd
USER guacd
# Expose the default listener port
EXPOSE 4822
# 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,4 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.4.0
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.7.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

@@ -15,22 +15,22 @@ onecloud-base:
onecloud-base-3-15-4:
$(DOCKER_BUILDX)/onecloud-base:$(ONECLOUD_BASE_VERSION_3-15-4) -f ./Dockerfile.onecloud-base-3-15-4 .
ANSIBLESERVER_BASE = v1.1.1
ANSIBLESERVER_BASE = v1.1.3
ansibleserver-base:
$(DOCKER_BUILDX)/ansibleserver-base:$(ANSIBLESERVER_BASE) -f ./Dockerfile.ansibleserver-base .
CLIMC_BASE_VERSION = 20210901
CLIMC_BASE_VERSION = 20230731.5
climc-base:
docker buildx build --platform linux/arm64,linux/amd64 --push \
-t registry.cn-beijing.aliyuncs.com/yunionio/climc-base:$(CLIMC_BASE_VERSION) -f ./Dockerfile.climc-base .
WEBCONSOLE_BASE_VERSION = v0.2-1
WEBCONSOLE_BASE_VERSION = 20230731.2
webconsole-base:
$(DOCKER_BUILDX)/webconsole-base:$(WEBCONSOLE_BASE_VERSION) -f ./Dockerfile.webconsole-base .
BAREMETAL_BASE_VERSION = v0.3.8
BAREMETAL_BASE_VERSION = v0.3.9-20231219.1
baremetal-base:
$(DOCKER_BUILDX)/baremetal-base:$(BAREMETAL_BASE_VERSION) -f ./Dockerfile.baremetal-base .
@@ -44,10 +44,10 @@ GLANCE_BASE_VERSION = v0.0.1
glance-base:
$(DOCKER_BUILDX)/glance-base:$(GLANCE_BASE_VERSION) -f ./Dockerfile.glance-base .
FILE_REPO_VERSION = v0.3.3
FILE_REPO_VERSION = v0.5.4
file-repo:
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo .
$(DOCKER_BUILDX)/file-repo:$(FILE_REPO_VERSION) -f ./Dockerfile.file-repo . --no-cache
HOST_IMAGE_VERSION ?= v1.0.2
HOST_IMAGE_NAME = $(REGISTRY)/host-image:$(HOST_IMAGE_VERSION)
@@ -60,3 +60,17 @@ host-image:
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.5.3
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

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

View File

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

View File

@@ -3,7 +3,7 @@
触发时间: {{.start_time}}
报警级别: {{.level}}
触发条件: {{.description | unescaped}}
资源数量:{{len .matches}}
报警数量:{{len .matches}}
资源名称:{{.resource_name}}
详情地址: {{.web_url}}

View File

@@ -68,6 +68,7 @@
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">
@@ -108,7 +109,11 @@
<td>名称</td>
<td>IP</td>
<td>平台</td>
<td>指标</td>
<td>触发值</td>
{{if gt (len $match_tags_str) 1}}
<td>标签</td>
{{end}}
</tr>
</thead>
<tbody>
@@ -124,7 +129,11 @@
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</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}}
</tr>
{{end}}
</tbody>

View File

@@ -3,7 +3,7 @@ AlertName: {{.name}}
Time: {{.start_time}}
Level: {{.level}}
TriggerCondition: {{.description | unescaped}}
ResourceCount: {{len .matches}}
AlertCount: {{len .matches}}
ResourceName: {{.resource_name}}
WebUrl: {{.web_url}}

View File

@@ -68,6 +68,7 @@
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">
@@ -108,7 +109,11 @@
<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>
@@ -124,7 +129,11 @@
<td>
{{ index .tags "brand" }}
</td>
<td>{{$Matche.value_str}}</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}}
</tr>
{{end}}
</tbody>

View File

@@ -11,3 +11,6 @@
{{- if eq .resource_type "image" }}
镜像{{ $d.name }}完整性校验失败
{{- end -}}
{{- if eq .resource_type "vm_integrity" }}
主机{{ $d.name }}完整性校验失败
{{- end -}}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:您的密码有效期将过

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
{{- $d := .resource_details -}}
{{ $d.account }}:Your password is valid and will expire soon

View File

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

View File

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

View File

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

View File

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

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

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

View File

@@ -33,13 +33,13 @@ import (
"yunion.io/x/log"
"yunion.io/x/pkg/errors"
"yunion.io/x/pkg/util/httputils"
"yunion.io/x/pkg/util/version"
"yunion.io/x/structarg"
"yunion.io/x/onecloud/cmd/climc/promputils"
"yunion.io/x/onecloud/cmd/climc/shell"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/util/httputils"
)
type BaseOptions struct {
@@ -70,9 +70,9 @@ 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"`
OsEndpointType string `default:"$OS_ENDPOINT_TYPE|internalURL" help:"Defaults to env[OS_ENDPOINT_TYPE] or internalURL" choices:"publicURL|internalURL|adminURL|apigateway"`
// ApiVersion string `default:"$API_VERSION" help:"override default modules service api version"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|flatten-table|flatten-kv" help:"output format"`
OutputFormat string `default:"$CLIMC_OUTPUT_FORMAT|table" choices:"table|kv|json|yaml|flatten-table|flatten-kv" help:"output format"`
ParallelRun int `help:"run in parallel to stess test the performance of server"`
@@ -97,11 +97,13 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
}
promptRootCmd := promputils.InitRootCmd(prog, desc, parse.GetOptArgs(), parse.GetPosArgs())
var errs []error
for _, v := range shell.CommandTable {
_par, e := subcmd.AddSubParserWithHelp(v.Options, v.Command, v.Desc, v.Callback)
if e != nil {
return nil, e
errs = append(errs, e)
continue
}
promputils.AppendCommand(promptRootCmd, v.Command, v.Desc)
cmd := v.Command
@@ -119,6 +121,9 @@ func getSubcommandsParser() (*structarg.ArgumentParser, error) {
promputils.AppendPos(cmd, text, v.HelpString(""), v)
}
}
if len(errs) > 0 {
return nil, errors.NewAggregate(errs)
}
return parse, nil
}
@@ -330,7 +335,6 @@ func ClimcMain() {
}
if parser.IsHelpSet() {
fmt.Print(parser.HelpString())
return
}

View File

@@ -18,6 +18,7 @@ import (
"yunion.io/x/onecloud/cmd/climc/entry"
_ "yunion.io/x/onecloud/cmd/climc/shell"
_ "yunion.io/x/onecloud/cmd/climc/shell/ansible"
_ "yunion.io/x/onecloud/cmd/climc/shell/apimap"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudevent"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudid"
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
@@ -32,7 +33,7 @@ import (
_ "yunion.io/x/onecloud/cmd/climc/shell/logger"
_ "yunion.io/x/onecloud/cmd/climc/shell/misc"
_ "yunion.io/x/onecloud/cmd/climc/shell/monitor"
_ "yunion.io/x/onecloud/cmd/climc/shell/notifyv2"
_ "yunion.io/x/onecloud/cmd/climc/shell/notify"
_ "yunion.io/x/onecloud/cmd/climc/shell/quota"
_ "yunion.io/x/onecloud/cmd/climc/shell/scheduledtask"
_ "yunion.io/x/onecloud/cmd/climc/shell/scheduler"

View File

@@ -75,7 +75,7 @@ func Executor(s string) {
} else {
session.GetClient().SetDebug(false)
}
if subparser.IsHelpSet() {
if subparser != nil && subparser.IsHelpSet() {
fmt.Print(subparser.HelpString())
return
}

View File

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

View File

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

View File

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

View File

@@ -35,4 +35,5 @@ func init() {
cmd.Perform("set-users", &cloudid.CloudgroupUserOptions{})
cmd.Perform("public", &cloudid.CloudgroupPublicOptions{})
cmd.Perform("private", &cloudid.CloudgroupIdOptions{})
cmd.Get("saml", &cloudid.CloudgroupIdOptions{})
}

View File

@@ -1,29 +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 cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)
func init() {
cmd := shell.NewResourceCmd(&modules.Cloudgroupcaches).WithKeyword("cloud-group-cache")
cmd.List(&cloudid.CloudgroupcacheListOptions{})
cmd.Show(&cloudid.CloudgroupcacheIdOption{})
cmd.Delete(&cloudid.CloudgroupcacheIdOption{})
cmd.Perform("syncstatus", &cloudid.CloudgroupcacheIdOption{})
}

View File

@@ -22,11 +22,13 @@ import (
func init() {
cmd := shell.NewResourceCmd(&modules.Cloudpolicies).WithKeyword("cloud-policy")
cmd.Create(&cloudid.CloudpolicyListOptions{})
cmd.Create(&cloudid.CloudpolicyCreateOption{})
cmd.List(&cloudid.CloudpolicyListOptions{})
cmd.Show(&cloudid.CloudpolicyIdOptions{})
cmd.Delete(&cloudid.CloudpolicyIdOptions{})
cmd.Update(&cloudid.CloudpolicyUpdateOption{})
cmd.Perform("syncstauts", &cloudid.CloudpolicyIdOptions{})
cmd.Perform("cache", &cloudid.CloudpolicyCacheOption{})
cmd.Perform("lock", &cloudid.CloudpolicyIdOptions{})
cmd.Perform("unlock", &cloudid.CloudpolicyIdOptions{})
cmd.Perform("assign-group", &cloudid.CloudpolicyGroupOptions{})

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 cloudid
import (
"yunion.io/x/onecloud/cmd/climc/shell"
modules "yunion.io/x/onecloud/pkg/mcclient/modules/cloudid"
"yunion.io/x/onecloud/pkg/mcclient/options/cloudid"
)
func init() {
cmd := shell.NewResourceCmd(&modules.Cloudpolicycaches).WithKeyword("cloud-policy-cache")
cmd.List(&cloudid.CloudpolicycacheListOptions{})
}

View File

@@ -25,5 +25,4 @@ func init() {
cmd.List(&cloudid.CloudroleListOptions{})
cmd.Delete(&cloudid.CloudroleIdOptions{})
cmd.Show(&cloudid.CloudroleIdOptions{})
cmd.Perform("purge", &cloudid.CloudroleIdOptions{})
}

View File

@@ -30,14 +30,13 @@ func init() {
cmd.Show(&cloudid.ClouduserIdOption{})
cmd.Custom(shell.CustomActionGet, "login-info", &cloudid.ClouduserIdOption{})
cmd.Delete(&cloudid.ClouduserIdOption{})
cmd.Perform("sync", &cloudid.ClouduserSyncOptions{})
cmd.Perform("syncstatus", &cloudid.ClouduserIdOption{})
cmd.Perform("attach-policy", &cloudid.ClouduserPolicyOptions{})
cmd.Perform("detach-policy", &cloudid.ClouduserPolicyOptions{})
cmd.Perform("change-owner", &cloudid.ClouduserChangeOwnerOptions{})
cmd.Perform("reset-password", &cloudid.ClouduserResetPasswordOptions{})
cmd.Perform("cloud-user-join-group", &cloudid.ClouduserGroupOptions{})
cmd.Perform("cloud-user-leave-group", &cloudid.ClouduserGroupOptions{})
cmd.Perform("join-group", &cloudid.ClouduserGroupOptions{})
cmd.Perform("leave-group", &cloudid.ClouduserGroupOptions{})
cmd.GetWithCustomShow("access-keys", func(result jsonutils.JSONObject) {
ret := modulebase.JSON2ListResult(result)
shell.PrintList(ret, nil)

View File

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

View File

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

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