Commit Graph
78 Commits
Author SHA1 Message Date
Yousong Zhou dd38b2b53d validators: add Optional() to IValidator for use in ValidateUpdateData() 2018-09-13 02:06:41 +00:00
Yousong Zhou c66e264aff cloudcommon: virtualresource: show pending_deleted field when queried 2018-09-13 02:06:41 +00:00
Yousong Zhou 2ff04e3d97 cloudcommon: virtualresource: optimize list with --field specified
No functional change
2018-09-13 02:06:12 +00:00
邱剑 12b1ef939e Merge pull request #183 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:bugfix/qj-lockman-enable-inmemery-lock to release/2.1.0
* commit '0a29b0add76df86c0d5081db809631c22d728bf1':
  remove binary
  增加:镜像缓存加锁,避免批量创建时重复上传镜像
  remove binary
  使用inmemory lockman
  initial commit
2018-09-12 14:54:15 +08:00
Yousong Zhou cc70be165f validators: rework error handling
- Return httperrors by default (return ValidateError when testing)
 - Special casing sql.ErrNoRows for model not found
2018-09-12 01:26:52 +00:00
Yousong Zhou 2b691c5dbd validators: StringMultiChoicesValidator: add test case 2018-09-12 01:26:52 +00:00
Qiu Jian 0a29b0add7 remove binary 2018-09-11 21:51:10 +08:00
Qiu Jian a6d8ee1173 增加:镜像缓存加锁,避免批量创建时重复上传镜像 2018-09-11 21:40:31 +08:00
Qiu Jian cda52bf9b8 remove binary 2018-09-11 13:09:40 +08:00
Qiu Jian 9a6eeb30f6 使用inmemory lockman 2018-09-11 13:07:51 +08:00
邱剑 e03a31a65d Merge pull request #182 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-minors to release/2.1.0
* commit 'ad67ecb7dd46cc0ecf32c3a1104da9d89b9b8054':
  dep: update structarg
  climc: trim angle brackets for required options
  validators: add BoolValidator
  validators: add ValidatorStringMultiChoices
2018-09-11 00:12:39 +08:00
Yousong Zhou 75f38447fd validators: add BoolValidator 2018-09-10 16:08:17 +00:00
Yousong Zhou b4f00220f9 validators: add ValidatorStringMultiChoices 2018-09-10 16:08:13 +00:00
Qiu Jian 4f403ad9f2 initial commit 2018-09-10 23:30:31 +08:00
Qiu Jian 2c9e203bb3 修正:secgroup initializedb需要admin
token,修改initAuth同步执行,确保admin token可用
2018-09-10 16:03:42 +08:00
Qiu Jian 7c795f7975 修正:1. 阿里云主机镜像正确设置Platform后,可以正确初始化密码和蜜钥
2.
系统启动默认创建default安全组,主机默认安全组设置为default。defalt安全组默认出入都开放
2018-09-06 15:10:55 +08:00
Qiu Jian 45f7f6febe Merge branch 'release/2.1.0' of ssh://git.yunion.io/~qiujian/onecloud into feature/qj-elastic-ip 2018-09-04 23:46:43 +08:00
Qiu Jian f4f2d8fb97 浮动IP支持 2018-09-04 23:04:29 +08:00
邱剑 fa50e68031 Merge pull request #150 in YUNIONIO/onecloud from feature/rex-logclient-20180822-1018 to release/2.1.0
* commit '4249e2486a04bd080218b59fc12ffe1f416ad6fa':
  阿里云服务器同步、全量同步操作日志。
  阿里云解绑
  rm log
  日志接口重构;阿里云修改密码、变更配置加日志
  阿里云变更配置增加日志
  更改项目
  接口重构,与OpsLog.LogEvent 保持一致
  阿里云重装系统、开机关机、同步状态日志
  阿里云虚机删除日志
  阿里云创建虚机失败时记录 actionlog
  增加logclient; aliyun server crud 操作
  增加logclient
2018-09-03 21:13:41 +08:00
屈轩 4f024ad282 添加同步log信息 2018-09-03 10:53:19 +08:00
李泽玺 c43c79c178 Automatic merge from release/2.0.0 -> release/2.1.0
* commit 'b8bbd34001d2248eca3ceced5428900c9ddd0fd1':
  mcclient: options: BaseListOptions: make OrderBy a list option
  resourcebase: updated_at: set list:"user"
2018-09-01 10:57:09 +08:00
李泽玺 b8bbd34001 Merge pull request #145 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-minors to release/2.0.0
* commit '0094a5cffc925796cc7ef1095f0c12592054c30e':
  mcclient: options: BaseListOptions: make OrderBy a list option
  resourcebase: updated_at: set list:"user"
