Commit Graph

106 Commits

Author SHA1 Message Date
wanyaoqi
6f8c0ecf83 fix(host,host-deployer): support lvm disk resize (#23335)
- add resize lvm disk support
- support qga online resize disk partitions and filesystems
2025-09-19 23:46:20 +08:00
wanyaoqi
e264c84370 feat(region,hostdeployer): add f2fs feature support (#23178) 2025-08-28 10:05:40 +08:00
wanyaoqi
87e0a8989c fix(host): pass decoded userdata to host-deployer (#22683) 2025-06-05 23:51:15 +08:00
wanyaoqi
bc5582ca84 feat(region,host,host-deployer): support set uefi boot order (#22527) 2025-05-30 10:30:53 +08:00
Zexi Li
db9d27024d optimized(scheduler): reduce scheduling time (#22030) 2025-02-05 10:25:16 +08:00
Zexi Li
df8ec0afc6 feat(region,host): support resgid and resuid for container volume mount (#22011) 2025-01-26 12:38:31 +08:00
Jian Qiu
dd848785ef fix: disable default dns domain cloud.onecloud.io (#21552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-11-08 10:09:34 +08:00
Zexi Li
3c598eca97 feat(region,host,climc): stop container forcely by kill parent process (#21535) 2024-11-06 11:07:50 +08:00
Zexi Li
c30125d4be feat(region,host,host-deployer,climc): support ext4 casefold feature disk (#21502) 2024-11-05 10:44:02 +08:00
wanyaoqi
00b9afcbce feat(region,host,host-deployer): container disk support resize (#21398) 2024-10-12 09:58:28 +08:00
wanyaoqi
5421f37031 fix(host): nbd worker count add options (#21096) 2024-08-26 17:29:08 +08:00
wanyaoqi
e569326b83 feat(regin,host,host-deployer): qga deploy and fsdriver (#20864)
- host-deployer add deploy qga support
- host add qga partition fsdriver
- qga set network use fsdriver
- hostpinger sync qga status
2024-07-25 11:50:05 +08:00
Zexi Li
b12f184551 fix(host-deployer): ignore fatal exit when host.conf not exists (#20558) 2024-06-18 20:26:44 +08:00
wanyaoqi
ad6db34317 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 13:38:58 +08:00
Jian Qiu
96ba0ba916 fix: host-deploy options struct consistent with host options (#19694)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2024-03-12 13:35:28 +08:00
Jian Qiu
c7d79f5d48 Feature/qj ipv6 support (#19249)
* 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:32:52 +08:00
wanyaoqi
b78db4e029 fix(host-deployer): add growpart resize partitions (#19252) 2024-01-15 12:14:51 +08:00
wanyaoqi
708f7c18b8 fix(host-deployer): deploy params has special char 2024-01-09 23:08:08 +08:00
Jian Qiu
5de57897c2 Feature/qj support default interface (#19095)
* fix: support default gateway interface

* fix: default gateway 2

---------

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-12-26 15:35:04 +08:00
wanyaoqi
01dc0e66ca fix(host-deployer): check executor is enabled on init qemu driver 2023-12-22 17:20:34 +08:00
wanyaoqi
499946f51c fix(host-deployer): pass config files to deploy vm 2023-12-18 16:43:58 +08:00
wanyaoqi
8293f86901 fix(host-deployer): udpate yunionos, reduce yunionos memsize 2023-12-15 11:41:41 +08:00
wanyaoqi
1e0c76bdb0 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:35 +08:00
wanyaoqi
c9f6484cd1 fix(host-deployer): disconnect fix and concurrence control 2023-12-07 16:06:35 +08:00
wanyaoqi
0692c20341 fix(host-deployer): qemu deployer without kvm support (#18875) 2023-12-05 07:07:47 +08:00
wanyaoqi
3553fc983e fix(host-deployer,host): mv deploy driver option to common options 2023-12-04 14:23:18 +08:00
wanyaoqi
c3743b57f3 fix(host-deployer): update base image and fix return errors 2023-12-04 01:54:58 +08:00
wanyaoqi
b58cd52d30 Automated cherry pick of #18822: Automated cherry pick of #18821: Feat/deploy guest (#18823)
* 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:18 +08:00
wanyaoqi
e5549057d6 fix(host-deployer): detach nbd device do not block main thread (#18578) 2023-11-07 07:22:26 +08:00
Jian Qiu
4e9828ee15 fix: xfs zerofree (experimental) (#18501)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-01 09:41:07 +08:00
wanyaoqi
d5d0c54961 fix(host-deployer): deploy qga conf according hypervisor 2023-10-23 10:42:03 +08:00
Qiu Jian
8f249b8a71 feature: SUSE guest support 2023-10-02 00:33:18 +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
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
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
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
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
wanyaoqi
e1d3635b0a fix(region,host): migrate use source desc file. (#15623) 2022-12-27 16:50:47 +08:00
mhf
0268e73569 add hcso aksk 2022-09-20 20:13:50 +08:00
mhf
4f1a1f67b0 modelarts 2022-09-13 20:07:55 +08:00
wanyaoqi
a4e9f86c2a feat(region,host): deploy telegraf (#14915)
Support deploy telegraf on server deploy.
Add start telegraf on guest reboot crontab in guest os.
2022-09-06 00:13:20 +08:00
wanyaoqi
1570b17eb3 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:52:25 +08:00
wanyaoqi
48ce4b31cd feat(host): describe pci controller and devices in guest desc (#14826)
- describe pci controller and devices in guest desc.
- extend pcie bus and pcie-to-pci bridge and root ports, disks and
nics default attach to pci-bridge for support hotplug.
- generate pci address on guest starts
- live guest desc for running guest, and save source desc

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

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-08-24 16:33:42 +08:00
wanyaoqi
d4248017ae featue(host): structure guest description
Structure guest description and fix typo with json method.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-28 17:46:07 +08:00
Jian Qiu
84cdeff92b fix: update vendor for clickhouse v2 (#14520)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:52:15 +08:00
屈轩
974ced404e fix(host-deployer): ignore root fs mount error (#14285) 2022-05-22 17:18:52 +08:00
Jian Qiu
69b4901bb6 fix: ignore no partition error for initial deployment (#14220)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-08 23:42:29 +08:00
Jian Qiu
1831f63ef1 fix: backup recover failure (#14199)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-04 23:28:26 +08:00
Jian Qiu
3f9be08fa3 Feature/qj encryption support snapshot backup (#14191)
* feature: encryption support snapshot and backup

* fix: encrypted snapshot create

* fix issues with backup encryption

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-03 11:39:55 +08:00
Jian Qiu
a393b65903 fix: save guest image with empty partition fail (#14189)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 16:29:27 +08:00