Commit Graph
1679 Commits
Author SHA1 Message Date
Jian Qiuandwanyaoqi 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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 QiuandQiu Jian 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
屈轩 4565337fac fix(climc): add purge splitable for action and cloudevent (#13663) 2022-03-10 23:41:34 +08:00
Zexi Li 23add10153 Merge pull request #13629 from zexi/isp-with-memory-filter
feat(region): instance snapshot with_memory filter
2022-03-08 10:40:47 +08:00
rainzm 7270d0f19b feat(region): support for forced deletion of instance backups 2022-03-07 17:38:41 +08:00
rainzm c2be07be27 feat(climc): add DeleteWithParam 2022-03-07 17:16:52 +08:00
Zexi Li 35f631745a feat(region): instance snapshot with_memory filter 2022-03-07 15:58:31 +08:00
Rain Zheng e11d9acbc9 Instancebackup/syncstatus (#13618)
* feat(region): add status in snapshot or save phase for instancebackup

* feat(region): add sync_status for instancebackup

* fix(region): ignore uefi support check when related property is empty

* feat(region): add syncstatus for backup storage

* fix(region): correct stage for InstanceBackupDeleteTask

* feat(climc): add syncstatus for backupstorage and instancebackup
2022-03-07 09:52:23 +08:00