Commit Graph
543 Commits
Author SHA1 Message Date
Yousong Zhou 12a100f81b fix(host): make sure it won't match vpc guests by accident 2020-12-01 15:34:14 +08:00
rainzm 1fe71b8392 fix(esxi): search template from whole vCenter 2020-10-12 17:50:30 +08:00
wanyaoqi 788e1bb225 increase rbd check timeout 2020-09-27 20:22:10 +08:00
wanyaoqi 02f7c5ac35 umount nfs on detach storage 2020-09-27 20:22:10 +08:00
Zexi Li 63e0f2ee76 Merge pull request #7958 from wanyaoqi/automated-cherry-pick-of-#7953-upstream-release-3.2
Automated cherry pick of #7953: fix set host image cache properties
2020-09-16 21:38:29 +08:00
wanyaoqi 85c61ab14c fix set host image cache properties 2020-09-16 20:53:03 +08:00
wanyaoqi f393424ca8 fix update image status after save failed 2020-09-16 19:15:05 +08:00
Zexi Li 2e560c1f04 Merge pull request #7873 from rainzm/automated-cherry-pick-of-#7870-upstream-release-3.2
Automated cherry pick of #7870: fix(esxiagent): add HostDelayTaskWorkerCount
2020-09-11 20:55:47 +08:00
rainzm e6ce176233 fix(esxiagent): add HostDelayTaskWorkerCount
之前,HostDelayWorker 是通过 hostutils.InitWorkerManager 来初始化,
worker的数量依赖于options.HostOptions.DefaultRequestWorkerCount, 因为
这个options没有经过初始化,所以就是0,导致worker count的数量变为1。

