Commit Graph

37 Commits

Author SHA1 Message Date
Jian Qiu
03591ce71b fix: cleanup compile warnings (#12621)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-11-06 12:29:46 +08:00
rainzm
67513c50c8 fix(host-deployer): ensure the success of vgrenam 2021-09-16 17:49:09 +08:00
Zexi Li
b72f60f340 fix(hostdeployer): windows rootfs umount leak 2021-03-02 09:51:41 +08:00
wanyaoqi
37b036ed37 fix(host-deployer): probe image info umount rootfs first 2020-12-17 19:19:30 +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
c302bae2bf fix(host-deployer): cancel rename centos vgname 2020-12-08 16:15:56 +08:00
Zexi Li
6ff5653fa4 Merge pull request #8832 from wanyaoqi/feature/wyq/custom-cloudroot-home-dir
host-deployer: customize user cloudroot home dir
2020-11-18 23:50:22 +08:00
rainzm
27378f2c85 fix(hostdeployer): umount rootfs before resize partition 2020-11-18 18:26:26 +08:00
rainzm
22cec0964e feat(hostdeployer): support resizefs for esxi disk 2020-11-17 14:48:26 +08:00
wanyaoqi
6e66a129d6 host-deployer: customize user cloudroot home dir 2020-11-16 21:12:35 +08:00
yunion-ci-robot
128173d320 Merge pull request #7620 from wanyaoqi/feature/wyq/arm-v2
feature: arm support
2020-10-26 15:50:40 +08:00
wanyaoqi
7dcb240940 vmware disk support deploy lvm partition 2020-09-01 20:43:55 +08:00
Rain Zheng
e393f3ee21 Fix problem of esxi (#7661)
* fix(esxi): Fetch full templates of datastoreImageCache

Datastore 和 DatastoreImageCache 是一对一的关系。
每一个 Datastore 可能有多个对应的 Host,所以 GetIIMages 里面获取
Templates 的逻辑应该尝试去获取所有 Host 的 Templates。

* fix(host-deployer): Exit correctly after mounting

MountRootfs的返回值为nil时,还是需要Umount的操作来正确退出(比如VDDK)。
VDDK的Mount分为两步,第一步会挂在remote
disk到fuse下,然后挂载fuse/xxx/flat
到块设备上。第一步成功,第二部失败也应该正确退出。

* fix(host-deployer): Kill process

* opt(host-deployer): Increase timeout of waiting mount

* opt(host-deployer): Add debug log print command to mount

* fix(esxi): Support multi agent in different zone
2020-09-01 10:47:39 +08:00
wanyaoqi
7d94c4e46f support create arm virtual machine 2020-08-27 11:05:21 +08:00
wanyaoqi
3994889910 rename vgname centos 2020-07-23 21:31:39 +08:00
wanyaoqi
a5d2651fbf fix esxi disk disconnect 2020-05-14 12:27:41 +08:00
wanyaoqi
9c4d3c62b3 fix exsi convert disk path 2020-04-27 15:54:17 +08:00
wanyaoqi
92940dae11 os.exit replace return on sigtrap 2020-04-08 23:01:54 +08:00
wanyaoqi
a20daa1c11 fix deployer sigtrap funciton 2020-04-08 22:05:57 +08:00
wanyaoqi
92e88f2a97 - copy esxi guest to kvm 2020-04-02 17:56:50 +08:00
Zexi Li
25c2165b81 Merge pull request #4914 from wanyaoqi/bugfix/wyq/fix-deploy-iso-failed
bugfix: fix deploy iso failed
2020-01-16 15:32:44 +08:00
wanyaoqi
52ad575184 fix deploy iso failed 2020-01-15 20:56:07 +08:00
wanyaoqi
fec7ecbee7 use executor probe kernel mods 2020-01-15 16:59:25 +08:00
Rain
babc05b772 feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go

fix(esxi-agent): Fix some bugs and irregular contents

fix(esxi-agent): Partial parameter structure

fix(esxi-agent): Add ovf template and remove some binary file

fix(esxi-agent): Format Code

fix(esxi-agent): fix based on reviewers' comments

fix(esxi-agent): fix host-deployer because of occasional unknown panic

fix: DelayTask should have a new Context

fix(esxi-agent): call hostutils.DelayTask

change '_interface' package to 'iagent' package

fix(esxi-agent): Fix some irregular code
2020-01-04 20:57:13 +08:00
wanyaoqi
6b2058dcee fix endpoint type, chntpw path 2019-12-26 16:50:09 +08:00
Zexi Li
b70decaf24 Merge pull request #3997 from wanyaoqi/feature/wyq/host-use-command-executor
feature: host container deployment
2019-12-09 10:49:49 +08:00
wanyaoqi
c8fff1d44f add rpm file, add socket used check 2019-12-05 20:58:57 +08:00
wanyaoqi
7bf48c992e - add command executor
- host prepare for deploy on container
- procutils adpat to executor
2019-12-04 20:49:39 +08:00
wanyaoqi
82a5e6403c add socket used check of deploy server 2019-12-04 11:38:49 +08:00
wanyaoqi
b1aed2381f fix host register 2019-11-21 10:48:20 +08:00
wanyaoqi
cef855832a fix login key on clone 2019-11-18 19:21:16 +08:00
wanyaoqi
7cf27c38c2 fix resie fs 2019-11-12 21:04:42 +08:00
Yousong Zhou
8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
wanyaoqi
918a9c43bd fix rbd disk delete rebuild root with snapshot 2019-09-23 20:57:04 +08:00
wanyaoqi
6fd7908ecd misc deploy fix 2019-09-09 10:49:17 +08:00
wanyaoqi
dc4b791f7e add build file 2019-07-10 20:12:20 +08:00
wanyaoqi
3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

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