Commit Graph
55 Commits
Author SHA1 Message Date
Qiu Jian c6627b8535 fix: avoid duplicate image uploading if multiple identical instances
created at same time
2019-08-18 23:08:28 +08:00
Qiu Jian b54d1a5978 fix: image add is_standard field, filter by is_standard=false|true 2019-07-19 15:06:46 +08:00
ioito 3423557ac1 fix invalid memory address or nil pointer error 2019-06-19 16:51:36 +08:00
ioito 5e6a7f856f choice valid storage for storagecache 2019-06-16 19:01:30 +08:00
Qiu Jian a6207a8ac7 hotfix: support scope list filter, resolve filter conflict 2019-06-04 23:27:55 +08:00
Qiu Jian b7027934db feature: 3-level policies, system/domain/project 2019-05-31 13:56:02 +08:00
ioito 710a2f205b 避免climc使用公有云镜像时未设置prefix region导致虚拟机创建失败 2019-05-20 22:34:48 +08:00
ioito 4058e05323 保持公有云镜像名称和本地镜像名称相同 2019-05-18 20:02:15 +08:00
ioito ca4d0db0fc 移除多余的方法 2019-05-09 18:18:41 +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 da57161fd0 fix: move all consts in compute/models to apis/compute 2019-04-17 09:23:19 +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
周有松 a97e2faea8 Automatic merge from release/2.6.0 -> release/2.7.0
* commit '84d91f281103767b964a6b09aeba85c854a59c5e':
  修正一些错误信息描述
2019-03-07 16:57:59 +08:00
屈轩 58ee33c3f0 修正一些错误信息描述 2019-03-07 16:48:15 +08:00
Qiu Jian 62ebc90f2a feature: allow auto sychrnoization of cloud account 2019-03-04 01:09:34 +08:00
邱剑 0edeb53d28 update models with db.Update interface 2019-02-22 12:06:13 +08:00
邱剑 c97fd82409 Merge pull request #973 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-fix-aws-image-fetch-info to release/2.6.0
* commit '878bc69358620916304e5c28d6b15d7c20d88756':
  minor updates
  改进:对Aws系统镜像分类处理
2019-01-26 20:10:17 +08:00
邱剑 2031d63401 Merge pull request #963 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:feature/qj-server-create-with-eip to release/2.6.0
* commit '4c422533236babb6ebad3b8083d5cebd67d0092f':
  fix eip-dissociate cmd options
  改进:1. 创建主机时可以绑定指定eip,或者新建eip并且绑定。2. 取消绑定eip时候可以自动删除eip
2019-01-25 14:53:38 +08:00
Qiu Jian 96b81f40c1 改进:对Aws系统镜像分类处理 2019-01-25 12:34:07 +08:00
Qiu Jian c9a6bfa9e0 改进:1. 创建主机时可以绑定指定eip,或者新建eip并且绑定。2.
取消绑定eip时候可以自动删除eip
2019-01-23 12:26:48 +08:00
TangBin d0bb6a894d merge release/2.6.0 2019-01-23 11:14:39 +08:00
Qiu Jian beb2ac66b5 增加:1. 将公有云标准镜像同步到本地 2. 可以从公有云标准镜像创建主机 3.
在公有云缓存镜像时遵守公有云镜像的配额
2019-01-21 09:21:02 +08:00
唐斌 919f164f95 huawei support stage 2 2019-01-19 17:58:00 +08:00
Qiu Jian e5aa26f0af 修正:1. storagecache.CacheImage接口需要指定format 2.
PerformAction默认返回ActionNotFound Error
2019-01-04 17:36:54 +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 e1832849de 修正: 1. 阿里云client空指针错误,通过wrapper隐藏 2. clean storage
cached image处理异常情况 3. server purge不能purge带eip的主机
2018-12-24 20:13:05 +08:00
Qiu Jian 46aaba2474 make fmt 2018-12-12 23:24:34 +08:00
邱剑 ef5fe200cd Automatic merge from release/2.3.0 -> release/2.4.0
* commit 'e11aa75a45e2ccb1ef8299db5de7c15337ca9654':
  normalize镜像版本
