Commit Graph
20 Commits
Author SHA1 Message Date
wanyaoqiandboironic@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
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 QiuandQiu 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 QiuandQiu 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
Jian QiuandQiu Jian 4375bad382 fix: deploy encrypted disk (#14187)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:07:03 +08:00
Qiu Jian d9a2c291b5 fix: support qemu 4.2.0 2022-01-26 13:45:10 +08:00
rainzm f9a0f956f7 fix(hostdeployer): Operate with the original name when vgrename fails 2021-12-07 20:21:58 +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
rainzm de60724ba9 feat(hostdeployer): find vg name and id via pv 2021-08-24 11:28:52 +08:00
rainzm 0a75aaad6e fix(host-deployer): make SKVMGuestLVMPartition work fine
1. add needChangeName to indicate whether to change the name when
   putting down
2. remove unnecessary IsVgActice
3. findPartitions from /dev/{vgname}/{lvname} or
   /dev/mapper/{vgname}-{lvname}
2021-07-08 18:15:56 +08:00
Qiu Jian 4e65ec00c4 fix: do not resize LVM paritition and skip and return success 2021-06-17 01:53:09 +08:00
wanyaoqi eb79cc79ee fix(host-deployer): add retry on check is vgactived 2021-01-07 19:20:21 +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
wanyaoqi b1aed2381f fix host register 2019-11-21 10:48:20 +08:00
wanyaoqi 3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 18:31:40 +08:00