Commit Graph
541 Commits
Author SHA1 Message Date
Qiu Jian 5e4ac465d5 remove comments 2019-04-17 09:29:58 +08:00
Qiu Jian 037d37d0e3 fix: pkg/cloudcommon/policy/ go test failure 2019-04-17 09:29:58 +08:00
Zexi db0e303798 make 'go test ./...' pass 2019-04-15 19:54:46 +08:00
屈轩 bf7a6a2b30 移除重复代码 (#359) 2019-04-12 16:58:08 +08:00
屈轩 6a5dbbf237 增加判断subtask准确度 (#352) 2019-04-12 14:59:09 +08:00
Jian Qiu 0c9fcb2ba4 fix: fail to fetch private image as admin role (#334) 2019-04-11 13:46:08 +08:00
屈轩 dd7f7c9bf9 避免guest状态出现中间ready的情况 (#296) 2019-04-10 11:20:08 +08:00
Jian Qiu 826ddd2af4 Hotfix/qj cloud account provider enable status (#283)
* fix: make cloud account&provider enable status more consistent

* comment out FetchCustomizeColumns debug info

* fix: cloud account periodic probe should not relay on enabled status

* misc bug fixes
2019-04-09 22:12:10 +08:00
Zexi Li 1da81c57f8 fix: scheduler input incompatibility (#271) 2019-04-08 20:19:32 +08:00
wanyaoqi 0623419b6a action log send to ws service (#224) 2019-04-04 20:39:30 +08:00
Jian Qiu 316335267a improve server-list performance (#193)
* improve server-list performance

FetchCustomizeColumns that fetch extra fields for all rows 3. separate
read and write http request session

* update vendor

* update: optimize multi-column indexes
2019-04-03 20:24:28 +08:00
wanyaoqi f0810bbe88 guest import from libvirt (#11)
* import servers from libvirt

* dep add libvirt-go-xml

* fix code

* fix code
2019-04-01 23:07:41 +08:00
Jian Qiu 0a0a44b48d fix: anonymous user may have admin priviliges (#124) 2019-03-31 15:24:41 +08:00
Qiu Jian 2519ef5551 fix: ni usercred cause rbac check panic 2019-03-29 22:08:26 +08:00
Qiu Jian fefdb706f3 fix: the default policy for actions not matching any rule defaults to allow 2019-03-29 20:45:38 +08:00
屈轩 2583b4ed83 避免续费时未刷新虚拟机状态 2019-03-29 18:36:43 +08:00
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
Qiu Jian 8ef19141a2 add more optimization 2019-03-29 00:42:23 +08:00
Zhang Dongliang a5774f4fd1 删除底层的 action log 2019-03-28 22:32:40 +08:00
Qiu Jian c969de28cb fix: sync project may sync empty project ID 2019-03-25 19:53:28 +08:00
李泽玺 29ff559f9d Merge pull request #1319 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-shcedtag-policy to release/2.8.0
* commit '3ba6d4186cb9b69fec7e7c978cc3483d66768bea':
  dynamic schedule support resource type
2019-03-25 11:18:11 +08:00
Zexi Li 3ba6d4186c dynamic schedule support resource type 2019-03-23 19:31:28 +08:00
李泽玺 f2a4181f0e Merge pull request #1317 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-metadata-log-duplicate to release/2.8.0
* commit '05196aacaa3d9a57d27dae994a57b145a2bcbbc2':
  metadata日志:避免对比更新后的value
2019-03-23 15:52:17 +08:00
屈轩 05196aacaa metadata日志:避免对比更新后的value 2019-03-23 15:13:55 +08:00
Zexi Li 4a9477b9d7 resolve conflict 2019-03-22 15:59:42 +08:00
屈轩 56f8d57428 添加普通用户查看metadata权限 2019-03-22 11:54:33 +08:00
屈轩 4ee31813b4 避免mysql _ 是特殊字符问题 2019-03-22 11:35:41 +08:00
Zexi Li 18db5cbc32 fix: ServerCreateInput keypair and secgroup wrong json tag 2019-03-22 09:20:39 +08:00
邱剑 d573c041ef Merge pull request #1289 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-metadata-fix to release/2.8.0
* commit '6eacd8196c26239a6c53a6192d19f4138edb17cb':
  不截断系统metadata key
2019-03-21 18:37:47 +08:00
屈轩 6eacd8196c 不截断系统metadata key 2019-03-21 17:09:50 +08:00
邱剑 2310be389b Automatic merge from release/2.7.0 -> release/2.8.0
* commit '430df17dd3cefe0f25328ce69bf8d8b0d0e95253':
  fix: SyncOnce should invalidate policy cache
  fix: refine policy match conditions
  minor updates
  fix: simplify rbac policy condition to match projects and roles
2019-03-21 11:31:11 +08:00
邱剑 430df17dd3 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '07304221c0e4f4fa1f75438d24a8feece7202c9f':
  fix: SyncOnce should invalidate policy cache
  fix: refine policy match conditions
  minor updates
  fix: simplify rbac policy condition to match projects and roles
2019-03-21 11:31:11 +08:00
Qiu Jian 78faed91a4 fix: SyncOnce should invalidate policy cache 2019-03-21 11:29:30 +08:00
Qiu Jian 9d966e9959 minor updates 2019-03-21 01:06:33 +08:00
Qiu Jian 06ae94ebe3 fix: simplify rbac policy condition to match projects and roles 2019-03-21 01:03:51 +08:00
Zexi Li 1ed92bd176 fix: gpu server not work 2019-03-20 20:07:43 +08:00
邱剑 e211643333 Automatic merge from release/2.7.0 -> release/2.8.0
* commit '648875e7b7319dcb9e9a4d1ee6c65fe83a071c05':
  fix: make virtual interface pointer more general
  fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent
2019-03-20 15:10:41 +08:00
邱剑 648875e7b7 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '4213db3eb605217796850dd42a266dd0372a7e85':
  fix: make virtual interface pointer more general
  fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent
2019-03-20 15:10:41 +08:00
Zexi Li 076ad985cc move consts to apis 2019-03-20 12:08:15 +08:00
Zexi Li 6df6880501 define scheduler apis output and input structs 2019-03-20 12:03:29 +08:00
Qiu Jian 2c022cd0ef fix: make virtual interface pointer more general 2019-03-19 20:18:48 +08:00
邱剑 116067b02a Merge pull request #1223 in YUNIONIO/onecloud from ~QUXUAN/onecloud:feature/qx-tag to release/2.8.0
* commit '43daa1ceb420d8b6176e92ee7c023d51c9c8e962':
  用户自定义标签加前缀user:
  同步公有云key加上前缀
  限制key必须是中英文、数字或者_
  允许只传key进行过滤
  取消key以_开头key限制
  metadata返回列表使用复数
  支持server disk 过滤
  支持标签
2019-03-19 15:59:46 +08:00
Qiu Jian 090984f9d2 fix: 1. abstract baseagent, 2. extend baseagent to baremetalagent 2019-03-19 12:28:21 +08:00
屈轩 43daa1ceb4 用户自定义标签加前缀user: 2019-03-19 11:26:33 +08:00
邱剑 ef058a61f1 Automatic merge from release/2.7.0 -> release/2.8.0
* commit '65a8a7bd82a30cd51b3ca17e6100bae75ea76393':
  默认创建的project_src为local
2019-03-18 20:55:32 +08:00
屈轩 4b6ddfc3cf 默认创建的project_src为local 2019-03-18 20:13:53 +08:00
wanyaoqi 53ece34f3b merge const pkg from cloudcommon to compute 2019-03-17 11:21:17 +08:00
屈轩 ee62f5d153 限制key必须是中英文、数字或者_ 2019-03-15 14:06:04 +08:00
wanyaoqi e0ee2b8c59 fix package dependence 2019-03-15 11:45:56 +08:00
Qiu Jian a9bbdddc15 fix: qcloud startVM do not retry implicitly 2019-03-14 16:51:34 +08:00