Commit Graph
79 Commits
Author SHA1 Message Date
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
Zexi Li 34ddb8ea4b add https://github.com/stretchr/testify to vendor for unit tests (#367) 2019-04-13 10:59:09 +08:00
Zexi Li 6e67c0a745 region: enhance server clone releated apis (#270) 2019-04-08 22:05:33 +08:00
wanyaoqi a22ad1ebc8 implement hijacker (#226) 2019-04-04 16:04:21 +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
Qiu Jian 004d9b6f95 update copyright headers of all source 2019-03-29 14:47:48 +08:00
wanyaoqi b67eb79797 fix cpu set 2019-03-15 12:20:30 +08:00
Yousong Zhou 4c82dae39b Merge remote-tracking branch 'origin/release/2.6.0' into bugfix/yousong-goimports-270 2019-03-13 13:33:51 +00:00
Yousong Zhou 8fe4f2ec98 treewide: group imports with goimports
./goimports -w -local yunion.io/x/onecloud/ -corp yunion.io/x/ $GOPATH/src/yunion.io/x/onecloud/{cmd,pkg}
2019-03-13 10:46:12 +00:00
wanyaoqi 314d99d2b4 fix metadata port, appsrv add check quitHandlerRegisted 2019-02-28 21:15:45 +08:00
wanyaoqi c7b29175da fix radix tree 2019-02-27 21:30:04 +08:00
wanyaoqi 485d6fc290 fix radix tree 2019-02-27 21:07:55 +08:00
wanyaoqi 39c0ac797b add host metadat, radix minor fix 2019-02-27 12:17:37 +08:00
wanyaoqi 40dbc8d478 recode radix tree 2019-02-27 12:16:41 +08:00
邱剑 a4ce38c4fe Merge pull request #1013 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-image-p2p-distribution to release/2.6.0
* commit '4c6f196ec541d1b8c8e2d79ea69c7bd7f9fcf1a6':
  temp commit
  minor updates
  torrent recode
2019-02-18 23:03:55 +08:00
Qiu Jian 066d155a16 fix: logger did not record start time of events 2019-02-16 13:47:18 +08:00
Qiu Jian 4c6f196ec5 Merge branch 'release/2.6.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-image-p2p-distribution
Conflicts:
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/policy/defaults.go
	pkg/util/sysutils/sysutils.go
2019-02-15 22:46:01 +08:00
wanyaoqi b210add54d fs driver fix 2019-02-14 10:23:10 +08:00
Qiu Jian 0e3f2e160c temp commit 2019-01-30 21:06:48 +08:00
wanyaoqi f91f33d696 fix code 2019-01-26 15:55:48 +08:00
wanyaoqi e8306bf602 fix code 2019-01-26 15:51:15 +08:00
wanyaoqi 0865d53297 temp 2019-01-18 18:02:00 +08:00
wanyaoqi ae6430bd04 use procutils replace exec 2019-01-17 10:46:53 +08:00
wanyaoqi 837502a068 20181204-20181205 2019-01-07 17:03:31 +08:00
Qiu Jian cd3f46871a minor fixes 2018-12-27 00:05:57 +08:00
Qiu Jian 2e587bd6ab glance重构 update 1
Conflicts:
	Gopkg.lock
	pkg/appsrv/appsrv.go
	pkg/cloudcommon/options.go
	pkg/compute/models/hosts.go
	pkg/compute/models/quotas.go
	pkg/compute/service/service.go
	pkg/mcclient/mcclient.go
2018-12-26 22:52:13 +08:00
Qiu Jian c70201b177 temp commit
Conflicts:
	Gopkg.lock
	Gopkg.toml
	vendor/yunion.io/x/pkg/util/sysutils/storagetypes.go
	vendor/yunion.io/x/structarg/structarg.go
2018-12-26 22:44:03 +08:00
Yousong Zhou ae40f39d32 appsrv: FetchStruct(): 使用jsonutils 2018-12-23 15:26:50 +00:00
邱剑 2eec38953c Automatic merge from release/2.3.0 -> release/2.4.0
* commit '522697390818755e32964021e44bff63e752b8ee':
  修正worker状态信息
2018-12-22 17:07:59 +08:00
邱剑 5226973908 Automatic merge from release/2.2.0 -> release/2.3.0
* commit '51971ebb318a750d1f2cb1fb3522dd57576d9312':
  修正worker状态信息
2018-12-22 17:07:59 +08:00
屈轩 e768369181 修正worker状态信息 2018-12-22 17:05:37 +08:00
Qiu Jian a6b865e7a2 修正:1. sql.Rows使用后未关闭,导致占用db链接 2.
服务启动后,调用AppDBInit方法设置db连接池上限,避免耗尽mysql连接
3.
app和workmanager增加db属性,用来标示该worker和app是否使用数据库,从而估计需要设置的数据库连接的上限
2018-12-21 17:10:34 +08:00
Yousong Zhou dfbd27fd3a appsrv: remove debug code 2018-12-19 13:15:59 +00:00
Yousong Zhou a71d0518f4 appsrv: use copy() for copying slice 2018-12-19 13:15:59 +00:00
Yousong Zhou 27c9770017 appsrv: rewrite TestRadixMatchParams() 2018-12-19 13:15:59 +00:00
Yousong Zhou e7c6b8e7a5 appsrv: fix TestWorkerManagerError() 2018-12-19 13:15:59 +00:00
Yousong Zhou 5f2fb92caf appsrv: fix fmt verb
Warningf format %] has unknown verb ]
2018-12-19 13:15:59 +00:00
Yousong Zhou e6a6a9353b appsrv: use RWMutex for rootLock 2018-12-19 13:15:59 +00:00
邱剑 90b250c2da Merge pull request #717 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/server-create-disk-by-snapshot to release/2.4.0
* commit 'ad2de3384697067d40a68e06e7870c2a9e9612b3':
  fix code
  add snapshot reference count, fix code
  server create disk by snapshot, mount snapshot by fusefs
2018-12-12 21:15:19 +08:00
Qiu Jian a5dfe342a1 将host resource type设置为create_optional,且default为shared 2018-12-12 11:59:31 +08:00
wanyaoqi 86b3b38f41 add snapshot reference count, fix code 2018-12-11 20:48:46 +08:00
wanyaoqi 6a6806e65b server create disk by snapshot, mount snapshot by fusefs 2018-12-11 20:46:36 +08:00
邱剑 dcb4f12700 Merge pull request #712 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-app-params-turnoff-log-for-specific-action to release/2.4.0
* commit 'd8e35fb11a3d12f18484d8694fe9cdca93edf926':
  context中增加SAppParams参数,允许在Modal的方法里访问http请求参数,也能控制是否日志和trace
2018-12-11 11:00:51 +08:00
Qiu Jian d8e35fb11a context中增加SAppParams参数,允许在Modal的方法里访问http请求参数,也能控制是否日志和trace 2018-12-10 23:39:30 +08:00
Qiu Jian fc925e38ce Merge branch 'release/2.4.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-policy-cache 2018-12-10 15:36:18 +08:00
Qiu Jian da1efdaabf 增加policy缓存,降低日志量和计算量 2018-12-10 15:35:15 +08:00
Qiu Jian 965e84ea36 update 2018-12-07 02:57:58 +08:00
Yousong Zhou 3386c0f59e appsrv: workers: 移除调试用日志 2018-12-03 13:44:46 +00:00