Commit Graph

5883 Commits

Author SHA1 Message Date
屈轩
15db041961 fix: host ping piggyback storage info (#22962)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-07-28 14:11:41 +08:00
屈轩
c503b7e961 fix(region): host-list (#22953) 2025-07-25 20:34:31 +08:00
Jian Qiu
51da4cb73a fix: remove default values from cmtbound columns (#22160)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2025-02-24 17:32:45 +08:00
屈轩
310f13aa88 fix(region): qcloud hypervisor (#17266) 2023-06-08 21:20:43 +08:00
ioito
1d7a3a8365 fix(region): filter host by ips 2023-06-06 10:58:15 +08:00
ioito
535b11a737 fix(region): server list filter by ips 2023-05-30 16:32:13 +08:00
Qiu Jian
2858c11ce6 fix: host remove netif also remove baremnetal server netif 2023-04-03 11:35:45 +08:00
ioito
974ce57c24 fix(region): cdn domain config 2023-02-06 14:18:19 +08:00
wanyaoqi
58a20e4bf4 fix(worker): policy and task worker count configurable (#15716) 2023-01-05 22:37:14 +08:00
Jian Qiu
00c72492df fix: fail to delete guest due to guestdisk inconsistency (#15404)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-22 12:23:48 +08:00
屈轩
f084c0e2cd fix(region): account clean host cache (#15377) 2022-11-16 15:50:46 +08:00
wanyaoqi
38f2b58ae4 fix(region): panic on host offline and update health status is nil 2022-11-01 20:50:15 +08:00
Zexi Li
d9228f48f4 Merge pull request #15142 from ioito/automated-cherry-pick-of-#15137-upstream-release-3.8
Automated cherry pick of #15137: fix(region): snapshot time zone
2022-10-11 10:44:09 +08:00
Zexi Li
a6bb678825 Merge pull request #15136 from swordqiu/automated-cherry-pick-of-#15134-upstream-release-3.8
Automated cherry pick of #15134: fix: override valid os info in metadata
2022-10-11 10:42:59 +08:00
Qiu Jian
5a0a5ce6df fix: override valid os info in metadata 2022-10-10 00:05:55 +08:00
ioito
d8b4d7a67e fix(region): snapshot time zone 2022-10-09 16:22:34 +08:00
ioito
f7c84dae72 fix(region): lb sync panic 2022-10-09 15:47:18 +08:00
Jian Qiu
80aebbd93f fix: preserve os info of instance (#15116)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:28:45 +08:00
wanyaoqi
d4834cb921 Automated cherry pick of #15067: fix(region): host health use sync map (#15086)
* fix(region): host health use sync map

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

* fix auto migrate on host shutdown

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-28 14:13:10 +08:00
屈轩
d386e18006 fix(region): secgroup rule sync (#15077) 2022-09-27 21:23:22 +08:00
Zexi Li
248e29bc12 feat(region): is_baremetal option for storage list 2022-09-26 15:17:48 +08:00
屈轩
13cde27dd2 fix(region): avoid panic when show dns zone (#15037) 2022-09-23 13:53:05 +08:00
屈轩
fbdc4c23ac fix(region): cloudaccount options (#14992) 2022-09-17 19:38:23 +08:00
Zexi Li
fc677ebf9f fix(host): no vm_scaling_group_id in hostmetrics (#14978) 2022-09-15 01:28:49 +08:00
Zexi Li
5348ff5d32 fix(region): gpu_models in capabilities' response 2022-09-08 13:05:26 +08:00
ioito
882d3f1060 fix(region): cloudprovider tenant id 2022-09-06 20:27:43 +08:00
ioito
2cdad90aec fix(region): show huawei cloudprovider with region name 2022-08-29 20:32:59 +08:00
wanyaoqi
1b74a6991f feat(region,host): custom usb controller type
support usb controller type: qemu-xhci, usb-ehci.
qemu-xhci is much more virtualization-friendly when compared to EHCI and UHCI.
but guest supports XHCI which should be the case for any operating system
released around 2010 or later.
So sometimes wo need use usb controller type EHCI.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-26 12:36:41 +08:00
ioito
9cd5d5e837 fix(region): billing cycle 2022-08-24 11:21:23 +08:00
Zexi Li
ca9d22cee2 fix(region): choose storage when no medium specified 2022-08-19 14:41:51 +08:00
mhf
9542fce75e order-by-guest-count 2022-08-18 10:29:22 +08:00
ioito
d8cd974bf8 fix(region): add cloud_env filter options for network address 2022-08-16 02:01:28 +08:00
Zexi Li
3cf56271e9 Merge pull request #14794 from ioito/automated-cherry-pick-of-#14792-upstream-release-3.8
Automated cherry pick of #14792: fix(region): secgroup rule sync
2022-08-12 08:45:56 +08:00
mhf
050b787239 虚拟机、磁盘排序与过滤 2022-08-11 19:47:54 +08:00
ioito
79f7bced43 fix(region): secgroup rule sync 2022-08-11 18:34:09 +08:00
Jian Qiu
bd860493b9 fix: no log for storage enable/disable (#14776)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-08-09 09:49:33 +08:00
wanyaoqi
4dc5a5e2cf fix(region): use virtio replace ide on diskattach
If disk driver not assign, default use previous disk driver.
Bus windows server can't recognize hot attached 'ide' disk,
use 'virtio' replace 'ide' driver on diskattach.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-05 14:20:47 +08:00
Qiu Jian
5a33659855 fix: choose host storage without considering storage capacity 2022-07-29 22:12:17 +08:00
Zexi Li
220ab59785 fix(region): baremetal host ping forbidden 2022-07-28 14:49:05 +08:00
屈轩
4fc2f15b0c fix(region): mark cachedimage deleted (#14694) 2022-07-23 11:20:49 +08:00
Zexi Li
b956548556 Merge pull request #14629 from wanyaoqi/automated-cherry-pick-of-#14627-upstream-release-3.8
Automated cherry pick of #14627: fix(region): disable ping detect task
2022-07-15 10:52:37 +08:00
ioito
a0c1dcda29 fix(region): 默认安全组规则同步问题修复 2022-07-13 14:14:16 +08:00
wanyaoqi
e216c27c11 fix(region): disable ping detect task
disable ping detect host task on health checker enabled

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-13 11:22:10 +08:00
wanyaoqi
eab54544e5 fix(region,host): host health reconnect etcd add timeout (#14617)
- host: host health reconnect etcd add timeout
- region: request health status use 'GET' method
- region: only migrate running guests on host down
- etcd: keepalive use background context

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-12 11:41:04 +08:00
wanyaoqi
026e469bc6 fix(region, host): misc fix host health checker (#14583)
- hostagent remove option enable host health, default enabled,
  its rely on etcd endpoint register.
- add option auto migrate on host shutdown.
- fix hostman check network is available.
- use hostname instead hostId as etcd key
- init health checker before host instace init.
- refector host_health checker.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>
2022-07-07 10:35:39 +08:00
屈轩
48d761169c fix(region): 修复同步dns解析不生效问题 (#14562) 2022-07-02 18:00:23 +08:00
wanyaoqi
db90c90dda host_health: auto migrate on host shutdown (#14525)
Before this patch, host guests will not migrate on host manual shutdown.
This patch from k8s node status check host still on line, if node status
not ready, region will migrate guests on host.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-25 00:05:39 +08:00
wanyaoqi
340cf2fab9 Automated cherry pick of #14497: fix(region,host): auto migrate on host down (#14511)
* fix(region,host): auto migrate on host down

This patch fix source servers not shutdown on network unreachable.
Restart etcd session add timeout, and shutdown servers add force
option incase host stuck on scriptStop.

Signed-off-by: wanyaoqi <wanyaoqi@yunion.cn>

* host_health: add check network available

On host etcd keep alive failed, add check networks is available.
If networks available, may be is the etcd not work, in this case
we will net shutdowns servers and wait for etcd ready.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-23 16:26:50 +08:00
Jian Qiu
d94ca385bb fix(region): not delete groupnetwork when deleting guest (#14490)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:29:17 +08:00
Qiu Jian
282cbb1624 fix: scheduler options not updated by OptionManager 2022-06-17 23:26:14 +08:00