Compare commits

..

2858 Commits

Author SHA1 Message Date
Zexi Li
617ee1c461 Merge pull request #7040 from swordqiu/automated-cherry-pick-of-#7036-upstream-release-3.0
Automated cherry pick of #7036: fix: cloud account sync may block
2020-07-04 12:09:37 +08:00
Qiu Jian
3e4b0894a7 fix: cloud account sync may block 2020-07-04 10:26:16 +08:00
Zexi Li
370037f561 Merge pull request #7016 from wanyaoqi/automated-cherry-pick-of-#7006-upstream-release-3.0
Automated cherry pick of #7006: bind mount nfs storage path
2020-07-02 17:42:35 +08:00
wanyaoqi
8ebf1d44e8 bind mount nfs storage path 2020-07-02 17:38:33 +08:00
Zexi Li
a8a7edda6e Merge pull request #6979 from wanyaoqi/automated-cherry-pick-of-#6975-upstream-release-3.0
Automated cherry pick of #6975: fix deploy backup server order
2020-06-30 23:08:55 +08:00
wanyaoqi
880686d690 fix deploy backup server order 2020-06-30 22:11:04 +08:00
Zexi Li
aea5736f14 Merge pull request #6940 from swordqiu/automated-cherry-pick-of-#6936-upstream-release-3.0
Automated cherry pick of #6936: fix: sort quota list result by usage rate
2020-06-23 23:28:18 +08:00
Qiu Jian
0feebf0b69 fix: sort quota list result by usage rate 2020-06-23 22:28:00 +08:00
Zexi Li
5fed98ec31 Merge pull request #6925 from swordqiu/automated-cherry-pick-of-#6921-upstream-release-3.0
Automated cherry pick of #6921: fix: simplify forbidden user login message
2020-06-23 21:26:11 +08:00
Qiu Jian
3276f8e387 fix: simplify forbidden user login message 2020-06-23 17:48:50 +08:00
yunion-ci-robot
7a9c8de48f Merge pull request #6910 from wanyaoqi/automated-cherry-pick-of-#6906-upstream-release-3.0
Automated cherry pick of #6906: disable dhclient
2020-06-22 23:38:00 +08:00
wanyaoqi
40f23eeef3 disable dhclient 2020-06-22 21:32:02 +08:00
Zexi Li
a953c56e50 Merge pull request #6897 from yousong/automated-cherry-pick-of-#6893-upstream-release-3.0
Automated cherry pick of #6893: cloudcommon: app: cosmetic change
2020-06-22 09:17:39 +08:00
Yousong Zhou
afbc7a9096 cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:34:41 +08:00
Yousong Zhou
32995e2acf cloudcommon: app: cosmetic change 2020-06-21 18:34:41 +08:00
yunion-ci-robot
10b767b6c6 Merge pull request #6888 from swordqiu/automated-cherry-pick-of-#6885-upstream-release-3.0
Automated cherry pick of #6885: fix: wrong cloud provider status when sync disconnected cloud account
2020-06-19 09:49:08 +08:00
Qiu Jian
b0c58216b2 fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:23:49 +08:00
yunion-ci-robot
776551f9e6 Merge pull request #6867 from yousong/automated-cherry-pick-of-#6859-upstream-release-3.0
Automated cherry pick of #6859: cloudaccounts: one sync task in queue per cloudaccount
2020-06-18 23:17:04 +08:00
Zexi Li
efd481bc83 Merge pull request #6874 from ioito/automated-cherry-pick-of-#6871-upstream-release-3.0
Automated cherry pick of #6871: fix: 避免同步删除失败
2020-06-18 19:06:01 +08:00
Qu Xuan
6815918e04 fix: 避免同步删除失败 2020-06-18 17:23:13 +08:00
Yousong Zhou
9b94f70804 cloudaccounts: one sync task in queue per cloudaccount 2020-06-18 17:12:58 +08:00
Zexi Li
cdf41a6c81 Merge pull request #6843 from zexi/automated-cherry-pick-of-#6840-upstream-release-3.0
Automated cherry pick of #6840: scheduler: fix memory over committed
2020-06-17 18:49:45 +08:00
Zexi Li
eaada436b9 Merge pull request #6857 from yousong/automated-cherry-pick-of-#6837-upstream-release-3.0
Automated cherry pick of #6837: appsrv: ring: release ring content on pop
2020-06-17 11:24:44 +08:00
Yousong Zhou
ec0264f807 appsrv: rework TestRing 2020-06-17 10:54:15 +08:00
Yousong Zhou
6faaf905a0 appsrv: ring: release ring content on pop 2020-06-17 10:54:15 +08:00
Zexi Li
4138871ceb Merge pull request #6852 from swordqiu/automated-cherry-pick-of-#6849-upstream-release-3.0
Automated cherry pick of #6849: fix: disable policy rule compaction
2020-06-17 10:29:14 +08:00
Qiu Jian
3b9cd6da73 fix: policy allow if one of the matching rules is allow 2020-06-16 23:12:07 +08:00
Qiu Jian
9be75f2368 fix: disable policy rule compaction 2020-06-16 23:12:07 +08:00
Zexi Li
78b70d950d Merge pull request #6847 from wanyaoqi/automated-cherry-pick-of-#6844-upstream-release-3.0
Automated cherry pick of #6844: fix cpu usage metrics
2020-06-16 21:00:55 +08:00
wanyaoqi
99f058aad0 fix cpu usage metrics 2020-06-16 20:45:40 +08:00
Zexi Li
9451b707ae Merge pull request #6827 from wanyaoqi/automated-cherry-pick-of-#6824-upstream-release-3.0
Automated cherry pick of #6824: fix windows install regedit record
2020-06-16 20:12:40 +08:00
Zexi Li
03565249a3 scheduler: fix memory over committed 2020-06-16 19:19:13 +08:00
wanyaoqi
7f7ea28684 fix windows install regedit record 2020-06-15 10:59:21 +08:00
Zexi Li
b62340a032 Merge pull request #6820 from yousong/automated-cherry-pick-of-#6817-upstream-release-3.0
Automated cherry pick of #6817: guestnetworks: use math/rand instead of crypto/rand
2020-06-12 10:09:33 +08:00
Yousong Zhou
a889c585e7 guestnetworks: reduce odds of collision seeded by epoch seconds 2020-06-11 21:23:19 +08:00
Yousong Zhou
5b59e1cc5f guestnetworks: use math/rand instead of crypto/rand 2020-06-11 21:23:18 +08:00
Zexi Li
4f6dac72ff Merge pull request #6814 from ioito/automated-cherry-pick-of-#6810-upstream-release-3.0
Automated cherry pick of #6810: fix: 避免openstack磁盘和存储窜位
2020-06-11 17:52:28 +08:00
Zexi Li
037c3dd4c3 Merge pull request #6806 from zexi/automated-cherry-pick-of-#6803-upstream-release-3.0
Automated cherry pick of #6803: webconsole: fix version and others handler not handle
2020-06-11 17:50:19 +08:00
Qu Xuan
3ac79f8d0a fix: 避免openstack磁盘和存储窜位 2020-06-11 14:15:12 +08:00
Zexi Li
55cde2abc0 Merge pull request #6800 from wanyaoqi/automated-cherry-pick-of-#6797-upstream-release-3.0
Automated cherry pick of #6797: fix host list servers filter
2020-06-10 17:06:09 +08:00
Zexi Li
fbbf738a1c webconsole: fix version and others handler not handle 2020-06-10 17:03:41 +08:00
wanyaoqi
8c670a116d fix host list servers filter 2020-06-10 14:09:09 +08:00
Zexi Li
7a1ce75307 Merge pull request #6789 from rainzm/automated-cherry-pick-of-#6786-upstream-release-3.0
Automated cherry pick of #6786: fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk
2020-06-10 11:28:12 +08:00
Zexi Li
fc825b87c2 Merge pull request #6766 from ioito/automated-cherry-pick-of-#6663-upstream-release-3.0
Automated cherry pick of #6663: fix: 优化安全组同步逻辑
2020-06-10 11:19:08 +08:00
Zexi Li
0265f6eed4 Merge pull request #6785 from rainzm/automated-cherry-pick-of-#6782-upstream-release-3.0
Automated cherry pick of #6782: fix: Add '/version' handler for notify
2020-06-10 10:19:01 +08:00
Zexi Li
a3e8dd22c1 Merge pull request #6794 from swordqiu/automated-cherry-pick-of-#6791-upstream-release-3.0
Automated cherry pick of #6791: fix: policy-explain not working properly
2020-06-10 09:53:09 +08:00
Qiu Jian
422793d4b4 fix: policy-explain not working properly 2020-06-09 22:31:06 +08:00
rainzm
474c78a61a fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk 2020-06-09 19:50:58 +08:00
rainzm
9a58765d18 fix: Add '/version' handler for notify 2020-06-09 18:56:03 +08:00
Qu Xuan
b0f33a8b2c fix: 优化安全组同步逻辑 2020-06-08 16:57:29 +08:00
yunion-ci-robot
5ca6eecc01 Merge pull request #6695 from ioito/automated-cherry-pick-of-#6692-upstream-release-3.0
Automated cherry pick of #6692: fix: 返回object默认acl
2020-06-06 10:59:48 +08:00
Qu Xuan
0c6323bc26 fix: 返回object默认acl 2020-06-05 11:01:18 +08:00
Zexi Li
679385dc82 Merge pull request #6747 from wanyaoqi/automated-cherry-pick-of-#6744-upstream-release-3.0
Automated cherry pick of #6744: bind mount local image path to container path
2020-06-04 21:24:25 +08:00
wanyaoqi
fe819b30b1 bind mount local image path to container path 2020-06-04 20:23:58 +08:00
Zexi Li
b51daa01d5 Merge pull request #6725 from ioito/automated-cherry-pick-of-#6722-upstream-release-3.0
Automated cherry pick of #6722: fix: 添加region翻译
2020-06-04 10:28:36 +08:00
Qu Xuan
a94ef0ac31 fix: 添加region翻译 2020-06-03 20:42:07 +08:00
Zexi Li
920cfef241 Merge pull request #6716 from wanyaoqi/automated-cherry-pick-of-#6713-upstream-release-3.0
Automated cherry pick of #6713: isolated device manager:
2020-06-03 17:25:23 +08:00
wanyaoqi
78e55702ac isolated device manager:
- fix find boot_vga got No such file or dirtory
2020-06-03 15:53:43 +08:00
yunion-ci-robot
ad3c1b01a7 Merge pull request #6689 from ioito/automated-cherry-pick-of-#6686-upstream-release-3.0
Automated cherry pick of #6686: fix: 避免锁超时
2020-06-02 13:59:42 +08:00
Qu Xuan
4588fdabad fix: 避免锁超时 2020-06-02 11:15:43 +08:00
Zexi Li
266f684581 Merge pull request #6678 from ioito/automated-cherry-pick-of-#6675-upstream-release-3.0
Automated cherry pick of #6675: fix: add us-west4 for google region
2020-06-02 10:00:28 +08:00
Zexi Li
5f5097058a Merge pull request #6673 from wanyaoqi/automated-cherry-pick-of-#6670-upstream-release-3.0
Automated cherry pick of #6670: get snapshots order by created at asc
2020-06-02 09:58:46 +08:00
Qu Xuan
51f64a9605 fix: add us-west4 for google region 2020-06-01 18:29:21 +08:00
wanyaoqi
e81d1848c4 get snapshots order by created at asc 2020-06-01 15:10:59 +08:00
Zexi Li
18c4bcd9db Merge pull request #6656 from swordqiu/automated-cherry-pick-of-#6636-upstream-release-3.0
Automated cherry pick of #6636: fix: ignore match weights when searching matched policysets
2020-05-29 14:20:40 +08:00
Zexi Li
807d5ca119 Merge pull request #6653 from wanyaoqi/automated-cherry-pick-of-#6650-upstream-release-3.0
Automated cherry pick of #6650: fix migrate with multi local storage
2020-05-29 14:19:06 +08:00
Qiu Jian
df9c9431a6 fix: ignore match weights when searching matched policysets 2020-05-29 12:52:54 +08:00
wanyaoqi
d90c2eef70 fix migrate with multi local storage 2020-05-29 11:55:19 +08:00
Zexi Li
fba3067090 Merge pull request #6624 from ioito/automated-cherry-pick-of-#6619-upstream-release-3.0
Automated cherry pick of #6619: fix: 避免azure卸载磁盘失败
2020-05-27 17:52:18 +08:00
Qu Xuan
6a5e6b2920 fix: 避免azure卸载磁盘失败 2020-05-27 15:57:21 +08:00
Zexi Li
e1bda8042e Merge pull request #6601 from wanyaoqi/automated-cherry-pick-of-#6598-upstream-release-3.0
Automated cherry pick of #6598: fix remotefile fetch image propertites
2020-05-26 17:15:26 +08:00
Zexi Li
ec587c668e Merge pull request #6597 from ioito/automated-cherry-pick-of-#6594-upstream-release-3.0
Automated cherry pick of #6594: fix: bucket信息修正
2020-05-26 17:14:20 +08:00
wanyaoqi
0f27e97b60 fix remotefile fetch image propertites 2020-05-26 15:55:24 +08:00
Qu Xuan
56efaf297d fix: bucket信息修正 2020-05-26 15:10:57 +08:00
Zexi Li
67b3bfe1d7 Merge pull request #6585 from zexi/automated-cherry-pick-of-#6584-upstream-release-3.0
Automated cherry pick of #6584: fix k8s repo wrong privilege
2020-05-25 18:28:12 +08:00
Zexi Li
e697c9a7a5 fix k8s repo wrong privilege 2020-05-25 16:59:45 +08:00
Zexi Li
ac23daea23 Merge pull request #6575 from zhaoxiangchun/automated-cherry-pick-of-#6573-upstream-release-3.0
Automated cherry pick of #6573: zstack宿主机监控中增加参数信息进行Unmarshal
2020-05-25 12:18:03 +08:00
zhaoxiangchun
0ab2b4fea6 zstack宿主机监控中增加参数信息进行Unmarshal 2020-05-24 17:18:52 +08:00
Zexi Li
7fc1319622 Merge pull request #6570 from swordqiu/automated-cherry-pick-of-#6567-upstream-release-3.0
Automated cherry pick of #6567: fix: default policy not effective
2020-05-22 22:48:41 +08:00
Zexi Li
87c538e3fa Merge pull request #6561 from ioito/automated-cherry-pick-of-#6558-upstream-release-3.0
Automated cherry pick of #6558: fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:33 +08:00
Qiu Jian
b227baf505 fix: default policy not effective 2020-05-22 22:39:47 +08:00
Qu Xuan
010518b352 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:18:26 +08:00
Zexi Li
55528fc19e Merge pull request #6554 from swordqiu/automated-cherry-pick-of-#6551-upstream-release-3.0
Automated cherry pick of #6551: fix: empty matched policies list for roles
2020-05-22 19:32:46 +08:00
Qiu Jian
11d51cbab3 fix: empty matched policies list for roles 2020-05-22 18:57:15 +08:00
Zexi Li
b7b38cad6f Merge pull request #6539 from ioito/automated-cherry-pick-of-#6530-upstream-release-3.0
Automated cherry pick of #6530: fix: aliyun rds backup create fix
2020-05-22 12:36:39 +08:00
Qu Xuan
46c916098f fix: aliyun rds backup create fix 2020-05-22 10:32:23 +08:00
Zexi Li
12d76c782d Merge pull request #6514 from ioito/automated-cherry-pick-of-#6511-upstream-release-3.0
Automated cherry pick of #6511: fix: 避免忽略本地allow any云上deny any安全组规则同步
2020-05-22 10:22:47 +08:00
Zexi Li
cfbfda82f7 Merge pull request #6523 from swordqiu/automated-cherry-pick-of-#6516-upstream-release-3.0
Automated cherry pick of #6516: fix: system privileges user cannot access system console
2020-05-22 10:15:29 +08:00
yunion-ci-robot
473ae778ff Merge pull request #6520 from zexi/automated-cherry-pick-of-#6481-upstream-release-3.0
Automated cherry pick of #6481: region: fix get resource details panic
2020-05-21 23:31:50 +08:00
yunion-ci-robot
76671e0ba0 Merge pull request #6508 from ioito/automated-cherry-pick-of-#6505-upstream-release-3.0
Automated cherry pick of #6505: fix: 上传镜像为转换列表之外时,subformat状态异常
2020-05-21 23:05:58 +08:00
yunion-ci-robot
2e4be413be Merge pull request #6521 from zexi/automated-cherry-pick-of-#6491-upstream-release-3.0
Automated cherry pick of #6491: keystone: fix db not sync
2020-05-21 22:48:52 +08:00
Qiu Jian
e8898952b3 fix: system privileges user cannot access system console 2020-05-21 18:45:42 +08:00
Zexi Li
8bc6397142 keystone: fix db not sync 2020-05-21 18:44:41 +08:00
Zexi Li
28e726d847 region: fix get resource details panic 2020-05-21 18:44:13 +08:00
Qu Xuan
f96d39e9fc fix: 避免忽略本地allow any云上deny any安全组规则同步 2020-05-21 18:31:26 +08:00
Qu Xuan
52d299d227 fix: 上传镜像为转换列表之外时,subformat状态异常 2020-05-21 17:42:19 +08:00
Zexi Li
051de2f7ee Merge pull request #6488 from rainzm/automated-cherry-pick-of-#6487-upstream-release-3.0
Automated cherry pick of #6487: Fix/esxi
2020-05-21 16:33:05 +08:00
rainzm
28d3ed0d84 fix(esxi): Modify the disk size correctly when creating vm 2020-05-21 10:56:47 +08:00
rainzm
9962104c1b fix(esxi): Detach all disk first when deleting vm 2020-05-21 10:53:57 +08:00
rainzm
2708277112 Kill processes in time & Add debug info 2020-05-21 10:53:57 +08:00
rainzm
70d2acdc5d fix(esxi): Remove 'Destory' operation that is unnecessary for VirtualDiskManager 2020-05-21 10:53:57 +08:00
rainzm
3946fc2b74 fix(esxi): Separate detach disk and delete disk when rebuilding.
In previous versions, set
`removeSpec.FileOperation = types.VirtualDeviceConfigSpecFileOperationDestroy'
to delete disk indirectly.

But, when its parent has only one child, the parent will be deleted along with it.
And the consequence is failure to reinstall the system.

Now, detach disk without deleteing backing file and then remove backing
2020-05-21 10:53:57 +08:00
Zexi Li
9490fb2011 Merge pull request #6477 from yousong/bugfix/yousong-region-3.0
Bugfix/yousong region 3.0
2020-05-20 12:53:33 +08:00
Yousong Zhou
559e448459 wires: default to "default" vpc on creation
Wire creation request right now only makes sense in context of classic
network ("default" vpc)
2020-05-20 11:11:12 +08:00
Yousong Zhou
f63d10594e networks: eliminate a variable 2020-05-20 11:09:23 +08:00
Yousong Zhou
6093bf2eca guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE 2020-05-20 11:07:25 +08:00
Yousong Zhou
82b7b3ebe9 cloudprovider: fix typo 2020-05-20 11:07:24 +08:00
Yousong Zhou
cb65ca44f5 cloudcommon: rbac: fix typo 2020-05-20 11:07:24 +08:00
Zexi Li
f26e83de1b Merge pull request #6466 from zexi/automated-cherry-pick-of-#6462-upstream-release-3.0
Automated cherry pick of #6462: region: fix server create params not include specified resource
2020-05-19 19:09:00 +08:00
Zexi Li
ee778d68d6 region: fix server create params not include specified resource 2020-05-19 17:39:08 +08:00
Zexi Li
939d21c5a3 Merge pull request #6446 from swordqiu/automated-cherry-pick-of-#6443-upstream-release-3.0
Automated cherry pick of #6443: fix: anonymous user may list resources
2020-05-19 10:18:04 +08:00
Zexi Li
d2c008cbd9 Merge pull request #6438 from zexi/automated-cherry-pick-of-#6436-upstream-release-3.0
Automated cherry pick of #6436: baremetal: fix ssh put empty content file not created
2020-05-19 10:16:07 +08:00
Qiu Jian
b78dcfb5c3 fix: anonymous user may list resources 2020-05-19 01:26:32 +08:00
Zexi Li
901cf1aac4 Merge pull request #6426 from ioito/automated-cherry-pick-of-#6423-upstream-release-3.0
Automated cherry pick of #6423: fix: 避免仅同步一个region时,其余region状态变为准备中
2020-05-18 21:49:24 +08:00
Zexi Li
96b43a126d Merge pull request #6431 from ioito/automated-cherry-pick-of-#6428-upstream-release-3.0
Automated cherry pick of #6428: fix: 避免设置自动释放后磁盘的expired_at失效
2020-05-18 21:48:04 +08:00
Zexi Li
d37b6550d1 baremetal: fix ssh put empty content file not created 2020-05-18 21:45:41 +08:00
Qu Xuan
6ef689a183 fix: 避免设置自动释放后磁盘的expired_at失效 2020-05-18 20:09:21 +08:00
Qu Xuan
575545da50 fix: 避免仅同步一个region时,其余region状态变为准备中 2020-05-18 19:38:54 +08:00
Zexi Li
6627a3365e Merge pull request #6412 from zhaoxiangchun/automated-cherry-pick-of-#6410-upstream-release-3.0
Automated cherry pick of #6410: 修复无法获取vmware宿主机监控数据的问题
2020-05-17 14:16:54 +08:00
yunion-ci-robot
4cfd27a39f Merge pull request #6416 from rainzm/release/3.0
update vendor for release/3.0
2020-05-16 23:33:38 +08:00
rainzm
11d7b58886 update vendor 2020-05-16 21:40:42 +08:00
zhaoxiangchun
6bdca14dd9 修复无法获取vmware宿主机监控数据的问题 2020-05-16 21:21:44 +08:00
yunion-ci-robot
6f164905d8 Merge pull request #6391 from zexi/automated-cherry-pick-of-#6388-upstream-release-3.0
Automated cherry pick of #6388: region: fix baremetal can't enable public baremetal type network
2020-05-16 18:25:04 +08:00
Zexi Li
be14f22f17 Merge pull request #6398 from swordqiu/automated-cherry-pick-of-#6395-upstream-release-3.0
Automated cherry pick of #6395: fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host
2020-05-16 17:45:00 +08:00
Zexi Li
1b7a646197 Merge pull request #6378 from rainzm/automated-cherry-pick-of-#6375-upstream-release-3.0
Automated cherry pick of #6375: Fix/esxi
2020-05-16 17:41:48 +08:00
Zexi Li
53a04060db region: fix baremetal can't enable public baremetal type network 2020-05-16 17:36:50 +08:00
Qiu Jian
79b38223e1 fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host 2020-05-15 22:27:36 +08:00
rainzm
87bc30ba2a fix(esxi): Add usb to support mouse in vnc viewer 2020-05-15 21:39:42 +08:00
rainzm
9cb95cfc0a fix(esxi): Fix GetDriver and add driver log for vdisk.
In GetDriver, return 'name' directly if driverMap is empty.
2020-05-15 21:38:40 +08:00
rainzm
47db06ef4d fix(esxi): Set 'WindowsDefaultAdminUser' as true when deploy vm.
'WindowsDefaultAdminUser' means that the default admin account is
'Administrator' when deploy windows vm.
2020-05-15 21:37:19 +08:00
rainzm
8694d85611 fix(region): Set default value if rootdisk's driver is empty. 2020-05-15 21:37:19 +08:00
rainzm
dcb07fa598 fix(esxi): Disable automatically add host to the dvs 2020-05-15 21:37:19 +08:00
rainzm
5731072086 fix(esxi): Set 'IsInit' as true when rebuildroot
IsInit is true will cause cloudinit enable. When rebuilding root, if there is cloudinit service in the image, it will cover the initialization work we did on the rebuilding.
2020-05-15 21:37:19 +08:00
Zexi Li
c038a92dac Merge pull request #6382 from zexi/automated-cherry-pick-of-#6381-upstream-release-3.0
Automated cherry pick of #6381: scheduler: fix min counter get count not correct
2020-05-15 15:28:22 +08:00
Zexi Li
18b21748cb scheduler: fix min counter get count not correct 2020-05-15 15:05:28 +08:00
Zexi Li
4bcd817fa6 Merge pull request #6355 from zexi/automated-cherry-pick-of-#6353-upstream-release-3.0
Automated cherry pick of #6353: scheduler: filter disabled cloudprovider
2020-05-14 18:59:19 +08:00
Zexi Li
1aaf3085a4 Merge pull request #6341 from swordqiu/automated-cherry-pick-of-#6338-upstream-release-3.0
Automated cherry pick of #6338: fix: avoid using background context
2020-05-14 18:19:04 +08:00
Zexi Li
8303918c0e scheduler: filter disabled cloudprovider 2020-05-14 18:14:21 +08:00
Zexi Li
261976d90d Merge pull request #6350 from zexi/automated-cherry-pick-of-#6347-upstream-release-3.0
Automated cherry pick of #6347: scheduler: set schedtag default strategy if input empty
2020-05-14 17:49:27 +08:00
Zexi Li
01edd43400 scheduler: set schedtag default strategy if input empty 2020-05-14 17:26:53 +08:00
Qiu Jian
1eca2fc8ed fix: avoid using background context 2020-05-14 17:06:07 +08:00
yunion-ci-robot
6e7bcf05d4 Merge pull request #6322 from wanyaoqi/automated-cherry-pick-of-#6319-upstream-release-3.0
Automated cherry pick of #6319: do not close worker chan
2020-05-13 20:17:00 +08:00
wanyaoqi
ddc69e575d do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 18:59:32 +08:00
Zexi Li
587aecde18 Merge pull request #6309 from ioito/automated-cherry-pick-of-#6306-upstream-release-3.0
Automated cherry pick of #6306: fix: openstack 安全组规则同步
2020-05-13 12:41:34 +08:00
Zexi Li
d25c879d1c Merge pull request #6295 from ioito/automated-cherry-pick-of-#6292-upstream-release-3.0
Automated cherry pick of #6292: fix: 优化openstack错误处理
2020-05-13 10:42:57 +08:00
Qu Xuan
98ddfda02b fix: openstack 安全组规则同步 2020-05-12 17:56:35 +08:00
Qu Xuan
55fc5d9be2 fix: 优化openstack错误处理 2020-05-12 14:09:55 +08:00
Zexi Li
cd82204a7f Merge pull request #6290 from yousong/automated-cherry-pick-of-#6287-upstream-release-3.0
Automated cherry pick of #6287: region: lbagent: undeploy: make it idempotent
2020-05-12 11:50:39 +08:00
Zexi Li
31cc718842 Merge pull request #6285 from yousong/automated-cherry-pick-of-#6282-upstream-release-3.0
Automated cherry pick of #6282: region: lbagents: fix deleting pending_deleted objects
2020-05-12 11:43:51 +08:00
Yousong Zhou
88b2e7fa0c region: lbagent: undeploy: make it idempotent
Both the following three can result in the same error message "Could not
find the requested service yunion-xx: host"

  -m systemd -a 'name=yunion-xx enabled=no state=stopped daemon_reload=yes'
  -m systemd -a 'name=yunion-xx enabled=no state=stopped daemon_reload=yes force=yes'
  -m service -a 'name=yunion-xx enabled=no state=stopped'

Use of ansibleplaybookv2 is overkill and can break console expectation.
Just turn to shell module for now
2020-05-12 10:39:40 +08:00
Yousong Zhou
14a0027ea6 region: lbagents: fix deleting pending_deleted objects
This was broken since the introduction of virtual object
2020-05-12 10:11:45 +08:00
Zexi Li
bb7926bccc Merge pull request #6273 from zexi/automated-cherry-pick-of-#6270-upstream-release-3.0
Automated cherry pick of #6270: scheduler: get region nil panic
2020-05-11 21:07:49 +08:00
Zexi Li
e51bb96d42 Merge pull request #6261 from ioito/automated-cherry-pick-of-#6258-upstream-release-3.0
Automated cherry pick of #6258: fix: 避免aliyun磁盘计费类型多次转换
2020-05-11 18:17:15 +08:00
Zexi Li
d03c255ddd scheduler: get region nil panic 2020-05-11 18:05:24 +08:00
Qu Xuan
33fda0e75a fix: 避免aliyun磁盘计费类型多次转换 2020-05-11 14:06:51 +08:00
Zexi Li
a1a4a03579 Merge pull request #6254 from swordqiu/automated-cherry-pick-of-#6252-upstream-release-3.0
Automated cherry pick of #6252: fix: panic when disk has no valid storage_id
2020-05-11 10:01:37 +08:00
Qiu Jian
03de2989cc fix: panic when disk has no valid storage_id 2020-05-11 02:57:20 +08:00
Zexi Li
2bc3e418c9 Merge pull request #6250 from wanyaoqi/automated-cherry-pick-of-#6247-upstream-release-3.0
Automated cherry pick of #6247: fix import from libvirt
2020-05-10 21:35:23 +08:00
Zexi Li
5bd3503a57 Merge pull request #6234 from tb365/automated-cherry-pick-of-#6232-upstream-release-3.0
Automated cherry pick of #6232: huawei network id fix
2020-05-10 21:33:35 +08:00
wanyaoqi
3f826aeb65 fix import from libvirt 2020-05-10 20:45:17 +08:00
Zexi Li
ea88c439ab Merge pull request #6245 from yousong/automated-cherry-pick-of-#6242-upstream-release-3.0
Automated cherry pick of #6242: disks: reword error message on bad DiskConfig struct
2020-05-10 11:29:16 +08:00
Yousong Zhou
ef5c87b268 disks: reword error message on bad DiskConfig struct 2020-05-10 00:19:07 +08:00
tangbin
b0f7661d97 huawei network id fix 2020-05-09 20:10:17 +08:00
Zexi Li
3832cf5569 Merge pull request #6228 from yousong/automated-cherry-pick-of-#6225-upstream-release-3.0
Automated cherry pick of #6225: apigateway: handlers: register cloudnet modules
2020-05-09 18:47:52 +08:00
Yousong Zhou
6736f26c97 apigateway: handlers: register cloudnet modules 2020-05-09 16:41:48 +08:00
Zexi Li
7370fbae2c Merge pull request #6187 from zhaoxiangchun/automated-cherry-pick-of-#6185-upstream-release-3.0
Automated cherry pick of #6185: 修复谷歌监控无法获取的问题
2020-05-07 17:21:28 +08:00
zhaoxiangchun
c748528323 修复谷歌监控无法获取的问题
直接返回调用RestAPI的json格式数据
2020-05-07 11:27:35 +08:00
Zexi Li
5796cbab2f Merge pull request #6171 from yousong/automated-cherry-pick-of-#6168-upstream-release-3.0
Automated cherry pick of #6168: dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager
2020-05-07 11:23:24 +08:00
Zexi Li
72ce0c4999 Merge pull request #6177 from swordqiu/automated-cherry-pick-of-#6174-upstream-release-3.0
Automated cherry pick of #6174: fix: fail to fetch real client ip from httprequest
2020-05-07 11:16:31 +08:00
Qiu Jian
6ff01f6025 fix: fail to fetch real client ip from httprequest 2020-05-06 22:27:58 +08:00
Yousong Zhou
a9d2dfd1ed dnsrecords: allow updating only description
This commit includes the following changes

 - Eliminate unused arguments from validateModelData()
 - Remove "records" member of input data unconditionally
 - Allow updates to not include records related parameters, to allow
   updating only "description" without emitting "Empty record" error
2020-05-06 18:43:19 +08:00
Yousong Zhou
6aa03b2931 dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager 2020-05-06 18:43:18 +08:00
yunion-ci-robot
4125b0e217 Merge pull request #6161 from zhaoxiangchun/automated-cherry-pick-of-#6158-upstream-release-3.0
Automated cherry pick of #6158: bugfix mem paginate
2020-05-06 15:44:44 +08:00
zhaoxiangchun
c8f0ee4475 bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-06 11:05:15 +08:00
Zexi Li
459332cf72 Merge pull request #6156 from ioito/automated-cherry-pick-of-#6153-upstream-release-3.0
Automated cherry pick of #6153: fix: secgroupcache权限问题修复
2020-04-30 20:14:12 +08:00
Qu Xuan
3649a8521b fix: secgroupcache权限问题修复 2020-04-30 15:44:23 +08:00
Zexi Li
24d35cff50 Merge pull request #6130 from swordqiu/automated-cherry-pick-of-#6120-upstream-release-3.0
Automated cherry pick of #6120: fix: sysadmin can override policy violation check
2020-04-29 21:15:53 +08:00
Zexi Li
b52a606b70 Merge pull request #6133 from tb365/automated-cherry-pick-of-#6132-upstream-release-3.0
Automated cherry pick of #6132: fix: FindAnonymousStructPoint needs input as a pointer to struct
2020-04-29 19:29:44 +08:00
Qiu Jian
2100133a67 fix: FindAnonymousStructPoint needs input as a pointer to struct 2020-04-29 18:30:40 +08:00
Qiu Jian
e04850d990 fix: sysadmin can override policy violation check 2020-04-29 18:00:14 +08:00
Zexi Li
f9d43f6977 Merge pull request #6114 from swordqiu/automated-cherry-pick-of-#6111-upstream-release-3.0
Automated cherry pick of #6111: fix: prevent policy violation
2020-04-29 13:10:16 +08:00
Zexi Li
df94c1c844 Merge pull request #6098 from ioito/automated-cherry-pick-of-#6095-upstream-release-3.0
Automated cherry pick of #6095: fix: 普通用户可获取rds账号密码
2020-04-29 13:08:18 +08:00
Qiu Jian
412f6abdfa fix: prevent policy violation 2020-04-29 00:07:59 +08:00
yunion-ci-robot
297629da22 Merge pull request #6106 from ioito/automated-cherry-pick-of-#6103-upstream-release-3.0
Automated cherry pick of #6103: fix: 修复openstack存储同步问题
2020-04-28 23:37:35 +08:00
Qu Xuan
f01fb15375 fix: 修复openstack存储同步问题 2020-04-28 14:48:23 +08:00
Qu Xuan
2a1c3802cd fix: 普通用户可获取rds账号密码 2020-04-28 10:43:36 +08:00
Zexi Li
bd374ab962 Merge pull request #6071 from ioito/automated-cherry-pick-of-#6068-upstream-release-3.0
Automated cherry pick of #6068: fix: gcp use project name for cloudprovider
2020-04-27 16:03:29 +08:00
Qu Xuan
6232adda22 fix: gcp use project name for cloudprovider 2020-04-27 14:17:36 +08:00
Zexi Li
9384137bf7 Merge pull request #6065 from rainzm/automated-cherry-pick-of-#6062-upstream-release-3.0
Automated cherry pick of #6062: fix/notify: Add deadline for rpc client
2020-04-27 12:48:11 +08:00
Rain
5a1192601b fix/notify: Add deadline for rpc client 2020-04-27 10:44:57 +08:00
Zexi Li
3b25e37ad6 Merge pull request #6057 from swordqiu/automated-cherry-pick-of-#6006-upstream-release-3.0
Automated cherry pick of #6006: fix: resolve parameter name conflict in google cloud account create input
2020-04-26 23:04:04 +08:00
Qiu Jian
4352752ed0 fix: resolve parameter name conflict in google cloud account create input 2020-04-26 21:53:51 +08:00
Zexi Li
77c3071463 Merge pull request #6048 from tb365/automated-cherry-pick-of-#6042-upstream-release-3.0
Automated cherry pick of #6042: huawei elb cookie timeout fix
2020-04-26 21:06:31 +08:00
tangbin
36d9cb4315 aws elb health check type fix 2020-04-26 20:10:52 +08:00
tangbin
73338fb693 huawei elb cookie timeout fix 2020-04-26 20:10:52 +08:00
yunion-ci-robot
7d97eecc80 Merge pull request #6010 from swordqiu/automated-cherry-pick-of-#6008-upstream-release-3.0
Automated cherry pick of #6008: fix: GetOnPremiseNetworkOfIP should return underlay networks
2020-04-26 19:49:32 +08:00
Zexi Li
17d046ed3a Merge pull request #6031 from ioito/automated-cherry-pick-of-#6028-upstream-release-3.0
Automated cherry pick of #6028: fix: json unmarshal
2020-04-26 18:19:30 +08:00
Qu Xuan
05ae1a345b fix: json unmarshal 2020-04-26 15:52:35 +08:00
yunion-ci-robot
0b93b48c57 Merge pull request #6017 from zexi/automated-cherry-pick-of-#6014-upstream-release-3.0
Automated cherry pick of #6014: scheduler: fix network predicate get wrong free port
2020-04-26 00:30:31 +08:00
Zexi Li
1c5f35b07b scheduler: fix network predicate get wrong free port 2020-04-25 23:28:51 +08:00
Qiu Jian
e02fea3bd2 fix: GetOnPremiseNetworkOfIP should return underlay networks 2020-04-25 16:30:30 +08:00
Zexi Li
76ec5ebec4 Merge pull request #5998 from yousong/automated-cherry-pick-of-#5995-upstream-release-3.0
Automated cherry pick of #5995: lblistener: fix updating lblistener without backend_group field
2020-04-24 18:17:27 +08:00
Yousong Zhou
1a333c4cdb lblistener: fix updating lblistener without backend_group field
Fixes dd01610931 ("lblistener: allow setting http/https listener
backendgroup to empty")
2020-04-24 14:23:24 +08:00
Zexi Li
c5a6b2c988 Merge pull request #5968 from swordqiu/automated-cherry-pick-of-#5966-upstream-release-3.0
Automated cherry pick of #5966: supermicro redfish support
2020-04-23 09:54:39 +08:00
Qiu Jian
83e524e26d remote errors import 2020-04-23 09:30:49 +08:00
Qiu Jian
fdef0e4b51 supermicro redfish support 2020-04-23 09:29:57 +08:00
Zexi Li
198d88394c Merge pull request #5964 from swordqiu/automated-cherry-pick-of-#5961-upstream-release-3.0
Automated cherry pick of #5961: fix: clean pending usage caused by pre-validate-create-data
2020-04-23 00:03:22 +08:00
Zexi Li
eb330da807 Merge pull request #5923 from ioito/automated-cherry-pick-of-#5919-upstream-release-3.0
Automated cherry pick of #5919: fix: 非私有云同步region name
2020-04-22 23:59:53 +08:00
Zexi Li
aff6bf30ab Merge pull request #5934 from ioito/automated-cherry-pick-of-#5931-upstream-release-3.0
Automated cherry pick of #5931: fix: 转换非标准存储类型到lrs
2020-04-22 23:57:32 +08:00
Zexi Li
6a54cc8139 Merge pull request #5949 from tb365/automated-cherry-pick-of-#5945-upstream-release-3.0
Automated cherry pick of #5945: huawei elb sync vpc
2020-04-22 23:56:00 +08:00
Zexi Li
99bdbb37a9 Merge pull request #5953 from zexi/automated-cherry-pick-of-#5951-upstream-release-3.0
Automated cherry pick of #5951: baremetal: ensure power up add retries
2020-04-22 23:52:19 +08:00
Qiu Jian
5635dc65ce fix: clean pending usage caused by pre-validate-create-data 2020-04-22 23:48:54 +08:00
yunion-ci-robot
cae673bee9 Merge pull request #5940 from tb365/automated-cherry-pick-of-#5927-upstream-release-3.0
Automated cherry pick of #5927: remove aws invalid backendgroup
2020-04-22 23:05:06 +08:00
Zexi Li
da6b918399 baremetal: ensure power up add retries 2020-04-22 22:12:50 +08:00
tangbin
fcf1fbc3e8 huawei elb sync vpc 2020-04-22 20:31:11 +08:00
tangbin
033947c780 remove aws invalid backendgroup 2020-04-22 18:58:38 +08:00
Qu Xuan
91c807b4ef fix: 转换非标准存储类型到lrs 2020-04-22 18:54:26 +08:00
Qu Xuan
0f5655db69 fix: 非私有云同步region name 2020-04-22 18:00:26 +08:00
Zexi Li
430ce468ef Merge pull request #5909 from swordqiu/automated-cherry-pick-of-#5906-upstream-release-3.0
Automated cherry pick of #5906: fix: blacklist keystone reset admin password
2020-04-22 15:09:38 +08:00
Qiu Jian
2cd04a148c fix: blacklist keystone reset admin password 2020-04-22 15:03:39 +08:00
Zexi Li
aec1eb7409 Merge pull request #5892 from swordqiu/automated-cherry-pick-of-#5890-upstream-release-3.0
Automated cherry pick of #5890: fix: policy details should carry updated_at and created_at fields
2020-04-22 10:34:40 +08:00
Zexi Li
bf66f68ab4 Merge pull request #5897 from swordqiu/automated-cherry-pick-of-#5895-upstream-release-3.0
Automated cherry pick of #5895: fix: delete idp also delete users/groups in target domain
2020-04-22 10:34:03 +08:00
Zexi Li
53bbc81832 Merge pull request #5887 from ioito/automated-cherry-pick-of-#5884-upstream-release-3.0
Automated cherry pick of #5884: fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:43 +08:00
Qiu Jian
a3776d9f7e fix: delete idp also delete users/groups in target domain 2020-04-22 10:13:51 +08:00
Qiu Jian
0ee4ab61e0 fix: policy details should carry updated_at and created_at fields 2020-04-21 22:42:09 +08:00
Qu Xuan
cd7bc57647 fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:14:59 +08:00
Zexi Li
21e803237a Merge pull request #5867 from tb365/automated-cherry-pick-of-#5865-upstream-release-3.0
Automated cherry pick of #5865: lblis & lbbg & lbr & lbb create add fetch owner id
2020-04-20 20:51:19 +08:00
tangbin
07cd34b501 lblis & lbbg & lbr & lbb create add fetch owner id 2020-04-20 19:26:28 +08:00
Zexi Li
fc9237c5ec Merge pull request #5847 from swordqiu/automated-cherry-pick-of-#5845-upstream-release-3.0
Automated cherry pick of #5845: fix: cloudproviderregion sync ignore panic
2020-04-18 12:02:22 +08:00
Zexi Li
8c78a7627a Merge pull request #5842 from tb365/automated-cherry-pick-of-#5840-upstream-release-3.0
Automated cherry pick of #5840: aws elb create bugfix
2020-04-18 11:59:59 +08:00
Qiu Jian
199b1a2510 fix: cloudproviderregion sync ignore panic 2020-04-17 22:07:10 +08:00
TangBin
9b604cd353 huawei oss client bugfix 2020-04-17 20:47:06 +08:00
TangBin
90889695fe huawei oss client fix & huawei client init fix 2020-04-17 20:47:06 +08:00
tangbin
5149f507d4 aws elb create bugfix 2020-04-17 20:42:02 +08:00
Zexi Li
8c3338454e Merge pull request #5820 from swordqiu/automated-cherry-pick-of-#5818-upstream-release-3.0
Automated cherry pick of #5818: fix: non-redfish baremetal might support jnlp console
2020-04-17 00:05:10 +08:00
Zexi Li
f2c604fd70 Merge pull request #5827 from ioito/automated-cherry-pick-of-#5825-upstream-release-3.0
Automated cherry pick of #5825: fix: 尽量避免secgroup重名问题
2020-04-17 00:03:06 +08:00
Zexi Li
5075c6c471 Merge pull request #5834 from zhaoxiangchun/automated-cherry-pick-of-#5831-upstream-release-3.0
Automated cherry pick of #5831: 修复azure获取不到监控数据的问题
2020-04-17 00:01:17 +08:00
zhaoxiangchun
be5fcc57ca 修复azure获取不到监控数据的问题 2020-04-16 20:12:51 +08:00
Zexi Li
338f5dd681 Merge pull request #5807 from ioito/automated-cherry-pick-of-#5805-upstream-release-3.0
Automated cherry pick of #5805: fix: 优化rds sku list查询速度
2020-04-16 18:01:34 +08:00
Qu Xuan
f0e192f394 fix: 尽量避免secgroup重名问题 2020-04-16 16:41:07 +08:00
Qiu Jian
b94fc93304 fix: non-redfish baremetal might support jnlp console 2020-04-15 23:55:10 +08:00
Qu Xuan
d3ca6cd0a7 fix: 优化rds sku list查询速度 2020-04-15 18:02:16 +08:00
Zexi Li
7647330e24 Merge pull request #5802 from zexi/automated-cherry-pick-of-#5798-upstream-release-3.0
Automated cherry pick of #5798: climc: support k8s service v3.2
2020-04-15 10:38:11 +08:00
Zexi Li
c3f393b244 climc: support k8s service v3.2 2020-04-15 10:37:29 +08:00
Zexi Li
20f0ff7ae0 Merge pull request #5787 from ioito/automated-cherry-pick-of-#5785-upstream-release-3.0
Automated cherry pick of #5785: fix: 避免aliyun access key不可用时返回NotFoundError错误
2020-04-14 10:45:06 +08:00
Qu Xuan
8cedb0711b fix: 避免aliyun access key不可用时返回NotFoundError错误 2020-04-13 18:49:39 +08:00
Zexi Li
ae36b4ef51 Merge pull request #5771 from wanyaoqi/automated-cherry-pick-of-#5769-upstream-release-3.0
Automated cherry pick of #5769: fix host init generate network config
2020-04-13 11:28:56 +08:00
Zexi Li
3803377446 Merge pull request #5762 from tb365/automated-cherry-pick-of-#5759-upstream-release-3.0
Automated cherry pick of #5759: aws elb bugfix
2020-04-13 11:27:38 +08:00
tangbin
68b6259374 aws elb bugfix 2020-04-13 10:28:50 +08:00
Zexi Li
006436ad3f Merge pull request #5782 from swordqiu/automated-cherry-pick-of-#5780-upstream-release-3.0
Automated cherry pick of #5780: fix: host jnlp request fail for idrac9
2020-04-13 09:49:16 +08:00
Qiu Jian
0eaa58cd3e fix: host jnlp request fail for idrac9 2020-04-13 00:10:43 +08:00
yunion-ci-robot
baf91bfa63 Merge pull request #5776 from ioito/automated-cherry-pick-of-#5774-upstream-release-3.0
Automated cherry pick of #5774: fix: azure重装系统删除不必要的参数
2020-04-12 00:37:54 +08:00
Qu Xuan
dcbb72c042 fix: azure重装系统删除不必要的参数 2020-04-11 15:11:34 +08:00
Zexi Li
65edf1e4c8 Merge pull request #5754 from swordqiu/automated-cherry-pick-of-#5745-upstream-release-3.0
Automated cherry pick of #5745: feature: redfish support IDRAC9 baremetal
2020-04-11 13:12:33 +08:00
Zexi Li
9a0b008921 Merge pull request #5767 from yousong/automated-cherry-pick-of-#5765-upstream-release-3.0
Automated cherry pick of #5765: region: lbagent: vrrp.advert_int must be the same inside cluster
2020-04-11 13:04:55 +08:00
Yousong Zhou
737d42aea5 region: lbagent: vrrp.advert_int must be the same inside cluster 2020-04-10 15:55:35 +08:00
wanyaoqi
3a778c0ad2 fix host init generate network config 2020-04-10 15:50:12 +08:00
yunion-ci-robot
52e461dc86 Merge pull request #5742 from yousong/automated-cherry-pick-of-#5740-upstream-release-3.0
Automated cherry pick of #5740: region: lbagents: fix returning error when glob has no match
2020-04-10 09:52:42 +08:00
Qiu Jian
9ea831b4fe feature: redfish support IDRAC9 baremetal 2020-04-09 22:57:12 +08:00
Yousong Zhou
5b35704b62 region: lbagents: fix returning error when glob has no match 2020-04-09 11:08:27 +08:00
Zexi Li
0fa48e0af5 Merge pull request #5728 from tb365/automated-cherry-pick-of-#5726-upstream-release-3.0
Automated cherry pick of #5726: huawei&qcloud&huawei elb bugfix
2020-04-08 21:53:55 +08:00
Zexi Li
bbd0d5ea35 Merge pull request #5735 from swordqiu/automated-cherry-pick-of-#5733-upstream-release-3.0
Automated cherry pick of #5733: fix: idp log connected/disconnected event
2020-04-08 21:51:44 +08:00
Qiu Jian
32a2da0106 fix: idp log connected/disconnected event 2020-04-08 21:26:36 +08:00
tangbin
bba3d575d3 huawei&qcloud&huawei elb bugfix 2020-04-08 20:08:13 +08:00
Zexi Li
ca205ffe94 Merge pull request #5716 from swordqiu/automated-cherry-pick-of-#5714-upstream-release-3.0
Automated cherry pick of #5714: fix: decouple getUserInfo at apigateway from capabilities call
2020-04-08 02:26:14 +08:00
Qiu Jian
01d9cb4ccf fix: decouple getUserInfo at apigateway from capabilities call 2020-04-08 00:05:35 +08:00
Zexi Li
fcabafc742 Merge pull request #5700 from swordqiu/automated-cherry-pick-of-#5698-upstream-release-3.0
Automated cherry pick of #5698: fix: service config changes not effective
2020-04-07 10:38:36 +08:00
Zexi Li
e19c91788c Merge pull request #5706 from wanyaoqi/automated-cherry-pick-of-#5704-upstream-release-3.0
Automated cherry pick of #5704: fix migrate cache cdrom
2020-04-07 10:37:24 +08:00
wanyaoqi
5b9a89d81b fix migrate cache cdrom 2020-04-06 23:19:08 +08:00
Qiu Jian
f685c1b391 fix: service config changes not effective 2020-04-06 16:11:24 +08:00
Zexi Li
089fa77540 Merge pull request #5692 from rainzm/automated-cherry-pick-of-#5691-upstream-release-3.0
Automated cherry pick of #5691: fix(esxi): Fix some question of CheckAndSetCacheImage.
2020-04-05 13:53:07 +08:00
Zexi Li
bf6b6e3f2d Merge pull request #5696 from swordqiu/automated-cherry-pick-of-#5694-upstream-release-3.0
Automated cherry pick of #5694: fix: misc bugs in usage data
2020-04-05 13:52:14 +08:00
Qiu Jian
a53e4d0220 fix: misc bugs in usage data 2020-04-05 08:00:48 +08:00
Rain
fc7240469c fix(esxi): Fix some question of CheckAndSetCacheImage.
1. If there is storagecachedimage in this host's storagecache, use is
instead of another host's one.
2. SrcStorage should be found from srcHost instead host.
2020-04-04 21:53:45 +08:00
Zexi Li
f3e89cc91a Merge pull request #5688 from ioito/automated-cherry-pick-of-#5686-upstream-release-3.0
Automated cherry pick of #5686: fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:30 +08:00
Zexi Li
ac14001b1d Merge pull request #5673 from ioito/automated-cherry-pick-of-#5671-upstream-release-3.0
Automated cherry pick of #5671: fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:46 +08:00
Qu Xuan
7451e9cadb fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:35:55 +08:00
Zexi Li
b0774713a1 Merge pull request #5678 from wanyaoqi/automated-cherry-pick-of-#5676-upstream-release-3.0
Automated cherry pick of #5676: host do not set hostname
2020-04-02 19:07:28 +08:00
wanyaoqi
dde3fd44bf host do not set hostname 2020-04-02 18:13:22 +08:00
Qu Xuan
d08bb2700c fix: 华为云rds使用自身的存储类型 2020-04-02 17:30:06 +08:00
Zexi Li
517bca61c0 Merge pull request #5637 from tb365/automated-cherry-pick-of-#5631-upstream-release-3.0
Automated cherry pick of #5631: elb bugfix
2020-04-02 12:47:36 +08:00
Zexi Li
8465defe65 Merge pull request #5665 from swordqiu/automated-cherry-pick-of-#5662-upstream-release-3.0
Automated cherry pick of #5662: fix: disk/nics usage should exclude those pending_deleted
2020-04-02 12:45:49 +08:00
Zexi Li
129c2195e9 Merge pull request #5661 from wanyaoqi/automated-cherry-pick-of-#5659-upstream-release-3.0
Automated cherry pick of #5659: host session use internal endpoint
2020-04-02 12:43:21 +08:00
Qiu Jian
cebee78ee5 fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:54:45 +08:00
tangbin
c84f5730df elb bugfix 2020-04-01 20:27:36 +08:00
wanyaoqi
0219383e8d host session use internal endpoint 2020-04-01 20:01:30 +08:00
Zexi Li
f4cf25d3e5 Merge pull request #5655 from swordqiu/automated-cherry-pick-of-#5653-upstream-release-3.0
Automated cherry pick of #5653: fix: allow list cloudprovider by default
2020-04-01 18:13:53 +08:00
Zexi Li
28c5dbd1ab Merge pull request #5650 from swordqiu/automated-cherry-pick-of-#5648-upstream-release-3.0
Automated cherry pick of #5648: fix: cancel pending usage might not need to update usage
2020-04-01 18:11:29 +08:00
Qiu Jian
dcc7f2ba5c fix: allow list cloudprovider by default 2020-04-01 17:46:16 +08:00
Qiu Jian
3c4e953843 fix: cancel pending usage might not need to update usage 2020-04-01 16:53:17 +08:00
Zexi Li
bee1582654 Merge pull request #5642 from swordqiu/automated-cherry-pick-of-#5640-upstream-release-3.0
Automated cherry pick of #5640: fix: changes to request_work_count cause apigateway restart
2020-04-01 10:23:32 +08:00
Qiu Jian
f0a6c20c43 fix: changes to request_work_count cause apigateway restart 2020-04-01 10:20:05 +08:00
yunion-ci-robot
3dfce69dbc Merge pull request #5627 from swordqiu/automated-cherry-pick-of-#5623-upstream-release-3.0
Automated cherry pick of #5623: fix: worker may block by worker_chan
2020-03-31 10:29:45 +08:00
Qiu Jian
8c4f18b11f fix: worker may block by worker_chan 2020-03-31 09:52:00 +08:00
Zexi Li
69c2de1fd9 Merge pull request #5621 from swordqiu/automated-cherry-pick-of-#5616-upstream-release-3.0
Automated cherry pick of #5616: fix: increase apigateway default worker count to 32
2020-03-30 19:22:49 +08:00
Qiu Jian
c5ecdd6a42 fix: increase apigateway default worker count to 32 2020-03-30 19:08:43 +08:00
yunion-ci-robot
a79aaaedc7 Merge pull request #5611 from swordqiu/automated-cherry-pick-of-#5608-upstream-release-3.0
Automated cherry pick of #5608: fix: allow list loadbalancer cluster by default
2020-03-28 09:47:41 +08:00
Qiu Jian
b58f78a0c9 fix: allow list loadbalancer cluster by default 2020-03-28 09:05:08 +08:00
Zexi Li
8d9a76e3b3 Merge pull request #5603 from ioito/automated-cherry-pick-of-#5601-upstream-release-3.0
Automated cherry pick of #5601: fix: 修正gcp不支持预付费资源
2020-03-26 20:33:13 +08:00
Qu Xuan
173a8d6d4f fix: 修正gcp不支持预付费资源 2020-03-26 20:02:06 +08:00
Zexi Li
08bf822d17 Merge pull request #5596 from ioito/hotfix/qx-lb-provider
fix: 避免onecloud lb未返回provider及brand信息
2020-03-26 10:41:41 +08:00
Qu Xuan
2bd5b61b61 fix: 避免onecloud lb未返回provider及brand信息 2020-03-25 18:25:29 +08:00
Zexi Li
41d61a77ce Merge pull request #5583 from yousong/automated-cherry-pick-of-#5581-upstream-release-3.0
Automated cherry pick of #5581: webconsole: typo fix accessable -> accessible
2020-03-23 21:14:24 +08:00
Yousong Zhou
ce86a155f8 httperrors: fix passing "params" argument 2020-03-23 16:41:53 +08:00
Yousong Zhou
503b6f0a2a webconsole: typo fix accessable -> accessible 2020-03-23 16:41:53 +08:00
Zexi Li
a5dc903c13 Merge pull request #5580 from zexi/automated-cherry-pick-of-#5577-upstream-release-3.0
Automated cherry pick of #5577: climc: k8s storageclass support
2020-03-23 10:53:14 +08:00
Zexi Li
f8dcc93262 climc: k8s storageclass support 2020-03-23 10:53:41 +08:00
Zexi Li
8085764f20 Merge pull request #5573 from wanyaoqi/automated-cherry-pick-of-#5571-upstream-release-3.0
Automated cherry pick of #5571: guest add metadata cpu mode
2020-03-20 19:39:31 +08:00
wanyaoqi
e8b342dfb2 guest add metadata cpu mode
- live migrate if guest cpu mode is qemu, do not check host cpu mode
- disk name generation replace '_' to '-'
2020-03-20 15:14:36 +08:00
Zexi Li
1a58515573 Merge pull request #5557 from rainzm/automated-cherry-pick-of-#5555-upstream-release-3.0
Automated cherry pick of #5555: feat(notify): Compatibility and repair
2020-03-19 10:06:25 +08:00
yunion-ci-robot
439a02d9c8 Merge pull request #5492 from ioito/automated-cherry-pick-of-#5490-upstream-release-3.0
Automated cherry pick of #5490: fix: class action 统一使用keywords包裹
2020-03-19 08:48:20 +08:00
Rain
8e767cc984 feat(notify): Compatibility and repair 2020-03-18 20:59:25 +08:00
Zexi Li
e444d5e797 Merge pull request #5547 from swordqiu/automated-cherry-pick-of-#5545-upstream-release-3.0
Automated cherry pick of #5545: fix: policy fetcher not retry after initial failure
2020-03-18 10:53:08 +08:00
Qu Xuan
6022e2da2e fix: class action 统一使用keywords包裹 2020-03-17 18:44:31 +08:00
Qiu Jian
dc51ab2ee0 fix: policy fetcher not retry after initial failure 2020-03-17 18:31:00 +08:00
Zexi Li
105c0a1714 Merge pull request #5508 from swordqiu/automated-cherry-pick-of-#5506-upstream-release-3.0
Automated cherry pick of #5506: fix: recode cloudprovider usable filter
2020-03-17 11:39:52 +08:00
yunion-ci-robot
69029c088a Merge pull request #5531 from ioito/automated-cherry-pick-of-#5529-upstream-release-3.0
Automated cherry pick of #5529: fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:21:15 +08:00
yunion-ci-robot
cd996659ac Merge pull request #5538 from ioito/automated-cherry-pick-of-#5536-upstream-release-3.0
Automated cherry pick of #5536: fix: 修复谷歌云 cloud-provider-clirc 显示错误问题
2020-03-17 08:12:15 +08:00
Qu Xuan
439e9c23f8 fix: 修复谷歌云 cloud-provider-clirc 显示错误问题 2020-03-16 20:10:04 +08:00
Zexi Li
a259eb1112 Merge pull request #5525 from ioito/automated-cherry-pick-of-#5452-upstream-release-3.0
Automated cherry pick of #5452: fix: 优化rds sku同步逻辑
2020-03-16 18:25:35 +08:00
Zexi Li
c76ca51af5 Merge pull request #5499 from zhaoxiangchun/automated-cherry-pick-of-#5496-upstream-release-3.0
Automated cherry pick of #5496: vmware 宿主机监控信息获取
2020-03-16 12:57:40 +08:00
Qu Xuan
286e001dac fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:30:16 +08:00
Qu Xuan
1eb3abf5a1 fix: 优化rds sku同步逻辑 2020-03-16 10:34:13 +08:00
yunion-ci-robot
f51e7d0c7f Merge pull request #5521 from ioito/automated-cherry-pick-of-#5519-upstream-release-3.0
Automated cherry pick of #5519: fix: 避免未传递prority参数导致校验未通过
2020-03-16 09:08:12 +08:00
Qu Xuan
b927fa5708 fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:13:16 +08:00
yunion-ci-robot
9211beb905 Merge pull request #5514 from zexi/automated-cherry-pick-of-#5511-upstream-release-3.0
Automated cherry pick of #5511: scheduler: fix disk allocated not balanced
2020-03-14 17:50:05 +08:00
Zexi Li
8d60b07d80 scheduler: fix disk allocated not balanced 2020-03-14 16:51:15 +08:00
Qiu Jian
39b5d08f14 fix: recode cloudprovider usable filter 2020-03-14 09:06:32 +08:00
Zexi Li
5b4ab09678 Merge pull request #5503 from zexi/automated-cherry-pick-of-#5501-upstream-release-3.0
Automated cherry pick of #5501: auth: check isAuthed if nil
2020-03-13 19:18:22 +08:00
Zexi Li
26802683ce auth: check isAuthed if nil 2020-03-13 19:19:44 +08:00
zhaoxiangchun
25a537c743 vmware 宿主机监控信息获取 2020-03-13 17:22:59 +08:00
yunion-ci-robot
4538ee2487 Merge pull request #5477 from rainzm/automated-cherry-pick-of-#5454-upstream-release-3.0
Automated cherry pick of #5454: fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:34:02 +08:00
yunion-ci-robot
e2e33ef7af Merge pull request #5487 from wanyaoqi/automated-cherry-pick-of-#5484-upstream-release-3.0
Automated cherry pick of #5484: download handler set no timeout
2020-03-13 14:33:02 +08:00
wanyaoqi
5e3270b7f4 download handler set no timeout 2020-03-13 11:42:14 +08:00
Zexi Li
f282022f9e Merge pull request #5482 from rainzm/automated-cherry-pick-of-#5480-upstream-release-3.0
Automated cherry pick of #5480: fix(esxi): VlanID '1' is default value
2020-03-13 11:11:23 +08:00
Rain
d02dae88f2 fix(esxi): VlanID '1' is default value 2020-03-12 20:59:03 +08:00
Rain
650745ef1f fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:24:18 +08:00
Zexi Li
40cdc198c8 Merge pull request #5461 from bistuzx/automated-cherry-pick-of-#5459-upstream-release-3.0
Automated cherry pick of #5459: add bucket connection test
2020-03-12 16:20:26 +08:00
张旭
a4ef41c5bb change climc bucket options import 2020-03-12 12:27:31 +08:00
张旭
698fc0e1cb add bucket connection test 2020-03-12 12:27:31 +08:00
Zexi Li
2c35de74c8 Merge pull request #5465 from rainzm/feat/vendor_3.0
feat: Update Vendor for release/3.0
2020-03-12 11:48:34 +08:00
Rain
f70d781f0d feat: Update Vendor for release/3.0 2020-03-12 11:46:31 +08:00
yunion-ci-robot
a8ea730823 Merge pull request #5445 from rainzm/automated-cherry-pick-of-#5444-upstream-release-3.0
Automated cherry pick of #5444: fix(esxi): UnitNumber 7 is unavailable for scsi controller
2020-03-12 02:54:01 +08:00
yunion-ci-robot
f4f34c1c3d Merge pull request #5440 from rainzm/automated-cherry-pick-of-#5439-upstream-release-3.0
Automated cherry pick of #5439: fix(esxi): Fix bugs when using network with vlanID
2020-03-12 02:48:01 +08:00
Zexi Li
05ea4797d8 Merge pull request #5449 from zexi/automated-cherry-pick-of-#5447-upstream-release-3.0
Automated cherry pick of #5447: region: host update storage set enabled
2020-03-11 15:58:28 +08:00
Zexi Li
494c540ac1 region: host update storage set enabled 2020-03-11 15:59:05 +08:00
Rain
e0838efff8 fix(esxi): UnitNumber 7 is unavailable for scsi controller
By default, the virtual SCSI controller is assigned to virtual device node (z:7),
so that device node is unavailable for hard disks or other devices.
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.vm_admin.doc/GUID-5872D173-A076-42FE-8D0B-9DB0EB0E7362.html
2020-03-11 15:17:33 +08:00
Rain
f3f449f27a fix(esxi): Fix bugs when using network with vlanID 2020-03-11 11:02:31 +08:00
Zexi Li
ce74310ca1 Merge pull request #5421 from swordqiu/automated-cherry-pick-of-#5419-upstream-release-3.0
Automated cherry pick of #5419: fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:46:02 +08:00
yunion-ci-robot
4ee1079d95 Merge pull request #5431 from ioito/automated-cherry-pick-of-#5429-upstream-release-3.0
Automated cherry pick of #5429: fix: typo for sku sync
2020-03-10 11:14:57 +08:00
yunion-ci-robot
3dbaa6daba Merge pull request #5427 from rainzm/automated-cherry-pick-of-#5424-upstream-release-3.0
Automated cherry pick of #5424: fix(esxi): Add two account with same account name
2020-03-10 11:03:59 +08:00
Qu Xuan
64b9bac4a9 fix: typo for sku sync 2020-03-09 19:59:04 +08:00
Rain
75410934fe fix(esxi): Add two account with same account name 2020-03-09 17:58:56 +08:00
Qiu Jian
fae4cf63e2 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 15:58:13 +08:00
Zexi Li
0cd71ca469 Merge pull request #5416 from zexi/automated-cherry-pick-of-#5414-upstream-release-3.0
Automated cherry pick of #5414: opslog: notes use text column
2020-03-09 12:36:28 +08:00
Zexi Li
2326f8e397 Merge pull request #5400 from swordqiu/automated-cherry-pick-of-#5398-upstream-release-3.0
Automated cherry pick of #5398: fix: not check domain quota if non_default_domain_project is off
2020-03-09 12:31:54 +08:00
Zexi Li
5e39414807 opslog: notes use text column 2020-03-09 12:31:28 +08:00
Zexi Li
2c3340db6d Merge pull request #5405 from swordqiu/automated-cherry-pick-of-#5403-upstream-release-3.0
Automated cherry pick of #5403: fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:34 +08:00
Zexi Li
54aff23fd2 Merge pull request #5410 from swordqiu/automated-cherry-pick-of-#5408-upstream-release-3.0
Automated cherry pick of #5408: feature: climc docker image add vim
2020-03-09 09:28:01 +08:00
Qiu Jian
c500036b1a feature: climc docker image add vim 2020-03-08 22:47:29 +08:00
Qiu Jian
51fdaed08c fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 16:14:10 +08:00
Qiu Jian
1e58907468 fix: not check domain quota if non_default_domain_project is off 2020-03-07 18:17:15 +08:00
Zexi Li
4e7202af40 Merge pull request #5394 from swordqiu/automated-cherry-pick-of-#5392-upstream-release-3.0
Automated cherry pick of #5392: fix: scoped resource should override FetchOwnerId
2020-03-07 15:51:45 +08:00
Qiu Jian
444c2bc56e fix: scoped resource should override FetchOwnerId 2020-03-07 15:42:13 +08:00
Zexi Li
ae5f1e308b Merge pull request #5390 from swordqiu/automated-cherry-pick-of-#5388-upstream-release-3.0
Automated cherry pick of #5388: fix: keystone prefers internal endpoint type
2020-03-06 22:22:55 +08:00
Qiu Jian
12ce1a0056 fix: keystone prefers internal endpoint type 2020-03-06 21:46:30 +08:00
yunion-ci-robot
90008ff727 Merge pull request #5384 from rainzm/automated-cherry-pick-of-#5378-upstream-release-3.0
Automated cherry pick of #5378: fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
2020-03-06 19:17:50 +08:00
Zexi Li
565696ca54 Merge pull request #5374 from swordqiu/automated-cherry-pick-of-#5372-upstream-release-3.0
Automated cherry pick of #5372: fix: no scope shcedtag should be visible to all
2020-03-06 18:32:33 +08:00
yunion-ci-robot
ae0de12280 Merge pull request #5381 from tb365/automated-cherry-pick-of-#5379-upstream-release-3.0
Automated cherry pick of #5379: huawei reset password bugfix
2020-03-06 18:12:51 +08:00
Rain
bf4ca9c7f4 fix: Add 'scope=system' and 'system' for Caches when querying from Keystone.
1. Query 'scope=system' and 'system=true' is neccessary when fetching all users
   or groups from Keystone.
   Without these, users and groups in other domains (non-caller domains),
   as well as system-level users, cannot be detected.
2. Query 'scope=system' is neccessary when fetching all project from Keystone.
2020-03-06 17:16:23 +08:00
TangBin
f50ffc31a7 ctyun region name fix 2020-03-06 16:51:58 +08:00
TangBin
9a7cad2507 huawei reset password bugfix 2020-03-06 16:51:57 +08:00
Qiu Jian
4efe569446 fix: no scope shcedtag should be visible to all 2020-03-06 15:23:51 +08:00
Zexi Li
ed512d2881 Merge pull request #5368 from rainzm/automated-cherry-pick-of-#5366-upstream-release-3.0
Automated cherry pick of #5366: fix/notify: Fix the resend mechanism
2020-03-06 12:46:08 +08:00
Rain
61d9bd3da9 fix/notify: Fix the resend mechanism 2020-03-06 11:12:59 +08:00
yunion-ci-robot
8e9cd48302 Merge pull request #5356 from rainzm/automated-cherry-pick-of-#5353-upstream-release-3.0
Automated cherry pick of #5353: feature(notify): Add query and return value for contact UPDATE interface
2020-03-05 19:03:51 +08:00
Rain
897410d87f fix the conflict 2020-03-05 17:44:38 +08:00
Rain
cf1ae4cac3 feature(notify): Add query and return value for contact UPDATE interface
1. Add same return value with contact GET interface when updating
2. Add pull params for query to pull subcontact by mobile number.
   For example, pull user_id from dingtalk throught user's mobile
   number.
3. Add corresponding feature based on above for climc.
4. UserCache will try FetchByName if there is no id matched user when
   fetching users from KeyStone.
2020-03-05 17:43:28 +08:00
Zexi Li
f8358cdde2 Merge pull request #5348 from swordqiu/hotfix/qj-update-autogen-struct-json-fieldname-for-3.0
fix: update autogen struct json fieldname for release/3.0
2020-03-05 14:08:02 +08:00
Qiu Jian
2e51e8d7e8 update autogen struct with comment lines 2020-03-04 21:24:48 +08:00
yunion-ci-robot
7b7d197939 Merge pull request #5345 from ioito/automated-cherry-pick-of-#5343-upstream-release-3.0
Automated cherry pick of #5343: fix: 支持aws rds sync
2020-03-04 20:50:12 +08:00
Qiu Jian
d019dded59 fix: update autogen struct json fieldname for release/3.0 2020-03-04 20:29:55 +08:00
Qu Xuan
6ee9a428d4 fix: 支持aws rds sync 2020-03-04 20:10:43 +08:00
Zexi Li
fe096bc117 Merge pull request #5337 from swordqiu/automated-cherry-pick-of-#5336-upstream-release-3.0
Automated cherry pick of #5336: fix: keystone user password history check should skip system account
2020-03-04 19:16:22 +08:00
Qiu Jian
bf9bcb191d fix: keystone user password history check should skip system account 2020-03-04 18:37:57 +08:00
Zexi Li
cc0377dafb Merge pull request #5326 from swordqiu/automated-cherry-pick-of-#5324-upstream-release-3.0
Automated cherry pick of #5324: fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:23 +08:00
yunion-ci-robot
dce85ee9ee Merge pull request #5317 from ioito/automated-cherry-pick-of-#5315-upstream-release-3.0
Automated cherry pick of #5315: fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:22:43 +08:00
Qiu Jian
bc3ce3d2a1 fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:13:15 +08:00
Qu Xuan
27bb5eaa2b fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:09:37 +08:00
Zexi Li
c630607066 Merge pull request #5314 from wanyaoqi/automated-cherry-pick-of-#5312-upstream-release-3.0
Automated cherry pick of #5312: fix get remote address because of request is proxyed by k8s
2020-02-28 23:57:25 +08:00
yunion-ci-robot
e2762d75ca Merge pull request #5272 from zhaoxiangchun/automated-cherry-pick-of-#5268-upstream-release-3.0
Automated cherry pick of #5268: 谷歌云multicloud监控
2020-02-28 23:17:29 +08:00
wanyaoqi
03f4cf19ed fix get remote address because of request is proxyed by k8s 2020-02-28 22:27:47 +08:00
yunion-ci-robot
c4bbd519bc Merge pull request #5309 from ioito/automated-cherry-pick-of-#5307-upstream-release-3.0
Automated cherry pick of #5307: 修复aliyun没有权限获取余额问题
2020-02-28 22:02:28 +08:00
yunion-ci-robot
79b03d99c6 Merge pull request #5288 from wanyaoqi/automated-cherry-pick-of-#5286-upstream-release-3.0
Automated cherry pick of #5286: host register use default vpc
2020-02-28 21:54:21 +08:00
yunion-ci-robot
32da0918ba Merge pull request #5300 from tb365/bugfix/tb-bugfix-022803
vpc list add param vpc_usable
2020-02-28 21:23:19 +08:00
yunion-ci-robot
e6128db1a4 Merge pull request #5283 from wanyaoqi/automated-cherry-pick-of-#5255-upstream-release-3.0
Automated cherry pick of #5255: fix nic get pci address
2020-02-28 21:08:21 +08:00
yunion-ci-robot
fe5a701849 Merge pull request #5279 from ioito/automated-cherry-pick-of-#5277-upstream-release-3.0
Automated cherry pick of #5277: fix: 新加gcp region 翻译
2020-02-28 20:50:20 +08:00
Qu Xuan
9d2bf8556c 修复aliyun没有权限获取余额问题 2020-02-28 19:55:53 +08:00
wanyaoqi
90ee7c2934 host register use default vpc 2020-02-28 18:37:31 +08:00
TangBin
bff54a22fd vpc list add param vpc_usable 2020-02-28 14:47:56 +08:00
yunion-ci-robot
a166467f75 Merge pull request #5292 from ioito/automated-cherry-pick-of-#5290-upstream-release-3.0
Automated cherry pick of #5290: 添加azure region city信息
2020-02-28 13:16:20 +08:00
Qu Xuan
87377deee7 添加azure region city信息 2020-02-28 11:37:23 +08:00
wanyaoqi
1ade0a645f fix nic get pci address 2020-02-27 22:56:04 +08:00
zhaoxiangchun
ad79f8a557 谷歌云multicloud监控
monitor.go文件中GetMonitorData函数:
 1)首先组装参数信息
 2)通过external_id获取相关id信息,根据restAPI文档中的resource格式拼装完成monitoring相关的resource信息
 3)然后通过monitorList函数获取相关的监控信息

更新go.mod google.golang.org所依赖的google.golang.org/api版本
2020-02-27 19:34:34 +08:00
Qu Xuan
4b1e038ac6 fix: 新加gcp region 翻译 2020-02-27 18:55:07 +08:00
yunion-ci-robot
cf8426fad0 Merge pull request #5264 from rainzm/automated-cherry-pick-of-#5263-upstream-release-3.0
Automated cherry pick of #5263: fix(esxiagent): SSHKey was not unmarshalled correctly
2020-02-27 07:13:13 +08:00
yunion-ci-robot
3cf9b22ae4 Merge pull request #5240 from wanyaoqi/automated-cherry-pick-of-#5238-upstream-release-3.0
Automated cherry pick of #5238: fix host init set reserve memory
2020-02-26 23:03:15 +08:00
yunion-ci-robot
bb8b474b59 Merge pull request #5253 from swordqiu/automated-cherry-pick-of-#5252-upstream-release-3.0
Automated cherry pick of #5252: fix: use globalEndpointType as default endpoint type
2020-02-26 21:03:17 +08:00
wanyaoqi
1a2826d37b makesure /etc/ceph created before connect 2020-02-26 20:45:47 +08:00
Rain
02758cf5e2 fix(esxiagent): SSHKey was not unmarshalled correctly 2020-02-26 20:11:33 +08:00
yunion-ci-robot
5ebf23518d Merge pull request #5233 from ioito/automated-cherry-pick-of-#5231-upstream-release-3.0
Automated cherry pick of #5231: fix: 添加磁盘回滚snapshot日志
2020-02-26 16:00:15 +08:00
yunion-ci-robot
90a6b15c79 Merge pull request #5244 from ioito/automated-cherry-pick-of-#5242-upstream-release-3.0
Automated cherry pick of #5242: fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-26 10:18:13 +08:00
yunion-ci-robot
ac6a4169c3 Merge pull request #5249 from ioito/automated-cherry-pick-of-#5247-upstream-release-3.0
Automated cherry pick of #5247: fix: 返回azure api 错误信息
2020-02-25 21:06:22 +08:00
Qiu Jian
9082f913c2 fix: use globalEndpointType as default endpoint type 2020-02-25 20:46:50 +08:00
Qu Xuan
c05188ef50 fix: 返回azure api 错误信息 2020-02-25 19:31:30 +08:00
Qu Xuan
b69f4b50fb fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:40:30 +08:00
wanyaoqi
b3b80fbeef fix host register get network filter: add server_type baremetal 2020-02-25 11:33:01 +08:00
wanyaoqi
9bd0d49baa fix guest network get desc 2020-02-25 11:33:01 +08:00
wanyaoqi
23bfba422d fix host init set reserve memory 2020-02-25 11:28:32 +08:00
Qu Xuan
6fa93c25ad fix: 添加磁盘回滚snapshot日志 2020-02-24 16:07:52 +08:00
yunion-ci-robot
12f3df951e Merge pull request #5228 from rainzm/automated-cherry-pick-of-#5186-upstream-release-3.0
Automated cherry pick of #5186: feature(notify): Validate config
2020-02-24 15:27:08 +08:00
Rain
eabed8d47d feature(notify): Validate config 2020-02-24 14:11:56 +08:00
Zexi Li
09e63478c6 Merge pull request #5211 from swordqiu/automated-cherry-pick-of-#5208-upstream-release-3.0
Automated cherry pick of #5208: fix: reset paging limit to 2048 from 20
2020-02-21 16:46:09 +08:00
Zexi Li
3590253480 Merge pull request #5219 from rainzm/automated-cherry-pick-of-#5217-upstream-release-3.0
Automated cherry pick of #5217: fix: Storage filter not work for Esxi
2020-02-21 16:44:42 +08:00
yunion-ci-robot
cd02610f23 Merge pull request #5206 from tb365/automated-cherry-pick-of-#5199-upstream-release-3.0
Automated cherry pick of #5199: cloud region city list add default limit 2048
2020-02-21 15:56:39 +08:00
Rain
d2d551e6cd fix: Storage filter not work for Esxi
1. SESXiGuestDriver.DoScheduleStorageFilter should return true.
2. ESXi's SHost.GetStorageSizeMB should return the capacity of all the
storage belonging to it.
2020-02-21 15:13:49 +08:00
yunion-ci-robot
0d5dbf62b8 Merge pull request #5215 from ioito/automated-cherry-pick-of-#5213-upstream-release-3.0
Automated cherry pick of #5213: fix: 添加gcp region中文翻译
2020-02-20 21:16:33 +08:00
yunion-ci-robot
de59d8895a Merge pull request #5201 from ioito/automated-cherry-pick-of-#5198-upstream-release-3.0
Automated cherry pick of #5198: fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 21:01:28 +08:00
yunion-ci-robot
f9573c4cbf Merge pull request #5193 from ioito/automated-cherry-pick-of-#5191-upstream-release-3.0
Automated cherry pick of #5191: fix: add aliyun new region info
2020-02-20 18:19:28 +08:00
Qu Xuan
b3d1bfea0c fix: 添加gcp region中文翻译 2020-02-20 17:39:05 +08:00
TangBin
7667ed425e huawei cloud create bugfix 2020-02-20 15:40:17 +08:00
TangBin
20ce2ca01f huawei cloud create bugfix 2020-02-20 15:39:43 +08:00
TangBin
32cdc3e2cd cloud region city list add default limit 2048 2020-02-20 15:39:43 +08:00
yunion-ci-robot
9fb1f6c224 Merge pull request #5189 from ioito/automated-cherry-pick-of-#5187-upstream-release-3.0
Automated cherry pick of #5187: fix: 填充gcp disk_format字段
2020-02-20 15:30:31 +08:00
Qiu Jian
4d44569f40 fix: reset paging limit to 2048 from 20 2020-02-20 15:21:03 +08:00
Qu Xuan
5a14e40ba4 fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:55:51 +08:00
Qu Xuan
1081410846 fix: add aliyun new region info 2020-02-20 11:07:36 +08:00
Qu Xuan
942ff1d661 fix: 填充gcp disk_format字段 2020-02-20 10:46:11 +08:00
yunion-ci-robot
ef6e90f9cb Merge pull request #5184 from tb365/automated-cherry-pick-of-#5181-upstream-release-3.0
Automated cherry pick of #5181: aws listener sync fix
2020-02-19 19:18:28 +08:00
tangbin
8bdf8807de huawei http listener sync fix 2020-02-19 18:47:56 +08:00
tangbin
81eab50f3b aws rebuild root fix 2020-02-19 18:47:56 +08:00
tangbin
8c21e3313e aws listener sync fix 2020-02-19 18:47:56 +08:00
yunion-ci-robot
91d09aeba4 Merge pull request #5179 from rainzm/automated-cherry-pick-of-#5178-upstream-release-3.0
Automated cherry pick of #5178: fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
2020-02-19 17:51:29 +08:00
Rain
c040ed5d74 fix(esxi): No distinction between ordinary scsi and pvscsi when creating disks
parascsi 是 vmware 中一种高性能的 scsi 控制器。

在此之前,scsi 只包括 "lsilogic", "lsilogicsas", "buslogic"; 而别名为 pvscsi
的 parascsi 没有被包含进来;并且,一个 pci controller只能挂一个 scsi controller,
这会导致如果在一个拥有 pvscsi 的机器上添加普通scsi驱动类型的磁盘,就会替换驱动;
反之亦然。这会导致驱动的 key 不是我们指定的key,并且在添加磁盘的时候替换驱动的
类型有些随意。再者,我们的驱动类型的选择其实并没有暴露给前端。

所以,在寻找相应的controller时,将 parascsi 也纳入 scsi 类型。
尽量避免在创建磁盘的时候做硬件的改动,所以在创建磁盘的时候不区分 scsi
还是 pvscsi,如果两种 controller 均没有,就按照请求的类型创建一个。

此外,在 CloneVM 的时候,如果支持,优先使用 parascsi。
2020-02-19 16:58:27 +08:00
yunion-ci-robot
8b8f57e0f7 Merge pull request #5149 from tb365/automated-cherry-pick-of-#5145-upstream-release-3.0
Automated cherry pick of #5145: qcloud elb sync
2020-02-19 16:07:29 +08:00
Yousong Zhou
5c098c6445 Merge pull request #5176 from swordqiu/automated-cherry-pick-of-#5173-upstream-release-3.0
Automated cherry pick of #5173: fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:43 +08:00
yunion-ci-robot
f4673ee5fc Merge pull request #5165 from tb365/automated-cherry-pick-of-#5162-upstream-release-3.0
Automated cherry pick of #5162: huawei elb backend vpc validate fix
2020-02-19 13:43:29 +08:00
yunion-ci-robot
410e575d8a Merge pull request #5169 from ioito/automated-cherry-pick-of-#5167-upstream-release-3.0
Automated cherry pick of #5167: fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:35:27 +08:00
yunion-ci-robot
16b053349b Merge pull request #5172 from yousong/automated-cherry-pick-of-#5159-upstream-release-3.0
Automated cherry pick of #5159: region: lbagent: deploy: use 'public' endpoint type
2020-02-19 12:04:27 +08:00
Qiu Jian
4937dec5f3 fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 12:02:14 +08:00
Zexi Li
19b98799a0 Merge pull request #5157 from swordqiu/automated-cherry-pick-of-#5156-upstream-release-3.0
Automated cherry pick of #5156: fix: add climc helper scripts into docker images
2020-02-19 02:32:51 +08:00
Zexi Li
ce44e085f8 Merge pull request #5154 from swordqiu/automated-cherry-pick-of-#5151-upstream-release-3.0
Automated cherry pick of #5151: fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20
2020-02-19 02:30:04 +08:00
Yousong Zhou
349c26f39a lbagent: fix config for sticky session cookie
- account for user specific cookie name for insert mode
 - dont tamper cache instructions from backend server for server mode
2020-02-18 20:55:34 +08:00
Yousong Zhou
76d40b0ceb region: lbagent: deploy: use 'public' endpoint type 2020-02-18 20:55:34 +08:00
Qu Xuan
095b70af37 fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:39:26 +08:00
yunion-ci-robot
d090073168 Merge pull request #5140 from ioito/automated-cherry-pick-of-#5138-upstream-release-3.0
Automated cherry pick of #5138: fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:45:39 +08:00
tangbin
19fda5387f huawei elb backend vpc validate fix 2020-02-18 14:21:02 +08:00
yunion-ci-robot
617cd67b1c Merge pull request #5134 from zhaoxiangchun/automated-cherry-pick-of-#5132-upstream-release-3.0
Automated cherry pick of #5132: zstack监控功能
2020-02-18 12:06:44 +08:00
Qiu Jian
ae63c797d4 fix: add climc helper scripts into docker images 2020-02-18 10:16:56 +08:00
Qiu Jian
51e2c1114a fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20 2020-02-18 08:55:23 +08:00
TangBin
518405e0ca qcloud elb sync 2020-02-17 22:32:25 +08:00
Qu Xuan
e75c0e0fbf fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:52:34 +08:00
zhaoxiangchun
0c8fc8cf77 zstack监控功能
monitor.go中GetMonitorData函数通过传入的参数拼装请求参数,然后调用zstack.go中的getMonitor(),通过GET请求,获取相应的指标监控数据
2020-02-17 12:02:37 +08:00
yunion-ci-robot
5a2ecc2a1e Merge pull request #5122 from rainzm/automated-cherry-pick-of-#5121-upstream-release-3.0
Automated cherry pick of #5121: fix(esxiagent): Delete image backup file after saving to glance instead of before
2020-02-14 17:42:05 +08:00
Rain
8437d918de fix(esxiagent): Delete image backup file after saving to glance instead of before 2020-02-14 17:16:42 +08:00
yunion-ci-robot
ad9f85ede8 Merge pull request #5119 from ioito/automated-cherry-pick-of-#5117-upstream-release-3.0
Automated cherry pick of #5117: fix: 谷歌新加region翻译
2020-02-14 16:11:04 +08:00
Qu Xuan
e21994d9eb fix: 谷歌新加region翻译 2020-02-14 14:45:00 +08:00
yunion-ci-robot
8eca54f6a7 Merge pull request #5109 from rainzm/automated-cherry-pick-of-#5106-upstream-release-3.0
Automated cherry pick of #5106: fix(notify): Set some default template
2020-02-14 12:21:04 +08:00
yunion-ci-robot
7db5fe8ef7 Merge pull request #5113 from zexi/automated-cherry-pick-of-#5111-upstream-release-3.0
Automated cherry pick of #5111: region: server list by host sn
2020-02-14 12:08:05 +08:00
Zexi Li
320a233155 region: server list by host sn 2020-02-13 21:15:01 +08:00
Rain
60861d4983 fix(notify): Set some default template 2020-02-13 16:53:52 +08:00
yunion-ci-robot
599345c5f0 Merge pull request #5091 from rainzm/automated-cherry-pick-of-#5087-upstream-release-3.0
Automated cherry pick of #5087: fix(esxi): Create one if no suitable driver when creating disk
2020-02-13 14:37:02 +08:00
yunion-ci-robot
9159eae068 Merge pull request #5095 from bistuzx/automated-cherry-pick-of-#5092-upstream-release-3.0
Automated cherry pick of #5092: update account bucket options
2020-02-13 03:48:03 +08:00
张旭
8dc56cd712 update account bucket options 2020-02-12 18:28:58 +08:00
Rain
06ef435ffc fix: resolve compatibility issues 2020-02-12 17:18:10 +08:00
Rain
af4cab0d4e fix(esxi): Create one if no suitable driver when creating disk 2020-02-12 17:16:54 +08:00
yunion-ci-robot
1d4ea408a5 Merge pull request #5063 from zhaoxiangchun/automated-cherry-pick-of-#5061-upstream-release-3.0
Automated cherry pick of #5061: multicloud的vmware监控功能
2020-02-12 15:22:03 +08:00
yunion-ci-robot
b8f05c4ead Merge pull request #5079 from ioito/automated-cherry-pick-of-#5077-upstream-release-3.0
Automated cherry pick of #5077: fix: 修复gcp出方向规则同步问题
2020-02-11 17:39:59 +08:00
yunion-ci-robot
5c587212bc Merge pull request #5074 from ioito/automated-cherry-pick-of-#5072-upstream-release-3.0
Automated cherry pick of #5072: fix: 忽略无权限的资源标签
2020-02-11 17:22:02 +08:00
zhaoxiangchun
133fe47634 multicloud的vmware监控功能
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:45:28 +08:00
Qu Xuan
8efe1c5b45 fix: 修复gcp出方向规则同步问题 2020-02-10 18:48:18 +08:00
Qu Xuan
91ca20d540 fix: 忽略无权限的资源标签 2020-02-10 16:44:56 +08:00
yunion-ci-robot
4d320a22db Merge pull request #5070 from swordqiu/automated-cherry-pick-of-#5065-upstream-release-3.0
Automated cherry pick of #5065: fix: allow empty domain for windows deployment
2020-02-10 10:32:57 +08:00
Qiu Jian
16702ba2f6 fix: allow empty domain for windows deployment 2020-02-10 09:24:35 +08:00
yunion-ci-robot
e227380071 Merge pull request #5056 from swordqiu/automated-cherry-pick-of-#5054-upstream-release-3.0
Automated cherry pick of #5054: fix: createdAt should not be synced when update
2020-02-09 22:08:57 +08:00
Qiu Jian
b5aa5f3682 fix: createdAt should not be synced when update 2020-02-08 21:29:42 +08:00
yunion-ci-robot
7a56e6b74b Merge pull request #5046 from ioito/automated-cherry-pick-of-#5044-upstream-release-3.0
Automated cherry pick of #5044: fix: guest创建兼容keypair参数
2020-02-07 16:03:51 +08:00
Qu Xuan
4fd186a0c0 fix: guest创建兼容keypair参数 2020-02-07 15:12:29 +08:00
Zexi Li
88e4de7b52 Merge pull request #5028 from swordqiu/automated-cherry-pick-of-#5026-upstream-release-3.0
Automated cherry pick of #5026: fix: api gateway rpc handler redudant response
2020-02-07 13:03:31 +08:00
yunion-ci-robot
8bcbd08741 Merge pull request #5040 from ioito/automated-cherry-pick-of-#5038-upstream-release-3.0
Automated cherry pick of #5038: fix: 避免因tenantcache未缓存tenant导致创建云账号失败
2020-02-07 04:54:51 +08:00
yunion-ci-robot
3dc838d47d Merge pull request #5036 from tb365/automated-cherry-pick-of-#5032-upstream-release-3.0
Automated cherry pick of #5032: aws create with eip fix
2020-02-07 04:50:51 +08:00
Qu Xuan
abb954c6c9 fix: 避免因tenantcache未缓存tenant导致创建云账号失败 2020-02-06 18:29:36 +08:00
tangbin
b70a1e5a05 aws create with eip fix 2020-02-06 17:57:55 +08:00
Qiu Jian
5afb250467 fix: api gateway rpc handler redudant response 2020-02-06 17:02:42 +08:00
yunion-ci-robot
394a6f061c Merge pull request #5023 from ioito/automated-cherry-pick-of-#5021-upstream-release-3.0
Automated cherry pick of #5021: fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:50:52 +08:00
Qu Xuan
fa0cb45ea3 fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:03:48 +08:00
yunion-ci-robot
1113dfe17b Merge pull request #5019 from swordqiu/automated-cherry-pick-of-#5014-upstream-release-3.0
Automated cherry pick of #5014: fix: support empty dns domain
2020-02-06 09:42:49 +08:00
Qiu Jian
81c31c8c1c fix: support empty dns domain 2020-02-06 03:27:59 +08:00
yunion-ci-robot
8dfad23c2c Merge pull request #4998 from zhaoxiangchun/automated-cherry-pick-of-#4996-upstream-release-3.0
Automated cherry pick of #4996: azure的主机监控信息的获取
2020-02-05 02:11:45 +08:00
zhaoxiangchun
019287b16a modify files by github comments 2020-02-04 10:25:42 +08:00
zhaoxiangchun
ff1dc42c47 azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-04 10:25:42 +08:00
yunion-ci-robot
a3faf13ce7 Merge pull request #5000 from ioito/automated-cherry-pick-of-#4999-upstream-release-3.0
Automated cherry pick of #4999: fix: 避免私有云调整配置匹配不到sku
2020-02-03 16:18:44 +08:00
Qu Xuan
78d7317daa fix: 避免私有云调整配置匹配不到sku 2020-02-03 12:20:54 +08:00
yunion-ci-robot
dc6eab6cd1 Merge pull request #4995 from rainzm/automated-cherry-pick-of-#4994-upstream-release-3.0
Automated cherry pick of #4994: fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk
2020-01-19 23:50:20 +08:00
Rain
48008e1a41 fix(esxiagent): Lead to vCenter server '503' when deleting vm'disk 2020-01-19 18:10:31 +08:00
Zexi Li
8f971c9ce4 Merge pull request #4993 from swordqiu/automated-cherry-pick-of-#4991-upstream-release-3.0
Automated cherry pick of #4991: update vendor
2020-01-19 17:35:33 +08:00
Qiu Jian
dbb4912325 fix: increment paging list order by multiple columns 2020-01-19 17:25:30 +08:00
Qiu Jian
9fdb7cf895 update vendor 2020-01-19 17:25:30 +08:00
yunion-ci-robot
05465b9cbb Merge pull request #4990 from swordqiu/automated-cherry-pick-of-#4988-upstream-release-3.0
Automated cherry pick of #4988: fix: cloudevent_tbl use new primary column event_id
2020-01-19 14:24:14 +08:00
Qiu Jian
e0ee61b94e fix: cloudevent_tbl use new primary column event_id 2020-01-19 12:56:40 +08:00
yunion-ci-robot
6032301cb8 Merge pull request #4979 from tb365/automated-cherry-pick-of-#4977-upstream-release-3.0
Automated cherry pick of #4977: get login-info add 404 return & elasticcache account reset password api add input params
2020-01-19 11:43:12 +08:00
Zexi Li
3894d23991 Merge pull request #4986 from swordqiu/automated-cherry-pick-of-#4983-upstream-release-3.0
Automated cherry pick of #4983: fix: try allocate host access ip from reserved pool
2020-01-19 10:37:40 +08:00
yunion-ci-robot
ae01139c37 Merge pull request #4900 from yousong/automated-cherry-pick-of-#4899-upstream-release-3.0
Automated cherry pick of #4899: validators: ValidatorModelIdOrName: allow empty
2020-01-19 10:29:11 +08:00
yunion-ci-robot
cb9e156628 Merge pull request #4890 from yousong/automated-cherry-pick-of-#4885-upstream-release-3.0
Automated cherry pick of #4885: lb: regiondrivers: remove unneeded Optional(true) call
2020-01-19 10:24:12 +08:00
Qiu Jian
57c266e977 fix: try allocate host access ip from reserved pool 2020-01-19 00:26:42 +08:00
Zexi Li
b1b9c08ea2 Merge pull request #4981 from wanyaoqi/automated-cherry-pick-of-#4980-upstream-release-3.0
Automated cherry pick of #4980: is standard domain optional
2020-01-18 19:16:33 +08:00
wanyaoqi
cc3f382cb8 is standard domain optional 2020-01-18 19:12:21 +08:00
TangBin
f2380b293e get login-info add 404 return & elasticcache account reset password api add input params 2020-01-18 18:39:53 +08:00
yunion-ci-robot
46a7e670b2 Merge pull request #4966 from ioito/automated-cherry-pick-of-#4965-upstream-release-3.0
Automated cherry pick of #4965: fix: 公有云日志添加brand字段
2020-01-18 16:26:10 +08:00
Zexi Li
af7aaff4c9 Merge pull request #4975 from swordqiu/automated-cherry-pick-of-#4973-upstream-release-3.0
Automated cherry pick of #4973: fix: bucket get details missing cloudprovider info
2020-01-18 16:03:58 +08:00
Qu Xuan
7c5f0727b3 fix: 公有云日志添加brand字段 2020-01-18 16:01:00 +08:00
Qiu Jian
c4f6199890 fix: bucket get details missing cloudprovider info 2020-01-18 15:42:59 +08:00
Zexi Li
5f3faf8cb8 Merge pull request #4971 from swordqiu/automated-cherry-pick-of-#4968-upstream-release-3.0
Automated cherry pick of #4968: fix: network-reserve-ip ignores expired reserved ips
2020-01-18 14:25:00 +08:00
Qiu Jian
d7becf89e8 fix: network-reserve-ip ignores expired reserved ips 2020-01-18 11:10:49 +08:00
Zexi Li
d35e6f8fea Merge pull request #4963 from wanyaoqi/automated-cherry-pick-of-#4962-upstream-release-3.0
Automated cherry pick of #4962: fix models renew
2020-01-17 21:55:27 +08:00
wanyaoqi
a3332344a0 fix models renew 2020-01-17 21:51:30 +08:00
yunion-ci-robot
5826a36de4 Merge pull request #4961 from yousong/automated-cherry-pick-of-#4960-upstream-release-3.0
Automated cherry pick of #4960: hostman: linux_bridge: flush addr on member iface down
2020-01-17 21:50:09 +08:00
yunion-ci-robot
b61befef30 Merge pull request #4947 from ioito/automated-cherry-pick-of-#4946-upstream-release-3.0
Automated cherry pick of #4946: fix: 腾讯云主机带宽跟随eip带宽变化而变化
2020-01-17 19:46:09 +08:00
yunion-ci-robot
4bdf3e8404 Merge pull request #4793 from zhaoxiangchun/automated-cherry-pick-of-#4775-upstream-release-3.0
Automated cherry pick of #4775: 新增aws监控代码,GetMonitorData函数,获取监控信息
2020-01-17 19:26:08 +08:00
Zexi Li
00e1911d30 Merge pull request #4958 from wanyaoqi/automated-cherry-pick-of-#4957-upstream-release-3.0
Automated cherry pick of #4957: fix postpaid expire
2020-01-17 18:57:04 +08:00
Yousong Zhou
d26c428b68 hostman: linux_bridge: flush addr on member iface down
Previously it was done by "ifconfig xx 0.0.0.0 down"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-17 18:13:10 +08:00
yunion-ci-robot
dc634ad9d0 Merge pull request #4956 from yousong/automated-cherry-pick-of-#4955-upstream-release-3.0
Automated cherry pick of #4955: esxi: dont import hostman pkgs
2020-01-17 18:07:09 +08:00
wanyaoqi
e691d63910 fix postpaid expire 2020-01-17 17:53:27 +08:00
Yousong Zhou
5c325bc6b7 esxi: dont import hostman pkgs
Fix building region on darwin
2020-01-17 16:54:54 +08:00
Zexi Li
00f07f128f Merge pull request #4952 from wanyaoqi/automated-cherry-pick-of-#4950-upstream-release-3.0
Automated cherry pick of #4950: host deployer base version up
2020-01-17 16:39:07 +08:00
wanyaoqi
fdc1bef92e host deployer base version up 2020-01-17 14:44:00 +08:00
yunion-ci-robot
181c1099fe Merge pull request #4936 from yousong/automated-cherry-pick-of-#4935-upstream-release-3.0
Automated cherry pick of #4935: iproute2: test against non-nil dst of routes returned by List4()
2020-01-17 13:48:10 +08:00
Qu Xuan
e20a6a35df fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:35:10 +08:00
yunion-ci-robot
a4db9de855 Merge pull request #4944 from wanyaoqi/automated-cherry-pick-of-#4943-upstream-release-3.0
Automated cherry pick of #4943: fix snapshot list filter by disk type
2020-01-17 12:59:08 +08:00
wanyaoqi
4e9ca42347 fix snapshot list filter by disk type 2020-01-17 11:59:22 +08:00
yunion-ci-robot
10a04b0005 Merge pull request #4884 from tb365/automated-cherry-pick-of-#4880-upstream-release-3.0
Automated cherry pick of #4880: huawei remove backend group bugfix
2020-01-17 11:01:10 +08:00
yunion-ci-robot
f36f275dc6 Merge pull request #4923 from wanyaoqi/automated-cherry-pick-of-#4922-upstream-release-3.0
Automated cherry pick of #4922: fix detect host info
2020-01-17 10:55:09 +08:00
yunion-ci-robot
4f644f1d80 Merge pull request #4937 from rainzm/automated-cherry-pick-of-#4931-upstream-release-3.0
Automated cherry pick of #4931: bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
2020-01-17 10:54:10 +08:00
zhaoxiangchun
e1020530e2 add License Head 2020-01-17 10:48:35 +08:00
zhaoxiangchun
a94f55ba91 vendor: update 2020-01-17 10:48:35 +08:00
zhaoxiangchun
b769399a79 新增aws监控代码,GetMonitorData函数,获取监控信息
首先通过monitor.go文件中的GetMonitorData函数组装查询参数,然后通过SRegion中cloudWatchRequest函数组装request信息,
进行查询返回
2020-01-17 10:48:35 +08:00
Rain
0ba856004f bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:41:00 +08:00
Rain
afefb9464d bugfix(esxiagent): PrefetchImageCacheByCopy & SHost.FileUrlPathToDsPath
1. Fix the bug when preparing remote image by copy
2. SHost.FileUrlPathToDsPath will not work when shost has multiple storage.
2020-01-17 10:41:00 +08:00
yunion-ci-robot
039d7b43f6 Merge pull request #4927 from ioito/automated-cherry-pick-of-#4926-upstream-release-3.0
Automated cherry pick of #4926: cloudevent 支持since until参数过滤
2020-01-17 09:21:07 +08:00
Yousong Zhou
6a4b39085c netutils2: guard against possible nil members 2020-01-16 22:50:01 +08:00
Yousong Zhou
db75a24f73 netutils: DefaultSrcIpDev: use iproute2.RouteGetByDst 2020-01-16 22:50:01 +08:00
Yousong Zhou
ff0e50cce0 iproute2: add RouteGetByDst() 2020-01-16 22:50:01 +08:00
Yousong Zhou
217670326b iproute2: test against non-nil dst of routes returned by List4() 2020-01-16 22:50:01 +08:00
yunion-ci-robot
a655afbbde Merge pull request #4934 from rainzm/automated-cherry-pick-of-#4933-upstream-release-3.0
Automated cherry pick of #4933: fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil
2020-01-16 21:48:11 +08:00
yunion-ci-robot
e276ba9582 Merge pull request #4930 from yousong/automated-cherry-pick-of-#4929-upstream-release-3.0
Automated cherry pick of #4929: hostman: fix removing addresses on slave ifaces
2020-01-16 21:24:11 +08:00
Rain
93c5a79afa fix(hostdeployer): Umount VDDKDisk when IRootFsDriver is nil 2020-01-16 21:21:19 +08:00
Yousong Zhou
53f95f775d hostman: replace route command dep with netlink call 2020-01-16 20:48:10 +08:00
Yousong Zhou
b9bab969cb netutils2: replace GetRoutes with netlink call 2020-01-16 20:48:10 +08:00
Yousong Zhou
7835ee1063 iproute2: route operations 2020-01-16 20:48:10 +08:00
Yousong Zhou
675f111084 hostman: add secondary addresses with one iproute2 call 2020-01-16 20:48:10 +08:00
Yousong Zhou
9ccd97a236 hostman: up bridge interface in SetupAddresses
Previously it was done implicitly by ifconfig addr config command
2020-01-16 20:48:10 +08:00
Yousong Zhou
2ea614d38d hostman: fix removing addresses on slave ifaces
Previously it was done with "ifconfig xxx 0 up"

Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 20:48:10 +08:00
Qu Xuan
8028577a0b cloudevent 支持since until参数过滤 2020-01-16 19:44:38 +08:00
yunion-ci-robot
7c60fbf66c Merge pull request #4920 from yousong/automated-cherry-pick-of-#4919-upstream-release-3.0
Automated cherry pick of #4919: iproute2: skip setting addrs on parse error
2020-01-16 16:53:07 +08:00
wanyaoqi
bd560a07b6 fix detect host info 2020-01-16 16:50:30 +08:00
Yousong Zhou
a4507e169a netutils: isolate linux dependent parts 2020-01-16 16:35:12 +08:00
Yousong Zhou
a71292cabc iproute2: skip setting addrs on parse error 2020-01-16 16:35:12 +08:00
Yousong Zhou
b8d93a0db7 hostman: fix setting address
Fixes 4d8d20f ("hostman: use package iproute2")
2020-01-16 16:35:12 +08:00
Zexi Li
352800c78d Merge pull request #4915 from wanyaoqi/automated-cherry-pick-of-#4914-upstream-release-3.0
Automated cherry pick of #4914: fix deploy iso failed
2020-01-16 15:33:02 +08:00
yunion-ci-robot
a5ace62220 Merge pull request #4918 from tb365/automated-cherry-pick-of-#4916-upstream-release-3.0
Automated cherry pick of #4916: ctyun bugfix
2020-01-16 15:08:08 +08:00
TangBin
7f20eed8ef comment fix 2020-01-16 14:51:25 +08:00
TangBin
e2b1b53e3e ctyun bugfix 2020-01-16 14:51:25 +08:00
yunion-ci-robot
089652074e Merge pull request #4863 from yousong/automated-cherry-pick-of-#4836-upstream-release-3.0
Automated cherry pick of #4836: iproute2: initial version
2020-01-16 09:59:06 +08:00
yunion-ci-robot
77494e5889 Merge pull request #4913 from tb365/automated-cherry-pick-of-#4911-upstream-release-3.0
Automated cherry pick of #4911: server get login info 404 not found
2020-01-16 09:52:06 +08:00
yunion-ci-robot
ba8142559c Merge pull request #4905 from ioito/automated-cherry-pick-of-#4904-upstream-release-3.0
Automated cherry pick of #4904: fix: 避免创建azure时指定高级ssd失效
2020-01-16 09:51:06 +08:00
wanyaoqi
23515d0c87 fix deploy iso failed 2020-01-15 20:58:36 +08:00
yunion-ci-robot
3a853545ca Merge pull request #4891 from wanyaoqi/automated-cherry-pick-of-#4887-upstream-release-3.0
Automated cherry pick of #4887: validate share on delete, update pulibc scope on mark standard
2020-01-15 20:57:17 +08:00
TangBin
45d1c3c7dd server get login info 404 not found 2020-01-15 19:34:25 +08:00
Qu Xuan
277a1066cd fix: 避免创建azure时指定高级ssd失效 2020-01-15 18:01:25 +08:00
Zexi Li
cb29e4f045 Merge pull request #4903 from wanyaoqi/automated-cherry-pick-of-#4902-upstream-release-3.0
Automated cherry pick of #4902: use executor probe kernel mods
2020-01-15 17:30:23 +08:00
wanyaoqi
753566d3a9 use executor probe kernel mods 2020-01-15 17:20:29 +08:00
Yousong Zhou
4008c25b0a lbagent: tunable tune.http.maxhdr 2020-01-15 12:14:56 +08:00
Yousong Zhou
dad753aaf5 lbagent: fix not logging https listener 2020-01-15 12:14:56 +08:00
Yousong Zhou
6672c2357e lbagent: support accessing backend with tls 2020-01-15 12:14:56 +08:00
Yousong Zhou
5865e393f5 climc: lbbackend: support ssl related options 2020-01-15 12:14:56 +08:00
Yousong Zhou
3d6a14b89b lb: support accessing backend with tls 2020-01-15 12:14:56 +08:00
Yousong Zhou
3af6da558f lb: regiondrivers: remove unneeded Optional(true) call 2020-01-15 12:14:56 +08:00
Yousong Zhou
1e1811c0de hostman: use package iproute2 2020-01-14 21:42:21 +08:00
Yousong Zhou
5b09a45437 hostman: fix setting mtu for tunnel padding 2020-01-14 21:42:21 +08:00
Yousong Zhou
c72322cd5b hostman: hostinfo: use netutils2.DefaultSrcIpDev() 2020-01-14 21:42:21 +08:00
Yousong Zhou
bf5f1f524e vendor: add github.com/vishvananda/netlink 2020-01-14 21:42:21 +08:00
Yousong Zhou
e910967798 netutils2: use netlink to GetAddresses() 2020-01-14 21:42:20 +08:00
Yousong Zhou
aa27f4eeca netutils2: add DefaultSrcIpDev() 2020-01-14 21:42:20 +08:00
Yousong Zhou
232df7b869 iproute2: initial version 2020-01-14 21:42:20 +08:00
Yousong Zhou
88def49fcc climc: lblistener: allow setting backendgroup to empty 2020-01-14 21:38:34 +08:00
Yousong Zhou
fc3aa2acbf mcclient: options: test marshal string ptr 2020-01-14 21:38:34 +08:00
Yousong Zhou
7bb8f0f968 lblistener: allow setting http/https listener backendgroup to empty 2020-01-14 21:38:34 +08:00
Yousong Zhou
79d8abd1ab validators: ValidatorModelIdOrName: allow empty 2020-01-14 21:38:34 +08:00
Zexi Li
101d5de95a Merge pull request #4898 from rainzm/automated-cherry-pick-of-#4895-upstream-release-3.0
Automated cherry pick of #4895: fix(notify): Update template
2020-01-14 18:23:52 +08:00
Rain
11ccfdd5c9 fix(notify): Update template 2020-01-14 18:17:06 +08:00
wanyaoqi
05c85e898d validate share on delete, update pulibc scope on mark standard 2020-01-14 17:41:42 +08:00
Zexi Li
30a4d16628 Merge pull request #4889 from wanyaoqi/automated-cherry-pick-of-#4888-upstream-release-3.0
Automated cherry pick of #4888: host fix env path
2020-01-14 17:35:25 +08:00
wanyaoqi
f9b9856768 host fix env path 2020-01-14 17:20:52 +08:00
TangBin
60b0634e27 aliyun backendgroup bugfix 2020-01-14 15:53:24 +08:00
TangBin
8f574c255d aws backendgroup delete bugfix 2020-01-14 15:53:24 +08:00
TangBin
37ece22817 aws sync routetable 2020-01-14 15:53:24 +08:00
TangBin
e25142ed70 huawei remove backend group bugfix 2020-01-14 15:53:24 +08:00
Zexi Li
e59189d0f5 Merge pull request #4875 from yousong/automated-cherry-pick-of-#4874-upstream-release-3.0
Automated cherry pick of #4874: vendor: update sqlchemy
2020-01-14 13:58:00 +08:00
Zexi Li
5e166849ef Merge pull request #4879 from yousong/automated-cherry-pick-of-#4878-upstream-release-3.0
Automated cherry pick of #4878: lb: fix setting default redirect type
2020-01-14 13:57:23 +08:00
Yousong Zhou
f5af866b39 lb: fix setting default redirect type 2020-01-14 13:32:39 +08:00
Yousong Zhou
5773663e5d vendor: update sqlchemy 2020-01-14 13:26:14 +08:00
Zexi Li
b65ab0361a Merge pull request #4872 from swordqiu/automated-cherry-pick-of-#4869-upstream-release-3.0
Automated cherry pick of #4869: fix: first load of service config not effective
2020-01-14 10:23:49 +08:00
Qiu Jian
eb30360856 fix: first load of service config not effective 2020-01-14 03:04:19 +08:00
yunion-ci-robot
08b7a96309 Merge pull request #4864 from ioito/automated-cherry-pick-of-#4862-upstream-release-3.0
Automated cherry pick of #4862: fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要
2020-01-14 03:02:01 +08:00
yunion-ci-robot
fe99ec0649 Merge pull request #4838 from ioito/automated-cherry-pick-of-#4837-upstream-release-3.0
Automated cherry pick of #4837: fix: 添加磁盘创建失败日志
2020-01-14 02:58:01 +08:00
yunion-ci-robot
f885cfcc4a Merge pull request #4859 from ioito/automated-cherry-pick-of-#4858-upstream-release-3.0
Automated cherry pick of #4858: fix: 恢复公有云日志name
2020-01-14 02:51:02 +08:00
yunion-ci-robot
9b3491cc4e Merge pull request #4830 from ioito/automated-cherry-pick-of-#4829-upstream-release-3.0
Automated cherry pick of #4829: fix: 公有云日志权限列表
2020-01-14 02:31:01 +08:00
yunion-ci-robot
5317b43e13 Merge pull request #4850 from ioito/automated-cherry-pick-of-#4849-upstream-release-3.0
Automated cherry pick of #4849: fix: aliyun rule fix
2020-01-14 02:24:01 +08:00
yunion-ci-robot
633c2c9439 Merge pull request #4800 from yousong/automated-cherry-pick-of-#4799-upstream-release-3.0
Automated cherry pick of #4799: validators: remove unused defaultVal member
2020-01-14 02:04:01 +08:00
Zexi Li
3f15fa2c58 Merge pull request #4843 from ioito/automated-cherry-pick-of-#4842-upstream-release-3.0
Automated cherry pick of #4842: fix: 添加安全组操作日志
2020-01-13 20:50:49 +08:00
Zexi Li
b822c58fc2 Merge pull request #4857 from rainzm/automated-cherry-pick-of-#4856-upstream-release-3.0
Automated cherry pick of #4856: fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent
2020-01-13 20:49:25 +08:00
Rain
5171eca046 fix(esxi-agent): Export CGO_ENABLED=0 when building esxi-agent 2020-01-13 20:45:24 +08:00
Qu Xuan
bec1776d7e fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要 2020-01-13 18:53:04 +08:00
Qu Xuan
5ba580878d fix: 恢复公有云日志name 2020-01-13 17:58:03 +08:00
Qu Xuan
7ee21d12ce fix: aliyun rule fix 2020-01-13 17:44:07 +08:00
Qu Xuan
abef1a9f9b fix: 添加安全组操作日志 2020-01-13 15:26:31 +08:00
Qu Xuan
ccd187220c fix: 添加磁盘创建失败日志 2020-01-13 14:54:29 +08:00
yunion-ci-robot
40a211144c Merge pull request #4835 from zexi/automated-cherry-pick-of-#4834-upstream-release-3.0
Automated cherry pick of #4834: action: add esxi agent
2020-01-13 13:28:02 +08:00
Zexi Li
7648c26d75 action: add esxi agent 2020-01-13 13:24:37 +08:00
Qu Xuan
2ee7dca684 fix: 公有云日志权限列表 2020-01-13 11:21:34 +08:00
Zexi Li
f764e5b394 Merge pull request #4820 from swordqiu/automated-cherry-pick-of-#4817-upstream-release-3.0
Automated cherry pick of #4817: fix: non-default-domain-projects changes not take effects after changing through service-config
2020-01-13 10:57:07 +08:00
Zexi Li
c260d81610 Merge pull request #4816 from swordqiu/automated-cherry-pick-of-#4813-upstream-release-3.0
Automated cherry pick of #4813: fix: set default read privileges for reading all quotas
2020-01-13 10:55:15 +08:00
yunion-ci-robot
ef813e062a Merge pull request #4825 from tb365/automated-cherry-pick-of-#4823-upstream-release-3.0
Automated cherry pick of #4823: sku domain filter bugfix
2020-01-13 09:26:59 +08:00
TangBin
2062489bec sku domain filter bugfix 2020-01-12 12:03:49 +08:00
Qiu Jian
0ae98e64ea fix: non-default-domain-projects changes not take effects after changing through service-config 2020-01-12 00:06:34 +08:00
yunion-ci-robot
a1ccae2e23 Merge pull request #4810 from tb365/automated-cherry-pick-of-#4809-upstream-release-3.0
Automated cherry pick of #4809: sku domain filter bugfix
2020-01-11 23:30:03 +08:00
TangBin
0b4a141199 sku domain filter bugfix 2020-01-11 21:29:05 +08:00
Qiu Jian
25f8c71d18 fix: set default read privileges for reading all quotas 2020-01-11 18:01:16 +08:00
Yousong Zhou
1a0df04c83 climc: lb: allow setting redirect parameters 2020-01-10 21:34:32 +08:00
Yousong Zhou
f5c534cb71 climc: lblistenerrule: allow setting request rate 2020-01-10 21:34:32 +08:00
Yousong Zhou
7d1174efad lbagent: support http redirect 2020-01-10 21:34:32 +08:00
Yousong Zhou
e3f654994a lb: support redirect type listener & rule 2020-01-10 21:34:32 +08:00
Yousong Zhou
0dbd73b60b lblistenerrule: validate domain and path on creation 2020-01-10 21:34:31 +08:00
Yousong Zhou
f75ef27fe0 validators: add ValidatorHostPort 2020-01-10 21:34:31 +08:00
Yousong Zhou
dca8b8a9f5 validators: add ValidatorIntChoices 2020-01-10 21:34:31 +08:00
Yousong Zhou
9df932505c validators: remove unused defaultVal member 2020-01-10 21:34:30 +08:00
yunion-ci-robot
423777c775 Merge pull request #4796 from tb365/automated-cherry-pick-of-#4795-upstream-release-3.0
Automated cherry pick of #4795: add filter skus by domain id
2020-01-10 20:25:58 +08:00
yunion-ci-robot
52f2a1f3b4 Merge pull request #4722 from tb365/automated-cherry-pick-of-#4712-upstream-release-3.0
Automated cherry pick of #4712: cloud account support manually sync skus
2020-01-10 20:06:59 +08:00
yunion-ci-robot
dd0ced571d Merge pull request #4806 from tb365/automated-cherry-pick-of-#4801-upstream-release-3.0
Automated cherry pick of #4801: kvm elb listener update bugfix
2020-01-10 19:50:58 +08:00
yunion-ci-robot
dbd959d040 Merge pull request #4767 from tb365/automated-cherry-pick-of-#4766-upstream-release-3.0
Automated cherry pick of #4766: _getModule fix
2020-01-10 19:22:59 +08:00
TangBin
9be50f0007 kvm elb listener update bugfix 2020-01-10 18:52:00 +08:00
TangBin
840b6e9a16 spelling mistakes fix 2020-01-10 17:17:25 +08:00
TangBin
ec83f583c2 user register ingore blank row 2020-01-10 17:17:25 +08:00
TangBin
2983659c53 add filter skus by domain id 2020-01-10 17:17:25 +08:00
Zexi Li
af20c84a50 Merge pull request #4794 from rainzm/automated-cherry-pick-of-#4779-upstream-release-3.0
Automated cherry pick of #4779: fix(esxi-agent): Avoid redundant agent & Adjust workspace path
2020-01-10 11:51:57 +08:00
Rain
5cee576fc4 fix(esxi-agent): Avoid redundant agent & Adjust workspace path
1. There is only one esxi agent needed in OneCloud.
2. Workspace path shoule be EsxiAgentPath not the parent directory of this.
3. The VM name is too long for vcenter when importing VM so that shrink
it.
2020-01-10 11:01:37 +08:00
yunion-ci-robot
ba89e19f3e Merge pull request #4778 from rainzm/automated-cherry-pick-of-#4754-upstream-release-3.0
Automated cherry pick of #4754: fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
2020-01-10 10:36:58 +08:00
yunion-ci-robot
73faf76bbb Merge pull request #4762 from wanyaoqi/automated-cherry-pick-of-#4761-upstream-release-3.0
Automated cherry pick of #4761: image-properties-add-disable-delete
2020-01-10 10:28:58 +08:00
yunion-ci-robot
17bd125542 Merge pull request #4769 from wanyaoqi/automated-cherry-pick-of-#4768-upstream-release-3.0
Automated cherry pick of #4768: fix guest start no task complete
2020-01-10 10:22:58 +08:00
yunion-ci-robot
3b14136705 Merge pull request #4783 from swordqiu/automated-cherry-pick-of-#4780-upstream-release-3.0
Automated cherry pick of #4780: fix: initialize service config on keystone when service boot
2020-01-10 10:19:58 +08:00
yunion-ci-robot
a968e3544c Merge pull request #4785 from yousong/automated-cherry-pick-of-#4784-upstream-release-3.0
Automated cherry pick of #4784: dnsrecords: add helper methods
2020-01-10 10:15:57 +08:00
Yousong Zhou
9d20a58a85 dns: chain load records for cname 2020-01-09 23:23:34 +08:00
Yousong Zhou
a719ad6d82 dns: prepare for responding with A record of cname value 2020-01-09 23:23:34 +08:00
Yousong Zhou
2f9e3f7da0 dnsrecords: add helper methods 2020-01-09 23:23:34 +08:00
Qiu Jian
5f8758e5c4 fix: initialize service config on keystone when service boot 2020-01-09 22:15:27 +08:00
Rain
ae2369befd fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
情景:绕过OneCloud,删除 storage 上的所有 vm 并且删除 storage 然后新建 storage。

问题:因为存在 vm 在使用此 storage ,所以在同步的时候,对应的 storage
会删除失败,并且阻止了 storagecache 的同步。这样在创建机器的时候,如果
使用旧的 storage 就会导致创建失败(因为此 Host 已经不再使用对应的
remote storage); 如果使用新的 storage 就会因为找不到对应的 storage cache 而失败。

修改:如果因为以上原因删除失败的 storage 的 storage_type 为 local
那么就把这个 storage 置为 offline,并且不再阻止 storage cache 的同步。
2020-01-09 21:04:32 +08:00
wanyaoqi
a4a7d004c8 fix guest start no task complete 2020-01-09 17:13:03 +08:00
TangBin
9a7d223311 _getModule fix 2020-01-09 16:42:16 +08:00
wanyaoqi
d9910a0364 image-properties-add-disable-delete 2020-01-09 15:42:02 +08:00
TangBin
6ad8ff188d cloud account support manually sync skus 2020-01-09 11:17:04 +08:00
yunion-ci-robot
641cd05a9a Merge pull request #4756 from rainzm/automated-cherry-pick-of-#4755-upstream-release-3.0
Automated cherry pick of #4755: fix(esxi-agent): Adjust the VM Path in Datastore
2020-01-09 10:28:57 +08:00
Zexi Li
570a6bbab7 Merge pull request #4760 from swordqiu/automated-cherry-pick-of-#4757-upstream-release-3.0
Automated cherry pick of #4757: fix: brand of compute quota key should be fixed
2020-01-09 09:58:54 +08:00
yunion-ci-robot
01a466b989 Merge pull request #4710 from wanyaoqi/automated-cherry-pick-of-#4709-upstream-release-3.0
Automated cherry pick of #4709: host misc fix
2020-01-09 00:05:58 +08:00
yunion-ci-robot
4fd7e6fcf0 Merge pull request #4725 from yousong/automated-cherry-pick-of-#4724-upstream-release-3.0
Automated cherry pick of #4724: wires: lift name length, charset constraint
2020-01-08 23:44:59 +08:00
Qiu Jian
8a2841f672 fix: brand of compute quota key should be fixed 2020-01-08 23:36:12 +08:00
yunion-ci-robot
0adccb5c8b Merge pull request #4751 from ioito/automated-cherry-pick-of-#4750-upstream-release-3.0
Automated cherry pick of #4750: fix: cloudevent 成功条件补充
2020-01-08 23:33:59 +08:00
Rain
a712df096a fix(esxi-agent): Adjust the VM Path in Datastore 2020-01-08 21:09:44 +08:00
Qu Xuan
ed75a7262b fix: cloudevent 成功条件补充 2020-01-08 20:44:13 +08:00
Zexi Li
adea5e3441 Merge pull request #4738 from swordqiu/automated-cherry-pick-of-#4735-upstream-release-3.0
Automated cherry pick of #4735: fix: misc quota bugs 1. snapshot pending usage not cleaned after created 2. server-attach-network error 3. loadbalancer fail to set cloudregion_id
2020-01-08 19:17:40 +08:00
Yousong Zhou
64f29934f0 wires: lift name length, charset constraint 2020-01-08 19:15:17 +08:00
yunion-ci-robot
6cc5c4d942 Merge pull request #4729 from ioito/automated-cherry-pick-of-#4728-upstream-release-3.0
Automated cherry pick of #4728: fix: eip duplicate name
2020-01-08 19:05:57 +08:00
Qiu Jian
e817fb0920 fix: misc quota bugs 1. snapshot pending usage not cleaned after created 2. server-attach-network error 3. loadbalancer fail to set cloudregion_id 2020-01-08 18:53:36 +08:00
Qu Xuan
2c412db6c8 fix: eip duplicate name 2020-01-08 18:11:15 +08:00
yunion-ci-robot
d08761095c Merge pull request #4699 from rainzm/automated-cherry-pick-of-#4695-upstream-release-3.0
Automated cherry pick of #4695: fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:11:58 +08:00
yunion-ci-robot
03cf19f1db Merge pull request #4705 from tb365/automated-cherry-pick-of-#4701-upstream-release-3.0
Automated cherry pick of #4701: azure skus sync fix
2020-01-08 15:53:59 +08:00
Zexi Li
3c77aa38ff Merge pull request #4715 from wanyaoqi/automated-cherry-pick-of-#4714-upstream-release-3.0
Automated cherry pick of #4714: set subimage some field nullable
2020-01-08 15:42:48 +08:00
wanyaoqi
d3a2ebeacb set subimage some field nullable 2020-01-08 15:36:44 +08:00
yunion-ci-robot
d868952b0d Merge pull request #4706 from ioito/automated-cherry-pick-of-#4655-upstream-release-3.0
Automated cherry pick of #4655: optimized: 优化公有云日志查询
2020-01-08 14:56:57 +08:00
wanyaoqi
9ac505c907 host misc fix 2020-01-08 14:22:18 +08:00
yunion-ci-robot
05ee08e411 Merge pull request #4684 from yousong/automated-cherry-pick-of-#4683-upstream-release-3.0
Automated cherry pick of #4683: hostman: distro name OpenWrt instead of OpenWRT
2020-01-08 12:57:59 +08:00
Qu Xuan
ef39ed3d0c optimized: 优化公有云日志查询 2020-01-08 11:46:38 +08:00
yunion-ci-robot
85ac87b7c9 Merge pull request #4651 from ioito/automated-cherry-pick-of-#4650-upstream-release-3.0
Automated cherry pick of #4650: fix: 避免创建rds account, database后未设置exteranl_id
2020-01-08 11:42:56 +08:00
yunion-ci-robot
3b3480b29b Merge pull request #4637 from ioito/automated-cherry-pick-of-#4636-upstream-release-3.0
Automated cherry pick of #4636: fix: 加强密码校验
2020-01-08 11:38:58 +08:00
TangBin
6628f15ab0 huawei redis sync fix 2020-01-08 11:34:42 +08:00
TangBin
9f55497161 ctyun default gateway fix 2020-01-08 11:34:42 +08:00
TangBin
9e96e4f7e4 huawei network default gateway fix 2020-01-08 11:34:42 +08:00
TangBin
12c87f630a network create GuestIpPrefix fix 2020-01-08 11:34:42 +08:00
TangBin
5d2fb3bf56 azure skus sync fix 2020-01-08 11:34:42 +08:00
Rain
af5b218377 fix(glance): Cancel pending usage of image quota correctly
ImageNumber always be zero because the 'image_number' in data was
removed so that canceling pending usage not work.
2020-01-08 11:33:32 +08:00
yunion-ci-robot
802197f161 Merge pull request #4642 from tb365/automated-cherry-pick-of-#4634-upstream-release-3.0
Automated cherry pick of #4634: huawei image delete bugfix
2020-01-08 11:26:59 +08:00
yunion-ci-robot
45f3ee7989 Merge pull request #4690 from ioito/automated-cherry-pick-of-#4685-upstream-release-3.0
Automated cherry pick of #4685: fix: next marker format
2020-01-08 10:09:57 +08:00
Zexi Li
d9a43ae92a Merge pull request #4682 from swordqiu/automated-cherry-pick-of-#4676-upstream-release-3.0
Automated cherry pick of #4676: fix: guest network default share scope should be system if non-default-domain-projects is off
2020-01-07 19:30:44 +08:00
Zexi Li
8ae4e5bcec Merge pull request #4675 from swordqiu/automated-cherry-pick-of-#4666-upstream-release-3.0
Automated cherry pick of #4666: fix: guess brand on guest create
2020-01-07 19:28:49 +08:00
yunion-ci-robot
67dd167835 Merge pull request #4665 from ioito/automated-cherry-pick-of-#4656-upstream-release-3.0
Automated cherry pick of #4656: fix: 避免拥有带宽包的腾讯云创建机器失败
2020-01-07 18:08:59 +08:00
Qu Xuan
2d1d8db96a fix: next marker format 2020-01-07 18:02:23 +08:00
Yousong Zhou
9e42b83406 hostman: openwrt: deploy public key for root 2020-01-07 18:00:34 +08:00
Yousong Zhou
1a16fbd9cf hostman: split DeployAuthorizedKeys() 2020-01-07 18:00:34 +08:00
Yousong Zhou
77d19d2ec3 hostman: openwrt: support deploy networking scripts 2020-01-07 18:00:34 +08:00
Yousong Zhou
5391943537 hostman: openwrt: deploy hostname with board config 2020-01-07 18:00:34 +08:00
Yousong Zhou
5c1044a1f6 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 18:00:34 +08:00
yunion-ci-robot
6e87e25b38 Merge pull request #4659 from ioito/automated-cherry-pick-of-#4658-upstream-release-3.0
Automated cherry pick of #4658: fix: 避免同步安全组失败后,没有任何日志记录
2020-01-07 17:09:57 +08:00
Qiu Jian
95565e4b6d fix: guest network default share scope should be system if non-default-domain-projects is off 2020-01-07 16:58:36 +08:00
Qiu Jian
6c0bdeac49 fix: guess brand on guest create 2020-01-07 15:13:40 +08:00
Qu Xuan
5100ced74c fix: 避免拥有带宽包的腾讯云创建机器失败 2020-01-07 14:59:11 +08:00
Qu Xuan
f022f4138e fix: 避免同步安全组失败后,没有任何日志记录 2020-01-07 11:48:43 +08:00
yunion-ci-robot
6ecf644277 Merge pull request #4639 from rainzm/automated-cherry-pick-of-#4635-upstream-release-3.0
Automated cherry pick of #4635: fix: Workmanager delayTaskWithoutReqctx
2020-01-07 09:33:56 +08:00
Rain
ee34fbdafe fix: Workmanager delayTaskWithoutReqctx
The context of delayTaskWithoutReqctx should have 'taskid' value.
2020-01-06 15:21:04 +08:00
yunion-ci-robot
61ff4ddbc8 Merge pull request #4649 from swordqiu/automated-cherry-pick-of-#4645-upstream-release-3.0
Automated cherry pick of #4645: fix: comment out TestDialTimeout
2020-01-06 15:12:59 +08:00
Qu Xuan
ec7bc017dd fix: 避免创建rds account, database后未设置exteranl_id 2020-01-06 13:38:09 +08:00
Qiu Jian
a96d17efcc fix: comment out TestDialTimeout 2020-01-06 13:12:04 +08:00
TangBin
ac1d08d619 huawei image delete bugfix 2020-01-06 11:52:49 +08:00
Qu Xuan
d032dccd91 fix: 加强密码校验 2020-01-06 11:45:03 +08:00
yunion-ci-robot
987495c463 Merge pull request #4633 from wanyaoqi/automated-cherry-pick-of-#4632-upstream-release-3.0
Automated cherry pick of #4632: host image support container deploy:
2020-01-05 19:10:39 +08:00
wanyaoqi
dc2fd237f0 host image support container deploy: 2020-01-05 18:52:11 +08:00
Zexi Li
03cca94b0c Merge pull request #4630 from swordqiu/automated-cherry-pick-of-#4627-upstream-release-3.0
Automated cherry pick of #4627: fix: increase default sync worker count from 2 to 5
2020-01-05 12:22:58 +08:00
Qiu Jian
3365161fa5 fix: increase default sync worker count from 2 to 5 2020-01-05 12:21:27 +08:00
Zexi Li
e810d4567e Merge pull request #4625 from swordqiu/automated-cherry-pick-of-#4601-upstream-release-3.0
Automated cherry pick of #4601: fix: remove bw/ebw quota limit
2020-01-04 23:59:38 +08:00
Qiu Jian
954341e4ab remove bw/ebw quota from scheduler 2020-01-04 23:35:42 +08:00
Qiu Jian
becfe078d5 fix: remove bw/ebw quota limit 2020-01-04 23:35:42 +08:00
Zexi Li
8915b934b1 Merge pull request #4622 from zexi/automated-cherry-pick-of-#4621-upstream-release-3.0
Automated cherry pick of #4621: fix: fmt error
2020-01-04 23:21:01 +08:00
Zexi Li
b67da6996f Merge pull request #4620 from swordqiu/automated-cherry-pick-of-#4616-upstream-release-3.0
Automated cherry pick of #4616: fix: huawei uncache image fail
2020-01-04 23:20:19 +08:00
Zexi Li
ce40f6378f Merge pull request #4610 from ioito/automated-cherry-pick-of-#4609-upstream-release-3.0
Automated cherry pick of #4609: fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 23:17:56 +08:00
Zexi Li
2c2b1544c6 fix: fmt error 2020-01-04 23:12:39 +08:00
Qiu Jian
44114e8d94 fix: huawei uncache image fail 2020-01-04 23:03:53 +08:00
Zexi Li
b9405e72e7 Merge pull request #4608 from rainzm/automated-cherry-pick-of-#4602-upstream-release-3.0
Automated cherry pick of #4602: fix(notify): Fix the error of filter about contacts
2020-01-04 22:29:57 +08:00
Rain
3a5b32fc60 fix(notify): Fix the error of filter about contacts 2020-01-04 22:26:43 +08:00
Qu Xuan
9bbba1a3cc fix: 避免仅删除value时,行为演变为删除标签 2020-01-04 22:16:07 +08:00
Zexi Li
25277900d4 Merge pull request #4600 from rainzm/automated-cherry-pick-of-#4597-upstream-release-3.0
Automated cherry pick of #4597: fix(region): Add reset_password in guest template's ConfigInfo
2020-01-04 22:03:25 +08:00
Rain
4cdf779700 fix(region): Cancel the check about project when creating service catlog 2020-01-04 21:40:16 +08:00
Rain
dc09cb88c4 fix(region): Add reset_password in guest template's ConfigInfo 2020-01-04 21:40:16 +08:00
Zexi Li
155ef44d8f Merge pull request #4595 from rainzm/automated-cherry-pick-of-#4592-upstream-release-3.0
Automated cherry pick of #4592: fix(region): Fix that 'Can_delete' disappears due to parameter structuring
2020-01-04 21:10:02 +08:00
Zexi Li
e08b7ff91d Merge pull request #4591 from rainzm/automated-cherry-pick-of-#4588-upstream-release-3.0
Automated cherry pick of #4588: fix(region): Set normal's snapshotpolicy's status as ready
2020-01-04 21:09:41 +08:00
yunion-ci-robot
fa544dbdc7 Merge pull request #4596 from rainzm/automated-cherry-pick-of-#4419-upstream-release-3.0
Automated cherry pick of #4419: feature(esxi-agent): Esxi Agent Golang
2020-01-04 21:08:41 +08:00
Rain
67f0dc3f8b feature(esxi-agent): Esxi Agent Golang
1. 修改了host-deployer 使其支持 vmware vddk 的 deploy guest fs 操作。
2. esxi agent python ==> Go

fix(esxi-agent): Fix some bugs and irregular contents

fix(esxi-agent): Partial parameter structure

fix(esxi-agent): Add ovf template and remove some binary file

fix(esxi-agent): Format Code

fix(esxi-agent): fix based on reviewers' comments

fix(esxi-agent): fix host-deployer because of occasional unknown panic

fix: DelayTask should have a new Context

fix(esxi-agent): call hostutils.DelayTask

change '_interface' package to 'iagent' package

fix(esxi-agent): Fix some irregular code
2020-01-04 21:04:29 +08:00
Rain
d333e30d52 fix(region): Fix that 'Can_delete' disappears due to parameter structuring 2020-01-04 21:03:56 +08:00
Rain
94068ce53e feature(region): Add bind/unbind-snapshotpolicy api for disk 2020-01-04 21:00:33 +08:00
Rain
7a0b6fd2ee fix(region): Set normal's snapshotpolicy's status as ready 2020-01-04 21:00:33 +08:00
屈轩
c0115d5a9c fix: 子网删除忽略弹性网卡 (#4575) 2020-01-04 20:52:54 +08:00
Jian Qiu
50ea8fc5a8 Automated cherry pick of #4527: fix: httpclient timeout value cleanup, use notimeout client for oss (#4531)
* fix: httpclient timeout value cleanup, use notimeout client for oss

* Adaptive timeout client

* more test cases

* remove resolve timeout test case

* use adptive timeout only if timeout = 0
2020-01-04 20:52:25 +08:00
yunion-ci-robot
fec4cb1804 Merge pull request #4570 from bistuzx/automated-cherry-pick-of-#4557-upstream-release-3.0
Automated cherry pick of #4557: add cloud account create&update options
2020-01-04 20:28:43 +08:00
yunion-ci-robot
49b3bf2dce Merge pull request #4582 from ioito/automated-cherry-pick-of-#4581-upstream-release-3.0
Automated cherry pick of #4581: fix: 修复zstack安全组创建失败问题
2020-01-04 20:12:39 +08:00
yunion-ci-robot
b89a445451 Merge pull request #4559 from ioito/automated-cherry-pick-of-#4558-upstream-release-3.0
Automated cherry pick of #4558: fix: openstack eip dissociate optimized
2020-01-04 20:02:36 +08:00
Qu Xuan
d3a0e345d9 fix: 修复zstack安全组创建失败问题 2020-01-04 20:01:21 +08:00
Zexi Li
0542deef75 Merge pull request #4568 from swordqiu/automated-cherry-pick-of-#4564-upstream-release-3.0
Automated cherry pick of #4564: fix: minio fail to set object metadata
2020-01-04 19:52:52 +08:00
Zexi Li
0db77fc304 Merge pull request #4552 from swordqiu/automated-cherry-pick-of-#4549-upstream-release-3.0
Automated cherry pick of #4549: fix: domain quota-list include domain's own quota
2020-01-04 19:46:26 +08:00
Zexi Li
c6a8eae499 Merge pull request #4580 from zexi/automated-cherry-pick-of-#4579-upstream-release-3.0
Automated cherry pick of #4579: dockerfile: component use base image
2020-01-04 19:28:01 +08:00
Zexi Li
62f0a84a83 dockerfile: component use base image 2020-01-04 19:28:35 +08:00
张旭
aa6e9a8107 add cloud account create&update options 2020-01-04 19:19:06 +08:00
yunion-ci-robot
8528410bf8 Merge pull request #4554 from tb365/automated-cherry-pick-of-#4553-upstream-release-3.0
Automated cherry pick of #4553: elastic account add random password
2020-01-04 19:05:36 +08:00
Qu Xuan
d2f33742a0 fix: openstack eip dissociate optimized 2020-01-04 18:43:30 +08:00
Qiu Jian
b4b1494e1c fix: minio fail to set object metadata 2020-01-04 18:37:42 +08:00
TangBin
bb8c9d1b47 get eip bugfix 2020-01-04 18:23:22 +08:00
TangBin
ab1d2c0c24 get eip bugfix 2020-01-04 18:23:22 +08:00
TangBin
ef1b8f5245 host batch register bugfix 2020-01-04 18:23:22 +08:00
TangBin
8d1f755b4e elastic cache account add login info api 2020-01-04 18:23:22 +08:00
TangBin
ad32d9063a elastic account add random password 2020-01-04 18:23:22 +08:00
yunion-ci-robot
7ca467e35b Merge pull request #4538 from wanyaoqi/automated-cherry-pick-of-#4535-upstream-release-3.0
Automated cherry pick of #4535: fix disk filter by guest
2020-01-04 18:20:36 +08:00
Qiu Jian
8270238116 fix: domain quota-list include domain's own quota 2020-01-04 17:18:50 +08:00
Zexi Li
ac4f897510 Merge pull request #4544 from swordqiu/automated-cherry-pick-of-#4539-upstream-release-3.0
Automated cherry pick of #4539: fix: add cloudprovider capabilities
2020-01-04 17:03:35 +08:00
wanyaoqi
0eef43bb0a add recover on guest suddenly shotdown 2020-01-04 16:51:59 +08:00
Qiu Jian
5096ee9de3 minor fixes 2020-01-04 16:21:41 +08:00
Qiu Jian
34e0d8dd27 minor fixes 2020-01-04 16:21:41 +08:00
Qiu Jian
975154b98a minor fixes 2020-01-04 16:21:41 +08:00
Qiu Jian
1b23d6c755 add cloudevent capabilities 2020-01-04 16:21:41 +08:00
Qiu Jian
cdbc49a1a8 fix: add cloudprovider capabilities 2020-01-04 16:21:41 +08:00
wanyaoqi
86df323603 fix disk filter by guest 2020-01-04 15:19:16 +08:00
Zexi Li
422dcf8020 Merge pull request #4534 from zexi/automated-cherry-pick-of-#4533-upstream-release-3.0
Automated cherry pick of #4533: devtool: use public influxdb endpoint
2020-01-04 14:50:40 +08:00
Zexi Li
a47bdf3566 devtool: use public influxdb endpoint 2020-01-04 14:37:00 +08:00
yunion-ci-robot
275832f438 Merge pull request #4512 from tb365/automated-cherry-pick-of-#4509-upstream-release-3.0
Automated cherry pick of #4509: account create bugfix
2020-01-04 12:55:36 +08:00
TangBin
dbbe173e51 InitPendingUsagesInContext fix 2020-01-04 12:42:09 +08:00
TangBin
f0276d1a01 account&provider health status check 2020-01-04 12:42:09 +08:00
TangBin
0cfb8dbd5a elastic skus add region_ext_id & zone_ext_id 2020-01-04 12:42:09 +08:00
TangBin
ad0ddf6dd9 disk delete condition validator 2020-01-04 12:42:09 +08:00
TangBin
3b1c4dc2e5 huawei oss client read http ProxyFromEnvironment 2020-01-04 12:42:09 +08:00
TangBin
4d907584e2 network operations add action log 2020-01-04 12:42:09 +08:00
TangBin
2b9a995b13 account create bugfix 2020-01-04 12:42:09 +08:00
Zexi Li
6dc2ccee60 Merge pull request #4521 from zexi/automated-cherry-pick-of-#4520-upstream-release-3.0
Automated cherry pick of #4520: baremetal: fix megaraid check jbod always disabled
2020-01-03 21:51:22 +08:00
yunion-ci-robot
2bd77ec202 Merge pull request #4514 from ioito/automated-cherry-pick-of-#4513-upstream-release-3.0
Automated cherry pick of #4513: fix: 腾讯云不支持描述字段参数
2020-01-03 21:28:39 +08:00
Zexi Li
30fab89baa baremetal: fix megaraid check jbod always disabled 2020-01-03 21:21:33 +08:00
Qu Xuan
8d47608e4e fix: 腾讯云不支持描述字段参数 2020-01-03 20:41:28 +08:00
Zexi Li
eeeb81bf3f Merge pull request #4502 from swordqiu/automated-cherry-pick-of-#4498-upstream-release-3.0
Automated cherry pick of #4498: fix: allow delete cloudaccount with auto-sync enabled
2020-01-03 19:06:20 +08:00
yunion-ci-robot
78d68a023b Merge pull request #4505 from rainzm/automated-cherry-pick-of-#4497-upstream-release-3.0
Automated cherry pick of #4497: fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest
2020-01-03 19:03:36 +08:00
yunion-ci-robot
6534a7c6a5 Merge pull request #4493 from ioito/automated-cherry-pick-of-#4492-upstream-release-3.0
Automated cherry pick of #4492: fix: 修复provider为空的套餐
2020-01-03 18:38:36 +08:00
Rain
9d60403817 fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest 2020-01-03 17:23:52 +08:00
Qiu Jian
6ba7cbbb37 fix: allow delete cloudaccount with auto-sync enabled 2020-01-03 17:17:24 +08:00
Zexi Li
047bf47534 Merge pull request #4491 from swordqiu/automated-cherry-pick-of-#4488-upstream-release-3.0
Automated cherry pick of #4488: scheduler schedule according to quota limit
2020-01-03 17:13:42 +08:00
Qiu Jian
243590995f fix: OutOfQuota error code 500 2020-01-03 16:02:44 +08:00
Qiu Jian
53a9c010cb automatically save pendingUsage in context 2020-01-03 16:02:44 +08:00
Qiu Jian
9a6d9df76d remove obsolete codes 2020-01-03 16:02:44 +08:00
Qiu Jian
8870fe2d1f bug fixes 2020-01-03 16:02:43 +08:00
Qiu Jian
d2d8a7eeaa move lb from zonequota to regionquota 2020-01-03 16:02:43 +08:00
Qiu Jian
56be0bb3c5 scheduler schedule according to quota limit 2020-01-03 16:02:43 +08:00
Qu Xuan
d9956a9445 fix: 修复provider为空的套餐 2020-01-03 15:54:18 +08:00
Zexi Li
0702803b52 Merge pull request #4487 from rainzm/automated-cherry-pick-of-#4483-upstream-release-3.0
Automated cherry pick of #4483: fix(notify): Always update websocket config
2020-01-03 11:22:47 +08:00
Zexi Li
f12c77ca4c Merge pull request #4479 from swordqiu/automated-cherry-pick-of-#4478-upstream-release-3.0
Automated cherry pick of #4478: fix: bucket list object may skip first matched object
2020-01-03 11:01:21 +08:00
Rain
e0e72f4dc2 fix(notify): Always update websocket config 2020-01-02 19:15:23 +08:00
Qiu Jian
1cd4472073 fix: sort objects and directories 2020-01-02 17:47:07 +08:00
Qiu Jian
71c877428e fix: bucket list object may skip first matched object 2020-01-02 17:47:07 +08:00
rainzm
20a2dc5bf3 fix(region): Add support for suspend when syncing status of guest (#4477) 2020-01-02 16:34:22 +08:00
Zexi Li
e00f4a1f7d Merge pull request #4473 from zexi/automated-cherry-pick-of-#4411-upstream-release-3.0
Automated cherry pick of #4411: host misc fix
2020-01-02 12:32:16 +08:00
wanyaoqi
72c489140d host misc fix
- host check not require ntpd
- create host record use generate name
2020-01-02 12:32:32 +08:00
yunion-ci-robot
f78cc56ea0 Merge pull request #4470 from swordqiu/hotfix/qj-move-lb-from-zone-quota-to-region-quota
fix: move loadblancer quota from zone to region
2020-01-02 11:47:34 +08:00
Qiu Jian
753fa84e26 fix: move loadblancer quota from zone to region 2020-01-02 11:36:48 +08:00
yunion-ci-robot
eafac5edf9 Merge pull request #4338 from zhaoxiangchun/feature/zhaoxiangchun
腾讯云监控信息获取
2020-01-02 10:14:34 +08:00
yunion-ci-robot
8f9013681e Merge pull request #4469 from wanyaoqi/bugfix/wyq/fix-bundle-libraries-scripts
bundle_libraries.sh: unsetenv LD_PRELOAD
2020-01-02 10:11:33 +08:00
wanyaoqi
bb55c10727 bundle_libraries.sh: unsetenv LD_PRELOAD 2020-01-01 21:38:58 +08:00
yunion-ci-robot
dbf1cd1215 Merge pull request #4464 from yousong/bugfix/yousong-ifname-pubc
networks: 确保外部network也有ifname_hint
2020-01-01 15:30:33 +08:00
Yousong Zhou
79904e8c20 networks: 确保外部network也有ifname_hint 2020-01-01 10:50:51 +08:00
yunion-ci-robot
67c29cc9b3 Merge pull request #4459 from ioito/hotfix/qx-openstack-default-image-format
fix: openstack image: vmdk -> qcow2
2020-01-01 09:29:34 +08:00
yunion-ci-robot
a063782206 Merge pull request #4455 from ioito/hotfix/qx-openstack-storage-sync-fix
fix: 避免nova external_id duplicate
2019-12-31 23:26:34 +08:00
Qu Xuan
cce9fab01a fix: openstack image: vmdk -> qcow2 2019-12-31 19:54:41 +08:00
yunion-ci-robot
7a47b633ff Merge pull request #4442 from wanyaoqi/feature/wyq/image-batch-update
feature: image batch update
2019-12-31 18:45:36 +08:00
yunion-ci-robot
95cb4e4841 Merge pull request #4450 from tb365/bugfix/tb-bugfix-1231
rpc batch opertaion bugfix
2019-12-31 18:25:33 +08:00
Qu Xuan
3452cc610d fix: 避免nova external_id duplicate 2019-12-31 18:24:03 +08:00
TangBin
012d8a16c0 batch user register ingnore password complexity check 2019-12-31 18:11:20 +08:00
TangBin
ac083d7f9b rpc batch opertaion bugfix 2019-12-31 18:06:22 +08:00
Zexi Li
46d27eaefd Merge pull request #4451 from swordqiu/feature/qj-skip-user-create-password-complexity-check
feature: allow skip password complexity check when creating user
2019-12-31 18:05:12 +08:00
Qiu Jian
e5d80f2ed4 feature: allow skip password complexity check when creating user 2019-12-31 17:59:31 +08:00
yunion-ci-robot
b79ef2aaaf Merge pull request #4435 from yousong/bugfix/yousong-ifname-qemu-ident
Bugfix/yousong ifname qemu ident
2019-12-31 17:11:33 +08:00
yunion-ci-robot
5b250b097c Merge pull request #4445 from wanyaoqi/bugfix/wyq/fix-dhcp-server
bugfix: not return on recv packet failed
2019-12-31 17:07:33 +08:00
wanyaoqi
61eb437683 not return on recv packet failed 2019-12-31 17:02:29 +08:00
wanyaoqi
4adcabdd0f image batch update 2019-12-31 16:21:39 +08:00
yunion-ci-robot
d31c5b5ac6 Merge pull request #4433 from wanyaoqi/bugfix/wyq/misc-20191231
region: fix owner of instance snapshot
2019-12-31 15:49:32 +08:00
Zexi Li
ad7f56dccd Merge pull request #4440 from ioito/hotfix/qx-api-struct
fix: struct api params
2019-12-31 15:46:03 +08:00
Qu Xuan
716fbab6cc fix: struct api params 2019-12-31 15:31:42 +08:00
Zexi Li
cf418574b7 Merge pull request #4432 from wanyaoqi/bugfix/wyq/fix-generate-nic-info
fix generate network config
2019-12-31 14:53:01 +08:00
wanyaoqi
0bd76ccc5f fix owner of instance snapshot 2019-12-31 14:41:19 +08:00
wanyaoqi
b556da8d59 fix generate network config 2019-12-31 14:16:38 +08:00
Zexi Li
b8e20b2728 Merge pull request #4430 from swordqiu/hotfix/qj-apigateway-option-use-pointer
fix: apigateway option use pointer
2019-12-31 12:40:30 +08:00
Qiu Jian
8f45439289 fix: apigateway option use pointer 2019-12-31 12:06:33 +08:00
yunion-ci-robot
fbe18caed3 Merge pull request #4417 from ioito/bugfix/qx-metadata-list
fix: metadata-list时考虑不同资源类型过滤条件
2019-12-31 11:35:33 +08:00
Qu Xuan
3875ac219d fix: metadata-list通用化所有资源标签 2019-12-31 11:15:11 +08:00
yunion-ci-robot
9ab75dad9e Merge pull request #4374 from rainzm/bugfix/suspend_status
fix(region): fix the status when start to suspend vm
2019-12-31 11:09:33 +08:00
Rain
bc23058284 fix(region): fix the status when start to suspend vm 2019-12-31 10:58:13 +08:00
Yousong Zhou
a592649ae1 guestnetworks: 加强ifname内容判断 2019-12-31 10:10:55 +08:00
Yousong Zhou
90e36bcc76 networks: newIfnameHint: 可读性改善 2019-12-31 10:10:55 +08:00
yunion-ci-robot
842a6c7c8f Merge pull request #4423 from wanyaoqi/bugfix/wyq/misc-region-1330
region MakeCloudProviderInfo instance snapshots
2019-12-31 01:22:32 +08:00
yunion-ci-robot
729e66c36f Merge pull request #4398 from ioito/bugfix/qx-qcloud-storage
fix: 避免创建时localstorage为空导致校验失败
2019-12-31 01:20:32 +08:00
yunion-ci-robot
49fffe5b8e Merge pull request #4390 from wanyaoqi/feature/wyq/public-cloud-support-postpaid-expire
feature: public cloud support postpaid expire
2019-12-31 01:09:32 +08:00
yunion-ci-robot
e3541be8bf Merge pull request #4380 from ioito/hotfix/qx-server-list-by-secgroup-optimized
fix: 支持过滤有admin_secgrp的虚拟机
2019-12-31 01:02:32 +08:00
yunion-ci-robot
2881ca970e Merge pull request #4387 from ioito/hotfix/qx-private-vm-create
fix: 避免私有云找不到对应的套餐
2019-12-31 00:52:33 +08:00
yunion-ci-robot
7f45ca69a1 Merge pull request #4394 from ioito/hotfix/qx-openstack-networkinterface-sync
fix: 避免同步将eip同步到弹性网卡里面
2019-12-31 00:46:32 +08:00
Zexi Li
a8381c0022 Merge pull request #4405 from wanyaoqi/bugfix/wyq/fix-panic-on-fstab-no-content
host: fix panic on fstab no content
2019-12-31 00:42:31 +08:00
Zexi Li
8cb87729a6 Merge pull request #4426 from swordqiu/hotfix/qj-baremetal-server-reuse-host-ipmi-address
fix: baremetal server may reuse host's IPMI address
2019-12-31 00:40:02 +08:00
yunion-ci-robot
6628f5223a Merge pull request #4420 from tb365/bugfix/tb-update-rbac-default-policy
update rbac default policy
2019-12-31 00:20:33 +08:00
Qiu Jian
f444dc3f49 fix: baremetal server may reuse host's IPMI address 2019-12-30 23:08:32 +08:00
wanyaoqi
540799fb6a region MakeCloudProviderInfo instance snapshots
- MakeCloudProviderInfo: fix panic on account is nil
- GetSnapshotsNotInInstanceSnapshot: add filter disk_id
2019-12-30 21:17:33 +08:00
TangBin
5552d6ea8e update rbac default policy 2019-12-30 18:39:49 +08:00
yunion-ci-robot
fc273efa40 Merge pull request #4412 from yousong/bugfix/yousong-ifname-qemu-ident
networks: make ifname hint also valid qemu identifier
2019-12-30 18:08:32 +08:00
Zexi Li
274026f014 Merge pull request #4401 from swordqiu/hotfix/qj-host-update-ipmi
fix: host-update ipmi and host-sync-config support
2019-12-30 17:58:40 +08:00
Yousong Zhou
0d21d7f41a networks: make ifname hint also valid qemu identifier 2019-12-30 17:55:53 +08:00
wanyaoqi
22c8785db1 fix panic on fstab no content 2019-12-30 16:24:54 +08:00
Qiu Jian
f41de9139d fix: host-update ipmi and host-sync-config support 2019-12-30 16:05:05 +08:00
Qu Xuan
5adb63b93f fix: 避免创建时localstorage为空导致校验失败 2019-12-30 15:32:16 +08:00
Qu Xuan
12ec296cd1 fix: 避免同步将eip同步到弹性网卡里面 2019-12-30 14:52:06 +08:00
wanyaoqi
4767d1d536 public cloud support postpaid expire 2019-12-30 11:19:20 +08:00
Qu Xuan
4a9549a6be fix: 支持过滤有admin_secgrp的虚拟机 2019-12-30 10:49:58 +08:00
Qu Xuan
0c44f2362b fix: 避免私有云找不到对应的套餐 2019-12-30 10:40:44 +08:00
yunion-ci-robot
53972dc1ec Merge pull request #4347 from ioito/hotfi/qx-classic-network-sync
fix: 支持同步经典网络ip地址
2019-12-30 09:17:32 +08:00
yunion-ci-robot
a636dd57b1 Merge pull request #4362 from ioito/hotfix/qx-qcloud-disk-create-time
fix: 更正腾讯云磁盘创建时间
2019-12-29 22:03:32 +08:00
zhaoxiangchun
5ed31fad86 qcloud: 监控信息获取
修改tag名称:命名不规范
2019-12-28 14:23:39 +08:00
yunion-ci-robot
1b67d4c59d Merge pull request #4383 from ioito/bugfix/qx-cloudaccount-update
fix: 修复接收参数异常问题
2019-12-28 14:17:31 +08:00
yunion-ci-robot
38542c09ec Merge pull request #4386 from swordqiu/hotfix/qj-github-action-add-devtool
feature: add github workflow to build devtool image
2019-12-28 14:11:30 +08:00
Qu Xuan
73dc3a6a38 fix: 支持同步经典网络ip地址 2019-12-28 13:15:52 +08:00
Qu Xuan
d047f4e387 fix: 更正腾讯云磁盘创建时间 2019-12-28 13:06:11 +08:00
yunion-ci-robot
7eed859abd Merge pull request #4375 from ioito/hotfix/qx-secgroup-delete
fix: 避免因太多锁导致删除安全组task失败
2019-12-28 09:53:35 +08:00
Qiu Jian
74332df120 feature: add github workflow to build devtool image 2019-12-27 20:56:22 +08:00
yunion-ci-robot
82f0965bb7 Merge pull request #4373 from wanyaoqi/bugfix/wyq/host-misc
host: fix create system service configure file and ceph configure file
2019-12-27 20:51:31 +08:00
Qu Xuan
4adeace207 fix: 修复接收参数异常问题 2019-12-27 20:30:27 +08:00
Qu Xuan
861bba2c48 fix: 避免因太多锁导致删除安全组task失败 2019-12-27 16:22:29 +08:00
wanyaoqi
87cf5ab794 fix create system service configure file and ceph configure file 2019-12-27 16:05:28 +08:00
Zexi Li
e4abf1b8fe Merge pull request #4354 from swordqiu/hotfix/qj-cloud-account-list-empty-project
fix: cloudaccount try get info of empty project
2019-12-27 16:02:00 +08:00
Zexi Li
34243a5042 Merge pull request #4357 from swordqiu/hotfix/qj-unify-service-type-of-apigateway
fix: change service type of apigateway to yunionapi
2019-12-27 15:59:30 +08:00
Zexi Li
e91811558f Merge pull request #4352 from swordqiu/hotfix/qj-quota-usage-refresh-timeout
fix: refresh quota usage may timeout
2019-12-27 15:58:48 +08:00
Zexi Li
6965bddfbc Merge pull request #4360 from swordqiu/hotfix/qj-update-vendor-20191226
update vendor
2019-12-27 15:58:25 +08:00
Zexi Li
f5b5bcfea6 Merge pull request #4359 from swordqiu/feature/qj-devtool-dockerfile
feature: add devtool dockerfile
2019-12-27 15:58:07 +08:00
Zexi Li
df8f178cd6 Merge pull request #4368 from swordqiu/hotfix/qj-keystone-user-email-charset
fix: alter user email charset to utf8
2019-12-27 14:28:46 +08:00
Qiu Jian
b23174fc94 fix: alter user email charset to utf8 2019-12-27 14:08:34 +08:00
yunion-ci-robot
5dce04ca01 Merge pull request #4336 from ioito/hotfix/qx-openstack-optimized
fix: 优化支持openstack重装系统
2019-12-27 01:13:30 +08:00
yunion-ci-robot
d23ea9da12 Merge pull request #4296 from wanyaoqi/bugfix/wyq/snapshot-misc-1225
snapshot misc bugfix
2019-12-27 01:09:29 +08:00
yunion-ci-robot
a3db9b1311 Merge pull request #4291 from yousong/feature/yousong-guest-ipmac
Feature/yousong guest ipmac
2019-12-27 01:06:36 +08:00
yunion-ci-robot
13e1b62f15 Merge pull request #4333 from wanyaoqi/bugfix/wyq/query-fix
eip add distinct account
2019-12-27 01:01:30 +08:00
Qiu Jian
a10804747e update vendor 2019-12-27 00:56:39 +08:00
Qiu Jian
e8c62768ea feature: add devtool dockerfile 2019-12-27 00:31:32 +08:00
Qiu Jian
21d89b7d54 fix: change service type of apigateway to yunionapi 2019-12-27 00:24:46 +08:00
Qiu Jian
57ce1025bf fix: cloudaccount try get info of empty project 2019-12-26 22:30:57 +08:00
Qiu Jian
8fcd3ef46d fix: refresh quota usage may timeout 2019-12-26 22:16:23 +08:00
Zexi Li
d4ed948af0 Merge pull request #4326 from swordqiu/hotfix/qj-baremetal-disk-config-empty-index
fix: baremetal diskconfig empty adaptor index
2019-12-26 21:15:39 +08:00
Zexi Li
14e12a1904 Merge pull request #4337 from wanyaoqi/bugfix/wyq/host-misc
fix endpoint type, chntpw path
2019-12-26 21:15:01 +08:00
Zexi Li
4b7e25cd20 Merge pull request #4342 from swordqiu/hotfix/qj-fetch-project-domain-name-in-system-scope
fix: fetch project/domain name should use system query scope
2019-12-26 21:13:48 +08:00
Zexi Li
6e93f11632 Merge pull request #4344 from swordqiu/hotfix/qj-reduce-authenticate-action-log
fix: reduce action log for keystone authentication event
2019-12-26 21:12:03 +08:00
Qiu Jian
8054b5a366 fix: reduce action log for keystone authentication event 2019-12-26 20:49:39 +08:00
yunion-ci-robot
ef06f64609 Merge pull request #4340 from swordqiu/hotfix/qj-explicit-delete-prefix
fix: separate delete-object and delete-prefix methods
2019-12-26 18:51:32 +08:00
Qiu Jian
2a51cf685f fix: fetch project/domain name should use system query scope 2019-12-26 18:16:43 +08:00
Qiu Jian
859ab89c3f fix: separate delete-object and delete-prefix methods 2019-12-26 16:50:55 +08:00
wanyaoqi
6b2058dcee fix endpoint type, chntpw path 2019-12-26 16:50:09 +08:00
Qu Xuan
aac6e812da fix: 优化支持openstack重装系统 2019-12-26 16:23:18 +08:00
yunion-ci-robot
c03ffbccea Merge pull request #4322 from swordqiu/hotfix/qj-elasticip-sync-issue
fix: SyncEip时同步项目应该在同步主机信息之前
2019-12-26 15:54:30 +08:00
Zexi Li
9909b5938f Merge pull request #4319 from swordqiu/hotfix/qj-bucket-get-objects-with-marker-limit
fix: bucket list objects with marker and limit
2019-12-26 15:45:29 +08:00
yunion-ci-robot
c1eb335638 Merge pull request #4317 from swordqiu/hotfix/qj-hide-worker-watchdog-log
fix: hide worker manager watchdog log
2019-12-26 15:43:30 +08:00
wanyaoqi
86a72d7437 eip add distinct account 2019-12-26 14:44:14 +08:00
yunion-ci-robot
0a7e0809d3 Merge pull request #4248 from zhasm/hotfix/rex-fix-devtool-template-rbac
修复 devtool template rbac 权限
2019-12-26 11:21:29 +08:00
yunion-ci-robot
020a32b536 Merge pull request #4331 from tb365/bugfix/tb-bugfix-1226
host register bugfix
2019-12-26 11:15:32 +08:00
yunion-ci-robot
da1bf1067b Merge pull request #4299 from yousong/bugfix/yousong-host-error
Bugfix/yousong host error
2019-12-26 11:03:33 +08:00
TangBin
b111273b22 host register bugfix 2019-12-26 10:42:19 +08:00
yunion-ci-robot
b116414a67 Merge pull request #4313 from ioito/bugfix/qx-domain-secgrouprule
fix: 避免在域管理后台rules不可见
2019-12-26 01:54:14 +08:00
yunion-ci-robot
da173623ef Merge pull request #4307 from ioito/hotfix/qx-openstack-host-status
fix: 同步openstack宿主机关闭服务后状态
2019-12-26 01:50:14 +08:00
Qiu Jian
7d69e025b0 fix: baremetal diskconfig empty adaptor index 2019-12-26 01:10:15 +08:00
Qiu Jian
638e75fb2e fix: SyncEip时同步项目应该在同步主机信息之前 2019-12-26 00:58:50 +08:00
Qiu Jian
7b00c8e76a fix fmt issue 2019-12-26 00:45:46 +08:00
Qiu Jian
e34d401455 fix: minor fix 2019-12-25 23:26:46 +08:00
Qiu Jian
7433134cb4 fix: bucket list objects with marker and limit 2019-12-25 23:06:16 +08:00
yunion-ci-robot
4d73c7c675 Merge pull request #4283 from swordqiu/feature/qj-baremetal-server-reuse-host-ip
feature: 1. baremetal server reuse host ip 2. server name use expression
2019-12-25 21:00:16 +08:00
yunion-ci-robot
e0fe057b41 Merge pull request #4312 from swordqiu/hotfix/qj-docker-image-add-ca-certificates
Hotfix/qj docker image add ca certificates
2019-12-25 20:58:14 +08:00
yunion-ci-robot
8dcce073b3 Merge pull request #4285 from wanyaoqi/bugfix/wyq/fix-qemu-nbd-exec
fix qemu nbd exec
2019-12-25 20:57:13 +08:00
Qiu Jian
097fa6d86b fix: hide worker manager watchdog log 2019-12-25 18:26:53 +08:00
yunion-ci-robot
e617a3e404 Merge pull request #4304 from ioito/hotfix/qx-ignore-cloud-account-health-status
fix: 支持忽略cloudaccount健康检查
2019-12-25 17:10:13 +08:00
Qiu Jian
092deb7cd6 fix: 整理改进Dockerfile 2019-12-25 17:01:20 +08:00
Qu Xuan
2a575c37d3 fix: 避免在域管理后台rules不可见 2019-12-25 16:59:52 +08:00
Qu Xuan
1a5928a69c fix: 同步openstack宿主机关闭服务后状态 2019-12-25 16:25:50 +08:00
yunion-ci-robot
1d13879bcc Merge pull request #4286 from ioito/hotfix/qx-cloud-event-detail
fix: list增加provider字段,过滤已删除账号的cloudevent
2019-12-25 16:25:13 +08:00
Qu Xuan
644f549263 fix: 支持忽略cloudaccount健康检查 2019-12-25 16:07:52 +08:00
Yousong Zhou
857df221e4 hostman: note for preflight check for ifconfig command 2019-12-25 15:57:43 +08:00
Yousong Zhou
5303efe96d hostman: fsdriver: fix hostname deployment for openwrt
We will need to add native uci support later
2019-12-25 15:45:20 +08:00
Yousong Zhou
f01a125db5 hostman: add default values for host config 2019-12-25 15:45:20 +08:00
Yousong Zhou
873687a3df networks: different indent level for asymmetric branches 2019-12-25 15:45:20 +08:00
Yousong Zhou
200178bf5f hostman: different error message for different error reason 2019-12-25 15:45:20 +08:00
wanyaoqi
885e221293 snapshot misc bugfix 2019-12-25 15:07:10 +08:00
yunion-ci-robot
b601feb8fa Merge pull request #4293 from ioito/hotfix/qx-tenant
fix: 避免未接收到tenant参数
2019-12-25 14:57:14 +08:00
Qu Xuan
f54b393fe8 fix: 避免未接收到tenant参数 2019-12-25 14:35:49 +08:00
Yousong Zhou
e65081c93f climc: add server-modify-src-check 2019-12-25 12:09:50 +08:00
Yousong Zhou
2ce3925344 guests: add modify-src-check support 2019-12-25 12:09:50 +08:00
Qiu Jian
e64b9b60a6 fix: add ca-certificates to docker images 2019-12-25 10:04:34 +08:00
Qu Xuan
662c80dcae fix: list增加provider字段,过滤已删除账号的cloudevent 2019-12-24 22:01:50 +08:00
wanyaoqi
be2f661d40 fix qemu nbd exec 2019-12-24 21:23:57 +08:00
Qiu Jian
096448fa17 remove debug log 2019-12-24 20:19:04 +08:00
Qiu Jian
ccaddaf19f minor fix 2019-12-24 20:13:03 +08:00
Qiu Jian
b31bc7fa3d feature: 1. baremetal server reuse host ip 2. server name use expression 2019-12-24 19:04:41 +08:00
Zhang Dongliang
5caf8d6648 devtool 资源类型 从standalone 改为 virtualresource 2019-12-24 11:42:33 +08:00
yunion-ci-robot
f36f006368 Merge pull request #4257 from swordqiu/feature/qj-service-config-change-take-effect
feature: service config update support
2019-12-24 10:25:13 +08:00
yunion-ci-robot
9186fe44d6 Merge pull request #4274 from rainzm/bugfix/notify_user_cache
fix(notify): Fix for user cache and list contacts
2019-12-23 21:10:12 +08:00
Rain
2fd569411d fix(notify): Fix for user cache and list contacts 2019-12-23 20:46:00 +08:00
yunion-ci-robot
937005b063 Merge pull request #4281 from ioito/hotfix/qx-host-metadata
fix: host支持标签
2019-12-23 20:25:15 +08:00
Qu Xuan
965e0297a0 fix: host支持标签 2019-12-23 19:43:08 +08:00
Qiu Jian
df532e3415 update vendor 2019-12-23 19:09:32 +08:00
Qiu Jian
6d8f19273c feature: service config update support 2019-12-23 19:09:32 +08:00
yunion-ci-robot
a7b910bcce Merge pull request #4277 from tb365/feature/tb-update-rbac-default-policy
add services query permission
2019-12-23 18:33:14 +08:00
TangBin
1c202009a6 add services query permission 2019-12-23 18:06:35 +08:00
yunion-ci-robot
397fbd4ca5 Merge pull request #4270 from swordqiu/feature/qj-centos-8-support
feature: support centos 8 deployment. centos 8 requiest NetworkManager
2019-12-22 23:29:13 +08:00
Qiu Jian
62dad400f5 feature: support centos 8 deployment. centos 8 requiest NetworkManager 2019-12-21 18:40:02 +08:00
rainzm
1f163a399e update vendor (#4267) 2019-12-21 17:55:42 +08:00
yunion-ci-robot
a130a935ef Merge pull request #4258 from swordqiu/feature/qj-domain-usage
feature: add domain usage with prefix "domain."
2019-12-21 17:14:12 +08:00
yunion-ci-robot
eea459a941 Merge pull request #4264 from ioito/hotfix/qx-gcp-storage
fix: google storage name
2019-12-21 17:03:06 +08:00
Qu Xuan
db6e2d7c6c fix: google storage name 2019-12-21 16:39:17 +08:00
yunion-ci-robot
b52d734dc2 Merge pull request #4262 from ioito/hotfix/qx-gcp-sync-fix
fix: 编译问题
2019-12-21 16:34:06 +08:00
Qu Xuan
844bc29dd1 fix: 编译问题 2019-12-21 16:31:12 +08:00
yunion-ci-robot
f6098a6b11 Merge pull request #4260 from ioito/hotfix/qx-gcp-sync-fix
fix: resourcebase和selflink,name重叠
2019-12-21 16:18:08 +08:00
Qu Xuan
20281a8ec5 fix: resourcebase和selflink,name重叠 2019-12-21 16:14:08 +08:00
Qiu Jian
a9e4902e1b feature: add domain usage with prefix "domain." 2019-12-21 14:17:45 +08:00
yunion-ci-robot
8356ad3138 Merge pull request #4254 from ioito/hotfix/qx-google-storagecache
fix: 谷歌云镜像账号内共享,只需要一个storagecache
2019-12-21 00:01:11 +08:00
yunion-ci-robot
4f405d8b6d Merge pull request #4250 from rainzm/feature/update_vendor
feat: update vendor
2019-12-20 23:56:06 +08:00
Qu Xuan
81993683f5 fix: 谷歌云镜像账号内共享,只需要一个storagecache 2019-12-20 21:37:06 +08:00
Rain
7cf13bc730 Update vendor in case of updating about yunion.io/x/pkg and yunion.io/x/jsonutils 2019-12-20 20:03:32 +08:00
yunion-ci-robot
98dbc76020 Merge pull request #4228 from yousong/bugfix/yousong-mcclient-proxy
Bugfix/yousong mcclient proxy
2019-12-20 18:11:04 +08:00
yunion-ci-robot
2cea2ad621 Merge pull request #4245 from wanyaoqi/bugfix/wyq/fix-find-qemu-img
fix find qemu img
2019-12-20 16:07:04 +08:00
yunion-ci-robot
2af51b4d83 Merge pull request #4232 from rainzm/bugfix/notify_data_init
Fix(notify): Unified the api params and fix some bug.
2019-12-20 16:04:07 +08:00
wanyaoqi
ea60915fa6 fix find qemu img 2019-12-20 14:52:13 +08:00
Rain
6e7e55b930 feat(notify): Add default email tempalte with topic IMAGE_ACTIVED 2019-12-20 11:41:14 +08:00
Rain
61ff025886 Fix(notify): Unified the api params and fix some bug.
1. Config Verify 和 Contact 的 InitalizeData 写得过于直接了。
会导致正常的数据被覆盖。实际上,数据的Init只需要更换数据
库的时候更新,如何判断数据库要被更新了,就是判断新出现的
column 有没有非零值的,如果有,就说明数据库不是第一次更新。

2. 前端的请求经过yunionapi,最终会调用climc里面注册的ResourceManager,
所以这个地方一定要和后端的参数处理统一。之前因为添加 uname
的支持破坏了这个地方的统一,虽然climc可以调用成功但是前端接口调用会失败。

3. Resend 的bug,会导致任务的阻塞。

4. 为了兼容kapacitor对climc
notify的调用,分成了notify和notify-batch两个命令。
2019-12-20 11:39:17 +08:00
yunion-ci-robot
f1c00de499 Merge pull request #4184 from tb365/bugfix/tb-bugfix-1216
Bugfix/tb bugfix 1216
2019-12-20 11:26:17 +08:00
Zexi Li
4eb64a92ff Merge pull request #4241 from rainzm/bugfix/guest_template_display
Fix(region): Fix the Json tag of apis.GuesttemplateNetwork.GuestIpEnd
2019-12-20 10:49:24 +08:00
yunion-ci-robot
3f636ef58a Merge pull request #4238 from zexi/bugfix/bm-register
baremetal: fix register input params lost
2019-12-20 00:16:07 +08:00
Zexi Li
9e68fcc3b2 Merge pull request #4237 from wanyaoqi/bugfix/wyq/fix-build-host-image
bugfix: find ceph needs libraries
2019-12-19 22:11:26 +08:00
wanyaoqi
adc079867d fix host build image 2019-12-19 21:58:01 +08:00
Rain
e12098619a Fix(region): Fix the Json tag of apis.GuesttemplateNetwork.GuestIpEnd 2019-12-19 21:46:49 +08:00
Zexi Li
8d82165f54 baremetal: fix register input params lost 2019-12-19 21:07:43 +08:00
yunion-ci-robot
409b5d8d35 Merge pull request #4083 from tb365/feature/tb-user-batch-import
Feature/tb user batch import
2019-12-19 19:04:04 +08:00
TangBin
a6997107ef add cache skus query params 2019-12-19 17:58:52 +08:00
Zexi Li
e86c46c284 Merge pull request #4235 from swordqiu/hotfix/qj-image-quotas-not-register-model-name
fix: image-quotas not register model names
2019-12-19 17:31:14 +08:00
Qiu Jian
e4ad978636 fix: image-quotas not register model names 2019-12-19 17:28:05 +08:00
TangBin
e61f8b7691 add zone service filter 2019-12-19 16:56:53 +08:00
TangBin
80a7440731 zone customize columns add region_external_id 2019-12-19 16:19:17 +08:00
TangBin
c25f6f4c71 get elasitc cache account password api 2019-12-19 16:19:17 +08:00
TangBin
c421b65b89 elastic skus query bugfix 2019-12-19 16:19:17 +08:00
TangBin
256b62997a add host iso&pxe register 2019-12-19 16:01:46 +08:00
TangBin
083c8465cd user batch create 2019-12-19 15:58:42 +08:00
TangBin
6ccdd25f77 add user & project batch import template 2019-12-19 15:58:42 +08:00
Yousong Zhou
f54ce48072 httputils: unset DisableCompression=true 2019-12-19 14:57:08 +08:00
Yousong Zhou
560aa24383 mcclient: proxy setting aware by using httputils' transport 2019-12-19 14:28:11 +08:00
yunion-ci-robot
3693d8715c Merge pull request #4226 from ioito/hotfix/global-vpc-permission
fix: globalvpc属于系统资源
2019-12-19 13:12:02 +08:00
yunion-ci-robot
5f54270092 Merge pull request #4224 from ioito/bugfix/qx-cloudevent-fix
fix: 移除重复的manger注册
2019-12-19 12:54:03 +08:00
Qu Xuan
41eda02a8d fix: globalvpc属于系统资源 2019-12-19 11:41:49 +08:00
Qu Xuan
3b4e3fc0ce fix: 移除重复的manger注册 2019-12-19 11:28:17 +08:00
yunion-ci-robot
127147be5b Merge pull request #4221 from rainzm/bugfix/snapshotpolicy_list
fix(region): Fix the bug of snapshotpolicy's list with details
2019-12-19 11:10:04 +08:00
Zexi Li
d9ae4ddad0 Merge pull request #4220 from ioito/hotfix/qx-cloudevent-docker-build
add: cloudevent build
2019-12-19 10:54:07 +08:00
Qu Xuan
b09ee56792 add: cloudevent build 2019-12-19 10:52:06 +08:00
Rain
f90f95ba35 fix(region): Fix the bug of snapshotpolicy's list with details
snapshotpolicy的GetCustomizeColumns和GetExtraDetails本来写的就有问题,
不过在2.12版本没有展示出来,因为2.13版本参数结构化的原因,details获取
的时候extraDict和jsonDict的更新逻辑有所改变,使得query携带着list第一
个item的数据一直存在整个循环之中,最终数据都是一样的。
2019-12-18 21:12:52 +08:00
yunion-ci-robot
714db97124 Merge pull request #4217 from rainzm/bugfix/notify_contact_verify
bugfix(notify): Fix the bug of notify config and verify
2019-12-18 20:50:05 +08:00
yunion-ci-robot
5bdbaa7da3 Merge pull request #4210 from ioito/hotfix/qx-gcp-sync-optimized
optimize: 分离各个资源的request请求
2019-12-18 19:58:02 +08:00
Rain
1cc8dacfa6 bugfix(notify): Fix the bug of notify config and verify
1. 优化了报错信息
2. 将验证信息的发送由异步改成了同步,这样前端可以方便的展示验证消息发送失败的原因
3. 主动初始化webconsole的配置信息,使得websocket能够马上正常工作
4. 修复了验证信息发送失败之后联系方式状态不正确的bug
5. 去掉有关email回调地址的api
6. 修复了 update config 首次不起作用的 bug
2019-12-18 19:01:25 +08:00
yunion-ci-robot
2a8a9d69be Merge pull request #4212 from yousong/bugfix/yousong-empty-ifname
guestnetworks: ignore empty preferIfname
2019-12-18 18:59:04 +08:00
Yousong Zhou
fdcc85507f guestnetworks: ignore empty preferIfname
Fixes cc02ac74 ("guestnetworks: check ifname uniqueness across different
networks")
2019-12-18 09:02:43 +00:00
yunion-ci-robot
01997070c4 Merge pull request #4164 from rainzm/bugfix/service_catalog
fix(region): Add support for updating Service Catalog
2019-12-18 13:18:02 +08:00
yunion-ci-robot
bfff0f8a23 Merge pull request #4207 from swordqiu/hotfix/qj-fake-dc-search-id-match
fix: ESXi fakeDC ID should matches any datacenter
2019-12-17 22:38:04 +08:00
Qu Xuan
7b78f8232a optimize: 分离各个资源的request请求 2019-12-17 21:29:58 +08:00
Qiu Jian
18857c2a37 fix: ESXi fakeDC ID should matches any datacenter 2019-12-17 18:47:37 +08:00
yunion-ci-robot
eef7a1b217 Merge pull request #4180 from ioito/hotfix/qx-cachedimage-log
fix: 添加缓存镜像失败日志
2019-12-17 17:53:03 +08:00
yunion-ci-robot
e3d001b747 Merge pull request #4204 from rainzm/bugfix/notify_template
fix(notify): Fix the bugs of user cache and some api's params
2019-12-17 17:27:11 +08:00
Rain
59a7b155a3 fix(notify): Fix the bugs of user cache and some api's params 2019-12-17 17:18:22 +08:00
yunion-ci-robot
b9e1072351 Merge pull request #4202 from swordqiu/hotfix/qj-update-vendor-20191217
update vendor
2019-12-17 17:03:02 +08:00
yunion-ci-robot
3cb1e78e8e Merge pull request #4177 from ioito/hotfix/qx-host-usable
fix: 增强host-list --usable限制
2019-12-17 17:02:02 +08:00
Qiu Jian
fe53204517 update vendor 2019-12-17 16:48:14 +08:00
yunion-ci-robot
cf2b2d203d Merge pull request #4194 from ioito/hotfix/qx-metdata-list-filter
fix: 标签过滤和框架保持一致
2019-12-17 16:25:01 +08:00
yunion-ci-robot
919d0d9f86 Merge pull request #4193 from swordqiu/hotfix/qj-esxi-no-premission-access-datacenter
fix: fetch hosts if no permission to access datacenter
2019-12-17 16:24:03 +08:00
Zexi Li
018f453072 Merge pull request #4175 from wanyaoqi/bugfix/wyq/minor-1216
bugfix: fix snapshot create input and validate
2019-12-17 16:13:39 +08:00
Qiu Jian
18bda6ab26 fix: fetch hosts if no permission to access datacenter 2019-12-17 15:55:26 +08:00
Qu Xuan
e282459679 fix: 标签过滤和框架保持一致 2019-12-17 15:55:24 +08:00
yunion-ci-robot
904a801fe0 Merge pull request #4182 from zhasm/hotfix/rex-fix-devtool-globaltables-issue
devtool manager 去掉重复的 RegisterModelManager
2019-12-17 15:51:06 +08:00
Zhang Dongliang
7567e7773c devtool manager 去掉重复的 RegisterModelManager 2019-12-17 15:14:03 +08:00
Qu Xuan
c66994d83a fix: 增强host-list --usable限制 2019-12-17 14:46:36 +08:00
yunion-ci-robot
9833329827 Merge pull request #4188 from swordqiu/hotfix/qj-disable-cloud-account-not-disable-auto-sync
fix: disabling cloud account should not turn off auto sync switch
2019-12-17 14:03:01 +08:00
yunion-ci-robot
f5a0c6d6b3 Merge pull request #4167 from swordqiu/hotfix/qj-allow-delete-quota
feature: allow delete none-default quota
2019-12-17 14:00:03 +08:00
yunion-ci-robot
ab5d281972 Merge pull request #4128 from swordqiu/feature/qj-object-store-support-http-meta-header
feature: object storage support set/get http headers
2019-12-17 13:59:03 +08:00
yunion-ci-robot
62c05bd62a Merge pull request #4102 from wanyaoqi/feature/wyq/dockerfiles-fix
fix dockerfiles
2019-12-17 11:44:01 +08:00
yunion-ci-robot
f2506169ba Merge pull request #4185 from swordqiu/hotfix/qj-server-change-config-failed
fix: server change config failed due to quota recode
2019-12-17 09:28:02 +08:00
Qiu Jian
bd864381f7 fix: disabling cloud account should not turn off auto sync switch 2019-12-17 01:17:04 +08:00
yunion-ci-robot
0cea001ced Merge pull request #4168 from ioito/hotfix/qx-secgrouprule
fix: 避免创建安全组规则时未能接收到安全组参数
2019-12-16 23:53:03 +08:00
Qiu Jian
05d171cf1c fix: minor fixes 2019-12-16 23:40:14 +08:00
Qiu Jian
bdfa99b0b6 fix: server change config failed due to quota recode 2019-12-16 21:03:52 +08:00
wanyaoqi
9f8be8de2a fix docker files 2019-12-16 19:10:59 +08:00
Qu Xuan
9a89065a03 fix: 添加缓存镜像失败日志 2019-12-16 13:08:15 +08:00
wanyaoqi
38a505c043 fix snapshot create input 2019-12-16 12:01:08 +08:00
yunion-ci-robot
db2b599dcd Merge pull request #4103 from rainzm/feature/notify_template
feat(notify): Available uname in api & Unified template management
2019-12-16 11:42:00 +08:00
yunion-ci-robot
07c544f321 Merge pull request #4170 from ioito/hotfix/qx-dbinstance-sku-sync
fix: 避免频繁同步rds sku信息
2019-12-16 11:25:01 +08:00
Qu Xuan
fd5a2627c0 fix: 避免频繁同步rds sku信息 2019-12-16 10:57:30 +08:00
Qu Xuan
8e82142e37 fix: 避免创建安全组规则时未能接收到安全组参数 2019-12-16 10:21:41 +08:00
Qiu Jian
dc34a66d00 feature: allow delete none-default quota
fix: cannot set a quota to zero
2019-12-14 23:34:17 +08:00
Qiu Jian
f87df159d5 fix: bucket-object-upload not work 2019-12-14 20:04:31 +08:00
Qiu Jian
33a736a113 misc imporvements 2019-12-14 19:22:24 +08:00
Qiu Jian
dd732c2bb1 feaute: object storage support set/get http headers 2019-12-14 17:22:27 +08:00
Rain
2222c7779c feat(notify): Available uname in api & Unified template management
1. Uname is availbale now in api via adding "uname=true" in query.
So we can use uname in climc which is much more visual and use uid in
web client which avoid time-consuming remote calls that may occur.

2. Previously, the template for the message was managed by the
individual sending components. Now, these templats was managed uniformly
by Notify Service so that we can easily add and remove.

3. Now, failure to send a validation message will trigger a notification
to the user via websocket.
2019-12-14 16:49:26 +08:00
Rain
b0514b47c5 fix(region): Add support for updating Service Catalog 2019-12-14 16:41:52 +08:00
yunion-ci-robot
f220d0c89a Merge pull request #4050 from ioito/hotfix/qx-cloudevent-optimized
fix: cloudevent过滤及详情信息
2019-12-14 12:31:00 +08:00
yunion-ci-robot
1d90fcfaef Merge pull request #4157 from ioito/feature/metadata-fix
fix: 标签增强
2019-12-14 12:24:59 +08:00
yunion-ci-robot
041e78f641 Merge pull request #4155 from tb365/bugfix/tb-ctyun-1211
ctyun sync bugfix
2019-12-14 12:13:00 +08:00
Jian Qiu
489c8b3ca9 fix: prevent quota usage from being negative (#4162) 2019-12-14 12:11:21 +08:00
yunion-ci-robot
14b38a3126 Merge pull request #4152 from ioito/hotfix/qx-private-sku-sync
fix: 私有云同步的sku归属于default region
2019-12-14 11:31:01 +08:00
yunion-ci-robot
95db165eff Merge pull request #4141 from tb365/bugfix/tb-huawei-instance-sync
huawei sync instance offset bugfix
2019-12-14 11:07:02 +08:00
yunion-ci-robot
dd556295ba Merge pull request #4159 from ioito/hotfix/qx-host-list-filter
fix: 增强host-list --usable限制
2019-12-14 10:52:00 +08:00
Qu Xuan
745cab92e7 fix: 增强host-list --usable限制 2019-12-13 20:27:31 +08:00
Qu Xuan
043de63bff fix: filter by multi value 2019-12-13 19:45:41 +08:00
TangBin
4022eb6da3 ctyun sync bugfix 2019-12-13 18:21:36 +08:00
yunion-ci-robot
63048da5ca Merge pull request #4148 from swordqiu/hotfix/qj-image-quota-key-type-mismatch
fix: image quota key type mismatch
2019-12-13 17:38:00 +08:00
Qu Xuan
90303fde96 fix: 私有云同步的sku归属于default region 2019-12-13 17:37:58 +08:00
yunion-ci-robot
1e16ba4e5d Merge pull request #4150 from ioito/hotfix/qx-update-vendor
hotfix: update vendor
2019-12-13 17:34:00 +08:00
yunion-ci-robot
59ad1765b5 Merge pull request #4146 from zexi/bugfix/schedule-input-project-domain-missing
region: fix schedule input project and domain missing
2019-12-13 17:32:59 +08:00
Qu Xuan
a4b050272c hotfix: update vendor 2019-12-13 16:34:57 +08:00
Qiu Jian
2b6c274745 fix: image quota key type mismatch 2019-12-13 16:20:55 +08:00
Zexi Li
7a4f3fca6e region: fix schedule input project and domain missing 2019-12-13 16:00:59 +08:00
TangBin
1b7596cbc9 huawei sync instance offset bugfix 2019-12-13 15:38:55 +08:00
yunion-ci-robot
432bcaaf1b Merge pull request #4139 from swordqiu/hotfix/qj-unlimit-negative-quota
fix: init quota with negative value and negative quota means unlimited
2019-12-13 14:44:05 +08:00
Qiu Jian
c8a07c87ad fix: init quota with negative value and negative quota means unlimited 2019-12-13 13:00:41 +08:00
yunion-ci-robot
2d50da9e40 Merge pull request #4134 from swordqiu/hotfix/qj-esxi-fix-20191213-misc
fix: misc esxi bugfix 20191213
2019-12-13 12:57:59 +08:00
yunion-ci-robot
b95e7edb93 Merge pull request #4123 from yousong/bugfix/yousong-ifname-check
guestnetworks: check ifname uniqueness across different networks
2019-12-13 12:56:01 +08:00
Qiu Jian
b94a70124b fix: misc bugfix for esxi 20191213 2019-12-13 12:32:26 +08:00
yunion-ci-robot
53d173f9df Merge pull request #4129 from ioito/butfix/qx-tenant-cache
fix: 避免插入时出现duplicate primary key error
2019-12-13 11:36:58 +08:00
Qu Xuan
c97fe6b74f fix: 避免插入时出现duplicate primary key error 2019-12-13 10:43:34 +08:00
Yousong Zhou
cc02ac74d4 guestnetworks: check ifname uniqueness across different networks
With PerformChangeIpAddr, it can happen that a guestnetwork from network
A can take a name that was originally allocated by network B
2019-12-12 15:42:47 +00:00
yunion-ci-robot
beff6e2287 Merge pull request #4121 from ioito/bugfix/qx-cloudregion-cloudenv
fix: 避免污染cloud_env参数
2019-12-12 20:48:00 +08:00
Qu Xuan
71d5736636 fix: 避免污染cloud_env参数 2019-12-12 19:54:19 +08:00
yunion-ci-robot
4fca148874 Merge pull request #4116 from wanyaoqi/bugfix/wyq/minor-1212
bugfix:fix  baremetal register get service url
2019-12-12 18:03:03 +08:00
yunion-ci-robot
743213200c Merge pull request #4119 from swordqiu/hotfix/qj-image-quota-list-not-found
fix: 1. image-quota-list 404 not found 2. usage nil pointer panic
2019-12-12 18:01:00 +08:00
Qiu Jian
f0ccabb27e fix: 1. image-quota-list 404 not found 2. usage nil pointer panic 2019-12-12 17:41:59 +08:00
wanyaoqi
f0cb9c15d3 fix baremetal register get service url 2019-12-12 17:35:36 +08:00
yunion-ci-robot
734dfdc6c3 Merge pull request #4113 from bistuzx/bugfix/zx-remove-dup
delete duplicate param brand
2019-12-12 15:35:59 +08:00
张旭
878e6791ac delete duplicate param brand 2019-12-12 15:18:04 +08:00
yunion-ci-robot
b2719e5f73 Merge pull request #4090 from swordqiu/feature/qj-quota-recode-recover
Feature/qj quota recode recover
2019-12-12 12:41:02 +08:00
yunion-ci-robot
24868824d9 Merge pull request #4109 from bistuzx/master
add associated_bills & modify meter version
2019-12-12 12:04:59 +08:00
Qiu Jian
aea6a7a591 fix: globalvpc validateCreateData fix 2019-12-12 11:51:35 +08:00
Qiu Jian
110c6bc611 mergeInputOutputJson for ValidateCreateData and ValidateUpdateData 2019-12-12 11:31:47 +08:00
Qiu Jian
0dcbb2147f update vendor 2019-12-12 11:31:47 +08:00
Qiu Jian
9d6d28b36a clean usages when resource deleted 2019-12-12 11:31:47 +08:00
Qiu Jian
0d487cd601 bufix 20191209 2019-12-12 11:31:47 +08:00
Qiu Jian
39de0f0ee7 quota recode update 2 2019-12-12 11:31:46 +08:00
Qiu Jian
3dba5360d7 quota recode 2019-12-12 11:31:41 +08:00
张旭
8e9f5066fe add associated_bills & modify meter version 2019-12-12 11:10:21 +08:00
yunion-ci-robot
5750d6dd59 Merge pull request #4097 from ioito/bugfix/zstack-api-query-encode
fix: 避免zstack参数含有中文,未编码导致请求失败
2019-12-12 11:00:38 +08:00
yunion-ci-robot
78cd643996 Merge pull request #4063 from ioito/hotfix/qx-globalvpc-fix
fix: globalnetwork -> globalvpc
2019-12-12 10:58:38 +08:00
Qu Xuan
56e3a42c3c fix: 避免zstack参数含有中文,未编码导致请求失败 2019-12-11 23:19:14 +08:00
Qu Xuan
f9ae7d9244 fix: globalnetwork -> globalvpc 2019-12-11 22:28:07 +08:00
yunion-ci-robot
ef5a977486 Merge pull request #4104 from wanyaoqi/bugfix/wyq/minor-1211
bugfix: fix image upload log event
2019-12-11 22:27:41 +08:00
wanyaoqi
24b518a3b7 fix image upload log event 2019-12-11 20:29:18 +08:00
yunion-ci-robot
e788fa4401 Merge pull request #4092 from yousong/bugfix/yousong-lb-janitor
loadbalancerbackends: janitor: move to InitializeData
2019-12-11 20:12:41 +08:00
Yousong Zhou
8f6db51fd1 loadbalancerbackends: janitor: move to InitializeData
The janitor only makes sense when inside region service
2019-12-11 08:20:55 +00:00
yunion-ci-robot
04f9ccaba8 Merge pull request #4072 from ioito/hotfix/qx-guest-tags-export
fix: 导出用户标签不加user:前缀
2019-12-11 15:06:41 +08:00
yunion-ci-robot
8281d24eff Merge pull request #4088 from swordqiu/hotfix/qj-storage-cache-image-show-hostinfo
fix: add hostinfo to storage cached image details
2019-12-11 10:52:37 +08:00
Qiu Jian
eec673e26d fix: add hostinfo to storage cached image details 2019-12-10 21:40:44 +08:00
屈轩
fe3c42810c fix: 兼容参数过滤 (#4054) 2019-12-10 21:26:27 +08:00
屈轩
633302f836 fix: 兼容以前的参数 (#4065) 2019-12-10 21:25:55 +08:00
tb365
7fd8192061 sync server skus from offline data (#4053) 2019-12-10 21:22:00 +08:00
Yousong Zhou
fb1725be32 httputils, aliyun: respects env proxy settings (#4084)
* vendor: update aliyun-oss-go-sdk to v2.0.4

To use ClientOption oss.HTTPClient

* aliyun: use a http client that respects env proxy settings

* httputils: use http.ProxyFromEnvironment by default
2019-12-10 21:15:09 +08:00
屈轩
64bbf1c518 fix: 子订阅更改项目时也同步更新external project项目信息 (#4068) 2019-12-10 21:12:03 +08:00
Zexi Li
6689b5c4a4 Merge pull request #4081 from rainzm/bugfix/instance_group_2.13
fix: Fix the unexpected json field coverage after GetCustomizeColumns
2019-12-10 16:10:44 +08:00
郑雨
84661a1bcf refactor: Instance Group's getMoreDetails 2019-12-10 16:00:06 +08:00
郑雨
40d98c08f9 fix: Fix the unexpected json field coverage after GetCustomizeColumns
一般来说一个资源的detail版本的输出会放在 <ResoureName>Details
这样的结构体中,并且这个结构体包含资源本身。不过一般在 details
的处理函数中(比如GetCustomizeColumns)资源本身的结构体都是默认值,
而jsonutils的unmarshal函数会把默认值(零值)的int类型(也可能会有其他类型)
unmarshal到jsonutils.JSONDict中(string类型就不会有这种情况)。
这会导致返回的extraDict会覆盖掉原来的Dict中的一些字段,这种覆盖并不是所期望的。
所以现在暂时改为用后者来覆盖前者,前者是最终输出的全集。
2019-12-10 15:58:22 +08:00
Zexi Li
b91aa5274b Merge pull request #4079 from rainzm/bugfix/server-template
fix(region): Fix the list bug of Guest Template
2019-12-10 15:47:22 +08:00
郑雨
9142a6eb48 fix(region): Fix the list bug of Guest Template
1. Add function GetCustomizeColumns for Guest Template
2. Fix the ValidateDeleteCondition for Guest Template
3. Rename Config as ConfigInfo in apis.GuesttemplateDetails
2019-12-10 15:06:44 +08:00
Zexi Li
fdf6f1cbde Merge pull request #4067 from rainzm/bugfix/guest_tempalte_param
fix(region): Guest template & Service catalog
2019-12-10 10:52:43 +08:00
郑雨
8d21e622ec fix(region): Guest template & Service catalog
Add the common create input.
Not allow to delete the guest template used by some service catalog.
2019-12-10 10:34:30 +08:00
Zexi Li
68156f4a47 Merge pull request #4064 from swordqiu/hotfix/qj-host-cache-image-not-work
fix: host-cache-image might not work
2019-12-10 10:02:59 +08:00
Qu Xuan
19ec7cca03 fix: 导出用户标签不加user:前缀 2019-12-09 21:43:22 +08:00
Qiu Jian
0b03a1b1d1 fix: host-cache-image might not work 2019-12-09 17:56:32 +08:00
Zexi Li
8671abbe53 Merge pull request #4062 from wanyaoqi/bugfix/wyq/docker-push
bugfix: fix docker push script component name
2019-12-09 15:47:52 +08:00
wanyaoqi
cd99aa4527 fix docker push script component name 2019-12-09 15:45:06 +08:00
Zexi Li
92d546c9a7 Merge pull request #3998 from wanyaoqi/feature/wyq/add-bundles-libraries-scripts
feature: add bundle libraries script for build host image
2019-12-09 11:38:40 +08:00
Zexi Li
ed2ee4f8b5 Merge pull request #4008 from ioito/hotfix/qx-secgroup-fix
fix: 安全组同步优化,避免规则不同的安全组可以合并
2019-12-09 11:34:58 +08:00
Zexi Li
2186ead796 Merge pull request #3805 from rainzm/feature/guest_template
feature: Guest Template & Service Catalog
2019-12-09 11:31:08 +08:00
郑雨
06eccd18d8 feat(region): Add Guest Template & Service Catalog
Modify the structure of ServerCreateOptions so that
GuestTemplateCreateOptions can reuse most field.
2019-12-09 11:24:01 +08:00
yunion-ci-robot
45302ab49f Merge pull request #4045 from rainzm/feature/vm_resume
feat(region): Support for resuming vm suspended in vmware
2019-12-09 11:15:37 +08:00
Zexi Li
b70decaf24 Merge pull request #3997 from wanyaoqi/feature/wyq/host-use-command-executor
feature: host container deployment
2019-12-09 10:49:49 +08:00
yunion-ci-robot
acea8e6fd0 Merge pull request #4057 from ioito/bugfix/qx-rds-sku-medel-init
fix: 避免在初始化model时设置rds sku handler
2019-12-09 10:45:37 +08:00
屈轩
106a06f097 fix: 避免在初始化model时设置rds skuhandler 2019-12-08 12:40:19 +08:00
yunion-ci-robot
c74a0b72b6 Merge pull request #4040 from ioito/hotfix/qx-cloudregion-external-id
fix: 返回region external_id
2019-12-07 17:41:36 +08:00
yunion-ci-robot
0b1f80c99f Merge pull request #4047 from wanyaoqi/bugfix/wyq/fix-brands-filter
region misc bugfix
2019-12-07 17:15:36 +08:00
yunion-ci-robot
fe7988ae15 Merge pull request #4035 from ioito/bugfix/qx-secgroup-privilege
fix: 避免普通用户添加规则到系统安全组
2019-12-06 23:21:35 +08:00
Qu Xuan
4509a804e0 fix: 返回region external_id 2019-12-06 20:27:05 +08:00
yunion-ci-robot
87c72c89d7 Merge pull request #4032 from tb365/bugfix/tb-bugfix-1205
image upload bugfix
2019-12-06 18:26:35 +08:00
Qu Xuan
486b7b35e7 fix: cloudevent过滤及详情信息 2019-12-06 17:35:53 +08:00
wanyaoqi
ac9a988e91 region misc bugfix
- fix capabilities filter disabled account
- fix kvm guest start no logevent
- fix guest restart not set guest status immediately
2019-12-06 17:00:29 +08:00
郑雨
15edc45030 feat(region): Support for resuming vm suspended in vmware 2019-12-06 16:35:37 +08:00
yunion-ci-robot
9b260935f3 Merge pull request #4028 from tb365/feature/tb-redis-1203
Feature/tb redis 1203
2019-12-06 15:49:34 +08:00
Qu Xuan
7fdd6200db fix: 避免普通用户添加规则到系统安全组 2019-12-06 14:43:31 +08:00
wanyaoqi
e304acb267 add bundle libraries script for build host image 2019-12-06 11:48:48 +08:00
yunion-ci-robot
165183989c Merge pull request #4002 from rainzm/bugfix/instance_group_api
fix(region): The param of list instancegroup filter by Guest is 'server'
2019-12-06 11:41:34 +08:00
yunion-ci-robot
f5d19c5e1d Merge pull request #3988 from ioito/hotfix/qx-network-create-list
fix: 结构化network create list 参数
2019-12-06 11:40:35 +08:00
郑雨
58d8bf212c fix(region): The param of list instancegroup filter by Guest is 'server' 2019-12-06 10:48:33 +08:00
TangBin
070d998987 image upload bugfix 2019-12-06 10:00:24 +08:00
wanyaoqi
c8fff1d44f add rpm file, add socket used check 2019-12-05 20:58:57 +08:00
yunion-ci-robot
b180d81b93 Merge pull request #3992 from ioito/hotfix/qx-metadata-fix
fix: 标签添加排序,不统计回收站的资源标签
2019-12-05 15:21:34 +08:00
yunion-ci-robot
9760a77198 Merge pull request #3985 from tb365/feature/tb-add-ctyun-sync
Feature/tb add ctyun sync
2019-12-05 15:20:35 +08:00
yunion-ci-robot
cae85c2213 Merge pull request #4021 from wanyaoqi/bugfix/wyq/minor-1204
bugfix: add socket check of deploy server
2019-12-05 14:34:36 +08:00
TangBin
5225fd0ff3 add elastic cache skus capability api 2019-12-05 11:18:24 +08:00
TangBin
7c2ccb6088 elastic cache task bugfix 2019-12-05 11:18:24 +08:00
TangBin
be45ce1cf2 huawei reset password bugfix 2019-12-05 11:18:24 +08:00
Qu Xuan
061b3872be fix: 标签添加排序,不统计回收站的资源标签 2019-12-05 10:51:47 +08:00
wanyaoqi
7bf48c992e - add command executor
- host prepare for deploy on container
- procutils adpat to executor
2019-12-04 20:49:39 +08:00
yunion-ci-robot
b5cddd294e Merge pull request #3999 from tb365/bugfix/tb-bugfix-120201
Bugfix/tb bugfix 120201
2019-12-04 15:15:33 +08:00
TangBin
ae6ce9ecb1 yunionmeta offline data using gzip files
disk billing type error fix
2019-12-04 14:49:20 +08:00
wanyaoqi
82a5e6403c add socket used check of deploy server 2019-12-04 11:38:49 +08:00
TangBin
376cd8b067 comment fix 2019-12-04 11:10:23 +08:00
yunion-ci-robot
9aad8c1314 Merge pull request #4016 from yousong/bugfix/yousong-off-report-ignored-msrs
hostman: hostinfo: turn off report_ignored_msrs
2019-12-04 11:02:34 +08:00
yunion-ci-robot
b27e0b792f Merge pull request #4007 from zhaoxiangchun/feature/zhaoxiangchun
更改获取监控信息的参数单位
2019-12-04 10:50:32 +08:00
yunion-ci-robot
ce68417eae Merge pull request #4013 from swordqiu/hotfix/qj-network-address-add-created-at
fix: network-addresses add created_at column
2019-12-04 10:45:33 +08:00
yunion-ci-robot
4404b2acba Merge pull request #3994 from ioito/hotfix/qx-rds-sku-sync
fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题
2019-12-04 10:34:36 +08:00
Yousong Zhou
743f65ebb8 hostman: hostinfo: turn off report_ignored_msrs
Quote mainline linux commit fab0aa3b ("KVM: x86: Allow suppressing
prints on RDMSR/WRMSR of unhandled MSRs")

> Some guests use these unhandled MSRs very frequently.
> This cause dmesg to be populated with lots of aggregated messages on
> usage of ignored MSRs. As ignore_msrs=true means that the user is
> well-aware his guest use ignored MSRs, allow to also disable the
> prints on their usage.
>
> An example of such guest is ESXi which tends to access a lot to MSR
> 0x34 (MSR_SMI_COUNT) very frequently.
>
> In addition, we have observed this to cause unnecessary delays to
> guest execution. Such an example is ESXi which experience networking
> delays in it's guests (L2 guests) because of these prints (even when
> prints are rate-limited). This can easily be reproduced by pinging
> from one L2 guest to another.  Once in a while, a peak in ping RTT
> will be observed. Removing these unhandled MSR prints solves the
> issue.
>
> Because these prints can help diagnose issues with guests,
> this commit only suppress them by a module parameter instead of
> removing them from code entirely.
2019-12-04 02:15:39 +00:00
yunion-ci-robot
d9450d7ab0 Merge pull request #4009 from ioito/bugfix/qx-rds-random-password
fix: 未设置密码时,使用随机密码
2019-12-04 10:15:34 +08:00
yunion-ci-robot
9c6a6ca606 Merge pull request #4004 from ioito/hotfix/qx-sku-sync
fix: 忽略名称条件,只要cpu,mem一致就不再同步
2019-12-04 10:14:34 +08:00
Qiu Jian
520deb26ba fix: network-addresses add created_at column 2019-12-04 10:02:25 +08:00
Qu Xuan
7ee81dff29 fix: 未设置密码时,使用随机密码 2019-12-03 19:17:21 +08:00
Qu Xuan
5ce8acbf5f fix: 安全组同步优化,避免规则不同的安全组可以合并 2019-12-03 18:27:58 +08:00
zhaoxiangchun
ef3a101a63 更改aliyun和huawei的获取监控信息的参数单位:微秒=>毫秒 2019-12-03 16:35:20 +08:00
Qu Xuan
8ef397ce5d fix: 忽略名称条件,只要cpu,mem一致就不再同步 2019-12-03 16:27:12 +08:00
Qu Xuan
06bc27527e fix: 结构化network create list 参数 2019-12-03 11:54:55 +08:00
yunion-ci-robot
f3b0c8357d Merge pull request #3978 from yousong/bugfix/yousong-cloudnet
cloudnet: fix router rules
2019-12-03 00:38:34 +08:00
yunion-ci-robot
8243aa2a39 Merge pull request #3989 from ioito/hotfix/qx-disk-reset
fix: avoid index out of range
2019-12-02 17:40:35 +08:00
Qu Xuan
825d16d00d fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题 2019-12-02 17:40:04 +08:00
TangBin
37d22cd8b8 cloudregion cities filter 2019-12-02 14:36:29 +08:00
yunion-ci-robot
fd22cd8474 Merge pull request #3979 from rainzm/feature/guest_suspend_vmware
feat(region): Add suspend feature for vmware guest
2019-12-02 10:33:32 +08:00
Qu Xuan
dd0a4556d8 fix: avoid index out of range 2019-12-02 10:22:13 +08:00
TangBin
273e372fb3 ctyun sync 2019-11-29 18:03:21 +08:00
Zexi Li
074dbb6fc5 Merge pull request #3986 from zexi/master
gencopyright: ignore generated files
2019-11-29 17:17:21 +08:00
Zexi Li
fdcf4efeab gencopyright: ignore generated files 2019-11-29 17:16:38 +08:00
郑雨
7eb635e377 feat(region): Add suspend feature for vmware guest 2019-11-29 16:07:57 +08:00
Zexi Li
7be492a8fd Merge pull request #3973 from rainzm/bugfix/contribute_md
docs: Modify the url of contributer documentation
2019-11-29 15:19:24 +08:00
Yousong Zhou
df8f050fca cloudnet: return non-nil data on validata create data pass 2019-11-29 07:11:42 +00:00
yunion-ci-robot
b413e9580d Merge pull request #3974 from zhasm/hotfix/rex-devtool-deleting-template
Hotfix/rex devtool deleting template
2019-11-29 15:00:30 +08:00
Zexi Li
a18637d3f3 Merge pull request #3976 from zexi/hotfix/generated_model
generated: model replace jsonutils member to interface
2019-11-29 14:55:54 +08:00
Zexi Li
88786b4b0f generated: model replace jsonutils member to interface 2019-11-29 14:53:05 +08:00
Zhang Dongliang
8586fffc69 在删除 Devtool Template 之前检测是否存在关联的 cronjob; 如有则不允许删除 2019-11-29 14:12:08 +08:00
Yousong Zhou
e1ac463622 climc: cloudnet: fix passing invalid port on creating rules 2019-11-29 05:27:09 +00:00
Yousong Zhou
6978492242 cloudnet: fix validating "action" 2019-11-29 05:27:09 +00:00
郑雨
458b9db4b9 docs: Modify the url of contributer documentation 2019-11-29 11:20:35 +08:00
yunion-ci-robot
3c90b4d5c5 Merge pull request #3932 from rainzm/bugfix/notify_empty_uid
fix(notify): Check input parameters and return when error occury
2019-11-29 10:43:29 +08:00
yunion-ci-robot
ef9f4e341a Merge pull request #3966 from zexi/feature/list-base-input
add list input and rewrite codegen use python
2019-11-29 10:27:29 +08:00
yunion-ci-robot
b8981c3989 Merge pull request #3970 from yousong/feature/yousong-docker
build: add Dockerfile.cloudnet
2019-11-29 10:18:30 +08:00
Zexi Li
018e1ac217 add list input and rewrite codegen use python 2019-11-29 10:18:27 +08:00
Yousong Zhou
7a0c838440 build: actions: push ansibleserver, cloudnet docker images 2019-11-29 02:08:39 +00:00
Yousong Zhou
b3b02438c3 build: add Dockerfile.cloudnet 2019-11-28 16:35:27 +00:00
Yousong Zhou
a82bbeafcc .dockerignore: initial version 2019-11-28 16:34:24 +00:00
yunion-ci-robot
9b27b0d7bf Merge pull request #3963 from ioito/hotfix/qx-metadata-list
hotfix: 标签资源列表接口添加资源统计
2019-11-28 18:22:29 +08:00
yunion-ci-robot
64cea3299a Merge pull request #3957 from ioito/hotfix/qx-rds-account-privilege
fix: 修复rds普通后台下账号权限问题
2019-11-28 18:21:30 +08:00
Qu Xuan
464de3173e fix: 修复rds普通后台下账号权限问题 2019-11-28 17:37:01 +08:00
Qu Xuan
18245ced73 hotfix: 添加标签资源列表接口 2019-11-28 15:12:56 +08:00
yunion-ci-robot
9c5589643a Merge pull request #3958 from wanyaoqi/bugfix/wyq/fix-host-ping-task
bugfix: add lock on host detected offline
2019-11-28 14:11:29 +08:00
wanyaoqi
9decfea3e2 add lock on host detected offline 2019-11-28 11:19:43 +08:00
yunion-ci-robot
e9b09e92ee Merge pull request #3851 from zhasm/feature/rex-add-ansible-devtools
Feature/rex add ansible devtools
2019-11-28 10:10:28 +08:00
yunion-ci-robot
a5f6326253 Merge pull request #3943 from ioito/hotfix/qx-rds-tenant-info
fix: remove rds accout,database tenant attr
2019-11-27 21:24:28 +08:00
yunion-ci-robot
807b45c16d Merge pull request #3939 from ioito/hotfix/qx-server-dissociate-eip
fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题
2019-11-27 21:08:28 +08:00
yunion-ci-robot
ff61f9ca47 Merge pull request #3933 from ioito/hotfix/qx-cloudaccount-purge
fix: 抽离disable delete,避免删除账号失败
2019-11-27 21:04:28 +08:00
yunion-ci-robot
ae7a97f9b8 Merge pull request #3922 from wanyaoqi/bugfix/wyq/snapshot-show-storage-type
bugfix: snapshot show storage type
2019-11-27 20:57:30 +08:00
郑雨
cb81acdc27 fix(notify): Check input parameters and return when error occury 2019-11-27 20:52:30 +08:00
Zexi Li
c99e910f6c Merge pull request #3950 from swordqiu/hotfix/qj-service-config-not-working
fix: 1. service-config not support key=value pair 2.sync_purge_removed_resources not working
2019-11-27 20:51:51 +08:00
yunion-ci-robot
73592e2a36 Merge pull request #3940 from tb365/bugfix/tb-bugfix-112701
Bugfix/tb bugfix 112701
2019-11-27 20:51:28 +08:00
yunion-ci-robot
7c34d7af0f Merge pull request #3944 from wanyaoqi/bugfix/wyq/fix-image-set-chksum
bugfix: fix image set chksum
2019-11-27 20:47:30 +08:00
Qiu Jian
052ccd2ec1 fix: 1. service-config not support key=value pair 2.
sync_purge_removed_resources not working
2019-11-27 20:41:10 +08:00
Qu Xuan
4e10a80dd2 fix: 抽离disable delete,避免删除账号失败 2019-11-27 20:30:51 +08:00
Zexi Li
ac58a7d2e0 Merge pull request #3936 from swordqiu/hotfix/qj-cloud-account-hidden
fix: cloud account may not be visible temporarily after create
2019-11-27 20:25:46 +08:00
TangBin
99464becf8 elastic cache owner 2019-11-27 19:31:52 +08:00
wanyaoqi
e1faf6d145 snapshot show storage type 2019-11-27 19:14:49 +08:00
wanyaoqi
7ed33e7f9b fix image set chksum 2019-11-27 18:22:53 +08:00
Qu Xuan
1db4cff101 fix: remove rds accout,database tenant attr 2019-11-27 17:51:49 +08:00
yunion-ci-robot
298b283e32 Merge pull request #3915 from swordqiu/feature/qj-aliyun-huawei-metrics-data-collector
feature: metric data collector for aliyun&huawei
2019-11-27 17:47:28 +08:00
Zexi Li
0366347728 fix caller input nil panic 2019-11-27 17:13:28 +08:00
Zhang Dongliang
b6fa205f18 rm unused re code 2019-11-27 16:48:59 +08:00
Zhang Dongliang
6429e7b1f8 新增 devtool cron manager,用来管理Ansibleserver 的定时任务 2019-11-27 16:48:59 +08:00
TangBin
86a30141df validate prepaid resource delete condition 2019-11-27 16:46:24 +08:00
TangBin
25b04f50be 修复不支持redis的公有云账号会频繁读取oss数据的问题 2019-11-27 16:46:23 +08:00
Qu Xuan
8cc8991372 fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题 2019-11-27 16:38:59 +08:00
Qiu Jian
6b638701c2 fix: cloud account may not be visible temporarily after create 2019-11-27 16:06:17 +08:00
Zexi Li
2c87f5b0ac Merge pull request #3925 from yousong/feature/yousong-add-reviewers
OWNERS: reviewers: 添加zhaoxiangchun, zhasm
2019-11-27 15:08:25 +08:00
Zexi Li
06966fcbee Merge pull request #3930 from zexi/feature/support-generate
fix caller input nil panic
2019-11-27 15:07:35 +08:00
Zexi Li
80e88ca6aa fix caller input nil panic 2019-11-27 15:06:33 +08:00
Zexi Li
eb2e407b40 Merge pull request #3928 from zexi/feature/support-generate
fix caller parameters missing
2019-11-27 14:08:01 +08:00
Zexi Li
84c43c6086 fix caller parameters missing 2019-11-27 14:07:27 +08:00
Zexi Li
46c1bd8a63 Merge pull request #3926 from ioito/hotfix/qx-db-dispatcher-call
fix: stack overflow
2019-11-27 13:47:42 +08:00
Qu Xuan
42b6351dc6 fix: stack overflow 2019-11-27 13:43:57 +08:00
Yousong Zhou
c3a03b102c OWNERS: reviewers: 添加zhaoxiangchun, zhasm 2019-11-27 04:10:34 +00:00
yunion-ci-robot
08fd15e83c Merge pull request #3847 from ioito/feature/qx-google
add: gcp cloud support
2019-11-27 12:04:28 +08:00
yunion-ci-robot
240730baaa Merge pull request #3843 from zexi/feature/support-generate
support generate
2019-11-27 12:00:30 +08:00
Qu Xuan
1ace23cbfa add: gcp cloud support 2019-11-27 10:29:28 +08:00
Zexi Li
d149d84ccc support generate 2019-11-27 10:20:28 +08:00
yunion-ci-robot
7fc081d08a Merge pull request #3907 from ioito/hotfix/qx-dbinstance-virtual-resource
fix: rds创建账号所属项目跟随rds实例
2019-11-27 09:08:28 +08:00
yunion-ci-robot
d8cefd4d3e Merge pull request #3897 from tb365/bugfix/tb-huawei-ci-test-fix
huawei disk detach bugfix
2019-11-27 09:05:28 +08:00
yunion-ci-robot
789bb3346c Merge pull request #3910 from ioito/hotfix/qx-azure-secgroup-name
fix: 避免有,Azure更新安全组规则出错
2019-11-27 08:55:28 +08:00
yunion-ci-robot
b497eee03e Merge pull request #3902 from ioito/hotfix/qx-cloudregion-permission
fix: 普通后台也返回cloudregion_id信息
2019-11-27 08:53:28 +08:00
Qiu Jian
afbafb1e29 feature: metric data collector for aliyun&huawei 2019-11-27 03:14:14 +08:00
Qu Xuan
3078eaaa06 fix: 避免有,Azure更新安全组规则出错 2019-11-26 20:50:03 +08:00
Qu Xuan
8c83db6fd9 fix: rds创建账号所属项目跟随rds实例 2019-11-26 20:13:30 +08:00
Qu Xuan
c9b2d7c461 fix: 普通后台也返回cloudregion_id信息 2019-11-26 19:11:34 +08:00
Zexi Li
937de0a3aa Merge pull request #3892 from swordqiu/hotfix/qj-baremetal-deploy-restart-fail
fix: baremetal restart fail after deployment
2019-11-26 17:46:40 +08:00
Zexi Li
a8961cd087 Merge pull request #3884 from swordqiu/hotfix/qj-service-config-format-error-halt-service
fix: error in service config format cause service halt
2019-11-26 15:45:43 +08:00
yunion-ci-robot
dbee73b991 Merge pull request #3876 from wanyaoqi/bugfix/wyq/misc-fix-1125
bugfix: misc fix
2019-11-26 13:37:28 +08:00
yunion-ci-robot
b191edfcab Merge pull request #3873 from ioito/bugfix/qx-dbinstance-reset-password
fix: 修复rds重置密码未正确接收参数问题
2019-11-26 13:32:28 +08:00
TangBin
b09be4b1c0 huawei disk detach bugfix 2019-11-26 11:34:19 +08:00
Qiu Jian
fa461b33e9 fix: error in service config format cause service halt 2019-11-26 02:53:59 +08:00
Qiu Jian
070e409761 fix: baremetal restart fail after deployment 2019-11-26 00:45:55 +08:00
Zexi Li
35141b5003 Merge pull request #3887 from swordqiu/hotfix/qj-host-add-netif-index-required
fix: host-add-netif requires index
2019-11-26 00:43:09 +08:00
Zexi Li
08afe8156a Merge pull request #3879 from swordqiu/hotfix/qj-keystone-project-resource-count-not-set
fix: keystone project resource count not set set to zero
2019-11-26 00:41:00 +08:00
Qiu Jian
631597f7b4 fix: host-add-netif requires index 2019-11-25 23:45:19 +08:00
Qiu Jian
6d1c2ae9f2 fix: keystone project resource count not set set to zero 2019-11-25 22:26:00 +08:00
wanyaoqi
a6abf41225 misc fix
- image list filter by uefi
- fix instance sanpshot delete
- guest clean expire server exclude pending deleted servers
- host register abort on network not match
2019-11-25 21:23:32 +08:00
Qu Xuan
690741d237 fix: 修复rds重置密码未正确接收参数问题 2019-11-25 19:18:15 +08:00
yunion-ci-robot
03636a58d8 Merge pull request #3868 from ioito/hotfix/qx-openstack-rebuild-root
fix: 避免openstack重装系统,过不了镜像系统盘大小校验
2019-11-25 15:11:27 +08:00
Qu Xuan
7f5b99f86e fix: 避免openstack重装系统,过不了镜像系统盘大小校验 2019-11-25 15:00:09 +08:00
yunion-ci-robot
6c63b0dbfd Merge pull request #3863 from zexi/hotfix/bm-error-fatal
baremetal: fix init baremetals fatal exit
2019-11-25 10:20:26 +08:00
Zexi Li
a6921e7852 baremetal: fix init baremetals fatal exit 2019-11-25 09:38:00 +08:00
yunion-ci-robot
c42b38846f Merge pull request #3861 from swordqiu/hotfix/qj-update-vendor-20191121
update vendor
2019-11-22 22:25:25 +08:00
yunion-ci-robot
89952c4652 Merge pull request #3837 from tb365/bugfix/tb-bugfix-112101
redis prepaid instance create bugfix
2019-11-22 22:14:27 +08:00
yunion-ci-robot
ce17f57b32 Merge pull request #3857 from ioito/hotfix/qx-reset-password
fix: 避免旧密码覆盖新重置的密码
2019-11-22 21:51:27 +08:00
Qiu Jian
02b14de099 update vendor 2019-11-22 21:44:46 +08:00
Qu Xuan
70d79dc507 fix: 避免旧密码覆盖新重置的密码 2019-11-22 20:43:39 +08:00
TangBin
aa827d8144 redis prepaid instance create bugfix 2019-11-22 19:03:14 +08:00
yunion-ci-robot
42a6df572c Merge pull request #3840 from wanyaoqi/bugfix/wyq/misc-1121
bugfix: instance snapshot releated
2019-11-22 18:55:24 +08:00
Zexi Li
e52f34e944 Merge pull request #3854 from swordqiu/hotfix/qj-cloud-region-filter-by-domain
fix: cloud-region filter by domain not support share_mode
2019-11-22 18:05:26 +08:00
yunion-ci-robot
933a0eef3b Merge pull request #3848 from swordqiu/hotfix/qj-group-join-error
fix: user join read-only group response timeout
2019-11-22 17:51:25 +08:00
Qiu Jian
947f5632b3 fix: cloud-region filter by domain not support share_mode 2019-11-22 17:26:56 +08:00
Qiu Jian
863fe147a5 fix: user join read-only group response timeout 2019-11-22 16:15:29 +08:00
Zexi Li
3b50982c5c Merge pull request #3844 from rainzm/bugfix/snasphotpolicy_sync_nilmap
fix(region): Fix the panic of nil map when syncing snapshotpolicy
2019-11-22 11:38:33 +08:00
郑雨
db0d67e379 fix(region): Fix the panic of nil map when syncing snapshotpolicy 2019-11-22 10:19:31 +08:00
wanyaoqi
cddadf9f03 instance snapshot bugfix 2019-11-21 20:41:45 +08:00
yunion-ci-robot
c23ef1bb69 Merge pull request #3833 from wanyaoqi/bugfix/wyq/minor-1123
bugfix: host complie error
2019-11-21 18:50:27 +08:00
wanyaoqi
a479ff3470 host complie error 2019-11-21 18:39:41 +08:00
Zexi Li
6f4fdcdc8d Merge pull request #3824 from wanyaoqi/bugfix/wyq/fix-resize-disk
bugfix: fix disk resize, host register
2019-11-21 18:22:06 +08:00
yunion-ci-robot
5a4ef81c52 Merge pull request #3829 from ioito/hotfix/qx-dbinstance-api
fix: 清理aliyun rds多余的包年包月参数转换
2019-11-21 16:22:23 +08:00
yunion-ci-robot
0bf0383e9d Merge pull request #3813 from tb365/bugfix/tb-bugfix-112002
aws upload image bugfix & huawei change default disk type to SAS
2019-11-21 15:37:25 +08:00
Zexi Li
238b33ad8f Merge pull request #3832 from wanyaoqi/bugfix/wyq/fix-reimoprt-error
bugfix: reimport package error
2019-11-21 15:27:58 +08:00
wanyaoqi
e916191618 fix reimport error 2019-11-21 15:24:55 +08:00
Qu Xuan
020b0a9651 fix: 清理aliyun rds多余的包年包月参数转换 2019-11-21 14:58:21 +08:00
wanyaoqi
b1aed2381f fix host register 2019-11-21 10:48:20 +08:00
Zexi Li
61816e3400 Merge pull request #3749 from wanyaoqi/bugfix/wyq/hugepages
hugepage fix
2019-11-21 00:22:30 +08:00
Zexi Li
53e0acc8d4 Merge pull request #3809 from swordqiu/feature/qj-add-network-status-methods
feature: add network-status methods to change status of on-premise network
2019-11-21 00:21:51 +08:00
yunion-ci-robot
e1d94ddb44 Merge pull request #3798 from wanyaoqi/bugfix/wyq/instance_snapshot_1120
bugfix: instance snapshot save secgrps
2019-11-21 00:15:24 +08:00
yunion-ci-robot
a80c30147d Merge pull request #3786 from rainzm/bugfix/guest_image_public
fix(region): Add public/private feature for Guest Image
2019-11-21 00:01:24 +08:00
yunion-ci-robot
c2d6fd2488 Merge pull request #3801 from ioito/hotfix/qx-remove-duplicate-interface
fix: remove duplicate interface and function
2019-11-20 22:38:24 +08:00
yunion-ci-robot
0d3bb013e6 Merge pull request #3787 from yousong/bugfix/yousong-cloudregion-onecloud
cloudregions: 统一"OneCloud" provider过滤条件
2019-11-20 22:23:25 +08:00
wanyaoqi
c1c72cb01c instance snapshot save secgrps 2019-11-20 21:17:00 +08:00
yunion-ci-robot
79e5a631cd Merge pull request #3806 from tb365/bugfix/tb-bugfix-112001
Bugfix/tb bugfix 112001
2019-11-20 20:36:23 +08:00
TangBin
b4c543ecbc add elastic cache extra details 2019-11-20 19:47:15 +08:00
TangBin
7eb16f042c vm create bugfix 2019-11-20 19:35:25 +08:00
TangBin
6a40e3e3bf aws upload image bugfix & huawei change default disk type to SAS 2019-11-20 18:46:56 +08:00
Qiu Jian
debf079e2e feature: add network-status methods to change status of on-premise
network
2019-11-20 18:38:19 +08:00
yunion-ci-robot
ef6de14d97 Merge pull request #3802 from rainzm/bugfix/notify_user_list
feat(notify): Add interface contacts/users for Notify
2019-11-20 16:59:23 +08:00
Rain
7aa8b818d6 feat(notify): Add interface contacts/users for Notify
The interface "contacts/users" return the users who has contacts or not.
2019-11-20 16:51:06 +08:00
TangBin
5f02bed97e eip associate bugfix 2019-11-20 16:49:25 +08:00
TangBin
2fb84380af redis backup restore bugfix 2019-11-20 16:39:07 +08:00
TangBin
df681c7266 redis acl update bugfix 2019-11-20 16:30:35 +08:00
yunion-ci-robot
4303f95024 Merge pull request #3772 from rainzm/bugfix/snapshotpolicycache_sync_optimization
refactor(region): Optimization for snapshotpolicy sync
2019-11-20 16:11:26 +08:00
Qu Xuan
ee42bb37eb fix: remove duplicate interface and function 2019-11-20 15:24:04 +08:00
郑雨
2c448579e6 refactor(region): Optimization for snapshotpolicy sync
If the number of added cloudsnapshotpolicy more than 5, we do
clustering for all snapshotpolicies and find suitable one from these.
Otherwise, we find suitable one from database everytimes.
2019-11-20 15:08:58 +08:00
Zexi Li
2507a86ca9 Merge pull request #3795 from swordqiu/hotfix/qj-recover-baremetal-status-after-cdrom-ops
fix: recover baremetal status after cdrom operations
2019-11-20 14:35:06 +08:00
Qiu Jian
27835d99db fix: recover baremetal status after cdrom operations 2019-11-20 10:11:31 +08:00
Yousong Zhou
7b216581a5 cloudregions: 统一"OneCloud" provider过滤条件 2019-11-20 01:50:11 +00:00
Yousong Zhou
726c7fd836 networks: 改进创建错误处理 2019-11-20 01:50:11 +00:00
yunion-ci-robot
30b3d676d3 Merge pull request #3788 from yousong/bugfix/yousong-lbagent-pid
lbagent:  校验pid对应进程的comm
2019-11-19 23:18:24 +08:00
yunion-ci-robot
5b6052452b Merge pull request #3778 from yousong/bugfix/yousong-fmtprint
treewide: 避免使用fmt.Print记录日志
2019-11-19 23:14:23 +08:00
yunion-ci-robot
6c90a69cc5 Merge pull request #3779 from tb365/bugfix/tb-bugfix-111902
redis create bugfix & redis acl create bugfix
2019-11-19 19:42:26 +08:00
Yousong Zhou
d8b30213aa lbagent: pidfile: remove ReadPidFile() 2019-11-19 11:06:29 +00:00
Yousong Zhou
727dc30994 lbagent: stop daemons: use agentutils.PidFile 2019-11-19 11:06:29 +00:00
Yousong Zhou
4f27f25fea lbagent: haproxy: use agentutils.PidFile 2019-11-19 11:06:29 +00:00
Yousong Zhou
89a26f9bb5 lbagent: gobetween: use agentutils.PidFile 2019-11-19 11:06:29 +00:00
Yousong Zhou
03c7c10db1 lbagent: telegraf: use agentutils.PidFile 2019-11-19 11:06:29 +00:00
Yousong Zhou
d8be0a3844 lbagent: keepalived: use agentutils.PidFile 2019-11-19 11:06:29 +00:00
Yousong Zhou
d2987f3196 lbagent: pidfile: add PidFile 2019-11-19 11:06:29 +00:00
郑雨
d0529e1af0 fix(region): Add public/private feature for Guest Image
Public/private subimages firstly when do public/private for guest image.
Add cmd "guest-image-public" and "guest-image-private".
2019-11-19 18:17:16 +08:00
TangBin
a2beb14ebf redis create bugfix & redis acl create bugfix 2019-11-19 17:57:22 +08:00
wanyaoqi
70251ae122 fix resize disk 2019-11-19 16:51:17 +08:00
yunion-ci-robot
14173388bc Merge pull request #3773 from ioito/hotfix/qx-storage-scheduler
fix: 调整存储容量后刷新调度缓存
2019-11-19 16:10:23 +08:00
Yousong Zhou
9eb9cebcf3 vendor: update sqlchemy 2019-11-19 07:13:40 +00:00
Yousong Zhou
212462cbea treewide: 避免使用fmt.Print记录日志 2019-11-19 07:12:45 +00:00
Qu Xuan
520bddd25f fix: 调整存储容量后刷新调度缓存 2019-11-19 14:32:42 +08:00
yunion-ci-robot
24228807c5 Merge pull request #3769 from tb365/bugfix/tb-bugfix-111901
elastic cache auth_mode status & password reset bugfix
2019-11-19 12:53:25 +08:00
TangBin
f1e68528b0 elastic cache auth_mode status & password reset bugfix 2019-11-19 11:45:44 +08:00
Zexi Li
4d87fee3c4 Merge pull request #3763 from swordqiu/hotfix/qj-duplicate-cloud-account-list
fix: cloudaccount list duplicate entries due to join with cloudproviders
2019-11-19 10:49:13 +08:00
Zexi Li
63e6b8a93a Merge pull request #3731 from yousong/bugfix/yousong-cp-conflict
build: 避免并发构建rpm时触发file exists错误
2019-11-19 10:47:48 +08:00
yunion-ci-robot
14f361811c Merge pull request #3766 from zexi/feature/host-list-by-cdrom
region: host list filter by cdrom_boot
2019-11-19 10:12:22 +08:00
Zexi Li
cee63c8b6d region: host list filter by cdrom_boot 2019-11-19 01:44:08 +08:00
yunion-ci-robot
e2819408fa Merge pull request #3760 from wanyaoqi/feature/wyq/image-delete
feature: allow delete standard and shared image
2019-11-18 21:48:22 +08:00
Qiu Jian
01b2e6933e fix: cloudaccount list duplicate entries due to join with cloudproviders 2019-11-18 21:38:20 +08:00
wanyaoqi
7c1216697e allow delete standard and shared image 2019-11-18 21:14:32 +08:00
yunion-ci-robot
c1818894cb Merge pull request #3757 from rainzm/bugfix/snapshotpolicycache_rebase
fix(region): Cluster automatically when syncing snapshotpolicy
2019-11-18 21:10:24 +08:00
郑雨
1560acf8aa fix(region): Cluster automatically when syncing snapshotpolicy
Fix two bug about listing snapshotpolicycache:
1. no accont info 2. filter error
The func 'Key' of snapshotpolicy generate a Identification for
snapshotpolicy. If the key of cloud snapshotpolicy is same with local
snaphotpolicy, the cloud sp became a cache of this local sp.
2019-11-18 20:50:43 +08:00
yunion-ci-robot
f8f44f0ba1 Merge pull request #3721 from tb365/bugfix/tb-bugfix-111504
Bugfix/tb bugfix 111504
2019-11-18 19:42:22 +08:00
yunion-ci-robot
63d721f152 Merge pull request #3750 from swordqiu/hotfix/qj-filter-out-expired-passwords-fix
fix: quick fix user password verification failure
2019-11-18 19:41:25 +08:00
yunion-ci-robot
85c0fb6939 Merge pull request #3754 from wanyaoqi/bugfix/wyq/instance-snapshot-1118
bugfix: fix login key incorrect on clone
2019-11-18 19:38:23 +08:00
yunion-ci-robot
017676de71 Merge pull request #3711 from tb365/bugfix/tb-bugfix-111503
create vm attach eip fix
2019-11-18 19:32:23 +08:00
yunion-ci-robot
e1821e18c2 Merge pull request #3690 from tb365/bugfix/tb-bugfix-111502
Bugfix/tb bugfix 111502
2019-11-18 19:21:21 +08:00
wanyaoqi
cef855832a fix login key on clone 2019-11-18 19:21:16 +08:00
yunion-ci-robot
d62375c9e6 Merge pull request #3712 from ioito/hotfix/qx-dbinstance-sku-match
fix: 避免匹配到售罄的套餐
2019-11-18 19:13:22 +08:00
TangBin
606aff169c create vm attach eip fix 2019-11-18 17:43:05 +08:00
TangBin
b44758436b huawei elastic change spec bugfix 2019-11-18 17:31:48 +08:00
TangBin
91c1561c4e add elastic cache sku default policy 2019-11-18 17:31:48 +08:00
Qiu Jian
9c3799ec32 fix: quick fix user password verification failure 2019-11-18 16:29:45 +08:00
yunion-ci-robot
7a4eb34486 Merge pull request #3746 from rainzm/bugfix/snapshotpolicycache
fix(region): Set name and status when creating and syncing snapshotpolicycache
2019-11-18 16:15:23 +08:00
wanyaoqi
130c82dfd3 hugepage fix 2019-11-18 16:10:47 +08:00
郑雨
4d4d062e73 fix(region): Set name and status when creating and syncing
snapshotpolicycache

That snapshotpolicycaches has same name is ok. Set name and status
directly when creating and syncing snapshotpolicycache.
2019-11-18 15:32:12 +08:00
yunion-ci-robot
a3668669de Merge pull request #3743 from swordqiu/hotfix/qj-filter-out-expired-passwords
fix: filter out expire user passwords
2019-11-18 14:50:23 +08:00
yunion-ci-robot
173de25eb6 Merge pull request #3728 from swordqiu/hotfix/qj-password-error-lock-count-zero
fix: always lock login-failed user when PasswordErrorLockCount not initialized
2019-11-18 14:49:22 +08:00
yunion-ci-robot
27c800bb04 Merge pull request #3739 from rainzm/bugfix/snapshotpolicy_sync
fix(region): Fix the return value when sycning snapshotpolicy
2019-11-18 14:31:27 +08:00
Qiu Jian
035e996a35 fix: filter out expire user passwords 2019-11-18 14:28:03 +08:00
yunion-ci-robot
c50d3e8958 Merge pull request #3594 from wanyaoqi/feature/wyq/arm-virtualization
host arm support
2019-11-18 14:09:23 +08:00
郑雨
66d68c9e0d fix(region): Fix the return value when sycning snapshotpolicy
This is a big bug: the return value of SyncSnapshotPolicies is a empty
value.
2019-11-18 12:49:15 +08:00
yunion-ci-robot
80bc2d0994 Merge pull request #3736 from rainzm/bugfix/snapshotpolicy_cache
fix: Add snapshotpolicycache module for yunionapi
2019-11-18 12:46:23 +08:00
郑雨
dd2619d877 fix(region): Add snapshotpolicycache module for yunionapi
Remove extra 'models.SnapshotPolicyCache' in the first loop in
handlers.go.
Registered the moduels of snapshotpolicycache for yunionapi.
2019-11-18 10:56:09 +08:00
Yousong Zhou
ecde95881f build: 避免并发构建rpm时触发file exists错误 2019-11-18 02:42:17 +00:00
yunion-ci-robot
222fa44e8c Merge pull request #3700 from ioito/hotfix/qx-dbinstance-zone
fix: 避免仅返回一个zone信息
2019-11-18 09:17:21 +08:00
Qiu Jian
a96b35e364 fix: always lock login-failed user when PasswordErrorLockCount not initialized 2019-11-18 08:48:51 +08:00
yunion-ci-robot
e05ba0d0bb Merge pull request #3724 from swordqiu/hotfix/qj-update-vendor-20191116
update vendor for qcloud cos-go-sdk
2019-11-18 00:36:23 +08:00
yunion-ci-robot
b733a8b4fc Merge pull request #3679 from swordqiu/feature/qj-cloud-account-share-mode-support
feature: cloud account share_mode support
2019-11-18 00:34:23 +08:00
Qiu Jian
688386d533 update vendor for qcloud cos-go-sdk 2019-11-16 12:41:23 +08:00
yunion-ci-robot
2cdd68b5a6 Merge pull request #3699 from ioito/hotfix/qx-zstack-sync-fix
fix: cpuCmtbound sync for zstack
2019-11-15 20:19:22 +08:00
Zexi Li
49dcd2a533 Merge pull request #3696 from swordqiu/hotfix/qj-aliyun-delete-network-failed
fix: network-delete may fail immidiately after deleting vm
2019-11-15 18:41:30 +08:00
yunion-ci-robot
c8368c9bfe Merge pull request #3669 from ioito/hotfix/qx-secgroup-list-filter-by-guest
fix: 安全组列表添加server过滤参数
2019-11-15 18:40:21 +08:00
Qu Xuan
df0299bf74 fix: 避免匹配到售罄的套餐 2019-11-15 17:31:54 +08:00
yunion-ci-robot
508fd79572 Merge pull request #3593 from ioito/hotfix/qx-keypair-password
fix: 避免公有云绑定秘钥后解密密码为空
2019-11-15 17:16:20 +08:00
yunion-ci-robot
3ec983dab2 Merge pull request #3670 from tb365/bugfix/tb-bugfix-111402
* 修复redis新建无密码及公网访问地址未同步的问题
2019-11-15 16:53:19 +08:00
Zexi Li
aed3edf33e Merge pull request #3693 from wanyaoqi/bugfix/wyq/fix-bm-register-find-network
bugfix: bm register find network
2019-11-15 16:02:44 +08:00
Qu Xuan
4bbd9a664d fix: 避免公有云绑定秘钥后解密密码为空 2019-11-15 16:01:25 +08:00
yunion-ci-robot
e724c29e8c Merge pull request #3687 from tb365/bugfix/tb-bugfix-111501
elastic cache purge bugfix
2019-11-15 15:56:21 +08:00
Qiu Jian
cad0f2c1c5 feature: cloud account share_mode support 2019-11-15 15:09:12 +08:00
Zexi Li
c575b39fef Merge pull request #3703 from zexi/hotfix/webconsole-spice
webconsole: skip spice access interval check
2019-11-15 15:06:35 +08:00
Zexi Li
bb5c542450 webconsole: skip spice access interval check 2019-11-15 15:03:45 +08:00
Qu Xuan
51fc33a5e4 fix: 避免仅返回一个zone信息 2019-11-15 14:27:53 +08:00
Qu Xuan
152fbf25f8 fix: cpuCmtbound sync for zstack 2019-11-15 12:48:14 +08:00
Qiu Jian
c3d76d0cbe fix: network-delete may fail immidiately after deleting vm 2019-11-15 12:36:26 +08:00
wanyaoqi
239fd7e604 bm register find network 2019-11-15 12:06:15 +08:00
TangBin
c405047eca huawei config vm config fix 2019-11-15 11:43:02 +08:00
TangBin
bfaf664b34 remove useless aws instance type config 2019-11-15 11:42:33 +08:00
TangBin
eb45f07970 elastic cache purge bugfix 2019-11-15 11:36:09 +08:00
TangBin
4f498ef24b * 修复redis新建无密码及公网访问地址未同步的问题 2019-11-15 11:32:58 +08:00
Qu Xuan
e3e35aecae fix: 安全组列表添加server过滤参数 2019-11-15 11:13:16 +08:00
yunion-ci-robot
d791100069 Merge pull request #3684 from ioito/hotfix/qx-aws-secgroup-name
fix: 避免有些云不能创建default名称安全组
2019-11-15 10:58:20 +08:00
yunion-ci-robot
46d61de7a8 Merge pull request #3681 from swordqiu/hotfix/qj-baremetal-rebuild-root-image-not-found
fix: baremetal server rebuild root fail to cache image
2019-11-15 10:32:21 +08:00
Qu Xuan
983caa0ad5 fix: 避免有些云不能创建default名称安全组 2019-11-15 10:29:58 +08:00
yunion-ci-robot
60932828ca Merge pull request #3657 from tb365/bugfix/tb-bugfix-1114
user-project create api bugfix
2019-11-15 09:35:21 +08:00
Qiu Jian
6979430f8c fix: baremetal server rebuild root fail to cache image 2019-11-15 02:32:37 +08:00
yunion-ci-robot
0889f21c9e Merge pull request #3666 from wanyaoqi/feature/wyq/isolated_devcie_add_export_keys
feature: gpu add export keys
2019-11-14 23:53:20 +08:00
yunion-ci-robot
578f464142 Merge pull request #3673 from ioito/hotfix/qx-sku-sync
fix: 避免region同名问题
2019-11-14 22:05:21 +08:00
yunion-ci-robot
bd7d250775 Merge pull request #3663 from ioito/hotfix/qx-aws-secgroup-fix
fix: aws 安全组desc为必传字段
2019-11-14 21:57:20 +08:00
Qu Xuan
ef74eec47c fix: 避免region同名问题 2019-11-14 18:29:27 +08:00
wanyaoqi
2eb4492de3 gpu add export keys 2019-11-14 16:21:21 +08:00
Qu Xuan
243cc0abf3 fix: aws 安全组desc为必传字段 2019-11-14 14:35:16 +08:00
yunion-ci-robot
6f29a1cb17 Merge pull request #3660 from swordqiu/hotfix/qj-check-password-complexity-for-empty-password
fix: check password complexity even if password length is zero
2019-11-14 12:44:19 +08:00
yunion-ci-robot
c606655640 Merge pull request #3654 from swordqiu/hotfix/qj-full-fail-reason
fix: send full reason body for *_fail_reason
2019-11-14 12:40:21 +08:00
yunion-ci-robot
51c77cd798 Merge pull request #3649 from swordqiu/hotfix/qj-baremetal-agent-list-show-zone
fix: agent-list show zone info
2019-11-14 12:38:22 +08:00
yunion-ci-robot
2504cf70da Merge pull request #3645 from wanyaoqi/bugfix/wyq/bm-register
bugfix: bm register
2019-11-14 12:36:19 +08:00
Qiu Jian
3b4ea1f02e fix: check password complexity even if password length is zero 2019-11-14 12:00:36 +08:00
TangBin
167708c893 user-project create api bugfix 2019-11-14 11:53:20 +08:00
Qiu Jian
8b4c9affe8 fix: send full reason body for *_fail_reason 2019-11-14 10:54:42 +08:00
wanyaoqi
db4de4f7d7 host arm support
- host register
- vm create, delete, vnc ...
2019-11-14 10:50:00 +08:00
yunion-ci-robot
ac638f78f8 Merge pull request #3589 from wanyaoqi/feature/wyq/distinguish-brands-capabilities
region: brands capabilities
2019-11-14 01:02:29 +08:00
yunion-ci-robot
2e1d908640 Merge pull request #3606 from yousong/feature/yousong-lb-backend-status
lblis, lbr: 增加查询后端状态接口
2019-11-14 00:20:19 +08:00
yunion-ci-robot
1f766a391f Merge pull request #3636 from ioito/hotfix/qx-qcloud-eip-associate-type
fix: 避免associationtype异常
2019-11-14 00:08:22 +08:00
Qiu Jian
ad58d41c80 fix: agent-list show zone info 2019-11-13 23:26:58 +08:00
yunion-ci-robot
3508996d65 Merge pull request #3578 from ioito/hotfix/qx-dbinstance-privilege
fix: 创建数据库时指定账号权限时,避免数据库出现中间状态
2019-11-13 20:31:21 +08:00
Qu Xuan
c45df5fd9b fix: 避免associationtype异常 2019-11-13 19:56:22 +08:00
yunion-ci-robot
8c2ef6f329 Merge pull request #3595 from tb365/bugfix/tb-redis-skus-sync-1112
elastic cache sync bugfix
2019-11-13 19:47:20 +08:00
yunion-ci-robot
ca64f5f23e Merge pull request #3631 from ioito/hotfix/qx-image-version-fix
fix: 避免匹配到64导致version是6
2019-11-13 19:45:19 +08:00
wanyaoqi
428f70ebfc baremetal register optimize 2019-11-13 19:42:42 +08:00
yunion-ci-robot
4f97130c95 Merge pull request #3626 from swordqiu/hotfix/qj-approve-scripts-improvements
fix: list all PRs without pagination
2019-11-13 17:50:20 +08:00
yunion-ci-robot
5a2586cccb Merge pull request #3621 from swordqiu/hotfix/qj-fix-host-teaming
fix: nic teaming/bonding not working properly
2019-11-13 17:48:21 +08:00
yunion-ci-robot
5c2307d8e8 Merge pull request #3620 from yousong/feature/yousong-docs-lb-backend-status
docs: lb: 添加backend-status接口
2019-11-13 17:44:18 +08:00
Zexi Li
f2c9f426f5 Merge pull request #3641 from zexi/fix/k8s-cli
climc: fix k8s sa not register
2019-11-13 16:49:11 +08:00
Zexi Li
5e52e59724 climc: fix k8s sa not register 2019-11-13 16:45:20 +08:00
Qu Xuan
8b575a6198 fix: 避免匹配到64导致version是6 2019-11-13 14:46:37 +08:00
yunion-ci-robot
ed050e603f Merge pull request #3628 from rainzm/bugfix/instance_group_guest
fix(region): Init database table 'guestgroup_tbl'
2019-11-13 11:37:19 +08:00
郑雨
9a819a6d9a fix(region): Init database table 'guestgroup_tbl'
That delete models.GroupguestManager in the second loop of InitHandlers
because of useless Groupguest's api cause table 'guestgroup_tbl' will
not init in a new system. So add models.GroupguestManager to the first
loop to accomplish the goal.
2019-11-13 11:27:07 +08:00
TangBin
c777c752f7 elastic cache sync bugfix 2019-11-13 11:07:51 +08:00
wanyaoqi
366b71eb71 split brands capabilities 2019-11-13 11:04:44 +08:00
Yousong Zhou
10e575f62b climc: 添加lblistener{,rule}-backend-status命令 2019-11-13 02:40:18 +00:00
Yousong Zhou
018d8276ba lblis, lbr: 增加查询后端状态接口 2019-11-13 02:40:18 +00:00
Qu Xuan
76a113a550 fix: 创建数据库时指定账号权限时,避免数据库出现中间状态 2019-11-13 10:14:37 +08:00
Qiu Jian
e551e006b4 fix: list all PRs without pagination 2019-11-13 01:53:37 +08:00
yunion-ci-robot
184f40492a Merge pull request #3611 from wanyaoqi/bugfix/wyq/fix-resizefs
bugfix: fix resize fs
2019-11-13 01:39:20 +08:00
yunion-ci-robot
692bc6375d Merge pull request #3598 from ioito/hotfix/qx-multi-secgroup
fix: 支持创建时指定多个安全组
2019-11-13 01:28:18 +08:00
yunion-ci-robot
d63cbb486a Merge pull request #3577 from wanyaoqi/bugfix/wyq/postpaid-support-premise-cloud
region: postpaid expire support premise
2019-11-13 01:17:18 +08:00
yunion-ci-robot
7fe5d19f78 Merge pull request #3523 from yousong/feature/yousong-etcd-lock
lockman: distributed lockman with etcd
2019-11-13 00:44:18 +08:00
yunion-ci-robot
bf9dc8e378 Merge pull request #3569 from ioito/hotfix/qx-secgroup-cache-duplicate-name
fix: avolid duplicate secgroup name error when create secgroup
2019-11-13 00:34:18 +08:00
Qiu Jian
4c756965a3 fix: nic teaming/bonding not working properly 2019-11-12 23:47:31 +08:00
yunion-ci-robot
df5940014b Merge pull request #3501 from ioito/feature/qx-cloudevent
云上操作日志同步
2019-11-12 23:34:20 +08:00
Yousong Zhou
8cc5f0cd4b docs: 改正integer类型指定 2019-11-12 13:45:55 +00:00
Yousong Zhou
ab911d9ee6 docs: lb: 添加backend-status接口 2019-11-12 13:44:42 +00:00
Yousong Zhou
0920c2140b docs: 添加loadbalancerlistenerrule相关接口文档 2019-11-12 13:44:42 +00:00
yunion-ci-robot
003a6f2a4b Merge pull request #3603 from swordqiu/hotfix/qj-baremetal-misc-bugfix-20191112
fix: create baremetal server with iso, baremetal register support redfishApi
2019-11-12 21:44:27 +08:00
Zexi Li
c92e8ee07b Merge pull request #3570 from swordqiu/feature/qj-approve.sh-check-assigned-reviwers
feature: approve.sh check whether all assigned reviews lgtm the PR
2019-11-12 21:43:57 +08:00
yunion-ci-robot
a88d94d7d1 Merge pull request #3582 from ioito/hotfix/qx-openstack-storage-size-check
fix: 避免Openstack越过存储检查
2019-11-12 21:43:34 +08:00
Yousong Zhou
ee5cfe6388 vendor: restore a few files to locally managed version 2019-11-12 13:22:52 +00:00
Yousong Zhou
4c5cdaca06 vendor: update 2019-11-12 13:22:09 +00:00
Yousong Zhou
6bdd0824e1 lockman: test multiple lockman 2019-11-12 13:18:09 +00:00
Yousong Zhou
752cffb3ad cloudcommon: options: new options for etcd lockman 2019-11-12 13:18:09 +00:00
Yousong Zhou
012e790424 lockman: distributed lockman with etcd 2019-11-12 13:18:09 +00:00
Yousong Zhou
0f7aae6337 lockman: log bug with Errorf 2019-11-12 13:18:09 +00:00
wanyaoqi
7cf27c38c2 fix resie fs 2019-11-12 21:04:42 +08:00
Yousong Zhou
6536160157 lbbackends: 使用yunion.io/pkg/errors 2019-11-12 12:44:40 +00:00
Yousong Zhou
6d9b7476d3 influxdb: 记录结果中的tags 2019-11-12 12:44:40 +00:00
Qiu Jian
17d9931a8a fix: create baremetal server with iso, baremetal register support redfish 2019-11-12 20:11:28 +08:00
Qu Xuan
d4e168e72c fix: 支持创建时指定多个安全组 2019-11-12 19:55:16 +08:00
Zexi Li
c06537ed0f Merge pull request #3576 from rainzm/bugfix/instance_group
fix(region): Check if group and guest belong to same project
2019-11-12 17:47:53 +08:00
郑雨
63291fe28c fix(region): Check if group and guest belong to same project
If group and guest belong to different projects, return httperrors.ForbiddenError.
Fix the bug that disabled instance group can be binded.
2019-11-12 16:20:16 +08:00
Qu Xuan
eb1810a349 fix: 避免Openstack越过存储检查 2019-11-12 15:14:55 +08:00
wanyaoqi
7bed7f2e16 postpaid expire support premise 2019-11-12 14:54:21 +08:00
yunion-ci-robot
d2b65bb820 Merge pull request #3559 from swordqiu/hotfix/qj-error-process-standardize
fix: recode error handling to make conform with error handling standard
2019-11-12 13:28:19 +08:00
yunion-ci-robot
5371d2ad52 Merge pull request #3537 from ioito/hotfix/qx-rds-zone-info
fix: 添加rds zone返回信息
2019-11-12 01:01:17 +08:00
yunion-ci-robot
6a679a4a80 Merge pull request #3571 from ioito/hotfix/qx-dbinstance-retry
fix: 赋予rds账号权限失败后进行重试
2019-11-12 00:57:20 +08:00
yunion-ci-robot
777df10cf5 Merge pull request #3566 from wanyaoqi/bugfix/wyq/instance-snapshot-misc-fix
region: bugfix instance-snapshot create
2019-11-12 00:53:18 +08:00
yunion-ci-robot
01f5946d35 Merge pull request #3558 from tb365/bugfix/tb-bugfix-1110
huawei disk attach bugfix
2019-11-12 00:31:19 +08:00
Qiu Jian
a48f53113e feature: approve.sh check whether all assigned reviews lgtm the PR 2019-11-11 23:01:25 +08:00
Qu Xuan
25a391537d fix: 赋予rds账号权限失败后进行重试 2019-11-11 21:37:11 +08:00
Qu Xuan
bad81322ab fix: avolid duplicate secgroup name error when create secgroup 2019-11-11 20:45:00 +08:00
yunion-ci-robot
eceb9a832b Merge pull request #3535 from ioito/hotfix/qx-server-sku-sync
fix: remove private cloud server sku brand and provider attribute
2019-11-11 20:41:18 +08:00
wanyaoqi
908b9c3ce9 fix instance-snapshot create 2019-11-11 19:35:44 +08:00
yunion-ci-robot
e89831145a Merge pull request #3557 from tb365/bugfix/tb-redis-bugfix-1108
redis sync fix
2019-11-11 17:40:17 +08:00
Qiu Jian
09f91f306a update vendor 2019-11-11 17:05:21 +08:00
Qu Xuan
4b8aa029df fix: 添加rds zone返回信息 2019-11-11 16:04:02 +08:00
yunion-ci-robot
756774d93d Merge pull request #3555 from swordqiu/feature/qj-service-config
feature: keystone add service config API and allow config services by API
2019-11-11 15:52:18 +08:00
tangbin
54e7eb9c36 add elastic cache delete protect 2019-11-11 14:17:29 +08:00
tangbin
1896651d69 redis sync fix 2019-11-11 14:17:29 +08:00
yunion-ci-robot
2f4a627cec Merge pull request #3545 from rainzm/bugfix/guest_image_update
fix(image): Change the update process of guest image
2019-11-11 12:08:18 +08:00
郑雨
809cd1b595 fix(image): Change the update process of guest image
At the very beginning, updating subimage of guest image is a
asynchronous process so that a intermediate state was need for web
client. But guest image's status has a little particularity. Now, the
update process is synchronous and use errgroup.Group to update subimage
in a concurrent manner.
Add 'size' and 'status' for subimages belong to a guest image.
2019-11-11 11:41:11 +08:00
yunion-ci-robot
c8ebe97201 Merge pull request #3564 from swordqiu/hotfix/qj-baremetal-status-fix
fix: cleanup host/baremetal status code
2019-11-11 11:23:21 +08:00
Qiu Jian
53c0d3b29f fix: recode error handling to make conform with error handling standard 2019-11-11 10:55:01 +08:00
tangbin
d43f31caab huawei disk attach bugfix 2019-11-11 10:29:38 +08:00
Qiu Jian
ac92993e87 fix: cleanup host/baremetal status code 2019-11-11 10:29:31 +08:00
yunion-ci-robot
ab1e3eb4fb Merge pull request #3550 from swordqiu/hotfix/qj-simplify-delete-fail-reason
fix: simplify object delete-fail-reason message
2019-11-11 09:59:17 +08:00
yunion-ci-robot
4faea3ffc5 Merge pull request #3548 from swordqiu/hotfix/qj-unify-baremetal-sys-manufacture
fix: normalize baremetal sysinfo manufacture
2019-11-11 09:58:18 +08:00
yunion-ci-robot
6df0a649f9 Merge pull request #3546 from swordqiu/hotfix/qj-fix-network-used-address-list
fix: unify network used address query
2019-11-11 09:56:17 +08:00
yunion-ci-robot
eddce877ed Merge pull request #3542 from swordqiu/hotfix/qj-server-list-details-nil-pointer-panic
fix: server-list details report nil pointer panic
2019-11-11 09:53:18 +08:00
yunion-ci-robot
4d98c655d0 Merge pull request #3536 from swordqiu/hotfix/qj-approve-script-fail-to-find-check-success-record
fix: approve.sh fail to find check success record for some pr
2019-11-11 09:52:17 +08:00
Qiu Jian
e9e4dedac8 fix: normalize baremetal sysinfo manufacture 2019-11-10 03:51:20 +08:00
Qiu Jian
54ada6b887 feature: keystone add service config API and allow config services by
API
2019-11-10 03:31:50 +08:00
Qiu Jian
d27f718e3e fix: simplify object delete-fail-reason message 2019-11-08 22:45:19 +08:00
Qiu Jian
4bf92f218d fix: unify network used address query 2019-11-08 21:01:01 +08:00
Qiu Jian
acd0469e45 fix: server-list details report nil pointer panic 2019-11-08 18:11:01 +08:00
Zexi Li
cf4bb0e642 Merge pull request #3539 from zexi/feature/k8s-cli
climc: k8s api update
2019-11-08 18:04:24 +08:00
Zexi Li
f83a46f385 climc: k8s api update 2019-11-08 17:52:04 +08:00
Qu Xuan
704733ca81 fix: remove private cloud server sku brand and provider attribute 2019-11-08 17:50:30 +08:00
yunion-ci-robot
76e3fb27b5 Merge pull request #3524 from tb365/bugfix/tb-bugfix-1107
aws elb bugfix
2019-11-08 17:45:16 +08:00
yunion-ci-robot
c6e49dae7c Merge pull request #3423 from tb365/feature/tb-add-project-create-rpc
Feature/tb add project create rpc
2019-11-08 17:15:16 +08:00
TangBin
64483e98c1 add rpc createuser & createproject 2019-11-08 16:21:27 +08:00
yunion-ci-robot
e9414a8ee6 Merge pull request #3486 from ioito/hotfix/qx-dbinstance-sku-sync
fix: 从aliyun对象存储上面同步dbinstance sku信息
2019-11-08 16:13:15 +08:00
Qiu Jian
e454236623 fix: approve.sh fail to find check success record for some pr 2019-11-08 15:52:36 +08:00
Zexi Li
f3a4db5a4b Merge pull request #3534 from zexi/bugfix/action-apt-not-found
action: fix apt 404 not found
2019-11-08 15:19:33 +08:00
Zexi Li
32a615347a action: fix apt 404 not found 2019-11-08 15:03:01 +08:00
yunion-ci-robot
538d438187 Merge pull request #3528 from zexi/bugfix/baremetal-sol-active
webconsole: fix baremetal ipmitool sol payload active on another session
2019-11-08 13:31:15 +08:00
yunion-ci-robot
029dd475e7 Merge pull request #3498 from swordqiu/hotfix/qj-reserve-detected-ipaddr
fix: reserve probed ipaddr
2019-11-08 12:09:15 +08:00
Zexi Li
534d10486c webconsole: fix baremetal ipmitool sol payload active on another session 2019-11-08 11:35:47 +08:00
TangBin
527c5b15f6 1.elb certificate usable fix
2.aws tcp&udp backendgroup create bugfix
3.aws backendgroup create bugfix
4.aws create listener bugfix
5.aws delete loadbalancer bugfix
6.aws backendgroup cache query fix
7.aws delete loadbalancer listener fix
8.aws create backendgroup fix
9.aws delete backend fix
10.loadbalancer listener rule add is_default column
11.huawei elb backendgroup sync fix
12.aws https listener sync fix
2019-11-08 11:16:59 +08:00
Qu Xuan
92bb83025e fix: 从aliyun对象存储上面同步dbinstance sku信息 2019-11-08 11:13:01 +08:00
yunion-ci-robot
006a954f69 Merge pull request #3505 from ioito/bugfix/qx-dbinstance-delete
fix: 避免因backup删除失败导致删除rds无限失败
2019-11-08 11:07:16 +08:00
yunion-ci-robot
9bd5579cac Merge pull request #3518 from ioito/hotfix/qx-resource-moved
fix: 虚拟机漂移后设置新的hostId
2019-11-08 11:04:15 +08:00
yunion-ci-robot
2e821e4d8a Merge pull request #3521 from swordqiu/hotfix/qj-baremetal-storagecache-create-register-failure
fix: baremetal failed to register due to duplicate storagecache
2019-11-08 10:29:15 +08:00
yunion-ci-robot
8b4d1d821b Merge pull request #3492 from ioito/hotfix/qx-image-version
fix: 避免version输出不正确
2019-11-08 00:52:14 +08:00
Qiu Jian
12c7aa84dd fix: reserve probed ipaddr 2019-11-08 00:44:31 +08:00
Qiu Jian
251f070318 fix: baremetal failed to register due to duplicate storagecache 2019-11-07 22:42:52 +08:00
Qu Xuan
9a09f2d5cc fix: 虚拟机漂移后设置新的hostId 2019-11-07 21:29:49 +08:00
Qu Xuan
cf7e876e03 fix: 避免因backup删除失败导致删除rds无限失败 2019-11-07 19:46:43 +08:00
yunion-ci-robot
9ff06291de Merge pull request #3500 from ioito/hotfix/qx-dbinstance-created-at
fix: 避免dbinstance created_at为空
2019-11-07 17:55:16 +08:00
Qu Xuan
114caa4a5e fix: 避免dbinstance created_at为空 2019-11-07 17:39:12 +08:00
yunion-ci-robot
aed57c3c4e Merge pull request #3510 from ioito/hotfix/qx-qcloud-secgroup-delete
fix: 避免删除安全组失败
2019-11-07 17:21:15 +08:00
Zexi Li
116bd7f199 Merge pull request #3493 from wanyaoqi/bugfix/wyq/fix-isolated-device-attach
region: gpu&instance_snapshot bugfix
2019-11-07 17:08:23 +08:00
Qu Xuan
b6f4a98059 fix: 避免删除安全组失败 2019-11-07 16:59:30 +08:00
yunion-ci-robot
bcd53c0973 Merge pull request #3507 from rainzm/bugfix/guest_image_auto_start
Bugfix: Guest Image
2019-11-07 16:54:15 +08:00
wanyaoqi
5da220d2aa add auto_start after detach or attach isolated device 2019-11-07 16:51:44 +08:00
郑雨
5e0ae98a48 fix(region): Pass 'auto_start' parameter to GuestSaveGuestImageTask if have
The parameter 'auto_start' from client was not pass to GuestSaveGuestImageTask.
2019-11-07 16:40:39 +08:00
ioito
4036d34656 云上操作日志同步 2019-11-07 16:38:17 +08:00
yunion-ci-robot
1f61162dfb Merge pull request #3491 from rainzm/feature/snapshotpolicy_cache_delete
Feature: Snapshot Policy Cache
2019-11-07 16:21:16 +08:00
yunion-ci-robot
7393eef6cc Merge pull request #3502 from rainzm/bugfix/instance_group
Fix: Instance Group
2019-11-07 16:15:15 +08:00
郑雨
0fc7919101 modify import package order 2019-11-07 15:53:41 +08:00
郑雨
b59a145184 fix: Fix that fail to create vm with unforced instance group
1. This is a bug because of latest modify about scheduler's instance_group_predicate.
Should set minFree as zero when founding that host can't be used to create vm
with requested forced instance group.
2. Fix some little error of instance group.
3. Add PerformEnable and PerformDisable for instance group.
4. Clean scheduler desc cache after having attached or detached guests and groups
and enabled group. Cleaning was necessary when disable group because disabled
group is prohibited.
5. Add package 'golang.org/x/sync/errgroup'.
2019-11-07 15:35:51 +08:00
yunion-ci-robot
1982fb1e65 Merge pull request #3478 from tb365/bugfix/tb-bugfix-1106
region sync fix
2019-11-07 15:07:16 +08:00
Qu Xuan
1a54e0e185 fix: 避免version输出不正确 2019-11-07 11:06:23 +08:00
郑雨
136e0c534c feat(region): Add list and delelte apis for snapshot policy cache
Now, you can take the initiative to push snapshotpolicy to cloud and
view the caches of a snasphotpolicy or delete them.
Add status for snapshotpolicy cache: ready, deleting and delete_failed.
2019-11-07 10:24:20 +08:00
yunion-ci-robot
e7491733d7 Merge pull request #3494 from swordqiu/hotfix/qj-skip-nil-config-esxi-vm
fix: skip esxi vm with nil config
2019-11-07 10:19:16 +08:00
yunion-ci-robot
4329d5455b Merge pull request #3487 from swordqiu/hotfix/qj-auth-fail-decode-body-internal-error
fix: nil pointer panic when auth decode body failed
2019-11-07 10:18:18 +08:00
Qiu Jian
c08cda4238 fix: skip esxi vm with nil config 2019-11-06 22:11:56 +08:00
Qiu Jian
98faaa7118 fix: nil pointer panic when auth decode body failed 2019-11-06 19:38:52 +08:00
yunion-ci-robot
77d722ee45 Merge pull request #3472 from rainzm/bugfix/guest_image
Bugfix: Guest Image
2019-11-06 14:35:14 +08:00
TangBin
9a80daa0bf region sync fix 2019-11-06 14:28:41 +08:00
yunion-ci-robot
9ca59c280a Merge pull request #3431 from Mjoycarry/feature/instancegroup_api_docs
Feature & Bugfix: Instance Group
2019-11-06 13:20:15 +08:00
郑雨
da831eaf87 fix: Add operational restrictions and fix some bugs for guest image
1. Support generate_name for guest image
2. Only allow subimage of guest image to update description
3. Add support for creating vm from guest image in fetchDiskInfo(disk.go)
4. Fix the bug vm can't start automatically after build guest image
5. Fix the bug that project of guest image is incorrect
6. Fix the bug about updating guest image
2019-11-06 13:14:10 +08:00
Rain
8e55bee9b3 feat & fix: Add batch operator and fix some bugs for instance group
Feature:
1. Add apis: list server by group, list group by server, bind
servers, unbind servers, bind groups, unbind groups.
2. Add climc command and docs corresponding to the above newly added apis
3. Add log about binding and unbinding operator.
4. Support enable and disable instance group.
Fix:
1. Set capacity zeor if there are not enough resource aboue forced
instance group in one host.
2. Change the stage(real delete => pending delete) that guest leave all groups.
2019-11-06 13:06:03 +08:00
yunion-ci-robot
97ce4c6acf Merge pull request #3476 from swordqiu/hotfix/qj-baremetal-event-support-time-range-query
fix: baremetal-event-list support since/until filter
2019-11-06 12:49:14 +08:00
yunion-ci-robot
1e2f912d6e Merge pull request #3473 from swordqiu/hotfix/qj-baremetal-fail-report-access-ip
fix: baremetal-prepare report admin ip using ssh client host
2019-11-06 12:46:14 +08:00
yunion-ci-robot
ad39c741e8 Merge pull request #3468 from yousong/bugfix/yousong-tmpfile
Bugfix/yousong tmpfile
2019-11-06 12:42:14 +08:00
yunion-ci-robot
f85e290569 Merge pull request #3466 from tb365/feature/tb-redis-sku-sync
redis sku sync
2019-11-06 10:33:14 +08:00
yunion-ci-robot
20f1ad53f6 Merge pull request #3463 from tb365/bugfix/tb-bugfix-1105
elb sync fix
2019-11-06 10:25:15 +08:00
Qiu Jian
4e46db8bb0 fix: baremetal-event-list support since/until filter 2019-11-05 22:31:59 +08:00
Qiu Jian
e2b4a3730a fix: baremetal-prepare report admin ip using ssh client host 2019-11-05 20:00:56 +08:00
wanyaoqi
89e3f48950 instance snapshot fix 2019-11-05 18:16:40 +08:00
yunion-ci-robot
29502b9e58 Merge pull request #3461 from ioito/hotfix/qx-cloudaccount-update-credential
hotfix: 参数校验使用结构体传参
2019-11-05 17:23:13 +08:00
Yousong Zhou
aba8e91dbf azure: storagecache: fix writing sparse image file 2019-11-05 09:05:58 +00:00
Yousong Zhou
2697cd59de fileutils: add SparseFileWriter 2019-11-05 09:05:58 +00:00
TangBin
2b30a2d095 elb sync fix 2019-11-05 16:29:30 +08:00
TangBin
10d68f159f redis sku sync 2019-11-05 16:19:19 +08:00
wanyaoqi
bf13fa2410 fix isolated device attach 2019-11-05 14:35:18 +08:00
Yousong Zhou
6ca7892698 webconsole: always do session close on pty stop 2019-11-05 03:55:34 +00:00
Yousong Zhou
2dd27d3011 fileutils: SReadSeeker: fix closing tmpfile fd 2019-11-05 03:55:34 +00:00
Yousong Zhou
9ea42cf7e2 seclib2: add doc describing the protocol on removal of tmpfile 2019-11-05 03:55:34 +00:00
Yousong Zhou
27226aa623 aliyun: fix tmp image file handling 2019-11-05 03:55:34 +00:00
Yousong Zhou
c71696789e azure: fix tmp image file handling 2019-11-05 03:55:34 +00:00
Qu Xuan
498e1ad769 hotfix: 参数校验使用结构体传参 2019-11-05 10:28:47 +08:00
yunion-ci-robot
333b582662 Merge pull request #3462 from swordqiu/hotfix/qj-approve-scripts-imporvements
fix: approve scripts imporvements, alllow approve_all PRs
2019-11-04 22:47:15 +08:00
yunion-ci-robot
4f8e485910 Merge pull request #3454 from swordqiu/hotfix/qj-aliyun-associate-eip-incorrect-status
fix: aliyun eip associate instance ignores IncorrectInstanceStatus error
2019-11-04 22:45:15 +08:00
yunion-ci-robot
e033f1cef8 Merge pull request #3432 from swordqiu/hotfix/qj-user-add-expire-password-info
fix: user details add password expiration info
2019-11-04 22:41:13 +08:00
yunion-ci-robot
fed05e241d Merge pull request #3428 from ioito/hotfix/qx-snapshot-create-check
fix: 避免创建vmware磁盘快照
2019-11-04 22:21:13 +08:00
yunion-ci-robot
3a842c77bb Merge pull request #3422 from ioito/hotfix/qx-huawei-dbinstance-privilege-check
fix: 添加华为云Rds privilege校验
2019-11-04 22:12:13 +08:00
yunion-ci-robot
67f6960d9a Merge pull request #3413 from Mjoycarry/bugfix/keystone_policy
Fix: Keystone Policy
2019-11-04 22:07:14 +08:00
yunion-ci-robot
9e623b1b56 Merge pull request #3457 from yousong/bugfix/yousong-build-showdiff
build: show diffs made by checks
2019-11-04 21:57:15 +08:00
Qu Xuan
c5e1b75caa fix: 避免创建vmware磁盘快照 2019-11-04 21:54:01 +08:00
Qiu Jian
e1645814e8 fix: approve scripts imporvements, alllow approve_all PRs 2019-11-04 21:47:21 +08:00
yunion-ci-robot
d8f960da1a Merge pull request #3430 from ioito/hotfix/qx-public-cloud-image-version
fix: 标准镜像version
2019-11-04 21:27:15 +08:00
yunion-ci-robot
6eac3df611 Merge pull request #3429 from ioito/hotfix/qx-snapshot-reset
fix: 梳理磁盘reset条件
2019-11-04 20:51:14 +08:00
Yousong Zhou
7f1e7916f6 build: show diffs made by checks 2019-11-04 07:15:28 +00:00
yunion-ci-robot
e6b764fef4 Merge pull request #3439 from tb365/bugfix/tb-bugfix-1030
elb bugfix & aws client init bugfix
2019-11-04 14:58:13 +08:00
Qiu Jian
cbf65e9962 fix: aliyun eip associate instance ignores IncorrectInstanceStatus error 2019-11-04 14:36:35 +08:00
TangBin
32d2456aac elb bugfix & aws client init bugfix 2019-11-04 10:54:02 +08:00
郑雨
ba4b9be249 fix: cancel the merge in service level and resource level of Keystone Policy. 2019-11-04 10:44:33 +08:00
yunion-ci-robot
92d614a921 Merge pull request #3434 from swordqiu/hotfix/qj-bucket-invalid-status
fix: bucket invalid status due to disabled cloud provider
2019-11-04 10:33:14 +08:00
yunion-ci-robot
e72f49034e Merge pull request #3440 from swordqiu/feature/qj-network-addresses
feature: add api to get all allocated addresses of a network
2019-11-04 10:20:12 +08:00
yunion-ci-robot
cb916a20dd Merge pull request #3437 from swordqiu/hotfix/qj-baremetal-create-action-log
fix: missing action log for baremetal create and prepare events
2019-11-04 10:16:14 +08:00
屈轩
325c5feaba Merge branch 'master' into hotfix/qx-huawei-dbinstance-privilege-check 2019-11-04 10:09:27 +08:00
Qiu Jian
c3e5c7a59c feature: add api to get all allocated addresses of a network 2019-11-04 09:40:45 +08:00
Qiu Jian
6e6c4d40c8 fix: missing action log for baremetal create and prepare events 2019-11-02 19:51:22 +08:00
Qiu Jian
411b2768aa fix: bucket invalid status due to disabled cloud provider 2019-11-01 22:06:58 +08:00
Qiu Jian
6ed124713b fix: user details add password expiration info 2019-11-01 20:07:52 +08:00
Qu Xuan
cd32e03add fix: 梳理磁盘reset条件 2019-11-01 19:47:19 +08:00
Qu Xuan
bdfbaf052f fix: 标准镜像version 2019-11-01 17:47:33 +08:00
yunion-ci-robot
e9156bea4a Merge pull request #3426 from Mjoycarry/feature/notify_rpm
Feature: Rpm Notify
2019-11-01 13:41:12 +08:00
郑雨
bd2f21041b feature: add support for rpm build of notify 2019-11-01 13:18:38 +08:00
yunion-ci-robot
82f7ac5ff6 Merge pull request #3421 from tb365/feature/tb-aliyun-redis-support-2
redis support 2
2019-11-01 11:32:11 +08:00
Qu Xuan
675222b8bb fix: 添加华为云Rds privilege校验 2019-11-01 10:42:12 +08:00
TangBin
732dcdd3be redis support 2 2019-10-31 19:51:02 +08:00
yunion-ci-robot
96659b1c2f Merge pull request #3411 from Mjoycarry/feature/guest_image_second
Feature & Fix: Guest Image
2019-10-31 13:02:11 +08:00
yunion-ci-robot
bc9ab3c8bf Merge pull request #3414 from ioito/hotfix/qx-huawei-dbinstance-fix
fix: avoid create dbinstance without secgroup
2019-10-30 22:32:11 +08:00
Yousong Zhou
b1db1035fc Merge pull request #3412 from ioito/hotfix/qx-region-city
fix: add latitude for huawei cloud
2019-10-30 21:57:27 +08:00
Yousong Zhou
26d1795d07 Merge pull request #3408 from swordqiu/feature/qj-password-policy
feature: support password polices: minimal length, repeat check, password expiration, multi auth failures locks user
2019-10-30 21:57:02 +08:00
Zexi Li
1bbd17df2b Merge pull request #3407 from swordqiu/feature/qj-baremetal-cronjobs
feature: baremetal cronjobs: status probe, fetch bmc logs and report power/themal metrics
2019-10-30 21:56:34 +08:00
Qu Xuan
162856e23d add: dbinstance_sku qps,tps and maxconnections 2019-10-30 21:35:55 +08:00
Qiu Jian
93adf05547 feature: support password polices: minimal length, repeat check,
password expiration, multi auth failures locks user
2019-10-30 20:21:13 +08:00
Qu Xuan
573ca2eb9b fix: avoid create dbinstance without secgroup 2019-10-30 17:00:32 +08:00
Qu Xuan
f307985470 fix: add latitude for huawei cloud 2019-10-30 16:52:56 +08:00
Rain
d65e0a51f7 feature: Add update interface for guest image; add 'disk_format','min_disk_size','min_ram_size' for guest image
fix: input.Disks's length maybe zero when creating vm that will trigger panic
2019-10-30 16:38:00 +08:00
Qiu Jian
90f7dad6d7 feature: baremetal cronjobs: status probe, fetch bmc logs and report
power/themal metrics
2019-10-30 00:03:12 +08:00
yunion-ci-robot
5d0f9488cd Merge pull request #3398 from wanyaoqi/bugfix/wyq/change-config-add-logevent
bugfix: change config add log event
2019-10-29 23:37:11 +08:00
Zexi Li
1493abfe86 Merge pull request #3406 from Mjoycarry/bugfix/docker_push
Bugfix: Docker Push
2019-10-29 11:44:51 +08:00
郑雨
c92404789b fix: fix docker_push.sh 2019-10-29 11:41:31 +08:00
Zexi Li
7ae14b8b98 Merge pull request #3368 from swordqiu/hotfix/qj-ilo-read-logs-fail
fix: ilo read logs failure
2019-10-29 11:27:35 +08:00
Zexi Li
94892b6d18 Merge pull request #3366 from swordqiu/feature/qj-guest-cdrom-support-attribute
feature: guest add cdrom_support attribute
2019-10-29 11:27:17 +08:00
Zexi Li
5f3e606a25 Merge pull request #3405 from Mjoycarry/feature/docker_push_for_mac
Feature: Docker Push
2019-10-29 11:26:55 +08:00
郑雨
97e88c3d2b feature: add support for mac and work in other directory 2019-10-29 11:11:17 +08:00
yunion-ci-robot
94d0ccb545 Merge pull request #3363 from ioito/hotfix/qx-guest-disk-sync
fix: 避免虚拟机正常磁盘在回收站
2019-10-28 22:09:10 +08:00
yunion-ci-robot
35c3c3ba3c Merge pull request #3364 from ioito/bugfix/qx-secgroupcache-sync-remove
fix: realdelete secgroupcache
2019-10-28 22:05:09 +08:00
yunion-ci-robot
989afbd15e Merge pull request #3391 from wanyaoqi/bugfix/wyq/instance-snapshot-fix
instance snapshot fix
2019-10-28 21:38:10 +08:00
yunion-ci-robot
b36d11b8c6 Merge pull request #3390 from wanyaoqi/bugfix/wyq/add-manaul-snapshot-count
region: disk list add manual snapshot count
2019-10-28 21:30:09 +08:00
yunion-ci-robot
cd54464bbd Merge pull request #3380 from Mjoycarry/bugfix/snapshot_sync
Bugfix: Snapshot Sync
2019-10-28 21:20:09 +08:00
wanyaoqi
d38111696f change config add log event 2019-10-28 21:16:16 +08:00
wanyaoqi
fb8a5b7502 instance snapshot fix 2019-10-28 20:47:08 +08:00
wanyaoqi
c5e4bc2f0f disk list add manual snapshot count 2019-10-28 20:30:01 +08:00
yunion-ci-robot
87f81508a0 Merge pull request #3386 from wanyaoqi/bugfix/wyq/hmp-fix
bugfix: support hmp
2019-10-28 20:04:09 +08:00
yunion-ci-robot
79ead29305 Merge pull request #3374 from yousong/bugfix/yousong-lb-error
Bugfix/yousong lb error
2019-10-28 19:18:09 +08:00
wanyaoqi
0a02db5cfd support hmp 2019-10-28 19:03:39 +08:00
yunion-ci-robot
2e188cd05d Merge pull request #3381 from yousong/feature/yousong-goimports-check
build: add goimports-check
2019-10-28 15:24:08 +08:00
Yousong Zhou
8ba5986d83 goimports: first run 2019-10-28 06:22:17 +00:00
Yousong Zhou
1970287cdf build: add goimports-check 2019-10-28 06:22:16 +00:00
Yousong Zhou
ee6f1a4f02 .circleci: use yunionio/onecloud-ci:v1.0.3 2019-10-28 06:22:16 +00:00
Yousong Zhou
f7648e04ee .circleci: yunionio/onecloud-ci: bundle custom goimports 2019-10-28 06:22:16 +00:00
Yousong Zhou
515545163c .circleci: yunionio/onecloud-ci: run as user "build" 2019-10-28 06:22:16 +00:00
Yousong Zhou
8c5fd6b34c .circleci: yunionio/onecloud-ci: bump golang version to 1.13.3 2019-10-28 06:22:16 +00:00
郑雨
ffab0b967b fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project 2019-10-28 11:26:43 +08:00
Yousong Zhou
b4b6421fb8 Merge pull request #3378 from yousong/bugfix/yousong-cloudnet-sampleconf
cloudnet: 重命名样例配置文件
2019-10-28 11:16:02 +08:00
Yousong Zhou
4ba150d707 cloudnet: 重命名样例配置文件 2019-10-28 03:14:11 +00:00
Yousong Zhou
9a7e602903 cloudcommon: db: 允许普通用户获得pending_deleted字段
Convenient for testing
2019-10-28 02:29:02 +00:00
Yousong Zhou
05eae26c46 lb: 创建时校验不通过返回httperrors 2019-10-28 02:28:44 +00:00
yunion-ci-robot
7b8e4b4b39 Merge pull request #3370 from swordqiu/hotfix/qj-host-wire-update-mac
fix: host-wire-update param rename
2019-10-28 09:43:11 +08:00
Qiu Jian
42eaa20ee3 fix: hostwire update user network name as wireId 2019-10-27 14:20:01 +08:00
Qiu Jian
02520e4e8b fix: host-wire-update param rename 2019-10-27 12:19:17 +08:00
Qiu Jian
6f22b8636b fix: ilo read logs failure 2019-10-26 11:58:38 +08:00
Qiu Jian
35278c11d1 feature: guest add cdrom_support attribute 2019-10-26 09:57:00 +08:00
ioito
eedda1f471 fix: realdelete secgroupcache 2019-10-25 17:47:02 +08:00
ioito
7518aaf8f2 fix: 避免虚拟机正常磁盘在回收站 2019-10-25 17:43:31 +08:00
yunion-ci-robot
253f0e5d16 Merge pull request #3352 from ioito/hotfix/qx-update-vendor
update vendor
2019-10-25 17:02:08 +08:00
ioito
9fac56bb25 update vendor 2019-10-25 16:53:01 +08:00
yunion-ci-robot
b74fb5f754 Merge pull request #3340 from tb365/bugfix/tb-bugfix-1022
huawei & qcloud & aws bugfix
2019-10-25 16:19:07 +08:00
TangBin
6b4272b1aa huawei & qcloud & aws bugfix 2019-10-25 16:08:46 +08:00
yunion-ci-robot
7a37600b38 Merge pull request #3358 from Mjoycarry/bugfix/eip_natgateway
Bugfix: Eip
2019-10-25 15:25:07 +08:00
Rain
a3397588bb fix: eip display info will contains 'associate_name' even if
associate_type is not vm; eip-dissociate will add log to eip now;
eip-dissociate for natgateway will check if natgatway has nat rules with
this eip.
2019-10-25 15:02:26 +08:00
yunion-ci-robot
7cf710ec71 Merge pull request #3355 from Mjoycarry/bugfix/nat_third
Bugfix: Nat Purge
2019-10-25 12:15:07 +08:00
Rain
027a14fcef fix: shoule purge snat table and dnat table when sync remove local
natgateway; nat rule's 'real_name'.
2019-10-25 11:47:18 +08:00
yunion-ci-robot
9910e9cca4 Merge pull request #3179 from ioito/feature/qx-rds-op
add rds operation
2019-10-24 14:48:06 +08:00
yunion-ci-robot
f4b00ac762 Merge pull request #3347 from ioito/hotfix/qx-guest-status-sync
fix: 更正stopping状态
2019-10-24 14:10:09 +08:00
ioito
21be27e36c add rds operation 2019-10-24 11:40:22 +08:00
ioito
35a2288268 fix: 更正stoping状态 2019-10-24 10:49:18 +08:00
yunion-ci-robot
19afb24e88 Merge pull request #3332 from swordqiu/hotfix/qj-allow-multi-guest-dhcp
fix: allow multi-guest-dhcp
2019-10-24 10:45:06 +08:00
yunion-ci-robot
399c27d22b Merge pull request #3343 from ioito/bugfix/qx-azure-uploadimage
fix: 避免update存储tag信息异常
2019-10-24 07:39:06 +08:00
yunion-ci-robot
5fb4af607f Merge pull request #3336 from yousong/feature/yousong-dns-k8s-skip
dns: 添加k8s_skip选项
2019-10-24 07:26:06 +08:00
yunion-ci-robot
f6ad79db87 Merge pull request #3329 from zexi/feature/baremetal-cdrom-schedule
baremetal: add cdrom boot schedule
2019-10-24 02:00:07 +08:00
yunion-ci-robot
37e38a2d2a Merge pull request #3325 from ioito/bugfix/qx-qcloud-eip-dissociate
fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题
2019-10-24 01:53:06 +08:00
yunion-ci-robot
75d57a5fe2 Merge pull request #3309 from wanyaoqi/bugfix/wyq/misc-1017
bugfix :fix snapshot-list list created_by, migrate add auto-converge
2019-10-24 01:46:05 +08:00
yunion-ci-robot
28f3619a25 Merge pull request #3281 from ioito/feature/qx-secgroup-cache
feature: 支持预cache secgroup到云上
2019-10-24 01:24:06 +08:00
Qiu Jian
bea0dca0c5 fix: allow multi-guest-dhcp 2019-10-24 00:46:47 +08:00
ioito
92a481d594 fix: 避免update存储tag信息异常 2019-10-23 20:51:18 +08:00
Yousong Zhou
981b2e8539 dns: 添加k8s_skip选项 2019-10-23 08:42:44 +00:00
Zexi Li
e8377a8709 baremetal: add cdrom boot schedule 2019-10-23 11:18:27 +08:00
ioito
9ed660c555 fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题 2019-10-22 21:56:40 +08:00
yunion-ci-robot
a01ca71e05 Merge pull request #3295 from swordqiu/feature/qj-baremetal-iso-support
feature: baremetal support iso operation
2019-10-22 21:01:05 +08:00
Zexi Li
cdf3c0dcdd Merge pull request #3323 from zexi/master
fix github action lib missing
2019-10-22 20:27:13 +08:00
Zexi Li
6a0cecd46a Merge remote-tracking branch 'upstream/master' 2019-10-22 20:21:03 +08:00
Zexi Li
2f315746af github action: fix librados missing 2019-10-22 20:16:00 +08:00
ioito
b85f414d4b feature: 支持预cache secgroup到云上 2019-10-22 19:51:03 +08:00
Zexi Li
0f3d202755 github action: fix librados missing 2019-10-22 19:19:38 +08:00
Zexi Li
ba132ab4d7 Merge pull request #3321 from zexi/feature/k8s-import
climc: k8s import cluster support
2019-10-22 19:12:08 +08:00
Zexi Li
8fd10ec457 climc: k8s import cluster support 2019-10-22 19:05:03 +08:00
yunion-ci-robot
0d16dad30d Merge pull request #3317 from Mjoycarry/bugfix/eip_sync
Bugfix: EIP Sync
2019-10-22 19:01:06 +08:00
yunion-ci-robot
7107114d87 Merge pull request #2960 from Mjoycarry/feature/guest_image
Feature: Guest Image
2019-10-22 18:35:05 +08:00
Rain
d1d556e68e Bugfix: add parameter deepsync to command 'cloud-provider-sync' and
'cloud-account-sync'; fix the bug when syncing eip.
2019-10-22 18:05:17 +08:00
Rain
a8fddb66cc feature: guest image create from vm, delete, update, list; create vm
from guest image.
2019-10-22 17:35:32 +08:00
yunion-ci-robot
70763615f2 Merge pull request #3314 from Mjoycarry/bugfix/nat_second
Bugfix: NAT
2019-10-22 16:04:06 +08:00
Rain
07dc073b14 Bugfix: add the operation log of natgateway; display correctly multiple
eip of snat rule in huawei cloud; bind ip to natgateway automatically
when creating nat rule in aliyun cloud and try to unbind when deleting; fill
or unfill the fields AssociateType, AssociateId when creating or
deleting nat rule in huawei cloud; add SNatEntry and SNatEntryManager
which has common field and function of SNat and DNat.
2019-10-22 15:20:13 +08:00
yunion-ci-robot
b6cab0a162 Merge pull request #3260 from Mjoycarry/bugfix/snapshot_sync
Bugfix: Sync snapshot
2019-10-22 12:04:06 +08:00
wanyaoqi
75deb86f54 fix snapshot-list list created_by, migrate add auto-converge 2019-10-22 11:01:52 +08:00
Rain
b2d981c355 fix: The domain and project info between disk and disk's cloudprovider maybe different and the new snapshot synced from cloud should have same domain and project info with disk. Project of snapshot with undeleted disk should always be same with disk's. Project of snapshot whose disk has been deleted should not change in SyncWithCloudSnapshot. 2019-10-22 10:55:17 +08:00
Qiu Jian
3c9c3ad164 feature: support fetch baremetal uuid and use uuid to identify baremetal 2019-10-22 10:33:15 +08:00
yunion-ci-robot
5329d22f38 Merge pull request #3301 from ioito/bugfix/qx-huawei-ucloud-secgroup-fix
fix: 修复华为云ucloud安全组同步问题
2019-10-22 02:24:04 +08:00
yunion-ci-robot
4851a84632 Merge pull request #3305 from zexi/baremetal/cancel-passwd-check
baremetal: cancel password complex check
2019-10-22 02:20:04 +08:00
Zexi Li
30ceec422e baremetal: cancel password complex check 2019-10-21 15:09:17 +08:00
ioito
43d036abfb fix: 修复华为云ucloud安全组同步问题 2019-10-21 11:25:04 +08:00
yunion-ci-robot
0713d48bd5 Merge pull request #3292 from swordqiu/hotfix/qj-policy-support-description
fix: policy support description
2019-10-21 09:30:04 +08:00
yunion-ci-robot
74c9073fa5 Merge pull request #3297 from swordqiu/hotfix/qj-esxi-change-instance-type-timeout
fix: esxi change vm instance type always timeout
2019-10-21 09:28:07 +08:00
Qiu Jian
ed587c6b71 fix: esxi change vm instance type always timeout 2019-10-21 01:27:26 +08:00
Qiu Jian
42ed1f7961 feature: baremetal support iso operation 2019-10-21 01:07:49 +08:00
Qiu Jian
4caa700584 fix: policy support description 2019-10-20 18:59:44 +08:00
yunion-ci-robot
01b0b92bbe Merge pull request #3268 from wanyaoqi/feature/wyq/misc_1014
region: delete snapshots on delete disk or guest, instance snapshot fix
2019-10-18 21:04:02 +08:00
yunion-ci-robot
2959ad2f4e Merge pull request #3283 from yousong/bugfix/yousong-manager_id-nullempty
lbagent: fix listing filter on manager_id
2019-10-18 20:08:02 +08:00
yunion-ci-robot
d66063d5eb Merge pull request #2837 from yousong/feature/yousong-cloudnet
Feature/yousong cloudnet
2019-10-18 19:56:03 +08:00
yunion-ci-robot
5dea662712 Merge pull request #3287 from tb365/bugfix/tb-bugfix-1018
huawei eip disassociate bugfix
2019-10-18 16:12:03 +08:00
TangBin
306d501ff8 huawei eip disassociate bugfix 2019-10-18 15:22:10 +08:00
Yousong Zhou
0058a8e74b lbagent: fix listing filter on manager_id 2019-10-18 06:06:10 +00:00
yunion-ci-robot
c103d56324 Merge pull request #3282 from swordqiu/hotfix/qj-approve-scripts-check-label
fix: approve.sh fail to send comments
2019-10-18 11:57:02 +08:00
Yousong Zhou
ff0dd3dd47 vendor 未合并的文件 2019-10-18 03:40:53 +00:00
Yousong Zhou
37f42f57be vendor: make mod 2019-10-18 03:40:53 +00:00
Yousong Zhou
0b6d33d4fc cloudnet: initial version 2019-10-18 03:40:53 +00:00
Yousong Zhou
5b8fdcd5af ansibleserver: v2 models for exporting more features 2019-10-18 03:22:30 +00:00
Yousong Zhou
469db4d88f util: ansiblev2: new package for exporting more features 2019-10-18 03:22:29 +00:00
Yousong Zhou
bbc2a50dff util: ansible: session manager manages runnable 2019-10-18 03:22:29 +00:00
Yousong Zhou
9a8a9a3980 util: firewalld: new package 2019-10-18 03:22:29 +00:00
Yousong Zhou
b2d1bb6d5a validators: actor joined by more tests 2019-10-18 03:22:29 +00:00
Yousong Zhou
396fc7be7c validators: add ValidatorByActor 2019-10-18 03:22:29 +00:00
Yousong Zhou
43f25bd4b4 validators: add sshkey validator 2019-10-18 03:22:29 +00:00
Yousong Zhou
e30448f119 validators: add string length validator 2019-10-18 03:22:29 +00:00
Qiu Jian
88ec890562 fix: approve.sh fail to send comments 2019-10-17 22:10:20 +08:00
yunion-ci-robot
150c0890c7 Merge pull request #3270 from wanyaoqi/bugfix/wyq/fix-reserved-memeory-is-zero
bugfix: fix reserved memory is zero
2019-10-17 21:27:02 +08:00
Zexi Li
8e04c6677f Merge pull request #3278 from zexi/bugfix/disk-detail-panic
region: fix get disk detail panic
2019-10-17 16:25:41 +08:00
Zexi Li
8f6c309e30 region: fix get disk detail panic 2019-10-17 16:07:50 +08:00
Zexi Li
a9938bbe61 Merge pull request #3235 from Mjoycarry/feature/unforced_dispersion
Feature: Unforced Instance Group
2019-10-17 13:34:28 +08:00
Rain
0c93b0c7d4 Feature: Unforced Group which prioritize scheduling guest to host with
enough resources of InstanceGroup and then to host even if this hosts has
no enough resources. Add groups desc in SGuest.ToSchedDesc. The backup
guest also occupies InstanceGroup resources now.
2019-10-17 12:57:43 +08:00
Zexi Li
96b74275ad Merge pull request #3271 from zexi/fix/capability-public-net-cnt
region: capability public network count filter by host type
2019-10-17 12:49:11 +08:00
Zexi Li
165454224a region: capability public network count filter by host type 2019-10-17 12:10:38 +08:00
wanyaoqi
94642c2ec0 fix reserved memory is zero 2019-10-17 10:46:01 +08:00
yunion-ci-robot
e61191f0eb Merge pull request #3264 from ioito/bugfix/qx-internal-error
fix: 避免返回nil, nil
2019-10-16 20:32:01 +08:00
wanyaoqi
90ee44ad78 delete snapshots on delete disk or guest, instance snapshot fix 2019-10-16 19:23:12 +08:00
ioito
0c97fd44f0 fix: 避免返回nil, nil 2019-10-16 18:11:32 +08:00
yunion-ci-robot
4b8d353563 Merge pull request #3115 from swordqiu/feature/qj-redfishapi-support
redfish api support
2019-10-16 16:09:01 +08:00
yunion-ci-robot
2fc9a60567 Merge pull request #3257 from ioito/bugfix/qx-secgroup-rule
optimized: 优化安全组规则,支持逗号分隔的规则
2019-10-16 15:09:02 +08:00
Zexi Li
f67089a8af Merge pull request #3252 from swordqiu/hotfix/qj-approve-scripts-check-label
fix: [github scripts] make sure label exists after send comment
2019-10-16 14:16:15 +08:00
Qiu Jian
7e02839d67 add doc and copyright 2019-10-16 14:08:57 +08:00
Qiu Jian
25d0d478e7 redfish api support 2019-10-16 14:01:19 +08:00
ioito
6a2e672acb optimized: 优化安全组规则,支持逗号分隔的规则 2019-10-16 11:54:38 +08:00
Zexi Li
0fb272873a Merge pull request #3253 from zexi/bugfix/baremetal-stop
baremetal: fix stop task hang
2019-10-16 11:50:56 +08:00
Zexi Li
da8191c7bf baremetal: fix stop task hang 2019-10-16 11:47:10 +08:00
Qiu Jian
a2ae13be8d fix: [github scripts] make sure label exists after send comment 2019-10-16 09:18:10 +08:00
yunion-ci-robot
2f577ea0c0 Merge pull request #3187 from ioito/hotfix/qx-cloud-account-tenant
fix: 创建云账号时指定tenant生效
2019-10-15 22:12:01 +08:00
yunion-ci-robot
b81a9fa171 Merge pull request #3231 from ioito/bugfix/qx-eip-delete
fix: 避免删除azure eip失败
2019-10-15 21:48:00 +08:00
yunion-ci-robot
110b71b63a Merge pull request #3240 from tb365/bugfix/tb-bugfix-1014
qcloud elb bugfix
2019-10-15 21:44:03 +08:00
yunion-ci-robot
b81ac5a65d Merge pull request #3230 from wanyaoqi/feature/wyq/gpu-attach-by-model
feature :gpu mutil attach by model type, bugfix: splited off network set hint name
2019-10-15 21:06:01 +08:00
wanyaoqi
a7f2f3f801 gpu mutil attach by model type, fix network hint name 2019-10-15 20:52:01 +08:00
TangBin
9c1b3fc4fd attach disk wait sucess 2019-10-15 20:31:40 +08:00
yunion-ci-robot
461deba9f4 Merge pull request #3241 from Mjoycarry/bugfix/snapshotpolicy_qcloud
Bugfux: snapshotpolicy for qcloud
2019-10-15 19:52:00 +08:00
Rain
20b0826e8b fix: the input parameters is wrong when create snapshotpolicy with
repeatweekday Sunday for qcloud.
2019-10-15 19:41:43 +08:00
ioito
56c82631ae optimized cloud account create 2019-10-15 18:52:46 +08:00
TangBin
7829105bdd qcloud elb bugfix 2019-10-15 17:01:00 +08:00
Zexi Li
3d9b48567b Merge pull request #3236 from zexi/fix/skip-network-cond
scheduler: adjust skip network filter condition
2019-10-15 16:23:23 +08:00
Zexi Li
d52e7acb78 scheduler: adjust skip network filter condition 2019-10-15 16:20:06 +08:00
yunion-ci-robot
d28fc53a14 Merge pull request #3220 from swordqiu/hotfix/qj-azure-list-object-show-parent-folder
fix: azure ListObject should skip current folder
2019-10-15 16:15:03 +08:00
yunion-ci-robot
7869e0aae8 Merge pull request #3189 from ioito/hotfix/qx-openstack-image
fix: openstack上传镜像时也指定os_type及额外信息
2019-10-15 16:12:01 +08:00
yunion-ci-robot
98d7ef700e Merge pull request #2983 from wanyaoqi/feature/wyq/instance-snapshot
feature: instance snapshot
2019-10-15 16:10:02 +08:00
ioito
ef10ed7a99 fix: 避免删除azure失败 2019-10-15 15:15:13 +08:00
yunion-ci-robot
63ed4552ed Merge pull request #3219 from swordqiu/hotfix/qj-sudo-docker-push
fix: allow docker_push by non-root user
2019-10-15 11:09:00 +08:00
yunion-ci-robot
8c7f668798 Merge pull request #3224 from Mjoycarry/bugfix/instance_group
Bugfix: instance_group
2019-10-14 21:41:01 +08:00
wanyaoqi
8fc4b2920a - instance snapshot
- instance clone

- create form snapshot don't reset passwd
2019-10-14 21:36:58 +08:00
Rain
2dd2ad1dda fix: Should not leave groups in SGuest.RealDelete; SGuest.LeaveAllGroups
will be call in purge and guest_delete_task.
2019-10-14 21:29:46 +08:00
Qiu Jian
dab10e8c00 fix: azure ListObject should skip current folder 2019-10-14 19:58:42 +08:00
Qiu Jian
7bd5a1d22b fix: allow docker_push by non-root user 2019-10-14 18:41:45 +08:00
yunion-ci-robot
905fb307a8 Merge pull request #3216 from swordqiu/hotfix/qj-recover-can-update
fix: recover can_update field and add update_fail_reason field
2019-10-14 17:57:02 +08:00
yunion-ci-robot
658082099b Merge pull request #3213 from swordqiu/hotfix/qj-bucket-sync-cancel-local-limit
fix: aliyun bucket sync cancel local limit
2019-10-14 17:56:03 +08:00
yunion-ci-robot
59d9ffcf72 Merge pull request #3210 from swordqiu/hotfix/qj-azure-empty-blob-error
fix: azure blob storage empty blob error
2019-10-14 17:54:00 +08:00
yunion-ci-robot
4619e6d90e Merge pull request #3205 from ioito/hotfix/qx-network-interface-detail
fix: 返回网卡所在的网络名称信息
2019-10-14 16:44:02 +08:00
Qiu Jian
44cd46c11c fix: recover can_update field and add update_fail_reason field 2019-10-14 16:23:03 +08:00
Qiu Jian
7a3be57f94 fix: azure blob storage empty blob error 2019-10-14 15:57:27 +08:00
Qiu Jian
469fb00ffb fix: aliyun bucket sync cancel local limit 2019-10-14 15:48:31 +08:00
yunion-ci-robot
9a6378968a Merge pull request #3127 from Mjoycarry/bugfix/snapshotpolicy_countdisk
Bugfix and feature add : snapshotpolicy
2019-10-14 12:45:40 +08:00
yunion-ci-robot
1e4eef7066 Merge pull request #3195 from ioito/hotfix/qx-sku-list-filter-by-memory
fix: 避免部分套餐无法列出
2019-10-14 12:05:42 +08:00
yunion-ci-robot
847c877062 Merge pull request #3161 from tb365/feature/tb-lb-cache-create-api
loadbalancer cache create api
2019-10-14 12:03:40 +08:00
yunion-ci-robot
cba642860e Merge pull request #3200 from tb365/bugfix/tb-bugfix-1012
huawei & aws bugfix
2019-10-14 11:58:44 +08:00
Rain
31146aa5ec fix
log for snapshotpolicy

docs

auto sync

add performCache for snapshotpolicy

detach snapshotpolicy after detach disk and guest

fix sync snapshot of disk in qcloud
2019-10-14 11:07:46 +08:00
yunion-ci-robot
4a9df677d9 Merge pull request #3190 from ioito/hotfix/qx-guest-create-params
fix: 创建相同配置时返回正确的eip信息
2019-10-14 07:41:41 +08:00
yunion-ci-robot
de36d17df5 Merge pull request #3180 from ioito/hotfix/qx-cloudacount-host-count
fix: 避免公有云账号统计虚拟的host数量
2019-10-14 07:39:39 +08:00
yunion-ci-robot
28eef13ff5 Merge pull request #3188 from wanyaoqi/bugfix/wyq/misc-1009
misc bugfix:
2019-10-12 19:46:40 +08:00
ioito
c741f028a1 fix: 返回网卡所在的网络名称信息 2019-10-12 19:18:42 +08:00
TangBin
6351546a79 add loadblancer acl&cert cached api docs 2019-10-12 19:13:55 +08:00
TangBin
4eeff28661 loadbalancer cache create api 2019-10-12 19:13:55 +08:00
TangBin
43825e3d3b huawei & aws bugfix 2019-10-12 18:05:13 +08:00
wanyaoqi
ad0e1004c2 fix qemu args 2019-10-12 17:40:55 +08:00
ioito
4e910643af fix: 避免部分套餐无法列出 2019-10-12 17:33:10 +08:00
ioito
0329611f4e fix: 创建相同配置时返回正确的eip信息 2019-10-12 16:51:53 +08:00
wanyaoqi
0d16282d2f add user cache 2019-10-12 16:08:33 +08:00
wanyaoqi
0fafe13e82 - sanpshot add expire time
- fix image probe iso cause iso md5 changed
- add loadbalancer cluster distinct field
2019-10-12 16:08:33 +08:00
wanyaoqi
01e5a43277 fix dirty server start, disk format empty 2019-10-12 16:08:33 +08:00
ioito
0717498d54 fix: openstack上传镜像时也指定os_type及额外信息 2019-10-12 16:07:02 +08:00
ioito
a17eafaa25 fix: 创建云账号时指定tenant生效 2019-10-12 13:48:34 +08:00
Zexi Li
ad3e845527 Merge pull request #3184 from zexi/feature/endpoint-list-by-service
keystone: endpoint list by service
2019-10-12 12:49:38 +08:00
Zexi Li
9ee245deed keystone: endpoint list by service 2019-10-12 12:46:48 +08:00
ioito
5a0faa9d21 fix: 避免公有云账号统计虚拟的host数量 2019-10-12 11:42:12 +08:00
yunion-ci-robot
cd27020aeb Merge pull request #3147 from wanyaoqi/feature/wyq/postpaid-extra-field
region features:
2019-10-12 11:25:39 +08:00
yunion-ci-robot
3f8d96ac52 Merge pull request #3148 from zexi/feature/wire-list-by-host
region: support list wire by host
2019-10-12 10:09:39 +08:00
yunion-ci-robot
16c01d3799 Merge pull request #3169 from swordqiu/hotfix/qj-user-scope-convert-error
fix: string2scope ignore user scope
2019-10-12 10:08:40 +08:00
yunion-ci-robot
1c3faa5ed1 Merge pull request #3154 from yousong/bugfix/yousong-tenantcache
ansibleserver: enable tenant/user cache manager
2019-10-12 10:07:41 +08:00
yunion-ci-robot
3056366964 Merge pull request #3173 from yousong/bugfix/yousong-ovs-no-autostart
Bugfix/yousong ovs no autostart
2019-10-12 10:04:39 +08:00
yunion-ci-robot
9c83aa422a Merge pull request #3162 from swordqiu/hotfix/qj-show-delete-fail-reason
fix: show delele fail reason if cannot delete a resource
2019-10-12 00:00:39 +08:00
Yousong Zhou
df5add03f1 hostman: ensure openvswitch won't automatically start at boot 2019-10-11 15:57:58 +00:00
Yousong Zhou
faab6da789 hostman: system_service: add IsEnabled() support 2019-10-11 15:57:58 +00:00
yunion-ci-robot
010a8e3598 Merge pull request #3165 from swordqiu/hotfix/qj-skip-fetch-project-resources
fix: skip services without project resources when fetching project resources
2019-10-11 23:50:39 +08:00
Qiu Jian
2c7c817ddc fix: string2scope ignore user scope 2019-10-11 22:06:05 +08:00
yunion-ci-robot
3b991c6c5a Merge pull request #3102 from ioito/hotfix/qx-network-filter-by-zones
fix: network支持多个zone过滤
2019-10-11 14:51:38 +08:00
yunion-ci-robot
64652a9dd5 Merge pull request #3136 from swordqiu/hotfix/qj-guest-create-eip-quota-check
fix: guest create eip quota check use owner quota
2019-10-11 14:44:38 +08:00
Qiu Jian
e133551c4d fix: skip services without project resources when fetching project resources 2019-10-11 08:51:35 +08:00
Qiu Jian
d224736a3a fix: show delele fail reason if cannot delete a resource 2019-10-10 21:51:59 +08:00
yunion-ci-robot
837e5a616e Merge pull request #3150 from yousong/bugfix/yousong-ovsbr-persist-mac
hostman: ovs: implement PersistentMAC()
2019-10-10 19:29:40 +08:00
Yousong Zhou
69efd53e80 ansibleserver: enable tenant/user cache manager 2019-10-10 08:10:08 +00:00
Yousong Zhou
84395dc048 hostman: ovs: implement PersistentMAC()
This is required if phy port was not added as first member or macaddr of
phy port is "locally managed"

More importantly, it needs to be fixed
2019-10-10 07:59:09 +00:00
Zexi Li
5b47160d7d region: support list wire by host 2019-10-10 14:32:01 +08:00
wanyaoqi
a59e171bf5 feature:
- postpaid server support expire
- extend distinct tenant filed
- gpu batch perform action
2019-10-10 12:04:22 +08:00
Zexi Li
7c2aca5ded Merge pull request #3141 from zexi/bugfix/scheduler-network-specfied
fix: scheduler specfied network no errors
2019-10-09 21:10:05 +08:00
Zexi Li
e327cbd260 fix: scheduler specfied network no errors 2019-10-09 21:08:36 +08:00
yunion-ci-robot
773e1bbaa2 Merge pull request #3132 from Mjoycarry/feature/instance_group
Scheduler Feature
2019-10-09 20:57:37 +08:00
Rain
10991015ef guest persion 2019-10-09 20:43:35 +08:00
yunion-ci-robot
cd8b0db6b0 Merge pull request #3064 from ioito/hotfix/qx-secgroup-rules
add: 支持创建安全组时同时创建规则
2019-10-09 17:36:36 +08:00
Qiu Jian
ce9d7978ca fix: guest create eip quota check use owner quota 2019-10-09 17:27:44 +08:00
yunion-ci-robot
0f42c73ef3 Merge pull request #3097 from wanyaoqi/bugfix/wyq/host-image
bugfix: fix host image memory leak and optimize open blk device
2019-10-09 17:17:39 +08:00
yunion-ci-robot
e52a03f10c Merge pull request #3110 from tb365/bugfix/tb-bugfix-0928
Bugfix/tb bugfix 0928
2019-10-09 17:15:37 +08:00
TangBin
cc91e38075 huawei & qcloud elb bugfix 2019-10-09 16:02:33 +08:00
TangBin
b033882267 loadbalancer bugfix 2019-10-09 15:38:42 +08:00
Zexi Li
895956b420 Merge pull request #3133 from zexi/bugfix/models-tag-null-define
fix: services model incorrect nullable define
2019-10-09 11:09:30 +08:00
Zexi Li
c393c1deb3 fix: services model incorrect nullable define 2019-10-08 22:22:54 +08:00
yunion-ci-robot
db7880c2ed Merge pull request #3121 from zexi/bugfix/scheduler-network-filter
scheduler: fix random network domain not matched
2019-10-07 12:58:36 +08:00
Zexi Li
b019ca3fc4 scheduler: fix random network domain not matched 2019-10-07 12:04:03 +08:00
yunion-ci-robot
ddea0bfd5a Merge pull request #3117 from zexi/bugfix/scheduler-network-filter
scheduler: set random network filter default scope domain
2019-10-06 19:54:36 +08:00
Zexi Li
22a6032f2b scheduler: set random network filter default scope domain 2019-10-06 10:31:02 +08:00
yunion-ci-robot
edfe495a69 Merge pull request #3111 from swordqiu/hotfix/qj-snapshot-real-delete-nil-pointer
fix: snapshot realdelete nil pointer panic
2019-10-05 07:36:35 +08:00
yunion-ci-robot
d3a8396821 Merge pull request #3096 from ioito/hotfix/qx-vpc-network-usable-filter
fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks
2019-10-05 07:33:34 +08:00
屈轩
4abc48b2ac Merge branch 'master' into hotfix/qx-secgroup-rules 2019-10-04 02:02:24 +08:00
yunion-ci-robot
ae0797f0e6 Merge pull request #3086 from ioito/hotfix/qx-name-validate
feature: 支持名称重复数据
2019-10-04 01:10:33 +08:00
Qiu Jian
68e4478b99 fix: snapsho realdelete nil pointer panic 2019-10-03 23:57:23 +08:00
yunion-ci-robot
03e24902ff Merge pull request #3106 from swordqiu/hotfix/qj-server-create-os-type
fix: server-create allow create server with empty disk
2019-09-29 19:33:32 +08:00
Qiu Jian
619117d6a8 fix: server-create allow create server with empty disk 2019-09-29 17:05:33 +08:00
ioito
cf53b6a5ae fix: network支持多个zone过滤 2019-09-29 16:09:11 +08:00
Zexi Li
4356de5633 Merge pull request #3098 from zexi/bugfix/scheduler-network-filter
scheduler: refactor network_predicate filter
2019-09-29 13:16:53 +08:00
Zexi Li
8286d318ac scheduler: refactor network_predicate filter 2019-09-28 18:23:27 +08:00
wanyaoqi
2f70392733 bugfix host image 2019-09-28 16:55:52 +08:00
ioito
1232bb0932 fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks 2019-09-28 16:03:37 +08:00
Zexi Li
11fe8bcf2b Merge pull request #3095 from zexi/feature/region-add-templates
region: docker image add templates
2019-09-28 13:11:28 +08:00
Zexi Li
e566c7b0b1 region: docker image add templates 2019-09-28 13:09:32 +08:00
yunion-ci-robot
581c6b78c8 Merge pull request #3091 from swordqiu/hotfix/qj-reduce-policy-sync-worker-queue-size
fix: reduce policy sync worker queue size
2019-09-28 11:31:33 +08:00
Zexi Li
596bf3920c Merge pull request #3085 from zexi/enable-notify-docker
actions: enable notify docker build
2019-09-28 10:50:31 +08:00
yunion-ci-robot
583acf11d8 Merge pull request #3087 from wanyaoqi/bugfix/wyq/fix-snaphost-task-complete
fix snaphot task complete
2019-09-28 10:49:31 +08:00
Qiu Jian
5a024b7cfe fix: reduce policy sync worker queue size 2019-09-27 23:00:13 +08:00
wanyaoqi
89f6340fa3 fix snaphot task complete 2019-09-27 19:16:02 +08:00
Zexi Li
85bfdff7b3 actions: enable notify docker build 2019-09-27 15:54:28 +08:00
Zexi Li
d71c8f5b87 Merge pull request #3082 from zexi/fix/apigateway-login
apigateway: fix forbidden login prompt format
2019-09-27 15:53:36 +08:00
Zexi Li
0c2cd60e73 apigateway: fix forbidden login prompt format 2019-09-27 15:50:08 +08:00
ioito
1a78a8b229 feature: 支持名称重复数据 2019-09-27 15:43:31 +08:00
yunion-ci-robot
7cc026b763 Merge pull request #3080 from Mjoycarry/bugfix/notify_cron1
Bugfix: Notify
2019-09-27 14:24:31 +08:00
Rain
e3ea4e3bb8 fix 2019-09-27 14:15:29 +08:00
yunion-ci-robot
27b9211d63 Merge pull request #3053 from swordqiu/hotfix/qj-fix-apigw-missing-region-cookie
fix: missing region in cookie cause no service catalog fetched
2019-09-27 09:10:29 +08:00
yunion-ci-robot
dde43b3c2f Merge pull request #3056 from ioito/bugfix/qx-typo-fix
fix: typo
2019-09-27 08:50:31 +08:00
yunion-ci-robot
9414963065 Merge pull request #3071 from wanyaoqi/bugfix/wyq/make-formatfs-fast
windows format fs fast
2019-09-26 23:45:31 +08:00
yunion-ci-robot
a4a3a3063b Merge pull request #3067 from wanyaoqi/bugfix/wyq/fix-host-snapshot-delete
snapshot move to recycle bin
2019-09-26 23:44:30 +08:00
yunion-ci-robot
08a574a1ed Merge pull request #3059 from yousong/feature/yousong-list-with-nics
Feature/yousong list with nics
2019-09-26 23:41:36 +08:00
wanyaoqi
2b09546c34 windows format fs fast 2019-09-26 22:56:09 +08:00
yunion-ci-robot
003789edb7 Merge pull request #3046 from swordqiu/hotfix/qj-keystone-auth-nil-pointer-panic
fix: keystone panic on invalid auth token
2019-09-26 22:46:36 +08:00
wanyaoqi
52ef3ec920 snapshot move to recycle bin 2019-09-26 22:32:38 +08:00
ioito
c245e147ad add: 支持创建安全组时同时创建规则 2019-09-26 18:04:09 +08:00
Yousong Zhou
417e2d291a guests: list details with nics details 2019-09-26 04:04:12 +00:00
Yousong Zhou
add3616007 guestnetworks: IsExit()减少一次数据库查询 2019-09-26 03:53:35 +00:00
ioito
a40729b71a fix: typo 2019-09-26 11:11:19 +08:00
yunion-ci-robot
49a2c10dec Merge pull request #3026 from Mjoycarry/bugfix/nat_docs
nat_docs fix
2019-09-25 21:29:30 +08:00
yunion-ci-robot
066cbba8b2 Merge pull request #3039 from yousong/bugfix/yousong-lbagents-deploy-actionlog
lbagents: 添加部署和下线操作记录
2019-09-25 21:20:28 +08:00
Qiu Jian
64ac550109 fix: missing region in cookie cause no service catalog fetched 2019-09-25 21:10:50 +08:00
Qiu Jian
2109fd29a6 fix: keystone panic on invalid auth token 2019-09-25 21:01:53 +08:00
Zexi Li
833cf47f11 Merge pull request #3051 from Mjoycarry/bugfix/notify_cron1
Bugfix: notify cron
2019-09-25 18:01:02 +08:00
Rain
5f170e6bd0 fix cron 2019-09-25 17:54:54 +08:00
yunion-ci-robot
ef6d7f097d Merge pull request #3021 from Mjoycarry/feature/notify_grpc
Feature: Notify
2019-09-25 17:42:28 +08:00
yunion-ci-robot
06ad00826a Merge pull request #3043 from wanyaoqi/bugfix/wyq/fix-host-init-cronjob
bugfix: fix host init cronjob
2019-09-25 16:30:32 +08:00
wanyaoqi
2a3704f588 fix host init cronjob 2019-09-25 16:21:01 +08:00
yunion-ci-robot
add49a59b6 Merge pull request #3035 from ioito/hotfix/qx-lb-vpc-detail
add: lb vpc info
2019-09-25 13:29:29 +08:00
Yousong Zhou
cfd89aafa5 lbagents: 添加部署和下线操作记录 2019-09-25 05:24:43 +00:00
ioito
eebf579446 add: lb vpc info 2019-09-25 11:46:20 +08:00
yunion-ci-robot
38d8780eec Merge pull request #3030 from swordqiu/hotfix/qj-disable-cas-login-not-working
fix: disable cas idp not working
2019-09-25 10:03:31 +08:00
yunion-ci-robot
679b104eb4 Merge pull request #3027 from ioito/hotfix/qx-lb-listener-create
fix: 避免监听未设置manager_id
2019-09-24 20:54:32 +08:00
yunion-ci-robot
103b97978d Merge pull request #3004 from wanyaoqi/bugfix/wyq/rbd-disk-with-snapshot
bugfix: fix rbd disk delete rebuild root with snapshot
2019-09-24 20:50:31 +08:00
yunion-ci-robot
cde20293a4 Merge pull request #3023 from wanyaoqi/bugfix/wyq/fix-check-cronjob-times
fix add cronjob and validate times
2019-09-24 20:46:29 +08:00
wanyaoqi
dd7fadb8c4 fix add cronjob validate times 2019-09-24 20:21:30 +08:00
ioito
6dce97a6b6 add: error log trace 2019-09-24 19:57:36 +08:00
Qiu Jian
d80c8fb3e9 fix: disable cas idp not working 2019-09-24 19:50:06 +08:00
ioito
67ab5819f4 fix: 避免监听未设置manager_id 2019-09-24 19:22:47 +08:00
Rain
ef2e19653f nat_docs fix 2019-09-24 17:54:29 +08:00
Rain
dc68d23ff6 support Secondary authority management for contact and notification
rpc=>grpc, go=>workerMan

pull dingtalk auto

grpc
2019-09-24 15:33:53 +08:00
yunion-ci-robot
be416cb75a Merge pull request #3009 from yousong/bugfix/yousong-apb
ansibleserver: 避免数据库故障引起内部状态不一致
2019-09-24 00:50:29 +08:00
yunion-ci-robot
046ad3ee3a Merge pull request #3020 from zexi/hotfix/host-system-services-endpoint
host: use publicURL endpoint for system services
2019-09-24 00:49:27 +08:00
yunion-ci-robot
3609a4fa24 Merge pull request #3010 from yousong/bugfix/yousong-lbagents-deploy-exlucde
lbagents: 禁止在公有云、托管物理机上部署
2019-09-24 00:48:29 +08:00
Zexi Li
efe2e28bb5 host: use publicURL endpoint for system services 2019-09-23 21:02:36 +08:00
wanyaoqi
918a9c43bd fix rbd disk delete rebuild root with snapshot 2019-09-23 20:57:04 +08:00
Yousong Zhou
1f29f83b97 lbagents: 禁止在公有云、托管物理机上部署 2019-09-23 11:41:31 +00:00
Yousong Zhou
53c7823f42 ansibleserver: 避免数据库故障引起内部状态不一致 2019-09-23 11:04:27 +00:00
yunion-ci-robot
ff082e8ab9 Merge pull request #3005 from swordqiu/hotfix/qj-tenant-filter-fail-to-work
fix: tenant filter fail to work
2019-09-21 20:42:28 +08:00
Qiu Jian
0ef16b8d2e fix: tenant filter fail to work 2019-09-21 20:37:28 +08:00
Zexi Li
c3357725f5 build: fix docker alpine image glibc not found 2019-09-21 18:03:44 +08:00
Zexi Li
598714db9e clean github actions 2019-09-19 22:07:43 +08:00
yunion-ci-robot
cc4075c38a Merge pull request #2998 from swordqiu/hotfix/qj-set-process-timeout-to-1minute
fix: adjust default process timeout to 1 minute (previously 15 seconds)
2019-09-19 22:02:29 +08:00
yunion-ci-robot
cca12fe221 Merge pull request #2994 from swordqiu/hotfix/qj-opslog-obj-name-search-error
fix: fail to search opslog by obj_name
2019-09-19 22:00:28 +08:00
Zexi Li
9d82f5015b Update go.yml 2019-09-19 21:59:37 +08:00
yunion-ci-robot
e20842dbcf Merge pull request #2965 from swordqiu/feature/qj-xsky-object-store
feature: support xsky object storage
2019-09-19 21:58:24 +08:00
Zexi Li
18076adaa4 Create docker.yml 2019-09-19 21:53:45 +08:00
Zexi Li
a469e4f86b Create check.yml 2019-09-19 21:45:55 +08:00
yunion-ci-robot
3922702031 Merge pull request #2980 from swordqiu/feature/qj-keystone-token-v3-add-user-displayname
feature: keystone v3 auth response carry user's displayname/email/mobile
2019-09-19 21:39:25 +08:00
Zexi Li
cf58848ed1 actions: build s3gateway and ansibleserver 2019-09-19 21:33:08 +08:00
Zexi Li
3e47bfe31e Merge pull request #3003 from zexi/github-actions
fix actions no name
2019-09-19 21:22:12 +08:00
Zexi Li
12c53506df fix actions no name 2019-09-19 21:19:50 +08:00
yunion-ci-robot
ed9bbd17c8 Merge pull request #2956 from wanyaoqi/bugfix/wyq/20190912
optimize batch create validate
2019-09-19 21:19:28 +08:00
yunion-ci-robot
d955e5d8f3 Merge pull request #2988 from wanyaoqi/feature/wyq/cronjob-support-remove
feature: cronjob support remove job
2019-09-19 21:18:24 +08:00
Zexi Li
650acb3df1 Merge pull request #3002 from zexi/github-actions
Add github actions
2019-09-19 21:17:57 +08:00
Zexi Li
4b58ef3f3a Add github actions 2019-09-19 21:14:41 +08:00
yunion-ci-robot
dd97acd4ae Merge pull request #2984 from yousong/bugfix/yousong-errors
lbbackends: 改进错误信息传递
2019-09-19 21:12:27 +08:00
Qiu Jian
50fefac9ef fix: adjust default process timeout to 1 minute (previously 15 seconds) 2019-09-19 21:05:38 +08:00
Qiu Jian
74e938de60 fix: fail to search opslog by obj_name 2019-09-19 21:00:46 +08:00
Qiu Jian
a69f282a4c fix: status check before accessing external bucket 2019-09-19 20:28:42 +08:00
wanyaoqi
14ac0d8d54 cronjob support remove 2019-09-19 20:02:27 +08:00
Yousong Zhou
02b5a6672a lbbackends: 改进错误信息传递 2019-09-19 10:37:39 +00:00
Qiu Jian
983e0895e3 fix: cloud-account-create-xsky nil pointer error 2019-09-19 09:34:49 +08:00
Qiu Jian
3299bd4697 feature: add climc cloud-account-create-xsky 2019-09-19 09:34:49 +08:00
Qiu Jian
7ae29dd497 update doc and copyright 2019-09-19 09:34:49 +08:00
Qiu Jian
a7ebd7434a update vendor 2019-09-19 09:34:49 +08:00
Qiu Jian
2f516ee506 feature: support xsky object storage 2019-09-19 09:34:49 +08:00
yunion-ci-robot
921db0cfe5 Merge pull request #2975 from yousong/bugfix/yousong-lblis-update
lblistener: 改正监听update
2019-09-19 09:10:24 +08:00
Qiu Jian
de556206ec feature: keystone v3 auth response carry user's displayname/email/mobile 2019-09-19 00:02:31 +08:00
yunion-ci-robot
fd6bf49c5a Merge pull request #2971 from yousong/bugfix/yousong-validators-missing-field
validators: 应对"listener"参数被重复Validate的情况
2019-09-18 23:43:27 +08:00
Yousong Zhou
8a51fd02fe lblistener: 改正监听update
Fixes e4ef23515f ("aws elb support")
2019-09-18 12:18:07 +00:00
yunion-ci-robot
d7c2ffd8c7 Merge pull request #2970 from zexi/feature/host-use-public-endpoint
auth: add session-endpoint-type to common options
2019-09-18 17:20:23 +08:00
Yousong Zhou
200f59c1d2 validators: 应对"listener"参数被重复Validate的情况
Fixes e4ef23515f ("aws elb support")
2019-09-18 07:34:06 +00:00
Zexi Li
3781ccb427 auth: add session-endpoint-type to common options 2019-09-18 11:53:44 +08:00
yunion-ci-robot
bd6ab27c5e Merge pull request #2966 from swordqiu/hotfix/qj-missing-log-audit-for-updating-cloud-account-credential
fix: missing log audit for updating cloudaccount account credential
2019-09-18 11:31:25 +08:00
yunion-ci-robot
f8f8e30563 Merge pull request #2957 from ioito/hotfix/qx-networkinterface-list-filter
fix: 添加弹性网卡过滤参数
2019-09-18 11:30:26 +08:00
yunion-ci-robot
237d46768d Merge pull request #2952 from swordqiu/hotfix/qj-fix-logger-missing-user-cache
fix: Table 'yunionlogger.users_cache_tbl' doesn't exist
2019-09-18 11:28:25 +08:00
yunion-ci-robot
7ab0474ca2 Merge pull request #2961 from zexi/feature/host-use-public-endpoint
host: use public endpoint
2019-09-17 23:38:23 +08:00
Qiu Jian
98ec631f56 fix: missing log audit for updating cloudaccount account credential 2019-09-17 22:51:27 +08:00
Zexi Li
aae6f1e6b9 host: use public endpoint 2019-09-17 18:25:56 +08:00
ioito
1aa6708295 fix: 添加弹性网卡过滤参数 2019-09-17 14:50:47 +08:00
wanyaoqi
c648b823b0 misc fix
- optimize batch create validate
2019-09-17 14:42:39 +08:00
Qiu Jian
3c41779b74 fix: Table 'yunionlogger.users_cache_tbl' doesn't exist 2019-09-17 13:10:11 +08:00
yunion-ci-robot
2f154f4b21 Merge pull request #2948 from ioito/hotfix/qx-go-ceph-mod
fix: 避免make mod时异常
2019-09-17 13:07:24 +08:00
屈轩
f11ed53c5c Merge branch 'master' into hotfix/qx-go-ceph-mod 2019-09-17 12:30:08 +08:00
ioito
adba926545 fix: 避免make mod时异常 2019-09-17 12:28:40 +08:00
yunion-ci-robot
b68fb9e1d6 Merge pull request #2944 from ioito/hotfix/qx-zstck-stop-instance
fix: 避免zstack高可用关机失效问题
2019-09-17 11:55:24 +08:00
ioito
df0ba4df47 fix: 避免zstack高可用关机失效问题 2019-09-17 11:30:06 +08:00
yunion-ci-robot
35012845ed Merge pull request #2940 from swordqiu/hotfix/qj-fail-to-delete-disconnected-cloudaccount
fix: fail to delete disconnected cloudaccount
2019-09-17 08:48:25 +08:00
yunion-ci-robot
9757bec441 Merge pull request #2936 from swordqiu/hotfix/qj-mis-bugfix-gome-20190916
Hotfix/qj mis bugfix gome 20190916
2019-09-17 08:47:25 +08:00
Qiu Jian
886093ffe5 fix: fail to delete disconnected cloudaccount 2019-09-17 01:42:43 +08:00
yunion-ci-robot
01409c35c9 Merge pull request #2912 from wanyaoqi/feature/wyq/fix-init-listen-interface
bugfix: fix init listen interface
2019-09-17 00:14:24 +08:00
yunion-ci-robot
15b50907c9 Merge pull request #2932 from yousong/bugfix/yousong-apb
lbagent: deploy: 增加健壮性
2019-09-17 00:12:23 +08:00
Qiu Jian
bdcfabb722 fix: baremetal prepare updates nic_info incrementally 2019-09-16 23:57:31 +08:00
Qiu Jian
bb426fdddf fix: 1. hpssactl blocks on user input 2. host-add-netif reset nic index
3. init baremetal nics with name enX instead of ethX
2019-09-16 22:18:03 +08:00
Yousong Zhou
3e45f93cee ansibleserver: ansibleplaybooks: a way out on status chaos
an apb was in state

 - apb.output has content
 - apb.status == running
 - apb.start_time && apb.end_time both set
 - not present in man.sessions

an impossible state
2019-09-16 14:05:14 +00:00
Yousong Zhou
54937ea7ce lbagents: deploy: check existence of pbId before create/update 2019-09-16 13:33:03 +00:00
Zexi Li
5ce5e36298 Merge pull request #2928 from zexi/hotfix/schedule-storage-backend
scheduler: fix baremetal disk and storage not match
2019-09-16 20:29:51 +08:00
Zexi Li
3600fa351d scheduler: fix baremetal disk and storage not match 2019-09-16 20:19:29 +08:00
yunion-ci-robot
e1a8064b02 Merge pull request #2921 from ioito/hotfix/qx-rbd-snapshot-delete
fix: 避免删除不存在的快照出错
2019-09-16 18:57:24 +08:00
ioito
6f4af695bd fix: 避免删除不存在的快照出错 2019-09-16 17:11:10 +08:00
yunion-ci-robot
fbc2d56b40 Merge pull request #2920 from ioito/hotfix/qx-storagecache-docs
hotfix: add storagecache api docs
2019-09-16 16:19:22 +08:00
屈轩
cc5f94fa4b Merge branch 'master' into hotfix/qx-storagecache-docs 2019-09-16 14:53:07 +08:00
ioito
0056edb81d hotfix: add storagecache api docs 2019-09-16 14:50:29 +08:00
Zexi Li
858736cfdc Merge pull request #2913 from zexi/hotfix/schedule-storage-backend
scheduler: fix disk local backend not select matched storage
2019-09-16 14:44:05 +08:00
wanyaoqi
cc9a458be9 fix init listen interface 2019-09-16 12:09:24 +08:00
Zexi Li
9014c65e81 scheduler: fix disk local backend not select matched storage 2019-09-16 11:48:24 +08:00
yunion-ci-robot
ec3b8cf66a Merge pull request #2904 from wanyaoqi/bugfix/wyq/set-concurrent-deploy-count
bugfix: set concurrent deploy count
2019-09-12 19:11:22 +08:00
yunion-ci-robot
b6b04caf63 Merge pull request #2908 from ioito/hotfix/qx-rbd-cacheimage
fix: 避免cache raw格式的镜像
2019-09-12 19:09:20 +08:00
ioito
aa4fbcf722 fix: 避免cache raw格式的镜像 2019-09-12 19:07:15 +08:00
wanyaoqi
afe445381f set concurrent deploy count 2019-09-12 18:59:42 +08:00
yunion-ci-robot
1d98a81c76 Merge pull request #2900 from ioito/hotfix/qx-go-ceph-update
fix: update vendor
2019-09-12 18:21:20 +08:00
ioito
7064271ae7 fix: update vendor 2019-09-12 18:15:50 +08:00
yunion-ci-robot
dc358e3adc Merge pull request #2896 from ioito/hotfix/qx-image-cache
fix: avoid nil pointer
2019-09-12 17:18:23 +08:00
yunion-ci-robot
72b0394aed Merge pull request #2892 from ioito/hotfix/qx-update-ceph-go-vendor
fix: update go-ceph vendor
2019-09-12 17:10:20 +08:00
ioito
72b5ea1eb4 fix: update go-ceph vendor 2019-09-12 16:55:58 +08:00
ioito
a0a83615b4 fix: avoid nil pointer 2019-09-12 16:47:17 +08:00
yunion-ci-robot
07551f560c Merge pull request #2881 from swordqiu/hotfix/qj-gome-misc-bugfix-20190912
fix: 1. specifically baremetal use access ip to manage and listen ip …
2019-09-12 14:35:22 +08:00
yunion-ci-robot
182eac5305 Merge pull request #2885 from ioito/hotfix/qx-go-ceph-replace
fix: go-ceph bugifx
2019-09-12 14:29:20 +08:00
ioito
79766e7c7e fix: go-ceph bugifx 2019-09-12 14:17:14 +08:00
Qiu Jian
bcf02a3389 fix: 1. specifically baremetal use access ip to manage and listen ip to serve baremetal
2. hot net interface might be attached to multiple wire
2. hack fix: baremetal cannot access glance on management network
2019-09-12 13:05:39 +08:00
yunion-ci-robot
507d8f91ab Merge pull request #2877 from wanyaoqi/bugfix/wyq/glance-save-from-url
bugfix glance save form url save md5
2019-09-12 12:02:22 +08:00
wanyaoqi
4f29f17f8a fix glance save form url save md5 2019-09-12 11:07:18 +08:00
yunion-ci-robot
fd83c5e656 Merge pull request #2790 from ioito/hotfix/qx-dbinstance-sku-policy
hotfix: avolid auth for yunionmeta dbinstance_skus
2019-09-11 21:48:21 +08:00
yunion-ci-robot
edd3b7fb30 Merge pull request #2846 from tb365/bugfix/tb-bugfix-0909
qrcode issuer coding fix
2019-09-11 21:45:20 +08:00
Yousong Zhou
cac1deb04b Merge pull request #2865 from ioito/hotfix/qx-image-upload-api
add: image-upload api docs
2019-09-11 21:35:36 +08:00
yunion-ci-robot
dd5b44a791 Merge pull request #2869 from ioito/bugfix/qx-update-azure-guest-description
fix: 避免置空description失效
2019-09-11 21:34:20 +08:00
yunion-ci-robot
0cd62db10c Merge pull request #2866 from swordqiu/hotfix/qj-system-account-fail-to-login
fix: system account user fail to login apigateway
2019-09-11 21:32:20 +08:00
yunion-ci-robot
94ed02589f Merge pull request #2873 from swordqiu/hotfix/qj-reserved-ip-fail-update-notes
fix: fail to update reserved ip notes
2019-09-11 21:31:23 +08:00
Qiu Jian
252e6e3bb0 fix: fail to update reserved ip notes 2019-09-11 19:27:57 +08:00
ioito
502bd834ff fix: 避免置空description失效 2019-09-11 16:16:13 +08:00
ioito
6ad60a4b26 add: image-upload api docs 2019-09-11 14:01:36 +08:00
Qiu Jian
c0cad54531 fix: system account user fail to login apigateway 2019-09-11 13:36:36 +08:00
yunion-ci-robot
6be3c5c617 Merge pull request #2853 from yousong/bugfix/yousong-apb-limit-size
ansibleserver: 限定Playbook字段长度
2019-09-10 22:48:24 +08:00
yunion-ci-robot
b4d81f70c7 Merge pull request #2861 from wanyaoqi/bugfix/wyq/misc-20190909
misc bugfix
2019-09-10 22:44:19 +08:00
wanyaoqi
2d0dfc95ff misc bugfix 2019-09-10 22:28:21 +08:00
yunion-ci-robot
2216e34778 Merge pull request #2855 from ioito/hotfix/qx-webconsole-auth-fix
fix: 避免密码登录时使用秘钥认证
2019-09-10 17:44:20 +08:00
yunion-ci-robot
43277a70f8 Merge pull request #2849 from ioito/hotfix/qx-guest-change-owner
fix: 虚拟机更改项目时,eip同时变更
2019-09-10 17:28:22 +08:00
ioito
3f2aa9c55d fix: 避免密码登录时使用秘钥认证 2019-09-10 17:21:07 +08:00
Yousong Zhou
d5c1ba04a3 ansibleserver: 限定Playbook字段长度
避免进入数据库时被截断产生无效数据
2019-09-10 09:13:27 +00:00
ioito
be6b75151d fix: 虚拟机更改项目时,eip同时变更 2019-09-10 16:46:10 +08:00
TangBin
2192a1b8e7 qrcode issuer coding fix 2019-09-10 16:35:51 +08:00
yunion-ci-robot
f41a0e8e2f Merge pull request #2842 from tb365/bugfix/tb-bugfix-0909
Bugfix/tb bugfix 0909
2019-09-10 15:39:19 +08:00
yunion-ci-robot
f40c6e352a Merge pull request #2838 from swordqiu/hotfix/qj-esxi-orphan-vm-delete
fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742
2019-09-10 15:25:20 +08:00
TangBin
a278010fd7 totp auth code support multi-domain 2019-09-10 15:22:43 +08:00
yunion-ci-robot
97bc3e23a6 Merge pull request #2834 from swordqiu/hotfix/qj-cas-login-bugfixes-20190909
fix: 1. CAS user fail to create totp credential 2. do not try password auth for CAS users
2019-09-10 15:21:20 +08:00
yunion-ci-robot
6b832602f4 Merge pull request #2800 from wanyaoqi/bugfix/wyq/window-deploy-with-disks
bugfix: misc deploy fix
2019-09-10 15:15:18 +08:00
TangBin
14439b3f68 fix ucloud snapshot delete 2019-09-10 15:07:25 +08:00
wanyaoqi
9293283dff guest misc fix 2019-09-10 10:58:00 +08:00
Qiu Jian
bcaf316c60 fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742 2019-09-10 02:43:53 +08:00
yunion-ci-robot
09c4ed6022 Merge pull request #2823 from ioito/hotfix/qx-add-secgroup
fix: 修复安全组关联数量校验不正确问题
2019-09-09 23:48:20 +08:00
yunion-ci-robot
3fbbe5887c Merge pull request #2819 from ioito/bugfix/qx-vmware-data-disk-sort
fix: 避免数据盘顺序也被颠倒
2019-09-09 23:30:21 +08:00
Qiu Jian
6d93e362de fix: 1. CAS user fail to create totp credential 2. do not try password
auth for CAS users
2019-09-09 23:26:40 +08:00
Yousong Zhou
a9524d4c88 Merge pull request #2827 from yousong/bugfix/yousong-circleci-fix-requires
.circleci: fix requires
2019-09-09 18:41:19 +08:00
Yousong Zhou
2a5ff88dee build: rename cleandocgo to adddocgo 2019-09-09 10:02:51 +00:00
Yousong Zhou
c73e8eb739 .circleci: fix requires 2019-09-09 10:01:08 +00:00
Yousong Zhou
d4072942b7 Merge pull request #2809 from yousong/feature/yousong-circleci-check
.circleci: 构建前check
2019-09-09 17:52:45 +08:00
ioito
2112bf7d79 fix: 修复安全组关联数量校验不正确问题 2019-09-09 16:48:59 +08:00
ioito
bcdc26ae1a fix: 避免数据盘顺序也被颠倒 2019-09-09 16:44:50 +08:00
yunion-ci-robot
c1d9124389 Merge pull request #2808 from swordqiu/hotfix/qj-yunionapi-nil-pointer-panic-after-failed-login
fix: yunionapi nil pointer panic after failed login
2019-09-09 16:31:20 +08:00
yunion-ci-robot
9ce20cd694 Merge pull request #2813 from swordqiu/hotfix/qj-esxi-vm-fail-find-virtualconsole-ip
fix: fail to find host ip in virtual console vnic
2019-09-09 16:27:20 +08:00
Qiu Jian
94c160b9db fix: fail to find host ip in virtual console vnic 2019-09-09 15:50:11 +08:00
Yousong Zhou
14b07c83b2 .circleci: 构建前check 2019-09-09 07:41:18 +00:00
Yousong Zhou
f6cda7fbc1 treewide: fix "make check" 2019-09-09 07:39:27 +00:00
Qiu Jian
783dfbc245 fix: yunionapi nil pointer panic after failed login 2019-09-09 15:38:26 +08:00
Yousong Zhou
5a3063c2de build: 将check与构建部分解耦 2019-09-09 07:23:30 +00:00
yunion-ci-robot
b153175c65 Merge pull request #2804 from ioito/hotfix/qx-qcloud-eip-delete
fix: 避免解绑EIP后释放EIP任务失败
2019-09-09 11:56:20 +08:00
ioito
1a0f7f83ef fix: 避免解绑EIP后释放EIP任务失败 2019-09-09 11:19:25 +08:00
wanyaoqi
6fd7908ecd misc deploy fix 2019-09-09 10:49:17 +08:00
yunion-ci-robot
5f930c72c2 Merge pull request #2794 from tb365/feature/tb-mcclient-modules-update
mcclient module base
2019-09-07 23:19:18 +08:00
tb365
3b98f7c969 Merge branch 'master' into feature/tb-mcclient-modules-update 2019-09-07 23:04:23 +08:00
yunion-ci-robot
215cbaeffa Merge pull request #2801 from swordqiu/hotfix/qj-apigateway-logout-handle
fix: api gateway logout handler error and fix go fmt issues
2019-09-07 23:02:17 +08:00
TangBin
59461ce097 reformat import 2019-09-07 22:56:47 +08:00
TangBin
d2fa217cab mcclient module base 2019-09-07 22:56:47 +08:00
Qiu Jian
d82b457ea5 fix: remove casfe.go 2019-09-07 22:43:00 +08:00
Qiu Jian
3ccadd21d1 fix: api gateway logout handler error and fix go fmt issues 2019-09-07 22:01:41 +08:00
yunion-ci-robot
1840212a6b Merge pull request #2770 from swordqiu/feature/qj-cas-sso-support
feature: keystone support CAS SSO authentication
2019-09-07 19:23:18 +08:00
yunion-ci-robot
c7745cfcfd Merge pull request #2787 from wanyaoqi/bugfix/wyq/fix-guestman-map
bugfix:  guest manager servers use sync.Map
2019-09-07 19:15:18 +08:00
yunion-ci-robot
4ce5b3c2eb Merge pull request #2741 from wanyaoqi/bugfix/wyq/io-throttle-add-log-event
bugfix: io throttle add log event
2019-09-07 19:08:18 +08:00
yunion-ci-robot
5f0b26d0f5 Merge pull request #2783 from ioito/hotfix/qx-esxi-rebuild-root
fix: 避免重装系统后同步信息导致磁盘类型都为系统盘
2019-09-07 19:05:17 +08:00
yunion-ci-robot
0c04befeb6 Merge pull request #2795 from Mjoycarry/bugfix/nat
Bugfix and feature add: nat
2019-09-07 19:01:17 +08:00
Rain
3211230a86 add interface fetch resources of snats and dnats
snat network show

check sourcecidr is available when creating snat

add natgateway, snattable, dnattable to compute system resources
2019-09-07 18:48:35 +08:00
Qiu Jian
3591afee2e feature: keystone support CAS SSO authentication 2019-09-07 18:44:35 +08:00
yunion-ci-robot
28064c9513 Merge pull request #2775 from swordqiu/hotfix/qj-esxi-bugfix-20190906
fix: 1. nil pointer panic error when accessing resource pool and
2019-09-07 17:38:18 +08:00
Qiu Jian
60e89bd3fb fix: 1. nil pointer panic error when accessing resource pool and
storagecache 2. support multiple disk format
2019-09-07 17:19:24 +08:00
ioito
2dd60a7362 hotfix: avolid auth for yunionmeta dbinstance_skus 2019-09-07 16:01:20 +08:00
wanyaoqi
25901cc315 fix guest manager server struct 2019-09-07 15:10:25 +08:00
ioito
c46f274ff6 fix: 避免重装系统后同步信息导致磁盘类型都为系统盘 2019-09-07 13:37:00 +08:00
yunion-ci-robot
d29b4fbaa1 Merge pull request #2780 from Mjoycarry/bugfix/snapshotpolicies
Bugfix: snapshotpolicy
2019-09-07 13:34:19 +08:00
yunion-ci-robot
fb468f190d Merge pull request #2772 from swordqiu/hotfix/qj-bucket-set-acl-batch-set
fix: allow set object acl in batch
2019-09-07 13:01:16 +08:00
Rain
92a86d2a1d snapshotpolicy and disk should have same domain and project in snapshotpolicydisks
snapshotpolicydisk disk details

registerModelManager is reqired but AddHander for snapshotpolicy cache IModelManager
2019-09-07 11:49:56 +08:00
Qiu Jian
ba84cd9071 fix: allow set object acl in batch 2019-09-06 23:28:03 +08:00
yunion-ci-robot
f556f92820 Merge pull request #2747 from ioito/hotfix/qx-networkinterface-policy
fix: networkinterfaces belong system resource
2019-09-06 14:40:19 +08:00
yunion-ci-robot
989548ac2e Merge pull request #2762 from yousong/bugfix/yousong-lbagent-deploy-check-cred
lbagents: deploy: 检查服务账号有效性
2019-09-06 11:58:20 +08:00
yunion-ci-robot
f678bbc84d Merge pull request #2758 from wanyaoqi/bugfix/wyq/misc-fix-0903
bugfix: fix vnc connect, filter qmp event, save image status
2019-09-06 11:57:19 +08:00
yunion-ci-robot
ac1ad15a87 Merge pull request #2766 from ioito/hotfix/qx-utils-jsonrequest-fix
fix: 不能无限制追加 application/json
2019-09-06 11:53:16 +08:00
ioito
b040bb93bf fix: 不能无限制追加 application/json 2019-09-06 11:45:03 +08:00
yunion-ci-robot
4a3f317d52 Merge pull request #2733 from swordqiu/hotfix/qj-logger-optimization
fix: optimize logger query time
2019-09-05 22:01:21 +08:00
Yousong Zhou
e538cb2a26 lbagents: deploy: 检查服务账号有效性 2019-09-05 13:57:40 +00:00
wanyaoqi
d9b9586539 fix vnc connect, filter qmp event 2019-09-05 20:59:14 +08:00
wanyaoqi
41317e1a5e io throttle add log event 2019-09-05 20:30:40 +08:00
yunion-ci-robot
c819a08fd1 Merge pull request #2750 from yousong/bugfix/yousong-lbagent-reuse-session
lbagent: 重用会话token
2019-09-05 19:58:19 +08:00
yunion-ci-robot
b1fec58906 Merge pull request #2744 from Mjoycarry/bugfix/snapshotpolicies
bugfix: snapshot policy
2019-09-05 15:57:18 +08:00
Yousong Zhou
173a316f3e lbagent: fix possible out of bound index access 2019-09-05 07:20:12 +00:00
Yousong Zhou
c88a391caa lbagent: reuse mcclient client session 2019-09-05 07:20:12 +00:00
ioito
bcd9622219 fix: networkinterfaces belong system resource 2019-09-05 14:47:23 +08:00
Rain
cba8d34567 qcloud sunday
disk diskplay
2019-09-05 11:09:02 +08:00
yunion-ci-robot
225ee29730 Merge pull request #2727 from wanyaoqi/bugfix/wyq/snapshot-policy-filter
bugfix : fix snapshot policy filter
2019-09-04 14:35:17 +08:00
wanyaoqi
225a2b4dbb fix snapshot policy filter 2019-09-04 11:52:16 +08:00
yunion-ci-robot
2d542ec5fd Merge pull request #2736 from swordqiu/hotfix/qj-check-account-id-consistency-for-non-empty-account-id
fix: for backward compatility, only check account id consistency for non-empty account id
2019-09-04 10:03:16 +08:00
Qiu Jian
d745c01313 fix: optimize logger query time 2019-09-04 00:47:25 +08:00
Qiu Jian
fc6e693dcf fix: for backward compatility, only check account id consistency for non-empty account id 2019-09-03 21:17:33 +08:00
yunion-ci-robot
ea5b3a2d40 Merge pull request #2730 from swordqiu/hotfix/qj-s3cli-enable-debug-trace
fix: s3cli enable debug trace
2019-09-03 17:36:14 +08:00
Qiu Jian
a0ec3b34dc fix: s3cli enable debug trace 2019-09-03 17:07:21 +08:00
Zexi Li
0cd9ef05df Merge pull request #2723 from zexi/fix/create-params-cdrom
region: fix create params cdrom missing
2019-09-03 10:47:27 +08:00
yunion-ci-robot
867ab0e747 Merge pull request #2714 from wanyaoqi/bugfix/wyq/fix-auto-snapshot
bugfix : fix auto snapshot check quota, name, owner
2019-09-03 10:44:16 +08:00
Zexi
389b6bba68 region: fix create params cdrom missing 2019-09-03 10:35:29 +08:00
yunion-ci-robot
f2bb7014e3 Merge pull request #2711 from Mjoycarry/bugfix/snapshotpolicies
bugfix: snapshotpolicy
2019-09-03 10:33:16 +08:00
yunion-ci-robot
c386f0c5b9 Merge pull request #2720 from Mjoycarry/bugfix/nat
Bugfix: nat
2019-09-03 10:28:14 +08:00
Rain
6f7457c29b add OnBindIPCompleteFailed and fix aliyun Refresh for snat and dnat 2019-09-03 02:44:15 +08:00
yunion-ci-robot
66bc27a1bd Merge pull request #2717 from swordqiu/hotfix/qj-bucket-access-url-nil-pointer-panic
fix: bucket list access accessUrl nil pointer panic
2019-09-02 21:42:17 +08:00
yunion-ci-robot
5b399c416c Merge pull request #2703 from swordqiu/hotfix/qj-guest-get-host-nil-pointer-panic
fix: guest get host nil pointer panic
2019-09-02 21:39:14 +08:00
Qiu Jian
4db01a2655 fix: bucket list access accessUrl nil pointer panic 2019-09-02 21:33:57 +08:00
wanyaoqi
184ac095f6 fix auto snapshot check quota, name, owner 2019-09-02 21:01:32 +08:00
yunion-ci-robot
365a765932 Merge pull request #2707 from zexi/bugfix/scheduler-reserverd-resource
scheduler: fix reserved resource out of limit bug
2019-09-02 18:53:16 +08:00
Rain
19a3f87633 hanler snapshotpolicy cache 2019-09-02 18:53:11 +08:00
Qiu Jian
4a5ab0cc19 fix: guest get host nil pointer panic 2019-09-02 18:17:55 +08:00
Zexi
8f34593113 scheduler: fix reserved resource out of limit bug 2019-09-02 18:04:18 +08:00
yunion-ci-robot
ce63ff455f Merge pull request #2699 from ioito/hotfix/qx-baremetal-server-delete
fix: 忽略裸金属器删除条件
2019-09-02 17:24:18 +08:00
ioito
9efaaf0620 fix: 忽略裸金属器删除条件 2019-09-02 16:30:09 +08:00
yunion-ci-robot
11e009a074 Merge pull request #2672 from Mjoycarry/feature/snapshotpolicy_of_disk_sync
local snapshotpolicy
2019-09-02 16:12:15 +08:00
yunion-ci-robot
5799eea95c Merge pull request #2689 from ioito/hotifx/qx-guest-delete-fix
fix: 避免裸金属服务器转宿主机任务失败
2019-09-02 15:57:15 +08:00
yunion-ci-robot
8d34a9aad5 Merge pull request #2690 from swordqiu/hotfix/qj-bucket-mkdir-no-quota-check
fix: no quota check when making directory
2019-09-02 15:56:15 +08:00
yunion-ci-robot
68ce4a5a7c Merge pull request #2680 from swordqiu/hotfix/qj-auzre-create-bucket-fail
fix: azure create bucket failure due to empty storageClass
2019-09-02 15:53:15 +08:00
yunion-ci-robot
eecfe44423 Merge pull request #2698 from zexi/fix-readme-docs-link
README: fix docs not found link
2019-09-02 15:52:15 +08:00
Zexi
c1c4f8fdea README: fix docs not found link 2019-09-02 15:39:34 +08:00
Mjoycarry
552b01dcd9 Merge branch 'master' into feature/snapshotpolicy_of_disk_sync 2019-09-02 15:38:50 +08:00
Rain
99687f759e local snapshotpolicy 2019-09-02 15:35:24 +08:00
yunion-ci-robot
26ef285ada Merge pull request #2683 from wanyaoqi/bugfix/wyq/fix-glance-update-mindisk
bugfix: fix glance update mindisk
2019-09-02 15:30:16 +08:00
yunion-ci-robot
57ab8f344e Merge pull request #2676 from zexi/feature/baremetal-pxe-tasks
baremetal: auto prepare when pxe boot
2019-09-02 15:29:14 +08:00
Qiu Jian
604dd6b304 fix: no quota check when making directory 2019-09-02 15:23:41 +08:00
ioito
ef1d303972 fix: 避免裸金属服务器转宿主机任务失败 2019-09-02 15:05:28 +08:00
yunion-ci-robot
f2129b76dc Merge pull request #2669 from swordqiu/feature/qj-ceph-cloud-provider
feature: 1. add ceph cloud provider based on generic s3 provider 2.climc support AK/SK authentication
2019-09-02 13:59:15 +08:00
wanyaoqi
9932ee64cc fix glance update mindisk 2019-09-02 13:51:44 +08:00
yunion-ci-robot
7cfb706fdd Merge pull request #2665 from swordqiu/hotfix/qj-identity-image-version-show
fix: 1. glance/keystone version handler fix 2. allow run glance as normal user
2019-09-02 13:47:15 +08:00
yunion-ci-robot
c6b973ad27 Merge pull request #2662 from swordqiu/hotfix/qj-qcloud-fail-set-object-acl
fix: qcloud fail to set object acl
2019-09-02 13:46:15 +08:00
yunion-ci-robot
0b84bd272b Merge pull request #2659 from swordqiu/hotfix/qj-huawei-fail-to-import-image
fix: huawei fail to import image
2019-09-02 13:45:18 +08:00
Qiu Jian
48ce752603 fix: azure create bucket failure due to empty storageClass 2019-09-02 13:44:22 +08:00
yunion-ci-robot
677054871c Merge pull request #2656 from swordqiu/hotfix/qj-column-search-in-arrray-support
fix: allow column search in array
2019-09-02 13:43:13 +08:00
yunion-ci-robot
321a9321ee Merge pull request #2673 from swordqiu/hotfix/qj-add-policies-in-auth-response
fix: provides policies info in auth token response
2019-09-02 10:20:13 +08:00
Qiu Jian
5ef680ff46 fix: provides policies info in auth token response 2019-09-02 09:14:38 +08:00
Qiu Jian
2f90f35060 feature: 1. add ceph cloud provider based on generic s3 provider 2.
climc support AK/SK authentication
2019-09-01 14:47:56 +08:00
Qiu Jian
d29754feea fix: 1. glance/keystone version handler fix 2. allow run glance as normal user 2019-08-31 11:10:03 +08:00
Qiu Jian
2e95b29ec9 fix: qcloud fail to set object acl 2019-08-30 23:21:04 +08:00
Qiu Jian
22062150d5 fix: huawei fail to import image 2019-08-30 23:08:18 +08:00
Qiu Jian
707c0b8313 fix: allow column search in array 2019-08-30 22:21:02 +08:00
yunion-ci-robot
d884992399 Merge pull request #2652 from zhasm/feature/rex-makefile-git-br-naming
修改 Makefile 获取当前分支的方式,以便让各个服务显示正确的版本分支
2019-08-30 18:24:15 +08:00
yunion-ci-robot
3a124c1c7b Merge pull request #2629 from liuxueguo6921/master
Fix the incorrect import path of options pkg
2019-08-30 17:21:13 +08:00
张东亮
f1ccb7e3a9 修改 Makefile 获取当前分支的方式 2019-08-30 17:16:19 +08:00
yunion-ci-robot
a671672168 Merge pull request #2607 from Mjoycarry/bugfix/nat_output
Bugfix: natgateway snat dnat
2019-08-30 16:07:13 +08:00
yunion-ci-robot
f9735a84ad Merge pull request #2601 from ioito/hotfix/qx-storage-usable
fix: 避免创建磁盘时显示provider disable底下的存储
2019-08-30 16:05:14 +08:00
Rain
f88b682ce3 natgateway bugfix
only one of that snat source cidr and networkid is needed

eip auto bind natgateway when not in aliyun
2019-08-30 15:09:39 +08:00
liuxueguo6921
85b9db83b8 fix: incorrect import path of options pkg 2019-08-30 12:55:37 +08:00
yunion-ci-robot
77776211de Merge pull request #2608 from swordqiu/feature/qj-s3gateway3
feature: 1. ak/sk auth support 2. a full feature s3gateway works with Cyberduck
2019-08-30 07:35:12 +08:00
Qiu Jian
77c4a53059 feature: 1. ak/sk auth support 2. a full feature s3gateway works with
Cyberduck

注意:以下两个文件的修改还未被官方合并,所以下次make
mod的时候会被覆盖,需要注意checkout恢复:

vendor/github.com/Azure/azure-sdk-for-go/storage/blockblob.go
vendor/github.com/tencentyun/cos-go-sdk-v5/object_part.go
2019-08-30 00:12:39 +08:00
yunion-ci-robot
ab1f048429 Merge pull request #2626 from swordqiu/hotfix/qj-compatible-with-minio-s3
fix: compatible with minio s3
2019-08-29 23:51:12 +08:00
yunion-ci-robot
9e252ee64d Merge pull request #2635 from wanyaoqi/bugfix/wyq/fix-vnc-connect
bugfix: vnc connect
2019-08-29 22:45:17 +08:00
wanyaoqi
b63c7085ad bugfix:
- fix guest vnc connect failed on host unsupport ipv6
- fix cirros qemu args conflict with windows
2019-08-29 21:20:23 +08:00
yunion-ci-robot
411942ffc0 Merge pull request #2630 from ioito/hotfix/qx-change-config-pending-usage
fix: avoid not release pending-usage
2019-08-29 20:44:12 +08:00
ioito
5efafa99c0 fix: avoid not release pending-usage 2019-08-29 20:10:03 +08:00
yunion-ci-robot
ecb0524ada Merge pull request #2619 from zhasm/feature/rex-rpms-for-s3gateway-and-s3cli
新增 s3gateway s3cli的 rpm 描述文件
2019-08-29 18:59:14 +08:00
Qiu Jian
e82e429359 fix: compatible with minio s3 2019-08-29 18:48:55 +08:00
rex zhasm
48c1ccae68 Merge branch 'master' into feature/rex-rpms-for-s3gateway-and-s3cli 2019-08-29 17:32:54 +08:00
yunion-ci-robot
4ee4e9d726 Merge pull request #2615 from ioito/hotfix/qx-rbd-rebuild-root
fix: avoid rbd image exist when rebuild-root
2019-08-29 17:31:11 +08:00
Zhang Dongliang
e53ce74329 update wording 2019-08-29 16:59:57 +08:00
Zhang Dongliang
ba80ff9674 新增 s3gateway s3cli的 rpm 描述文件 2019-08-29 16:59:57 +08:00
yunion-ci-robot
df15a4118d Merge pull request #2620 from ioito/hotfix/qx-aliyun-ug
hotfix: add aliyun request user-agent
2019-08-29 16:44:12 +08:00
ioito
7eb0fdf080 hotfix: add aliyun request user-agent 2019-08-29 16:12:08 +08:00
ioito
adddf75f60 fix: avoid rbd image exist when rebuild-root 2019-08-29 11:38:13 +08:00
yunion-ci-robot
ff53527ac2 Merge pull request #2569 from ioito/hotfix/qx-sync-remove-host
fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown
2019-08-29 11:24:14 +08:00
yunion-ci-robot
2ffc2b8a40 Merge pull request #2609 from swordqiu/hotfix/qj-bucket-bugfix-mis-fix-20190828
fix: 1. missing action log for bucket objects ops 2. huawei cloud sync duplicate buckets
2019-08-29 10:54:12 +08:00
Qiu Jian
17aaf4be8d fix: 1. missing action log for bucket objects ops 2. huawei cloud sync
duplicate buckets
2019-08-29 02:31:50 +08:00
yunion-ci-robot
7b7b5271f0 Merge pull request #2603 from yousong/bugfix/yousong-apb-apiv2
mcclient: ansibleplaybooks: 注册为v2接口
2019-08-28 22:33:16 +08:00
yunion-ci-robot
a47f3262e6 Merge pull request #2588 from yousong/feature/yousong-lbagent-details-with-zoneinfo
lbagents: 详情增加zone信息
2019-08-28 22:32:17 +08:00
yunion-ci-robot
33261e7306 Merge pull request #2599 from zexi/feature/schedtag-scope
schedtag: create support scope
2019-08-28 22:28:11 +08:00
Zexi
a1a914d8b2 baremetal: auto prepare when pxe boot 2019-08-28 21:22:14 +08:00
Yousong Zhou
2fcabcb7c2 mcclient: ansibleplaybooks: 注册为v2接口 2019-08-28 12:38:23 +00:00
yunion-ci-robot
133e12cd6d Merge pull request #2546 from ioito/hotfix/qx-guest-delete-fix
fix: 避免host disable时detach磁盘
2019-08-28 15:57:14 +08:00
ioito
dd67f68485 fix: 避免创建磁盘时显示provider disable底下的存储 2019-08-27 17:26:22 +08:00
Zexi
69b37b620b schedtag: create support scope 2019-08-27 15:16:53 +08:00
yunion-ci-robot
49c1ce6cba Merge pull request #2512 from ioito/hotfix/qx-external-project-change-project
fix: add external perform change-project
2019-08-27 11:17:10 +08:00
Yousong Zhou
003f1a5d33 lbagents: 详情增加zone信息 2019-08-27 03:01:20 +00:00
yunion-ci-robot
10559c2efa Merge pull request #2577 from swordqiu/hotfix/qj-fix-quota-list-delete-projects
fix: quota-list fail if deleted projects found
2019-08-27 10:08:13 +08:00
yunion-ci-robot
2cd618f5b4 Merge pull request #2562 from zexi/feature/update-drone-ci-build-img
Feature/update drone ci build docker image
2019-08-26 22:58:13 +08:00
yunion-ci-robot
1d0311e3b8 Merge pull request #2558 from ioito/hotfix/qx-guest-secgroup-sync
fix: sync and set secgroup public scope
2019-08-26 22:57:16 +08:00
yunion-ci-robot
061d8a47d9 Merge pull request #2573 from yousong/bugfix/yousong-scoped-lbcluster
policy: 将lb集群相关资源归入系统资源类
2019-08-26 22:53:11 +08:00
yunion-ci-robot
b9d3fa2f91 Merge pull request #2581 from wanyaoqi/bugfix/wyq/rbd-disk-delete
bugfix: fix rbd disk delete with snapshot
2019-08-26 22:43:12 +08:00
yunion-ci-robot
9c0bdbab68 Merge pull request #2568 from wanyaoqi/bugfix/wyq/check-hoststatus-on-maintenance
fix host maintainence
2019-08-26 22:40:10 +08:00
wanyaoqi
0c8ab5885a fix host maintenance 2019-08-26 22:02:49 +08:00
wanyaoqi
c94bcbdd0b fix rbd disk delete with snapshot 2019-08-26 21:43:10 +08:00
Qiu Jian
264be68045 fix: quota-list fail if deleted projects found 2019-08-26 18:12:53 +08:00
yunion-ci-robot
17d3a38c73 Merge pull request #2415 from zexi/hotfix/update-aliyun-vnc-url
webconsole: update aliyun vnc base url
2019-08-26 16:30:15 +08:00
Zexi
20ce44d9b0 webconsole: update aliyun vnc base url and uniq vnc session 2019-08-26 15:39:36 +08:00
Yousong Zhou
8d0e12027a policy: 将lb集群相关资源归入系统资源类 2019-08-26 07:38:41 +00:00
yunion-ci-robot
400ac91ad7 Merge pull request #2564 from tb365/bugfix/tb-bugfix-0826
aws disk resize bugfix
2019-08-26 15:25:10 +08:00
ioito
c5a346c810 fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown 2019-08-26 15:17:03 +08:00
TangBin
9504f18b59 aws disk resize bugfix 2019-08-26 14:51:08 +08:00
Zexi
8d3eb74204 update drone ci config 2019-08-24 19:03:43 +08:00
Zexi
15cd3b4ec3 docker-images: fix image no ca-certificates and set timezone to Shanghai 2019-08-24 19:03:43 +08:00
yunion-ci-robot
5eba4a3f4d Merge pull request #2539 from swordqiu/hotfix/qj-not-release-pending-usage-after-failed-change-config
fix: pending usage not release after failed change config
2019-08-24 18:40:10 +08:00
yunion-ci-robot
0c012aed17 Merge pull request #2536 from swordqiu/hotfix/qj-mkdir-empty-path
fix: bucket mkdir may create path with empty whitespaces
2019-08-24 18:39:13 +08:00
yunion-ci-robot
bdf92cd68e Merge pull request #2477 from swordqiu/hotfix/qj-policy-match-weight-support
fix: use policy match weight to override less specific policy
2019-08-24 18:38:11 +08:00
yunion-ci-robot
a52499ff4e Merge pull request #2552 from wanyaoqi/feature/wyq/guest-batch-migrate
feature:guest batch migrate
2019-08-24 17:43:08 +08:00
yunion-ci-robot
9e79780989 Merge pull request #2413 from wanyaoqi/feature/wyq/host-migrate
feature: host migrate
2019-08-24 17:35:08 +08:00
wanyaoqi
c25b038fe0 guest batch migrate 2019-08-24 17:27:25 +08:00
ioito
0727b3f1fe fix: sync and set secgroup public scope 2019-08-24 17:11:41 +08:00
wanyaoqi
136033d7d4 host migrate 2019-08-24 17:10:37 +08:00
ioito
4b2769444b fix: 避免host disable时detach磁盘 2019-08-24 13:25:50 +08:00
屈轩
88fee1f72c Merge branch 'master' into hotfix/qx-external-project-change-project 2019-08-24 10:13:50 +08:00
Qiu Jian
aa24ef2b88 fix: pending usage not release after failed change config 2019-08-23 22:42:32 +08:00
Qiu Jian
690341766b fix: bucket mkdir may create path with empty whitespaces 2019-08-23 21:58:27 +08:00
Qiu Jian
a177f8c2af fix: use policy match weight to override less specific policy 2019-08-23 21:14:47 +08:00
yunion-ci-robot
87e37f2497 Merge pull request #2528 from ioito/hotfix/qx-managed-guest-rebuild-root-password
fix: deploy action not sync guest status in subtask
2019-08-23 21:09:08 +08:00
ioito
636ae62373 fix: deploy action not sync guest status in subtask 2019-08-23 20:57:21 +08:00
yunion-ci-robot
0c77574352 Merge pull request #2517 from yousong/bugfix/yousong-bool-default-true
snapshotpolicy: 改正bool default:"true"
2019-08-23 19:51:08 +08:00
yunion-ci-robot
a6677a386e Merge pull request #2522 from ioito/hotfix/qx-guest-change-config-fix
fix: sync status after guest sync conf
2019-08-23 18:03:10 +08:00
ioito
c846b1f96d fix: sync status after guest sync conf 2019-08-23 16:46:23 +08:00
yunion-ci-robot
1c9c670848 Merge pull request #2511 from zexi/feature/schedtag-scope
schedtags: support scope
2019-08-23 14:27:08 +08:00
Zexi
dfc92a66eb schedtags: support scope 2019-08-23 13:35:58 +08:00
Yousong Zhou
b1a3f8bd03 snapshotpolicy: 改正bool default:"true" 2019-08-23 03:10:22 +00:00
yunion-ci-robot
a2d9726636 Merge pull request #2513 from zexi/hotfix/disk-net-specify-resource-exec-schedtag
scheduler: fix disk or net specify resource id execute schedtag filter
2019-08-23 10:57:07 +08:00
yunion-ci-robot
ca57dc15ae Merge pull request #2499 from ioito/hotfix/qx-qcloud-storage-sync
fix: qcloud sync unavailable storages
2019-08-23 10:54:07 +08:00
yunion-ci-robot
babd7c34ba Merge pull request #2456 from wanyaoqi/feature/wyq/guest-io-throttle
feature: guest io throttle
2019-08-23 03:38:10 +08:00
yunion-ci-robot
0c0aa456e0 Merge pull request #2491 from yousong/bugfix/yousong-net-internal-name
networks: 添加ifname_hint字段
2019-08-23 03:30:07 +08:00
yunion-ci-robot
890c40b29f Merge pull request #2495 from yousong/bugfix/yousong-multibyte-char
Bugfix/yousong multibyte char
2019-08-23 03:13:07 +08:00
yunion-ci-robot
5b1c10ec6f Merge pull request #2487 from tb365/bugfix/tb-bugfix-0822
Bugfix/tb bugfix 0822
2019-08-23 03:10:09 +08:00
Zexi
83613793e6 scheduler: fix disk or net specify resource id execute schedtag filter 2019-08-22 21:47:16 +08:00
ioito
3f69abfee2 fix: add external perform change-project 2019-08-22 21:39:17 +08:00
wanyaoqi
e7f93e3fe2 add io-throttle doc 2019-08-22 20:56:24 +08:00
wanyaoqi
8376d14d42 io throttle 2019-08-22 20:50:32 +08:00
ioito
7d25a44b4e fix: qcloud sync unavailable storages 2019-08-22 20:36:35 +08:00
Yousong Zhou
6583d52543 guests: detachnetwork时支持以名字指定network 2019-08-22 08:42:29 +00:00
Yousong Zhou
d8dc6aeb0e appsrv: 反转义path segs
支持"climc network-delete 中文"
2019-08-22 08:42:29 +00:00
Yousong Zhou
5bf89ae89b networks: 添加ifname_hint字段
- 升级部署时,从network.Name初始化
 - 创建时,尝试从network.Name取值,取不到则生成随机值
 - 不允许更新
2019-08-22 08:02:50 +00:00
TangBin
a245679f8c huawei bugfix 2019-08-22 14:22:17 +08:00
TangBin
98506c1929 huawei & aws bugfix 2019-08-22 12:10:41 +08:00
yunion-ci-robot
065f4390c0 Merge pull request #2483 from ioito/hotfix/qx-guest-deploy
fix: zstack reset passworkd with username
2019-08-22 11:41:07 +08:00
ioito
2cd975f39b fix: zstack reset passworkd with username 2019-08-22 11:11:45 +08:00
yunion-ci-robot
09cf7531fc Merge pull request #2451 from ioito/hotfix/qx-openstack-disk-resize
bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上
2019-08-22 10:24:06 +08:00
yunion-ci-robot
ba4d2e4537 Merge pull request #2473 from swordqiu/hotfix/qj-domain-admin-private-project-network
fix: doamin admin cannot access private networks across domain
2019-08-22 09:48:07 +08:00
yunion-ci-robot
e87695d0fb Merge pull request #2469 from swordqiu/hotfix/qj-resolve-guest-resize-disk-deadlock
fix: disk-resize sync guest status cause deadlock
2019-08-22 09:44:06 +08:00
yunion-ci-robot
2acbf0cbf6 Merge pull request #2465 from swordqiu/hotfix/qj-join-modal-rbac-allowed-revisit
fix: a join update is allowed if one of the joint models is allowed to update
2019-08-22 09:42:06 +08:00
yunion-ci-robot
54d905d845 Merge pull request #2452 from tb365/bugfix/tb-host-metric-fix-0821
add update vm name method
2019-08-22 08:10:07 +08:00
yunion-ci-robot
d4a38ade64 Merge pull request #2414 from ioito/hotfix/qx-zstack-optimized
hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败
2019-08-22 08:09:08 +08:00
Qiu Jian
4960b9cebc fix: doamin admin cannot access private networks across domain 2019-08-22 00:24:32 +08:00
Qiu Jian
a098b2b058 fix: disk-resize sync guest status cause deadlock 2019-08-21 23:54:10 +08:00
Qiu Jian
f79df042bf fix: a join update is allowed if one of the joint models is allowed to update 2019-08-21 20:34:37 +08:00
yunion-ci-robot
286754e5b0 Merge pull request #2416 from ioito/hotifx/qx-sku-filter
fix: 避免provider污染sql,导致查询结果为空
2019-08-21 20:32:07 +08:00
yunion-ci-robot
d65d4ecf9b Merge pull request #2457 from zexi/hotfix/capability-domain-public-network
region: capability domain public network must equal domain_id
2019-08-21 20:29:06 +08:00
yunion-ci-robot
ef2f578b41 Merge pull request #2461 from wanyaoqi/bugfix/wyq/fix-snapshot-delete
bugfix: fix snapshot can't delete
2019-08-21 20:17:09 +08:00
Zexi
225c6a02e0 region: capability domain public network must equal domain_id 2019-08-21 19:21:37 +08:00
wanyaoqi
8952c693c5 fix snapshot can't delete 2019-08-21 19:06:10 +08:00
TangBin
a12b1bb2b3 add update vm name method 2019-08-21 15:35:58 +08:00
yunion-ci-robot
5c55494e00 Merge pull request #2407 from ioito/hotfix/qx-metadata-rbac-fix
fix: 避免admin=false时,不显示其余项目下的标签信息
2019-08-21 15:32:09 +08:00
yunion-ci-robot
a84b68c6fc Merge pull request #2406 from wanyaoqi/feature/wyq/suporrt-custom-snapshot-policy
feature: snapshot support custom snapshot policy
2019-08-21 15:29:06 +08:00
ioito
1058e72597 bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上 2019-08-21 15:16:33 +08:00
yunion-ci-robot
ef7c194f1c Merge pull request #2447 from zexi/hotfix/scheduler-sku-forecast
scheduler: sku not unmarshal to ServerConfigs
2019-08-21 14:57:08 +08:00
yunion-ci-robot
a03cc0894e Merge pull request #2442 from Mjoycarry/bugfix/nat_delete_process
Bugfix: nat delete
2019-08-21 11:59:05 +08:00
Zexi
bd9c969974 scheduler: sku not unmarshal to ServerConfigs 2019-08-21 11:52:57 +08:00
wanyaoqi
199b472397 - snapshot support custom snapshot policy 2019-08-21 11:14:16 +08:00
Rain
87e57c36a0 nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully 2019-08-21 11:13:45 +08:00
yunion-ci-robot
3cccd29c4d Merge pull request #2412 from ioito/hotfix/qx-snapshot-create-optimized
hotfix: snapshot create optimized
2019-08-21 10:57:08 +08:00
ioito
8597b5c0f9 hotfix: snapshot create optimized 2019-08-21 10:51:32 +08:00
yunion-ci-robot
d9a6621155 Merge pull request #2424 from ioito/hotfix/qx-zstack-region
fix: 允许更改私有云region名称
2019-08-21 00:34:05 +08:00
yunion-ci-robot
bf7546cd0e Merge pull request #2408 from ioito/hotfix/qx-guest-instance-type-charset
fix: avoid sku validate delete return error
2019-08-20 23:34:10 +08:00
ioito
0ad5ff991d fix: 允许更改私有云region名称 2019-08-20 21:18:21 +08:00
yunion-ci-robot
aefe3a2c03 Merge pull request #2382 from zexi/bugfix/baremetal-ext4-part
baremetal: fix ext4 rootfs inode inconsistent
2019-08-20 21:00:08 +08:00
yunion-ci-robot
5c695934b6 Merge pull request #2417 from wanyaoqi/bugfix/wyq/fix-snapshot-opslog
bugfix: fix snapshot ops log
2019-08-20 20:52:06 +08:00
yunion-ci-robot
b118ca595e Merge pull request #2402 from swordqiu/hotfix/qj-sysadmin-should-be-system-account
fix: sysadmin should be a system account
2019-08-20 20:47:08 +08:00
wanyaoqi
b91380727d fix snapshot ops log 2019-08-20 20:25:37 +08:00
ioito
9e890a38fd fix: 避免provider污染sql,导致查询结果为空 2019-08-20 20:11:22 +08:00
ioito
a2b08010e2 hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败 2019-08-20 19:40:27 +08:00
Zexi
842e33521a baremetal: fix ext4 rootfs inode inconsistent 2019-08-20 17:14:35 +08:00
ioito
73a34cc272 fix: avoid sku validate delete return error 2019-08-20 15:22:19 +08:00
ioito
0a8d1e5fec fix: 避免admin=false时,不显示其余项目下的标签信息 2019-08-20 15:09:29 +08:00
Qiu Jian
428f00106c fix: sysadmin should be a system account 2019-08-20 13:00:40 +08:00
yunion-ci-robot
d0906806e5 Merge pull request #2392 from swordqiu/hotfix/qj-qcloud-change-config-fail
fix: qcloud change config failed
2019-08-20 11:30:06 +08:00
yunion-ci-robot
20a31acb26 Merge pull request #2391 from swordqiu/feature/qj-bucket-limit-quota-docs
feature: 增加bucket配额和使用上限的文档
2019-08-20 11:29:05 +08:00
yunion-ci-robot
3acfd0f3ed Merge pull request #2387 from swordqiu/hotfix/qj-cloud-provider-region-domain-id
fix: cloud-provider-region add cloudaccount_domain_id
2019-08-20 11:27:05 +08:00
yunion-ci-robot
9510265de9 Merge pull request #2381 from ioito/hotfix/qx-httputils-fix
fix: httputils show error when resp body is not dict
2019-08-20 10:24:05 +08:00
Qiu Jian
2e8f8410db fix: qcloud change config failed 2019-08-20 01:45:48 +08:00
yunion-ci-robot
819bc72505 Merge pull request #2377 from wanyaoqi/bugfix/wyq/snapshot-misc
bugfix: snapshot bugs fix
2019-08-20 00:04:06 +08:00
Qiu Jian
891bceb8ec feature: 增加bucket配额和使用上限的文档 2019-08-19 23:56:05 +08:00
Qiu Jian
91e52f9911 fix: cloud-provider-region add cloudaccount_domain_id 2019-08-19 21:47:43 +08:00
ioito
1bc290d4a7 fix: httputils show error when resp body is not dict 2019-08-19 21:34:58 +08:00
wanyaoqi
919febedc9 snapshot bugs fix 2019-08-19 20:27:35 +08:00
yunion-ci-robot
1043958d0e Merge pull request #2248 from Mjoycarry/feature/notify
Notify Go version
2019-08-19 10:34:04 +08:00
yunion-ci-robot
771e767227 Merge pull request #2373 from swordqiu/hotfix/qj-aws-sync-public-ip
fix: not sync correctly aws VM's tempoaral public ip
2019-08-19 10:24:06 +08:00
Qiu Jian
33e3108e1d fix: not sync correctly aws VM's tempoaral public ip 2019-08-19 01:57:32 +08:00
yunion-ci-robot
dbf33e213d Merge pull request #2369 from swordqiu/hotfix/qj-qcloud-upload-duplicate-image
fix: avoid duplicate image uploading if multiple identical instances
2019-08-19 00:09:05 +08:00
Qiu Jian
c6627b8535 fix: avoid duplicate image uploading if multiple identical instances
created at same time
2019-08-18 23:08:28 +08:00
yunion-ci-robot
ce0ca65c2b Merge pull request #2357 from swordqiu/hotfix/qj-new-apis-for-project-user-group-roles
fix: deprecate old user/group joint project API, create new action apis
2019-08-17 21:35:08 +08:00
yunion-ci-robot
5880f8b184 Merge pull request #2362 from swordqiu/hotfix/qj-cloud-account-usage-no-data
fix: cloud-account-usage no data for domain admin
2019-08-17 18:55:05 +08:00
Qiu Jian
a4b4ef8d9d update vendor 2019-08-17 18:47:52 +08:00
Qiu Jian
e1f35f67e7 fix: deprecate old user/group joint project API, create new action apis
for add user/group to projects with roles
2019-08-17 18:44:33 +08:00
Qiu Jian
4a46cdeb19 fix: cloud-account-usage no data for domain admin 2019-08-17 18:37:53 +08:00
yunion-ci-robot
dfeb5d1e06 Merge pull request #2358 from swordqiu/hotfix/qj-leak-all-resources-for-no-project-user
fix: new user without porject may view any resources
2019-08-17 18:27:05 +08:00
Qiu Jian
e50f63a494 fix: new user without porject may view any resources 2019-08-17 13:35:25 +08:00
yunion-ci-robot
fa1cbe4704 Merge pull request #2353 from yousong/bugfix/yousong-build
Makefile: 改正rpm target
2019-08-17 09:59:03 +08:00
yunion-ci-robot
564994aa29 Merge pull request #2349 from swordqiu/hotfix/qj-missing-project-id-after-fetch
fix: project_id/domain_id was cleared after
2019-08-16 22:09:08 +08:00
Yousong Zhou
49daf58952 .travis.yml: 去掉过时comment 2019-08-16 13:54:57 +00:00
Yousong Zhou
a1dd919c2a Makefile: 改正rpm target 2019-08-16 13:54:10 +00:00
yunion-ci-robot
9d45ff8794 Merge pull request #2343 from yousong/bugfix/yousong-windows-bat
hostman: windows: 改正批处理代码
2019-08-16 21:32:04 +08:00
Qiu Jian
054b8fc912 fix: project_id/domain_id was cleared after
FetchProjectInfo/FetchDomainInfo called
2019-08-16 21:22:41 +08:00
Yousong Zhou
17f90cf5ea hostman: windows: 改正批处理代码 2019-08-16 13:18:52 +00:00
Rain
0a75f97d68 notify module in Go finished. 2019-08-16 18:54:49 +08:00
yunion-ci-robot
548fbeb8f6 Merge pull request #2337 from tb365/feature/tb-itsm-post-api
add itsm upload api
2019-08-16 18:10:04 +08:00
yunion-ci-robot
567ebb8f7d Merge pull request #2339 from wanyaoqi/bugfix/wyq/fix-managered-disk-reset-not-update
bugfix: fix managered disk reset not update disk size
2019-08-16 18:07:03 +08:00
wanyaoqi
371b89f393 fix managered disk reset not update disk size 2019-08-16 17:59:01 +08:00
tb365
550458c578 Merge branch 'master' into feature/tb-itsm-post-api 2019-08-16 17:29:46 +08:00
TangBin
448d1c4d1d add itsm upload api 2019-08-16 17:27:19 +08:00
yunion-ci-robot
417933eb8a Merge pull request #2332 from tb365/bugfix/tb-bugfix-0812
aws & huawei & ucloud fix
2019-08-16 17:21:06 +08:00
yunion-ci-robot
24c24257d3 Merge pull request #2311 from ioito/hotfix/qx-zstack-sku
fix: avoid duplicate sku error
2019-08-16 17:11:06 +08:00
yunion-ci-robot
f826ed19a2 Merge pull request #2301 from wanyaoqi/bugfix/wyq/fix-image-head-no-field-tenant
bugfix: fix image head request no field tenant
2019-08-16 17:10:03 +08:00
yunion-ci-robot
f57f2dee25 Merge pull request #2287 from wanyaoqi/bugfix/wyq/fix-ceph-rescue-mode-migrate
bugfix: fix ceph rescue mode migrate
2019-08-16 17:08:03 +08:00
yunion-ci-robot
ded5d7277b Merge pull request #2291 from Mjoycarry/feature/snapshot_policy
snapshotpolicy list create delete apply cancel finish except that dis…
2019-08-16 17:05:06 +08:00
yunion-ci-robot
bb90724af3 Merge pull request #2322 from swordqiu/hotfix/qj-climc-openstack-providerstr
fix: openstack provider string should be OpenStack
2019-08-16 17:03:04 +08:00
TangBin
b19fcf4496 aws & huawei & ucloud fix 2019-08-16 16:36:28 +08:00
yunion-ci-robot
466502c383 Merge pull request #2326 from ioito/hotfix/qx-azure-snapshot-disk-id
fix: azure快照的磁盘id应该小写
2019-08-16 16:27:04 +08:00
yunion-ci-robot
5096ce0d42 Merge pull request #2292 from Mjoycarry/bugfix/nat_task_param
Bugfix: nat task pass paramters through task.Params pass
2019-08-16 16:20:05 +08:00
yunion-ci-robot
4872186344 Merge pull request #2293 from zexi/hotfix/baremetal-raid-ext4-largefile
baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option
2019-08-16 16:14:05 +08:00
ioito
069ff2e893 fix: azure快照的磁盘id应该小写 2019-08-16 15:50:33 +08:00
Qiu Jian
fc9e540e9f fix: openstack provider string should be OpenStack 2019-08-16 15:37:11 +08:00
yunion-ci-robot
9eb611c2c4 Merge pull request #2316 from ioito/hotfix/qx-guest-disk
fix: create disk with project-src=local
2019-08-16 15:21:03 +08:00
ioito
3edb0ebddb fix: avoid duplicate sku error 2019-08-16 14:41:18 +08:00
yunion-ci-robot
830f0baef3 Merge pull request #2305 from yousong/bugfix/yousong-travis
.travis.yml: 不使用docker
2019-08-16 14:39:07 +08:00
ioito
b70e421e50 fix: create disk with project-src=local 2019-08-16 14:11:34 +08:00
Rain
577dce1bc5 snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
add copyright

fix some imprefection

fix test file
2019-08-16 14:03:15 +08:00
Yousong Zhou
d1df6dd293 .travis.yml: 不使用docker 2019-08-16 05:36:10 +00:00
wanyaoqi
72bbe977d3 fix image head no field tenant 2019-08-16 12:14:39 +08:00
yunion-ci-robot
471595bb82 Merge pull request #2297 from yousong/bugfix/yousong-make-rpm
Makefile: 使用rpm/%
2019-08-16 10:35:02 +08:00
Yousong Zhou
eb3cfb0369 .travis.yml: 改正权限问题 2019-08-16 02:20:03 +00:00
Yousong Zhou
a547178c1c Makefile: 使用rpm/% 2019-08-16 01:33:38 +00:00
yunion-ci-robot
bd40565629 Merge pull request #2272 from yousong/bugfix/yousong-travis
.travis.yml: 改正配置
2019-08-15 22:02:04 +08:00
Zexi
d5084617f9 baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option 2019-08-15 21:28:55 +08:00
Rain
73a8bfacbe task.Params pass paramters 2019-08-15 20:42:12 +08:00
yunion-ci-robot
9bc0c41b45 Merge pull request #2284 from swordqiu/feature/qj-object-quota-limit
feature: 1. limit for bucket object count and size 2. quota for object
2019-08-15 16:07:04 +08:00
wanyaoqi
5029adcfd7 fix ceph rescue mode migrate 2019-08-15 16:00:03 +08:00
yunion-ci-robot
ceace185bb Merge pull request #2280 from wanyaoqi/feature/wyq/vpc-distinct-field-add-manager
feature: vpc add distinct field manager
2019-08-15 10:36:03 +08:00
Qiu Jian
459e9d0f1f feature: 1. limit for bucket object count and size 2. quota for object
count and size
2019-08-14 22:25:01 +08:00
wanyaoqi
e1c921cf25 add distinct field manager 2019-08-14 20:41:37 +08:00
yunion-ci-robot
f7abd82d4a Merge pull request #2276 from ioito/bugfix/qx-snapshot-create
fix: missing setup managerId for snapshot
2019-08-14 20:38:05 +08:00
ioito
24936d42f1 fix: missing setup managerId for snapshot 2019-08-14 20:07:41 +08:00
Yousong Zhou
53de2e4a48 Makefile: fail for unknown target 2019-08-14 06:44:17 +00:00
Yousong Zhou
0c8eec14b0 .travis.yml: 改正配置
找不到commit

	$ git clone --depth=1 --branch=release/2.11 https://github.com/yunionio/onecloud.git yunionio/onecloud
	Cloning into 'yunionio/onecloud'...
	remote: Enumerating objects: 9016, done.
	remote: Counting objects: 100% (9016/9016), done.
	remote: Compressing objects: 100% (6914/6914), done.
	remote: Total 9016 (delta 2420), reused 5969 (delta 1637), pack-reused 0
	Receiving objects: 100% (9016/9016), 14.37 MiB | 14.29 MiB/s, done.
	Resolving deltas: 100% (2420/2420), done.
	$ cd yunionio/onecloud
	$ git checkout -qf 4e9f605844
	fatal: reference is not a tree: 4e9f605844
	The command "git checkout -qf 4e9f60584434f56a410604b4ef36f979ecdb9623" failed and exited with 128 during .
2019-08-14 06:43:39 +00:00
yunion-ci-robot
ee5ff1a013 Merge pull request #2198 from ioito/hotfix/qx-private-sku-fix
fix: private sku sync and delete
2019-08-14 11:40:01 +08:00
Yousong Zhou
ca4699b928 Merge pull request #2267 from swordqiu/hotfix/qj-cloud-account-misc-bugfixes-20190813
Hotfix/qj cloud account misc bugfixes 20190813
2019-08-14 10:16:37 +08:00
Qiu Jian
903f1e1de3 fix: 1. after cloud-account-sync, cloud provider status in queueing 2.
huawei/azure/qcloud sync status error
2019-08-14 09:54:00 +08:00
Yousong Zhou
be1e7e64ae Merge pull request #2264 from swordqiu/hotfix/qj-qcloud-storagecache-bucket-name-too-long
fix: qcloud storagecache bucket name too long
2019-08-14 09:51:10 +08:00
Yousong Zhou
d13eecdd29 Merge pull request #2263 from swordqiu/hotfix/qj-approval-needs-all-check-passed
fix: approval.sh should wait all checks passed
2019-08-14 09:50:50 +08:00
Yousong Zhou
a4424561a1 Merge pull request #2260 from swordqiu/hotfix/qj-bucket-misc-bugfix-20190813
fix: 1. aws s3 fail to mkdir 2. put object requires acl
2019-08-14 09:50:16 +08:00
Qiu Jian
73cc14ed08 fix: qcloud storagecache bucket name too long 2019-08-14 00:32:47 +08:00
Qiu Jian
b843b61785 fix: approval.sh should wait all checks passed 2019-08-13 21:48:30 +08:00
Qiu Jian
021c8682db fix: 1. aws s3 fail to mkdir 2. put object requires acl 2019-08-13 21:35:39 +08:00
yunion-ci-robot
2532b7e77b Merge pull request #2257 from wanyaoqi/bugfix/wyq/fix-sku-cron-job
bugfix: fix sku cron job
2019-08-13 21:19:01 +08:00
wanyaoqi
2fcaa58c64 fix sku cron job 2019-08-13 21:14:38 +08:00
ioito
6c88755166 fix: private sku sync and delete 2019-08-13 19:39:37 +08:00
yunion-ci-robot
6f911f7aba Merge pull request #2241 from swordqiu/hotfix/qj-region-zone-filter-by-providers
fix: cloudregion and zone list filter by providers/brands
2019-08-13 18:59:03 +08:00
yunion-ci-robot
4ba0111227 Merge pull request #2250 from wanyaoqi/feature/wyq/support-get-user-tags
feature: export data support get user tags
2019-08-13 18:54:02 +08:00
yunion-ci-robot
6b976315da Merge pull request #2227 from wanyaoqi/feature/wyq/snapshot-and-ceph
feature: ceph snapshot
2019-08-13 18:53:03 +08:00
yunion-ci-robot
aecd859086 Merge pull request #2249 from zexi/bugfix/baremetal-rebuild-no-passwd
baremetal: fix rebuild root no password
2019-08-13 18:34:01 +08:00
Zexi
cb007df6b7 baremetal: fix rebuild root no password 2019-08-13 18:21:10 +08:00
wanyaoqi
24c3962d4a support get user tags 2019-08-13 18:20:59 +08:00
yunion-ci-robot
2003c44264 Merge pull request #2243 from tb365/bugfix/tb-api-get-spec-dispatcher-fix
get spec fix
2019-08-13 15:15:01 +08:00
tb365
680ee461b4 Merge branch 'master' into bugfix/tb-api-get-spec-dispatcher-fix 2019-08-13 15:02:16 +08:00
wanyaoqi
e32c7bdb4e - feature: refact snapshot related code
- feature: rbd snapshot
- bugfix: ceph cache iso image
- delete disk create snapshot and guest create snapshot
- fix auto snapshot
- fix disk reset
2019-08-13 13:07:56 +08:00
TangBin
17a5c32430 bucket upload fix 2019-08-13 11:33:34 +08:00
yunion-ci-robot
345d2dd38f Merge pull request #2234 from ioito/hotfix/qx-qcloud-inject-password-by-cloud-init
fix: no need to inject password by cloud-init for qcloud
2019-08-12 22:16:01 +08:00
Qiu Jian
18b4b1b0b7 fix: cloudregion and zone list filter by providers/brands 2019-08-12 22:03:43 +08:00
yunion-ci-robot
871b373b6f Merge pull request #2222 from swordqiu/hotfix/qj-public-cloud-network-public-scope-system
fix: when turning off non-default-domain-projects, network public scope
2019-08-12 21:57:02 +08:00
yunion-ci-robot
712e55ff84 Merge pull request #2207 from swordqiu/hotfix/qj-bucket-short-desc-include-cloudproviderinfo
fix: bucket GetShortDesc includes cloudproviderinfo
2019-08-12 21:55:02 +08:00
TangBin
c0a59b32d8 get spec fix 2019-08-12 20:24:49 +08:00
yunion-ci-robot
5c80d546eb Merge pull request #2228 from tb365/bugfix/tb-bucket-object-upload
bucket object upload params change
2019-08-12 19:52:02 +08:00
ioito
8a95639f59 fix: no need to inject password by cloud-init for qcloud 2019-08-12 19:45:38 +08:00
TangBin
7708cf64c4 bucket object upload params change 2019-08-12 19:10:43 +08:00
yunion-ci-robot
83e5c20ebd Merge pull request #2233 from ioito/hotfix/qx-docs-fix
fix: index for instance change-config docs
2019-08-12 18:24:00 +08:00
yunion-ci-robot
5f62114b48 Merge pull request #2230 from zhasm/feature/rex-add-index-on-tenent-id-for-actionlog
对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率
2019-08-12 18:18:00 +08:00
ioito
da8aa4ca40 fix: index for instance change-config docs 2019-08-12 18:08:52 +08:00
Zhang Dongliang
b2c5e15955 对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率 2019-08-12 17:50:48 +08:00
yunion-ci-robot
43173d979f Merge pull request #2202 from ioito/bugfix/qx-snapshot
fix: sync cloud snapshot size
2019-08-12 11:50:01 +08:00
yunion-ci-robot
0ed06c8ce2 Merge pull request #2225 from swordqiu/feature/qj-objectstore-multipart-upload-support
Feature/qj objectstore multipart upload support
2019-08-12 11:44:01 +08:00
Qiu Jian
a324776bba fix: image.download changes output parameters 2019-08-12 11:24:54 +08:00
Qiu Jian
17979f289d update vendor 2019-08-12 11:02:53 +08:00
Qiu Jian
4b2316208c feature: s3upload support multipart upload 2019-08-12 10:34:51 +08:00
Qiu Jian
a0e5881596 fix: when turning off non-default-domain-projects, network public scope
should swtich to system scope
2019-08-12 10:17:05 +08:00
Qiu Jian
963af1311a fix: bucket GetShortDesc includes cloudproviderinfo 2019-08-12 10:00:10 +08:00
yunion-ci-robot
ae19864d34 Merge pull request #2219 from zhasm/hotfix/rex-fix-secgrop-quota-set
quota-set 新增 secgroup 字段
2019-08-12 10:00:00 +08:00
yunion-ci-robot
4db75de5a0 Merge pull request #2214 from yousong/bugfix/yousong-lb-update
lb: 改正update参数校验
2019-08-12 09:59:01 +08:00
yunion-ci-robot
e72390f7b6 Merge pull request #2209 from yousong/bugfix/yousong-climc-wire-mtu-default
wires: 改正mtu校验
2019-08-12 09:58:01 +08:00
Zhang Dongliang
ad360f2218 quota-set 新增 secgroup 字段 2019-08-12 09:29:11 +08:00
Yousong Zhou
6926147afb lb: 改正update参数校验
Fixes e4ef23515f ("aws elb support")

Ref

	BEGIN {
		c=0
		u=0
		fool=0
	}

	/^+++ b/ {
		f=substr($0, 7)
		next
	}

	/^@@ .*Create.*/ {
		cl=$0
		c=1
		u=0
		next
	}

	/^@@ .*Update.*/ {
		ul=$0
		c=0
		u=1
		next
	}

	/func init()/ {
		next
	}

	/^@@ .*/ {
		fool=1
		printf "unknown: %s\n", $0
		exit
	}

	/ RunValidators\([^)]+, false); .*/ {
		if (c == 0) {
			printf "%s: %d: c err: %s\n", f, NR, cl
			exit
		}
	}

	/ RunValidators\([^)]+, true); .*/ {
		if (u == 0) {
			printf "%s: %d: u err: %s\n", f, NR, ul
			exit
		}
	}
2019-08-11 14:56:33 +00:00
Yousong Zhou
8a345e9998 wires: 改正mtu校验
Fixes a7486641df ("wires: 添加mtu属性")
2019-08-11 14:55:48 +00:00
yunion-ci-robot
205e2770c0 Merge pull request #2211 from yousong/bugfix/yousong-lbcluster-add-wire-affiliation
lbcluster: 添加wire亲和性质
2019-08-11 14:38:01 +08:00
yunion-ci-robot
21ef363f78 Merge pull request #2216 from yousong/bugfix/yousong-coverage
circleci: coverage.sh: 改善内存消耗
2019-08-11 14:09:02 +08:00
Yousong Zhou
4749dd9cb6 circleci: coverage.sh: 改善内存消耗 2019-08-10 18:36:38 +00:00
Yousong Zhou
d16aa63452 lbcluster: 限定仅管理员可操作 2019-08-10 10:20:46 +00:00
Yousong Zhou
dbe4398b03 lbcluster: lbcluster-list支持--wire, --zone过滤 2019-08-10 10:20:46 +00:00
Yousong Zhou
cfadfb8a04 lbcluster: 添加wire亲和性质 2019-08-10 10:20:46 +00:00
ioito
e3ee3c54cb fix: sync cloud snapshot size 2019-08-10 16:27:38 +08:00
yunion-ci-robot
c60913e34c Merge pull request #2196 from Zexi/feature/apigateway
add apigateway service
2019-08-10 10:17:59 +08:00
Zexi
9dbc257e4d add apigateway service 2019-08-09 21:11:46 +08:00
yunion-ci-robot
f37b1f213f Merge pull request #2127 from Zexi/feature/build-docker-image
添加各个组件制作成 docker 镜像的 Dockerfile
2019-08-09 20:17:59 +08:00
yunion-ci-robot
e1fb73c34d Merge pull request #2199 from yousong/bugfix/yousong-choices-hint
Bugfix/yousong choices hint
2019-08-09 20:03:00 +08:00
Yousong Zhou
57f459b643 climc: 去掉help string中关于choice的内容 2019-08-09 09:48:09 +00:00
Yousong Zhou
b99cf64367 vendor: update structarg 2019-08-09 09:48:09 +00:00
Zexi
a1a8525589 add compents docker file 2019-08-09 17:44:29 +08:00
yunion-ci-robot
23a59f341b Merge pull request #2193 from swordqiu/hotfix/qj-imported-esxi-rebuild-root-fail
fix: imported esxi VM fail to rebuild root
2019-08-09 09:51:59 +08:00
Qiu Jian
b5210a92d3 fix: imported esxi VM fail to rebuild root 2019-08-09 00:58:21 +08:00
yunion-ci-robot
32113858ef Merge pull request #2191 from swordqiu/hotfix/qj-qcloud-temp-url-error
fix: qcloud/aws temp url not working
2019-08-09 00:01:59 +08:00
Qiu Jian
f27d997b81 fix: qcloud/aws temp url not working 2019-08-08 23:28:10 +08:00
yunion-ci-robot
04ee0a85b2 Merge pull request #2159 from tb365/bugfix/tb-elb-bugfix-0807
elb bugfix
2019-08-08 21:30:57 +08:00
TangBin
e8b3972e0b elb bugfix 2019-08-08 20:59:48 +08:00
yunion-ci-robot
5272bd774e Merge pull request #2186 from ioito/hotfix/qx-lb-purge-fix
fix: lb purge error
2019-08-08 20:05:58 +08:00
yunion-ci-robot
b10ba5b91b Merge pull request #2179 from swordqiu/hotfix/qj-object-acl-not-found
fix: 1. get object acl not found 2. distinguish primary url for bucket
2019-08-08 20:01:58 +08:00
yunion-ci-robot
b283fb8143 Merge pull request #2181 from tb365/bugfix/tb-aws-cpu-bugfix
cpu core bugfix
2019-08-08 19:49:59 +08:00
ioito
f22ab9cc00 fix: lb purge error 2019-08-08 19:49:02 +08:00
TangBin
749a192095 cpu core bugfix 2019-08-08 19:32:24 +08:00
Qiu Jian
3d11836ea7 fix: 1. get object acl not found 2. distinguish primary url for bucket 2019-08-08 18:16:52 +08:00
yunion-ci-robot
04b2e39ba1 Merge pull request #2174 from swordqiu/feature/qj-influx-write-support
fix: influxdb write support
2019-08-08 16:55:59 +08:00
yunion-ci-robot
860793cfd9 Merge pull request #2161 from ioito/hotfix/qx-openstack-host-cpu-memory-ratio-sync
hotfix: sync openstack cup and memory cmtbound
2019-08-08 16:38:57 +08:00
yunion-ci-robot
e09cc39cd3 Merge pull request #2176 from zhasm/hotfix/rex-ws-cmdline-parameter-change-2
hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填
2019-08-08 16:21:58 +08:00
yunion-ci-robot
341b7a5f8a Merge pull request #2162 from wanyaoqi/feature/wyq/support-migrate-with-different-mountpoint
feature: server migrate to different mountpoint storage
2019-08-08 16:05:58 +08:00
Zhang Dongliang
75a0ef676b hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填 2019-08-08 15:47:57 +08:00
Qiu Jian
b77407c81f fix: influxdb write support 2019-08-08 15:07:39 +08:00
yunion-ci-robot
daa094a4dd Merge pull request #2146 from yousong/feature/yousong-climc-output-format
climc: add --output-format support
2019-08-08 10:55:16 +08:00
Yousong Zhou
06310417df Merge pull request #2157 from swordqiu/feature/qj-bucket-usages
feature: bucket usage and quota check
2019-08-07 23:16:28 +08:00
Yousong Zhou
7e913c142c Merge pull request #2165 from swordqiu/hotfix/qj-bucket-purge-fail
fix: 1. bucket purge fail 2. qcloud verify appId
2019-08-07 23:14:53 +08:00
Qiu Jian
1bbb5a0ff2 fix: 1. bucket purge fail 2. qcloud verify appId 2019-08-07 21:50:26 +08:00
wanyaoqi
fc7041131a server migrate to different mountpoint storage 2019-08-07 21:13:28 +08:00
ioito
47f7357cae hotfix: sync openstack cup and memory cmtbound 2019-08-07 21:08:32 +08:00
yunion-ci-robot
f28cecd0eb Merge pull request #2152 from yousong/bugfix/yousong-lbagent-log-lines
Bugfix/yousong lbagent log lines
2019-08-07 19:17:54 +08:00
Qiu Jian
4e82063782 fix: not return prefix object when list bucket object in non-recursive
mode
2019-08-07 18:57:23 +08:00
Qiu Jian
804e7a122f feature: bucket usage and quota check 2019-08-07 18:37:59 +08:00
yunion-ci-robot
4cd75d78d5 Merge pull request #2108 from ioito/feature/qx-huawei-rds-sync
feature: add huawei rds sync
2019-08-07 18:20:43 +08:00
yunion-ci-robot
3fc014355e Merge pull request #2123 from ioito/hotfix/qx-managed-keypair
fix: get keypair info fail after rebuild-root
2019-08-07 18:03:43 +08:00
yunion-ci-robot
eb273fff72 Merge pull request #2149 from ioito/hotfix/qx-zstack-fix
fix: not sync zstack deleted disk or instance & secgroup rule sync fix
2019-08-07 17:51:46 +08:00
yunion-ci-robot
35dc5b7e0f Merge pull request #2136 from wanyaoqi/bugfix/wyq/fix-guest-cannot-delete
bugfix: fix guest cannot delete
2019-08-07 17:22:38 +08:00
yunion-ci-robot
f45ec37549 Merge pull request #2143 from tb365/bugfix/tb-redis-sync-bugfix
model & model manager mismatch fix
2019-08-07 17:21:38 +08:00
yunion-ci-robot
9e2d81284c Merge pull request #2135 from ioito/hotfix/qx-aliyun-essd
hotfix: essd PerformanceLevel sync
2019-08-07 17:20:37 +08:00
Yousong Zhou
22468ddebd lbagent: 改正agent参数变更校验 2019-08-07 09:16:02 +00:00
Yousong Zhou
694a91c24e lbagent: 改正unicast vrrp日志记录 2019-08-07 09:10:04 +00:00
rex zhasm
71783997d5 新增 climc notify-broadcast 接口,用于向所有在线用户发 websocket 通知 (#2131) 2019-08-07 16:36:41 +08:00
ioito
def0f7b864 fix: not sync zstack deleted disk or instance & secgroup rule sync fix 2019-08-07 16:19:47 +08:00
Yousong Zhou
48d89d6d4f climc: add --output-format support 2019-08-07 07:43:38 +00:00
ioito
339145ec4a hotfix: essd PerformanceLevel sync 2019-08-07 15:30:19 +08:00
TangBin
b3dd15dd64 code check error fix 2019-08-07 11:12:24 +08:00
ioito
d7dd5facb4 feature: add huawei rds sync 2019-08-07 10:45:22 +08:00
yunion-ci-robot
7aa4f83e8a Merge pull request #2140 from swordqiu/hotfix/qj-authenticate-disconnected-ldap-idp
fix: auth through disconnected ldap IDP
2019-08-07 10:08:10 +08:00
TangBin
16f40608c1 model & model manager mismatch fix 2019-08-07 09:52:52 +08:00
Qiu Jian
8417fc2187 fix: auth through disconnected ldap IDP 2019-08-07 00:06:09 +08:00
yunion-ci-robot
88b00f56ae Merge pull request #2112 from swordqiu/feature/qj-s3gateway2
s3gateway phase2
2019-08-06 23:24:11 +08:00
yunion-ci-robot
d042b2d1aa Merge pull request #2124 from ioito/hotfix/qx-zstack-ak-sk
hotfix: deprecated password auth
2019-08-06 23:06:09 +08:00
yunion-ci-robot
06157c1fb3 Merge pull request #2134 from yousong/bugfix/yousong-lbagent-undeploy-docs
docs: 添加lbagent-undeploy接口描述
2019-08-06 23:03:08 +08:00
yunion-ci-robot
1f083e2699 Merge pull request #2117 from yousong/bugfix/yousong-lbcluster-delete
lbclusters: 改正删除操作
2019-08-06 23:00:09 +08:00
yunion-ci-robot
c26f7bbde0 Merge pull request #2104 from yousong/feature/yousong-wire-mtu
wires: 添加mtu属性
2019-08-06 22:59:11 +08:00
Qiu Jian
c0120c0545 update vendor 2019-08-06 22:35:56 +08:00
Qiu Jian
fc7885b9f1 s3gateway phase2 2019-08-06 22:35:55 +08:00
wanyaoqi
30538ef2d4 fix guest cannot delete 2019-08-06 21:12:55 +08:00
yunion-ci-robot
a7d8b931e9 Merge pull request #2114 from wanyaoqi/bugfix/wyq/minor-fix0805
misc bugfix
2019-08-06 20:25:08 +08:00
Yousong Zhou
bd3f2d5957 docs: 添加lbagent-undeploy接口描述 2019-08-06 12:10:51 +00:00
Yousong Zhou
fab693941e lbagents: 添加undeploy支持 2019-08-06 11:51:44 +00:00
Yousong Zhou
5777845dae lbclusters: 改正删除操作 2019-08-06 11:51:44 +00:00
Yousong Zhou
2e604cb62e climc: lb-create: 允许指定cluster 2019-08-06 11:51:44 +00:00
yunion-ci-robot
727e537a88 Merge pull request #2128 from tb365/bugfix/tb-kvm-elb-bugfix
kvm elb fix
2019-08-06 19:50:08 +08:00
TangBin
099e42483d kvm elb fix 2019-08-06 17:28:10 +08:00
ioito
a21ec65789 hotfix: deprecated password auth 2019-08-06 17:12:06 +08:00
wanyaoqi
2c9dada44c misc bugfix 2019-08-06 15:35:55 +08:00
yunion-ci-robot
f6482ee3f1 Merge pull request #2105 from swordqiu/hotfix/qj-adjust-default-policies
fix: adjust default policies for system resources
2019-08-06 15:30:09 +08:00
ioito
e02ac208fc fix: get keypair info fail after rebuild-root 2019-08-06 15:21:44 +08:00
yunion-ci-robot
8a3ecb7b4f Merge pull request #2109 from yousong/bugfix/yousong-lbcluster-zone
lbclusters: 创建时仅允许指定OneCloud Zone
2019-08-06 15:07:09 +08:00
yunion-ci-robot
16b0c985ae Merge pull request #2087 from tb365/feature/tb-aliyun-redis-support
aliyun&huawei redis sync support
2019-08-06 15:06:10 +08:00
yunion-ci-robot
e99cd8263d Merge pull request #2075 from Mjoycarry/feature/nat_api
nat create delete restful api finished
2019-08-06 15:00:08 +08:00
TangBin
10ae4b4bf8 add elastic cache purge fix 2019-08-06 14:57:52 +08:00
TangBin
25836b22b3 add elastic cache purge 2019-08-06 11:47:34 +08:00
Rain
f93dc85417 nat create delete restful api finished 2019-08-06 10:54:36 +08:00
yunion-ci-robot
51c05bb096 Merge pull request #2100 from tb365/bugfix/tb-bugfix-0802
huawei & elb bugfix
2019-08-06 10:21:08 +08:00
Yousong Zhou
532d2e921d lbclusters: 创建时仅允许指定OneCloud Zone 2019-08-05 12:50:19 +00:00
yunion-ci-robot
09b00ad0c9 Merge pull request #2097 from wanyaoqi/feature/wyq/secgroups-support-distinct-tenant
feature: secgroups get distinct tenant
2019-08-05 19:59:10 +08:00
yunion-ci-robot
1f541d8edf Merge pull request #2094 from ioito/hotfix/qx-secgroup-order-by
hotfix: change order_by=guest -> order_by=guest_cnt
2019-08-05 19:51:09 +08:00
yunion-ci-robot
dd0d375d99 Merge pull request #2092 from ioito/hotfix/qx-networkinterface-docs
hotfix: add networkinterface docs
2019-08-05 19:48:08 +08:00
Qiu Jian
c938da9edd fix: adjust default policies for system resources 2019-08-05 18:56:05 +08:00
Yousong Zhou
cbb28ca10b hostman: rootfs: 网络配置添加MTU支持 2019-08-05 10:49:45 +00:00
Yousong Zhou
a7486641df wires: 添加mtu属性 2019-08-05 10:49:45 +00:00
TangBin
b173ff946f huawei & elb bugfix 2019-08-05 16:49:20 +08:00
wanyaoqi
2688753879 secgroups get distinct tenant 2019-08-05 12:00:51 +08:00
ioito
75e4b8140a hotfix: change order_by=guest -> order_by=guest_cnt 2019-08-05 11:13:51 +08:00
yunion-ci-robot
ce0809c1ff Merge pull request #2082 from ioito/hotfix/qx-openstack-storage-scheduler
fix: get openstack all customize storage type
2019-08-02 20:16:05 +08:00
ioito
fe55891d73 fix: get openstack all customize storage type 2019-08-02 20:08:48 +08:00
ioito
9818eb1978 hotfix: add networkinterface docs 2019-08-02 17:08:26 +08:00
yunion-ci-robot
3177771aae Merge pull request #2089 from yousong/bugfix/yousong-ansibleserver-host-defaultuser
ansibleserver: 操作宿主机时默认使用用户root
2019-08-02 12:14:04 +08:00
yunion-ci-robot
9cd5bf11d0 Merge pull request #2060 from wanyaoqi/feature/wyq/support-get-model-distinct-field
feature: support get model distinct field
2019-08-02 12:13:04 +08:00
Yousong Zhou
e813eb5bb2 ansibleserver: 操作宿主机时默认使用用户root 2019-08-02 03:55:25 +00:00
TangBin
1f15521f85 aliyun&huawei redis sync support 2019-08-02 11:39:45 +08:00
yunion-ci-robot
be65337b5f Merge pull request #2079 from ioito/hotfix/qx-cloud-account-sync
fix: cloudaccount and cloudprovider not in same domain
2019-08-01 22:23:04 +08:00
ioito
1746307d11 fix: cloudaccount and cloudprovider not in same domain 2019-08-01 21:48:04 +08:00
wanyaoqi
2051e618f5 support get model distinct field 2019-08-01 21:34:33 +08:00
yunion-ci-robot
94ba752b07 Merge pull request #2076 from ioito/hotfix/qx-cloudaccount-api-docs
add: cloudaccount api docs
2019-08-01 19:54:00 +08:00
ioito
5bfa4825da add: cloudaccount api docs 2019-08-01 18:09:41 +08:00
yunion-ci-robot
87fad52fe9 Merge pull request #2067 from ioito/hotfix/qx-zstack-tcp-udp-secgroup-rule-create
fix: zstack create tcp udp secgroup rule error
2019-08-01 17:32:02 +08:00
yunion-ci-robot
63d0637311 Merge pull request #2064 from ioito/hotfix/qx-secgroup-order-by
hotfix: change params from order_by_cache=asc|desc to order_by=cache …
2019-08-01 17:31:03 +08:00
yunion-ci-robot
d3cca7bab1 Merge pull request #2056 from ioito/hotfix/qx-sku-brand
add: add brand field for server-sku-list
2019-08-01 17:00:03 +08:00
yunion-ci-robot
50b9da5fe5 Merge pull request #2048 from ioito/hotfix/qx-glance-image-list
fix: openstack glance image-list not list all images
2019-08-01 16:54:01 +08:00
yunion-ci-robot
2d1eabbff2 Merge pull request #2051 from swordqiu/hotfix/qj-quota-list-adjust-for-non-default-domain-projects
fix: 1. project quota-list not include domain quota 2. do not check
2019-08-01 16:47:02 +08:00
yunion-ci-robot
a688890003 Merge pull request #2072 from wanyaoqi/bugfix/wyq/remove-host-rpm-require
bugfix: remove host rpm require
2019-08-01 16:44:01 +08:00
wanyaoqi
a3cadcad35 remove host rpm requre 2019-08-01 15:51:15 +08:00
yunion-ci-robot
0a56a316e4 Merge pull request #2057 from swordqiu/hotfix/qj-server-list-add-is-prepaid-cycle-field
fix: server-list add is_prepaid_recycle field
2019-08-01 15:20:04 +08:00
ioito
a16d674fc2 fix: zstack create tcp udp secgroup rule error 2019-07-31 22:01:54 +08:00
ioito
9013a4258b hotfix: change params from order_by_cache=asc|desc to order_by=cache & order=asc|desc 2019-07-31 21:41:55 +08:00
Qiu Jian
6af55f9424 fix: server-list add is_prepaid_recycle field 2019-07-31 18:25:07 +08:00
ioito
6c52832361 add: add brand field for server-sku-list 2019-07-31 18:14:20 +08:00
Qiu Jian
5483f19898 fix: 1. project quota-list not include domain quota 2. do not check
conformance between project and domain quota
2019-07-31 17:34:01 +08:00
ioito
09be73daf9 fix: openstack glance image-list not list all images 2019-07-31 17:16:17 +08:00
yunion-ci-robot
9e915526cb Merge pull request #2040 from wanyaoqi/bugfix/wyq/fix-guest-get-host-wire-from-network
bugfix: fix guest get host wire from network
2019-07-31 15:58:00 +08:00
yunion-ci-robot
6c59210904 Merge pull request #2026 from ioito/hotfix/qx-zstack-system-disk
fix: zstack system disk resize
2019-07-31 15:57:00 +08:00
yunion-ci-robot
d4ca446feb Merge pull request #2037 from yousong/feature/yousong-lbagent-auto-influxdburl
Feature/yousong lbagent auto influxdburl
2019-07-31 15:56:00 +08:00
yunion-ci-robot
a946288f2d Merge pull request #2001 from ioito/hotfix/qx-validate-change-config
hotfix: validate resize disk when change config
2019-07-31 15:53:59 +08:00
yunion-ci-robot
95c124ae83 Merge pull request #1982 from ioito/bugfix/qx-rbd-image-resize
fix: rbd image resize not found error
2019-07-31 15:52:58 +08:00
yunion-ci-robot
6dac473d66 Merge pull request #2043 from wanyaoqi/bugfix/wyq/export-key-add-zone
region: guest export keys add zone
2019-07-31 15:51:01 +08:00
wanyaoqi
0eceb6e497 guest export keys add zone 2019-07-31 15:40:54 +08:00
wanyaoqi
df2de88204 fix guest get host wire from network 2019-07-31 14:31:48 +08:00
Yousong Zhou
87da6a3f44 lbagents: details=true时显示cluster的名称 2019-07-31 03:05:32 +00:00
Yousong Zhou
83c29652ff lbagents: 为influxdb_output_url设定默认值 2019-07-31 02:05:38 +00:00
yunion-ci-robot
f5f0df1a55 Merge pull request #2017 from wanyaoqi/bugfix/wyq/fix-list-order-by
bugfix: fix list order by
2019-07-31 02:22:58 +08:00
yunion-ci-robot
289980ec18 Merge pull request #2011 from Zexi/bugfix/capability-regional-network
region capability: fix regional public network not found
2019-07-31 02:20:57 +08:00
yunion-ci-robot
e90b8366ba Merge pull request #2034 from wanyaoqi/bugfix/wyq/fix-telegraf-config
bugfix: remove telegraf config retention_policy
2019-07-30 22:05:59 +08:00
yunion-ci-robot
69038f156b Merge pull request #2029 from ioito/hotfix/qx-storage-driver
fix: avoid region2 panic when update openstack storage
2019-07-30 22:04:57 +08:00
wanyaoqi
e27d55c8a5 remove telegraf config retention_policy 2019-07-30 21:56:12 +08:00
ioito
14e68f11f2 fix: avoid region2 panic when update openstack storage 2019-07-30 20:49:31 +08:00
ioito
60f5a7513e fix: zstack system disk resize 2019-07-30 19:24:05 +08:00
ioito
0e98a0592e fix: rbd image resize not found error 2019-07-30 19:08:01 +08:00
wanyaoqi
dde8ccc4e1 fix list order by 2019-07-30 18:21:02 +08:00
yunion-ci-robot
ab5bd948d5 Merge pull request #2014 from Zexi/bugfix/server-create-input-detach-disk
region: fix server create input params not correct when detach sub resource
2019-07-30 18:14:35 +08:00
Zexi
1e2813d3f7 region: fix server create input params not correct when detach sub resource 2019-07-30 18:03:20 +08:00
Zexi
6ee87a7009 region capability: fix regional public network not found 2019-07-30 17:29:19 +08:00
yunion-ci-robot
17ca6c4281 Merge pull request #2010 from swordqiu/feature/qj-add-pr-tools
feature: add pr tools, approve.sh and comment.sh
2019-07-30 16:56:31 +08:00
yunion-ci-robot
a907a5a3b2 Merge pull request #1986 from swordqiu/hotfix/qj-sysadmin-init-as-system-account
fix: init sysadmin as system user
2019-07-30 16:51:33 +08:00
yunion-ci-robot
94c713c4fb Merge pull request #1978 from swordqiu/hotfix/qj-fix-docs-syntax-error-20190729
fix: post domain quota missing domain_id, post bucket missing resposne body
2019-07-30 16:50:32 +08:00
Qiu Jian
d7b41eaa95 feature: add pr tools, approve.sh and comment.sh 2019-07-30 16:20:49 +08:00
yunion-ci-robot
005b39fd51 Merge pull request #2002 from tb365/bugfix/tb-copyright-climc
copyright update climc fix
2019-07-30 13:58:31 +08:00
yunion-ci-robot
00638816e5 Merge pull request #1994 from tb365/bugfix/tb-huawei-rebuildroot-fix-0729
huawei rebuild root fix
2019-07-30 13:54:31 +08:00
yunion-ci-robot
2fe54e3f57 Merge pull request #2005 from ioito/hotfix/qx-openstack-secgroup-rule-priority
fix: add priority for openstack secgroup rule priority
2019-07-30 12:55:33 +08:00
yunion-ci-robot
468ca5ef5e Merge pull request #1997 from wanyaoqi/feature/wyq/docs-disk
disk host docs
2019-07-30 12:54:32 +08:00
yunion-ci-robot
017e15eaa8 Merge pull request #1998 from swordqiu/hotfix/qj-managed-instance-deploy-publickey
fix: managed instance password not correct when deploy with keypair
2019-07-30 11:53:32 +08:00
ioito
1605e689a8 fix: add priority for openstack secgroup rule priority 2019-07-30 11:45:02 +08:00
yunion-ci-robot
608c7c07e5 Merge pull request #1989 from ioito/hotfix/qx-qcloud-subnet-sync
fix: qcloud reserved first, second and last ip for internal connection
2019-07-30 11:33:31 +08:00
yunion-ci-robot
20ee052c86 Merge pull request #1983 from ioito/bugfix/qx-prepaid-server-create
fix: allow normal user create prepaid resource
2019-07-30 11:31:31 +08:00
TangBin
305b955641 copyright update climc fix 2019-07-30 11:12:27 +08:00
ioito
5712dceb6f hotfix: validate resize disk when change config 2019-07-29 21:49:30 +08:00
wanyaoqi
f9f5753260 host docs 2019-07-29 20:41:00 +08:00
Qiu Jian
5f7a87fab7 fix: managed instance password not correct when deploy with keypair 2019-07-29 20:38:18 +08:00
TangBin
2842208db1 huawei rebuild root fix 2019-07-29 20:35:20 +08:00
ioito
cd0a16a6da fix: qcloud reserved first, second and last ip for internal connection 2019-07-29 20:01:12 +08:00
Qiu Jian
eac0fc61a6 fix: init sysadmin as system user 2019-07-29 17:28:40 +08:00
ioito
d86dc0264a fix: allow normal user create prepaid resource 2019-07-29 16:32:51 +08:00
yunion-ci-robot
ed2804da68 Merge pull request #1979 from wanyaoqi/bugfix/wyq/server-purge
bugfix: fix server purge
2019-07-29 16:32:31 +08:00
wanyaoqi
3f6832c85c fix server purge 2019-07-29 15:13:27 +08:00
Qiu Jian
42ef1d1bdb fix: post domain quota missing domain_id, post bucket missing resposne
body
2019-07-29 14:04:08 +08:00
Jian Qiu
550387cc58 Move cloud drivers from pkg/util to pkg/multicloud (#1976) 2019-07-29 00:24:55 +08:00
yunion-ci-robot
ef22fd7bb6 Merge pull request #1905 from tb365/feature/tb-aws-elb-support
Feature/tb aws elb support
2019-07-28 14:18:29 +08:00
TangBin
e4ef23515f aws elb support 2019-07-28 11:25:54 +08:00
TangBin
976c8cb4d0 huawei elb support 2019-07-28 11:22:49 +08:00
yunion-ci-robot
8e41eab8f9 Merge pull request #1969 from swordqiu/hotfix/qj-server-create-eip-quota-check
fix: server create eip quota check error
2019-07-27 21:28:29 +08:00
yunion-ci-robot
a548459165 Merge pull request #1970 from ioito/hotfix/qx-storage-docs
更新storage api文档
2019-07-27 20:16:28 +08:00
Qiu Jian
bd7a42fe22 fix: server create eip quota check error 2019-07-27 19:43:26 +08:00
ioito
83f16ba080 更新storage api文档 2019-07-27 19:32:25 +08:00
yunion-ci-robot
3d6c2dbf4c Merge pull request #1965 from ioito/hotfix/qx-storage-optimized
支持设置ceph精准超时时间
2019-07-27 18:58:29 +08:00
yunion-ci-robot
930e3b0ba7 Merge pull request #1962 from tb365/feature/tb-copyright-api
add copyright api climc
2019-07-27 18:41:27 +08:00
ioito
2e3df4e99a 支持设置ceph精准超时时间 2019-07-27 18:40:52 +08:00
yunion-ci-robot
d03dc20d6c Merge pull request #1408 from ioito/feature/qx-rds-sync
feature rds sync
2019-07-27 18:31:27 +08:00
wanyaoqi
f7731626be disks api doc 2019-07-27 17:58:41 +08:00
yunion-ci-robot
48929e5f4e Merge pull request #1960 from yousong/bugfix/yousong-yunionconf
yunionconf: 改正启动失败问题
2019-07-27 17:53:28 +08:00
TangBin
ddad21dc10 add copyright api climc 2019-07-27 16:52:12 +08:00
Qiu Jian
fea61697e9 fix: allow turn off non-default domain projects 2019-07-27 15:52:02 +08:00
Yousong Zhou
f570579754 cloudir: 改正启动失败问题
```sh
find pkg -name 'models' | while read d; do
	for f in $d/*.go; do
		case "$f" in
			*/doc.go) ;;
			*/initdb.go) ;;
			pkg/lbagent/models/*) ;;
			*)
				if grep -q 'Manager = ' $f; then
					grep -q 'SetVirtualObject' $f || echo $f
				fi
				;;
		esac
	done
done
```
2019-07-27 07:48:44 +00:00
Yousong Zhou
0f66891af6 treewide: 按照gofmt改代码风格 2019-07-27 05:41:31 +00:00
Yousong Zhou
8848a04e0d modelbase: 若GetIModelManager()不符合预期则panic
便于定位
2019-07-27 05:41:31 +00:00
Yousong Zhou
80b4dba528 yunionconf: 改正启动失败问题 2019-07-27 05:33:13 +00:00
yunion-ci-robot
8ddcfa99dd Merge pull request #1954 from yousong/bugfix/yousong-ansibleserver
ansibleplaybooks: 改正输出溢出时的记录
2019-07-27 09:58:08 +08:00
yunion-ci-robot
6c6aea3b7f Merge pull request #1949 from swordqiu/hotfix/qj-fix-go-vet-issues
fix: go vet issues
2019-07-27 09:15:06 +08:00
Yousong Zhou
b83ea8e55e ansibleplaybooks: 改正输出溢出时的记录 2019-07-27 01:03:02 +00:00
yunion-ci-robot
348f6ac87d Merge pull request #1951 from yousong/bugfix/yousong-ansibleserver
ansibleserver: 按步骤记录输出
2019-07-27 00:35:08 +08:00
yunion-ci-robot
7f09071aa3 Merge pull request #1946 from wanyaoqi/bugfix/wyq/minor-fix0726
bugfix: host and region
2019-07-27 00:31:06 +08:00
yunion-ci-robot
e394ed079c Merge pull request #1942 from tb365/bugfix/tb-huawei-0723
华为 & ucloud fix
2019-07-27 00:27:08 +08:00
Yousong Zhou
e6c3e98a6d ansibleplaybooks: 增量式记录输出 2019-07-26 15:21:15 +00:00
Yousong Zhou
c3e82b9042 pkg: ansible: 支持指定OutputWriter 2019-07-26 15:21:15 +00:00
Yousong Zhou
ab873ef90d ansibleplaybooks: Output字段使用mediumtext 2019-07-26 15:21:15 +00:00
Yousong Zhou
c3733e282b ansibleplaybooks: 改正启动失败问题 2019-07-26 15:21:15 +00:00
yunion-ci-robot
fb1b55180f Merge pull request #1943 from swordqiu/hotfix/qj-update-readme-20190726
更新README
2019-07-26 22:48:07 +08:00
yunion-ci-robot
128ff33bcb Merge pull request #1950 from swordqiu/feature/qj-keystone-reset-admin-user-password
feature: allow keystone reset sysadmin password at boot
2019-07-26 21:34:06 +08:00
Qiu Jian
1cb92b5003 feature: allow keystone reset sysadmin password at boot 2019-07-26 21:28:33 +08:00
Qiu Jian
dfc44bbaae fix: go vet issues 2019-07-26 20:31:40 +08:00
Qiu Jian
1ef9d681c3 更新README 2019-07-26 20:21:47 +08:00
wanyaoqi
bc14ff8e11 bugfix:
- storage cache iso
- guest start on host
2019-07-26 18:42:46 +08:00
yunion-ci-robot
04548e8156 Merge pull request #1939 from yousong/bugfix/yousong-lbbackends-loglines
lbbackends: 若backend guest已删除getVpc返回空且不报错
2019-07-26 18:13:10 +08:00
TangBin
894bac0097 huawei rebuild root fix 2019-07-26 18:08:49 +08:00
TangBin
d6f5099ccc 华为 & ucloud fix 2019-07-26 16:59:04 +08:00
Yousong Zhou
1140e08ac7 lbbackends: 若backend guest已删除getVpc返回空且不报错 2019-07-26 08:51:24 +00:00
yunion-ci-robot
0b4674ac5a Merge pull request #1910 from ioito/hotfix/qx-openstack-image-type
fix: 避免镜像同步到私有云自定义镜像里面
2019-07-26 15:30:07 +08:00
yunion-ci-robot
77a32c6e6b Merge pull request #1932 from yousong/bugfix/yousong-regutils-dns
vendor: update yunion.io/x/pkg
2019-07-26 15:19:06 +08:00
yunion-ci-robot
0fd9aef5fa Merge pull request #1930 from swordqiu/feature/qj-add-readme-en
feature: add readme.md in english
2019-07-26 13:37:07 +08:00
yunion-ci-robot
c87f6014c9 Merge pull request #1927 from swordqiu/hotfix/qj-not-truncate-task-errors
fix: not trauncating task errors
2019-07-26 13:32:11 +08:00
yunion-ci-robot
d69181d060 Merge pull request #1924 from swordqiu/hotfix/qj-server-create-timeout-for-external-image-check
fix: server-create may timeout if external image used
2019-07-26 13:31:11 +08:00
yunion-ci-robot
071a450d53 Merge pull request #1922 from swordqiu/feature/qj-filter-by-many-providers-brands
feature: filter results by multiple providers or brands
2019-07-26 13:30:07 +08:00
yunion-ci-robot
a3d37b45c4 Merge pull request #1931 from yousong/bugfix/yousong-docs
docs: 改进用词、完成TODO
2019-07-26 13:08:06 +08:00
yunion-ci-robot
a8537dc6f9 Merge pull request #1935 from Zexi/bugfix/server-create-params-info
region: fix server create params missing data
2019-07-26 12:54:08 +08:00
Zexi
bc8c06e819 region: fix server create params missing data 2019-07-26 12:39:36 +08:00
yunion-ci-robot
1c1083ad96 Merge pull request #1915 from Zexi/feature/baremetal-ext4-largefile
baremetal: mkfs.ext4 add '-T largefile' option
2019-07-26 12:14:06 +08:00
Yousong Zhou
543bb89a9a vendor: update yunion.io/x/pkg 2019-07-26 03:43:07 +00:00
Yousong Zhou
e2b4dad777 docs: 完成TODO 2019-07-26 03:27:34 +00:00
Yousong Zhou
072e33119d docs: 改进用词 2019-07-26 03:13:44 +00:00
Qiu Jian
b2528969fb feature: add readme.md in english 2019-07-26 00:32:56 +08:00
yunion-ci-robot
8f0e7c8269 Merge pull request #1918 from yousong/bugfix/yousong-lbagent-validation
lbagents: 加强vrrp校验
2019-07-25 22:37:06 +08:00
yunion-ci-robot
cb0d7e5e11 Merge pull request #1921 from yousong/feature/yousong-lbagent-deploy-api
docs: 添加lbagent-deploy API描述
2019-07-25 22:32:05 +08:00
Qiu Jian
c822b036ca fix: not trauncating task errors 2019-07-25 22:19:00 +08:00
Qiu Jian
9a1d60552c fix: server-create may timeout if external image used 2019-07-25 21:24:55 +08:00
Yousong Zhou
b0f443375e docs: ansibleplaybook: 描述对非纳管的目的机器要求 2019-07-25 13:11:32 +00:00
Yousong Zhou
1becfb8ca1 docs: lbagent: 增加参数约束描述 2019-07-25 13:05:08 +00:00
Qiu Jian
67f9790e77 feature: filter results by multiple providers or brands 2019-07-25 20:56:02 +08:00
Yousong Zhou
ba143eff90 docs: 添加lbagent-deploy API描述 2019-07-25 12:54:42 +00:00
Yousong Zhou
5d39fe79cd lbagents: 加强vrrp校验
- 同cluster中的lbagent
   - vrrp virtual_router_id, preempt, pass必须相同
   - vrrp priority必须不同
 - 同zone不同cluster中的lbagent
   - vrrp virtual_router_id必须相同
 - 创建时若不满足以上条件,则创建失败
 - 更新参数时同时更新同cluster的peer lbagents
2019-07-25 10:40:43 +00:00
Zexi
09e1bac510 baremetal: mkfs.ext4 add '-T largefile' option 2019-07-25 17:08:06 +08:00
ioito
78803e43f6 fix: 避免镜像同步到私有云自定义镜像里面 2019-07-25 14:38:05 +08:00
yunion-ci-robot
c88eae5261 Merge pull request #1906 from swordqiu/hotfix/qj-climc-image-public-parameter
fix: climc image-public parameter fix
2019-07-25 14:24:08 +08:00
ioito
0409a63c56 rebase master 2019-07-25 14:24:06 +08:00
yunion-ci-robot
73dd4ad1bf Merge pull request #1902 from swordqiu/hotfix/qj-role-assignment-include-matched-policies
fix: role assignments list should include matched policies
2019-07-25 14:23:07 +08:00
yunion-ci-robot
e508a0e3c6 Merge pull request #1898 from swordqiu/hotfix/qj-networkinterfacenetwork-nil-virtual-object
fix: networkinterfacenetwork set nil virtual object
2019-07-25 14:22:08 +08:00
ioito
70ac1c735f add account privileges sync 2019-07-25 13:53:18 +08:00
ioito
879732bcb8 remove serviceips models 2019-07-25 13:51:42 +08:00
ioito
3ed39768cc support aws rds 2019-07-25 13:51:24 +08:00
ioito
f316d298ad init model 2019-07-25 13:50:51 +08:00
Qiu Jian
658ac1b52f fix: climc image-public parameter fix 2019-07-25 10:14:57 +08:00
Qiu Jian
c18359def4 fix: role assignments list should include matched policies 2019-07-25 02:26:39 +08:00
yunion-ci-robot
90d6adff23 Merge pull request #1900 from ioito/bugfix/qx-netorkinterface-count-sql
修复计算虚拟网卡数量sql错误
2019-07-25 01:14:09 +08:00
屈轩
ebd35cd94c 修复计算虚拟网卡数量sql错误 2019-07-25 00:40:05 +08:00
Qiu Jian
2a0179b8e0 fix: networkinterfacenetwork set nil virtual object 2019-07-25 00:16:25 +08:00
yunion-ci-robot
28840355d6 Merge pull request #1893 from swordqiu/feature/qj-s3gateway
s3gateway revise
2019-07-24 23:42:06 +08:00
Qiu Jian
ae7eb04dcb s3gateway revise 2019-07-24 22:07:15 +08:00
yunion-ci-robot
99117df998 Merge pull request #1891 from yousong/feature/yousong-docs-ansibleplaybook
docs: 添加ansibleplaybook API描述
2019-07-24 22:06:06 +08:00
Yousong Zhou
ed78cf4af7 docs: 添加ansibleplaybook API描述 2019-07-24 14:03:54 +00:00
yunion-ci-robot
70ea91e244 Merge pull request #1769 from swordqiu/feature/qj-s3gateway
feature: s3gateway
2019-07-24 21:36:06 +08:00
Qiu Jian
c00ea1bf2e fix: bug fixes, add docs 2019-07-24 21:29:56 +08:00
Qiu Jian
93b8bac5bb s3gateway round 2 2019-07-24 21:28:41 +08:00
Qiu Jian
870813f04b feature: s3gateway 2019-07-24 21:28:37 +08:00
yunion-ci-robot
79a824e6dc Merge pull request #1773 from ioito/feature/qx-networkinterface-sync
虚拟网卡信息同步
2019-07-24 20:38:07 +08:00
ioito
9fefa312bd add networkinterfaces api docs 2019-07-24 19:46:46 +08:00
ioito
aac4d5bdf5 networks details for networkinterface 2019-07-24 19:46:21 +08:00
ioito
371f8161ac add ucloud interface sync 2019-07-24 19:46:21 +08:00
ioito
4f9ea70487 虚拟网卡信息同步 2019-07-24 19:45:39 +08:00
yunion-ci-robot
58279e36b9 Merge pull request #1890 from ioito/hotfix/qx-secgroup-api-docs
添加安全组api文档
2019-07-24 18:37:05 +08:00
yunion-ci-robot
d5dcbbb6c3 Merge pull request #1824 from Mjoycarry/feature/nat_update
Feature/nat update
2019-07-24 17:57:06 +08:00
Rain
c7d0971dc9 make sure that one snat/dnat rule named Entry and several snat/dnat rules named Table 2019-07-24 17:43:11 +08:00
yunion-ci-robot
2ee947e6ec Merge pull request #1883 from yousong/feature/yousong-docs-lbcluster
docs: 添加lbcluster, lbagent的API描述
2019-07-24 16:53:05 +08:00
ioito
f8515e4e98 添加安全组api文档 2019-07-24 16:10:06 +08:00
yunion-ci-robot
2c9e2bb850 Merge pull request #1885 from swordqiu/hotfix/qj-keystone-ldap-sync-validate
fix: validate info when importing ldap user/group/domain
2019-07-24 16:06:06 +08:00
Qiu Jian
2165560e0a fix: validate info when importing ldap user/group/domain 2019-07-24 15:58:19 +08:00
Yousong Zhou
ffbc73f086 docs: 添加lbcluster, lbagent的API描述 2019-07-24 07:12:11 +00:00
yunion-ci-robot
e28da4e5ff Merge pull request #1880 from swordqiu/hotfix/qj-server-logininfo-inclide-login-key
fix: server-logininfo rpc include login_key
2019-07-24 13:23:06 +08:00
Qiu Jian
2c673a1169 fix: server-logininfo rpc include login_key 2019-07-24 13:13:35 +08:00
yunion-ci-robot
b5a17ad44d Merge pull request #1877 from wanyaoqi/bugfix/wyq/glance-list-share-resource
bugfix fix glance list share resource
2019-07-24 12:05:06 +08:00
wanyaoqi
506005ace3 fix glance list share resource 2019-07-24 11:54:08 +08:00
Rain
7160fbace3 nat update without client
add nat update subcommands for huaweicli, aliyuncli

modify interface name of nat, add comment of this
2019-07-24 10:22:17 +08:00
yunion-ci-robot
6ef1c689a7 Merge pull request #1811 from Mjoycarry/feature/huawei_nat
Feature/huawei nat
2019-07-24 10:19:07 +08:00
yunion-ci-robot
99e1c16d3a Merge pull request #1860 from ioito/hotfix/qx-aws-secgroupids
Hotfix/qx aws secgroupids
2019-07-24 09:36:08 +08:00
yunion-ci-robot
17623b3a6f Merge pull request #1867 from swordqiu/hotfix/qj-bugfix-quota-issues
fix: clear pending_usage when sched_fail
2019-07-24 09:34:07 +08:00
yunion-ci-robot
72bd962e1e Merge pull request #1870 from swordqiu/hotfix/qj-agent-report-version
fix: agent registration will report version
2019-07-24 09:28:04 +08:00
yunion-ci-robot
1d323d2bbc Merge pull request #1872 from swordqiu/hotfix/qj-user-init-nil-extra
fix: keystone user initialization nil pointer error
2019-07-24 09:24:05 +08:00
Qiu Jian
8cf960df7c fix: keystone user initialization hit empty extra 2019-07-24 09:10:18 +08:00
Qiu Jian
78e3eb7908 fix: agent registration will report version 2019-07-24 01:21:23 +08:00
Qiu Jian
927f176d3e fix: clear pending-delete when sched_fail 2019-07-23 23:41:47 +08:00
yunion-ci-robot
7be5360040 Merge pull request #1857 from swordqiu/hotfix/qj-esxi-change-instance-type-fail
fix: esxi change instanceType failed as ChangeConfig2 not implemented
2019-07-23 22:13:07 +08:00
ioito
81e94b11a4 避免重复设置同一vpc底下不同安全组externalId 2019-07-23 21:53:14 +08:00
yunion-ci-robot
1ac079fbda Merge pull request #1840 from ioito/hotfix/qx-guest-detach-disk
卸载磁盘时忽略云上磁盘已经被删除的错误
2019-07-23 21:16:04 +08:00
Qiu Jian
e36460d6cb fix: esxi change instanceType failed as ChangeConfig2 not implemented 2019-07-23 21:10:49 +08:00
yunion-ci-robot
03fb04a97d Merge pull request #1852 from wanyaoqi/bugfix/wyq/minor-fix0723
bugfix: fix baremetal attach network
2019-07-23 21:04:05 +08:00
ioito
670b055efc 添加同步安全组日志 2019-07-23 21:02:52 +08:00
屈轩
8b278cdea9 Merge branch 'master' into hotfix/qx-guest-detach-disk 2019-07-23 20:28:06 +08:00
yunion-ci-robot
9603a907f0 Merge pull request #1829 from ioito/hotfix/qx-azure-image-refresh
避免cacheimage refresh时同步azure镜像信息异常
2019-07-23 18:42:05 +08:00
屈轩
4485e3bb4c Merge branch 'master' into hotfix/qx-guest-detach-disk 2019-07-23 18:34:47 +08:00
ioito
649a734def 卸载磁盘时忽略云上磁盘已经被删除的错误 2019-07-23 18:26:21 +08:00
wanyaoqi
a45773f1e5 fix baremetal attach network 2019-07-23 18:16:30 +08:00
yunion-ci-robot
b7893a00b1 Merge pull request #1843 from wanyaoqi/bugfix/wyq/minor-fix0723
bugfix: baremetal import , guest panic notify
2019-07-23 16:23:04 +08:00
wanyaoqi
f6a82d5046 bugfix: baremetal import , guest panic notify
- reset baremetal access ip on baremetal rebuild
- add guest panic notify template
2019-07-23 16:13:07 +08:00
yunion-ci-robot
16dadd2404 Merge pull request #1837 from wanyaoqi/bugfix/wyq/fix-check-quota-guest-change-config
bugfix: fix guest check quota on change config
2019-07-23 12:05:04 +08:00
yunion-ci-robot
fcd5a7309f Merge pull request #1832 from ioito/hotfix/qx-cloud-account-sync
避免因cloudprovider disable导致账号同步失效
2019-07-23 12:02:04 +08:00
yunion-ci-robot
ba071e0d1b Merge pull request #1820 from ioito/hotfix/qx-openstack-volume-error
仅忽略 no such service错误,否则以最新api结果为准
2019-07-23 11:58:05 +08:00
ioito
c2151bb00d 避免因cloudprovider disable导致账号同步失效 2019-07-22 20:01:22 +08:00
wanyaoqi
5ab7635283 fix guest check quota on change config 2019-07-22 18:23:32 +08:00
ioito
37bfe1cef4 避免cacheimage refresh时同步azure镜像信息异常 2019-07-22 11:57:23 +08:00
yunion-ci-robot
c149ea2115 Merge pull request #1815 from swordqiu/hotfix/qj-imaage-standard-field
fix: image add is_standard field, filter by is_standard=false|true
2019-07-22 10:04:05 +08:00
yunion-ci-robot
32e9a9fad7 Merge pull request #1823 from swordqiu/hotfix/qj-virtualized-host-node-count-one
fix: node count for a virtualized host is always 1
2019-07-20 22:32:04 +08:00
Qiu Jian
9de59c66c6 fix: node count for a virtualized host is always 1 2019-07-20 18:34:22 +08:00
Zexi Li
eb8c7d1da3 Merge pull request #1822 from Zexi/feature/modify-readme
README: change architecture image
2019-07-20 15:22:25 +08:00
Zexi
955a6eabae README: change architecture image 2019-07-20 15:19:44 +08:00
yunion-ci-robot
63a9e89e05 Merge pull request #1689 from wanyaoqi/feature/wyq/auto-create-subnet
feature: auto create subnet on host register
2019-07-20 13:32:04 +08:00
yunion-ci-robot
0b641901be Merge pull request #1821 from Zexi/feature/modify-readme
Add README details
2019-07-20 13:27:02 +08:00
Zexi
fe5f2add1b Add README details 2019-07-20 12:59:29 +08:00
ioito
1f8bb67e24 仅忽略 no such service错误,否则以最新api结果为准 2019-07-19 17:34:10 +08:00
yunion-ci-robot
f4aaa159ca Merge pull request #1801 from tb365/feature/tb-ucloud-bugfix
ucloud bugfix
2019-07-19 15:40:06 +08:00
TangBin
12d4a2f0d0 ucloud bugfix 2019-07-19 15:32:16 +08:00
wanyaoqi
8684ba29b0 auto create subnet on host register 2019-07-19 15:26:46 +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
yunion-ci-robot
ca18d24ee3 Merge pull request #1812 from wanyaoqi/bugfix/wyq/host-reload-telegraf
bugfix: host reload telegraf
2019-07-19 11:39:03 +08:00
wanyaoqi
f9ae28d7aa host reload telegraf 2019-07-19 11:33:17 +08:00
yunion-ci-robot
419343a1d1 Merge pull request #1808 from Zexi/hotfix/private-cloud-cpu-mem-filter
scheduler: esxi and zstack hypervisor do cpu and memory filter
2019-07-19 00:49:03 +08:00
yunion-ci-robot
f3807bd1e9 Merge pull request #1805 from ioito/hotfix/qx-openstack-storage
允许更改openstack存储容量
2019-07-19 00:43:02 +08:00
Rain
94c9859228 support sync and list natgateway, snat table and dnat table 2019-07-18 20:47:16 +08:00
Rain
666def70cc huawei nat list finish without testing 2019-07-18 20:45:17 +08:00
Zexi
87f1409269 scheduler: esxi and zstack hypervisor do cpu and memory filter 2019-07-18 20:24:31 +08:00
ioito
b7c1f52166 允许更改openstack存储容量 2019-07-18 19:42:34 +08:00
yunion-ci-robot
9732019063 Merge pull request #1792 from ioito/hotfix/qx-sku-optimized
优化套餐启用禁用
2019-07-18 15:45:59 +08:00
yunion-ci-robot
188091e945 Merge pull request #1761 from ioito/hotfix/qx-elb-eip-sync
添加lb eip同步
2019-07-18 15:43:58 +08:00
yunion-ci-robot
323bb6cdd0 Merge pull request #1796 from ioito/hotfix/qx-openstack-disk-create-timeout
提高openstack创建windows机器成功率
2019-07-18 15:38:59 +08:00
ioito
a8383bd11c 提高openstack创建windows机器成功率 2019-07-18 15:02:40 +08:00
ioito
5b3a5719bf 优化套餐启用禁用 2019-07-18 14:30:58 +08:00
yunion-ci-robot
a2e686e42e Merge pull request #1789 from swordqiu/hotfix/qj-server-change-owner-with-disks
fix: server change owner did not change disk's owner
2019-07-18 14:18:00 +08:00
yunion-ci-robot
cd9a27f08a Merge pull request #1758 from Mjoycarry/feature/huawei_routetable_sync
huawei cloud vpc route table list and sync finished; huaweicli routet…
2019-07-18 14:16:59 +08:00
yunion-ci-robot
1ac738edd9 Merge pull request #1775 from Mjoycarry/feature/dlv_debug
support remote debug component through delve if set DLV variable when…
2019-07-18 14:10:58 +08:00
yunion-ci-robot
a6286ff3b3 Merge pull request #1786 from wanyaoqi/bugfix/wyq/minor-fix0718
region: disk reset set server status
2019-07-18 14:09:58 +08:00
Qiu Jian
f966aecf51 fix: server change owner did not change disk's owner 2019-07-18 14:01:54 +08:00
wanyaoqi
9ebde80daa disk reset set server status 2019-07-18 11:33:06 +08:00
Zexi Li
e9395f1dcd Merge pull request #1783 from Zexi/hotfix/glance-duplicate-db-init
glance: fix duplicate data for node db_stats
2019-07-18 10:47:32 +08:00
Zexi
562240120c glance: fix duplicate data for node db_stats 2019-07-18 10:44:46 +08:00
yunion-ci-robot
d7d9a374e0 Merge pull request #1779 from Zexi/bugfix/baremetal-msdos-primary-part-not-resize
baremetal: fix msdos last primary partition not resized
2019-07-17 22:15:59 +08:00
Zexi
46e0402d06 baremetal: fix msdos last primary partition not resized 2019-07-17 22:06:17 +08:00
yunion-ci-robot
94bc553287 Merge pull request #1776 from swordqiu/hotfix/qj-allow-access-mcclient-service-catalog
fix: allow access mcclient serviceCatalog
2019-07-17 21:29:58 +08:00
yunion-ci-robot
17f5b17022 Merge pull request #1766 from swordqiu/hotfix/qj-allow-create-prepaid-server
fix: allow project creating prepaid servers
2019-07-17 21:29:01 +08:00
Qiu Jian
b7c157e9ec fix: allow access mcclient serviceCatalog 2019-07-17 21:12:12 +08:00
yunion-ci-robot
4791a042a7 Merge pull request #1756 from Zexi/feature/server-order-by-account
region: server order by account and remove models stale comments
2019-07-17 21:09:57 +08:00
yunion-ci-robot
47b931eabb Merge pull request #1745 from wanyaoqi/bugfix/wyq/fix-deploy-network-routes
bugfix:fix deploy network with routes
2019-07-17 21:02:59 +08:00
ioito
779b295edd 添加lb eip同步 2019-07-17 20:59:45 +08:00
Rain
d5b0ed5ea5 support remote debug component through delve if set DLV variable when make 2019-07-17 20:37:18 +08:00
yunion-ci-robot
c688a6d14f Merge pull request #1569 from ioito/hotfix/qx-sku-fix
fix sku PropertyInstanceSpecs
2019-07-17 18:19:57 +08:00
yunion-ci-robot
46794fc43f Merge pull request #1744 from Zexi/feature/service-pprof
pprof: integrate pprof into appsrv framework
2019-07-17 14:05:58 +08:00
Zexi
847f177bfb pprof: integrate pprof into appsrv framework 2019-07-17 14:02:29 +08:00
yunion-ci-robot
3299dcae6f Merge pull request #1770 from Zexi/feature/scheduler-resource-matched
scheduler: schedtag predicate match resources then do filter
2019-07-17 13:47:58 +08:00
yunion-ci-robot
8e79a8adbe Merge pull request #1763 from Zexi/feature/service-db-sync-exist
Feature/service db sync exist
2019-07-17 13:45:59 +08:00
Zexi
c40815f71d scheduler: schedtag predicate match resources then do filter 2019-07-17 13:18:43 +08:00
Qiu Jian
ca3ee4b7f3 fix: allow project creating prepaid servers 2019-07-16 19:41:36 +08:00
Zexi
78975cda56 db: app service support --exit-after-db-init 2019-07-16 19:11:50 +08:00
Zexi
81ce05e391 service db init sync exit 2019-07-16 18:46:46 +08:00
ioito
4903bf99a1 fix sku PropertyInstanceSpecs 2019-07-16 17:14:27 +08:00
yunion-ci-robot
97fdb03cd1 Merge pull request #1753 from Zexi/bugfix/capability-host-spec
region: fix baremetal specs not found when domain_id specify
2019-07-16 16:58:57 +08:00
Rain
2e2376032f huawei cloud vpc route table list and sync finished; huaweicli routetable-list finished 2019-07-16 16:31:43 +08:00
Zexi
f36a172802 region: server order by account and remove models stale comments 2019-07-16 16:10:10 +08:00
yunion-ci-robot
1e79200167 Merge pull request #1735 from wanyaoqi/bugfix/wyq/add-verify-storage-mountpoint
region: add verify storage mount point
2019-07-16 12:52:58 +08:00
wanyaoqi
6dbdcdd710 add verify storage mount point 2019-07-16 11:31:41 +08:00
wanyaoqi
ad814ab709 fix deploy network with routes 2019-07-16 11:10:13 +08:00
Zexi
0309bf0c5a region: fix baremetal specs not found when domain_id specify 2019-07-16 11:10:06 +08:00
yunion-ci-robot
c285b096ce Merge pull request #1717 from Zexi/feature/rpm-systemd-unit
host 相关的 rpm 包自动添加 systemd unit service 文件
2019-07-16 11:06:56 +08:00
Zexi
66a492e99c host 相关的 rpm 包自动添加 systemd unit service 文件 2019-07-16 10:15:05 +08:00
yunion-ci-robot
9a1838d7fc Merge pull request #1738 from wanyaoqi/bugfix/wyq/host-listen-before-register
bugfix: host listen before register
2019-07-15 23:48:00 +08:00
yunion-ci-robot
d9c1329a4f Merge pull request #1748 from swordqiu/hotfix/qj-server-change-ipaddr-silient-error
fix: server-change-ipaddr may ignore errors when changing ipaddr
2019-07-15 23:37:00 +08:00
Qiu Jian
c8f17ac392 fix: server-change-ipaddr may ignore errors when changing ipaddr 2019-07-15 22:54:40 +08:00
yunion-ci-robot
edb1de5072 Merge pull request #1732 from yousong/bugfix/yousong-lb-weakref-bg
lb: 将lb.backendgroup视为弱引用
2019-07-15 22:16:58 +08:00
yunion-ci-robot
aed5e4cd58 Merge pull request #1741 from ioito/hotfix/qx-mark-cloudproviderregions-status
避免设置disable的cloudproviderregion状态
2019-07-15 21:36:59 +08:00
ioito
568e6ae387 避免设置disable的cloudproviderregion状态 2019-07-15 16:33:16 +08:00
wanyaoqi
f55480027e host listen before register 2019-07-15 15:58:46 +08:00
Yousong Zhou
2c12bff298 lb: 将lb.backendgroup视为弱引用 2019-07-15 04:58:30 +00:00
yunion-ci-robot
065334e3f4 Merge pull request #1729 from yousong/bugfix/yousong-circlecie
.circleci: 改进test执行
2019-07-15 12:40:59 +08:00
Yousong Zhou
50a9bd8360 .circleci: 改进test执行
避免go test执行两次

避免因push到codecov失败造成测试失败

  1457 @@ -10576,5 +10576,33 @@ yunion.io/x/onecloud/pkg/webconsole/comm
  1458  yunion.io/x/onecloud/pkg/webconsole/command/ssh_command.go:147:                        GetData
  1459  yunion.io/x/onecloud/pkg/webconsole/command/ssh_command.go:164:                        ShowInf
  1460  total:                                                                         (statements)
  1461 -Push /tmp/coverage.8mKa1lRFeG/profile.out to codecov.io^M
  1462 -Exited with code 7
  1463 \ No newline at end of file
  1464 +Push /tmp/coverage.GrWO8OlTrX/profile.out to codecov.io^M
  1465 +^M
  1466 +  _____          _^M
  1467 + / ____|        | |^M
  1468 +| |     ___   __| | ___  ___ _____   __^M
  1469 +| |    / _ \ / _` |/ _ \/ __/ _ \ \ / /^M
  1470 +| |___| (_) | (_| |  __/ (_| (_) \ V /^M
  1471 + \_____\___/ \__,_|\___|\___\___/ \_/^M
  1472 +                              Bash-8a28df4^M
  1473 +^M
  1474 +^M
  1475 +==> Circle CI detected.^M
  1476 +    project root: .^M
  1477 +--> token set from env^M
  1478 +    Yaml found at: vendor/github.com/gin-gonic/gin/codecov.yml^M
  1479 +    -> Found 1 reports^M
  1480 +==> Detecting git/mercurial file structure^M
  1481 +==> Reading reports^M
  1482 +    + /tmp/coverage.GrWO8OlTrX/profile.out bytes=2221509^M
2019-07-15 03:42:46 +00:00
yunion-ci-robot
778b0de653 Merge pull request #1721 from swordqiu/hotfix/qj-keystone-ldap-sync-remove-sql-user
fix: ldap sync domain may remove local usrs
2019-07-15 10:40:57 +08:00
yunion-ci-robot
a8f830568e Merge pull request #1724 from ioito/bugfix/qx-backend-purge
修复purge backend野指针引用问题
2019-07-15 10:34:56 +08:00
ioito
83e8203af0 修复purge backend野指针引用问题 2019-07-15 10:17:10 +08:00
yunion-ci-robot
c5d6f425e1 Merge pull request #1718 from Zexi/feature/scheduler-forecast-info
scheduler: optimize forecast filter info
2019-07-15 09:23:59 +08:00
Zexi
9bc81fe94c scheduler: optimize forecast filter info 2019-07-15 09:15:25 +08:00
Qiu Jian
ffae2ad7db fix: ldap sync domain may remove local usrs 2019-07-15 08:28:02 +08:00
yunion-ci-robot
7b1a4f2c94 Merge pull request #1706 from yousong/bugfix/yousong-lbagent-deploy
lbagent: 改进部署
2019-07-13 20:15:00 +08:00
yunion-ci-robot
7fed264125 Merge pull request #1714 from wanyaoqi/bugfix/wyq/fix-disk-create-from-snapshot
bugfix: fix  disk create from snapshot
2019-07-13 19:23:58 +08:00
wanyaoqi
7d3577c2f0 fix disk create from snapshot 2019-07-13 19:12:53 +08:00
yunion-ci-robot
03ebf00e3f Merge pull request #1709 from ioito/hotfix/qx-fix-sync-log
fix console log
2019-07-13 17:39:01 +08:00
ioito
1b258a9b5b fix console log 2019-07-13 14:43:52 +08:00
Yousong Zhou
e86db7084e lbagent: deploy: 部署结束重启服务 2019-07-13 05:15:54 +00:00
Yousong Zhou
d822f34d55 lbagent: deploy: 仓库配置文件默认sslverify=0 2019-07-13 05:15:54 +00:00
yunion-ci-robot
633a949002 Merge pull request #1696 from ioito/hotfix/qx-zstack-host-local-storage
补充zstack宿主机本地存储
2019-07-12 14:43:57 +08:00
yunion-ci-robot
5401a4e70c Merge pull request #1690 from swordqiu/hotfix/qj-keystone-invalid-old-password
fix: invalid old password
2019-07-12 14:43:00 +08:00
yunion-ci-robot
22074541b0 Merge pull request #1699 from ioito/hotfix/qx-secgroup-rule-sort
同优先级规则deny优先于allow规则生效
2019-07-12 11:59:57 +08:00
ioito
2b818734c1 同优先级规则deny优先于allow规则生效 2019-07-12 11:31:16 +08:00
ioito
a82ac799f0 补充zstack宿主机本地存储 2019-07-12 10:37:27 +08:00
yunion-ci-robot
9921c4e5a2 Merge pull request #1681 from ioito/hotfix/qx-host-storage-usable
宿主机存储利用率仅计算本地存储
2019-07-12 09:06:56 +08:00
yunion-ci-robot
3d95bbac9b Merge pull request #1693 from wanyaoqi/bugfix/wyq/fix-host-register
bugfix: fix host register
2019-07-12 00:25:56 +08:00
wanyaoqi
5cf6cace6a fix host register: 2019-07-12 00:12:38 +08:00
Qiu Jian
e1df59fd93 fix: invalid old password 2019-07-11 23:57:14 +08:00
yunion-ci-robot
a2d0075b22 Merge pull request #1686 from swordqiu/hotfix/qj-notify-with-brand
fix: notify message use brand insteand of hypervisor
2019-07-11 19:57:57 +08:00
yunion-ci-robot
4fa91e0c62 Merge pull request #1676 from ioito/hotfix/qx-rebuild-root-lose-account-issue
避免重装系统时绑定秘钥后没有account信息
2019-07-11 18:29:55 +08:00
Qiu Jian
b799682ac2 fix: notify message use brand insteand of hypervisor 2019-07-11 18:24:26 +08:00
ioito
51fcc9e5d8 宿主机存储利用率仅计算本地存储 2019-07-11 17:16:21 +08:00
ioito
587953fade 避免重装系统时绑定秘钥后没有account信息 2019-07-11 16:53:08 +08:00
yunion-ci-robot
63e645c377 Merge pull request #1672 from ioito/hotfix/wyq-grpc-fix
fix grpc client timeout
2019-07-11 13:46:57 +08:00
ioito
79227e2a8b fix grpc client timeout 2019-07-11 13:41:06 +08:00
yunion-ci-robot
9dcbefe9e8 Merge pull request #1667 from swordqiu/hotfix/qj-fix-task-user-cred-utf8-encode
fix: task usercred should be utf8 charset
2019-07-11 12:16:56 +08:00
Qiu Jian
5a272fd330 fix: task usercred should be utf8 charset 2019-07-11 12:07:22 +08:00
yunion-ci-robot
c91fbf2491 Merge pull request #1662 from wanyaoqi/bugfix/wyq/fix-baremetal-init-fsdriver
bugfix: baremetal init fsdriver
2019-07-11 12:02:55 +08:00
wanyaoqi
49287d8070 baremetal init fsdriver 2019-07-11 11:19:47 +08:00
Jian Qiu
a172c1c37d fix: add all ports usage (#1659)
* fix: add all ports usage

* fix: action log project-domain charset is not utf8
2019-07-11 08:57:34 +08:00
yunion-ci-robot
34fe8dc3d2 Merge pull request #1654 from ioito/hotfix/qx-qcloud-eip-bind
fix qcloud associate eip timeout after bind
2019-07-11 08:44:56 +08:00
ioito
c125e602ea fix qcloud associate eip timeout after bind 2019-07-10 21:01:31 +08:00
yunion-ci-robot
44f158a4a4 Merge pull request #1649 from tb365/feature/tb-add-rpc-global-settings-dictionary
add rpc-global-settings
2019-07-10 20:57:55 +08:00
yunion-ci-robot
a274162734 Merge pull request #1603 from wanyaoqi/feature/wyq/storage-agent
host deploy agent
2019-07-10 20:55:55 +08:00
TangBin
aa7f085ce3 make fmt 2019-07-10 20:54:37 +08:00
yunion-ci-robot
044a6f5389 Merge pull request #1641 from ioito/hotfix/qx-qcloud-error
统一处理ResourceNotFound返回id not find
2019-07-10 20:44:57 +08:00
yunion-ci-robot
fb5e8f8320 Merge pull request #1638 from ioito/hotfix/qx-guest-delete
避免无限删除guest失败
2019-07-10 20:42:57 +08:00
wanyaoqi
dc4b791f7e add build file 2019-07-10 20:12:20 +08:00
TangBin
517e47082a add rpc-global-settings-dictionary 2019-07-10 19:51:07 +08:00
wanyaoqi
3acf030fef - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 18:31:40 +08:00
ioito
990faeafc4 统一处理ResourceNotFound返回id not find 2019-07-10 15:29:34 +08:00
ioito
0b0cddd2be 避免无限删除guest失败 2019-07-10 15:17:21 +08:00
yunion-ci-robot
6abe2a64b3 Merge pull request #1635 from swordqiu/hotfix/qj-prevent-quota-list-timeout
fix: possible reduce timeout for quota list
2019-07-10 11:54:54 +08:00
Qiu Jian
c56e6c32e7 fix: disk quota usage should exclude pending_deleted disks 2019-07-10 00:09:40 +08:00
Qiu Jian
971a592b09 fix: possible reduce timeout for quota list 2019-07-09 23:36:06 +08:00
Jian Qiu
06573f0fc8 fix: domain usage is overriden by project usage (#1624) 2019-07-09 23:24:01 +08:00
yunion-ci-robot
a1b8e91dca Merge pull request #1626 from ioito/hotfix/qx-metadata-permission
metadata permission
2019-07-09 23:22:56 +08:00
yunion-ci-robot
c99f0208ad Merge pull request #1622 from ioito/hotfix/qx-network-filter
兼容zone及usable参数
2019-07-09 23:05:56 +08:00
ioito
7c694b17d3 metadata permission 2019-07-09 22:43:33 +08:00
ioito
52bd9525f3 兼容zone及usable参数 2019-07-09 17:36:40 +08:00
yunion-ci-robot
0f0a0902bc Merge pull request #1604 from ioito/hotfix/qx-sched-start-task-register
register sched-start-guest task
2019-07-09 17:29:58 +08:00
yunion-ci-robot
1bfb349b67 Merge pull request #1602 from ioito/hotfix/qx-task-fail
add task failed code
2019-07-09 17:26:56 +08:00
yunion-ci-robot
b250d2a828 Merge pull request #1605 from ioito/bugfix/qx-clone-rbd-image
fix clone rbd image error
2019-07-09 17:20:55 +08:00
yunion-ci-robot
dc15ba76f6 Merge pull request #1619 from swordqiu/hotfix/qj-add-default-network-priviliges
Hotfix/qj add default network priviliges
2019-07-09 17:17:57 +08:00
yunion-ci-robot
7ae91bfd08 Merge pull request #1616 from zhasm/feature/rex-add-zstackcli-build-desc
+ zstack build desc file
2019-07-09 17:15:55 +08:00
Qiu Jian
e1eae840c2 add usage debug 2019-07-09 17:11:11 +08:00
Zhang Dongliang
9a1583e9ef + zstack build desc file 2019-07-09 16:47:05 +08:00
Qiu Jian
133c721f02 fix: add default network project privileges 2019-07-09 14:59:19 +08:00
ioito
409db8353a fix clone rbd image error 2019-07-09 10:35:31 +08:00
ioito
2aebe470ea register sched-start-guest task 2019-07-09 10:24:35 +08:00
yunion-ci-robot
c7efe345b7 Merge pull request #1599 from ioito/hotfix/qx-zstack-imagecache
fix max session login issue
2019-07-08 21:42:54 +08:00
ioito
12792083ff add task failed code 2019-07-08 17:33:10 +08:00
ioito
6acc24e20a fix max session login issue 2019-07-08 16:25:03 +08:00
yunion-ci-robot
698bb1cdd4 Merge pull request #1596 from ioito/hotfix/qx-windows-account
私有云或公有云镜像windows默认用户名都是Administrator
2019-07-07 19:08:58 +08:00
ioito
f82efee910 私有云或公有云镜像windows默认用户名都是Administrator 2019-07-07 18:43:54 +08:00
Jian Qiu
40c33a3f97 fix: image quota rpc support action and cascade params (#1593) 2019-07-06 23:53:36 +08:00
yunion-ci-robot
7de7cf24f3 Merge pull request #1568 from ioito/hotfix/qx-tenant-cache
fix cache domain tenants
2019-07-06 17:18:55 +08:00
yunion-ci-robot
d051b68306 Merge pull request #1584 from ioito/hotfix/qx-sku-validate
fix create server sku not found error
2019-07-06 16:58:55 +08:00
屈轩
f5187254c7 Merge branch 'master' into hotfix/qx-sku-validate 2019-07-06 16:54:51 +08:00
ioito
59871ed340 fix create server sku not found error 2019-07-06 16:49:51 +08:00
Jian Qiu
b08dd390e5 fix: quota encode json allowing zero value (#1570) 2019-07-05 23:03:28 +08:00
yunion-ci-robot
59a96bc444 Merge pull request #1573 from ioito/hotfix/qx-network-usable-filter
add usable filter for network
2019-07-05 23:02:53 +08:00
yunion-ci-robot
29a33eccc6 Merge pull request #1551 from ioito/hotfix/qx-metata-filter
Hotfix/qx metadata filter
2019-07-05 22:44:57 +08:00
yunion-ci-robot
8a20ea6acb Merge pull request #1563 from ioito/hotfix/qx-deploy-failed-log
add deploy failed action log
2019-07-05 22:27:53 +08:00
yunion-ci-robot
9a5dddff49 Merge pull request #1543 from ioito/hotfix/qx-attach-detach-disk
修复并发请求挂载卸载磁盘异常问题
2019-07-05 22:25:03 +08:00
yunion-ci-robot
7c113b8a3c Merge pull request #1550 from ioito/hotfix/qx-aliyun-account-purge-fix
fix purge aliyun account error by lbbg
2019-07-05 22:19:57 +08:00
ioito
50a30bf4ba add usable filter for network 2019-07-05 18:44:17 +08:00
ioito
856420f675 fix cache domain tenants 2019-07-05 16:32:57 +08:00
ioito
56155776de add deploy failed action log 2019-07-05 14:15:30 +08:00
屈轩
42b777682e Merge branch 'master' into hotfix/qx-metata-filter 2019-07-05 10:42:09 +08:00
ioito
c13b4803c4 optimized tag filter 2019-07-05 10:23:20 +08:00
yunion-ci-robot
e86140f2d9 Merge pull request #1544 from swordqiu/hotfix/qj-add-tenant-disk-usage
fix: add disk usage for domain and project
2019-07-05 10:16:54 +08:00
yunion-ci-robot
615f1fdfb2 Merge pull request #1552 from swordqiu/hotfix/qj-quota-replace-action
1. allow replace set quota when action=replace
2019-07-05 10:14:53 +08:00
yunion-ci-robot
dc4e577173 Merge pull request #1540 from swordqiu/feature/qj-user-filter-by-role
fix: user filter by role
2019-07-05 10:12:53 +08:00
yunion-ci-robot
165fce0b8e Merge pull request #1547 from ioito/hotfix/qx-azure-disk-reset
add azure disk reset func
2019-07-04 23:55:57 +08:00
Qiu Jian
b02214bb25 1. allow replace set quota when action=replace
2. show when the project external resource was fetched
2019-07-04 23:32:10 +08:00
ioito
895328879c fix purge aliyun account error by lbbg 2019-07-04 21:08:24 +08:00
Qiu Jian
b7ac5ace13 add nics usage 2019-07-04 20:50:00 +08:00
ioito
3f768772e9 add azure disk reset func 2019-07-04 20:01:17 +08:00
Qiu Jian
369d7cba11 fix: add disk usage for domain and project 2019-07-04 18:04:03 +08:00
ioito
668c8bd921 fix not set guest status after attach or detach disk 2019-07-04 15:42:47 +08:00
yunion-ci-robot
2d0e6bd763 Merge pull request #1507 from ioito/hotfix/qx-sku-filter-by-provider
fix sku filter by usable
2019-07-04 15:34:52 +08:00
Qiu Jian
5980430603 fix: user filter by role 2019-07-04 15:22:58 +08:00
ioito
09d1833ee6 add without_user_meta filter 2019-07-04 14:29:11 +08:00
yunion-ci-robot
50e00a1bfc Merge pull request #1517 from yousong/feature/yousong-build
.circleci: save go cache
2019-07-04 11:42:52 +08:00
yunion-ci-robot
ecc65fa2b0 Merge pull request #1537 from swordqiu/hotfix/qj-add-ldapcli-rpm
add ldapcli rpm
2019-07-04 10:29:54 +08:00
Qiu Jian
6040dce704 add ldapcli rpm 2019-07-04 10:06:03 +08:00
yunion-ci-robot
31af6fe0cf Merge pull request #1534 from swordqiu/hotfix/qj-misc-bugfix-20190703
fix: 1. token add projects when no project specified 2.
2019-07-04 10:01:52 +08:00
yunion-ci-robot
9aee7bf890 Merge pull request #1529 from ioito/hotfix/qx-save-image
fix create image with userCred issue
2019-07-03 23:21:54 +08:00
yunion-ci-robot
a875b9d917 Merge pull request #1524 from ioito/hotfix/qx-azure-subnet
fix azure reserved ips
2019-07-03 23:04:56 +08:00
yunion-ci-robot
2657ca416e Merge pull request #1523 from Zexi/feature/k8s-on-private-hypervisors
climc: deploy k8s cluster on kinds of hypervisor
2019-07-03 22:59:52 +08:00
Qiu Jian
f34c8255f2 fix: 1. token add projects when no project specified 2.
IVirtualResourceManager add GetResourceCount() method 3. domainId not
initialized occasionally
2019-07-03 22:38:33 +08:00
Yousong Zhou
9896ac1bec .circleci: build: save go cache 2019-07-03 13:37:23 +00:00
ioito
77e237d103 fix create image with userCred issue 2019-07-03 20:48:19 +08:00
yunion-ci-robot
61cd29e7cf Merge pull request #1520 from ioito/hotfix/qx-zstack-cloudinit
zstack using shell to init image password
2019-07-03 20:16:52 +08:00
ioito
7724a354ac fix azure reserved ips 2019-07-03 20:07:44 +08:00
Zexi
74d55a1160 climc: deploy k8s cluster on kinds of hypervisor 2019-07-03 19:58:01 +08:00
yunion-ci-robot
62621d461d Merge pull request #1509 from yousong/bugfix/yousong-ansibleserver
pkg: ansible: 改正文件内容写入路径
2019-07-03 18:09:54 +08:00
yunion-ci-robot
bc467c32aa Merge pull request #1512 from wanyaoqi/bugfix/wyq/fix-request-timeout
fix image download timeout
2019-07-03 18:06:56 +08:00
yunion-ci-robot
f5c22fe698 Merge pull request #1503 from ioito/hotfix/qx-cloud-init-lock-password
fix cloud-init lock root login issue
2019-07-03 17:43:54 +08:00
wanyaoqi
6fe2a6938f fix image download timout 2019-07-03 17:28:32 +08:00
Yousong Zhou
a07f3205cc pkg: ansible: 改正文件内容写入路径
模板不会在files/目录下寻找

Fixes: 5ec150e7a9 ("pkg: ansible: 添加文件内容支持")
2019-07-03 09:24:26 +00:00
ioito
92286fc759 fix sku filter by usable 2019-07-03 16:40:57 +08:00
ioito
d3c43fd922 fix cloud-init lock root login issue 2019-07-03 15:41:43 +08:00
yunion-ci-robot
2f7086e17b Merge pull request #1479 from ioito/hotfix/qx-openstack-host-storages
fix sync openstack hoststorages issue
2019-07-03 08:33:52 +08:00
yunion-ci-robot
5cfaf4eae2 Merge pull request #1486 from ioito/hotfix/qx-azure-set-secgroup
fix azure set secgroup error
2019-07-03 08:27:52 +08:00
yunion-ci-robot
e91a35fc0c Merge pull request #1500 from yousong/bugfix/yousong-go-mod
build: mod: 兼容bsd sed
2019-07-03 00:38:51 +08:00
Yousong Zhou
4d62bd432d build: mod: 兼容bsd sed 2019-07-02 14:25:54 +00:00
yunion-ci-robot
b1994f25f9 Merge pull request #1495 from wanyaoqi/bugfix/wyq/fix-export-keys
fix export data
2019-07-02 22:08:52 +08:00
wanyaoqi
32c2a5d613 fix export data 2019-07-02 22:02:06 +08:00
ioito
4ad3caa8a4 fix azure set secgroup error 2019-07-02 21:21:38 +08:00
ioito
3dea770f34 zstack using shell to init image password 2019-07-02 20:39:07 +08:00
yunion-ci-robot
d771686d64 Merge pull request #1484 from Zexi/bugfix/scheduler-network-setcapacity
scheduler: fix network schedtag not set capacity
2019-07-02 20:38:52 +08:00
Zexi
e4c474bdfc scheduler: fix network schedtag not set capacity 2019-07-02 20:33:22 +08:00
ioito
0d643aea5e fix sync openstack hoststorages issue 2019-07-02 20:00:34 +08:00
yunion-ci-robot
14d31ab4c4 Merge pull request #1191 from ioito/feature/qx-private-cloud-sku
Feature/qx private cloud sku
2019-07-02 18:54:53 +08:00
yunion-ci-robot
80253c76e9 Merge pull request #1474 from swordqiu/hotfix/qj-service-catalog-nil-pointer
fix: service catalog nil pointer
2019-07-02 18:53:54 +08:00
yunion-ci-robot
5fb77d47e9 Merge pull request #1471 from wanyaoqi/bugfix/wyq/fix-export-data
bugfix: fix export data, set no limit; expand timeout
2019-07-02 18:48:51 +08:00
Qiu Jian
f7568f9aad fix: service catalog nil pointer 2019-07-02 18:13:15 +08:00
wanyaoqi
17c886084a fix export data, set no limit; expand timeout 2019-07-02 17:50:08 +08:00
yunion-ci-robot
ffb22f1d45 Merge pull request #1467 from ioito/bugfix/qx-disk-create-failed
fix create disk scheduler failed
2019-07-02 16:47:54 +08:00
ioito
78d4319bd0 fix create disk scheduler failed 2019-07-02 16:40:12 +08:00
yunion-ci-robot
a0c3f87b09 Merge pull request #1464 from tb365/feature/tb-update-mod-0702
update mod
2019-07-02 16:08:51 +08:00
TangBin
8635815805 update mod 2019-07-02 15:59:48 +08:00
ioito
830aa07b61 fix import order 2019-07-02 15:07:28 +08:00
ioito
250feb5226 添加api文档 2019-07-02 15:07:28 +08:00
ioito
99402138b6 私有云套餐操作支持 2019-07-02 15:00:19 +08:00
yunion-ci-robot
a4942ae701 Merge pull request #1460 from swordqiu/hotfix/qj-bugfix-misc-20190701
fix: 1. quota add API 2. tenant cache refresh 3. domain quota not ini…
2019-07-02 09:44:52 +08:00
Qiu Jian
49675fe965 feature: allow cascade quota set 2019-07-02 09:27:55 +08:00
Qiu Jian
f184e2d8f9 fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize 2019-07-02 03:08:52 +08:00
875 changed files with 39128 additions and 28098 deletions

View File

@@ -21,7 +21,6 @@ ENV GOROOT="/opt/go"
ENV PATH="/opt/go/bin:${PATH}"
RUN useradd -c "OneCloud Builder" --create-home --home-dir /home/build --shell /bin/bash build
USER build
ENV HOME /home/build
WORKDIR /home/build
USER build

4
.dockerignore Normal file
View File

@@ -0,0 +1,4 @@
/.git
/vendor
/cmd
/pkg

View File

@@ -2,49 +2,131 @@
kind: pipeline
name: build
clone:
depth: 1
workspace:
base: /go
base: /home/build/go
path: src/yunion.io/x/onecloud
steps:
- name: build
image: d3lx/golang:yunion
image: yunion/onecloud-ci:latest
commands:
- make
when:
event:
- pull_request
- tag
- CGO_ENABLED=0 make -j 4 cmd/apigateway cmd/baremetal-agent cmd/climc cmd/keystone
- CGO_ENABLED=0 make -j 4 cmd/logger cmd/region cmd/scheduler cmd/webconsole
- CGO_ENABLED=0 make -j 4 cmd/yunionconf cmd/glance cmd/torrent
trigger:
event:
- pull_request
- tag
---
kind: pipeline
name: release
steps:
- name: release-img
- name: image-baremetal-agent
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/onecloud
repo: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
registry: registry.cn-beijing.aliyuncs.com
tags: "{DRONE_TAG}"
dockerfile: build/docker/Dockerfile.baremetal-agent
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-climc
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/climc
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.climc
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-keystone
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/keystone
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.keystone
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-logger
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/logger
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.logger
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-region
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/region
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.region
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-scheduler
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/scheduler
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.scheduler
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-yunionconf
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/yunionconf
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.yunionconf
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-apigateway
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/apigateway
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.apigateway
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: image-glance
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/glance
registry: registry.cn-beijing.aliyuncs.com
dockerfile: build/docker/Dockerfile.glance
tags: "${DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag
trigger:
event:
- tag
status:
- success
depends_on:
- build

212
.github/workflows/docker.yml vendored Normal file
View File

@@ -0,0 +1,212 @@
name: Docker image
on:
push:
branches:
- master
- releases/*
#paths:
#- 'cmd/*'
#- 'pkg/*'
#- 'vendor/*'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.12
uses: actions/setup-go@v1
with:
go-version: 1.12
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Build
run: |
sudo apt-get update
sudo apt-get install librados-dev librbd-dev
make cmd/apigateway cmd/climc cmd/keystone
make cmd/logger cmd/region cmd/scheduler cmd/webconsole
make cmd/yunionconf cmd/glance cmd/torrent cmd/s3gateway
make cmd/ansibleserver cmd/cloudnet cmd/notify
make cmd/host && ./scripts/bundle_libraries.sh _output/bin/bundles/host _output/bin/host && ./scripts/host_find_libraries.sh _output/bin/bundles/host
make cmd/host-deployer && ./scripts/bundle_libraries.sh _output/bin/bundles/host-deployer _output/bin/host-deployer
make cmd/baremetal-agent && ./scripts/bundle_libraries.sh _output/bin/bundles/baremetal-agent _output/bin/baremetal-agent
make cmd/cloudevent cmd/devtool
make cmd/*cli
make cmd/esxi-agent
- name: Image baremetal-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.baremetal-agent
- name: Image esxi-agent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/esxi-agent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.esxi-agent
- name: Image climc
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/climc
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.climc
- name: Image keystone
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/keystone
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.keystone
- name: Image logger
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/logger
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.logger
- name: Image region
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region
- name: Image scheduler
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/scheduler
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.scheduler
- name: Image apigateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/apigateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.apigateway
- name: Image s3gateway
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/s3gateway
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.s3gateway
- name: Image ansibleserver
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.ansibleserver
- name: Image cloudnet
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudnet
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudnet
- name: Image glance
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/glance
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.glance
- name: Image notify
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/notify
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.notify
- name: Image host
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host
- name: Image host-deployer
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/host-deployer
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.host-deployer
- name: Image cloudevent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/cloudevent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.cloudevent
- name: Image devtool
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/devtool
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.devtool

3
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,3 @@
# 开发贡献参考
详情见文档 [开发贡献](https://docs.yunion.io/docs/contribute/)

View File

@@ -1,20 +0,0 @@
FROM alpine:3.8
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
# Fix binary file not found, see:
# https://stackoverflow.com/questions/34729748/installed-go-binary-not-found-in-path-on-alpine-linux-docker
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/climc /opt/yunion/bin/climc
ADD ./_output/bin/cloudir /opt/yunion/bin/cloudir
ADD ./_output/bin/glance /opt/yunion/bin/glance
ADD ./_output/bin/region /opt/yunion/bin/region
ADD ./_output/bin/region-dns /opt/yunion/bin/region-dns
ADD ./_output/bin/scheduler /opt/yunion/bin/scheduler
ADD ./_output/bin/webconsole /opt/yunion/bin/webconsole
ADD ./_output/bin/yunionconf /opt/yunion/bin/yunionconf

View File

@@ -32,8 +32,11 @@ LDFLAGS := "-w \
#####################################################
GO_BUILD_FLAGS:=-mod vendor -ldflags $(LDFLAGS)
ifneq ($(DLV),)
GO_BUILD_FLAGS += -gcflags "all=-N -l"
LDFLAGS = ""
endif
GO_BUILD_FLAGS+=-mod vendor -ldflags $(LDFLAGS)
GO_BUILD := go build $(GO_BUILD_FLAGS)
GO_INSTALL := go install -ldflags $(LDFLAGS)
GO_TEST := go test
@@ -44,8 +47,8 @@ CGO_CFLAGS_ENV = $(shell go env CGO_CFLAGS)
CGO_LDFLAGS_ENV = $(shell go env CGO_LDFLAGS)
ifdef LIBQEMUIO_PATH
X_CGO_CFLAGS := ${CGO_CFLAGS_ENV} -I${LIBQEMUIO_PATH}/src -I${LIBQEMUIO_PATH}/src/include
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
X_CGO_CFLAGS := ${CGO_CFLAGS_ENV} -I${LIBQEMUIO_PATH}/src -I${LIBQEMUIO_PATH}/src/include
X_CGO_LDFLAGS := ${CGO_LDFLAGS_ENV} -laio -lqemuio -lpthread -L ${LIBQEMUIO_PATH}/src
endif
export GO111MODULE:=on
@@ -80,6 +83,9 @@ test:
vet:
go vet ./...
cmd/esxi-agent: prepare_dir
CGO_ENABLED=0 $(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
cmd/%: prepare_dir
$(GO_BUILD) -o $(BIN_DIR)/$(shell basename $@) $(REPO_PREFIX)/$@
@@ -233,11 +239,13 @@ help: export helpText:=$(helpText)
help:
@echo "$$helpText"
.PHONY: help
gen-model-api-check:
which model-api-gen || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/model-api-gen)
gen-model-api: gen-model-api-check
./scripts/codegen.py model-api
$(ROOT_DIR)/scripts/codegen.py model-api
gen-swagger-check:
which swagger || (GO111MODULE=off go get -u github.com/go-swagger/go-swagger/cmd/swagger)
@@ -245,8 +253,22 @@ gen-swagger-check:
which swagger-serve || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-serve)
gen-swagger: gen-swagger-check
./scripts/codegen.py swagger-code
./scripts/codegen.py swagger-yaml
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
swagger-serve: gen-swagger
./scripts/codegen.py swagger-serve
$(ROOT_DIR)/scripts/codegen.py swagger-serve
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve
REGISTRY ?= "registry.cn-beijing.aliyuncs.com/yunionio"
VERSION ?= $(shell git describe --exact-match 2> /dev/null || \
git describe --match=$(git rev-parse --short=8 HEAD) --always --dirty --abbrev=8)
image:
TAG=$(VERSION) REGISTRY=$(REGISTRY) $(ROOT_DIR)/scripts/docker_push.sh $(filter-out $@,$(MAKECMDGOALS))
.PHONY: image
%:
@:

8
OWNERS
View File

@@ -1,11 +1,13 @@
# See the OWNERS docs at https://go.k8s.io/owners
reviewers:
- swordqiu
- yousong
- wanyaoqi
- Zexi
- ioito
- swordqiu
- tb365
- wanyaoqi
- yousong
- zhaoxiangchun
- zhasm
approvers:
- swordqiu
- yousong

54
README-CN.md Normal file
View File

@@ -0,0 +1,54 @@
# Yunion OneCloud (云联融合云)
[![CircleCI](https://circleci.com/gh/yunionio/onecloud.svg?style=svg)](https://circleci.com/gh/yunionio/onecloud)
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
## 什么是云联融合云?
云联融合云Yunion OneCloud是一个开源的多云平台。融合云构建在用户分布于多云基础设施之上通过技术手段将分布于多云的异构IT资源统一管理将多底层多云的差异向用户屏蔽并通过网络和调度实现资源的融合与打通在多云之上进行抽象向用户呈现统一的使用界面和API接口让用户就像使用一个云平台一样使用分布于多云的资源实现一个统一的“云上之云”的云平台。
鉴于企业IT基础设施的两个趋势1. 企业使用多云基础设施并且公有云是最主要的基础设施提供者2. 企业应用将逐步云原生化企业IT基础设施需要为Kubernetes优化。融合云为此架构而设计。一方面抽象管理底层的多云基础设施另一方面为多云Kubernetes提供运行环境。融合云为企业未来的的IT基础设施架构而设计。
云联融合云具备以下功能特性:
- 多云资源统一管理
统一API、镜像、调度、账号体系、监控和计费等操作能够全面管理 On premises、 私有云、公有云资源。
- 内置私有云
OneCloud内置完备的私有云实现提供对用户本地IDC的虚拟机、物理机和负载均衡等资源管理。
- 为多云Kubernetes提供运行环境
OneCloud自身为运行在Kubernetes的云原生应用并且能在多云环境部署运行Kubernetes集群。
欢迎安装部署云联融合云,期待大家的反馈!
## 部署
请参考文档 [安装部署](https://docs.yunion.io/docs/setup/) 搭建 OneCloud 集群。
## 文档
- [文档中心](https://docs.yunion.io/)
- [Swagger API文档](https://docs.yunion.cn/api/)
## 架构
![architecture](./docs/architecture.png)
## 贡献
我们非常欢迎和感谢开发者向项目做贡献,流程细节请查看 [CONTRIBUTING.md](./CONTRIBUTING.md) 。
## License
OneCloud 使用 Apache license 2.0. 详情请看 [LICENSE](./LICENSE) 。

View File

@@ -4,7 +4,52 @@
[![Build Status](https://travis-ci.com/yunionio/onecloud.svg?branch=master)](https://travis-ci.org/yunionio/onecloud)
[![Go Report Card](https://goreportcard.com/badge/github.com/yunionio/onecloud)](https://goreportcard.com/report/github.com/yunionio/onecloud)
# 文档
### [README in Chinese](./README-CN.md)
- 文档中心https://docs.yunion.cn/
- API文档https://docs.yunion.cn/api/
## What is Yunion OneCloud?
Yunion OneCloud is an open source unified-IaaS cloud platform.
As its name sugguests, 'Yun' means 'cloud' in Chinese and 'Yunion OneCloud' means to unify many distinct clouds into the one that behaves like an integral cloud platform.
As trends show, the enterprise IT infrastructure in the future would be unavoidably heterogeneous and the public clouds should be the major infrastructure providers for many enterprises. Further, the infrastructure would most likely be prepared for the cloud-native applications running on Kubernetes. Yunion OneCloud is built to provide the cloud architecture for this scenario such that it is the middle layer between the underlying cloud infrustructures and the overlay kubernetes clusters across many clouds.
Many may consider Yunion OneCloud as a multi-cloud management platform (MCMP). Rather, we would view it as an IaaS platform as it does not only manage the resources and services from many clouds, but also hides the differences of underlying technologies and exposes one set of APIs that allow programatically interacting with the compute/storage/networking resources across many clouds.
Yunion OneCloud is working on abstracting APIs for the following resources:
* Compute, including virtual machines, images, etc.
* Storage, including disks, snapshots, object storages, etc.
* Networking, including load balancers, VPC, virtual networks, NAT gateways, security groups, etc.
* Accouting and billing, etc.
* ...
over the following many cloud providers:
* On-premise IT resources, including kvm VM, baremetal, VMware vsphere/ESXi, etc.
* Private clouds, including OpenStack, etc.
* Public clouds, including Aliyun, AWS, Azure, Tencent Cloud, Huawei Cloud, etc.
You are welcome to install and try Yunion OneCloud. Looking forward to your feedback.
## Installation
Please refers to [install & deployment](https://docs.yunion.io/docs/setup/) (currently in Chinese Only).
## Documentations
- [Yunion OneCloud Documents](https://docs.yunion.io/)
- [Swagger API](https://docs.yunion.cn/api/)
## Architecture
![architecture](./docs/architecture.png)
## Contribution
You are welcome to contribute to the project. Please refer to [CONTRIBUTING.md](./CONTRIBUTING.md) for guidelines.
## License
Apache License 2.0. See [LICENSE](./LICENSE) 。

View File

@@ -0,0 +1,42 @@
#!/bin/bash
set -e
pushd $(dirname $BASH_SOURCE) > /dev/null
CUR_DIR=$(pwd -P)
popd > /dev/null
ACCOUNT=$1
if [ -z "$ACCOUNT" ]; then
echo "Usage: $0 <cloud-acount-id-or-name>"
exit 1
fi
ACCOUNT_ID=$(climc cloud-account-show $ACCOUNT | grep -w " id " | awk '{print $4}')
ACCOUNT_NAME=$(climc cloud-account-show $ACCOUNT | grep -w " name " | awk '{print $4}')
if [ -z "$ACCOUNT_ID" ]; then
echo "Cloud account $ACCOUNT not found"
exit 1
fi
echo "Ready to clean cloud account $ACCOUNT_NAME($ACCOUNT_ID)..."
echo "1. Disable cloud account $ACCOUNT_NAME($ACCOUNT_ID) ..."
climc cloud-account-disable $ACCOUNT_ID
echo "2. Clean all providers ..."
for provider_id in $(climc cloud-provider-list --account $ACCOUNT_ID --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
echo "### to clean cloud provider $provider_id ..."
$CUR_DIR/clean_provider.sh $provider_id
done
echo "3. Delete cloud account ..."
climc cloud-account-delete $ACCOUNT_ID

View File

@@ -0,0 +1,27 @@
#/bin/bash
set -e
EIP=$1
if [ -z "$EIP" ]; then
echo "Usage: $0 <eip_id_or_name>"
exit 1
fi
EIP_NAME=$(climc eip-show $EIP | grep -w " name " | awk '{print $4}')
EIP_ID=$(climc eip-show $EIP | grep -w " id " | awk '{print $4}')
if [ -z "$EIP_ID" ]; then
echo "Cannot find eip $EIP_ID"
exit 1
fi
echo "To clean eip $EIP_NAME($EIP_ID)..."
clean_eip() {
local EID=$1
climc eip-purge $EID
}
clean_eip $EIP_ID

View File

@@ -0,0 +1,80 @@
#!/bin/bash
set -e
HOST=$1
if [ -z "$HOST" ]; then
echo "Usage: $0 <host_id_or_name>"
exit 1
fi
error_exit() {
echo "Error: $1"
exit 1
}
HOSTID=$(climc host-show $HOST | grep -w " id " | awk '{print $4}')
HOSTNAME=$(climc host-show $HOST | grep -w " name " | awk '{print $4}')
if [ -z "$HOSTNAME" ]; then
error_exit "Cannot find host $HOST"
fi
if [ -z "$HOSTID" ]; then
error_exit "Cannot find host $HOST"
fi
echo "Ready to purge host $HOSTNAME($HOSTID)..."
echo "1. Disable $HOSTNAME($HOSTID)"
if ! climc host-disable $HOSTID > /dev/null; then
error_exit "Fail to disable $HOST"
fi
echo "2. Clean servers on $HOSTNAME($HOSTID)"
for i in $(climc server-list --host $HOSTID --admin --limit 2048 --system | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-update --delete enable $i > /dev/null
climc server-purge $i > /dev/null
done
for i in $(climc server-list --host $HOSTID --admin --limit 2048 --pending-delete --system | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc server-purge $i > /dev/null
done
echo "3. Clean disks on $HOSTNAME($HOSTID)"
for storageid in $(climc host-storage-list --host $HOSTID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')
do
STORAGENAME=$(climc storage-show $storageid | grep -w " name " | awk '{print $4}')
STORAGE_TYPE=$(climc storage-show $storageid | grep -w " storage_type " | awk '{print $4}')
if [ "$STORAGE_TYPE" == "local" ]; then
for diskid in $(climc disk-list --admin --system --details --search $storageid --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $diskid > /dev/null
done
for diskid in $(climc disk-list --admin --system --details --search $storageid --pending-delete --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $diskid > /dev/null
done
fi
done
echo "4. Remove host $HOSTNAME($HOSTID)"
BAREMETAL=$(climc host-show $HOSTID | grep -w " is_baremetal " | awk '{print $4}')
HOSTTYPE=$(climc host-show $HOSTID | grep -w " host_type " | awk '{print $4}')
if [ "$BAREMETAL" == "true" ] && [ "$HOSTTYPE" != "baremetal" ]; then
climc host-update --host-type baremetal $HOSTID > /dev/null
fi
climc host-delete $HOSTID > /dev/null
echo "DONE."

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB=$1
if [ -z "$LB" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_ID=$(climc lb-show $LB | grep -w " id " | awk '{print $4}')
LB_NAME=$(climc lb-show $LB | grep -w " name " | awk '{print $4}')
if [ -z "$LB_ID" ]; then
echo "Loadbalancer $LB not found"
exit 1
fi
echo "Ready to remove loadbalancer $LB_NAME($LB_ID) ..."
clean_loadbalancer() {
local LID=$1
climc lb-purge $LID
}
clean_loadbalancer $LB_ID

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB_ACL=$1
if [ -z "$LB_ACL" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_ACL_ID=$(climc lbacl-show $LB_ACL | grep -w " id " | awk '{print $4}')
LB_ACL_NAME=$(climc lbacl-show $LB_ACL | grep -w " name " | awk '{print $4}')
if [ -z "$LB_ACL_ID" ]; then
echo "Loadbalancer ACL $LB_ACL_ID not found"
exit 1
fi
echo "Ready to remove loadbalancer acl $LB_ACL_NAME($LB_ACL_ID) ..."
clean_loadbalancer_acl() {
local LID=$1
climc lbacl-purge $LID
}
clean_loadbalancer_acl $LB_ACL_ID

View File

@@ -0,0 +1,27 @@
#!/bin/bash
set -e
LB_CERT=$1
if [ -z "$LB_CERT" ]; then
echo "Usage: $0 <loadbalancer_id_or_name>"
exit 1
fi
LB_CERT_ID=$(climc lbcert-show $LB_CERT | grep -w " id " | awk '{print $4}')
LB_CERT_NAME=$(climc lbcert-show $LB_CERT | grep -w " name " | awk '{print $4}')
if [ -z "$LB_CERT_ID" ]; then
echo "Loadbalancer certificate $LB_CERT_ID not found"
exit 1
fi
echo "Ready to remove loadbalancer certificate $LB_CERT_NAME($LB_CERT_ID) ..."
clean_loadbalancer_cert() {
local LID=$1
climc lbcert-purge $LID
}
clean_loadbalancer_cert $LB_CERT_ID

View File

@@ -0,0 +1,96 @@
#!/bin/bash
set -e
pushd $(dirname $BASH_SOURCE) > /dev/null
CUR_DIR=$(pwd -P)
popd > /dev/null
PROVIDER=$1
if [ -z "$PROVIDER" ]; then
echo "Usage: $0 <cloud-provider-id-or-name>"
exit 1
fi
PROVIDER_ID=$(climc cloud-provider-show $PROVIDER | grep -w " id " | awk '{print $4}')
PROVIDER_NAME=$(climc cloud-provider-show $PROVIDER | grep -w " name " | awk '{print $4}')
if [ -z "$PROVIDER_ID" ]; then
echo "Cloud provider $PROVIDER not found"
exit 1
fi
echo "Ready to clean cloud provider $PROVIDER_NAME($PROVIDER_ID)..."
echo "1. Disable cloud provider $PROVIDER_NAME($PROVIDER_ID) ..."
climc cloud-provider-disable $PROVIDER_ID
echo "2. Clean all hosts ..."
for hostid in $(climc host-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_host.sh $hostid
done
echo "3. Clean all loadbalancer ..."
for lbid in $(climc lb-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer.sh $lbid
done
echo "4. Clean all loadbalancer acl ..."
for lbaclid in $(climc lbacl-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer_acl.sh $lbaclid
done
echo "5. Clean all loadbalancer certificate ..."
for lbcertid in $(climc lbcert-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_loadbalancer_certificate.sh $lbcertid
done
echo "6. Clean all vpc ..."
for vpcid in $(climc vpc-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_vpc.sh $vpcid
done
echo "7. Clean all eips ..."
for eipid in $(climc eip-list --admin --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_eip.sh $eipid
done
echo "8. Clean all snapshots ..."
for snapid in $(climc snapshot-list --admin --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
echo "to clean snapshot $snapid ..."
$CUR_DIR/clean_snapshot.sh $snapid
done
echo "9. Clean all storagecache ..."
for cacheid in $(climc storage-cache-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_storagecache.sh $cacheid
done
echo "10. Clean all storages ..."
for storeid in $(climc storage-list --manager $PROVIDER_ID --admin --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
$CUR_DIR/clean_storage.sh $storeid
done
echo "Delete cloud provider ..."
climc cloud-provider-delete $PROVIDER_ID

View File

@@ -0,0 +1,27 @@
#/bin/bash
set -e
SNAPSHOT=$1
if [ -z "$SNAPSHOT" ]; then
echo "Usage: $0 <snapshot_id_or_name>"
exit 1
fi
SNAPSHOT_NAME=$(climc snapshot-show $SNAPSHOT | grep -w " name " | awk '{print $4}')
SNAPSHOT_ID=$(climc snapshot-show $SNAPSHOT | grep -w " id " | awk '{print $4}')
if [ -z "$SNAPSHOT_ID" ]; then
echo "Cannot find snapshot $SNAPSHOT_ID"
exit 1
fi
echo "To clean snapshot $SNAPSHOT_NAME($SNAPSHOT_ID)..."
clean_snapshot() {
local SNAP_ID=$1
climc snapshot-purge $SNAP_ID > /dev/null
}
clean_snapshot $SNAPSHOT_ID

View File

@@ -0,0 +1,34 @@
#!/bin/bash
set -e
STORAGE=$1
if [ -z "$STORAGE" ]; then
echo "Usage: $0 <storage_id_or_name>"
exit 1
fi
STORAGE_ID=$(climc storage-show $STORAGE | grep -w " id " | awk '{print $4}')
STORAGE_NAME=$(climc storage-show $STORAGE | grep -w " name " | awk '{print $4}')
if [ -z "$STORAGE_ID" ]; then
echo "Storage $STORAGE not found"
exit 1
fi
echo "Clean disks on storage $STORAGE_NAME($STORAGE_ID) ..."
for disk_id in $(climc disk-list --admin --storage $STORAGE_ID --show-emulated --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $disk_id > /dev/null
done
for disk_id in $(climc disk-list --admin --storage $STORAGE_ID --show-emulated --pending-delete --limit 2048 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc disk-purge $disk_id > /dev/null
done
# CACHE_ID=$(climc storage-show $STORAGE_ID | grep -w " storagecache_id " | awk '{print $4}')
climc storage-delete $STORAGE_ID > /dev/null

View File

@@ -0,0 +1,28 @@
#!/bin/bash
set -e
CACHE=$1
if [ -z "$CACHE" ]; then
echo "Usage: $0 <storage_cache_id_or_name>"
exit 1
fi
CACHE_ID=$(climc storage-cache-show $CACHE | grep -w " id " | awk '{print $4}')
CACHE_NAME=$(climc storage-cache-show $CACHE | grep -w " name " | awk '{print $4}')
if [ -z "$CACHE_ID" ]; then
echo "Storage cache $CACHE not found"
exit 1
fi
echo "Ready to remove storagecache $CACHE_NAME($CACHE_ID) ..."
for imgid in $(climc storage-cached-image-list --storagecache $CACHE_ID --show-emulated --limit 0 | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $4}')
do
climc storagecache-uncache-image $CACHE_ID $imgid --force # > /dev/null
done
climc storage-cache-delete $CACHE_ID > /dev/null

View File

@@ -0,0 +1,55 @@
#/bin/bash
set -e
VPC=$1
if [ -z "$VPC" ]; then
echo "Usage: $0 <vpc_id_or_name>"
exit 1
fi
VPC_NAME=$(climc vpc-show $VPC | grep -w " name " | awk '{print $4}')
VPC_ID=$(climc vpc-show $VPC | grep -w " id " | awk '{print $4}')
if [ -z "$VPC_ID" ]; then
echo "Cannot find vpc $VPC"
exit 1
fi
echo "To clean vpc $VPC_NAME($VPC_ID)..."
clean_network() {
climc network-purge $1 > /dev/null
}
clean_wire() {
local WIRE_ID=$1
for net_id in $(climc network-list --admin --wire $WIRE_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
clean_network $net_id
done
climc wire-delete $wire_id > /dev/null
}
clean_vpc() {
local VPC_ID=$1
climc vpc-purge $VPC_ID > /dev/null
}
echo "1. Clean wires ..."
for wire_id in $(climc wire-list --vpc $VPC_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
clean_wire $wire_id
done
echo "2. Clean route tables ..."
for routetable_id in $(climc routetable-list --vpc $VPC_ID --show-emulated | egrep '[0-9a-f]{8}-([0-9a-f]{4}-){3}[0-9a-f]{12}' | awk '{print $2}')
do
climc routetable-purge $routetable_id >/dev/null
done
echo "3. clean vpc ..."
clean_vpc $VPC_ID

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/ansibleserver-base:latest
ADD ./_output/bin/ansibleserver /opt/yunion/bin/ansibleserver

View File

@@ -0,0 +1,13 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache tzdata ansible ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/apigateway /opt/yunion/bin/apigateway

View File

@@ -0,0 +1,9 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/baremetal-base:v0.0.1
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/baremetal-agent /opt/yunion/bin/baremetal-agent
ADD ./_output/bin/.baremetal-agent.bin /opt/yunion/bin/.baremetal-agent.bin
ADD ./_output/bin/bundles/baremetal-agent /opt/yunion/bin/bundles/baremetal-agent

View File

@@ -0,0 +1,34 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache ipmitool ethtool tzdata ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN mkdir -p /opt/cloud/yunion/baremetal
# download baremetal-pxerom-*.x86_64.rpm and unpack rpm in current directory
COPY ./opt/cloud/yunion/baremetal/bootia32.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/bootx64.efi /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/chain.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/initramfs /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/isolinux.bin /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/kernel /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/ldlinux.e64 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libcom32.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/libutil.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/lpxelinux.0 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/menu.c32 /opt/cloud/yunion/baremetal
COPY ./opt/cloud/yunion/baremetal/pxelinux.0 /opt/cloud/yunion/baremetal
# add mkisofs with bundles libraries
ADD ./mkisofs /bin/mkisofs
ADD ./.mkisofs.bin /bin/.mkisofs.bin
ADD ./bundles/mkisofs /bin/bundles/mkisofs

View File

@@ -0,0 +1,5 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/climc-base:v20200308
ADD ./build/climc/root/opt /opt
ADD ./_output/bin/climc ./_output/bin/*cli /opt/yunion/bin/

View File

@@ -0,0 +1,16 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache bash bash-completion tzdata ca-certificates vim && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV PATH="/opt/yunion/bin:${PATH}"
RUN mkdir -p /opt/yunion/bin

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/cloudevent /opt/yunion/bin/cloudevent

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/cloudnet /opt/yunion/bin/cloudnet

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/devtool /opt/yunion/bin/devtool

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
COPY ./build/esxi-agent/root/opt/ /opt/
ADD ./_output/bin/esxi-agent /opt/yunion/bin/esxi-agent

View File

@@ -0,0 +1,6 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/glance-base:latest
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/glance /opt/yunion/bin/glance

View File

@@ -0,0 +1,18 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Yaoqi Wan <wanyaoqi@yunionyun.com>"
RUN apk update && \
apk add --no-cache tzdata ca-certificates qemu-img && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
ENV TZ Asia/Shanghai
# add executable file torrent
# make cmd/torrent && ./scripts/bundle-libraries.sh _output/bin/bundles/torrent _output/bin/torrent
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/torrent /opt/yunion/bin/torrent
ADD ./_output/bin/.torrent.bin /opt/yunion/bin/.torrent.bin
ADD ./_output/bin/bundles/torrent /opt/yunion/bin/bundles/torrent

View File

@@ -0,0 +1,11 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.0.1
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/host /opt/yunion/bin/host
ADD ./_output/bin/.host.bin /opt/yunion/bin/.host.bin
ADD ./_output/bin/bundles/host /opt/yunion/bin/bundles/host

View File

@@ -0,0 +1,11 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:v0.0.2
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
ADD ./_output/bin/host-deployer /opt/yunion/bin/host-deployer
ADD ./_output/bin/.host-deployer.bin /opt/yunion/bin/.host-deployer.bin
ADD ./_output/bin/bundles/host-deployer /opt/yunion/bin/bundles/host-deployer

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/keystone /opt/yunion/bin/keystone

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/logger /opt/yunion/bin/logger

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
COPY ./build/notify/root/opt/ /opt/
ADD ./_output/bin/notify /opt/yunion/bin/notify

View File

@@ -0,0 +1,13 @@
FROM frolvlad/alpine-glibc:glibc-2.28
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk update && \
apk add --no-cache tzdata ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
COPY ./build/region/root/opt/ /opt/
ADD ./_output/bin/region /opt/yunion/bin/region

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/region-dns /opt/yunion/bin/region-dns

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/s3gateway /opt/yunion/bin/s3gateway

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/scheduler /opt/yunion/bin/scheduler

View File

@@ -0,0 +1,3 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/webconsole-base:latest
ADD ./_output/bin/webconsole /opt/yunion/bin/webconsole

View File

@@ -0,0 +1,12 @@
FROM yunion/kubectl:1.14.3
MAINTAINER "Zexi Li <lizexi@yunionyun.com>"
ENV TZ Asia/Shanghai
RUN mkdir -p /opt/yunion/bin
RUN apk add --no-cache sshpass ipmitool openssh-client tzdata ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

@@ -0,0 +1,4 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/onecloud-base:latest
ADD ./_output/bin/yunionconf /opt/yunion/bin/yunionconf

View File

@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1"
xmlns:cim="http://schemas.dmtf.org/wbem/wscim/1/common"
xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData"
xmlns:vmw="http://www.vmware.com/schema/ovf"
xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<References>
<File ovf:href="{{ .Name }}" ovf:id="file1" ovf:size="{{ .Size }}"/>
</References>
<DiskSection>
<Info>Virtual disk information</Info>
<Disk ovf:capacity="{{ .Capacity }}" ovf:capacityAllocationUnits="byte" ovf:diskId="vmdisk1" ovf:fileRef="file1" ovf:format="http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized" ovf:populatedSize="0"/>
</DiskSection>
<VirtualSystem ovf:id="{{ .ImportName }}">
<Info>A virtual machine</Info>
<Name>{{ .ImportName }}</Name>
<OperatingSystemSection ovf:id="100" vmw:osType="other26xLinux64Guest">
<Info>The kind of installed guest operating system</Info>
</OperatingSystemSection>
<VirtualHardwareSection>
<Info>Virtual hardware requirements</Info>
<System>
<vssd:ElementName>Virtual Hardware Family</vssd:ElementName>
<vssd:InstanceID>0</vssd:InstanceID>
<vssd:VirtualSystemIdentifier>{{ .ImportName }}</vssd:VirtualSystemIdentifier>
<vssd:VirtualSystemType>vmx-07</vssd:VirtualSystemType>
</System>
<Item>
<rasd:AllocationUnits>hertz * 10^6</rasd:AllocationUnits>
<rasd:Description>Number of Virtual CPUs</rasd:Description>
<rasd:ElementName>1 virtual CPU(s)</rasd:ElementName>
<rasd:InstanceID>1</rasd:InstanceID>
<rasd:ResourceType>3</rasd:ResourceType>
<rasd:VirtualQuantity>1</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:AllocationUnits>byte * 2^20</rasd:AllocationUnits>
<rasd:Description>Memory Size</rasd:Description>
<rasd:ElementName>1024MB of memory</rasd:ElementName>
<rasd:InstanceID>2</rasd:InstanceID>
<rasd:ResourceType>4</rasd:ResourceType>
<rasd:VirtualQuantity>1024</rasd:VirtualQuantity>
</Item>
<Item>
<rasd:Address>0</rasd:Address>
<rasd:Description>SCSI Controller</rasd:Description>
<rasd:ElementName>SCSI Controller 0</rasd:ElementName>
<rasd:InstanceID>3</rasd:InstanceID>
<rasd:ResourceSubType>VirtualSCSI</rasd:ResourceSubType>
<rasd:ResourceType>6</rasd:ResourceType>
</Item>
<Item>
<rasd:AddressOnParent>0</rasd:AddressOnParent>
<rasd:ElementName>Hard Disk 1</rasd:ElementName>
<rasd:HostResource>ovf:/disk/vmdisk1</rasd:HostResource>
<rasd:InstanceID>9</rasd:InstanceID>
<rasd:Parent>3</rasd:Parent>
<rasd:ResourceType>17</rasd:ResourceType>
<vmw:Config ovf:required="false" vmw:key="backing.writeThrough" vmw:value="false"/>
</Item>
</VirtualHardwareSection>
</VirtualSystem>
</Envelope>

2
build/esxi-agent/vars Normal file
View File

@@ -0,0 +1,2 @@
DESCRIPTION="Esxi Agent"
# SERVICE="yes"

View File

@@ -0,0 +1,18 @@
[Unit]
Description=Yunion Command Executor
Documentation=https://docs.yunion.cn
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/executor-server
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,2 @@
DESCRIPTION="Yunion Executor Server Command Line Utility"
SERVICE="yes"

View File

@@ -26,6 +26,28 @@ import (
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func parseGcpCredential(filename string) (jsonutils.JSONObject, error) {
data, err := ioutil.ReadFile(filename)
if err != nil {
return nil, err
}
authParams, err := jsonutils.Parse(data)
if err != nil {
return nil, err
}
ret := jsonutils.NewDict()
for _, k := range []string{
"client_email",
"project_id",
"private_key_id",
"private_key",
} {
v, _ := authParams.Get(k)
ret.Add(v, fmt.Sprintf("gcp_%s", k))
}
return ret, nil
}
func init() {
type CloudaccountListOptions struct {
@@ -134,11 +156,7 @@ func init() {
R(&options.SGoogleCloudAccountCreateOptions{}, "cloud-account-create-google", "Create a Google cloud account", func(s *mcclient.ClientSession, args *options.SGoogleCloudAccountCreateOptions) error {
params := jsonutils.Marshal(args)
params.(*jsonutils.JSONDict).Add(jsonutils.NewString("Google"), "provider")
data, err := ioutil.ReadFile(args.GoogleJsonFile)
if err != nil {
return err
}
authParams, err := jsonutils.Parse(data)
authParams, err := parseGcpCredential(args.GoogleJsonFile)
if err != nil {
return err
}

View File

@@ -350,7 +350,7 @@ func init() {
return nil
})
R(&HostDetailOptions{}, "host-stop", "Power on host", func(s *mcclient.ClientSession, args *HostDetailOptions) error {
R(&HostDetailOptions{}, "host-stop", "Power off host", func(s *mcclient.ClientSession, args *HostDetailOptions) error {
result, err := modules.Hosts.PerformAction(s, args.ID, "stop", nil)
if err != nil {
return err

View File

@@ -50,7 +50,7 @@ type ImageOptionalOptions struct {
OsLang string `help:"OS Language" choices:"zh_CN|en_US"`
Preference int64 `help:"Disk preferences"`
Notes string `help:"Notes about the image"`
Hypervisor []string `help:"Prefer hypervisor type" choices:"kvm|esxi|baremetal|container"`
Hypervisor []string `help:"Prefer hypervisor type" choices:"kvm|esxi|baremetal|container|openstack"`
DiskDriver string `help:"Perfer disk driver" choices:"virtio|scsi|pvscsi|ide|sata"`
NetDriver string `help:"Preferred network driver" choices:"virtio|e1000|vmxnet3"`
}

View File

@@ -0,0 +1,9 @@
package k8s
import (
"yunion.io/x/onecloud/pkg/mcclient/modules/k8s"
)
func initEvent() {
initK8sNamespaceResource("event", k8s.Events)
}

View File

@@ -16,6 +16,11 @@ package k8s
import (
"fmt"
"io/ioutil"
"os"
"os/exec"
"github.com/ghodss/yaml"
"yunion.io/x/jsonutils"
@@ -57,7 +62,7 @@ func init() {
initPVC()
initJob()
initCronJob()
initEvent()
initRbac()
initApp()
@@ -217,6 +222,71 @@ func NewK8sNsResourceGetCmd(cmdN CmdNameFactory, manager modulebase.Manager) *Cm
)
}
func NewK8sNsResourceGetRawCmd(cmdN CmdNameFactory, manager k8s.IClusterResourceManager) *Cmd {
return NewCommand(
&o.NamespaceResourceGetOptions{},
cmdN.Do("show-raw"),
fmt.Sprintf("Show k8s %s raw data", cmdN.Kind),
func(s *mcclient.ClientSession, args *o.NamespaceResourceGetOptions) error {
ret, err := manager.GetRaw(s, args.NAME, args.Params())
if err != nil {
return err
}
printObjectYAML(ret)
return nil
},
)
}
func NewK8sResourceEditRawCmd(cmdN CmdNameFactory, manager k8s.IClusterResourceManager) *Cmd {
return NewCommand(
&o.NamespaceResourceGetOptions{},
cmdN.Do("edit-raw"),
fmt.Sprintf("Edit and update k8s %s raw data", cmdN.Kind),
func(s *mcclient.ClientSession, args *o.NamespaceResourceGetOptions) error {
rawData, err := manager.GetRaw(s, args.NAME, args.Params())
if err != nil {
return err
}
yamlBytes := rawData.YAMLString()
tempfile, err := ioutil.TempFile("", fmt.Sprintf("k8s-%s-%s*.yaml", cmdN.Kind, args.NAME))
if err != nil {
return err
}
defer os.Remove(tempfile.Name())
if _, err := tempfile.Write([]byte(yamlBytes)); err != nil {
return err
}
if err := tempfile.Close(); err != nil {
return err
}
cmd := exec.Command("vim", tempfile.Name())
cmd.Stdin = os.Stdin
cmd.Stdout = os.Stdout
if err := cmd.Run(); err != nil {
return err
}
content, err := ioutil.ReadFile(tempfile.Name())
if err != nil {
return err
}
jsonBytes, err := yaml.YAMLToJSON(content)
if err != nil {
return err
}
body, err := jsonutils.Parse(jsonBytes)
if err != nil {
return err
}
if _, err := manager.UpdateRaw(s, args.NAME, args.Params(), body.(*jsonutils.JSONDict)); err != nil {
return err
}
return nil
},
)
}
func NewK8sResourceDeleteCmd(cmdN CmdNameFactory, manager modulebase.Manager) *Cmd {
return NewCommand(
&o.ResourceDeleteOptions{},
@@ -244,11 +314,13 @@ func NewK8sNsResourceDeleteCmd(cmdN CmdNameFactory, manager modulebase.Manager)
return deleteCmd
}
func initK8sNamespaceResource(kind string, manager modulebase.Manager) *ShellCommands {
func initK8sNamespaceResource(kind string, manager k8s.IClusterResourceManager) *ShellCommands {
cmdN := NewCmdNameFactory(kind)
return NewShellCommands(cmdN.Do).AddR(
NewK8sNsResourceListCmd(cmdN, manager),
NewK8sNsResourceGetCmd(cmdN, manager),
NewK8sNsResourceDeleteCmd(cmdN, manager),
NewK8sNsResourceGetRawCmd(cmdN, manager),
NewK8sResourceEditRawCmd(cmdN, manager),
)
}

View File

@@ -134,7 +134,7 @@ func init() {
return nil
}
R(&PolicyPatchOptions{}, "policy-patch", "Patch policy", updateFunc)
R(&PolicyPatchOptions{}, "policy-update", "Patch policy", updateFunc)
R(&PolicyPatchOptions{}, "policy-update", "Update policy", updateFunc)
type PolicyPerformOptions struct {
ID string `help:"ID of policy to update"`
@@ -285,12 +285,30 @@ func init() {
if err != nil {
log.Fatalf("Set log level %q: %v", "debug", err)
}
if args.Debug {
rbacutils.ShowMatchRuleDebug = true
}
auth.InitFromClientSession(s)
policy.EnableGlobalRbac(15*time.Second, 15*time.Second, false)
if args.Debug {
consts.EnableRbacDebug()
}
findPolicy := false
for !findPolicy {
all := policy.PolicyManager.AllPolicies()
for _, allP := range all {
if len(allP) > 0 {
findPolicy = true
break
}
}
if findPolicy {
break
}
time.Sleep(time.Second)
}
req := jsonutils.NewDict()
for i := 0; i < len(args.Request); i += 1 {
parts := strings.Split(args.Request[i], ":")
@@ -356,6 +374,7 @@ func init() {
Context: mcclient.SAuthContext{
Ip: args.Ip,
},
Token: "faketoken",
}
} else {
token = s.GetToken()
@@ -367,6 +386,10 @@ func init() {
}
printObject(result)
for _, r := range args.Role {
fmt.Println("role", r, "matched policies:", policy.PolicyManager.RoleMatchPolicies(r))
}
fmt.Println("userCred:", token)
for _, scope := range []rbacutils.TRbacScope{
rbacutils.ScopeSystem,
@@ -375,7 +398,7 @@ func init() {
rbacutils.ScopeUser,
rbacutils.ScopeNone,
} {
m := policy.PolicyManager.MatchedPolicies(scope, token)
m := policy.PolicyManager.MatchedPolicyNames(scope, token)
fmt.Println("matched", scope, "policies:", m)
}

103
cmd/climc/shell/pprof.go Normal file
View File

@@ -0,0 +1,103 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package shell
import (
"fmt"
"io"
"io/ioutil"
"os"
"syscall"
"yunion.io/x/pkg/util/signalutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/util/netutils2"
"yunion.io/x/onecloud/pkg/util/procutils"
)
func init() {
type TraceOptions struct {
Second int `help:"pprof seconds" short-token:"s"`
Service string `help:"Service type"`
Address string `help:"Service listen address"`
}
downloadToTemp := func(input io.Reader, pattern string) (string, error) {
tmpfile, err := ioutil.TempFile("", pattern)
if err != nil {
return "", err
}
defer tmpfile.Close()
if _, err := io.Copy(tmpfile, input); err != nil {
return "", err
}
return tmpfile.Name(), nil
}
pprofRun := func(s *mcclient.ClientSession, opts *TraceOptions, pType string, args ...string) error {
var (
src io.Reader
err error
)
if len(opts.Service) > 0 {
src, err = modules.GetPProfByType(s, opts.Service, pType, opts.Second)
if err != nil {
return err
}
} else if len(opts.Address) > 0 {
src, err = modules.GetNamedAddressPProfByType(s, opts.Address, pType, opts.Second)
if err != nil {
return err
}
} else {
return fmt.Errorf("no service address provide")
}
tempfile, err := downloadToTemp(src, pType)
if err != nil {
return err
}
defer func() { os.Remove(tempfile) }()
signalutils.RegisterSignal(func() {
os.Remove(tempfile)
os.Exit(0)
}, syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGTERM)
signalutils.StartTrap()
argv := []string{"tool"}
argv = append(argv, args...)
argv = append(argv, tempfile)
cmd := procutils.NewCommand("go", argv...)
if err := cmd.Run(); err != nil {
return err
}
return nil
}
R(&TraceOptions{}, "pprof-trace", "pprof trace of backend service", func(s *mcclient.ClientSession, args *TraceOptions) error {
return pprofRun(s, args, "trace", "trace")
})
R(&TraceOptions{}, "pprof-profile", "pprof profile of backend service", func(s *mcclient.ClientSession, args *TraceOptions) error {
port, err := netutils2.GetFreePort()
if err != nil {
return err
}
return pprofRun(s, args, "profile", "pprof", fmt.Sprintf("-http=:%d", port))
})
}

View File

@@ -987,6 +987,7 @@ func init() {
config.Hosts[i].HostIp = yamlConfig.Hosts[i].HostIp
config.Hosts[i].XmlFilePath = yamlConfig.Hosts[i].XmlFilePath
config.Hosts[i].Servers = make([]compute.SLibvirtServerConfig, len(yamlConfig.Hosts[i].Servers))
config.Hosts[i].MonitorPath = yamlConfig.Hosts[i].MonitorPath
for j := 0; j < len(yamlConfig.Hosts[i].Servers); j++ {
config.Hosts[i].Servers[j].MacIp = make(map[string]string)
mac := yamlConfig.Hosts[i].Servers[j].Mac
@@ -1009,11 +1010,11 @@ func init() {
if err != nil {
return err
}
for i := 0; i < len(params); i++ {
val := jsonutils.NewDict()
val.Set(modules.Servers.KeywordPlural, params[i])
params[i] = val
}
//for i := 0; i < len(params); i++ {
// val := jsonutils.NewDict()
// val.Set(modules.Servers.KeywordPlural, params[i])
// params[i] = val
//}
results := modules.Servers.BatchPerformClassAction(s, "import-from-libvirt", params)
printBatchResults(results, modules.Servers.GetColumns(s))

View File

@@ -56,7 +56,7 @@ func init() {
RetentionDays int `help:"snapshot retention days"`
RepeatWeekdays []int `help:"snapshot create days on week"`
TimePoints []int `help:"snapshot create time points on one day`
TimePoints []int `help:"snapshot create time points on one day"`
}
R(&SnapshotPolicyCreateOptions{}, "snapshot-policy-create", "Create snapshot policy", func(s *mcclient.ClientSession, args *SnapshotPolicyCreateOptions) error {

View File

@@ -1,4 +1,4 @@
// Copyright 2018, OpenCensus Authors
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -12,14 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// +build !go1.11
package trace
package main
import (
"context"
"yunion.io/x/onecloud/pkg/esxi/service"
"yunion.io/x/onecloud/pkg/util/atexit"
)
func startExecutionTracerTask(ctx context.Context, name string) (context.Context, func()) {
return ctx, func() {}
func main() {
defer atexit.Handle()
service.New().StartService()
}

115
cmd/executor-server/main.go Normal file
View File

@@ -0,0 +1,115 @@
// Copyright 2019 Yunion
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package main
import (
"flag"
"net"
"os"
"strings"
"google.golang.org/grpc"
"yunion.io/x/executor/apis"
"yunion.io/x/executor/server"
"yunion.io/x/log"
"yunion.io/x/onecloud/pkg/util/sysutils"
)
var socketPath string
func init() {
flag.StringVar(&socketPath, "socket-path", "/var/run/exec.sock", "execute service listen socket path")
}
func main() {
if !sysutils.IsRootPermission() {
log.Fatalln("executor must run on root permission")
}
Serve()
}
type SExecuteService struct {
}
func NewExecuteService() *SExecuteService {
return &SExecuteService{}
}
func (s *SExecuteService) fixPathEnv() error {
var paths = []string{
"/usr/local/sbin",
"/usr/local/bin",
"/sbin",
"/bin",
"/usr/sbin",
"/usr/bin",
}
return os.Setenv("PATH", strings.Join(paths, ":"))
}
func (s *SExecuteService) prepareEnv() error {
if err := s.fixPathEnv(); err != nil {
return err
}
return nil
}
func (s *SExecuteService) runService() {
grpcServer := grpc.NewServer()
apis.RegisterExecutorServer(grpcServer, &server.Executor{})
if _, err := os.Stat(socketPath); !os.IsNotExist(err) {
conn, err := net.Dial("unix", socketPath)
if err == nil {
conn.Close()
log.Fatalf("socket %s already listening", socketPath)
}
// socket file already exist, remove first
if err := os.Remove(socketPath); err != nil {
log.Fatalln(err)
}
}
listener, err := net.Listen("unix", socketPath)
if err != nil {
log.Fatalln(err)
}
defer listener.Close()
log.Infof("Init net listener on %s succ", socketPath)
err = grpcServer.Serve(listener)
if err != nil {
log.Fatalln(err)
}
}
func (s *SExecuteService) initService() {
if len(socketPath) == 0 {
log.Fatalf("missing socket path")
}
if err := s.prepareEnv(); err != nil {
log.Fatalln(err)
}
}
func (s *SExecuteService) Run() {
s.initService()
s.runService()
}
func Serve() {
NewExecuteService().Run()
}

View File

@@ -11,7 +11,7 @@ swagger文档https://swagger.io/docs/specification/2-0/basic-structure/
1. 首先启动swagger-ui
sudo docker pull swaggerapi/swagger-ui
sudo docker run -p 80:8080 swaggerapi/swagger-ui
sudo docker run -d -p 80:8080 swaggerapi/swagger-ui
2. 用python启动本地的http server这是允许CORS的SimpleHTTPServer监听在8000端口

View File

@@ -0,0 +1,21 @@
post:
summary: 执行ansibleplaybook
description: |
调用成功后
- start_time将置为当前时间
- end_time置为空
- status设置为running
parameters:
- $ref: "../parameters/ansibleplaybook.yaml#/ansibleplaybookId"
- name: ansibleplaybook
in: body
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookCreateRequest"
responses:
200:
description: ansibleplaybook的信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks

View File

@@ -0,0 +1,20 @@
post:
summary: 中止执行ansibleplaybook
description: |
调用成功后
- end_time置为当前时间
- status设置为canceled
parameters:
- $ref: "../parameters/ansibleplaybook.yaml#/ansibleplaybookId"
- name: ansibleplaybook
in: body
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookCreateRequest"
responses:
200:
description: ansibleplaybook的信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks

View File

@@ -0,0 +1,41 @@
get:
summary: 获取指定ansibleplaybook的信息
parameters:
- $ref: "../parameters/ansibleplaybook.yaml#/ansibleplaybookId"
responses:
200:
description: ansibleplaybook信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks
put:
summary: 更新ansibleplaybook自身参数
parameters:
- $ref: "../parameters/ansibleplaybook.yaml#/ansibleplaybookId"
- name: ansibleplaybook
in: body
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookCreateRequest"
responses:
200:
description: ansibleplaybook的信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks
delete:
summary: 删除指定ansibleplaybook
description: |
处于运行状态的playbook需先中止执行才允许删除
parameters:
- $ref: "../parameters/ansibleplaybook.yaml#/ansibleplaybookId"
responses:
200:
description: 被删除ansibleplaybook的信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks

View File

@@ -0,0 +1,23 @@
get:
summary: 按指定条件列出ansibleplaybook实例
responses:
200:
description: 实例列表信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookListResponse"
tags:
- ansibleplaybooks
post:
summary: 创建ansibleplaybook实例
parameters:
- name: ansibleplaybook
in: body
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookCreateRequest"
responses:
200:
description: 新创建的实例信息
schema:
$ref: "../schemas/ansibleplaybook.yaml#/AnsiblePlaybookResponse"
tags:
- ansibleplaybooks

BIN
docs/architecture.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 180 KiB

View File

@@ -23,7 +23,7 @@ post:
required: true
schema:
$ref: "../schemas/bucket.yaml#/BucketCreateInput"
response:
responses:
200:
description: 对象存储桶信息
schema:

16
docs/bucket/limit.yaml Normal file
View File

@@ -0,0 +1,16 @@
post:
summary: 设置存储桶的储存限制该限制只有在使用OneCloud作为访问对象存储网关才生效。
parameters:
- $ref: '../parameters/bucket.yaml#/bucket_name'
- name: bucket
in: body
required: true
schema:
$ref: "../schemas/bucket.yaml#/BucketSetLimitInput"
responses:
200:
description: 指定存储桶的Limit响应
schema:
$ref: "../schemas/bucket.yaml#/BucketGetResponse"
tags:
- buckets

View File

@@ -0,0 +1,16 @@
post:
summary: 更新云账号所属项目
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
- in: body
name: cloudaccount
required: true
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountChangeProject'
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,40 @@
get:
summary: 获取指定云账号详情信息
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount
put:
summary: 更新云账号信息
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
- in: body
name: cloudaccount
required: true
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountUpdate'
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount
delete:
summary: 删除指定云账号
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
responses:
200:
description: 被删除云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,30 @@
get:
summary: 按指定条件列出云账号
parameters:
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/provider'
- $ref: '../parameters/common.yaml#/cloud_env'
responses:
200:
description: 云账号列表信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountListResponse'
tags:
- cloudaccount
post:
summary: 创建云账号
parameters:
- in: body
name: cloudaccount
required: true
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountCreate'
responses:
200:
description: 新创建的云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,13 @@
post:
summary: 云账号共享
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
- $ref: "../parameters/cloudaccount.yaml#/scope"
- $ref: "../parameters/cloudaccount.yaml#/shared_projects"
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,16 @@
post:
summary: 云账号信息同步
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
- in: body
name: cloudaccount
required: true
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountSync'
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,16 @@
post:
summary: 更新云账号密码
parameters:
- $ref: '../parameters/cloudaccount.yaml#/cloudaccountId'
- in: body
name: cloudaccount
required: true
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountUpdateCredential'
responses:
200:
description: 云账号信息
schema:
$ref: '../schemas/cloudaccount.yaml#/CloudaccountResponse'
tags:
- cloudaccount

View File

@@ -0,0 +1,16 @@
post:
summary: 磁盘创建快照
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
- in: body
name: server
required: true
schema:
$ref: '../schemas/disk.yaml#/DiskCreateSanpshot'
responses:
200:
description: 磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk

39
docs/disk/disk.yaml Normal file
View File

@@ -0,0 +1,39 @@
get:
summary: 获取指定磁盘详情信息
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
responses:
200:
description: 磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk
put:
summary: 更新磁盘信息
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
- in: body
name: server
required: true
schema:
$ref: '../schemas/disk.yaml#/DiskUpdate'
responses:
200:
description: 磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk
delete:
summary: 删除指定磁盘
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
- $ref: '../parameters/common.yaml#/override_pending_delete'
responses:
200:
description: 被删除磁盘的信息,删除前确保已解除删除保护,第一次删除时会先进入回收站(可恢复),第二次删除会真正释放资源
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk

37
docs/disk/disks.yaml Normal file
View File

@@ -0,0 +1,37 @@
get:
summary: 按指定条件列出磁盘
parameters:
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/pending_delete'
- $ref: '../parameters/common.yaml#/provider'
- $ref: '../parameters/common.yaml#/billing_type'
- $ref: '../parameters/disk.yaml#/unused'
- $ref: '../parameters/disk.yaml#/share'
- $ref: '../parameters/disk.yaml#/local'
- $ref: '../parameters/disk.yaml#/guest'
- $ref: '../parameters/disk.yaml#/storage'
- $ref: '../parameters/disk.yaml#/type'
- $ref: '../parameters/disk.yaml#/cloud_type'
responses:
200:
description: 磁盘列表信息
schema:
$ref: "../schemas/disk.yaml#/DiskListResponse"
tags:
- disk
post:
summary: 创建磁盘
parameters:
- in: body
name: disk
required: true
schema:
$ref: '../schemas/disk.yaml#/DiskCreate'
responses:
200:
description: 新建磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk

16
docs/disk/resize.yaml Normal file
View File

@@ -0,0 +1,16 @@
post:
summary: 扩容磁盘
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
- in: body
name: server
required: true
schema:
$ref: '../schemas/disk.yaml#/DiskResize'
responses:
200:
description: 磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk

16
docs/disk/save.yaml Normal file
View File

@@ -0,0 +1,16 @@
post:
summary: 磁盘保存镜像
parameters:
- $ref: '../parameters/disk.yaml#/diskId'
- in: body
name: server
required: true
schema:
$ref: '../schemas/disk.yaml#/DiskSave'
responses:
200:
description: 磁盘信息
schema:
$ref: '../schemas/disk.yaml#/DiskResponse'
tags:
- disk

View File

@@ -0,0 +1,39 @@
get:
summary: 获取指定弹性IP详情信息
parameters:
- $ref: "../parameters/elasticip.yaml#/elasticipId"
responses:
200:
description: 弹性IP详情信息
schema:
$ref: "../schemas/elasticip.yaml#/ElasticIpResponse"
tags:
- elasticips
delete:
summary: 删除指定弹性IP
parameters:
- $ref: '../parameters/elasticip.yaml#/elasticipId'
responses:
200:
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpResponse'
tags:
- elasticips
put:
summary: 更新弹性IP信息
parameters:
- $ref: '../parameters/elasticip.yaml#/elasticipId'
- in: body
name: elasticip
required: true
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpUpdate'
responses:
200:
description: 弹性IP信息
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpResponse'
tags:
- elasticips

View File

@@ -0,0 +1,38 @@
post:
summary: 创建弹性IP
parameters:
- in: body
name: elasticip
required: true
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpCreate'
responses:
200:
description: 新建弹性IP的信息
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpResponse'
tags:
- elasticips
get:
summary: 按指定条件列出弹性IP列表
parameters:
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/cloudprovider'
- $ref: '../parameters/common.yaml#/cloudaccount'
- $ref: '../parameters/common.yaml#/provider'
- $ref: '../parameters/common.yaml#/brand'
- $ref: '../parameters/common.yaml#/cloud_env'
- $ref: '../parameters/common.yaml#/public_cloud'
- $ref: '../parameters/common.yaml#/private_cloud'
- $ref: '../parameters/elasticip.yaml#/usable_eip_for_associate_type'
- $ref: '../parameters/elasticip.yaml#/usable_eip_for_associate_id'
- $ref: '../parameters/elasticip.yaml#/usable'
responses:
200:
description: 弹性IP列表信息
schema:
$ref: '../schemas/elasticip.yaml#/ElasticIpListResponse'
tags:
- elasticips

40
docs/host/host.yaml Normal file
View File

@@ -0,0 +1,40 @@
get:
summary: 获取指定宿主机详情信息
parameters:
- $ref: '../parameters/host.yaml#/hostId'
- $ref: '../parameters/common.yaml#/pending_delete'
responses:
200:
description: 宿主机信息
schema:
$ref: '../schemas/host.yaml#/HostResponse'
tags:
- host
put:
summary: 更新宿主机信息
parameters:
- $ref: '../parameters/host.yaml#/hostId'
- in: body
name: host
required: true
schema:
$ref: '../schemas/host.yaml#/HostUpdate'
responses:
200:
description: 宿主机信息
schema:
$ref: '../schemas/host.yaml#/HostResponse'
tags:
- host
delete:
summary: 删除指定宿主机
parameters:
- $ref: '../parameters/host.yaml#/hostId'
- $ref: '../parameters/common.yaml#/override_pending_delete'
responses:
200:
description: 被删除宿主机的信息,删除前确保已解除删除保护
schema:
$ref: '../schemas/host.yaml#/HostResponse'
tags:
- host

44
docs/host/hosts.yaml Normal file
View File

@@ -0,0 +1,44 @@
get:
summary: 按指定条件列出宿主机
parameters:
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/common.yaml#/provider'
- $ref: '../parameters/common.yaml#/zone'
- $ref: '../parameters/common.yaml#/wire'
- $ref: '../parameters/common.yaml#/vpc'
- $ref: '../parameters/common.yaml#/region'
- $ref: '../parameters/host.yaml#/enable'
- $ref: '../parameters/host.yaml#/disable'
- $ref: '../parameters/host.yaml#/host_type'
- $ref: '../parameters/host.yaml#/is_empty'
- $ref: '../parameters/host.yaml#/storage'
- $ref: '../parameters/host.yaml#/usable'
- $ref: '../parameters/host.yaml#/hypervisor'
- $ref: '../parameters/host.yaml#/any_mac'
- $ref: '../parameters/host.yaml#/cachedimage'
- $ref: '../parameters/host.yaml#/is_baremetal'
- $ref: '../parameters/host.yaml#/resource_type'
- $ref: '../parameters/host.yaml#/storage_not_attached'
responses:
200:
description: 宿主机列表信息
schema:
$ref: '../schemas/host.yaml#/HostListResponse'
tags:
- host
post:
summary: 注册物理机
parameters:
- in: body
name: host
required: true
schema:
$ref: '../schemas/host.yaml#/HostCreate'
responses:
200:
description: 新创建的宿主机信息
schema:
$ref: '../schemas/host.yaml#/HostResponse'
tags:
- host

View File

@@ -104,7 +104,10 @@ put:
- $ref: "../parameters/image.yaml#/x-image-meta-property-os_arch"
- $ref: "../parameters/image.yaml#/x-image-meta-property-os_distribution"
- $ref: "../parameters/image.yaml#/x-image-meta-property-os_version"
summary: 更新镜像信息
- in: body
type: file
description: 镜像二进制文件内容
summary: 更新镜像信息或上传镜像文件
responses:
200:
description: 镜像信息
@@ -118,10 +121,13 @@ get:
parameters:
- in: query
name: format
enum: [vhd,vmdk,qcow2]
type: string
description: 镜像下载格式
- in: query
name: torrent
type: boolean
description: 下载torrent种子
tags:
- images

View File

@@ -49,6 +49,79 @@ paths:
/storages/{storageId}/offline:
$ref: "./storage/storage.yaml#/offline"
/storagecaches:
$ref: "./storagecache/storagecaches.yaml"
/storagecaches/{storagecacheId}:
$ref: "./storagecache/storagecache.yaml"
/storagecaches/{storagecacheId}/cache-image:
$ref: "./storagecache/cache-image.yaml"
/disks:
$ref: "./disk/disks.yaml"
/disks/{diskId}:
$ref: "./disk/disk.yaml"
/disks/{diskId}/resize:
$ref: "./disk/resize.yaml"
/disks/{diskId}/save:
$ref: "./disk/save.yaml"
/disks/{diskId}/private:
$ref: "./disk/private.yaml"
/disks/{diskId}/public:
$ref: "./disk/public.yaml"
/disks/{diskId}/purge:
$ref: "./disk/purge.yaml"
/disks/{diskId}/reset:
$ref: "./disk/reset.yaml"
/disks/{diskId}/create-snapshot:
$ref: "./disk/create-snapshot.yaml"
/hosts:
$ref: "./host/hosts.yaml"
/hosts/{hostId}:
$ref: "./host/host.yaml"
/hosts/{hostId}/ping:
$ref: "./host/ping.yaml"
/hosts/{hostId}/enable:
$ref: "./host/enable.yaml"
/hosts/{hostId}/disable:
$ref: "./host/disable.yaml"
/hosts/{hostId}/syncstatus:
$ref: "./host/syncstatus.yaml"
/hosts/{hostId}/prepare:
$ref: "./host/prepare.yaml"
/hosts/{hostId}/ipmi:
$ref: "./host/ipmi.yaml"
/hosts/{hostId}/convert-hypervisor:
$ref: "./host/convert-hypervisor.yaml"
/hosts/{hostId}/undo-convert:
$ref: "./host/undo-convert.yaml"
/hosts/{hostId}/maintenance:
$ref: "./host/maintenance.yaml"
/hosts/{hostId}/unmaintenance:
$ref: "./host/unmaintenance.yaml"
/hosts/{hostId}/stop:
$ref: "./host/stop.yaml"
/hosts/{hostId}/start:
$ref: "./host/start.yaml"
/hosts/{hostId}/reset:
$ref: "./host/reset.yaml"
# /hosts/{hostId}/add-netif:
# $ref: "./host/add-netif.yaml"
# /hosts/{hostId}/remove-netif:
# $ref: "./host/remove-netif.yaml"
# /hosts/{hostId}/enable-netif:
# $ref: "./host/enable-netif.yaml"
# /hosts/{hostId}/disable-netif:
# $ref: "./host/disable-netif.yaml"
# /hosts/{hostId}/remove-all-netifs:
# $ref: "./host/remove-all-netifs.yaml"
/hosts/{hostId}/undo-prepaid-recycle:
$ref: "./host/undo-prepaid-recycle.yaml"
/hosts/{hostId}/renew-prepaid-recycle:
$ref: "./host/renew-prepaid-recycle.yaml"
/hosts/{hostId}/spec:
$ref: "./host/spec.yaml"
/hoststorages:
$ref: "./hoststorage/hoststorage.yaml"
/hosts/{hostId}/storages/{storageId}:
@@ -92,7 +165,7 @@ paths:
/servers/{instanceId}/change-bandwidth:
$ref: "./instance/change-bandwidth.yaml"
/servers/{instanceId}/change-config:
$ref: "./instance/change-bandwidth.yaml"
$ref: "./instance/change-config.yaml"
/servers/{instanceId}/change-ip-addr:
$ref: "./instance/change-ip-addr.yaml"
/servers/{instanceId}/create-backup:
@@ -248,6 +321,15 @@ paths:
$ref: "./loadbalancer/loadbalancerlisteners.yaml"
/loadbalancerlisteners/{loadbalancerlistenerId}:
$ref: "./loadbalancer/loadbalancerlistener.yaml"
/loadbalancerlisteners/{loadbalancerlistenerId}/backend-status:
$ref: "./loadbalancer/loadbalancerlistener-backend-status.yaml"
/loadbalancerlistenerrules:
$ref: "./loadbalancer/loadbalancerlistenerrules.yaml"
/loadbalancerlistenerrules/{loadbalancerlistenerruleId}:
$ref: "./loadbalancer/loadbalancerlistenerrule.yaml"
/loadbalancerlistenerrules/{loadbalancerlistenerruleId}/backend-status:
$ref: "./loadbalancer/loadbalancerlistenerrule-backend-status.yaml"
/loadbalancerbackendgroups:
$ref: "./loadbalancer/loadbalancerbackendgroups.yaml"
@@ -259,6 +341,22 @@ paths:
/loadbalancerbackends/{loadbalancerbackendId}:
$ref: "./loadbalancer/loadbalancerbackend.yaml"
/loadbalancerclusters:
$ref: "./loadbalancer/loadbalancerclusters.yaml"
/loadbalancerclusters/{loadbalancerClusterId}:
$ref: "./loadbalancer/loadbalancercluster.yaml"
/loadbalanceragents:
$ref: "./loadbalancer/loadbalanceragents.yaml"
/loadbalanceragents/{loadbalancerAgentId}:
$ref: "./loadbalancer/loadbalanceragent.yaml"
/loadbalanceragents/{loadbalancerAgentId}/params-patch:
$ref: "./loadbalancer/loadbalanceragent-params-patch.yaml"
/loadbalanceragents/{loadbalancerAgentId}/deploy:
$ref: "./loadbalancer/loadbalanceragent-deploy.yaml"
/loadbalanceragents/{loadbalancerAgentId}/undeploy:
$ref: "./loadbalancer/loadbalanceragent-undeploy.yaml"
/identity_providers:
$ref: "./identity/identity_providers.yaml"
/identity_providers/{idp_id}:
@@ -357,11 +455,37 @@ paths:
/serverskus/{serverskuId}/cache-sku:
$ref: "./serversku/cache-sku.yaml"
/secgroups:
$ref: "./secgroup/secgroups.yaml"
/secgroups/{secgroupId}:
$ref: "./secgroup/secgroup.yaml"
/secgroups/{secgroupId}/clone:
$ref: "./secgroup/clone.yaml"
/secgroups/{secgroupId}/union:
$ref: "./secgroup/union.yaml"
/secgroups/{secgroupId}/add-rule:
$ref: "./secgroup/add-rule.yaml"
/secgroups/{secgroupId}/public:
$ref: "./secgroup/public.yaml"
/secgroups/{secgroupId}/private:
$ref: "./secgroup/private.yaml"
/secgroups/{secgroupId}/cache-secgroup:
$ref: "./secgroup/cache-secgroup.yaml"
/secgroups/{secgroupId}/uncache-secgroup:
$ref: "./secgroup/uncache-secgroup.yaml"
/secgroupcaches:
$ref: "./secgroupcache/secgroupcaches.yaml"
/secgroupcaches/{cacheId}:
$ref: "./secgroupcache/secgroupcache.yaml"
/secgrouprules:
$ref: "./secgrouprule/secgrouprules.yaml"
/secgrouprules/{secgroupruleId}:
$ref: "./secgrouprule/secgrouprule.yaml"
/keypairs:
$ref: "./keypair/keypairs.yaml"
/keypairs/{keypairId}:
@@ -410,6 +534,14 @@ paths:
/buckets/{bucketName}/access-info:
$ref: "./bucket/access.yaml"
/ansibleplaybooks:
$ref: "./ansibleplaybook/ansibleplaybooks.yaml"
/ansibleplaybooks/{ansibleplaybookId}:
$ref: "./ansibleplaybook/ansibleplaybook.yaml"
/ansibleplaybooks/{ansibleplaybookId}/run:
$ref: "./ansibleplaybook/ansibleplaybook-run.yaml"
/ansibleplaybooks/{ansibleplaybookId}/stop:
$ref: "./ansibleplaybook/ansibleplaybook-stop.yaml"
/dbinstances:
$ref: "./dbinstance/dbinstances.yaml"
/dbinstances/{dbinstanceId}:
@@ -535,4 +667,3 @@ paths:
$ref: "./cloudaccount/enable-auto-sync.yaml"
/cloudaccounts/{cloudaccountId}/disable-auto-sync:
$ref: "./cloudaccount/disable-auto-sync.yaml"
>>>>>>> add rds operation

39
docs/keypair/keypair.yaml Normal file
View File

@@ -0,0 +1,39 @@
get:
summary: 获取指定秘钥详情信息
parameters:
- $ref: "../parameters/keypair.yaml#/keypairId"
responses:
200:
description: 秘钥详情信息
schema:
$ref: "../schemas/keypair.yaml#/KeypairResponse"
tags:
- keypairs
delete:
summary: 删除指定秘钥
parameters:
- $ref: '../parameters/keypair.yaml#/keypairId'
responses:
200:
schema:
$ref: '../schemas/keypair.yaml#/KeypairResponse'
tags:
- keypairs
put:
summary: 更新秘钥信息
parameters:
- $ref: '../parameters/keypair.yaml#/keypairId'
- in: body
name: keypair
required: true
schema:
$ref: '../schemas/keypair.yaml#/KeypairUpdate'
responses:
200:
description: 秘钥信息
schema:
$ref: '../schemas/keypair.yaml#/KeypairResponse'
tags:
- keypairs

View File

@@ -0,0 +1,29 @@
post:
summary: 创建秘钥
parameters:
- in: body
name: keypair
required: true
schema:
$ref: '../schemas/keypair.yaml#/KeypairCreate'
responses:
200:
description: 新建秘钥的信息
schema:
$ref: '../schemas/keypair.yaml#/KeypairResponse'
tags:
- keypairs
get:
summary: 按指定条件列出秘钥列表
parameters:
- $ref: '../parameters/common.yaml#/limit'
- $ref: '../parameters/common.yaml#/offset'
- $ref: '../parameters/keypair.yaml#/admin'
responses:
200:
description: 秘钥列表信息
schema:
$ref: '../schemas/keypair.yaml#/KeypairListResponse'
tags:
- keypairs

View File

@@ -6,7 +6,7 @@ get:
200:
description: 实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerCachedAclListResponse"
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerResponse"
tags:
- loadbalancers
delete:

View File

@@ -0,0 +1,32 @@
post:
summary: 部署和更新转发实例上的守护程序
description: |
部署前需要先准备好keystone账号用于lbagent程序访问api服务同步配置信息
keystone账号通过host.vars指定描述如下
- `user`, 用户名
- `pass`,密码
- `proj`,项目名,一般情况下该值应当为`system`
当`deploy_method`为`yum`时需要同时指定yum源相关的变量
- `repo_base_url`,一般情况下该值应当为`https://controller-host-ip/yumrepo`
- `repo_sslverify`默认为0表示访问仓库时不校验tls证书
若`repo_base_url`使用https且使用自签名证书时一般应当关闭tls证书校验
该操作依赖ansibleserver执行具体的部署任务。对应的ansibleplaybook任务id记录在deployment.ansibleplaybook可通过这个ID获得部署执行的结果
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
- name: params
in: body
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentDeployRequest"
responses:
200:
description: 变更后的转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents

View File

@@ -0,0 +1,15 @@
post:
summary: 更改loadbalancer转发实例的守护进程的参数
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
- name: params
in: body
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentParams"
responses:
200:
description: 变更后的转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents

View File

@@ -0,0 +1,18 @@
post:
summary: 下线转发实例
description: |
该操作要求被下线的转发实例之前通过lbagent-deploy部署
下线的执行操作包括
- 卸载lbagent
- 停止正在运行的与转发相关的守护进程
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
responses:
200:
description: 变更后的转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents

View File

@@ -0,0 +1,46 @@
get:
summary: 获取指定loadbalancer转发实例信息
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
responses:
200:
description: 转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents
put:
summary: 更新loadbalancer转发实例自身参数
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerAgentId"
- name: loadbalanceragent
in: body
schema:
type: object
properties:
hb_timeout:
description: 转发实例心跳超时时间
in: body
type: integer
minimum: 1
example: 3600
responses:
200:
description: 转发实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents
delete:
summary: 删除指定loadbalancer转发实例
description: |
删除操作仅涉及数据库记录,实际节点的下线计划需要管理员计划实施
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerId"
responses:
200:
description: 被删除转发实例的信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents

View File

@@ -0,0 +1,25 @@
get:
summary: 按指定条件列出loadbalancer转发实例
parameters:
- $ref: "../parameters/loadbalancer.yaml#/cluster"
responses:
200:
description: 实例列表信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentListResponse"
tags:
- loadbalanceragents
post:
summary: 创建loadbalancer转发实例
parameters:
- name: loadbalanceragent
in: body
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentCreateRequest"
responses:
200:
description: 新创建的实例信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerAgentResponse"
tags:
- loadbalanceragents

View File

@@ -0,0 +1,26 @@
get:
summary: 获取指定loadbalancer集群信息
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerClusterId"
responses:
200:
description: 集群信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerClusterResponse"
tags:
- loadbalancerclusters
delete:
summary: 删除指定loadbalancer集群
description: |
该操作会同时删除指定集群下的LoadbalancerAgent对象。
该操作仅删除数据库记录,并不对实际的转发节点进行配置变更,转发节点的下线需要由管理员另外执行。
parameters:
- $ref: "../parameters/loadbalancer.yaml#/loadbalancerClusterId"
responses:
200:
description: 被删除实例的信息
schema:
$ref: "../schemas/loadbalancer.yaml#/LoadbalancerClusterResponse"
tags:
- loadbalancerclusters

Some files were not shown because too many files have changed in this diff Show More