zhaoxiangchun
a42e9c9462
优化建议功能-未使用的eip
...
1.通过cronman 调用eipUnused相关的driver,查询未使用的eip
2.依据对步骤1中的中的数据,对资源列表就行create、update、delete进行三种类型的操作
deal with comments
gencopyright
climc for SuggestSysRule and SuggestSysAlert
monitor: fix sysrule related models not generated
eip未使用的监控参数结构调整
2020-04-14 15:37:01 +08:00
wanyaoqi
92e88f2a97
- copy esxi guest to kvm
2020-04-02 17:56:50 +08:00
Qu Xuan
7f47e88267
fix: 实现设置自动续费功能
2020-03-27 19:30:06 +08:00
Qu Xuan
c7c52041a5
fix: 支持publicip to eip转换
2020-03-27 15:22:40 +08:00
Yousong Zhou
4dca8bf4c9
esxi: use cpcfg.ProxyFunc
2020-03-22 19:36:45 +08:00
Yousong Zhou
10e08c1c46
esxi: use ESXiClientConfig
2020-03-22 19:36:45 +08:00
Yousong Zhou
944e57e572
cloudprovider: use ProviderConfig
2020-03-22 19:36:43 +08:00
Zexi Li
8488f50e65
Merge pull request #5496 from zhaoxiangchun/feature/zxc-all
...
vmware 宿主机监控信息获取
2020-03-16 12:57:21 +08:00
zhaoxiangchun
b0981354de
vmware 宿主机监控信息获取
2020-03-13 15:02:13 +08:00
Rain
258a03e138
fix(esxi): VlanID '1' is default value
2020-03-12 20:55:12 +08:00
yunion-ci-robot
eed8441013
Merge pull request #5444 from rainzm/fix/esxi_disk
...
fix(esxi): UnitNumber 7 is unavailable for scsi controller
2020-03-12 02:51:03 +08:00
Rain
31f623dd30
fix(esxi): UnitNumber 7 is unavailable for scsi controller
...
By default, the virtual SCSI controller is assigned to virtual device node (z:7),
so that device node is unavailable for hard disks or other devices.
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5872D173-A076-42FE-8D0B-9DB0EB0E7362.html
2020-03-11 17:33:35 +08:00
Rain
7db5ae4d16
fix(esxi): Fix bugs when using network with vlanID
2020-03-11 10:56:50 +08:00
Zexi Li
1786c02e82
Merge pull request #5419 from swordqiu/hotfix/qj-fail-to-find-esxi-host-access-ip
...
fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:44:53 +08:00
Rain
396f997cf4
fix(esxi): Add two account with same account name
2020-03-09 17:51:24 +08:00
Qiu Jian
fe93b90745
fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-09 15:44:19 +08:00
Rain
2262cb0123
fix: Storage filter not work for Esxi
...
1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
2020-02-21 15:03:08 +08:00
Rain
df3b77b764
fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
...
parascsi 是 vmware 中一种高性能的 scsi 控制器。
在此之前,scsi 只包括 "lsilogic", "lsilogicsas", "buslogic"; 而别名为 pvscsi
的 parascsi 没有被包含进来;并且,一个 pci controller只能挂一个 scsi controller,
这会导致如果在一个拥有 pvscsi 的机器上添加普通scsi驱动类型的磁盘,就会替换驱动;
反之亦然。这会导致驱动的 key 不是我们指定的key,并且在添加磁盘的时候替换驱动的
类型有些随意。再者,我们的驱动类型的选择其实并没有暴露给前端。
所以,在寻找相应的controller时,将 parascsi 也纳入 scsi 类型。
尽量避免在创建磁盘的时候做硬件的改动,所以在创建磁盘的时候不区分 scsi
还是 pvscsi,如果两种 controller 均没有,就按照请求的类型创建一个。
此外,在 CloneVM 的时候,如果支持,优先使用 parascsi。
2020-02-19 16:35:15 +08:00
zhaoxiangchun
6a54c88d29
gencopyright信息
2020-02-18 11:32:21 +08:00
Rain
57f9dd38e6
fix(esxi): Create one if no suitable driver when creating disk
2020-02-12 15:23:03 +08:00
zhaoxiangchun
07adad86ca
multicloud的vmware监控功能
...
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:38:42 +08:00
yunion-ci-robot
c16dc54112
Merge pull request #4994 from rainzm/bugfix/esxi_delete_disk
...
fix(esxiagent): Lead to vCenter server '503' when deleting vm's disk
2020-01-19 23:48:13 +08:00
Rain
bf717adcd5
fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk
2020-01-19 17:55:08 +08:00
yunion-ci-robot
2f56b98778
Merge pull request #4893 from rainzm/feature/esxi_template
...
feature(esxiagent): Add Template VM as CachedImage
2020-01-19 17:45:12 +08:00
Rain
b301bb01b7
fix(esxiagent): Cancel devKeys's cache of vm
2020-01-19 11:03:13 +08:00
Yousong Zhou
b5a9625575
esxi: dont import hostman pkgs
...
Fix building region on darwin
2020-01-17 16:52:11 +08:00
Rain
7524141e49
feature(esxiagent): Add Template VM as CachedImage
2020-01-17 14:16:08 +08:00
Rain
5b1c97af58
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
...
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:39:41 +08:00
Rain
bc83e2940a
bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
...
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-16 22:00:07 +08:00
yunion-ci-robot
f6cb85592d
Merge pull request #4253 from ioito/feature/qx-google-operation
...
Feature/qx google operation
2020-01-16 11:02:05 +08:00
Qu Xuan
4a6a4c594a
feature: google云操作支持
2020-01-15 20:23:31 +08:00
Qiu Jian
14c1ddaccb
feature: cloudprovider capability filter and listinput recode
2020-01-13 13:19:47 +08:00
Rain
891a018bef
fix(esxi-agent): Avoid redundant agent & Adjust workspace path
...
1. There is only one esxi agent needed in OneCloud.
2. Workspace path shoule be EsxiAgentPath not the parent directory of this.
3. The VM name is too long for vcenter when importing VM so that shrink
it.
2020-01-09 21:07:41 +08:00
Rain
883871d551
fix(esxi-agent): Adjust the VM Path in Datastore
2020-01-08 21:05:22 +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
Qiu Jian
1d002cb9ec
fix: add cloudprovider capabilities
2020-01-04 15:40:24 +08:00
Qu Xuan
73dc3a6a38
fix: 支持同步经典网络ip地址
2019-12-28 13:15:52 +08:00
Qiu Jian
18857c2a37
fix: ESXi fakeDC ID should matches any datacenter
2019-12-17 18:47:37 +08:00
yunion-ci-robot
919d0d9f86
Merge pull request #4193 from swordqiu/hotfix/qj-esxi-no-premission-access-datacenter
...
fix: fetch hosts if no permission to access datacenter
2019-12-17 16:24:03 +08:00
Qiu Jian
18bda6ab26
fix: fetch hosts if no permission to access datacenter
2019-12-17 15:55:26 +08:00
Qiu Jian
33a736a113
misc imporvements
2019-12-14 19:22:24 +08:00
Qiu Jian
b94a70124b
fix: misc bugfix for esxi 20191213
2019-12-13 12:32:26 +08:00
Qu Xuan
f9ae7d9244
fix: globalnetwork -> globalvpc
2019-12-11 22:28:07 +08:00
郑雨
15edc45030
feat(region): Support for resuming vm suspended in vmware
2019-12-06 16:35:37 +08:00
郑雨
7eb635e377
feat(region): Add suspend feature for vmware guest
2019-11-29 16:07:57 +08:00
Qu Xuan
1ace23cbfa
add: gcp cloud support
2019-11-27 10:29:28 +08:00
Qu Xuan
ee42bb37eb
fix: remove duplicate interface and function
2019-11-20 15:24:04 +08:00
Qu Xuan
704733ca81
fix: remove private cloud server sku brand and provider attribute
2019-11-08 17:50:30 +08:00
Qiu Jian
c08cda4238
fix: skip esxi vm with nil config
2019-11-06 22:11:56 +08:00
Qu Xuan
498e1ad769
hotfix: 参数校验使用结构体传参
2019-11-05 10:28:47 +08:00