2018-09-01 10:57:07 +08:00
Yousong Zhou c559bcd933 resourcebase: updated_at: set list:"user" 2018-08-31 11:07:13 +00:00
Zhang Dongliang adfb5ae364 日志接口重构;阿里云修改密码、变更配置加日志 2018-08-31 09:39:11 +08:00
邱剑 4ed958cf84 Automatic merge from release/2.0.0 -> release/2.1.0
* commit '2dd13257361edec640f0bdb9d4616a37df7cd211':
  cloudcommon: add validator helpers
2018-08-31 01:24:08 +08:00
Yousong Zhou 7ad2624a7c cloudcommon: add validator helpers 2018-08-30 07:47:08 +00:00
wanyaoqi e2d4054367 extend joint filter 2018-08-29 17:55:13 +08:00
Zhang Dongliang 5a1bb8dd97 merge release/2.1.0 2018-08-29 15:52:53 +08:00
Zhang Dongliang 3b8562a22c 更改项目 2018-08-29 15:43:59 +08:00
wanyaoqi 1e5a231e06 make dep and fix words releated->related 2018-08-28 13:39:54 +08:00
Zhang Dongliang eb135f71dc 接口重构,与OpsLog.LogEvent 保持一致 2018-08-27 18:00:13 +08:00
wanyaoqi d1607e7be6 support joint filter 2018-08-25 18:58:24 +08:00
TangBin 8167aa0c85 fix Conflict 2018-08-25 18:07:54 +08:00
Qiu Jian f339a0b3b5 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~qiujian/onecloud into bugfix/qj-resolve-conflict-2.1.0-20180825
Conflicts:
	pkg/compute/guestdrivers/aliyun.go
	pkg/compute/models/disks.go
	pkg/compute/tasks/guest_delete_task.go
2018-08-25 17:03:06 +08:00
邱剑 bf06700ee2 Merge pull request #111 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-aliyun-vm-auto-start-fail to release/2.0.0
* commit '122c1d63f298da1dd8800a29e3e83d48b946e021':
  bugfixs for aliyun server create/delete
  remove some debug log
  修正:阿里云主机创建后自动启动失败
2018-08-25 16:04:25 +08:00
Qiu Jian 122c1d63f2 bugfixs for aliyun server create/delete 2018-08-25 16:02:26 +08:00
邱剑 d9ac8f61d2 Automatic merge from release/2.0.0 -> release/2.1.0
* commit '9be6d86e292c036c783190ac53e929717b46806d':
  fix: NotifyParentTaskFailure reason
2018-08-25 14:40:02 +08:00
Zexi Li 2914e880af fix: NotifyParentTaskFailure reason 2018-08-25 14:31:05 +08:00
Qiu Jian 4f24cbe615 remove some debug log 2018-08-25 13:07:25 +08:00
邱剑 2f7028e8f7 Automatic merge from release/2.0.0 -> release/2.1.0
* commit '6abf1210ab9a7ec6ee292161e3d2548dd3b44b74':
  修正: task 回调不到 stage tailed 的情况
2018-08-25 11:58:19 +08:00
Zexi Li 96d52d1061 修正: task 回调不到 stage tailed 的情况 2018-08-25 11:02:03 +08:00
Zhang Dongliang 58edf9daf4 阿里云创建虚机失败时记录 actionlog 2018-08-25 07:53:54 +08:00
Zhang Dongliang 6e5b509f3e 增加logclient; aliyun server crud 操作 2018-08-24 15:34:02 +08:00
TangBin 8feaa3538b 阿里云调整配置等API 2018-08-20 11:02:37 +08:00
Zexi cbc0c234f2 - climc: 设置 option 没有 subcommand 的情况下进入交互模式, 代码逻辑变清晰
- make fmt
2018-08-17 12:11:08 +08:00
邱剑 e9207cf7dc Merge pull request #60 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:bugfix/wyq/misc-201808-15 to release/2.1.0
* commit '231e94fbd802ae00549b3a0c704b9fdcfcd259a1':
  1.fix corn run task with empyt context
2018-08-16 19:08:54 +08:00
wanyaoqi 231e94fbd8 1.fix corn run task with empyt context 2018-08-15 21:52:24 +08:00
屈轩 7d1d1d1d37 修复check create data 使用keyword而不是keywordplural 2018-08-15 21:40:32 +08:00
邱剑 6759bc40b7 Merge pull request #53 in YUNIONIO/onecloud from ~WANYAOQI/onecloud:feature/wyq/kvm-server-rebuild-root to release/2.1.0
* commit 'baa7b9e09330352afd2e1088a9f1b837cb12bd09':
  region: server-rebuid-root and fix bug on disk create and disk create failed
2018-08-14 21:58:01 +08:00
wanyaoqi baa7b9e093 region: server-rebuid-root and fix bug on disk create and disk create failed 2018-08-14 16:09:35 +08:00