Commit Graph

105 Commits

Author SHA1 Message Date
wanyaoqi
31e342881e fix(host-deployer): mount procfs before deploy guestfs (#25087) 2026-07-01 00:53:59 +08:00
屈轩
83a32e14f4 fix(host-deployer): lvm lock (#24926) 2026-05-29 15:01:15 +08:00
屈轩
000f066e8c fix(esxi-agent): pve agent (#24768) 2026-05-06 17:15:37 +08:00
wanyaoqi
010ca7d2e2 fix(host-deployer): resizefs add fstype LVM2_member (#24517) 2026-03-23 00:00:34 +08:00
wanyaoqi
bc43d884c5 Automated cherry pick of #24456: Fix/host deployer nbd driver40 (#24466)
* fix(host-deployer): nbd add concurrency control

* fix(host-deployer,glance): windows image add current version
2026-03-20 01:34:20 +08:00
wanyaoqi
51724b1b21 fix(host-deployer): get resize dev by serial panic (#24448) 2026-03-19 23:04:37 +08:00
wanyaoqi
cd5e71e037 fix(host-deployer): deploy single disk has no disk id (#24306) 2026-02-10 19:36:18 +08:00
wanyaoqi
3d5bff680d feat(region,host): riscv64 cpu arch support (#24126)
* feat(region,host): riscv64 cpu arch support

* fix(region,host): compatible riscv64

* fix(host): add qemu v10.0.7 support
2026-02-01 20:28:45 +08:00
wanyaoqi
e21eb05fd4 fix(region,glance,host-deployer): guest image support bios boot mode detect (#23376) 2025-10-11 10:21:03 +08:00
Jian Qiu
73880eef77 fix: ignore e2fsck errors if retcode < 4 (#23490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-10-09 16:31:53 +08:00
wanyaoqi
dd2450d7ad Automated cherry pick of #23394: Automated cherry pick of #23386: fix(host-deployer): allow growpart on primary partition (#23395)
* fix(host): init cgroup ignore disable cgroup option

* fix(host-deployer): allow growpart on primary partition
2025-09-27 12:02:21 +08:00
wanyaoqi
453c543d27 fix(host-deployer): loop dev resize diskfs umounted and f2fs support (#23359) 2025-09-24 18:54:06 +08:00
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
屈轩
eb82b9d9ca fix: upgrade go 1.24 (#23241) 2025-09-05 18:26:33 +08:00
wanyaoqi
e264c84370 feat(region,hostdeployer): add f2fs feature support (#23178) 2025-08-28 10:05:40 +08:00
wanyaoqi
9852dfc5cf feat(region,host,host-deployer): f2fs filesystem support (#23117) 2025-08-22 09:06:02 +08:00
wanyaoqi
9b2153cb2c fix(host): cephutil and nbd ipv6 compat (#23072)
* fix(region,host,host-image): host-image and qemu-nbd compat ipv6

* fix(host,host-deployer): cephutils add ipv6 compat
2025-08-14 18:34:39 +08:00
wanyaoqi
9c0048dd05 fix(host-deployer): set xfs default ftype 1 (#22232) 2025-03-06 11:16:11 +08:00
wanyaoqi
2d072af6b3 Automated cherry pick of #22206: Fix/deploy guest add cpu vendor (#22208)
* fix(host-deployer): deploy guest add cpu vendor

* fix(host): host generate passwd use strong ruler
2025-02-28 14:12:48 +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
wanyaoqi
55ed52df30 fix(host,host-deployer): start deployer guest with all of disk (#21712) 2024-12-02 14:59:13 +08:00
wanyaoqi
58fb47e49f fix(host): import from libvirt parse live xml (#21651) 2024-11-22 14:51:56 +08:00
Zexi Li
df5f753cd5 fix(region,host,hostdeployer): 支持添加 case_insensitive_paths (#21558) 2024-11-07 21:22:37 +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
cui fliter
060f6a65e8 fix: fix slice init length (#21346) 2024-10-07 21:41:07 +08:00
wanyaoqi
d1019ff0eb fix(region,host,host-deployer): deploy guest ssh port add lock (#21039)
* 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:28 +08:00
wanyaoqi
e0f6d90397 Automated cherry pick of #20154: Automated cherry pick of #20152: Fix/host misc fix 0425 (#20155)
* 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:19:04 +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
wanyaoqi
5a01a0e592 fix(host-deployer): deploy guest arm kernel path fix 2024-03-29 16:02:16 +08:00
wanyaoqi
2cee1adbd9 fix(host-deployer): support deploy encrypted disk (#19640) 2024-03-06 02:23:03 +08:00
wanyaoqi
e46f1babad fix(host-deployer): escape back quote (#19357) 2024-01-27 08:10:25 +08:00
wanyaoqi
f5e14d64c9 fix(host-deployer): check sshclient is nil on disconnect 2024-01-26 12:12:36 +08:00
wanyaoqi
b78db4e029 fix(host-deployer): add growpart resize partitions (#19252) 2024-01-15 12:14:51 +08:00
wanyaoqi
851eb1d347 fix(host-deployer): add cmdline vsyscall=emulate on ramfs guest (#19224)
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:32 +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
35e11967a4 fix:(host-deployer): arm guest add gic version 2023-12-07 10:39:56 +08:00
wanyaoqi
0692c20341 fix(host-deployer): qemu deployer without kvm support (#18875) 2023-12-05 07:07:47 +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
guoguangwu
e4b396e870 chore: unnecessary use of fmt.Sprintf d
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
2023-11-12 21:08:23 +08:00
Zexi Li
e2969ee45c Merge pull request #18584 from wanyaoqi/fix/host-deployer-connect-lock
fix(host-deployer): use sync.lock on nbd connect/disconnect
2023-11-07 15:40:13 +08:00
wanyaoqi
b1ef71f82c fix(host-deployer): use sync.lock on nbd connect/disconnect 2023-11-07 15:28:20 +08:00
wanyaoqi
e5549057d6 fix(host-deployer): detach nbd device do not block main thread (#18578) 2023-11-07 07:22:26 +08:00