Commit Graph
350 Commits
Author SHA1 Message Date
Qiu Jian cd809f1a24 fix: server-disk-list failed on wrong field name 2019-06-03 17:19:27 +08:00
Jian Qiu 72c13b8e39 3level priviliges bufixes 20190603 (#1036) 2019-06-03 12:30:58 +08:00
Jian Qiu 81b9cac556 fix: misc 3level priviliges bugfixes (#1026)
* fix: misc 3level priviliges bugfixes

* misc bugfixes

* misc bugfixes
2019-06-02 08:05:11 +08:00
Jian Qiu bff3ba9b16 fix: keystone fernet setup bugs and other bugs (#1022) 2019-06-01 17:31:20 +08:00
Qiu Jian b8e6598ac6 fix: add keystone initialization procedures 2019-05-31 14:01:41 +08:00
Qiu Jian 9d3cce46a8 feature: keystone support phase 1 2019-05-31 14:00:58 +08:00
Qiu Jian d8e492ee5a misc fixes 2019-05-31 13:56:02 +08:00
Qiu Jian b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
Qiu Jian afabf0396f fix: add keystone initialization procedures 2019-05-31 13:52:12 +08:00
Qiu Jian 93e9d9a34b feature: keystone support phase 1 2019-05-31 13:52:12 +08:00
yunion-ci-robot ee63faa237 Merge pull request #934 from wanyaoqi/bugfix/wyq/import-from-libvirt
一些bug修复
2019-05-28 12:00:19 +08:00
wanyaoqi 3146d4575f bugfix:
- fix import from libvirt
- fix server deploy
- fix guest migrate
- golang host bugfix
2019-05-27 18:59:31 +08:00
yunion-ci-robot 7b917b248d Merge pull request #881 from wanyaoqi/feature/wyq/snapshot-policy
feature: snapshot policy
2019-05-25 17:33:17 +08:00
wanyaoqi 9722654ff4 misc fix:
- fix undeploy backup guest
- fix host service cron job
- task add recover
2019-05-23 18:35:59 +08:00
wanyaoqi 52b2699615 snapshot policy 2019-05-22 17:16:16 +08:00
Qiu Jian dd13a991c0 fix: misc bug fixes. add usage and event log API 2019-05-17 13:54:29 +08:00
Qiu Jian 2efc5e641e fix: add keystone initialization procedures 2019-05-17 13:54:29 +08:00
Qiu Jian 5a660987e6 feature: keystone support phase 1 2019-05-17 13:53:45 +08:00
yunion-ci-robot 7f9848b1d9 Merge pull request #746 from wanyaoqi/feature/wyq/image-do-probe-on-upload
featrue: Image probe info on upload
2019-05-16 17:34:34 +08:00
ioito 5263a4dee5 避免使用错误方法损坏id 2019-05-15 14:16:18 +08:00
wanyaoqi f4dd38a0f3 fix guest delele backup log event 2019-05-13 11:08:41 +08:00
wanyaoqi 1ee81d46cc fix go vet report bugs 2019-05-09 11:53:29 +08:00
wanyaoqi 1f1a23acae optimize image upload and probe 2019-05-08 17:06:27 +08:00
Qiu Jian 60da720447 fix: FetchModelExtraCountProperties find empty method name 2019-05-06 20:12:30 +08:00
Qiu Jian a1c0099f58 fix: 1. network interface for prepaid-recycle VM incorrect
2. aliyun not support import image of RHEL
2019-04-25 08:47:45 +08:00
Qiu Jian a95c0bac62 update query.Count to query.CountWithError 2019-04-23 12:02:35 +08:00
Qiu Jian 29c1fd3855 fix: clearn up codes that impacted by query.Count return value changes 2019-04-23 11:32:16 +08:00
Qiu Jian d6956095f8 fix: delete servers that has been removed results in delete_failed
status
2019-04-21 00:01:51 +08:00
Qiu Jian ffbb7e362b fix: cloud account/provider missing event logs for
delete/enable/disable/change_project
2019-04-20 17:05:29 +08:00
ioito 74fdcd97b7 避免标签为空时,未返回{data:[]}结构 2019-04-19 11:21:47 +08:00
yunion-ci-robot 85b1ccd2cb Merge pull request #452 from ioito/hotfix/qx-metadata-list
兼容标签返回结构
2019-04-18 13:55:10 +08:00
ioito ebf53fad26 兼容标签返回结构 2019-04-18 11:20:12 +08:00
yunion-ci-robot 85b41c0dc1 Merge pull request #457 from yousong/bugfix/yousong-enhance-db-tasks
Bugfix/yousong enhance db tasks
2019-04-18 10:57:10 +08:00
Yousong Zhou 3b2677acd1 tasks: 改善查询语句
- 索引简化,obj_id的区分度非常高,且在QueryTasksOfObject()等相关的查询中是确定出现的
   - obj_name可认为被obj_id唯一确定
   - created_at若出现可假设被MySQL Index Merge优化
   - stage的值是可枚举的
 - Join taskobjects_tbl时,避免使用子查询查全表
 - 使用Union合并两个查询结果
2019-04-17 14:58:50 +00:00
yunion-ci-robot 2b6d188d9d Merge pull request #423 from Zexi/bugfix/add-status-api
fix: region statusstandalone resource get status api missing
2019-04-17 22:25:11 +08:00
Zexi c724a216a3 fix: region statusstandalone resource get status api missing 2019-04-17 21:08:38 +08:00
Zexi 869b249374 hide some server metadata 2019-04-17 14:28:24 +08:00
ioito e3800c8ffc 添加返回distinct标签 2019-04-17 10:22:50 +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
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
屈轩 2583b4ed83 避免续费时未刷新虚拟机状态 2019-03-29 18:36:43 +08:00