Commit Graph
1550 Commits
Author SHA1 Message Date
Zexi Li 0e2c520ecd feat(misc): use cloudmux package (#15254) 2022-10-28 19:53:03 +08:00
Jian QiuandQiu Jian 53519e3425 feature: automatically purge expired splitables (#15225)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-26 02:06:45 +08:00
ioito 6395e077f3 fix(region): add disk_type for disk short desc 2022-10-19 18:18:00 +08:00
Jian QiuandQiu Jian df373cdaf6 feature: api for sending emails with attachments (#15201)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-17 14:30:03 +08:00
Jian QiuandQiu Jian 35cb0f8131 fix: no etcd watching if endpoint type is not internal (#15174)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-10-13 09:36:41 +08:00
ioito c7952084b9 fix(region): add project tag short desc 2022-10-08 18:20:25 +08:00
Zexi Li 5e6935bc3a fix(cloudcommon): notify event of specific resources (#15091) 2022-09-28 13:01:03 +08:00
Davidzkengandhuangzekeng bbaaf2da7e Feature/floppy (#15008)
* feat(region,host): add floppy,mult cdrom

* fix floppy-device

Co-authored-by: huangzekeng <huangzekeng@grgbanking.com>
2022-09-27 21:15:52 +08:00
Zexi Li ecd7e81887 fix(cloudcommon): invoke model.PostUpdate when differences exist (#15070) 2022-09-27 21:11:26 +08:00
mhf a31ed4d14b fix modelarts create bug 2022-09-19 19:42:23 +08:00
Qiu Jian 8654a70876 fix: remove irrelevant common options 2022-09-12 18:22:18 +08:00
ioito 24c35579f2 fix(region): cloudprovider tenant id 2022-09-06 20:25:48 +08:00
Jian QiuandQiu Jian d19c394d14 fix: allow update server pending deleted at (#14905)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-09-02 10:05:11 +08:00
Zexi Li b4c3c40112 Merge pull request #14841 from wanyaoqi/feat/qga
feat(region,host): qga set user password
2022-08-30 11:35:53 +08:00
Qiu Jian 60a2a3aa9d fix: policy cache get/set with atomic ops 2022-08-30 07:31:00 +08:00
wanyaoqi 63b30cef60 feat(region,host): qga set user password
Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-08-28 13:51:21 +08:00
ioito 2e94335a2f refactor(cloudmon): metric collect 2022-08-26 19:28:07 +08:00
QIU Jian 293afd2e69 fix: remove apiversion param from session 2022-08-25 09:43:50 +08:00
Jian QiuandQiu Jian 5b26125806 feature: model manager dispatcher (#14780)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-08-11 14:30:04 +08:00
Jian QiuandQiu Jian 55c198982a fix: logger syslog format update (#14700)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-23 12:40:42 +08:00
wanyaoqi c8c5a28675 feat(region,host): create disk from existing path (#14677)
Server create disk from existing path.

Usage:

climc server-create --disk storage=<storage>:existing_path=<path> ...
climc disk-create storage=<storage>:existing_path=<path> DISKNAME

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-07-19 20:02:10 +08:00
Jian QiuandQiu Jian e12414e300 fix: make sure to call virtual functions (#14653)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-16 13:40:10 +08:00
ioito 69ad3c12e2 fix(common): pretty error msg for invalid joint filter 2022-07-14 20:31:42 +08:00
Jian QiuandQiu Jian 8774311d26 fix: allow set splitable max duration (#14633)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-14 08:51:25 +08:00
wanyaoqi d9c042252a fix(region,host): host health reconnect etcd add timeout (#14610)
- 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 10:38:17 +08:00
Zexi Li 2c1042c6bb feat(log,notify): notification of action log exceed count (#14606) 2022-07-12 06:58:46 +08:00
Jian QiuandQIU Jian 07997efbaa fix: add inmemory lock test for PR#14555 (#14570)
Co-authored-by: QIU Jian <qiujian@yunionyun.com>
2022-07-08 21:54:35 +08:00
Jian QiuandQiu Jian 5b4dcf4486 fix: recover opslog roles definition (#14603)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 21:53:19 +08:00
Zexi Li 01a46913e5 fix(cloudcommon): record checksum in list (#14600) 2022-07-08 21:49:05 +08:00
Jian QiuandQiu Jian b9ed7ce58a fix: fail to sync metadata table for splitable (#14593)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-08 09:58:00 +08:00
Qiu Jian 4476b9f701 fix: log admin action logs in separate logs 2022-07-07 07:36:08 +08:00
Jian QiuandQiu Jian bf781bb1db fix: convert clickhouse connection string with auth info (#14566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 10:13:20 +08:00
Jian QiuandQiu Jian 7ea8d33841 fix: convert clickhouse sqlstr from v1 to v2 (#14553)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-07-02 07:57:05 +08:00
QIU Jian 0e8f4d010e fix: typo of clickhouse_db 2022-06-29 09:38:15 +08:00
wanyaoqi dc92f09d95 fix(region,host): auto migrate on host down (#14497)
* 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:18 +08:00
Jian QiuandQiu Jian df4321d934 fix: clickhouse set max idle connections (#14496)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-22 06:35:33 +08:00
Qiu Jian 1aee43ab03 fix: scheduler options not updated by OptionManager 2022-06-17 23:10:00 +08:00
屈轩 5e3059d3bf fix(region): show more statistic info (#14474) 2022-06-16 02:48:25 +08:00
wanyaoqiandwanyaoqi edeffed5fe feat(region,host): support multiqueues on vhost network (#14455)
Guest network add attribute num_queues, one is default.
And we can assign queues on guest create, eg:
server-create --net num-queues=4

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

Co-authored-by: wanyaoqi <wanyaoqi@baidu.com>
2022-06-14 02:38:09 +08:00
Jian QiuandQiu Jian 94319b514c fix: add CreateByInsertOrUpdate flag (#14442)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 02:27:22 +08:00
Jian QiuandQiu Jian f6c4bb7f21 fix: keystoen cronman use uninitialized admin token (#14439)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-06-13 00:00:24 +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
wanyaoqi f163690191 feat(host,region): suport live change disk storage (#14342)
Guest start drive mirror job to copy full disk to target, after drive
mirror job ready, guest reopen target disk to replace source disk.
Qemu must support block reopen image feature.

Supported storage: local, ceph

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-06-03 01:47:48 +08:00
ioito 872c742801 fix(region): api doc 2022-06-02 15:39:04 +08:00
Zexi Li c3327501a8 Merge pull request #14348 from ioito/hotfix/qx-user-data
fix(region): public cloud user data
2022-05-30 23:48:10 +08:00
ioito 8d654de641 fix(region): public cloud user data 2022-05-30 14:52:34 +08:00
Qiu Jian 79f6d28888 fix: allow set pagination order 2022-05-30 11:46:36 +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
屈轩 2a0deea6e9 fix(common): data resp (#14264) 2022-05-17 16:36:52 +08:00
Qiu Jian 07e4c2897e fix: adjust logger events 2022-05-16 01:49:48 +08:00