Commit Graph

1316 Commits

Author SHA1 Message Date
Zexi Li
b8b4c16c87 Merge pull request #10035 from ioito/hotfix/qx-task-err
fix(region): avoid worker discarded after state unchanged
2021-01-28 20:50:16 +08:00
Yousong Zhou
0cfc5f2311 feat(cloudcommon): opslog: log joint models 2021-01-27 18:48:18 +08:00
Qu Xuan
74eeb43e4d fix(region): avoid worker discarded after state unchanged 2021-01-27 14:57:27 +08:00
Zexi Li
960cf2a8b0 Merge pull request #9981 from rainzm/notify/webconsole_lang
fix(notify): send websocket messages according to language preference
2021-01-21 21:32:55 +08:00
rainzm
09337d9231 fix(notify): send websocket messages according to language preference 2021-01-21 19:42:39 +08:00
rainzm
1c3eea6886 feat(cloudcommon): send message with mobile in NotifyWithTag 2021-01-21 18:53:44 +08:00
Jian Qiu
9a7b9bec2d fix(cloudcommon): missing set_meta opslog (#9914)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-17 11:32:47 +08:00
Zexi Li
53651de276 Merge pull request #9891 from rainzm/notify/alert_fix
Repair of abnormal login notification
2021-01-15 10:31:01 +08:00
rainzm
a68888979f refactor(climc): remove dependence for yunion.io/x/pkg/cloudcommon/db 2021-01-14 19:00:55 +08:00
rainzm
8316dadb05 feat(cloudcommon): send it directly if there is no template corresponding to the topic 2021-01-14 17:08:47 +08:00
rainzm
7357b6e0a2 feat(cloudcommon): expand notifyclient
1. support new params in creating notification
2. adapt keystone because `auth.GetAdminSession` doesn't work in keystone
2021-01-13 19:39:03 +08:00
rainzm
f8bace5b4e feat(notify): add template about topic USER_LOGIN_EXCEPTION 2021-01-13 19:35:54 +08:00
Qu Xuan
c226568ec0 fix(region): allowed to manually refresh cloudimage 2021-01-07 21:27:57 +08:00
wanyaoqi
fa077dbe9b feat(region): stop guest before freeze 2021-01-05 15:13:56 +08:00
Jian Qiu
376dfa44d8 feature(region): sync cloud tags to local user tags (#9752)
* refact(region): sync cloud tags to user tags

* fix(region): sync exttags to user tags

Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2021-01-03 00:17:59 +08:00
rainzm
cc11aed9e8 feat(db): progressive inspection when determining the required scope 2020-12-29 14:56:01 +08:00
Qu Xuan
108d6827e8 feat(region): disks and eip delete with server 2020-12-28 11:29:12 +08:00
yunion-ci-robot
9411d7ed25 Merge pull request #9587 from tb365/bugfix/tb-bugfix-122202
fix(region): cloudregion&zone add namei18n
2020-12-26 17:53:51 +08:00
lvyangyang
68cf1eaea5 refact(region): resource tags 2020-12-26 16:00:26 +08:00
TangBin
b67be9b0dd fix(region): remove i18n fix & zone &region name support i18n 2020-12-26 09:50:21 +08:00
TangBin
01d5977bd6 fix(region): aws sync vpc access mode bugfix 2020-12-26 09:50:21 +08:00
TangBin
ea7ea1f08c fix(region): cloudregion&zone add namei18n 2020-12-26 09:50:20 +08:00
Zexi Li
35293ec9c3 Merge pull request #9609 from wanyaoqi/bugfix/wyq/fix-list-image-by-os-arch
fix(glance): list image by os arch use startwith
2020-12-24 17:34:23 +08:00
rainzm
2eebef810f feat(cloudcommon): determine the notification template based on the user’s language preference 2020-12-23 17:07:25 +08:00
wanyaoqi
8386506560 fix(glance): list image by os arch use startwith 2020-12-23 16:23:43 +08:00
Qiu Jian
abbcac09ab fix(cloudcommon): query filter ineffective for splitable
query string may be modified in listItemQuery routine, which cause some query
filter is removed and hence ineffective when query over splitable
2020-12-20 20:29:55 +08:00
Zexi Li
b300d5e4e6 Merge pull request #9534 from swordqiu/hotfix/qj-rbac-policy-refresh-internal-seconds
fix(cloudcommon): add rbac_policy_refresh_internval_seconds option
2020-12-20 02:08:30 +08:00
Zexi Li
972f7f4ab4 Merge pull request #9527 from swordqiu/hotfix/qj-split-table-empty-panic
fix(cloudcommon): panic when query an empty splitable model manager
2020-12-20 02:07:45 +08:00
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
4043cd8342 fix(taskman): use admin token if task userCred token expired
Use admin credential token if task cached userCred token expired
2020-12-20 00:43:34 +08:00
Qiu Jian
d01f89a2c8 fix(cloudcommon): panic when query an empty splitable model manager
fix panic when querying an empty splitable model manager, e.g. action-show
2020-12-20 00:25:15 +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
1f40f2bd1c Merge pull request #9483 from rainzm/webhook/pending_delete
Webhook better describe the life cycle of the guest
2020-12-18 20:37:43 +08:00
--global
54271b78ad feat(monitor): add alert slience time and modify scoperesource
FetchUniqValues func

1.增加报警静默时间
2.后端修改 scoperesource FetchUniqValues :回显scope 属性
2020-12-18 14:39:02 +08:00
rainzm
81588c92ae feat(region): distinguish between pending delete and delete notification 2020-12-18 13:05:24 +08:00
Qiu Jian
0eaf20da26 fix(keystone): panic if request with an invalid token
service report nil pointer panic if request with an invalid token string
2020-12-16 16:43:24 +08:00
yunion-ci-robot
20421f98d6 Merge pull request #9409 from wanyaoqi/feature/wyq/export-tags
feat(region): export user tags support virtual resources
2020-12-14 17:55:05 +08:00
wanyaoqi
2675f75c80 feat(region): export user tags support virtual resources 2020-12-14 15:55:05 +08:00
wanyaoqi
8a82407f90 fix(region,glance): list by os arch adapt to empty strings 2020-12-14 15:10:57 +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
Qiu Jian
faf00d8d67 fix(cloudcommon): perform public should check the sharing scope of
resource

perform public should check the sharing scope of resource
2020-12-10 19:03:01 +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
Zexi Li
152f584a70 Merge pull request #9295 from swordqiu/hotfix/qj-update-i18n-master-20201209
fix(cloudcommon): supplement i18n translations
2020-12-09 20:44:11 +08:00
Zexi Li
6f74c7f4c4 Merge pull request #8848 from wanyaoqi/feature/wyq/host-deployer-libguestfs
host-deployer: add deploy driver libguestfs
2020-12-09 20:41:22 +08:00
wanyaoqi
92e0ed3434 fix(host): check lease living on restart etcd session 2020-12-09 16:53:55 +08:00
Qiu Jian
fbdcbeb751 fix(cloudcommon): supplement i18n translations 2020-12-09 00:43:54 +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