Commit Graph
182 Commits
Author SHA1 Message Date
邱剑 7c19d8e062 Merge pull request #137 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-k8s-cli-v2 to release/2.0.0
* commit '39bba47f71091844843468af4fdec272c66274c8':
  vendor: add github.com/hako/durafmt
  climc: k8s-deployment-create support network
  climc: k8s cluster import and addnodes
  climc: k8s resource table print
  climc: k8s-deployment-create support network
  climc: k8s cluster import and addnodes
  climc: k8s resource table print
2018-08-29 16:43:49 +08:00
Zexi Li 39bba47f71 vendor: add github.com/hako/durafmt 2018-08-29 14:47:57 +08:00
Zexi Li ef97c07562 Merge branch 'feature/lzx-k8s-cli-v2' of ssh://git.yunion.io/~lizexi/onecloud into feature/lzx-k8s-cli-v2 2018-08-29 14:43:58 +08:00
Zexi Li 19d0afae86 climc: k8s-deployment-create support network 2018-08-29 14:43:53 +08:00
Zexi Li ad7c4ac5ad climc: k8s cluster import and addnodes 2018-08-29 14:43:53 +08:00
Zexi Li a61c37501a climc: k8s resource table print 2018-08-29 14:43:53 +08:00
邱剑 6b4261b734 Merge pull request #135 in YUNIONIO/onecloud from ~LIZEXI/onecloud:feature/lzx-server-rebuild-root-passwd to release/2.0.0
* commit '876f4ce1fadb9b49f5d54c6f210213221879861b':
  climc: server-rebuild-root support keypair and passwd
2018-08-29 13:57:52 +08:00
Zexi Li 876f4ce1fa climc: server-rebuild-root support keypair and passwd 2018-08-29 11:21:21 +08:00
Zexi Li 6992a444bd climc: k8s-deployment-create support network 2018-08-28 14:52:54 +08:00
邱剑 536736952c Merge pull request #127 in YUNIONIO/onecloud from ~LIZEXI/onecloud:hotfix/lzx-regiondns-rpm-vars to release/2.0.0
* commit '852ba299e3e9ca74ae557450c36a1a2e2d3fc238':
  region-dns: add vars to build rpm package
2018-08-27 22:25:39 +08:00
邱剑 4077ebbc85 Merge pull request #126 in YUNIONIO/onecloud from ~QUXUAN/onecloud:hotfix/qx-storage-list to release/2.0.0
* commit '02e16544187f50939188b05bf84027414fa12806':
  普通用户创建云盘时,需要storage-list权限
2018-08-27 22:22:25 +08:00
Zexi Li 4feba43dd6 climc: k8s cluster import and addnodes 2018-08-27 19:00:54 +08:00
Zexi Li 852ba299e3 region-dns: add vars to build rpm package 2018-08-27 12:15:21 +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
邱剑 9be6d86e29 Merge pull request #118 in YUNIONIO/onecloud from ~LIZEXI/onecloud:bugfix/lzx-parent-task-failed-reason to release/2.0.0
* commit '2914e880af453cf59f793216268dbc5f0ddfe562':
  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
邱剑 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
邱剑 183405a31d Merge pull request #104 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-filter-network-status-available to release/2.0.0
* commit '32d56101dfe81f42f44d29e585422512c50f230f':
  minor updates
  增加VM操作日志
  修正:创建主机时只选择状态为 available 的网络
2018-08-24 17:49:31 +08: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
邱剑 96d55f53dd Merge pull request #100 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:butfix/qj-update-vendor-20180824-2.0.0 to release/2.0.0
* commit 'f539aa53d8400a77f65e269a9eb0c7eef4ebe180':
  Update vendor & Gopkg.lock
  更新Makefile,增加make dep命令,只更新vendor/yunion.io/x/下的包
2018-08-24 15:11:25 +08:00
TangBin 038d1c731b bugfix 2018-08-24 15:08:13 +08:00
Qiu Jian f539aa53d8 Update vendor & Gopkg.lock 2018-08-24 14:39:40 +08:00
Qiu Jian cc63b9ff93 更新Makefile,增加make dep命令,只更新vendor/yunion.io/x/下的包 2018-08-24 14:38:56 +08:00
邱剑 602e37ca77 Merge pull request #96 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:bugfix/qj-fail-to-delete-vpc-for-having-securitygroup to release/2.0.0
* commit 'b23562b019cc80c5d8ae1862f60c41429f612ad5':
  修正:删除阿里云VPC时由于有securitygroup导致删除失败
2018-08-24 12:19:55 +08:00
Qiu Jian b23562b019 修正:删除阿里云VPC时由于有securitygroup导致删除失败 2018-08-23 20:39:10 +08:00
邱剑 f6b1e83f2b Merge pull request #92 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-add-guest-region-external-id to release/2.0.0
* commit 'ac4275f48afcdc0b3bfb61cd99aecbff7b49fd53':
  增加guest的region_external_id属性
2018-08-23 20:13:29 +08:00
Qiu Jian ac4275f48a 增加guest的region_external_id属性 2018-08-23 20:11:10 +08:00
邱剑 6177f3bceb Merge pull request #89 in YUNIONIO/onecloud from ~QIUJIAN/onecloud:hotfix/qj-guest-add-region-info to release/2.0.0
* commit 'e681012fd0d160f9d567887a12d3351de8f795b7':
  虚拟机增加region信息
2018-08-23 18:31:19 +08:00