Commit Graph

32 Commits

Author SHA1 Message Date
wanyaoqi
31e342881e fix(host-deployer): mount procfs before deploy guestfs (#25087) 2026-07-01 00:53:59 +08:00
wanyaoqi
010ca7d2e2 fix(host-deployer): resizefs add fstype LVM2_member (#24517) 2026-03-23 00:00:34 +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
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
9c0048dd05 fix(host-deployer): set xfs default ftype 1 (#22232) 2025-03-06 11:16:11 +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
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
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
b78db4e029 fix(host-deployer): add growpart resize partitions (#19252) 2024-01-15 12:14:51 +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
Jian Qiu
4e9828ee15 fix: xfs zerofree (experimental) (#18501)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-11-01 09:41:07 +08:00
Qiu Jian
11d734f2d0 fix: do not resize partition of unsupported fs 2022-09-28 23:03:10 +08:00
rainzm
5fe399bfdd feat(region): use resizepart directly 2021-12-13 14:21:01 +08:00
Qu Xuan
1f90b5aa7f fix(host): xfs unlock 2021-10-13 19:15:12 +08:00
panda
1248b88c75 fix(host-deployer): XFS uuid冲突 无法 mount
pkg/hostman/diskutils/fsutils/fsutils.go

1. ResizeFs 操作中 ResizePartitionFs 未对 xfs uuid 加锁
     导致挂载相同uuid 磁盘异异常
 - dmesg 显示
[86653.888361] XFS (nbd2p1): Filesystem has duplicate UUID f4553201-609a-4657-87aa-994cc6339f50 - can't mount

 - 批量创建虚拟机, 虚拟机磁盘为xfs, 多台虚拟机调度到同一宿主机时
   DeployGuestFs 无法 chroot password root
2021-08-19 14:41:31 +08:00
zhaoxiangchun
8fa4e577dd feat(cloudmon): add cloudmon component 2021-07-16 12:20:52 +08:00
Qiu Jian
179562bc40 fix: do not use ntfsresize to resize NTFS partition
This makes resizing windows 2003 ntfs partition non-functional
2021-07-02 09:13:37 +08:00
Qiu Jian
56025bc557 fix: support windows 2003 2021-06-17 09:44:47 +08:00
Zexi Li
768ab3036f fix(host-deployer): mkfs.ext4 add '-T largefile' option 2021-04-12 21:30:27 +08:00
Zexi Li
bf13a14ed5 fix(host): ignore parted resize disk unknown partition table error 2021-03-23 10:00:27 +08:00
Qiu Jian
63bbd5c343 fix(host-deployer): mount may fail to lock /etc/mtab, add retrier 2021-02-22 09:18:27 +08:00
wanyaoqi
948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00