wanyaoqi
9408f234fa
fix(host-deployer): set xfs default ftype 1 ( #22233 )
2025-03-06 11:16:19 +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
2857dcaef2
fix(host,host-deployer): start deployer guest with all of disk ( #21710 )
2024-12-02 14:58:52 +08:00
wanyaoqi
175a354c4f
fix(host): import from libvirt parse live xml ( #21648 )
2024-11-22 14:51:49 +08:00
wanyaoqi and cui fliter
ceff4b7330
fix: fix slice init length ( #21349 )
...
Co-authored-by: cui fliter <imcusg@gmail.com >
2024-10-07 20:09:28 +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
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
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
wanyaoqi
7d0bcfbea2
fix(host-deployer): deploy guest arm kernel path fix
2024-03-29 16:11:15 +08:00
wanyaoqi
0fbd11fa07
fix(host-deployer): support deploy encrypted disk ( #19639 )
2024-03-06 02:22:39 +08:00
wanyaoqi
775d70be15
fix(host-deployer): escape back quote ( #19356 )
2024-01-27 08:09:59 +08:00
wanyaoqi
ed2a412ed2
fix(host-deployer): check sshclient is nil on disconnect
2024-01-26 12:08:33 +08:00
wanyaoqi
3b313f11ab
fix(host-deployer): add growpart resize partitions ( #19251 )
2024-01-15 12:14:41 +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
wanyaoqi
7149904806
fix(host-deployer): deploy params has special char
2024-01-09 23:06:18 +08:00
Jian Qiu and Qiu Jian
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
97425a471a
fix(host-deployer): check executor is enabled on init qemu driver
2023-12-22 17:19:53 +08:00
wanyaoqi
fd1910480e
fix(host-deployer): pass config files to deploy vm
2023-12-18 16:42:46 +08:00
wanyaoqi
746a96722c
fix(host-deployer): udpate yunionos, reduce yunionos memsize
2023-12-15 11:41:11 +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
wanyaoqi
9da12b090a
fix(host-deployer): disconnect fix and concurrence control
2023-12-07 16:05:21 +08:00
wanyaoqi
8bfb666129
fix:(host-deployer): arm guest add gic version
2023-12-07 10:37:11 +08:00
wanyaoqi
32f2bc5821
fix(host-deployer): qemu deployer without kvm support ( #18874 )
2023-12-05 07:07:11 +08:00
wanyaoqi
4c9e7e1ddd
fix(host-deployer): update base image and fix return errors
2023-12-04 01:49:15 +08:00
wanyaoqi and boironic@gmail.com
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
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
wanyaoqi
3f74e94e8f
fix(host-deployer): use sync.lock on nbd connect/disconnect
2023-11-07 15:30:20 +08:00
wanyaoqi
1e196b1a9d
fix(host-deployer): detach nbd device do not block main thread ( #18577 )
2023-11-07 07:22:13 +08:00
wanyaoqi
38e11808df
fix(host-deployer): clean nbd mount on host-deployer start
2023-11-01 21:25:41 +08:00
Jian Qiu and Qiu Jian
ddc2b319ed
fix: xfs zerofree (experimental) ( #18527 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2023-11-01 09:41:18 +08:00
wanyaoqi
1569dca33b
fix(host-deployer): lvm deactivate vg in use
2023-08-15 23:19:20 +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
Jian Qiu and Qiu Jian
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
Qiu Jian
11d734f2d0
fix: do not resize partition of unsupported fs
2022-09-28 23:03:10 +08:00
wanyaoqi
37390fc095
fix(host-deployer): mount kvm rootfs
...
NewAggregate return nil when len(errs) == 0.
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com >
2022-07-28 20:48:38 +08:00
屈轩
974ced404e
fix(host-deployer): ignore root fs mount error ( #14285 )
2022-05-22 17:18:52 +08:00
Jian Qiu and Qiu Jian
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 and Qiu Jian
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
Jian Qiu and Qiu Jian
4375bad382
fix: deploy encrypted disk ( #14187 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2022-05-02 09:07:03 +08:00
Jian Qiu and Qiu Jian
2dd1aeb8aa
fix: mount disk readonly ( #13152 )
...
Co-authored-by: Qiu Jian <qiujian@yunionyun.com >
2022-04-28 09:26:45 +08:00
ioito
96b98e9746
fix(host): mount disk error
2022-04-24 11:22:23 +08:00
Qiu Jian
d9a2c291b5
fix: support qemu 4.2.0
2022-01-26 13:45:10 +08:00
rainzm
5fe399bfdd
feat(region): use resizepart directly
2021-12-13 14:21:01 +08:00
rainzm
f9a0f956f7
fix(hostdeployer): Operate with the original name when vgrename fails
2021-12-07 20:21:58 +08:00
Qu Xuan
1f90b5aa7f
fix(host): xfs unlock
2021-10-13 19:15:12 +08:00
rainzm
a545ad10e1
fix(host-deployer): ensure the success of vgrenam
2021-09-16 17:43:19 +08:00
rainzm
454ebe49e1
feat(host-deployer): try again if the partition cannot be found
2021-09-16 17:38:35 +08:00
Zexi Li
46c77129e9
fix(vendor): use creack/pty v1.1.11 to adapt go 1.15
2021-08-26 11:40:50 +08:00
rainzm
de60724ba9
feat(hostdeployer): find vg name and id via pv
2021-08-24 11:28:52 +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