Commit Graph

1685 Commits

Author SHA1 Message Date
QIU Jian
293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
mhf
53388d08a3 order-by-guest-count 2022-08-18 09:49:18 +08:00
Jian Qiu
8f2d7a2cfa fix: add host-type-count climc subcommand (#14798)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-16 19:04:44 +08:00
mhf
ae92b25707 虚拟机、磁盘排序与过滤 2022-08-11 19:23:10 +08:00
Qiu Jian
fdfebf2710 feature: parameter edit util 2022-08-07 17:47:51 +08:00
Qiu Jian
4b85109f36 fix: clicm detach disk ignore keep_disk param 2022-07-29 22:37:55 +08:00
Jian Qiu
fc1a949c50 feat(region,host): mem clean after guest exited. (#14703)
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>

Co-authored-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-25 09:17:43 +08:00
Zexi Li
8dd5478ce3 Merge pull request #14639 from wanyaoqi/feat/server-batch-convert-to-kvm
feat(climc): server batch convert to kvm
2022-07-15 10:55:27 +08:00
wanyaoqi
7d601ebaa8 feat(climc): server batch convert to kvm
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-14 16:34:04 +08:00
wanyaoqi
e26ea2ebb3 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>
2022-07-14 16:17:53 +08:00
wanyaoqi
02a9d84d6e fix(region, host): misc fix host health checker (#14575)
- 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:28:27 +08:00
wanyaoqi
d51d7599d2 feat(region,host): refector guests cgroups (#14558)
* 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:00:48 +08:00
Jian Qiu
84cdeff92b fix: update vendor for clickhouse v2 (#14520)
* fix: update vendor for clickhouse v2

* fix: fix go vet

* fix: unreachable codes

* fix: composite literal uses unkeyed fields

* fix: ignore bad syntax for struct tag value

* fix: use make test to do test ci job

* fix: specify circleci resource_class

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-25 15:52:15 +08:00
屈轩
236c2a2ed6 feat(region): Support InCloud Sphere (#14502)
* feat(region): Support InCloud Sphere

* add: 支持认证及账号录入

* add: 支持region,zone,host资源同步

* add: 实例信息同步

* add: 存储和磁盘同步

* add: 网络信息同步
2022-06-25 00:06:37 +08:00
Zexi Li
e5f01ad535 feat(monitor): VMs of host loadbalance 2022-06-23 00:25:03 +08:00
Jian Qiu
2dfe607fbb fix: climc create aksk not return access_key (#14483)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-21 11:28:24 +08:00
屈轩
85bb1f0c4f feat(region): add tablestore sync (#14472) 2022-06-18 10:18:22 +08:00
Jian Qiu
14e7e9603c feature: support tap service phase 2 (#14466)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-15 05:21:43 +08:00
Jian Qiu
f1e616a671 feature: tap service support (#14433)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-14 17:23:52 +08:00
ioito
8fed88af8d fix(climc): support proxy for climc 2022-06-06 14:18:53 +08:00
Jian Qiu
43d04043a5 feature: fetch options of an application via api (#14398)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-04 10:33:31 +08:00
Qiu Jian
79f6d28888 fix: allow set pagination order 2022-05-30 11:46:36 +08:00
Jian Qiu
01a90bad17 fix: lb apis for create-eip/associate-eip/dissociate-eip (#14338)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:24:18 +08:00
Jian Qiu
618e88c51a fix: backup pack missing encrypt_key_id (#14333)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-29 10:12:47 +08:00
Zexi Li
5be2d0135d feat(climc): feature configuration 2022-05-25 10:00:46 +08:00
Zexi Li
63bb93a89b fix(region): GPU device type update supported (#14271) 2022-05-19 01:21:54 +08:00
wanyaoqi
913aec9f7f feat(host): create disk from encrypted snapshot (#14256)
support create disk from encrypted snapshot, new disk encrypt info must
same with snapshot, and should used with libqemuio2.12.

area: host,host-image,fetcherfs
Signed-off-by: wanyaoqi <wanyaoqi1995@163.com>
2022-05-16 00:34:37 +08:00
Jian Qiu
ba77386fba fix: add image set class metadata climc (#14185)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-05-02 09:06:40 +08:00
ioito
4ab0e1ebbc fix(region): ipv6 gateway purge 2022-04-25 14:29:52 +08:00
Zexi Li
c86ffe7055 Merge pull request #14072 from zexi/webconsole-ssh-log
feat(webconsole): ssh command log
2022-04-22 14:33:35 +08:00
Zexi Li
52a3e53e79 feat(webconsole): ssh command log 2022-04-22 11:51:33 +08:00
ioito
c3e80baef4 feat(region): ipv6 gateway sync for apsara 2022-04-21 17:47:13 +08:00
Zexi Li
8d685ba266 Merge pull request #14091 from ioito/hotfix/qx-apsara-oss
fix(region): apsara oss to asapi
2022-04-20 21:57:12 +08:00
ioito
4fa6fe457a fix(region): apsara oss to asapi 2022-04-20 20:31:09 +08:00
ioito
7a9810761a fix(region): apsara credential update 2022-04-19 16:08:45 +08:00
Qiu Jian
1021814404 feature: user reset credential 2022-04-18 00:16:29 +08:00
Zexi Li
9100fa8196 Merge pull request #14011 from ioito/hotfix/qx-external-project-create
feat(region): external project create
2022-04-17 00:35:16 +08:00
ioito
a719b01ff5 fix(climc): eip change bw cli 2022-04-15 11:13:30 +08:00
ioito
0461ff0eb1 feat(region): external project create 2022-04-13 17:10:04 +08:00
rainzm
68bb344201 feat(notify): filter notification by topic_type
之前的模型,消息和Event是一一对应的,一个Event可以和多个Topic对应,
为了支持通过Topic Type过滤消息,现在Event和Topic是一一对应的。
2022-04-12 13:52:55 +08:00
Zexi Li
917bb9a337 feat(region): kvm qemu version and cmdline info 2022-04-11 17:49:37 +08:00
Jian Qiu
87a7d4efe0 fix: host inherit class metadata from wire (#13896)
* fix: host inherit class metadata from wire

* deal with host delete exit

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:14:28 +08:00
Jian Qiu
2215f3d760 fix: make test format errors (#13898)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-04-05 11:13:40 +08:00
rainzm
b38148c2d6 feat(climc): add notify-event-send 2022-04-01 19:00:59 +08:00
Jian Qiu
2a4191c23a fix: image may missing os_arch and checksum (#13835)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-31 13:50:05 +08:00
Zexi Li
14305741ba fix(telegraf-raid-plugin): zombies recycle (#13817) 2022-03-30 07:41:41 +08:00
Jian Qiu
ce836b3f77 feature: qemu encryption support (#13733)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-03-26 14:52:42 +08:00
Qiu Jian
e60e1cd60e fix: add more set class metadata commands 2022-03-22 21:52:34 +08:00
Zexi Li
575d7fac7c feat(cloudcommon): db record checksum for consistency (#13679) 2022-03-14 23:30:11 +08:00
Qiu Jian
43f9e6a19b fix: server inherit the vdi_protocol of image property 2022-03-11 19:45:39 +08:00