Compare commits

..

2536 Commits

Author SHA1 Message Date
yunion-ci-robot
90e365782c Merge pull request #8224 from yousong/automated-cherry-pick-of-#8222-upstream-release-2.13
Automated cherry pick of #8222: webconsole: ssh: each argument on its own line
2020-10-10 16:09:18 +08:00
Yousong Zhou
0f4b8e79ac webconsole: ssh: add keyboard-interactive as an option
For ESXi 6.0

  Authentications that can continue: publickey,keyboard-interactive
2020-10-10 14:49:28 +08:00
Yousong Zhou
79f0c66c48 webconsole: ssh: each argument on its own line 2020-10-10 14:49:28 +08:00
Zexi Li
6547ba83f3 Merge pull request #7540 from wanyaoqi/automated-cherry-pick-of-#7530-upstream-release-2.13
Automated cherry pick of #7530: fix mount xfs
2020-08-11 11:16:43 +08:00
wanyaoqi
7b57ee2ffe fix mount xfs 2020-08-10 20:09:10 +08:00
wanyaoqi
c2ef15dc0c fix cache non lvm disks (#7464) 2020-08-01 21:12:03 +08:00
Zexi Li
3018d8b724 baremetal: fix hpssactl split last LV size out of limit (#7431) 2020-07-31 22:36:03 +08:00
Zexi Li
4b02fd72df Merge pull request #7425 from ioito/automated-cherry-pick-of-#7417-upstream-release-2.13
Automated cherry pick of #7417: fix: avoid lost backend params
2020-07-31 18:08:21 +08:00
Zexi Li
a87eb0624e Merge pull request #7412 from ioito/automated-cherry-pick-of-#7405-upstream-release-2.13
Automated cherry pick of #7405: fix: avoid account sync deadlock
2020-07-31 18:05:46 +08:00
Qu Xuan
2eb090e6a6 fix: avoid lost backend params 2020-07-31 17:21:14 +08:00
Qu Xuan
fdf56f793b fix: avoid account sync deadlock 2020-07-31 16:41:50 +08:00
yunion-ci-robot
518e3b1ca4 Merge pull request #7308 from wanyaoqi/automated-cherry-pick-of-#7302-upstream-release-2.13
Automated cherry pick of #7302: fix clone clean pending usage
2020-07-24 22:49:45 +08:00
wanyaoqi
d68e6d73df fix clone clean pending usage 2020-07-23 18:40:00 +08:00
Zexi Li
ffad986f9c Merge pull request #7299 from wanyaoqi/automated-cherry-pick-of-#7294-upstream-release-2.13
Automated cherry pick of #7294: fix snapshot clean pending usage
2020-07-23 13:48:47 +08:00
wanyaoqi
115ecc7a05 fix snapshot clean pending usage 2020-07-23 11:48:34 +08:00
Zexi Li
a749af97a3 Merge pull request #7291 from tb365/automated-cherry-pick-of-#7286-upstream-release-2.13
Automated cherry pick of #7286: apigateway host imports data validate
2020-07-22 21:44:33 +08:00
tangbin
0b2576a349 format fix 2020-07-22 18:18:29 +08:00
tangbin
33394a4db6 fix empty else 2020-07-22 18:18:29 +08:00
tangbin
15eb943b3c fix host import 2020-07-22 18:18:29 +08:00
tangbin
5f447cee96 fix huawei delete resource 2020-07-22 18:18:29 +08:00
tangbin
e45e965190 fix huawei elb disable healthcheck 2020-07-22 18:18:28 +08:00
tangbin
8f923850b4 lb sync project fix 2020-07-22 18:18:28 +08:00
tangbin
3fbc9909a9 add more log 2020-07-22 18:12:57 +08:00
tangbin
56a1930e23 apigateway host imports data validate 2020-07-22 18:12:57 +08:00
Zexi Li
94bd6eb9be Merge pull request #7259 from tb365/automated-cherry-pick-of-#7237-upstream-release-2.13
Automated cherry pick of #7237: huawei eip delete fix
2020-07-20 20:47:21 +08:00
tangbin
634bddccbd huawei eip delete fix 2020-07-20 10:49:46 +08:00
yunion-ci-robot
7731120ec7 Merge pull request #7209 from zexi/automated-cherry-pick-of-#7201-upstream-release-2.13
Automated cherry pick of #7201: webconsole: fix old session make new session closed
2020-07-16 20:16:20 +08:00
Zexi Li
5d39ae3beb webconsole: fix old session make new session closed 2020-07-16 18:52:40 +08:00
Zexi Li
ecedd46ab0 Merge pull request #7041 from swordqiu/automated-cherry-pick-of-#7036-upstream-release-2.13
Automated cherry pick of #7036: fix: cloud account sync may block
2020-07-04 12:09:43 +08:00
Qiu Jian
80fd2aee4c fix: cloud account sync may block 2020-07-04 10:27:13 +08:00
Zexi Li
f1dfe9f7bd Merge pull request #6941 from swordqiu/automated-cherry-pick-of-#6936-upstream-release-2.13
Automated cherry pick of #6936: fix: sort quota list result by usage rate
2020-06-23 23:28:26 +08:00
Qiu Jian
e8f873b827 fix: sort quota list result by usage rate 2020-06-23 22:28:48 +08:00
yunion-ci-robot
4ef4fd6c7f Merge pull request #6911 from wanyaoqi/automated-cherry-pick-of-#6906-upstream-release-2.13
Automated cherry pick of #6906: disable dhclient
2020-06-22 23:41:04 +08:00
wanyaoqi
40ed3bcf8e disable dhclient 2020-06-22 21:32:41 +08:00
Zexi Li
107611bfc6 Merge pull request #6898 from yousong/automated-cherry-pick-of-#6893-upstream-release-2.13
Automated cherry pick of #6893: cloudcommon: app: cosmetic change
2020-06-22 09:17:51 +08:00
Yousong Zhou
1b5ba590d8 cloudcommon: policy: fix interval and oneshot sync
Reduce CPU utilization caused by queued time.AfterFunc calls
2020-06-21 18:35:01 +08:00
Yousong Zhou
3e6b487d57 cloudcommon: app: cosmetic change 2020-06-21 18:35:01 +08:00
yunion-ci-robot
ad9bd39375 Merge pull request #6889 from swordqiu/automated-cherry-pick-of-#6885-upstream-release-2.13
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
c85dd5a69f fix: wrong cloud provider status when sync disconnected cloud account 2020-06-19 01:25:19 +08:00
yunion-ci-robot
70eb808590 Merge pull request #6868 from yousong/automated-cherry-pick-of-#6859-upstream-release-2.13
Automated cherry pick of #6859: cloudaccounts: one sync task in queue per cloudaccount
2020-06-18 23:13:04 +08:00
Yousong Zhou
785edd8c3d cloudaccounts: one sync task in queue per cloudaccount 2020-06-18 17:13:23 +08:00
Zexi Li
9dbb497e7b Merge pull request #6840 from zexi/automated-cherry-pick-of-#6839-upstream-release-2.13
Automated cherry pick of #6839: scheduler: fix memory over committed
2020-06-17 18:49:28 +08:00
Zexi Li
96aebfa77b Merge pull request #6858 from yousong/automated-cherry-pick-of-#6837-upstream-release-2.13
Automated cherry pick of #6837: appsrv: ring: release ring content on pop
2020-06-17 11:24:51 +08:00
Yousong Zhou
264339bb04 appsrv: rework TestRing 2020-06-17 10:54:47 +08:00
Yousong Zhou
ae58061bb5 appsrv: ring: release ring content on pop 2020-06-17 10:54:47 +08:00
Zexi Li
3736b9f741 Merge pull request #6853 from swordqiu/automated-cherry-pick-of-#6849-upstream-release-2.13
Automated cherry pick of #6849: fix: disable policy rule compaction
2020-06-17 10:29:20 +08:00
Qiu Jian
e01f12ac4d fix: policy allow if one of the matching rules is allow 2020-06-16 23:12:40 +08:00
Qiu Jian
30ddb24756 fix: disable policy rule compaction 2020-06-16 23:12:40 +08:00
Zexi Li
1d42067540 Merge pull request #6848 from wanyaoqi/automated-cherry-pick-of-#6844-upstream-release-2.13
Automated cherry pick of #6844: fix cpu usage metrics
2020-06-16 21:00:59 +08:00
wanyaoqi
36ed290b55 fix cpu usage metrics 2020-06-16 20:46:25 +08:00
Zexi Li
0c5aeb022d Merge pull request #6834 from wanyaoqi/bugfix/wyq/win10-2.13
CherryPick 2.13: fix windows install regedit record
2020-06-16 20:12:33 +08:00
Zexi Li
5a38a9af79 scheduler: fix memory over committed 2020-06-16 19:15:27 +08:00
wanyaoqi
3d95961fa9 fix windows install regedit record 2020-06-15 17:58:04 +08:00
Zexi Li
20efee53f2 Merge pull request #6821 from yousong/automated-cherry-pick-of-#6817-upstream-release-2.13
Automated cherry pick of #6817: guestnetworks: use math/rand instead of crypto/rand
2020-06-12 10:09:38 +08:00
Yousong Zhou
c5812e23f8 guestnetworks: reduce odds of collision seeded by epoch seconds 2020-06-11 21:23:51 +08:00
Yousong Zhou
f1522de214 guestnetworks: use math/rand instead of crypto/rand 2020-06-11 21:23:51 +08:00
Zexi Li
7492240523 Merge pull request #6815 from ioito/automated-cherry-pick-of-#6810-upstream-release-2.13
Automated cherry pick of #6810: fix: 避免openstack磁盘和存储窜位
2020-06-11 17:52:33 +08:00
Zexi Li
fde3a78544 Merge pull request #6807 from zexi/automated-cherry-pick-of-#6803-upstream-release-2.13
Automated cherry pick of #6803: webconsole: fix version and others handler not handle
2020-06-11 17:50:36 +08:00
Qu Xuan
d60bbae538 fix: 避免openstack磁盘和存储窜位 2020-06-11 14:15:46 +08:00
Zexi Li
f136d2af93 Merge pull request #6801 from wanyaoqi/automated-cherry-pick-of-#6797-upstream-release-2.13
Automated cherry pick of #6797: fix host list servers filter
2020-06-10 17:05:52 +08:00
Zexi Li
abb406d9db webconsole: fix version and others handler not handle 2020-06-10 17:04:56 +08:00
wanyaoqi
9674c55a09 fix host list servers filter 2020-06-10 14:09:51 +08:00
yunion-ci-robot
333eb468b0 Merge pull request #6795 from swordqiu/automated-cherry-pick-of-#6791-upstream-release-2.13
Automated cherry pick of #6791: fix: policy-explain not working properly
2020-06-10 11:31:08 +08:00
Zexi Li
48cdb6a62d Merge pull request #6790 from rainzm/automated-cherry-pick-of-#6786-upstream-release-2.13
Automated cherry pick of #6786: fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk
2020-06-10 11:28:20 +08:00
Zexi Li
8039d9d5b2 Merge pull request #6767 from ioito/automated-cherry-pick-of-#6663-upstream-release-2.13
Automated cherry pick of #6663: fix: 优化安全组同步逻辑
2020-06-10 11:19:21 +08:00
Qiu Jian
6202adba97 fix: policy-explain not working properly 2020-06-10 11:09:03 +08:00
rainzm
4920ed421f fix: Hanle the error of vdisk.GetIStorage in syncCloudDisk 2020-06-09 19:52:19 +08:00
Qu Xuan
1159b7c4e8 fix: 优化安全组同步逻辑 2020-06-08 17:02:13 +08:00
yunion-ci-robot
d425614fd7 Merge pull request #6690 from ioito/automated-cherry-pick-of-#6686-upstream-release-2.13
Automated cherry pick of #6686: fix: 避免锁超时
2020-06-02 13:59:42 +08:00
Qu Xuan
9b82c90605 fix: 避免锁超时 2020-06-02 11:16:13 +08:00
Zexi Li
525201e67c Merge pull request #6679 from ioito/automated-cherry-pick-of-#6675-upstream-release-2.13
Automated cherry pick of #6675: fix: add us-west4 for google region
2020-06-02 10:01:10 +08:00
Zexi Li
9df3a13c27 Merge pull request #6674 from wanyaoqi/automated-cherry-pick-of-#6670-upstream-release-2.13
Automated cherry pick of #6670: get snapshots order by created at asc
2020-06-02 09:58:55 +08:00
Qu Xuan
ecb41770b0 fix: add us-west4 for google region 2020-06-01 18:30:17 +08:00
wanyaoqi
f35dee2597 get snapshots order by created at asc 2020-06-01 15:11:41 +08:00
Zexi Li
5c91ebd2a8 Merge pull request #6657 from swordqiu/automated-cherry-pick-of-#6636-upstream-release-2.13
Automated cherry pick of #6636: fix: ignore match weights when searching matched policysets
2020-05-29 14:20:45 +08:00
Zexi Li
3525c927c9 Merge pull request #6654 from wanyaoqi/automated-cherry-pick-of-#6650-upstream-release-2.13
Automated cherry pick of #6650: fix migrate with multi local storage
2020-05-29 14:19:11 +08:00
Qiu Jian
09611b6522 fix: ignore match weights when searching matched policysets 2020-05-29 12:56:43 +08:00
wanyaoqi
c20ee70f22 fix migrate with multi local storage 2020-05-29 12:42:33 +08:00
Zexi Li
c53a78a86c Merge pull request #6625 from ioito/automated-cherry-pick-of-#6619-upstream-release-2.13
Automated cherry pick of #6619: fix: 避免azure卸载磁盘失败
2020-05-27 17:52:23 +08:00
Qu Xuan
5d06746eec fix: 避免azure卸载磁盘失败 2020-05-27 15:57:54 +08:00
Zexi Li
a6abbab53a Merge pull request #6602 from wanyaoqi/automated-cherry-pick-of-#6598-upstream-release-2.13
Automated cherry pick of #6598: fix remotefile fetch image propertites
2020-05-26 17:15:30 +08:00
wanyaoqi
33da517e23 fix remotefile fetch image propertites 2020-05-26 15:56:04 +08:00
Zexi Li
c6fea991a7 Merge pull request #6586 from zexi/automated-cherry-pick-of-#6584-upstream-release-2.13
Automated cherry pick of #6584: fix k8s repo wrong privilege
2020-05-25 18:28:18 +08:00
Zexi Li
4232145884 fix k8s repo wrong privilege 2020-05-25 17:00:38 +08:00
Zexi Li
b33ad3e408 Merge pull request #6574 from zhaoxiangchun/automated-cherry-pick-of-#6573-upstream-release-2.13
Automated cherry pick of #6573: zstack宿主机监控中增加参数信息进行Unmarshal
2020-05-25 12:17:58 +08:00
zhaoxiangchun
19c21dda10 zstack宿主机监控中增加参数信息进行Unmarshal 2020-05-24 17:18:12 +08:00
Zexi Li
dfc62fbd78 Merge pull request #6571 from swordqiu/automated-cherry-pick-of-#6567-upstream-release-2.13
Automated cherry pick of #6567: fix: default policy not effective
2020-05-22 22:48:49 +08:00
Zexi Li
fb36b28715 Merge pull request #6562 from ioito/automated-cherry-pick-of-#6558-upstream-release-2.13
Automated cherry pick of #6558: fix: 避免openstack以镜像做系统盘创建失败
2020-05-22 22:45:41 +08:00
Qiu Jian
0714c8c1eb fix: default policy not effective 2020-05-22 22:41:48 +08:00
Qu Xuan
574cb3c659 fix: 避免openstack以镜像做系统盘创建失败 2020-05-22 20:18:51 +08:00
Zexi Li
7a0dd41201 Merge pull request #6555 from swordqiu/automated-cherry-pick-of-#6551-upstream-release-2.13
Automated cherry pick of #6551: fix: empty matched policies list for roles
2020-05-22 19:32:37 +08:00
Qiu Jian
fa9b5171d6 fix: empty matched policies list for roles 2020-05-22 18:58:44 +08:00
Zexi Li
de883a51b1 Merge pull request #6515 from ioito/automated-cherry-pick-of-#6511-upstream-release-2.13
Automated cherry pick of #6511: fix: 避免忽略本地allow any云上deny any安全组规则同步
2020-05-22 10:22:57 +08:00
Zexi Li
732c590dff Merge pull request #6524 from swordqiu/automated-cherry-pick-of-#6516-upstream-release-2.13
Automated cherry pick of #6516: fix: system privileges user cannot access system console
2020-05-22 10:16:06 +08:00
yunion-ci-robot
6c65a9e596 Merge pull request #6518 from zexi/automated-cherry-pick-of-#6481-upstream-release-2.13
Automated cherry pick of #6481: region: fix get resource details panic
2020-05-21 23:32:51 +08:00
yunion-ci-robot
68a6de6a4e Merge pull request #6517 from zexi/automated-cherry-pick-of-#6491-upstream-release-2.13
Automated cherry pick of #6491: keystone: fix db not sync
2020-05-21 22:49:51 +08:00
Qiu Jian
fe756a91fb fix: system privileges user cannot access system console 2020-05-21 18:46:53 +08:00
Zexi Li
7fe9e4a16a region: fix get resource details panic 2020-05-21 18:43:46 +08:00
Zexi Li
21ed506912 keystone: fix db not sync 2020-05-21 18:42:57 +08:00
Qu Xuan
15aa197ee3 fix: 避免忽略本地allow any云上deny any安全组规则同步 2020-05-21 18:31:59 +08:00
Zexi Li
4fc2d63a1e Merge pull request #6478 from yousong/automated-cherry-pick-of-#6477-upstream-release-2.13
Automated cherry pick of #6477: cloudcommon: rbac: fix typo
2020-05-20 12:53:43 +08:00
Yousong Zhou
124e84a229 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:19:44 +08:00
Yousong Zhou
5b1e927522 networks: eliminate a variable 2020-05-20 11:19:44 +08:00
Yousong Zhou
847a20dbb8 guestdrivers: managed: use const api.EIP_STATUS_ASSOCIATE 2020-05-20 11:19:44 +08:00
Yousong Zhou
29b890b7d5 cloudprovider: fix typo 2020-05-20 11:19:43 +08:00
Yousong Zhou
bfcf626173 cloudcommon: rbac: fix typo 2020-05-20 11:19:43 +08:00
Zexi Li
125cf53602 Merge pull request #6467 from zexi/automated-cherry-pick-of-#6462-upstream-release-2.13
Automated cherry pick of #6462: region: fix server create params not include specified resource
2020-05-19 19:09:07 +08:00
Zexi Li
d055f8512b region: fix server create params not include specified resource 2020-05-19 17:39:42 +08:00
Zexi Li
df4a9011be Merge pull request #6447 from swordqiu/automated-cherry-pick-of-#6443-upstream-release-2.13
Automated cherry pick of #6443: fix: anonymous user may list resources
2020-05-19 10:18:09 +08:00
Zexi Li
7e0efe810c Merge pull request #6437 from zexi/automated-cherry-pick-of-#6436-upstream-release-2.13
Automated cherry pick of #6436: baremetal: fix ssh put empty content file not created
2020-05-19 10:16:03 +08:00
Qiu Jian
0a42c64d8c fix: anonymous user may list resources 2020-05-19 01:27:37 +08:00
Zexi Li
51aa8a8ccb baremetal: fix ssh put empty content file not created 2020-05-18 21:45:15 +08:00
Zexi Li
fe6b51b213 Merge pull request #6411 from zhaoxiangchun/automated-cherry-pick-of-#6410-upstream-release-2.13
Automated cherry pick of #6410: 修复无法获取vmware宿主机监控数据的问题
2020-05-17 14:16:47 +08:00
zhaoxiangchun
ce98301616 修复无法获取vmware宿主机监控数据的问题 2020-05-16 21:20:15 +08:00
yunion-ci-robot
a5b522efcb Merge pull request #6392 from zexi/automated-cherry-pick-of-#6388-upstream-release-2.13
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
45879caf56 Merge pull request #6399 from swordqiu/automated-cherry-pick-of-#6395-upstream-release-2.13
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:06 +08:00
Zexi Li
0ff8359e2a region: fix baremetal can't enable public baremetal type network 2020-05-16 17:40:20 +08:00
Qiu Jian
9827a2f178 fix: server-sync-fix-nics should return errors if vnics ip is not reachable on host 2020-05-15 22:29:37 +08:00
Zexi Li
a23149987d Merge pull request #6383 from zexi/automated-cherry-pick-of-#6381-upstream-release-2.13
Automated cherry pick of #6381: scheduler: fix min counter get count not correct
2020-05-15 15:28:26 +08:00
Zexi Li
286042f2d3 scheduler: fix min counter get count not correct 2020-05-15 15:08:47 +08:00
Zexi Li
858c8e5dfd Merge pull request #6354 from zexi/automated-cherry-pick-of-#6353-upstream-release-2.13
Automated cherry pick of #6353: scheduler: filter disabled cloudprovider
2020-05-14 18:59:12 +08:00
Zexi Li
ac99e3cad2 Merge pull request #6342 from swordqiu/automated-cherry-pick-of-#6338-upstream-release-2.13
Automated cherry pick of #6338: fix: avoid using background context
2020-05-14 18:19:09 +08:00
Zexi Li
32511290b2 scheduler: filter disabled cloudprovider 2020-05-14 18:16:51 +08:00
Zexi Li
110b4d0862 Merge pull request #6351 from zexi/automated-cherry-pick-of-#6347-upstream-release-2.13
Automated cherry pick of #6347: scheduler: set schedtag default strategy if input empty
2020-05-14 17:49:32 +08:00
Zexi Li
07e0bc7461 scheduler: set schedtag default strategy if input empty 2020-05-14 17:27:37 +08:00
Qiu Jian
2cda2d55c0 fix: avoid using background context 2020-05-14 17:06:36 +08:00
yunion-ci-robot
af6362996a Merge pull request #6323 from wanyaoqi/automated-cherry-pick-of-#6319-upstream-release-2.13
Automated cherry pick of #6319: do not close worker chan
2020-05-13 20:16:03 +08:00
wanyaoqi
b18e534079 do not close worker chan
don't close worker chan after put work, will cause dead loop
2020-05-13 19:00:19 +08:00
Zexi Li
38ac5f6692 Merge pull request #6312 from ioito/automated-cherry-pick-of-#6306-upstream-release-2.13
Automated cherry pick of #6306: fix: openstack 安全组规则同步
2020-05-13 12:42:07 +08:00
Zexi Li
166cc07a34 Merge pull request #6296 from ioito/automated-cherry-pick-of-#6292-upstream-release-2.13
Automated cherry pick of #6292: fix: 优化openstack错误处理
2020-05-13 10:43:02 +08:00
Qu Xuan
af9067841a fix: openstack 安全组规则同步 2020-05-12 17:58:12 +08:00
Qu Xuan
195a972226 fix: 优化openstack错误处理 2020-05-12 14:10:17 +08:00
Zexi Li
1b86b7ee78 Merge pull request #6291 from yousong/automated-cherry-pick-of-#6287-upstream-release-2.13
Automated cherry pick of #6287: region: lbagent: undeploy: make it idempotent
2020-05-12 11:50:46 +08:00
Zexi Li
131d523a4a Merge pull request #6286 from yousong/automated-cherry-pick-of-#6282-upstream-release-2.13
Automated cherry pick of #6282: region: lbagents: fix deleting pending_deleted objects
2020-05-12 11:43:56 +08:00
Yousong Zhou
c0bd1ea0d2 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:40:02 +08:00
Yousong Zhou
51dd2ae063 region: lbagents: fix deleting pending_deleted objects
This was broken since the introduction of virtual object
2020-05-12 10:12:07 +08:00
Zexi Li
01ef9b24a6 Merge pull request #6274 from zexi/automated-cherry-pick-of-#6270-upstream-release-2.13
Automated cherry pick of #6270: scheduler: get region nil panic
2020-05-11 21:07:53 +08:00
Zexi Li
e32c02d2dc Merge pull request #6262 from ioito/automated-cherry-pick-of-#6258-upstream-release-2.13
Automated cherry pick of #6258: fix: 避免aliyun磁盘计费类型多次转换
2020-05-11 18:17:00 +08:00
Zexi Li
e040be15b9 scheduler: get region nil panic 2020-05-11 18:06:27 +08:00
Qu Xuan
acfa534b12 fix: 避免aliyun磁盘计费类型多次转换 2020-05-11 14:07:17 +08:00
Zexi Li
79e3ef08b5 Merge pull request #6253 from swordqiu/automated-cherry-pick-of-#6252-upstream-release-2.13
Automated cherry pick of #6252: fix: panic when disk has no valid storage_id
2020-05-11 10:01:28 +08:00
Qiu Jian
3b582cf708 fix: panic when disk has no valid storage_id 2020-05-11 02:55:33 +08:00
Zexi Li
3bca8f01ac Merge pull request #6251 from wanyaoqi/automated-cherry-pick-of-#6247-upstream-release-2.13
Automated cherry pick of #6247: fix import from libvirt
2020-05-10 21:35:28 +08:00
Zexi Li
233a5c9d40 Merge pull request #6233 from tb365/automated-cherry-pick-of-#6232-upstream-release-2.13
Automated cherry pick of #6232: huawei network id fix
2020-05-10 21:33:10 +08:00
wanyaoqi
65c5b55e83 fix import from libvirt 2020-05-10 20:46:06 +08:00
Zexi Li
b2ede96f97 Merge pull request #6246 from yousong/automated-cherry-pick-of-#6242-upstream-release-2.13
Automated cherry pick of #6242: disks: reword error message on bad DiskConfig struct
2020-05-10 11:29:23 +08:00
Yousong Zhou
4ac0f69db3 disks: reword error message on bad DiskConfig struct 2020-05-10 00:19:28 +08:00
tangbin
202375d1a0 huawei network id fix 2020-05-09 20:07:22 +08:00
Zexi Li
733dbdfa44 Merge pull request #6229 from yousong/automated-cherry-pick-of-#6225-upstream-release-2.13
Automated cherry pick of #6225: apigateway: handlers: register cloudnet modules
2020-05-09 18:52:46 +08:00
Yousong Zhou
04e0808c83 apigateway: handlers: register cloudnet modules 2020-05-09 16:42:10 +08:00
Zexi Li
5bcb3f5ced Merge pull request #6186 from zhaoxiangchun/automated-cherry-pick-of-#6185-upstream-release-2.13
Automated cherry pick of #6185: 修复谷歌监控无法获取的问题
2020-05-07 17:21:21 +08:00
zhaoxiangchun
1994f936aa 修复谷歌监控无法获取的问题
直接返回调用RestAPI的json格式数据
2020-05-07 11:27:05 +08:00
Zexi Li
ec20cde796 Merge pull request #6172 from yousong/automated-cherry-pick-of-#6168-upstream-release-2.13
Automated cherry pick of #6168: dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager
2020-05-07 11:23:29 +08:00
Zexi Li
ee9801d568 Merge pull request #6178 from swordqiu/automated-cherry-pick-of-#6174-upstream-release-2.13
Automated cherry pick of #6174: fix: fail to fetch real client ip from httprequest
2020-05-07 11:16:36 +08:00
Qiu Jian
a4e4bd503f fix: fail to fetch real client ip from httprequest 2020-05-06 22:28:28 +08:00
Yousong Zhou
7970d8f6f6 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:46 +08:00
Yousong Zhou
e1f9aea44b dnsrecords: note that DnsRecordManager is a IAdminSharableVirtualModelManager 2020-05-06 18:43:45 +08:00
yunion-ci-robot
b37d140d0b Merge pull request #6162 from zhaoxiangchun/automated-cherry-pick-of-#6158-upstream-release-2.13
Automated cherry pick of #6158: bugfix mem paginate
2020-05-06 15:43:44 +08:00
zhaoxiangchun
cff7fb799a bugfix mem paginate
通过totoal和offset 与limit比较确定最后返回数据
2020-05-06 11:04:36 +08:00
Zexi Li
4be6f6ae93 Merge pull request #6157 from ioito/automated-cherry-pick-of-#6153-upstream-release-2.13
Automated cherry pick of #6153: fix: secgroupcache权限问题修复
2020-04-30 20:14:17 +08:00
Qu Xuan
df972f6ac3 fix: secgroupcache权限问题修复 2020-04-30 15:45:26 +08:00
Zexi Li
78ce130b4d Merge pull request #6131 from swordqiu/automated-cherry-pick-of-#6120-upstream-release-2.13
Automated cherry pick of #6120: fix: sysadmin can override policy violation check
2020-04-29 21:15:57 +08:00
Zexi Li
4d70f5343a Merge pull request #6134 from tb365/automated-cherry-pick-of-#6132-upstream-release-2.13
Automated cherry pick of #6132: fix: FindAnonymousStructPoint needs input as a pointer to struct
2020-04-29 19:15:47 +08:00
Qiu Jian
22b647d9d7 fix: FindAnonymousStructPoint needs input as a pointer to struct 2020-04-29 18:31:18 +08:00
Qiu Jian
a103383112 fix: sysadmin can override policy violation check 2020-04-29 18:00:49 +08:00
Zexi Li
bc943b6f30 Merge pull request #6115 from swordqiu/automated-cherry-pick-of-#6111-upstream-release-2.13
Automated cherry pick of #6111: fix: prevent policy violation
2020-04-29 13:09:55 +08:00
Zexi Li
c95026c615 Merge pull request #6099 from ioito/automated-cherry-pick-of-#6095-upstream-release-2.13
Automated cherry pick of #6095: fix: 普通用户可获取rds账号密码
2020-04-29 13:08:25 +08:00
Qiu Jian
0662923475 fix: prevent policy violation 2020-04-29 00:18:37 +08:00
yunion-ci-robot
437f05914f Merge pull request #6107 from ioito/automated-cherry-pick-of-#6103-upstream-release-2.13
Automated cherry pick of #6103: fix: 修复openstack存储同步问题
2020-04-28 23:36:35 +08:00
Qu Xuan
80c2c2e2ed fix: 修复openstack存储同步问题 2020-04-28 14:48:46 +08:00
Qu Xuan
007ad415de fix: 普通用户可获取rds账号密码 2020-04-28 10:44:36 +08:00
Zexi Li
70a689085a Merge pull request #6072 from ioito/automated-cherry-pick-of-#6068-upstream-release-2.13
Automated cherry pick of #6068: fix: gcp use project name for cloudprovider
2020-04-27 16:03:34 +08:00
Qu Xuan
e7b5cb7744 fix: gcp use project name for cloudprovider 2020-04-27 14:18:13 +08:00
Zexi Li
2ed6ebb42a Merge pull request #6066 from rainzm/automated-cherry-pick-of-#6062-upstream-release-2.13
Automated cherry pick of #6062: fix/notify: Add deadline for rpc client
2020-04-27 12:48:15 +08:00
Rain
c371eb5ba3 fix/notify: Add deadline for rpc client 2020-04-27 10:45:28 +08:00
Zexi Li
55f1c65a13 Merge pull request #6058 from swordqiu/automated-cherry-pick-of-#6006-upstream-release-2.13
Automated cherry pick of #6006: fix: resolve parameter name conflict in google cloud account create input
2020-04-26 23:04:58 +08:00
Qiu Jian
b22d97bc71 fix: resolve parameter name conflict in google cloud account create input 2020-04-26 21:56:50 +08:00
Zexi Li
fd1d2ed3e9 Merge pull request #6049 from tb365/automated-cherry-pick-of-#6042-upstream-release-2.13
Automated cherry pick of #6042: huawei elb cookie timeout fix
2020-04-26 21:06:36 +08:00
tangbin
120f81af39 aws elb health check type fix 2020-04-26 20:11:19 +08:00
tangbin
14ac447799 huawei elb cookie timeout fix 2020-04-26 20:11:19 +08:00
yunion-ci-robot
05565c61b4 Merge pull request #6009 from swordqiu/automated-cherry-pick-of-#6008-upstream-release-2.13
Automated cherry pick of #6008: fix: GetOnPremiseNetworkOfIP should return underlay networks
2020-04-26 19:49:33 +08:00
Zexi Li
755ed4c54a Merge pull request #6032 from ioito/automated-cherry-pick-of-#6028-upstream-release-2.13
Automated cherry pick of #6028: fix: json unmarshal
2020-04-26 18:19:48 +08:00
Qu Xuan
00140d3af2 fix: json unmarshal 2020-04-26 15:53:00 +08:00
yunion-ci-robot
e2ad8450b6 Merge pull request #6018 from zexi/automated-cherry-pick-of-#6014-upstream-release-2.13
Automated cherry pick of #6014: scheduler: fix network predicate get wrong free port
2020-04-26 00:29:32 +08:00
Zexi Li
f7da35a988 scheduler: fix network predicate get wrong free port 2020-04-25 23:31:04 +08:00
Qiu Jian
7e56ed01eb fix: GetOnPremiseNetworkOfIP should return underlay networks 2020-04-25 16:30:00 +08:00
Zexi Li
f1014690e3 Merge pull request #5967 from swordqiu/automated-cherry-pick-of-#5966-upstream-release-2.13
Automated cherry pick of #5966: supermicro redfish support
2020-04-23 09:54:18 +08:00
Qiu Jian
dcf56e0463 remove errors import 2020-04-23 09:29:15 +08:00
Qiu Jian
5063616d07 supermicro redfish support 2020-04-23 09:28:04 +08:00
Zexi Li
dce0ab2c8f Merge pull request #5965 from swordqiu/automated-cherry-pick-of-#5961-upstream-release-2.13
Automated cherry pick of #5961: fix: clean pending usage caused by pre-validate-create-data
2020-04-23 00:03:31 +08:00
Zexi Li
30121d55e7 Merge pull request #5924 from ioito/automated-cherry-pick-of-#5919-upstream-release-2.13
Automated cherry pick of #5919: fix: 非私有云同步region name
2020-04-23 00:00:03 +08:00
Zexi Li
6f96fdda74 Merge pull request #5935 from ioito/automated-cherry-pick-of-#5931-upstream-release-2.13
Automated cherry pick of #5931: fix: 转换非标准存储类型到lrs
2020-04-22 23:57:42 +08:00
Zexi Li
19806776e8 Merge pull request #5950 from tb365/automated-cherry-pick-of-#5945-upstream-release-2.13
Automated cherry pick of #5945: huawei elb sync vpc
2020-04-22 23:56:23 +08:00
Zexi Li
47b52c8aec Merge pull request #5952 from zexi/automated-cherry-pick-of-#5951-upstream-release-2.13
Automated cherry pick of #5951: baremetal: ensure power up add retries
2020-04-22 23:53:38 +08:00
Qiu Jian
456f7d5bb4 fix: clean pending usage caused by pre-validate-create-data 2020-04-22 23:49:21 +08:00
yunion-ci-robot
cba14b5dd0 Merge pull request #5937 from tb365/automated-cherry-pick-of-#5927-upstream-release-2.13
Automated cherry pick of #5927: remove aws invalid backendgroup
2020-04-22 23:05:06 +08:00
Zexi Li
309f31025a baremetal: ensure power up add retries 2020-04-22 22:07:34 +08:00
tangbin
3512c9214a huawei elb sync vpc 2020-04-22 20:31:40 +08:00
tangbin
80c09912f0 remove aws invalid backendgroup 2020-04-22 18:55:37 +08:00
Qu Xuan
d447bfe11c fix: 转换非标准存储类型到lrs 2020-04-22 18:54:48 +08:00
Qu Xuan
ca54219b96 fix: 非私有云同步region name 2020-04-22 18:00:54 +08:00
Zexi Li
3bd63e71de Merge pull request #5910 from swordqiu/automated-cherry-pick-of-#5906-upstream-release-2.13
Automated cherry pick of #5906: fix: blacklist keystone reset admin password
2020-04-22 15:09:44 +08:00
Qiu Jian
ad632dd76f fix: blacklist keystone reset admin password 2020-04-22 15:05:00 +08:00
Zexi Li
3fa388afaa Merge pull request #5891 from swordqiu/automated-cherry-pick-of-#5890-upstream-release-2.13
Automated cherry pick of #5890: fix: policy details should carry updated_at and created_at fields
2020-04-22 10:34:35 +08:00
Zexi Li
ff59f3d71c Merge pull request #5896 from swordqiu/automated-cherry-pick-of-#5895-upstream-release-2.13
Automated cherry pick of #5895: fix: delete idp also delete users/groups in target domain
2020-04-22 10:33:57 +08:00
Zexi Li
e6b22a8a59 Merge pull request #5888 from ioito/automated-cherry-pick-of-#5884-upstream-release-2.13
Automated cherry pick of #5884: fix: 仅当变更domainId时才需要更新projectId
2020-04-22 10:32:47 +08:00
Qiu Jian
f42d378082 fix: delete idp also delete users/groups in target domain 2020-04-22 10:09:22 +08:00
Qiu Jian
01e6fb4851 fix: policy details should carry updated_at and created_at fields 2020-04-21 22:41:02 +08:00
Qu Xuan
f694040ee2 fix: 仅当变更domainId时才需要更新projectId 2020-04-21 21:15:24 +08:00
Zexi Li
3a5de36189 Merge pull request #5866 from tb365/automated-cherry-pick-of-#5865-upstream-release-2.13
Automated cherry pick of #5865: lblis & lbbg & lbr & lbb create add fetch owner id
2020-04-20 20:50:59 +08:00
tangbin
54424146e8 lblis & lbbg & lbr & lbb create add fetch owner id 2020-04-20 19:22:28 +08:00
Zexi Li
8114e15fe2 Merge pull request #5846 from swordqiu/automated-cherry-pick-of-#5845-upstream-release-2.13
Automated cherry pick of #5845: fix: cloudproviderregion sync ignore panic
2020-04-18 12:02:14 +08:00
Zexi Li
2666b9a4db Merge pull request #5841 from tb365/automated-cherry-pick-of-#5840-upstream-release-2.13
Automated cherry pick of #5840: aws elb create bugfix
2020-04-18 11:59:39 +08:00
Qiu Jian
628b78f898 fix: cloudproviderregion sync ignore panic 2020-04-17 22:04:39 +08:00
TangBin
156aab4167 huawei oss client bugfix 2020-04-17 20:51:56 +08:00
TangBin
7c8dd38429 huawei oss client fix & huawei client init fix 2020-04-17 20:51:56 +08:00
tangbin
2bd7fa1d15 aws elb create bugfix 2020-04-17 20:48:29 +08:00
Zexi Li
fd8e92634a Merge pull request #5819 from swordqiu/automated-cherry-pick-of-#5818-upstream-release-2.13
Automated cherry pick of #5818: fix: non-redfish baremetal might support jnlp console
2020-04-17 00:04:51 +08:00
Zexi Li
681032273c Merge pull request #5828 from ioito/automated-cherry-pick-of-#5825-upstream-release-2.13
Automated cherry pick of #5825: fix: 尽量避免secgroup重名问题
2020-04-17 00:03:14 +08:00
Zexi Li
a42ccd5e8c Merge pull request #5833 from zhaoxiangchun/automated-cherry-pick-of-#5831-upstream-release-2.13
Automated cherry pick of #5831: 修复azure获取不到监控数据的问题
2020-04-17 00:01:09 +08:00
yunion-ci-robot
055b290f10 Merge pull request #5813 from yousong/automated-cherry-pick-of-#5811-upstream-release-2.13
Automated cherry pick of #5811: region: lbagents: default to using public type endpoint of influxdb
2020-04-16 23:22:03 +08:00
zhaoxiangchun
31eb7385d2 修复azure获取不到监控数据的问题 2020-04-16 20:09:35 +08:00
Zexi Li
a9a7e66de2 Merge pull request #5808 from ioito/automated-cherry-pick-of-#5805-upstream-release-2.13
Automated cherry pick of #5805: fix: 优化rds sku list查询速度
2020-04-16 18:01:28 +08:00
Qu Xuan
4f1f7f4715 fix: 尽量避免secgroup重名问题 2020-04-16 16:41:32 +08:00
Qiu Jian
a6a50d65ee fix: non-redfish baremetal might support jnlp console 2020-04-15 23:46:11 +08:00
Yousong Zhou
7e06512fda region: buckets: use identity_apis.EndpointInterfacePublic 2020-04-15 18:05:27 +08:00
Yousong Zhou
5f54d711c0 image: use identity_apis.EndpointInterfacePublic 2020-04-15 18:04:48 +08:00
Yousong Zhou
0e484e2a2f region: lbagents: default to using public type endpoint of influxdb 2020-04-15 18:04:48 +08:00
Qu Xuan
c35ed2f8b3 fix: 优化rds sku list查询速度 2020-04-15 18:02:43 +08:00
Zexi Li
44c12f7ca3 Merge pull request #5803 from zexi/automated-cherry-pick-of-#5798-upstream-release-2.13
Automated cherry pick of #5798: climc: support k8s service v3.2
2020-04-15 10:38:23 +08:00
Zexi Li
6acb41989a climc: support k8s service v3.2 2020-04-15 10:37:51 +08:00
Zexi Li
a08531e694 Merge pull request #5788 from ioito/automated-cherry-pick-of-#5785-upstream-release-2.13
Automated cherry pick of #5785: fix: 避免aliyun access key不可用时返回NotFoundError错误
2020-04-14 10:45:13 +08:00
Qu Xuan
dce8e65e0d fix: 避免aliyun access key不可用时返回NotFoundError错误 2020-04-13 18:50:51 +08:00
Zexi Li
1e4339e87b Merge pull request #5761 from tb365/automated-cherry-pick-of-#5759-upstream-release-2.13
Automated cherry pick of #5759: aws elb bugfix
2020-04-13 11:27:33 +08:00
tangbin
3b41cb91b5 aws elb bugfix 2020-04-13 10:28:19 +08:00
Zexi Li
52eca7a37c Merge pull request #5781 from swordqiu/automated-cherry-pick-of-#5780-upstream-release-2.13
Automated cherry pick of #5780: fix: host jnlp request fail for idrac9
2020-04-13 09:49:11 +08:00
Qiu Jian
7554c634f7 fix: host jnlp request fail for idrac9 2020-04-13 00:09:13 +08:00
yunion-ci-robot
fbe4f48fb0 Merge pull request #5777 from ioito/automated-cherry-pick-of-#5774-upstream-release-2.13
Automated cherry pick of #5774: fix: azure重装系统删除不必要的参数
2020-04-12 00:36:46 +08:00
Qu Xuan
b80742d7ef fix: azure重装系统删除不必要的参数 2020-04-11 15:12:38 +08:00
Zexi Li
c4829e2836 Merge pull request #5755 from swordqiu/automated-cherry-pick-of-#5745-upstream-release-2.13
Automated cherry pick of #5745: feature: redfish support IDRAC9 baremetal
2020-04-11 13:13:56 +08:00
Zexi Li
6d9845ece9 Merge pull request #5768 from yousong/automated-cherry-pick-of-#5765-upstream-release-2.13
Automated cherry pick of #5765: region: lbagent: vrrp.advert_int must be the same inside cluster
2020-04-11 13:04:37 +08:00
Yousong Zhou
b4fb07864b region: lbagent: vrrp.advert_int must be the same inside cluster 2020-04-10 15:55:55 +08:00
yunion-ci-robot
98d5f438de Merge pull request #5743 from yousong/automated-cherry-pick-of-#5740-upstream-release-2.13
Automated cherry pick of #5740: region: lbagents: fix returning error when glob has no match
2020-04-10 09:52:43 +08:00
Qiu Jian
f48d7ce87e feature: redfish support IDRAC9 baremetal 2020-04-09 23:01:16 +08:00
Yousong Zhou
a4de17108d region: lbagents: fix returning error when glob has no match 2020-04-09 11:08:52 +08:00
Zexi Li
59ee548f80 Merge pull request #5727 from tb365/automated-cherry-pick-of-#5726-upstream-release-2.13
Automated cherry pick of #5726: huawei&qcloud&huawei elb bugfix
2020-04-08 21:53:49 +08:00
Zexi Li
9dcf00664e Merge pull request #5734 from swordqiu/automated-cherry-pick-of-#5733-upstream-release-2.13
Automated cherry pick of #5733: fix: idp log connected/disconnected event
2020-04-08 21:51:40 +08:00
Qiu Jian
114708d93b fix: idp log connected/disconnected event 2020-04-08 21:26:09 +08:00
tangbin
6280c0dfc6 huawei&qcloud&huawei elb bugfix 2020-04-08 20:04:47 +08:00
Zexi Li
43e0935799 Merge pull request #5715 from swordqiu/automated-cherry-pick-of-#5714-upstream-release-2.13
Automated cherry pick of #5714: fix: decouple getUserInfo at apigateway from capabilities call
2020-04-08 02:26:06 +08:00
Qiu Jian
3008803b69 fix: decouple getUserInfo at apigateway from capabilities call 2020-04-08 00:05:09 +08:00
Zexi Li
e841ccf4c6 Merge pull request #5701 from swordqiu/automated-cherry-pick-of-#5698-upstream-release-2.13
Automated cherry pick of #5698: fix: service config changes not effective
2020-04-07 10:38:42 +08:00
Zexi Li
01abfe9b13 Merge pull request #5707 from wanyaoqi/automated-cherry-pick-of-#5704-upstream-release-2.13
Automated cherry pick of #5704: fix migrate cache cdrom
2020-04-07 10:37:28 +08:00
wanyaoqi
f10e16a697 fix migrate cache cdrom 2020-04-06 23:20:22 +08:00
Qiu Jian
02c50a26cf fix: service config changes not effective 2020-04-06 16:13:13 +08:00
Zexi Li
02f760c4b0 Merge pull request #5695 from swordqiu/automated-cherry-pick-of-#5694-upstream-release-2.13
Automated cherry pick of #5694: fix: misc bugs in usage data
2020-04-05 13:51:59 +08:00
Qiu Jian
821b103495 fix: misc bugs in usage data 2020-04-05 07:58:17 +08:00
Zexi Li
d63ca1e5d9 Merge pull request #5689 from ioito/automated-cherry-pick-of-#5686-upstream-release-2.13
Automated cherry pick of #5686: fix: 修复重装系统时未能更换指定image问题
2020-04-03 19:43:36 +08:00
Zexi Li
a721ccd489 Merge pull request #5674 from ioito/automated-cherry-pick-of-#5671-upstream-release-2.13
Automated cherry pick of #5671: fix: 华为云rds使用自身的存储类型
2020-04-03 19:41:52 +08:00
Qu Xuan
1c6ebbf149 fix: 修复重装系统时未能更换指定image问题 2020-04-03 11:36:25 +08:00
Qu Xuan
9d6779734c fix: 华为云rds使用自身的存储类型 2020-04-02 17:30:32 +08:00
Zexi Li
82aa74f949 Merge pull request #5636 from tb365/automated-cherry-pick-of-#5631-upstream-release-2.13
Automated cherry pick of #5631: elb bugfix
2020-04-02 12:47:16 +08:00
Zexi Li
cffd216351 Merge pull request #5663 from swordqiu/automated-cherry-pick-of-#5662-upstream-release-2.13
Automated cherry pick of #5662: fix: disk/nics usage should exclude those pending_deleted
2020-04-02 12:45:38 +08:00
Qiu Jian
d99dd1652a fix: disk/nics usage should exclude those pending_deleted 2020-04-02 01:48:29 +08:00
tangbin
9d61ccc09f elb bugfix 2020-04-01 20:24:04 +08:00
Zexi Li
d4b52b89aa Merge pull request #5654 from swordqiu/automated-cherry-pick-of-#5653-upstream-release-2.13
Automated cherry pick of #5653: fix: allow list cloudprovider by default
2020-04-01 18:13:43 +08:00
Zexi Li
1320c7a915 Merge pull request #5651 from swordqiu/automated-cherry-pick-of-#5648-upstream-release-2.13
Automated cherry pick of #5648: fix: cancel pending usage might not need to update usage
2020-04-01 18:11:35 +08:00
Qiu Jian
6006bb8b45 fix: allow list cloudprovider by default 2020-04-01 17:39:13 +08:00
Qiu Jian
e65dbf4926 fix: cancel pending usage might not need to update usage 2020-04-01 16:56:21 +08:00
Zexi Li
b73f544f89 Merge pull request #5643 from swordqiu/automated-cherry-pick-of-#5640-upstream-release-2.13
Automated cherry pick of #5640: fix: changes to request_work_count cause apigateway restart
2020-04-01 10:23:39 +08:00
Qiu Jian
91eda17b88 fix: changes to request_work_count cause apigateway restart 2020-04-01 10:20:31 +08:00
yunion-ci-robot
63c0b5dc62 Merge pull request #5628 from swordqiu/automated-cherry-pick-of-#5623-upstream-release-2.13
Automated cherry pick of #5623: fix: worker may block by worker_chan
2020-03-31 10:29:45 +08:00
Qiu Jian
d328b165c1 fix: worker may block by worker_chan 2020-03-31 10:10:58 +08:00
Zexi Li
66db3ed11b Merge pull request #5622 from swordqiu/automated-cherry-pick-of-#5616-upstream-release-2.13
Automated cherry pick of #5616: fix: increase apigateway default worker count to 32
2020-03-30 19:22:53 +08:00
Qiu Jian
784f21871d fix: increase apigateway default worker count to 32 2020-03-30 19:09:24 +08:00
yunion-ci-robot
54d67ad010 Merge pull request #5609 from swordqiu/automated-cherry-pick-of-#5608-upstream-release-2.13
Automated cherry pick of #5608: fix: allow list loadbalancer cluster by default
2020-03-28 09:47:42 +08:00
Qiu Jian
88deeae622 fix: allow list loadbalancer cluster by default 2020-03-28 08:59:41 +08:00
Zexi Li
0274e73a47 Merge pull request #5604 from ioito/automated-cherry-pick-of-#5601-upstream-release-2.13
Automated cherry pick of #5601: fix: 修正gcp不支持预付费资源
2020-03-26 20:33:17 +08:00
Qu Xuan
9b64b43dcd fix: 修正gcp不支持预付费资源 2020-03-26 20:02:52 +08:00
Zexi Li
162eb94fa8 Merge pull request #5597 from ioito/automated-cherry-pick-of-#5596-upstream-release-2.13
Automated cherry pick of #5596: fix: 避免onecloud lb未返回provider及brand信息
2020-03-26 10:42:17 +08:00
Qu Xuan
57075ebb56 fix: 避免onecloud lb未返回provider及brand信息 2020-03-25 18:28:14 +08:00
Zexi Li
f82d8c93e0 Merge pull request #5584 from yousong/automated-cherry-pick-of-#5581-upstream-release-2.13
Automated cherry pick of #5581: webconsole: typo fix accessable -> accessible
2020-03-23 21:14:11 +08:00
Yousong Zhou
4d7a68efca httperrors: fix passing "params" argument 2020-03-23 16:43:03 +08:00
Yousong Zhou
7a0e6cd04c webconsole: typo fix accessable -> accessible 2020-03-23 16:43:03 +08:00
Zexi Li
aebc9df97f Merge pull request #5579 from zexi/automated-cherry-pick-of-#5577-upstream-release-2.13
Automated cherry pick of #5577: climc: k8s storageclass support
2020-03-23 10:53:00 +08:00
Zexi Li
be6fbe1f6e climc: k8s storageclass support 2020-03-23 10:53:14 +08:00
Zexi Li
e3976c86ec Merge pull request #5574 from wanyaoqi/automated-cherry-pick-of-#5571-upstream-release-2.13
Automated cherry pick of #5571: guest add metadata cpu mode
2020-03-20 19:38:37 +08:00
wanyaoqi
95de6acd2b 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:18:41 +08:00
Zexi Li
aca89a3818 Merge pull request #5558 from rainzm/automated-cherry-pick-of-#5555-upstream-release-2.13
Automated cherry pick of #5555: feat(notify): Compatibility and repair
2020-03-19 10:06:32 +08:00
yunion-ci-robot
3b390ab4b6 Merge pull request #5493 from ioito/automated-cherry-pick-of-#5490-upstream-release-2.13
Automated cherry pick of #5490: fix: class action 统一使用keywords包裹
2020-03-19 08:47:20 +08:00
Rain
6522b8642d feat(notify): Compatibility and repair 2020-03-18 21:01:20 +08:00
Zexi Li
05f5cc96a8 Merge pull request #5548 from swordqiu/automated-cherry-pick-of-#5545-upstream-release-2.13
Automated cherry pick of #5545: fix: policy fetcher not retry after initial failure
2020-03-18 10:53:04 +08:00
Qu Xuan
8a59f35ae3 fix: class action 统一使用keywords包裹 2020-03-17 18:44:54 +08:00
Qiu Jian
ec2eef8138 fix: policy fetcher not retry after initial failure 2020-03-17 18:31:31 +08:00
yunion-ci-robot
4b32d4054b Merge pull request #5532 from ioito/automated-cherry-pick-of-#5529-upstream-release-2.13
Automated cherry pick of #5529: fix: 避免重装系统失败后imageId依然发生改变
2020-03-17 08:21:15 +08:00
yunion-ci-robot
8907c87a22 Merge pull request #5539 from ioito/automated-cherry-pick-of-#5536-upstream-release-2.13
Automated cherry pick of #5536: fix: 修复谷歌云 cloud-provider-clirc 显示错误问题
2020-03-17 08:12:15 +08:00
Qu Xuan
f5c26548ab fix: 修复谷歌云 cloud-provider-clirc 显示错误问题 2020-03-16 20:10:27 +08:00
Zexi Li
97f56884d5 Merge pull request #5526 from ioito/automated-cherry-pick-of-#5452-upstream-release-2.13
Automated cherry pick of #5452: fix: 优化rds sku同步逻辑
2020-03-16 18:25:15 +08:00
Zexi Li
9fff1c2123 Merge pull request #5509 from swordqiu/automated-cherry-pick-of-#5506-upstream-release-2.13
Automated cherry pick of #5506: fix: recode cloudprovider usable filter
2020-03-16 13:00:02 +08:00
Zexi Li
6349adb35b Merge pull request #5497 from zhaoxiangchun/automated-cherry-pick-of-#5496-upstream-release-2.13
Automated cherry pick of #5496: vmware 宿主机监控信息获取
2020-03-16 12:57:48 +08:00
Qu Xuan
e1b8c5f13a fix: 避免重装系统失败后imageId依然发生改变 2020-03-16 11:30:40 +08:00
Qu Xuan
86c672082a fix: 优化rds sku同步逻辑 2020-03-16 10:34:52 +08:00
yunion-ci-robot
3e3120ef87 Merge pull request #5522 from ioito/automated-cherry-pick-of-#5519-upstream-release-2.13
Automated cherry pick of #5519: fix: 避免未传递prority参数导致校验未通过
2020-03-16 09:07:13 +08:00
Qu Xuan
73ec39100a fix: 避免未传递prority参数导致校验未通过 2020-03-15 13:13:51 +08:00
yunion-ci-robot
9351330a2e Merge pull request #5513 from zexi/automated-cherry-pick-of-#5511-upstream-release-2.13
Automated cherry pick of #5511: scheduler: fix disk allocated not balanced
2020-03-14 17:51:05 +08:00
Zexi Li
ad50d6033d scheduler: fix disk allocated not balanced 2020-03-14 16:49:39 +08:00
Qiu Jian
15d5e4db92 fix: recode cloudprovider usable filter 2020-03-14 09:09:34 +08:00
Zexi Li
594c1d5b3a Merge pull request #5504 from zhaoxiangchun/automated-cherry-pick-of-#5268-upstream-release-2.13
Automated cherry pick of #5268: 谷歌云multicloud监控
2020-03-13 19:53:06 +08:00
zhaoxiangchun
a8c0e53902 谷歌云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-03-13 19:48:09 +08:00
zhaoxiangchun
663d3062bd vmware 宿主机监控信息获取 2020-03-13 17:21:40 +08:00
yunion-ci-robot
d4db5ef360 Merge pull request #5476 from rainzm/automated-cherry-pick-of-#5454-upstream-release-2.13
Automated cherry pick of #5454: fix(glance): Structured subimage info and add 'created_at' field
2020-03-13 15:36:05 +08:00
yunion-ci-robot
9e1cb659f9 Merge pull request #5488 from wanyaoqi/automated-cherry-pick-of-#5484-upstream-release-2.13
Automated cherry pick of #5484: download handler set no timeout
2020-03-13 14:30:56 +08:00
wanyaoqi
7d252c2efc download handler set no timeout 2020-03-13 12:02:26 +08:00
Rain
02191c04f8 fix(glance): Structured subimage info and add 'created_at' field 2020-03-12 19:14:35 +08:00
Zexi Li
a659f27087 Merge pull request #5460 from bistuzx/automated-cherry-pick-of-#5459-upstream-release-2.13
Automated cherry pick of #5459: add bucket connection test
2020-03-12 16:19:14 +08:00
张旭
2aca328104 change climc bucket options import 2020-03-12 12:27:55 +08:00
张旭
b65a1dfe3b add bucket connection test 2020-03-12 12:27:55 +08:00
Zexi Li
bc41899969 Merge pull request #5467 from rainzm/feat/vendor_2.13
feat: Update Vendor for release/2.13
2020-03-12 12:07:33 +08:00
Rain
7a4e16ac82 feat: Update Vendor for release/2.13 2020-03-12 11:55:33 +08:00
Zexi Li
af444e1886 Merge pull request #5450 from zexi/automated-cherry-pick-of-#5447-upstream-release-2.13
Automated cherry pick of #5447: region: host update storage set enabled
2020-03-11 15:58:32 +08:00
Zexi Li
a7835a71da region: host update storage set enabled 2020-03-11 15:59:27 +08:00
Zexi Li
4d89685bba Merge pull request #5422 from swordqiu/automated-cherry-pick-of-#5419-upstream-release-2.13
Automated cherry pick of #5419: fix: fail to find esxi admin vnic, use vnic with default IPv4 route
2020-03-10 14:46:07 +08:00
yunion-ci-robot
a245385da8 Merge pull request #5432 from ioito/automated-cherry-pick-of-#5429-upstream-release-2.13
Automated cherry pick of #5429: fix: typo for sku sync
2020-03-10 11:13:59 +08:00
yunion-ci-robot
614c31f26e Merge pull request #5426 from rainzm/automated-cherry-pick-of-#5424-upstream-release-2.13
Automated cherry pick of #5424: fix(esxi): Add two account with same account name
2020-03-10 11:03:59 +08:00
Qu Xuan
16bbd77e8b fix: typo for sku sync 2020-03-09 19:59:33 +08:00
Rain
1cc788e684 fix(esxi): Add two account with same account name 2020-03-09 17:56:59 +08:00
Qiu Jian
54adabbde8 fix: fail to find esxi admin vnic, use vnic with default IPv4 route 2020-03-09 16:07:16 +08:00
Zexi Li
65c1b3effb Merge pull request #5417 from zexi/automated-cherry-pick-of-#5414-upstream-release-2.13
Automated cherry pick of #5414: opslog: notes use text column
2020-03-09 12:36:35 +08:00
Zexi Li
cc33efbbc9 Merge pull request #5401 from swordqiu/automated-cherry-pick-of-#5398-upstream-release-2.13
Automated cherry pick of #5398: fix: not check domain quota if non_default_domain_project is off
2020-03-09 12:32:12 +08:00
Zexi Li
6771b64b6f opslog: notes use text column 2020-03-09 12:31:51 +08:00
Zexi Li
706af7bf54 Merge pull request #5406 from swordqiu/automated-cherry-pick-of-#5403-upstream-release-2.13
Automated cherry pick of #5403: fix: cloudprovider performEnable should also enable its cloudaccount
2020-03-09 12:30:40 +08:00
Qiu Jian
f4d218209c fix: cloudprovider performEnable should also enable its cloudaccount 2020-03-08 18:26:38 +08:00
Qiu Jian
e5534c7d3a fix: not check domain quota if non_default_domain_project is off 2020-03-07 18:17:40 +08:00
Zexi Li
99e51d679b Merge pull request #5395 from swordqiu/automated-cherry-pick-of-#5392-upstream-release-2.13
Automated cherry pick of #5392: fix: scoped resource should override FetchOwnerId
2020-03-07 15:51:36 +08:00
Qiu Jian
a997303df9 fix: scoped resource should override FetchOwnerId 2020-03-07 15:46:26 +08:00
Zexi Li
dee404451b Merge pull request #5391 from swordqiu/automated-cherry-pick-of-#5388-upstream-release-2.13
Automated cherry pick of #5388: fix: keystone prefers internal endpoint type
2020-03-06 22:23:11 +08:00
Qiu Jian
5bad638411 fix: keystone prefers internal endpoint type 2020-03-06 21:47:40 +08:00
yunion-ci-robot
9e8b2eb017 Merge pull request #5385 from rainzm/automated-cherry-pick-of-#5378-upstream-release-2.13
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
7337198f9e Merge pull request #5375 from swordqiu/automated-cherry-pick-of-#5372-upstream-release-2.13
Automated cherry pick of #5372: fix: no scope shcedtag should be visible to all
2020-03-06 18:32:39 +08:00
yunion-ci-robot
305caea1d5 Merge pull request #5380 from tb365/automated-cherry-pick-of-#5379-upstream-release-2.13
Automated cherry pick of #5379: huawei reset password bugfix
2020-03-06 18:15:51 +08:00
Rain
61657c6afc 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:17:57 +08:00
TangBin
f08be6b820 ctyun region name fix 2020-03-06 16:51:20 +08:00
TangBin
3c18eae779 huawei reset password bugfix 2020-03-06 16:51:20 +08:00
Qiu Jian
20d79e2c5c fix: no scope shcedtag should be visible to all 2020-03-06 15:24:21 +08:00
Zexi Li
254e1ce7ed Merge pull request #5369 from rainzm/automated-cherry-pick-of-#5366-upstream-release-2.13
Automated cherry pick of #5366: fix/notify: Fix the resend mechanism
2020-03-06 12:46:14 +08:00
Rain
b3bd5f6dcf fix/notify: Fix the resend mechanism 2020-03-06 11:13:25 +08:00
yunion-ci-robot
b3f30e2522 Merge pull request #5355 from rainzm/automated-cherry-pick-of-#5353-upstream-release-2.13
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
dc01dedb68 fix the conflict 2020-03-05 17:20:39 +08:00
Rain
252a5f2537 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:19:24 +08:00
Zexi Li
a7a77fc4be Merge pull request #5339 from swordqiu/automated-cherry-pick-of-#5336-upstream-release-2.13
Automated cherry pick of #5336: fix: keystone user password history check should skip system account
2020-03-04 19:16:32 +08:00
Qiu Jian
65da02614e fix: keystone user password history check should skip system account 2020-03-04 18:46:03 +08:00
Zexi Li
b21b514af3 Merge pull request #5327 from swordqiu/automated-cherry-pick-of-#5324-upstream-release-2.13
Automated cherry pick of #5324: fix: clean up pending usage no matter whether object upload is success
2020-03-03 13:14:30 +08:00
yunion-ci-robot
4e64dc1dca Merge pull request #5318 from ioito/automated-cherry-pick-of-#5315-upstream-release-2.13
Automated cherry pick of #5315: fix: 避免旧套餐下架zone信息未知,导致同步rds异常
2020-03-03 02:19:45 +08:00
Qiu Jian
2870c7acfa fix: clean up pending usage no matter whether object upload is success 2020-03-03 02:13:42 +08:00
Qu Xuan
699859f409 fix: 避免旧套餐下架zone信息未知,导致同步rds异常 2020-03-02 17:10:00 +08:00
yunion-ci-robot
ef0a88293b Merge pull request #5271 from zhaoxiangchun/automated-cherry-pick-of-#5268-upstream-release-2.13
Automated cherry pick of #5268: 谷歌云multicloud监控
2020-02-29 14:02:32 +08:00
yunion-ci-robot
f5261205cd Merge pull request #5310 from ioito/automated-cherry-pick-of-#5307-upstream-release-2.13
Automated cherry pick of #5307: 修复aliyun没有权限获取余额问题
2020-02-28 22:00:30 +08:00
yunion-ci-robot
2afb33adc5 Merge pull request #5299 from tb365/bugfix/tb-bugfix-022802
vpc list add param vpc_usable
2020-02-28 21:16:20 +08:00
yunion-ci-robot
06e10a8dbb Merge pull request #5284 from wanyaoqi/automated-cherry-pick-of-#5255-upstream-release-2.13
Automated cherry pick of #5255: fix nic get pci address
2020-02-28 21:07:27 +08:00
Qu Xuan
66e23b7b85 修复aliyun没有权限获取余额问题 2020-02-28 19:56:16 +08:00
yunion-ci-robot
865d53cddf Merge pull request #5280 from ioito/automated-cherry-pick-of-#5277-upstream-release-2.13
Automated cherry pick of #5277: fix: 新加gcp region 翻译
2020-02-28 15:05:19 +08:00
TangBin
d0eb89bc55 vpc list add param vpc_usable 2020-02-28 14:40:31 +08:00
yunion-ci-robot
9fa4dfa4cd Merge pull request #5293 from ioito/automated-cherry-pick-of-#5290-upstream-release-2.13
Automated cherry pick of #5290: 添加azure region city信息
2020-02-28 13:15:20 +08:00
Qu Xuan
0392b27b10 添加azure region city信息 2020-02-28 11:37:47 +08:00
wanyaoqi
efc216afe5 fix nic get pci address 2020-02-27 23:04:04 +08:00
Qu Xuan
42426d71e8 fix: 新加gcp region 翻译 2020-02-27 18:55:30 +08:00
zhaoxiangchun
90f4095297 谷歌云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 15:57:34 +08:00
yunion-ci-robot
af7d67c5ac Merge pull request #5241 from wanyaoqi/automated-cherry-pick-of-#5238-upstream-release-2.13
Automated cherry pick of #5238: fix host init set reserve memory
2020-02-26 23:02:19 +08:00
wanyaoqi
16b0df3075 makesure /etc/ceph created before connect 2020-02-26 20:47:42 +08:00
yunion-ci-robot
680d50ed3a Merge pull request #5234 from ioito/automated-cherry-pick-of-#5231-upstream-release-2.13
Automated cherry pick of #5231: fix: 添加磁盘回滚snapshot日志
2020-02-26 15:57:12 +08:00
yunion-ci-robot
7c13b80119 Merge pull request #5245 from ioito/automated-cherry-pick-of-#5242-upstream-release-2.13
Automated cherry pick of #5242: fix: 避免根磁盘小于镜像大小导致创建失败
2020-02-26 10:17:13 +08:00
yunion-ci-robot
be20ad19d8 Merge pull request #5250 from ioito/automated-cherry-pick-of-#5247-upstream-release-2.13
Automated cherry pick of #5247: fix: 返回azure api 错误信息
2020-02-25 21:06:22 +08:00
Qu Xuan
27d9fc4879 fix: 返回azure api 错误信息 2020-02-25 19:31:50 +08:00
Qu Xuan
49af630a5b fix: 避免根磁盘小于镜像大小导致创建失败 2020-02-25 15:40:57 +08:00
wanyaoqi
b95fc4dfe9 fix host register get network filter: add server_type baremetal 2020-02-25 11:37:48 +08:00
wanyaoqi
237748a6e1 fix guest network get desc 2020-02-25 11:37:47 +08:00
wanyaoqi
c240062b36 fix host init set reserve memory 2020-02-25 11:33:58 +08:00
Qu Xuan
081c439243 fix: 添加磁盘回滚snapshot日志 2020-02-24 16:09:05 +08:00
yunion-ci-robot
f95e017ce3 Merge pull request #5229 from rainzm/automated-cherry-pick-of-#5186-upstream-release-2.13
Automated cherry pick of #5186: feature(notify): Validate config
2020-02-24 15:24:13 +08:00
Rain
c14202db03 feature(notify): Validate config 2020-02-24 14:12:29 +08:00
Zexi Li
d71f0ce952 Merge pull request #5210 from swordqiu/automated-cherry-pick-of-#5208-upstream-release-2.13
Automated cherry pick of #5208: fix: reset paging limit to 2048 from 20
2020-02-21 16:46:13 +08:00
Zexi Li
ccddbd96a2 Merge pull request #5220 from rainzm/automated-cherry-pick-of-#5217-upstream-release-2.13
Automated cherry pick of #5217: fix: Storage filter not work for Esxi
2020-02-21 16:44:50 +08:00
yunion-ci-robot
f728f3c325 Merge pull request #5205 from tb365/automated-cherry-pick-of-#5199-upstream-release-2.13
Automated cherry pick of #5199: cloud region city list add default limit 2048
2020-02-21 16:01:38 +08:00
Rain
03a8b0b7f0 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:14:28 +08:00
yunion-ci-robot
a42926a9d7 Merge pull request #5216 from ioito/automated-cherry-pick-of-#5213-upstream-release-2.13
Automated cherry pick of #5213: fix: 添加gcp region中文翻译
2020-02-20 21:15:29 +08:00
yunion-ci-robot
f60e3d0894 Merge pull request #5202 from ioito/automated-cherry-pick-of-#5198-upstream-release-2.13
Automated cherry pick of #5198: fix: 修复azure坐标问题,添加新的azure region城市信息
2020-02-20 20:59:29 +08:00
Qu Xuan
779aa13dd1 fix: 添加gcp region中文翻译 2020-02-20 17:40:03 +08:00
yunion-ci-robot
9aaaf319e0 Merge pull request #5194 from ioito/automated-cherry-pick-of-#5191-upstream-release-2.13
Automated cherry pick of #5191: fix: add aliyun new region info
2020-02-20 16:15:30 +08:00
TangBin
151d081fb3 huawei cloud create bugfix 2020-02-20 15:36:27 +08:00
TangBin
ed31437bb0 huawei cloud create bugfix 2020-02-20 15:35:45 +08:00
TangBin
245349ac91 cloud region city list add default limit 2048 2020-02-20 15:35:45 +08:00
yunion-ci-robot
e9d04fd3fa Merge pull request #5190 from ioito/automated-cherry-pick-of-#5187-upstream-release-2.13
Automated cherry pick of #5187: fix: 填充gcp disk_format字段
2020-02-20 15:28:30 +08:00
Qiu Jian
df930fbd65 fix: reset paging limit to 2048 from 20 2020-02-20 15:20:26 +08:00
Qu Xuan
4811160707 fix: 修复azure坐标问题,添加新的azure region城市信息 2020-02-20 14:56:14 +08:00
Qu Xuan
ebf7b1d421 fix: add aliyun new region info 2020-02-20 11:08:06 +08:00
Qu Xuan
793f0ab4c1 fix: 填充gcp disk_format字段 2020-02-20 10:46:33 +08:00
yunion-ci-robot
07302e17d1 Merge pull request #5183 from tb365/automated-cherry-pick-of-#5181-upstream-release-2.13
Automated cherry pick of #5181: aws listener sync fix
2020-02-19 19:18:28 +08:00
tangbin
e06ebe8992 huawei http listener sync fix 2020-02-19 18:46:58 +08:00
tangbin
e0f341e07d aws rebuild root fix 2020-02-19 18:46:58 +08:00
tangbin
2206c7eb5c aws listener sync fix 2020-02-19 18:46:58 +08:00
yunion-ci-robot
5fc0b073a9 Merge pull request #5148 from tb365/automated-cherry-pick-of-#5145-upstream-release-2.13
Automated cherry pick of #5145: qcloud elb sync
2020-02-19 16:08:30 +08:00
Yousong Zhou
68bb6c1d09 Merge pull request #5175 from swordqiu/automated-cherry-pick-of-#5173-upstream-release-2.13
Automated cherry pick of #5173: fix: sync cloud provider should change its cloud account's sync_status
2020-02-19 16:02:40 +08:00
yunion-ci-robot
56d2236513 Merge pull request #5164 from tb365/automated-cherry-pick-of-#5162-upstream-release-2.13
Automated cherry pick of #5162: huawei elb backend vpc validate fix
2020-02-19 13:45:26 +08:00
yunion-ci-robot
97e05fc4b6 Merge pull request #5170 from ioito/automated-cherry-pick-of-#5167-upstream-release-2.13
Automated cherry pick of #5167: fix: 避免将虚拟机ip同步到弹性网卡
2020-02-19 12:35:27 +08:00
Qiu Jian
cb9ff42407 fix: sync cloud provider should change its cloud account's sync_status 2020-02-19 12:01:40 +08:00
Zexi Li
bccefab721 Merge pull request #5153 from swordqiu/automated-cherry-pick-of-#5151-upstream-release-2.13
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:29:56 +08:00
Qu Xuan
51201eede3 fix: 避免将虚拟机ip同步到弹性网卡 2020-02-18 15:39:51 +08:00
yunion-ci-robot
5e7aa130ea Merge pull request #5141 from ioito/automated-cherry-pick-of-#5138-upstream-release-2.13
Automated cherry pick of #5138: fix: 避免未过滤掉同一个network底下的guest
2020-02-18 14:44:50 +08:00
tangbin
3edd51c1dd huawei elb backend vpc validate fix 2020-02-18 14:19:33 +08:00
yunion-ci-robot
382309fff4 Merge pull request #5133 from zhaoxiangchun/automated-cherry-pick-of-#5132-upstream-release-2.13
Automated cherry pick of #5132: zstack监控功能
2020-02-18 12:05:39 +08:00
Qiu Jian
5aad93deab fix: 1. adjust default response header timer to 30 seconds 2. set default paging limit to 20 2020-02-18 08:54:29 +08:00
TangBin
d55bbf6d6e qcloud elb sync 2020-02-17 22:30:35 +08:00
Qu Xuan
d4cbaff1bc fix: 避免未过滤掉同一个network底下的guest 2020-02-17 20:53:10 +08:00
zhaoxiangchun
e93cbb6e58 zstack监控功能
monitor.go中GetMonitorData函数通过传入的参数拼装请求参数,然后调用zstack.go中的getMonitor(),通过GET请求,获取相应的指标监控数据
2020-02-17 12:01:59 +08:00
yunion-ci-robot
87a6aedae6 Merge pull request #5120 from ioito/automated-cherry-pick-of-#5117-upstream-release-2.13
Automated cherry pick of #5117: fix: 谷歌新加region翻译
2020-02-14 15:42:08 +08:00
Qu Xuan
7178f56c26 fix: 谷歌新加region翻译 2020-02-14 14:45:39 +08:00
yunion-ci-robot
18f2e230d9 Merge pull request #5108 from rainzm/automated-cherry-pick-of-#5106-upstream-release-2.13
Automated cherry pick of #5106: fix(notify): Set some default template
2020-02-14 12:23:04 +08:00
yunion-ci-robot
2c3b8df036 Merge pull request #5114 from zexi/automated-cherry-pick-of-#5111-upstream-release-2.13
Automated cherry pick of #5111: region: server list by host sn
2020-02-14 12:07:04 +08:00
Zexi Li
7f015f562a region: server list by host sn 2020-02-13 21:19:22 +08:00
Rain
cd580b07b6 fix(notify): Set some default template 2020-02-13 16:52:05 +08:00
yunion-ci-robot
3e1f7239dc Merge pull request #5062 from zhaoxiangchun/automated-cherry-pick-of-#5061-upstream-release-2.13
Automated cherry pick of #5061: multicloud的vmware监控功能
2020-02-13 04:00:01 +08:00
yunion-ci-robot
9d94bc5503 Merge pull request #5094 from bistuzx/automated-cherry-pick-of-#5092-upstream-release-2.13
Automated cherry pick of #5092: update account bucket options
2020-02-13 03:49:03 +08:00
张旭
fe5e1b1321 update account bucket options 2020-02-12 18:28:25 +08:00
yunion-ci-robot
648f0af3e8 Merge pull request #5080 from ioito/automated-cherry-pick-of-#5077-upstream-release-2.13
Automated cherry pick of #5077: fix: 修复gcp出方向规则同步问题
2020-02-11 17:38:58 +08:00
yunion-ci-robot
f47d98e382 Merge pull request #5075 from ioito/automated-cherry-pick-of-#5072-upstream-release-2.13
Automated cherry pick of #5072: fix: 忽略无权限的资源标签
2020-02-11 17:22:03 +08:00
zhaoxiangchun
f81a14f85a multicloud的vmware监控功能
monitor.go中GetMonitorData()函数获取监控数据
2020-02-11 00:49:15 +08:00
Qu Xuan
ce0eb0272a fix: 修复gcp出方向规则同步问题 2020-02-10 18:48:41 +08:00
Qu Xuan
349b8c246b fix: 忽略无权限的资源标签 2020-02-10 16:45:22 +08:00
yunion-ci-robot
9c28054105 Merge pull request #5069 from swordqiu/automated-cherry-pick-of-#5065-upstream-release-2.13
Automated cherry pick of #5065: fix: allow empty domain for windows deployment
2020-02-10 10:33:59 +08:00
Qiu Jian
e8dd5a40d0 fix: allow empty domain for windows deployment 2020-02-10 09:23:54 +08:00
yunion-ci-robot
18035d0689 Merge pull request #5057 from swordqiu/automated-cherry-pick-of-#5054-upstream-release-2.13
Automated cherry pick of #5054: fix: createdAt should not be synced when update
2020-02-09 22:23:56 +08:00
Qiu Jian
ed66f7a238 fix: createdAt should not be synced when update 2020-02-08 21:30:12 +08:00
yunion-ci-robot
000a04a67d Merge pull request #5047 from ioito/automated-cherry-pick-of-#5044-upstream-release-2.13
Automated cherry pick of #5044: fix: guest创建兼容keypair参数
2020-02-07 16:02:51 +08:00
Qu Xuan
5e164baf80 fix: guest创建兼容keypair参数 2020-02-07 15:13:40 +08:00
Zexi Li
15fb3e364d Merge pull request #5027 from swordqiu/automated-cherry-pick-of-#5026-upstream-release-2.13
Automated cherry pick of #5026: fix: api gateway rpc handler redudant response
2020-02-07 13:03:26 +08:00
yunion-ci-robot
1d65b27bef Merge pull request #5041 from ioito/automated-cherry-pick-of-#5038-upstream-release-2.13
Automated cherry pick of #5038: fix: 避免因tenantcache未缓存tenant导致创建云账号失败
2020-02-07 04:53:51 +08:00
yunion-ci-robot
11343fa652 Merge pull request #5035 from tb365/automated-cherry-pick-of-#5032-upstream-release-2.13
Automated cherry pick of #5032: aws create with eip fix
2020-02-07 04:50:51 +08:00
Qu Xuan
56c53712e0 fix: 避免因tenantcache未缓存tenant导致创建云账号失败 2020-02-06 18:30:00 +08:00
tangbin
4f6c70f5fb aws create with eip fix 2020-02-06 17:57:32 +08:00
Qiu Jian
8c0086a140 fix: api gateway rpc handler redudant response 2020-02-06 17:02:12 +08:00
yunion-ci-robot
8db7d00c82 Merge pull request #5024 from ioito/automated-cherry-pick-of-#5021-upstream-release-2.13
Automated cherry pick of #5021: fix: 避免因大小写导致linux未注入默认用户
2020-02-06 13:49:48 +08:00
Qu Xuan
8aa6aa3719 fix: 避免因大小写导致linux未注入默认用户 2020-02-06 12:04:46 +08:00
yunion-ci-robot
b422d70dd0 Merge pull request #5018 from swordqiu/automated-cherry-pick-of-#5014-upstream-release-2.13
Automated cherry pick of #5014: fix: support empty dns domain
2020-02-06 09:47:49 +08:00
Qiu Jian
e497eb70e8 fix: support empty dns domain 2020-02-06 03:27:31 +08:00
yunion-ci-robot
1e79fc1318 Merge pull request #4997 from zhaoxiangchun/automated-cherry-pick-of-#4996-upstream-release-2.13
Automated cherry pick of #4996: azure的主机监控信息的获取
2020-02-05 02:13:45 +08:00
zhaoxiangchun
c4dff69959 modify files by github comments 2020-02-04 10:25:06 +08:00
zhaoxiangchun
b760d9aa9d azure的主机监控信息的获取
monitor.go中的GetMonitorData函数完成参数的组装,查询获取监控信息
2020-02-04 10:25:06 +08:00
yunion-ci-robot
454e94e2ff Merge pull request #5001 from ioito/automated-cherry-pick-of-#4999-upstream-release-2.13
Automated cherry pick of #4999: fix: 避免私有云调整配置匹配不到sku
2020-02-03 16:17:43 +08:00
Qu Xuan
14e4ef8043 fix: 避免私有云调整配置匹配不到sku 2020-02-03 12:21:27 +08:00
Zexi Li
cc0319f531 Merge pull request #4992 from swordqiu/automated-cherry-pick-of-#4991-upstream-release-2.13
Automated cherry pick of #4991: update vendor
2020-01-19 17:35:26 +08:00
Qiu Jian
397ce71431 fix: increment paging list order by multiple columns 2020-01-19 17:21:31 +08:00
Qiu Jian
c368111984 update vendor 2020-01-19 17:21:31 +08:00
yunion-ci-robot
d8fb7a4759 Merge pull request #4989 from swordqiu/automated-cherry-pick-of-#4988-upstream-release-2.13
Automated cherry pick of #4988: fix: cloudevent_tbl use new primary column event_id
2020-01-19 14:24:14 +08:00
Qiu Jian
15d3eb7f32 fix: cloudevent_tbl use new primary column event_id 2020-01-19 12:55:20 +08:00
yunion-ci-robot
00703aeeb1 Merge pull request #4978 from tb365/automated-cherry-pick-of-#4977-upstream-release-2.13
Automated cherry pick of #4977: get login-info add 404 return & elasticcache account reset password api add input params
2020-01-19 11:44:11 +08:00
Zexi Li
9d23392bc3 Merge pull request #4985 from swordqiu/automated-cherry-pick-of-#4983-upstream-release-2.13
Automated cherry pick of #4983: fix: try allocate host access ip from reserved pool
2020-01-19 10:37:34 +08:00
Qiu Jian
c9d070aa74 fix: try allocate host access ip from reserved pool 2020-01-19 00:26:16 +08:00
Zexi Li
22f600bb20 Merge pull request #4982 from wanyaoqi/automated-cherry-pick-of-#4980-upstream-release-2.13
Automated cherry pick of #4980: is standard domain optional
2020-01-18 19:16:37 +08:00
wanyaoqi
49e2cff8fd is standard domain optional 2020-01-18 19:12:57 +08:00
TangBin
10f0d0ab35 get login-info add 404 return & elasticcache account reset password api add input params 2020-01-18 18:39:31 +08:00
yunion-ci-robot
840eb4dc47 Merge pull request #4967 from ioito/automated-cherry-pick-of-#4965-upstream-release-2.13
Automated cherry pick of #4965: fix: 公有云日志添加brand字段
2020-01-18 16:25:13 +08:00
Qu Xuan
6eaf6d3147 fix: 公有云日志添加brand字段 2020-01-18 16:05:17 +08:00
Zexi Li
acb46f42bc Merge pull request #4974 from swordqiu/automated-cherry-pick-of-#4973-upstream-release-2.13
Automated cherry pick of #4973: fix: bucket get details missing cloudprovider info
2020-01-18 16:03:53 +08:00
Qiu Jian
2982d6f718 fix: bucket get details missing cloudprovider info 2020-01-18 15:29:16 +08:00
Zexi Li
0245df37fc Merge pull request #4970 from swordqiu/automated-cherry-pick-of-#4968-upstream-release-2.13
Automated cherry pick of #4968: fix: network-reserve-ip ignores expired reserved ips
2020-01-18 14:25:07 +08:00
Qiu Jian
81c90c045b fix: network-reserve-ip ignores expired reserved ips 2020-01-18 11:10:11 +08:00
Zexi Li
c1b1aedb0a Merge pull request #4964 from wanyaoqi/automated-cherry-pick-of-#4962-upstream-release-2.13
Automated cherry pick of #4962: fix models renew
2020-01-17 21:55:56 +08:00
wanyaoqi
ef74e82f78 fix models renew 2020-01-17 21:52:55 +08:00
yunion-ci-robot
159c67e088 Merge pull request #4948 from ioito/automated-cherry-pick-of-#4946-upstream-release-2.13
Automated cherry pick of #4946: fix: 腾讯云主机带宽跟随eip带宽变化而变化
2020-01-17 19:45:10 +08:00
yunion-ci-robot
ffa907ad14 Merge pull request #4847 from zhaoxiangchun/automated-cherry-pick-of-#4775-upstream-release-2.13
Automated cherry pick of #4775: 新增aws监控代码,GetMonitorData函数,获取监控信息
2020-01-17 19:24:09 +08:00
Zexi Li
b6acaad75e Merge pull request #4959 from wanyaoqi/automated-cherry-pick-of-#4957-upstream-release-2.13
Automated cherry pick of #4957: fix postpaid expire
2020-01-17 18:57:11 +08:00
wanyaoqi
cdc6a07586 fix postpaid expire 2020-01-17 17:53:59 +08:00
Qu Xuan
1efdffe097 fix: 腾讯云主机带宽跟随eip带宽变化而变化 2020-01-17 13:36:33 +08:00
yunion-ci-robot
59e3d4bd3e Merge pull request #4945 from wanyaoqi/automated-cherry-pick-of-#4943-upstream-release-2.13
Automated cherry pick of #4943: fix snapshot list filter by disk type
2020-01-17 12:59:08 +08:00
wanyaoqi
4bcd50a8a8 fix snapshot list filter by disk type 2020-01-17 12:00:51 +08:00
yunion-ci-robot
79dbde03c1 Merge pull request #4883 from tb365/automated-cherry-pick-of-#4880-upstream-release-2.13
Automated cherry pick of #4880: huawei remove backend group bugfix
2020-01-17 11:01:10 +08:00
zhaoxiangchun
869e1146cf add License Head 2020-01-17 10:50:01 +08:00
zhaoxiangchun
72764183b6 vendor: update 2020-01-17 10:50:01 +08:00
zhaoxiangchun
48a288a603 新增aws监控代码,GetMonitorData函数,获取监控信息
首先通过monitor.go文件中的GetMonitorData函数组装查询参数,然后通过SRegion中cloudWatchRequest函数组装request信息,
进行查询返回
2020-01-17 10:50:01 +08:00
yunion-ci-robot
d327a96c66 Merge pull request #4928 from ioito/automated-cherry-pick-of-#4926-upstream-release-2.13
Automated cherry pick of #4926: cloudevent 支持since until参数过滤
2020-01-17 09:20:08 +08:00
Qu Xuan
fb9566b9a2 cloudevent 支持since until参数过滤 2020-01-16 19:46:01 +08:00
yunion-ci-robot
45271e04fd Merge pull request #4917 from tb365/automated-cherry-pick-of-#4916-upstream-release-2.13
Automated cherry pick of #4916: ctyun bugfix
2020-01-16 15:08:08 +08:00
TangBin
854b20fac6 comment fix 2020-01-16 14:07:10 +08:00
TangBin
36c50d17bc ctyun bugfix 2020-01-16 14:07:10 +08:00
yunion-ci-robot
da498950a7 Merge pull request #4912 from tb365/automated-cherry-pick-of-#4911-upstream-release-2.13
Automated cherry pick of #4911: server get login info 404 not found
2020-01-16 09:53:07 +08:00
yunion-ci-robot
ac71787261 Merge pull request #4907 from ioito/automated-cherry-pick-of-#4904-upstream-release-2.13
Automated cherry pick of #4904: fix: 避免创建azure时指定高级ssd失效
2020-01-16 09:50:07 +08:00
yunion-ci-robot
b71d450563 Merge pull request #4894 from wanyaoqi/automated-cherry-pick-of-#4887-upstream-release-2.13
Automated cherry pick of #4887: validate share on delete, update pulibc scope on mark standard
2020-01-15 20:37:07 +08:00
TangBin
c61d571295 server get login info 404 not found 2020-01-15 19:33:44 +08:00
Qu Xuan
d44fdcc36a fix: 避免创建azure时指定高级ssd失效 2020-01-15 18:02:30 +08:00
Zexi Li
48e3d1e016 Merge pull request #4897 from rainzm/automated-cherry-pick-of-#4895-upstream-release-2.13
Automated cherry pick of #4895: fix(notify): Update template
2020-01-14 18:23:46 +08:00
Rain
bb5b3a29d3 fix(notify): Update template 2020-01-14 18:15:09 +08:00
wanyaoqi
761edb91a8 validate share on delete, update pulibc scope on mark standard 2020-01-14 17:43:54 +08:00
TangBin
59b496f67d aliyun backendgroup bugfix 2020-01-14 15:52:55 +08:00
TangBin
a42ba5f728 aws backendgroup delete bugfix 2020-01-14 15:52:55 +08:00
TangBin
fb2dbdb9b6 aws sync routetable 2020-01-14 15:52:55 +08:00
TangBin
4d58595223 huawei remove backend group bugfix 2020-01-14 15:52:55 +08:00
Zexi Li
b5900e6ac6 Merge pull request #4877 from yousong/automated-cherry-pick-of-#4874-upstream-release-2.13
Automated cherry pick of #4874: vendor: update sqlchemy
2020-01-14 13:58:09 +08:00
Yousong Zhou
0acfe911f2 vendor: update sqlchemy 2020-01-14 13:26:54 +08:00
Zexi Li
bf30a53252 Merge pull request #4870 from swordqiu/automated-cherry-pick-of-#4869-upstream-release-2.13
Automated cherry pick of #4869: fix: first load of service config not effective
2020-01-14 10:23:44 +08:00
Qiu Jian
32468981f4 fix: first load of service config not effective 2020-01-14 03:03:22 +08:00
yunion-ci-robot
73c9871545 Merge pull request #4866 from ioito/automated-cherry-pick-of-#4862-upstream-release-2.13
Automated cherry pick of #4862: fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要
2020-01-14 03:01:02 +08:00
yunion-ci-robot
e3a4aabad8 Merge pull request #4840 from ioito/automated-cherry-pick-of-#4837-upstream-release-2.13
Automated cherry pick of #4837: fix: 添加磁盘创建失败日志
2020-01-14 02:57:02 +08:00
yunion-ci-robot
4710a7a19a Merge pull request #4861 from ioito/automated-cherry-pick-of-#4858-upstream-release-2.13
Automated cherry pick of #4858: fix: 恢复公有云日志name
2020-01-14 02:50:02 +08:00
yunion-ci-robot
0741c7d039 Merge pull request #4832 from ioito/automated-cherry-pick-of-#4829-upstream-release-2.13
Automated cherry pick of #4829: fix: 公有云日志权限列表
2020-01-14 02:29:02 +08:00
yunion-ci-robot
b9b43e58b8 Merge pull request #4852 from ioito/automated-cherry-pick-of-#4849-upstream-release-2.13
Automated cherry pick of #4849: fix: aliyun rule fix
2020-01-14 02:22:02 +08:00
Zexi Li
9f4a2b6b2f Merge pull request #4845 from ioito/automated-cherry-pick-of-#4842-upstream-release-2.13
Automated cherry pick of #4842: fix: 添加安全组操作日志
2020-01-13 20:50:36 +08:00
Qu Xuan
c6c232f11b fix: 仅kvm需要去判断是否需要关机调整配置,公有云私有云默认不需要 2020-01-13 19:17:02 +08:00
Qu Xuan
a1b8c053ef fix: 恢复公有云日志name 2020-01-13 17:59:05 +08:00
Qu Xuan
c953edc3b2 fix: aliyun rule fix 2020-01-13 17:45:13 +08:00
Qu Xuan
504e251c3b fix: 添加安全组操作日志 2020-01-13 15:27:57 +08:00
Qu Xuan
4edcd85f07 fix: 添加磁盘创建失败日志 2020-01-13 14:55:26 +08:00
Qu Xuan
0bcee9e529 fix: 公有云日志权限列表 2020-01-13 11:22:16 +08:00
Zexi Li
f3c16ace78 Merge pull request #4818 from swordqiu/automated-cherry-pick-of-#4817-upstream-release-2.13
Automated cherry pick of #4817: fix: non-default-domain-projects changes not take effects after changing through service-config
2020-01-13 10:56:56 +08:00
Zexi Li
cf69029250 Merge pull request #4814 from swordqiu/automated-cherry-pick-of-#4813-upstream-release-2.13
Automated cherry pick of #4813: fix: set default read privileges for reading all quotas
2020-01-13 10:55:05 +08:00
yunion-ci-robot
d1a848ce28 Merge pull request #4827 from tb365/automated-cherry-pick-of-#4823-upstream-release-2.13
Automated cherry pick of #4823: sku domain filter bugfix
2020-01-13 09:24:00 +08:00
TangBin
8e5f7dc5b3 sku domain filter bugfix 2020-01-12 12:05:27 +08:00
Qiu Jian
3685860bbd fix: non-default-domain-projects changes not take effects after changing through service-config 2020-01-12 00:05:03 +08:00
yunion-ci-robot
c0a6045710 Merge pull request #4812 from tb365/automated-cherry-pick-of-#4809-upstream-release-2.13
Automated cherry pick of #4809: sku domain filter bugfix
2020-01-11 23:23:01 +08:00
TangBin
c847db56c1 sku domain filter bugfix 2020-01-11 21:26:22 +08:00
Qiu Jian
2e64a90823 fix: set default read privileges for reading all quotas 2020-01-11 18:00:28 +08:00
yunion-ci-robot
6d3fa65c7b Merge pull request #4798 from tb365/automated-cherry-pick-of-#4795-upstream-release-2.13
Automated cherry pick of #4795: add filter skus by domain id
2020-01-10 20:22:59 +08:00
yunion-ci-robot
4e3f902fa7 Merge pull request #4720 from tb365/automated-cherry-pick-of-#4712-upstream-release-2.13
Automated cherry pick of #4712: cloud account support manually sync skus
2020-01-10 20:09:02 +08:00
yunion-ci-robot
aa491b084b Merge pull request #4804 from tb365/automated-cherry-pick-of-#4801-upstream-release-2.13
Automated cherry pick of #4801: kvm elb listener update bugfix
2020-01-10 19:51:59 +08:00
TangBin
efcd66f6cf kvm elb listener update bugfix 2020-01-10 18:50:58 +08:00
TangBin
496bf0729d spelling mistakes fix 2020-01-10 17:20:54 +08:00
TangBin
5c9f3ecde5 user register ingore blank row 2020-01-10 17:20:54 +08:00
TangBin
3ca01a11af add filter skus by domain id 2020-01-10 17:20:54 +08:00
yunion-ci-robot
88d0580b4f Merge pull request #4776 from rainzm/automated-cherry-pick-of-#4754-upstream-release-2.13
Automated cherry pick of #4754: fix(region): Sync HostStorage in syncOnPremiseCloudProviderInfo
2020-01-10 10:35:58 +08:00
yunion-ci-robot
219af8dee4 Merge pull request #4764 from wanyaoqi/automated-cherry-pick-of-#4761-upstream-release-2.13
Automated cherry pick of #4761: image-properties-add-disable-delete
2020-01-10 10:30:00 +08:00
yunion-ci-robot
6fd90257f5 Merge pull request #4771 from wanyaoqi/automated-cherry-pick-of-#4768-upstream-release-2.13
Automated cherry pick of #4768: fix guest start no task complete
2020-01-10 10:24:59 +08:00
yunion-ci-robot
104310bab6 Merge pull request #4781 from swordqiu/automated-cherry-pick-of-#4780-upstream-release-2.13
Automated cherry pick of #4780: fix: initialize service config on keystone when service boot
2020-01-10 10:18:58 +08:00
yunion-ci-robot
a1d123bfb9 Merge pull request #4787 from yousong/automated-cherry-pick-of-#4784-upstream-release-2.13
Automated cherry pick of #4784: dnsrecords: add helper methods
2020-01-10 10:16:59 +08:00
Yousong Zhou
1979effd78 dns: chain load records for cname 2020-01-09 23:24:00 +08:00
Yousong Zhou
93fe16bba6 dns: prepare for responding with A record of cname value 2020-01-09 23:23:59 +08:00
Yousong Zhou
dc029452d0 dnsrecords: add helper methods 2020-01-09 23:23:59 +08:00
Qiu Jian
5ecc0bd1ec fix: initialize service config on keystone when service boot 2020-01-09 22:13:03 +08:00
Rain
02b24d1894 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:01:20 +08:00
wanyaoqi
6a87e3e8df fix guest start no task complete 2020-01-09 17:14:12 +08:00
wanyaoqi
3609f2d921 image-properties-add-disable-delete 2020-01-09 15:43:09 +08:00
TangBin
176fbb305a cloud account support manually sync skus 2020-01-09 11:18:20 +08:00
Zexi Li
09a660d039 Merge pull request #4758 from swordqiu/automated-cherry-pick-of-#4757-upstream-release-2.13
Automated cherry pick of #4757: fix: brand of compute quota key should be fixed
2020-01-09 09:58:42 +08:00
yunion-ci-robot
708089ec7a Merge pull request #4746 from yousong/automated-cherry-pick-of-#4724-upstream-release-2.13
Automated cherry pick of #4724: wires: lift name length, charset constraint
2020-01-08 23:44:04 +08:00
Qiu Jian
3ce7cbd191 fix: brand of compute quota key should be fixed 2020-01-08 23:34:12 +08:00
yunion-ci-robot
b9babd6d28 Merge pull request #4753 from ioito/automated-cherry-pick-of-#4750-upstream-release-2.13
Automated cherry pick of #4750: fix: cloudevent 成功条件补充
2020-01-08 23:32:58 +08:00
Qu Xuan
bdd9fe8c57 fix: cloudevent 成功条件补充 2020-01-08 20:45:44 +08:00
Zexi Li
bf707f87f9 Merge pull request #4736 from swordqiu/automated-cherry-pick-of-#4735-upstream-release-2.13
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:29 +08:00
Yousong Zhou
fbbfdb5cc7 wires: lift name length, charset constraint 2020-01-08 19:15:44 +08:00
yunion-ci-robot
d3b8770ae3 Merge pull request #4731 from ioito/automated-cherry-pick-of-#4728-upstream-release-2.13
Automated cherry pick of #4728: fix: eip duplicate name
2020-01-08 19:03:58 +08:00
Qiu Jian
7434e5688f 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:51:38 +08:00
Qu Xuan
35f5553b14 fix: eip duplicate name 2020-01-08 18:12:19 +08:00
yunion-ci-robot
b1b76e88a2 Merge pull request #4697 from rainzm/automated-cherry-pick-of-#4695-upstream-release-2.13
Automated cherry pick of #4695: fix(glance): Cancel pending usage of image quota correctly
2020-01-08 16:12:57 +08:00
yunion-ci-robot
c61d9dd73e Merge pull request #4703 from tb365/automated-cherry-pick-of-#4701-upstream-release-2.13
Automated cherry pick of #4701: azure skus sync fix
2020-01-08 15:56:57 +08:00
Zexi Li
0f51f70324 Merge pull request #4717 from wanyaoqi/automated-cherry-pick-of-#4714-upstream-release-2.13
Automated cherry pick of #4714: set subimage some field nullable
2020-01-08 15:42:58 +08:00
wanyaoqi
97e516bc3b set subimage some field nullable 2020-01-08 15:37:54 +08:00
yunion-ci-robot
c44dccb370 Merge pull request #4708 from ioito/automated-cherry-pick-of-#4655-upstream-release-2.13
Automated cherry pick of #4655: optimized: 优化公有云日志查询
2020-01-08 14:54:57 +08:00
yunion-ci-robot
54919edf5f Merge pull request #4687 from yousong/automated-cherry-pick-of-#4683-upstream-release-2.13
Automated cherry pick of #4683: hostman: distro name OpenWrt instead of OpenWRT
2020-01-08 12:56:58 +08:00
Qu Xuan
51a09a8a44 optimized: 优化公有云日志查询 2020-01-08 11:48:49 +08:00
yunion-ci-robot
b2ffe40386 Merge pull request #4653 from ioito/automated-cherry-pick-of-#4650-upstream-release-2.13
Automated cherry pick of #4650: fix: 避免创建rds account, database后未设置exteranl_id
2020-01-08 11:40:57 +08:00
yunion-ci-robot
a4eacf1d85 Merge pull request #4640 from ioito/automated-cherry-pick-of-#4636-upstream-release-2.13
Automated cherry pick of #4636: fix: 加强密码校验
2020-01-08 11:37:57 +08:00
TangBin
024f9bdcdd huawei redis sync fix 2020-01-08 11:33:45 +08:00
TangBin
d93297785b ctyun default gateway fix 2020-01-08 11:33:45 +08:00
TangBin
661f16efe0 huawei network default gateway fix 2020-01-08 11:33:45 +08:00
TangBin
b91ec54883 network create GuestIpPrefix fix 2020-01-08 11:33:45 +08:00
TangBin
83a20552af azure skus sync fix 2020-01-08 11:33:45 +08:00
Rain
29e1705d6b 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:29:34 +08:00
yunion-ci-robot
d2520e67b8 Merge pull request #4643 from tb365/automated-cherry-pick-of-#4634-upstream-release-2.13
Automated cherry pick of #4634: huawei image delete bugfix
2020-01-08 11:26:59 +08:00
yunion-ci-robot
4a6e410d6f Merge pull request #4692 from ioito/automated-cherry-pick-of-#4685-upstream-release-2.13
Automated cherry pick of #4685: fix: next marker format
2020-01-08 10:08:57 +08:00
Zexi Li
612eff6314 Merge pull request #4680 from swordqiu/automated-cherry-pick-of-#4676-upstream-release-2.13
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:29 +08:00
Zexi Li
b00d06eb61 Merge pull request #4673 from swordqiu/automated-cherry-pick-of-#4666-upstream-release-2.13
Automated cherry pick of #4666: fix: guess brand on guest create
2020-01-07 19:28:32 +08:00
yunion-ci-robot
70934b6b4d Merge pull request #4669 from ioito/automated-cherry-pick-of-#4656-upstream-release-2.13
Automated cherry pick of #4656: fix: 避免拥有带宽包的腾讯云创建机器失败
2020-01-07 18:06:59 +08:00
Qu Xuan
d2b6234eab fix: next marker format 2020-01-07 18:04:53 +08:00
Yousong Zhou
f91c337ae4 hostman: openwrt: deploy public key for root 2020-01-07 18:01:43 +08:00
Yousong Zhou
77c6f51c87 hostman: split DeployAuthorizedKeys() 2020-01-07 18:01:43 +08:00
Yousong Zhou
8f66dcfc96 hostman: openwrt: support deploy networking scripts 2020-01-07 18:01:43 +08:00
Yousong Zhou
4a327e795d hostman: openwrt: deploy hostname with board config 2020-01-07 18:01:43 +08:00
Yousong Zhou
4097dc8e68 hostman: distro name OpenWrt instead of OpenWRT 2020-01-07 18:01:43 +08:00
yunion-ci-robot
5944c9c20e Merge pull request #4661 from ioito/automated-cherry-pick-of-#4658-upstream-release-2.13
Automated cherry pick of #4658: fix: 避免同步安全组失败后,没有任何日志记录
2020-01-07 17:08:57 +08:00
Qiu Jian
d7de603fe5 fix: guest network default share scope should be system if non-default-domain-projects is off 2020-01-07 16:57:20 +08:00
Qiu Jian
238230491d fix: guess brand on guest create 2020-01-07 15:11:55 +08:00
Qu Xuan
1a32a15ddd fix: 避免拥有带宽包的腾讯云创建机器失败 2020-01-07 15:05:26 +08:00
Qu Xuan
852ed4590e fix: 避免同步安全组失败后,没有任何日志记录 2020-01-07 11:49:43 +08:00
yunion-ci-robot
e7b1dfff42 Merge pull request #4647 from swordqiu/automated-cherry-pick-of-#4645-upstream-release-2.13
Automated cherry pick of #4645: fix: comment out TestDialTimeout
2020-01-06 15:16:56 +08:00
Qu Xuan
3e7cf49674 fix: 避免创建rds account, database后未设置exteranl_id 2020-01-06 13:39:23 +08:00
Qiu Jian
8c74cff65b fix: comment out TestDialTimeout 2020-01-06 13:10:33 +08:00
TangBin
4cb7d03474 huawei image delete bugfix 2020-01-06 11:53:54 +08:00
Qu Xuan
cdc446f773 fix: 加强密码校验 2020-01-06 11:46:53 +08:00
Zexi Li
6ddd8c0df6 Merge pull request #4628 from swordqiu/automated-cherry-pick-of-#4627-upstream-release-2.13
Automated cherry pick of #4627: fix: increase default sync worker count from 2 to 5
2020-01-05 12:23:16 +08:00
Qiu Jian
f1e1949e14 fix: increase default sync worker count from 2 to 5 2020-01-05 12:20:23 +08:00
Zexi Li
d2c2362435 Merge pull request #4603 from swordqiu/automated-cherry-pick-of-#4601-upstream-release-2.13
Automated cherry pick of #4601: fix: remove bw/ebw quota limit
2020-01-04 23:59:29 +08:00
Qiu Jian
bb5e557c70 remove bw/ebw quota from scheduler 2020-01-04 23:34:37 +08:00
Qiu Jian
c5bbd936cf fix: remove bw/ebw quota limit 2020-01-04 23:34:37 +08:00
Zexi Li
d740109d0e Merge pull request #4624 from zexi/automated-cherry-pick-of-#4621-upstream-release-2.13
Automated cherry pick of #4621: fix: fmt error
2020-01-04 23:21:12 +08:00
Zexi Li
1e4975abb4 Merge pull request #4618 from swordqiu/automated-cherry-pick-of-#4616-upstream-release-2.13
Automated cherry pick of #4616: fix: huawei uncache image fail
2020-01-04 23:20:08 +08:00
Zexi Li
1d0129bca7 Merge pull request #4612 from ioito/automated-cherry-pick-of-#4609-upstream-release-2.13
Automated cherry pick of #4609: fix: 避免仅删除value时,行为演变为删除标签
2020-01-04 23:18:04 +08:00
Zexi Li
be57b97bb4 fix: fmt error 2020-01-04 23:16:51 +08:00
Qiu Jian
0d7355cde7 fix: huawei uncache image fail 2020-01-04 22:51:24 +08:00
Zexi Li
8af9889f5f Merge pull request #4606 from rainzm/automated-cherry-pick-of-#4602-upstream-release-2.13
Automated cherry pick of #4602: fix(notify): Fix the error of filter about contacts
2020-01-04 22:29:43 +08:00
Rain
a16a1489f7 fix(notify): Fix the error of filter about contacts 2020-01-04 22:25:20 +08:00
Qu Xuan
8fd0c9fb66 fix: 避免仅删除value时,行为演变为删除标签 2020-01-04 22:17:10 +08:00
Zexi Li
fa5e58f047 Merge pull request #4598 from rainzm/automated-cherry-pick-of-#4597-upstream-release-2.13
Automated cherry pick of #4597: fix(region): Add reset_password in guest template's ConfigInfo
2020-01-04 22:03:16 +08:00
Rain
5d300e5e4d fix(region): Cancel the check about project when creating service catlog 2020-01-04 21:37:44 +08:00
Rain
7e0c79ee66 fix(region): Add reset_password in guest template's ConfigInfo 2020-01-04 21:37:44 +08:00
Zexi Li
d65e459284 Merge pull request #4593 from rainzm/automated-cherry-pick-of-#4592-upstream-release-2.13
Automated cherry pick of #4592: fix(region): Fix that 'Can_delete' disappears due to parameter structuring
2020-01-04 21:09:52 +08:00
Zexi Li
b1407c1ea1 Merge pull request #4589 from rainzm/automated-cherry-pick-of-#4588-upstream-release-2.13
Automated cherry pick of #4588: fix(region): Set normal's snapshotpolicy's status as ready
2020-01-04 21:09:31 +08:00
Rain
614eb3a45c fix(region): Fix that 'Can_delete' disappears due to parameter structuring 2020-01-04 21:02:37 +08:00
Rain
c330655912 feature(region): Add bind/unbind-snapshotpolicy api for disk 2020-01-04 20:56:09 +08:00
Rain
1172a86955 fix(region): Set normal's snapshotpolicy's status as ready 2020-01-04 20:56:09 +08:00
Jian Qiu
6606c7fd27 Automated cherry pick of #4527: fix: httpclient timeout value cleanup, use notimeout client for oss (#4529)
* 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

* add GetFreePort method
2020-01-04 20:51:50 +08:00
yunion-ci-robot
49eac5f4c4 Merge pull request #4577 from ioito/automated-cherry-pick-of-#4574-upstream-release-2.13
Automated cherry pick of #4574: fix: 子网删除忽略弹性网卡
2020-01-04 20:33:36 +08:00
yunion-ci-robot
960eee4974 Merge pull request #4572 from bistuzx/automated-cherry-pick-of-#4557-upstream-release-2.13
Automated cherry pick of #4557: add cloud account create&update options
2020-01-04 20:27:37 +08:00
yunion-ci-robot
feaad53279 Merge pull request #4584 from ioito/automated-cherry-pick-of-#4581-upstream-release-2.13
Automated cherry pick of #4581: fix: 修复zstack安全组创建失败问题
2020-01-04 20:14:35 +08:00
Qu Xuan
67d547e5f7 fix: 修复zstack安全组创建失败问题 2020-01-04 20:02:08 +08:00
yunion-ci-robot
f77357969f Merge pull request #4561 from ioito/automated-cherry-pick-of-#4558-upstream-release-2.13
Automated cherry pick of #4558: fix: openstack eip dissociate optimized
2020-01-04 20:00:36 +08:00
Zexi Li
57a09c5682 Merge pull request #4566 from swordqiu/automated-cherry-pick-of-#4564-upstream-release-2.13
Automated cherry pick of #4564: fix: minio fail to set object metadata
2020-01-04 19:52:41 +08:00
Zexi Li
18eb373389 Merge pull request #4550 from swordqiu/automated-cherry-pick-of-#4549-upstream-release-2.13
Automated cherry pick of #4549: fix: domain quota-list include domain's own quota
2020-01-04 19:46:15 +08:00
Qu Xuan
f13a185045 fix: 子网删除忽略弹性网卡 2020-01-04 19:24:48 +08:00
张旭
ad04b24487 add cloud account create&update options 2020-01-04 19:20:01 +08:00
yunion-ci-robot
0acc601d31 Merge pull request #4555 from tb365/automated-cherry-pick-of-#4553-upstream-release-2.13
Automated cherry pick of #4553: elastic account add random password
2020-01-04 19:05:38 +08:00
Qu Xuan
586e8c7714 fix: openstack eip dissociate optimized 2020-01-04 18:44:17 +08:00
Qiu Jian
70e43e7c94 fix: minio fail to set object metadata 2020-01-04 18:37:04 +08:00
TangBin
1d475533e9 get eip bugfix 2020-01-04 18:22:37 +08:00
TangBin
bd7ba7de8e get eip bugfix 2020-01-04 18:22:37 +08:00
TangBin
c912ee6c3c host batch register bugfix 2020-01-04 18:22:37 +08:00
TangBin
046dc63be7 elastic cache account add login info api 2020-01-04 18:22:37 +08:00
TangBin
25fbfad3c5 elastic account add random password 2020-01-04 18:22:37 +08:00
yunion-ci-robot
b34792e667 Merge pull request #4536 from wanyaoqi/automated-cherry-pick-of-#4535-upstream-release-2.13
Automated cherry pick of #4535: fix disk filter by guest
2020-01-04 18:21:37 +08:00
Qiu Jian
a241b2dd79 fix: domain quota-list include domain's own quota 2020-01-04 17:17:49 +08:00
Zexi Li
0902b4330d Merge pull request #4542 from swordqiu/automated-cherry-pick-of-#4539-upstream-release-2.13
Automated cherry pick of #4539: fix: add cloudprovider capabilities
2020-01-04 17:03:25 +08:00
wanyaoqi
7757381008 add recover on guest suddenly shotdown 2020-01-04 16:50:26 +08:00
Qiu Jian
8b253f68b4 minor fixes 2020-01-04 16:20:39 +08:00
Qiu Jian
8f68c3067f minor fixes 2020-01-04 16:20:38 +08:00
Qiu Jian
403f82314b minor fixes 2020-01-04 16:20:38 +08:00
Qiu Jian
c47a529daa add cloudevent capabilities 2020-01-04 16:20:38 +08:00
Qiu Jian
affed9af90 fix: add cloudprovider capabilities 2020-01-04 16:20:38 +08:00
wanyaoqi
5293e3f02a fix disk filter by guest 2020-01-04 15:17:31 +08:00
yunion-ci-robot
eb1f2e0665 Merge pull request #4510 from tb365/automated-cherry-pick-of-#4509-upstream-release-2.13
Automated cherry pick of #4509: account create bugfix
2020-01-04 13:10:37 +08:00
TangBin
9e714f603e InitPendingUsagesInContext fix 2020-01-04 12:42:35 +08:00
TangBin
27b1aff669 account&provider health status check 2020-01-04 12:42:35 +08:00
TangBin
48993ad92a elastic skus add region_ext_id & zone_ext_id 2020-01-04 12:42:35 +08:00
TangBin
3c0a012b5c disk delete condition validator 2020-01-04 12:42:34 +08:00
TangBin
78378248ce huawei oss client read http ProxyFromEnvironment 2020-01-04 12:42:34 +08:00
TangBin
2a578f8fef network operations add action log 2020-01-04 12:42:34 +08:00
TangBin
e3ecfa9dc1 account create bugfix 2020-01-04 12:42:34 +08:00
Zexi Li
c9964db983 Merge pull request #4523 from zexi/automated-cherry-pick-of-#4520-upstream-release-2.13
Automated cherry pick of #4520: baremetal: fix megaraid check jbod always disabled
2020-01-03 21:51:51 +08:00
yunion-ci-robot
f64fc69ef8 Merge pull request #4516 from ioito/automated-cherry-pick-of-#4513-upstream-release-2.13
Automated cherry pick of #4513: fix: 腾讯云不支持描述字段参数
2020-01-03 21:31:41 +08:00
Zexi Li
43b5518b0c baremetal: fix megaraid check jbod always disabled 2020-01-03 21:22:33 +08:00
Qu Xuan
9dc72687d5 fix: 腾讯云不支持描述字段参数 2020-01-03 20:45:47 +08:00
Zexi Li
1c0c64830d Merge pull request #4500 from swordqiu/automated-cherry-pick-of-#4498-upstream-release-2.13
Automated cherry pick of #4498: fix: allow delete cloudaccount with auto-sync enabled
2020-01-03 19:06:31 +08:00
yunion-ci-robot
cc52759a2a Merge pull request #4504 from rainzm/automated-cherry-pick-of-#4497-upstream-release-2.13
Automated cherry pick of #4497: fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest
2020-01-03 19:04:35 +08:00
yunion-ci-robot
e8e5822d76 Merge pull request #4495 from ioito/automated-cherry-pick-of-#4492-upstream-release-2.13
Automated cherry pick of #4492: fix: 修复provider为空的套餐
2020-01-03 18:37:34 +08:00
Rain
50506d8daf fix(huawei): Add 'X-Project-ID' header for huawei nat reuqest 2020-01-03 17:21:08 +08:00
Qiu Jian
0bc8114f45 fix: allow delete cloudaccount with auto-sync enabled 2020-01-03 17:14:26 +08:00
Zexi Li
7fac5ed1de Merge pull request #4489 from swordqiu/automated-cherry-pick-of-#4488-upstream-release-2.13
Automated cherry pick of #4488: scheduler schedule according to quota limit
2020-01-03 17:13:54 +08:00
Qiu Jian
429e065deb fix: OutOfQuota error code 500 2020-01-03 16:01:30 +08:00
Qiu Jian
6c68873a72 automatically save pendingUsage in context 2020-01-03 16:01:30 +08:00
Qiu Jian
4a43b71a67 remove obsolete codes 2020-01-03 16:01:30 +08:00
Qiu Jian
c16df82138 bug fixes 2020-01-03 16:01:29 +08:00
Qiu Jian
9f53dadd0b move lb from zonequota to regionquota 2020-01-03 16:01:29 +08:00
Qiu Jian
37c78928f9 scheduler schedule according to quota limit 2020-01-03 16:01:29 +08:00
Qu Xuan
d7ab4dd931 fix: 修复provider为空的套餐 2020-01-03 15:55:14 +08:00
Zexi Li
f7662b4f5f Merge pull request #4485 from rainzm/automated-cherry-pick-of-#4483-upstream-release-2.13
Automated cherry pick of #4483: fix(notify): Always update websocket config
2020-01-03 11:22:36 +08:00
Zexi Li
1a7134f3df Merge pull request #4481 from swordqiu/automated-cherry-pick-of-#4478-upstream-release-2.13
Automated cherry pick of #4478: fix: bucket list object may skip first matched object
2020-01-03 11:01:32 +08:00
Rain
92cadee8f0 fix(notify): Always update websocket config 2020-01-02 19:12:03 +08:00
Qiu Jian
7aaad852a4 fix: sort objects and directories 2020-01-02 17:48:23 +08:00
Qiu Jian
ee10ff1fa4 fix: bucket list object may skip first matched object 2020-01-02 17:48:23 +08:00
rainzm
037ebf3b5a fix(region): Add support for suspend when syncing status of guest (#4475) 2020-01-02 16:33:47 +08:00
yunion-ci-robot
5ac9d6e278 Merge pull request #4471 from swordqiu/automated-cherry-pick-of-#4470-upstream-release-2.13
Automated cherry pick of #4470: fix: move loadblancer quota from zone to region
2020-01-02 12:00:35 +08:00
Qiu Jian
fe9100ef2a fix: move loadblancer quota from zone to region 2020-01-02 11:38:57 +08:00
yunion-ci-robot
4541d56925 Merge pull request #4339 from zhaoxiangchun/automated-cherry-pick-of-#4338-upstream-release-2.13
Automated cherry pick of #4338: qcloud监控信息
2020-01-02 10:14:34 +08:00
yunion-ci-robot
edf733d689 Merge pull request #4465 from yousong/automated-cherry-pick-of-#4464-upstream-release-2.13
Automated cherry pick of #4464: networks: 确保外部network也有ifname_hint
2020-01-01 15:32:35 +08:00
Yousong Zhou
6831d8713d networks: 确保外部network也有ifname_hint 2020-01-01 10:52:17 +08:00
yunion-ci-robot
aec34a9440 Merge pull request #4460 from ioito/automated-cherry-pick-of-#4459-upstream-release-2.13
Automated cherry pick of #4459: fix: openstack image: vmdk -> qcow2
2020-01-01 09:32:33 +08:00
yunion-ci-robot
6f1e187260 Merge pull request #4457 from ioito/automated-cherry-pick-of-#4455-upstream-release-2.13
Automated cherry pick of #4455: fix: 避免nova external_id duplicate
2019-12-31 23:30:34 +08:00
Qu Xuan
451a6e936e fix: openstack image: vmdk -> qcow2 2019-12-31 19:55:06 +08:00
yunion-ci-robot
16544f53b5 Merge pull request #4443 from wanyaoqi/automated-cherry-pick-of-#4442-upstream-release-2.13
Automated cherry pick of #4442: image batch update
2019-12-31 18:46:32 +08:00
Qu Xuan
93bd654630 fix: 避免nova external_id duplicate 2019-12-31 18:37:50 +08:00
tb365
4f47746ab6 Automated cherry pick of #4450: rpc batch opertaion bugfix (#4453)
* rpc batch opertaion bugfix

* batch user register ingnore password complexity check
2019-12-31 18:33:54 +08:00
Zexi Li
0310274310 Merge pull request #4452 from swordqiu/automated-cherry-pick-of-#4451-upstream-release-2.13
Automated cherry pick of #4451: feature: allow skip password complexity check when creating user
2019-12-31 18:05:17 +08:00
Qiu Jian
b9b3309348 feature: allow skip password complexity check when creating user 2019-12-31 18:03:05 +08:00
yunion-ci-robot
3d38fa76fa Merge pull request #4446 from wanyaoqi/automated-cherry-pick-of-#4445-upstream-release-2.13
Automated cherry pick of #4445: not return on recv packet failed
2019-12-31 17:31:32 +08:00
yunion-ci-robot
224d384863 Merge pull request #4436 from yousong/automated-cherry-pick-of-#4435-upstream-release-2.13
Automated cherry pick of #4435: networks: newIfnameHint: 可读性改善
2019-12-31 17:14:33 +08:00
wanyaoqi
381f7df822 not return on recv packet failed 2019-12-31 17:03:53 +08:00
wanyaoqi
15773ccb63 image batch update 2019-12-31 16:24:02 +08:00
yunion-ci-robot
157f49d84a Merge pull request #4434 from wanyaoqi/automated-cherry-pick-of-#4433-upstream-release-2.13
Automated cherry pick of #4433: fix owner of instance snapshot
2019-12-31 15:50:33 +08:00
Zexi Li
1e09a2e11a Merge pull request #4441 from ioito/automated-cherry-pick-of-#4440-upstream-release-2.13
Automated cherry pick of #4440: fix: struct api params
2019-12-31 15:46:30 +08:00
Qu Xuan
0160103054 fix: struct api params 2019-12-31 15:32:59 +08:00
wanyaoqi
757c3502fb fix owner of instance snapshot 2019-12-31 14:42:09 +08:00
Yousong Zhou
721321b54f guestnetworks: 加强ifname内容判断 2019-12-31 14:24:08 +08:00
Yousong Zhou
1bfc55b6c2 networks: newIfnameHint: 可读性改善 2019-12-31 14:24:08 +08:00
Zexi Li
15cd5675df Merge pull request #4431 from swordqiu/automated-cherry-pick-of-#4430-upstream-release-2.13
Automated cherry pick of #4430: fix: apigateway option use pointer
2019-12-31 12:40:40 +08:00
Qiu Jian
954ae03297 fix: apigateway option use pointer 2019-12-31 12:36:25 +08:00
yunion-ci-robot
f77b6a68a4 Merge pull request #4418 from ioito/automated-cherry-pick-of-#4417-upstream-release-2.13
Automated cherry pick of #4417: fix: metadata-list时考虑不同资源类型过滤条件
2019-12-31 11:35:33 +08:00
Qu Xuan
55e4d09fef fix: metadata-list通用化所有资源标签 2019-12-31 11:16:18 +08:00
yunion-ci-robot
79a7685cac Merge pull request #4429 from rainzm/automated-cherry-pick-of-#4374-upstream-release-2.13
Automated cherry pick of #4374: fix(region): fix the status when start to suspend vm
2019-12-31 11:09:33 +08:00
Rain
6611ee78f0 fix(region): fix the status when start to suspend vm 2019-12-31 10:59:39 +08:00
yunion-ci-robot
8c19d1d456 Merge pull request #4424 from wanyaoqi/automated-cherry-pick-of-#4423-upstream-release-2.13
Automated cherry pick of #4423: region MakeCloudProviderInfo instance snapshots
2019-12-31 01:23:32 +08:00
yunion-ci-robot
f3a2ee50e5 Merge pull request #4399 from ioito/automated-cherry-pick-of-#4398-upstream-release-2.13
Automated cherry pick of #4398: fix: 避免创建时localstorage为空导致校验失败
2019-12-31 01:21:33 +08:00
yunion-ci-robot
aabc7a0a15 Merge pull request #4391 from wanyaoqi/automated-cherry-pick-of-#4390-upstream-release-2.13
Automated cherry pick of #4390: public cloud support postpaid expire
2019-12-31 01:10:32 +08:00
yunion-ci-robot
b282a676c7 Merge pull request #4381 from ioito/automated-cherry-pick-of-#4380-upstream-release-2.13
Automated cherry pick of #4380: fix: 支持过滤有admin_secgrp的虚拟机
2019-12-31 01:04:32 +08:00
yunion-ci-robot
ffc7a1ce11 Merge pull request #4388 from ioito/automated-cherry-pick-of-#4387-upstream-release-2.13
Automated cherry pick of #4387: fix: 避免私有云找不到对应的套餐
2019-12-31 00:53:36 +08:00
yunion-ci-robot
76a121113c Merge pull request #4395 from ioito/automated-cherry-pick-of-#4394-upstream-release-2.13
Automated cherry pick of #4394: fix: 避免同步将eip同步到弹性网卡里面
2019-12-31 00:50:32 +08:00
Zexi Li
981ce91f2d Merge pull request #4406 from wanyaoqi/automated-cherry-pick-of-#4405-upstream-release-2.13
Automated cherry pick of #4405: fix panic on fstab no content
2019-12-31 00:42:45 +08:00
Zexi Li
8738df67cd Merge pull request #4427 from swordqiu/automated-cherry-pick-of-#4426-upstream-release-2.13
Automated cherry pick of #4426: fix: baremetal server may reuse host's IPMI address
2019-12-31 00:40:16 +08:00
yunion-ci-robot
af9a66906a Merge pull request #4421 from tb365/automated-cherry-pick-of-#4420-upstream-release-2.13
Automated cherry pick of #4420: update rbac default policy
2019-12-31 00:23:33 +08:00
Qiu Jian
f039bc6316 fix: baremetal server may reuse host's IPMI address 2019-12-30 23:40:28 +08:00
wanyaoqi
8c42bf4b14 region MakeCloudProviderInfo instance snapshots
- MakeCloudProviderInfo: fix panic on account is nil
- GetSnapshotsNotInInstanceSnapshot: add filter disk_id
2019-12-30 21:19:25 +08:00
TangBin
283037a724 update rbac default policy 2019-12-30 19:13:42 +08:00
yunion-ci-robot
992a84dd04 Merge pull request #4413 from yousong/automated-cherry-pick-of-#4412-upstream-release-2.13
Automated cherry pick of #4412: networks: make ifname hint also valid qemu identifier
2019-12-30 18:53:33 +08:00
Yousong Zhou
970e00b176 networks: make ifname hint also valid qemu identifier 2019-12-30 18:14:17 +08:00
Zexi Li
4b17d16531 Merge pull request #4402 from swordqiu/automated-cherry-pick-of-#4401-upstream-release-2.13
Automated cherry pick of #4401: fix: host-update ipmi and host-sync-config support
2019-12-30 17:58:53 +08:00
wanyaoqi
2d6823c8b9 fix panic on fstab no content 2019-12-30 16:26:36 +08:00
Qiu Jian
60b458ab77 fix: host-update ipmi and host-sync-config support 2019-12-30 16:13:30 +08:00
Qu Xuan
c1b9c0a9a9 fix: 避免创建时localstorage为空导致校验失败 2019-12-30 15:34:05 +08:00
Qu Xuan
0dfb2a1965 fix: 避免同步将eip同步到弹性网卡里面 2019-12-30 14:54:41 +08:00
wanyaoqi
c6fb41cf9c public cloud support postpaid expire 2019-12-30 11:24:52 +08:00
Qu Xuan
ba6ff394bd fix: 支持过滤有admin_secgrp的虚拟机 2019-12-30 10:50:47 +08:00
Qu Xuan
790878c743 fix: 避免私有云找不到对应的套餐 2019-12-30 10:42:15 +08:00
yunion-ci-robot
5bcd013622 Merge pull request #4348 from ioito/automated-cherry-pick-of-#4347-upstream-release-2.13
Automated cherry pick of #4347: fix: 支持同步经典网络ip地址
2019-12-30 09:19:32 +08:00
yunion-ci-robot
1079614d6e Merge pull request #4364 from ioito/automated-cherry-pick-of-#4362-upstream-release-2.13
Automated cherry pick of #4362: fix: 更正腾讯云磁盘创建时间
2019-12-29 22:04:39 +08:00
yunion-ci-robot
c28bf2bd81 Merge pull request #4384 from ioito/automated-cherry-pick-of-#4383-upstream-release-2.13
Automated cherry pick of #4383: fix: 修复接收参数异常问题
2019-12-28 14:19:31 +08:00
Qu Xuan
fbe17f2f1e fix: 支持同步经典网络ip地址 2019-12-28 13:16:33 +08:00
Qu Xuan
2a347aa5fc fix: 更正腾讯云磁盘创建时间 2019-12-28 13:06:44 +08:00
yunion-ci-robot
45084a31b6 Merge pull request #4376 from ioito/automated-cherry-pick-of-#4375-upstream-release-2.13
Automated cherry pick of #4375: fix: 避免因太多锁导致删除安全组task失败
2019-12-28 09:53:35 +08:00
Qu Xuan
f5971c650e fix: 修复接收参数异常问题 2019-12-27 20:32:51 +08:00
Qu Xuan
593a6a4a76 fix: 避免因太多锁导致删除安全组task失败 2019-12-27 16:23:33 +08:00
Zexi Li
7fed6b1a2a Merge pull request #4361 from swordqiu/automated-cherry-pick-of-#4360-upstream-release-2.13
Automated cherry pick of #4360: update vendor
2019-12-27 16:00:28 +08:00
Zexi Li
e5fd0bc7b8 Merge pull request #4353 from swordqiu/automated-cherry-pick-of-#4352-upstream-release-2.13
Automated cherry pick of #4352: fix: refresh quota usage may timeout
2019-12-27 16:00:16 +08:00
Zexi Li
a1b7ac1bf3 Merge pull request #4358 from swordqiu/automated-cherry-pick-of-#4357-upstream-release-2.13
Automated cherry pick of #4357: fix: change service type of apigateway to yunionapi
2019-12-27 15:59:42 +08:00
Zexi Li
5390e81c77 Merge pull request #4369 from swordqiu/automated-cherry-pick-of-#4368-upstream-release-2.13
Automated cherry pick of #4368: fix: alter user email charset to utf8
2019-12-27 14:28:53 +08:00
Qiu Jian
c6597d71e3 fix: alter user email charset to utf8 2019-12-27 14:11:54 +08:00
zhaoxiangchun
3532b8a261 go fmt 2019-12-27 12:43:58 +08:00
zhaoxiangchun
954799f512 腾讯云监控信息获取方法 2019-12-27 12:43:58 +08:00
zhaoxiangchun
183f2f5b7d qcloud监控信息
pkg/multicloud/qcloud/monitor.go文件:调用腾讯的接口获取指标监控信息
2019-12-27 12:43:58 +08:00
yunion-ci-robot
cd7b0d2c40 Merge pull request #4355 from swordqiu/automated-cherry-pick-of-#4354-upstream-release-2.13
Automated cherry pick of #4354: fix: cloudaccount try get info of empty project
2019-12-27 11:28:31 +08:00
yunion-ci-robot
de14557be2 Merge pull request #4350 from ioito/automated-cherry-pick-of-#4336-upstream-release-2.13
Automated cherry pick of #4336: fix: 优化支持openstack重装系统
2019-12-27 01:15:30 +08:00
yunion-ci-robot
c796f76fd7 Merge pull request #4297 from wanyaoqi/automated-cherry-pick-of-#4296-upstream-release-2.13
Automated cherry pick of #4296: snapshot misc bugfix
2019-12-27 01:12:31 +08:00
yunion-ci-robot
2eceb9ca4b Merge pull request #4292 from yousong/automated-cherry-pick-of-#4291-upstream-release-2.13
Automated cherry pick of #4291: guests: add modify-src-check support
2019-12-27 01:07:30 +08:00
yunion-ci-robot
396957312d Merge pull request #4334 from wanyaoqi/automated-cherry-pick-of-#4333-upstream-release-2.13
Automated cherry pick of #4333: eip add distinct account
2019-12-27 01:03:31 +08:00
Qiu Jian
5281ea243c update vendor 2019-12-27 00:58:27 +08:00
Qiu Jian
8fddcd7775 fix: change service type of apigateway to yunionapi 2019-12-27 00:26:57 +08:00
Qiu Jian
dab9cb0fe6 fix: cloudaccount try get info of empty project 2019-12-26 22:41:33 +08:00
Qiu Jian
65c080dff7 fix: refresh quota usage may timeout 2019-12-26 22:21:23 +08:00
Qu Xuan
5c14041446 fix: 优化支持openstack重装系统 2019-12-26 21:46:51 +08:00
Zexi Li
db01178432 Merge pull request #4327 from swordqiu/automated-cherry-pick-of-#4326-upstream-release-2.13
Automated cherry pick of #4326: fix: baremetal diskconfig empty adaptor index
2019-12-26 21:15:53 +08:00
Zexi Li
10bc25769e Merge pull request #4343 from swordqiu/automated-cherry-pick-of-#4342-upstream-release-2.13
Automated cherry pick of #4342: fix: fetch project/domain name should use system query scope
2019-12-26 21:13:58 +08:00
Zexi Li
77e43330ab Merge pull request #4345 from swordqiu/automated-cherry-pick-of-#4344-upstream-release-2.13
Automated cherry pick of #4344: fix: reduce action log for keystone authentication event
2019-12-26 21:12:15 +08:00
Qiu Jian
b49b189883 fix: reduce action log for keystone authentication event 2019-12-26 20:53:48 +08:00
yunion-ci-robot
c6f04dea16 Merge pull request #4341 from swordqiu/automated-cherry-pick-of-#4340-upstream-release-2.13
Automated cherry pick of #4340: fix: separate delete-object and delete-prefix methods
2019-12-26 18:51:30 +08:00
Qiu Jian
8ce3885265 fix: fetch project/domain name should use system query scope 2019-12-26 18:21:10 +08:00
Qiu Jian
ef1b1af6e7 fix: separate delete-object and delete-prefix methods 2019-12-26 17:37:22 +08:00
yunion-ci-robot
c2d2c86f30 Merge pull request #4323 from swordqiu/automated-cherry-pick-of-#4322-upstream-release-2.13
Automated cherry pick of #4322: fix: SyncEip时同步项目应该在同步主机信息之前
2019-12-26 15:53:35 +08:00
Zexi Li
7545d78937 Merge pull request #4320 from swordqiu/automated-cherry-pick-of-#4319-upstream-release-2.13
Automated cherry pick of #4319: fix: bucket list objects with marker and limit
2019-12-26 15:45:38 +08:00
yunion-ci-robot
c09b1d6832 Merge pull request #4318 from swordqiu/automated-cherry-pick-of-#4317-upstream-release-2.13
Automated cherry pick of #4317: fix: hide worker manager watchdog log
2019-12-26 15:42:31 +08:00
wanyaoqi
2ed863940c eip add distinct account 2019-12-26 14:45:34 +08:00
yunion-ci-robot
053f1a5a7d Merge pull request #4249 from zhasm/automated-cherry-pick-of-#4248-upstream-release-2.13
Automated cherry pick of #4248: 修复 devtool template rbac 权限
2019-12-26 11:22:31 +08:00
yunion-ci-robot
98ad1ad428 Merge pull request #4332 from tb365/automated-cherry-pick-of-#4331-upstream-release-2.13
Automated cherry pick of #4331: host register bugfix
2019-12-26 11:15:32 +08:00
yunion-ci-robot
34a4c356d3 Merge pull request #4300 from yousong/automated-cherry-pick-of-#4299-upstream-release-2.13
Automated cherry pick of #4299: hostman: different error message for different error reason
2019-12-26 11:06:30 +08:00
TangBin
329b4d6d62 host register bugfix 2019-12-26 10:56:59 +08:00
yunion-ci-robot
92389a8c5f Merge pull request #4314 from ioito/automated-cherry-pick-of-#4313-upstream-release-2.13
Automated cherry pick of #4313: fix: 避免在域管理后台rules不可见
2019-12-26 01:56:15 +08:00
yunion-ci-robot
0b3f5ce583 Merge pull request #4308 from ioito/automated-cherry-pick-of-#4307-upstream-release-2.13
Automated cherry pick of #4307: fix: 同步openstack宿主机关闭服务后状态
2019-12-26 01:52:14 +08:00
Qiu Jian
7b4aae71cd fix: baremetal diskconfig empty adaptor index 2019-12-26 01:12:27 +08:00
Qiu Jian
918d883cf9 fix: SyncEip时同步项目应该在同步主机信息之前 2019-12-26 01:01:23 +08:00
Qiu Jian
1b4bb62f83 fix fmt issue 2019-12-26 00:49:05 +08:00
Qiu Jian
cbc970a2d6 fix: minor fix 2019-12-26 00:49:05 +08:00
Qiu Jian
de68feba9b fix: bucket list objects with marker and limit 2019-12-26 00:49:05 +08:00
yunion-ci-robot
98174b4354 Merge pull request #4284 from swordqiu/automated-cherry-pick-of-#4283-upstream-release-2.13
Automated cherry pick of #4283: feature: 1. baremetal server reuse host ip 2. server name use expression
2019-12-25 21:00:16 +08:00
Qiu Jian
1441b70e8a fix: hide worker manager watchdog log 2019-12-25 18:29:42 +08:00
Qu Xuan
9e11b683a5 fix: 避免在域管理后台rules不可见 2019-12-25 17:14:39 +08:00
yunion-ci-robot
17e897cf93 Merge pull request #4305 from ioito/automated-cherry-pick-of-#4304-upstream-release-2.13
Automated cherry pick of #4304: fix: 支持忽略cloudaccount健康检查
2019-12-25 17:12:15 +08:00
Qu Xuan
a54adccadf fix: 同步openstack宿主机关闭服务后状态 2019-12-25 16:27:23 +08:00
yunion-ci-robot
586ac8c9fd Merge pull request #4287 from ioito/automated-cherry-pick-of-#4286-upstream-release-2.13
Automated cherry pick of #4286: fix: list增加provider字段,过滤已删除账号的cloudevent
2019-12-25 16:26:14 +08:00
Qu Xuan
b601ec6932 fix: 支持忽略cloudaccount健康检查 2019-12-25 16:09:25 +08:00
yunion-ci-robot
4074dde7b4 Merge pull request #4294 from ioito/automated-cherry-pick-of-#4293-upstream-release-2.13
Automated cherry pick of #4293: fix: 避免未接收到tenant参数
2019-12-25 16:03:15 +08:00
Yousong Zhou
77922d9f56 hostman: note for preflight check for ifconfig command 2019-12-25 16:00:30 +08:00
Yousong Zhou
e904e68313 hostman: fsdriver: fix hostname deployment for openwrt
We will need to add native uci support later
2019-12-25 15:58:50 +08:00
Yousong Zhou
c2b6ffc492 hostman: add default values for host config 2019-12-25 15:58:50 +08:00
Yousong Zhou
ce88fd3693 networks: different indent level for asymmetric branches 2019-12-25 15:58:50 +08:00
Yousong Zhou
40a400700f hostman: different error message for different error reason 2019-12-25 15:58:50 +08:00
wanyaoqi
da1a9b33af snapshot misc bugfix 2019-12-25 15:52:55 +08:00
Qu Xuan
97c2ee9e68 fix: 避免未接收到tenant参数 2019-12-25 14:38:00 +08:00
Yousong Zhou
05417fbbb4 climc: add server-modify-src-check 2019-12-25 12:43:24 +08:00
Yousong Zhou
ffd71ce2ab guests: add modify-src-check support 2019-12-25 12:43:24 +08:00
Qu Xuan
e212407b76 fix: list增加provider字段,过滤已删除账号的cloudevent 2019-12-24 22:25:05 +08:00
Qiu Jian
c3355e2312 remove debug log 2019-12-24 20:32:42 +08:00
Qiu Jian
d4c5d37fc2 minor fix 2019-12-24 20:32:42 +08:00
Qiu Jian
e75eae74a9 feature: 1. baremetal server reuse host ip 2. server name use expression 2019-12-24 20:32:41 +08:00
Zhang Dongliang
d260fbb185 devtool 资源类型 从standalone 改为 virtualresource 2019-12-24 11:11:28 +08:00
Zhang Dongliang
9541eccd38 修复 devtool template rbac 权限 2019-12-24 11:11:28 +08:00
yunion-ci-robot
b74b94f5c9 Merge pull request #4280 from swordqiu/automated-cherry-pick-of-#4257-upstream-release-2.13
Automated cherry pick of #4257: feature: service config update support
2019-12-24 10:25:13 +08:00
yunion-ci-robot
11423e574c Merge pull request #4276 from rainzm/automated-cherry-pick-of-#4274-upstream-release-2.13
Automated cherry pick of #4274: fix(notify): Fix for user cache and list contacts
2019-12-23 21:11:15 +08:00
Rain
36bfb48a9a fix(notify): Fix for user cache and list contacts 2019-12-23 20:49:56 +08:00
yunion-ci-robot
607c05acda Merge pull request #4282 from ioito/automated-cherry-pick-of-#4281-upstream-release-2.13
Automated cherry pick of #4281: fix: host支持标签
2019-12-23 20:25:16 +08:00
Qu Xuan
e089287970 fix: host支持标签 2019-12-23 19:55:46 +08:00
Qiu Jian
f4a6277c31 feature: service config update support 2019-12-23 19:05:20 +08:00
TangBin
41206abdd1 add services query permission 2019-12-23 19:03:09 +08:00
rainzm
fd74845797 update vendor (#4267) 2019-12-23 19:03:09 +08:00
Qiu Jian
40a922ac58 feature: service config update support 2019-12-23 19:02:37 +08:00
yunion-ci-robot
b113ab24ab Merge pull request #4278 from tb365/automated-cherry-pick-of-#4277-upstream-release-2.13
Automated cherry pick of #4277: add services query permission
2019-12-23 18:36:12 +08:00
TangBin
94dc3ca2fb add services query permission 2019-12-23 18:14:22 +08:00
yunion-ci-robot
f26431fc0c Merge pull request #4272 from swordqiu/automated-cherry-pick-of-#4270-upstream-release-2.13
Automated cherry pick of #4270: feature: support centos 8 deployment. centos 8 requiest NetworkManager
2019-12-23 10:43:14 +08:00
Qiu Jian
e645ab22ce feature: support centos 8 deployment. centos 8 requiest NetworkManager 2019-12-21 18:44:12 +08:00
rainzm
1f96aecf71 update vendor for 2.13 (#4269) 2019-12-21 17:55:59 +08:00
Jian Qiu
6d5493004b feature: add domain usage with prefix "domain." (#4266) 2019-12-21 17:55:19 +08:00
yunion-ci-robot
61bbbc5610 Merge pull request #4259 from swordqiu/automated-cherry-pick-of-#4258-upstream-release-2.13
Automated cherry pick of #4258: feature: add domain usage with prefix "domain."
2019-12-21 17:14:13 +08:00
yunion-ci-robot
01941f3637 Merge pull request #4265 from ioito/automated-cherry-pick-of-#4264-upstream-release-2.13
Automated cherry pick of #4264: fix: google storage name
2019-12-21 17:04:07 +08:00
Qu Xuan
2f31be5a00 fix: google storage name 2019-12-21 16:57:38 +08:00
yunion-ci-robot
d01ec224d1 Merge pull request #4263 from ioito/automated-cherry-pick-of-#4262-upstream-release-2.13
Automated cherry pick of #4262: fix: 编译问题
2019-12-21 16:42:06 +08:00
Qu Xuan
5c2f97e40b fix: 编译问题 2019-12-21 16:32:42 +08:00
yunion-ci-robot
7993845bfa Merge pull request #4261 from ioito/automated-cherry-pick-of-#4260-upstream-release-2.13
Automated cherry pick of #4260: fix: resourcebase和selflink,name重叠
2019-12-21 16:18:07 +08:00
Qu Xuan
3b7e97cc33 fix: resourcebase和selflink,name重叠 2019-12-21 16:15:41 +08:00
Qiu Jian
aca3da0b69 feature: add domain usage with prefix "domain." 2019-12-21 02:04:45 +08:00
yunion-ci-robot
69f969875e Merge pull request #4255 from ioito/automated-cherry-pick-of-#4254-upstream-release-2.13
Automated cherry pick of #4254: fix: 谷歌云镜像账号内共享,只需要一个storagecache
2019-12-21 00:03:06 +08:00
yunion-ci-robot
9aae793665 Merge pull request #4252 from rainzm/feature/update_vendor_2.13
Update vendor in release/2.13
2019-12-20 23:59:05 +08:00
yunion-ci-robot
1912170eb4 Merge pull request #4227 from ioito/automated-cherry-pick-of-#4226-upstream-release-2.13
Automated cherry pick of #4226: fix: globalvpc属于系统资源
2019-12-20 22:08:08 +08:00
Qu Xuan
d7c300f861 fix: 谷歌云镜像账号内共享,只需要一个storagecache 2019-12-20 21:38:36 +08:00
yunion-ci-robot
99fbe4f228 Merge pull request #4229 from yousong/automated-cherry-pick-of-#4228-upstream-release-2.13
Automated cherry pick of #4228: mcclient: proxy setting aware by using httputils' transport
2019-12-20 21:30:05 +08:00
Rain
ce71be7fed Update vendor in case of updating about yunion.io/x/pkg and yunion.io/x/jsonutils 2019-12-20 20:11:01 +08:00
yunion-ci-robot
c0c3d98871 Merge pull request #4247 from ioito/automated-cherry-pick-of-#4168-upstream-release-2.13
Automated cherry pick of #4168: fix: 避免创建安全组规则时未能接收到安全组参数
2019-12-20 18:09:04 +08:00
yunion-ci-robot
799f033e8c Merge pull request #4244 from rainzm/automated-cherry-pick-of-#4232-upstream-release-2.13
Automated cherry pick of #4232: Fix(notify): Unified the api params and fix some bug.
2019-12-20 16:04:07 +08:00
Qu Xuan
90f89c499f fix: 避免创建安全组规则时未能接收到安全组参数 2019-12-20 15:42:14 +08:00
Rain
3ff13c81a1 feat(notify): Add default email tempalte with topic IMAGE_ACTIVED 2019-12-20 11:42:52 +08:00
Rain
9bd93f96a4 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:42:52 +08:00
yunion-ci-robot
e3c1eb7e7e Merge pull request #4233 from tb365/automated-cherry-pick-of-#4184-upstream-release-2.13
Automated cherry pick of #4184: elastic skus query bugfix
2019-12-20 11:26:06 +08:00
Zexi Li
985111168c Merge pull request #4242 from rainzm/automated-cherry-pick-of-#4241-upstream-release-2.13
Automated cherry pick of #4241: Fix(region): Fix the Json tag of apis.GuesttemplateNetwork.GuestIpEnd
2019-12-20 10:49:30 +08:00
yunion-ci-robot
dccf867805 Merge pull request #4239 from zexi/automated-cherry-pick-of-#4238-upstream-release-2.13
Automated cherry pick of #4238: baremetal: fix register input params lost
2019-12-20 00:17:05 +08:00
Rain
9cecc6ac59 Fix(region): Fix the Json tag of apis.GuesttemplateNetwork.GuestIpEnd 2019-12-19 21:49:55 +08:00
Zexi Li
a3af11bacf baremetal: fix register input params lost 2019-12-19 21:10:33 +08:00
yunion-ci-robot
eb584c4d01 Merge pull request #4231 from tb365/automated-cherry-pick-of-#4083-upstream-release-2.13
Automated cherry pick of #4083: add user & project batch import template
2019-12-19 19:04:04 +08:00
TangBin
a66c25521f add cache skus query params 2019-12-19 18:18:14 +08:00
TangBin
f337ec244d add zone service filter 2019-12-19 18:18:14 +08:00
TangBin
d321458803 zone customize columns add region_external_id 2019-12-19 18:18:14 +08:00
TangBin
ce0257126f get elasitc cache account password api 2019-12-19 18:18:14 +08:00
TangBin
9cca89e7ec elastic skus query bugfix 2019-12-19 18:18:14 +08:00
Zexi Li
d42e67c2e8 Merge pull request #4236 from swordqiu/automated-cherry-pick-of-#4235-upstream-release-2.13
Automated cherry pick of #4235: fix: image-quotas not register model names
2019-12-19 17:31:21 +08:00
Qiu Jian
d130afb143 fix: image-quotas not register model names 2019-12-19 17:29:55 +08:00
TangBin
9e1e51abf8 add host iso&pxe register 2019-12-19 16:06:37 +08:00
TangBin
e1ed02f525 user batch create 2019-12-19 16:06:37 +08:00
TangBin
0565813764 add user & project batch import template 2019-12-19 16:06:37 +08:00
Yousong Zhou
862c2c27ee httputils: unset DisableCompression=true 2019-12-19 15:03:20 +08:00
Yousong Zhou
0416d3fd1e mcclient: proxy setting aware by using httputils' transport 2019-12-19 15:03:20 +08:00
yunion-ci-robot
b86fdbba43 Merge pull request #4225 from ioito/automated-cherry-pick-of-#4224-upstream-release-2.13
Automated cherry pick of #4224: fix: 移除重复的manger注册
2019-12-19 12:54:03 +08:00
Qu Xuan
692b1ce3c3 fix: globalvpc属于系统资源 2019-12-19 11:43:33 +08:00
Qu Xuan
d0bf533d4a fix: 移除重复的manger注册 2019-12-19 11:29:51 +08:00
yunion-ci-robot
d89d4dcb86 Merge pull request #4223 from rainzm/automated-cherry-pick-of-#4221-upstream-release-2.13
Automated cherry pick of #4221: fix(region): Fix the bug of snapshotpolicy's list with details
2019-12-19 11:11:02 +08:00
Rain
7956b0db38 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-19 10:51:17 +08:00
Zexi Li
3a9a7b67ce Merge pull request #4219 from rainzm/automated-cherry-pick-of-#4217-upstream-release-2.13
Automated cherry pick of #4217: bugfix(notify): Fix the bug of notify config and verify
2019-12-18 20:50:40 +08:00
yunion-ci-robot
af2d8900c2 Merge pull request #4211 from ioito/automated-cherry-pick-of-#4210-upstream-release-2.13
Automated cherry pick of #4210: optimize: 分离各个资源的request请求
2019-12-18 20:00:03 +08:00
yunion-ci-robot
bc0bf4f772 Merge pull request #4213 from yousong/automated-cherry-pick-of-#4212-upstream-release-2.13
Automated cherry pick of #4212: guestnetworks: ignore empty preferIfname
2019-12-18 19:03:04 +08:00
Rain
cb995d844d 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:02:18 +08:00
Yousong Zhou
00979ab3b2 guestnetworks: ignore empty preferIfname
Fixes cc02ac74 ("guestnetworks: check ifname uniqueness across different
networks")
2019-12-18 09:15:44 +00:00
yunion-ci-robot
9adf57ec18 Merge pull request #4165 from rainzm/automated-cherry-pick-of-#4164-upstream-release-2.13
Automated cherry pick of #4164: fix(region): Add support for updating Service Catalog
2019-12-18 13:19:07 +08:00
yunion-ci-robot
d00e95dadb Merge pull request #4208 from swordqiu/automated-cherry-pick-of-#4207-upstream-release-2.13
Automated cherry pick of #4207: fix: ESXi fakeDC ID should matches any datacenter
2019-12-17 22:38:03 +08:00
Qu Xuan
40199d787e optimize: 分离各个资源的request请求 2019-12-17 21:34:12 +08:00
Qiu Jian
bb4c3fda21 fix: ESXi fakeDC ID should matches any datacenter 2019-12-17 18:50:21 +08:00
yunion-ci-robot
0a6c248887 Merge pull request #4181 from ioito/automated-cherry-pick-of-#4180-upstream-release-2.13
Automated cherry pick of #4180: fix: 添加缓存镜像失败日志
2019-12-17 17:53:02 +08:00
yunion-ci-robot
06d35542a1 Merge pull request #4206 from rainzm/automated-cherry-pick-of-#4204-upstream-release-2.13
Automated cherry pick of #4204: fix(notify): Fix the bugs of user cache and some api's params
2019-12-17 17:27:10 +08:00
Rain
b19fcf4487 fix(notify): Fix the bugs of user cache and some api's params 2019-12-17 17:21:00 +08:00
yunion-ci-robot
caa82c0917 Merge pull request #4178 from ioito/automated-cherry-pick-of-#4177-upstream-release-2.13
Automated cherry pick of #4177: fix: 增强host-list --usable限制
2019-12-17 17:04:01 +08:00
yunion-ci-robot
8aa88657c2 Merge pull request #4203 from swordqiu/automated-cherry-pick-of-#4202-upstream-release-2.13
Automated cherry pick of #4202: update vendor
2019-12-17 17:02:02 +08:00
Qiu Jian
f3370a5824 update vendor 2019-12-17 16:56:22 +08:00
yunion-ci-robot
02229d970e Merge pull request #4196 from ioito/automated-cherry-pick-of-#4194-upstream-release-2.13
Automated cherry pick of #4194: fix: 标签过滤和框架保持一致
2019-12-17 16:36:02 +08:00
yunion-ci-robot
4ac77b61df Merge pull request #4199 from swordqiu/automated-cherry-pick-of-#4193-upstream-release-2.13
Automated cherry pick of #4193: fix: fetch hosts if no permission to access datacenter
2019-12-17 16:23:02 +08:00
Zexi Li
633eecef22 Merge pull request #4176 from wanyaoqi/automated-cherry-pick-of-#4175-upstream-release-2.13
Automated cherry pick of #4175: fix snapshot create input
2019-12-17 16:13:59 +08:00
yunion-ci-robot
d0f8dd6607 Merge pull request #4183 from zhasm/automated-cherry-pick-of-#4182-upstream-release-2.13
Automated cherry pick of #4182: devtool manager 去掉重复的 RegisterModelManager
2019-12-17 16:03:03 +08:00
Qiu Jian
33fc89dca1 fix: fetch hosts if no permission to access datacenter 2019-12-17 15:57:41 +08:00
Qu Xuan
68d474b88d fix: 标签过滤和框架保持一致 2019-12-17 15:56:44 +08:00
Zhang Dongliang
bbf66c6e28 devtool manager 去掉重复的 RegisterModelManager 2019-12-17 15:14:38 +08:00
Qu Xuan
e972ac160c fix: 增强host-list --usable限制 2019-12-17 14:48:35 +08:00
yunion-ci-robot
80262325ec Merge pull request #4189 from swordqiu/automated-cherry-pick-of-#4188-upstream-release-2.13
Automated cherry pick of #4188: fix: disabling cloud account should not turn off auto sync switch
2019-12-17 14:02:04 +08:00
yunion-ci-robot
da5e9effdb Merge pull request #4192 from swordqiu/automated-cherry-pick-of-#4167-upstream-release-2.13
Automated cherry pick of #4167: feature: allow delete none-default quota fix: cannot set a quota to zero
2019-12-17 14:01:03 +08:00
yunion-ci-robot
f3d113a813 Merge pull request #4166 from swordqiu/automated-cherry-pick-of-#4128-upstream-release-2.13
Automated cherry pick of #4128: feaute: object storage support set/get http headers
2019-12-17 13:59:03 +08:00
Qiu Jian
cfaf7cf36e feature: allow delete none-default quota fix: cannot set a quota to zero 2019-12-17 13:52:17 +08:00
yunion-ci-robot
7fb69981f7 Merge pull request #4186 from swordqiu/automated-cherry-pick-of-#4185-upstream-release-2.13
Automated cherry pick of #4185: fix: server change config failed due to quota recode
2019-12-17 09:28:02 +08:00
Qiu Jian
98f990d838 fix: disabling cloud account should not turn off auto sync switch 2019-12-17 01:19:57 +08:00
Qiu Jian
61974fba54 fix: minor fixes 2019-12-16 23:41:06 +08:00
Qiu Jian
4d5585c5d7 fix: bucket-object-upload not work 2019-12-16 23:41:06 +08:00
Qiu Jian
de7d38cc6e misc imporvements 2019-12-16 23:41:06 +08:00
Qiu Jian
a20d617362 feaute: object storage support set/get http headers 2019-12-16 23:41:05 +08:00
Qiu Jian
ea2e57cbfd fix: server change config failed due to quota recode 2019-12-16 21:05:11 +08:00
Qu Xuan
2bcacdb180 fix: 添加缓存镜像失败日志 2019-12-16 13:11:18 +08:00
wanyaoqi
0babb71bbb fix snapshot create input 2019-12-16 12:03:19 +08:00
yunion-ci-robot
97643f5f49 Merge pull request #4174 from rainzm/automated-cherry-pick-of-#4103-upstream-release-2.13
Automated cherry pick of #4103: feat(notify): Available uname in api & Unified template management
2019-12-16 11:43:00 +08:00
yunion-ci-robot
c0a0008416 Merge pull request #4172 from ioito/automated-cherry-pick-of-#4170-upstream-release-2.13
Automated cherry pick of #4170: fix: 避免频繁同步rds sku信息
2019-12-16 11:25:01 +08:00
Rain
fc95701f80 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-16 11:07:40 +08:00
Qu Xuan
9423d614d1 fix: 避免频繁同步rds sku信息 2019-12-16 11:03:53 +08:00
Rain
dc2a2ec887 fix(region): Add support for updating Service Catalog 2019-12-14 16:45:01 +08:00
yunion-ci-robot
8d6bf39768 Merge pull request #4051 from ioito/automated-cherry-pick-of-#4050-upstream-release-2.13
Automated cherry pick of #4050: fix: cloudevent过滤及详情信息
2019-12-14 12:32:00 +08:00
yunion-ci-robot
5037c33a80 Merge pull request #4158 from ioito/automated-cherry-pick-of-#4157-upstream-release-2.13
Automated cherry pick of #4157: fix: 标签增强
2019-12-14 12:26:00 +08:00
yunion-ci-robot
88eca31e22 Merge pull request #4156 from tb365/automated-cherry-pick-of-#4155-upstream-release-2.13
Automated cherry pick of #4155: ctyun sync bugfix
2019-12-14 12:14:01 +08:00
Jian Qiu
92a0b8878a fix: prevent quota usage from being negative (#4163) 2019-12-14 12:11:38 +08:00
yunion-ci-robot
0f3a12898a Merge pull request #4153 from ioito/automated-cherry-pick-of-#4152-upstream-release-2.13
Automated cherry pick of #4152: fix: 私有云同步的sku归属于default region
2019-12-14 11:32:00 +08:00
yunion-ci-robot
484f56db9b Merge pull request #4145 from tb365/automated-cherry-pick-of-#4141-upstream-release-2.13
Automated cherry pick of #4141: huawei sync instance offset bugfix
2019-12-14 11:07:02 +08:00
yunion-ci-robot
6963837f2f Merge pull request #4160 from ioito/automated-cherry-pick-of-#4159-upstream-release-2.13
Automated cherry pick of #4159: fix: 增强host-list --usable限制
2019-12-14 10:53:59 +08:00
Qu Xuan
aa61c4bd97 fix: 增强host-list --usable限制 2019-12-13 20:29:33 +08:00
Qu Xuan
aa6e968413 fix: filter by multi value 2019-12-13 20:03:47 +08:00
TangBin
1fb48cd0db ctyun sync bugfix 2019-12-13 18:23:40 +08:00
Qu Xuan
e3889f6075 fix: 私有云同步的sku归属于default region 2019-12-13 17:39:13 +08:00
yunion-ci-robot
0dbf30588f Merge pull request #4149 from swordqiu/automated-cherry-pick-of-#4148-upstream-release-2.13
Automated cherry pick of #4148: fix: image quota key type mismatch
2019-12-13 17:38:00 +08:00
yunion-ci-robot
aea8c3929c Merge pull request #4151 from ioito/automated-cherry-pick-of-#4150-upstream-release-2.13
Automated cherry pick of #4150: hotfix: update vendor
2019-12-13 17:34:59 +08:00
yunion-ci-robot
f8a3c08771 Merge pull request #4147 from zexi/automated-cherry-pick-of-#4146-upstream-release-2.13
Automated cherry pick of #4146: region: fix schedule input project and domain missing
2019-12-13 17:32:59 +08:00
Qu Xuan
8b3c3f4e5e hotfix: update vendor 2019-12-13 17:06:59 +08:00
Qiu Jian
bf4c2eef0c fix: image quota key type mismatch 2019-12-13 16:27:26 +08:00
Zexi Li
defe9225c7 region: fix schedule input project and domain missing 2019-12-13 16:02:41 +08:00
TangBin
9ce19acb4a huawei sync instance offset bugfix 2019-12-13 15:46:36 +08:00
yunion-ci-robot
d1174be6f7 Merge pull request #4140 from swordqiu/automated-cherry-pick-of-#4139-upstream-release-2.13
Automated cherry pick of #4139: fix: init quota with negative value and negative quota means unlimited
2019-12-13 14:44:04 +08:00
Qiu Jian
07569221dd fix: init quota with negative value and negative quota means unlimited 2019-12-13 13:31:53 +08:00
yunion-ci-robot
4c9136819f Merge pull request #4135 from swordqiu/automated-cherry-pick-of-#4134-upstream-release-2.13
Automated cherry pick of #4134: fix: misc bugfix for esxi 20191213
2019-12-13 13:00:00 +08:00
yunion-ci-robot
11cd13d52d Merge pull request #4124 from yousong/automated-cherry-pick-of-#4123-upstream-release-2.13
Automated cherry pick of #4123: guestnetworks: check ifname uniqueness across different networks
2019-12-13 12:57:03 +08:00
Qiu Jian
351fbf4411 fix: misc bugfix for esxi 20191213 2019-12-13 12:34:31 +08:00
yunion-ci-robot
bbb6f5d175 Merge pull request #4130 from ioito/automated-cherry-pick-of-#4129-upstream-release-2.13
Automated cherry pick of #4129: fix: 避免插入时出现duplicate primary key error
2019-12-13 11:39:58 +08:00
Qu Xuan
2c7a1a2b8a fix: 避免插入时出现duplicate primary key error 2019-12-13 10:45:40 +08:00
Yousong Zhou
9611f04c31 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:45:59 +00:00
yunion-ci-robot
3795da080b Merge pull request #4122 from ioito/automated-cherry-pick-of-#4121-upstream-release-2.13
Automated cherry pick of #4121: fix: 避免污染cloud_env参数
2019-12-12 20:49:01 +08:00
Qu Xuan
3139734254 fix: 避免污染cloud_env参数 2019-12-12 19:56:25 +08:00
yunion-ci-robot
b52f7c21e9 Merge pull request #4120 from swordqiu/automated-cherry-pick-of-#4119-upstream-release-2.13
Automated cherry pick of #4119: fix: 1. image-quota-list 404 not found 2. usage nil pointer panic
2019-12-12 18:01:00 +08:00
Qiu Jian
8dde22f789 fix: 1. image-quota-list 404 not found 2. usage nil pointer panic 2019-12-12 17:44:25 +08:00
yunion-ci-robot
319f531f01 Merge pull request #4115 from bistuzx/automated-cherry-pick-of-#4113-upstream-release-2.13
Automated cherry pick of #4113: delete duplicate param brand
2019-12-12 15:38:58 +08:00
张旭
0d887b247a delete duplicate param brand 2019-12-12 15:27:25 +08:00
yunion-ci-robot
21ca0a46ee Merge pull request #4091 from swordqiu/automated-cherry-pick-of-#4090-upstream-release-2.13
Automated cherry pick of #4090: quota recode
2019-12-12 12:41:59 +08:00
yunion-ci-robot
96d721586e Merge pull request #4111 from bistuzx/automated-cherry-pick-of-#4109-upstream-release-2.13
Automated cherry pick of #4109: add associated_bills & modify meter version
2019-12-12 12:41:06 +08:00
张旭
d625556278 add associated_bills & modify meter version 2019-12-12 12:01:03 +08:00
Qiu Jian
eb413e11f9 fix: globalvpc validateCreateData fix 2019-12-12 11:55:17 +08:00
Qiu Jian
284a7f3b70 mergeInputOutputJson for ValidateCreateData and ValidateUpdateData 2019-12-12 11:55:16 +08:00
Qiu Jian
6b2a0e0412 update vendor 2019-12-12 11:55:15 +08:00
Qiu Jian
08471d9330 clean usages when resource deleted 2019-12-12 11:53:22 +08:00
Qiu Jian
6c515fc4f2 bufix 20191209 2019-12-12 11:53:22 +08:00
Qiu Jian
f7acf5d7f5 quota recode update 2 2019-12-12 11:53:21 +08:00
Qiu Jian
844c1064cc quota recode 2019-12-12 11:53:20 +08:00
yunion-ci-robot
ebeb22a18e Merge pull request #4098 from ioito/automated-cherry-pick-of-#4097-upstream-release-2.13
Automated cherry pick of #4097: fix: 避免zstack参数含有中文,未编码导致请求失败
2019-12-12 11:24:58 +08:00
屈轩
bcf76063ec fix: globalnetwork -> globalvpc (#4087) 2019-12-12 11:17:35 +08:00
Yousong Zhou
7fea44015c Merge pull request #4105 from wanyaoqi/automated-cherry-pick-of-#4104-upstream-release-2.13
Automated cherry pick of #4104: fix image upload log event
2019-12-12 00:48:13 +08:00
Qu Xuan
a3098f2893 fix: 避免zstack参数含有中文,未编码导致请求失败 2019-12-11 23:20:38 +08:00
Yousong Zhou
25cce356a5 loadbalancerbackends: janitor: move to InitializeData (#4093)
The janitor only makes sense when inside region service
2019-12-11 23:11:09 +08:00
wanyaoqi
b01f469e93 fix image upload log event 2019-12-11 20:40:35 +08:00
Yousong Zhou
f1f2eff680 Merge pull request #4073 from ioito/automated-cherry-pick-of-#4072-upstream-release-2.13
Automated cherry pick of #4072: fix: 导出用户标签不加user:前缀
2019-12-11 15:13:00 +08:00
Yousong Zhou
1f42c3cbc9 Merge pull request #4089 from swordqiu/automated-cherry-pick-of-#4088-upstream-release-2.13
Automated cherry pick of #4088: fix: add hostinfo to storage cached image details
2019-12-11 15:00:39 +08:00
Qiu Jian
455964acd3 fix: add hostinfo to storage cached image details 2019-12-10 21:42:06 +08:00
屈轩
0d82847868 fix: 兼容参数过滤 (#4055) 2019-12-10 21:27:17 +08:00
屈轩
2fa5ac147a fix: 兼容以前的参数 (#4071) 2019-12-10 21:26:11 +08:00
tb365
edc8de5aa1 sync server skus from offline data (#4066) 2019-12-10 21:22:28 +08:00
Yousong Zhou
e6b7e21f58 Automated cherry pick of #4084: httputils: use http.ProxyFromEnvironment by default (#4085)
* 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:28 +08:00
屈轩
8136012312 fix: 子订阅更改项目时也同步更新external project项目信息 (#4069) 2019-12-10 21:12:20 +08:00
Zexi Li
9979be1284 Merge pull request #4082 from rainzm/automated-cherry-pick-of-#4081-upstream-release-2.13
Automated cherry pick of #4081: fix: Fix the unexpected json field coverage after GetCustomizeColumns
2019-12-10 16:10:55 +08:00
郑雨
40de4cb1d0 refactor: Instance Group's getMoreDetails 2019-12-10 16:03:48 +08:00
郑雨
c8269e35ad 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 16:03:48 +08:00
Zexi Li
bba9af2abe Merge pull request #4080 from rainzm/automated-cherry-pick-of-#4079-upstream-release-2.13
Automated cherry pick of #4079: fix(region): Fix the list bug of Guest Template
2019-12-10 15:47:28 +08:00
郑雨
168c730e7d 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:07:50 +08:00
Zexi Li
21425ee184 Merge pull request #4078 from rainzm/automated-cherry-pick-of-#4067-upstream-release-2.13
Automated cherry pick of #4067: fix(region): Guest template & Service catalog
2019-12-10 10:52:36 +08:00
郑雨
33ee2dd3dd 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:47:26 +08:00
Zexi Li
0620840fee Merge pull request #4077 from swordqiu/automated-cherry-pick-of-#4064-upstream-release-2.13
Automated cherry pick of #4064: fix: host-cache-image might not work
2019-12-10 10:03:11 +08:00
Qiu Jian
093d386057 fix: host-cache-image might not work 2019-12-10 09:09:26 +08:00
Qu Xuan
3836bf37f1 fix: 导出用户标签不加user:前缀 2019-12-09 21:45:17 +08:00
Zexi Li
4c0bc843f8 Merge pull request #4060 from ioito/automated-cherry-pick-of-#4008-upstream-release-2.13
Automated cherry pick of #4008: fix: 安全组同步优化,避免规则不同的安全组可以合并
2019-12-09 11:35:07 +08:00
Zexi Li
72fd0c9540 Merge pull request #4058 from ioito/automated-cherry-pick-of-#4057-upstream-release-2.13
Automated cherry pick of #4057: fix: 避免在初始化model时设置rds skuhandler
2019-12-09 11:33:59 +08:00
Zexi Li
4d1d11b6fd Merge pull request #4046 from rainzm/automated-cherry-pick-of-#4045-upstream-release-2.13
Automated cherry pick of #4045: feat(region): Support for resuming vm suspended in vmware
2019-12-09 11:32:53 +08:00
Zexi Li
015d9a2de7 Merge pull request #4061 from rainzm/automated-cherry-pick-of-#3805-upstream-release-2.13
Automated cherry pick of #3805: feat(region): Add Guest Template & Service Catalog
2019-12-09 11:31:20 +08:00
郑雨
e2b131457a feat(region): Add Guest Template & Service Catalog
Modify the structure of ServerCreateOptions so that
GuestTemplateCreateOptions can reuse most field.
2019-12-09 11:24:47 +08:00
Qu Xuan
fdf3f23589 fix: 安全组同步优化,避免规则不同的安全组可以合并 2019-12-09 10:29:16 +08:00
屈轩
a747edbd1b fix: 避免在初始化model时设置rds skuhandler 2019-12-08 12:42:51 +08:00
屈轩
48681849b5 fix: 避免普通用户添加规则到系统安全组 (#4036) 2019-12-08 01:50:57 +08:00
wanyaoqi
6cdb2cd12a region misc bugfix (#4048)
- fix capabilities filter disabled account
- fix kvm guest start no logevent
- fix guest restart not set guest status immediately
2019-12-08 01:47:12 +08:00
屈轩
98c9e82f60 fix: 返回region external_id (#4042) 2019-12-08 01:46:54 +08:00
Yousong Zhou
e905226b5e Merge pull request #4030 from tb365/automated-cherry-pick-of-#4028-upstream-release-2.13
Automated cherry pick of #4028: huawei reset password bugfix
2019-12-06 20:58:29 +08:00
Yousong Zhou
1a7ee1bfba Merge pull request #4033 from tb365/automated-cherry-pick-of-#4032-upstream-release-2.13
Automated cherry pick of #4032: image upload bugfix
2019-12-06 20:18:16 +08:00
Qu Xuan
c2a547c522 fix: cloudevent过滤及详情信息 2019-12-06 17:37:47 +08:00
郑雨
c2ca54a1ae feat(region): Support for resuming vm suspended in vmware 2019-12-06 16:38:31 +08:00
Yousong Zhou
1394187742 Merge pull request #4003 from rainzm/automated-cherry-pick-of-#4002-upstream-release-2.13
Automated cherry pick of #4002: fix(region): The param of list instancegroup filter by Guest is 'server'
2019-12-06 12:14:21 +08:00
Yousong Zhou
eff6c42a67 Merge pull request #4031 from ioito/automated-cherry-pick-of-#3988-upstream-release-2.13
Automated cherry pick of #3988: fix: 结构化network create list 参数
2019-12-06 12:13:39 +08:00
郑雨
e218ee3b12 fix(region): The param of list instancegroup filter by Guest is 'server' 2019-12-06 10:50:03 +08:00
TangBin
6298a76035 image upload bugfix 2019-12-06 10:06:55 +08:00
wanyaoqi
96894a0e7c add socket used check of deploy server (#4022) 2019-12-05 16:49:14 +08:00
屈轩
e3b0dcce79 fix: 标签添加排序,不统计回收站的资源标签 (#3993) 2019-12-05 16:48:51 +08:00
tb365
3718641068 Automated cherry pick of #3985: ctyun sync (#3987)
* ctyun sync

* comment fix
2019-12-05 16:47:40 +08:00
Qu Xuan
76d3f4ee69 fix: 结构化network create list 参数 2019-12-05 15:22:27 +08:00
TangBin
771b603c7b add elastic cache skus capability api 2019-12-05 11:22:22 +08:00
TangBin
6f4b0802e6 elastic cache task bugfix 2019-12-05 11:22:22 +08:00
TangBin
94402436b4 huawei reset password bugfix 2019-12-05 11:22:22 +08:00
Yousong Zhou
0576b8fab1 Merge pull request #4000 from tb365/automated-cherry-pick-of-#3999-upstream-release-2.13
Automated cherry pick of #3999: cloudregion cities filter
2019-12-04 16:30:22 +08:00
Yousong Zhou
1483a44689 Merge pull request #4017 from yousong/automated-cherry-pick-of-#4016-upstream-release-2.13
Automated cherry pick of #4016: hostman: hostinfo: turn off report_ignored_msrs
2019-12-04 15:10:31 +08:00
TangBin
64f9ec3859 yunionmeta offline data using gzip files disk billing type error fix 2019-12-04 14:51:24 +08:00
TangBin
240cb31ba3 cloudregion cities filter 2019-12-04 14:51:24 +08:00
Yousong Zhou
602d1ec4c1 Merge pull request #4015 from swordqiu/automated-cherry-pick-of-#4013-upstream-release-2.13
Automated cherry pick of #4013: fix: network-addresses add created_at column
2019-12-04 10:58:18 +08:00
Yousong Zhou
7129c46789 Merge pull request #4012 from zhaoxiangchun/automated-cherry-pick-of-#4007-upstream-release-2.13
Automated cherry pick of #4007: 更改aliyun和huawei的获取监控信息的参数单位:微秒=>毫秒
2019-12-04 10:58:09 +08:00
Yousong Zhou
c22780a020 Merge pull request #4010 from ioito/automated-cherry-pick-of-#4009-upstream-release-2.13
Automated cherry pick of #4009: fix: 未设置密码时,使用随机密码
2019-12-04 10:48:14 +08:00
Yousong Zhou
653de43d3f Merge pull request #4005 from ioito/automated-cherry-pick-of-#4004-upstream-release-2.13
Automated cherry pick of #4004: fix: 忽略名称条件,只要cpu,mem一致就不再同步
2019-12-04 10:47:54 +08:00
Yousong Zhou
4b36eedff5 Merge pull request #3995 from ioito/automated-cherry-pick-of-#3994-upstream-release-2.13
Automated cherry pick of #3994: fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题
2019-12-04 10:47:42 +08:00
Yousong Zhou
51612e3288 Merge pull request #3982 from yousong/automated-cherry-pick-of-#3978-upstream-release-2.13
Automated cherry pick of #3978: cloudnet: fix validating "action"
2019-12-04 10:47:34 +08:00
Yousong Zhou
0aacf04bb0 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:22:43 +00:00
Qiu Jian
fff22188f3 fix: network-addresses add created_at column 2019-12-04 10:06:26 +08:00
zhaoxiangchun
baaccf7846 更改aliyun和huawei的获取监控信息的参数单位:微秒=>毫秒 2019-12-03 20:07:47 +08:00
Qu Xuan
a8bb9e4b03 fix: 未设置密码时,使用随机密码 2019-12-03 19:18:53 +08:00
Qu Xuan
0b478b9881 fix: 忽略名称条件,只要cpu,mem一致就不再同步 2019-12-03 16:29:19 +08:00
Zexi Li
efad765d4f Merge pull request #3990 from ioito/automated-cherry-pick-of-#3989-upstream-release-2.13
Automated cherry pick of #3989: fix: avoid index out of range
2019-12-02 21:34:17 +08:00
Qu Xuan
fa6d8ca384 fix: 避免每次重启region同步rds sku, 避免新加公有云账号未能及时同步sku问题 2019-12-02 17:54:34 +08:00
Zexi Li
4c67224b27 Merge pull request #3983 from rainzm/automated-cherry-pick-of-#3979-upstream-release-2.13
Automated cherry pick of #3979: feat(region): Add suspend feature for vmware guest
2019-12-02 10:35:19 +08:00
Qu Xuan
fdca02cb2f fix: avoid index out of range 2019-12-02 10:23:49 +08:00
郑雨
de754c3c9b feat(region): Add suspend feature for vmware guest 2019-11-29 16:10:57 +08:00
Yousong Zhou
4d1ae243e8 cloudnet: return non-nil data on validata create data pass 2019-11-29 08:02:31 +00:00
Yousong Zhou
f6afbab10c climc: cloudnet: fix passing invalid port on creating rules 2019-11-29 08:02:31 +00:00
Yousong Zhou
eaa22bb965 cloudnet: fix validating "action" 2019-11-29 08:02:31 +00:00
Zexi Li
78766f7a6f Merge pull request #3975 from zhasm/automated-cherry-pick-of-#3974-upstream-release-2.13
Automated cherry pick of #3974: 在删除 Devtool Template 之前检测是否存在关联的 cronjob; 如有则不允许删除
2019-11-29 15:18:38 +08:00
Zexi Li
c9d7f1a89b Merge pull request #3977 from zexi/automated-cherry-pick-of-#3976-upstream-release-2.13
Automated cherry pick of #3976: generated: model replace jsonutils member to interface
2019-11-29 14:56:03 +08:00
Zexi Li
73a892abf4 generated: model replace jsonutils member to interface 2019-11-29 14:55:25 +08:00
Zhang Dongliang
7d9aea7ab3 在删除 Devtool Template 之前检测是否存在关联的 cronjob; 如有则不允许删除 2019-11-29 14:17:05 +08:00
yunion-ci-robot
9296c03cb0 Merge pull request #3972 from rainzm/automated-cherry-pick-of-#3932-upstream-release-2.13
Automated cherry pick of #3932: fix(notify): Check input parameters and return when error occury
2019-11-29 11:49:30 +08:00
郑雨
880249c533 fix(notify): Check input parameters and return when error occury 2019-11-29 11:16:27 +08:00
Zexi Li
79e67b97e0 Merge pull request #3968 from zexi/automated-cherry-pick-of-#3966-upstream-release-2.13
Automated cherry pick of #3966: add list input and rewrite codegen use python
2019-11-29 10:38:10 +08:00
Zexi Li
7fc73a6a74 add list input and rewrite codegen use python 2019-11-29 10:18:58 +08:00
yunion-ci-robot
f3ef3c76ee Merge pull request #3967 from ioito/automated-cherry-pick-of-#3963-upstream-release-2.13
Automated cherry pick of #3963: hotfix: 添加标签资源列表接口
2019-11-28 19:46:29 +08:00
Qu Xuan
e068e895b1 hotfix: 添加标签资源列表接口 2019-11-28 18:45:19 +08:00
yunion-ci-robot
f9ef8fb861 Merge pull request #3964 from ioito/automated-cherry-pick-of-#3957-upstream-release-2.13
Automated cherry pick of #3957: fix: 修复rds普通后台下账号权限问题
2019-11-28 18:21:30 +08:00
Qu Xuan
f2d9bb50f8 fix: 修复rds普通后台下账号权限问题 2019-11-28 17:37:45 +08:00
yunion-ci-robot
e88cb216e1 Merge pull request #3959 from wanyaoqi/automated-cherry-pick-of-#3958-upstream-release-2.13
Automated cherry pick of #3958: add lock on host detected offline
2019-11-28 14:15:31 +08:00
wanyaoqi
2eb6ec5e5e add lock on host detected offline 2019-11-28 11:22:13 +08:00
yunion-ci-robot
5c93c55ebe Merge pull request #3853 from zhasm/automated-cherry-pick-of-#3851-upstream-release-2.13
Automated cherry pick of #3851: 新增 devtool cron manager,用来管理Ansibleserver 的定时任务
2019-11-28 10:14:28 +08:00
yunion-ci-robot
81c03f123d Merge pull request #3955 from ioito/automated-cherry-pick-of-#3939-upstream-release-2.13
Automated cherry pick of #3939: fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题
2019-11-27 22:11:28 +08:00
yunion-ci-robot
725d831203 Merge pull request #3954 from ioito/automated-cherry-pick-of-#3943-upstream-release-2.13
Automated cherry pick of #3943: fix: remove rds accout,database tenant attr
2019-11-27 21:25:28 +08:00
yunion-ci-robot
01e20ce277 Merge pull request #3934 from ioito/automated-cherry-pick-of-#3933-upstream-release-2.13
Automated cherry pick of #3933: fix: 抽离disable delete,避免删除账号失败
2019-11-27 21:06:28 +08:00
yunion-ci-robot
52812836ab Merge pull request #3948 from wanyaoqi/automated-cherry-pick-of-#3922-upstream-release-2.13
Automated cherry pick of #3922: snapshot show storage type
2019-11-27 21:00:28 +08:00
yunion-ci-robot
9482bc0a64 Merge pull request #3941 from tb365/automated-cherry-pick-of-#3940-upstream-release-2.13
Automated cherry pick of #3940: 修复不支持redis的公有云账号会频繁读取oss数据的问题
2019-11-27 20:56:29 +08:00
Qu Xuan
8c806a95e1 fix: 避免解绑eip后可以立即syncstatus操作导致同步eip出现问题 2019-11-27 20:52:17 +08:00
Zexi Li
8a3173cbd7 Merge pull request #3952 from swordqiu/automated-cherry-pick-of-#3950-upstream-release-2.13
Automated cherry pick of #3950: fix: 1. service-config not support key=value pair 2. sync_purge_removed_resources not working
2019-11-27 20:52:04 +08:00
Qu Xuan
cd8b984374 fix: remove rds accout,database tenant attr 2019-11-27 20:50:54 +08:00
yunion-ci-robot
38eb0b0a5e Merge pull request #3945 from wanyaoqi/automated-cherry-pick-of-#3944-upstream-release-2.13
Automated cherry pick of #3944: fix image set chksum
2019-11-27 20:48:34 +08:00
Qiu Jian
95d71ffa42 fix: 1. service-config not support key=value pair 2. sync_purge_removed_resources not working 2019-11-27 20:44:16 +08:00
Qu Xuan
097137d573 fix: 抽离disable delete,避免删除账号失败 2019-11-27 20:32:02 +08:00
Zexi Li
675d4524b8 Merge pull request #3938 from swordqiu/automated-cherry-pick-of-#3936-upstream-release-2.13
Automated cherry pick of #3936: fix: cloud account may not be visible temporarily after create
2019-11-27 20:25:57 +08:00
TangBin
07f2ff6260 elastic cache owner 2019-11-27 19:32:47 +08:00
TangBin
41c00f235c validate prepaid resource delete condition 2019-11-27 19:32:47 +08:00
TangBin
4593aa48bf 修复不支持redis的公有云账号会频繁读取oss数据的问题 2019-11-27 19:32:47 +08:00
wanyaoqi
2c6b85f57f snapshot show storage type 2019-11-27 19:16:46 +08:00
wanyaoqi
db373dbf5f fix image set chksum 2019-11-27 18:26:42 +08:00
yunion-ci-robot
d4f91f35a0 Merge pull request #3917 from swordqiu/automated-cherry-pick-of-#3915-upstream-release-2.13
Automated cherry pick of #3915: feature: metric data collector for aliyun&huawei
2019-11-27 17:47:28 +08:00
Zexi Li
1c6206d1b3 fix caller input nil panic 2019-11-27 17:13:53 +08:00
Zhang Dongliang
475f752067 rm unused re code 2019-11-27 17:13:53 +08:00
Zhang Dongliang
17b4f46f4c 新增 devtool cron manager,用来管理Ansibleserver 的定时任务 2019-11-27 17:13:53 +08:00
Qiu Jian
8b90e84f98 fix: cloud account may not be visible temporarily after create 2019-11-27 16:23:50 +08:00
Zexi Li
831c1b737f Merge pull request #3931 from zexi/automated-cherry-pick-of-#3930-upstream-release-2.13
Automated cherry pick of #3930: fix caller input nil panic
2019-11-27 15:07:44 +08:00
Zexi Li
bcdac6216e fix caller input nil panic 2019-11-27 15:08:09 +08:00
Zexi Li
743f65a2fe Merge pull request #3929 from zexi/automated-cherry-pick-of-#3928-upstream-release-2.13
Automated cherry pick of #3928: fix caller parameters missing
2019-11-27 14:08:15 +08:00
Zexi Li
7f20fe4c06 fix caller parameters missing 2019-11-27 14:08:37 +08:00
Zexi Li
8454e8c8bc Merge pull request #3927 from ioito/automated-cherry-pick-of-#3926-upstream-release-2.13
Automated cherry pick of #3926: fix: stack overflow
2019-11-27 13:47:51 +08:00
Qu Xuan
daf8f96839 fix: stack overflow 2019-11-27 13:44:59 +08:00
yunion-ci-robot
eadbec7427 Merge pull request #3919 from ioito/automated-cherry-pick-of-#3847-upstream-release-2.13
Automated cherry pick of #3847: add: gcp cloud support
2019-11-27 12:04:28 +08:00
yunion-ci-robot
ac75cc040a Merge pull request #3918 from zexi/automated-cherry-pick-of-#3843-upstream-release-2.13
Automated cherry pick of #3843: support generate
2019-11-27 12:01:27 +08:00
Qu Xuan
d7484a9078 add: gcp cloud support 2019-11-27 11:23:25 +08:00
yunion-ci-robot
73b2bf9c50 Merge pull request #3921 from ioito/automated-cherry-pick-of-#3461-upstream-release-2.13
Automated cherry pick of #3461: hotfix: 参数校验使用结构体传参
2019-11-27 11:22:27 +08:00
Qu Xuan
830641b0e9 hotfix: 参数校验使用结构体传参 2019-11-27 11:13:41 +08:00
yunion-ci-robot
8eece2a22c Merge pull request #3920 from ioito/automated-cherry-pick-of-#3801-upstream-release-2.13
Automated cherry pick of #3801: fix: remove duplicate interface and function
2019-11-27 11:02:28 +08:00
Qu Xuan
42a3f70073 fix: remove duplicate interface and function 2019-11-27 10:52:57 +08:00
Zexi Li
cfa6fc4cfe support generate 2019-11-27 10:20:51 +08:00
yunion-ci-robot
ec97345c31 Merge pull request #3908 from ioito/automated-cherry-pick-of-#3907-upstream-release-2.13
Automated cherry pick of #3907: fix: rds创建账号所属项目跟随rds实例
2019-11-27 09:10:27 +08:00
yunion-ci-robot
d950fb038d Merge pull request #3901 from tb365/automated-cherry-pick-of-#3897-upstream-release-2.13
Automated cherry pick of #3897: huawei disk detach bugfix
2019-11-27 09:05:28 +08:00
yunion-ci-robot
39c670bed3 Merge pull request #3911 from ioito/automated-cherry-pick-of-#3910-upstream-release-2.13
Automated cherry pick of #3910: fix: 避免有,Azure更新安全组规则出错
2019-11-27 08:58:27 +08:00
Qiu Jian
e58ffa2c6e feature: metric data collector for aliyun&huawei 2019-11-27 08:57:04 +08:00
yunion-ci-robot
1846988499 Merge pull request #3903 from ioito/automated-cherry-pick-of-#3902-upstream-release-2.13
Automated cherry pick of #3902: fix: 普通后台也返回cloudregion_id信息
2019-11-27 08:55:28 +08:00
Qu Xuan
999996ab67 fix: 避免有,Azure更新安全组规则出错 2019-11-26 20:51:08 +08:00
Qu Xuan
7150b3f46c fix: rds创建账号所属项目跟随rds实例 2019-11-26 20:38:43 +08:00
Qu Xuan
c82b4d0c4d fix: 普通后台也返回cloudregion_id信息 2019-11-26 19:12:31 +08:00
Zexi Li
2e6189e09e Merge pull request #3894 from swordqiu/automated-cherry-pick-of-#3892-upstream-release-2.13
Automated cherry pick of #3892: fix: baremetal restart fail after deployment
2019-11-26 17:45:54 +08:00
Zexi Li
0a97dd7112 Merge pull request #3886 from swordqiu/automated-cherry-pick-of-#3884-upstream-release-2.13
Automated cherry pick of #3884: fix: error in service config format cause service halt
2019-11-26 15:45:42 +08:00
yunion-ci-robot
1c69b5a349 Merge pull request #3877 from wanyaoqi/automated-cherry-pick-of-#3876-upstream-release-2.13
Automated cherry pick of #3876: misc fix
2019-11-26 13:39:27 +08:00
yunion-ci-robot
37654d0307 Merge pull request #3874 from ioito/automated-cherry-pick-of-#3873-upstream-release-2.13
Automated cherry pick of #3873: fix: 修复rds重置密码未正确接收参数问题
2019-11-26 13:33:27 +08:00
TangBin
e953e81017 huawei disk detach bugfix 2019-11-26 11:42:19 +08:00
Qiu Jian
595ca416e9 fix: error in service config format cause service halt 2019-11-26 02:57:17 +08:00
Qiu Jian
976456fb40 fix: baremetal restart fail after deployment 2019-11-26 02:44:08 +08:00
Zexi Li
4eceed308c Merge pull request #3891 from swordqiu/automated-cherry-pick-of-#3887-upstream-release-2.13
Automated cherry pick of #3887: fix: host-add-netif requires index
2019-11-26 00:45:00 +08:00
Zexi Li
3d37d97bf7 Merge pull request #3881 from swordqiu/automated-cherry-pick-of-#3879-upstream-release-2.13
Automated cherry pick of #3879: fix: keystone project resource count not set set to zero
2019-11-26 00:41:33 +08:00
Qiu Jian
7ec00235c7 fix: host-add-netif requires index 2019-11-25 23:48:14 +08:00
Qiu Jian
9457994332 fix: keystone project resource count not set set to zero 2019-11-25 22:33:15 +08:00
wanyaoqi
cce697ec76 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:26:54 +08:00
Qu Xuan
81a819117c fix: 修复rds重置密码未正确接收参数问题 2019-11-25 19:19:15 +08:00
yunion-ci-robot
814b1f4ac6 Merge pull request #3869 from ioito/automated-cherry-pick-of-#3868-upstream-release-2.13
Automated cherry pick of #3868: fix: 避免openstack重装系统,过不了镜像系统盘大小校验
2019-11-25 17:20:26 +08:00
Qu Xuan
afc88419c3 fix: 避免openstack重装系统,过不了镜像系统盘大小校验 2019-11-25 15:01:27 +08:00
yunion-ci-robot
7a67432b47 Merge pull request #3864 from zexi/automated-cherry-pick-of-#3863-upstream-release-2.13
Automated cherry pick of #3863: baremetal: fix init baremetals fatal exit
2019-11-25 10:22:27 +08:00
Zexi Li
ab3556a6d2 baremetal: fix init baremetals fatal exit 2019-11-25 09:39:54 +08:00
yunion-ci-robot
57eabfe429 Merge pull request #3862 from swordqiu/automated-cherry-pick-of-#3861-upstream-release-2.13
Automated cherry pick of #3861: update vendor
2019-11-22 22:22:24 +08:00
yunion-ci-robot
ae5658ca2b Merge pull request #3839 from tb365/automated-cherry-pick-of-#3837-upstream-release-2.13
Automated cherry pick of #3837: redis prepaid instance create bugfix
2019-11-22 22:17:28 +08:00
yunion-ci-robot
ff2e839fd6 Merge pull request #3858 from ioito/automated-cherry-pick-of-#3857-upstream-release-2.13
Automated cherry pick of #3857: fix: 避免旧密码覆盖新重置的密码
2019-11-22 21:53:26 +08:00
Qiu Jian
2409fa30bc update vendor 2019-11-22 21:46:39 +08:00
Qu Xuan
6e5574d5d3 fix: 避免旧密码覆盖新重置的密码 2019-11-22 20:46:10 +08:00
TangBin
a08aab1a83 redis prepaid instance create bugfix 2019-11-22 19:04:13 +08:00
yunion-ci-robot
627df99f99 Merge pull request #3841 from wanyaoqi/automated-cherry-pick-of-#3840-upstream-release-2.13
Automated cherry pick of #3840: instance snapshot bugfix
2019-11-22 18:58:25 +08:00
Zexi Li
f3c71765b6 Merge pull request #3856 from swordqiu/automated-cherry-pick-of-#3854-upstream-release-2.13
Automated cherry pick of #3854: fix: cloud-region filter by domain not support share_mode
2019-11-22 18:05:36 +08:00
Zexi Li
2e3023f82d Merge pull request #3850 from swordqiu/automated-cherry-pick-of-#3848-upstream-release-2.13
Automated cherry pick of #3848: fix: user join read-only group response timeout
2019-11-22 18:04:30 +08:00
Qiu Jian
4e6e8ee79a fix: cloud-region filter by domain not support share_mode 2019-11-22 17:46:34 +08:00
Qiu Jian
c755471cce fix: user join read-only group response timeout 2019-11-22 16:19:27 +08:00
Zexi Li
2ecabd9bde Merge pull request #3846 from rainzm/automated-cherry-pick-of-#3844-upstream-release-2.13
Automated cherry pick of #3844: fix(region): Fix the panic of nil map when syncing snapshotpolicy
2019-11-22 11:38:59 +08:00
郑雨
8f166908d1 fix(region): Fix the panic of nil map when syncing snapshotpolicy 2019-11-22 10:30:26 +08:00
wanyaoqi
3dce48fc46 instance snapshot bugfix 2019-11-21 20:46:18 +08:00
yunion-ci-robot
78177505e2 Merge pull request #3834 from wanyaoqi/automated-cherry-pick-of-#3833-upstream-release-2.13
Automated cherry pick of #3833: host complie error
2019-11-21 18:50:26 +08:00
wanyaoqi
5df9aba9d7 host complie error 2019-11-21 18:41:30 +08:00
Zexi Li
0e4cb3d272 Merge pull request #3825 from wanyaoqi/automated-cherry-pick-of-#3824-upstream-release-2.13
Automated cherry pick of #3824: fix resize disk
2019-11-21 18:22:25 +08:00
yunion-ci-robot
da138e8ec9 Merge pull request #3830 from ioito/automated-cherry-pick-of-#3829-upstream-release-2.13
Automated cherry pick of #3829: fix: 清理aliyun rds多余的包年包月参数转换
2019-11-21 16:24:24 +08:00
yunion-ci-robot
7a79dd62a5 Merge pull request #3818 from tb365/automated-cherry-pick-of-#3813-upstream-release-2.13
Automated cherry pick of #3813: aws upload image bugfix & huawei change default disk type to SAS
2019-11-21 15:39:25 +08:00
yunion-ci-robot
7c352011ce Merge pull request #3821 from swordqiu/automated-cherry-pick-of-#3809-upstream-release-2.13
Automated cherry pick of #3809: feature: add network-status methods to change status of on-premise network
2019-11-21 15:38:23 +08:00
Qu Xuan
83158493bf fix: 清理aliyun rds多余的包年包月参数转换 2019-11-21 14:59:27 +08:00
wanyaoqi
a824dad7cd fix host register 2019-11-21 10:49:11 +08:00
Zexi Li
4deaf1bc07 Merge pull request #3810 from wanyaoqi/automated-cherry-pick-of-#3749-upstream-release-2.13
Automated cherry pick of #3749: hugepage fix
2019-11-21 00:22:52 +08:00
yunion-ci-robot
121ff1f73a Merge pull request #3822 from wanyaoqi/automated-cherry-pick-of-#3798-upstream-release-2.13
Automated cherry pick of #3798: instance snapshot save secgrps
2019-11-21 00:18:23 +08:00
yunion-ci-robot
884b47c1a9 Merge pull request #3820 from rainzm/automated-cherry-pick-of-#3786-upstream-release-2.13
Automated cherry pick of #3786: fix(region): Add public/private feature for Guest Image
2019-11-21 00:04:26 +08:00
yunion-ci-robot
c943fa0c6a Merge pull request #3793 from yousong/automated-cherry-pick-of-#3787-upstream-release-2.13
Automated cherry pick of #3787: networks: 改进创建错误处理
2019-11-20 22:25:23 +08:00
wanyaoqi
87a952e3bc fix resize disk 2019-11-20 22:03:12 +08:00
wanyaoqi
960b876f0d instance snapshot save secgrps 2019-11-20 21:20:00 +08:00
yunion-ci-robot
20db1645d7 Merge pull request #3808 from tb365/automated-cherry-pick-of-#3806-upstream-release-2.13
Automated cherry pick of #3806: redis acl update bugfix
2019-11-20 21:19:23 +08:00
TangBin
1cf36daf3b add elastic cache extra details 2019-11-20 20:03:40 +08:00
TangBin
3fa59c2cc3 vm create bugfix 2019-11-20 20:03:40 +08:00
TangBin
42892dcc0c eip associate bugfix 2019-11-20 20:03:40 +08:00
TangBin
39145006be redis backup restore bugfix 2019-11-20 20:03:40 +08:00
TangBin
ce5bc2e4d0 redis acl update bugfix 2019-11-20 20:03:40 +08:00
郑雨
fe2871c9b9 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-20 19:11:10 +08:00
TangBin
f2fdbec692 aws upload image bugfix & huawei change default disk type to SAS 2019-11-20 19:07:57 +08:00
Qiu Jian
27d205e00b feature: add network-status methods to change status of on-premise network 2019-11-20 19:04:01 +08:00
wanyaoqi
dd6ee059cf hugepage fix 2019-11-20 18:53:12 +08:00
Zexi Li
74a60405c2 Merge pull request #3804 from rainzm/automated-cherry-pick-of-#3802-upstream-release-2.13
Automated cherry pick of #3802: feat(notify): Add interface contacts/users for Notify
2019-11-20 17:55:34 +08:00
Rain
ca3b7b3e8a feat(notify): Add interface contacts/users for Notify
The interface "contacts/users" return the users who has contacts or not.
2019-11-20 17:01:05 +08:00
yunion-ci-robot
88f19a3f73 Merge pull request #3800 from rainzm/automated-cherry-pick-of-#3772-upstream-release-2.13
Automated cherry pick of #3772: refactor(region): Optimization for snapshotpolicy sync
2019-11-20 16:13:24 +08:00
郑雨
68d5e0ab08 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:11:20 +08:00
Zexi Li
194f6cefd4 Merge pull request #3797 from swordqiu/automated-cherry-pick-of-#3795-upstream-release-2.13
Automated cherry pick of #3795: fix: recover baremetal status after cdrom operations
2019-11-20 14:35:29 +08:00
Qiu Jian
c24108b8a6 fix: recover baremetal status after cdrom operations 2019-11-20 10:13:48 +08:00
Yousong Zhou
5155558cf0 cloudregions: 统一"OneCloud" provider过滤条件 2019-11-20 01:55:53 +00:00
Yousong Zhou
e6d48fda84 networks: 改进创建错误处理 2019-11-20 01:55:53 +00:00
yunion-ci-robot
ee83b205e7 Merge pull request #3789 from yousong/automated-cherry-pick-of-#3788-upstream-release-2.13
Automated cherry pick of #3788: lbagent: pidfile: add PidFile
2019-11-19 23:25:22 +08:00
yunion-ci-robot
de3918ec11 Merge pull request #3782 from yousong/automated-cherry-pick-of-#3778-upstream-release-2.13
Automated cherry pick of #3778: treewide: 避免使用fmt.Print记录日志
2019-11-19 23:17:23 +08:00
Yousong Zhou
5a6bea4916 lbagent: pidfile: remove ReadPidFile() 2019-11-19 12:27:20 +00:00
Yousong Zhou
d03e85de9e lbagent: stop daemons: use agentutils.PidFile 2019-11-19 12:27:20 +00:00
Yousong Zhou
bf6fe91cf7 lbagent: haproxy: use agentutils.PidFile 2019-11-19 12:27:20 +00:00
Yousong Zhou
3330864aaf lbagent: gobetween: use agentutils.PidFile 2019-11-19 12:27:20 +00:00
Yousong Zhou
5e26ac8ab9 lbagent: telegraf: use agentutils.PidFile 2019-11-19 12:27:20 +00:00
Yousong Zhou
7983ad12dc lbagent: keepalived: use agentutils.PidFile 2019-11-19 12:27:20 +00:00
Yousong Zhou
a8444a87ed lbagent: pidfile: add PidFile 2019-11-19 12:27:20 +00:00
yunion-ci-robot
f649590132 Merge pull request #3781 from tb365/automated-cherry-pick-of-#3779-upstream-release-2.13
Automated cherry pick of #3779: redis create bugfix & redis acl create bugfix
2019-11-19 19:44:22 +08:00
Yousong Zhou
39ca790650 vendor: update sqlchemy 2019-11-19 11:24:31 +00:00
Yousong Zhou
f11ff9a40d treewide: 避免使用fmt.Print记录日志 2019-11-19 11:24:31 +00:00
TangBin
b322e6c950 redis create bugfix & redis acl create bugfix 2019-11-19 17:57:47 +08:00
Zexi Li
e2b44b1093 Merge pull request #3774 from ioito/automated-cherry-pick-of-#3773-upstream-release-2.13
Automated cherry pick of #3773: fix: 调整存储容量后刷新调度缓存
2019-11-19 16:10:33 +08:00
Qu Xuan
67f1d7d083 fix: 调整存储容量后刷新调度缓存 2019-11-19 14:34:08 +08:00
yunion-ci-robot
c1e9886c62 Merge pull request #3770 from tb365/automated-cherry-pick-of-#3769-upstream-release-2.13
Automated cherry pick of #3769: elastic cache auth_mode status & password reset bugfix
2019-11-19 12:54:23 +08:00
TangBin
88ccad2624 elastic cache auth_mode status & password reset bugfix 2019-11-19 11:48:16 +08:00
Zexi Li
472213a9f9 Merge pull request #3765 from swordqiu/automated-cherry-pick-of-#3763-upstream-release-2.13
Automated cherry pick of #3763: fix: cloudaccount list duplicate entries due to join with cloudproviders
2019-11-19 10:49:29 +08:00
Zexi Li
2cb854fd32 Merge pull request #3732 from yousong/automated-cherry-pick-of-#3731-upstream-release-2.13
Automated cherry pick of #3731: build: 避免并发构建rpm时触发file exists错误
2019-11-19 10:47:59 +08:00
yunion-ci-robot
3cbf9af9c0 Merge pull request #3768 from zexi/automated-cherry-pick-of-#3766-upstream-release-2.13
Automated cherry pick of #3766: region: host list filter by cdrom_boot
2019-11-19 10:12:22 +08:00
Zexi Li
c1887bbec9 region: host list filter by cdrom_boot 2019-11-19 01:45:18 +08:00
Qiu Jian
b4552dd87a fix: cloudaccount list duplicate entries due to join with cloudproviders 2019-11-18 21:56:47 +08:00
yunion-ci-robot
22d6ddb38a Merge pull request #3761 from wanyaoqi/automated-cherry-pick-of-#3760-upstream-release-2.13
Automated cherry pick of #3760: allow delete standard and shared image
2019-11-18 21:53:22 +08:00
wanyaoqi
f7571ecbae allow delete standard and shared image 2019-11-18 21:16:38 +08:00
yunion-ci-robot
cbdc3e4cfb Merge pull request #3759 from rainzm/automated-cherry-pick-of-#3757-upstream-release-2.13
Automated cherry pick of #3757: fix(region): Cluster automatically when syncing snapshotpolicy
2019-11-18 21:11:22 +08:00
郑雨
b0674cf65c 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:54:51 +08:00
yunion-ci-robot
45ba29cb80 Merge pull request #3755 from wanyaoqi/automated-cherry-pick-of-#3754-upstream-release-2.13
Automated cherry pick of #3754: fix login key on clone
2019-11-18 19:44:23 +08:00
yunion-ci-robot
4af17d61a5 Merge pull request #3723 from tb365/automated-cherry-pick-of-#3721-upstream-release-2.13
Automated cherry pick of #3721: add elastic cache sku default policy
2019-11-18 19:43:24 +08:00
yunion-ci-robot
aeff331773 Merge pull request #3752 from swordqiu/automated-cherry-pick-of-#3750-upstream-release-2.13
Automated cherry pick of #3750: fix: quick fix user password verification failure
2019-11-18 19:41:25 +08:00
yunion-ci-robot
3aa9a0ddf3 Merge pull request #3715 from tb365/automated-cherry-pick-of-#3711-upstream-release-2.13
Automated cherry pick of #3711: create vm attach eip fix
2019-11-18 19:38:24 +08:00
wanyaoqi
121a1b1d20 fix login key on clone 2019-11-18 19:23:50 +08:00
yunion-ci-robot
ccd9ab1fbd Merge pull request #3692 from tb365/automated-cherry-pick-of-#3690-upstream-release-2.13
Automated cherry pick of #3690: remove useless aws instance type config
2019-11-18 19:23:22 +08:00
yunion-ci-robot
662ca533ed Merge pull request #3713 from ioito/automated-cherry-pick-of-#3712-upstream-release-2.13
Automated cherry pick of #3712: fix: 避免匹配到售罄的套餐
2019-11-18 19:14:25 +08:00
TangBin
81950f0eb9 create vm attach eip fix 2019-11-18 17:44:23 +08:00
TangBin
760b18cb48 huawei elastic change spec bugfix 2019-11-18 17:32:51 +08:00
TangBin
4939849cf9 add elastic cache sku default policy 2019-11-18 17:32:51 +08:00
Qiu Jian
de3cf85957 fix: quick fix user password verification failure 2019-11-18 17:01:42 +08:00
yunion-ci-robot
aca5c46a8c Merge pull request #3748 from rainzm/automated-cherry-pick-of-#3746-upstream-release-2.13
Automated cherry pick of #3746: fix(region): Set name and status when creating and syncing snapshotpolicycache
2019-11-18 16:15:23 +08:00
郑雨
3e2934e61b 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:39:12 +08:00
Zexi Li
e2df7c9307 Merge pull request #3730 from swordqiu/automated-cherry-pick-of-#3728-upstream-release-2.13
Automated cherry pick of #3728: fix: always lock login-failed user when PasswordErrorLockCount not initialized
2019-11-18 15:05:01 +08:00
yunion-ci-robot
a567892605 Merge pull request #3745 from swordqiu/automated-cherry-pick-of-#3743-upstream-release-2.13
Automated cherry pick of #3743: fix: filter out expire user passwords
2019-11-18 14:51:22 +08:00
Qiu Jian
1f3dedf4b5 fix: filter out expire user passwords 2019-11-18 14:34:10 +08:00
yunion-ci-robot
ecaffe2295 Merge pull request #3742 from rainzm/automated-cherry-pick-of-#3739-upstream-release-2.13
Automated cherry pick of #3739: fix(region): Fix the return value when sycning snapshotpolicy
2019-11-18 14:31:25 +08:00
yunion-ci-robot
379911fd07 Merge pull request #3648 from wanyaoqi/automated-cherry-pick-of-#3594-upstream-release-2.13
Automated cherry pick of #3594: host arm support
2019-11-18 14:09:23 +08:00
郑雨
ecec6b0417 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:51:21 +08:00
yunion-ci-robot
e3ca0ffdce Merge pull request #3738 from rainzm/automated-cherry-pick-of-#3736-upstream-release-2.13
Automated cherry pick of #3736: fix(region): Add snapshotpolicycache module for yunionapi
2019-11-18 12:46:24 +08:00
郑雨
2c4069b272 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 11:41:02 +08:00
Yousong Zhou
7cf08555df build: 避免并发构建rpm时触发file exists错误 2019-11-18 02:43:37 +00:00
yunion-ci-robot
0ad03159e4 Merge pull request #3701 from ioito/automated-cherry-pick-of-#3700-upstream-release-2.13
Automated cherry pick of #3700: fix: 避免仅返回一个zone信息
2019-11-18 09:18:24 +08:00
Qiu Jian
4a3ecb8371 fix: always lock login-failed user when PasswordErrorLockCount not initialized 2019-11-18 08:53:56 +08:00
Zexi Li
b927ea8db0 Merge pull request #3727 from swordqiu/automated-cherry-pick-of-#3724-upstream-release-2.13
Automated cherry pick of #3724: update vendor for qcloud cos-go-sdk
2019-11-18 00:36:23 +08:00
yunion-ci-robot
8ebf6bfe30 Merge pull request #3680 from swordqiu/automated-cherry-pick-of-#3679-upstream-release-2.13
Automated cherry pick of #3679: feature: cloud account share_mode support
2019-11-18 00:35:22 +08:00
Qiu Jian
663616c518 update vendor for qcloud cos-go-sdk 2019-11-16 15:25:32 +08:00
yunion-ci-robot
91d8ba9355 Merge pull request #3717 from ioito/automated-cherry-pick-of-#3699-upstream-release-2.13
Automated cherry pick of #3699: fix: cpuCmtbound sync for zstack
2019-11-15 20:23:21 +08:00
Qu Xuan
77fdcd17d5 fix: cpuCmtbound sync for zstack 2019-11-15 19:07:36 +08:00
yunion-ci-robot
0cb3308f81 Merge pull request #3710 from ioito/automated-cherry-pick-of-#3669-upstream-release-2.13
Automated cherry pick of #3669: fix: 安全组列表添加server过滤参数
2019-11-15 18:41:22 +08:00
Zexi Li
b2f7b321ce Merge pull request #3698 from swordqiu/automated-cherry-pick-of-#3696-upstream-release-2.13
Automated cherry pick of #3696: fix: network-delete may fail immidiately after deleting vm
2019-11-15 18:41:12 +08:00
Qu Xuan
3dc6cca493 fix: 避免匹配到售罄的套餐 2019-11-15 17:52:09 +08:00
yunion-ci-robot
94608fcb42 Merge pull request #3707 from ioito/automated-cherry-pick-of-#3593-upstream-release-2.13
Automated cherry pick of #3593: fix: 避免公有云绑定秘钥后解密密码为空
2019-11-15 17:18:21 +08:00
Qu Xuan
13631a8c53 fix: 安全组列表添加server过滤参数 2019-11-15 16:55:26 +08:00
yunion-ci-robot
ec7f3308a2 Merge pull request #3672 from tb365/automated-cherry-pick-of-#3670-upstream-release-2.13
Automated cherry pick of #3670: * 修复redis新建无密码及公网访问地址未同步的问题
2019-11-15 16:54:21 +08:00
Qu Xuan
ac8fa280a1 fix: 避免公有云绑定秘钥后解密密码为空 2019-11-15 16:03:15 +08:00
Zexi Li
22201b65f0 Merge pull request #3694 from wanyaoqi/automated-cherry-pick-of-#3693-upstream-release-2.13
Automated cherry pick of #3693: bm register find network
2019-11-15 16:03:01 +08:00
yunion-ci-robot
d11bcc6863 Merge pull request #3688 from tb365/automated-cherry-pick-of-#3687-upstream-release-2.13
Automated cherry pick of #3687: elastic cache purge bugfix
2019-11-15 15:56:21 +08:00
Qiu Jian
42dd5a8de6 feature: cloud account share_mode support 2019-11-15 15:11:15 +08:00
Zexi Li
4c14c4c514 Merge pull request #3704 from zexi/automated-cherry-pick-of-#3703-upstream-release-2.13
Automated cherry pick of #3703: webconsole: skip spice access interval check
2019-11-15 15:07:25 +08:00
Zexi Li
a428188d9c webconsole: skip spice access interval check 2019-11-15 15:06:22 +08:00
Qu Xuan
9a1f90b0cc fix: 避免仅返回一个zone信息 2019-11-15 14:36:31 +08:00
Qiu Jian
adc58a3be0 fix: network-delete may fail immidiately after deleting vm 2019-11-15 12:41:13 +08:00
wanyaoqi
0b1a38da9a bm register find network 2019-11-15 12:08:21 +08:00
TangBin
665f52608b huawei config vm config fix 2019-11-15 11:45:30 +08:00
TangBin
30c8c68959 remove useless aws instance type config 2019-11-15 11:45:30 +08:00
TangBin
775a6a61af elastic cache purge bugfix 2019-11-15 11:38:07 +08:00
TangBin
d6cb216531 * 修复redis新建无密码及公网访问地址未同步的问题 2019-11-15 11:34:24 +08:00
yunion-ci-robot
2247b7111e Merge pull request #3685 from ioito/automated-cherry-pick-of-#3684-upstream-release-2.13
Automated cherry pick of #3684: fix: 避免有些云不能创建default名称安全组
2019-11-15 11:00:19 +08:00
yunion-ci-robot
60ce26c1dd Merge pull request #3683 from swordqiu/automated-cherry-pick-of-#3681-upstream-release-2.13
Automated cherry pick of #3681: fix: baremetal server rebuild root fail to cache image
2019-11-15 10:32:21 +08:00
Qu Xuan
4bb9685a2f fix: 避免有些云不能创建default名称安全组 2019-11-15 10:31:05 +08:00
yunion-ci-robot
1f51836bf9 Merge pull request #3658 from tb365/automated-cherry-pick-of-#3657-upstream-release-2.13
Automated cherry pick of #3657: user-project create api bugfix
2019-11-15 09:35:21 +08:00
Qiu Jian
5830db6f4f fix: baremetal server rebuild root fail to cache image 2019-11-15 02:35:27 +08:00
yunion-ci-robot
d96750c86c Merge pull request #3667 from wanyaoqi/automated-cherry-pick-of-#3666-upstream-release-2.13
Automated cherry pick of #3666: gpu add export keys
2019-11-14 23:57:20 +08:00
yunion-ci-robot
2cff53caca Merge pull request #3674 from ioito/automated-cherry-pick-of-#3673-upstream-release-2.13
Automated cherry pick of #3673: fix: 避免region同名问题
2019-11-14 22:09:20 +08:00
yunion-ci-robot
ba271c64ce Merge pull request #3664 from ioito/automated-cherry-pick-of-#3663-upstream-release-2.13
Automated cherry pick of #3663: fix: aws 安全组desc为必传字段
2019-11-14 22:00:21 +08:00
Qu Xuan
84314bbdbf fix: 避免region同名问题 2019-11-14 18:30:36 +08:00
wanyaoqi
3c7daad157 gpu add export keys 2019-11-14 16:23:11 +08:00
Qu Xuan
1c5afe7743 fix: aws 安全组desc为必传字段 2019-11-14 14:36:50 +08:00
Zexi Li
a77688f243 Merge pull request #3662 from swordqiu/automated-cherry-pick-of-#3660-upstream-release-2.13
Automated cherry pick of #3660: fix: check password complexity even if password length is zero
2019-11-14 13:32:51 +08:00
yunion-ci-robot
36db90f3bb Merge pull request #3656 from swordqiu/automated-cherry-pick-of-#3654-upstream-release-2.13
Automated cherry pick of #3654: fix: send full reason body for *_fail_reason
2019-11-14 12:40:21 +08:00
yunion-ci-robot
8a87d2b366 Merge pull request #3653 from swordqiu/automated-cherry-pick-of-#3649-upstream-release-2.13
Automated cherry pick of #3649: fix: agent-list show zone info
2019-11-14 12:39:20 +08:00
yunion-ci-robot
e16a0210e2 Merge pull request #3646 from wanyaoqi/automated-cherry-pick-of-#3645-upstream-release-2.13
Automated cherry pick of #3645: baremetal register optimize
2019-11-14 12:37:20 +08:00
Qiu Jian
2df33ed471 fix: check password complexity even if password length is zero 2019-11-14 12:03:25 +08:00
TangBin
f571986ab6 user-project create api bugfix 2019-11-14 11:56:01 +08:00
Qiu Jian
2e614d2cea fix: send full reason body for *_fail_reason 2019-11-14 11:35:45 +08:00
wanyaoqi
8437c9ce53 host arm support
- host register
- vm create, delete, vnc ...
2019-11-14 10:51:19 +08:00
yunion-ci-robot
8909d8d1f9 Merge pull request #3627 from wanyaoqi/automated-cherry-pick-of-#3589-upstream-release-2.13
Automated cherry pick of #3589: split brands capabilities
2019-11-14 01:03:22 +08:00
yunion-ci-robot
952fa51087 Merge pull request #3607 from yousong/automated-cherry-pick-of-#3606-upstream-release-2.13
Automated cherry pick of #3606: influxdb: 记录结果中的tags
2019-11-14 00:26:19 +08:00
yunion-ci-robot
4553ee70bb Merge pull request #3637 from ioito/automated-cherry-pick-of-#3636-upstream-release-2.13
Automated cherry pick of #3636: fix: 避免associationtype异常
2019-11-14 00:12:20 +08:00
Qiu Jian
9bdfa178f6 fix: agent-list show zone info 2019-11-13 23:34:08 +08:00
yunion-ci-robot
2d4e97d7f4 Merge pull request #3579 from ioito/automated-cherry-pick-of-#3578-upstream-release-2.13
Automated cherry pick of #3578: fix: 创建数据库时指定账号权限时,避免数据库出现中间状态
2019-11-13 20:32:21 +08:00
wanyaoqi
fafafcedac baremetal register optimize 2019-11-13 20:23:45 +08:00
Qu Xuan
fc55536bbd fix: 避免associationtype异常 2019-11-13 19:56:52 +08:00
yunion-ci-robot
bf063d5c37 Merge pull request #3597 from tb365/automated-cherry-pick-of-#3595-upstream-release-2.13
Automated cherry pick of #3595: elastic cache sync bugfix
2019-11-13 19:48:19 +08:00
yunion-ci-robot
2be0424703 Merge pull request #3632 from ioito/automated-cherry-pick-of-#3631-upstream-release-2.13
Automated cherry pick of #3631: fix: 避免匹配到64导致version是6
2019-11-13 19:46:20 +08:00
yunion-ci-robot
4d394eb3dd Merge pull request #3622 from swordqiu/automated-cherry-pick-of-#3621-upstream-release-2.13
Automated cherry pick of #3621: fix: nic teaming/bonding not working properly
2019-11-13 17:48:20 +08:00
Zexi Li
3197801d00 Merge pull request #3644 from zexi/automated-cherry-pick-of-#3641-upstream-release-2.13
Automated cherry pick of #3641: climc: fix k8s sa not register
2019-11-13 16:50:18 +08:00
Zexi Li
63cb1194c5 climc: fix k8s sa not register 2019-11-13 16:49:24 +08:00
Qu Xuan
e3d69c00f1 fix: 避免匹配到64导致version是6 2019-11-13 14:49:54 +08:00
Zexi Li
53eb2cdb05 Merge pull request #3630 from rainzm/automated-cherry-pick-of-#3628-upstream-release-2.13
Automated cherry pick of #3628: fix(region): Init database table 'guestgroup_tbl'
2019-11-13 11:38:30 +08:00
郑雨
ba89129e82 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:34:37 +08:00
wanyaoqi
3f694430a9 split brands capabilities 2019-11-13 11:10:02 +08:00
TangBin
c5103ca6af elastic cache sync bugfix 2019-11-13 11:09:35 +08:00
Yousong Zhou
007400fa65 climc: 添加lblistener{,rule}-backend-status命令 2019-11-13 02:41:42 +00:00
Yousong Zhou
198ef3add0 lblis, lbr: 增加查询后端状态接口 2019-11-13 02:41:42 +00:00
Yousong Zhou
ece60f8379 lbbackends: 使用yunion.io/pkg/errors 2019-11-13 02:41:42 +00:00
Yousong Zhou
6e6626d019 influxdb: 记录结果中的tags 2019-11-13 02:41:42 +00:00
Qu Xuan
ef6ae357c7 fix: 创建数据库时指定账号权限时,避免数据库出现中间状态 2019-11-13 10:22:06 +08:00
yunion-ci-robot
5dcb8fbbb7 Merge pull request #3612 from wanyaoqi/automated-cherry-pick-of-#3611-upstream-release-2.13
Automated cherry pick of #3611: fix resie fs
2019-11-13 01:42:19 +08:00
yunion-ci-robot
0f54f14fb0 Merge pull request #3599 from ioito/automated-cherry-pick-of-#3598-upstream-release-2.13
Automated cherry pick of #3598: fix: 支持创建时指定多个安全组
2019-11-13 01:31:18 +08:00
yunion-ci-robot
27b8773391 Merge pull request #3591 from wanyaoqi/automated-cherry-pick-of-#3577-upstream-release-2.13
Automated cherry pick of #3577: postpaid expire support premise
2019-11-13 01:19:19 +08:00
yunion-ci-robot
ec5970301f Merge pull request #3616 from yousong/automated-cherry-pick-of-#3523-upstream-release-2.13
Automated cherry pick of #3523: lockman: log bug with Errorf
2019-11-13 00:51:19 +08:00
yunion-ci-robot
51df386fd3 Merge pull request #3575 from ioito/automated-cherry-pick-of-#3569-upstream-release-2.13
Automated cherry pick of #3569: fix: avolid duplicate secgroup name error when create secgroup
2019-11-13 00:40:18 +08:00
Qiu Jian
b92a7c2979 fix: nic teaming/bonding not working properly 2019-11-13 00:06:06 +08:00
yunion-ci-robot
a998e71c74 Merge pull request #3581 from ioito/automated-cherry-pick-of-#3501-upstream-release-2.13
Automated cherry pick of #3501: 云上操作日志同步
2019-11-12 23:33:22 +08:00
yunion-ci-robot
7e5aedebe2 Merge pull request #3605 from swordqiu/automated-cherry-pick-of-#3603-upstream-release-2.13
Automated cherry pick of #3603: fix: create baremetal server with iso, baremetal register support redfish
2019-11-12 21:44:26 +08:00
yunion-ci-robot
067532d78e Merge pull request #3583 from ioito/automated-cherry-pick-of-#3582-upstream-release-2.13
Automated cherry pick of #3582: fix: 避免Openstack越过存储检查
2019-11-12 21:43:33 +08:00
Yousong Zhou
9a6054819a vendor: restore a few files to locally managed version 2019-11-12 13:25:14 +00:00
Yousong Zhou
7708ee1536 vendor: update 2019-11-12 13:25:14 +00:00
Yousong Zhou
d8bbf372c5 lockman: test multiple lockman 2019-11-12 13:25:14 +00:00
Yousong Zhou
99e2d93373 cloudcommon: options: new options for etcd lockman 2019-11-12 13:25:14 +00:00
Yousong Zhou
71feb3d0e3 lockman: distributed lockman with etcd 2019-11-12 13:25:13 +00:00
Yousong Zhou
bb980c1860 lockman: log bug with Errorf 2019-11-12 13:25:13 +00:00
wanyaoqi
832543fe52 fix resie fs 2019-11-12 21:06:45 +08:00
Qiu Jian
36d596b038 fix: create baremetal server with iso, baremetal register support redfish 2019-11-12 20:17:04 +08:00
Qu Xuan
6a2d074823 fix: 支持创建时指定多个安全组 2019-11-12 20:01:59 +08:00
Zexi Li
cecf95011d Merge pull request #3588 from rainzm/automated-cherry-pick-of-#3576-upstream-release-2.13
Automated cherry pick of #3576: fix(region): Check if group and guest belong to same project
2019-11-12 17:48:10 +08:00
wanyaoqi
720d258e40 postpaid expire support premise 2019-11-12 17:25:06 +08:00
郑雨
c7dd31807f 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:42:13 +08:00
Qu Xuan
550269592a fix: 避免Openstack越过存储检查 2019-11-12 15:16:30 +08:00
ioito
64b5fbbb45 云上操作日志同步 2019-11-12 14:59:11 +08:00
yunion-ci-robot
3bf464506e Merge pull request #3573 from swordqiu/automated-cherry-pick-of-#3559-upstream-release-2.13
Automated cherry pick of #3559: fix: recode error handling to make conform with error handling standard
2019-11-12 13:28:19 +08:00
Qu Xuan
5379b1de8a fix: avolid duplicate secgroup name error when create secgroup 2019-11-12 10:13:52 +08:00
Qiu Jian
f01722e960 update vendor 2019-11-12 01:24:42 +08:00
Qiu Jian
24fa32cd69 fix: recode error handling to make conform with error handling standard 2019-11-12 01:24:42 +08:00
yunion-ci-robot
e4d6d88f99 Merge pull request #3538 from ioito/automated-cherry-pick-of-#3537-upstream-release-2.12
Automated cherry pick of #3537: fix: 添加rds zone返回信息
2019-11-12 01:02:18 +08:00
yunion-ci-robot
44845c2992 Merge pull request #3572 from ioito/automated-cherry-pick-of-#3571-upstream-release-2.12
Automated cherry pick of #3571: fix: 赋予rds账号权限失败后进行重试
2019-11-12 00:57:20 +08:00
yunion-ci-robot
334ffc4134 Merge pull request #3568 from wanyaoqi/automated-cherry-pick-of-#3566-upstream-release-2.12
Automated cherry pick of #3566: fix instance-snapshot create
2019-11-12 00:55:17 +08:00
yunion-ci-robot
2573715ca5 Merge pull request #3563 from tb365/automated-cherry-pick-of-#3558-upstream-release-2.12
Automated cherry pick of #3558: huawei disk attach bugfix
2019-11-12 00:31:18 +08:00
Qu Xuan
28367a8043 fix: 赋予rds账号权限失败后进行重试 2019-11-11 21:38:19 +08:00
yunion-ci-robot
6b33fa643c Merge pull request #3544 from ioito/automated-cherry-pick-of-#3535-upstream-release-2.12
Automated cherry pick of #3535: fix: remove private cloud server sku brand and provider attribute
2019-11-11 21:05:19 +08:00
wanyaoqi
cb79971c1e fix instance-snapshot create 2019-11-11 19:36:45 +08:00
yunion-ci-robot
81051293b3 Merge pull request #3560 from tb365/automated-cherry-pick-of-#3557-upstream-release-2.12
Automated cherry pick of #3557: redis sync fix
2019-11-11 17:41:17 +08:00
Qu Xuan
2047cf53e2 fix: 添加rds zone返回信息 2019-11-11 16:04:43 +08:00
yunion-ci-robot
82e8e9edcb Merge pull request #3556 from swordqiu/automated-cherry-pick-of-#3555-upstream-release-2.12
Automated cherry pick of #3555: feature: keystone add service config API and allow config services by API
2019-11-11 15:53:17 +08:00
tangbin
42cef92b51 add elastic cache delete protect 2019-11-11 14:18:37 +08:00
tangbin
93a99771ea redis sync fix 2019-11-11 14:18:37 +08:00
yunion-ci-robot
ca8c93212f Merge pull request #3567 from rainzm/automated-cherry-pick-of-#3545-upstream-release-2.12
Automated cherry pick of #3545: fix(image): Change the update process of guest image
2019-11-11 12:08:19 +08:00
郑雨
2dabbb575f 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:56:39 +08:00
yunion-ci-robot
9827b3ded5 Merge pull request #3565 from swordqiu/automated-cherry-pick-of-#3564-upstream-release-2.12
Automated cherry pick of #3564: fix: cleanup host/baremetal status code
2019-11-11 11:23:20 +08:00
Qiu Jian
375a18b4ca fix: cleanup host/baremetal status code 2019-11-11 11:17:11 +08:00
tangbin
48b121398c huawei disk attach bugfix 2019-11-11 10:38:59 +08:00
yunion-ci-robot
132b1076a8 Merge pull request #3551 from swordqiu/automated-cherry-pick-of-#3550-upstream-release-2.12
Automated cherry pick of #3550: fix: simplify object delete-fail-reason message
2019-11-11 10:00:17 +08:00
yunion-ci-robot
aa012568c7 Merge pull request #3549 from swordqiu/automated-cherry-pick-of-#3548-upstream-release-2.12
Automated cherry pick of #3548: fix: normalize baremetal sysinfo manufacture
2019-11-11 09:58:18 +08:00
yunion-ci-robot
d1c8b0317d Merge pull request #3547 from swordqiu/automated-cherry-pick-of-#3546-upstream-release-2.12
Automated cherry pick of #3546: fix: unify network used address query
2019-11-11 09:57:19 +08:00
yunion-ci-robot
774f004077 Merge pull request #3543 from swordqiu/automated-cherry-pick-of-#3542-upstream-release-2.12
Automated cherry pick of #3542: fix: server-list details report nil pointer panic
2019-11-11 09:53:18 +08:00
Qiu Jian
e6e71b0072 fix: normalize baremetal sysinfo manufacture 2019-11-10 03:52:14 +08:00
Qiu Jian
38f7cea4de feature: keystone add service config API and allow config services by API 2019-11-10 03:37:28 +08:00
Qiu Jian
bb149a364d fix: simplify object delete-fail-reason message 2019-11-08 22:56:05 +08:00
Qiu Jian
eb0e0abfd8 fix: unify network used address query 2019-11-08 21:04:21 +08:00
Qu Xuan
2979327e03 fix: remove private cloud server sku brand and provider attribute 2019-11-08 18:20:22 +08:00
Qiu Jian
3d94db7057 fix: server-list details report nil pointer panic 2019-11-08 18:13:50 +08:00
Zexi Li
020fcae072 Merge pull request #3540 from zexi/automated-cherry-pick-of-#3539-upstream-release-2.12
Automated cherry pick of #3539: climc: k8s api update
2019-11-08 18:04:34 +08:00
Zexi Li
cc3697b5fc climc: k8s api update 2019-11-08 17:54:54 +08:00
yunion-ci-robot
8982e3726a Merge pull request #3533 from tb365/automated-cherry-pick-of-#3524-upstream-release-2.12
Automated cherry pick of #3524: 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 17:46:15 +08:00
yunion-ci-robot
596b453e6f Merge pull request #3503 from tb365/automated-cherry-pick-of-#3423-upstream-release-2.12
Automated cherry pick of #3423: add rpc createuser & createproject
2019-11-08 17:15:16 +08:00
TangBin
c47a9db2a6 add rpc createuser & createproject 2019-11-08 16:21:53 +08:00
yunion-ci-robot
f2a14d0191 Merge pull request #3520 from ioito/automated-cherry-pick-of-#3486-upstream-release-2.12
Automated cherry pick of #3486: fix: 从aliyun对象存储上面同步dbinstance sku信息
2019-11-08 16:14:16 +08:00
Zexi Li
5469b661c3 Merge pull request #3499 from swordqiu/automated-cherry-pick-of-#3498-upstream-release-2.12
Automated cherry pick of #3498: fix: reserve probed ipaddr
2019-11-08 14:55:01 +08:00
yunion-ci-robot
466264f375 Merge pull request #3529 from zexi/automated-cherry-pick-of-#3528-upstream-release-2.12
Automated cherry pick of #3528: webconsole: fix baremetal ipmitool sol payload active on another session
2019-11-08 13:35:15 +08:00
TangBin
7a14386505 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:49:16 +08:00
yunion-ci-robot
ea77dd581e Merge pull request #3525 from ioito/automated-cherry-pick-of-#3518-upstream-release-2.12
Automated cherry pick of #3518: fix: 虚拟机漂移后设置新的hostId
2019-11-08 11:46:17 +08:00
Zexi Li
dd5a16b0d0 webconsole: fix baremetal ipmitool sol payload active on another session 2019-11-08 11:37:01 +08:00
Qu Xuan
8cbfd26419 fix: 从aliyun对象存储上面同步dbinstance sku信息 2019-11-08 11:15:00 +08:00
yunion-ci-robot
6a2b3a06eb Merge pull request #3519 from ioito/automated-cherry-pick-of-#3505-upstream-release-2.12
Automated cherry pick of #3505: fix: 避免因backup删除失败导致删除rds无限失败
2019-11-08 11:07:16 +08:00
Qu Xuan
e5bb7abf9f fix: 虚拟机漂移后设置新的hostId 2019-11-08 10:46:24 +08:00
yunion-ci-robot
839112e721 Merge pull request #3522 from swordqiu/automated-cherry-pick-of-#3521-upstream-release-2.12
Automated cherry pick of #3521: fix: baremetal failed to register due to duplicate storagecache
2019-11-08 10:30:15 +08:00
yunion-ci-robot
ac71a92f45 Merge pull request #3515 from ioito/automated-cherry-pick-of-#3492-upstream-release-2.12
Automated cherry pick of #3492: fix: 避免version输出不正确
2019-11-08 00:55:15 +08:00
Qiu Jian
ae00ae0afa fix: reserve probed ipaddr 2019-11-08 00:46:22 +08:00
Qiu Jian
848f8046a0 fix: baremetal failed to register due to duplicate storagecache 2019-11-07 22:45:20 +08:00
Qu Xuan
6c32814d2b fix: 避免因backup删除失败导致删除rds无限失败 2019-11-07 21:34:19 +08:00
yunion-ci-robot
14f8f39007 Merge pull request #3514 from ioito/automated-cherry-pick-of-#3500-upstream-release-2.12
Automated cherry pick of #3500: fix: 避免dbinstance created_at为空
2019-11-07 17:55:17 +08:00
Qu Xuan
0d410b0fa2 fix: 避免version输出不正确 2019-11-07 17:42:40 +08:00
Qu Xuan
8cf6328830 fix: 避免dbinstance created_at为空 2019-11-07 17:39:58 +08:00
yunion-ci-robot
17b3c83719 Merge pull request #3511 from ioito/automated-cherry-pick-of-#3510-upstream-release-2.12
Automated cherry pick of #3510: fix: 避免删除安全组失败
2019-11-07 17:22:15 +08:00
Zexi Li
4a6294bf32 Merge pull request #3506 from rainzm/automated-cherry-pick-of-#3502-upstream-release-2.12
Automated cherry pick of #3502: fix: Fix that fail to create vm with unforced instance group
2019-11-07 17:09:38 +08:00
Zexi Li
df26f2b35d Merge pull request #3509 from wanyaoqi/automated-cherry-pick-of-#3493-upstream-release-2.12
Automated cherry pick of #3493: fix isolated device attach
2019-11-07 17:08:34 +08:00
Qu Xuan
425deaeff3 fix: 避免删除安全组失败 2019-11-07 17:00:51 +08:00
yunion-ci-robot
db9b415dca Merge pull request #3504 from rainzm/automated-cherry-pick-of-#3491-upstream-release-2.12
Automated cherry pick of #3491: feat(region): Add list and delelte apis for snapshot policy cache
2019-11-07 16:56:16 +08:00
wanyaoqi
738f41ef26 add auto_start after detach or attach isolated device 2019-11-07 16:54:40 +08:00
wanyaoqi
fe7927d834 instance snapshot fix 2019-11-07 16:54:40 +08:00
wanyaoqi
63545e9012 fix isolated device attach 2019-11-07 16:54:40 +08:00
yunion-ci-robot
2119345bc8 Merge pull request #3508 from rainzm/automated-cherry-pick-of-#3507-upstream-release-2.12
Automated cherry pick of #3507: fix(region): Pass 'auto_start' parameter to GuestSaveGuestImageTask if have
2019-11-07 16:54:17 +08:00
郑雨
80f36e4bbc 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:41:30 +08:00
郑雨
8d7305953a modify import package order 2019-11-07 16:16:11 +08:00
郑雨
5f68ccd930 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 16:16:11 +08:00
郑雨
b930bf7775 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 15:28:31 +08:00
Zexi Li
6e1a684ca0 Merge pull request #3497 from swordqiu/automated-cherry-pick-of-#3494-upstream-release-2.12
Automated cherry pick of #3494: fix: skip esxi vm with nil config
2019-11-07 15:14:22 +08:00
yunion-ci-robot
4038238163 Merge pull request #3485 from tb365/automated-cherry-pick-of-#3478-upstream-release-2.12
Automated cherry pick of #3478: region sync fix
2019-11-07 15:08:18 +08:00
yunion-ci-robot
23a4807319 Merge pull request #3490 from swordqiu/automated-cherry-pick-of-#3487-upstream-release-2.12
Automated cherry pick of #3487: fix: nil pointer panic when auth decode body failed
2019-11-07 10:18:17 +08:00
Qiu Jian
6622036058 fix: skip esxi vm with nil config 2019-11-06 22:15:54 +08:00
Qiu Jian
d106f9f155 fix: nil pointer panic when auth decode body failed 2019-11-06 19:43:56 +08:00
yunion-ci-robot
b1dbb1c39e Merge pull request #3482 from rainzm/automated-cherry-pick-of-#3472-upstream-release-2.12
Automated cherry pick of #3472: fix: Add operational restrictions and fix some bugs for guest image
2019-11-06 14:36:15 +08:00
TangBin
c59e5827fb region sync fix 2019-11-06 14:33:55 +08:00
yunion-ci-robot
08f1d538f3 Merge pull request #3481 from Mjoycarry/automated-cherry-pick-of-#3431-upstream-release-2.12
Automated cherry pick of #3431: feat & fix: Add batch operator and fix some bugs for instance group
2019-11-06 13:20:15 +08:00
郑雨
7c938846c3 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:17:54 +08:00
Rain
a6f27d1883 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:15:48 +08:00
yunion-ci-robot
4d2fb41a51 Merge pull request #3477 from swordqiu/automated-cherry-pick-of-#3476-upstream-release-2.12
Automated cherry pick of #3476: fix: baremetal-event-list support since/until filter
2019-11-06 12:50:14 +08:00
yunion-ci-robot
989d292e9d Merge pull request #3474 from swordqiu/automated-cherry-pick-of-#3473-upstream-release-2.12
Automated cherry pick of #3473: fix: baremetal-prepare report admin ip using ssh client host
2019-11-06 12:46:14 +08:00
yunion-ci-robot
b57aa0e685 Merge pull request #3469 from yousong/automated-cherry-pick-of-#3468-upstream-release-2.12
Automated cherry pick of #3468: azure: fix tmp image file handling
2019-11-06 12:44:15 +08:00
yunion-ci-robot
26f17ffc1f Merge pull request #3467 from tb365/automated-cherry-pick-of-#3466-upstream-release-2.12
Automated cherry pick of #3466: redis sku sync
2019-11-06 11:03:14 +08:00
yunion-ci-robot
215dca1ab9 Merge pull request #3465 from tb365/automated-cherry-pick-of-#3463-upstream-release-2.12
Automated cherry pick of #3463: elb sync fix
2019-11-06 10:28:13 +08:00
Qiu Jian
30b460d1b7 fix: baremetal-event-list support since/until filter 2019-11-05 22:35:04 +08:00
Qiu Jian
50dde5db4b fix: baremetal-prepare report admin ip using ssh client host 2019-11-05 20:15:06 +08:00
Yousong Zhou
fc58ea1e23 azure: storagecache: fix writing sparse image file 2019-11-05 09:10:02 +00:00
Yousong Zhou
63518b29cc fileutils: add SparseFileWriter 2019-11-05 09:10:02 +00:00
Yousong Zhou
aab6c7ad00 webconsole: always do session close on pty stop 2019-11-05 09:10:02 +00:00
Yousong Zhou
6221fb8a4d fileutils: SReadSeeker: fix closing tmpfile fd 2019-11-05 09:10:02 +00:00
Yousong Zhou
2a953da906 seclib2: add doc describing the protocol on removal of tmpfile 2019-11-05 09:10:02 +00:00
Yousong Zhou
44c9fc1d1e aliyun: fix tmp image file handling 2019-11-05 09:10:02 +00:00
Yousong Zhou
e8b8a287f5 azure: fix tmp image file handling 2019-11-05 09:10:02 +00:00
TangBin
5615429875 elb sync fix 2019-11-05 16:30:58 +08:00
TangBin
4dc5989257 redis sku sync 2019-11-05 16:23:59 +08:00
yunion-ci-robot
31ed1f3f88 Merge pull request #3444 from ioito/automated-cherry-pick-of-#3428-upstream-release-2.12
Automated cherry pick of #3428: fix: 避免创建vmware磁盘快照
2019-11-04 23:04:15 +08:00
yunion-ci-robot
8df1b5a690 Merge pull request #3456 from swordqiu/automated-cherry-pick-of-#3454-upstream-release-2.12
Automated cherry pick of #3454: fix: aliyun eip associate instance ignores IncorrectInstanceStatus error
2019-11-04 22:47:14 +08:00
yunion-ci-robot
e2221d18ab Merge pull request #3433 from swordqiu/automated-cherry-pick-of-#3432-upstream-release-2.12
Automated cherry pick of #3432: fix: user details add password expiration info
2019-11-04 22:44:17 +08:00
yunion-ci-robot
561108903c Merge pull request #3424 from ioito/automated-cherry-pick-of-#3422-upstream-release-2.12
Automated cherry pick of #3422: fix: 添加华为云Rds privilege校验
2019-11-04 22:14:14 +08:00
yunion-ci-robot
958ffb23e5 Merge pull request #3453 from Mjoycarry/automated-cherry-pick-of-#3413-upstream-release-2.12
Automated cherry pick of #3413: fix: cancel the merge in service level and resource level of Keystone Policy.
2019-11-04 22:09:14 +08:00
yunion-ci-robot
e1057ad381 Merge pull request #3458 from yousong/automated-cherry-pick-of-#3457-upstream-release-2.12
Automated cherry pick of #3457: build: show diffs made by checks
2019-11-04 22:02:14 +08:00
Qu Xuan
0f7c166c53 fix: 避免创建vmware磁盘快照 2019-11-04 21:54:40 +08:00
yunion-ci-robot
9dc04ebd11 Merge pull request #3450 from ioito/automated-cherry-pick-of-#3430-upstream-release-2.12
Automated cherry pick of #3430: fix: 标准镜像version
2019-11-04 21:39:15 +08:00
yunion-ci-robot
8d6f8699dd Merge pull request #3447 from ioito/automated-cherry-pick-of-#3429-upstream-release-2.12
Automated cherry pick of #3429: fix: 梳理磁盘reset条件
2019-11-04 21:24:15 +08:00
yunion-ci-robot
b42ceada76 Merge pull request #3443 from tb365/automated-cherry-pick-of-#3439-upstream-release-2.12
Automated cherry pick of #3439: elb bugfix & aws client init bugfix
2019-11-04 17:12:14 +08:00
Yousong Zhou
9d080e9f37 build: show diffs made by checks 2019-11-04 07:19:37 +00:00
Qiu Jian
8d6f7dbaa6 fix: aliyun eip associate instance ignores IncorrectInstanceStatus error 2019-11-04 14:41:30 +08:00
郑雨
57af89ab29 fix: cancel the merge in service level and resource level of Keystone Policy. 2019-11-04 12:35:52 +08:00
TangBin
14fa2fc258 elb bugfix & aws client init bugfix 2019-11-04 10:59:09 +08:00
yunion-ci-robot
515e293648 Merge pull request #3436 from swordqiu/automated-cherry-pick-of-#3434-upstream-release-2.12
Automated cherry pick of #3434: fix: bucket invalid status due to disabled cloud provider
2019-11-04 10:33:14 +08:00
Qu Xuan
be9a3b5882 fix: 标准镜像version 2019-11-04 10:21:02 +08:00
yunion-ci-robot
d6568c4c37 Merge pull request #3441 from swordqiu/automated-cherry-pick-of-#3440-upstream-release-2.12
Automated cherry pick of #3440: feature: add api to get all allocated addresses of a network
2019-11-04 10:19:13 +08:00
yunion-ci-robot
8cfd1b4d7d Merge pull request #3438 from swordqiu/automated-cherry-pick-of-#3437-upstream-release-2.12
Automated cherry pick of #3437: fix: missing action log for baremetal create and prepare events
2019-11-04 10:16:14 +08:00
Qu Xuan
ce364c72bf fix: 梳理磁盘reset条件 2019-11-04 10:15:05 +08:00
屈轩
7fc5251077 Merge branch 'release/2.12' into automated-cherry-pick-of-#3422-upstream-release-2.12 2019-11-04 10:10:34 +08:00
Qiu Jian
9f0aedf129 feature: add api to get all allocated addresses of a network 2019-11-04 09:45:40 +08:00
Qiu Jian
787c277486 fix: missing action log for baremetal create and prepare events 2019-11-02 19:53:11 +08:00
Qiu Jian
e168467767 fix: bucket invalid status due to disabled cloud provider 2019-11-01 22:13:57 +08:00
Qiu Jian
44f7166ba0 fix: user details add password expiration info 2019-11-01 20:13:20 +08:00
yunion-ci-robot
588a7e412b Merge pull request #3427 from Mjoycarry/automated-cherry-pick-of-#3426-upstream-release-2.12
Automated cherry pick of #3426: feature: add support for rpm build of notify
2019-11-01 13:41:12 +08:00
郑雨
beecc6faf2 feature: add support for rpm build of notify 2019-11-01 13:37:50 +08:00
yunion-ci-robot
d70e229933 Merge pull request #3425 from tb365/automated-cherry-pick-of-#3421-upstream-release-2.12
Automated cherry pick of #3421: redis support 2
2019-11-01 11:33:11 +08:00
Qu Xuan
12334d7dc4 fix: 添加华为云Rds privilege校验 2019-11-01 10:42:57 +08:00
TangBin
72fe3ac8f5 redis support 2 2019-11-01 09:52:15 +08:00
yunion-ci-robot
608b279d0e Merge pull request #3420 from Mjoycarry/automated-cherry-pick-of-#3411-upstream-release-2.12
Automated cherry pick of #3411: 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-31 13:02:11 +08:00
Rain
f28afd6a1e 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-31 12:00:39 +08:00
yunion-ci-robot
52af23afeb Merge pull request #3415 from ioito/automated-cherry-pick-of-#3414-upstream-release-2.12
Automated cherry pick of #3414: fix: avoid create dbinstance without secgroup
2019-10-30 23:42:11 +08:00
Yousong Zhou
4f5797c088 Merge pull request #3409 from swordqiu/automated-cherry-pick-of-#3408-upstream-release-2.12
Automated cherry pick of #3408: feature: support password polices: minimal length, repeat check, password expiration, multi auth failures locks user
2019-10-30 21:57:11 +08:00
Zexi Li
4270cf1459 Merge pull request #3410 from swordqiu/automated-cherry-pick-of-#3407-upstream-release-2.12
Automated cherry pick of #3407: feature: baremetal cronjobs: status probe, fetch bmc logs and report power/themal metrics
2019-10-30 21:56:52 +08:00
yunion-ci-robot
63273a66ef Merge pull request #3416 from ioito/automated-cherry-pick-of-#3412-upstream-release-2.12
Automated cherry pick of #3412: fix: add latitude for huawei cloud
2019-10-30 21:38:11 +08:00
Qu Xuan
7561d83313 add: dbinstance_sku qps,tps and maxconnections 2019-10-30 21:36:31 +08:00
Qu Xuan
b0d75d0877 fix: avoid create dbinstance without secgroup 2019-10-30 21:36:31 +08:00
Qu Xuan
dc52a9414b fix: add latitude for huawei cloud 2019-10-30 21:30:16 +08:00
Qiu Jian
66161f75b9 feature: baremetal cronjobs: status probe, fetch bmc logs and report power/themal metrics 2019-10-30 20:51:42 +08:00
Qiu Jian
2a87d401f3 feature: support password polices: minimal length, repeat check, password expiration, multi auth failures locks user 2019-10-30 20:29:53 +08:00
yunion-ci-robot
f7b544aa74 Merge pull request #3399 from wanyaoqi/automated-cherry-pick-of-#3398-upstream-release-2.12
Automated cherry pick of #3398: change config add log event
2019-10-29 23:41:12 +08:00
Zexi Li
d6260c4b19 Merge pull request #3369 from swordqiu/automated-cherry-pick-of-#3368-upstream-release-2.12
Automated cherry pick of #3368: fix: ilo read logs failure
2019-10-29 11:27:43 +08:00
Zexi Li
d67d787583 Merge pull request #3367 from swordqiu/automated-cherry-pick-of-#3366-upstream-release-2.12
Automated cherry pick of #3366: feature: guest add cdrom_support attribute
2019-10-29 11:27:22 +08:00
yunion-ci-robot
052194e9e5 Merge pull request #3402 from ioito/automated-cherry-pick-of-#3363-upstream-release-2.12
Automated cherry pick of #3363: fix: 避免虚拟机正常磁盘在回收站
2019-10-28 22:15:09 +08:00
yunion-ci-robot
c9a37067a7 Merge pull request #3365 from ioito/automated-cherry-pick-of-#3364-upstream-release-2.12
Automated cherry pick of #3364: fix: realdelete secgroupcache
2019-10-28 22:07:09 +08:00
ioito
887ed77c0f fix: 避免虚拟机正常磁盘在回收站 2019-10-28 21:55:47 +08:00
yunion-ci-robot
78cf572fd7 Merge pull request #3375 from yousong/automated-cherry-pick-of-#3374-upstream-release-2.12
Automated cherry pick of #3374: lb: 创建时校验不通过返回httperrors
2019-10-28 21:44:11 +08:00
yunion-ci-robot
f3fae23de3 Merge pull request #3392 from wanyaoqi/automated-cherry-pick-of-#3391-upstream-release-2.12
Automated cherry pick of #3391: instance snapshot fix
2019-10-28 21:41:10 +08:00
yunion-ci-robot
f8c8595b84 Merge pull request #3394 from wanyaoqi/automated-cherry-pick-of-#3390-upstream-release-2.12
Automated cherry pick of #3390: disk list add manual snapshot count
2019-10-28 21:32:10 +08:00
yunion-ci-robot
4a065a4bd7 Merge pull request #3397 from Mjoycarry/automated-cherry-pick-of-#3380-upstream-release-2.12
Automated cherry pick of #3380: fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project
2019-10-28 21:21:10 +08:00
wanyaoqi
37d221b4cf change config add log event 2019-10-28 21:17:07 +08:00
郑雨
ee35ea3422 fix: local snapshot's ownerId should be same with its disk even if extsnapshot's project has corresponding cloud project 2019-10-28 21:01:55 +08:00
wanyaoqi
f692cf9d71 disk list add manual snapshot count 2019-10-28 20:52:54 +08:00
wanyaoqi
6b398d12e8 instance snapshot fix 2019-10-28 20:48:13 +08:00
yunion-ci-robot
9bbd5e3a33 Merge pull request #3387 from wanyaoqi/automated-cherry-pick-of-#3386-upstream-release-2.12
Automated cherry pick of #3386: support hmp
2019-10-28 20:05:10 +08:00
wanyaoqi
f9cb32013d support hmp 2019-10-28 19:05:34 +08:00
yunion-ci-robot
99c86b461d Merge pull request #3382 from yousong/automated-cherry-pick-of-#3381-upstream-release-2.12
Automated cherry pick of #3381: .circleci: yunionio/onecloud-ci: bump golang version to 1.13.3
2019-10-28 15:41:08 +08:00
Yousong Zhou
5d4010f527 goimports: first run 2019-10-28 06:27:08 +00:00
Yousong Zhou
a69a1c5001 build: add goimports-check 2019-10-28 06:26:14 +00:00
Yousong Zhou
f666dbaad4 .circleci: use yunionio/onecloud-ci:v1.0.3 2019-10-28 06:26:14 +00:00
Yousong Zhou
5adf743317 .circleci: yunionio/onecloud-ci: bundle custom goimports 2019-10-28 06:26:14 +00:00
Yousong Zhou
4f2c83b756 .circleci: yunionio/onecloud-ci: run as user "build" 2019-10-28 06:26:14 +00:00
Yousong Zhou
c15e7b7823 .circleci: yunionio/onecloud-ci: bump golang version to 1.13.3 2019-10-28 06:26:14 +00:00
Yousong Zhou
4074599dc8 Merge pull request #3379 from yousong/automated-cherry-pick-of-#3378-upstream-release-2.12
Automated cherry pick of #3378: cloudnet: 重命名样例配置文件
2019-10-28 11:16:06 +08:00
Yousong Zhou
251942c7df cloudnet: 重命名样例配置文件 2019-10-28 03:15:04 +00:00
Yousong Zhou
73d8f7638e cloudcommon: db: 允许普通用户获得pending_deleted字段
Convenient for testing
2019-10-28 02:30:32 +00:00
Yousong Zhou
a2610ec884 lb: 创建时校验不通过返回httperrors 2019-10-28 02:30:32 +00:00
yunion-ci-robot
e957e5ca0b Merge pull request #3373 from swordqiu/automated-cherry-pick-of-#3370-upstream-release-2.12
Automated cherry pick of #3370: fix: host-wire-update param rename
2019-10-28 09:43:11 +08:00
Qiu Jian
97e4d7ffcd fix: hostwire update user network name as wireId 2019-10-27 14:28:44 +08:00
Qiu Jian
07c7b445ee fix: host-wire-update param rename 2019-10-27 14:28:44 +08:00
Qiu Jian
4677b97f7b fix: ilo read logs failure 2019-10-26 12:00:36 +08:00
Qiu Jian
d54354be62 feature: guest add cdrom_support attribute 2019-10-26 10:05:05 +08:00
ioito
2b52e412b2 fix: realdelete secgroupcache 2019-10-25 17:48:45 +08:00
yunion-ci-robot
7d0a5c9610 Merge pull request #3353 from ioito/automated-cherry-pick-of-#3352-upstream-release-2.12
Automated cherry pick of #3352: update vendor
2019-10-25 17:23:07 +08:00
yunion-ci-robot
410fdce557 Merge pull request #3342 from tb365/automated-cherry-pick-of-#3340-upstream-release-2.12
Automated cherry pick of #3340: huawei & qcloud & aws bugfix
2019-10-25 17:01:06 +08:00
ioito
7ae0315987 update vendor 2019-10-25 16:54:31 +08:00
TangBin
226d28e2f7 huawei & qcloud & aws bugfix 2019-10-25 16:13:45 +08:00
Zexi Li
0910ef7808 Merge pull request #3360 from Mjoycarry/automated-cherry-pick-of-#3358-upstream-release-2.12
Automated cherry pick of #3358: 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:37:36 +08:00
Rain
5eac3df8db 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:22:24 +08:00
yunion-ci-robot
81f17cfcf0 Merge pull request #3357 from Mjoycarry/automated-cherry-pick-of-#3355-upstream-release-2.12
Automated cherry pick of #3355: fix: shoule purge snat table and dnat table when sync remove local natgateway; nat rule's 'real_name'.
2019-10-25 12:15:07 +08:00
Rain
817123545d fix: shoule purge snat table and dnat table when sync remove local natgateway; nat rule's 'real_name'. 2019-10-25 12:03:41 +08:00
yunion-ci-robot
4245e978e9 Merge pull request #3351 from ioito/automated-cherry-pick-of-#3179-upstream-release-2.12
Automated cherry pick of #3179: add rds operation
2019-10-24 14:49:06 +08:00
yunion-ci-robot
f556069be1 Merge pull request #3348 from ioito/automated-cherry-pick-of-#3347-upstream-release-2.12
Automated cherry pick of #3347: fix: 更正stoping状态
2019-10-24 14:10:08 +08:00
ioito
d2ac329184 add rds operation 2019-10-24 11:43:10 +08:00
ioito
596648a3d5 fix: 更正stoping状态 2019-10-24 10:50:46 +08:00
yunion-ci-robot
8217fbb763 Merge pull request #3335 from swordqiu/automated-cherry-pick-of-#3332-upstream-release-2.12
Automated cherry pick of #3332: fix: allow multi-guest-dhcp
2019-10-24 10:47:06 +08:00
yunion-ci-robot
a3889775c7 Merge pull request #3344 from ioito/automated-cherry-pick-of-#3343-upstream-release-2.12
Automated cherry pick of #3343: fix: 避免update存储tag信息异常
2019-10-24 07:46:05 +08:00
yunion-ci-robot
33750b586a Merge pull request #3337 from yousong/automated-cherry-pick-of-#3336-upstream-release-2.12
Automated cherry pick of #3336: dns: 添加k8s_skip选项
2019-10-24 07:29:05 +08:00
yunion-ci-robot
0d61d8cc41 Merge pull request #3330 from zexi/automated-cherry-pick-of-#3329-upstream-release-2.12
Automated cherry pick of #3329: baremetal: add cdrom boot schedule
2019-10-24 02:03:06 +08:00
yunion-ci-robot
84033ff4de Merge pull request #3326 from ioito/automated-cherry-pick-of-#3325-upstream-release-2.12
Automated cherry pick of #3325: fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题
2019-10-24 01:55:06 +08:00
yunion-ci-robot
5c86a4dd0f Merge pull request #3310 from wanyaoqi/automated-cherry-pick-of-#3309-upstream-release-2.12
Automated cherry pick of #3309: fix snapshot-list list created_by, migrate add auto-converge
2019-10-24 01:51:06 +08:00
yunion-ci-robot
d0ff19638c Merge pull request #3291 from ioito/automated-cherry-pick-of-#3281-upstream-release-2.12
Automated cherry pick of #3281: feature: 支持预cache secgroup到云上
2019-10-24 01:44:06 +08:00
Qiu Jian
4a4fd158eb fix: allow multi-guest-dhcp 2019-10-24 01:16:31 +08:00
ioito
428e63c182 fix: 避免update存储tag信息异常 2019-10-23 20:53:12 +08:00
Yousong Zhou
9bf04f4296 dns: 添加k8s_skip选项 2019-10-23 08:45:08 +00:00
Zexi Li
120ee83d08 baremetal: add cdrom boot schedule 2019-10-23 11:20:20 +08:00
ioito
c63497dbdf fix: 避免解绑eip更新状态不及时导致再次同步出现public ip问题 2019-10-22 21:57:34 +08:00
yunion-ci-robot
87642fa9ab Merge pull request #3296 from swordqiu/automated-cherry-pick-of-#3295-upstream-release-2.12
Automated cherry pick of #3295: feature: baremetal support iso operation
2019-10-22 21:01:05 +08:00
ioito
48b8cbbe22 feature: 支持预cache secgroup到云上 2019-10-22 19:55:30 +08:00
Zexi Li
6e0a63217d Merge pull request #3322 from zexi/automated-cherry-pick-of-#3321-upstream-release-2.12
Automated cherry pick of #3321: climc: k8s import cluster support
2019-10-22 19:12:21 +08:00
Zexi Li
0ac610e863 climc: k8s import cluster support 2019-10-22 19:06:13 +08:00
yunion-ci-robot
1bf0f8603b Merge pull request #3320 from Mjoycarry/automated-cherry-pick-of-#3317-upstream-release-2.12
Automated cherry pick of #3317: Bugfix: add parameter deepsync to command 'cloud-provider-sync' and 'cloud-account-sync'; fix the bug when syncing eip.
2019-10-22 19:06:05 +08:00
yunion-ci-robot
420fdec354 Merge pull request #3318 from Mjoycarry/automated-cherry-pick-of-#2960-upstream-release-2.12
Automated cherry pick of #2960: feature: guest image create from vm, delete, update, list; create vm from guest image.
2019-10-22 18:35:05 +08:00
Rain
a0c5296020 Bugfix: add parameter deepsync to command 'cloud-provider-sync' and 'cloud-account-sync'; fix the bug when syncing eip. 2019-10-22 18:21:50 +08:00
Rain
793140d5e0 feature: guest image create from vm, delete, update, list; create vm from guest image. 2019-10-22 18:07:17 +08:00
yunion-ci-robot
460b983cb0 Merge pull request #3316 from Mjoycarry/automated-cherry-pick-of-#3314-upstream-release-2.12
Automated cherry pick of #3314: 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 16:05:06 +08:00
Rain
5ff26dc620 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:59:08 +08:00
yunion-ci-robot
2a789d8032 Merge pull request #3313 from Mjoycarry/automated-cherry-pick-of-#3260-upstream-release-2.12
Automated cherry pick of #3260: 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 12:04:06 +08:00
Rain
5d8df48312 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 11:31:19 +08:00
wanyaoqi
883e709ebe fix snapshot-list list created_by, migrate add auto-converge 2019-10-22 11:03:24 +08:00
Qiu Jian
df32ce25bb feature: support fetch baremetal uuid and use uuid to identify baremetal 2019-10-22 10:56:01 +08:00
Qiu Jian
27ff58cc28 feature: baremetal support iso operation 2019-10-22 10:56:00 +08:00
yunion-ci-robot
6a69fe0362 Merge pull request #3302 from ioito/automated-cherry-pick-of-#3301-upstream-release-2.12
Automated cherry pick of #3301: fix: 修复华为云ucloud安全组同步问题
2019-10-22 02:26:05 +08:00
yunion-ci-robot
b8e146ee2a Merge pull request #3306 from zexi/automated-cherry-pick-of-#3305-upstream-release-2.12
Automated cherry pick of #3305: baremetal: cancel password complex check
2019-10-22 02:22:04 +08:00
Zexi Li
50828c28e3 baremetal: cancel password complex check 2019-10-21 15:16:18 +08:00
ioito
017327e846 fix: 修复华为云ucloud安全组同步问题 2019-10-21 11:51:35 +08:00
yunion-ci-robot
f2e801a17d Merge pull request #3300 from swordqiu/automated-cherry-pick-of-#3297-upstream-release-2.12
Automated cherry pick of #3297: fix: esxi change vm instance type always timeout
2019-10-21 09:28:08 +08:00
yunion-ci-robot
7529732670 Merge pull request #3294 from swordqiu/automated-cherry-pick-of-#3292-upstream-release-2.12
Automated cherry pick of #3292: fix: policy support description
2019-10-21 09:27:06 +08:00
Qiu Jian
0a158f5f22 fix: esxi change vm instance type always timeout 2019-10-21 01:30:58 +08:00
Qiu Jian
481b96c3e7 fix: policy support description 2019-10-20 19:02:26 +08:00
yunion-ci-robot
08d9835046 Merge pull request #3269 from wanyaoqi/automated-cherry-pick-of-#3268-upstream-release-2.12
Automated cherry pick of #3268: delete snapshots on delete disk or guest, instance snapshot fix
2019-10-18 21:06:03 +08:00
yunion-ci-robot
edb6cdf0de Merge pull request #3284 from yousong/automated-cherry-pick-of-#3283-upstream-release-2.12
Automated cherry pick of #3283: lbagent: fix listing filter on manager_id
2019-10-18 20:10:05 +08:00
yunion-ci-robot
ac53238936 Merge pull request #3158 from yousong/automated-cherry-pick-of-#2837-upstream-release-2.12
Automated cherry pick of #2837: Feature/yousong cloudnet
2019-10-18 20:02:03 +08:00
yunion-ci-robot
e7a376908c Merge pull request #3288 from tb365/automated-cherry-pick-of-#3287-upstream-release-2.12
Automated cherry pick of #3287: huawei eip disassociate bugfix
2019-10-18 16:13:02 +08:00
TangBin
2e109075c8 huawei eip disassociate bugfix 2019-10-18 15:25:48 +08:00
Yousong Zhou
d263ebefbb lbagent: fix listing filter on manager_id 2019-10-18 06:15:43 +00:00
Yousong Zhou
2b228db0ad vendor 未合并的文件 2019-10-18 03:42:43 +00:00
Yousong Zhou
8e446566ab vendor: make mod 2019-10-18 03:42:43 +00:00
Yousong Zhou
7bc6e26ce4 cloudnet: initial version 2019-10-18 03:42:43 +00:00
Yousong Zhou
2832144c88 ansibleserver: v2 models for exporting more features 2019-10-18 03:42:43 +00:00
Yousong Zhou
48a8cf006e util: ansiblev2: new package for exporting more features 2019-10-18 03:42:43 +00:00
Yousong Zhou
a440e4e4d5 util: ansible: session manager manages runnable 2019-10-18 03:42:43 +00:00
Yousong Zhou
0ad0200290 util: firewalld: new package 2019-10-18 03:42:43 +00:00
Yousong Zhou
a90dc96f9d validators: actor joined by more tests 2019-10-18 03:42:43 +00:00
Yousong Zhou
c8789c32d4 validators: add ValidatorByActor 2019-10-18 03:42:43 +00:00
Yousong Zhou
ba046de7ec validators: add sshkey validator 2019-10-18 03:42:43 +00:00
Yousong Zhou
ba598f1bb3 validators: add string length validator 2019-10-18 03:42:43 +00:00
yunion-ci-robot
0f52e6eff9 Merge pull request #3275 from wanyaoqi/automated-cherry-pick-of-#3270-upstream-release-2.12
Automated cherry pick of #3270: fix reserved memory is zero
2019-10-17 21:32:04 +08:00
Zexi Li
1623daab0e Merge pull request #3280 from zexi/automated-cherry-pick-of-#3278-upstream-release-2.12
Automated cherry pick of #3278: region: fix get disk detail panic
2019-10-17 16:26:09 +08:00
Zexi Li
9648db23eb region: fix get disk detail panic 2019-10-17 16:19:56 +08:00
wanyaoqi
0d3bccc9e7 fix reserved memory is zero 2019-10-17 15:18:17 +08:00
Zexi Li
12c8e31696 Merge pull request #3274 from Mjoycarry/automated-cherry-pick-of-#3235-upstream-release-2.12
Automated cherry pick of #3235: 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 13:34:32 +08:00
Rain
e729de4846 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 13:04:05 +08:00
Zexi Li
de931f2cbc Merge pull request #3272 from zexi/automated-cherry-pick-of-#3271-upstream-release-2.12
Automated cherry pick of #3271: region: capability public network count filter by host type
2019-10-17 12:49:22 +08:00
Zexi Li
53cd722adc region: capability public network count filter by host type 2019-10-17 12:46:26 +08:00
yunion-ci-robot
d5cd197fb1 Merge pull request #3265 from ioito/automated-cherry-pick-of-#3264-upstream-release-2.12
Automated cherry pick of #3264: fix: 避免返回nil, nil
2019-10-16 21:07:01 +08:00
wanyaoqi
b7b95114bb delete snapshots on delete disk or guest, instance snapshot fix 2019-10-16 20:51:05 +08:00
ioito
5c2f833cde fix: 避免返回nil, nil 2019-10-16 18:12:46 +08:00
yunion-ci-robot
917e689e9e Merge pull request #3263 from swordqiu/automated-cherry-pick-of-#3115-upstream-release-2.12
Automated cherry pick of #3115: redfish api support
2019-10-16 16:07:01 +08:00
Qiu Jian
260dd061a7 add doc and copyright 2019-10-16 15:20:14 +08:00
Qiu Jian
2cf6ed5d51 redfish api support 2019-10-16 15:20:13 +08:00
yunion-ci-robot
0615430778 Merge pull request #3258 from ioito/automated-cherry-pick-of-#3257-upstream-release-2.12
Automated cherry pick of #3257: optimized: 优化安全组规则,支持逗号分隔的规则
2019-10-16 15:09:02 +08:00
ioito
fe1cda072b optimized: 优化安全组规则,支持逗号分隔的规则 2019-10-16 12:51:17 +08:00
Zexi Li
3296bc5bf6 Merge pull request #3256 from zexi/automated-cherry-pick-of-#3253-upstream-release-2.12
Automated cherry pick of #3253: baremetal: fix stop task hang
2019-10-16 11:51:14 +08:00
Zexi Li
fc32e6ef8d baremetal: fix stop task hang 2019-10-16 11:50:01 +08:00
yunion-ci-robot
b963b27a22 Merge pull request #3250 from ioito/automated-cherry-pick-of-#3187-upstream-release-2.12
Automated cherry pick of #3187: fix: 创建云账号时指定tenant生效
2019-10-16 01:01:00 +08:00
ioito
bde74cb23b optimized cloud account create 2019-10-15 22:01:39 +08:00
ioito
b64543f325 fix: 创建云账号时指定tenant生效 2019-10-15 22:01:39 +08:00
yunion-ci-robot
53cd44609c Merge pull request #3246 from wanyaoqi/automated-cherry-pick-of-#3230-upstream-release-2.12
Automated cherry pick of #3230: gpu mutil attach by model type, fix network hint name
2019-10-15 21:50:02 +08:00
yunion-ci-robot
4621180a4c Merge pull request #3232 from ioito/automated-cherry-pick-of-#3231-upstream-release-2.12
Automated cherry pick of #3231: fix: 避免删除azure失败
2019-10-15 21:49:01 +08:00
yunion-ci-robot
077b5ec5e4 Merge pull request #3243 from Mjoycarry/automated-cherry-pick-of-#3241-upstream-release-2.12
Automated cherry pick of #3241: fix: the input parameters is wrong when create snapshotpolicy with repeatweekday Sunday for qcloud.
2019-10-15 21:45:01 +08:00
yunion-ci-robot
c1ede13adb Merge pull request #3249 from tb365/automated-cherry-pick-of-#3240-upstream-release-2.12
Automated cherry pick of #3240: qcloud elb bugfix
2019-10-15 21:44:02 +08:00
wanyaoqi
71edb16174 gpu mutil attach by model type, fix network hint name 2019-10-15 20:53:39 +08:00
TangBin
27d8c1b5b9 attach disk wait sucess 2019-10-15 20:34:44 +08:00
TangBin
6b54ec8e47 qcloud elb bugfix 2019-10-15 20:34:44 +08:00
Rain
281eeee914 fix: the input parameters is wrong when create snapshotpolicy with repeatweekday Sunday for qcloud. 2019-10-15 19:47:42 +08:00
Zexi Li
8a26dfc59e Merge pull request #3237 from zexi/automated-cherry-pick-of-#3236-upstream-release-2.12
Automated cherry pick of #3236: scheduler: adjust skip network filter condition
2019-10-15 16:23:37 +08:00
Zexi Li
8c29e6f5cd scheduler: adjust skip network filter condition 2019-10-15 16:22:26 +08:00
yunion-ci-robot
0260e8f9e5 Merge pull request #3222 from swordqiu/automated-cherry-pick-of-#3220-upstream-release-2.12
Automated cherry pick of #3220: fix: azure ListObject should skip current folder
2019-10-15 16:15:03 +08:00
yunion-ci-robot
b19d0e6e98 Merge pull request #3227 from ioito/automated-cherry-pick-of-#3189-upstream-release-2.12
Automated cherry pick of #3189: fix: openstack上传镜像时也指定os_type及额外信息
2019-10-15 16:13:02 +08:00
yunion-ci-robot
8763b855e3 Merge pull request #3223 from wanyaoqi/automated-cherry-pick-of-#2983-upstream-release-2.12
Automated cherry pick of #2983: - instance snapshot
2019-10-15 16:10:02 +08:00
ioito
0d47996cfd fix: 避免删除azure失败 2019-10-15 15:16:39 +08:00
ioito
7dacb0609d fix: openstack上传镜像时也指定os_type及额外信息 2019-10-15 10:42:09 +08:00
yunion-ci-robot
37b29b82b6 Merge pull request #3226 from Mjoycarry/automated-cherry-pick-of-#3224-upstream-release-2.12
Automated cherry pick of #3224: fix: Should not leave groups in SGuest.RealDelete; SGuest.LeaveAllGroups will be call in purge and guest_delete_task.
2019-10-14 21:41:01 +08:00
wanyaoqi
91ad83c3ac - instance snapshot
- instance clone

- create form snapshot don't reset passwd
2019-10-14 21:37:50 +08:00
Rain
5087dcbeed fix: Should not leave groups in SGuest.RealDelete; SGuest.LeaveAllGroups will be call in purge and guest_delete_task. 2019-10-14 21:32:37 +08:00
Qiu Jian
7b87675289 fix: azure ListObject should skip current folder 2019-10-14 20:10:19 +08:00
yunion-ci-robot
eb9b945227 Merge pull request #3218 from swordqiu/automated-cherry-pick-of-#3216-upstream-release-2.12
Automated cherry pick of #3216: fix: recover can_update field and add update_fail_reason field
2019-10-14 17:57:02 +08:00
yunion-ci-robot
22bb16cc22 Merge pull request #3215 from swordqiu/automated-cherry-pick-of-#3213-upstream-release-2.12
Automated cherry pick of #3213: fix: aliyun bucket sync cancel local limit
2019-10-14 17:56:04 +08:00
yunion-ci-robot
3a0d25a52c Merge pull request #3212 from swordqiu/automated-cherry-pick-of-#3210-upstream-release-2.12
Automated cherry pick of #3210: fix: azure blob storage empty blob error
2019-10-14 17:55:00 +08:00
yunion-ci-robot
ef4dc12c49 Merge pull request #3206 from ioito/automated-cherry-pick-of-#3205-upstream-release-2.12
Automated cherry pick of #3205: fix: 返回网卡所在的网络名称信息
2019-10-14 16:44:01 +08:00
Qiu Jian
06ee0b7d52 fix: recover can_update field and add update_fail_reason field 2019-10-14 16:25:57 +08:00
Qiu Jian
5a2102acfd fix: azure blob storage empty blob error 2019-10-14 15:59:47 +08:00
Qiu Jian
61d5829a8c fix: aliyun bucket sync cancel local limit 2019-10-14 15:52:00 +08:00
yunion-ci-robot
e6e7fdb9e5 Merge pull request #3209 from Mjoycarry/automated-cherry-pick-of-#3127-upstream-release-2.12
Automated cherry pick of #3127: fix
2019-10-14 12:46:41 +08:00
yunion-ci-robot
ca8314fcd8 Merge pull request #3197 from ioito/automated-cherry-pick-of-#3195-upstream-release-2.12
Automated cherry pick of #3195: fix: 避免部分套餐无法列出
2019-10-14 12:05:41 +08:00
yunion-ci-robot
0d8a05f8fd Merge pull request #3178 from tb365/automated-cherry-pick-of-#3161-upstream-release-2.12
Automated cherry pick of #3161: loadbalancer cache create api
2019-10-14 12:04:39 +08:00
yunion-ci-robot
2d17fba2c4 Merge pull request #3201 from tb365/automated-cherry-pick-of-#3200-upstream-release-2.12
Automated cherry pick of #3200: huawei & aws bugfix
2019-10-14 11:58:44 +08:00
Rain
1b17103268 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:33:18 +08:00
yunion-ci-robot
71041cfb84 Merge pull request #3191 from ioito/automated-cherry-pick-of-#3190-upstream-release-2.12
Automated cherry pick of #3190: fix: 创建相同配置时返回正确的eip信息
2019-10-14 07:41:41 +08:00
yunion-ci-robot
4295fda2bd Merge pull request #3181 from ioito/automated-cherry-pick-of-#3180-upstream-release-2.12
Automated cherry pick of #3180: fix: 避免公有云账号统计虚拟的host数量
2019-10-14 07:40:41 +08:00
yunion-ci-robot
a3c9c4c97b Merge pull request #3194 from wanyaoqi/automated-cherry-pick-of-#3188-upstream-release-2.12
Automated cherry pick of #3188: fix dirty server start, disk format empty
2019-10-12 19:46:40 +08:00
ioito
84ec665d76 fix: 返回网卡所在的网络名称信息 2019-10-12 19:19:16 +08:00
TangBin
642ec2a2a3 add loadblancer acl&cert cached api docs 2019-10-12 19:18:07 +08:00
TangBin
d1f80c192d loadbalancer cache create api 2019-10-12 19:17:02 +08:00
TangBin
4e23d7c310 huawei & aws bugfix 2019-10-12 18:06:43 +08:00
wanyaoqi
d2148a4b6f fix qemu args 2019-10-12 17:43:27 +08:00
ioito
d201aeb06a fix: 避免部分套餐无法列出 2019-10-12 17:39:20 +08:00
wanyaoqi
acde1529a6 add user cache 2019-10-12 17:37:38 +08:00
wanyaoqi
1c0ca8171b - sanpshot add expire time - fix image probe iso cause iso md5 changed - add loadbalancer cluster distinct field 2019-10-12 17:37:38 +08:00
wanyaoqi
0b00c3fab6 fix dirty server start, disk format empty 2019-10-12 17:37:38 +08:00
ioito
20ceac1c23 fix: 创建相同配置时返回正确的eip信息 2019-10-12 16:52:12 +08:00
Zexi Li
6148eedffd Merge pull request #3185 from zexi/automated-cherry-pick-of-#3184-upstream-release-2.12
Automated cherry pick of #3184: keystone: endpoint list by service
2019-10-12 12:49:46 +08:00
Zexi Li
3ae7ed10ec keystone: endpoint list by service 2019-10-12 12:48:59 +08:00
ioito
9b7f42d096 fix: 避免公有云账号统计虚拟的host数量 2019-10-12 11:43:15 +08:00
yunion-ci-robot
042cc53bf8 Merge pull request #3159 from wanyaoqi/automated-cherry-pick-of-#3147-upstream-release-2.12
Automated cherry pick of #3147: feature:
2019-10-12 11:25:40 +08:00
yunion-ci-robot
f9a5da49eb Merge pull request #3149 from zexi/automated-cherry-pick-of-#3148-upstream-release-2.12
Automated cherry pick of #3148: region: support list wire by host
2019-10-12 10:09:39 +08:00
yunion-ci-robot
06b8882697 Merge pull request #3155 from yousong/automated-cherry-pick-of-#3154-upstream-release-2.12
Automated cherry pick of #3154: ansibleserver: enable tenant/user cache manager
2019-10-12 10:07:41 +08:00
yunion-ci-robot
60c412a1eb Merge pull request #3174 from yousong/automated-cherry-pick-of-#3173-upstream-release-2.12
Automated cherry pick of #3173: hostman: system_service: add IsEnabled() support
2019-10-12 10:04:39 +08:00
yunion-ci-robot
1366c64b3f Merge pull request #3172 from swordqiu/automated-cherry-pick-of-#3169-upstream-release-2.12
Automated cherry pick of #3169: fix: string2scope ignore user scope
2019-10-12 00:02:39 +08:00
yunion-ci-robot
62c1df5bd1 Merge pull request #3164 from swordqiu/automated-cherry-pick-of-#3162-upstream-release-2.12
Automated cherry pick of #3162: fix: show delele fail reason if cannot delete a resource
2019-10-12 00:01:39 +08:00
Yousong Zhou
dee6fa9d2d hostman: ensure openvswitch won't automatically start at boot 2019-10-11 15:58:27 +00:00
Yousong Zhou
8307490468 hostman: system_service: add IsEnabled() support 2019-10-11 15:58:27 +00:00
yunion-ci-robot
436945ab97 Merge pull request #3168 from swordqiu/automated-cherry-pick-of-#3165-upstream-release-2.12
Automated cherry pick of #3165: fix: skip services without project resources when fetching project resources
2019-10-11 23:52:44 +08:00
Qiu Jian
715f00bf50 fix: string2scope ignore user scope 2019-10-11 22:13:23 +08:00
yunion-ci-robot
8b154116bc Merge pull request #3105 from ioito/automated-cherry-pick-of-#3102-upstream-release-2.12
Automated cherry pick of #3102: fix: network支持多个zone过滤
2019-10-11 14:53:38 +08:00
yunion-ci-robot
ca5c6195ff Merge pull request #3139 from swordqiu/automated-cherry-pick-of-#3136-upstream-release-2.12
Automated cherry pick of #3136: fix: guest create eip quota check use owner quota
2019-10-11 14:45:39 +08:00
Qiu Jian
0ec1715ff1 fix: skip services without project resources when fetching project resources 2019-10-11 08:56:57 +08:00
Qiu Jian
694c3ce9e1 fix: show delele fail reason if cannot delete a resource 2019-10-10 21:54:36 +08:00
yunion-ci-robot
562dae99b0 Merge pull request #3151 from yousong/automated-cherry-pick-of-#3150-upstream-release-2.12
Automated cherry pick of #3150: hostman: ovs: implement PersistentMAC()
2019-10-10 19:29:40 +08:00
wanyaoqi
0bab056932 feature:
- postpaid server support expire
- extend distinct tenant filed
- gpu batch perform action
2019-10-10 18:17:01 +08:00
Yousong Zhou
5dd1bc3544 ansibleserver: enable tenant/user cache manager 2019-10-10 08:11:08 +00:00
Yousong Zhou
df85851720 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 08:07:02 +00:00
Zexi Li
517801e8c1 region: support list wire by host 2019-10-10 14:35:13 +08:00
Zexi Li
1d9aedc024 Merge pull request #3140 from Mjoycarry/automated-cherry-pick-of-#3132-upstream-release-2.12
Automated cherry pick of #3132: guest persion
2019-10-10 10:51:44 +08:00
Zexi Li
9b1e07ae86 Merge pull request #3144 from zexi/automated-cherry-pick-of-#3141-upstream-release-2.12
Automated cherry pick of #3141: fix: scheduler specfied network no errors
2019-10-09 21:12:00 +08:00
Zexi Li
a090f64600 fix: scheduler specfied network no errors 2019-10-09 21:11:30 +08:00
Rain
b7a76f7288 guest persion 2019-10-09 20:54:19 +08:00
Qiu Jian
edb7c43448 fix: guest create eip quota check use owner quota 2019-10-09 17:39:27 +08:00
yunion-ci-robot
44f66281b3 Merge pull request #3065 from ioito/automated-cherry-pick-of-#3064-upstream-release-2.12
Automated cherry pick of #3064: add: 支持创建安全组时同时创建规则
2019-10-09 17:26:37 +08:00
yunion-ci-robot
8e410d16d3 Merge pull request #3131 from tb365/automated-cherry-pick-of-#3110-upstream-release-2.12
Automated cherry pick of #3110: loadbalancer bugfix
2019-10-09 17:24:38 +08:00
TangBin
b4ecbee699 huawei & qcloud elb bugfix 2019-10-09 16:02:57 +08:00
TangBin
a409833d93 loadbalancer bugfix 2019-10-09 16:02:57 +08:00
yunion-ci-robot
5dcc69c93d Merge pull request #3134 from zexi/automated-cherry-pick-of-#3133-upstream-release-2.12
Automated cherry pick of #3133: fix: services model incorrect nullable define
2019-10-08 23:21:37 +08:00
Zexi Li
11bc63fbd0 fix: services model incorrect nullable define 2019-10-08 22:24:07 +08:00
Zexi Li
408a4e4cc8 Merge pull request #3126 from Mjoycarry/automated-cherry-pick-of-#3026-upstream-release-2.12
Automated cherry pick of #3026: nat_docs fix
2019-10-08 10:42:27 +08:00
Rain
260993906b nat_docs fix 2019-10-08 10:40:03 +08:00
yunion-ci-robot
4bb36e5262 Merge pull request #3122 from zexi/automated-cherry-pick-of-#3121-upstream-release-2.12
Automated cherry pick of #3121: scheduler: fix random network domain not matched
2019-10-07 12:58:36 +08:00
Zexi Li
cd3b64425f scheduler: fix random network domain not matched 2019-10-07 12:05:50 +08:00
yunion-ci-robot
055e4d5076 Merge pull request #3120 from zexi/automated-cherry-pick-of-#3117-upstream-release-2.12
Automated cherry pick of #3117: scheduler: set random network filter default scope domain
2019-10-06 23:55:35 +08:00
Zexi Li
1c157f14be scheduler: set random network filter default scope domain 2019-10-06 10:36:14 +08:00
yunion-ci-robot
200469c4b3 Merge pull request #3114 from swordqiu/automated-cherry-pick-of-#3111-upstream-release-2.12
Automated cherry pick of #3111: fix: snapsho realdelete nil pointer panic
2019-10-05 07:37:34 +08:00
yunion-ci-robot
c82d847edf Merge pull request #3104 from ioito/automated-cherry-pick-of-#3096-upstream-release-2.12
Automated cherry pick of #3096: fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks
2019-10-05 07:33:34 +08:00
yunion-ci-robot
1d9b1acdbd Merge pull request #3103 from ioito/automated-cherry-pick-of-#3086-upstream-release-2.12
Automated cherry pick of #3086: feature: 支持名称重复数据
2019-10-04 01:11:33 +08:00
Qiu Jian
2b3c3856b3 fix: snapsho realdelete nil pointer panic 2019-10-04 00:13:06 +08:00
yunion-ci-robot
008829686e Merge pull request #3109 from swordqiu/automated-cherry-pick-of-#3106-upstream-release-2.12
Automated cherry pick of #3106: fix: server-create allow create server with empty disk
2019-09-29 19:33:32 +08:00
Qiu Jian
a6768fae9c fix: server-create allow create server with empty disk 2019-09-29 17:23:59 +08:00
ioito
8ca737311b fix: network支持多个zone过滤 2019-09-29 16:10:12 +08:00
Zexi Li
6931d596ba Merge pull request #3099 from zexi/automated-cherry-pick-of-#3098-upstream-release-2.12
Automated cherry pick of #3098: scheduler: refactor network_predicate filter
2019-09-29 13:17:04 +08:00
ioito
43c8559d59 fix: 添加vpc usable过滤参数,过滤cloudprovider异常的networks 2019-09-28 20:40:27 +08:00
ioito
6d036d88bd feature: 支持名称重复数据 2019-09-28 20:39:38 +08:00
Zexi Li
17e3049086 scheduler: refactor network_predicate filter 2019-09-28 18:28:58 +08:00
yunion-ci-robot
cef42d245f Merge pull request #3094 from swordqiu/automated-cherry-pick-of-#3091-upstream-release-2.12
Automated cherry pick of #3091: fix: reduce policy sync worker queue size
2019-09-28 11:31:33 +08:00
yunion-ci-robot
8b56069b7c Merge pull request #3088 from wanyaoqi/automated-cherry-pick-of-#3087-upstream-release-2.12
Automated cherry pick of #3087: fix snaphot task complete
2019-09-28 10:49:31 +08:00
Qiu Jian
2f7915344a fix: reduce policy sync worker queue size 2019-09-27 23:04:51 +08:00
wanyaoqi
c82d69bcdf fix snaphot task complete 2019-09-27 19:17:12 +08:00
Zexi Li
d5816f1f37 Merge pull request #3084 from zexi/automated-cherry-pick-of-#3082-upstream-release-2.12
Automated cherry pick of #3082: apigateway: fix forbidden login prompt format
2019-09-27 15:53:46 +08:00
Zexi Li
4fe247db1a apigateway: fix forbidden login prompt format 2019-09-27 15:52:55 +08:00
Zexi Li
4f0a0a3aab Merge pull request #3081 from Mjoycarry/automated-cherry-pick-of-#3080-upstream-release-2.12
Automated cherry pick of #3080: fix
2019-09-27 14:24:37 +08:00
Rain
ef95b72033 fix 2019-09-27 14:20:13 +08:00
yunion-ci-robot
16152a2b6d Merge pull request #3061 from yousong/automated-cherry-pick-of-#3059-upstream-release-2.12
Automated cherry pick of #3059: guestnetworks: IsExit()减少一次数据库查询
2019-09-27 08:51:30 +08:00
yunion-ci-robot
7be48ec7be Merge pull request #3068 from wanyaoqi/automated-cherry-pick-of-#3067-upstream-release-2.12
Automated cherry pick of #3067: snapshot move to recycle bin
2019-09-27 08:50:31 +08:00
yunion-ci-robot
60b3bce87d Merge pull request #3072 from wanyaoqi/automated-cherry-pick-of-#3071-upstream-release-2.12
Automated cherry pick of #3071: windows format fs fast
2019-09-27 08:49:29 +08:00
yunion-ci-robot
24a84fca8e Merge pull request #3057 from ioito/automated-cherry-pick-of-#3056-upstream-release-2.12
Automated cherry pick of #3056: fix: typo
2019-09-26 23:36:33 +08:00
wanyaoqi
2cf05b3ac2 windows format fs fast 2019-09-26 22:57:00 +08:00
yunion-ci-robot
dc8370e1d5 Merge pull request #3055 from swordqiu/automated-cherry-pick-of-#3053-upstream-release-2.12
Automated cherry pick of #3053: fix: missing region in cookie cause no service catalog fetched
2019-09-26 22:49:30 +08:00
yunion-ci-robot
6520ce194b Merge pull request #3050 from swordqiu/automated-cherry-pick-of-#3046-upstream-release-2.12
Automated cherry pick of #3046: fix: keystone panic on invalid auth token
2019-09-26 22:47:29 +08:00
wanyaoqi
0f05e44295 snapshot move to recycle bin 2019-09-26 22:34:07 +08:00
ioito
58aef2030e add: 支持创建安全组时同时创建规则 2019-09-26 18:06:03 +08:00
Yousong Zhou
7b0131f13a guests: list details with nics details 2019-09-26 04:45:33 +00:00
Yousong Zhou
f96be2fe0a guestnetworks: IsExit()减少一次数据库查询 2019-09-26 04:45:33 +00:00
ioito
7344d22320 fix: typo 2019-09-26 11:13:33 +08:00
yunion-ci-robot
35a4ff408e Merge pull request #3040 from yousong/automated-cherry-pick-of-#3039-upstream-release-2.12
Automated cherry pick of #3039: lbagents: 添加部署和下线操作记录
2019-09-25 21:21:29 +08:00
Qiu Jian
2bcaa0d7d0 fix: missing region in cookie cause no service catalog fetched 2019-09-25 21:16:42 +08:00
Qiu Jian
1b1cb29ade fix: keystone panic on invalid auth token 2019-09-25 21:04:29 +08:00
Zexi Li
841b26e683 Merge pull request #3052 from Mjoycarry/automated-cherry-pick-of-#3051-upstream-release-2.12
Automated cherry pick of #3051: fix cron
2019-09-25 18:01:08 +08:00
Rain
495821b3f7 fix cron 2019-09-25 17:58:46 +08:00
yunion-ci-robot
d610580f9c Merge pull request #3048 from Mjoycarry/automated-cherry-pick-of-#3021-upstream-release-2.12
Automated cherry pick of #3021: support Secondary authority management for contact and notification rpc=>grpc, go=>workerMan
2019-09-25 17:43:29 +08:00
Rain
47fb8b6f3d support Secondary authority management for contact and notification rpc=>grpc, go=>workerMan
pull dingtalk auto

grpc
2019-09-25 17:40:32 +08:00
yunion-ci-robot
ab1e7d85d7 Merge pull request #3044 from wanyaoqi/automated-cherry-pick-of-#3043-upstream-release-2.12
Automated cherry pick of #3043: fix host init cronjob
2019-09-25 16:30:31 +08:00
wanyaoqi
e3c7afcd84 fix host init cronjob 2019-09-25 16:22:31 +08:00
yunion-ci-robot
57e21839a0 Merge pull request #3036 from ioito/automated-cherry-pick-of-#3035-upstream-release-2.12
Automated cherry pick of #3035: add: lb vpc info
2019-09-25 13:29:29 +08:00
Yousong Zhou
f48ede5a3a lbagents: 添加部署和下线操作记录 2019-09-25 05:27:27 +00:00
ioito
5bd5c230ad add: lb vpc info 2019-09-25 11:48:59 +08:00
yunion-ci-robot
480d26f98d Merge pull request #3032 from swordqiu/automated-cherry-pick-of-#3030-upstream-release-2.12
Automated cherry pick of #3030: fix: disable cas idp not working
2019-09-25 10:03:31 +08:00
yunion-ci-robot
6dac67b47d Merge pull request #3033 from wanyaoqi/automated-cherry-pick-of-#3023-upstream-release-2.12
Automated cherry pick of #3023: fix add cronjob validate times
2019-09-24 20:55:29 +08:00
yunion-ci-robot
ba683679ba Merge pull request #3028 from ioito/automated-cherry-pick-of-#3027-upstream-release-2.12
Automated cherry pick of #3027: fix: 避免监听未设置manager_id
2019-09-24 20:54:32 +08:00
yunion-ci-robot
3992a097f9 Merge pull request #3017 from wanyaoqi/automated-cherry-pick-of-#3004-upstream-release-2.12
Automated cherry pick of #3004: fix rbd disk delete rebuild root with snapshot
2019-09-24 20:50:31 +08:00
wanyaoqi
159b6a0b87 fix add cronjob validate times 2019-09-24 20:22:42 +08:00
yunion-ci-robot
3068074a92 Merge pull request #3024 from wanyaoqi/automated-cherry-pick-of-#3023-upstream-release-2.12
Automated cherry pick of #3023: fix add cronjob validate times
2019-09-24 20:15:28 +08:00
ioito
e6fa258e88 add: error log trace 2019-09-24 19:58:22 +08:00
ioito
b7aac9628d fix: 避免监听未设置manager_id 2019-09-24 19:58:22 +08:00
Qiu Jian
c779c872b6 fix: disable cas idp not working 2019-09-24 19:52:30 +08:00
wanyaoqi
511774dfd2 fix add cronjob validate times 2019-09-24 18:51:09 +08:00
yunion-ci-robot
bb5b39c644 Merge pull request #3011 from yousong/automated-cherry-pick-of-#3009-upstream-release-2.12
Automated cherry pick of #3009: ansibleserver: 避免数据库故障引起内部状态不一致
2019-09-24 00:50:29 +08:00
yunion-ci-robot
c1f037833e Merge pull request #3014 from yousong/automated-cherry-pick-of-#3010-upstream-release-2.12
Automated cherry pick of #3010: lbagents: 禁止在公有云、托管物理机上部署
2019-09-24 00:48:29 +08:00
wanyaoqi
03d5ba2cbd fix rbd disk delete rebuild root with snapshot 2019-09-23 20:58:08 +08:00
Yousong Zhou
9beefd5544 lbagents: 禁止在公有云、托管物理机上部署 2019-09-23 11:45:13 +00:00
Yousong Zhou
d9176b4329 ansibleserver: 避免数据库故障引起内部状态不一致 2019-09-23 11:43:31 +00:00
yunion-ci-robot
0e930a36fd Merge pull request #3008 from swordqiu/automated-cherry-pick-of-#3005-upstream-release-2.12
Automated cherry pick of #3005: fix: tenant filter fail to work
2019-09-21 20:43:26 +08:00
Qiu Jian
d8f62b1036 fix: tenant filter fail to work 2019-09-21 20:40:32 +08:00
yunion-ci-robot
37a589ab0e Merge pull request #2997 from swordqiu/automated-cherry-pick-of-#2994-upstream-release-2.12
Automated cherry pick of #2994: fix: fail to search opslog by obj_name
2019-09-19 22:01:26 +08:00
yunion-ci-robot
1093745763 Merge pull request #3001 from swordqiu/automated-cherry-pick-of-#2998-upstream-release-2.12
Automated cherry pick of #2998: fix: adjust default process timeout to 1 minute (previously 15 seconds)
2019-09-19 22:00:29 +08:00
yunion-ci-robot
78a1b58829 Merge pull request #2979 from swordqiu/automated-cherry-pick-of-#2965-upstream-release-2.12
Automated cherry pick of #2965: feature: support xsky object storage
2019-09-19 21:59:26 +08:00
yunion-ci-robot
ccb507f340 Merge pull request #2982 from swordqiu/automated-cherry-pick-of-#2980-upstream-release-2.12
Automated cherry pick of #2980: feature: keystone v3 auth response carry user's displayname/email/mobile
2019-09-19 21:40:26 +08:00
yunion-ci-robot
12783e8cf8 Merge pull request #2991 from wanyaoqi/automated-cherry-pick-of-#2988-upstream-release-2.12
Automated cherry pick of #2988: cronjob support remove
2019-09-19 21:31:24 +08:00
yunion-ci-robot
ba25500228 Merge pull request #2962 from wanyaoqi/automated-cherry-pick-of-#2956-upstream-release-2.12
Automated cherry pick of #2956: misc fix
2019-09-19 21:19:27 +08:00
Qiu Jian
5e077ab41f fix: status check before accessing external bucket 2019-09-19 21:16:03 +08:00
Qiu Jian
07a3220ce4 fix: cloud-account-create-xsky nil pointer error 2019-09-19 21:16:03 +08:00
Qiu Jian
3e448e6e7b feature: add climc cloud-account-create-xsky 2019-09-19 21:16:03 +08:00
Qiu Jian
d0c4da8911 update doc and copyright 2019-09-19 21:16:03 +08:00
Qiu Jian
61efcc999f update vendor 2019-09-19 21:16:03 +08:00
Qiu Jian
53bfdb9a00 feature: support xsky object storage 2019-09-19 21:16:03 +08:00
yunion-ci-robot
2bbf365d6d Merge pull request #2985 from yousong/automated-cherry-pick-of-#2984-upstream-release-2.12
Automated cherry pick of #2984: lbbackends: 改进错误信息传递
2019-09-19 21:12:27 +08:00
Qiu Jian
2f02c4080c fix: adjust default process timeout to 1 minute (previously 15 seconds) 2019-09-19 21:08:59 +08:00
Qiu Jian
95123e6855 fix: fail to search opslog by obj_name 2019-09-19 21:03:47 +08:00
wanyaoqi
6231e28916 cronjob support remove 2019-09-19 20:07:39 +08:00
Yousong Zhou
151fde353e lbbackends: 改进错误信息传递 2019-09-19 10:39:40 +00:00
Qiu Jian
537e274773 feature: keystone v3 auth response carry user's displayname/email/mobile 2019-09-19 00:05:15 +08:00
yunion-ci-robot
1634fcc97a Merge pull request #2976 from yousong/automated-cherry-pick-of-#2975-upstream-release-2.12
Automated cherry pick of #2975: lblistener: 改正监听update
2019-09-18 23:44:25 +08:00
yunion-ci-robot
8e52cf97e0 Merge pull request #2972 from yousong/automated-cherry-pick-of-#2971-upstream-release-2.12
Automated cherry pick of #2971: validators: 应对"listener"参数被重复Validate的情况
2019-09-18 23:43:27 +08:00
Yousong Zhou
c9199e463b lblistener: 改正监听update
Fixes e4ef23515f ("aws elb support")
2019-09-18 12:21:46 +00:00
Yousong Zhou
381f04b948 validators: 应对"listener"参数被重复Validate的情况
Fixes e4ef23515f ("aws elb support")
2019-09-18 07:36:26 +00:00
yunion-ci-robot
fa3eaf82c5 Merge pull request #2969 from swordqiu/automated-cherry-pick-of-#2966-upstream-release-2.12
Automated cherry pick of #2966: fix: missing log audit for updating cloudaccount account credential
2019-09-18 11:31:25 +08:00
yunion-ci-robot
0c373551b9 Merge pull request #2958 from ioito/automated-cherry-pick-of-#2957-upstream-release-2.12
Automated cherry pick of #2957: fix: 添加弹性网卡过滤参数
2019-09-18 11:30:26 +08:00
yunion-ci-robot
d0d6d3b4b0 Merge pull request #2955 from swordqiu/automated-cherry-pick-of-#2952-upstream-release-2.12
Automated cherry pick of #2952: fix: Table 'yunionlogger.users_cache_tbl' doesn't exist
2019-09-18 11:28:25 +08:00
Qiu Jian
c7acfd029d fix: missing log audit for updating cloudaccount account credential 2019-09-18 00:20:29 +08:00
wanyaoqi
34bb1b30af misc fix
- optimize batch create validate
2019-09-17 18:49:16 +08:00
ioito
98077179ab fix: 添加弹性网卡过滤参数 2019-09-17 14:52:11 +08:00
Qiu Jian
96fdffdd78 fix: Table 'yunionlogger.users_cache_tbl' doesn't exist 2019-09-17 13:12:31 +08:00
yunion-ci-robot
0edbe32117 Merge pull request #2949 from ioito/automated-cherry-pick-of-#2948-upstream-release-2.12
Automated cherry pick of #2948: fix: 避免make mod时异常
2019-09-17 13:07:24 +08:00
ioito
7c1bf04935 fix: 避免make mod时异常 2019-09-17 12:30:53 +08:00
yunion-ci-robot
c755aa74e3 Merge pull request #2945 from ioito/automated-cherry-pick-of-#2944-upstream-release-2.12
Automated cherry pick of #2944: fix: 避免zstack高可用关机失效问题
2019-09-17 11:55:24 +08:00
ioito
032256314a fix: 避免zstack高可用关机失效问题 2019-09-17 11:32:18 +08:00
yunion-ci-robot
0f4caabe06 Merge pull request #2943 from swordqiu/automated-cherry-pick-of-#2940-upstream-release-2.12
Automated cherry pick of #2940: fix: fail to delete disconnected cloudaccount
2019-09-17 08:48:25 +08:00
yunion-ci-robot
73ae486c21 Merge pull request #2939 from swordqiu/automated-cherry-pick-of-#2936-upstream-release-2.12
Automated cherry pick of #2936: 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-17 08:47:25 +08:00
Qiu Jian
501d7ceb93 fix: fail to delete disconnected cloudaccount 2019-09-17 01:45:10 +08:00
yunion-ci-robot
3da5d0746c Merge pull request #2917 from wanyaoqi/automated-cherry-pick-of-#2912-upstream-release-2.12
Automated cherry pick of #2912: fix init listen interface
2019-09-17 00:15:24 +08:00
yunion-ci-robot
a3c9de260c Merge pull request #2933 from yousong/automated-cherry-pick-of-#2932-upstream-release-2.12
Automated cherry pick of #2932: lbagents: deploy: check existence of pbId before create/update
2019-09-17 00:12:23 +08:00
Qiu Jian
9dfce703d4 fix: baremetal prepare updates nic_info incrementally 2019-09-17 00:08:42 +08:00
Qiu Jian
f86e1ce1ca 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-17 00:08:42 +08:00
Yousong Zhou
d19c21c8aa 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:12:18 +00:00
Yousong Zhou
5cb0647ef8 lbagents: deploy: check existence of pbId before create/update 2019-09-16 14:12:18 +00:00
Zexi Li
b5ed6d8ed3 Merge pull request #2929 from zexi/automated-cherry-pick-of-#2928-upstream-release-2.12
Automated cherry pick of #2928: scheduler: fix baremetal disk and storage not match
2019-09-16 20:29:58 +08:00
Zexi Li
08d4b4ccbc scheduler: fix baremetal disk and storage not match 2019-09-16 20:28:10 +08:00
yunion-ci-robot
348934f8e2 Merge pull request #2927 from ioito/automated-cherry-pick-of-#2921-upstream-release-2.12
Automated cherry pick of #2921: fix: 避免删除不存在的快照出错
2019-09-16 18:57:24 +08:00
ioito
4f2da9a106 fix: 避免删除不存在的快照出错 2019-09-16 17:26:25 +08:00
Zexi Li
563136abea Merge pull request #2916 from zexi/automated-cherry-pick-of-#2913-upstream-release-2.12
Automated cherry pick of #2913: scheduler: fix disk local backend not select matched storage
2019-09-16 14:44:33 +08:00
wanyaoqi
cc7122404d fix init listen interface 2019-09-16 14:34:28 +08:00
Zexi Li
3d6b080527 scheduler: fix disk local backend not select matched storage 2019-09-16 13:53:02 +08:00
Yousong Zhou
35826cd27b Merge pull request #2910 from ioito/automated-cherry-pick-of-#2908-upstream-release-2.12
Automated cherry pick of #2908: fix: 避免cache raw格式的镜像
2019-09-12 19:12:08 +08:00
yunion-ci-robot
b83f3c8852 Merge pull request #2905 from wanyaoqi/automated-cherry-pick-of-#2904-upstream-release-2.12
Automated cherry pick of #2904: set concurrent deploy count
2019-09-12 19:11:23 +08:00
ioito
9a8e713c2e fix: 避免cache raw格式的镜像 2019-09-12 19:09:03 +08:00
wanyaoqi
3e161bf8ce set concurrent deploy count 2019-09-12 19:02:37 +08:00
yunion-ci-robot
37ee533dae Merge pull request #2901 from ioito/automated-cherry-pick-of-#2900-upstream-release-2.12
Automated cherry pick of #2900: fix: update vendor
2019-09-12 18:22:21 +08:00
ioito
32c3211130 fix: update vendor 2019-09-12 18:17:24 +08:00
yunion-ci-robot
7a899647a8 Merge pull request #2897 from ioito/automated-cherry-pick-of-#2896-upstream-release-2.12
Automated cherry pick of #2896: fix: avoid nil pointer
2019-09-12 17:18:23 +08:00
yunion-ci-robot
38516811f9 Merge pull request #2893 from ioito/automated-cherry-pick-of-#2892-upstream-release-2.12
Automated cherry pick of #2892: fix: update go-ceph vendor
2019-09-12 17:17:22 +08:00
ioito
4f60402942 fix: update go-ceph vendor 2019-09-12 16:57:03 +08:00
ioito
50478d9b27 fix: avoid nil pointer 2019-09-12 16:52:08 +08:00
yunion-ci-robot
c298211f7e Merge pull request #2884 from swordqiu/automated-cherry-pick-of-#2881-upstream-release-2.12
Automated cherry pick of #2881: 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 14:35:22 +08:00
yunion-ci-robot
b5080e1f54 Merge pull request #2889 from ioito/automated-cherry-pick-of-#2885-upstream-release-2.12
Automated cherry pick of #2885: fix: go-ceph bugifx
2019-09-12 14:29:21 +08:00
ioito
a4698313e6 fix: go-ceph bugifx 2019-09-12 14:18:55 +08:00
Qiu Jian
6fd75cb1b9 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:11:30 +08:00
yunion-ci-robot
aa614aab82 Merge pull request #2880 from wanyaoqi/automated-cherry-pick-of-#2877-upstream-release-2.12
Automated cherry pick of #2877: fix glance save form url save md5
2019-09-12 12:02:22 +08:00
wanyaoqi
0618e8f237 fix glance save form url save md5 2019-09-12 11:09:25 +08:00
yunion-ci-robot
1ca92f3f83 Merge pull request #2848 from tb365/automated-cherry-pick-of-#2846-upstream-release-2.12
Automated cherry pick of #2846: qrcode issuer coding fix
2019-09-11 21:46:21 +08:00
yunion-ci-robot
fbca269566 Merge pull request #2870 from ioito/automated-cherry-pick-of-#2869-upstream-release-2.12
Automated cherry pick of #2869: fix: 避免置空description失效
2019-09-11 21:35:21 +08:00
yunion-ci-robot
7f1864df3c Merge pull request #2868 from swordqiu/automated-cherry-pick-of-#2866-upstream-release-2.12
Automated cherry pick of #2866: fix: system account user fail to login apigateway
2019-09-11 21:33:21 +08:00
yunion-ci-robot
2480235c7c Merge pull request #2876 from swordqiu/automated-cherry-pick-of-#2873-upstream-release-2.12
Automated cherry pick of #2873: fix: fail to update reserved ip notes
2019-09-11 21:31:23 +08:00
Qiu Jian
4cd2f4dca6 fix: fail to update reserved ip notes 2019-09-11 19:30:23 +08:00
ioito
b5e021017b fix: 避免置空description失效 2019-09-11 16:17:22 +08:00
Qiu Jian
ad7c52201f fix: system account user fail to login apigateway 2019-09-11 13:38:46 +08:00
yunion-ci-robot
52983469b2 Merge pull request #2854 from yousong/automated-cherry-pick-of-#2853-upstream-release-2.12
Automated cherry pick of #2853: ansibleserver: 限定Playbook字段长度
2019-09-11 09:31:19 +08:00
yunion-ci-robot
22b56edb39 Merge pull request #2862 from wanyaoqi/automated-cherry-pick-of-#2861-upstream-release-2.12
Automated cherry pick of #2861: misc bugfix
2019-09-10 22:45:21 +08:00
wanyaoqi
338f5705d9 misc bugfix 2019-09-10 22:29:08 +08:00
yunion-ci-robot
a03f2e07b0 Merge pull request #2857 from ioito/automated-cherry-pick-of-#2855-upstream-release-2.12
Automated cherry pick of #2855: fix: 避免密码登录时使用秘钥认证
2019-09-10 17:44:20 +08:00
yunion-ci-robot
1e64ccf47e Merge pull request #2850 from ioito/automated-cherry-pick-of-#2849-upstream-release-2.12
Automated cherry pick of #2849: fix: 虚拟机更改项目时,eip同时变更
2019-09-10 17:28:22 +08:00
ioito
ffa480dadd fix: 避免密码登录时使用秘钥认证 2019-09-10 17:22:39 +08:00
Yousong Zhou
230c185a83 ansibleserver: 限定Playbook字段长度
避免进入数据库时被截断产生无效数据
2019-09-10 09:21:31 +00:00
ioito
991f2a7929 fix: 虚拟机更改项目时,eip同时变更 2019-09-10 16:49:22 +08:00
TangBin
c5b73efdfb qrcode issuer coding fix 2019-09-10 16:44:04 +08:00
yunion-ci-robot
cee5bbc478 Merge pull request #2845 from tb365/automated-cherry-pick-of-#2842-upstream-release-2.12
Automated cherry pick of #2842: fix ucloud snapshot delete
2019-09-10 16:00:20 +08:00
TangBin
831aadc13c totp auth code support multi-domain 2019-09-10 15:35:05 +08:00
TangBin
593a01cfed fix ucloud snapshot delete 2019-09-10 15:35:05 +08:00
yunion-ci-robot
b9443742da Merge pull request #2841 from swordqiu/automated-cherry-pick-of-#2838-upstream-release-2.12
Automated cherry pick of #2838: fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742
2019-09-10 15:26:19 +08:00
yunion-ci-robot
2cde7953a5 Merge pull request #2836 from swordqiu/automated-cherry-pick-of-#2834-upstream-release-2.12
Automated cherry pick of #2834: 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
0cb490d3e8 Merge pull request #2831 from wanyaoqi/automated-cherry-pick-of-#2800-upstream-release-2.12
Automated cherry pick of #2800: misc deploy fix
2019-09-10 15:16:20 +08:00
wanyaoqi
0d22e6d5d0 guest misc fix 2019-09-10 10:58:37 +08:00
Qiu Jian
9eeba524a5 fix: fail to delete orphane VM in esxi https://kb.vmware.com/s/article/1003742 2019-09-10 10:01:44 +08:00
Qiu Jian
536208c317 fix: 1. CAS user fail to create totp credential 2. do not try password auth for CAS users 2019-09-09 23:44:18 +08:00
yunion-ci-robot
e77f2cfb76 Merge pull request #2824 from ioito/automated-cherry-pick-of-#2823-upstream-release-2.12
Automated cherry pick of #2823: fix: 修复安全组关联数量校验不正确问题
2019-09-09 23:33:19 +08:00
yunion-ci-robot
e151ecea8b Merge pull request #2820 from ioito/automated-cherry-pick-of-#2819-upstream-release-2.12
Automated cherry pick of #2819: fix: 避免数据盘顺序也被颠倒
2019-09-09 23:30:24 +08:00
wanyaoqi
0974bacbc5 misc deploy fix 2019-09-09 20:36:54 +08:00
Yousong Zhou
7b14cff103 Merge pull request #2828 from yousong/automated-cherry-pick-of-#2827-upstream-release-2.12
Automated cherry pick of #2827: .circleci: fix requires
2019-09-09 18:41:27 +08:00
Yousong Zhou
1500649955 build: rename cleandocgo to adddocgo 2019-09-09 10:03:52 +00:00
Yousong Zhou
49e0a8ea9d .circleci: fix requires 2019-09-09 10:03:52 +00:00
Yousong Zhou
5c87c990fc Merge pull request #2812 from yousong/automated-cherry-pick-of-#2809-upstream-release-2.12
Automated cherry pick of #2809: build: 将check与构建部分解耦
2019-09-09 17:59:21 +08:00
Yousong Zhou
cce18adf2a .circleci: 构建前check 2019-09-09 09:54:49 +00:00
Yousong Zhou
434fa4410a treewide: fix "make check" 2019-09-09 09:54:48 +00:00
Yousong Zhou
dcca41a276 build: 将check与构建部分解耦 2019-09-09 09:54:48 +00:00
ioito
f769bec7c0 fix: 修复安全组关联数量校验不正确问题 2019-09-09 16:50:14 +08:00
ioito
d24a1cc59f fix: 避免数据盘顺序也被颠倒 2019-09-09 16:46:13 +08:00
yunion-ci-robot
374b71dcdd Merge pull request #2811 from swordqiu/automated-cherry-pick-of-#2808-upstream-release-2.12
Automated cherry pick of #2808: fix: yunionapi nil pointer panic after failed login
2019-09-09 16:31:20 +08:00
yunion-ci-robot
bcc7e6363a Merge pull request #2817 from swordqiu/automated-cherry-pick-of-#2813-upstream-release-2.12
Automated cherry pick of #2813: fix: fail to find host ip in virtual console vnic
2019-09-09 16:27:20 +08:00
Qiu Jian
067555f83f fix: fail to find host ip in virtual console vnic 2019-09-09 15:54:12 +08:00
Qiu Jian
1d15915882 fix: yunionapi nil pointer panic after failed login 2019-09-09 15:44:59 +08:00
yunion-ci-robot
f652ef9135 Merge pull request #2805 from ioito/automated-cherry-pick-of-#2804-upstream-release-2.12
Automated cherry pick of #2804: fix: 避免解绑EIP后释放EIP任务失败
2019-09-09 11:56:20 +08:00
ioito
ad93653902 fix: 避免解绑EIP后释放EIP任务失败 2019-09-09 11:20:28 +08:00
yunion-ci-robot
18837de0b5 Merge pull request #2799 from tb365/automated-cherry-pick-of-#2794-upstream-release-2.12
Automated cherry pick of #2794: mcclient module base
2019-09-07 23:19:18 +08:00
tb365
93d58b2a9c Merge branch 'release/2.12' into automated-cherry-pick-of-#2794-upstream-release-2.12 2019-09-07 23:04:42 +08:00
yunion-ci-robot
821c3a4bb9 Merge pull request #2803 from swordqiu/automated-cherry-pick-of-#2801-upstream-release-2.12
Automated cherry pick of #2801: fix: api gateway logout handler error and fix go fmt issues
2019-09-07 23:04:19 +08:00
TangBin
74fa148318 reformat import 2019-09-07 22:59:19 +08:00
TangBin
813cd3c83d mcclient module base 2019-09-07 22:59:19 +08:00
Qiu Jian
fd1a7a254e fix: remove casfe.go 2019-09-07 22:44:30 +08:00
Qiu Jian
e21f0194a1 fix: api gateway logout handler error and fix go fmt issues 2019-09-07 22:44:30 +08:00
yunion-ci-robot
257816d64e Merge pull request #2793 from swordqiu/automated-cherry-pick-of-#2770-upstream-release-2.12
Automated cherry pick of #2770: feature: keystone support CAS SSO authentication
2019-09-07 19:24:17 +08:00
yunion-ci-robot
0fd5353861 Merge pull request #2797 from Mjoycarry/automated-cherry-pick-of-#2795-upstream-release-2.12
Automated cherry pick of #2795: add interface fetch resources of snats and dnats
2019-09-07 19:15:19 +08:00
yunion-ci-robot
a789f9be96 Merge pull request #2788 from wanyaoqi/automated-cherry-pick-of-#2787-upstream-release-2.12
Automated cherry pick of #2787: fix guest manager server struct
2019-09-07 19:14:19 +08:00
yunion-ci-robot
ca71f34442 Merge pull request #2785 from ioito/automated-cherry-pick-of-#2783-upstream-release-2.12
Automated cherry pick of #2783: fix: 避免重装系统后同步信息导致磁盘类型都为系统盘
2019-09-07 19:13:17 +08:00
yunion-ci-robot
2c5c62a89c Merge pull request #2756 from wanyaoqi/automated-cherry-pick-of-#2741-upstream-release-2.12
Automated cherry pick of #2741: io throttle add log event
2019-09-07 19:07:17 +08:00
Rain
4d41466fef 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:54:38 +08:00
Qiu Jian
34890406d6 feature: keystone support CAS SSO authentication 2019-09-07 18:52:45 +08:00
yunion-ci-robot
b2c6e22271 Merge pull request #2778 from swordqiu/automated-cherry-pick-of-#2775-upstream-release-2.12
Automated cherry pick of #2775: fix: 1. nil pointer panic error when accessing resource pool and storagecache 2. support multiple disk format
2019-09-07 17:39:18 +08:00
Qiu Jian
0a0142046c fix: 1. nil pointer panic error when accessing resource pool and storagecache 2. support multiple disk format 2019-09-07 17:29:22 +08:00
wanyaoqi
60186e2e71 fix guest manager server struct 2019-09-07 15:13:42 +08:00
ioito
1c078049b7 fix: 避免重装系统后同步信息导致磁盘类型都为系统盘 2019-09-07 13:43:13 +08:00
yunion-ci-robot
70f70a8e4c Merge pull request #2782 from Mjoycarry/automated-cherry-pick-of-#2780-upstream-release-2.12
Automated cherry pick of #2780: snapshotpolicy and disk should have same domain and project in snapshotpolicydisks
2019-09-07 13:34:18 +08:00
yunion-ci-robot
24d085b92b Merge pull request #2774 from swordqiu/automated-cherry-pick-of-#2772-upstream-release-2.12
Automated cherry pick of #2772: fix: allow set object acl in batch
2019-09-07 13:02:18 +08:00
Rain
906211eb55 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 12:23:54 +08:00
Qiu Jian
cb7988fe0c fix: allow set object acl in batch 2019-09-06 23:30:31 +08:00
yunion-ci-robot
2f3c2120b1 Merge pull request #2748 from ioito/automated-cherry-pick-of-#2747-upstream-release-2.12
Automated cherry pick of #2747: fix: networkinterfaces belong system resource
2019-09-06 14:40:18 +08:00
yunion-ci-robot
84c1b914e6 Merge pull request #2763 from yousong/automated-cherry-pick-of-#2762-upstream-release-2.12
Automated cherry pick of #2762: lbagents: deploy: 检查服务账号有效性
2019-09-06 11:59:17 +08:00
yunion-ci-robot
f5ba537818 Merge pull request #2759 from wanyaoqi/automated-cherry-pick-of-#2758-upstream-release-2.12
Automated cherry pick of #2758: fix vnc connect, filter qmp event
2019-09-06 11:58:20 +08:00
yunion-ci-robot
7f9f86f27b Merge pull request #2767 from ioito/automated-cherry-pick-of-#2766-upstream-release-2.12
Automated cherry pick of #2766: fix: 不能无限制追加 application/json
2019-09-06 11:56:17 +08:00
ioito
443c5f36ff fix: 不能无限制追加 application/json 2019-09-06 11:46:26 +08:00
yunion-ci-robot
477ba4185c Merge pull request #2735 from swordqiu/automated-cherry-pick-of-#2733-upstream-release-2.12
Automated cherry pick of #2733: fix: optimize logger query time
2019-09-05 22:01:21 +08:00
Yousong Zhou
b4941b3ee8 lbagents: deploy: 检查服务账号有效性 2019-09-05 13:58:51 +00:00
wanyaoqi
abd924e429 fix vnc connect, filter qmp event 2019-09-05 21:01:39 +08:00
wanyaoqi
7119222372 io throttle add log event 2019-09-05 20:31:37 +08:00
yunion-ci-robot
f91b7d3c78 Merge pull request #2751 from yousong/automated-cherry-pick-of-#2750-upstream-release-2.12
Automated cherry pick of #2750: lbagent: reuse mcclient client session
2019-09-05 19:58:19 +08:00
yunion-ci-robot
4741f41410 Merge pull request #2755 from Mjoycarry/automated-cherry-pick-of-#2744-upstream-release-2.12
Automated cherry pick of #2744: qcloud sunday
2019-09-05 16:01:16 +08:00
Rain
b215b7c29b qcloud sunday
disk diskplay
2019-09-05 15:50:50 +08:00
Yousong Zhou
a28f0765ce lbagent: fix possible out of bound index access 2019-09-05 07:30:00 +00:00
Yousong Zhou
d6aa32074f lbagent: reuse mcclient client session 2019-09-05 07:30:00 +00:00
ioito
5f7f391c2f fix: networkinterfaces belong system resource 2019-09-05 14:49:28 +08:00
yunion-ci-robot
9c6f0d5ac4 Merge pull request #2739 from wanyaoqi/automated-cherry-pick-of-#2727-upstream-release-2.12
Automated cherry pick of #2727: fix snapshot policy filter
2019-09-04 14:35:17 +08:00
wanyaoqi
b43880ddc2 fix snapshot policy filter 2019-09-04 12:34:20 +08:00
yunion-ci-robot
3aabd29b9d Merge pull request #2738 from swordqiu/automated-cherry-pick-of-#2736-upstream-release-2.12
Automated cherry pick of #2736: fix: for backward compatility, only check account id consistency for non-empty account id
2019-09-04 10:03:16 +08:00
Qiu Jian
f808a9a292 fix: optimize logger query time 2019-09-04 00:48:58 +08:00
Qiu Jian
7d5ab92505 fix: for backward compatility, only check account id consistency for non-empty account id 2019-09-03 21:23:54 +08:00
yunion-ci-robot
eb337f56c0 Merge pull request #2732 from swordqiu/automated-cherry-pick-of-#2730-upstream-release-2.12
Automated cherry pick of #2730: fix: s3cli enable debug trace
2019-09-03 17:37:15 +08:00
Qiu Jian
2e5ac6307b fix: s3cli enable debug trace 2019-09-03 17:14:50 +08:00
Zexi Li
7d7b486c65 Merge pull request #2724 from zexi/automated-cherry-pick-of-#2723-upstream-release-2.12
Automated cherry pick of #2723: region: fix create params cdrom missing
2019-09-03 10:47:21 +08:00
Zexi
608400fe00 region: fix create params cdrom missing 2019-09-03 10:45:52 +08:00
yunion-ci-robot
12c64fefa8 Merge pull request #2715 from wanyaoqi/automated-cherry-pick-of-#2714-upstream-release-2.12
Automated cherry pick of #2714: fix auto snapshot check quota, name, owner
2019-09-03 10:44:16 +08:00
yunion-ci-robot
0c89fb57ee Merge pull request #2713 from Mjoycarry/automated-cherry-pick-of-#2711-upstream-release-2.12
Automated cherry pick of #2711: hanler snapshotpolicy cache
2019-09-03 10:33:15 +08:00
yunion-ci-robot
c6a1262ada Merge pull request #2722 from Mjoycarry/automated-cherry-pick-of-#2720-upstream-release-2.12
Automated cherry pick of #2720: add OnBindIPCompleteFailed and fix aliyun Refresh for snat and dnat
2019-09-03 10:29:15 +08:00
Rain
c62922c3b6 add OnBindIPCompleteFailed and fix aliyun Refresh for snat and dnat 2019-09-03 10:25:43 +08:00
yunion-ci-robot
7f88c8bfd5 Merge pull request #2719 from swordqiu/automated-cherry-pick-of-#2717-upstream-release-2.12
Automated cherry pick of #2717: fix: bucket list access accessUrl nil pointer panic
2019-09-02 21:42:17 +08:00
yunion-ci-robot
9c885cb106 Merge pull request #2706 from swordqiu/automated-cherry-pick-of-#2703-upstream-release-2.12
Automated cherry pick of #2703: fix: guest get host nil pointer panic
2019-09-02 21:41:16 +08:00
Qiu Jian
a73982525b fix: bucket list access accessUrl nil pointer panic 2019-09-02 21:36:23 +08:00
wanyaoqi
2ba82b2133 fix auto snapshot check quota, name, owner 2019-09-02 21:02:47 +08:00
yunion-ci-robot
ae47edc463 Merge pull request #2710 from zexi/automated-cherry-pick-of-#2707-upstream-release-2.12
Automated cherry pick of #2707: scheduler: fix reserved resource out of limit bug
2019-09-02 18:59:14 +08:00
Rain
991572e356 hanler snapshotpolicy cache 2019-09-02 18:55:32 +08:00
Zexi
41fc2abdaf scheduler: fix reserved resource out of limit bug 2019-09-02 18:41:14 +08:00
Qiu Jian
c65d319e34 fix: guest get host nil pointer panic 2019-09-02 18:22:28 +08:00
yunion-ci-robot
a98c21e106 Merge pull request #2700 from ioito/automated-cherry-pick-of-#2699-upstream-release-2.12
Automated cherry pick of #2699: fix: 忽略裸金属器删除条件
2019-09-02 17:24:19 +08:00
ioito
5a8f899106 fix: 忽略裸金属器删除条件 2019-09-02 16:31:31 +08:00
yunion-ci-robot
66de3937ad Merge pull request #2697 from Mjoycarry/automated-cherry-pick-of-#2672-upstream-release-2.12
Automated cherry pick of #2672: local snapshotpolicy
2019-09-02 16:12:15 +08:00
yunion-ci-robot
aba45af5c4 Merge pull request #2693 from ioito/automated-cherry-pick-of-#2689-upstream-release-2.12
Automated cherry pick of #2689: fix: 避免裸金属服务器转宿主机任务失败
2019-09-02 15:57:15 +08:00
yunion-ci-robot
7d295532b4 Merge pull request #2692 from swordqiu/automated-cherry-pick-of-#2690-upstream-release-2.12
Automated cherry pick of #2690: fix: no quota check when making directory
2019-09-02 15:56:15 +08:00
yunion-ci-robot
925853c1ba Merge pull request #2682 from swordqiu/automated-cherry-pick-of-#2680-upstream-release-2.12
Automated cherry pick of #2680: fix: azure create bucket failure due to empty storageClass
2019-09-02 15:53:15 +08:00
Rain
5c4bde59ba local snapshotpolicy 2019-09-02 15:37:32 +08:00
ioito
4b4c31cdfd fix: 避免裸金属服务器转宿主机任务失败 2019-09-02 15:32:45 +08:00
yunion-ci-robot
9347209796 Merge pull request #2684 from wanyaoqi/automated-cherry-pick-of-#2683-upstream-release-2.12
Automated cherry pick of #2683: fix glance update mindisk
2019-09-02 15:31:15 +08:00
yunion-ci-robot
d095d5ba07 Merge pull request #2677 from zexi/automated-cherry-pick-of-#2676-upstream-release-2.12
Automated cherry pick of #2676: baremetal: auto prepare when pxe boot
2019-09-02 15:30:16 +08:00
Qiu Jian
e1a6fc5658 fix: no quota check when making directory 2019-09-02 15:27:54 +08:00
yunion-ci-robot
2ddb0662bf Merge pull request #2671 from swordqiu/automated-cherry-pick-of-#2669-upstream-release-2.12
Automated cherry pick of #2669: feature: 1. add ceph cloud provider based on generic s3 provider 2. climc support AK/SK authentication
2019-09-02 14:00:14 +08:00
wanyaoqi
86e1ed45a0 fix glance update mindisk 2019-09-02 13:52:53 +08:00
yunion-ci-robot
ea5bca95e7 Merge pull request #2668 from swordqiu/automated-cherry-pick-of-#2665-upstream-release-2.12
Automated cherry pick of #2665: fix: 1. glance/keystone version handler fix 2. allow run glance as normal user
2019-09-02 13:48:15 +08:00
Qiu Jian
1f3ee483bf fix: azure create bucket failure due to empty storageClass 2019-09-02 13:47:34 +08:00
yunion-ci-robot
2a4f84829b Merge pull request #2664 from swordqiu/automated-cherry-pick-of-#2662-upstream-release-2.12
Automated cherry pick of #2662: fix: qcloud fail to set object acl
2019-09-02 13:46:14 +08:00
yunion-ci-robot
16ded7a106 Merge pull request #2661 from swordqiu/automated-cherry-pick-of-#2659-upstream-release-2.12
Automated cherry pick of #2659: fix: huawei fail to import image
2019-09-02 13:45:17 +08:00
yunion-ci-robot
9edac70460 Merge pull request #2658 from swordqiu/automated-cherry-pick-of-#2656-upstream-release-2.12
Automated cherry pick of #2656: fix: allow column search in array
2019-09-02 13:44:14 +08:00
Zexi
f06d595362 baremetal: auto prepare when pxe boot 2019-09-02 11:46:17 +08:00
yunion-ci-robot
743c0e0254 Merge pull request #2675 from swordqiu/automated-cherry-pick-of-#2673-upstream-release-2.12
Automated cherry pick of #2673: fix: provides policies info in auth token response
2019-09-02 10:21:15 +08:00
Qiu Jian
05f11ba630 fix: provides policies info in auth token response 2019-09-02 09:16:07 +08:00
Qiu Jian
f36d0b7641 feature: 1. add ceph cloud provider based on generic s3 provider 2. climc support AK/SK authentication 2019-09-01 19:05:27 +08:00
Qiu Jian
b2b40e0910 fix: 1. glance/keystone version handler fix 2. allow run glance as normal user 2019-08-31 11:13:49 +08:00
Qiu Jian
070f02ad1c fix: qcloud fail to set object acl 2019-08-30 23:23:06 +08:00
Qiu Jian
73f689be42 fix: huawei fail to import image 2019-08-30 23:12:25 +08:00
Qiu Jian
4bba890a6c fix: allow column search in array 2019-08-30 22:27:50 +08:00
yunion-ci-robot
acc7b4fbca Merge pull request #2653 from zhasm/automated-cherry-pick-of-#2652-upstream-release-2.12
Automated cherry pick of #2652: 修改 Makefile 获取当前分支的方式
2019-08-30 18:24:15 +08:00
张东亮
785f1c84ec 修改 Makefile 获取当前分支的方式 2019-08-30 17:56:15 +08:00
yunion-ci-robot
0d1afa9bcf Merge pull request #2641 from swordqiu/automated-cherry-pick-of-#2629-upstream-release-2.12
Automated cherry pick of #2629: fix: incorrect import path of options pkg
2019-08-30 17:22:14 +08:00
liuxueguo6921
b7914bc4ee fix: incorrect import path of options pkg 2019-08-30 16:18:35 +08:00
yunion-ci-robot
d211bfc412 Merge pull request #2651 from Mjoycarry/automated-cherry-pick-of-#2607-upstream-release-2.12
Automated cherry pick of #2607: natgateway bugfix
2019-08-30 16:07:14 +08:00
yunion-ci-robot
2ff5178056 Merge pull request #2644 from ioito/automated-cherry-pick-of-#2601-upstream-release-2.12
Automated cherry pick of #2601: fix: 避免创建磁盘时显示provider disable底下的存储
2019-08-30 16:05:14 +08:00
Rain
0121760411 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:12:07 +08:00
ioito
724d4612f2 fix: 避免创建磁盘时显示provider disable底下的存储 2019-08-30 10:54:38 +08:00
yunion-ci-robot
577ea10898 Merge pull request #2643 from swordqiu/automated-cherry-pick-of-#2608-upstream-release-2.12
Automated cherry pick of #2608: feature: 1. ak/sk auth support 2. a full feature s3gateway works with Cyberduck
2019-08-30 07:36:12 +08:00
Qiu Jian
8956d45526 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:30:29 +08:00
yunion-ci-robot
bbcc985398 Merge pull request #2628 from swordqiu/automated-cherry-pick-of-#2626-upstream-release-2.12
Automated cherry pick of #2626: fix: compatible with minio s3
2019-08-29 23:51:12 +08:00
yunion-ci-robot
5162ba045f Merge pull request #2638 from wanyaoqi/automated-cherry-pick-of-#2635-upstream-release-2.12
Automated cherry pick of #2635: bugfix:
2019-08-29 22:45:14 +08:00
wanyaoqi
f54dea2217 bugfix:
- fix guest vnc connect failed on host unsupport ipv6
- fix cirros qemu args conflict with windows
2019-08-29 21:43:21 +08:00
yunion-ci-robot
c71bbddc47 Merge pull request #2631 from ioito/automated-cherry-pick-of-#2630-upstream-release-2.12
Automated cherry pick of #2630: fix: avoid not release pending-usage
2019-08-29 20:45:13 +08:00
ioito
451b705139 fix: avoid not release pending-usage 2019-08-29 20:29:41 +08:00
yunion-ci-robot
cc41981b5a Merge pull request #2625 from zhasm/automated-cherry-pick-of-#2619-upstream-release-2.12
Automated cherry pick of #2619: 新增 s3gateway s3cli的 rpm 描述文件
2019-08-29 18:59:13 +08:00
Qiu Jian
caa264ef6f fix: compatible with minio s3 2019-08-29 18:57:43 +08:00
rex zhasm
fca4119882 Merge branch 'release/2.12' into automated-cherry-pick-of-#2619-upstream-release-2.12 2019-08-29 17:33:46 +08:00
yunion-ci-robot
e8be8bf4d8 Merge pull request #2616 from ioito/automated-cherry-pick-of-#2615-upstream-release-2.12
Automated cherry pick of #2615: fix: avoid rbd image exist when rebuild-root
2019-08-29 17:32:14 +08:00
Zhang Dongliang
13bf54adf2 update wording 2019-08-29 17:01:22 +08:00
Zhang Dongliang
82800a42cf 新增 s3gateway s3cli的 rpm 描述文件 2019-08-29 17:01:22 +08:00
yunion-ci-robot
cc4fb00daa Merge pull request #2621 from ioito/automated-cherry-pick-of-#2620-upstream-release-2.12
Automated cherry pick of #2620: hotfix: add aliyun request user-agent
2019-08-29 16:44:12 +08:00
ioito
09176df768 hotfix: add aliyun request user-agent 2019-08-29 16:37:02 +08:00
ioito
07c5ae223b fix: avoid rbd image exist when rebuild-root 2019-08-29 11:48:37 +08:00
yunion-ci-robot
4a01ae8459 Merge pull request #2612 from ioito/automated-cherry-pick-of-#2569-upstream-release-2.12
Automated cherry pick of #2569: fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown
2019-08-29 11:24:14 +08:00
yunion-ci-robot
7a225dca26 Merge pull request #2611 from swordqiu/automated-cherry-pick-of-#2609-upstream-release-2.12
Automated cherry pick of #2609: fix: 1. missing action log for bucket objects ops 2. huawei cloud sync duplicate buckets
2019-08-29 10:55:11 +08:00
ioito
6e17d0a553 fix: 宿主机下线时,需要将宿主机底下的虚拟机状态设为unknown 2019-08-29 10:13:31 +08:00
Qiu Jian
128e2e53c6 fix: 1. missing action log for bucket objects ops 2. huawei cloud sync duplicate buckets 2019-08-29 02:40:40 +08:00
yunion-ci-robot
adfa7e0524 Merge pull request #2604 from yousong/automated-cherry-pick-of-#2603-upstream-release-2.12
Automated cherry pick of #2603: mcclient: ansibleplaybooks: 注册为v2接口
2019-08-28 22:33:16 +08:00
yunion-ci-robot
0f3c3c7d80 Merge pull request #2602 from zexi/automated-cherry-pick-of-#2599-upstream-release-2.12
Automated cherry pick of #2599: schedtag: create support scope
2019-08-28 22:32:17 +08:00
yunion-ci-robot
53d51be4a0 Merge pull request #2589 from yousong/automated-cherry-pick-of-#2588-upstream-release-2.12
Automated cherry pick of #2588: lbagents: 详情增加zone信息
2019-08-28 22:31:11 +08:00
Yousong Zhou
c66bb1e90b mcclient: ansibleplaybooks: 注册为v2接口 2019-08-28 12:44:02 +00:00
Zexi
783b664aae schedtag: create support scope 2019-08-28 16:26:52 +08:00
yunion-ci-robot
055b059675 Merge pull request #2550 from ioito/automated-cherry-pick-of-#2546-upstream-release-2.12
Automated cherry pick of #2546: fix: 避免host disable时detach磁盘
2019-08-28 15:57:14 +08:00
yunion-ci-robot
56e8fdde7d Merge pull request #2543 from ioito/automated-cherry-pick-of-#2512-upstream-release-2.12
Automated cherry pick of #2512: fix: add external perform change-project
2019-08-27 11:13:11 +08:00
Yousong Zhou
b7e63a4c2c lbagents: 详情增加zone信息 2019-08-27 03:02:30 +00:00
yunion-ci-robot
c7fd864b13 Merge pull request #2580 from swordqiu/automated-cherry-pick-of-#2577-upstream-release-2.12
Automated cherry pick of #2577: fix: quota-list fail if deleted projects found
2019-08-27 10:08:13 +08:00
yunion-ci-robot
1f9f86a446 Merge pull request #2560 from ioito/automated-cherry-pick-of-#2558-upstream-release-2.12
Automated cherry pick of #2558: fix: sync and set secgroup public scope
2019-08-26 22:57:15 +08:00
yunion-ci-robot
21080a720b Merge pull request #2574 from yousong/automated-cherry-pick-of-#2573-upstream-release-2.12
Automated cherry pick of #2573: policy: 将lb集群相关资源归入系统资源类
2019-08-26 22:54:11 +08:00
yunion-ci-robot
cde2cea75f Merge pull request #2585 from wanyaoqi/automated-cherry-pick-of-#2581-upstream-release-2.12
Automated cherry pick of #2581: fix rbd disk delete with snapshot
2019-08-26 22:43:13 +08:00
yunion-ci-robot
08b8015a3f Merge pull request #2582 from wanyaoqi/automated-cherry-pick-of-#2568-upstream-release-2.12
Automated cherry pick of #2568: fix host maintenance
2019-08-26 22:41:10 +08:00
wanyaoqi
8cd049b4b0 fix rbd disk delete with snapshot 2019-08-26 22:09:00 +08:00
wanyaoqi
8a0d239fce fix host maintenance 2019-08-26 22:06:04 +08:00
Qiu Jian
df61ca32db fix: quota-list fail if deleted projects found 2019-08-26 20:30:57 +08:00
yunion-ci-robot
dde0fd7167 Merge pull request #2423 from zexi/automated-cherry-pick-of-#2415-upstream-release-2.12
Automated cherry pick of #2415: webconsole: update aliyun vnc base url and uniq vnc session
2019-08-26 16:30:16 +08:00
Yousong Zhou
ae891c7f0b policy: 将lb集群相关资源归入系统资源类 2019-08-26 07:42:10 +00:00
Zexi
2f4734dd0e webconsole: update aliyun vnc base url and uniq vnc session 2019-08-26 15:41:50 +08:00
yunion-ci-robot
fc272d6588 Merge pull request #2567 from tb365/automated-cherry-pick-of-#2564-upstream-release-2.12
Automated cherry pick of #2564: aws disk resize bugfix
2019-08-26 15:26:11 +08:00
TangBin
981f96abca aws disk resize bugfix 2019-08-26 14:54:19 +08:00
yunion-ci-robot
99f293e3fd Merge pull request #2542 from swordqiu/automated-cherry-pick-of-#2539-upstream-release-2.12
Automated cherry pick of #2539: fix: pending usage not release after failed change config
2019-08-24 18:40:10 +08:00
yunion-ci-robot
f1a7fa546b Merge pull request #2534 from swordqiu/automated-cherry-pick-of-#2477-upstream-release-2.12
Automated cherry pick of #2477: fix: use policy match weight to override less specific policy
2019-08-24 18:39:12 +08:00
yunion-ci-robot
46e9a8dba0 Merge pull request #2538 from swordqiu/automated-cherry-pick-of-#2536-upstream-release-2.12
Automated cherry pick of #2536: fix: bucket mkdir may create path with empty whitespaces
2019-08-24 18:38:11 +08:00
ioito
08d9a792f2 fix: sync and set secgroup public scope 2019-08-24 18:37:35 +08:00
yunion-ci-robot
81e3473213 Merge pull request #2553 from wanyaoqi/automated-cherry-pick-of-#2552-upstream-release-2.12
Automated cherry pick of #2552: guest batch migrate
2019-08-24 17:56:10 +08:00
yunion-ci-robot
a32cafede1 Merge pull request #2556 from wanyaoqi/automated-cherry-pick-of-#2413-upstream-release-2.12
Automated cherry pick of #2413: host migrate
2019-08-24 17:36:09 +08:00
wanyaoqi
ef2ef3dd3b guest batch migrate 2019-08-24 17:29:33 +08:00
wanyaoqi
d10e934640 host migrate 2019-08-24 17:11:56 +08:00
ioito
6170e16527 fix: 避免host disable时detach磁盘 2019-08-24 14:00:05 +08:00
ioito
f60c60ea9b fix: add external perform change-project 2019-08-24 10:12:33 +08:00
Qiu Jian
9b03199841 fix: pending usage not release after failed change config 2019-08-23 22:46:58 +08:00
Qiu Jian
983496ee34 fix: bucket mkdir may create path with empty whitespaces 2019-08-23 22:02:12 +08:00
Qiu Jian
8f4f906895 fix: use policy match weight to override less specific policy 2019-08-23 21:21:34 +08:00
yunion-ci-robot
f632cae64f Merge pull request #2529 from ioito/automated-cherry-pick-of-#2528-upstream-release-2.12
Automated cherry pick of #2528: fix: deploy action not sync guest status in subtask
2019-08-23 21:09:08 +08:00
ioito
faa7bb6a84 fix: deploy action not sync guest status in subtask 2019-08-23 21:01:51 +08:00
yunion-ci-robot
12ad81885f Merge pull request #2518 from yousong/automated-cherry-pick-of-#2517-upstream-release-2.12
Automated cherry pick of #2517: snapshotpolicy: 改正bool default:"true"
2019-08-23 19:51:08 +08:00
yunion-ci-robot
4e0e7e19b5 Merge pull request #2523 from ioito/automated-cherry-pick-of-#2522-upstream-release-2.12
Automated cherry pick of #2522: fix: sync status after guest sync conf
2019-08-23 18:03:10 +08:00
ioito
c4e7c0778c fix: sync status after guest sync conf 2019-08-23 17:16:23 +08:00
yunion-ci-robot
f38bc0aa0a Merge pull request #2521 from zexi/automated-cherry-pick-of-#2511-upstream-release-2.12
Automated cherry pick of #2511: schedtags: support scope
2019-08-23 14:28:08 +08:00
Zexi
b56381f199 schedtags: support scope 2019-08-23 13:39:22 +08:00
Yousong Zhou
ef6e538895 snapshotpolicy: 改正bool default:"true" 2019-08-23 03:27:39 +00:00
yunion-ci-robot
f14b5dd7c7 Merge pull request #2503 from ioito/automated-cherry-pick-of-#2499-upstream-release-2.12
Automated cherry pick of #2499: fix: qcloud sync unavailable storages
2019-08-23 10:55:08 +08:00
yunion-ci-robot
f10725d5cf Merge pull request #2507 from wanyaoqi/automated-cherry-pick-of-#2456-upstream-release-2.12
Automated cherry pick of #2456: io throttle
2019-08-23 03:38:09 +08:00
yunion-ci-robot
2340fb91a9 Merge pull request #2492 from yousong/automated-cherry-pick-of-#2491-upstream-release-2.12
Automated cherry pick of #2491: networks: 添加ifname_hint字段
2019-08-23 03:37:14 +08:00
yunion-ci-robot
fd27079b36 Merge pull request #2516 from zexi/automated-cherry-pick-of-#2513-upstream-release-2.12
Automated cherry pick of #2513: scheduler: fix disk or net specify resource id execute schedtag filter
2019-08-23 03:24:09 +08:00
yunion-ci-robot
cbc550bdb0 Merge pull request #2496 from yousong/automated-cherry-pick-of-#2495-upstream-release-2.12
Automated cherry pick of #2495: appsrv: 反转义path segs
2019-08-23 03:13:07 +08:00
yunion-ci-robot
19f4f22c4f Merge pull request #2490 from tb365/automated-cherry-pick-of-#2487-upstream-release-2.12
Automated cherry pick of #2487: huawei & aws bugfix
2019-08-23 03:10:09 +08:00
Zexi
e458a8dca0 scheduler: fix disk or net specify resource id execute schedtag filter 2019-08-22 21:59:45 +08:00
wanyaoqi
b2fdb7bc77 add io-throttle doc 2019-08-22 21:00:06 +08:00
wanyaoqi
a1c204a9eb io throttle 2019-08-22 21:00:06 +08:00
ioito
1f6b65e8b4 fix: qcloud sync unavailable storages 2019-08-22 20:46:26 +08:00
Yousong Zhou
1bc58aeccb guests: detachnetwork时支持以名字指定network 2019-08-22 08:44:16 +00:00
Yousong Zhou
cd2c8f60eb appsrv: 反转义path segs
支持"climc network-delete 中文"
2019-08-22 08:44:16 +00:00
Yousong Zhou
51c73e5c79 networks: 添加ifname_hint字段
- 升级部署时,从network.Name初始化
 - 创建时,尝试从network.Name取值,取不到则生成随机值
 - 不允许更新
2019-08-22 08:09:24 +00:00
TangBin
4c3162a86e huawei bugfix 2019-08-22 14:36:34 +08:00
TangBin
c9e176ab29 huawei & aws bugfix 2019-08-22 14:36:34 +08:00
yunion-ci-robot
cbe085c9d3 Merge pull request #2484 from ioito/automated-cherry-pick-of-#2483-upstream-release-2.12
Automated cherry pick of #2483: fix: zstack reset passworkd with username
2019-08-22 11:42:08 +08:00
ioito
55a753439f fix: zstack reset passworkd with username 2019-08-22 11:25:27 +08:00
yunion-ci-robot
c8aa68625c Merge pull request #2478 from ioito/automated-cherry-pick-of-#2451-upstream-release-2.12
Automated cherry pick of #2451: bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上
2019-08-22 10:25:07 +08:00
ioito
28e2b8f37e bugfix: 避免openstack磁盘扩容成功后未能挂载到虚拟机上 2019-08-22 10:14:26 +08:00
yunion-ci-robot
c3c306521d Merge pull request #2476 from swordqiu/automated-cherry-pick-of-#2473-upstream-release-2.12
Automated cherry pick of #2473: fix: doamin admin cannot access private networks across domain
2019-08-22 09:49:07 +08:00
yunion-ci-robot
888a896c70 Merge pull request #2472 from swordqiu/automated-cherry-pick-of-#2469-upstream-release-2.12
Automated cherry pick of #2469: fix: disk-resize sync guest status cause deadlock
2019-08-22 09:45:08 +08:00
yunion-ci-robot
9ea0dfd3bf Merge pull request #2468 from swordqiu/automated-cherry-pick-of-#2465-upstream-release-2.12
Automated cherry pick of #2465: fix: a join update is allowed if one of the joint models is allowed to update
2019-08-22 09:43:09 +08:00
yunion-ci-robot
9d3bb870db Merge pull request #2455 from tb365/automated-cherry-pick-of-#2452-upstream-release-2.12
Automated cherry pick of #2452: add update vm name method
2019-08-22 08:11:08 +08:00
yunion-ci-robot
078577de32 Merge pull request #2430 from ioito/automated-cherry-pick-of-#2414-upstream-release-2.12
Automated cherry pick of #2414: hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败
2019-08-22 08:09:08 +08:00
Qiu Jian
c06339c859 fix: doamin admin cannot access private networks across domain 2019-08-22 00:27:52 +08:00
Qiu Jian
1424bc8eb6 fix: disk-resize sync guest status cause deadlock 2019-08-21 23:57:38 +08:00
Qiu Jian
3e6a21fe56 fix: a join update is allowed if one of the joint models is allowed to update 2019-08-21 20:42:11 +08:00
yunion-ci-robot
e256330164 Merge pull request #2428 from ioito/automated-cherry-pick-of-#2416-upstream-release-2.12
Automated cherry pick of #2416: fix: 避免provider污染sql,导致查询结果为空
2019-08-21 20:32:07 +08:00
yunion-ci-robot
d6f8e214c7 Merge pull request #2460 from zexi/automated-cherry-pick-of-#2457-upstream-release-2.12
Automated cherry pick of #2457: region: capability domain public network must equal domain_id
2019-08-21 20:30:08 +08:00
yunion-ci-robot
189f51e670 Merge pull request #2462 from wanyaoqi/automated-cherry-pick-of-#2461-upstream-release-2.12
Automated cherry pick of #2461: fix snapshot can't delete
2019-08-21 20:17:09 +08:00
Zexi
d4e5fb2eb7 region: capability domain public network must equal domain_id 2019-08-21 19:23:06 +08:00
wanyaoqi
1d41c6092d fix snapshot can't delete 2019-08-21 19:11:53 +08:00
TangBin
c71bc88648 add update vm name method 2019-08-21 15:45:19 +08:00
yunion-ci-robot
609b052bbc Merge pull request #2436 from ioito/automated-cherry-pick-of-#2407-upstream-release-2.12
Automated cherry pick of #2407: fix: 避免admin=false时,不显示其余项目下的标签信息
2019-08-21 15:32:10 +08:00
yunion-ci-robot
183e946208 Merge pull request #2443 from wanyaoqi/automated-cherry-pick-of-#2406-upstream-release-2.12
Automated cherry pick of #2406: - snapshot support custom snapshot policy
2019-08-21 15:29:07 +08:00
yunion-ci-robot
731a179c91 Merge pull request #2448 from zexi/automated-cherry-pick-of-#2447-upstream-release-2.12
Automated cherry pick of #2447: scheduler: sku not unmarshal to ServerConfigs
2019-08-21 14:57:08 +08:00
yunion-ci-robot
2cb3c777e1 Merge pull request #2446 from Mjoycarry/automated-cherry-pick-of-#2442-upstream-release-2.12
Automated cherry pick of #2442: nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully
2019-08-21 12:01:06 +08:00
Zexi
822e92843d scheduler: sku not unmarshal to ServerConfigs 2019-08-21 11:58:24 +08:00
Rain
cf9933bdce nat delele should overvide Delete() and call RealDelete() after delete cloud resource successfully 2019-08-21 11:22:45 +08:00
wanyaoqi
80070da367 - snapshot support custom snapshot policy 2019-08-21 11:19:19 +08:00
yunion-ci-robot
e0a4acc2b6 Merge pull request #2433 from ioito/automated-cherry-pick-of-#2412-upstream-release-2.12
Automated cherry pick of #2412: hotfix: snapshot create optimized
2019-08-21 10:57:08 +08:00
ioito
26ac94f831 fix: 避免admin=false时,不显示其余项目下的标签信息 2019-08-21 10:26:53 +08:00
ioito
2a872be097 hotfix: snapshot create optimized 2019-08-21 10:16:36 +08:00
ioito
6517eb8d0d hotfix: 避免上传镜像后,再次获取镜像列表因网络原因导致任务失败 2019-08-21 10:06:18 +08:00
ioito
18cb3403a6 fix: 避免provider污染sql,导致查询结果为空 2019-08-21 10:04:41 +08:00
yunion-ci-robot
ff615269d6 Merge pull request #2425 from ioito/automated-cherry-pick-of-#2424-upstream-release-2.12
Automated cherry pick of #2424: fix: 允许更改私有云region名称
2019-08-20 23:48:08 +08:00
yunion-ci-robot
aaff58dc72 Merge pull request #2409 from ioito/automated-cherry-pick-of-#2408-upstream-release-2.12
Automated cherry pick of #2408: fix: avoid sku validate delete return error
2019-08-20 23:34:11 +08:00
ioito
6798fa3a28 fix: 允许更改私有云region名称 2019-08-20 21:20:07 +08:00
yunion-ci-robot
a4ace5c15f Merge pull request #2386 from zexi/automated-cherry-pick-of-#2382-upstream-release-2.12
Automated cherry pick of #2382: baremetal: fix ext4 rootfs inode inconsistent
2019-08-20 21:01:07 +08:00
yunion-ci-robot
4eec934394 Merge pull request #2418 from wanyaoqi/automated-cherry-pick-of-#2417-upstream-release-2.12
Automated cherry pick of #2417: fix snapshot ops log
2019-08-20 20:54:07 +08:00
yunion-ci-robot
831d765e96 Merge pull request #2405 from swordqiu/automated-cherry-pick-of-#2402-upstream-release-2.12
Automated cherry pick of #2402: fix: sysadmin should be a system account
2019-08-20 20:47:08 +08:00
wanyaoqi
0dd6cb9f5a fix snapshot ops log 2019-08-20 20:26:55 +08:00
Zexi
a5ffe6f178 baremetal: fix ext4 rootfs inode inconsistent 2019-08-20 17:16:12 +08:00
ioito
f38b4febda fix: avoid sku validate delete return error 2019-08-20 15:24:18 +08:00
Qiu Jian
2fc22922ce fix: sysadmin should be a system account 2019-08-20 14:03:39 +08:00
yunion-ci-robot
8e1f581349 Merge pull request #2394 from swordqiu/automated-cherry-pick-of-#2392-upstream-release-2.12
Automated cherry pick of #2392: fix: qcloud change config failed
2019-08-20 11:30:06 +08:00
yunion-ci-robot
2a715d954f Merge pull request #2390 from swordqiu/automated-cherry-pick-of-#2387-upstream-release-2.12
Automated cherry pick of #2387: fix: cloud-provider-region add cloudaccount_domain_id
2019-08-20 11:28:08 +08:00
yunion-ci-robot
adbe1d3716 Merge pull request #2396 from ioito/automated-cherry-pick-of-#2381-upstream-release-2.12
Automated cherry pick of #2381: fix: httputils show error when resp body is not dict
2019-08-20 10:25:08 +08:00
ioito
0494e7e4d1 fix: httputils show error when resp body is not dict 2019-08-20 10:18:04 +08:00
yunion-ci-robot
adf6d8eaab Merge pull request #2385 from Mjoycarry/automated-cherry-pick-of-#2248-upstream-release-2.12
Automated cherry pick of #2248: notify module in Go finished.
2019-08-20 01:54:05 +08:00
Qiu Jian
b30ce69de6 fix: qcloud change config failed 2019-08-20 01:49:30 +08:00
yunion-ci-robot
58e8347104 Merge pull request #2378 from wanyaoqi/automated-cherry-pick-of-#2377-upstream-release-2.12
Automated cherry pick of #2377: snapshot bugs fix
2019-08-20 00:05:07 +08:00
Qiu Jian
62f72e89a7 fix: cloud-provider-region add cloudaccount_domain_id 2019-08-19 22:30:40 +08:00
Rain
289418dd73 notify module in Go finished. 2019-08-19 21:55:24 +08:00
wanyaoqi
358fc32e4e snapshot bugs fix 2019-08-19 20:33:02 +08:00
yunion-ci-robot
9dd22459e0 Merge pull request #2375 from swordqiu/automated-cherry-pick-of-#2373-upstream-release-2.12
Automated cherry pick of #2373: fix: not sync correctly aws VM's tempoaral public ip
2019-08-19 10:24:06 +08:00
Qiu Jian
bbc79ee020 fix: not sync correctly aws VM's tempoaral public ip 2019-08-19 02:01:24 +08:00
yunion-ci-robot
5331414736 Merge pull request #2372 from swordqiu/automated-cherry-pick-of-#2369-upstream-release-2.12
Automated cherry pick of #2369: fix: avoid duplicate image uploading if multiple identical instances created at same time
2019-08-19 00:10:05 +08:00
Qiu Jian
63551112af fix: avoid duplicate image uploading if multiple identical instances created at same time 2019-08-18 23:29:00 +08:00
yunion-ci-robot
251c2e271e Merge pull request #2368 from swordqiu/automated-cherry-pick-of-#2357-upstream-release-2.12
Automated cherry pick of #2357: fix: deprecate old user/group joint project API, create new action apis for add user/group to projects with roles
2019-08-17 21:35:08 +08:00
Qiu Jian
18593f9534 update vendor 2019-08-17 18:56:41 +08:00
Qiu Jian
372158352b fix: deprecate old user/group joint project API, create new action apis for add user/group to projects with roles 2019-08-17 18:56:41 +08:00
yunion-ci-robot
9461100507 Merge pull request #2365 from swordqiu/automated-cherry-pick-of-#2362-upstream-release-2.12
Automated cherry pick of #2362: fix: cloud-account-usage no data for domain admin
2019-08-17 18:55:05 +08:00
Qiu Jian
3da9a99da4 fix: cloud-account-usage no data for domain admin 2019-08-17 18:42:08 +08:00
yunion-ci-robot
1b7bfdd2c1 Merge pull request #2361 from swordqiu/automated-cherry-pick-of-#2358-upstream-release-2.12
Automated cherry pick of #2358: fix: new user without porject may view any resources
2019-08-17 18:27:05 +08:00
Qiu Jian
5b9cdd7c29 fix: new user without porject may view any resources 2019-08-17 13:42:49 +08:00
yunion-ci-robot
8ed904ffe5 Merge pull request #2354 from yousong/automated-cherry-pick-of-#2353-upstream-release-2.12
Automated cherry pick of #2353: Makefile: 改正rpm target
2019-08-17 10:00:06 +08:00
yunion-ci-robot
6cbdecd693 Merge pull request #2344 from yousong/automated-cherry-pick-of-#2343-upstream-release-2.12
Automated cherry pick of #2343: hostman: windows: 改正批处理代码
2019-08-17 09:58:06 +08:00
yunion-ci-robot
7e67de5e33 Merge pull request #2352 from swordqiu/automated-cherry-pick-of-#2349-upstream-release-2.12
Automated cherry pick of #2349: fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called
2019-08-16 22:10:04 +08:00
Yousong Zhou
210d132b0f .travis.yml: 去掉过时comment 2019-08-16 13:57:16 +00:00
Yousong Zhou
df133fff1b Makefile: 改正rpm target 2019-08-16 13:57:16 +00:00
Qiu Jian
e77fd75663 fix: project_id/domain_id was cleared after FetchProjectInfo/FetchDomainInfo called 2019-08-16 21:28:53 +08:00
yunion-ci-robot
559a98bf82 Merge pull request #2340 from wanyaoqi/automated-cherry-pick-of-#2339-upstream-release-2.12
Automated cherry pick of #2339: fix managered disk reset not update disk size
2019-08-16 21:23:06 +08:00
Yousong Zhou
93d111f753 hostman: windows: 改正批处理代码 2019-08-16 13:20:44 +00:00
yunion-ci-robot
65ba53d9d1 Merge pull request #2338 from tb365/automated-cherry-pick-of-#2337-upstream-release-2.12
Automated cherry pick of #2337: add itsm upload api
2019-08-16 18:10:04 +08:00
wanyaoqi
22a757d020 fix managered disk reset not update disk size 2019-08-16 18:01:04 +08:00
TangBin
1be7f9262a add itsm upload api 2019-08-16 17:29:28 +08:00
yunion-ci-robot
f015d8a149 Merge pull request #2335 from tb365/automated-cherry-pick-of-#2332-upstream-release-2.12
Automated cherry pick of #2332: aws & huawei & ucloud fix
2019-08-16 17:21:06 +08:00
yunion-ci-robot
95bf6111f9 Merge pull request #2312 from ioito/automated-cherry-pick-of-#2311-upstream-release-2.12
Automated cherry pick of #2311: fix: avoid duplicate sku error
2019-08-16 17:11:06 +08:00
yunion-ci-robot
5be9e23c81 Merge pull request #2336 from Mjoycarry/automated-cherry-pick-of-#2291-upstream-release-2.12
Automated cherry pick of #2291: snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
2019-08-16 17:05:07 +08:00
yunion-ci-robot
7159b6ac5f Merge pull request #2302 from wanyaoqi/automated-cherry-pick-of-#2301-upstream-release-2.12
Automated cherry pick of #2301: fix image head no field tenant
2019-08-16 17:04:05 +08:00
yunion-ci-robot
58d0e03e5c Merge pull request #2288 from wanyaoqi/automated-cherry-pick-of-#2287-upstream-release-2.12
Automated cherry pick of #2287: fix ceph rescue mode migrate
2019-08-16 17:03:04 +08:00
Rain
688716ab3d snapshotpolicy list create delete apply cancel finish except that disk sync snapshot policy
add copyright

fix some imprefection

fix test file
2019-08-16 17:03:03 +08:00
TangBin
c13f9d2b07 aws & huawei & ucloud fix 2019-08-16 16:46:46 +08:00
yunion-ci-robot
2ab0f849e1 Merge pull request #2325 from swordqiu/automated-cherry-pick-of-#2322-upstream-release-2.12
Automated cherry pick of #2322: fix: openstack provider string should be OpenStack
2019-08-16 16:29:04 +08:00
yunion-ci-robot
185c70c0ad Merge pull request #2327 from ioito/automated-cherry-pick-of-#2326-upstream-release-2.12
Automated cherry pick of #2326: fix: azure快照的磁盘id应该小写
2019-08-16 16:27:04 +08:00
yunion-ci-robot
a3e41aa1d1 Merge pull request #2314 from Mjoycarry/automated-cherry-pick-of-#2292-upstream-release-2.12
Automated cherry pick of #2292: task.Params pass paramters
2019-08-16 16:19:04 +08:00
yunion-ci-robot
aeff1764bc Merge pull request #2295 from zexi/automated-cherry-pick-of-#2293-upstream-release-2.12
Automated cherry pick of #2293: baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option
2019-08-16 16:14:05 +08:00
ioito
47ef9eaae3 fix: azure快照的磁盘id应该小写 2019-08-16 15:51:53 +08:00
Qiu Jian
7d27020df4 fix: openstack provider string should be OpenStack 2019-08-16 15:42:27 +08:00
yunion-ci-robot
3fc0a73e4b Merge pull request #2317 from ioito/automated-cherry-pick-of-#2316-upstream-release-2.12
Automated cherry pick of #2316: fix: create disk with project-src=local
2019-08-16 15:22:06 +08:00
ioito
545a272d4d fix: create disk with project-src=local 2019-08-16 15:03:29 +08:00
ioito
e709536f97 fix: avoid duplicate sku error 2019-08-16 14:44:01 +08:00
Rain
b63fd33100 task.Params pass paramters 2019-08-16 14:43:57 +08:00
yunion-ci-robot
7efb1945cd Merge pull request #2306 from yousong/automated-cherry-pick-of-#2305-upstream-release-2.12
Automated cherry pick of #2305: .travis.yml: 不使用docker
2019-08-16 14:39:07 +08:00
Yousong Zhou
8adc80d1fb .travis.yml: 不使用docker 2019-08-16 05:43:02 +00:00
wanyaoqi
8140a5865b fix image head no field tenant 2019-08-16 12:16:25 +08:00
yunion-ci-robot
b860595722 Merge pull request #2298 from yousong/automated-cherry-pick-of-#2297-upstream-release-2.12
Automated cherry pick of #2297: Makefile: 使用rpm/%
2019-08-16 10:36:04 +08:00
Yousong Zhou
9067da2056 .travis.yml: 改正权限问题 2019-08-16 02:20:29 +00:00
Yousong Zhou
2b21a62b05 Makefile: 使用rpm/% 2019-08-16 02:20:29 +00:00
yunion-ci-robot
42db193a78 Merge pull request #2273 from yousong/automated-cherry-pick-of-#2272-upstream-release-2.12
Automated cherry pick of #2272: .travis.yml: 改正配置
2019-08-15 22:02:06 +08:00
Zexi
ac03dc8fb5 baremetal: raid disk inode inconsistent due to mkfs.ext4 largefile option 2019-08-15 21:33:52 +08:00
yunion-ci-robot
a2e0cd9d77 Merge pull request #2286 from swordqiu/automated-cherry-pick-of-#2284-upstream-release-2.12
Automated cherry pick of #2284: feature: 1. limit for bucket object count and size 2. quota for object count and size
2019-08-15 16:07:04 +08:00
wanyaoqi
92528a6be1 fix ceph rescue mode migrate 2019-08-15 16:01:25 +08:00
yunion-ci-robot
c1c4927de4 Merge pull request #2281 from wanyaoqi/automated-cherry-pick-of-#2280-upstream-release-2.12
Automated cherry pick of #2280: add distinct field manager
2019-08-15 10:36:03 +08:00
Qiu Jian
b00f2b7927 feature: 1. limit for bucket object count and size 2. quota for object count and size 2019-08-14 22:32:44 +08:00
wanyaoqi
6f6f248a43 add distinct field manager 2019-08-14 21:02:23 +08:00
yunion-ci-robot
c40b6999dd Merge pull request #2277 from ioito/automated-cherry-pick-of-#2276-upstream-release-2.12
Automated cherry pick of #2276: fix: missing setup managerId for snapshot
2019-08-14 20:38:06 +08:00
ioito
16a7bbeff3 fix: missing setup managerId for snapshot 2019-08-14 20:14:16 +08:00
Yousong Zhou
90dadcb334 Makefile: fail for unknown target 2019-08-14 07:12:04 +00:00
Yousong Zhou
1ff0c0a708 .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 07:12:04 +00:00
yunion-ci-robot
df847e3907 Merge pull request #2271 from swordqiu/automated-cherry-pick-of-#2198-upstream-release-2.12
Automated cherry pick of #2198: fix: private sku sync and delete
2019-08-14 12:00:01 +08:00
ioito
9632c42f1d fix: private sku sync and delete 2019-08-14 11:53:31 +08:00
Yousong Zhou
fe7b62c73e Merge pull request #2269 from swordqiu/automated-cherry-pick-of-#2267-upstream-release-2.11
Automated cherry pick of #2267: fix: 1. after cloud-account-sync, cloud provider status in queueing 2. huawei/azure/qcloud sync status error
2019-08-14 10:16:59 +08:00
Qiu Jian
29ce8f949c fix: 1. after cloud-account-sync, cloud provider status in queueing 2. huawei/azure/qcloud sync status error 2019-08-14 09:55:50 +08:00
Yousong Zhou
220d8929bd Merge pull request #2265 from swordqiu/automated-cherry-pick-of-#2264-upstream-release-2.11
Automated cherry pick of #2264: fix: qcloud storagecache bucket name too long
2019-08-14 09:51:14 +08:00
Yousong Zhou
4e9f605844 Merge pull request #2261 from swordqiu/automated-cherry-pick-of-#2260-upstream-release-2.11
Automated cherry pick of #2260: fix: 1. aws s3 fail to mkdir 2. put object requires acl
2019-08-14 09:50:29 +08:00
Qiu Jian
0b8a702ab6 fix: qcloud storagecache bucket name too long 2019-08-14 00:33:30 +08:00
Qiu Jian
2aa6be1b9e fix: 1. aws s3 fail to mkdir 2. put object requires acl 2019-08-13 21:41:24 +08:00
yunion-ci-robot
61e8489615 Merge pull request #2258 from wanyaoqi/automated-cherry-pick-of-#2257-upstream-release-2.11
Automated cherry pick of #2257: fix sku cron job
2019-08-13 21:26:01 +08:00
wanyaoqi
7580520873 fix sku cron job 2019-08-13 21:15:52 +08:00
yunion-ci-robot
cb567c9537 Merge pull request #2242 from swordqiu/automated-cherry-pick-of-#2241-upstream-release-2.11
Automated cherry pick of #2241: fix: cloudregion and zone list filter by providers/brands
2019-08-13 18:59:02 +08:00
yunion-ci-robot
3a5f3ee805 Merge pull request #2252 from wanyaoqi/automated-cherry-pick-of-#2250-upstream-release-2.11
Automated cherry pick of #2250: support get user tags
2019-08-13 18:55:03 +08:00
yunion-ci-robot
a6a7151849 Merge pull request #2251 from zexi/automated-cherry-pick-of-#2249-upstream-release-2.11
Automated cherry pick of #2249: baremetal: fix rebuild root no password
2019-08-13 18:54:03 +08:00
yunion-ci-robot
c1970d2bc4 Merge pull request #2244 from wanyaoqi/automated-cherry-pick-of-#2227-upstream-release-2.11
Automated cherry pick of #2227: - 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 18:53:02 +08:00
wanyaoqi
fc67284a70 support get user tags 2019-08-13 18:26:53 +08:00
Zexi
3b2b2ccb4b baremetal: fix rebuild root no password 2019-08-13 18:23:13 +08:00
yunion-ci-robot
e9dce850dd Merge pull request #2245 from tb365/automated-cherry-pick-of-#2243-upstream-release-2.11
Automated cherry pick of #2243: get spec fix
2019-08-13 12:53:01 +08:00
TangBin
7a08e3133d bucket upload fix 2019-08-13 11:38:14 +08:00
TangBin
602af76219 get spec fix 2019-08-13 11:38:14 +08:00
wanyaoqi
0ec92a3b5a - 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 11:37:43 +08:00
yunion-ci-robot
35c66b05ef Merge pull request #2235 from ioito/automated-cherry-pick-of-#2234-upstream-release-2.11
Automated cherry pick of #2234: fix: no need to inject password by cloud-init for qcloud
2019-08-12 22:17:09 +08:00
Qiu Jian
9351b07310 fix: cloudregion and zone list filter by providers/brands 2019-08-12 22:12:42 +08:00
yunion-ci-robot
6ceefbf7c2 Merge pull request #2224 from swordqiu/automated-cherry-pick-of-#2222-upstream-release-2.11
Automated cherry pick of #2222: fix: when turning off non-default-domain-projects, network public scope should swtich to system scope
2019-08-12 21:57:02 +08:00
yunion-ci-robot
d5b26e3944 Merge pull request #2208 from swordqiu/automated-cherry-pick-of-#2207-upstream-release-2.11
Automated cherry pick of #2207: fix: bucket GetShortDesc includes cloudproviderinfo
2019-08-12 21:55:01 +08:00
ioito
2821265f77 fix: no need to inject password by cloud-init for qcloud 2019-08-12 20:26:57 +08:00
yunion-ci-robot
7ecf0219ac Merge pull request #2229 from tb365/automated-cherry-pick-of-#2228-upstream-release-2.11
Automated cherry pick of #2228: bucket object upload params change
2019-08-12 19:52:02 +08:00
TangBin
f1377326b4 bucket object upload params change 2019-08-12 19:12:40 +08:00
yunion-ci-robot
dc73e3cb9e Merge pull request #2232 from zhasm/automated-cherry-pick-of-#2230-upstream-release-2.11
Automated cherry pick of #2230: 对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率
2019-08-12 18:19:01 +08:00
Zhang Dongliang
8fe37c342d 对 actionlog 的 tenent_id 字段加索引,提升 actionlog 查询速率 2019-08-12 17:57:57 +08:00
yunion-ci-robot
966ac58c61 Merge pull request #2203 from ioito/automated-cherry-pick-of-#2202-upstream-release-2.11
Automated cherry pick of #2202: fix: sync cloud snapshot size
2019-08-12 11:51:01 +08:00
yunion-ci-robot
ad1659e76c Merge pull request #2226 from swordqiu/automated-cherry-pick-of-#2225-upstream-release-2.11
Automated cherry pick of #2225: feature: s3upload support multipart upload
2019-08-12 11:44:01 +08:00
Qiu Jian
20de3160ad fix: image.download changes output parameters 2019-08-12 11:26:38 +08:00
Qiu Jian
c09cd51374 update vendor 2019-08-12 11:26:38 +08:00
Qiu Jian
7963a7db32 feature: s3upload support multipart upload 2019-08-12 11:26:38 +08:00
Qiu Jian
9f3b11bf49 fix: when turning off non-default-domain-projects, network public scope should swtich to system scope 2019-08-12 10:21:34 +08:00
Qiu Jian
f0bb168ae9 fix: bucket GetShortDesc includes cloudproviderinfo 2019-08-12 10:00:58 +08:00
yunion-ci-robot
5d749a9b7f Merge pull request #2215 from yousong/automated-cherry-pick-of-#2214-upstream-release-2.11
Automated cherry pick of #2214: lb: 改正update参数校验
2019-08-12 09:59:01 +08:00
yunion-ci-robot
dde6a931ab Merge pull request #2210 from yousong/automated-cherry-pick-of-#2209-upstream-release-2.11
Automated cherry pick of #2209: wires: 改正mtu校验
2019-08-12 09:58:01 +08:00
yunion-ci-robot
2cfe883c6d Merge pull request #2221 from zhasm/automated-cherry-pick-of-#2219-upstream-release-2.11
Automated cherry pick of #2219: quota-set 新增 secgroup 字段
2019-08-12 09:56:59 +08:00
Zhang Dongliang
a022ad8fea quota-set 新增 secgroup 字段 2019-08-12 09:40:39 +08:00
Yousong Zhou
f8af2a9bbc 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:55 +00:00
Yousong Zhou
07b24151e2 wires: 改正mtu校验
Fixes a7486641df ("wires: 添加mtu属性")
2019-08-11 14:56:04 +00:00
yunion-ci-robot
09ce0677e5 Merge pull request #2212 from yousong/automated-cherry-pick-of-#2211-upstream-release-2.11
Automated cherry pick of #2211: lbcluster: 添加wire亲和性质
2019-08-11 14:38:01 +08:00
yunion-ci-robot
f94a1f3fb8 Merge pull request #2217 from yousong/automated-cherry-pick-of-#2216-upstream-release-2.11
Automated cherry pick of #2216: circleci: coverage.sh: 改善内存消耗
2019-08-11 14:09:01 +08:00
Yousong Zhou
c01fff7976 circleci: coverage.sh: 改善内存消耗 2019-08-10 18:36:53 +00:00
Yousong Zhou
93b49c28e4 lbcluster: 限定仅管理员可操作 2019-08-10 10:22:43 +00:00
Yousong Zhou
3e6f275e74 lbcluster: lbcluster-list支持--wire, --zone过滤 2019-08-10 10:22:43 +00:00
Yousong Zhou
e5b879d9be lbcluster: 添加wire亲和性质 2019-08-10 10:22:43 +00:00
ioito
51ba9871fc fix: sync cloud snapshot size 2019-08-10 16:32:52 +08:00
yunion-ci-robot
aaa513c7ef Merge pull request #2197 from Zexi/automated-cherry-pick-of-#2196-upstream-release-2.11
Automated cherry pick of #2196: add apigateway service
2019-08-10 10:17:59 +08:00
Zexi
f7c03f9998 add apigateway service 2019-08-09 21:15:57 +08:00
yunion-ci-robot
7f9ea834b6 Merge pull request #2200 from yousong/automated-cherry-pick-of-#2199-upstream-release-2.11
Automated cherry pick of #2199: vendor: update structarg
2019-08-09 20:03:00 +08:00
Yousong Zhou
e2c9498a07 climc: 去掉help string中关于choice的内容 2019-08-09 10:29:25 +00:00
Yousong Zhou
0618c34927 vendor: update structarg 2019-08-09 10:29:25 +00:00
yunion-ci-robot
9aad13ab17 Merge pull request #2195 from swordqiu/automated-cherry-pick-of-#2193-upstream-release-2.11
Automated cherry pick of #2193: fix: imported esxi VM fail to rebuild root
2019-08-09 09:51:59 +08:00
Qiu Jian
2f397d1e70 fix: imported esxi VM fail to rebuild root 2019-08-09 01:02:43 +08:00
yunion-ci-robot
38114c2d50 Merge pull request #2192 from swordqiu/automated-cherry-pick-of-#2191-upstream-release-2.11
Automated cherry pick of #2191: fix: qcloud/aws temp url not working
2019-08-09 00:02:58 +08:00
Qiu Jian
3052ce2fac fix: qcloud/aws temp url not working 2019-08-08 23:36:17 +08:00
yunion-ci-robot
3871666fb3 Merge pull request #2160 from tb365/automated-cherry-pick-of-#2159-upstream-release-2.11
Automated cherry pick of #2159: elb bugfix
2019-08-08 21:31:57 +08:00
TangBin
48c64c2892 elb bugfix 2019-08-08 21:04:12 +08:00
yunion-ci-robot
318f20b804 Merge pull request #2188 from ioito/automated-cherry-pick-of-#2186-upstream-release-2.11
Automated cherry pick of #2186: fix: lb purge error
2019-08-08 20:05:58 +08:00
yunion-ci-robot
0e8b46d800 Merge pull request #2180 from swordqiu/automated-cherry-pick-of-#2179-upstream-release-2.11
Automated cherry pick of #2179: fix: 1. get object acl not found 2. distinguish primary url for bucket
2019-08-08 20:01:58 +08:00
ioito
8870fcf10d fix: lb purge error 2019-08-08 19:56:04 +08:00
yunion-ci-robot
234af5542c Merge pull request #2182 from tb365/automated-cherry-pick-of-#2181-upstream-release-2.11
Automated cherry pick of #2181: cpu core bugfix
2019-08-08 19:50:59 +08:00
TangBin
9f97d3aaf5 cpu core bugfix 2019-08-08 19:37:54 +08:00
Qiu Jian
a7e4576e29 fix: 1. get object acl not found 2. distinguish primary url for bucket 2019-08-08 18:20:30 +08:00
yunion-ci-robot
3031a71a9d Merge pull request #2175 from swordqiu/automated-cherry-pick-of-#2174-upstream-release-2.11
Automated cherry pick of #2174: fix: influxdb write support
2019-08-08 16:55:59 +08:00
yunion-ci-robot
6615efe915 Merge pull request #2172 from ioito/automated-cherry-pick-of-#2161-upstream-release-2.11
Automated cherry pick of #2161: hotfix: sync openstack cup and memory cmtbound
2019-08-08 16:50:57 +08:00
yunion-ci-robot
41e066cf7f Merge pull request #2178 from zhasm/automated-cherry-pick-of-#2176-upstream-release-2.11
Automated cherry pick of #2176: hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填
2019-08-08 16:22:57 +08:00
yunion-ci-robot
21b6e7215c Merge pull request #2163 from wanyaoqi/automated-cherry-pick-of-#2162-upstream-release-2.11
Automated cherry pick of #2162: server migrate to different mountpoint storage
2019-08-08 16:14:57 +08:00
Zhang Dongliang
c09a65922e hotfix: 将 websocket 的 broadcast 接口里 topic 这个必选变量设为位置参数; 其他参数给了默认值,非必填 2019-08-08 15:56:51 +08:00
Qiu Jian
2ace6771ea fix: influxdb write support 2019-08-08 15:10:23 +08:00
ioito
93ee60f912 hotfix: sync openstack cup and memory cmtbound 2019-08-08 11:20:12 +08:00
yunion-ci-robot
816716f391 Merge pull request #2167 from yousong/automated-cherry-pick-of-#2146-upstream-release-2.11
Automated cherry pick of #2146: climc: add --output-format support
2019-08-08 10:55:16 +08:00
Yousong Zhou
c4307ccf7d climc: add --output-format support 2019-08-08 01:51:14 +00:00
Yousong Zhou
e48e4469e4 Merge pull request #2158 from swordqiu/automated-cherry-pick-of-#2157-upstream-release-2.11
Automated cherry pick of #2157: feature: bucket usage and quota check
2019-08-07 23:16:35 +08:00
Yousong Zhou
2fb06e06be Merge pull request #2166 from swordqiu/automated-cherry-pick-of-#2165-upstream-release-2.11
Automated cherry pick of #2165: fix: 1. bucket purge fail 2. qcloud verify appId
2019-08-07 23:15:13 +08:00
Qiu Jian
3ed3658920 fix: 1. bucket purge fail 2. qcloud verify appId 2019-08-07 21:55:01 +08:00
wanyaoqi
4a61d04d34 server migrate to different mountpoint storage 2019-08-07 21:14:13 +08:00
yunion-ci-robot
2984e57d5f Merge pull request #2153 from yousong/automated-cherry-pick-of-#2152-upstream-release-2.11
Automated cherry pick of #2152: lbagent: 改正unicast vrrp日志记录
2019-08-07 19:17:54 +08:00
Qiu Jian
ae78a6a36f fix: not return prefix object when list bucket object in non-recursive mode 2019-08-07 18:58:47 +08:00
Qiu Jian
ce79d14228 feature: bucket usage and quota check 2019-08-07 18:58:47 +08:00
yunion-ci-robot
aeac06afca Merge pull request #2145 from ioito/automated-cherry-pick-of-#2108-upstream-release-2.11
Automated cherry pick of #2108: feature: add huawei rds sync
2019-08-07 18:20:43 +08:00
yunion-ci-robot
24bf7477f8 Merge pull request #2155 from ioito/automated-cherry-pick-of-#2123-upstream-release-2.11
Automated cherry pick of #2123: fix: get keypair info fail after rebuild-root
2019-08-07 18:04:43 +08:00
ioito
68a9f5a4fd fix: get keypair info fail after rebuild-root 2019-08-07 17:56:57 +08:00
yunion-ci-robot
1c675316eb Merge pull request #2150 from ioito/automated-cherry-pick-of-#2149-upstream-release-2.11
Automated cherry pick of #2149: fix: not sync zstack deleted disk or instance & secgroup rule sync fix
2019-08-07 17:51:46 +08:00
yunion-ci-robot
a4fbc0ff23 Merge pull request #2137 from wanyaoqi/automated-cherry-pick-of-#2136-upstream-release-2.11
Automated cherry pick of #2136: fix guest cannot delete
2019-08-07 17:23:41 +08:00
yunion-ci-robot
3e22a0c49b Merge pull request #2144 from tb365/automated-cherry-pick-of-#2143-upstream-release-2.11
Automated cherry pick of #2143: model & model manager mismatch fix
2019-08-07 17:21:38 +08:00
yunion-ci-robot
de35f36a9c Merge pull request #2147 from ioito/automated-cherry-pick-of-#2135-upstream-release-2.11
Automated cherry pick of #2135: hotfix: essd PerformanceLevel sync
2019-08-07 17:20:37 +08:00
Yousong Zhou
049449249e lbagent: 改正agent参数变更校验 2019-08-07 09:17:26 +00:00
Yousong Zhou
6d991257a8 lbagent: 改正unicast vrrp日志记录 2019-08-07 09:17:26 +00:00
rex zhasm
97cdafe0a0 新增 climc notify-broadcast 接口,用于向所有在线用户发 websocket 通知 (#2133) 2019-08-07 16:43:28 +08:00
ioito
305cac5920 fix: not sync zstack deleted disk or instance & secgroup rule sync fix 2019-08-07 16:20:35 +08:00
ioito
6d14f5ae78 hotfix: essd PerformanceLevel sync 2019-08-07 15:39:15 +08:00
ioito
9454dcdbe0 feature: add huawei rds sync 2019-08-07 11:40:30 +08:00
TangBin
494d9c2c9c code check error fix 2019-08-07 11:14:36 +08:00
TangBin
c1c3351b28 model & model manager mismatch fix 2019-08-07 11:14:36 +08:00
yunion-ci-robot
30191d2cff Merge pull request #2142 from swordqiu/automated-cherry-pick-of-#2140-upstream-release-2.11
Automated cherry pick of #2140: fix: auth through disconnected ldap IDP
2019-08-07 10:08:10 +08:00
Qiu Jian
37950e160e fix: auth through disconnected ldap IDP 2019-08-07 00:35:08 +08:00
yunion-ci-robot
6a75cc5f5e Merge pull request #2139 from swordqiu/automated-cherry-pick-of-#2112-upstream-release-2.11
Automated cherry pick of #2112: s3gateway phase2
2019-08-06 23:25:08 +08:00
yunion-ci-robot
95cca9a4e1 Merge pull request #2125 from ioito/automated-cherry-pick-of-#2124-upstream-release-2.11
Automated cherry pick of #2124: hotfix: deprecated password auth
2019-08-06 23:07:12 +08:00
yunion-ci-robot
34012e200c Merge pull request #2118 from yousong/automated-cherry-pick-of-#2117-upstream-release-2.11
Automated cherry pick of #2117: lbclusters: 改正删除操作
2019-08-06 23:02:11 +08:00
yunion-ci-robot
01e4ffe0fc Merge pull request #2115 from yousong/automated-cherry-pick-of-#2104-upstream-release-2.11
Automated cherry pick of #2104: wires: 添加mtu属性
2019-08-06 22:57:09 +08:00
Qiu Jian
07c9b119f3 update vendor 2019-08-06 22:46:25 +08:00
Qiu Jian
7f0cfee1d2 s3gateway phase2 2019-08-06 22:46:25 +08:00
wanyaoqi
353d28fe8c fix guest cannot delete 2019-08-06 21:14:44 +08:00
yunion-ci-robot
aef27ac0b1 Merge pull request #2120 from wanyaoqi/automated-cherry-pick-of-#2114-upstream-release-2.11
Automated cherry pick of #2114: misc bugfix
2019-08-06 20:26:09 +08:00
Yousong Zhou
799f669c81 lbagents: 添加undeploy支持 2019-08-06 12:09:01 +00:00
Yousong Zhou
903115bfde lbclusters: 改正删除操作 2019-08-06 12:09:01 +00:00
Yousong Zhou
ddde9af94c climc: lb-create: 允许指定cluster 2019-08-06 12:09:01 +00:00
yunion-ci-robot
10289f6a43 Merge pull request #2129 from tb365/automated-cherry-pick-of-#2128-upstream-release-2.11
Automated cherry pick of #2128: kvm elb fix
2019-08-06 19:50:08 +08:00
TangBin
0320e0189f kvm elb fix 2019-08-06 17:37:08 +08:00
ioito
ef95a3ee02 hotfix: deprecated password auth 2019-08-06 17:12:40 +08:00
wanyaoqi
12f766baaa misc bugfix 2019-08-06 15:38:57 +08:00
yunion-ci-robot
4b00d34297 Merge pull request #2107 from swordqiu/automated-cherry-pick-of-#2105-upstream-release-2.11
Automated cherry pick of #2105: fix: adjust default policies for system resources
2019-08-06 15:30:10 +08:00
Yousong Zhou
e9fdda7203 hostman: rootfs: 网络配置添加MTU支持 2019-08-06 07:22:41 +00:00
Yousong Zhou
e72498c190 wires: 添加mtu属性 2019-08-06 07:22:41 +00:00
yunion-ci-robot
8079910f07 Merge pull request #2110 from yousong/automated-cherry-pick-of-#2109-upstream-release-2.11
Automated cherry pick of #2109: lbclusters: 创建时仅允许指定OneCloud Zone
2019-08-06 15:07:09 +08:00
yunion-ci-robot
c22d397652 Merge pull request #2088 from tb365/automated-cherry-pick-of-#2087-upstream-release-2.11
Automated cherry pick of #2087: aliyun&huawei redis sync support
2019-08-06 15:06:11 +08:00
TangBin
c004bf2421 add elastic cache purge fix 2019-08-06 15:02:29 +08:00
TangBin
7189e43977 add elastic cache purge 2019-08-06 15:02:29 +08:00
TangBin
a0a9ddd01b aliyun&huawei redis sync support 2019-08-06 15:02:28 +08:00
yunion-ci-robot
52ed4b7d0c Merge pull request #2113 from Mjoycarry/automated-cherry-pick-of-#2075-upstream-release-2.11
Automated cherry pick of #2075: nat create delete restful api finished
2019-08-06 15:00:08 +08:00
Rain
8319ac6c6b nat create delete restful api finished 2019-08-06 10:56:16 +08:00
yunion-ci-robot
19b511b435 Merge pull request #2101 from tb365/automated-cherry-pick-of-#2100-upstream-release-2.11
Automated cherry pick of #2100: huawei & elb bugfix
2019-08-06 10:21:08 +08:00
Yousong Zhou
6c210e77cc lbclusters: 创建时仅允许指定OneCloud Zone 2019-08-05 12:51:19 +00:00
yunion-ci-robot
7712c2e8c9 Merge pull request #2098 from wanyaoqi/automated-cherry-pick-of-#2097-upstream-release-2.11
Automated cherry pick of #2097: secgroups get distinct tenant
2019-08-05 19:59:09 +08:00
yunion-ci-robot
27214ddb0a Merge pull request #2095 from ioito/automated-cherry-pick-of-#2094-upstream-release-2.11
Automated cherry pick of #2094: hotfix: change order_by=guest -> order_by=guest_cnt
2019-08-05 19:51:08 +08:00
yunion-ci-robot
7a809ba288 Merge pull request #2093 from ioito/automated-cherry-pick-of-#2092-upstream-release-2.11
Automated cherry pick of #2092: hotfix: add networkinterface docs
2019-08-05 19:48:07 +08:00
Qiu Jian
783d10b17d fix: adjust default policies for system resources 2019-08-05 18:59:11 +08:00
TangBin
3ee67b9f75 huawei & elb bugfix 2019-08-05 16:51:47 +08:00
wanyaoqi
938b13fdc3 secgroups get distinct tenant 2019-08-05 12:03:13 +08:00
ioito
c788aee2a2 hotfix: change order_by=guest -> order_by=guest_cnt 2019-08-05 11:26:03 +08:00
yunion-ci-robot
c90a3bd56d Merge pull request #2083 from ioito/automated-cherry-pick-of-#2082-upstream-release-2.11
Automated cherry pick of #2082: fix: get openstack all customize storage type
2019-08-02 20:16:05 +08:00
ioito
e5a9dc934b fix: get openstack all customize storage type 2019-08-02 20:09:50 +08:00
ioito
a95070a3cd hotfix: add networkinterface docs 2019-08-02 17:12:30 +08:00
yunion-ci-robot
a772dc2194 Merge pull request #2090 from yousong/automated-cherry-pick-of-#2089-upstream-release-2.11
Automated cherry pick of #2089: ansibleserver: 操作宿主机时默认使用用户root
2019-08-02 12:14:04 +08:00
yunion-ci-robot
4f365370ed Merge pull request #2077 from wanyaoqi/automated-cherry-pick-of-#2060-upstream-release-2.11
Automated cherry pick of #2060: support get model distinct field
2019-08-02 12:13:04 +08:00
Yousong Zhou
62b176d36b ansibleserver: 操作宿主机时默认使用用户root 2019-08-02 04:01:31 +00:00
yunion-ci-robot
a99a38aef7 Merge pull request #2080 from ioito/automated-cherry-pick-of-#2079-upstream-release-2.11
Automated cherry pick of #2079: fix: cloudaccount and cloudprovider not in same domain
2019-08-01 22:23:03 +08:00
ioito
4b29e0ad5c fix: cloudaccount and cloudprovider not in same domain 2019-08-01 21:58:28 +08:00
wanyaoqi
439e94ba63 support get model distinct field 2019-08-01 21:44:38 +08:00
yunion-ci-robot
79ea74c519 Merge pull request #2068 from ioito/automated-cherry-pick-of-#2067-upstream-release-2.11
Automated cherry pick of #2067: fix: zstack create tcp udp secgroup rule error
2019-08-01 17:32:02 +08:00
yunion-ci-robot
6e9f5d3792 Merge pull request #2065 from ioito/automated-cherry-pick-of-#2064-upstream-release-2.11
Automated cherry pick of #2064: hotfix: change params from order_by_cache=asc|desc to order_by=cache & order=asc|desc
2019-08-01 17:31:02 +08:00
yunion-ci-robot
69639244c5 Merge pull request #2063 from ioito/automated-cherry-pick-of-#2056-upstream-release-2.11
Automated cherry pick of #2056: add: add brand field for server-sku-list
2019-08-01 17:00:02 +08:00
yunion-ci-robot
ec44abe37b Merge pull request #2049 from ioito/automated-cherry-pick-of-#2048-upstream-release-2.11
Automated cherry pick of #2048: fix: openstack glance image-list not list all images
2019-08-01 16:55:02 +08:00
yunion-ci-robot
02af534510 Merge pull request #2055 from swordqiu/automated-cherry-pick-of-#2051-upstream-release-2.11
Automated cherry pick of #2051: fix: 1. project quota-list not include domain quota 2. do not check conformance between project and domain quota
2019-08-01 16:47:02 +08:00
yunion-ci-robot
ccf42c821d Merge pull request #2073 from wanyaoqi/automated-cherry-pick-of-#2072-upstream-release-2.11
Automated cherry pick of #2072: remove host rpm requre
2019-08-01 16:45:01 +08:00
wanyaoqi
32dbfb7844 remove host rpm requre 2019-08-01 15:53:06 +08:00
yunion-ci-robot
dedc623d8a Merge pull request #2059 from swordqiu/automated-cherry-pick-of-#2057-upstream-release-2.11
Automated cherry pick of #2057: fix: server-list add is_prepaid_recycle field
2019-08-01 15:20:05 +08:00
ioito
71c5b201fe fix: zstack create tcp udp secgroup rule error 2019-07-31 22:04:37 +08:00
ioito
f0ae46f23e hotfix: change params from order_by_cache=asc|desc to order_by=cache & order=asc|desc 2019-07-31 21:45:19 +08:00
ioito
858367c2e4 add: add brand field for server-sku-list 2019-07-31 19:40:25 +08:00
Qiu Jian
debc847c6c fix: server-list add is_prepaid_recycle field 2019-07-31 18:35:52 +08:00
Qiu Jian
6356a26134 fix: 1. project quota-list not include domain quota 2. do not check conformance between project and domain quota 2019-07-31 17:53:39 +08:00
ioito
f0c86acb7f fix: openstack glance image-list not list all images 2019-07-31 17:20:32 +08:00
yunion-ci-robot
84b943af1b Merge pull request #2041 from wanyaoqi/automated-cherry-pick-of-#2040-upstream-release-2.11
Automated cherry pick of #2040: fix guest get host wire from network
2019-07-31 15:58:58 +08:00
yunion-ci-robot
213639f0e2 Merge pull request #2038 from yousong/automated-cherry-pick-of-#2037-upstream-release-2.11
Automated cherry pick of #2037: lbagents: 为influxdb_output_url设定默认值
2019-07-31 15:58:00 +08:00
yunion-ci-robot
48b8c902fc Merge pull request #2027 from ioito/automated-cherry-pick-of-#2026-upstream-release-2.11
Automated cherry pick of #2026: fix: zstack system disk resize
2019-07-31 15:57:01 +08:00
yunion-ci-robot
054c996502 Merge pull request #2024 from ioito/automated-cherry-pick-of-#2001-upstream-release-2.11
Automated cherry pick of #2001: hotfix: validate resize disk when change config
2019-07-31 15:56:01 +08:00
yunion-ci-robot
e1f1a8a787 Merge pull request #2020 from ioito/automated-cherry-pick-of-#1982-upstream-release-2.11
Automated cherry pick of #1982: fix: rbd image resize not found error
2019-07-31 15:55:01 +08:00
yunion-ci-robot
176c16e3e5 Merge pull request #2044 from wanyaoqi/automated-cherry-pick-of-#2043-upstream-release-2.11
Automated cherry pick of #2043: guest export keys add zone
2019-07-31 15:51:01 +08:00
wanyaoqi
5ecc49007b guest export keys add zone 2019-07-31 15:43:36 +08:00
wanyaoqi
f2be4824f3 fix guest get host wire from network 2019-07-31 14:33:08 +08:00
Yousong Zhou
9be95c05b2 lbagents: details=true时显示cluster的名称 2019-07-31 03:15:27 +00:00
Yousong Zhou
5bd916d987 lbagents: 为influxdb_output_url设定默认值 2019-07-31 03:15:27 +00:00
yunion-ci-robot
05650ca4c7 Merge pull request #2018 from wanyaoqi/automated-cherry-pick-of-#2017-upstream-release-2.11
Automated cherry pick of #2017: fix list order by
2019-07-31 02:22:58 +08:00
yunion-ci-robot
2e7670b003 Merge pull request #2012 from Zexi/automated-cherry-pick-of-#2011-upstream-release-2.11
Automated cherry pick of #2011: region capability: fix regional public network not found
2019-07-31 02:21:58 +08:00
yunion-ci-robot
66a3e84535 Merge pull request #2035 from wanyaoqi/automated-cherry-pick-of-#2034-upstream-release-2.11
Automated cherry pick of #2034: remove telegraf config retention_policy
2019-07-30 22:05:59 +08:00
yunion-ci-robot
61ce77c609 Merge pull request #2032 from ioito/automated-cherry-pick-of-#2029-upstream-release-2.11
Automated cherry pick of #2029: fix: avoid region2 panic when update openstack storage
2019-07-30 22:00:58 +08:00
wanyaoqi
1fc027f51a remove telegraf config retention_policy 2019-07-30 21:59:24 +08:00
ioito
971e27a033 fix: avoid region2 panic when update openstack storage 2019-07-30 20:51:11 +08:00
ioito
e4d10481b5 fix: zstack system disk resize 2019-07-30 19:29:51 +08:00
ioito
4378db4148 hotfix: validate resize disk when change config 2019-07-30 19:15:44 +08:00
ioito
5965fdbdb9 fix: rbd image resize not found error 2019-07-30 19:09:53 +08:00
wanyaoqi
b50e1af6c0 fix list order by 2019-07-30 18:22:35 +08:00
yunion-ci-robot
d9b0a1becf Merge pull request #2015 from Zexi/automated-cherry-pick-of-#2014-upstream-release-2.11
Automated cherry pick of #2014: region: fix server create input params not correct when detach sub resource
2019-07-30 18:14:34 +08:00
Zexi
e3db4d016e region: fix server create input params not correct when detach sub resource 2019-07-30 18:08:26 +08:00
Zexi
81c3aa43a1 region capability: fix regional public network not found 2019-07-30 17:32:18 +08:00
yunion-ci-robot
ff09039719 Merge pull request #1988 from swordqiu/automated-cherry-pick-of-#1986-upstream-release-2.11
Automated cherry pick of #1986: fix: init sysadmin as system user
2019-07-30 16:51:33 +08:00
yunion-ci-robot
33acd3f721 Merge pull request #2004 from tb365/automated-cherry-pick-of-#2002-upstream-release-2.11
Automated cherry pick of #2002: copyright update climc fix
2019-07-30 13:59:32 +08:00
yunion-ci-robot
779fff312f Merge pull request #1996 from tb365/automated-cherry-pick-of-#1994-upstream-release-2.11
Automated cherry pick of #1994: huawei rebuild root fix
2019-07-30 13:55:31 +08:00
yunion-ci-robot
0781cca72a Merge pull request #2006 from ioito/automated-cherry-pick-of-#2005-upstream-release-2.11
Automated cherry pick of #2005: fix: add priority for openstack secgroup rule priority
2019-07-30 12:55:33 +08:00
yunion-ci-robot
9627277247 Merge pull request #1990 from ioito/automated-cherry-pick-of-#1989-upstream-release-2.11
Automated cherry pick of #1989: fix: qcloud reserved first, second and last ip for internal connection
2019-07-30 12:22:32 +08:00
yunion-ci-robot
a381388306 Merge pull request #2000 from swordqiu/automated-cherry-pick-of-#1998-upstream-release-2.11
Automated cherry pick of #1998: fix: managed instance password not correct when deploy with keypair
2019-07-30 11:54:33 +08:00
ioito
aa7b285fde fix: add priority for openstack secgroup rule priority 2019-07-30 11:50:02 +08:00
yunion-ci-robot
dc4b0cc093 Merge pull request #1984 from ioito/automated-cherry-pick-of-#1983-upstream-release-2.11
Automated cherry pick of #1983: fix: allow normal user create prepaid resource
2019-07-30 11:32:32 +08:00
TangBin
4ddfdcc9a9 copyright update climc fix 2019-07-30 11:14:52 +08:00
Qiu Jian
9ccb84e2f2 fix: managed instance password not correct when deploy with keypair 2019-07-29 20:49:12 +08:00
TangBin
292ddb3239 huawei rebuild root fix 2019-07-29 20:35:52 +08:00
ioito
671941e905 fix: qcloud reserved first, second and last ip for internal connection 2019-07-29 20:02:54 +08:00
Qiu Jian
2499093897 fix: init sysadmin as system user 2019-07-29 17:46:03 +08:00
ioito
36be4ef7f4 fix: allow normal user create prepaid resource 2019-07-29 16:45:39 +08:00
yunion-ci-robot
0a808368e5 Merge pull request #1980 from wanyaoqi/automated-cherry-pick-of-#1979-upstream-release-2.11
Automated cherry pick of #1979: fix server purge
2019-07-29 16:32:32 +08:00
wanyaoqi
0575747f92 fix server purge 2019-07-29 15:15:45 +08:00
Jian Qiu
0a2b89bde3 Move cloud drivers from pkg/util to pkg/multicloud (#1977) 2019-07-29 00:24:48 +08:00
Jian Qiu
4662b82261 Automated cherry pick of #1905: huawei elb support (#1975)
* huawei elb support

* aws elb support
2019-07-28 15:23:11 +08:00
yunion-ci-robot
36f091ba83 Merge pull request #1973 from swordqiu/automated-cherry-pick-of-#1969-upstream-release-2.11
Automated cherry pick of #1969: fix: server create eip quota check error
2019-07-27 21:28:29 +08:00
Qiu Jian
f3517b0d26 fix: server create eip quota check error 2019-07-27 20:05:18 +08:00
yunion-ci-robot
1c7c6fa7b0 Merge pull request #1967 from ioito/automated-cherry-pick-of-#1965-upstream-release-2.11
Automated cherry pick of #1965: 支持设置ceph精准超时时间
2019-07-27 18:58:29 +08:00
yunion-ci-robot
598368dcf8 Merge pull request #1966 from ioito/automated-cherry-pick-of-#1408-upstream-release-2.11
Automated cherry pick of #1408: init model
2019-07-27 18:49:28 +08:00
yunion-ci-robot
d39f243744 Merge pull request #1963 from tb365/automated-cherry-pick-of-#1962-upstream-release-2.11
Automated cherry pick of #1962: add copyright api climc
2019-07-27 18:48:28 +08:00
ioito
36bcbbabf5 支持设置ceph精准超时时间 2019-07-27 18:48:05 +08:00
ioito
ad45ac995a rebase master 2019-07-27 18:43:30 +08:00
ioito
023c5e7695 add account privileges sync 2019-07-27 18:43:30 +08:00
ioito
e0c1e0edd2 remove serviceips models 2019-07-27 18:43:30 +08:00
ioito
7fb909356b support aws rds 2019-07-27 18:43:30 +08:00
ioito
4bb5d7a762 init model 2019-07-27 18:43:30 +08:00
yunion-ci-robot
8dc6bd18be Merge pull request #1961 from yousong/automated-cherry-pick-of-#1960-upstream-release-2.11
Automated cherry pick of #1960: yunionconf: 改正启动失败问题
2019-07-27 17:53:28 +08:00
TangBin
1cfab0ea67 add copyright api climc 2019-07-27 16:53:25 +08:00
Qiu Jian
30a02d9f07 fix: allow turn off non-default domain projects 2019-07-27 15:52:24 +08:00
Yousong Zhou
d2c97b757e 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:49:08 +00:00
Yousong Zhou
b82bf90c5a treewide: 按照gofmt改代码风格 2019-07-27 07:49:08 +00:00
Yousong Zhou
06a298eb3b modelbase: 若GetIModelManager()不符合预期则panic
便于定位
2019-07-27 07:49:08 +00:00
Yousong Zhou
ea09f783ff yunionconf: 改正启动失败问题 2019-07-27 07:49:08 +00:00
yunion-ci-robot
ca7c434014 Merge pull request #1955 from yousong/automated-cherry-pick-of-#1954-upstream-release-2.11
Automated cherry pick of #1954: ansibleplaybooks: 改正输出溢出时的记录
2019-07-27 09:58:07 +08:00
Yousong Zhou
a3e71c574d ansibleplaybooks: 改正输出溢出时的记录 2019-07-27 01:13:37 +00:00
yunion-ci-robot
90630623e8 Merge pull request #1952 from yousong/automated-cherry-pick-of-#1951-upstream-release-2.11
Automated cherry pick of #1951: ansibleplaybooks: 改正启动失败问题
2019-07-27 00:35:08 +08:00
yunion-ci-robot
2ef5a1b648 Merge pull request #1947 from wanyaoqi/automated-cherry-pick-of-#1946-upstream-release-2.11
Automated cherry pick of #1946: bugfix:
2019-07-27 00:32:07 +08:00
yunion-ci-robot
79595c2928 Merge pull request #1945 from tb365/automated-cherry-pick-of-#1942-upstream-release-2.11
Automated cherry pick of #1942: 华为 & ucloud fix
2019-07-27 00:28:06 +08:00
Yousong Zhou
f6939dd13f ansibleplaybooks: 增量式记录输出 2019-07-26 15:24:48 +00:00
Yousong Zhou
0649b8ff3d pkg: ansible: 支持指定OutputWriter 2019-07-26 15:24:47 +00:00
Yousong Zhou
e6610be842 ansibleplaybooks: Output字段使用mediumtext 2019-07-26 15:24:47 +00:00
Yousong Zhou
81477c8a76 ansibleplaybooks: 改正启动失败问题 2019-07-26 15:24:47 +00:00
wanyaoqi
aa2453b93e bugfix:
- storage cache iso
- guest start on host
2019-07-26 19:47:14 +08:00
yunion-ci-robot
0f56eb9a28 Merge pull request #1940 from yousong/automated-cherry-pick-of-#1939-upstream-release-2.11
Automated cherry pick of #1939: lbbackends: 若backend guest已删除getVpc返回空且不报错
2019-07-26 18:13:08 +08:00
TangBin
5225aafbbf huawei rebuild root fix 2019-07-26 18:11:10 +08:00
TangBin
c6cd84d295 华为 & ucloud fix 2019-07-26 18:11:10 +08:00
Yousong Zhou
b128a0414f lbbackends: 若backend guest已删除getVpc返回空且不报错 2019-07-26 08:52:33 +00:00
yunion-ci-robot
e972a40005 Merge pull request #1911 from ioito/automated-cherry-pick-of-#1910-upstream-release-2.11
Automated cherry pick of #1910: fix: 避免镜像同步到私有云自定义镜像里面
2019-07-26 15:31:08 +08:00
yunion-ci-robot
b9f7c5e52e Merge pull request #1933 from yousong/automated-cherry-pick-of-#1932-upstream-release-2.11
Automated cherry pick of #1932: vendor: update yunion.io/x/pkg
2019-07-26 15:20:08 +08:00
yunion-ci-robot
d1c9b6023f Merge pull request #1929 from swordqiu/automated-cherry-pick-of-#1927-upstream-release-2.11
Automated cherry pick of #1927: fix: not trauncating task errors
2019-07-26 13:32:10 +08:00
yunion-ci-robot
19a6171f6e Merge pull request #1926 from swordqiu/automated-cherry-pick-of-#1924-upstream-release-2.11
Automated cherry pick of #1924: fix: server-create may timeout if external image used
2019-07-26 13:31:11 +08:00
yunion-ci-robot
50471de34f Merge pull request #1923 from swordqiu/automated-cherry-pick-of-#1922-upstream-release-2.11
Automated cherry pick of #1922: feature: filter results by multiple providers or brands
2019-07-26 13:30:07 +08:00
yunion-ci-robot
beacf04337 Merge pull request #1937 from Zexi/automated-cherry-pick-of-#1935-upstream-release-2.11
Automated cherry pick of #1935: region: fix server create params missing data
2019-07-26 12:54:09 +08:00
yunion-ci-robot
ee7eddb5da Merge pull request #1916 from Zexi/automated-cherry-pick-of-#1915-upstream-release-2.11
Automated cherry pick of #1915: baremetal: mkfs.ext4 add '-T largefile' option
2019-07-26 12:53:07 +08:00
Zexi
db52fa170f region: fix server create params missing data 2019-07-26 12:52:06 +08:00
Yousong Zhou
1f3c70c57c vendor: update yunion.io/x/pkg 2019-07-26 03:45:25 +00:00
yunion-ci-robot
8975634865 Merge pull request #1919 from yousong/automated-cherry-pick-of-#1918-upstream-release-2.11
Automated cherry pick of #1918: lbagents: 加强vrrp校验
2019-07-25 22:37:07 +08:00
Qiu Jian
c5904d22a6 fix: not trauncating task errors 2019-07-25 22:29:26 +08:00
Qiu Jian
745611f1e0 fix: server-create may timeout if external image used 2019-07-25 21:33:14 +08:00
Qiu Jian
f80b19bdc9 feature: filter results by multiple providers or brands 2019-07-25 20:59:37 +08:00
Yousong Zhou
98d88aaf07 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:53:26 +00:00
Zexi
18bf91f7df baremetal: mkfs.ext4 add '-T largefile' option 2019-07-25 17:10:44 +08:00
ioito
c02bd96ef9 fix: 避免镜像同步到私有云自定义镜像里面 2019-07-25 14:40:06 +08:00
yunion-ci-robot
e822db3a3c Merge pull request #1908 from swordqiu/automated-cherry-pick-of-#1906-upstream-release-2.11
Automated cherry pick of #1906: fix: climc image-public parameter fix
2019-07-25 14:25:14 +08:00
yunion-ci-robot
7e2b8aeca2 Merge pull request #1904 from swordqiu/automated-cherry-pick-of-#1902-upstream-release-2.11
Automated cherry pick of #1902: fix: role assignments list should include matched policies
2019-07-25 14:23:06 +08:00
yunion-ci-robot
6cf99e7cd7 Merge pull request #1899 from swordqiu/automated-cherry-pick-of-#1898-upstream-release-2.11
Automated cherry pick of #1898: fix: networkinterfacenetwork set nil virtual object
2019-07-25 14:22:08 +08:00
Qiu Jian
f056f91301 fix: climc image-public parameter fix 2019-07-25 10:16:58 +08:00
Qiu Jian
18ed058908 fix: role assignments list should include matched policies 2019-07-25 02:32:06 +08:00
yunion-ci-robot
a6e34b7174 Merge pull request #1901 from ioito/automated-cherry-pick-of-#1900-upstream-release-2.11
Automated cherry pick of #1900: 修复计算虚拟网卡数量sql错误
2019-07-25 01:18:05 +08:00
屈轩
07c4f75e64 修复计算虚拟网卡数量sql错误 2019-07-25 00:52:02 +08:00
Qiu Jian
292d6f9c09 fix: networkinterfacenetwork set nil virtual object 2019-07-25 00:19:07 +08:00
yunion-ci-robot
c1a8836ed3 Merge pull request #1897 from swordqiu/automated-cherry-pick-of-#1769-#1893-upstream-release-2.11
Automated cherry pick of #1769: feature: s3gateway #1893: s3gateway revise
2019-07-24 23:41:05 +08:00
Qiu Jian
b5502bb1bc s3gateway revise 2019-07-24 22:40:03 +08:00
Qiu Jian
ae946a1f13 fix: bug fixes, add docs 2019-07-24 22:39:55 +08:00
Qiu Jian
e0c13571a8 s3gateway round 2 2019-07-24 22:39:29 +08:00
Qiu Jian
39746ee2c1 feature: s3gateway 2019-07-24 22:38:15 +08:00
Zexi Li
5bd68c1916 Merge pull request #1896 from swordqiu/automated-cherry-pick-of-#1824-upstream-release-2.11
Automated cherry pick of #1824: nat update without client
2019-07-24 22:36:56 +08:00
Rain
5367e239d9 make sure that one snat/dnat rule named Entry and several snat/dnat rules named Table 2019-07-24 22:34:20 +08:00
yunion-ci-robot
f4910e0b1f Merge pull request #1892 from ioito/automated-cherry-pick-of-#1773-upstream-release-2.11
Automated cherry pick of #1773: 虚拟网卡信息同步
2019-07-24 20:39:06 +08:00
ioito
7f521ffd8f add networkinterfaces api docs 2019-07-24 19:49:12 +08:00
ioito
0b0d50a646 networks details for networkinterface 2019-07-24 19:47:58 +08:00
ioito
5af7538c22 add ucloud interface sync 2019-07-24 19:47:58 +08:00
ioito
3014f4b08b 虚拟网卡信息同步 2019-07-24 19:47:58 +08:00
yunion-ci-robot
e3ee0ad9de Merge pull request #1876 from Mjoycarry/automated-cherry-pick-of-#1824-upstream-release-2.11
Automated cherry pick of #1824: huawei nat list finish without testing
2019-07-24 17:58:05 +08:00
yunion-ci-robot
6ad771a743 Merge pull request #1889 from swordqiu/automated-cherry-pick-of-#1885-upstream-release-2.11
Automated cherry pick of #1885: fix: validate info when importing ldap user/group/domain
2019-07-24 16:15:06 +08:00
Qiu Jian
e824982383 fix: validate info when importing ldap user/group/domain 2019-07-24 16:02:33 +08:00
yunion-ci-robot
60df4693f4 Merge pull request #1882 from swordqiu/automated-cherry-pick-of-#1880-upstream-release-2.11
Automated cherry pick of #1880: fix: server-logininfo rpc include login_key
2019-07-24 13:26:07 +08:00
Qiu Jian
766534675e fix: server-logininfo rpc include login_key 2019-07-24 13:17:33 +08:00
yunion-ci-robot
1e8b44ced5 Merge pull request #1878 from wanyaoqi/automated-cherry-pick-of-#1877-upstream-release-2.11
Automated cherry pick of #1877: fix glance list share resource
2019-07-24 12:05:06 +08:00
wanyaoqi
bfa1df0059 fix glance list share resource 2019-07-24 11:56:23 +08:00
Rain
099d1d4974 nat update without client
add nat update subcommands for huaweicli, aliyuncli

modify interface name of nat, add comment of this
2019-07-24 11:32:11 +08:00
yunion-ci-robot
70c5ea73ae Merge pull request #1875 from Mjoycarry/automated-cherry-pick-of-#1811-upstream-release-2.11
Automated cherry pick of #1811: huawei nat list finish without testing
2019-07-24 10:19:06 +08:00
Rain
c9f92ee0f6 support sync and list natgateway, snat table and dnat table 2019-07-24 10:14:47 +08:00
Rain
94562c6c58 huawei nat list finish without testing 2019-07-24 10:14:47 +08:00
yunion-ci-robot
f30ae9abc4 Merge pull request #1863 from ioito/automated-cherry-pick-of-#1860-upstream-release-2.11
Automated cherry pick of #1860: 添加同步安全组日志
2019-07-24 09:36:07 +08:00
yunion-ci-robot
8d8567f0e2 Merge pull request #1869 from swordqiu/automated-cherry-pick-of-#1867-upstream-release-2.11
Automated cherry pick of #1867: fix: clear pending-delete when sched_fail
2019-07-24 09:34:07 +08:00
yunion-ci-robot
682acb8e9c Merge pull request #1871 from swordqiu/automated-cherry-pick-of-#1870-upstream-release-2.11
Automated cherry pick of #1870: fix: agent registration will report version
2019-07-24 09:29:05 +08:00
yunion-ci-robot
15a9c932ae Merge pull request #1874 from swordqiu/automated-cherry-pick-of-#1872-upstream-release-2.11
Automated cherry pick of #1872: fix: keystone user initialization hit empty extra
2019-07-24 09:24:05 +08:00
Qiu Jian
2cc07bc99f fix: keystone user initialization hit empty extra 2019-07-24 09:16:02 +08:00
Qiu Jian
13c8795ab1 fix: agent registration will report version 2019-07-24 01:24:24 +08:00
Qiu Jian
24f4b28ca0 fix: clear pending-delete when sched_fail 2019-07-23 23:48:33 +08:00
yunion-ci-robot
99095ee9e7 Merge pull request #1859 from swordqiu/automated-cherry-pick-of-#1857-upstream-release-2.11
Automated cherry pick of #1857: fix: esxi change instanceType failed as ChangeConfig2 not implemented
2019-07-23 22:13:07 +08:00
ioito
e5ef25b7cb 避免重复设置同一vpc底下不同安全组externalId 2019-07-23 21:54:08 +08:00
ioito
f59d0ab27f 添加同步安全组日志 2019-07-23 21:54:08 +08:00
Qiu Jian
ac9f5a8b0d fix: esxi change instanceType failed as ChangeConfig2 not implemented 2019-07-23 21:25:32 +08:00
yunion-ci-robot
2c786c0ada Merge pull request #1853 from wanyaoqi/automated-cherry-pick-of-#1852-upstream-release-2.11
Automated cherry pick of #1852: fix baremetal attach network
2019-07-23 21:05:05 +08:00
yunion-ci-robot
207201dd07 Merge pull request #1855 from ioito/automated-cherry-pick-of-#1840-upstream-release-2.11
Automated cherry pick of #1840: 卸载磁盘时忽略云上磁盘已经被删除的错误
2019-07-23 20:11:04 +08:00
yunion-ci-robot
0fb27b522b Merge pull request #1846 from ioito/automated-cherry-pick-of-#1829-upstream-release-2.11
Automated cherry pick of #1829: 避免cacheimage refresh时同步azure镜像信息异常
2019-07-23 18:42:05 +08:00
ioito
34a049d5d6 卸载磁盘时忽略云上磁盘已经被删除的错误 2019-07-23 18:35:03 +08:00
wanyaoqi
6d910afaec fix baremetal attach network 2019-07-23 18:18:28 +08:00
yunion-ci-robot
7f9df03054 Merge pull request #1850 from wanyaoqi/automated-cherry-pick-of-#1843-upstream-release-2.11
Automated cherry pick of #1843: bugfix: baremetal import , guest panic notify
2019-07-23 18:18:05 +08:00
wanyaoqi
22b983929a bugfix: baremetal import , guest panic notify
- reset baremetal access ip on baremetal rebuild
- add guest panic notify template
2019-07-23 16:15:19 +08:00
ioito
b97380d3f4 避免cacheimage refresh时同步azure镜像信息异常 2019-07-23 15:05:25 +08:00
yunion-ci-robot
e0326f3bb0 Merge pull request #1839 from wanyaoqi/automated-cherry-pick-of-#1837-upstream-release-2.11
Automated cherry pick of #1837: fix guest check quota on change config
2019-07-23 12:06:08 +08:00
yunion-ci-robot
aae50eb4d8 Merge pull request #1833 from ioito/automated-cherry-pick-of-#1832-upstream-release-2.11
Automated cherry pick of #1832: 避免因cloudprovider disable导致账号同步失效
2019-07-23 12:03:06 +08:00
yunion-ci-robot
e045b61cb7 Merge pull request #1825 from ioito/automated-cherry-pick-of-#1820-upstream-release-2.11
Automated cherry pick of #1820: 仅忽略 no such service错误,否则以最新api结果为准
2019-07-23 11:58:05 +08:00
wanyaoqi
693088b2e8 fix guest check quota on change config 2019-07-22 21:18:43 +08:00
ioito
bb13109093 避免因cloudprovider disable导致账号同步失效 2019-07-22 20:04:15 +08:00
Zexi Li
903b2a87bc Merge pull request #1831 from Zexi/automated-cherry-pick-of-#1823-upstream-release-2.11
Automated cherry pick of #1823: fix: node count for a virtualized host is always 1
2019-07-22 19:17:55 +08:00
Qiu Jian
da29cb81f7 fix: node count for a virtualized host is always 1 2019-07-22 19:17:15 +08:00
ioito
0d36cb5b9a 仅忽略 no such service错误,否则以最新api结果为准 2019-07-22 10:10:56 +08:00
yunion-ci-robot
a392564b11 Merge pull request #1817 from swordqiu/automated-cherry-pick-of-#1815-upstream-release-2.11
Automated cherry pick of #1815: fix: image add is_standard field, filter by is_standard=false|true
2019-07-22 10:04:05 +08:00
yunion-ci-robot
c4c8cadd5c Merge pull request #1818 from wanyaoqi/automated-cherry-pick-of-#1689-upstream-release-2.11
Automated cherry pick of #1689: auto create subnet on host register
2019-07-20 13:34:03 +08:00
yunion-ci-robot
c7a7b840ea Merge pull request #1819 from tb365/automated-cherry-pick-of-#1801-upstream-release-2.11
Automated cherry pick of #1801: ucloud bugfix
2019-07-19 15:40:06 +08:00
TangBin
def245b156 ucloud bugfix 2019-07-19 15:33:16 +08:00
wanyaoqi
07839cc8b8 auto create subnet on host register 2019-07-19 15:29:38 +08:00
Qiu Jian
f57e27c625 fix: image add is_standard field, filter by is_standard=false|true 2019-07-19 15:19:14 +08:00
yunion-ci-robot
e119d7fd97 Merge pull request #1813 from wanyaoqi/automated-cherry-pick-of-#1812-upstream-release-2.11.0
Automated cherry pick of #1812: host reload telegraf
2019-07-19 11:40:03 +08:00
wanyaoqi
6e139c47fd host reload telegraf 2019-07-19 11:36:41 +08:00
yunion-ci-robot
cb59769de0 Merge pull request #1809 from Zexi/automated-cherry-pick-of-#1808-upstream-release-2.11.0
Automated cherry pick of #1808: scheduler: esxi and zstack hypervisor do cpu and memory filter
2019-07-19 00:50:04 +08:00
yunion-ci-robot
b9b938aa41 Merge pull request #1806 from ioito/automated-cherry-pick-of-#1805-upstream-release-2.11.0
Automated cherry pick of #1805: 允许更改openstack存储容量
2019-07-19 00:44:02 +08:00
Zexi
82122a74f6 scheduler: esxi and zstack hypervisor do cpu and memory filter 2019-07-18 20:26:30 +08:00
ioito
a3edbd2895 允许更改openstack存储容量 2019-07-18 19:43:54 +08:00
yunion-ci-robot
e1ccc42fbc Merge pull request #1793 from ioito/automated-cherry-pick-of-#1792-upstream-release-2.11.0
Automated cherry pick of #1792: 优化套餐启用禁用
2019-07-18 15:46:01 +08:00
yunion-ci-robot
3c2ba9089a Merge pull request #1794 from ioito/automated-cherry-pick-of-#1761-upstream-release-2.11.0
Automated cherry pick of #1761: 添加lb eip同步
2019-07-18 15:43:58 +08:00
yunion-ci-robot
82de704dd9 Merge pull request #1797 from ioito/automated-cherry-pick-of-#1796-upstream-release-2.11.0
Automated cherry pick of #1796: 提高openstack创建windows机器成功率
2019-07-18 15:39:58 +08:00
ioito
001f0292cb 提高openstack创建windows机器成功率 2019-07-18 15:04:49 +08:00
ioito
3c20e3da9e 添加lb eip同步 2019-07-18 14:41:44 +08:00
ioito
14bad8ccc9 优化套餐启用禁用 2019-07-18 14:37:28 +08:00
yunion-ci-robot
2ed681a93b Merge pull request #1791 from swordqiu/automated-cherry-pick-of-#1789-upstream-release-2.11.0
Automated cherry pick of #1789: fix: server change owner did not change disk's owner
2019-07-18 14:18:00 +08:00
yunion-ci-robot
01b67589c3 Merge pull request #1782 from Mjoycarry/automated-cherry-pick-of-#1758-upstream-release-2.11.0
Automated cherry pick of #1758: huawei cloud vpc route table list and sync finished; huaweicli routetable-list finished
2019-07-18 14:16:59 +08:00
yunion-ci-robot
8f6410f513 Merge pull request #1787 from wanyaoqi/automated-cherry-pick-of-#1786-upstream-release-2.11.0
Automated cherry pick of #1786: disk reset set server status
2019-07-18 14:09:58 +08:00
Qiu Jian
6d82a4aa53 fix: server change owner did not change disk's owner 2019-07-18 14:06:03 +08:00
wanyaoqi
144ebb6575 disk reset set server status 2019-07-18 11:37:21 +08:00
Zexi Li
fe1be4f9fd Merge pull request #1785 from Zexi/automated-cherry-pick-of-#1783-upstream-release-2.11.0
Automated cherry pick of #1783: glance: fix duplicate data for node db_stats
2019-07-18 10:48:22 +08:00
Zexi
0eaf16f267 glance: fix duplicate data for node db_stats 2019-07-18 10:47:20 +08:00
Rain
56f09c8085 huawei cloud vpc route table list and sync finished; huaweicli routetable-list finished 2019-07-18 09:57:27 +08:00
yunion-ci-robot
f7f3d3b6b0 Merge pull request #1780 from Zexi/automated-cherry-pick-of-#1779-upstream-release-2.11.0
Automated cherry pick of #1779: baremetal: fix msdos last primary partition not resized
2019-07-17 22:15:58 +08:00
Zexi
bcac0820ae baremetal: fix msdos last primary partition not resized 2019-07-17 22:08:41 +08:00
yunion-ci-robot
1d318591f8 Merge pull request #1778 from swordqiu/automated-cherry-pick-of-#1776-upstream-release-2.11.0
Automated cherry pick of #1776: fix: allow access mcclient serviceCatalog
2019-07-17 21:30:59 +08:00
yunion-ci-robot
6abcc46cd2 Merge pull request #1768 from swordqiu/automated-cherry-pick-of-#1766-upstream-release-2.11.0
Automated cherry pick of #1766: fix: allow project creating prepaid servers
2019-07-17 21:29:01 +08:00
Qiu Jian
dacf6e8bac fix: allow access mcclient serviceCatalog 2019-07-17 21:20:39 +08:00
yunion-ci-robot
a96e28f6d5 Merge pull request #1759 from Zexi/automated-cherry-pick-of-#1756-upstream-release-2.11.0
Automated cherry pick of #1756: region: server order by account and remove models stale comments
2019-07-17 21:13:57 +08:00
yunion-ci-robot
ab34261e9e Merge pull request #1746 from wanyaoqi/automated-cherry-pick-of-#1745-upstream-release-2.11.0
Automated cherry pick of #1745: fix deploy network with routes
2019-07-17 21:02:59 +08:00
yunion-ci-robot
5a83ca059b Merge pull request #1762 from ioito/automated-cherry-pick-of-#1569-upstream-release-2.11.0
Automated cherry pick of #1569: fix sku PropertyInstanceSpecs
2019-07-17 18:19:57 +08:00
yunion-ci-robot
54fff043d1 Merge pull request #1772 from Zexi/automated-cherry-pick-of-#1770-upstream-release-2.11.0
Automated cherry pick of #1770: scheduler: schedtag predicate match resources then do filter
2019-07-17 13:48:58 +08:00
yunion-ci-robot
73f3c761e2 Merge pull request #1764 from Zexi/automated-cherry-pick-of-#1763-upstream-release-2.11.0
Automated cherry pick of #1763: service db init sync exit
2019-07-17 13:46:01 +08:00
Zexi
98ee0f806b scheduler: schedtag predicate match resources then do filter 2019-07-17 13:22:20 +08:00
Qiu Jian
0bde486252 fix: allow project creating prepaid servers 2019-07-16 19:43:56 +08:00
Zexi
7897629f97 db: app service support --exit-after-db-init 2019-07-16 19:15:48 +08:00
Zexi
eac4fa9c18 service db init sync exit 2019-07-16 19:15:48 +08:00
ioito
fbf4145093 fix sku PropertyInstanceSpecs 2019-07-16 17:18:19 +08:00
yunion-ci-robot
18aee8cb59 Merge pull request #1754 from Zexi/automated-cherry-pick-of-#1753-upstream-release-2.11.0
Automated cherry pick of #1753: region: fix baremetal specs not found when domain_id specify
2019-07-16 16:59:59 +08:00
Zexi
73b25b8a81 region: server order by account and remove models stale comments 2019-07-16 16:12:07 +08:00
yunion-ci-robot
87460dd73e Merge pull request #1736 from wanyaoqi/automated-cherry-pick-of-#1735-upstream-release-2.11.0
Automated cherry pick of #1735: add verify storage mount point
2019-07-16 12:52:58 +08:00
wanyaoqi
ece0c4b49f add verify storage mount point 2019-07-16 11:33:49 +08:00
wanyaoqi
5b8b36def8 fix deploy network with routes 2019-07-16 11:13:39 +08:00
Zexi
edb45ea232 region: fix baremetal specs not found when domain_id specify 2019-07-16 11:13:00 +08:00
yunion-ci-robot
eb0b78b7f1 Merge pull request #1752 from Zexi/automated-cherry-pick-of-#1717-upstream-release-2.11.0
Automated cherry pick of #1717: host 相关的 rpm 包自动添加 systemd unit service 文件
2019-07-16 11:07:58 +08:00
Zexi
ca8a6e920e host 相关的 rpm 包自动添加 systemd unit service 文件 2019-07-16 10:27:33 +08:00
yunion-ci-robot
290fe95f49 Merge pull request #1739 from wanyaoqi/automated-cherry-pick-of-#1738-upstream-release-2.11.0
Automated cherry pick of #1738: host listen before register
2019-07-15 23:48:56 +08:00
yunion-ci-robot
3d75420d88 Merge pull request #1750 from swordqiu/automated-cherry-pick-of-#1748-upstream-release-2.11.0
Automated cherry pick of #1748: fix: server-change-ipaddr may ignore errors when changing ipaddr
2019-07-15 23:37:01 +08:00
Qiu Jian
5aeb4712d6 fix: server-change-ipaddr may ignore errors when changing ipaddr 2019-07-15 23:01:54 +08:00
yunion-ci-robot
8e2580fd08 Merge pull request #1733 from yousong/automated-cherry-pick-of-#1732-upstream-release-2.11.0
Automated cherry pick of #1732: lb: 将lb.backendgroup视为弱引用
2019-07-15 22:16:58 +08:00
yunion-ci-robot
1c9bd60cf6 Merge pull request #1742 from ioito/automated-cherry-pick-of-#1741-upstream-release-2.11.0
Automated cherry pick of #1741: 避免设置disable的cloudproviderregion状态
2019-07-15 21:37:00 +08:00
ioito
c03f84887a 避免设置disable的cloudproviderregion状态 2019-07-15 16:41:44 +08:00
wanyaoqi
828a50492a host listen before register 2019-07-15 16:03:03 +08:00
Yousong Zhou
2ef32fbbcc lb: 将lb.backendgroup视为弱引用 2019-07-15 05:00:38 +00:00
yunion-ci-robot
e05608a776 Merge pull request #1731 from yousong/automated-cherry-pick-of-#1729-release-2.11.0
Automated cherry pick of #1729: .circleci: 改进test执行
2019-07-15 12:41:58 +08:00
Yousong Zhou
aa26577ff8 .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:51:40 +00:00
yunion-ci-robot
138686fe97 Merge pull request #1723 from swordqiu/automated-cherry-pick-of-#1721-upstream-release-2.11.0
Automated cherry pick of #1721: fix: ldap sync domain may remove local usrs
2019-07-15 10:40:57 +08:00
yunion-ci-robot
eb782f7873 Merge pull request #1725 from ioito/automated-cherry-pick-of-#1724-upstream-release-2.11.0
Automated cherry pick of #1724: 修复purge backend野指针引用问题
2019-07-15 10:36:57 +08:00
ioito
afe1f27356 修复purge backend野指针引用问题 2019-07-15 10:22:08 +08:00
yunion-ci-robot
af04da9cd7 Merge pull request #1720 from Zexi/automated-cherry-pick-of-#1718-upstream-release-2.11.0
Automated cherry pick of #1718: scheduler: optimize forecast filter info
2019-07-15 09:23:59 +08:00
Zexi
2f2b7bb080 scheduler: optimize forecast filter info 2019-07-15 09:17:01 +08:00
Qiu Jian
c35af724ef fix: ldap sync domain may remove local usrs 2019-07-15 08:45:14 +08:00
yunion-ci-robot
45a95e947b Merge pull request #1707 from yousong/automated-cherry-pick-of-#1706-release-2.11.0
Automated cherry pick of #1706: lbagent: deploy: 仓库配置文件默认sslverify=0
2019-07-13 20:15:00 +08:00
yunion-ci-robot
70eb41fedf Merge pull request #1715 from wanyaoqi/automated-cherry-pick-of-#1714-upstream-release-2.11.0
Automated cherry pick of #1714: fix  disk create from snapshot
2019-07-13 19:23:58 +08:00
wanyaoqi
4e5ee3f497 fix disk create from snapshot 2019-07-13 19:21:54 +08:00
yunion-ci-robot
9833c2cac1 Merge pull request #1710 from ioito/automated-cherry-pick-of-#1709-upstream-release-2.11.0
Automated cherry pick of #1709: fix console log
2019-07-13 17:39:00 +08:00
ioito
395bc795a5 fix console log 2019-07-13 14:46:14 +08:00
Yousong Zhou
90eb4af91c lbagent: deploy: 部署结束重启服务 2019-07-13 05:20:39 +00:00
Yousong Zhou
c7f21fc203 lbagent: deploy: 仓库配置文件默认sslverify=0 2019-07-13 05:20:38 +00:00
yunion-ci-robot
cb78a62b8f Merge pull request #1697 from ioito/automated-cherry-pick-of-#1696-upstream-release-2.11.0
Automated cherry pick of #1696: 补充zstack宿主机本地存储
2019-07-12 14:44:56 +08:00
yunion-ci-robot
507f98d5af Merge pull request #1692 from swordqiu/automated-cherry-pick-of-#1690-upstream-release-2.11.0
Automated cherry pick of #1690: fix: invalid old password
2019-07-12 14:43:02 +08:00
yunion-ci-robot
7d6faaf66d Merge pull request #1700 from ioito/automated-cherry-pick-of-#1699-upstream-release-2.11.0
Automated cherry pick of #1699: 同优先级规则deny优先于allow规则生效
2019-07-12 11:59:57 +08:00
ioito
a73990773f 同优先级规则deny优先于allow规则生效 2019-07-12 11:48:26 +08:00
ioito
2af91e81a4 补充zstack宿主机本地存储 2019-07-12 10:39:32 +08:00
yunion-ci-robot
6d50bdd33b Merge pull request #1694 from wanyaoqi/automated-cherry-pick-of-#1693-upstream-release-2.11.0
Automated cherry pick of #1693: fix host register:
2019-07-12 10:32:56 +08:00
wanyaoqi
50a085c741 fix host register: 2019-07-12 10:29:39 +08:00
yunion-ci-robot
cfb275b371 Merge pull request #1682 from ioito/automated-cherry-pick-of-#1681-upstream-release-2.11.0
Automated cherry pick of #1681: 宿主机存储利用率仅计算本地存储
2019-07-12 09:06:56 +08:00
Qiu Jian
6ac449e355 fix: invalid old password 2019-07-11 23:59:58 +08:00
yunion-ci-robot
bd97b29178 Merge pull request #1688 from swordqiu/automated-cherry-pick-of-#1686-upstream-release-2.11.0
Automated cherry pick of #1686: fix: notify message use brand insteand of hypervisor
2019-07-11 19:57:57 +08:00
Qiu Jian
252c07a789 fix: notify message use brand insteand of hypervisor 2019-07-11 18:35:58 +08:00
yunion-ci-robot
c8e48e4d47 Merge pull request #1677 from ioito/automated-cherry-pick-of-#1676-upstream-release-2.11.0
Automated cherry pick of #1676: 避免重装系统时绑定秘钥后没有account信息
2019-07-11 18:30:59 +08:00
ioito
77982aa4f1 宿主机存储利用率仅计算本地存储 2019-07-11 17:28:35 +08:00
ioito
fa92c8a804 避免重装系统时绑定秘钥后没有account信息 2019-07-11 16:59:05 +08:00
yunion-ci-robot
a02458aaef Merge pull request #1673 from ioito/automated-cherry-pick-of-#1672-upstream-release-2.11.0
Automated cherry pick of #1672: fix grpc client timeout
2019-07-11 13:47:58 +08:00
ioito
0acddee2b1 fix grpc client timeout 2019-07-11 13:42:57 +08:00
yunion-ci-robot
3a0abe056c Merge pull request #1671 from swordqiu/automated-cherry-pick-of-#1667-upstream-release-2.11.0
Automated cherry pick of #1667: fix: task usercred should be utf8 charset
2019-07-11 12:17:56 +08:00
Qiu Jian
314e6d8886 fix: task usercred should be utf8 charset 2019-07-11 12:13:40 +08:00
yunion-ci-robot
5e5dd7965d Merge pull request #1665 from wanyaoqi/automated-cherry-pick-of-#1662-upstream-release-2.11.0
Automated cherry pick of #1662: baremetal init fsdriver
2019-07-11 12:01:56 +08:00
wanyaoqi
d1c795056e baremetal init fsdriver 2019-07-11 11:41:25 +08:00
Jian Qiu
6bb1f23a25 Automated cherry pick of #1659: fix: add all ports usage (#1661)
* fix: add all ports usage

* fix: action log project-domain charset is not utf8
2019-07-11 08:58:12 +08:00
yunion-ci-robot
b83356840d Merge pull request #1655 from ioito/automated-cherry-pick-of-#1654-upstream-release-2.11.0
Automated cherry pick of #1654: fix qcloud associate eip timeout after bind
2019-07-11 08:44:55 +08:00
ioito
8de9303102 fix qcloud associate eip timeout after bind 2019-07-10 21:04:06 +08:00
yunion-ci-robot
beb3e7df9c Merge pull request #1653 from tb365/automated-cherry-pick-of-#1649-upstream-release-2.11.0
Automated cherry pick of #1649: add rpc-global-settings-dictionary
2019-07-10 20:58:57 +08:00
yunion-ci-robot
6833f3117c Merge pull request #1650 from wanyaoqi/automated-cherry-pick-of-#1603-upstream-release-2.11.0
Automated cherry pick of #1603: - set mirror status on switch
2019-07-10 20:56:56 +08:00
TangBin
53d21d403a make fmt 2019-07-10 20:55:33 +08:00
TangBin
d8fba4963a add rpc-global-settings-dictionary 2019-07-10 20:55:33 +08:00
yunion-ci-robot
476b9ea17a Merge pull request #1642 from ioito/automated-cherry-pick-of-#1641-upstream-release-2.11.0
Automated cherry pick of #1641: 统一处理ResourceNotFound返回id not find
2019-07-10 20:44:57 +08:00
yunion-ci-robot
a2b782ccfb Merge pull request #1639 from ioito/automated-cherry-pick-of-#1638-upstream-release-2.11.0
Automated cherry pick of #1638: 避免无限删除guest失败
2019-07-10 20:42:57 +08:00
wanyaoqi
ecf31c7915 add build file 2019-07-10 20:41:47 +08:00
wanyaoqi
3a3728bcb8 - set mirror status on switch
- deploy agent

- gpfs snapshot

- code fixs
2019-07-10 20:41:47 +08:00
ioito
0e503dd0fa 统一处理ResourceNotFound返回id not find 2019-07-10 16:11:14 +08:00
ioito
4cad2c9b2b 避免无限删除guest失败 2019-07-10 15:25:52 +08:00
yunion-ci-robot
bd20c28567 Merge pull request #1637 from swordqiu/automated-cherry-pick-of-#1635-upstream-release-2.11.0
Automated cherry pick of #1635: fix: possible reduce timeout for quota list
2019-07-10 11:55:56 +08:00
Qiu Jian
76b3280a4d fix: disk quota usage should exclude pending_deleted disks 2019-07-10 00:12:00 +08:00
Qiu Jian
d50d9309fd fix: possible reduce timeout for quota list 2019-07-10 00:11:59 +08:00
Jian Qiu
098ecd42f8 fix: domain usage is overriden by project usage (#1625) 2019-07-09 23:24:22 +08:00
yunion-ci-robot
da6ace7ffa Merge pull request #1627 from ioito/automated-cherry-pick-of-#1626-upstream-release-2.11.0
Automated cherry pick of #1626: metadata permission
2019-07-09 23:23:57 +08:00
yunion-ci-robot
8b8d5c5fb9 Merge pull request #1631 from ioito/automated-cherry-pick-of-#1622-upstream-release-2.11.0
Automated cherry pick of #1622: 兼容zone及usable参数
2019-07-09 22:59:56 +08:00
ioito
8221913ae9 兼容zone及usable参数 2019-07-09 22:44:41 +08:00
ioito
cfe66a734c metadata permission 2019-07-09 22:41:46 +08:00
yunion-ci-robot
f755aacc47 Merge pull request #1614 from ioito/automated-cherry-pick-of-#1604-upstream-release-2.11.0
Automated cherry pick of #1604: register sched-start-guest task
2019-07-09 17:30:56 +08:00
yunion-ci-robot
ffcb1d0fff Merge pull request #1606 from ioito/automated-cherry-pick-of-#1602-upstream-release-2.11.0
Automated cherry pick of #1602: add task failed code
2019-07-09 17:28:58 +08:00
yunion-ci-robot
550a084012 Merge pull request #1610 from ioito/automated-cherry-pick-of-#1605-upstream-release-2.11.0
Automated cherry pick of #1605: fix clone rbd image error
2019-07-09 17:21:55 +08:00
yunion-ci-robot
2c4f7b38ec Merge pull request #1621 from swordqiu/automated-cherry-pick-of-#1619-upstream-release-2.11.0
Automated cherry pick of #1619: fix: add default network project privileges
2019-07-09 17:18:56 +08:00
yunion-ci-robot
ac701e699f Merge pull request #1618 from zhasm/automated-cherry-pick-of-#1616-upstream-release-2.11.0
Automated cherry pick of #1616: + zstack build desc file
2019-07-09 17:17:57 +08:00
Qiu Jian
5048383a45 add usage debug 2019-07-09 17:14:05 +08:00
Qiu Jian
e9a6652162 fix: add default network project privileges 2019-07-09 17:14:05 +08:00
Zhang Dongliang
42393fb664 + zstack build desc file 2019-07-09 16:58:42 +08:00
ioito
ec24dbaf42 register sched-start-guest task 2019-07-09 15:53:05 +08:00
ioito
30bf968aa5 fix clone rbd image error 2019-07-09 15:48:42 +08:00
ioito
9e4bdf1cdc add task failed code 2019-07-09 15:44:55 +08:00
yunion-ci-robot
176b014924 Merge pull request #1600 from ioito/automated-cherry-pick-of-#1599-upstream-release-2.11.0
Automated cherry pick of #1599: fix max session login issue
2019-07-08 21:44:56 +08:00
ioito
65a6896d0b fix max session login issue 2019-07-08 16:45:19 +08:00
yunion-ci-robot
fc0eca373a Merge pull request #1597 from ioito/automated-cherry-pick-of-#1596-upstream-release-2.11.0
Automated cherry pick of #1596: 私有云或公有云镜像windows默认用户名都是Administrator
2019-07-07 19:08:58 +08:00
ioito
06ab929f55 私有云或公有云镜像windows默认用户名都是Administrator 2019-07-07 18:46:04 +08:00
Jian Qiu
aca1ba327f fix: image quota rpc support action and cascade params (#1595) 2019-07-06 23:57:07 +08:00
yunion-ci-robot
7582c44d18 Merge pull request #1591 from ioito/automated-cherry-pick-of-#1568-upstream-release-2.11.0
Automated cherry pick of #1568: fix cache domain tenants
2019-07-06 17:18:55 +08:00
yunion-ci-robot
54f20b7c15 Merge pull request #1589 from ioito/automated-cherry-pick-of-#1584-upstream-release-2.11.0
Automated cherry pick of #1584: fix create server sku not found error
2019-07-06 17:16:55 +08:00
ioito
9cc57b9b81 fix cache domain tenants 2019-07-06 16:58:33 +08:00
ioito
9d12d55bb0 fix create server sku not found error 2019-07-06 16:56:37 +08:00
Jian Qiu
603300271f fix: quota encode json allowing zero value (#1572) 2019-07-05 23:04:46 +08:00
yunion-ci-robot
79d291ee16 Merge pull request #1574 from ioito/automated-cherry-pick-of-#1573-upstream-release-2.11.0
Automated cherry pick of #1573: add usable filter for network
2019-07-05 23:03:56 +08:00
yunion-ci-robot
c93a404f72 Merge pull request #1559 from ioito/automated-cherry-pick-of-#1551-upstream-release-2.11.0
Automated cherry pick of #1551: add without_user_meta filter
2019-07-05 22:44:56 +08:00
yunion-ci-robot
7d1b3768a0 Merge pull request #1564 from ioito/automated-cherry-pick-of-#1563-upstream-release-2.11.0
Automated cherry pick of #1563: add deploy failed action log
2019-07-05 22:28:54 +08:00
yunion-ci-robot
46ecce550c Merge pull request #1561 from ioito/automated-cherry-pick-of-#1543-upstream-release-2.11.0
Automated cherry pick of #1543: fix not set guest status after attach or detach disk
2019-07-05 22:24:59 +08:00
yunion-ci-robot
8c25029126 Merge pull request #1555 from ioito/automated-cherry-pick-of-#1550-upstream-release-2.11.0
Automated cherry pick of #1550: fix purge aliyun account error by lbbg
2019-07-05 22:20:54 +08:00
ioito
d002fc4c07 add usable filter for network 2019-07-05 18:49:27 +08:00
ioito
2d6c542c9e add deploy failed action log 2019-07-05 14:17:40 +08:00
ioito
7bac8490f2 optimized tag filter 2019-07-05 10:24:14 +08:00
ioito
b9cd6a00e1 fix not set guest status after attach or detach disk 2019-07-05 10:17:35 +08:00
yunion-ci-robot
4c9ea9d615 Merge pull request #1546 from swordqiu/automated-cherry-pick-of-#1544-upstream-release-2.11.0
Automated cherry pick of #1544: fix: add disk usage for domain and project
2019-07-05 10:16:54 +08:00
ioito
c1a1e10d76 add without_user_meta filter 2019-07-05 10:15:22 +08:00
yunion-ci-robot
56a6018a8f Merge pull request #1554 from swordqiu/automated-cherry-pick-of-#1552-upstream-release-2.11.0
Automated cherry pick of #1552: 1. allow replace set quota when action=replace 2. show when the project external resource was fetched
2019-07-05 10:14:54 +08:00
yunion-ci-robot
138715b626 Merge pull request #1542 from swordqiu/automated-cherry-pick-of-#1540-upstream-release-2.11.0
Automated cherry pick of #1540: fix: user filter by role
2019-07-05 10:13:54 +08:00
ioito
034bd3006f fix purge aliyun account error by lbbg 2019-07-05 10:09:52 +08:00
yunion-ci-robot
0ce5323265 Merge pull request #1548 from ioito/automated-cherry-pick-of-#1547-upstream-release-2.11.0
Automated cherry pick of #1547: add azure disk reset func
2019-07-04 23:55:57 +08:00
Qiu Jian
60bd04c9bf 1. allow replace set quota when action=replace 2. show when the project external resource was fetched 2019-07-04 23:41:44 +08:00
Qiu Jian
e1eec7d9c5 add nics usage 2019-07-04 21:35:58 +08:00
Qiu Jian
ffb90ea605 fix: add disk usage for domain and project 2019-07-04 21:35:56 +08:00
ioito
edfd985996 add azure disk reset func 2019-07-04 20:04:10 +08:00
yunion-ci-robot
0e3b3182b1 Merge pull request #1508 from ioito/automated-cherry-pick-of-#1507-upstream-release-2.11.0
Automated cherry pick of #1507: fix sku filter by usable
2019-07-04 15:36:54 +08:00
Qiu Jian
90bca6afb1 fix: user filter by role 2019-07-04 15:30:32 +08:00
yunion-ci-robot
f8aab9e44c Merge pull request #1518 from yousong/automated-cherry-pick-of-#1517-release-2.11.0
Automated cherry pick of #1517: .circleci: save go cache
2019-07-04 11:43:51 +08:00
yunion-ci-robot
cb9460cb94 Merge pull request #1539 from swordqiu/automated-cherry-pick-of-#1537-upstream-release-2.11.0
Automated cherry pick of #1537: add ldapcli rpm
2019-07-04 10:30:54 +08:00
Qiu Jian
ebc86e9bee add ldapcli rpm 2019-07-04 10:11:52 +08:00
yunion-ci-robot
d037d7f8c4 Merge pull request #1536 from swordqiu/automated-cherry-pick-of-#1534-upstream-release-2.11.0
Automated cherry pick of #1534: fix: 1. token add projects when no project specified 2. IVirtualResourceManager add GetResourceCount() method 3. domainId not initialized occasionally
2019-07-04 10:02:56 +08:00
yunion-ci-robot
099b447f14 Merge pull request #1530 from ioito/automated-cherry-pick-of-#1529-upstream-release-2.11.0
Automated cherry pick of #1529: fix create image with userCred issue
2019-07-03 23:22:53 +08:00
yunion-ci-robot
d39671059f Merge pull request #1525 from ioito/automated-cherry-pick-of-#1524-upstream-release-2.11.0
Automated cherry pick of #1524: fix azure reserved ips
2019-07-03 23:02:53 +08:00
Qiu Jian
54dfdbd682 fix: 1. token add projects when no project specified 2. IVirtualResourceManager add GetResourceCount() method 3. domainId not initialized occasionally 2019-07-03 23:00:21 +08:00
Yousong Zhou
f54c0f764b .circleci: build: save go cache 2019-07-03 13:39:45 +00:00
ioito
de86ff3dc8 fix create image with userCred issue 2019-07-03 20:56:42 +08:00
yunion-ci-robot
b68476f3dd Merge pull request #1521 from ioito/automated-cherry-pick-of-#1520-upstream-release-2.11.0
Automated cherry pick of #1520: zstack using shell to init image password
2019-07-03 20:19:53 +08:00
ioito
ebbdcf4cf8 fix azure reserved ips 2019-07-03 20:10:49 +08:00
ioito
3a58f28193 zstack using shell to init image password 2019-07-03 19:23:40 +08:00
yunion-ci-robot
87192b01d7 Merge pull request #1510 from yousong/automated-cherry-pick-of-#1509-release-2.11.0
Automated cherry pick of #1509: pkg: ansible: 改正文件内容写入路径
2019-07-03 18:09:55 +08:00
yunion-ci-robot
490c625b20 Merge pull request #1513 from wanyaoqi/automated-cherry-pick-of-#1512-upstream-release-2.11.0
Automated cherry pick of #1512: fix image download timout
2019-07-03 18:06:56 +08:00
yunion-ci-robot
e75e1fde1d Merge pull request #1504 from ioito/automated-cherry-pick-of-#1503-upstream-release-2.11.0
Automated cherry pick of #1503: fix cloud-init lock root login issue
2019-07-03 17:43:53 +08:00
wanyaoqi
521a867d9c fix image download timout 2019-07-03 17:43:43 +08:00
Yousong Zhou
354045c70a pkg: ansible: 改正文件内容写入路径
模板不会在files/目录下寻找

Fixes: 5ec150e7a9 ("pkg: ansible: 添加文件内容支持")
2019-07-03 09:26:31 +00:00
ioito
7272c59c80 fix sku filter by usable 2019-07-03 16:43:59 +08:00
ioito
aca4edba40 fix cloud-init lock root login issue 2019-07-03 15:53:55 +08:00
yunion-ci-robot
e5b9122002 Merge pull request #1481 from ioito/automated-cherry-pick-of-#1479-upstream-release-2.11.0
Automated cherry pick of #1479: fix sync openstack hoststorages issue
2019-07-03 08:34:51 +08:00
yunion-ci-robot
dbabeaf64d Merge pull request #1491 from ioito/automated-cherry-pick-of-#1486-upstream-release-2.11.0
Automated cherry pick of #1486: fix azure set secgroup error
2019-07-03 08:27:52 +08:00
yunion-ci-robot
0b6a90441c Merge pull request #1501 from yousong/automated-cherry-pick-of-#1500-release-2.11.0
Automated cherry pick of #1500: build: mod: 兼容bsd sed
2019-07-03 00:39:52 +08:00
Yousong Zhou
1d6609b4ed build: mod: 兼容bsd sed 2019-07-02 15:01:20 +00:00
yunion-ci-robot
969625a606 Merge pull request #1496 from wanyaoqi/automated-cherry-pick-of-#1495-upstream-release-2.11.0
Automated cherry pick of #1495: fix export data
2019-07-02 22:09:52 +08:00
wanyaoqi
8b59048856 fix export data 2019-07-02 22:03:50 +08:00
ioito
664531b71c fix azure set secgroup error 2019-07-02 21:23:43 +08:00
ioito
4648bf9962 fix sync openstack hoststorages issue 2019-07-02 20:12:12 +08:00
yunion-ci-robot
ef717be8f7 Merge pull request #1463 from ioito/automated-cherry-pick-of-#1191-upstream-release-2.11.0
Automated cherry pick of #1191: 私有云套餐操作支持
2019-07-02 18:55:51 +08:00
yunion-ci-robot
064108b863 Merge pull request #1475 from swordqiu/automated-cherry-pick-of-#1474-upstream-release-2.11.0
Automated cherry pick of #1474: fix: service catalog nil pointer
2019-07-02 18:52:51 +08:00
yunion-ci-robot
38b50820ce Merge pull request #1472 from wanyaoqi/automated-cherry-pick-of-#1471-upstream-release-2.11.0
Automated cherry pick of #1471: fix export data, set no limit; expand timeout
2019-07-02 18:49:53 +08:00
Qiu Jian
888f810a97 fix: service catalog nil pointer 2019-07-02 18:27:59 +08:00
wanyaoqi
9866ad0876 fix export data, set no limit; expand timeout 2019-07-02 17:57:06 +08:00
yunion-ci-robot
a109e1700f Merge pull request #1468 from ioito/automated-cherry-pick-of-#1467-upstream-release-2.11.0
Automated cherry pick of #1467: fix create disk scheduler failed
2019-07-02 16:47:53 +08:00
ioito
2e1ef46d10 fix create disk scheduler failed 2019-07-02 16:43:06 +08:00
yunion-ci-robot
d617663ab0 Merge pull request #1466 from tb365/automated-cherry-pick-of-#1464-upstream-release-2.11.0
Automated cherry pick of #1464: update mod
2019-07-02 16:25:52 +08:00
TangBin
16a6ce495b update mod 2019-07-02 16:08:53 +08:00
ioito
6485b68ae0 fix import order 2019-07-02 15:25:34 +08:00
ioito
15cf240470 添加api文档 2019-07-02 15:25:34 +08:00
ioito
6febc80672 私有云套餐操作支持 2019-07-02 15:25:34 +08:00
yunion-ci-robot
cc0151e9cb Merge pull request #1462 from swordqiu/automated-cherry-pick-of-#1460-upstream-release-2.11.0
Automated cherry pick of #1460: fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize
2019-07-02 09:44:52 +08:00
Qiu Jian
fff502d709 feature: allow cascade quota set 2019-07-02 09:37:49 +08:00
Qiu Jian
ae8470ba35 fix: 1. quota add API 2. tenant cache refresh 3. domain quota not initialize 2019-07-02 09:37:48 +08:00
3404 changed files with 184060 additions and 511044 deletions

39
.circleci/Dockerfile Normal file
View File

@@ -0,0 +1,39 @@
FROM centos:7
MAINTAINER Yousong Zhou <zhouyousong@yunion.cn>
RUN true \
&& yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm \
&& yum install -y git wget \
&& yum groupinstall -y "Development Tools" \
&& : ceph for cmd/host \
&& rpm --import 'https://download.ceph.com/keys/release.asc' \
&& yum install -y https://download.ceph.com/rpm-luminous/el7/noarch/ceph-release-1-1.el7.noarch.rpm \
&& yum install -y libcephfs-devel librbd-devel librados-devel \
&& yum clean all
WORKDIR /opt
RUN true \
&& wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz \
&& tar xzf go1.13.3.linux-amd64.tar.gz \
&& rm -vf go1.13.3.linux-amd64.tar.gz \
&& true
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
ENV GOPATH="/home/build/go"
ENV PATH="${GOPATH}/bin:${PATH}"
RUN true \
&& mkdir -p "$GOPATH" \
&& d="$GOPATH/src/golang.org/x/tools" \
&& mkdir -p "$d" \
&& git clone --branch yun --depth 8 https://github.com/yousong/tools "$d" \
&& cd "$d" \
&& go install ./cmd/goimports \
&& true

View File

@@ -5,10 +5,10 @@ version: 2
jobs:
check:
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/onecloud-ci:v1.0.3
environment:
ONECLOUD_CI_BUILD: "1"
working_directory: /root/go/onecloud
working_directory: /home/build/go/src/yunion.io/x/onecloud
steps:
- checkout
- run:
@@ -18,7 +18,7 @@ jobs:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/onecloud-ci:v1.0.2
environment:
ONECLOUD_CI_BUILD: "1"
@@ -26,14 +26,14 @@ jobs:
#### expecting it in the form of
#### /go/src/github.com/circleci/go-tool
#### /go/src/bitbucket.org/circleci/go-tool
working_directory: /root/go/onecloud
working_directory: /home/build/go/src/yunion.io/x/onecloud
parallelism: 4
steps:
- checkout
- restore_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- /home/build/.cache/go-build
- run:
command: |
targets="$(circleci tests glob "cmd/*" | grep -v cmd/host-image | circleci tests split)"
@@ -43,7 +43,7 @@ jobs:
- save_cache:
key: onecloud-build-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- /home/build/.cache/go-build
- store_artifacts:
path: _output/
@@ -51,16 +51,16 @@ jobs:
requires:
- check
docker:
- image: yunionio/centos-build:1.0-1
- image: yunionio/onecloud-ci:v1.0.2
environment:
GO111MODULE: "on"
working_directory: /root/go/onecloud
working_directory: /home/build/go/src/yunion.io/x/onecloud
steps:
- checkout
- restore_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- /home/build/.cache/go-build
- run:
name: unit_test
command: |
@@ -68,7 +68,7 @@ jobs:
- save_cache:
key: onecloud-test-cache-{{ checksum "go.mod" }}-{{ checksum "Makefile" }}
paths:
- /root/.cache/go-build
- /home/build/.cache/go-build
workflows:
version: 2

View File

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

View File

@@ -2,131 +2,49 @@
kind: pipeline
name: build
clone:
depth: 1
workspace:
base: /home/build/go
base: /go
path: src/yunion.io/x/onecloud
steps:
- name: build
image: yunion/onecloud-ci:latest
image: d3lx/golang:yunion
commands:
- 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
- make
when:
event:
- pull_request
- tag
- name: image-baremetal-agent
trigger:
event:
- pull_request
- tag
---
kind: pipeline
name: release
steps:
- name: release-img
image: plugins/docker
settings:
repo: registry.cn-beijing.aliyuncs.com/yunionio/baremetal-agent
repo: registry.cn-beijing.aliyuncs.com/yunionio/onecloud
registry: registry.cn-beijing.aliyuncs.com
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}"
tags: "{DRONE_TAG}"
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event:
- tag
trigger:
event:
- tag
status:
- success
depends_on:
- build

View File

@@ -1,15 +1,9 @@
**这个 PR 实现什么功能/修复什么问题**:
<!--
- [ ] 功能、bugfix描述
- [ ] 冒烟测试
- [ ] 单元测试编写
-->
**是否需要 backport 到之前的 release 分支**:
<!--
如果不需要,填写 "NONE".
如果需要,就以下面 item 的格式写 release 分支名,并提交对应的 cherry-pick PR:
- release/3.1
- release/2.8.0
- release/2.6.0
-->

View File

@@ -1,232 +0,0 @@
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 # baremetal-agent needs this
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-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
make docker-alpine-build F='-j4 cmd/host cmd/vpcagent cmd/region-dns'
- 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 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 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 vpcagent
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/vpcagent
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.vpcagent
- 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 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 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
- name: Image region DNS
uses: elgohr/Publish-Docker-Github-Action@master
with:
name: registry.cn-beijing.aliyuncs.com/yunionio/region-dns
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
registry: registry.cn-beijing.aliyuncs.com
snapshot: true
dockerfile: build/docker/Dockerfile.region-dns

1
.gitignore vendored
View File

@@ -30,7 +30,6 @@ _output
/relay
/structargtest
.idea
.vscode
GPATH
GRTAGS
GTAGS

View File

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

20
Dockerfile Normal file
View File

@@ -0,0 +1,20 @@
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

118
Makefile
View File

@@ -10,7 +10,7 @@ BUILD_SCRIPT := $(ROOT_DIR)/build/build.sh
ifeq ($(ONECLOUD_CI_BUILD),)
GIT_COMMIT := $(shell git rev-parse --short HEAD)
GIT_BRANCH := $(shell git name-rev --name-only HEAD)
GIT_VERSION := $(shell git describe --always --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_VERSION := $(shell git describe --tags --abbrev=14 $(GIT_COMMIT)^{commit})
GIT_TREE_STATE := $(shell s=`git status --porcelain 2>/dev/null`; if [ -z "$$s" ]; then echo "clean"; else echo "dirty"; fi)
BUILD_DATE := $(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
else
@@ -32,11 +32,8 @@ LDFLAGS := "-w \
#####################################################
ifneq ($(DLV),)
GO_BUILD_FLAGS += -gcflags "all=-N -l"
LDFLAGS = ""
endif
GO_BUILD_FLAGS+=-mod vendor -ldflags $(LDFLAGS)
GO_BUILD_FLAGS:=-mod vendor -ldflags $(LDFLAGS)
GO_BUILD := go build $(GO_BUILD_FLAGS)
GO_INSTALL := go install -ldflags $(LDFLAGS)
GO_TEST := go test
@@ -47,11 +44,10 @@ 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 GOOS ?= linux
export GO111MODULE:=on
export CGO_CFLAGS = ${X_CGO_CFLAGS}
export CGO_LDFLAGS = ${X_CGO_LDFLAGS}
@@ -76,7 +72,7 @@ install: prepare_dir
gencopyright:
@bash scripts/gencopyright.sh pkg cmd
@sh scripts/gencopyright.sh pkg cmd
test:
@go test $(GO_BUILD_FLAGS) $(shell go list ./... | egrep -v 'host-image|hostimage')
@@ -84,9 +80,6 @@ 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)/$@
@@ -188,82 +181,48 @@ dep:
@$(MAKE) mod
mod:
go get -d $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go get $(patsubst %,%@master,$(shell GO111MODULE=on go mod edit -print | sed -n -e 's|.*\(yunion.io/x/[a-z].*\) v.*|\1|p'))
go mod tidy
go mod vendor -v
DOCKER_BUILD_IMAGE_VERSION?=1.0-1
DOCKER_BUILD_IMAGE_VERSION?=latest
define dockerCentOSBuildCmd
set -o xtrace
define dockerBuildCmd
set -o errexit
set -o pipefail
cd /root/onecloud
cd /home/build/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-centos-build: export dockerCentOSBuildCmd:=$(call dockerCentOSBuildCmd,$(F))
docker-centos-build:
docker-build: export dockerBuildCmd:=$(call dockerBuildCmd,$(F))
docker-build:
echo "$$dockerBuildCmd"
docker rm --force onecloud-ci-build &>/dev/null || true
docker run \
--name onecloud-ci-build \
--rm \
--volume $(CURDIR):/root/onecloud \
--volume $(CURDIR)/_output/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/centos-build:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerCentOSBuildCmd"
--volume $(CURDIR):/home/build/onecloud \
yunionio/onecloud-ci:$(DOCKER_BUILD_IMAGE_VERSION) \
/bin/bash -c "$$dockerBuildCmd"
chown -R $$(id -u):$$(id -g) _output
ls -lh _output/bin
# NOTE we need a way to stop and remove the container started by docker-build.
# No --tty, --stop-signal won't work
docker-centos-build-stop:
docker-centos stop --time 0 onecloud-ci-build || true
docker-build-stop:
docker stop --time 0 onecloud-ci-build || true
.PHONY: docker-centos-build
.PHONY: docker-centos-build-stop
define dockerAlpineBuildCmd
set -o xtrace
set -o errexit
set -o pipefail
cd /root/go/src/yunion.io/x/onecloud
export GOFLAGS=-mod=vendor
make $(1)
chown -R $(shell id -u):$(shell id -g) _output
endef
docker-alpine-build: export dockerAlpineBuildCmd:=$(call dockerAlpineBuildCmd,$(F))
docker-alpine-build:
docker rm --force onecloud-docker-alpine-build &>/dev/null || true
docker run --rm \
--name onecloud-docker-alpine-build \
-v $(CURDIR):/root/go/src/yunion.io/x/onecloud \
-v $(CURDIR)/_output/alpine-build:/root/go/src/yunion.io/x/onecloud/_output \
-v $(CURDIR)/_output/alpine-build/_cache:/root/.cache \
registry.cn-beijing.aliyuncs.com/yunionio/alpine-build:1.0-1 \
/bin/sh -c "$$dockerAlpineBuildCmd"
ls -lh _output/alpine-build/bin
docker-alpine-build-stop:
docker stop --time 0 onecloud-docker-alpine-build || true
.PHONY: docker-alpine-build
.PHONY: docker-alpine-build-stop
.PHONY: docker-build
.PHONY: docker-build-stop
define helpText
Build with docker
make docker-centos-build F='-j4'
make docker-centos-build F='-j4 cmd/region cmd/climc'
make docker-centos-build-stop
make docker-alpine-build F='-j4'
make docker-alpine-build F='-j4 cmd/host cmd/host-deployer'
make docker-alpine-build-stop
make docker-build F='-j4'
make docker-build F='-j4 cmd/region cmd/climc'
make docker-build-stop
Tidy up go modules and vendor directory
@@ -274,13 +233,11 @@ 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
$(ROOT_DIR)/scripts/codegen.py model-api
./scripts/codegen.py model-api
gen-swagger-check:
which swagger || (GO111MODULE=off go get -u github.com/go-swagger/go-swagger/cmd/swagger)
@@ -288,27 +245,8 @@ gen-swagger-check:
which swagger-serve || (GO111MODULE=off go get -u yunion.io/x/code-generator/cmd/swagger-serve)
gen-swagger: gen-swagger-check
$(ROOT_DIR)/scripts/codegen.py swagger-code
$(ROOT_DIR)/scripts/codegen.py swagger-yaml
./scripts/codegen.py swagger-code
./scripts/codegen.py swagger-yaml
swagger-serve-only:
$(ROOT_DIR)/scripts/codegen.py swagger-serve
swagger-serve: gen-model-api gen-swagger swagger-serve-only
swagger-site: gen-model-api gen-swagger
$(ROOT_DIR)/scripts/codegen.py swagger-site
.PHONY: gen-model-api-check gen-model-api gen-swagger-check gen-swagger swagger-serve swagger-site
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
%:
@:
swagger-serve: gen-swagger
./scripts/codegen.py swagger-serve

8
OWNERS
View File

@@ -1,13 +1,11 @@
# 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

View File

@@ -1,54 +0,0 @@
# 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,52 +4,7 @@
[![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)
# 文档
## 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) 。
- 文档中心https://docs.yunion.cn/
- API文档https://docs.yunion.cn/api/

View File

@@ -1,42 +0,0 @@
#!/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

@@ -1,27 +0,0 @@
#/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

@@ -1,80 +0,0 @@
#!/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

@@ -1,27 +0,0 @@
#!/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

@@ -1,27 +0,0 @@
#!/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

@@ -1,27 +0,0 @@
#!/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

@@ -1,96 +0,0 @@
#!/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

@@ -1,27 +0,0 @@
#/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

@@ -1,34 +0,0 @@
#!/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

@@ -1,28 +0,0 @@
#!/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

@@ -1,55 +0,0 @@
#/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

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

View File

@@ -1,11 +0,0 @@
FROM alpine:3.11.6
MAINTAINER "Yousong Zhou <zhouyousong@yunionyun.com>"
# openssh-client, for ansible ssh connection
RUN set -x \
&& apk update \
&& apk add openssh-client \
&& apk add ansible \
&& apk add tzdata ca-certificates \
&& rm -rf /var/cache/apk/*

View File

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

View File

@@ -1,9 +0,0 @@
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

@@ -1,39 +0,0 @@
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
# use GNU timeout command replace busybox timeout command
RUN rm /usr/bin/timeout
ADD ./timeout /bin/timeout
ADD ./.timeout.bin /bin/.timeout.bin
ADD ./bundles/timeout /bin/bundles/timeout

View File

@@ -1,5 +0,0 @@
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

@@ -1,16 +0,0 @@
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

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
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

@@ -1,18 +0,0 @@
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

@@ -1,9 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-base:v0.1.0
MAINTAINER "Yaoqi Wan wanyaoqi@yunionyun.com"
ENV TZ Asia/Shanghai
RUN apk add librados librbd
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/host /opt/yunion/bin/host

View File

@@ -1,11 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/host-deployer-base:v0.0.3
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

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

View File

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

View File

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

View File

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

View File

@@ -1,13 +0,0 @@
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 curl busybox-extras tcpdump strace ca-certificates && \
rm -rf /var/cache/apk/*
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

View File

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

View File

@@ -1,4 +0,0 @@
FROM alpine:3.11.3
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/region-dns /opt/yunion/bin/region-dns

View File

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

View File

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

View File

@@ -1,6 +0,0 @@
FROM registry.cn-beijing.aliyuncs.com/yunionio/openvswitch:2.9.6-1
MAINTAINER "Yousong Zhou <zhouyousong@yunion.cn>"
RUN mkdir -p /opt/yunion/bin
ADD ./_output/alpine-build/bin/vpcagent /opt/yunion/bin/vpcagent

View File

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

View File

@@ -1,12 +0,0 @@
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

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

View File

@@ -1,65 +0,0 @@
<?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>

View File

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

View File

@@ -1,18 +0,0 @@
[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

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

View File

@@ -1,19 +0,0 @@
[Unit]
Description=Yunion Host Image Server
Documentation=https://docs.yunion.cn
After=network.target
[Service]
Type=simple
User=root
Group=root
ExecStart=/opt/yunion/bin/host-image --conf /etc/yunion/host.conf
WorkingDirectory=/opt/yunion/bin
KillMode=process
Restart=always
RestartSec=30
LimitNOFILE=500000
LimitNPROC=500000
[Install]
WantedBy=multi-user.target

View File

@@ -1,2 +0,0 @@
DESCRIPTION="Yunion Host Image Server"
SERVICE="yes"

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
{{.os_type}} 镜像 {{.name}} 上传完成

View File

@@ -1,66 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<body>
<table style="width: 650px; margin-bottom: 20px;" border="0" cellpadding="0" cellspacing="0" align="center">
<tr style="height: 50px; background: #333; overflow: hidden;">
<td>
<table style="margin-left: 20px;">
<tr>
<td>
<img src="data:{{.login_logo_format}};base64,{{.login_logo}}" alt="" style="color: #fff; height: 32px; vertical-align: middle;">
</td>
</tr>
</table>
</td>
<td>
<table style="float: right;">
<tr>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">产品</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">解决方案</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">服务</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">帮助与文档</a>
</td>
<td style="padding-left: 20px; padding-right: 20px;">
<a href="" style="text-decoration: none; color: #20A0FF; font-size: 12px; display: none;">关于我们</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="width: 100%;" colspan="2">
<table style="padding: 20px 10px; width: 100%;">
<tr>
<td style="padding-bottom: 20px;">
亲爱的{{.name}},您好:
</td>
</tr>
<tr>
<td style="padding-bottom: 10px;">请点击下面的链接,完成用户邮箱的激活:</td>
</tr>
<tr>
<td style="padding-bottom: 30px;"><a href="{{.link}}">{{.link}}</a></td>
</tr>
</table>
</td>
</tr>
<tr style="width: 96%;">
<td colspan="2" style="border-top: 1px dashed #ccc; color: #333; font-size: 12px; padding-bottom: 10px; font-weight: 100;">*为了确保您的帐号安全该链接仅48小时内访问有效请勿直接回复此邮件。</td>
</tr>
<tr>
<td colspan="2" style="background: #333; text-align: right; padding-right: 20px; font-size: 12px; color: #fff; height: 50px;">版权所有 © {{.copyright}} 保留一切权利</td>
</tr>
</table>
</body>
</html>

View File

@@ -1 +0,0 @@
镜像 {{.name}} 上传完成

View File

@@ -1 +0,0 @@
Yunion Verify

View File

@@ -84,11 +84,7 @@ func newClient(options *BaseOptions) (*aliyun.SRegion, error) {
return nil, fmt.Errorf("Missing secret")
}
cli, err := aliyun.NewAliyunClient(
aliyun.NewAliyunClientConfig(
options.AccessKey, options.Secret,
).Debug(options.Debug),
)
cli, err := aliyun.NewAliyunClient("", "", options.AccessKey, options.Secret, options.Debug)
if err != nil {
return nil, err
}

View File

@@ -85,13 +85,7 @@ func newClient(options *BaseOptions) (*aws.SRegion, error) {
return nil, fmt.Errorf("Missing secret")
}
cli, err := aws.NewAwsClient(
aws.NewAwsClientConfig(
options.AccessUrl,
options.AccessKey,
options.Secret,
).Debug(options.Debug),
)
cli, err := aws.NewAwsClient("", "", options.AccessUrl, options.AccessKey, options.Secret, options.Debug)
if err != nil {
return nil, err
}

View File

@@ -100,17 +100,11 @@ func newClient(options *BaseOptions) (*azure.SRegion, error) {
return nil, fmt.Errorf("Missing Cloud Environment")
}
cli, err := azure.NewAzureClient(
azure.NewAzureClientConfig(
options.CloudEnv,
options.DirectoryID,
options.ApplicationID,
options.ApplicationKey,
).
SubscriptionId(options.SubscriptionID).
Debug(options.Debug),
)
cli, err := azure.NewAzureClient("", "", options.CloudEnv,
options.DirectoryID,
options.ApplicationID, options.ApplicationKey,
options.SubscriptionID,
options.Debug)
if err != nil {
return nil, err
}

View File

@@ -35,7 +35,6 @@ import (
_ "yunion.io/x/onecloud/cmd/climc/shell/cloudnet"
_ "yunion.io/x/onecloud/cmd/climc/shell/etcd"
_ "yunion.io/x/onecloud/cmd/climc/shell/k8s"
_ "yunion.io/x/onecloud/cmd/climc/shell/monitor"
"yunion.io/x/onecloud/pkg/mcclient"
)

View File

@@ -1,42 +0,0 @@
// 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 (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type BillTasksCreateOptions struct {
options.BaseListOptions
CloudaccountId string `help:"cloudaccount Id" required:"true"`
StartDay int `help:"start day of billing cycle, example: 20060102"`
EndDay int `help:"end day of billing cycle, example: 20060102"`
}
R(&BillTasksCreateOptions{}, "bill-tasks-create", "create bill task",
func(s *mcclient.ClientSession, args *BillTasksCreateOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.BillTasks.Create(s, params)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -32,22 +32,12 @@ import (
func init() {
type BucketListOptions struct {
options.BaseListOptions
DistinctField string `help:"query specified distinct field"`
}
R(&BucketListOptions{}, "bucket-list", "List all buckets", func(s *mcclient.ClientSession, args *BucketListOptions) error {
params, err := options.ListStructToParams(args)
if err != nil {
return err
}
if len(args.DistinctField) > 0 {
params.Add(jsonutils.NewString(args.DistinctField), "extra_field")
result, err := modules.Buckets.Get(s, "distinct-field", params)
if err != nil {
return err
}
fmt.Println(result)
return nil
}
result, err := modules.Buckets.List(s, params)
if err != nil {
return err
@@ -56,10 +46,10 @@ func init() {
return nil
})
type BucketIdOptions struct {
type BucketShowOptions struct {
ID string `help:"ID or name of bucket"`
}
R(&BucketIdOptions{}, "bucket-show", "Id details of bucket", func(s *mcclient.ClientSession, args *BucketIdOptions) error {
R(&BucketShowOptions{}, "bucket-show", "Show details of bucket", func(s *mcclient.ClientSession, args *BucketShowOptions) error {
result, err := modules.Buckets.Get(s, args.ID, nil)
if err != nil {
return err
@@ -68,15 +58,6 @@ func init() {
return nil
})
R(&BucketIdOptions{}, "bucket-syncstatus", "Sync bucket statust", func(s *mcclient.ClientSession, args *BucketIdOptions) error {
result, err := modules.Buckets.PerformAction(s, args.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type BucketUpdateOptions struct {
ID string `help:"ID or name of bucket" json:"-"`
Name string `help:"new name of bucket" json:"name"`

View File

@@ -52,10 +52,6 @@ func init() {
type CloudaccountListOptions struct {
options.BaseListOptions
Capability []string `help:"capability filter" choices:"project|compute|network|loadbalancer|objectstore|rds|cache|event"`
DistinctField string `help:"distinct field"`
ProxySetting string `help:"Proxy setting id or name"`
}
R(&CloudaccountListOptions{}, "cloud-account-list", "List cloud accounts", func(s *mcclient.ClientSession, args *CloudaccountListOptions) error {
var params *jsonutils.JSONDict
@@ -65,21 +61,6 @@ func init() {
if err != nil {
return err
}
if len(args.Capability) > 0 {
params.Add(jsonutils.NewStringArray(args.Capability), "capability")
}
if len(args.ProxySetting) > 0 {
params.Add(jsonutils.NewString(args.ProxySetting), "proxy_setting")
}
}
if len(args.DistinctField) > 0 {
params.Add(jsonutils.NewString(args.DistinctField), "extra_field")
result, err := modules.Cloudaccounts.Get(s, "distinct-field", params)
if err != nil {
return err
}
fmt.Println(result)
return nil
}
result, err := modules.Cloudaccounts.List(s, params)
if err != nil {
@@ -414,19 +395,6 @@ func init() {
return nil
})
R(&options.SGoogleCloudAccountUpdateOptions{}, "cloud-account-update-google", "update a google cloud account", func(s *mcclient.ClientSession, args *options.SGoogleCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()
}
result, err := modules.Cloudaccounts.Update(s, args.ID, params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SAWSCloudAccountUpdateOptions{}, "cloud-account-update-aws", "update an AWS cloud account", func(s *mcclient.ClientSession, args *options.SAWSCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
@@ -468,7 +436,7 @@ func init() {
return nil
})
R(&options.SOpenStackCloudAccountUpdateOptions{}, "cloud-account-update-openstack", "update an OpenStack cloud account", func(s *mcclient.ClientSession, args *options.SOpenStackCloudAccountUpdateOptions) error {
R(&options.SOpenStackCloudAccountUpdateOptions{}, "cloud-account-update-openstack", "update an AWS cloud account", func(s *mcclient.ClientSession, args *options.SOpenStackCloudAccountUpdateOptions) error {
params := jsonutils.Marshal(args).(*jsonutils.JSONDict)
if params.Size() == 0 {
return InvalidUpdateError()
@@ -720,19 +688,6 @@ func init() {
return nil
})
R(&options.SGoogleCloudAccountUpdateCredentialOptions{}, "cloud-account-update-credential-google", "Update credential of a Google cloud account", func(s *mcclient.ClientSession, args *options.SGoogleCloudAccountUpdateCredentialOptions) error {
params, err := parseGcpCredential(args.GoogleJsonFile)
if err != nil {
return err
}
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "update-credential", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountUpdateCredentialOptions{}, "cloud-account-update-credential-s3", "Update credential of a generic S3 cloud account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "update-credential", params)
@@ -753,129 +708,6 @@ func init() {
return nil
})
R(&options.SVMwareCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-vmware", "Update credential of a VMware cloud account", func(s *mcclient.ClientSession, args *options.SVMwareCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SAliyunCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-aliyun", "Update credential of an Aliyun cloud account", func(s *mcclient.ClientSession, args *options.SAliyunCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SAzureCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-azure", "Update credential of an Azure cloud account", func(s *mcclient.ClientSession, args *options.SAzureCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SQcloudCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-qcloud", "Update credential of a Qcloud cloud account", func(s *mcclient.ClientSession, args *options.SQcloudCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SAWSCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-aws", "Update credential of an AWS cloud account", func(s *mcclient.ClientSession, args *options.SAWSCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SOpenStackCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-openstack", "Update credential of an OpenStack cloud account", func(s *mcclient.ClientSession, args *options.SOpenStackCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SHuaweiCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-huawei", "Update credential of an Huawei cloud account", func(s *mcclient.ClientSession, args *options.SHuaweiCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SUcloudCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-ucloud", "Update credential of a Ucloud cloud account", func(s *mcclient.ClientSession, args *options.SUcloudCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SZStackCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-zstack", "Update credential of a ZStack cloud account", func(s *mcclient.ClientSession, args *options.SZStackCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SGoogleCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-google", "Update credential of a Google cloud account", func(s *mcclient.ClientSession, args *options.SGoogleCloudAccountUpdateCredentialOptions) error {
params, err := parseGcpCredential(args.GoogleJsonFile)
if err != nil {
return err
}
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SS3CloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-s3", "Update credential of a generic S3 cloud account", func(s *mcclient.ClientSession, args *options.SS3CloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.SCtyunCloudAccountUpdateCredentialOptions{}, "cloud-account-test-connectivity-ctyun", "Update credential of an Ctyun cloud account", func(s *mcclient.ClientSession, args *options.SCtyunCloudAccountUpdateCredentialOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "test-connectivity", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type CloudaccountSyncOptions struct {
ID string `help:"ID or Name of cloud account"`
Force bool `help:"Force sync no matter what"`
@@ -939,14 +771,10 @@ func init() {
})
type CloudaccountPublicOptions struct {
ID string `help:"ID or name of cloud account" json:"-"`
Scope string `help:"public_sccope" choices:"domain|system" json:"scope"`
SharedDomains []string `help:"shared domains" json:"shared_domains"`
ShareMode string `help:"share_mode" choices:"account_domain|provider_domain|system"`
ID string `help:"ID or name of cloud account"`
}
R(&CloudaccountPublicOptions{}, "cloud-account-public", "Mark this cloud account public ", func(s *mcclient.ClientSession, args *CloudaccountPublicOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "public", params)
result, err := modules.Cloudaccounts.PerformAction(s, args.ID, "public", nil)
if err != nil {
return err
}
@@ -1006,47 +834,4 @@ func init() {
printObject(result)
return nil
})
type ClouaccountChangeOwnerOptions struct {
ID string `help:"ID or name of cloudaccount" json:"-"`
ProjectDomain string `json:"project_domain" help:"target domain"`
}
R(&ClouaccountChangeOwnerOptions{}, "cloud-account-change-owner", "Change owner domain of cloudaccount", func(s *mcclient.ClientSession, args *ClouaccountChangeOwnerOptions) error {
if len(args.ProjectDomain) == 0 {
return fmt.Errorf("empty project_domain")
}
params := jsonutils.Marshal(args)
ret, err := modules.Cloudaccounts.PerformAction(s, args.ID, "change-owner", params)
if err != nil {
return err
}
printObject(ret)
return nil
})
type ClouaccountChangeProjectOptions struct {
ID string `help:"ID or name of cloudaccount" json:"-"`
PROJECT string `json:"project" help:"target domain"`
}
R(&ClouaccountChangeProjectOptions{}, "cloud-account-change-project", "Change domain/project of cloudaccount", func(s *mcclient.ClientSession, args *ClouaccountChangeProjectOptions) error {
if len(args.PROJECT) == 0 {
return fmt.Errorf("empty project")
}
params := jsonutils.Marshal(args)
ret, err := modules.Cloudaccounts.PerformAction(s, args.ID, "change-project", params)
if err != nil {
return err
}
printObject(ret)
return nil
})
R(&CloudaccountShowOptions{}, "cloud-account-change-owner-candidate-domains", "Show candiate domains of a cloud account changing project", func(s *mcclient.ClientSession, args *CloudaccountShowOptions) error {
result, err := modules.Cloudaccounts.GetSpecific(s, args.ID, "change-owner-candidate-domains", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -22,7 +22,7 @@ import (
)
func init() {
R(&options.RouteCreateOptions{}, "router-route-create", "Create router route", func(s *mcclient.ClientSession, opts *options.RouteCreateOptions) error {
R(&options.RouteCreateOptions{}, "router-route-create", "Create router", func(s *mcclient.ClientSession, opts *options.RouteCreateOptions) error {
params, err := base_options.StructToParams(opts)
if err != nil {
return err
@@ -34,7 +34,7 @@ func init() {
printObject(router)
return nil
})
R(&options.RouteGetOptions{}, "router-route-show", "Show router route", func(s *mcclient.ClientSession, opts *options.RouteGetOptions) error {
R(&options.RouteGetOptions{}, "router-route-show", "Show router", func(s *mcclient.ClientSession, opts *options.RouteGetOptions) error {
router, err := modules.Routes.Get(s, opts.ID, nil)
if err != nil {
return err
@@ -42,7 +42,7 @@ func init() {
printObject(router)
return nil
})
R(&options.RouteListOptions{}, "router-route-list", "List router routes", func(s *mcclient.ClientSession, opts *options.RouteListOptions) error {
R(&options.RouteListOptions{}, "router-route-list", "List routers", func(s *mcclient.ClientSession, opts *options.RouteListOptions) error {
params, err := base_options.ListStructToParams(opts)
if err != nil {
return err
@@ -54,7 +54,7 @@ func init() {
printList(result, modules.Routes.GetColumns(s))
return nil
})
R(&options.RouteUpdateOptions{}, "router-route-update", "Update router route", func(s *mcclient.ClientSession, opts *options.RouteUpdateOptions) error {
R(&options.RouteUpdateOptions{}, "router-route-update", "Update router", func(s *mcclient.ClientSession, opts *options.RouteUpdateOptions) error {
params, err := base_options.StructToParams(opts)
router, err := modules.Routes.Update(s, opts.ID, params)
if err != nil {
@@ -63,7 +63,7 @@ func init() {
printObject(router)
return nil
})
R(&options.RouteDeleteOptions{}, "router-route-delete", "Delete router route", func(s *mcclient.ClientSession, opts *options.RouteDeleteOptions) error {
R(&options.RouteDeleteOptions{}, "router-route-delete", "Delete router", func(s *mcclient.ClientSession, opts *options.RouteDeleteOptions) error {
router, err := modules.Routes.Delete(s, opts.ID, nil)
if err != nil {
return err

View File

@@ -1,60 +0,0 @@
// 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 (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
func init() {
type CloudproviderQuotaListOptions struct {
options.BaseListOptions
Cloudregion string `help:"ID or Name of Cloudregion"`
QuotaType string `help:"Quota type"`
QuotaRange string `help:"Quota range" choices:"cloudregion|cloudprovider"`
}
R(&CloudproviderQuotaListOptions{}, "cloud-provider-quota-list", "List cloudprovider quota", func(s *mcclient.ClientSession, args *CloudproviderQuotaListOptions) error {
params, err := args.Params()
if err != nil {
return err
}
if len(args.QuotaType) > 0 {
params.Add(jsonutils.NewString(args.QuotaType), "quota_type")
}
if len(args.QuotaRange) > 0 {
params.Add(jsonutils.NewString(args.QuotaRange), "quota_range")
}
if len(args.Cloudregion) > 0 {
params.Add(jsonutils.NewString(args.Cloudregion), "cloudregion")
}
result, err := modules.CloudproviderQuotas.List(s, params)
if err != nil {
return err
}
printList(result, modules.CloudproviderQuotas.GetColumns(s))
return nil
})
}

View File

@@ -27,8 +27,6 @@ func init() {
type CloudproviderRegionListOptions struct {
options.BaseListOptions
Region string `help:"ID or Name of Host"`
Capability []string `help:"capability filter" choices:"project|compute|network|loadbalancer|objectstore|rds|cache|event"`
}
R(&CloudproviderRegionListOptions{}, "cloud-provider-region-list", "List cloudprovider region synchronization status", func(s *mcclient.ClientSession, args *CloudproviderRegionListOptions) error {
var params *jsonutils.JSONDict

View File

@@ -31,10 +31,8 @@ func init() {
Usable bool `help:"Vpc & Network usable"`
HasObjectStorage bool `help:"filter cloudproviders that has object storage"`
NoObjectStorage bool `help:"filter cloudproviders that has no object storage"`
Capability []string `help:"capability filter" choices:"project|compute|network|loadbalancer|objectstore|rds|cache|event"`
Cloudregion string `help:"filter cloudproviders by cloudregion"`
HasObjectStorage bool `help:"filter cloudproviders that has object storage"`
NoObjectStorage bool `help:"filter cloudproviders that has no object storage"`
}
R(&CloudproviderListOptions{}, "cloud-provider-list", "List cloud providers", func(s *mcclient.ClientSession, args *CloudproviderListOptions) error {
var params *jsonutils.JSONDict
@@ -54,14 +52,6 @@ func init() {
} else if args.NoObjectStorage {
params.Add(jsonutils.JSONFalse, "has_object_storage")
}
if len(args.Capability) > 0 {
params.Add(jsonutils.NewStringArray(args.Capability), "capability")
}
if len(args.Cloudregion) > 0 {
params.Add(jsonutils.NewString(args.Cloudregion), "cloudregion")
}
}
result, err := modules.Cloudproviders.List(s, params)
if err != nil {
@@ -250,13 +240,4 @@ func init() {
printObject(result)
return nil
})
R(&CloudproviderShowOptions{}, "cloud-provider-change-owner-candidate-domains", "Show candiate domains of a cloud provider changing owner", func(s *mcclient.ClientSession, args *CloudproviderShowOptions) error {
result, err := modules.Cloudproviders.GetSpecific(s, args.ID, "change-owner-candidate-domains", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -15,8 +15,6 @@
package shell
import (
"fmt"
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
@@ -34,25 +32,12 @@ func init() {
Service string `help:"List regions which service has available skus" choices:"dbinstances|servers"`
City string `help:"List regions in the specified city"`
Capability []string `help:"capability filter" choices:"project|compute|network|loadbalancer|objectstore|rds|cache|event"`
DistinctField string `help:"list the specified distinct field, e.g. city, region"`
}
R(&CloudregionListOptions{}, "cloud-region-list", "List cloud regions", func(s *mcclient.ClientSession, opts *CloudregionListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
if len(opts.DistinctField) > 0 {
params.Add(jsonutils.NewString(opts.DistinctField), "extra_field")
result, err := modules.Cloudregions.Get(s, "distinct-field", params)
if err != nil {
return err
}
fmt.Println(result)
return nil
}
result, err := modules.Cloudregions.List(s, params)
if err != nil {
return err

View File

@@ -15,14 +15,7 @@
package shell
import (
"bufio"
"bytes"
"encoding/base64"
"fmt"
"io/ioutil"
"mime/multipart"
"net/http"
"path/filepath"
"yunion.io/x/jsonutils"
@@ -63,78 +56,4 @@ func init() {
printObject(r)
return nil
})
type EnterpriseUpdateOptions struct {
Name string `help:"Enterprise name"`
Copyright string `help:"The Email"`
Logo string `help:"logo file path"`
LoginLogo string `help:"login page logo file path"`
Favicon string `help:"favicon path"`
}
R(&EnterpriseUpdateOptions{}, "infos-update", "update enterprise info", func(s *mcclient.ClientSession, args *EnterpriseUpdateOptions) error {
var b bytes.Buffer
w := multipart.NewWriter(&b)
if len(args.Name) > 0 {
w.WriteField("name", args.Name)
}
if len(args.Copyright) > 0 {
w.WriteField("copyright", args.Copyright)
}
writeFile := func(filedName, filePath string) error {
if len(filePath) == 0 {
return nil
}
c, err := ioutil.ReadFile(filePath)
if err != nil {
return err
}
var v string
c64 := base64.StdEncoding.EncodeToString(c)
ext := filepath.Ext(filePath)
switch ext {
case ".png":
v = fmt.Sprintf("data:image/png;base64,%s", c64)
case ".jpg":
v = fmt.Sprintf("data:image/jpg;base64,%s", c64)
default:
return fmt.Errorf("only support png/jpg image")
}
err = w.WriteField(filedName, v)
if err != nil {
return err
}
return nil
}
if err := writeFile("logo", args.Logo); err != nil {
return err
}
if err := writeFile("login_logo", args.LoginLogo); err != nil {
return err
}
if err := writeFile("favicon", args.Favicon); err != nil {
return err
}
header := make(http.Header)
header.Set("content-type", fmt.Sprintf("multipart/form-data; boundary=%s", w.Boundary()))
w.Close()
ret, err := modules.Info.Update(s, header, bufio.NewReader(&b))
if err != nil {
return err
}
printObject(ret)
return nil
})
}

View File

@@ -38,11 +38,7 @@ func init() {
if err != nil {
return err
}
if len(opts.ExportFile) > 0 {
exportList(result, opts.ExportFile, opts.ExportKeys, opts.ExportTexts, modules.DBInstanceBackups.GetColumns(s))
} else {
printList(result, modules.DBInstanceBackups.GetColumns(s))
}
printList(result, modules.DBInstanceBackups.GetColumns(s))
return nil
})
@@ -84,15 +80,6 @@ func init() {
return nil
})
R(&DBInstanceBackupIdOptions{}, "dbinstance-backup-syncstatus", "Sync DB instance backup status", func(s *mcclient.ClientSession, opts *DBInstanceBackupIdOptions) error {
result, err := modules.DBInstanceBackups.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&DBInstanceBackupIdOptions{}, "dbinstance-backup-delete", "Delete DB instance backup", func(s *mcclient.ClientSession, opts *DBInstanceBackupIdOptions) error {
result, err := modules.DBInstanceBackups.Delete(s, opts.ID, nil)
if err != nil {

View File

@@ -41,12 +41,7 @@ func init() {
if err != nil {
return err
}
if len(opts.ExportFile) > 0 {
exportList(result, opts.ExportFile, opts.ExportKeys, opts.ExportTexts, modules.DBInstance.GetColumns(s))
} else {
printList(result, modules.DBInstance.GetColumns(s))
}
printList(result, modules.DBInstance.GetColumns(s))
return nil
})
@@ -263,24 +258,6 @@ func init() {
return nil
})
R(&DBInstanceIdOptions{}, "dbinstance-syncstatus", "Sync status for DB instance", func(s *mcclient.ClientSession, opts *DBInstanceIdOptions) error {
result, err := modules.DBInstance.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&DBInstanceIdOptions{}, "dbinstance-sync", "Sync conf from cloud dbinstance", func(s *mcclient.ClientSession, opts *DBInstanceIdOptions) error {
result, err := modules.DBInstance.PerformAction(s, opts.ID, "sync", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&DBInstanceIdOptions{}, "dbinstance-sync-status", "Sync status for DB instance", func(s *mcclient.ClientSession, opts *DBInstanceIdOptions) error {
result, err := modules.DBInstance.PerformAction(s, opts.ID, "sync-status", nil)
if err != nil {

View File

@@ -107,7 +107,7 @@ func init() {
R(
&options.DevtoolTemplateBindingOptions{},
"devtooltemplate-unbind",
"UnBinding devtool template to a host/vm",
"Binding devtool template to a host/vm",
func(s *mcclient.ClientSession, opts *options.DevtoolTemplateBindingOptions) error {
params := jsonutils.NewDict()
params.Set("server_id", jsonutils.NewString(opts.ServerID))

View File

@@ -133,15 +133,6 @@ func init() {
return nil
})
R(&DiskDetailOptions{}, "disk-syncstatus", "Sync status for disk", func(s *mcclient.ClientSession, args *DiskDetailOptions) error {
ret, e := modules.Disks.PerformAction(s, args.ID, "syncstatus", nil)
if e != nil {
return e
}
printObject(ret)
return nil
})
type DiskUpdateOptions struct {
ID string `help:"ID or name of disk"`
Name string `help:"New name of disk"`
@@ -291,14 +282,4 @@ func init() {
printObject(srv)
return nil
})
R(&DiskDetailOptions{}, "disk-change-owner-candidate-domains", "Get change owner candidate domain list", func(s *mcclient.ClientSession, args *DiskDetailOptions) error {
result, err := modules.Disks.GetSpecific(s, args.ID, "change-owner-candidate-domains", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -1,48 +0,0 @@
// 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"
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
)
func init() {
type DistinctFieldOption struct {
MODULE string `help:"module name"`
FIELD string `help:"distinct field name to query"`
}
R(&DistinctFieldOption{}, "distinct-field", "Query values of a distinct field for a module", func(s *mcclient.ClientSession, args *DistinctFieldOption) error {
mod, err := modulebase.GetModule(s, args.MODULE)
if err != nil || mod == nil {
if err != nil {
return fmt.Errorf("module %s not found %s", args.MODULE, err)
}
return fmt.Errorf("No module %s found", args.MODULE)
}
params := jsonutils.NewDict()
params.Add(jsonutils.NewString(args.FIELD), "extra_field")
result, err := mod.Get(s, "distinct-field", params)
if err != nil {
return err
}
fmt.Println(result)
return nil
})
}

View File

@@ -83,8 +83,6 @@ func init() {
Desc string `help:"Description"`
Enabled bool `help:"Set the domain enabled"`
Disabled bool `help:"Set the domain disabled"`
Displayname string `help:"display name"`
}
R(&DomainCreateOptions{}, "domain-create", "Create a new domain", func(s *mcclient.ClientSession, args *DomainCreateOptions) error {
params := jsonutils.NewDict()
@@ -97,9 +95,6 @@ func init() {
} else if !args.Enabled && args.Disabled {
params.Add(jsonutils.JSONFalse, "enabled")
}
if len(args.Displayname) > 0 {
params.Add(jsonutils.NewString(args.Displayname), "displayname")
}
result, err := modules.Domains.Create(s, params)
if err != nil {
return err
@@ -115,8 +110,6 @@ func init() {
Enabled bool `help:"Set the domain enabled"`
Disabled bool `help:"Set the domain disabled"`
Driver string `help:"Set the domain Driver"`
Displayname string `help:"display name"`
}
R(&DomainUpdateOptions{}, "domain-update", "Update a domain", func(s *mcclient.ClientSession, args *DomainUpdateOptions) error {
obj, err := modules.Domains.Get(s, args.ID, nil)
@@ -143,9 +136,6 @@ func init() {
} else if !args.Enabled && args.Disabled {
params.Add(jsonutils.JSONFalse, "enabled")
}
if len(args.Displayname) > 0 {
params.Add(jsonutils.NewString(args.Displayname), "displayname")
}
result, err := modules.Domains.Patch(s, objId, params)
if err != nil {
return err

View File

@@ -75,16 +75,6 @@ func init() {
return nil
})
R(&options.ElasticCacheIdOptions{}, "elastic-cache-syncstatus", "Sync elastisc cache instance status", func(s *mcclient.ClientSession, opts *options.ElasticCacheIdOptions) error {
result, err := modules.ElasticCache.PerformAction(s, opts.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&options.ElasticCacheIdOptions{}, "elastic-cache-delete", "Delete elastisc cache instance", func(s *mcclient.ClientSession, opts *options.ElasticCacheIdOptions) error {
result, err := modules.ElasticCache.Delete(s, opts.ID, nil)
if err != nil {

View File

@@ -170,15 +170,6 @@ func init() {
return nil
})
R(&EipSingleOptions{}, "eip-syncstatus", "Synchronize status of an EIP", func(s *mcclient.ClientSession, args *EipSingleOptions) error {
result, err := modules.Elasticips.PerformAction(s, args.ID, "syncstatus", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type ServerCreateEipOptions struct {
ID string `help:"server ID or name"`
BW int `help:"EIP bandwidth in Mbps"`

View File

@@ -64,15 +64,14 @@ func init() {
})
type EndpointCreateOptions struct {
SERVICE string `help:"Service ID or Name"`
REGION string `help:"Region"`
INTERFACE string `help:"Interface types" choices:"internal|public|admin|console"`
URL string `help:"URL"`
Zone string `help:"Zone"`
Name string `help:"Name"`
Enabled bool `help:"Enabled"`
Disabled bool `help:"Disabled"`
ServiceCertificate string `help:"Service certificate id or name"`
SERVICE string `help:"Service ID or Name"`
REGION string `help:"Region"`
INTERFACE string `help:"Interface types" choices:"internal|public|admin|console"`
URL string `help:"URL"`
Zone string `help:"Zone"`
Name string `help:"Name"`
Enabled bool `help:"Enabled"`
Disabled bool `help:"Disabled"`
}
R(&EndpointCreateOptions{}, "endpoint-create", "Create endpoint", func(s *mcclient.ClientSession, args *EndpointCreateOptions) error {
params := jsonutils.NewDict()
@@ -96,9 +95,6 @@ func init() {
} else if !args.Enabled && args.Disabled {
params.Add(jsonutils.JSONFalse, "enabled")
}
if len(args.ServiceCertificate) > 0 {
params.Add(jsonutils.NewString(args.ServiceCertificate), "service_certificate")
}
ep, err := modules.EndpointsV3.Create(s, params)
if err != nil {
return err
@@ -108,12 +104,11 @@ func init() {
})
type EndpointUpdateOptions struct {
ID string `help:"ID or name of endpoint"`
Url string `help:"URL"`
Name string `help:"Name"`
Enabled bool `help:"Enabled"`
Disabled bool `help:"Disabled"`
ServiceCertificate string `help:"Service certificate id or name"`
ID string `help:"ID or name of endpoint"`
Url string `help:"URL"`
Name string `help:"Name"`
Enabled bool `help:"Enabled"`
Disabled bool `help:"Disabled"`
}
R(&EndpointUpdateOptions{}, "endpoint-update", "Update a endpoint", func(s *mcclient.ClientSession, args *EndpointUpdateOptions) error {
params := jsonutils.NewDict()
@@ -128,9 +123,6 @@ func init() {
} else if !args.Enabled && args.Disabled {
params.Add(jsonutils.JSONFalse, "enabled")
}
if len(args.ServiceCertificate) > 0 {
params.Add(jsonutils.NewString(args.ServiceCertificate), "service_certificate")
}
ep, err := modules.EndpointsV3.Patch(s, args.ID, params)
if err != nil {
return err

View File

@@ -34,8 +34,8 @@ type BaseEventListOptions struct {
OrderBy string `help:"order by specific field"`
Action []string `help:"Log action"`
User string `help:"filter by operator user"`
Project string `help:"filter by owner project"`
User []string `help:"filter by operator user"`
Project []string `help:"filter by owner project"`
PagingMarker string `help:"marker for pagination"`
}
@@ -99,10 +99,10 @@ func doEventList(man modulebase.ResourceManager, s *mcclient.ClientSession, args
params.Add(jsonutils.NewStringArray(args.Action), "action")
}
if len(args.User) > 0 {
params.Add(jsonutils.NewString(args.User), "user")
params.Add(jsonutils.NewStringArray(args.User), "user")
}
if len(args.Project) > 0 {
params.Add(jsonutils.NewString(args.Project), "project")
params.Add(jsonutils.NewStringArray(args.Project), "project")
}
if len(args.Scope) > 0 {
params.Add(jsonutils.NewString(args.Scope), "scope")
@@ -216,11 +216,6 @@ func init() {
return doIdentityEventList(s, &nargs)
})
R(&TypeEventListOptions{}, "idp-event", "Show operation event logs of keystone identity provider", func(s *mcclient.ClientSession, args *TypeEventListOptions) error {
nargs := EventListOptions{BaseEventListOptions: args.BaseEventListOptions, Id: args.ID, Type: []string{"identity_provider"}}
return doIdentityEventList(s, &nargs)
})
R(&TypeEventListOptions{}, "project-event", "Show operation event logs of keystone projects", func(s *mcclient.ClientSession, args *TypeEventListOptions) error {
nargs := EventListOptions{BaseEventListOptions: args.BaseEventListOptions, Id: args.ID, Type: []string{"project"}}
return doIdentityEventList(s, &nargs)

View File

@@ -15,8 +15,6 @@
package shell
import (
"yunion.io/x/jsonutils"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
@@ -50,32 +48,4 @@ func init() {
printObject(result)
return nil
})
type GlobalVpcPublicOptions struct {
ID string `help:"ID or name of global vpc" json:"-"`
Scope string `help:"sharing scope" choices:"system|domain"`
SharedDomains []string `help:"share to domains"`
}
R(&GlobalVpcPublicOptions{}, "global-vpc-public", "Make global vpc public", func(s *mcclient.ClientSession, args *GlobalVpcPublicOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.GlobalVpcs.PerformAction(s, args.ID, "public", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type GlobalVpcPrivateOptions struct {
ID string `help:"ID or name of global vpc" json:"-"`
}
R(&GlobalVpcPrivateOptions{}, "global-vpc-private", "Make global vpc private", func(s *mcclient.ClientSession, args *GlobalVpcPrivateOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.GlobalVpcs.PerformAction(s, args.ID, "private", params)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -224,29 +224,4 @@ func init() {
printObject(sp)
return nil
})
type GroupAddUsersOptions struct {
GROUP string `help:"group Id or Name" json:"-"`
USER []string `help:"list of user id or name" json:"user"`
}
R(&GroupAddUsersOptions{}, "group-add-users", "Add users into group",
func(s *mcclient.ClientSession, args *GroupAddUsersOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Groups.PerformAction(s, args.GROUP, "add-users", params)
if err != nil {
return err
}
printObject(result)
return nil
})
R(&GroupAddUsersOptions{}, "group-remove-users", "Add users into group",
func(s *mcclient.ClientSession, args *GroupAddUsersOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Groups.PerformAction(s, args.GROUP, "remove-users", params)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -18,13 +18,11 @@ import (
"fmt"
"yunion.io/x/jsonutils"
"yunion.io/x/log"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
"yunion.io/x/onecloud/pkg/util/fileutils2"
"yunion.io/x/onecloud/pkg/util/ssh"
)
func init() {
@@ -203,36 +201,6 @@ func init() {
return nil
})
R(&HostListOptions{}, "host-node-count", "Get host node count", func(s *mcclient.ClientSession, opts *HostListOptions) error {
params, err := options.ListStructToParams(opts)
if err != nil {
return err
}
if opts.Empty {
params.Add(jsonutils.JSONTrue, "is_empty")
} else if opts.Occupied {
params.Add(jsonutils.JSONFalse, "is_empty")
}
if opts.Enabled {
params.Add(jsonutils.NewInt(1), "enabled")
} else if opts.Disabled {
params.Add(jsonutils.NewInt(0), "enabled")
}
if len(opts.Uuid) > 0 {
params.Add(jsonutils.NewString(opts.Uuid), "uuid")
}
if len(opts.Sn) > 0 {
params.Add(jsonutils.NewString(opts.Sn), "sn")
}
result, err := modules.Hosts.Get(s, "node-count", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type HostUpdateOptions struct {
ID string `help:"ID or Name of Host"`
Name string `help:"New name of the host"`
@@ -382,7 +350,7 @@ func init() {
return nil
})
R(&HostDetailOptions{}, "host-stop", "Power off host", func(s *mcclient.ClientSession, args *HostDetailOptions) error {
R(&HostDetailOptions{}, "host-stop", "Power on host", func(s *mcclient.ClientSession, args *HostDetailOptions) error {
result, err := modules.Hosts.PerformAction(s, args.ID, "stop", nil)
if err != nil {
return err
@@ -696,123 +664,4 @@ func init() {
printObject(result)
return nil
})
type HostSSHLoginOptions struct {
ID string `help:"ID or name of host"`
Port int `help:"SSH service port" default:"22"`
}
R(&HostSSHLoginOptions{}, "host-ssh", "SSH login of a host", func(s *mcclient.ClientSession, args *HostSSHLoginOptions) error {
srvid, e := modules.Hosts.GetId(s, args.ID, nil)
if e != nil {
return e
}
i, e := modules.Hosts.GetLoginInfo(s, srvid, nil)
if e != nil {
return e
}
host, err := i.GetString("ip")
if err != nil {
return err
}
user, err := i.GetString("username")
if err != nil {
return err
}
passwd, err := i.GetString("password")
if err != nil {
return err
}
port := 22
if args.Port != 22 {
port = args.Port
}
sshCli, err := ssh.NewClient(host, port, user, passwd, "")
if err != nil {
return err
}
log.Infof("ssh %s:%d", host, port)
if err := sshCli.RunTerminal(); err != nil {
return err
}
return nil
})
type HostChangeOwnerOptions struct {
ID string `help:"ID or name of host" json:"-"`
ProjectDomain string `json:"project_domain" help:"target domain"`
}
R(&HostChangeOwnerOptions{}, "host-change-owner", "Change owner domain of host", func(s *mcclient.ClientSession, args *HostChangeOwnerOptions) error {
if len(args.ProjectDomain) == 0 {
return fmt.Errorf("empty project_domain")
}
params := jsonutils.Marshal(args)
ret, err := modules.Hosts.PerformAction(s, args.ID, "change-owner", params)
if err != nil {
return err
}
printObject(ret)
return nil
})
type HostPublicOptions struct {
ID string `help:"ID or name of host" json:"-"`
Scope string `help:"sharing scope" choices:"system|domain"`
SharedDomains []string `help:"share to domains"`
}
R(&HostPublicOptions{}, "host-public", "Make a host public", func(s *mcclient.ClientSession, args *HostPublicOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Hosts.PerformAction(s, args.ID, "public", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type HostPrivateOptions struct {
ID string `help:"ID or name of host" json:"-"`
}
R(&HostPrivateOptions{}, "host-private", "Make a host private", func(s *mcclient.ClientSession, args *HostPrivateOptions) error {
params := jsonutils.Marshal(args)
result, err := modules.Hosts.PerformAction(s, args.ID, "private", params)
if err != nil {
return err
}
printObject(result)
return nil
})
type HostChangeOwnerCandidateDomainsOptions struct {
ID string `help:"ID or name of host"`
}
R(&HostChangeOwnerCandidateDomainsOptions{}, "host-change-owner-candidate-domains", "Get change owner candidate domain list", func(s *mcclient.ClientSession, args *HostChangeOwnerCandidateDomainsOptions) error {
result, err := modules.Hosts.GetSpecific(s, args.ID, "change-owner-candidate-domains", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
type HostAutoMigrateOnHostDownOptions struct {
ID string `help:"ID or name of host"`
Enable bool `help:"enable auto migrate"`
Disable bool `help:"disable auto migrate"`
}
R(&HostAutoMigrateOnHostDownOptions{}, "host-auto-migrate-on-host-down", "Get change owner candidate domain list", func(s *mcclient.ClientSession, args *HostAutoMigrateOnHostDownOptions) error {
params := jsonutils.NewDict()
if args.Disable {
params.Set("auto_migrate_on_host_down", jsonutils.NewString("disable"))
} else if args.Enable {
params.Set("auto_migrate_on_host_down", jsonutils.NewString("enable"))
} else {
return fmt.Errorf("missing input enable or disable")
}
result, err := modules.Hosts.PerformAction(s, args.ID, "auto-migrate-on-host-down", params)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -23,7 +23,6 @@ import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
"yunion.io/x/onecloud/pkg/util/shellutils"
)
func init() {
@@ -295,36 +294,4 @@ func init() {
return nil
})
type IdentityProviderConfigEditOptions struct {
IDP string `help:"identity provider name or ID"`
}
R(&IdentityProviderConfigEditOptions{}, "idp-config-edit", "Edit config yaml of an identity provider", func(s *mcclient.ClientSession, args *IdentityProviderConfigEditOptions) error {
params := jsonutils.NewDict()
params.Add(jsonutils.JSONTrue, "sensitive")
conf, err := modules.IdentityProviders.GetSpecific(s, args.IDP, "config", params)
if err != nil {
return err
}
confJson, err := conf.Get("config")
if err != nil {
return err
}
content, err := shellutils.Edit(confJson.YAMLString())
if err != nil {
return err
}
yamlJson, err := jsonutils.ParseYAML(content)
if err != nil {
return err
}
config := jsonutils.NewDict()
config.Add(yamlJson, "config")
nconf, err := modules.IdentityProviders.PerformAction(s, args.IDP, "config", config)
if err != nil {
return err
}
fmt.Println(nconf.PrettyString())
return nil
})
}

View File

@@ -34,7 +34,6 @@ type ImageOptionalOptions struct {
Unprotected bool `help:"Allow image to be deleted"`
Standard bool `help:"Mark image as a standard image"`
Nonstandard bool `help:"Mark image as a non-standard image"`
Public bool `help:"make image public"`
MinDisk int64 `help:"Disk size after expanded, in MB" metavar:"MIN_DISK_SIZE_MB"`
MinRam int64 `help:"Minimal memory size required" metavar:"MIN_RAM_MB"`
VirtualSize int64 `help:"Disk size after expanded, in MB"`
@@ -51,13 +50,14 @@ 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|openstack|ctyun"`
Hypervisor []string `help:"Prefer hypervisor type" choices:"kvm|esxi|baremetal|container"`
DiskDriver string `help:"Perfer disk driver" choices:"virtio|scsi|pvscsi|ide|sata"`
NetDriver string `help:"Preferred network driver" choices:"virtio|e1000|vmxnet3"`
}
func addImageOptionalOptions(s *mcclient.ClientSession, params *jsonutils.JSONDict, args ImageOptionalOptions) error {
if len(args.Format) > 0 {
params.Add(jsonutils.NewString("bare"), "container-format")
params.Add(jsonutils.NewString(args.Format), "disk-format")
}
if args.Protected && !args.Unprotected {
@@ -70,9 +70,6 @@ func addImageOptionalOptions(s *mcclient.ClientSession, params *jsonutils.JSONDi
} else if !args.Standard && args.Nonstandard {
params.Add(jsonutils.JSONFalse, "is_standard")
}
if args.Public {
params.Add(jsonutils.JSONTrue, "is_public")
}
if args.MinDisk > 0 {
params.Add(jsonutils.NewString(fmt.Sprintf("%d", args.MinDisk)), "min_disk")
}
@@ -143,7 +140,6 @@ func init() {
Protected string `help:"filter images by protected" choices:"true|false"`
IsUefi bool `help:"list uefi image"`
Format []string `help:"Disk formats"`
SubFormats []string `help:"Sub formats"`
Name string `help:"Name filter"`
}
R(&ImageListOptions{}, "image-list", "List images", func(s *mcclient.ClientSession, args *ImageListOptions) error {
@@ -174,14 +170,15 @@ func init() {
params.Add(jsonutils.NewString(args.Name), "name")
}
if len(args.Format) > 0 {
fs := jsonutils.NewArray()
for _, f := range args.Format {
fs.Add(jsonutils.NewString(f))
if len(args.Format) == 1 {
params.Add(jsonutils.NewString(args.Format[0]), "disk_format")
} else {
fs := jsonutils.NewArray()
for _, f := range args.Format {
fs.Add(jsonutils.NewString(f))
}
params.Add(fs, "disk_formats")
}
params.Add(fs, "disk_formats")
}
if len(args.SubFormats) > 0 {
params.Add(jsonutils.Marshal(args.SubFormats), "sub_formats")
}
result, err := modules.Images.List(s, params)
if err != nil {
@@ -247,6 +244,22 @@ func init() {
return nil
})
type ImageMembershipOptions struct {
IMAGE string `help:"ID or name of image to share"`
PROJECT string `help:"ID or name of project to share image with"`
}
type ImageMembershipAddOptions struct {
ImageMembershipOptions
CanShare bool `help:"Indicating whether the project can share the image with others"`
}
R(&ImageMembershipAddOptions{}, "image-add-project", "Add a project to private image's membership list", func(s *mcclient.ClientSession, args *ImageMembershipAddOptions) error {
return modules.Images.AddMembership(s, args.IMAGE, args.PROJECT, args.CanShare)
})
R(&ImageMembershipOptions{}, "image-remove-project", "Remove a project from private image's membership list", func(s *mcclient.ClientSession, args *ImageMembershipOptions) error {
return modules.Images.RemoveMembership(s, args.IMAGE, args.PROJECT)
})
type ImageDetailOptions struct {
ID string `help:"Image ID or name"`
}
@@ -265,6 +278,19 @@ func init() {
return nil
})
R(&ImageDetailOptions{}, "image-list-project", "List image members", func(s *mcclient.ClientSession, args *ImageDetailOptions) error {
imgId, e := modules.Images.GetId(s, args.ID, nil)
if e != nil {
return e
}
result, e := modules.Images.ListMemberProjects(s, imgId)
if e != nil {
return e
}
printList(result, modules.Projects.GetColumns(s))
return nil
})
type ImageCancelDeleteOptions struct {
ID string `help:"Image id or name" metavar:"IMAGE"`
}
@@ -390,12 +416,14 @@ func init() {
type ImagePublicOptions struct {
ID []string `help:"ID or name of image" json:"-"`
Scope string `help:"sharing scope" choices:"system|domain|project"`
SharedProjects []string `help:"Share to projects"`
SharedDomains []string `help:"Share to domains"`
Scope string `help:"sharing scope" choices:"system|domain"`
ShareToProject []string `help:"Share to prject"`
}
R(&ImagePublicOptions{}, "image-public", "Make a image public", func(s *mcclient.ClientSession, args *ImagePublicOptions) error {
params := jsonutils.Marshal(args)
params, err := options.StructToParams(args)
if err != nil {
return err
}
if len(args.ID) == 0 {
return fmt.Errorf("No image ID provided")
} else if len(args.ID) == 1 {

View File

@@ -68,7 +68,7 @@ func init() {
type HistoricProcessInstanceStaticticsOptions struct {
ID string `help:"ID of user"`
}
R(&HistoricProcessInstanceStaticticsOptions{}, "historic-process-instance-statistics", "Show statistics for historic process instance", func(s *mcclient.ClientSession, args *HistoricProcessInstanceStaticticsOptions) error {
R(&HistoricProcessInstanceStaticticsOptions{}, "historic-process-instance-statistics", "Delete all contacts for the user", func(s *mcclient.ClientSession, args *HistoricProcessInstanceStaticticsOptions) error {
params := jsonutils.NewDict()
params.Add(jsonutils.NewString(args.ID), "user_id")

View File

@@ -40,23 +40,24 @@ func initSecret() {
})
secretCmd.AddR(listCmd)
registryCmd := NewCmdNameFactory("secret-registry")
registryCreateCmd := NewCommand(
registryCmd := initK8sNamespaceResource("registrysecret", k8s.RegistrySecrets)
createCmd := NewCommand(
&o.RegistrySecretCreateOptions{},
registryCmd.Do("create"),
"Create docker registry secret secret",
registryCmd.CommandNameFactory("create"),
"Create docker registry secret resource",
func(s *mcclient.ClientSession, args *o.RegistrySecretCreateOptions) error {
params, err := args.Params()
if err != nil {
return err
}
ret, err := k8s.Secrets.Create(s, params)
ret, err := k8s.RegistrySecrets.Create(s, params)
if err != nil {
return err
}
printObject(ret)
return nil
})
registryCmd.AddR(createCmd)
cephCSICmd := NewCmdNameFactory("secret-ceph-csi")
cephCSICreateCmd := NewCommand(
@@ -75,5 +76,5 @@ func initSecret() {
printObject(ret)
return nil
})
secretCmd.AddR(cephCSICreateCmd, registryCreateCmd)
secretCmd.AddR(cephCSICreateCmd)
}

View File

@@ -51,10 +51,9 @@ func init() {
})
type KeypairCreate struct {
NAME string `help:"Name of keypair to be created"`
Scheme string `help:"Scheme of keypair, default is RSA" choices:"RSA" default:"RSA"`
PublicKey string `help:"Publickey of keypair"`
Desc string `help:"Short description of keypair"`
NAME string `help:"Name of keypair to be created"`
Scheme string `help:"Scheme of keypair, default is RSA" choices:"RSA|DSA" default:"RSA"`
Desc string `help:"Short description of keypair"`
}
R(&KeypairCreate{}, "keypair-create", "Create a new keypair", func(s *mcclient.ClientSession, args *KeypairCreate) error {
@@ -64,10 +63,6 @@ func init() {
params.Add(jsonutils.NewString(args.Scheme), "scheme")
}
if len(args.PublicKey) > 0 {
params.Add(jsonutils.NewString(args.PublicKey), "public_key")
}
if len(args.Desc) > 0 {
params.Add(jsonutils.NewString(args.Desc), "description")
}

View File

@@ -65,7 +65,7 @@ func init() {
printList(result, modules.LoadbalancerClusters.GetColumns(s))
return nil
})
R(&options.LoadbalancerClusterDeleteOptions{}, "lbcluster-delete", "Delete lbcluster", func(s *mcclient.ClientSession, opts *options.LoadbalancerClusterDeleteOptions) error {
R(&options.LoadbalancerClusterDeleteOptions{}, "lbcluster-delete", "Show lbcluster", func(s *mcclient.ClientSession, opts *options.LoadbalancerClusterDeleteOptions) error {
lbagent, err := modules.LoadbalancerClusters.Delete(s, opts.ID, nil)
if err != nil {
return err

View File

@@ -99,13 +99,4 @@ func init() {
return nil
})
R(&options.LoadbalancerGetOptions{}, "lb-change-owner-candidate-domains", "Get change owner candidate domain list", func(s *mcclient.ClientSession, args *options.LoadbalancerGetOptions) error {
result, err := modules.Loadbalancers.GetSpecific(s, args.ID, "change-owner-candidate-domains", nil)
if err != nil {
return err
}
printObject(result)
return nil
})
}

View File

@@ -16,7 +16,6 @@ package shell
import (
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules"
"yunion.io/x/onecloud/pkg/mcclient/options"
)
@@ -44,12 +43,7 @@ func init() {
if err != nil {
return err
}
listResult := modulebase.ListResult{}
err = result.Unmarshal(&listResult)
if err != nil {
return err
}
printList(&listResult, []string{})
printObject(result)
return nil
})

View File

@@ -1,116 +0,0 @@
// 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 monitor
import (
"fmt"
monitorapi "yunion.io/x/onecloud/pkg/apis/monitor"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modules/monitor"
options "yunion.io/x/onecloud/pkg/mcclient/options/monitor"
)
func init() {
aN := cmdN("alert")
R(&options.AlertListOptions{}, aN("list"), "List all alerts",
func(s *mcclient.ClientSession, args *options.AlertListOptions) error {
params, err := args.Params()
if err != nil {
return err
}
ret, err := monitor.Alerts.List(s, params)
if err != nil {
return err
}
printList(ret, monitor.Alerts.GetColumns(s))
return nil
})
R(&options.AlertCreateOptions{}, aN("create"), "Create alert rule",
func(s *mcclient.ClientSession, args *options.AlertCreateOptions) error {
params, err := args.Params()
if err != nil {
return err
}
ret, err := monitor.Alerts.DoCreate(s, params)
if err != nil {
return err
}
printObject(ret)
return nil
})
R(&options.AlertShowOptions{}, aN("show"), "Show details of a alert rule",
func(s *mcclient.ClientSession, args *options.AlertShowOptions) error {
ret, err := monitor.Alerts.Get(s, args.ID, nil)
if err != nil {
return err
}
printObject(ret)
return nil
})
R(&options.AlertUpdateOptions{}, aN("update"), "Update a alert rule",
func(s *mcclient.ClientSession, args *options.AlertUpdateOptions) error {
params, err := args.Params()
if err != nil {
return err
}
ret, err := monitor.Alerts.Update(s, args.ID, params.JSON(params))
if err != nil {
return err
}
printObject(ret)
return nil
})
R(&options.AlertDeleteOptions{}, aN("delete"), "Delete alerts",
func(s *mcclient.ClientSession, args *options.AlertDeleteOptions) error {
ret := monitor.Alerts.BatchDelete(s, args.ID, nil)
printBatchResults(ret, monitor.Alerts.GetColumns(s))
return nil
})
R(&options.AlertTestRunOptions{}, aN("test-run"), "Test run alert",
func(s *mcclient.ClientSession, args *options.AlertTestRunOptions) error {
data := new(monitorapi.AlertTestRunInput)
if args.Debug {
data.IsDebug = true
}
ret, err := monitor.Alerts.DoTestRun(s, args.ID, data)
if err != nil {
return err
}
fmt.Println(ret.JSON(ret).YAMLString())
return nil
})
R(&options.AlertPauseOptions{}, aN("pause"), "Pause or unpause alert",
func(s *mcclient.ClientSession, args *options.AlertPauseOptions) error {
data := new(monitorapi.AlertPauseInput)
if args.UnPause {
data.Paused = false
} else {
data.Paused = true
}
ret, err := monitor.Alerts.PerformAction(s, args.ID, "pause", data.JSON(data))
if err != nil {
return err
}
printObject(ret)
return nil
})
}

View File

@@ -1,74 +0,0 @@
// 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 monitor
import (
monitorapi "yunion.io/x/onecloud/pkg/apis/monitor"
"yunion.io/x/onecloud/pkg/mcclient"
"yunion.io/x/onecloud/pkg/mcclient/modulebase"
"yunion.io/x/onecloud/pkg/mcclient/modules/monitor"
options "yunion.io/x/onecloud/pkg/mcclient/options/monitor"
)
func init() {
initAlertNotification()
}
func initAlertNotification() {
aN := cmdN("alert-notification")
R(&options.AlertNotificationListOptions{}, aN("list"), "List alert notification pairs",
func(s *mcclient.ClientSession, args *options.AlertNotificationListOptions) error {
params, err := args.Params()
if err != nil {
return err
}
var result *modulebase.ListResult
if len(args.Alert) > 0 {
result, err = monitor.Alertnotification.ListDescendent(s, args.Alert, params)
} else if len(args.Notification) > 0 {
result, err = monitor.Alertnotification.ListDescendent2(s, args.Notification, params)
} else {
result, err = monitor.Alertnotification.List(s, params)
}
if err != nil {
return err
}
printList(result, monitor.Alertnotification.GetColumns(s))
return nil
})
R(&options.AlertNotificationAttachOptions{}, aN("attach"), "Attach a notification to a alert",
func(s *mcclient.ClientSession, args *options.AlertNotificationAttachOptions) error {
input := &monitorapi.AlertnotificationCreateInput{
UsedBy: args.UsedBy,
}
ret, err := monitor.Alertnotification.Attach(s, args.ALERT, args.NOTIFICATION, input.JSON(input))
if err != nil {
return err
}
printObject(ret)
return nil
})
R(&options.AlertNotificationAttachOptions{}, aN("detach"), "Detach a notification to a alert",
func(s *mcclient.ClientSession, args *options.AlertNotificationAttachOptions) error {
ret, err := monitor.Alertnotification.Detach(s, args.ALERT, args.NOTIFICATION, nil)
if err != nil {
return err
}
printObject(ret)
return nil
})
}

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