Commit Graph
101 Commits
Author SHA1 Message Date
Zexi Li a61c37501a climc: k8s resource table print 2018-08-29 14:43:53 +08:00
屈轩 02e1654418 普通用户创建云盘时,需要storage-list权限 2018-08-27 12:00:59 +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
邱剑 ff8f50a674 Merge pull request #119 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-disk-info to release/2.0.0
* commit '618f183428212af860a4e6b62446f82214af5254':
  release/2.0.0版本需要disk详情信息
2018-08-25 15:23:22 +08:00
屈轩 618f183428 release/2.0.0版本需要disk详情信息 2018-08-25 14:45:45 +08:00
Zexi Li 2914e880af fix: NotifyParentTaskFailure reason 2018-08-25 14:31:05 +08:00
邱剑 3ec448a8c4 Merge pull request #113 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-avoid-subquery to release/2.0.0
* commit '3be82ebd540e75a4c690dae9e686c6777f527851':
  guestnetworks, hostnetworks: avoid subquery in get by address call
2018-08-25 13:58:57 +08:00
邱剑 934842b7ab Merge pull request #117 in YUNIONIO/onecloud from ~QUXUAN/onecloud:bugfix/qx-disk-attach-guest to release/2.0.0
* commit '4014c55b69a817cee771ec3415d96330c2263a4c':
  修复未初始化guestmanager bug
2018-08-25 13:58:41 +08:00
屈轩 4014c55b69 修复未初始化guestmanager bug 2018-08-25 13:39:54 +08:00
Qiu Jian 4f24cbe615 remove some debug log 2018-08-25 13:07:25 +08:00
Yousong Zhou 3be82ebd54 guestnetworks, hostnetworks: avoid subquery in get by address call 2018-08-25 04:37:48 +00:00
邱剑 6abf1210ab Merge pull request #112 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-task-callback to release/2.0.0
* commit '96d52d1061bc8d573b154a97e217acc641429885':
  修正: task 回调不到 stage tailed 的情况
2018-08-25 11:58:19 +08:00
周有松 46e80bc936 Merge pull request #105 in YUNIONIO/onecloud from ~ZHOUYOUSONG/onecloud:bugfix/yousong-region-dns-minors to release/2.0.0
* commit '43d8b74d175144ac086f6bf3849727b292a77726':
  dns: add a README.md for memo purposes
  dns: hack: new k8s client for each query
  dns: policy, log, db query optimization
  hostnetworks: GetHostByAddress(): use a single join
  hostnetworks: GetHostNetworkByAddress(): fix logic invert
  guestnetworks: GetGuestByAddress(): optimize by using a single join query
  dnsrecords: do not log NotFound as error
2018-08-25 11:34:56 +08:00
Yousong Zhou 43d8b74d17 dns: add a README.md for memo purposes 2018-08-25 03:34:27 +00:00
Zexi Li 96d52d1061 修正: task 回调不到 stage tailed 的情况 2018-08-25 11:02:03 +08:00
Yousong Zhou 5b12bdc7e7 dns: hack: new k8s client for each query
- rest.Config Timeout setting does not work right now [1]
 - number of connections will not increase along with newed client: they
   use a single connection always...

 [1] https://github.com/kubernetes/client-go/issues/374#issuecomment-413842964
2018-08-25 02:41:53 +00:00
Yousong Zhou ed2bf2eba5 dns: policy, log, db query optimization
Fixes CLOUD-451

TODO

 - timeout bound for k8s query
 - k8s client pools
2018-08-25 02:41:53 +00:00
Qiu Jian b16613a0e6 修正:阿里云主机创建后自动启动失败 2018-08-25 09:24:05 +08:00
Yousong Zhou 54ee08ef49 hostnetworks: GetHostByAddress(): use a single join 2018-08-24 12:39:07 +00:00
Yousong Zhou 96ceaafd2f hostnetworks: GetHostNetworkByAddress(): fix logic invert 2018-08-24 12:39:07 +00:00
Yousong Zhou 745f97e912 guestnetworks: GetGuestByAddress(): optimize by using a single join query 2018-08-24 12:39:07 +00:00
Yousong Zhou f23c0257cd dnsrecords: do not log NotFound as error 2018-08-24 10:44:54 +00:00
Qiu Jian 32d56101df minor updates 2018-08-24 16:32:08 +08:00
Qiu Jian 931ee5cef6 增加VM操作日志 2018-08-24 16:30:56 +08:00
Qiu Jian 58aecb256d 修正:创建主机时只选择状态为 available 的网络 2018-08-24 16:15:13 +08:00
邱剑 c4692f0d5b Merge pull request #101 in YUNIONIO/onecloud from ~TANGBIN/onecloud:bugfix/tb-domain-modify-fix to release/2.0.0
* commit '038d1c731ba14390ec319b4c28605afef98f1b59':
  bugfix
