邱剑
|
293a43ee27
|
Merge pull request #653 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-baremetal-api to release/2.4.0
* commit '5dceb2685ca3a3c078f303ad8328c90ca43d6c8b':
region: fix host enable not clean sched cache
fix BaremetalSyncAllGuestsStatusTask
region: baremetal api compatible
region: baremetal api compatible
|
2018-12-04 20:44:43 +08:00 |
|
Zexi Li
|
5dceb2685c
|
region: fix host enable not clean sched cache
|
2018-12-04 18:52:17 +08:00 |
|
李泽玺
|
3f3f1701c2
|
Merge pull request #1 in ~LIZEXI/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/fix-BaremetalSyncAllGuestsStatusTask to bugfix/lzx-baremetal-api
* commit 'ea81fa26dbcb56eefe131387b2fab8c3b731029d':
fix BaremetalSyncAllGuestsStatusTask
region: baremetal api compatible
|
2018-12-04 18:09:07 +08:00 |
|
Yousong Zhou
|
5a092d203c
|
db_dispatcher: 移除对listFields的调试日志
|
2018-12-03 13:44:46 +00:00 |
|
Yousong Zhou
|
273f26848b
|
cloudcommon: models: 注册modelMan时检查crud tag值
|
2018-12-03 13:44:46 +00:00 |
|
Yousong Zhou
|
801eabbe83
|
policy: 同步时日志调整
|
2018-12-03 13:44:45 +00:00 |
|
Zexi Li
|
1b3d33986b
|
region: baremetal api compatible
|
2018-12-03 20:04:30 +08:00 |
|
Zexi Li
|
22050bca71
|
region: baremetal api compatible
|
2018-12-03 18:51:06 +08:00 |
|
Qiu Jian
|
b3d8936a80
|
Merge branch 'release/2.3.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-2.4.0-20181203-1
Conflicts:
Gopkg.lock
|
2018-12-03 15:08:03 +08:00 |
|
Qiu Jian
|
c292a1e311
|
Merge branch 'release/2.3.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-resolve-conflict-2.4.0-20181203
Conflicts:
pkg/compute/models/storages.go
|
2018-12-03 07:18:27 +08:00 |
|
Qiu Jian
|
94fcb7a400
|
修正:SPolicyCredential导致task失败
|
2018-12-03 07:14:43 +08:00 |
|
wanyaoqi
|
ecc750107b
|
fix conflict
|
2018-12-01 16:18:11 +08:00 |
|
TangBin
|
a543901e2f
|
yunionconfig build error fix
|
2018-12-01 14:52:01 +08:00 |
|
Qiu Jian
|
e42f1a7744
|
recode
|
2018-12-01 12:05:41 +08:00 |
|
Qiu Jian
|
b4fcb63b64
|
Remove SInfrastructureManager & SInfrasture
|
2018-12-01 01:05:13 +08:00 |
|
Qiu Jian
|
334f3605ba
|
minor fixes
|
2018-12-01 00:42:29 +08:00 |
|
Qiu Jian
|
bc02b3b433
|
1.
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
|
2018-11-30 23:00:11 +08:00 |
|
邱剑
|
5d3006c971
|
Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'b4150df337286fbfa40597d7247a8e9b594f152c':
修正rbac,非管理模式下权限有deny, owner, user, guest四个级别,管理模式下,有deny, allow两个级别。只有非管理模式下,才会应用缺省的权限设置。
|
2018-11-30 13:56:01 +08:00 |
|
Qiu Jian
|
2f22ebe0a8
|
修正rbac,非管理模式下权限有deny, owner, user,
guest四个级别,管理模式下,有deny,
allow两个级别。只有非管理模式下,才会应用缺省的权限设置。
|
2018-11-29 23:13:53 +08:00 |
|
Yousong Zhou
|
49382934e5
|
treewide: 保留httperrors的格式
|
2018-11-28 07:33:22 +00:00 |
|
Yousong Zhou
|
151da754d3
|
dispatchers: 使用httperrors.NewResourceNotFoundError2()
|
2018-11-28 07:26:15 +00:00 |
|
邱剑
|
091adfee46
|
Merge pull request #567 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-esxi-support-complete to release/2.4.0
* commit 'aaaba6002fb2773d7e05f2353abad494addb3c18':
fix aliyun fail to attach disk after create disk
minor fixes
update vendor
fix aliyun error code handling changes, use error message string to check message type
修正:1. host request double token 2. cloud provider lost access url
backport remove sysutils
update vendor
remote sysutils
esxi support
temp commit
|
2018-11-27 18:07:52 +08:00 |
|
邱剑
|
4b526fb9ab
|
Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'd3d1c78a8d4b3d5262907a81e960d6cb645fe7ac':
增加 quotas 和 usages 的缺省权限
|
2018-11-27 15:10:36 +08:00 |
|
Qiu Jian
|
16f06ff081
|
增加 quotas 和 usages 的缺省权限
|
2018-11-27 15:04:18 +08:00 |
|
Qiu Jian
|
a964836953
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-esxi-support-complete
|
2018-11-26 15:04:27 +08:00 |
|
邱剑
|
00e001d981
|
Merge pull request #471 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/guest-disks-backup to release/2.4.0
* commit 'e64b71818b9f32f49ece1accce7adf011d12a4e1':
region: support create backup guest; scheduler: support backup guest schedule
|
2018-11-26 13:45:08 +08:00 |
|
Qiu Jian
|
855c115b45
|
为yunonagent的通知增加缺省策略,避免前端报权限不足错误
|
2018-11-26 01:53:59 +08:00 |
|
Qiu Jian
|
dcbc3daf49
|
Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-esxi-support-complete
|
2018-11-25 08:27:09 +08:00 |
|
Qiu Jian
|
94c49ded2e
|
esxi support
|
2018-11-25 08:21:24 +08:00 |
|
邱剑
|
be38bf62f3
|
Automatic merge from release/2.0.0 -> release/2.1.0
* commit 'b70be6be0f4007fea7b93b039c77d37a6e6f6208':
避免localtask failed时error一直是Task failed due to unknown remote errors
|
2018-11-23 20:22:07 +08:00 |
|
邱剑
|
c8bc4c0598
|
Automatic merge from release/2.1.0 -> release/2.2.0
* commit 'be38bf62f3bb8444948a1fdbc267553fc884a8e1':
避免localtask failed时error一直是Task failed due to unknown remote errors
|
2018-11-23 20:22:07 +08:00 |
|
邱剑
|
a087c33c88
|
Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'c8bc4c0598bb35f4c26245ebd503428f5a72a1e4':
避免localtask failed时error一直是Task failed due to unknown remote errors
|
2018-11-23 20:22:07 +08:00 |
|
屈轩
|
58962cf2d2
|
避免localtask failed时error一直是Task failed due to unknown remote errors
|
2018-11-23 19:07:20 +08:00 |
|
Qiu Jian
|
46b67e9dc9
|
minor updates
|
2018-11-23 15:03:22 +08:00 |
|
Qiu Jian
|
f2522b980c
|
1. resize opslog notes to VARCHAR(2048) 2. cloudaccount sync status
check
|
2018-11-23 09:48:50 +08:00 |
|
邱剑
|
6b2d42d7b9
|
Automatic merge from release/2.2.0 -> release/2.3.0
* commit '5f79b66ced502b82c999a0437e3fa1db3f196f59':
改为补一条START日志
Change workermanager backlog to 1024
remove old log
修正:在同步完vm的网络和磁盘信息后,再记录同步的日志
|
2018-11-23 02:05:09 +08:00 |
|
Qiu Jian
|
7d80c3f250
|
Change workermanager backlog to 1024
|
2018-11-23 01:53:29 +08:00 |
|
邱剑
|
5728539c97
|
Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'e015b4cbd03e9f4cdb50ed793fb55791619eb2d9':
避免没有objs时数组访问越界
|
2018-11-22 22:07:31 +08:00 |
|
邱剑
|
e015b4cbd0
|
Automatic merge from release/2.1.0 -> release/2.2.0
* commit '34da543c4652dc37e13aad2d7d6081ce76c4f333':
避免没有objs时数组访问越界
|
2018-11-22 22:07:31 +08:00 |
|
邱剑
|
34da543c46
|
Automatic merge from release/2.0.0 -> release/2.1.0
* commit 'b5f4c472054d720858e12b9108455545fdae5749':
避免没有objs时数组访问越界
|
2018-11-22 22:07:30 +08:00 |
|
屈轩
|
e4b771cb82
|
避免没有objs时数组访问越界
|
2018-11-22 22:02:11 +08:00 |
|
Qiu Jian
|
2ed294eaa8
|
RBAC返回值同时携带资源信息
|
2018-11-22 12:02:21 +08:00 |
|
wanyaoqi
|
e64b71818b
|
region: support create backup guest;
scheduler: support backup guest schedule
|
2018-11-20 21:29:43 +08:00 |
|
Qiu Jian
|
f1b9ea55e7
|
修正:前端check compute servers perform start权限报out of index错误
|
2018-11-20 17:35:58 +08:00 |
|
Yousong Zhou
|
751525d779
|
validators: add newInvalidStructError()
To retain fmt and parameter information
{"class":"InputParameterError","code":400,"data":{"fields":["acl_entries","192.168.0.256"],"id":"Invalid value error: invalid %q: invalid addr %s"},"details":"Invalid value error: invalid \"acl_entries\": invalid addr 192.168.0.256"}
{"class":"InputParameterError","code":400,"data":{"fields":[],"id":"invalid \"acl_entries\": invalid addr 192.168.0.256"},"details":"invalid \"acl_entries\": invalid addr 192.168.0.256"}
|
2018-11-19 10:54:17 +00:00 |
|
Yousong Zhou
|
f9ac0c0204
|
validators: errors: retain msg fmt and params
|
2018-11-19 10:54:17 +00:00 |
|
Qiu Jian
|
4034ee517e
|
make fmt
|
2018-11-16 01:43:01 +08:00 |
|
Qiu Jian
|
c434cd5669
|
make rbac default enabled
|
2018-11-16 01:33:18 +08:00 |
|
Qiu Jian
|
2734d2f5db
|
增加user/guest两个权利等级
|
2018-11-16 01:32:01 +08:00 |
|
Qiu Jian
|
ca0e3977c7
|
minor fixes
|
2018-11-15 23:41:04 +08:00 |
|