Commit Graph

1974 Commits

Author SHA1 Message Date
Jian Qiu
2a21f5a0d4 fix: minor fixes 20230403 (#16326)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-04-03 09:28:24 +08:00
mhf
39233bf023 fix(region): addHcso request retry 2023-03-27 15:13:44 +08:00
wanyaoqi
b717da12c5 fix(host): kvm detect and iommu probe (#16243)
- use lsmod check kvm modules on /dev/kvm exist
- don't check grub params "intel_iommu=on" on kvm_intel not loaded

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2023-03-16 22:20:03 +08:00
Qiu Jian
6ce3a4280e fix: minor fixes 20230313 2023-03-13 12:49:01 +08:00
Jian Qiu
1062fc8118 fix: prevent duplicate table sync (#16204)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-13 09:07:57 +08:00
Jian Qiu
2c7ba6fbff fix: logclient request add service name context (#16131)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2023-03-09 11:08:11 +08:00
Jian Qiu
17ebdea35d fix: three member policy system violation check (#16106)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2023-03-02 08:58:10 +08:00
Qiu Jian
3215744e05 fix: usage filter by policy tags revisit2 2023-02-14 09:35:45 +08:00
ioito
20e18137f3 fix(cloudmon): project tags for metric 2023-02-01 19:48:58 +08:00
Qiu Jian
479523b6ab fix: usage filter by policy tags 2023-01-30 22:04:24 +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
Zexi Li
6b961d72a1 fix(baremetal): mac address of BMC not found 2022-12-15 11:25:28 +08:00
wanyaoqi
a54d49136f fix(region,host): backup guest refactor 2022-12-14 22:58:31 +08:00
Qiu Jian
3d4fe99db0 fix: usb tablet not function for windows 10 guest 2022-12-14 12:17:02 +08:00
wanyaoqi
f27d3cfb98 fix(host): ceph util timeout (#15517) 2022-12-08 14:41:23 +08:00
wanyaoqi
ca58f35451 fix(region,host): check memdev on live migration (#15380)
* fix(region,host): check memdev on live migration

* fix(region,host): live migrate check scsi num queus

* fix(host): change scsi num queues

* fix(host): fix nics pci addr on live migration
2022-11-24 22:17:56 +08:00
屈轩
25d4621b05 fix(region): ceph df size (#15411) 2022-11-22 12:23:07 +08:00
wanyaoqi
676488e991 fix(host): ceph utils command add timeout
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-21 15:10:23 +08:00
Qiu Jian
b73e53b7c2 fix: automatically set disk is_ssd according to storage medium_type 2022-11-15 00:18:08 +08:00
wanyaoqi
2beaf112c1 fix(host-deployer): os arch and uefi detect (#15352) 2022-11-13 18:19:26 +08:00
Qiu Jian
bdc24b38ff fix: make excel output floating number pretty 2022-11-11 22:18:38 +08:00
屈轩
e192dce599 fix(region): task panic (#15346) 2022-11-11 19:51:51 +08:00
Jian Qiu
22a2ffec45 feature: automatically purge expired splitables (#15226)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:07:04 +08:00
屈轩
aacdf17099 fix(glance): esxi vmdk requre streamOptimized (#15181) 2022-10-15 22:03:44 +08:00
Jian Qiu
5150d3d86d fix: debian 11 support missing at release/3.8 (#15161)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-11 21:18:14 +08:00
Qiu Jian
807631b7ca fix: override valid os info in metadata 2022-10-09 23:55:34 +08:00
Jian Qiu
3b64b8709e fix: preserve os info of instance (#15115)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-10-08 11:19:51 +08:00
wanyaoqi
20b7b9b9f6 fix(host): rbd snap delete (#15083) 2022-09-28 15:25:27 +08:00
屈轩
077390519d fix(cloudmon): remove special characters (#15063) 2022-09-27 21:04:13 +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
Jian Qiu
32931791cf fix: splitable duplicate records (#15038)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-23 14:09:11 +08:00
Qiu Jian
60f868b259 fix(keystone): ldap search with pagination 2022-09-04 19:31:34 +08:00
wanyaoqi
1a7cd22bb8 fix: gen copyright
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:28:54 +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
ioito
683bc536bd refactor(cloudmon): metric collect 2022-08-26 19:38:53 +08:00
QIU Jian
3098a7b857 fix: remove apiversion param from session 2022-08-25 10:08:30 +08:00
ioito
a050714137 fix(cloudid): 华为云idp sso跳转指定页面 2022-07-20 20:06:10 +08:00
Jian Qiu
41cd602625 fix: not detect arm physical nics (#14636)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:52:55 +08:00
Jian Qiu
a9f9180613 fix: misc fixes 20220712 (#14615)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-12 08:01:09 +08:00
Jian Qiu
60ed172549 fix: fail to sync metadata table for splitable (#14596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:38:07 +08:00
Qiu Jian
294e281476 fix: log admin action logs in separate logs 2022-07-07 07:46:07 +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
Jian Qiu
d4fef79e92 Automated cherry pick of #14534: fix: make condition eval compatible with go 1.18 (#14535)
* fix: make condition eval compatible with go 1.18

* fix: update circle-ci image to yunion/centos-build:go-1.18.3-0

* update go,mod go version to 1.18

* update vendor

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-28 00:30:06 +08:00
Jian Qiu
b28cca1809 Automated cherry pick of #14520: fix: update vendor for clickhouse v2 (#14521)
* 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:53:32 +08:00
Qiu Jian
2a6414fc19 fix: fail to detect host physical nics 2022-06-23 13:33:53 +08:00
Jian Qiu
170f9f5621 fix: migrate failure for encrypted local vm (#14509)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-06-22 23:10:56 +08:00
Jian Qiu
07dca8df6e fix: splitable auto_incremental steps should be more than 1 (in case of HA setup) (#14500)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:36:20 +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
096019508e fix: splitable add index should modify base spec (#14435)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-12 20:34:48 +08:00
ioito
00a82535e7 fix(host): ceph pool size 2022-06-07 17:09:30 +08:00