Commit Graph

27 Commits

Author SHA1 Message Date
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
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
Qiu Jian
927f176d3e fix: clear pending-delete when sched_fail 2019-07-23 23:41:47 +08:00
Qiu Jian
9de59c66c6 fix: node count for a virtualized host is always 1 2019-07-20 18:34:22 +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