2018-12-05 12:24:54 +08:00
屈轩 653ab7b414 normalize镜像版本 2018-12-05 12:06:49 +08:00
邱剑 b9a931d015 Merge pull request #634 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/resolve-conflict-20181201 to release/2.4.0
* commit 'ecc750107b4f25c738ad8f15fa9ab615e9cc36de':
  remove inframanager.go
  recode
  allow zone_id empty for hosts
  Remove SInfrastructureManager & SInfrasture
  minor fixes
  fix userCred.IsSystemAdmin() for set/del extra option
  1. 取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred 2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-12-03 07:13:48 +08:00
wanyaoqi ecc750107b fix conflict 2018-12-01 16:18:11 +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 bc02b3b433 1.
取消userCred.IsSystemAdmin(),在使用policy的应用中,通过userCred.IsAdminAllow判断是否是管理员且具备相应的权限。获取token时,需要传入policy.FilterPolicyCredential,将普通userCred转换成支持rbac的userCred
2. 在应用启动时候,必须设置 SetServiceType,否则退出
2018-11-30 23:00:11 +08:00
wanyaoqi b241961dc0 fix release/2.4.0 bugs 2018-11-30 17:13:30 +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
wanyaoqi 9c52c999a1 support nfs storage 2018-11-26 13:49:32 +08:00
Qiu Jian 94c49ded2e esxi support 2018-11-25 08:21:24 +08:00
邱剑 affeb6b1bc Automatic merge from release/2.2.0 -> release/2.3.0
* commit 'dec5b9c1a95372a2079cad8a4264c51c783557f6':
  修正:删除guest时候没有正确清理eip的数据
  allow snapshot-list --manager <cloud-provider-id-or-name>
  修正:补充2.2.0 purge eip/snapshot接口
2018-10-22 17:10:56 +08:00
邱剑 fe206bf3eb Merge pull request #334 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-allow-purge-eip-snapshot to master
* commit '2adec7a7926fea8ebf0a4531cb73608f989ed88b':
  修正:删除guest时候没有正确清理eip的数据
  allow snapshot-list --manager <cloud-provider-id-or-name>
  修正:补充2.2.0 purge eip/snapshot接口
2018-10-22 17:05:36 +08:00
Qiu Jian 2adec7a792 修正:删除guest时候没有正确清理eip的数据 2018-10-22 15:21:42 +08:00
Qiu Jian 0b17fe3547 增加keystone policy资源,格式化代码 2018-10-20 21:29:52 +08:00
TangBin 65880ff857 mcclient error 2018-09-18 14:50:45 +08:00
Qiu Jian 7c795f7975 修正:1. 阿里云主机镜像正确设置Platform后,可以正确初始化密码和蜜钥
2.
系统启动默认创建default安全组,主机默认安全组设置为default。defalt安全组默认出入都开放
2018-09-06 15:10:55 +08:00
Zexi Li 090a9c5e86 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~lizexi/onecloud into release/2.1.0 2018-08-11 15:11:24 +08:00
Zexi Li 22411ffb53 path move: github.com/yunionio -> yunion.io/x 2018-08-11 14:28:18 +08:00
Qiu Jian 6d81914119 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~qiujian/onecloud into hotfix/qj-release-2.1.0-conflict-resolve-20180810
Conflicts:
	pkg/cloudcommon/db/taskman/subtasks.go
	pkg/compute/models/guests.go
2018-08-10 12:15:04 +08:00
Qiu Jian f0ec8a563e 修正:1. 删除VPC导致hostwire数据不一致问题 2. 阿里云主机无操作系统信息
3. 其他一些BUGfix
2018-08-09 17:49:17 +08:00
Qiu Jian b979ce9c45 Update fmt 2018-08-08 00:11:02 +08:00