Commit Graph

55 Commits

Author SHA1 Message Date
Qiu Jian
792bfe533c fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
Add new option rbac_policy_refresh_interval_seconds to control the
valid duration of a policy cache. The option is introduced at 3.6.
Replace option rbac_policy_sync_period_seconds.
2020-12-20 01:31:54 +08:00
Qiu Jian
80229fa1e0 fix(keystone): always upload&refresh service config whenever service restart
Always upload&refresh service config whenever service restart
2020-12-19 00:49:32 +08:00
Zexi Li
096115ce5e Merge pull request #9160 from swordqiu/feature/qj-event-log-splitable
feature(cloudcommon): split opslog table
2020-12-11 19:31:06 +08:00
Zexi Li
2782b3d94f Merge pull request #9339 from ioito/hotfix/qx-global-proxy
fix(region,yunionapi,glance): using global proxy
2020-12-11 11:39:45 +08:00
Qu Xuan
57ae689490 fix(region,yunionapi,glance): using global proxy 2020-12-10 18:31:51 +08:00
Qiu Jian
0a7513cce4 fix(cloudcommon): disable quota check by default
1. add enable_quota_check common option
2. disable quota check by default
3. specify scope of quota limit in OutOfQuota error message
2020-12-10 01:19:06 +08:00
Qiu Jian
ab75c8f93c feature(cloudcommon): split opslog table
automatically split opslog table, so as to delete obsolete event logs
2020-12-09 21:12:55 +08:00
wanyaoqi
948f926bf6 feat(host-deployer): add deploy driver libguestfs
Add drvier libguestfs to support deploy more operator system,
you can use it by edit host config file add 'image_deploy_driver: libguestfs'.
By the default host-deploy support run three guestfish at the same time.
And host deployer will recycle free guestfish every ten minitues.

cherrypick: release/3.6
2020-12-08 17:49:44 +08:00
Qiu Jian
ef8ad89668 fix(cloudcommon): adjust policy refresh to default 30 seconds
Cache policy check result for 30 seconds by default
2020-11-26 21:14:50 +08:00
Qiu Jian
4431acde83 fix:
1. server generate name should be historically unique
2. ipaddr of a batch of server is in the same order as generated name
2020-11-05 00:21:12 +08:00
Qiu Jian
354bcd9f07 fix: save service config changes may send invalid action log 2020-10-31 18:57:52 +08:00
Qiu Jian
dcc689cc17 fix: allow set customized private prefixes 2020-10-28 21:50:19 +08:00
Qiu Jian
2d39cb4cb0 feature: policy group support 2020-10-24 22:46:46 +08:00
Jian Qiu
34ee80f011 feature: use informer to update endpoint, policy and service configs (#7596)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 17:45:33 +08:00
wanyaoqi
d727248929 fix host health 2020-04-30 11:32:16 +08:00
wanyaoqi
5158a509ee enable etcd lock 2020-04-28 10:33:13 +08:00
wanyaoqi
af6c6fee88 host health check 2020-04-26 21:44:02 +08:00
Qiu Jian
1a9c0efc2d fix: service-config-show shows service's own config 2020-04-08 20:39:25 +08:00
Qiu Jian
adeda57082 fix: service config changes not effective 2020-04-06 15:43:29 +08:00
Zexi Li
88ffe53ce8 Merge pull request #5615 from swordqiu/hotfix/qj-service-config-change-detection
fix: refine service-config change detection
2020-03-30 20:02:26 +08:00
Zexi Li
6d31c95b71 Merge pull request #5616 from swordqiu/hotfix/qj-increase-apigateway-default-worker-count
fix: increase apigateway default worker count to 32
2020-03-30 19:22:33 +08:00
Qiu Jian
3b5d34ccd8 fix: refine service-config change detection 2020-03-30 16:03:21 +08:00
Qiu Jian
5e6070d809 feature: make webconsole's api_server option common 2020-03-30 15:29:58 +08:00
Qiu Jian
26bd5a2487 fix: increase apigateway default worker count to 32 2020-03-30 09:39:29 +08:00
Qiu Jian
258db2cb48 fix updates 2020-03-27 01:20:29 +08:00
Qiu Jian
732dcdcb61 feature: system resource domainize 2020-03-27 01:20:29 +08:00
Yousong Zhou
20f3c775d7 cloudcommon: reword help text for IsSlaveNode 2020-03-12 18:55:58 +08:00
Yousong Zhou
411bff8301 cloudcommon: remove default value for etcd lock prefix 2020-03-12 18:55:58 +08:00
Yousong Zhou
487b7e189b cloudcommon: options: add constants for lock method 2020-03-12 18:55:58 +08:00
Qiu Jian
2cf9785881 fix: first load of service config not effective 2020-01-14 03:02:27 +08:00
Qiu Jian
6104dd28bb fix: non-default-domain-projects changes not take effects after changing
through service-config
2020-01-12 00:01:19 +08:00
Qiu Jian
74af253254 fix: initialize service config on keystone when service boot 2020-01-09 22:04:27 +08:00
Qiu Jian
6d8f19273c feature: service config update support 2019-12-23 19:09:32 +08:00
Qiu Jian
39de0f0ee7 quota recode update 2 2019-12-12 11:31:46 +08:00
Qiu Jian
3dba5360d7 quota recode 2019-12-12 11:31:41 +08:00
Yousong Zhou
752cffb3ad cloudcommon: options: new options for etcd lockman 2019-11-12 13:18:09 +00:00
Qiu Jian
7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
wanyaoqi
dd7fadb8c4 fix add cronjob validate times 2019-09-24 20:21:30 +08:00
Zexi Li
3781ccb427 auth: add session-endpoint-type to common options 2019-09-18 11:53:44 +08:00
Qiu Jian
fea61697e9 fix: allow turn off non-default domain projects 2019-07-27 15:52:02 +08:00
Jian Qiu
a172c1c37d fix: add all ports usage (#1659)
* fix: add all ports usage

* fix: action log project-domain charset is not utf8
2019-07-11 08:57:34 +08:00
Qiu Jian
f184e2d8f9 fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize 2019-07-02 03:08:52 +08:00
Qiu Jian
8cceda8dcf fix: cloud account syncstatus is not accurate 2019-06-24 22:18:05 +08:00
Qiu Jian
1dbb998844 fix: 1. sync delete projects and related quota&usage data
2. sync delete user/group/domain for ldap driver
3. ModelManager add OrderByExtraFields
2019-06-22 17:05:27 +08:00
Qiu Jian
06017461f1 fix: images quota support 2019-06-17 18:40:14 +08:00
Yousong Zhou
4c68b3fb23 cloudcommon: 移除非必要日志 2019-06-14 08:57:41 +00:00
Jian Qiu
72c13b8e39 3level priviliges bufixes 20190603 (#1036) 2019-06-03 12:30:58 +08:00
Jian Qiu
bff3ba9b16 fix: keystone fernet setup bugs and other bugs (#1022) 2019-06-01 17:31:20 +08:00
Qiu Jian
8c799e3a5e fix: client auth needs project domain info 2019-05-31 14:10:56 +08:00
Qiu Jian
33d22dfae6 feature: support identity provider and more... 2019-05-31 14:10:56 +08:00