Commit Graph
1560 Commits
Author SHA1 Message Date
屈轩 ecf21f2351 fix(region): refactor lb (#15284) 2022-11-22 12:28:36 +08:00
屈轩 3c90ef7532 fix(common): show version when action not found (#15370) 2022-11-16 22:30:10 +08:00
wanyaoqi 70755a9a1b feat(region,host): sriov nic support (#15342)
Support sriov nic passthrough to kvm guest.

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

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-11-13 18:17:30 +08:00
屈轩 079be4492d fix(region): task panic (#15345) 2022-11-11 19:51:37 +08:00
屈轩 aa9492578f fix(region): 避免i18n重复删除再创建 (#15324) 2022-11-09 00:09:44 +08:00
ioito 236353fc09 fix(common): avoid return invalid delete status 2022-11-07 17:34:54 +08:00
Jian QiuandQiu Jian 5d9d253328 fix: mcclient code cleanup 20221106 (#15310)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2022-11-07 02:19:24 +08:00
Zexi Li b3ea6fbf13 Merge pull request #15257 from ioito/hotfix/qx-optimized-project-list
fix(keystone): optimzed project list
2022-11-04 14:29:19 +08:00
ioito cdc912ff8c fix(keystone): optimzed project list 2022-10-31 10:42:14 +08:00
wanyaoqi ab1e535e0f feat(region,host): support assign bootindex for cdrom or disks
If bootindex is assigned, legacy boot order cdn/dcn will be disabled.
each device bootindex is accquire uniqued. default bootindex -1 is mean
bootindex not assign. If all of the devices not assigned bootindex,
guest will use the legacy boot order.

Signed-off-by: wanyaoqi <d3lx.yq@gmail.com>
2022-10-31 10:20:17 +08:00
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