Commit Graph

1494 Commits

Author SHA1 Message Date
Zexi Li
77dbe36b31 fix(region): not set default data when batch creating disks 2023-04-07 10:55:16 +08:00
wanyaoqi
4bafc0180e fix(host): download sparse file truncate first
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-14 20:57:54 +08:00
Qiu Jian
d1ce4398d0 feature: compose guest image with existing images 2023-03-12 15:19:46 +08:00
wanyaoqi
57c076bfc2 fix(region): guest change storage
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-02-28 21:57:04 +08:00
Zexi Li
e8037f7bc3 fix(climc): add list monitorresource cmd (#16046) 2023-02-27 22:00:10 +08:00
Zexi Li
8efca7b3ce fix(climc): add measurements and databases api of unifiedmonitor 2023-02-15 17:06:55 +08:00
wanyaoqi
783297ebd0 fix(worker): policy and task worker count configurable (#15715) 2023-01-05 22:49:13 +08:00
Zexi Li
b634256c99 Merge pull request #15473 from wanyaoqi/fix/pasm
fix(region,host): backup guest
2022-12-22 10:17:19 +08:00
wanyaoqi
a54d49136f fix(region,host): backup guest refactor 2022-12-14 22:58:31 +08:00
ioito
c99cc9bfe1 fix(common): limit request 2022-12-08 15:56:13 +08:00
Qiu Jian
af74eb78c7 feature: allow update hostname 2022-12-05 17:22:28 +08:00
Zexi Li
947d5c6e28 feat(climc): k8s cluster extra config 2022-11-17 17:48:09 +08:00
Zexi Li
e54e942035 feat(climc): k8s cluster force deploy (#15371) 2022-11-16 10:12:44 +08:00
Jian Qiu
1fe0399a80 fix: mcclient code cleanup 20221106 (#15311)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:20:18 +08:00
Zexi Li
bcfa131ddb fix(monitor): only query enabled host for alerting (#15300) 2022-11-07 02:17:30 +08:00
Zexi Li
ec321023d2 feat(region): no_bmc option of host create api (#15269) 2022-11-01 17:38:27 +08:00
ioito
043b24cca1 fix(region): modelarts change config 2022-10-08 14:28:34 +08:00
屈轩
aa99aa449e fix(climc): add debug for esxicli (#15060) 2022-09-27 21:22:08 +08:00
小林仔
12cbc9c697 support simple query 2022-09-26 13:28:19 +08:00
wanyaoqi
4dd3a6a163 Automated cherry pick of #14996: fix(host): live migrate optimize (#15020)
* fix(host): live migrate optimize

- support set live migrate bandwidth
- support cancel migrate
- live migrate enable multifd
- cancel set live migrate max downtime in init live migrate
- save and sync guest desc and start script on sync config

* feat(region,host): server-monitor support qmp

server-montior add qmp option, default is hmp.

usage:
    climc server-monitor --qmp <ID> <COMMAND>

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-23 14:09:47 +08:00
mhf
0a1307bb4d add hcso aksk 2022-09-20 20:23:33 +08:00
Zexi Li
21b831252d feat(baremetal,region): support disable_image_cache for baremetalagent 2022-09-20 10:04:21 +08:00
Zexi Li
5d6a431902 fix(monitor,region,climc): use commonalert api for scaling policy (#14979)
* fix(monitor,region,climc): use commonalert api for scaling policy

* fix(monitor): use commonalert as nodealert's backend
2022-09-16 10:33:59 +08:00
mhf
6671cf9fab modelarts 2022-09-14 15:34:19 +08:00
wanyaoqi
489d75a5ed feat(region): set password use same interface
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-09-06 15:53:38 +08:00
Jian Qiu
e31524bc5d feature: webhook support notification of user update (#14913)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-04 05:04:23 +08:00
wanyaoqi
07ece80f42 feat(qga): add server-qga-command
usage:
climc server-qga-command <ID> <QGA_RAW_COMMAND>

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:12 +08:00
wanyaoqi
95c836bed5 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:01:11 +08:00
wanyaoqi
5e9dafe4a8 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:32:55 +08:00
QIU Jian
3098a7b857 fix: remove apiversion param from session 2022-08-25 10:08:30 +08:00
mhf
722f835f27 order-by-guest-count 2022-08-18 09:57:20 +08:00
mhf
f1d69fe3fa 虚拟机、磁盘排序与过滤 2022-08-11 19:34:13 +08:00
Qiu Jian
6f6928493f fix: clicm detach disk ignore keep_disk param 2022-07-29 22:39:50 +08:00
Jian Qiu
bc7bb2760b feat(region,host): mem clean after guest exited. (#14704)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:53 +08:00
wanyaoqi
242055a434 fix(region, host): misc fix host health checker (#14582)
- 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:29 +08:00
wanyaoqi
50e98e6e0f Automated cherry pick of #14558: feat(region,host): refector guests cgroups (#14565)
* feat(region,host): refector guests cgroups

hostagent will create a root group cloudpods.hostagent at init.
guests group under cloudpods.hostagent. Qemu start params add '-S'
option freeze guest at first, after guest set cgroup or other initialize
hostagent will resume guest.

host support reserve cpus. if has reserved cpus, hostagent will create a
group cloudpods.hostagent.reserved, one thing to note is set host
reserved cpus must ensure host no guests running.

climc usage:
  climc host-reserve-cpus --cpus '2-3,32-33' --mems '0-1' \
    --disable-sched-load-balance <IDS>

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

* hostman: disable cpuset balancer

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-02 18:01:02 +08:00
Zexi Li
e9d1dc27cc feat(monitor): VMs of host loadbalance 2022-06-23 00:25:23 +08:00
Jian Qiu
9d7033e0c8 fix: climc create aksk not return access_key (#14484)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:36 +08:00
屈轩
b219a51f1b feat(region): add tablestore sync (#14473) 2022-06-18 10:18:37 +08:00
Jian Qiu
d0fb9f10dd feature: support tap service phase 2 (#14467)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:31 +08:00
Jian Qiu
22bc81f173 feature: tap service support (#14460)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:24:02 +08:00
Jian Qiu
300fb781cb feature: fetch options of an application via api (#14397)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:20 +08:00
Qiu Jian
1a043c7958 fix: allow set pagination order 2022-05-30 23:41:54 +08:00
Jian Qiu
9c88fe5bb6 fix: backup pack missing encrypt_key_id (#14337)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:58 +08:00
Zexi Li
63d6d325e2 feat(climc): feature configuration 2022-05-25 10:01:48 +08:00
Zexi Li
0e5257138f fix(region): GPU device type update supported (#14270) 2022-05-19 01:21:43 +08:00
Jian Qiu
082f153b49 fix: add image set class metadata climc (#14186)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:51 +08:00
ioito
e7f3ea9e2e fix(region): ipv6 gateway purge 2022-04-25 14:30:43 +08:00
Zexi Li
8ebcc6439b feat(webconsole): ssh command log 2022-04-22 14:22:59 +08:00
ioito
05d38e8f8a feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:35 +08:00