现在增加了 HostDelayTaskWorkerCount 来管理这个count,默认值为8。
2020-09-11 17:23:13 +08:00
wanyaoqi f59d56e796 host: fix rbd storage cache iso image 2020-09-10 23:20:29 +08:00
rainzm ebf3692ba0 refactor(esxi): replace GetTemplateVMById with FetchTemplateVMById
FetchTemplateVMById 更好,因为它更轻量,更快。
2020-09-09 21:58:16 +08:00
rainzm a18b34c365 fix(esxiagent): return image extid not id
调用 disk/image_cache 接口的Task StorageCacheImageTask 会根据回调
回来数据中的 image_id,来设置 storagecachedimage 中的 externalid,
所以这里的 image_id 应该是 externalid。
2020-09-08 15:34:35 +08:00
wanyaoqi 4d0cb2b150 fix get ubuntu version 2020-09-07 16:01:59 +08:00
wanyaoqi c2b81cf638 hostinfo: try create network add is_on_premise (#7709) 2020-09-01 20:01:41 +08:00
wanyaoqi 8020d70bab fix get storage capacity on init' (#7689) 2020-09-01 01:02:37 +08:00
wanyaoqi 849a74c0a6 fix gpfs check mountpoint 2020-08-25 15:52:27 +08:00
wanyaoqi 3b6662f7fa support diable usb kbd 2020-08-11 15:33:16 +08:00
wanyaoqi 9c756c1cc9 fix mount xfs 2020-08-10 20:05:09 +08:00
wanyaoqi 93a8856c2a fix host info get sshkey 2020-08-04 10:37:16 +08:00
wanyaoqi 9687884ac5 fix cache non lvm disks (#7461) 2020-08-01 21:14:03 +08:00
wanyaoqi d925cb080d fix deploy admin auth key 2020-07-31 23:24:46 +08:00
wanyaoqi 050d019f7f fix server sync status 2020-07-17 20:25:56 +08:00
rainzm d3c1bfd21d fix: prefetch image error when create guest with vmware template
1. Only need the corresponding vmware template in the vcenter where the host is
located.
2. Chose storagecache which cacheimage is ready before deploying.
2020-07-16 21:44:26 +08:00
wanyaoqi 2b7373608d fix list guests on host 2020-07-14 22:36:55 +08:00
wanyaoqi b25e4dfb31 - fix local storage init local man
- fix rbd set storage info
2020-07-10 14:49:35 +08:00
wanyaoqi 447f41a40f fix set storage info bind mount 2020-07-09 14:55:44 +08:00
wanyaoqi 4e22ff4805 bind mount nfs storage path 2020-07-02 14:35:13 +08:00
wanyaoqi 6feeff2009 fix deploy backup server order 2020-06-30 22:03:51 +08:00
wanyaoqi 063ac404f0 disable dhclient 2020-06-22 21:30:53 +08:00
wanyaoqi 479b309160 fix cpu usage metrics 2020-06-16 20:44:00 +08:00
wanyaoqi 18cb393ba3 fix windows install regedit record 2020-06-15 10:58:07 +08:00
wanyaoqi a4968259e7 fix host list servers filter 2020-06-10 14:07:46 +08:00
wanyaoqi 4cebf604ab bind mount local image path to container path 2020-06-04 20:21:14 +08:00
wanyaoqi cbbbd29830 isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:50:03 +08:00
wanyaoqi c74b41ef1f fix migrate with multi local storage 2020-05-29 11:52:28 +08:00
Zexi Li 158f70613d Merge pull request #6623 from wanyaoqi/automated-cherry-pick-of-#6621-upstream-release-3.2
Automated cherry pick of #6621: host storage misc fix:
2020-05-27 18:04:14 +08:00
Zexi Li baa575953b Merge pull request #6581 from yousong/automated-cherry-pick-of-#6580-upstream-release-3.2
Automated cherry pick of #6580: hostman: deprecate k8s_cluster_cidr
2020-05-27 18:00:51 +08:00
wanyaoqi 03592086a4 host storage misc fix:
- add accessible timeout
- add force detach host storage
2020-05-27 15:57:07 +08:00
Yousong Zhou 7298c4bf67 hostman: options: remove k8s_cluster_cidr
Remove instead of deprecation.  No user of this option anymore
2020-05-26 17:56:53 +08:00
Yousong Zhou a91bef28c4 hostman: options: fix default value spec 2020-05-26 17:54:22 +08:00
wanyaoqi fd4830859e fix remotefile fetch image propertites 2020-05-26 15:54:09 +08:00
yunion-ci-robot e030d683f0 Merge pull request #6498 from wanyaoqi/automated-cherry-pick-of-#6497-upstream-release-3.2
Automated cherry pick of #6497: image cache use lockman
2020-05-21 16:33:45 +08:00
wanyaoqi 5131057cd8 image cache use lockman 2020-05-21 11:47:32 +08:00
rainzm 5b0b346f12 Kill processes in time & Add debug info 2020-05-21 10:51:10 +08:00
Zexi Li 93179d30a7 Merge pull request #6442 from swordqiu/automated-cherry-pick-of-#6441-upstream-release-3.2
Automated cherry pick of #6441: update lisDescendent scope params
2020-05-19 10:20:24 +08:00
Qiu Jian 7123de13ed update lisDescendent scope params 2020-05-18 23:19:58 +08:00
Zexi Li e8b90a9617 baremetal: fix ssh put empty content file not created 2020-05-18 21:46:26 +08:00
Zexi Li 411c264890 Merge pull request #6400 from swordqiu/automated-cherry-pick-of-#6394-upstream-release-3.2
Automated cherry pick of #6394: fix: xxx-agent should generally use scope=system to list resources
2020-05-16 17:46:26 +08:00
Qiu Jian b12c644494 fix: xxx-agent should generally use scope=system to list resources 2020-05-15 22:33:03 +08:00
rainzm e9d0764be9 fix(esxi): Allow the creation of duplicate vcenter machines.
Create vm with name whose vlaue is localVM.Uuid and try to rename again.
2020-05-15 21:36:19 +08:00