Commit Graph
11267 Commits
Author SHA1 Message Date
wanyaoqi 2904364de2 fix gpfs check mountpoint (#7623) 2020-08-25 17:41:33 +08:00
Rain Zheng 853153c739 Refactor for Notify (#7611)
* refactor(notify): ALL

* feat(climc): Notify v2

* feat: support notify for codegen.py

* delete deprecated code and Maintain SDK compatibility

* Adjust the template for mail validation to support captcha

* fix: The issue of notify refactoring

* add copyright for notifyv2 cli

* Adjust according to the advice of make check

* Remove utils package in notify

* fix import format

* remove redundant Template module

* fix validateCreate and validateUpdate of notifytemplate

* fix update issues of receivers

* fix: Add SetStageComplete in tasks
2020-08-25 17:19:02 +08:00
Yousong Zhou c2bca8ab39 Feature/yousong text (#7487)
* notify: log with context info

* region: guests: log with context info

* region: hosts: log with context info

* region: misc: remove redundant log

* region: skus: use NewInternalServerError instead of NewGeneralError

* appsrv: dispatcher: preserve text id

* appsrv: dispatcher: remove commented-out code

* cloudcommon: db_dispatcher: note errors that won't be translated

* cloudcommon: db: rbac: preserve text id

* cloudcommon: caller: preserve text id

* treewide: fix fmt string

* region: guest_actions: preserve text id

* region: guest_actions: fix fmt string

* region: usages: fix fmt string

* mcclient: hosts: remove redundant return value

* cloudcommon: fetch: preserve text id

* region: guest_template: preserve text id

* cloudcommon: db: db_dispatcher: preserve text id

* region: guest_actions: preserve text id

* httperrors: add funcs for wrap lang tag into context

* vendor: golang.org/x/text

* httperrors: error with context

* httperrors: HTTPError

* treewide: fix typo

* treewide: use en in source code

* locales: initial version
2020-08-25 15:26:31 +08:00
屈轩andQu Xuan ca2e8bece3 fix: ignore invalid zone sku for rds sku sync (#7617)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-25 10:31:32 +08:00
Jian QiuandQiu Jian fea4a6b07b fix: oauth2 not support default_project_id and default_role_id (#7622)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-25 09:57:31 +08:00
Jian QiuandQiu Jian 852a3bb13e fix: idp deletel logic cleanup (#7616)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-24 22:19:31 +08:00
Zexi Li 479d7e2be1 Merge pull request #7615 from swordqiu/hotfix/qj-get-default-http-client-always-new-instance
fix: GetDefaultClient always return a new http client instance
2020-08-24 22:17:41 +08:00
wanyaoqi a4b27a3cf3 feature:host image fetcher fs (#7606)
* temp

* fix host image, add fetcherfs

* make mod

* add make rpm for fetcherfs

remove temp code
2020-08-24 22:09:33 +08:00
Jian QiuandQiu Jian 7c3fa87ed6 fix: hide locked cloud policy by default (#7614)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 20:20:30 +08:00
Qiu Jian 3762df8087 fix: GetDefaultClient always return a new http client instance 2020-08-22 20:07:09 +08:00
屈轩andQu Xuan c1a6b2db9f fix: avoid change user name for google (#7613)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 18:36:29 +08:00
Jian QiuandQiu Jian a94f32ed56 fix: limit the length of error message when do idp redirect (#7612)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-22 12:33:36 +08:00
屈轩andQu Xuan 4555b00c35 fix: avoid storage=nil, dis can not delete (#7608)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-22 12:32:29 +08:00
Zexi Li 072e3ca490 Merge pull request #7607 from swordqiu/hotfix/qj-option-turn-off-domain-list
fix: apigateway option to turn off login domain list
2020-08-21 21:26:56 +08:00
Qiu Jian fe0182333d fix: apigateway option to turn off login domain list 2020-08-21 21:18:46 +08:00
屈轩andQu Xuan 5b898bbf6b fix: optimized for cloudid (#7604)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-21 20:50:29 +08:00
lvyangyangandlvyangyang 46683b210b fix:wrap params (#7605)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-21 20:45:23 +08:00
Jian QiuandQiu Jian 777059648b fix: opslog filter by owner_project_ids and owner_domain_ids (#7600)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:57:23 +08:00
Jian QiuandQiu Jian 7bab39daf9 fix: 1. remove Azure OIDC extra user scope 2. yunionauth cookie missing (#7599)
sometimes

Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-21 10:53:17 +08:00
屈轩andQu Xuan a23a94714c fix: member user only can get user & domain resource (#7597)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 20:53:17 +08:00
屈轩andQu Xuan e70fe59bc7 fix: option for metadata path (#7595)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-20 15:00:13 +08:00
wanyaoqi dcf8183c30 alter table guestcdrom_tbl modify column size bigint (#7593) 2020-08-20 13:09:58 +08:00
Zexi Li 8942d19717 Merge pull request #7594 from zexi/feature/climc-helper
climc: add cmd helper to reduce duplicate code
2020-08-20 10:51:02 +08:00
Zexi Li 32e6452add Merge pull request #7579 from swordqiu/feature/qj-cloudid-saml-support-phase1
feature: cloudid saml support phase1 -- framework and api
2020-08-20 10:25:27 +08:00
Zexi Li aa8177f531 climc: add cmd helper to reduce duplicate code 2020-08-19 18:49:02 +08:00
Zexi Li 86253534d7 only notify watched resource (#7592) 2020-08-19 12:52:26 +08:00
Zexi Li cc8c7b64a7 Merge pull request #7591 from ioito/hotfix/qx-cloudid-fix
fix: 修复cloudid用户同步及权限同步
2020-08-19 10:38:02 +08:00
Qu Xuan 8a78c54dc9 fix: 修复cloudid用户同步及权限同步 2020-08-18 20:42:30 +08:00
Zexi Li 918baf111d Merge pull request #7588 from swordqiu/hotfix/qj-dns-record-create-public
fix: dns record create ignore is_public field
2020-08-18 10:51:04 +08:00
Qiu Jian 92f05be309 feature: cloudid saml support phase1 -- framework and api 2020-08-18 01:21:56 +08:00
Qiu Jian 016b65a4b1 fix: dns record create ignore is_public field 2020-08-18 01:06:08 +08:00
屈轩andQu Xuan d5524d1ea1 fix: 支持自定义权限 (#7565)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-17 10:59:53 +08:00
Jian QiuandQiu Jian 2b7586140a feature: do uniqueness check when create/update idp configs (#7584)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-17 10:58:57 +08:00
Rain Zheng 0ab75b52df fix: GetIImages correctly without 'image_cache' dir (#7575)
After creating vms, there is no dir named 'image_cache' exists in
storage of esxi. So handle this case to not affecte the synchronization of the
VMware Template.
2020-08-16 23:45:56 +08:00
Zexi Li ce695849ca Merge pull request #7580 from swordqiu/hotfix/qj-allow-delete-shared-role-policy
fix: allow delete shared role and policy
2020-08-16 23:44:10 +08:00
Yousong Zhou 6dc007425c Bugfix/yousong vpc ext (#7585)
* apis: vpcs_ovn: alloc for interconnects

* vpcagent: names: add vpc ext names

* vpcagent: use var hasXxxgw

* vpcagent: add switch and router for ext access

Link: https://github.com/yunionio/onecloud/issues/7583
2020-08-16 23:40:53 +08:00
Qiu Jian 4a0439da82 fix: allow delete shared role and policy 2020-08-15 20:54:22 +08:00
屈轩andQu Xuan 196d3b3604 fix: aovid duplicate sku name (#7572)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 20:35:49 +08:00
Yousong Zhou e01f0ce2a2 Bugfix/yousong hostman routes (#7563)
* netutils2: SNetInterface: add GetGatewayRoutes

* hostman: use GetGatewayRoutes

* iproute2: route: add and use AddNetlinkRoute

* iproute2: route: List4 use RouteSpec

* netutils2: SNetInterface: rename GetRoutes to getRoutes

* netutils2: SNetInterface: add GetRouteSpecs

* netutils2: SNetInterface: add GetGatewayRouteSpecs

* hostman: hostbridge: SetupRoutes with iproute2.RouteSpec

* hostman: hostinfo: move also other routes

* netutils2: SNetInterface: remove now unused methods

* iproute2: route: RouteGetByDst: use RouteSpec as return value
2020-08-14 20:28:47 +08:00
wanyaoqi 29c0e53849 fix usage not set prefix (#7568) 2020-08-14 17:31:48 +08:00
Jian QiuandQiu Jian cedfd6410e fix: init wire domain_id for local vpc (#7566)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 17:30:49 +08:00
Zexi Li 6a57435f1c fix: json TAG_PREFIX invalid syntax (#7564) 2020-08-14 17:29:49 +08:00
屈轩andQu Xuan 7cd419f78e fix: avoid virtual resource project id is empty when cloudaccount with no project (#7560)
Co-authored-by: Qu Xuan <quxuan@yunionyun.com>
2020-08-14 10:38:50 +08:00
Rain Zheng 098b4e5b55 fix: Merge the host network correctly when preparenet (#7557) 2020-08-14 10:36:52 +08:00
Jian QiuandQiu Jian b898455840 fix: network port count stat recode (#7554)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-14 10:34:46 +08:00
lvyangyangandlvyangyang eb56fcf7bc add: openstack loadbalancer (#7497)
Co-authored-by: lvyangyang <lvyangyang@yunion.cn>
2020-08-14 10:29:50 +08:00
Zexi Li 7a08a60dbd scheduler: refactor network predicate (#7553) 2020-08-13 17:56:47 +08:00
Zexi Li 95130f8ef0 region: validate network auto alloc update data (#7559) 2020-08-13 17:55:45 +08:00
Jian QiuandQiu Jian 320d7cabcd fix: user with sso idp fail to login with password (#7552)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-13 11:24:46 +08:00
Jian QiuandQiu Jian a02611db12 fix: oidc auth callback url not complete (#7545)
Co-authored-by: Qiu Jian <qiujian@yunionyun.com>
2020-08-11 19:56:45 +08:00