2018-08-24 15:23:10 +08:00
TangBin 038d1c731b bugfix 2018-08-24 15:08:13 +08:00
Qiu Jian b23562b019 修正:删除阿里云VPC时由于有securitygroup导致删除失败 2018-08-23 20:39:10 +08:00
Qiu Jian ac4275f48a 增加guest的region_external_id属性 2018-08-23 20:11:10 +08:00
Qiu Jian e681012fd0 虚拟机增加region信息 2018-08-23 18:22:47 +08:00
Qiu Jian 0d6a9f33c6 增加:通过cloud provider来过滤虚拟机的功能 2018-08-23 13:32:11 +08:00
Zexi Li af61f13df6 修正: 不同 ServiceType 的 module 注册不会报错 2018-08-22 11:05:39 +08:00
李泽玺 db6e4d63a2 Merge pull request #84 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-k8s-cli-res-rename to release/2.0.0
* commit '95e63d9f87b5bee6f836053c122434085cb9cdff':
  climc: kube cluster, node and service resource rename
2018-08-22 10:32:41 +08:00
邱剑 16494e75f2 Merge pull request #83 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-scheduler-range-size to release/2.0.0
* commit 'fd69dbac820419340cdca01575f2a8ba6189cde1':
  修正: 调度器 baremetal raid config range 没有正确解析
2018-08-22 08:01:23 +08:00
Zexi Li 95e63d9f87 climc: kube cluster, node and service resource rename 2018-08-22 03:14:57 +08:00
Zexi Li fd69dbac82 修正: 调度器 baremetal raid config range 没有正确解析 2018-08-22 01:06:10 +08:00
邱剑 f5e86f1520 Merge pull request #81 in YUNIONIO/onecloud from ~QUXUAN/onecloud:bugfix/qx-region-sync to release/2.0.0
* commit '241600f4039507449133cd0eb45275d3275f615d':
  修复因添加nil到errors导致野指针引用bug
2018-08-21 20:52:49 +08:00
屈轩 241600f403 修复因添加nil到errors导致野指针引用bug 2018-08-21 20:47:40 +08:00
Zexi Li f84e39f828 Merge branch 'release/2.0.0' of ssh://git.yunion.io/~lizexi/onecloud into feature/lzx-k8s-cli 2018-08-21 20:41:32 +08:00
Zexi Li b95af3dc79 climc: helm api 2018-08-21 20:33:53 +08:00
Yousong Zhou 935b8f02a3 dep: dep ensure update
- jsonutils: bugfix for unmarshaling non-nil slice
 - prettytable: support printing multiline cells
 - sqlchemy: fix update for ptr fields

Update printutils to remove the redundant newline
2018-08-21 07:53:49 +00:00
Zexi Li 9cdbeb943b climc: k8s resource cli 2018-08-20 11:45:10 +08:00
Zexi cbc0c234f2 - climc: 设置 option 没有 subcommand 的情况下进入交互模式, 代码逻辑变清晰
- make fmt
2018-08-17 12:11:08 +08:00
Yousong Zhou 7f0d75cfa1 scheduler: fix wrong import path 2018-08-16 12:50:11 +00:00
邱剑 de75c8b308 Merge pull request #63 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-scheduler-container-net to release/2.0.0
* commit '7cad0d54f39b6bfa87474f80e5136f21e1f8d954':
  scheduler: network container server_type
2018-08-16 19:04:57 +08:00
Zexi Li 7cad0d54f3 scheduler: network container server_type 2018-08-16 16:19:52 +08:00
Qiu Jian e9d437d173 zone capability的hypervisor去重 2018-08-16 11:47:06 +08:00
TangBin ea609cdbd1 auth token add list endpoints method 2018-08-15 10:54:48 +08:00
邱剑 b4dc541736 Merge pull request #52 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-aliyun-cache-success-connected-state to release/2.0.0
* commit '8311f02839eab526a701bda27424e641bc6292ad':
  修正:aliyun在成功连接后,会缓存成功状态,导致更新错误账号信息后还是显示成功连接
2018-08-14 21:52:17 +08:00